pipedrive 33.6.1 → 33.7.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 (73) hide show
  1. package/dist/esm/versions/v1/models/activity-collection-response-object-all-of.d.ts +5 -0
  2. package/dist/esm/versions/v1/models/base-deal.d.ts +17 -17
  3. package/dist/esm/versions/v1/models/base-stage.d.ts +1 -1
  4. package/dist/esm/versions/v1/models/deal-all-of-org-id.d.ts +17 -0
  5. package/dist/esm/versions/v1/models/deal-all-of-org-id.js +14 -0
  6. package/dist/esm/versions/v1/models/deal-all-of-person-id.d.ts +17 -0
  7. package/dist/esm/versions/v1/models/deal-all-of-person-id.js +14 -0
  8. package/dist/esm/versions/v1/models/deal-all-of.d.ts +6 -6
  9. package/dist/esm/versions/v1/models/deal-strict-all-of.d.ts +2 -2
  10. package/dist/esm/versions/v1/models/get-person-products-response-all-of-data-inner-dealiddeal.d.ts +13 -13
  11. package/dist/esm/versions/v1/models/index.d.ts +3 -0
  12. package/dist/esm/versions/v1/models/index.js +3 -0
  13. package/dist/esm/versions/v1/models/note-deal-all-of.d.ts +23 -0
  14. package/dist/esm/versions/v1/models/note-deal-all-of.js +14 -0
  15. package/dist/esm/versions/v1/models/note-deal.d.ts +5 -11
  16. package/dist/esm/versions/v1/models/note-user.d.ts +1 -1
  17. package/dist/esm/versions/v1/models/note.d.ts +12 -12
  18. package/dist/esm/versions/v2/models/activity-item.d.ts +5 -0
  19. package/dist/esm/versions/v2/models/add-activity-request.d.ts +5 -0
  20. package/dist/esm/versions/v2/models/add-deal-request.d.ts +6 -6
  21. package/dist/esm/versions/v2/models/add-stage-request.d.ts +1 -1
  22. package/dist/esm/versions/v2/models/deal.d.ts +6 -6
  23. package/dist/esm/versions/v2/models/index.d.ts +4 -0
  24. package/dist/esm/versions/v2/models/index.js +4 -0
  25. package/dist/esm/versions/v2/models/prices-array-prices-inner-all-of.d.ts +38 -0
  26. package/dist/esm/versions/v2/models/prices-array-prices-inner-all-of.js +14 -0
  27. package/dist/esm/versions/v2/models/prices-array-prices-inner.d.ts +6 -36
  28. package/dist/esm/versions/v2/models/product-price-base.d.ts +28 -0
  29. package/dist/esm/versions/v2/models/product-price-base.js +14 -0
  30. package/dist/esm/versions/v2/models/product-request-prices-inner-all-of.d.ts +33 -0
  31. package/dist/esm/versions/v2/models/product-request-prices-inner-all-of.js +14 -0
  32. package/dist/esm/versions/v2/models/product-request-prices-inner.d.ts +18 -0
  33. package/dist/esm/versions/v2/models/product-request-prices-inner.js +14 -0
  34. package/dist/esm/versions/v2/models/product-request.d.ts +4 -3
  35. package/dist/esm/versions/v2/models/update-deal-request.d.ts +6 -6
  36. package/dist/esm/versions/v2/models/update-stage-request.d.ts +1 -1
  37. package/dist/versions/v1/models/activity-collection-response-object-all-of.d.ts +5 -0
  38. package/dist/versions/v1/models/base-deal.d.ts +17 -17
  39. package/dist/versions/v1/models/base-stage.d.ts +1 -1
  40. package/dist/versions/v1/models/deal-all-of-org-id.d.ts +17 -0
  41. package/dist/versions/v1/models/deal-all-of-org-id.js +15 -0
  42. package/dist/versions/v1/models/deal-all-of-person-id.d.ts +17 -0
  43. package/dist/versions/v1/models/deal-all-of-person-id.js +15 -0
  44. package/dist/versions/v1/models/deal-all-of.d.ts +6 -6
  45. package/dist/versions/v1/models/deal-strict-all-of.d.ts +2 -2
  46. package/dist/versions/v1/models/get-person-products-response-all-of-data-inner-dealiddeal.d.ts +13 -13
  47. package/dist/versions/v1/models/index.d.ts +3 -0
  48. package/dist/versions/v1/models/index.js +3 -0
  49. package/dist/versions/v1/models/note-deal-all-of.d.ts +23 -0
  50. package/dist/versions/v1/models/note-deal-all-of.js +15 -0
  51. package/dist/versions/v1/models/note-deal.d.ts +5 -11
  52. package/dist/versions/v1/models/note-user.d.ts +1 -1
  53. package/dist/versions/v1/models/note.d.ts +12 -12
  54. package/dist/versions/v2/models/activity-item.d.ts +5 -0
  55. package/dist/versions/v2/models/add-activity-request.d.ts +5 -0
  56. package/dist/versions/v2/models/add-deal-request.d.ts +6 -6
  57. package/dist/versions/v2/models/add-stage-request.d.ts +1 -1
  58. package/dist/versions/v2/models/deal.d.ts +6 -6
  59. package/dist/versions/v2/models/index.d.ts +4 -0
  60. package/dist/versions/v2/models/index.js +4 -0
  61. package/dist/versions/v2/models/prices-array-prices-inner-all-of.d.ts +38 -0
  62. package/dist/versions/v2/models/prices-array-prices-inner-all-of.js +15 -0
  63. package/dist/versions/v2/models/prices-array-prices-inner.d.ts +6 -36
  64. package/dist/versions/v2/models/product-price-base.d.ts +28 -0
  65. package/dist/versions/v2/models/product-price-base.js +15 -0
  66. package/dist/versions/v2/models/product-request-prices-inner-all-of.d.ts +33 -0
  67. package/dist/versions/v2/models/product-request-prices-inner-all-of.js +15 -0
  68. package/dist/versions/v2/models/product-request-prices-inner.d.ts +18 -0
  69. package/dist/versions/v2/models/product-request-prices-inner.js +15 -0
  70. package/dist/versions/v2/models/product-request.d.ts +4 -3
  71. package/dist/versions/v2/models/update-deal-request.d.ts +6 -6
  72. package/dist/versions/v2/models/update-stage-request.d.ts +1 -1
  73. package/package.json +1 -1
@@ -258,7 +258,11 @@ export * from './person-item-im';
258
258
  export * from './person-item-phone';
259
259
  export * from './prices-array';
260
260
  export * from './prices-array-prices-inner';
261
+ export * from './prices-array-prices-inner-all-of';
262
+ export * from './product-price-base';
261
263
  export * from './product-request';
264
+ export * from './product-request-prices-inner';
265
+ export * from './product-request-prices-inner-all-of';
262
266
  export * from './project';
263
267
  export * from './project-template';
264
268
  export * from './stage-item';
@@ -0,0 +1,38 @@
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 PricesArrayPricesInnerAllOf
16
+ */
17
+ export interface PricesArrayPricesInnerAllOf {
18
+ /**
19
+ * The ID of the product
20
+ * @type {number}
21
+ */
22
+ 'product_id'?: number | null;
23
+ /**
24
+ * The currency of the price
25
+ * @type {string}
26
+ */
27
+ 'currency'?: string | null;
28
+ /**
29
+ * The direct cost of the product
30
+ * @type {number}
31
+ */
32
+ 'direct_cost'?: number | null;
33
+ /**
34
+ * The notes about the price
35
+ * @type {string}
36
+ */
37
+ 'notes'?: string;
38
+ }
@@ -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,40 +9,10 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { PricesArrayPricesInnerAllOf } from './prices-array-prices-inner-all-of';
13
+ import { ProductPriceBase } from './product-price-base';
12
14
  /**
13
- *
14
- * @export
15
- * @interface PricesArrayPricesInner
16
- */
17
- export interface PricesArrayPricesInner {
18
- /**
19
- * The ID of the product
20
- * @type {number}
21
- */
22
- 'product_id'?: number;
23
- /**
24
- * The price of the product
25
- * @type {number}
26
- */
27
- 'price'?: number;
28
- /**
29
- * The currency of the price
30
- * @type {string}
31
- */
32
- 'currency'?: string;
33
- /**
34
- * The cost of the product
35
- * @type {number}
36
- */
37
- 'cost'?: number;
38
- /**
39
- * The direct cost of the product
40
- * @type {number}
41
- */
42
- 'direct_cost'?: number | null;
43
- /**
44
- * The notes about the price
45
- * @type {string}
46
- */
47
- 'notes'?: string;
48
- }
15
+ * @type PricesArrayPricesInner
16
+ * @export
17
+ */
18
+ export type PricesArrayPricesInner = PricesArrayPricesInnerAllOf & ProductPriceBase;
@@ -0,0 +1,28 @@
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 ProductPriceBase
16
+ */
17
+ export interface ProductPriceBase {
18
+ /**
19
+ * The price of the product
20
+ * @type {number}
21
+ */
22
+ 'price'?: number;
23
+ /**
24
+ * The cost of the product
25
+ * @type {number}
26
+ */
27
+ 'cost'?: number;
28
+ }
@@ -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,33 @@
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 ProductRequestPricesInnerAllOf
16
+ */
17
+ export interface ProductRequestPricesInnerAllOf {
18
+ /**
19
+ * The currency of the price
20
+ * @type {string}
21
+ */
22
+ 'currency': string;
23
+ /**
24
+ * The direct cost of the product
25
+ * @type {number}
26
+ */
27
+ 'direct_cost'?: number;
28
+ /**
29
+ * The notes about the price
30
+ * @type {string}
31
+ */
32
+ 'notes'?: string;
33
+ }
@@ -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 { ProductPriceBase } from './product-price-base';
13
+ import { ProductRequestPricesInnerAllOf } from './product-request-prices-inner-all-of';
14
+ /**
15
+ * @type ProductRequestPricesInner
16
+ * @export
17
+ */
18
+ export type ProductRequestPricesInner = ProductPriceBase & ProductRequestPricesInnerAllOf;
@@ -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 { ProductRequestPricesInner } from './product-request-prices-inner';
12
13
  /**
13
14
  *
14
15
  * @export
@@ -56,10 +57,10 @@ export interface ProductRequest {
56
57
  */
57
58
  'visible_to'?: ProductRequestVisibleToConst;
58
59
  /**
59
- * An array of objects, each containing: `currency` (string), `price` (number), `cost` (number, optional), `direct_cost` (number, optional). Note that there can only be one price per product per currency. When `prices` is omitted altogether, a default price of 0 and the user\'s default currency will be assigned.
60
- * @type {Array<object>}
60
+ * The prices of the product in different currencies. Note that there can only be one price per product per currency. When `prices` is omitted altogether, a default price of 0 and the user\'s default currency will be assigned.
61
+ * @type {Array<ProductRequestPricesInner>}
61
62
  */
62
- 'prices'?: Array<object>;
63
+ 'prices'?: Array<ProductRequestPricesInner>;
63
64
  /**
64
65
  * An object where each key represents a custom field. All custom fields are referenced as randomly generated 40-character hashes. To clear a custom field value, set it to `null`. For multi-option fields (field type `set`), use `null` to clear the selection — sending an empty array `[]` is not supported and will result in a validation error.
65
66
  * @type {{ [key: string]: any | undefined; }}
@@ -29,12 +29,12 @@ export interface UpdateDealRequest {
29
29
  * The ID of the person linked to the deal
30
30
  * @type {number}
31
31
  */
32
- 'person_id'?: number;
32
+ 'person_id'?: number | null;
33
33
  /**
34
34
  * The ID of the organization linked to the deal
35
35
  * @type {number}
36
36
  */
37
- 'org_id'?: number;
37
+ 'org_id'?: number | null;
38
38
  /**
39
39
  * The ID of the pipeline associated with the deal
40
40
  * @type {number}
@@ -69,7 +69,7 @@ export interface UpdateDealRequest {
69
69
  * The optional date and time of archiving the deal in UTC. Format: YYYY-MM-DD HH:MM:SS. If omitted and `is_archived` is true, it will be set to the current date and time.
70
70
  * @type {string}
71
71
  */
72
- 'archive_time'?: string;
72
+ 'archive_time'?: string | null;
73
73
  /**
74
74
  * The status of the deal
75
75
  * @type {string}
@@ -79,12 +79,12 @@ export interface UpdateDealRequest {
79
79
  * The success probability percentage of the deal
80
80
  * @type {number}
81
81
  */
82
- 'probability'?: number | null;
82
+ 'probability'?: number;
83
83
  /**
84
84
  * The reason for losing the deal. Can only be set if deal status is lost.
85
85
  * @type {string}
86
86
  */
87
- 'lost_reason'?: string | null;
87
+ 'lost_reason'?: string;
88
88
  /**
89
89
  * The visibility of the deal
90
90
  * @type {number}
@@ -94,7 +94,7 @@ export interface UpdateDealRequest {
94
94
  * The date and time of closing the deal. Can only be set if deal status is won or lost.
95
95
  * @type {string}
96
96
  */
97
- 'close_time'?: string | null;
97
+ 'close_time'?: string;
98
98
  /**
99
99
  * The date and time of changing the deal status as won. Can only be set if deal status is won.
100
100
  * @type {string}
@@ -39,5 +39,5 @@ export interface UpdateStageRequest {
39
39
  * The number of days the deals not updated in this stage would become rotten. Applies only if the `is_deal_rot_enabled` is set.
40
40
  * @type {number}
41
41
  */
42
- 'days_to_rotten'?: number;
42
+ 'days_to_rotten'?: number | null;
43
43
  }
@@ -65,4 +65,9 @@ export interface ActivityCollectionResponseObjectAllOf {
65
65
  * @type {string}
66
66
  */
67
67
  'public_description'?: string;
68
+ /**
69
+ * The ID of the Outcome for the activity. The available Outcome values depend on the activity type and can be retrieved using the Activity Fields API. Set to `null` to clear the Outcome.
70
+ * @type {number}
71
+ */
72
+ 'outcome'?: number | null;
68
73
  }
@@ -44,12 +44,12 @@ export interface BaseDeal {
44
44
  * The last updated date and time of the deal
45
45
  * @type {string}
46
46
  */
47
- 'update_time'?: string;
47
+ 'update_time'?: string | null;
48
48
  /**
49
49
  * The last updated date and time of the deal stage
50
50
  * @type {string}
51
51
  */
52
- 'stage_change_time'?: string;
52
+ 'stage_change_time'?: string | null;
53
53
  /**
54
54
  * Whether the deal is active or not
55
55
  * @type {boolean}
@@ -79,12 +79,12 @@ export interface BaseDeal {
79
79
  * The date of the next activity associated with the deal
80
80
  * @type {string}
81
81
  */
82
- 'next_activity_date'?: string;
82
+ 'next_activity_date'?: string | null;
83
83
  /**
84
84
  * The time of the next activity associated with the deal
85
85
  * @type {string}
86
86
  */
87
- 'next_activity_time'?: string;
87
+ 'next_activity_time'?: string | null;
88
88
  /**
89
89
  * The ID of the next activity associated with the deal
90
90
  * @type {number}
@@ -124,17 +124,17 @@ export interface BaseDeal {
124
124
  * The date and time of changing the deal status as won
125
125
  * @type {string}
126
126
  */
127
- 'won_time'?: string;
127
+ 'won_time'?: string | null;
128
128
  /**
129
129
  * The date and time of the first time changing the deal status as won
130
130
  * @type {string}
131
131
  */
132
- 'first_won_time'?: string;
132
+ 'first_won_time'?: string | null;
133
133
  /**
134
134
  * The date and time of changing the deal status as lost
135
135
  * @type {string}
136
136
  */
137
- 'lost_time'?: string;
137
+ 'lost_time'?: string | null;
138
138
  /**
139
139
  * The number of products associated with the deal
140
140
  * @type {number}
@@ -184,22 +184,22 @@ export interface BaseDeal {
184
184
  * The expected close date of the deal
185
185
  * @type {string}
186
186
  */
187
- 'expected_close_date'?: string;
187
+ 'expected_close_date'?: string | null;
188
188
  /**
189
189
  * The date and time of the last incoming email associated with the deal
190
190
  * @type {string}
191
191
  */
192
- 'last_incoming_mail_time'?: string;
192
+ 'last_incoming_mail_time'?: string | null;
193
193
  /**
194
194
  * The date and time of the last outgoing email associated with the deal
195
195
  * @type {string}
196
196
  */
197
- 'last_outgoing_mail_time'?: string;
197
+ 'last_outgoing_mail_time'?: string | null;
198
198
  /**
199
199
  * The label or multiple labels assigned to the deal
200
200
  * @type {string}
201
201
  */
202
- 'label'?: string;
202
+ 'label'?: string | null;
203
203
  /**
204
204
  * The order number of the deal stage associated with the deal
205
205
  * @type {number}
@@ -209,32 +209,32 @@ export interface BaseDeal {
209
209
  * The name of the person associated with the deal
210
210
  * @type {string}
211
211
  */
212
- 'person_name'?: string;
212
+ 'person_name'?: string | null;
213
213
  /**
214
214
  * The name of the organization associated with the deal
215
215
  * @type {string}
216
216
  */
217
- 'org_name'?: string;
217
+ 'org_name'?: string | null;
218
218
  /**
219
219
  * The subject of the next activity associated with the deal
220
220
  * @type {string}
221
221
  */
222
- 'next_activity_subject'?: string;
222
+ 'next_activity_subject'?: string | null;
223
223
  /**
224
224
  * The type of the next activity associated with the deal
225
225
  * @type {string}
226
226
  */
227
- 'next_activity_type'?: string;
227
+ 'next_activity_type'?: string | null;
228
228
  /**
229
229
  * The duration of the next activity associated with the deal
230
230
  * @type {string}
231
231
  */
232
- 'next_activity_duration'?: string;
232
+ 'next_activity_duration'?: string | null;
233
233
  /**
234
234
  * The note of the next activity associated with the deal
235
235
  * @type {string}
236
236
  */
237
- 'next_activity_note'?: string;
237
+ 'next_activity_note'?: string | null;
238
238
  /**
239
239
  * The deal value formatted with selected currency. E.g. US$500
240
240
  * @type {string}
@@ -54,7 +54,7 @@ export interface BaseStage {
54
54
  * The number of days the deals not updated in this stage would become rotten. Applies only if the `rotten_flag` is set.
55
55
  * @type {number}
56
56
  */
57
- 'rotten_days'?: number;
57
+ 'rotten_days'?: number | null;
58
58
  /**
59
59
  * The stage creation time. Format: YYYY-MM-DD HH:MM:SS.
60
60
  * @type {string}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Pipedrive API v1
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1.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 { DealOrganizationDataWithId } from './deal-organization-data-with-id';
13
+ /**
14
+ * @type DealAllOfOrgId
15
+ * @export
16
+ */
17
+ export type DealAllOfOrgId = DealOrganizationDataWithId;
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Pipedrive API v1
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: 1.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 v1
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1.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 { DealPersonDataWithId } from './deal-person-data-with-id';
13
+ /**
14
+ * @type DealAllOfPersonId
15
+ * @export
16
+ */
17
+ export type DealAllOfPersonId = DealPersonDataWithId;
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Pipedrive API v1
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: 1.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 });
@@ -10,8 +10,8 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import { DealAllOfCreatorUserId } from './deal-all-of-creator-user-id';
13
- import { DealOrganizationDataWithId } from './deal-organization-data-with-id';
14
- import { DealPersonDataWithId } from './deal-person-data-with-id';
13
+ import { DealAllOfOrgId } from './deal-all-of-org-id';
14
+ import { DealAllOfPersonId } from './deal-all-of-person-id';
15
15
  import { DealUserDataWithId } from './deal-user-data-with-id';
16
16
  /**
17
17
  *
@@ -36,12 +36,12 @@ export interface DealAllOf {
36
36
  'user_id'?: DealUserDataWithId;
37
37
  /**
38
38
  *
39
- * @type {DealPersonDataWithId}
39
+ * @type {DealAllOfPersonId}
40
40
  */
41
- 'person_id'?: DealPersonDataWithId;
41
+ 'person_id'?: DealAllOfPersonId | null;
42
42
  /**
43
43
  *
44
- * @type {DealOrganizationDataWithId}
44
+ * @type {DealAllOfOrgId}
45
45
  */
46
- 'org_id'?: DealOrganizationDataWithId;
46
+ 'org_id'?: DealAllOfOrgId | null;
47
47
  }
@@ -34,10 +34,10 @@ export interface DealStrictAllOf {
34
34
  * The ID of the person associated with the deal
35
35
  * @type {number}
36
36
  */
37
- 'person_id'?: number;
37
+ 'person_id'?: number | null;
38
38
  /**
39
39
  * The ID of the organization associated with the deal
40
40
  * @type {number}
41
41
  */
42
- 'org_id'?: number;
42
+ 'org_id'?: number | null;
43
43
  }
@@ -39,12 +39,12 @@ export interface GetPersonProductsResponseAllOfDataInnerDEALIDDeal {
39
39
  * The ID of the person associated with the deal
40
40
  * @type {number}
41
41
  */
42
- 'person_id'?: number;
42
+ 'person_id'?: number | null;
43
43
  /**
44
44
  * The ID of the organization associated with the deal
45
45
  * @type {number}
46
46
  */
47
- 'org_id'?: number;
47
+ 'org_id'?: number | null;
48
48
  /**
49
49
  * The ID of the deal stage
50
50
  * @type {number}
@@ -79,12 +79,12 @@ export interface GetPersonProductsResponseAllOfDataInnerDEALIDDeal {
79
79
  * The last updated date and time of the deal
80
80
  * @type {string}
81
81
  */
82
- 'update_time'?: string;
82
+ 'update_time'?: string | null;
83
83
  /**
84
84
  * The last updated date and time of the deal stage
85
85
  * @type {string}
86
86
  */
87
- 'stage_change_time'?: string;
87
+ 'stage_change_time'?: string | null;
88
88
  /**
89
89
  * Whether the deal is active or not
90
90
  * @type {boolean}
@@ -109,12 +109,12 @@ export interface GetPersonProductsResponseAllOfDataInnerDEALIDDeal {
109
109
  * The date of the next activity associated with the deal
110
110
  * @type {string}
111
111
  */
112
- 'next_activity_date'?: string;
112
+ 'next_activity_date'?: string | null;
113
113
  /**
114
114
  * The time of the next activity associated with the deal
115
115
  * @type {string}
116
116
  */
117
- 'next_activity_time'?: string;
117
+ 'next_activity_time'?: string | null;
118
118
  /**
119
119
  * The ID of the next activity associated with the deal
120
120
  * @type {number}
@@ -154,17 +154,17 @@ export interface GetPersonProductsResponseAllOfDataInnerDEALIDDeal {
154
154
  * The date and time of changing the deal status as won
155
155
  * @type {string}
156
156
  */
157
- 'won_time'?: string;
157
+ 'won_time'?: string | null;
158
158
  /**
159
159
  * The date and time of the first time changing the deal status as won
160
160
  * @type {string}
161
161
  */
162
- 'first_won_time'?: string;
162
+ 'first_won_time'?: string | null;
163
163
  /**
164
164
  * The date and time of changing the deal status as lost
165
165
  * @type {string}
166
166
  */
167
- 'lost_time'?: string;
167
+ 'lost_time'?: string | null;
168
168
  /**
169
169
  * The number of products associated with the deal
170
170
  * @type {number}
@@ -214,20 +214,20 @@ export interface GetPersonProductsResponseAllOfDataInnerDEALIDDeal {
214
214
  * The expected close date of the deal
215
215
  * @type {string}
216
216
  */
217
- 'expected_close_date'?: string;
217
+ 'expected_close_date'?: string | null;
218
218
  /**
219
219
  * The date and time of the last incoming email associated with the deal
220
220
  * @type {string}
221
221
  */
222
- 'last_incoming_mail_time'?: string;
222
+ 'last_incoming_mail_time'?: string | null;
223
223
  /**
224
224
  * The date and time of the last outgoing email associated with the deal
225
225
  * @type {string}
226
226
  */
227
- 'last_outgoing_mail_time'?: string;
227
+ 'last_outgoing_mail_time'?: string | null;
228
228
  /**
229
229
  * The label or multiple labels assigned to the deal
230
230
  * @type {string}
231
231
  */
232
- 'label'?: string;
232
+ 'label'?: string | null;
233
233
  }