pipedrive 36.1.0 → 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 (37) hide show
  1. package/dist/esm/versions/v1/models/mail-message-data-from-inner.d.ts +2 -2
  2. package/dist/esm/versions/v1/models/mail-message-data.d.ts +1 -1
  3. package/dist/esm/versions/v1/models/mail-message-item-for-list-all-of.d.ts +1 -1
  4. package/dist/esm/versions/v1/models/mail-thread-all-of1-parties-to-inner.d.ts +3 -3
  5. package/dist/esm/versions/v1/models/mail-thread-all-of1.d.ts +6 -6
  6. package/dist/esm/versions/v2/models/add-product-variation-request.d.ts +4 -3
  7. package/dist/esm/versions/v2/models/base-product-variation-price.d.ts +43 -0
  8. package/dist/esm/versions/v2/models/base-product-variation-price.js +14 -0
  9. package/dist/esm/versions/v2/models/get-product-variations-response-data-inner.d.ts +4 -3
  10. package/dist/esm/versions/v2/models/index.d.ts +4 -0
  11. package/dist/esm/versions/v2/models/index.js +4 -0
  12. package/dist/esm/versions/v2/models/product-variation-price-all-of.d.ts +23 -0
  13. package/dist/esm/versions/v2/models/product-variation-price-all-of.js +14 -0
  14. package/dist/esm/versions/v2/models/product-variation-price-request.d.ts +17 -0
  15. package/dist/esm/versions/v2/models/product-variation-price-request.js +14 -0
  16. package/dist/esm/versions/v2/models/product-variation-price.d.ts +18 -0
  17. package/dist/esm/versions/v2/models/product-variation-price.js +14 -0
  18. package/dist/esm/versions/v2/models/update-product-variation-request.d.ts +4 -3
  19. package/dist/versions/v1/models/mail-message-data-from-inner.d.ts +2 -2
  20. package/dist/versions/v1/models/mail-message-data.d.ts +1 -1
  21. package/dist/versions/v1/models/mail-message-item-for-list-all-of.d.ts +1 -1
  22. package/dist/versions/v1/models/mail-thread-all-of1-parties-to-inner.d.ts +3 -3
  23. package/dist/versions/v1/models/mail-thread-all-of1.d.ts +6 -6
  24. package/dist/versions/v2/models/add-product-variation-request.d.ts +4 -3
  25. package/dist/versions/v2/models/base-product-variation-price.d.ts +43 -0
  26. package/dist/versions/v2/models/base-product-variation-price.js +15 -0
  27. package/dist/versions/v2/models/get-product-variations-response-data-inner.d.ts +4 -3
  28. package/dist/versions/v2/models/index.d.ts +4 -0
  29. package/dist/versions/v2/models/index.js +4 -0
  30. package/dist/versions/v2/models/product-variation-price-all-of.d.ts +23 -0
  31. package/dist/versions/v2/models/product-variation-price-all-of.js +15 -0
  32. package/dist/versions/v2/models/product-variation-price-request.d.ts +17 -0
  33. package/dist/versions/v2/models/product-variation-price-request.js +15 -0
  34. package/dist/versions/v2/models/product-variation-price.d.ts +18 -0
  35. package/dist/versions/v2/models/product-variation-price.js +15 -0
  36. package/dist/versions/v2/models/update-product-variation-request.d.ts +4 -3
  37. package/package.json +1 -1
@@ -34,12 +34,12 @@ export interface MailMessageDataFromInner {
34
34
  * ID of the linked person to the mail message
35
35
  * @type {number}
36
36
  */
37
- 'linked_person_id'?: number;
37
+ 'linked_person_id'?: number | null;
38
38
  /**
39
39
  * Name of the linked person to the mail message
40
40
  * @type {string}
41
41
  */
42
- 'linked_person_name'?: string;
42
+ 'linked_person_name'?: string | null;
43
43
  /**
44
44
  * ID of the mail message participant
45
45
  * @type {number}
@@ -95,7 +95,7 @@ export interface MailMessageData {
95
95
  * If the mail message has a draft status then the value is the mail message object as JSON formatted string, otherwise `null`.
96
96
  * @type {string}
97
97
  */
98
- 'draft'?: string;
98
+ 'draft'?: string | null;
99
99
  /**
100
100
  *
101
101
  * @type {number}
@@ -44,7 +44,7 @@ export interface MailMessageItemForListAllOf {
44
44
  * The ID of the mail template
45
45
  * @type {number}
46
46
  */
47
- 'template_id'?: number;
47
+ 'template_id'?: number | null;
48
48
  /**
49
49
  * The add date and time of the Mail Message
50
50
  * @type {string}
@@ -44,12 +44,12 @@ export interface MailThreadAllOf1PartiesToInner {
44
44
  * ID of the linked person
45
45
  * @type {number}
46
46
  */
47
- 'linked_person_id'?: number;
47
+ 'linked_person_id'?: number | null;
48
48
  /**
49
- * Email of the linked person
49
+ * Name of the linked person
50
50
  * @type {string}
51
51
  */
52
- 'linked_person_name'?: string;
52
+ 'linked_person_name'?: string | null;
53
53
  /**
54
54
  * ID of the mail message party
55
55
  * @type {number}
@@ -22,10 +22,10 @@ export interface MailThreadAllOf1 {
22
22
  */
23
23
  'parties'?: MailThreadAllOf1Parties;
24
24
  /**
25
- * Parties of the drafted mail thread
25
+ * Parties of the drafted mail thread. `null` if the mail thread has no drafts.
26
26
  * @type {Array<object>}
27
27
  */
28
- 'drafts_parties'?: Array<object>;
28
+ 'drafts_parties'?: Array<object> | null;
29
29
  /**
30
30
  * Folders in which messages from thread are being stored
31
31
  * @type {Array<string>}
@@ -45,7 +45,7 @@ export interface MailThreadAllOf1 {
45
45
  * A snippet from a message sent
46
46
  * @type {string}
47
47
  */
48
- 'snippet_sent'?: string;
48
+ 'snippet_sent'?: string | null;
49
49
  /**
50
50
  * An amount of messages
51
51
  * @type {number}
@@ -62,10 +62,10 @@ export interface MailThreadAllOf1 {
62
62
  */
63
63
  'has_sent_flag'?: MailThreadAllOf1HasSentFlagConst;
64
64
  /**
65
- *
65
+ * Whether the mail thread is archived. `null` if the mail thread has not been explicitly archived or unarchived in Pipedrive.
66
66
  * @type {number}
67
67
  */
68
- 'archived_flag'?: MailThreadAllOf1ArchivedFlagConst;
68
+ 'archived_flag'?: MailThreadAllOf1ArchivedFlagConst | null;
69
69
  /**
70
70
  *
71
71
  * @type {number}
@@ -100,7 +100,7 @@ export interface MailThreadAllOf1 {
100
100
  * The last time when the mail thread has had a message received
101
101
  * @type {string}
102
102
  */
103
- 'last_message_received_timestamp'?: string;
103
+ 'last_message_received_timestamp'?: string | null;
104
104
  /**
105
105
  * The time when the mail thread was inserted to database
106
106
  * @type {string}
@@ -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
  }
@@ -34,12 +34,12 @@ export interface MailMessageDataFromInner {
34
34
  * ID of the linked person to the mail message
35
35
  * @type {number}
36
36
  */
37
- 'linked_person_id'?: number;
37
+ 'linked_person_id'?: number | null;
38
38
  /**
39
39
  * Name of the linked person to the mail message
40
40
  * @type {string}
41
41
  */
42
- 'linked_person_name'?: string;
42
+ 'linked_person_name'?: string | null;
43
43
  /**
44
44
  * ID of the mail message participant
45
45
  * @type {number}
@@ -95,7 +95,7 @@ export interface MailMessageData {
95
95
  * If the mail message has a draft status then the value is the mail message object as JSON formatted string, otherwise `null`.
96
96
  * @type {string}
97
97
  */
98
- 'draft'?: string;
98
+ 'draft'?: string | null;
99
99
  /**
100
100
  *
101
101
  * @type {number}
@@ -44,7 +44,7 @@ export interface MailMessageItemForListAllOf {
44
44
  * The ID of the mail template
45
45
  * @type {number}
46
46
  */
47
- 'template_id'?: number;
47
+ 'template_id'?: number | null;
48
48
  /**
49
49
  * The add date and time of the Mail Message
50
50
  * @type {string}
@@ -44,12 +44,12 @@ export interface MailThreadAllOf1PartiesToInner {
44
44
  * ID of the linked person
45
45
  * @type {number}
46
46
  */
47
- 'linked_person_id'?: number;
47
+ 'linked_person_id'?: number | null;
48
48
  /**
49
- * Email of the linked person
49
+ * Name of the linked person
50
50
  * @type {string}
51
51
  */
52
- 'linked_person_name'?: string;
52
+ 'linked_person_name'?: string | null;
53
53
  /**
54
54
  * ID of the mail message party
55
55
  * @type {number}
@@ -22,10 +22,10 @@ export interface MailThreadAllOf1 {
22
22
  */
23
23
  'parties'?: MailThreadAllOf1Parties;
24
24
  /**
25
- * Parties of the drafted mail thread
25
+ * Parties of the drafted mail thread. `null` if the mail thread has no drafts.
26
26
  * @type {Array<object>}
27
27
  */
28
- 'drafts_parties'?: Array<object>;
28
+ 'drafts_parties'?: Array<object> | null;
29
29
  /**
30
30
  * Folders in which messages from thread are being stored
31
31
  * @type {Array<string>}
@@ -45,7 +45,7 @@ export interface MailThreadAllOf1 {
45
45
  * A snippet from a message sent
46
46
  * @type {string}
47
47
  */
48
- 'snippet_sent'?: string;
48
+ 'snippet_sent'?: string | null;
49
49
  /**
50
50
  * An amount of messages
51
51
  * @type {number}
@@ -62,10 +62,10 @@ export interface MailThreadAllOf1 {
62
62
  */
63
63
  'has_sent_flag'?: MailThreadAllOf1HasSentFlagConst;
64
64
  /**
65
- *
65
+ * Whether the mail thread is archived. `null` if the mail thread has not been explicitly archived or unarchived in Pipedrive.
66
66
  * @type {number}
67
67
  */
68
- 'archived_flag'?: MailThreadAllOf1ArchivedFlagConst;
68
+ 'archived_flag'?: MailThreadAllOf1ArchivedFlagConst | null;
69
69
  /**
70
70
  *
71
71
  * @type {number}
@@ -100,7 +100,7 @@ export interface MailThreadAllOf1 {
100
100
  * The last time when the mail thread has had a message received
101
101
  * @type {string}
102
102
  */
103
- 'last_message_received_timestamp'?: string;
103
+ 'last_message_received_timestamp'?: string | null;
104
104
  /**
105
105
  * The time when the mail thread was inserted to database
106
106
  * @type {string}
@@ -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.0",
3
+ "version": "36.1.2",
4
4
  "description": "Pipedrive REST client for NodeJS",
5
5
  "license": "MIT",
6
6
  "homepage": "https://developers.pipedrive.com",