pipedrive 33.6.1 → 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/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/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/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/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
|
@@ -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}
|
|
@@ -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
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Pipedrive API v2
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,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,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Pipedrive API v2
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Pipedrive API v2
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { 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,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Pipedrive API v2
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { 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
|
-
*
|
|
60
|
-
* @type {Array<
|
|
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<
|
|
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
|
|
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 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
|
|
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
|
}
|