diff --git a/src/gen/docs/models/LeadsFilter.md b/src/gen/docs/models/LeadsFilter.md index 13d28723e..d72e4953a 100644 --- a/src/gen/docs/models/LeadsFilter.md +++ b/src/gen/docs/models/LeadsFilter.md @@ -9,6 +9,7 @@ Name | Type | Description | Notes `first_name` | **string** | First name of the lead to filter on | [optional] `last_name` | **string** | Last name of the lead to filter on | [optional] `email` | **string** | E-mail of the lead to filter on | [optional] +`phone_number` | **string** | Phone number of the lead to filter on | [optional] diff --git a/src/gen/models/LeadsFilter.ts b/src/gen/models/LeadsFilter.ts index d6aa08e61..2b1475078 100644 --- a/src/gen/models/LeadsFilter.ts +++ b/src/gen/models/LeadsFilter.ts @@ -43,6 +43,12 @@ export interface LeadsFilter { * @memberof LeadsFilter */ email?: string + /** + * Phone number of the lead to filter on + * @type {string} + * @memberof LeadsFilter + */ + phone_number?: string } export function LeadsFilterFromJSON(json: any): LeadsFilter { @@ -57,7 +63,8 @@ export function LeadsFilterFromJSONTyped(json: any, ignoreDiscriminator: boolean name: !exists(json, 'name') ? undefined : json['name'], first_name: !exists(json, 'first_name') ? undefined : json['first_name'], last_name: !exists(json, 'last_name') ? undefined : json['last_name'], - email: !exists(json, 'email') ? undefined : json['email'] + email: !exists(json, 'email') ? undefined : json['email'], + phone_number: !exists(json, 'phone_number') ? undefined : json['phone_number'] } } @@ -72,6 +79,7 @@ export function LeadsFilterToJSON(value?: LeadsFilter | null): any { name: value.name, first_name: value.first_name, last_name: value.last_name, - email: value.email + email: value.email, + phone_number: value.phone_number } } diff --git a/yarn.lock b/yarn.lock index 33cd3ac0b..e1e192736 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2351,9 +2351,9 @@ camelcase@^6.0.0, camelcase@^6.2.0: integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA== caniuse-lite@^1.0.30001646: - version "1.0.30001655" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001655.tgz#0ce881f5a19a2dcfda2ecd927df4d5c1684b982f" - integrity sha512-jRGVy3iSGO5Uutn2owlb5gR6qsGngTw9ZTb4ali9f3glshcNmJ2noam4Mo9zia5P9Dk3jNNydy7vQjuE5dQmfg== + version "1.0.30001657" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001657.tgz#29fd504bffca719d1c6b63a1f6f840be1973a660" + integrity sha512-DPbJAlP8/BAXy3IgiWmZKItubb3TYGP0WscQQlVGIfT4s/YlFYVuJgyOsQNP7rJRChx/qdMeLJQJP0Sgg2yjNA== capture-exit@^2.0.0: version "2.0.0"