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.
Files changed (89) hide show
  1. package/dist/esm/versions/v1/models/deal-all-of-creator-user-id.d.ts +2 -2
  2. package/dist/esm/versions/v1/models/get-associated-product-files-response-all-of.d.ts +1 -1
  3. package/dist/esm/versions/v2/api/activities-api.d.ts +16 -16
  4. package/dist/esm/versions/v2/api/activities-api.js +13 -13
  5. package/dist/esm/versions/v2/api/activity-fields-api.d.ts +12 -12
  6. package/dist/esm/versions/v2/api/activity-fields-api.js +9 -9
  7. package/dist/esm/versions/v2/api/deal-fields-api.d.ts +12 -12
  8. package/dist/esm/versions/v2/api/deal-fields-api.js +9 -9
  9. package/dist/esm/versions/v2/api/deals-api.d.ts +38 -38
  10. package/dist/esm/versions/v2/api/deals-api.js +33 -33
  11. package/dist/esm/versions/v2/api/organization-fields-api.d.ts +12 -12
  12. package/dist/esm/versions/v2/api/organization-fields-api.js +9 -9
  13. package/dist/esm/versions/v2/api/organizations-api.d.ts +24 -24
  14. package/dist/esm/versions/v2/api/organizations-api.js +21 -21
  15. package/dist/esm/versions/v2/api/person-fields-api.d.ts +12 -12
  16. package/dist/esm/versions/v2/api/person-fields-api.js +9 -9
  17. package/dist/esm/versions/v2/api/persons-api.d.ts +24 -24
  18. package/dist/esm/versions/v2/api/persons-api.js +21 -21
  19. package/dist/esm/versions/v2/api/product-fields-api.d.ts +12 -12
  20. package/dist/esm/versions/v2/api/product-fields-api.js +9 -9
  21. package/dist/esm/versions/v2/api/products-api.d.ts +14 -14
  22. package/dist/esm/versions/v2/api/products-api.js +15 -15
  23. package/dist/esm/versions/v2/models/activity-item-location.d.ts +68 -0
  24. package/dist/esm/versions/v2/models/activity-item-location.js +14 -0
  25. package/dist/esm/versions/v2/models/activity-item.d.ts +11 -11
  26. package/dist/esm/versions/v2/models/add-organization-request.d.ts +1 -1
  27. package/dist/esm/versions/v2/models/add-person-request.d.ts +1 -1
  28. package/dist/esm/versions/v2/models/deal.d.ts +1 -1
  29. package/dist/esm/versions/v2/models/get-activities-response-all-of-additional-data.d.ts +1 -1
  30. package/dist/esm/versions/v2/models/get-deal-search-response-all-of-data-items-inner-item.d.ts +1 -1
  31. package/dist/esm/versions/v2/models/get-deals-products-response-additional-data.d.ts +1 -1
  32. package/dist/esm/versions/v2/models/get-organization-search-response-all-of-data-items-inner-item.d.ts +1 -1
  33. package/dist/esm/versions/v2/models/get-product-search-response-all-of-data-items-inner-item.d.ts +2 -2
  34. package/dist/esm/versions/v2/models/index.d.ts +1 -0
  35. package/dist/esm/versions/v2/models/index.js +1 -0
  36. package/dist/esm/versions/v2/models/lead-search-item-item.d.ts +1 -1
  37. package/dist/esm/versions/v2/models/organization-item-address.d.ts +9 -9
  38. package/dist/esm/versions/v2/models/organization-item.d.ts +2 -2
  39. package/dist/esm/versions/v2/models/person-item-address.d.ts +9 -9
  40. package/dist/esm/versions/v2/models/person.d.ts +3 -3
  41. package/dist/esm/versions/v2/models/stage-item.d.ts +1 -1
  42. package/dist/esm/versions/v2/models/stage-item1.d.ts +1 -1
  43. package/dist/esm/versions/v2/models/update-organization-request.d.ts +1 -1
  44. package/dist/esm/versions/v2/models/update-person-request.d.ts +1 -1
  45. package/dist/versions/v1/models/deal-all-of-creator-user-id.d.ts +2 -2
  46. package/dist/versions/v1/models/get-associated-product-files-response-all-of.d.ts +1 -1
  47. package/dist/versions/v2/api/activities-api.d.ts +16 -16
  48. package/dist/versions/v2/api/activities-api.js +12 -12
  49. package/dist/versions/v2/api/activity-fields-api.d.ts +12 -12
  50. package/dist/versions/v2/api/activity-fields-api.js +8 -8
  51. package/dist/versions/v2/api/deal-fields-api.d.ts +12 -12
  52. package/dist/versions/v2/api/deal-fields-api.js +8 -8
  53. package/dist/versions/v2/api/deals-api.d.ts +38 -38
  54. package/dist/versions/v2/api/deals-api.js +32 -32
  55. package/dist/versions/v2/api/organization-fields-api.d.ts +12 -12
  56. package/dist/versions/v2/api/organization-fields-api.js +8 -8
  57. package/dist/versions/v2/api/organizations-api.d.ts +24 -24
  58. package/dist/versions/v2/api/organizations-api.js +20 -20
  59. package/dist/versions/v2/api/person-fields-api.d.ts +12 -12
  60. package/dist/versions/v2/api/person-fields-api.js +8 -8
  61. package/dist/versions/v2/api/persons-api.d.ts +24 -24
  62. package/dist/versions/v2/api/persons-api.js +20 -20
  63. package/dist/versions/v2/api/product-fields-api.d.ts +12 -12
  64. package/dist/versions/v2/api/product-fields-api.js +8 -8
  65. package/dist/versions/v2/api/products-api.d.ts +14 -14
  66. package/dist/versions/v2/api/products-api.js +14 -14
  67. package/dist/versions/v2/models/activity-item-location.d.ts +68 -0
  68. package/dist/versions/v2/models/activity-item-location.js +15 -0
  69. package/dist/versions/v2/models/activity-item.d.ts +11 -11
  70. package/dist/versions/v2/models/add-organization-request.d.ts +1 -1
  71. package/dist/versions/v2/models/add-person-request.d.ts +1 -1
  72. package/dist/versions/v2/models/deal.d.ts +1 -1
  73. package/dist/versions/v2/models/get-activities-response-all-of-additional-data.d.ts +1 -1
  74. package/dist/versions/v2/models/get-deal-search-response-all-of-data-items-inner-item.d.ts +1 -1
  75. package/dist/versions/v2/models/get-deals-products-response-additional-data.d.ts +1 -1
  76. package/dist/versions/v2/models/get-organization-search-response-all-of-data-items-inner-item.d.ts +1 -1
  77. package/dist/versions/v2/models/get-product-search-response-all-of-data-items-inner-item.d.ts +2 -2
  78. package/dist/versions/v2/models/index.d.ts +1 -0
  79. package/dist/versions/v2/models/index.js +1 -0
  80. package/dist/versions/v2/models/lead-search-item-item.d.ts +1 -1
  81. package/dist/versions/v2/models/organization-item-address.d.ts +9 -9
  82. package/dist/versions/v2/models/organization-item.d.ts +2 -2
  83. package/dist/versions/v2/models/person-item-address.d.ts +9 -9
  84. package/dist/versions/v2/models/person.d.ts +3 -3
  85. package/dist/versions/v2/models/stage-item.d.ts +1 -1
  86. package/dist/versions/v2/models/stage-item1.d.ts +1 -1
  87. package/dist/versions/v2/models/update-organization-request.d.ts +1 -1
  88. package/dist/versions/v2/models/update-person-request.d.ts +1 -1
  89. package/package.json +1 -1
@@ -32,9 +32,9 @@ export interface DealAllOfCreatorUserId {
32
32
  'email'?: string;
33
33
  /**
34
34
  * If the creator has a picture or not
35
- * @type {boolean}
35
+ * @type {number}
36
36
  */
37
- 'has_pic'?: boolean;
37
+ 'has_pic'?: number;
38
38
  /**
39
39
  * The creator picture hash
40
40
  * @type {string}
@@ -21,7 +21,7 @@ export interface GetAssociatedProductFilesResponseAllOf {
21
21
  * The array of files
22
22
  * @type {Array<GetAssociatedProductFilesResponseAllOfDataInner>}
23
23
  */
24
- 'data': Array<GetAssociatedProductFilesResponseAllOfDataInner>;
24
+ 'data': Array<GetAssociatedProductFilesResponseAllOfDataInner> | null;
25
25
  /**
26
26
  *
27
27
  * @type {GetFieldsResponseAllOfAdditionalData}
@@ -41,7 +41,7 @@ export declare const ActivitiesApiAxiosParamCreator: (configuration?: Configurat
41
41
  * Returns data about all activities.
42
42
  * @summary Get all activities
43
43
  * @param {number} [filter_id] If supplied, only activities matching the specified filter are returned
44
- * @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.
44
+ * @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.
45
45
  * @param {number} [owner_id] If supplied, only activities owned by the specified user are returned. If filter_id is provided, this is ignored.
46
46
  * @param {number} [deal_id] If supplied, only activities linked to the specified deal are returned. If filter_id is provided, this is ignored.
47
47
  * @param {string} [lead_id] If supplied, only activities linked to the specified lead are returned. If filter_id is provided, this is ignored.
@@ -52,22 +52,22 @@ export declare const ActivitiesApiAxiosParamCreator: (configuration?: Configurat
52
52
  * @param {string} [updated_until] If set, only activities with an &#x60;update_time&#x60; earlier than this time are returned. In RFC3339 format, e.g. 2025-01-01T10:20:00Z.
53
53
  * @param {'id' | 'update_time' | 'add_time' | 'due_date'} [sort_by] The field to sort by. Supported fields: &#x60;id&#x60;, &#x60;update_time&#x60;, &#x60;add_time&#x60;, &#x60;due_date&#x60;.
54
54
  * @param {'asc' | 'desc'} [sort_direction] The sorting direction. Supported values: &#x60;asc&#x60;, &#x60;desc&#x60;.
55
- * @param {'attendees'} [include_fields] Optional comma separated string array of additional fields to include
55
+ * @param {Set<'attendees'>} [include_fields] Optional comma separated string array of additional fields to include
56
56
  * @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.
57
57
  * @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
58
58
 
59
59
  * @throws {RequiredError}
60
60
  */
61
- getActivities: (filter_id?: number, ids?: string, owner_id?: number, deal_id?: number, lead_id?: string, person_id?: number, org_id?: number, done?: boolean, updated_since?: string, updated_until?: string, sort_by?: 'id' | 'update_time' | 'add_time' | 'due_date', sort_direction?: 'asc' | 'desc', include_fields?: 'attendees', limit?: number, cursor?: string) => Promise<RequestArgs>;
61
+ getActivities: (filter_id?: number, ids?: Set<string>, owner_id?: number, deal_id?: number, lead_id?: string, person_id?: number, org_id?: number, done?: boolean, updated_since?: string, updated_until?: string, sort_by?: 'id' | 'update_time' | 'add_time' | 'due_date', sort_direction?: 'asc' | 'desc', include_fields?: Set<'attendees'>, limit?: number, cursor?: string) => Promise<RequestArgs>;
62
62
  /**
63
63
  * Returns the details of a specific activity.
64
64
  * @summary Get details of an activity
65
65
  * @param {number} id The ID of the activity
66
- * @param {'attendees'} [include_fields] Optional comma separated string array of additional fields to include
66
+ * @param {Set<'attendees'>} [include_fields] Optional comma separated string array of additional fields to include
67
67
 
68
68
  * @throws {RequiredError}
69
69
  */
70
- getActivity: (id: number, include_fields?: 'attendees') => Promise<RequestArgs>;
70
+ getActivity: (id: number, include_fields?: Set<'attendees'>) => Promise<RequestArgs>;
71
71
  /**
72
72
  * Updates the properties of an activity.
73
73
  * @summary Update an activity
@@ -103,7 +103,7 @@ export declare const ActivitiesApiFp: (configuration?: Configuration) => {
103
103
  * Returns data about all activities.
104
104
  * @summary Get all activities
105
105
  * @param {number} [filter_id] If supplied, only activities matching the specified filter are returned
106
- * @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.
106
+ * @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.
107
107
  * @param {number} [owner_id] If supplied, only activities owned by the specified user are returned. If filter_id is provided, this is ignored.
108
108
  * @param {number} [deal_id] If supplied, only activities linked to the specified deal are returned. If filter_id is provided, this is ignored.
109
109
  * @param {string} [lead_id] If supplied, only activities linked to the specified lead are returned. If filter_id is provided, this is ignored.
@@ -114,22 +114,22 @@ export declare const ActivitiesApiFp: (configuration?: Configuration) => {
114
114
  * @param {string} [updated_until] If set, only activities with an &#x60;update_time&#x60; earlier than this time are returned. In RFC3339 format, e.g. 2025-01-01T10:20:00Z.
115
115
  * @param {'id' | 'update_time' | 'add_time' | 'due_date'} [sort_by] The field to sort by. Supported fields: &#x60;id&#x60;, &#x60;update_time&#x60;, &#x60;add_time&#x60;, &#x60;due_date&#x60;.
116
116
  * @param {'asc' | 'desc'} [sort_direction] The sorting direction. Supported values: &#x60;asc&#x60;, &#x60;desc&#x60;.
117
- * @param {'attendees'} [include_fields] Optional comma separated string array of additional fields to include
117
+ * @param {Set<'attendees'>} [include_fields] Optional comma separated string array of additional fields to include
118
118
  * @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.
119
119
  * @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
120
120
 
121
121
  * @throws {RequiredError}
122
122
  */
123
- getActivities(filter_id?: number, ids?: string, owner_id?: number, deal_id?: number, lead_id?: string, person_id?: number, org_id?: number, done?: boolean, updated_since?: string, updated_until?: string, sort_by?: 'id' | 'update_time' | 'add_time' | 'due_date', sort_direction?: 'asc' | 'desc', include_fields?: 'attendees', limit?: number, cursor?: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetActivitiesResponse>>;
123
+ getActivities(filter_id?: number, ids?: Set<string>, owner_id?: number, deal_id?: number, lead_id?: string, person_id?: number, org_id?: number, done?: boolean, updated_since?: string, updated_until?: string, sort_by?: 'id' | 'update_time' | 'add_time' | 'due_date', sort_direction?: 'asc' | 'desc', include_fields?: Set<'attendees'>, limit?: number, cursor?: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetActivitiesResponse>>;
124
124
  /**
125
125
  * Returns the details of a specific activity.
126
126
  * @summary Get details of an activity
127
127
  * @param {number} id The ID of the activity
128
- * @param {'attendees'} [include_fields] Optional comma separated string array of additional fields to include
128
+ * @param {Set<'attendees'>} [include_fields] Optional comma separated string array of additional fields to include
129
129
 
130
130
  * @throws {RequiredError}
131
131
  */
132
- getActivity(id: number, include_fields?: 'attendees'): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<UpsertActivityResponse>>;
132
+ getActivity(id: number, include_fields?: Set<'attendees'>): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<UpsertActivityResponse>>;
133
133
  /**
134
134
  * Updates the properties of an activity.
135
135
  * @summary Update an activity
@@ -226,10 +226,10 @@ export interface ActivitiesApiGetActivitiesRequest {
226
226
  readonly filter_id?: number;
227
227
  /**
228
228
  * 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.
229
- * @type {string}
229
+ * @type {Set<string>}
230
230
  * @memberof ActivitiesApiGetActivities
231
231
  */
232
- readonly ids?: string;
232
+ readonly ids?: Set<string>;
233
233
  /**
234
234
  * If supplied, only activities owned by the specified user are returned. If filter_id is provided, this is ignored.
235
235
  * @type {number}
@@ -292,10 +292,10 @@ export interface ActivitiesApiGetActivitiesRequest {
292
292
  readonly sort_direction?: 'asc' | 'desc';
293
293
  /**
294
294
  * Optional comma separated string array of additional fields to include
295
- * @type {'attendees'}
295
+ * @type {Set<'attendees'>}
296
296
  * @memberof ActivitiesApiGetActivities
297
297
  */
298
- readonly include_fields?: 'attendees';
298
+ readonly include_fields?: Set<'attendees'>;
299
299
  /**
300
300
  * 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
  * @type {number}
@@ -323,10 +323,10 @@ export interface ActivitiesApiGetActivityRequest {
323
323
  readonly id: number;
324
324
  /**
325
325
  * Optional comma separated string array of additional fields to include
326
- * @type {'attendees'}
326
+ * @type {Set<'attendees'>}
327
327
  * @memberof ActivitiesApiGetActivity
328
328
  */
329
- readonly include_fields?: 'attendees';
329
+ readonly include_fields?: Set<'attendees'>;
330
330
  }
331
331
  /**
332
332
  * Request parameters for updateActivity operation in ActivitiesApi.
@@ -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
  * ActivitiesApi - axios parameter creator
31
31
  * @export
@@ -103,7 +103,7 @@ export const ActivitiesApiAxiosParamCreator = function (configuration) {
103
103
  * Returns data about all activities.
104
104
  * @summary Get all activities
105
105
  * @param {number} [filter_id] If supplied, only activities matching the specified filter are returned
106
- * @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.
106
+ * @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.
107
107
  * @param {number} [owner_id] If supplied, only activities owned by the specified user are returned. If filter_id is provided, this is ignored.
108
108
  * @param {number} [deal_id] If supplied, only activities linked to the specified deal are returned. If filter_id is provided, this is ignored.
109
109
  * @param {string} [lead_id] If supplied, only activities linked to the specified lead are returned. If filter_id is provided, this is ignored.
@@ -114,7 +114,7 @@ export const ActivitiesApiAxiosParamCreator = function (configuration) {
114
114
  * @param {string} [updated_until] If set, only activities with an &#x60;update_time&#x60; earlier than this time are returned. In RFC3339 format, e.g. 2025-01-01T10:20:00Z.
115
115
  * @param {'id' | 'update_time' | 'add_time' | 'due_date'} [sort_by] The field to sort by. Supported fields: &#x60;id&#x60;, &#x60;update_time&#x60;, &#x60;add_time&#x60;, &#x60;due_date&#x60;.
116
116
  * @param {'asc' | 'desc'} [sort_direction] The sorting direction. Supported values: &#x60;asc&#x60;, &#x60;desc&#x60;.
117
- * @param {'attendees'} [include_fields] Optional comma separated string array of additional fields to include
117
+ * @param {Set<'attendees'>} [include_fields] Optional comma separated string array of additional fields to include
118
118
  * @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.
119
119
  * @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
120
120
 
@@ -139,8 +139,8 @@ export const ActivitiesApiAxiosParamCreator = function (configuration) {
139
139
  if (filter_id !== undefined) {
140
140
  localVarQueryParameter['filter_id'] = filter_id;
141
141
  }
142
- if (ids !== undefined) {
143
- localVarQueryParameter['ids'] = ids;
142
+ if (ids) {
143
+ localVarQueryParameter['ids'] = Array.from(ids).join(COLLECTION_FORMATS.csv);
144
144
  }
145
145
  if (owner_id !== undefined) {
146
146
  localVarQueryParameter['owner_id'] = owner_id;
@@ -172,8 +172,8 @@ export const ActivitiesApiAxiosParamCreator = function (configuration) {
172
172
  if (sort_direction !== undefined) {
173
173
  localVarQueryParameter['sort_direction'] = sort_direction;
174
174
  }
175
- if (include_fields !== undefined) {
176
- localVarQueryParameter['include_fields'] = include_fields;
175
+ if (include_fields) {
176
+ localVarQueryParameter['include_fields'] = Array.from(include_fields).join(COLLECTION_FORMATS.csv);
177
177
  }
178
178
  if (limit !== undefined) {
179
179
  localVarQueryParameter['limit'] = limit;
@@ -193,7 +193,7 @@ export const ActivitiesApiAxiosParamCreator = function (configuration) {
193
193
  * Returns the details of a specific activity.
194
194
  * @summary Get details of an activity
195
195
  * @param {number} id The ID of the activity
196
- * @param {'attendees'} [include_fields] Optional comma separated string array of additional fields to include
196
+ * @param {Set<'attendees'>} [include_fields] Optional comma separated string array of additional fields to include
197
197
 
198
198
  * @throws {RequiredError}
199
199
  */
@@ -216,8 +216,8 @@ export const ActivitiesApiAxiosParamCreator = function (configuration) {
216
216
  // authentication oauth2 required
217
217
  // oauth required
218
218
  yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["activities:read", "activities:full"], configuration);
219
- if (include_fields !== undefined) {
220
- localVarQueryParameter['include_fields'] = include_fields;
219
+ if (include_fields) {
220
+ localVarQueryParameter['include_fields'] = Array.from(include_fields).join(COLLECTION_FORMATS.csv);
221
221
  }
222
222
  setSearchParams(localVarUrlObj, localVarQueryParameter);
223
223
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -303,7 +303,7 @@ export const ActivitiesApiFp = function (configuration) {
303
303
  * Returns data about all activities.
304
304
  * @summary Get all activities
305
305
  * @param {number} [filter_id] If supplied, only activities matching the specified filter are returned
306
- * @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.
306
+ * @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.
307
307
  * @param {number} [owner_id] If supplied, only activities owned by the specified user are returned. If filter_id is provided, this is ignored.
308
308
  * @param {number} [deal_id] If supplied, only activities linked to the specified deal are returned. If filter_id is provided, this is ignored.
309
309
  * @param {string} [lead_id] If supplied, only activities linked to the specified lead are returned. If filter_id is provided, this is ignored.
@@ -314,7 +314,7 @@ export const ActivitiesApiFp = function (configuration) {
314
314
  * @param {string} [updated_until] If set, only activities with an &#x60;update_time&#x60; earlier than this time are returned. In RFC3339 format, e.g. 2025-01-01T10:20:00Z.
315
315
  * @param {'id' | 'update_time' | 'add_time' | 'due_date'} [sort_by] The field to sort by. Supported fields: &#x60;id&#x60;, &#x60;update_time&#x60;, &#x60;add_time&#x60;, &#x60;due_date&#x60;.
316
316
  * @param {'asc' | 'desc'} [sort_direction] The sorting direction. Supported values: &#x60;asc&#x60;, &#x60;desc&#x60;.
317
- * @param {'attendees'} [include_fields] Optional comma separated string array of additional fields to include
317
+ * @param {Set<'attendees'>} [include_fields] Optional comma separated string array of additional fields to include
318
318
  * @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.
319
319
  * @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
320
320
 
@@ -330,7 +330,7 @@ export const ActivitiesApiFp = function (configuration) {
330
330
  * Returns the details of a specific activity.
331
331
  * @summary Get details of an activity
332
332
  * @param {number} id The ID of the activity
333
- * @param {'attendees'} [include_fields] Optional comma separated string array of additional fields to include
333
+ * @param {Set<'attendees'>} [include_fields] Optional comma separated string array of additional fields to include
334
334
 
335
335
  * @throws {RequiredError}
336
336
  */
@@ -23,21 +23,21 @@ export declare const ActivityFieldsApiAxiosParamCreator: (configuration?: Config
23
23
  * Returns metadata about a specific activity field.
24
24
  * @summary Get one activity field
25
25
  * @param {string} field_code The unique code identifying the field
26
- * @param {'ui_visibility'} [include_fields] Optional comma separated string array of additional data namespaces to include in response
26
+ * @param {Set<'ui_visibility'>} [include_fields] Optional comma separated string array of additional data namespaces to include in response
27
27
 
28
28
  * @throws {RequiredError}
29
29
  */
30
- getActivityField: (field_code: string, include_fields?: 'ui_visibility') => Promise<RequestArgs>;
30
+ getActivityField: (field_code: string, include_fields?: Set<'ui_visibility'>) => Promise<RequestArgs>;
31
31
  /**
32
32
  * Returns metadata about all activity fields in the company.
33
33
  * @summary Get all activity fields
34
- * @param {'ui_visibility'} [include_fields] Optional comma separated string array of additional data namespaces to include in response
34
+ * @param {Set<'ui_visibility'>} [include_fields] Optional comma separated string array of additional data namespaces to include in response
35
35
  * @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.
36
36
  * @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
37
37
 
38
38
  * @throws {RequiredError}
39
39
  */
40
- getActivityFields: (include_fields?: 'ui_visibility', limit?: number, cursor?: string) => Promise<RequestArgs>;
40
+ getActivityFields: (include_fields?: Set<'ui_visibility'>, limit?: number, cursor?: string) => Promise<RequestArgs>;
41
41
  };
42
42
  /**
43
43
  * ActivityFieldsApi - functional programming interface
@@ -48,21 +48,21 @@ export declare const ActivityFieldsApiFp: (configuration?: Configuration) => {
48
48
  * Returns metadata about a specific activity field.
49
49
  * @summary Get one activity field
50
50
  * @param {string} field_code The unique code identifying the field
51
- * @param {'ui_visibility'} [include_fields] Optional comma separated string array of additional data namespaces to include in response
51
+ * @param {Set<'ui_visibility'>} [include_fields] Optional comma separated string array of additional data namespaces to include in response
52
52
 
53
53
  * @throws {RequiredError}
54
54
  */
55
- getActivityField(field_code: string, include_fields?: 'ui_visibility'): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetActivityField200Response>>;
55
+ getActivityField(field_code: string, include_fields?: Set<'ui_visibility'>): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetActivityField200Response>>;
56
56
  /**
57
57
  * Returns metadata about all activity fields in the company.
58
58
  * @summary Get all activity fields
59
- * @param {'ui_visibility'} [include_fields] Optional comma separated string array of additional data namespaces to include in response
59
+ * @param {Set<'ui_visibility'>} [include_fields] Optional comma separated string array of additional data namespaces to include in response
60
60
  * @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.
61
61
  * @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
62
62
 
63
63
  * @throws {RequiredError}
64
64
  */
65
- getActivityFields(include_fields?: 'ui_visibility', limit?: number, cursor?: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetActivityFields200Response>>;
65
+ getActivityFields(include_fields?: Set<'ui_visibility'>, limit?: number, cursor?: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetActivityFields200Response>>;
66
66
  };
67
67
  /**
68
68
  * ActivityFieldsApi - factory interface
@@ -100,10 +100,10 @@ export interface ActivityFieldsApiGetActivityFieldRequest {
100
100
  readonly field_code: string;
101
101
  /**
102
102
  * Optional comma separated string array of additional data namespaces to include in response
103
- * @type {'ui_visibility'}
103
+ * @type {Set<'ui_visibility'>}
104
104
  * @memberof ActivityFieldsApiGetActivityField
105
105
  */
106
- readonly include_fields?: 'ui_visibility';
106
+ readonly include_fields?: Set<'ui_visibility'>;
107
107
  }
108
108
  /**
109
109
  * Request parameters for getActivityFields operation in ActivityFieldsApi.
@@ -113,10 +113,10 @@ export interface ActivityFieldsApiGetActivityFieldRequest {
113
113
  export interface ActivityFieldsApiGetActivityFieldsRequest {
114
114
  /**
115
115
  * Optional comma separated string array of additional data namespaces to include in response
116
- * @type {'ui_visibility'}
116
+ * @type {Set<'ui_visibility'>}
117
117
  * @memberof ActivityFieldsApiGetActivityFields
118
118
  */
119
- readonly include_fields?: 'ui_visibility';
119
+ readonly include_fields?: Set<'ui_visibility'>;
120
120
  /**
121
121
  * 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.
122
122
  * @type {number}
@@ -25,7 +25,7 @@ import globalAxios from 'axios';
25
25
  // @ts-ignore
26
26
  import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setOAuthToObject, setSearchParams, 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
  * ActivityFieldsApi - axios parameter creator
31
31
  * @export
@@ -36,7 +36,7 @@ export const ActivityFieldsApiAxiosParamCreator = function (configuration) {
36
36
  * Returns metadata about a specific activity field.
37
37
  * @summary Get one activity field
38
38
  * @param {string} field_code The unique code identifying the field
39
- * @param {'ui_visibility'} [include_fields] Optional comma separated string array of additional data namespaces to include in response
39
+ * @param {Set<'ui_visibility'>} [include_fields] Optional comma separated string array of additional data namespaces to include in response
40
40
 
41
41
  * @throws {RequiredError}
42
42
  */
@@ -59,8 +59,8 @@ export const ActivityFieldsApiAxiosParamCreator = function (configuration) {
59
59
  // authentication oauth2 required
60
60
  // oauth required
61
61
  yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["admin"], configuration);
62
- if (include_fields !== undefined) {
63
- localVarQueryParameter['include_fields'] = include_fields;
62
+ if (include_fields) {
63
+ localVarQueryParameter['include_fields'] = Array.from(include_fields).join(COLLECTION_FORMATS.csv);
64
64
  }
65
65
  setSearchParams(localVarUrlObj, localVarQueryParameter);
66
66
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -73,7 +73,7 @@ export const ActivityFieldsApiAxiosParamCreator = function (configuration) {
73
73
  /**
74
74
  * Returns metadata about all activity fields in the company.
75
75
  * @summary Get all activity fields
76
- * @param {'ui_visibility'} [include_fields] Optional comma separated string array of additional data namespaces to include in response
76
+ * @param {Set<'ui_visibility'>} [include_fields] Optional comma separated string array of additional data namespaces to include in response
77
77
  * @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.
78
78
  * @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
79
79
 
@@ -95,8 +95,8 @@ export const ActivityFieldsApiAxiosParamCreator = function (configuration) {
95
95
  // authentication oauth2 required
96
96
  // oauth required
97
97
  yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["admin"], configuration);
98
- if (include_fields !== undefined) {
99
- localVarQueryParameter['include_fields'] = include_fields;
98
+ if (include_fields) {
99
+ localVarQueryParameter['include_fields'] = Array.from(include_fields).join(COLLECTION_FORMATS.csv);
100
100
  }
101
101
  if (limit !== undefined) {
102
102
  localVarQueryParameter['limit'] = limit;
@@ -125,7 +125,7 @@ export const ActivityFieldsApiFp = function (configuration) {
125
125
  * Returns metadata about a specific activity field.
126
126
  * @summary Get one activity field
127
127
  * @param {string} field_code The unique code identifying the field
128
- * @param {'ui_visibility'} [include_fields] Optional comma separated string array of additional data namespaces to include in response
128
+ * @param {Set<'ui_visibility'>} [include_fields] Optional comma separated string array of additional data namespaces to include in response
129
129
 
130
130
  * @throws {RequiredError}
131
131
  */
@@ -138,7 +138,7 @@ export const ActivityFieldsApiFp = function (configuration) {
138
138
  /**
139
139
  * Returns metadata about all activity fields in the company.
140
140
  * @summary Get all activity fields
141
- * @param {'ui_visibility'} [include_fields] Optional comma separated string array of additional data namespaces to include in response
141
+ * @param {Set<'ui_visibility'>} [include_fields] Optional comma separated string array of additional data namespaces to include in response
142
142
  * @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.
143
143
  * @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
144
144
 
@@ -64,21 +64,21 @@ export declare const DealFieldsApiAxiosParamCreator: (configuration?: Configurat
64
64
  * Returns metadata about a specific deal field.
65
65
  * @summary Get one deal field
66
66
  * @param {string} field_code The unique code identifying the field
67
- * @param {'ui_visibility' | 'important_fields' | 'required_fields' | 'ui_visibility,important_fields' | 'ui_visibility,required_fields' | 'important_fields,required_fields' | 'ui_visibility,important_fields,required_fields'} [include_fields] Optional comma separated string array of additional data namespaces to include in response
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
- getDealField: (field_code: string, include_fields?: 'ui_visibility' | 'important_fields' | 'required_fields' | 'ui_visibility,important_fields' | 'ui_visibility,required_fields' | 'important_fields,required_fields' | 'ui_visibility,important_fields,required_fields') => Promise<RequestArgs>;
71
+ getDealField: (field_code: string, include_fields?: Set<'ui_visibility' | 'important_fields' | 'required_fields'>) => Promise<RequestArgs>;
72
72
  /**
73
73
  * Returns metadata about all deal fields in the company.
74
74
  * @summary Get all deal fields
75
- * @param {'ui_visibility' | 'important_fields' | 'required_fields' | 'ui_visibility,important_fields' | 'ui_visibility,required_fields' | 'important_fields,required_fields' | 'ui_visibility,important_fields,required_fields'} [include_fields] Optional comma separated string array of additional data namespaces to include in response
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
- getDealFields: (include_fields?: 'ui_visibility' | 'important_fields' | 'required_fields' | 'ui_visibility,important_fields' | 'ui_visibility,required_fields' | 'important_fields,required_fields' | 'ui_visibility,important_fields,required_fields', limit?: number, cursor?: string) => Promise<RequestArgs>;
81
+ getDealFields: (include_fields?: Set<'ui_visibility' | 'important_fields' | 'required_fields'>, limit?: number, cursor?: string) => Promise<RequestArgs>;
82
82
  /**
83
83
  * Updates a deal 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 deal field
@@ -141,21 +141,21 @@ export declare const DealFieldsApiFp: (configuration?: Configuration) => {
141
141
  * Returns metadata about a specific deal field.
142
142
  * @summary Get one deal field
143
143
  * @param {string} field_code The unique code identifying the field
144
- * @param {'ui_visibility' | 'important_fields' | 'required_fields' | 'ui_visibility,important_fields' | 'ui_visibility,required_fields' | 'important_fields,required_fields' | 'ui_visibility,important_fields,required_fields'} [include_fields] Optional comma separated string array of additional data namespaces to include in response
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
- getDealField(field_code: string, include_fields?: 'ui_visibility' | 'important_fields' | 'required_fields' | 'ui_visibility,important_fields' | 'ui_visibility,required_fields' | 'important_fields,required_fields' | 'ui_visibility,important_fields,required_fields'): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AddDealField200Response>>;
148
+ getDealField(field_code: string, include_fields?: Set<'ui_visibility' | 'important_fields' | 'required_fields'>): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AddDealField200Response>>;
149
149
  /**
150
150
  * Returns metadata about all deal fields in the company.
151
151
  * @summary Get all deal fields
152
- * @param {'ui_visibility' | 'important_fields' | 'required_fields' | 'ui_visibility,important_fields' | 'ui_visibility,required_fields' | 'important_fields,required_fields' | 'ui_visibility,important_fields,required_fields'} [include_fields] Optional comma separated string array of additional data namespaces to include in response
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
- getDealFields(include_fields?: 'ui_visibility' | 'important_fields' | 'required_fields' | 'ui_visibility,important_fields' | 'ui_visibility,required_fields' | 'important_fields,required_fields' | 'ui_visibility,important_fields,required_fields', limit?: number, cursor?: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetDealFields200Response>>;
158
+ getDealFields(include_fields?: Set<'ui_visibility' | 'important_fields' | 'required_fields'>, limit?: number, cursor?: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetDealFields200Response>>;
159
159
  /**
160
160
  * Updates a deal 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 deal field
@@ -323,10 +323,10 @@ export interface DealFieldsApiGetDealFieldRequest {
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' | 'ui_visibility,important_fields' | 'ui_visibility,required_fields' | 'important_fields,required_fields' | 'ui_visibility,important_fields,required_fields'}
326
+ * @type {Set<'ui_visibility' | 'important_fields' | 'required_fields'>}
327
327
  * @memberof DealFieldsApiGetDealField
328
328
  */
329
- readonly include_fields?: 'ui_visibility' | 'important_fields' | 'required_fields' | 'ui_visibility,important_fields' | 'ui_visibility,required_fields' | 'important_fields,required_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 getDealFields operation in DealFieldsApi.
@@ -336,10 +336,10 @@ export interface DealFieldsApiGetDealFieldRequest {
336
336
  export interface DealFieldsApiGetDealFieldsRequest {
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' | 'ui_visibility,important_fields' | 'ui_visibility,required_fields' | 'important_fields,required_fields' | 'ui_visibility,important_fields,required_fields'}
339
+ * @type {Set<'ui_visibility' | 'important_fields' | 'required_fields'>}
340
340
  * @memberof DealFieldsApiGetDealFields
341
341
  */
342
- readonly include_fields?: 'ui_visibility' | 'important_fields' | 'required_fields' | 'ui_visibility,important_fields' | 'ui_visibility,required_fields' | 'important_fields,required_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}
@@ -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
  * DealFieldsApi - axios parameter creator
31
31
  * @export
@@ -183,7 +183,7 @@ export const DealFieldsApiAxiosParamCreator = function (configuration) {
183
183
  * Returns metadata about a specific deal field.
184
184
  * @summary Get one deal field
185
185
  * @param {string} field_code The unique code identifying the field
186
- * @param {'ui_visibility' | 'important_fields' | 'required_fields' | 'ui_visibility,important_fields' | 'ui_visibility,required_fields' | 'important_fields,required_fields' | 'ui_visibility,important_fields,required_fields'} [include_fields] Optional comma separated string array of additional data namespaces to include in response
186
+ * @param {Set<'ui_visibility' | 'important_fields' | 'required_fields'>} [include_fields] Optional comma separated string array of additional data namespaces to include in response
187
187
 
188
188
  * @throws {RequiredError}
189
189
  */
@@ -206,8 +206,8 @@ export const DealFieldsApiAxiosParamCreator = function (configuration) {
206
206
  // authentication oauth2 required
207
207
  // oauth required
208
208
  yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["deals:read", "deals:full", "admin", "deal-fields:full"], configuration);
209
- if (include_fields !== undefined) {
210
- localVarQueryParameter['include_fields'] = include_fields;
209
+ if (include_fields) {
210
+ localVarQueryParameter['include_fields'] = Array.from(include_fields).join(COLLECTION_FORMATS.csv);
211
211
  }
212
212
  setSearchParams(localVarUrlObj, localVarQueryParameter);
213
213
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -220,7 +220,7 @@ export const DealFieldsApiAxiosParamCreator = function (configuration) {
220
220
  /**
221
221
  * Returns metadata about all deal fields in the company.
222
222
  * @summary Get all deal fields
223
- * @param {'ui_visibility' | 'important_fields' | 'required_fields' | 'ui_visibility,important_fields' | 'ui_visibility,required_fields' | 'important_fields,required_fields' | 'ui_visibility,important_fields,required_fields'} [include_fields] Optional comma separated string array of additional data namespaces to include in response
223
+ * @param {Set<'ui_visibility' | 'important_fields' | 'required_fields'>} [include_fields] Optional comma separated string array of additional data namespaces to include in response
224
224
  * @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.
225
225
  * @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
226
226
 
@@ -242,8 +242,8 @@ export const DealFieldsApiAxiosParamCreator = function (configuration) {
242
242
  // authentication oauth2 required
243
243
  // oauth required
244
244
  yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["deals:read", "deals:full", "admin", "deal-fields:full"], configuration);
245
- if (include_fields !== undefined) {
246
- localVarQueryParameter['include_fields'] = include_fields;
245
+ if (include_fields) {
246
+ localVarQueryParameter['include_fields'] = Array.from(include_fields).join(COLLECTION_FORMATS.csv);
247
247
  }
248
248
  if (limit !== undefined) {
249
249
  localVarQueryParameter['limit'] = limit;
@@ -404,7 +404,7 @@ export const DealFieldsApiFp = function (configuration) {
404
404
  * Returns metadata about a specific deal field.
405
405
  * @summary Get one deal field
406
406
  * @param {string} field_code The unique code identifying the field
407
- * @param {'ui_visibility' | 'important_fields' | 'required_fields' | 'ui_visibility,important_fields' | 'ui_visibility,required_fields' | 'important_fields,required_fields' | 'ui_visibility,important_fields,required_fields'} [include_fields] Optional comma separated string array of additional data namespaces to include in response
407
+ * @param {Set<'ui_visibility' | 'important_fields' | 'required_fields'>} [include_fields] Optional comma separated string array of additional data namespaces to include in response
408
408
 
409
409
  * @throws {RequiredError}
410
410
  */
@@ -417,7 +417,7 @@ export const DealFieldsApiFp = function (configuration) {
417
417
  /**
418
418
  * Returns metadata about all deal fields in the company.
419
419
  * @summary Get all deal fields
420
- * @param {'ui_visibility' | 'important_fields' | 'required_fields' | 'ui_visibility,important_fields' | 'ui_visibility,required_fields' | 'important_fields,required_fields' | 'ui_visibility,important_fields,required_fields'} [include_fields] Optional comma separated string array of additional data namespaces to include in response
420
+ * @param {Set<'ui_visibility' | 'important_fields' | 'required_fields'>} [include_fields] Optional comma separated string array of additional data namespaces to include in response
421
421
  * @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.
422
422
  * @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
423
423