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
@@ -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,14 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Pipedrive API v1
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: 1.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 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,14 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Pipedrive API v1
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: 1.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 {};
@@ -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
  }
@@ -96,6 +96,8 @@ export * from './create-field-request-all-of1';
96
96
  export * from './deal';
97
97
  export * from './deal-all-of';
98
98
  export * from './deal-all-of-creator-user-id';
99
+ export * from './deal-all-of-org-id';
100
+ export * from './deal-all-of-person-id';
99
101
  export * from './deal-count-and-activity-info';
100
102
  export * from './deal-count-and-activity-info-all-of';
101
103
  export * from './deal-count-and-activity-info-all-of1';
@@ -438,6 +440,7 @@ export * from './merge-persons-response';
438
440
  export * from './merge-persons-response-all-of';
439
441
  export * from './note';
440
442
  export * from './note-deal';
443
+ export * from './note-deal-all-of';
441
444
  export * from './note-organization';
442
445
  export * from './note-person';
443
446
  export * from './note-project';
@@ -96,6 +96,8 @@ export * from './create-field-request-all-of1';
96
96
  export * from './deal';
97
97
  export * from './deal-all-of';
98
98
  export * from './deal-all-of-creator-user-id';
99
+ export * from './deal-all-of-org-id';
100
+ export * from './deal-all-of-person-id';
99
101
  export * from './deal-count-and-activity-info';
100
102
  export * from './deal-count-and-activity-info-all-of';
101
103
  export * from './deal-count-and-activity-info-all-of1';
@@ -438,6 +440,7 @@ export * from './merge-persons-response';
438
440
  export * from './merge-persons-response-all-of';
439
441
  export * from './note';
440
442
  export * from './note-deal';
443
+ export * from './note-deal-all-of';
441
444
  export * from './note-organization';
442
445
  export * from './note-person';
443
446
  export * from './note-project';
@@ -0,0 +1,23 @@
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
+ /**
13
+ * The deal this note is attached to
14
+ * @export
15
+ * @interface NoteDealAllOf
16
+ */
17
+ export interface NoteDealAllOf {
18
+ /**
19
+ * The title of the deal this note is attached to
20
+ * @type {string}
21
+ */
22
+ 'title'?: string;
23
+ }
@@ -0,0 +1,14 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Pipedrive API v1
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: 1.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,15 +9,9 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { NoteDealAllOf } from './note-deal-all-of';
12
13
  /**
13
- * The deal this note is attached to
14
- * @export
15
- * @interface NoteDeal
16
- */
17
- export interface NoteDeal {
18
- /**
19
- * The title of the deal this note is attached to
20
- * @type {string}
21
- */
22
- 'title'?: string;
23
- }
14
+ * @type NoteDeal
15
+ * @export
16
+ */
17
+ export type NoteDeal = NoteDealAllOf;
@@ -24,7 +24,7 @@ export interface NoteUser {
24
24
  * The URL of the note creator avatar picture
25
25
  * @type {string}
26
26
  */
27
- 'icon_url'?: string;
27
+ 'icon_url'?: string | null;
28
28
  /**
29
29
  * Whether the note is created by you or not
30
30
  * @type {boolean}
@@ -45,62 +45,62 @@ export interface Note {
45
45
  *
46
46
  * @type {NoteDeal}
47
47
  */
48
- 'deal'?: NoteDeal;
48
+ 'deal'?: NoteDeal | null;
49
49
  /**
50
50
  * The ID of the lead the note is attached to
51
51
  * @type {string}
52
52
  */
53
- 'lead_id'?: string;
53
+ 'lead_id'?: string | null;
54
54
  /**
55
55
  * The ID of the deal the note is attached to
56
56
  * @type {number}
57
57
  */
58
- 'deal_id'?: number;
58
+ 'deal_id'?: number | null;
59
59
  /**
60
60
  * The ID of the user who last updated the note
61
61
  * @type {number}
62
62
  */
63
- 'last_update_user_id'?: number;
63
+ 'last_update_user_id'?: number | null;
64
64
  /**
65
65
  * The ID of the organization the note is attached to
66
66
  * @type {number}
67
67
  */
68
- 'org_id'?: number;
68
+ 'org_id'?: number | null;
69
69
  /**
70
70
  *
71
71
  * @type {NoteOrganization}
72
72
  */
73
- 'organization'?: NoteOrganization;
73
+ 'organization'?: NoteOrganization | null;
74
74
  /**
75
75
  *
76
76
  * @type {NotePerson}
77
77
  */
78
- 'person'?: NotePerson;
78
+ 'person'?: NotePerson | null;
79
79
  /**
80
80
  * The ID of the person the note is attached to
81
81
  * @type {number}
82
82
  */
83
- 'person_id'?: number;
83
+ 'person_id'?: number | null;
84
84
  /**
85
85
  * The ID of the project the note is attached to
86
86
  * @type {number}
87
87
  */
88
- 'project_id'?: number;
88
+ 'project_id'?: number | null;
89
89
  /**
90
90
  *
91
91
  * @type {NoteProject}
92
92
  */
93
- 'project'?: NoteProject;
93
+ 'project'?: NoteProject | null;
94
94
  /**
95
95
  * The ID of the task the note is attached to
96
96
  * @type {number}
97
97
  */
98
- 'task_id'?: number;
98
+ 'task_id'?: number | null;
99
99
  /**
100
100
  *
101
101
  * @type {NoteTask}
102
102
  */
103
- 'task'?: NoteTask;
103
+ 'task'?: NoteTask | null;
104
104
  /**
105
105
  * If true, the results are filtered by note to deal pinning state
106
106
  * @type {boolean}
@@ -154,6 +154,11 @@ export interface ActivityItem {
154
154
  */
155
155
  'priority'?: number;
156
156
  /**
157
+ * 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.
158
+ * @type {number}
159
+ */
160
+ 'outcome'?: number | null;
161
+ /**
157
162
  * The note of the activity
158
163
  * @type {string}
159
164
  */
@@ -109,6 +109,11 @@ export interface AddActivityRequest {
109
109
  */
110
110
  'priority'?: number;
111
111
  /**
112
+ * 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.
113
+ * @type {number}
114
+ */
115
+ 'outcome'?: number | null;
116
+ /**
112
117
  * The note of the activity
113
118
  * @type {string}
114
119
  */
@@ -29,12 +29,12 @@ export interface AddDealRequest {
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 AddDealRequest {
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 AddDealRequest {
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 AddDealRequest {
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 AddStageRequest {
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
  }
@@ -34,12 +34,12 @@ export interface Deal {
34
34
  * The ID of the person linked to 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 linked to the deal
40
40
  * @type {number}
41
41
  */
42
- 'org_id'?: number;
42
+ 'org_id'?: number | null;
43
43
  /**
44
44
  * The ID of the pipeline associated with the deal
45
45
  * @type {number}
@@ -74,7 +74,7 @@ export interface Deal {
74
74
  * The last updated date and time of the deal stage
75
75
  * @type {string}
76
76
  */
77
- 'stage_change_time'?: string;
77
+ 'stage_change_time'?: string | null;
78
78
  /**
79
79
  * Whether the deal is deleted or not
80
80
  * @type {boolean}
@@ -114,17 +114,17 @@ export interface Deal {
114
114
  * The date and time of changing the deal status as won
115
115
  * @type {string}
116
116
  */
117
- 'won_time'?: string;
117
+ 'won_time'?: string | null;
118
118
  /**
119
119
  * The date and time of changing the deal status as lost
120
120
  * @type {string}
121
121
  */
122
- 'lost_time'?: string;
122
+ 'lost_time'?: string | null;
123
123
  /**
124
124
  * The expected close date of the deal
125
125
  * @type {string}
126
126
  */
127
- 'expected_close_date'?: string;
127
+ 'expected_close_date'?: string | null;
128
128
  /**
129
129
  * The IDs of labels assigned to the deal
130
130
  * @type {Array<number>}
@@ -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';