pipedrive 30.1.0 → 30.2.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.
@@ -222,12 +222,12 @@ export declare const DealsApiAxiosParamCreator: (configuration?: Configuration)
222
222
  * @param {number} id The ID of the deal
223
223
  * @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
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
- * @param {'id' | 'add_time' | 'update_time'} [sort_by] The field to sort by. Supported fields: `id`, `add_time`, `update_time`.
225
+ * @param {'id' | 'add_time' | 'update_time' | 'order_nr'} [sort_by] The field to sort by. Supported fields: `id`, `add_time`, `update_time`, `order_nr`.
226
226
  * @param {'asc' | 'desc'} [sort_direction] The sorting direction. Supported values: `asc`, `desc`.
227
227
 
228
228
  * @throws {RequiredError}
229
229
  */
230
- getDealProducts: (id: number, cursor?: string, limit?: number, sort_by?: 'id' | 'add_time' | 'update_time', sort_direction?: 'asc' | 'desc') => Promise<RequestArgs>;
230
+ getDealProducts: (id: number, cursor?: string, limit?: number, sort_by?: 'id' | 'add_time' | 'update_time' | 'order_nr', sort_direction?: 'asc' | 'desc') => Promise<RequestArgs>;
231
231
  /**
232
232
  * Returns data about all not archived deals.
233
233
  * @summary Get all deals
@@ -257,12 +257,12 @@ export declare const DealsApiAxiosParamCreator: (configuration?: Configuration)
257
257
  * @param {Array<number>} deal_ids An array of integers with the IDs of the deals for which the attached products will be returned. A maximum of 100 deal IDs can be provided.
258
258
  * @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
259
259
  * @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.
260
- * @param {'id' | 'deal_id' | 'add_time' | 'update_time'} [sort_by] The field to sort by. Supported fields: &#x60;id&#x60;, &#x60;deal_id&#x60;, &#x60;add_time&#x60;, &#x60;update_time&#x60;.
260
+ * @param {'id' | 'deal_id' | 'add_time' | 'update_time' | 'order_nr'} [sort_by] The field to sort by. Supported fields: &#x60;id&#x60;, &#x60;deal_id&#x60;, &#x60;add_time&#x60;, &#x60;update_time&#x60;, &#x60;order_nr&#x60;.
261
261
  * @param {'asc' | 'desc'} [sort_direction] The sorting direction. Supported values: &#x60;asc&#x60;, &#x60;desc&#x60;.
262
262
 
263
263
  * @throws {RequiredError}
264
264
  */
265
- getDealsProducts: (deal_ids: Array<number>, cursor?: string, limit?: number, sort_by?: 'id' | 'deal_id' | 'add_time' | 'update_time', sort_direction?: 'asc' | 'desc') => Promise<RequestArgs>;
265
+ getDealsProducts: (deal_ids: Array<number>, cursor?: string, limit?: number, sort_by?: 'id' | 'deal_id' | 'add_time' | 'update_time' | 'order_nr', sort_direction?: 'asc' | 'desc') => Promise<RequestArgs>;
266
266
  /**
267
267
  * Lists installments attached to a list of deals. Only available in Growth and above plans.
268
268
  * @summary List installments added to a list of deals
@@ -526,12 +526,12 @@ export declare const DealsApiFp: (configuration?: Configuration) => {
526
526
  * @param {number} id The ID of the deal
527
527
  * @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
528
528
  * @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.
529
- * @param {'id' | 'add_time' | 'update_time'} [sort_by] The field to sort by. Supported fields: &#x60;id&#x60;, &#x60;add_time&#x60;, &#x60;update_time&#x60;.
529
+ * @param {'id' | 'add_time' | 'update_time' | 'order_nr'} [sort_by] The field to sort by. Supported fields: &#x60;id&#x60;, &#x60;add_time&#x60;, &#x60;update_time&#x60;, &#x60;order_nr&#x60;.
530
530
  * @param {'asc' | 'desc'} [sort_direction] The sorting direction. Supported values: &#x60;asc&#x60;, &#x60;desc&#x60;.
531
531
 
532
532
  * @throws {RequiredError}
533
533
  */
534
- getDealProducts(id: number, cursor?: string, limit?: number, sort_by?: 'id' | 'add_time' | 'update_time', sort_direction?: 'asc' | 'desc'): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetDealsProductsResponse>>;
534
+ getDealProducts(id: number, cursor?: string, limit?: number, sort_by?: 'id' | 'add_time' | 'update_time' | 'order_nr', sort_direction?: 'asc' | 'desc'): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetDealsProductsResponse>>;
535
535
  /**
536
536
  * Returns data about all not archived deals.
537
537
  * @summary Get all deals
@@ -561,12 +561,12 @@ export declare const DealsApiFp: (configuration?: Configuration) => {
561
561
  * @param {Array<number>} deal_ids An array of integers with the IDs of the deals for which the attached products will be returned. A maximum of 100 deal IDs can be provided.
562
562
  * @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
563
563
  * @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.
564
- * @param {'id' | 'deal_id' | 'add_time' | 'update_time'} [sort_by] The field to sort by. Supported fields: &#x60;id&#x60;, &#x60;deal_id&#x60;, &#x60;add_time&#x60;, &#x60;update_time&#x60;.
564
+ * @param {'id' | 'deal_id' | 'add_time' | 'update_time' | 'order_nr'} [sort_by] The field to sort by. Supported fields: &#x60;id&#x60;, &#x60;deal_id&#x60;, &#x60;add_time&#x60;, &#x60;update_time&#x60;, &#x60;order_nr&#x60;.
565
565
  * @param {'asc' | 'desc'} [sort_direction] The sorting direction. Supported values: &#x60;asc&#x60;, &#x60;desc&#x60;.
566
566
 
567
567
  * @throws {RequiredError}
568
568
  */
569
- getDealsProducts(deal_ids: Array<number>, cursor?: string, limit?: number, sort_by?: 'id' | 'deal_id' | 'add_time' | 'update_time', sort_direction?: 'asc' | 'desc'): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetDealsProductsResponse>>;
569
+ getDealsProducts(deal_ids: Array<number>, cursor?: string, limit?: number, sort_by?: 'id' | 'deal_id' | 'add_time' | 'update_time' | 'order_nr', sort_direction?: 'asc' | 'desc'): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetDealsProductsResponse>>;
570
570
  /**
571
571
  * Lists installments attached to a list of deals. Only available in Growth and above plans.
572
572
  * @summary List installments added to a list of deals
@@ -1309,11 +1309,11 @@ export interface DealsApiGetDealProductsRequest {
1309
1309
  */
1310
1310
  readonly limit?: number;
1311
1311
  /**
1312
- * The field to sort by. Supported fields: &#x60;id&#x60;, &#x60;add_time&#x60;, &#x60;update_time&#x60;.
1313
- * @type {'id' | 'add_time' | 'update_time'}
1312
+ * The field to sort by. Supported fields: &#x60;id&#x60;, &#x60;add_time&#x60;, &#x60;update_time&#x60;, &#x60;order_nr&#x60;.
1313
+ * @type {'id' | 'add_time' | 'update_time' | 'order_nr'}
1314
1314
  * @memberof DealsApiGetDealProducts
1315
1315
  */
1316
- readonly sort_by?: 'id' | 'add_time' | 'update_time';
1316
+ readonly sort_by?: 'id' | 'add_time' | 'update_time' | 'order_nr';
1317
1317
  /**
1318
1318
  * The sorting direction. Supported values: &#x60;asc&#x60;, &#x60;desc&#x60;.
1319
1319
  * @type {'asc' | 'desc'}
@@ -1449,11 +1449,11 @@ export interface DealsApiGetDealsProductsRequest {
1449
1449
  */
1450
1450
  readonly limit?: number;
1451
1451
  /**
1452
- * The field to sort by. Supported fields: &#x60;id&#x60;, &#x60;deal_id&#x60;, &#x60;add_time&#x60;, &#x60;update_time&#x60;.
1453
- * @type {'id' | 'deal_id' | 'add_time' | 'update_time'}
1452
+ * The field to sort by. Supported fields: &#x60;id&#x60;, &#x60;deal_id&#x60;, &#x60;add_time&#x60;, &#x60;update_time&#x60;, &#x60;order_nr&#x60;.
1453
+ * @type {'id' | 'deal_id' | 'add_time' | 'update_time' | 'order_nr'}
1454
1454
  * @memberof DealsApiGetDealsProducts
1455
1455
  */
1456
- readonly sort_by?: 'id' | 'deal_id' | 'add_time' | 'update_time';
1456
+ readonly sort_by?: 'id' | 'deal_id' | 'add_time' | 'update_time' | 'order_nr';
1457
1457
  /**
1458
1458
  * The sorting direction. Supported values: &#x60;asc&#x60;, &#x60;desc&#x60;.
1459
1459
  * @type {'asc' | 'desc'}
@@ -732,7 +732,7 @@ export const DealsApiAxiosParamCreator = function (configuration) {
732
732
  * @param {number} id The ID of the deal
733
733
  * @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
734
734
  * @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.
735
- * @param {'id' | 'add_time' | 'update_time'} [sort_by] The field to sort by. Supported fields: &#x60;id&#x60;, &#x60;add_time&#x60;, &#x60;update_time&#x60;.
735
+ * @param {'id' | 'add_time' | 'update_time' | 'order_nr'} [sort_by] The field to sort by. Supported fields: &#x60;id&#x60;, &#x60;add_time&#x60;, &#x60;update_time&#x60;, &#x60;order_nr&#x60;.
736
736
  * @param {'asc' | 'desc'} [sort_direction] The sorting direction. Supported values: &#x60;asc&#x60;, &#x60;desc&#x60;.
737
737
 
738
738
  * @throws {RequiredError}
@@ -876,7 +876,7 @@ export const DealsApiAxiosParamCreator = function (configuration) {
876
876
  * @param {Array<number>} deal_ids An array of integers with the IDs of the deals for which the attached products will be returned. A maximum of 100 deal IDs can be provided.
877
877
  * @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
878
878
  * @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.
879
- * @param {'id' | 'deal_id' | 'add_time' | 'update_time'} [sort_by] The field to sort by. Supported fields: &#x60;id&#x60;, &#x60;deal_id&#x60;, &#x60;add_time&#x60;, &#x60;update_time&#x60;.
879
+ * @param {'id' | 'deal_id' | 'add_time' | 'update_time' | 'order_nr'} [sort_by] The field to sort by. Supported fields: &#x60;id&#x60;, &#x60;deal_id&#x60;, &#x60;add_time&#x60;, &#x60;update_time&#x60;, &#x60;order_nr&#x60;.
880
880
  * @param {'asc' | 'desc'} [sort_direction] The sorting direction. Supported values: &#x60;asc&#x60;, &#x60;desc&#x60;.
881
881
 
882
882
  * @throws {RequiredError}
@@ -1542,7 +1542,7 @@ export const DealsApiFp = function (configuration) {
1542
1542
  * @param {number} id The ID of the deal
1543
1543
  * @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
1544
1544
  * @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.
1545
- * @param {'id' | 'add_time' | 'update_time'} [sort_by] The field to sort by. Supported fields: &#x60;id&#x60;, &#x60;add_time&#x60;, &#x60;update_time&#x60;.
1545
+ * @param {'id' | 'add_time' | 'update_time' | 'order_nr'} [sort_by] The field to sort by. Supported fields: &#x60;id&#x60;, &#x60;add_time&#x60;, &#x60;update_time&#x60;, &#x60;order_nr&#x60;.
1546
1546
  * @param {'asc' | 'desc'} [sort_direction] The sorting direction. Supported values: &#x60;asc&#x60;, &#x60;desc&#x60;.
1547
1547
 
1548
1548
  * @throws {RequiredError}
@@ -1587,7 +1587,7 @@ export const DealsApiFp = function (configuration) {
1587
1587
  * @param {Array<number>} deal_ids An array of integers with the IDs of the deals for which the attached products will be returned. A maximum of 100 deal IDs can be provided.
1588
1588
  * @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
1589
1589
  * @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.
1590
- * @param {'id' | 'deal_id' | 'add_time' | 'update_time'} [sort_by] The field to sort by. Supported fields: &#x60;id&#x60;, &#x60;deal_id&#x60;, &#x60;add_time&#x60;, &#x60;update_time&#x60;.
1590
+ * @param {'id' | 'deal_id' | 'add_time' | 'update_time' | 'order_nr'} [sort_by] The field to sort by. Supported fields: &#x60;id&#x60;, &#x60;deal_id&#x60;, &#x60;add_time&#x60;, &#x60;update_time&#x60;, &#x60;order_nr&#x60;.
1591
1591
  * @param {'asc' | 'desc'} [sort_direction] The sorting direction. Supported values: &#x60;asc&#x60;, &#x60;desc&#x60;.
1592
1592
 
1593
1593
  * @throws {RequiredError}
@@ -51,6 +51,11 @@ export interface GetDealsProductsResponseDataInnerAllOf {
51
51
  */
52
52
  'product_variation_id'?: number | null;
53
53
  /**
54
+ * The order number of the product within the deal
55
+ * @type {number}
56
+ */
57
+ 'order_nr'?: number | null;
58
+ /**
54
59
  * The date and time when the product was added to the deal
55
60
  * @type {string}
56
61
  */
@@ -222,12 +222,12 @@ export declare const DealsApiAxiosParamCreator: (configuration?: Configuration)
222
222
  * @param {number} id The ID of the deal
223
223
  * @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
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
- * @param {'id' | 'add_time' | 'update_time'} [sort_by] The field to sort by. Supported fields: &#x60;id&#x60;, &#x60;add_time&#x60;, &#x60;update_time&#x60;.
225
+ * @param {'id' | 'add_time' | 'update_time' | 'order_nr'} [sort_by] The field to sort by. Supported fields: &#x60;id&#x60;, &#x60;add_time&#x60;, &#x60;update_time&#x60;, &#x60;order_nr&#x60;.
226
226
  * @param {'asc' | 'desc'} [sort_direction] The sorting direction. Supported values: &#x60;asc&#x60;, &#x60;desc&#x60;.
227
227
 
228
228
  * @throws {RequiredError}
229
229
  */
230
- getDealProducts: (id: number, cursor?: string, limit?: number, sort_by?: 'id' | 'add_time' | 'update_time', sort_direction?: 'asc' | 'desc') => Promise<RequestArgs>;
230
+ getDealProducts: (id: number, cursor?: string, limit?: number, sort_by?: 'id' | 'add_time' | 'update_time' | 'order_nr', sort_direction?: 'asc' | 'desc') => Promise<RequestArgs>;
231
231
  /**
232
232
  * Returns data about all not archived deals.
233
233
  * @summary Get all deals
@@ -257,12 +257,12 @@ export declare const DealsApiAxiosParamCreator: (configuration?: Configuration)
257
257
  * @param {Array<number>} deal_ids An array of integers with the IDs of the deals for which the attached products will be returned. A maximum of 100 deal IDs can be provided.
258
258
  * @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
259
259
  * @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.
260
- * @param {'id' | 'deal_id' | 'add_time' | 'update_time'} [sort_by] The field to sort by. Supported fields: &#x60;id&#x60;, &#x60;deal_id&#x60;, &#x60;add_time&#x60;, &#x60;update_time&#x60;.
260
+ * @param {'id' | 'deal_id' | 'add_time' | 'update_time' | 'order_nr'} [sort_by] The field to sort by. Supported fields: &#x60;id&#x60;, &#x60;deal_id&#x60;, &#x60;add_time&#x60;, &#x60;update_time&#x60;, &#x60;order_nr&#x60;.
261
261
  * @param {'asc' | 'desc'} [sort_direction] The sorting direction. Supported values: &#x60;asc&#x60;, &#x60;desc&#x60;.
262
262
 
263
263
  * @throws {RequiredError}
264
264
  */
265
- getDealsProducts: (deal_ids: Array<number>, cursor?: string, limit?: number, sort_by?: 'id' | 'deal_id' | 'add_time' | 'update_time', sort_direction?: 'asc' | 'desc') => Promise<RequestArgs>;
265
+ getDealsProducts: (deal_ids: Array<number>, cursor?: string, limit?: number, sort_by?: 'id' | 'deal_id' | 'add_time' | 'update_time' | 'order_nr', sort_direction?: 'asc' | 'desc') => Promise<RequestArgs>;
266
266
  /**
267
267
  * Lists installments attached to a list of deals. Only available in Growth and above plans.
268
268
  * @summary List installments added to a list of deals
@@ -526,12 +526,12 @@ export declare const DealsApiFp: (configuration?: Configuration) => {
526
526
  * @param {number} id The ID of the deal
527
527
  * @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
528
528
  * @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.
529
- * @param {'id' | 'add_time' | 'update_time'} [sort_by] The field to sort by. Supported fields: &#x60;id&#x60;, &#x60;add_time&#x60;, &#x60;update_time&#x60;.
529
+ * @param {'id' | 'add_time' | 'update_time' | 'order_nr'} [sort_by] The field to sort by. Supported fields: &#x60;id&#x60;, &#x60;add_time&#x60;, &#x60;update_time&#x60;, &#x60;order_nr&#x60;.
530
530
  * @param {'asc' | 'desc'} [sort_direction] The sorting direction. Supported values: &#x60;asc&#x60;, &#x60;desc&#x60;.
531
531
 
532
532
  * @throws {RequiredError}
533
533
  */
534
- getDealProducts(id: number, cursor?: string, limit?: number, sort_by?: 'id' | 'add_time' | 'update_time', sort_direction?: 'asc' | 'desc'): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetDealsProductsResponse>>;
534
+ getDealProducts(id: number, cursor?: string, limit?: number, sort_by?: 'id' | 'add_time' | 'update_time' | 'order_nr', sort_direction?: 'asc' | 'desc'): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetDealsProductsResponse>>;
535
535
  /**
536
536
  * Returns data about all not archived deals.
537
537
  * @summary Get all deals
@@ -561,12 +561,12 @@ export declare const DealsApiFp: (configuration?: Configuration) => {
561
561
  * @param {Array<number>} deal_ids An array of integers with the IDs of the deals for which the attached products will be returned. A maximum of 100 deal IDs can be provided.
562
562
  * @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
563
563
  * @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.
564
- * @param {'id' | 'deal_id' | 'add_time' | 'update_time'} [sort_by] The field to sort by. Supported fields: &#x60;id&#x60;, &#x60;deal_id&#x60;, &#x60;add_time&#x60;, &#x60;update_time&#x60;.
564
+ * @param {'id' | 'deal_id' | 'add_time' | 'update_time' | 'order_nr'} [sort_by] The field to sort by. Supported fields: &#x60;id&#x60;, &#x60;deal_id&#x60;, &#x60;add_time&#x60;, &#x60;update_time&#x60;, &#x60;order_nr&#x60;.
565
565
  * @param {'asc' | 'desc'} [sort_direction] The sorting direction. Supported values: &#x60;asc&#x60;, &#x60;desc&#x60;.
566
566
 
567
567
  * @throws {RequiredError}
568
568
  */
569
- getDealsProducts(deal_ids: Array<number>, cursor?: string, limit?: number, sort_by?: 'id' | 'deal_id' | 'add_time' | 'update_time', sort_direction?: 'asc' | 'desc'): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetDealsProductsResponse>>;
569
+ getDealsProducts(deal_ids: Array<number>, cursor?: string, limit?: number, sort_by?: 'id' | 'deal_id' | 'add_time' | 'update_time' | 'order_nr', sort_direction?: 'asc' | 'desc'): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetDealsProductsResponse>>;
570
570
  /**
571
571
  * Lists installments attached to a list of deals. Only available in Growth and above plans.
572
572
  * @summary List installments added to a list of deals
@@ -1309,11 +1309,11 @@ export interface DealsApiGetDealProductsRequest {
1309
1309
  */
1310
1310
  readonly limit?: number;
1311
1311
  /**
1312
- * The field to sort by. Supported fields: &#x60;id&#x60;, &#x60;add_time&#x60;, &#x60;update_time&#x60;.
1313
- * @type {'id' | 'add_time' | 'update_time'}
1312
+ * The field to sort by. Supported fields: &#x60;id&#x60;, &#x60;add_time&#x60;, &#x60;update_time&#x60;, &#x60;order_nr&#x60;.
1313
+ * @type {'id' | 'add_time' | 'update_time' | 'order_nr'}
1314
1314
  * @memberof DealsApiGetDealProducts
1315
1315
  */
1316
- readonly sort_by?: 'id' | 'add_time' | 'update_time';
1316
+ readonly sort_by?: 'id' | 'add_time' | 'update_time' | 'order_nr';
1317
1317
  /**
1318
1318
  * The sorting direction. Supported values: &#x60;asc&#x60;, &#x60;desc&#x60;.
1319
1319
  * @type {'asc' | 'desc'}
@@ -1449,11 +1449,11 @@ export interface DealsApiGetDealsProductsRequest {
1449
1449
  */
1450
1450
  readonly limit?: number;
1451
1451
  /**
1452
- * The field to sort by. Supported fields: &#x60;id&#x60;, &#x60;deal_id&#x60;, &#x60;add_time&#x60;, &#x60;update_time&#x60;.
1453
- * @type {'id' | 'deal_id' | 'add_time' | 'update_time'}
1452
+ * The field to sort by. Supported fields: &#x60;id&#x60;, &#x60;deal_id&#x60;, &#x60;add_time&#x60;, &#x60;update_time&#x60;, &#x60;order_nr&#x60;.
1453
+ * @type {'id' | 'deal_id' | 'add_time' | 'update_time' | 'order_nr'}
1454
1454
  * @memberof DealsApiGetDealsProducts
1455
1455
  */
1456
- readonly sort_by?: 'id' | 'deal_id' | 'add_time' | 'update_time';
1456
+ readonly sort_by?: 'id' | 'deal_id' | 'add_time' | 'update_time' | 'order_nr';
1457
1457
  /**
1458
1458
  * The sorting direction. Supported values: &#x60;asc&#x60;, &#x60;desc&#x60;.
1459
1459
  * @type {'asc' | 'desc'}
@@ -738,7 +738,7 @@ const DealsApiAxiosParamCreator = function (configuration) {
738
738
  * @param {number} id The ID of the deal
739
739
  * @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
740
740
  * @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.
741
- * @param {'id' | 'add_time' | 'update_time'} [sort_by] The field to sort by. Supported fields: &#x60;id&#x60;, &#x60;add_time&#x60;, &#x60;update_time&#x60;.
741
+ * @param {'id' | 'add_time' | 'update_time' | 'order_nr'} [sort_by] The field to sort by. Supported fields: &#x60;id&#x60;, &#x60;add_time&#x60;, &#x60;update_time&#x60;, &#x60;order_nr&#x60;.
742
742
  * @param {'asc' | 'desc'} [sort_direction] The sorting direction. Supported values: &#x60;asc&#x60;, &#x60;desc&#x60;.
743
743
 
744
744
  * @throws {RequiredError}
@@ -882,7 +882,7 @@ const DealsApiAxiosParamCreator = function (configuration) {
882
882
  * @param {Array<number>} deal_ids An array of integers with the IDs of the deals for which the attached products will be returned. A maximum of 100 deal IDs can be provided.
883
883
  * @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
884
884
  * @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.
885
- * @param {'id' | 'deal_id' | 'add_time' | 'update_time'} [sort_by] The field to sort by. Supported fields: &#x60;id&#x60;, &#x60;deal_id&#x60;, &#x60;add_time&#x60;, &#x60;update_time&#x60;.
885
+ * @param {'id' | 'deal_id' | 'add_time' | 'update_time' | 'order_nr'} [sort_by] The field to sort by. Supported fields: &#x60;id&#x60;, &#x60;deal_id&#x60;, &#x60;add_time&#x60;, &#x60;update_time&#x60;, &#x60;order_nr&#x60;.
886
886
  * @param {'asc' | 'desc'} [sort_direction] The sorting direction. Supported values: &#x60;asc&#x60;, &#x60;desc&#x60;.
887
887
 
888
888
  * @throws {RequiredError}
@@ -1549,7 +1549,7 @@ const DealsApiFp = function (configuration) {
1549
1549
  * @param {number} id The ID of the deal
1550
1550
  * @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
1551
1551
  * @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.
1552
- * @param {'id' | 'add_time' | 'update_time'} [sort_by] The field to sort by. Supported fields: &#x60;id&#x60;, &#x60;add_time&#x60;, &#x60;update_time&#x60;.
1552
+ * @param {'id' | 'add_time' | 'update_time' | 'order_nr'} [sort_by] The field to sort by. Supported fields: &#x60;id&#x60;, &#x60;add_time&#x60;, &#x60;update_time&#x60;, &#x60;order_nr&#x60;.
1553
1553
  * @param {'asc' | 'desc'} [sort_direction] The sorting direction. Supported values: &#x60;asc&#x60;, &#x60;desc&#x60;.
1554
1554
 
1555
1555
  * @throws {RequiredError}
@@ -1594,7 +1594,7 @@ const DealsApiFp = function (configuration) {
1594
1594
  * @param {Array<number>} deal_ids An array of integers with the IDs of the deals for which the attached products will be returned. A maximum of 100 deal IDs can be provided.
1595
1595
  * @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
1596
1596
  * @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.
1597
- * @param {'id' | 'deal_id' | 'add_time' | 'update_time'} [sort_by] The field to sort by. Supported fields: &#x60;id&#x60;, &#x60;deal_id&#x60;, &#x60;add_time&#x60;, &#x60;update_time&#x60;.
1597
+ * @param {'id' | 'deal_id' | 'add_time' | 'update_time' | 'order_nr'} [sort_by] The field to sort by. Supported fields: &#x60;id&#x60;, &#x60;deal_id&#x60;, &#x60;add_time&#x60;, &#x60;update_time&#x60;, &#x60;order_nr&#x60;.
1598
1598
  * @param {'asc' | 'desc'} [sort_direction] The sorting direction. Supported values: &#x60;asc&#x60;, &#x60;desc&#x60;.
1599
1599
 
1600
1600
  * @throws {RequiredError}
@@ -51,6 +51,11 @@ export interface GetDealsProductsResponseDataInnerAllOf {
51
51
  */
52
52
  'product_variation_id'?: number | null;
53
53
  /**
54
+ * The order number of the product within the deal
55
+ * @type {number}
56
+ */
57
+ 'order_nr'?: number | null;
58
+ /**
54
59
  * The date and time when the product was added to the deal
55
60
  * @type {string}
56
61
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pipedrive",
3
- "version": "30.1.0",
3
+ "version": "30.2.0",
4
4
  "description": "Pipedrive REST client for NodeJS",
5
5
  "license": "MIT",
6
6
  "homepage": "https://developers.pipedrive.com",