pipedrive 33.8.0 → 34.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/versions/v1/models/deal-all-of-creator-user-id.d.ts +2 -2
- package/dist/esm/versions/v1/models/get-associated-product-files-response-all-of.d.ts +1 -1
- package/dist/esm/versions/v2/api/activities-api.d.ts +16 -16
- package/dist/esm/versions/v2/api/activities-api.js +13 -13
- package/dist/esm/versions/v2/api/activity-fields-api.d.ts +12 -12
- package/dist/esm/versions/v2/api/activity-fields-api.js +9 -9
- package/dist/esm/versions/v2/api/deal-fields-api.d.ts +12 -12
- package/dist/esm/versions/v2/api/deal-fields-api.js +9 -9
- package/dist/esm/versions/v2/api/deals-api.d.ts +38 -38
- package/dist/esm/versions/v2/api/deals-api.js +33 -33
- package/dist/esm/versions/v2/api/organization-fields-api.d.ts +12 -12
- package/dist/esm/versions/v2/api/organization-fields-api.js +9 -9
- package/dist/esm/versions/v2/api/organizations-api.d.ts +24 -24
- package/dist/esm/versions/v2/api/organizations-api.js +21 -21
- package/dist/esm/versions/v2/api/person-fields-api.d.ts +12 -12
- package/dist/esm/versions/v2/api/person-fields-api.js +9 -9
- package/dist/esm/versions/v2/api/persons-api.d.ts +24 -24
- package/dist/esm/versions/v2/api/persons-api.js +21 -21
- package/dist/esm/versions/v2/api/product-fields-api.d.ts +12 -12
- package/dist/esm/versions/v2/api/product-fields-api.js +9 -9
- package/dist/esm/versions/v2/api/products-api.d.ts +14 -14
- package/dist/esm/versions/v2/api/products-api.js +15 -15
- package/dist/esm/versions/v2/models/activity-item-location.d.ts +68 -0
- package/dist/esm/versions/v2/models/activity-item-location.js +14 -0
- package/dist/esm/versions/v2/models/activity-item.d.ts +11 -11
- package/dist/esm/versions/v2/models/add-organization-request.d.ts +1 -1
- package/dist/esm/versions/v2/models/add-person-request.d.ts +1 -1
- package/dist/esm/versions/v2/models/deal.d.ts +1 -1
- package/dist/esm/versions/v2/models/get-activities-response-all-of-additional-data.d.ts +1 -1
- package/dist/esm/versions/v2/models/get-deal-search-response-all-of-data-items-inner-item.d.ts +1 -1
- package/dist/esm/versions/v2/models/get-deals-products-response-additional-data.d.ts +1 -1
- package/dist/esm/versions/v2/models/get-organization-search-response-all-of-data-items-inner-item.d.ts +1 -1
- package/dist/esm/versions/v2/models/get-product-search-response-all-of-data-items-inner-item.d.ts +2 -2
- package/dist/esm/versions/v2/models/index.d.ts +1 -0
- package/dist/esm/versions/v2/models/index.js +1 -0
- package/dist/esm/versions/v2/models/lead-search-item-item.d.ts +1 -1
- package/dist/esm/versions/v2/models/organization-item-address.d.ts +9 -9
- package/dist/esm/versions/v2/models/organization-item.d.ts +2 -2
- package/dist/esm/versions/v2/models/person-item-address.d.ts +9 -9
- package/dist/esm/versions/v2/models/person.d.ts +3 -3
- package/dist/esm/versions/v2/models/stage-item.d.ts +1 -1
- package/dist/esm/versions/v2/models/stage-item1.d.ts +1 -1
- package/dist/esm/versions/v2/models/update-organization-request.d.ts +1 -1
- package/dist/esm/versions/v2/models/update-person-request.d.ts +1 -1
- package/dist/versions/v1/models/deal-all-of-creator-user-id.d.ts +2 -2
- package/dist/versions/v1/models/get-associated-product-files-response-all-of.d.ts +1 -1
- package/dist/versions/v2/api/activities-api.d.ts +16 -16
- package/dist/versions/v2/api/activities-api.js +12 -12
- package/dist/versions/v2/api/activity-fields-api.d.ts +12 -12
- package/dist/versions/v2/api/activity-fields-api.js +8 -8
- package/dist/versions/v2/api/deal-fields-api.d.ts +12 -12
- package/dist/versions/v2/api/deal-fields-api.js +8 -8
- package/dist/versions/v2/api/deals-api.d.ts +38 -38
- package/dist/versions/v2/api/deals-api.js +32 -32
- package/dist/versions/v2/api/organization-fields-api.d.ts +12 -12
- package/dist/versions/v2/api/organization-fields-api.js +8 -8
- package/dist/versions/v2/api/organizations-api.d.ts +24 -24
- package/dist/versions/v2/api/organizations-api.js +20 -20
- package/dist/versions/v2/api/person-fields-api.d.ts +12 -12
- package/dist/versions/v2/api/person-fields-api.js +8 -8
- package/dist/versions/v2/api/persons-api.d.ts +24 -24
- package/dist/versions/v2/api/persons-api.js +20 -20
- package/dist/versions/v2/api/product-fields-api.d.ts +12 -12
- package/dist/versions/v2/api/product-fields-api.js +8 -8
- package/dist/versions/v2/api/products-api.d.ts +14 -14
- package/dist/versions/v2/api/products-api.js +14 -14
- package/dist/versions/v2/models/activity-item-location.d.ts +68 -0
- package/dist/versions/v2/models/activity-item-location.js +15 -0
- package/dist/versions/v2/models/activity-item.d.ts +11 -11
- package/dist/versions/v2/models/add-organization-request.d.ts +1 -1
- package/dist/versions/v2/models/add-person-request.d.ts +1 -1
- package/dist/versions/v2/models/deal.d.ts +1 -1
- package/dist/versions/v2/models/get-activities-response-all-of-additional-data.d.ts +1 -1
- package/dist/versions/v2/models/get-deal-search-response-all-of-data-items-inner-item.d.ts +1 -1
- package/dist/versions/v2/models/get-deals-products-response-additional-data.d.ts +1 -1
- package/dist/versions/v2/models/get-organization-search-response-all-of-data-items-inner-item.d.ts +1 -1
- package/dist/versions/v2/models/get-product-search-response-all-of-data-items-inner-item.d.ts +2 -2
- package/dist/versions/v2/models/index.d.ts +1 -0
- package/dist/versions/v2/models/index.js +1 -0
- package/dist/versions/v2/models/lead-search-item-item.d.ts +1 -1
- package/dist/versions/v2/models/organization-item-address.d.ts +9 -9
- package/dist/versions/v2/models/organization-item.d.ts +2 -2
- package/dist/versions/v2/models/person-item-address.d.ts +9 -9
- package/dist/versions/v2/models/person.d.ts +3 -3
- package/dist/versions/v2/models/stage-item.d.ts +1 -1
- package/dist/versions/v2/models/stage-item1.d.ts +1 -1
- package/dist/versions/v2/models/update-organization-request.d.ts +1 -1
- package/dist/versions/v2/models/update-person-request.d.ts +1 -1
- package/package.json +1 -1
|
@@ -99,7 +99,7 @@ export declare const DealsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
99
99
|
* Returns data about all archived deals.
|
|
100
100
|
* @summary Get all archived deals
|
|
101
101
|
* @param {number} [filter_id] If supplied, only deals matching the specified filter are returned
|
|
102
|
-
* @param {string} [ids] Optional comma separated string array of up to 100 entity ids to fetch. If filter_id is provided, this is ignored. If any of the requested entities do not exist or are not visible, they are not included in the response.
|
|
102
|
+
* @param {Set<string>} [ids] Optional comma separated string array of up to 100 entity ids to fetch. If filter_id is provided, this is ignored. If any of the requested entities do not exist or are not visible, they are not included in the response.
|
|
103
103
|
* @param {number} [owner_id] If supplied, only deals owned by the specified user are returned. If filter_id is provided, this is ignored.
|
|
104
104
|
* @param {number} [person_id] If supplied, only deals linked to the specified person are returned. If filter_id is provided, this is ignored.
|
|
105
105
|
* @param {number} [org_id] If supplied, only deals linked to the specified organization are returned. If filter_id is provided, this is ignored.
|
|
@@ -110,26 +110,26 @@ export declare const DealsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
110
110
|
* @param {string} [updated_until] If set, only deals with an `update_time` earlier than this time are returned. In RFC3339 format, e.g. 2025-01-01T10:20:00Z.
|
|
111
111
|
* @param {'id' | 'update_time' | 'add_time'} [sort_by] The field to sort by. Supported fields: `id`, `update_time`, `add_time`.
|
|
112
112
|
* @param {'asc' | 'desc'} [sort_direction] The sorting direction. Supported values: `asc`, `desc`.
|
|
113
|
-
* @param {'next_activity_id' | 'last_activity_id' | 'first_won_time' | 'products_count' | 'files_count' | 'notes_count' | 'followers_count' | 'email_messages_count' | 'activities_count' | 'done_activities_count' | 'undone_activities_count' | 'participants_count' | 'last_incoming_mail_time' | 'last_outgoing_mail_time' | 'smart_bcc_email' | 'source_lead_id'} [include_fields] Optional comma separated string array of additional fields to include
|
|
114
|
-
* @param {string} [custom_fields] Optional comma separated string array of custom fields keys to include. If you are only interested in a particular set of custom fields, please use this parameter for faster results and smaller response.<br/>A maximum of 15 keys is allowed.
|
|
113
|
+
* @param {Set<'next_activity_id' | 'last_activity_id' | 'first_won_time' | 'products_count' | 'files_count' | 'notes_count' | 'followers_count' | 'email_messages_count' | 'activities_count' | 'done_activities_count' | 'undone_activities_count' | 'participants_count' | 'last_incoming_mail_time' | 'last_outgoing_mail_time' | 'smart_bcc_email' | 'source_lead_id'>} [include_fields] Optional comma separated string array of additional fields to include
|
|
114
|
+
* @param {Set<string>} [custom_fields] Optional comma separated string array of custom fields keys to include. If you are only interested in a particular set of custom fields, please use this parameter for faster results and smaller response.<br/>A maximum of 15 keys is allowed.
|
|
115
115
|
* @param {number} [limit] For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed.
|
|
116
116
|
* @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
|
|
117
117
|
|
|
118
118
|
* @throws {RequiredError}
|
|
119
119
|
*/
|
|
120
|
-
getArchivedDeals: (filter_id?: number, ids?: string
|
|
120
|
+
getArchivedDeals: (filter_id?: number, ids?: Set<string>, owner_id?: number, person_id?: number, org_id?: number, pipeline_id?: number, stage_id?: number, status?: 'open' | 'won' | 'lost' | 'deleted', updated_since?: string, updated_until?: string, sort_by?: 'id' | 'update_time' | 'add_time', sort_direction?: 'asc' | 'desc', include_fields?: Set<'next_activity_id' | 'last_activity_id' | 'first_won_time' | 'products_count' | 'files_count' | 'notes_count' | 'followers_count' | 'email_messages_count' | 'activities_count' | 'done_activities_count' | 'undone_activities_count' | 'participants_count' | 'last_incoming_mail_time' | 'last_outgoing_mail_time' | 'smart_bcc_email' | 'source_lead_id'>, custom_fields?: Set<string>, limit?: number, cursor?: string) => Promise<RequestArgs>;
|
|
121
121
|
/**
|
|
122
122
|
* Returns the details of a specific deal.
|
|
123
123
|
* @summary Get details of a deal
|
|
124
124
|
* @param {number} id The ID of the deal
|
|
125
|
-
* @param {'next_activity_id' | 'last_activity_id' | 'first_won_time' | 'products_count' | 'files_count' | 'notes_count' | 'followers_count' | 'email_messages_count' | 'activities_count' | 'done_activities_count' | 'undone_activities_count' | 'participants_count' | 'last_incoming_mail_time' | 'last_outgoing_mail_time' | 'smart_bcc_email' | 'source_lead_id'} [include_fields] Optional comma separated string array of additional fields to include
|
|
126
|
-
* @param {string} [custom_fields] Optional comma separated string array of custom fields keys to include. If you are only interested in a particular set of custom fields, please use this parameter for faster results and smaller response.<br/>A maximum of 15 keys is allowed.
|
|
125
|
+
* @param {Set<'next_activity_id' | 'last_activity_id' | 'first_won_time' | 'products_count' | 'files_count' | 'notes_count' | 'followers_count' | 'email_messages_count' | 'activities_count' | 'done_activities_count' | 'undone_activities_count' | 'participants_count' | 'last_incoming_mail_time' | 'last_outgoing_mail_time' | 'smart_bcc_email' | 'source_lead_id'>} [include_fields] Optional comma separated string array of additional fields to include
|
|
126
|
+
* @param {Set<string>} [custom_fields] Optional comma separated string array of custom fields keys to include. If you are only interested in a particular set of custom fields, please use this parameter for faster results and smaller response.<br/>A maximum of 15 keys is allowed.
|
|
127
127
|
* @param {boolean} [include_option_labels] When provided with a \'true\' value, single option and multiple option custom fields values contain objects in the form of \'{ id: number, label: string }\' instead of plain id
|
|
128
128
|
* @param {boolean} [include_labels] When provided with \'true\' value, response will include an array of label objects in the form of \'{ id: number, label: string }\'
|
|
129
129
|
|
|
130
130
|
* @throws {RequiredError}
|
|
131
131
|
*/
|
|
132
|
-
getDeal: (id: number, include_fields?: 'next_activity_id' | 'last_activity_id' | 'first_won_time' | 'products_count' | 'files_count' | 'notes_count' | 'followers_count' | 'email_messages_count' | 'activities_count' | 'done_activities_count' | 'undone_activities_count' | 'participants_count' | 'last_incoming_mail_time' | 'last_outgoing_mail_time' | 'smart_bcc_email' | 'source_lead_id'
|
|
132
|
+
getDeal: (id: number, include_fields?: Set<'next_activity_id' | 'last_activity_id' | 'first_won_time' | 'products_count' | 'files_count' | 'notes_count' | 'followers_count' | 'email_messages_count' | 'activities_count' | 'done_activities_count' | 'undone_activities_count' | 'participants_count' | 'last_incoming_mail_time' | 'last_outgoing_mail_time' | 'smart_bcc_email' | 'source_lead_id'>, custom_fields?: Set<string>, include_option_labels?: boolean, include_labels?: boolean) => Promise<RequestArgs>;
|
|
133
133
|
/**
|
|
134
134
|
* Returns information about the conversion. Status is always present and its value (not_started, running, completed, failed, rejected) represents the current state of the conversion. Lead ID is only present if the conversion was successfully finished. This data is only temporary and removed after a few days.
|
|
135
135
|
* @summary Get Deal conversion status
|
|
@@ -163,7 +163,7 @@ export declare const DealsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
163
163
|
* Returns data about all not archived deals.
|
|
164
164
|
* @summary Get all deals
|
|
165
165
|
* @param {number} [filter_id] If supplied, only deals matching the specified filter are returned
|
|
166
|
-
* @param {string} [ids] Optional comma separated string array of up to 100 entity ids to fetch. If filter_id is provided, this is ignored. If any of the requested entities do not exist or are not visible, they are not included in the response.
|
|
166
|
+
* @param {Set<string>} [ids] Optional comma separated string array of up to 100 entity ids to fetch. If filter_id is provided, this is ignored. If any of the requested entities do not exist or are not visible, they are not included in the response.
|
|
167
167
|
* @param {number} [owner_id] If supplied, only deals owned by the specified user are returned. If filter_id is provided, this is ignored.
|
|
168
168
|
* @param {number} [person_id] If supplied, only deals linked to the specified person are returned. If filter_id is provided, this is ignored.
|
|
169
169
|
* @param {number} [org_id] If supplied, only deals linked to the specified organization are returned. If filter_id is provided, this is ignored.
|
|
@@ -174,8 +174,8 @@ export declare const DealsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
174
174
|
* @param {string} [updated_until] If set, only deals with an `update_time` earlier than this time are returned. In RFC3339 format, e.g. 2025-01-01T10:20:00Z.
|
|
175
175
|
* @param {'id' | 'update_time' | 'add_time'} [sort_by] The field to sort by. Supported fields: `id`, `update_time`, `add_time`.
|
|
176
176
|
* @param {'asc' | 'desc'} [sort_direction] The sorting direction. Supported values: `asc`, `desc`.
|
|
177
|
-
* @param {'next_activity_id' | 'last_activity_id' | 'first_won_time' | 'products_count' | 'files_count' | 'notes_count' | 'followers_count' | 'email_messages_count' | 'activities_count' | 'done_activities_count' | 'undone_activities_count' | 'participants_count' | 'last_incoming_mail_time' | 'last_outgoing_mail_time' | 'smart_bcc_email' | 'source_lead_id'} [include_fields] Optional comma separated string array of additional fields to include
|
|
178
|
-
* @param {string} [custom_fields] Optional comma separated string array of custom fields keys to include. If you are only interested in a particular set of custom fields, please use this parameter for faster results and smaller response.<br/>A maximum of 15 keys is allowed.
|
|
177
|
+
* @param {Set<'next_activity_id' | 'last_activity_id' | 'first_won_time' | 'products_count' | 'files_count' | 'notes_count' | 'followers_count' | 'email_messages_count' | 'activities_count' | 'done_activities_count' | 'undone_activities_count' | 'participants_count' | 'last_incoming_mail_time' | 'last_outgoing_mail_time' | 'smart_bcc_email' | 'source_lead_id'>} [include_fields] Optional comma separated string array of additional fields to include
|
|
178
|
+
* @param {Set<string>} [custom_fields] Optional comma separated string array of custom fields keys to include. If you are only interested in a particular set of custom fields, please use this parameter for faster results and smaller response.<br/>A maximum of 15 keys is allowed.
|
|
179
179
|
* @param {boolean} [include_option_labels] When provided with a \'true\' value, single option and multiple option custom fields values contain objects in the form of \'{ id: number, label: string }\' instead of plain id
|
|
180
180
|
* @param {boolean} [include_labels] When provided with \'true\' value, response will include an array of label objects in the form of \'{ id: number, label: string }\'
|
|
181
181
|
* @param {number} [limit] For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed.
|
|
@@ -183,7 +183,7 @@ export declare const DealsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
183
183
|
|
|
184
184
|
* @throws {RequiredError}
|
|
185
185
|
*/
|
|
186
|
-
getDeals: (filter_id?: number, ids?: string
|
|
186
|
+
getDeals: (filter_id?: number, ids?: Set<string>, owner_id?: number, person_id?: number, org_id?: number, pipeline_id?: number, stage_id?: number, status?: 'open' | 'won' | 'lost' | 'deleted', updated_since?: string, updated_until?: string, sort_by?: 'id' | 'update_time' | 'add_time', sort_direction?: 'asc' | 'desc', include_fields?: Set<'next_activity_id' | 'last_activity_id' | 'first_won_time' | 'products_count' | 'files_count' | 'notes_count' | 'followers_count' | 'email_messages_count' | 'activities_count' | 'done_activities_count' | 'undone_activities_count' | 'participants_count' | 'last_incoming_mail_time' | 'last_outgoing_mail_time' | 'smart_bcc_email' | 'source_lead_id'>, custom_fields?: Set<string>, include_option_labels?: boolean, include_labels?: boolean, limit?: number, cursor?: string) => Promise<RequestArgs>;
|
|
187
187
|
/**
|
|
188
188
|
* Adds a discount to a deal, changing the deal value if the deal has one-time products attached.
|
|
189
189
|
* @summary Add a discount to a deal
|
|
@@ -297,7 +297,7 @@ export declare const DealsApiFp: (configuration?: Configuration) => {
|
|
|
297
297
|
* Returns data about all archived deals.
|
|
298
298
|
* @summary Get all archived deals
|
|
299
299
|
* @param {number} [filter_id] If supplied, only deals matching the specified filter are returned
|
|
300
|
-
* @param {string} [ids] Optional comma separated string array of up to 100 entity ids to fetch. If filter_id is provided, this is ignored. If any of the requested entities do not exist or are not visible, they are not included in the response.
|
|
300
|
+
* @param {Set<string>} [ids] Optional comma separated string array of up to 100 entity ids to fetch. If filter_id is provided, this is ignored. If any of the requested entities do not exist or are not visible, they are not included in the response.
|
|
301
301
|
* @param {number} [owner_id] If supplied, only deals owned by the specified user are returned. If filter_id is provided, this is ignored.
|
|
302
302
|
* @param {number} [person_id] If supplied, only deals linked to the specified person are returned. If filter_id is provided, this is ignored.
|
|
303
303
|
* @param {number} [org_id] If supplied, only deals linked to the specified organization are returned. If filter_id is provided, this is ignored.
|
|
@@ -308,26 +308,26 @@ export declare const DealsApiFp: (configuration?: Configuration) => {
|
|
|
308
308
|
* @param {string} [updated_until] If set, only deals with an `update_time` earlier than this time are returned. In RFC3339 format, e.g. 2025-01-01T10:20:00Z.
|
|
309
309
|
* @param {'id' | 'update_time' | 'add_time'} [sort_by] The field to sort by. Supported fields: `id`, `update_time`, `add_time`.
|
|
310
310
|
* @param {'asc' | 'desc'} [sort_direction] The sorting direction. Supported values: `asc`, `desc`.
|
|
311
|
-
* @param {'next_activity_id' | 'last_activity_id' | 'first_won_time' | 'products_count' | 'files_count' | 'notes_count' | 'followers_count' | 'email_messages_count' | 'activities_count' | 'done_activities_count' | 'undone_activities_count' | 'participants_count' | 'last_incoming_mail_time' | 'last_outgoing_mail_time' | 'smart_bcc_email' | 'source_lead_id'} [include_fields] Optional comma separated string array of additional fields to include
|
|
312
|
-
* @param {string} [custom_fields] Optional comma separated string array of custom fields keys to include. If you are only interested in a particular set of custom fields, please use this parameter for faster results and smaller response.<br/>A maximum of 15 keys is allowed.
|
|
311
|
+
* @param {Set<'next_activity_id' | 'last_activity_id' | 'first_won_time' | 'products_count' | 'files_count' | 'notes_count' | 'followers_count' | 'email_messages_count' | 'activities_count' | 'done_activities_count' | 'undone_activities_count' | 'participants_count' | 'last_incoming_mail_time' | 'last_outgoing_mail_time' | 'smart_bcc_email' | 'source_lead_id'>} [include_fields] Optional comma separated string array of additional fields to include
|
|
312
|
+
* @param {Set<string>} [custom_fields] Optional comma separated string array of custom fields keys to include. If you are only interested in a particular set of custom fields, please use this parameter for faster results and smaller response.<br/>A maximum of 15 keys is allowed.
|
|
313
313
|
* @param {number} [limit] For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed.
|
|
314
314
|
* @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
|
|
315
315
|
|
|
316
316
|
* @throws {RequiredError}
|
|
317
317
|
*/
|
|
318
|
-
getArchivedDeals(filter_id?: number, ids?: string
|
|
318
|
+
getArchivedDeals(filter_id?: number, ids?: Set<string>, owner_id?: number, person_id?: number, org_id?: number, pipeline_id?: number, stage_id?: number, status?: 'open' | 'won' | 'lost' | 'deleted', updated_since?: string, updated_until?: string, sort_by?: 'id' | 'update_time' | 'add_time', sort_direction?: 'asc' | 'desc', include_fields?: Set<'next_activity_id' | 'last_activity_id' | 'first_won_time' | 'products_count' | 'files_count' | 'notes_count' | 'followers_count' | 'email_messages_count' | 'activities_count' | 'done_activities_count' | 'undone_activities_count' | 'participants_count' | 'last_incoming_mail_time' | 'last_outgoing_mail_time' | 'smart_bcc_email' | 'source_lead_id'>, custom_fields?: Set<string>, limit?: number, cursor?: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetDealsResponse>>;
|
|
319
319
|
/**
|
|
320
320
|
* Returns the details of a specific deal.
|
|
321
321
|
* @summary Get details of a deal
|
|
322
322
|
* @param {number} id The ID of the deal
|
|
323
|
-
* @param {'next_activity_id' | 'last_activity_id' | 'first_won_time' | 'products_count' | 'files_count' | 'notes_count' | 'followers_count' | 'email_messages_count' | 'activities_count' | 'done_activities_count' | 'undone_activities_count' | 'participants_count' | 'last_incoming_mail_time' | 'last_outgoing_mail_time' | 'smart_bcc_email' | 'source_lead_id'} [include_fields] Optional comma separated string array of additional fields to include
|
|
324
|
-
* @param {string} [custom_fields] Optional comma separated string array of custom fields keys to include. If you are only interested in a particular set of custom fields, please use this parameter for faster results and smaller response.<br/>A maximum of 15 keys is allowed.
|
|
323
|
+
* @param {Set<'next_activity_id' | 'last_activity_id' | 'first_won_time' | 'products_count' | 'files_count' | 'notes_count' | 'followers_count' | 'email_messages_count' | 'activities_count' | 'done_activities_count' | 'undone_activities_count' | 'participants_count' | 'last_incoming_mail_time' | 'last_outgoing_mail_time' | 'smart_bcc_email' | 'source_lead_id'>} [include_fields] Optional comma separated string array of additional fields to include
|
|
324
|
+
* @param {Set<string>} [custom_fields] Optional comma separated string array of custom fields keys to include. If you are only interested in a particular set of custom fields, please use this parameter for faster results and smaller response.<br/>A maximum of 15 keys is allowed.
|
|
325
325
|
* @param {boolean} [include_option_labels] When provided with a \'true\' value, single option and multiple option custom fields values contain objects in the form of \'{ id: number, label: string }\' instead of plain id
|
|
326
326
|
* @param {boolean} [include_labels] When provided with \'true\' value, response will include an array of label objects in the form of \'{ id: number, label: string }\'
|
|
327
327
|
|
|
328
328
|
* @throws {RequiredError}
|
|
329
329
|
*/
|
|
330
|
-
getDeal(id: number, include_fields?: 'next_activity_id' | 'last_activity_id' | 'first_won_time' | 'products_count' | 'files_count' | 'notes_count' | 'followers_count' | 'email_messages_count' | 'activities_count' | 'done_activities_count' | 'undone_activities_count' | 'participants_count' | 'last_incoming_mail_time' | 'last_outgoing_mail_time' | 'smart_bcc_email' | 'source_lead_id'
|
|
330
|
+
getDeal(id: number, include_fields?: Set<'next_activity_id' | 'last_activity_id' | 'first_won_time' | 'products_count' | 'files_count' | 'notes_count' | 'followers_count' | 'email_messages_count' | 'activities_count' | 'done_activities_count' | 'undone_activities_count' | 'participants_count' | 'last_incoming_mail_time' | 'last_outgoing_mail_time' | 'smart_bcc_email' | 'source_lead_id'>, custom_fields?: Set<string>, include_option_labels?: boolean, include_labels?: boolean): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<UpsertDealResponse>>;
|
|
331
331
|
/**
|
|
332
332
|
* Returns information about the conversion. Status is always present and its value (not_started, running, completed, failed, rejected) represents the current state of the conversion. Lead ID is only present if the conversion was successfully finished. This data is only temporary and removed after a few days.
|
|
333
333
|
* @summary Get Deal conversion status
|
|
@@ -361,7 +361,7 @@ export declare const DealsApiFp: (configuration?: Configuration) => {
|
|
|
361
361
|
* Returns data about all not archived deals.
|
|
362
362
|
* @summary Get all deals
|
|
363
363
|
* @param {number} [filter_id] If supplied, only deals matching the specified filter are returned
|
|
364
|
-
* @param {string} [ids] Optional comma separated string array of up to 100 entity ids to fetch. If filter_id is provided, this is ignored. If any of the requested entities do not exist or are not visible, they are not included in the response.
|
|
364
|
+
* @param {Set<string>} [ids] Optional comma separated string array of up to 100 entity ids to fetch. If filter_id is provided, this is ignored. If any of the requested entities do not exist or are not visible, they are not included in the response.
|
|
365
365
|
* @param {number} [owner_id] If supplied, only deals owned by the specified user are returned. If filter_id is provided, this is ignored.
|
|
366
366
|
* @param {number} [person_id] If supplied, only deals linked to the specified person are returned. If filter_id is provided, this is ignored.
|
|
367
367
|
* @param {number} [org_id] If supplied, only deals linked to the specified organization are returned. If filter_id is provided, this is ignored.
|
|
@@ -372,8 +372,8 @@ export declare const DealsApiFp: (configuration?: Configuration) => {
|
|
|
372
372
|
* @param {string} [updated_until] If set, only deals with an `update_time` earlier than this time are returned. In RFC3339 format, e.g. 2025-01-01T10:20:00Z.
|
|
373
373
|
* @param {'id' | 'update_time' | 'add_time'} [sort_by] The field to sort by. Supported fields: `id`, `update_time`, `add_time`.
|
|
374
374
|
* @param {'asc' | 'desc'} [sort_direction] The sorting direction. Supported values: `asc`, `desc`.
|
|
375
|
-
* @param {'next_activity_id' | 'last_activity_id' | 'first_won_time' | 'products_count' | 'files_count' | 'notes_count' | 'followers_count' | 'email_messages_count' | 'activities_count' | 'done_activities_count' | 'undone_activities_count' | 'participants_count' | 'last_incoming_mail_time' | 'last_outgoing_mail_time' | 'smart_bcc_email' | 'source_lead_id'} [include_fields] Optional comma separated string array of additional fields to include
|
|
376
|
-
* @param {string} [custom_fields] Optional comma separated string array of custom fields keys to include. If you are only interested in a particular set of custom fields, please use this parameter for faster results and smaller response.<br/>A maximum of 15 keys is allowed.
|
|
375
|
+
* @param {Set<'next_activity_id' | 'last_activity_id' | 'first_won_time' | 'products_count' | 'files_count' | 'notes_count' | 'followers_count' | 'email_messages_count' | 'activities_count' | 'done_activities_count' | 'undone_activities_count' | 'participants_count' | 'last_incoming_mail_time' | 'last_outgoing_mail_time' | 'smart_bcc_email' | 'source_lead_id'>} [include_fields] Optional comma separated string array of additional fields to include
|
|
376
|
+
* @param {Set<string>} [custom_fields] Optional comma separated string array of custom fields keys to include. If you are only interested in a particular set of custom fields, please use this parameter for faster results and smaller response.<br/>A maximum of 15 keys is allowed.
|
|
377
377
|
* @param {boolean} [include_option_labels] When provided with a \'true\' value, single option and multiple option custom fields values contain objects in the form of \'{ id: number, label: string }\' instead of plain id
|
|
378
378
|
* @param {boolean} [include_labels] When provided with \'true\' value, response will include an array of label objects in the form of \'{ id: number, label: string }\'
|
|
379
379
|
* @param {number} [limit] For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed.
|
|
@@ -381,7 +381,7 @@ export declare const DealsApiFp: (configuration?: Configuration) => {
|
|
|
381
381
|
|
|
382
382
|
* @throws {RequiredError}
|
|
383
383
|
*/
|
|
384
|
-
getDeals(filter_id?: number, ids?: string
|
|
384
|
+
getDeals(filter_id?: number, ids?: Set<string>, owner_id?: number, person_id?: number, org_id?: number, pipeline_id?: number, stage_id?: number, status?: 'open' | 'won' | 'lost' | 'deleted', updated_since?: string, updated_until?: string, sort_by?: 'id' | 'update_time' | 'add_time', sort_direction?: 'asc' | 'desc', include_fields?: Set<'next_activity_id' | 'last_activity_id' | 'first_won_time' | 'products_count' | 'files_count' | 'notes_count' | 'followers_count' | 'email_messages_count' | 'activities_count' | 'done_activities_count' | 'undone_activities_count' | 'participants_count' | 'last_incoming_mail_time' | 'last_outgoing_mail_time' | 'smart_bcc_email' | 'source_lead_id'>, custom_fields?: Set<string>, include_option_labels?: boolean, include_labels?: boolean, limit?: number, cursor?: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetDealsResponse>>;
|
|
385
385
|
/**
|
|
386
386
|
* Adds a discount to a deal, changing the deal value if the deal has one-time products attached.
|
|
387
387
|
* @summary Add a discount to a deal
|
|
@@ -692,10 +692,10 @@ export interface DealsApiGetArchivedDealsRequest {
|
|
|
692
692
|
readonly filter_id?: number;
|
|
693
693
|
/**
|
|
694
694
|
* Optional comma separated string array of up to 100 entity ids to fetch. If filter_id is provided, this is ignored. If any of the requested entities do not exist or are not visible, they are not included in the response.
|
|
695
|
-
* @type {string}
|
|
695
|
+
* @type {Set<string>}
|
|
696
696
|
* @memberof DealsApiGetArchivedDeals
|
|
697
697
|
*/
|
|
698
|
-
readonly ids?: string
|
|
698
|
+
readonly ids?: Set<string>;
|
|
699
699
|
/**
|
|
700
700
|
* If supplied, only deals owned by the specified user are returned. If filter_id is provided, this is ignored.
|
|
701
701
|
* @type {number}
|
|
@@ -758,16 +758,16 @@ export interface DealsApiGetArchivedDealsRequest {
|
|
|
758
758
|
readonly sort_direction?: 'asc' | 'desc';
|
|
759
759
|
/**
|
|
760
760
|
* Optional comma separated string array of additional fields to include
|
|
761
|
-
* @type {'next_activity_id' | 'last_activity_id' | 'first_won_time' | 'products_count' | 'files_count' | 'notes_count' | 'followers_count' | 'email_messages_count' | 'activities_count' | 'done_activities_count' | 'undone_activities_count' | 'participants_count' | 'last_incoming_mail_time' | 'last_outgoing_mail_time' | 'smart_bcc_email' | 'source_lead_id'}
|
|
761
|
+
* @type {Set<'next_activity_id' | 'last_activity_id' | 'first_won_time' | 'products_count' | 'files_count' | 'notes_count' | 'followers_count' | 'email_messages_count' | 'activities_count' | 'done_activities_count' | 'undone_activities_count' | 'participants_count' | 'last_incoming_mail_time' | 'last_outgoing_mail_time' | 'smart_bcc_email' | 'source_lead_id'>}
|
|
762
762
|
* @memberof DealsApiGetArchivedDeals
|
|
763
763
|
*/
|
|
764
|
-
readonly include_fields?: 'next_activity_id' | 'last_activity_id' | 'first_won_time' | 'products_count' | 'files_count' | 'notes_count' | 'followers_count' | 'email_messages_count' | 'activities_count' | 'done_activities_count' | 'undone_activities_count' | 'participants_count' | 'last_incoming_mail_time' | 'last_outgoing_mail_time' | 'smart_bcc_email' | 'source_lead_id'
|
|
764
|
+
readonly include_fields?: Set<'next_activity_id' | 'last_activity_id' | 'first_won_time' | 'products_count' | 'files_count' | 'notes_count' | 'followers_count' | 'email_messages_count' | 'activities_count' | 'done_activities_count' | 'undone_activities_count' | 'participants_count' | 'last_incoming_mail_time' | 'last_outgoing_mail_time' | 'smart_bcc_email' | 'source_lead_id'>;
|
|
765
765
|
/**
|
|
766
766
|
* Optional comma separated string array of custom fields keys to include. If you are only interested in a particular set of custom fields, please use this parameter for faster results and smaller response.<br/>A maximum of 15 keys is allowed.
|
|
767
|
-
* @type {string}
|
|
767
|
+
* @type {Set<string>}
|
|
768
768
|
* @memberof DealsApiGetArchivedDeals
|
|
769
769
|
*/
|
|
770
|
-
readonly custom_fields?: string
|
|
770
|
+
readonly custom_fields?: Set<string>;
|
|
771
771
|
/**
|
|
772
772
|
* For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed.
|
|
773
773
|
* @type {number}
|
|
@@ -795,16 +795,16 @@ export interface DealsApiGetDealRequest {
|
|
|
795
795
|
readonly id: number;
|
|
796
796
|
/**
|
|
797
797
|
* Optional comma separated string array of additional fields to include
|
|
798
|
-
* @type {'next_activity_id' | 'last_activity_id' | 'first_won_time' | 'products_count' | 'files_count' | 'notes_count' | 'followers_count' | 'email_messages_count' | 'activities_count' | 'done_activities_count' | 'undone_activities_count' | 'participants_count' | 'last_incoming_mail_time' | 'last_outgoing_mail_time' | 'smart_bcc_email' | 'source_lead_id'}
|
|
798
|
+
* @type {Set<'next_activity_id' | 'last_activity_id' | 'first_won_time' | 'products_count' | 'files_count' | 'notes_count' | 'followers_count' | 'email_messages_count' | 'activities_count' | 'done_activities_count' | 'undone_activities_count' | 'participants_count' | 'last_incoming_mail_time' | 'last_outgoing_mail_time' | 'smart_bcc_email' | 'source_lead_id'>}
|
|
799
799
|
* @memberof DealsApiGetDeal
|
|
800
800
|
*/
|
|
801
|
-
readonly include_fields?: 'next_activity_id' | 'last_activity_id' | 'first_won_time' | 'products_count' | 'files_count' | 'notes_count' | 'followers_count' | 'email_messages_count' | 'activities_count' | 'done_activities_count' | 'undone_activities_count' | 'participants_count' | 'last_incoming_mail_time' | 'last_outgoing_mail_time' | 'smart_bcc_email' | 'source_lead_id'
|
|
801
|
+
readonly include_fields?: Set<'next_activity_id' | 'last_activity_id' | 'first_won_time' | 'products_count' | 'files_count' | 'notes_count' | 'followers_count' | 'email_messages_count' | 'activities_count' | 'done_activities_count' | 'undone_activities_count' | 'participants_count' | 'last_incoming_mail_time' | 'last_outgoing_mail_time' | 'smart_bcc_email' | 'source_lead_id'>;
|
|
802
802
|
/**
|
|
803
803
|
* Optional comma separated string array of custom fields keys to include. If you are only interested in a particular set of custom fields, please use this parameter for faster results and smaller response.<br/>A maximum of 15 keys is allowed.
|
|
804
|
-
* @type {string}
|
|
804
|
+
* @type {Set<string>}
|
|
805
805
|
* @memberof DealsApiGetDeal
|
|
806
806
|
*/
|
|
807
|
-
readonly custom_fields?: string
|
|
807
|
+
readonly custom_fields?: Set<string>;
|
|
808
808
|
/**
|
|
809
809
|
* When provided with a \'true\' value, single option and multiple option custom fields values contain objects in the form of \'{ id: number, label: string }\' instead of plain id
|
|
810
810
|
* @type {boolean}
|
|
@@ -901,10 +901,10 @@ export interface DealsApiGetDealsRequest {
|
|
|
901
901
|
readonly filter_id?: number;
|
|
902
902
|
/**
|
|
903
903
|
* Optional comma separated string array of up to 100 entity ids to fetch. If filter_id is provided, this is ignored. If any of the requested entities do not exist or are not visible, they are not included in the response.
|
|
904
|
-
* @type {string}
|
|
904
|
+
* @type {Set<string>}
|
|
905
905
|
* @memberof DealsApiGetDeals
|
|
906
906
|
*/
|
|
907
|
-
readonly ids?: string
|
|
907
|
+
readonly ids?: Set<string>;
|
|
908
908
|
/**
|
|
909
909
|
* If supplied, only deals owned by the specified user are returned. If filter_id is provided, this is ignored.
|
|
910
910
|
* @type {number}
|
|
@@ -967,16 +967,16 @@ export interface DealsApiGetDealsRequest {
|
|
|
967
967
|
readonly sort_direction?: 'asc' | 'desc';
|
|
968
968
|
/**
|
|
969
969
|
* Optional comma separated string array of additional fields to include
|
|
970
|
-
* @type {'next_activity_id' | 'last_activity_id' | 'first_won_time' | 'products_count' | 'files_count' | 'notes_count' | 'followers_count' | 'email_messages_count' | 'activities_count' | 'done_activities_count' | 'undone_activities_count' | 'participants_count' | 'last_incoming_mail_time' | 'last_outgoing_mail_time' | 'smart_bcc_email' | 'source_lead_id'}
|
|
970
|
+
* @type {Set<'next_activity_id' | 'last_activity_id' | 'first_won_time' | 'products_count' | 'files_count' | 'notes_count' | 'followers_count' | 'email_messages_count' | 'activities_count' | 'done_activities_count' | 'undone_activities_count' | 'participants_count' | 'last_incoming_mail_time' | 'last_outgoing_mail_time' | 'smart_bcc_email' | 'source_lead_id'>}
|
|
971
971
|
* @memberof DealsApiGetDeals
|
|
972
972
|
*/
|
|
973
|
-
readonly include_fields?: 'next_activity_id' | 'last_activity_id' | 'first_won_time' | 'products_count' | 'files_count' | 'notes_count' | 'followers_count' | 'email_messages_count' | 'activities_count' | 'done_activities_count' | 'undone_activities_count' | 'participants_count' | 'last_incoming_mail_time' | 'last_outgoing_mail_time' | 'smart_bcc_email' | 'source_lead_id'
|
|
973
|
+
readonly include_fields?: Set<'next_activity_id' | 'last_activity_id' | 'first_won_time' | 'products_count' | 'files_count' | 'notes_count' | 'followers_count' | 'email_messages_count' | 'activities_count' | 'done_activities_count' | 'undone_activities_count' | 'participants_count' | 'last_incoming_mail_time' | 'last_outgoing_mail_time' | 'smart_bcc_email' | 'source_lead_id'>;
|
|
974
974
|
/**
|
|
975
975
|
* Optional comma separated string array of custom fields keys to include. If you are only interested in a particular set of custom fields, please use this parameter for faster results and smaller response.<br/>A maximum of 15 keys is allowed.
|
|
976
|
-
* @type {string}
|
|
976
|
+
* @type {Set<string>}
|
|
977
977
|
* @memberof DealsApiGetDeals
|
|
978
978
|
*/
|
|
979
|
-
readonly custom_fields?: string
|
|
979
|
+
readonly custom_fields?: Set<string>;
|
|
980
980
|
/**
|
|
981
981
|
* When provided with a \'true\' value, single option and multiple option custom fields values contain objects in the form of \'{ id: number, label: string }\' instead of plain id
|
|
982
982
|
* @type {boolean}
|
|
@@ -25,7 +25,7 @@ import globalAxios from 'axios';
|
|
|
25
25
|
// @ts-ignore
|
|
26
26
|
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
|
|
27
27
|
// @ts-ignore
|
|
28
|
-
import { BASE_PATH, BaseAPI } from '../base';
|
|
28
|
+
import { BASE_PATH, COLLECTION_FORMATS, BaseAPI } from '../base';
|
|
29
29
|
/**
|
|
30
30
|
* DealsApi - axios parameter creator
|
|
31
31
|
* @export
|
|
@@ -284,7 +284,7 @@ export const DealsApiAxiosParamCreator = function (configuration) {
|
|
|
284
284
|
* Returns data about all archived deals.
|
|
285
285
|
* @summary Get all archived deals
|
|
286
286
|
* @param {number} [filter_id] If supplied, only deals matching the specified filter are returned
|
|
287
|
-
* @param {string} [ids] Optional comma separated string array of up to 100 entity ids to fetch. If filter_id is provided, this is ignored. If any of the requested entities do not exist or are not visible, they are not included in the response.
|
|
287
|
+
* @param {Set<string>} [ids] Optional comma separated string array of up to 100 entity ids to fetch. If filter_id is provided, this is ignored. If any of the requested entities do not exist or are not visible, they are not included in the response.
|
|
288
288
|
* @param {number} [owner_id] If supplied, only deals owned by the specified user are returned. If filter_id is provided, this is ignored.
|
|
289
289
|
* @param {number} [person_id] If supplied, only deals linked to the specified person are returned. If filter_id is provided, this is ignored.
|
|
290
290
|
* @param {number} [org_id] If supplied, only deals linked to the specified organization are returned. If filter_id is provided, this is ignored.
|
|
@@ -295,8 +295,8 @@ export const DealsApiAxiosParamCreator = function (configuration) {
|
|
|
295
295
|
* @param {string} [updated_until] If set, only deals with an `update_time` earlier than this time are returned. In RFC3339 format, e.g. 2025-01-01T10:20:00Z.
|
|
296
296
|
* @param {'id' | 'update_time' | 'add_time'} [sort_by] The field to sort by. Supported fields: `id`, `update_time`, `add_time`.
|
|
297
297
|
* @param {'asc' | 'desc'} [sort_direction] The sorting direction. Supported values: `asc`, `desc`.
|
|
298
|
-
* @param {'next_activity_id' | 'last_activity_id' | 'first_won_time' | 'products_count' | 'files_count' | 'notes_count' | 'followers_count' | 'email_messages_count' | 'activities_count' | 'done_activities_count' | 'undone_activities_count' | 'participants_count' | 'last_incoming_mail_time' | 'last_outgoing_mail_time' | 'smart_bcc_email' | 'source_lead_id'} [include_fields] Optional comma separated string array of additional fields to include
|
|
299
|
-
* @param {string} [custom_fields] Optional comma separated string array of custom fields keys to include. If you are only interested in a particular set of custom fields, please use this parameter for faster results and smaller response.<br/>A maximum of 15 keys is allowed.
|
|
298
|
+
* @param {Set<'next_activity_id' | 'last_activity_id' | 'first_won_time' | 'products_count' | 'files_count' | 'notes_count' | 'followers_count' | 'email_messages_count' | 'activities_count' | 'done_activities_count' | 'undone_activities_count' | 'participants_count' | 'last_incoming_mail_time' | 'last_outgoing_mail_time' | 'smart_bcc_email' | 'source_lead_id'>} [include_fields] Optional comma separated string array of additional fields to include
|
|
299
|
+
* @param {Set<string>} [custom_fields] Optional comma separated string array of custom fields keys to include. If you are only interested in a particular set of custom fields, please use this parameter for faster results and smaller response.<br/>A maximum of 15 keys is allowed.
|
|
300
300
|
* @param {number} [limit] For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed.
|
|
301
301
|
* @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
|
|
302
302
|
|
|
@@ -321,8 +321,8 @@ export const DealsApiAxiosParamCreator = function (configuration) {
|
|
|
321
321
|
if (filter_id !== undefined) {
|
|
322
322
|
localVarQueryParameter['filter_id'] = filter_id;
|
|
323
323
|
}
|
|
324
|
-
if (ids
|
|
325
|
-
localVarQueryParameter['ids'] = ids;
|
|
324
|
+
if (ids) {
|
|
325
|
+
localVarQueryParameter['ids'] = Array.from(ids).join(COLLECTION_FORMATS.csv);
|
|
326
326
|
}
|
|
327
327
|
if (owner_id !== undefined) {
|
|
328
328
|
localVarQueryParameter['owner_id'] = owner_id;
|
|
@@ -354,11 +354,11 @@ export const DealsApiAxiosParamCreator = function (configuration) {
|
|
|
354
354
|
if (sort_direction !== undefined) {
|
|
355
355
|
localVarQueryParameter['sort_direction'] = sort_direction;
|
|
356
356
|
}
|
|
357
|
-
if (include_fields
|
|
358
|
-
localVarQueryParameter['include_fields'] = include_fields;
|
|
357
|
+
if (include_fields) {
|
|
358
|
+
localVarQueryParameter['include_fields'] = Array.from(include_fields).join(COLLECTION_FORMATS.csv);
|
|
359
359
|
}
|
|
360
|
-
if (custom_fields
|
|
361
|
-
localVarQueryParameter['custom_fields'] = custom_fields;
|
|
360
|
+
if (custom_fields) {
|
|
361
|
+
localVarQueryParameter['custom_fields'] = Array.from(custom_fields).join(COLLECTION_FORMATS.csv);
|
|
362
362
|
}
|
|
363
363
|
if (limit !== undefined) {
|
|
364
364
|
localVarQueryParameter['limit'] = limit;
|
|
@@ -378,8 +378,8 @@ export const DealsApiAxiosParamCreator = function (configuration) {
|
|
|
378
378
|
* Returns the details of a specific deal.
|
|
379
379
|
* @summary Get details of a deal
|
|
380
380
|
* @param {number} id The ID of the deal
|
|
381
|
-
* @param {'next_activity_id' | 'last_activity_id' | 'first_won_time' | 'products_count' | 'files_count' | 'notes_count' | 'followers_count' | 'email_messages_count' | 'activities_count' | 'done_activities_count' | 'undone_activities_count' | 'participants_count' | 'last_incoming_mail_time' | 'last_outgoing_mail_time' | 'smart_bcc_email' | 'source_lead_id'} [include_fields] Optional comma separated string array of additional fields to include
|
|
382
|
-
* @param {string} [custom_fields] Optional comma separated string array of custom fields keys to include. If you are only interested in a particular set of custom fields, please use this parameter for faster results and smaller response.<br/>A maximum of 15 keys is allowed.
|
|
381
|
+
* @param {Set<'next_activity_id' | 'last_activity_id' | 'first_won_time' | 'products_count' | 'files_count' | 'notes_count' | 'followers_count' | 'email_messages_count' | 'activities_count' | 'done_activities_count' | 'undone_activities_count' | 'participants_count' | 'last_incoming_mail_time' | 'last_outgoing_mail_time' | 'smart_bcc_email' | 'source_lead_id'>} [include_fields] Optional comma separated string array of additional fields to include
|
|
382
|
+
* @param {Set<string>} [custom_fields] Optional comma separated string array of custom fields keys to include. If you are only interested in a particular set of custom fields, please use this parameter for faster results and smaller response.<br/>A maximum of 15 keys is allowed.
|
|
383
383
|
* @param {boolean} [include_option_labels] When provided with a \'true\' value, single option and multiple option custom fields values contain objects in the form of \'{ id: number, label: string }\' instead of plain id
|
|
384
384
|
* @param {boolean} [include_labels] When provided with \'true\' value, response will include an array of label objects in the form of \'{ id: number, label: string }\'
|
|
385
385
|
|
|
@@ -404,11 +404,11 @@ export const DealsApiAxiosParamCreator = function (configuration) {
|
|
|
404
404
|
// authentication oauth2 required
|
|
405
405
|
// oauth required
|
|
406
406
|
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["deals:read", "deals:full"], configuration);
|
|
407
|
-
if (include_fields
|
|
408
|
-
localVarQueryParameter['include_fields'] = include_fields;
|
|
407
|
+
if (include_fields) {
|
|
408
|
+
localVarQueryParameter['include_fields'] = Array.from(include_fields).join(COLLECTION_FORMATS.csv);
|
|
409
409
|
}
|
|
410
|
-
if (custom_fields
|
|
411
|
-
localVarQueryParameter['custom_fields'] = custom_fields;
|
|
410
|
+
if (custom_fields) {
|
|
411
|
+
localVarQueryParameter['custom_fields'] = Array.from(custom_fields).join(COLLECTION_FORMATS.csv);
|
|
412
412
|
}
|
|
413
413
|
if (include_option_labels !== undefined) {
|
|
414
414
|
localVarQueryParameter['include_option_labels'] = include_option_labels;
|
|
@@ -550,7 +550,7 @@ export const DealsApiAxiosParamCreator = function (configuration) {
|
|
|
550
550
|
* Returns data about all not archived deals.
|
|
551
551
|
* @summary Get all deals
|
|
552
552
|
* @param {number} [filter_id] If supplied, only deals matching the specified filter are returned
|
|
553
|
-
* @param {string} [ids] Optional comma separated string array of up to 100 entity ids to fetch. If filter_id is provided, this is ignored. If any of the requested entities do not exist or are not visible, they are not included in the response.
|
|
553
|
+
* @param {Set<string>} [ids] Optional comma separated string array of up to 100 entity ids to fetch. If filter_id is provided, this is ignored. If any of the requested entities do not exist or are not visible, they are not included in the response.
|
|
554
554
|
* @param {number} [owner_id] If supplied, only deals owned by the specified user are returned. If filter_id is provided, this is ignored.
|
|
555
555
|
* @param {number} [person_id] If supplied, only deals linked to the specified person are returned. If filter_id is provided, this is ignored.
|
|
556
556
|
* @param {number} [org_id] If supplied, only deals linked to the specified organization are returned. If filter_id is provided, this is ignored.
|
|
@@ -561,8 +561,8 @@ export const DealsApiAxiosParamCreator = function (configuration) {
|
|
|
561
561
|
* @param {string} [updated_until] If set, only deals with an `update_time` earlier than this time are returned. In RFC3339 format, e.g. 2025-01-01T10:20:00Z.
|
|
562
562
|
* @param {'id' | 'update_time' | 'add_time'} [sort_by] The field to sort by. Supported fields: `id`, `update_time`, `add_time`.
|
|
563
563
|
* @param {'asc' | 'desc'} [sort_direction] The sorting direction. Supported values: `asc`, `desc`.
|
|
564
|
-
* @param {'next_activity_id' | 'last_activity_id' | 'first_won_time' | 'products_count' | 'files_count' | 'notes_count' | 'followers_count' | 'email_messages_count' | 'activities_count' | 'done_activities_count' | 'undone_activities_count' | 'participants_count' | 'last_incoming_mail_time' | 'last_outgoing_mail_time' | 'smart_bcc_email' | 'source_lead_id'} [include_fields] Optional comma separated string array of additional fields to include
|
|
565
|
-
* @param {string} [custom_fields] Optional comma separated string array of custom fields keys to include. If you are only interested in a particular set of custom fields, please use this parameter for faster results and smaller response.<br/>A maximum of 15 keys is allowed.
|
|
564
|
+
* @param {Set<'next_activity_id' | 'last_activity_id' | 'first_won_time' | 'products_count' | 'files_count' | 'notes_count' | 'followers_count' | 'email_messages_count' | 'activities_count' | 'done_activities_count' | 'undone_activities_count' | 'participants_count' | 'last_incoming_mail_time' | 'last_outgoing_mail_time' | 'smart_bcc_email' | 'source_lead_id'>} [include_fields] Optional comma separated string array of additional fields to include
|
|
565
|
+
* @param {Set<string>} [custom_fields] Optional comma separated string array of custom fields keys to include. If you are only interested in a particular set of custom fields, please use this parameter for faster results and smaller response.<br/>A maximum of 15 keys is allowed.
|
|
566
566
|
* @param {boolean} [include_option_labels] When provided with a \'true\' value, single option and multiple option custom fields values contain objects in the form of \'{ id: number, label: string }\' instead of plain id
|
|
567
567
|
* @param {boolean} [include_labels] When provided with \'true\' value, response will include an array of label objects in the form of \'{ id: number, label: string }\'
|
|
568
568
|
* @param {number} [limit] For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed.
|
|
@@ -589,8 +589,8 @@ export const DealsApiAxiosParamCreator = function (configuration) {
|
|
|
589
589
|
if (filter_id !== undefined) {
|
|
590
590
|
localVarQueryParameter['filter_id'] = filter_id;
|
|
591
591
|
}
|
|
592
|
-
if (ids
|
|
593
|
-
localVarQueryParameter['ids'] = ids;
|
|
592
|
+
if (ids) {
|
|
593
|
+
localVarQueryParameter['ids'] = Array.from(ids).join(COLLECTION_FORMATS.csv);
|
|
594
594
|
}
|
|
595
595
|
if (owner_id !== undefined) {
|
|
596
596
|
localVarQueryParameter['owner_id'] = owner_id;
|
|
@@ -622,11 +622,11 @@ export const DealsApiAxiosParamCreator = function (configuration) {
|
|
|
622
622
|
if (sort_direction !== undefined) {
|
|
623
623
|
localVarQueryParameter['sort_direction'] = sort_direction;
|
|
624
624
|
}
|
|
625
|
-
if (include_fields
|
|
626
|
-
localVarQueryParameter['include_fields'] = include_fields;
|
|
625
|
+
if (include_fields) {
|
|
626
|
+
localVarQueryParameter['include_fields'] = Array.from(include_fields).join(COLLECTION_FORMATS.csv);
|
|
627
627
|
}
|
|
628
|
-
if (custom_fields
|
|
629
|
-
localVarQueryParameter['custom_fields'] = custom_fields;
|
|
628
|
+
if (custom_fields) {
|
|
629
|
+
localVarQueryParameter['custom_fields'] = Array.from(custom_fields).join(COLLECTION_FORMATS.csv);
|
|
630
630
|
}
|
|
631
631
|
if (include_option_labels !== undefined) {
|
|
632
632
|
localVarQueryParameter['include_option_labels'] = include_option_labels;
|
|
@@ -938,7 +938,7 @@ export const DealsApiFp = function (configuration) {
|
|
|
938
938
|
* Returns data about all archived deals.
|
|
939
939
|
* @summary Get all archived deals
|
|
940
940
|
* @param {number} [filter_id] If supplied, only deals matching the specified filter are returned
|
|
941
|
-
* @param {string} [ids] Optional comma separated string array of up to 100 entity ids to fetch. If filter_id is provided, this is ignored. If any of the requested entities do not exist or are not visible, they are not included in the response.
|
|
941
|
+
* @param {Set<string>} [ids] Optional comma separated string array of up to 100 entity ids to fetch. If filter_id is provided, this is ignored. If any of the requested entities do not exist or are not visible, they are not included in the response.
|
|
942
942
|
* @param {number} [owner_id] If supplied, only deals owned by the specified user are returned. If filter_id is provided, this is ignored.
|
|
943
943
|
* @param {number} [person_id] If supplied, only deals linked to the specified person are returned. If filter_id is provided, this is ignored.
|
|
944
944
|
* @param {number} [org_id] If supplied, only deals linked to the specified organization are returned. If filter_id is provided, this is ignored.
|
|
@@ -949,8 +949,8 @@ export const DealsApiFp = function (configuration) {
|
|
|
949
949
|
* @param {string} [updated_until] If set, only deals with an `update_time` earlier than this time are returned. In RFC3339 format, e.g. 2025-01-01T10:20:00Z.
|
|
950
950
|
* @param {'id' | 'update_time' | 'add_time'} [sort_by] The field to sort by. Supported fields: `id`, `update_time`, `add_time`.
|
|
951
951
|
* @param {'asc' | 'desc'} [sort_direction] The sorting direction. Supported values: `asc`, `desc`.
|
|
952
|
-
* @param {'next_activity_id' | 'last_activity_id' | 'first_won_time' | 'products_count' | 'files_count' | 'notes_count' | 'followers_count' | 'email_messages_count' | 'activities_count' | 'done_activities_count' | 'undone_activities_count' | 'participants_count' | 'last_incoming_mail_time' | 'last_outgoing_mail_time' | 'smart_bcc_email' | 'source_lead_id'} [include_fields] Optional comma separated string array of additional fields to include
|
|
953
|
-
* @param {string} [custom_fields] Optional comma separated string array of custom fields keys to include. If you are only interested in a particular set of custom fields, please use this parameter for faster results and smaller response.<br/>A maximum of 15 keys is allowed.
|
|
952
|
+
* @param {Set<'next_activity_id' | 'last_activity_id' | 'first_won_time' | 'products_count' | 'files_count' | 'notes_count' | 'followers_count' | 'email_messages_count' | 'activities_count' | 'done_activities_count' | 'undone_activities_count' | 'participants_count' | 'last_incoming_mail_time' | 'last_outgoing_mail_time' | 'smart_bcc_email' | 'source_lead_id'>} [include_fields] Optional comma separated string array of additional fields to include
|
|
953
|
+
* @param {Set<string>} [custom_fields] Optional comma separated string array of custom fields keys to include. If you are only interested in a particular set of custom fields, please use this parameter for faster results and smaller response.<br/>A maximum of 15 keys is allowed.
|
|
954
954
|
* @param {number} [limit] For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed.
|
|
955
955
|
* @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
|
|
956
956
|
|
|
@@ -966,8 +966,8 @@ export const DealsApiFp = function (configuration) {
|
|
|
966
966
|
* Returns the details of a specific deal.
|
|
967
967
|
* @summary Get details of a deal
|
|
968
968
|
* @param {number} id The ID of the deal
|
|
969
|
-
* @param {'next_activity_id' | 'last_activity_id' | 'first_won_time' | 'products_count' | 'files_count' | 'notes_count' | 'followers_count' | 'email_messages_count' | 'activities_count' | 'done_activities_count' | 'undone_activities_count' | 'participants_count' | 'last_incoming_mail_time' | 'last_outgoing_mail_time' | 'smart_bcc_email' | 'source_lead_id'} [include_fields] Optional comma separated string array of additional fields to include
|
|
970
|
-
* @param {string} [custom_fields] Optional comma separated string array of custom fields keys to include. If you are only interested in a particular set of custom fields, please use this parameter for faster results and smaller response.<br/>A maximum of 15 keys is allowed.
|
|
969
|
+
* @param {Set<'next_activity_id' | 'last_activity_id' | 'first_won_time' | 'products_count' | 'files_count' | 'notes_count' | 'followers_count' | 'email_messages_count' | 'activities_count' | 'done_activities_count' | 'undone_activities_count' | 'participants_count' | 'last_incoming_mail_time' | 'last_outgoing_mail_time' | 'smart_bcc_email' | 'source_lead_id'>} [include_fields] Optional comma separated string array of additional fields to include
|
|
970
|
+
* @param {Set<string>} [custom_fields] Optional comma separated string array of custom fields keys to include. If you are only interested in a particular set of custom fields, please use this parameter for faster results and smaller response.<br/>A maximum of 15 keys is allowed.
|
|
971
971
|
* @param {boolean} [include_option_labels] When provided with a \'true\' value, single option and multiple option custom fields values contain objects in the form of \'{ id: number, label: string }\' instead of plain id
|
|
972
972
|
* @param {boolean} [include_labels] When provided with \'true\' value, response will include an array of label objects in the form of \'{ id: number, label: string }\'
|
|
973
973
|
|
|
@@ -1027,7 +1027,7 @@ export const DealsApiFp = function (configuration) {
|
|
|
1027
1027
|
* Returns data about all not archived deals.
|
|
1028
1028
|
* @summary Get all deals
|
|
1029
1029
|
* @param {number} [filter_id] If supplied, only deals matching the specified filter are returned
|
|
1030
|
-
* @param {string} [ids] Optional comma separated string array of up to 100 entity ids to fetch. If filter_id is provided, this is ignored. If any of the requested entities do not exist or are not visible, they are not included in the response.
|
|
1030
|
+
* @param {Set<string>} [ids] Optional comma separated string array of up to 100 entity ids to fetch. If filter_id is provided, this is ignored. If any of the requested entities do not exist or are not visible, they are not included in the response.
|
|
1031
1031
|
* @param {number} [owner_id] If supplied, only deals owned by the specified user are returned. If filter_id is provided, this is ignored.
|
|
1032
1032
|
* @param {number} [person_id] If supplied, only deals linked to the specified person are returned. If filter_id is provided, this is ignored.
|
|
1033
1033
|
* @param {number} [org_id] If supplied, only deals linked to the specified organization are returned. If filter_id is provided, this is ignored.
|
|
@@ -1038,8 +1038,8 @@ export const DealsApiFp = function (configuration) {
|
|
|
1038
1038
|
* @param {string} [updated_until] If set, only deals with an `update_time` earlier than this time are returned. In RFC3339 format, e.g. 2025-01-01T10:20:00Z.
|
|
1039
1039
|
* @param {'id' | 'update_time' | 'add_time'} [sort_by] The field to sort by. Supported fields: `id`, `update_time`, `add_time`.
|
|
1040
1040
|
* @param {'asc' | 'desc'} [sort_direction] The sorting direction. Supported values: `asc`, `desc`.
|
|
1041
|
-
* @param {'next_activity_id' | 'last_activity_id' | 'first_won_time' | 'products_count' | 'files_count' | 'notes_count' | 'followers_count' | 'email_messages_count' | 'activities_count' | 'done_activities_count' | 'undone_activities_count' | 'participants_count' | 'last_incoming_mail_time' | 'last_outgoing_mail_time' | 'smart_bcc_email' | 'source_lead_id'} [include_fields] Optional comma separated string array of additional fields to include
|
|
1042
|
-
* @param {string} [custom_fields] Optional comma separated string array of custom fields keys to include. If you are only interested in a particular set of custom fields, please use this parameter for faster results and smaller response.<br/>A maximum of 15 keys is allowed.
|
|
1041
|
+
* @param {Set<'next_activity_id' | 'last_activity_id' | 'first_won_time' | 'products_count' | 'files_count' | 'notes_count' | 'followers_count' | 'email_messages_count' | 'activities_count' | 'done_activities_count' | 'undone_activities_count' | 'participants_count' | 'last_incoming_mail_time' | 'last_outgoing_mail_time' | 'smart_bcc_email' | 'source_lead_id'>} [include_fields] Optional comma separated string array of additional fields to include
|
|
1042
|
+
* @param {Set<string>} [custom_fields] Optional comma separated string array of custom fields keys to include. If you are only interested in a particular set of custom fields, please use this parameter for faster results and smaller response.<br/>A maximum of 15 keys is allowed.
|
|
1043
1043
|
* @param {boolean} [include_option_labels] When provided with a \'true\' value, single option and multiple option custom fields values contain objects in the form of \'{ id: number, label: string }\' instead of plain id
|
|
1044
1044
|
* @param {boolean} [include_labels] When provided with \'true\' value, response will include an array of label objects in the form of \'{ id: number, label: string }\'
|
|
1045
1045
|
* @param {number} [limit] For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed.
|
|
@@ -64,21 +64,21 @@ export declare const OrganizationFieldsApiAxiosParamCreator: (configuration?: Co
|
|
|
64
64
|
* Returns metadata about a specific organization field.
|
|
65
65
|
* @summary Get one organization field
|
|
66
66
|
* @param {string} field_code The unique code identifying the field
|
|
67
|
-
* @param {'ui_visibility' | 'important_fields' | 'required_fields'
|
|
67
|
+
* @param {Set<'ui_visibility' | 'important_fields' | 'required_fields'>} [include_fields] Optional comma separated string array of additional data namespaces to include in response
|
|
68
68
|
|
|
69
69
|
* @throws {RequiredError}
|
|
70
70
|
*/
|
|
71
|
-
getOrganizationField: (field_code: string, include_fields?: 'ui_visibility' | 'important_fields' | 'required_fields'
|
|
71
|
+
getOrganizationField: (field_code: string, include_fields?: Set<'ui_visibility' | 'important_fields' | 'required_fields'>) => Promise<RequestArgs>;
|
|
72
72
|
/**
|
|
73
73
|
* Returns metadata about all organization fields in the company.
|
|
74
74
|
* @summary Get all organization fields
|
|
75
|
-
* @param {'ui_visibility' | 'important_fields' | 'required_fields'
|
|
75
|
+
* @param {Set<'ui_visibility' | 'important_fields' | 'required_fields'>} [include_fields] Optional comma separated string array of additional data namespaces to include in response
|
|
76
76
|
* @param {number} [limit] For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed.
|
|
77
77
|
* @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
|
|
78
78
|
|
|
79
79
|
* @throws {RequiredError}
|
|
80
80
|
*/
|
|
81
|
-
getOrganizationFields: (include_fields?: 'ui_visibility' | 'important_fields' | 'required_fields'
|
|
81
|
+
getOrganizationFields: (include_fields?: Set<'ui_visibility' | 'important_fields' | 'required_fields'>, limit?: number, cursor?: string) => Promise<RequestArgs>;
|
|
82
82
|
/**
|
|
83
83
|
* Updates an organization custom field. The field_code and field_type cannot be changed. At least one field must be provided in the request body.
|
|
84
84
|
* @summary Update one organization field
|
|
@@ -141,21 +141,21 @@ export declare const OrganizationFieldsApiFp: (configuration?: Configuration) =>
|
|
|
141
141
|
* Returns metadata about a specific organization field.
|
|
142
142
|
* @summary Get one organization field
|
|
143
143
|
* @param {string} field_code The unique code identifying the field
|
|
144
|
-
* @param {'ui_visibility' | 'important_fields' | 'required_fields'
|
|
144
|
+
* @param {Set<'ui_visibility' | 'important_fields' | 'required_fields'>} [include_fields] Optional comma separated string array of additional data namespaces to include in response
|
|
145
145
|
|
|
146
146
|
* @throws {RequiredError}
|
|
147
147
|
*/
|
|
148
|
-
getOrganizationField(field_code: string, include_fields?: 'ui_visibility' | 'important_fields' | 'required_fields'
|
|
148
|
+
getOrganizationField(field_code: string, include_fields?: Set<'ui_visibility' | 'important_fields' | 'required_fields'>): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AddOrganizationField200Response>>;
|
|
149
149
|
/**
|
|
150
150
|
* Returns metadata about all organization fields in the company.
|
|
151
151
|
* @summary Get all organization fields
|
|
152
|
-
* @param {'ui_visibility' | 'important_fields' | 'required_fields'
|
|
152
|
+
* @param {Set<'ui_visibility' | 'important_fields' | 'required_fields'>} [include_fields] Optional comma separated string array of additional data namespaces to include in response
|
|
153
153
|
* @param {number} [limit] For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed.
|
|
154
154
|
* @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
|
|
155
155
|
|
|
156
156
|
* @throws {RequiredError}
|
|
157
157
|
*/
|
|
158
|
-
getOrganizationFields(include_fields?: 'ui_visibility' | 'important_fields' | 'required_fields'
|
|
158
|
+
getOrganizationFields(include_fields?: Set<'ui_visibility' | 'important_fields' | 'required_fields'>, limit?: number, cursor?: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetOrganizationFields200Response>>;
|
|
159
159
|
/**
|
|
160
160
|
* Updates an organization custom field. The field_code and field_type cannot be changed. At least one field must be provided in the request body.
|
|
161
161
|
* @summary Update one organization field
|
|
@@ -323,10 +323,10 @@ export interface OrganizationFieldsApiGetOrganizationFieldRequest {
|
|
|
323
323
|
readonly field_code: string;
|
|
324
324
|
/**
|
|
325
325
|
* Optional comma separated string array of additional data namespaces to include in response
|
|
326
|
-
* @type {'ui_visibility' | 'important_fields' | 'required_fields'
|
|
326
|
+
* @type {Set<'ui_visibility' | 'important_fields' | 'required_fields'>}
|
|
327
327
|
* @memberof OrganizationFieldsApiGetOrganizationField
|
|
328
328
|
*/
|
|
329
|
-
readonly include_fields?: 'ui_visibility' | 'important_fields' | 'required_fields'
|
|
329
|
+
readonly include_fields?: Set<'ui_visibility' | 'important_fields' | 'required_fields'>;
|
|
330
330
|
}
|
|
331
331
|
/**
|
|
332
332
|
* Request parameters for getOrganizationFields operation in OrganizationFieldsApi.
|
|
@@ -336,10 +336,10 @@ export interface OrganizationFieldsApiGetOrganizationFieldRequest {
|
|
|
336
336
|
export interface OrganizationFieldsApiGetOrganizationFieldsRequest {
|
|
337
337
|
/**
|
|
338
338
|
* Optional comma separated string array of additional data namespaces to include in response
|
|
339
|
-
* @type {'ui_visibility' | 'important_fields' | 'required_fields'
|
|
339
|
+
* @type {Set<'ui_visibility' | 'important_fields' | 'required_fields'>}
|
|
340
340
|
* @memberof OrganizationFieldsApiGetOrganizationFields
|
|
341
341
|
*/
|
|
342
|
-
readonly include_fields?: 'ui_visibility' | 'important_fields' | 'required_fields'
|
|
342
|
+
readonly include_fields?: Set<'ui_visibility' | 'important_fields' | 'required_fields'>;
|
|
343
343
|
/**
|
|
344
344
|
* For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed.
|
|
345
345
|
* @type {number}
|