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.
- package/dist/esm/versions/v1/api/permission-sets-api.d.ts +6 -6
- package/dist/esm/versions/v1/api/permission-sets-api.js +2 -2
- package/dist/esm/versions/v1/models/base-deal.d.ts +17 -17
- package/dist/esm/versions/v1/models/base-stage.d.ts +1 -1
- package/dist/esm/versions/v1/models/deal-all-of-org-id.d.ts +17 -0
- package/dist/esm/versions/v1/models/deal-all-of-org-id.js +14 -0
- package/dist/esm/versions/v1/models/deal-all-of-person-id.d.ts +17 -0
- package/dist/esm/versions/v1/models/deal-all-of-person-id.js +14 -0
- package/dist/esm/versions/v1/models/deal-all-of.d.ts +6 -6
- package/dist/esm/versions/v1/models/deal-strict-all-of.d.ts +2 -2
- package/dist/esm/versions/v1/models/get-person-products-response-all-of-data-inner-dealiddeal.d.ts +13 -13
- package/dist/esm/versions/v1/models/index.d.ts +3 -0
- package/dist/esm/versions/v1/models/index.js +3 -0
- package/dist/esm/versions/v1/models/note-deal-all-of.d.ts +23 -0
- package/dist/esm/versions/v1/models/note-deal-all-of.js +14 -0
- package/dist/esm/versions/v1/models/note-deal.d.ts +5 -11
- package/dist/esm/versions/v1/models/note-user.d.ts +1 -1
- package/dist/esm/versions/v1/models/note.d.ts +12 -12
- package/dist/esm/versions/v1/models/permission-set.d.ts +2 -0
- package/dist/esm/versions/v1/models/permission-set.js +3 -1
- package/dist/esm/versions/v1/models/user-access.d.ts +1 -0
- package/dist/esm/versions/v1/models/user-access.js +2 -1
- package/dist/esm/versions/v1/models/user-access1.d.ts +1 -0
- package/dist/esm/versions/v1/models/user-access1.js +2 -1
- package/dist/esm/versions/v2/models/add-deal-request.d.ts +6 -6
- package/dist/esm/versions/v2/models/add-stage-request.d.ts +1 -1
- package/dist/esm/versions/v2/models/deal.d.ts +6 -6
- package/dist/esm/versions/v2/models/index.d.ts +4 -0
- package/dist/esm/versions/v2/models/index.js +4 -0
- package/dist/esm/versions/v2/models/prices-array-prices-inner-all-of.d.ts +38 -0
- package/dist/esm/versions/v2/models/prices-array-prices-inner-all-of.js +14 -0
- package/dist/esm/versions/v2/models/prices-array-prices-inner.d.ts +6 -36
- package/dist/esm/versions/v2/models/product-price-base.d.ts +28 -0
- package/dist/esm/versions/v2/models/product-price-base.js +14 -0
- package/dist/esm/versions/v2/models/product-request-prices-inner-all-of.d.ts +33 -0
- package/dist/esm/versions/v2/models/product-request-prices-inner-all-of.js +14 -0
- package/dist/esm/versions/v2/models/product-request-prices-inner.d.ts +18 -0
- package/dist/esm/versions/v2/models/product-request-prices-inner.js +14 -0
- package/dist/esm/versions/v2/models/product-request.d.ts +4 -3
- package/dist/esm/versions/v2/models/update-deal-request.d.ts +6 -6
- package/dist/esm/versions/v2/models/update-stage-request.d.ts +1 -1
- package/dist/versions/v1/api/permission-sets-api.d.ts +6 -6
- package/dist/versions/v1/api/permission-sets-api.js +2 -2
- package/dist/versions/v1/models/base-deal.d.ts +17 -17
- package/dist/versions/v1/models/base-stage.d.ts +1 -1
- package/dist/versions/v1/models/deal-all-of-org-id.d.ts +17 -0
- package/dist/versions/v1/models/deal-all-of-org-id.js +15 -0
- package/dist/versions/v1/models/deal-all-of-person-id.d.ts +17 -0
- package/dist/versions/v1/models/deal-all-of-person-id.js +15 -0
- package/dist/versions/v1/models/deal-all-of.d.ts +6 -6
- package/dist/versions/v1/models/deal-strict-all-of.d.ts +2 -2
- package/dist/versions/v1/models/get-person-products-response-all-of-data-inner-dealiddeal.d.ts +13 -13
- package/dist/versions/v1/models/index.d.ts +3 -0
- package/dist/versions/v1/models/index.js +3 -0
- package/dist/versions/v1/models/note-deal-all-of.d.ts +23 -0
- package/dist/versions/v1/models/note-deal-all-of.js +15 -0
- package/dist/versions/v1/models/note-deal.d.ts +5 -11
- package/dist/versions/v1/models/note-user.d.ts +1 -1
- package/dist/versions/v1/models/note.d.ts +12 -12
- package/dist/versions/v1/models/permission-set.d.ts +2 -0
- package/dist/versions/v1/models/permission-set.js +3 -1
- package/dist/versions/v1/models/user-access.d.ts +1 -0
- package/dist/versions/v1/models/user-access.js +2 -1
- package/dist/versions/v1/models/user-access1.d.ts +1 -0
- package/dist/versions/v1/models/user-access1.js +2 -1
- package/dist/versions/v2/models/add-deal-request.d.ts +6 -6
- package/dist/versions/v2/models/add-stage-request.d.ts +1 -1
- package/dist/versions/v2/models/deal.d.ts +6 -6
- package/dist/versions/v2/models/index.d.ts +4 -0
- package/dist/versions/v2/models/index.js +4 -0
- package/dist/versions/v2/models/prices-array-prices-inner-all-of.d.ts +38 -0
- package/dist/versions/v2/models/prices-array-prices-inner-all-of.js +15 -0
- package/dist/versions/v2/models/prices-array-prices-inner.d.ts +6 -36
- package/dist/versions/v2/models/product-price-base.d.ts +28 -0
- package/dist/versions/v2/models/product-price-base.js +15 -0
- package/dist/versions/v2/models/product-request-prices-inner-all-of.d.ts +33 -0
- package/dist/versions/v2/models/product-request-prices-inner-all-of.js +15 -0
- package/dist/versions/v2/models/product-request-prices-inner.d.ts +18 -0
- package/dist/versions/v2/models/product-request-prices-inner.js +15 -0
- package/dist/versions/v2/models/product-request.d.ts +4 -3
- package/dist/versions/v2/models/update-deal-request.d.ts +6 -6
- package/dist/versions/v2/models/update-stage-request.d.ts +1 -1
- package/package.json +1 -1
|
@@ -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 {
|
|
14
|
-
import {
|
|
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 {
|
|
39
|
+
* @type {DealAllOfPersonId}
|
|
40
40
|
*/
|
|
41
|
-
'person_id'?:
|
|
41
|
+
'person_id'?: DealAllOfPersonId | null;
|
|
42
42
|
/**
|
|
43
43
|
*
|
|
44
|
-
* @type {
|
|
44
|
+
* @type {DealAllOfOrgId}
|
|
45
45
|
*/
|
|
46
|
-
'org_id'?:
|
|
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
|
}
|
package/dist/versions/v1/models/get-person-products-response-all-of-data-inner-dealiddeal.d.ts
CHANGED
|
@@ -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';
|
|
@@ -112,6 +112,8 @@ __exportStar(require("./create-field-request-all-of1"), exports);
|
|
|
112
112
|
__exportStar(require("./deal"), exports);
|
|
113
113
|
__exportStar(require("./deal-all-of"), exports);
|
|
114
114
|
__exportStar(require("./deal-all-of-creator-user-id"), exports);
|
|
115
|
+
__exportStar(require("./deal-all-of-org-id"), exports);
|
|
116
|
+
__exportStar(require("./deal-all-of-person-id"), exports);
|
|
115
117
|
__exportStar(require("./deal-count-and-activity-info"), exports);
|
|
116
118
|
__exportStar(require("./deal-count-and-activity-info-all-of"), exports);
|
|
117
119
|
__exportStar(require("./deal-count-and-activity-info-all-of1"), exports);
|
|
@@ -454,6 +456,7 @@ __exportStar(require("./merge-persons-response"), exports);
|
|
|
454
456
|
__exportStar(require("./merge-persons-response-all-of"), exports);
|
|
455
457
|
__exportStar(require("./note"), exports);
|
|
456
458
|
__exportStar(require("./note-deal"), exports);
|
|
459
|
+
__exportStar(require("./note-deal-all-of"), exports);
|
|
457
460
|
__exportStar(require("./note-organization"), exports);
|
|
458
461
|
__exportStar(require("./note-person"), exports);
|
|
459
462
|
__exportStar(require("./note-project"), exports);
|
|
@@ -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,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 });
|
|
@@ -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
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
|
|
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;
|
|
@@ -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}
|
|
@@ -52,6 +52,8 @@ export declare const PermissionSetAppConst: {
|
|
|
52
52
|
readonly campaigns: "campaigns";
|
|
53
53
|
readonly global: "global";
|
|
54
54
|
readonly account_settings: "account_settings";
|
|
55
|
+
readonly partnership: "partnership";
|
|
56
|
+
readonly nova: "nova";
|
|
55
57
|
};
|
|
56
58
|
export type PermissionSetAppConst = typeof PermissionSetAppConst[keyof typeof PermissionSetAppConst];
|
|
57
59
|
export declare const PermissionSetTypeConst: {
|
|
@@ -19,7 +19,9 @@ exports.PermissionSetAppConst = {
|
|
|
19
19
|
projects: 'projects',
|
|
20
20
|
campaigns: 'campaigns',
|
|
21
21
|
global: 'global',
|
|
22
|
-
account_settings: 'account_settings'
|
|
22
|
+
account_settings: 'account_settings',
|
|
23
|
+
partnership: 'partnership',
|
|
24
|
+
nova: 'nova'
|
|
23
25
|
};
|
|
24
26
|
exports.PermissionSetTypeConst = {
|
|
25
27
|
admin: 'admin',
|
|
@@ -38,5 +38,6 @@ export declare const UserAccessAppConst: {
|
|
|
38
38
|
readonly projects: "projects";
|
|
39
39
|
readonly account_settings: "account_settings";
|
|
40
40
|
readonly partnership: "partnership";
|
|
41
|
+
readonly nova: "nova";
|
|
41
42
|
};
|
|
42
43
|
export type UserAccessAppConst = typeof UserAccessAppConst[keyof typeof UserAccessAppConst];
|
|
@@ -38,5 +38,6 @@ export declare const UserAccess1AppConst: {
|
|
|
38
38
|
readonly projects: "projects";
|
|
39
39
|
readonly account_settings: "account_settings";
|
|
40
40
|
readonly partnership: "partnership";
|
|
41
|
+
readonly nova: "nova";
|
|
41
42
|
};
|
|
42
43
|
export type UserAccess1AppConst = typeof UserAccess1AppConst[keyof typeof UserAccess1AppConst];
|
|
@@ -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
|
|
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
|
|
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
|
|
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}
|
|
@@ -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';
|
|
@@ -274,7 +274,11 @@ __exportStar(require("./person-item-im"), exports);
|
|
|
274
274
|
__exportStar(require("./person-item-phone"), exports);
|
|
275
275
|
__exportStar(require("./prices-array"), exports);
|
|
276
276
|
__exportStar(require("./prices-array-prices-inner"), exports);
|
|
277
|
+
__exportStar(require("./prices-array-prices-inner-all-of"), exports);
|
|
278
|
+
__exportStar(require("./product-price-base"), exports);
|
|
277
279
|
__exportStar(require("./product-request"), exports);
|
|
280
|
+
__exportStar(require("./product-request-prices-inner"), exports);
|
|
281
|
+
__exportStar(require("./product-request-prices-inner-all-of"), exports);
|
|
278
282
|
__exportStar(require("./project"), exports);
|
|
279
283
|
__exportStar(require("./project-template"), exports);
|
|
280
284
|
__exportStar(require("./stage-item"), exports);
|
|
@@ -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,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,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
|
-
|
|
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
|
+
}
|