pipedrive 36.1.1 → 36.1.2

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 (27) hide show
  1. package/dist/esm/versions/v2/models/add-product-variation-request.d.ts +4 -3
  2. package/dist/esm/versions/v2/models/base-product-variation-price.d.ts +43 -0
  3. package/dist/esm/versions/v2/models/base-product-variation-price.js +14 -0
  4. package/dist/esm/versions/v2/models/get-product-variations-response-data-inner.d.ts +4 -3
  5. package/dist/esm/versions/v2/models/index.d.ts +4 -0
  6. package/dist/esm/versions/v2/models/index.js +4 -0
  7. package/dist/esm/versions/v2/models/product-variation-price-all-of.d.ts +23 -0
  8. package/dist/esm/versions/v2/models/product-variation-price-all-of.js +14 -0
  9. package/dist/esm/versions/v2/models/product-variation-price-request.d.ts +17 -0
  10. package/dist/esm/versions/v2/models/product-variation-price-request.js +14 -0
  11. package/dist/esm/versions/v2/models/product-variation-price.d.ts +18 -0
  12. package/dist/esm/versions/v2/models/product-variation-price.js +14 -0
  13. package/dist/esm/versions/v2/models/update-product-variation-request.d.ts +4 -3
  14. package/dist/versions/v2/models/add-product-variation-request.d.ts +4 -3
  15. package/dist/versions/v2/models/base-product-variation-price.d.ts +43 -0
  16. package/dist/versions/v2/models/base-product-variation-price.js +15 -0
  17. package/dist/versions/v2/models/get-product-variations-response-data-inner.d.ts +4 -3
  18. package/dist/versions/v2/models/index.d.ts +4 -0
  19. package/dist/versions/v2/models/index.js +4 -0
  20. package/dist/versions/v2/models/product-variation-price-all-of.d.ts +23 -0
  21. package/dist/versions/v2/models/product-variation-price-all-of.js +15 -0
  22. package/dist/versions/v2/models/product-variation-price-request.d.ts +17 -0
  23. package/dist/versions/v2/models/product-variation-price-request.js +15 -0
  24. package/dist/versions/v2/models/product-variation-price.d.ts +18 -0
  25. package/dist/versions/v2/models/product-variation-price.js +15 -0
  26. package/dist/versions/v2/models/update-product-variation-request.d.ts +4 -3
  27. package/package.json +1 -1
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { ProductVariationPriceRequest } from './product-variation-price-request';
12
13
  /**
13
14
  *
14
15
  * @export
@@ -21,8 +22,8 @@ export interface AddProductVariationRequest {
21
22
  */
22
23
  'name': string;
23
24
  /**
24
- * Array of objects, each containing: currency (string), price (number), cost (number, optional), direct_cost (number, optional), notes (string, optional). When prices is omitted altogether, a default price of 0, a default cost of 0, a default direct_cost of 0 and the user\'s default currency will be assigned.
25
- * @type {Array<object>}
25
+ * Array of prices of the product variation. When prices is omitted altogether, a default price of 0, a default cost of 0, a default direct_cost of 0 and the user\'s default currency will be assigned.
26
+ * @type {Array<ProductVariationPriceRequest>}
26
27
  */
27
- 'prices'?: Array<object>;
28
+ 'prices'?: Array<ProductVariationPriceRequest>;
28
29
  }
@@ -0,0 +1,43 @@
1
+ /**
2
+ * Pipedrive API v2
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 2.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface BaseProductVariationPrice
16
+ */
17
+ export interface BaseProductVariationPrice {
18
+ /**
19
+ * The price of the product variation
20
+ * @type {number}
21
+ */
22
+ 'price'?: number;
23
+ /**
24
+ * The cost of the product variation
25
+ * @type {number}
26
+ */
27
+ 'cost'?: number;
28
+ /**
29
+ * The currency of the price
30
+ * @type {string}
31
+ */
32
+ 'currency'?: string;
33
+ /**
34
+ * The direct cost of the product variation
35
+ * @type {number}
36
+ */
37
+ 'direct_cost'?: number;
38
+ /**
39
+ * The notes about the price
40
+ * @type {string}
41
+ */
42
+ 'notes'?: string;
43
+ }
@@ -0,0 +1,14 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Pipedrive API v2
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: 2.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ export {};
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { ProductVariationPrice } from './product-variation-price';
12
13
  /**
13
14
  *
14
15
  * @export
@@ -31,8 +32,8 @@ export interface GetProductVariationsResponseDataInner {
31
32
  */
32
33
  'product_id'?: number;
33
34
  /**
34
- * Array of objects, each containing: product_variation_id (number), currency (string), price (number), cost (number), direct_cost (number) , notes (string)
35
- * @type {Array<object>}
35
+ * Array of prices of the product variation
36
+ * @type {Array<ProductVariationPrice>}
36
37
  */
37
- 'prices'?: Array<object>;
38
+ 'prices'?: Array<ProductVariationPrice>;
38
39
  }
@@ -65,6 +65,7 @@ export * from './add-task-response';
65
65
  export * from './base-product';
66
66
  export * from './base-product-all-of';
67
67
  export * from './base-product-all-of1';
68
+ export * from './base-product-variation-price';
68
69
  export * from './base-response';
69
70
  export * from './convert-lead-to-deal-request';
70
71
  export * from './create-many-deal-product-request';
@@ -264,6 +265,9 @@ export * from './prices-array';
264
265
  export * from './product-price';
265
266
  export * from './product-price-request';
266
267
  export * from './product-request';
268
+ export * from './product-variation-price';
269
+ export * from './product-variation-price-all-of';
270
+ export * from './product-variation-price-request';
267
271
  export * from './project';
268
272
  export * from './project-template';
269
273
  export * from './stage-item';
@@ -65,6 +65,7 @@ export * from './add-task-response';
65
65
  export * from './base-product';
66
66
  export * from './base-product-all-of';
67
67
  export * from './base-product-all-of1';
68
+ export * from './base-product-variation-price';
68
69
  export * from './base-response';
69
70
  export * from './convert-lead-to-deal-request';
70
71
  export * from './create-many-deal-product-request';
@@ -264,6 +265,9 @@ export * from './prices-array';
264
265
  export * from './product-price';
265
266
  export * from './product-price-request';
266
267
  export * from './product-request';
268
+ export * from './product-variation-price';
269
+ export * from './product-variation-price-all-of';
270
+ export * from './product-variation-price-request';
267
271
  export * from './project';
268
272
  export * from './project-template';
269
273
  export * from './stage-item';
@@ -0,0 +1,23 @@
1
+ /**
2
+ * Pipedrive API v2
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 2.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface ProductVariationPriceAllOf
16
+ */
17
+ export interface ProductVariationPriceAllOf {
18
+ /**
19
+ * The ID of the product variation
20
+ * @type {number}
21
+ */
22
+ 'product_variation_id'?: number;
23
+ }
@@ -0,0 +1,14 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Pipedrive API v2
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: 2.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ export {};
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Pipedrive API v2
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 2.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { BaseProductVariationPrice } from './base-product-variation-price';
13
+ /**
14
+ * @type ProductVariationPriceRequest
15
+ * @export
16
+ */
17
+ export type ProductVariationPriceRequest = BaseProductVariationPrice;
@@ -0,0 +1,14 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Pipedrive API v2
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: 2.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ export {};
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Pipedrive API v2
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 2.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { BaseProductVariationPrice } from './base-product-variation-price';
13
+ import { ProductVariationPriceAllOf } from './product-variation-price-all-of';
14
+ /**
15
+ * @type ProductVariationPrice
16
+ * @export
17
+ */
18
+ export type ProductVariationPrice = BaseProductVariationPrice & ProductVariationPriceAllOf;
@@ -0,0 +1,14 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Pipedrive API v2
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: 2.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ export {};
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { ProductVariationPriceRequest } from './product-variation-price-request';
12
13
  /**
13
14
  *
14
15
  * @export
@@ -21,8 +22,8 @@ export interface UpdateProductVariationRequest {
21
22
  */
22
23
  'name'?: string;
23
24
  /**
24
- * Array of objects, each containing: currency (string), price (number), cost (number, optional), direct_cost (number, optional), notes (string, optional). When prices is omitted altogether, a default price of 0, a default cost of 0, a default direct_cost of 0 and the user\'s default currency will be assigned.
25
- * @type {Array<object>}
25
+ * Array of prices of the product variation. When prices is omitted altogether, a default price of 0, a default cost of 0, a default direct_cost of 0 and the user\'s default currency will be assigned.
26
+ * @type {Array<ProductVariationPriceRequest>}
26
27
  */
27
- 'prices'?: Array<object>;
28
+ 'prices'?: Array<ProductVariationPriceRequest>;
28
29
  }
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { ProductVariationPriceRequest } from './product-variation-price-request';
12
13
  /**
13
14
  *
14
15
  * @export
@@ -21,8 +22,8 @@ export interface AddProductVariationRequest {
21
22
  */
22
23
  'name': string;
23
24
  /**
24
- * Array of objects, each containing: currency (string), price (number), cost (number, optional), direct_cost (number, optional), notes (string, optional). When prices is omitted altogether, a default price of 0, a default cost of 0, a default direct_cost of 0 and the user\'s default currency will be assigned.
25
- * @type {Array<object>}
25
+ * Array of prices of the product variation. When prices is omitted altogether, a default price of 0, a default cost of 0, a default direct_cost of 0 and the user\'s default currency will be assigned.
26
+ * @type {Array<ProductVariationPriceRequest>}
26
27
  */
27
- 'prices'?: Array<object>;
28
+ 'prices'?: Array<ProductVariationPriceRequest>;
28
29
  }
@@ -0,0 +1,43 @@
1
+ /**
2
+ * Pipedrive API v2
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 2.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface BaseProductVariationPrice
16
+ */
17
+ export interface BaseProductVariationPrice {
18
+ /**
19
+ * The price of the product variation
20
+ * @type {number}
21
+ */
22
+ 'price'?: number;
23
+ /**
24
+ * The cost of the product variation
25
+ * @type {number}
26
+ */
27
+ 'cost'?: number;
28
+ /**
29
+ * The currency of the price
30
+ * @type {string}
31
+ */
32
+ 'currency'?: string;
33
+ /**
34
+ * The direct cost of the product variation
35
+ * @type {number}
36
+ */
37
+ 'direct_cost'?: number;
38
+ /**
39
+ * The notes about the price
40
+ * @type {string}
41
+ */
42
+ 'notes'?: string;
43
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Pipedrive API v2
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: 2.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { ProductVariationPrice } from './product-variation-price';
12
13
  /**
13
14
  *
14
15
  * @export
@@ -31,8 +32,8 @@ export interface GetProductVariationsResponseDataInner {
31
32
  */
32
33
  'product_id'?: number;
33
34
  /**
34
- * Array of objects, each containing: product_variation_id (number), currency (string), price (number), cost (number), direct_cost (number) , notes (string)
35
- * @type {Array<object>}
35
+ * Array of prices of the product variation
36
+ * @type {Array<ProductVariationPrice>}
36
37
  */
37
- 'prices'?: Array<object>;
38
+ 'prices'?: Array<ProductVariationPrice>;
38
39
  }
@@ -65,6 +65,7 @@ export * from './add-task-response';
65
65
  export * from './base-product';
66
66
  export * from './base-product-all-of';
67
67
  export * from './base-product-all-of1';
68
+ export * from './base-product-variation-price';
68
69
  export * from './base-response';
69
70
  export * from './convert-lead-to-deal-request';
70
71
  export * from './create-many-deal-product-request';
@@ -264,6 +265,9 @@ export * from './prices-array';
264
265
  export * from './product-price';
265
266
  export * from './product-price-request';
266
267
  export * from './product-request';
268
+ export * from './product-variation-price';
269
+ export * from './product-variation-price-all-of';
270
+ export * from './product-variation-price-request';
267
271
  export * from './project';
268
272
  export * from './project-template';
269
273
  export * from './stage-item';
@@ -81,6 +81,7 @@ __exportStar(require("./add-task-response"), exports);
81
81
  __exportStar(require("./base-product"), exports);
82
82
  __exportStar(require("./base-product-all-of"), exports);
83
83
  __exportStar(require("./base-product-all-of1"), exports);
84
+ __exportStar(require("./base-product-variation-price"), exports);
84
85
  __exportStar(require("./base-response"), exports);
85
86
  __exportStar(require("./convert-lead-to-deal-request"), exports);
86
87
  __exportStar(require("./create-many-deal-product-request"), exports);
@@ -280,6 +281,9 @@ __exportStar(require("./prices-array"), exports);
280
281
  __exportStar(require("./product-price"), exports);
281
282
  __exportStar(require("./product-price-request"), exports);
282
283
  __exportStar(require("./product-request"), exports);
284
+ __exportStar(require("./product-variation-price"), exports);
285
+ __exportStar(require("./product-variation-price-all-of"), exports);
286
+ __exportStar(require("./product-variation-price-request"), exports);
283
287
  __exportStar(require("./project"), exports);
284
288
  __exportStar(require("./project-template"), exports);
285
289
  __exportStar(require("./stage-item"), exports);
@@ -0,0 +1,23 @@
1
+ /**
2
+ * Pipedrive API v2
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 2.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface ProductVariationPriceAllOf
16
+ */
17
+ export interface ProductVariationPriceAllOf {
18
+ /**
19
+ * The ID of the product variation
20
+ * @type {number}
21
+ */
22
+ 'product_variation_id'?: number;
23
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Pipedrive API v2
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: 2.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Pipedrive API v2
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 2.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { BaseProductVariationPrice } from './base-product-variation-price';
13
+ /**
14
+ * @type ProductVariationPriceRequest
15
+ * @export
16
+ */
17
+ export type ProductVariationPriceRequest = BaseProductVariationPrice;
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Pipedrive API v2
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: 2.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Pipedrive API v2
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 2.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { BaseProductVariationPrice } from './base-product-variation-price';
13
+ import { ProductVariationPriceAllOf } from './product-variation-price-all-of';
14
+ /**
15
+ * @type ProductVariationPrice
16
+ * @export
17
+ */
18
+ export type ProductVariationPrice = BaseProductVariationPrice & ProductVariationPriceAllOf;
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Pipedrive API v2
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: 2.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { ProductVariationPriceRequest } from './product-variation-price-request';
12
13
  /**
13
14
  *
14
15
  * @export
@@ -21,8 +22,8 @@ export interface UpdateProductVariationRequest {
21
22
  */
22
23
  'name'?: string;
23
24
  /**
24
- * Array of objects, each containing: currency (string), price (number), cost (number, optional), direct_cost (number, optional), notes (string, optional). When prices is omitted altogether, a default price of 0, a default cost of 0, a default direct_cost of 0 and the user\'s default currency will be assigned.
25
- * @type {Array<object>}
25
+ * Array of prices of the product variation. When prices is omitted altogether, a default price of 0, a default cost of 0, a default direct_cost of 0 and the user\'s default currency will be assigned.
26
+ * @type {Array<ProductVariationPriceRequest>}
26
27
  */
27
- 'prices'?: Array<object>;
28
+ 'prices'?: Array<ProductVariationPriceRequest>;
28
29
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pipedrive",
3
- "version": "36.1.1",
3
+ "version": "36.1.2",
4
4
  "description": "Pipedrive REST client for NodeJS",
5
5
  "license": "MIT",
6
6
  "homepage": "https://developers.pipedrive.com",