pipedrive 33.6.0 → 33.6.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 (83) hide show
  1. package/dist/esm/versions/v1/api/permission-sets-api.d.ts +6 -6
  2. package/dist/esm/versions/v1/api/permission-sets-api.js +2 -2
  3. package/dist/esm/versions/v1/models/base-deal.d.ts +17 -17
  4. package/dist/esm/versions/v1/models/base-stage.d.ts +1 -1
  5. package/dist/esm/versions/v1/models/deal-all-of-org-id.d.ts +17 -0
  6. package/dist/esm/versions/v1/models/deal-all-of-org-id.js +14 -0
  7. package/dist/esm/versions/v1/models/deal-all-of-person-id.d.ts +17 -0
  8. package/dist/esm/versions/v1/models/deal-all-of-person-id.js +14 -0
  9. package/dist/esm/versions/v1/models/deal-all-of.d.ts +6 -6
  10. package/dist/esm/versions/v1/models/deal-strict-all-of.d.ts +2 -2
  11. package/dist/esm/versions/v1/models/get-person-products-response-all-of-data-inner-dealiddeal.d.ts +13 -13
  12. package/dist/esm/versions/v1/models/index.d.ts +3 -0
  13. package/dist/esm/versions/v1/models/index.js +3 -0
  14. package/dist/esm/versions/v1/models/note-deal-all-of.d.ts +23 -0
  15. package/dist/esm/versions/v1/models/note-deal-all-of.js +14 -0
  16. package/dist/esm/versions/v1/models/note-deal.d.ts +5 -11
  17. package/dist/esm/versions/v1/models/note-user.d.ts +1 -1
  18. package/dist/esm/versions/v1/models/note.d.ts +12 -12
  19. package/dist/esm/versions/v1/models/permission-set.d.ts +2 -0
  20. package/dist/esm/versions/v1/models/permission-set.js +3 -1
  21. package/dist/esm/versions/v1/models/user-access.d.ts +1 -0
  22. package/dist/esm/versions/v1/models/user-access.js +2 -1
  23. package/dist/esm/versions/v1/models/user-access1.d.ts +1 -0
  24. package/dist/esm/versions/v1/models/user-access1.js +2 -1
  25. package/dist/esm/versions/v2/models/add-deal-request.d.ts +6 -6
  26. package/dist/esm/versions/v2/models/add-stage-request.d.ts +1 -1
  27. package/dist/esm/versions/v2/models/deal.d.ts +6 -6
  28. package/dist/esm/versions/v2/models/index.d.ts +4 -0
  29. package/dist/esm/versions/v2/models/index.js +4 -0
  30. package/dist/esm/versions/v2/models/prices-array-prices-inner-all-of.d.ts +38 -0
  31. package/dist/esm/versions/v2/models/prices-array-prices-inner-all-of.js +14 -0
  32. package/dist/esm/versions/v2/models/prices-array-prices-inner.d.ts +6 -36
  33. package/dist/esm/versions/v2/models/product-price-base.d.ts +28 -0
  34. package/dist/esm/versions/v2/models/product-price-base.js +14 -0
  35. package/dist/esm/versions/v2/models/product-request-prices-inner-all-of.d.ts +33 -0
  36. package/dist/esm/versions/v2/models/product-request-prices-inner-all-of.js +14 -0
  37. package/dist/esm/versions/v2/models/product-request-prices-inner.d.ts +18 -0
  38. package/dist/esm/versions/v2/models/product-request-prices-inner.js +14 -0
  39. package/dist/esm/versions/v2/models/product-request.d.ts +4 -3
  40. package/dist/esm/versions/v2/models/update-deal-request.d.ts +6 -6
  41. package/dist/esm/versions/v2/models/update-stage-request.d.ts +1 -1
  42. package/dist/versions/v1/api/permission-sets-api.d.ts +6 -6
  43. package/dist/versions/v1/api/permission-sets-api.js +2 -2
  44. package/dist/versions/v1/models/base-deal.d.ts +17 -17
  45. package/dist/versions/v1/models/base-stage.d.ts +1 -1
  46. package/dist/versions/v1/models/deal-all-of-org-id.d.ts +17 -0
  47. package/dist/versions/v1/models/deal-all-of-org-id.js +15 -0
  48. package/dist/versions/v1/models/deal-all-of-person-id.d.ts +17 -0
  49. package/dist/versions/v1/models/deal-all-of-person-id.js +15 -0
  50. package/dist/versions/v1/models/deal-all-of.d.ts +6 -6
  51. package/dist/versions/v1/models/deal-strict-all-of.d.ts +2 -2
  52. package/dist/versions/v1/models/get-person-products-response-all-of-data-inner-dealiddeal.d.ts +13 -13
  53. package/dist/versions/v1/models/index.d.ts +3 -0
  54. package/dist/versions/v1/models/index.js +3 -0
  55. package/dist/versions/v1/models/note-deal-all-of.d.ts +23 -0
  56. package/dist/versions/v1/models/note-deal-all-of.js +15 -0
  57. package/dist/versions/v1/models/note-deal.d.ts +5 -11
  58. package/dist/versions/v1/models/note-user.d.ts +1 -1
  59. package/dist/versions/v1/models/note.d.ts +12 -12
  60. package/dist/versions/v1/models/permission-set.d.ts +2 -0
  61. package/dist/versions/v1/models/permission-set.js +3 -1
  62. package/dist/versions/v1/models/user-access.d.ts +1 -0
  63. package/dist/versions/v1/models/user-access.js +2 -1
  64. package/dist/versions/v1/models/user-access1.d.ts +1 -0
  65. package/dist/versions/v1/models/user-access1.js +2 -1
  66. package/dist/versions/v2/models/add-deal-request.d.ts +6 -6
  67. package/dist/versions/v2/models/add-stage-request.d.ts +1 -1
  68. package/dist/versions/v2/models/deal.d.ts +6 -6
  69. package/dist/versions/v2/models/index.d.ts +4 -0
  70. package/dist/versions/v2/models/index.js +4 -0
  71. package/dist/versions/v2/models/prices-array-prices-inner-all-of.d.ts +38 -0
  72. package/dist/versions/v2/models/prices-array-prices-inner-all-of.js +15 -0
  73. package/dist/versions/v2/models/prices-array-prices-inner.d.ts +6 -36
  74. package/dist/versions/v2/models/product-price-base.d.ts +28 -0
  75. package/dist/versions/v2/models/product-price-base.js +15 -0
  76. package/dist/versions/v2/models/product-request-prices-inner-all-of.d.ts +33 -0
  77. package/dist/versions/v2/models/product-request-prices-inner-all-of.js +15 -0
  78. package/dist/versions/v2/models/product-request-prices-inner.d.ts +18 -0
  79. package/dist/versions/v2/models/product-request-prices-inner.js +15 -0
  80. package/dist/versions/v2/models/product-request.d.ts +4 -3
  81. package/dist/versions/v2/models/update-deal-request.d.ts +6 -6
  82. package/dist/versions/v2/models/update-stage-request.d.ts +1 -1
  83. package/package.json +1 -1
@@ -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';
@@ -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
  }
@@ -41,11 +41,11 @@ export declare const PermissionSetsApiAxiosParamCreator: (configuration?: Config
41
41
  /**
42
42
  * Returns data about all permission sets.
43
43
  * @summary Get all permission sets
44
- * @param {'sales' | 'projects' | 'campaigns' | 'global' | 'account_settings'} [app] The app to filter the permission sets by
44
+ * @param {'sales' | 'projects' | 'campaigns' | 'global' | 'account_settings' | 'partnership' | 'nova'} [app] The app to filter the permission sets by
45
45
 
46
46
  * @throws {RequiredError}
47
47
  */
48
- getPermissionSets: (app?: 'sales' | 'projects' | 'campaigns' | 'global' | 'account_settings') => Promise<RequestArgs>;
48
+ getPermissionSets: (app?: 'sales' | 'projects' | 'campaigns' | 'global' | 'account_settings' | 'partnership' | 'nova') => Promise<RequestArgs>;
49
49
  };
50
50
  /**
51
51
  * PermissionSetsApi - functional programming interface
@@ -73,11 +73,11 @@ export declare const PermissionSetsApiFp: (configuration?: Configuration) => {
73
73
  /**
74
74
  * Returns data about all permission sets.
75
75
  * @summary Get all permission sets
76
- * @param {'sales' | 'projects' | 'campaigns' | 'global' | 'account_settings'} [app] The app to filter the permission sets by
76
+ * @param {'sales' | 'projects' | 'campaigns' | 'global' | 'account_settings' | 'partnership' | 'nova'} [app] The app to filter the permission sets by
77
77
 
78
78
  * @throws {RequiredError}
79
79
  */
80
- getPermissionSets(app?: 'sales' | 'projects' | 'campaigns' | 'global' | 'account_settings'): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetPermissionSetsResponse>>;
80
+ getPermissionSets(app?: 'sales' | 'projects' | 'campaigns' | 'global' | 'account_settings' | 'partnership' | 'nova'): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetPermissionSetsResponse>>;
81
81
  };
82
82
  /**
83
83
  * PermissionSetsApi - factory interface
@@ -155,10 +155,10 @@ export interface PermissionSetsApiGetPermissionSetAssignmentsRequest {
155
155
  export interface PermissionSetsApiGetPermissionSetsRequest {
156
156
  /**
157
157
  * The app to filter the permission sets by
158
- * @type {'sales' | 'projects' | 'campaigns' | 'global' | 'account_settings'}
158
+ * @type {'sales' | 'projects' | 'campaigns' | 'global' | 'account_settings' | 'partnership' | 'nova'}
159
159
  * @memberof PermissionSetsApiGetPermissionSets
160
160
  */
161
- readonly app?: 'sales' | 'projects' | 'campaigns' | 'global' | 'account_settings';
161
+ readonly app?: 'sales' | 'projects' | 'campaigns' | 'global' | 'account_settings' | 'partnership' | 'nova';
162
162
  }
163
163
  /**
164
164
  * PermissionSetsApi - object-oriented interface
@@ -117,7 +117,7 @@ const PermissionSetsApiAxiosParamCreator = function (configuration) {
117
117
  /**
118
118
  * Returns data about all permission sets.
119
119
  * @summary Get all permission sets
120
- * @param {'sales' | 'projects' | 'campaigns' | 'global' | 'account_settings'} [app] The app to filter the permission sets by
120
+ * @param {'sales' | 'projects' | 'campaigns' | 'global' | 'account_settings' | 'partnership' | 'nova'} [app] The app to filter the permission sets by
121
121
 
122
122
  * @throws {RequiredError}
123
123
  */
@@ -189,7 +189,7 @@ const PermissionSetsApiFp = function (configuration) {
189
189
  /**
190
190
  * Returns data about all permission sets.
191
191
  * @summary Get all permission sets
192
- * @param {'sales' | 'projects' | 'campaigns' | 'global' | 'account_settings'} [app] The app to filter the permission sets by
192
+ * @param {'sales' | 'projects' | 'campaigns' | 'global' | 'account_settings' | 'partnership' | 'nova'} [app] The app to filter the permission sets by
193
193
 
194
194
  * @throws {RequiredError}
195
195
  */
@@ -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 });