pipedrive 30.1.0 → 30.2.1
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/deals-api.d.ts +1 -1
- package/dist/esm/versions/v1/models/add-team-request.d.ts +1 -1
- package/dist/esm/versions/v1/models/add-team-request1.d.ts +1 -1
- package/dist/esm/versions/v1/models/get-permitted-users-response.d.ts +2 -2
- package/dist/esm/versions/v1/models/get-products-response1.d.ts +3 -3
- package/dist/esm/versions/v1/models/index.d.ts +0 -2
- package/dist/esm/versions/v1/models/index.js +0 -2
- package/dist/esm/versions/v2/api/deals-api.d.ts +14 -14
- package/dist/esm/versions/v2/api/deals-api.js +4 -4
- package/dist/esm/versions/v2/models/get-deals-products-response-data-inner-all-of.d.ts +5 -0
- package/dist/esm/versions/v2/models/index.d.ts +1 -1
- package/dist/esm/versions/v2/models/index.js +1 -1
- package/dist/esm/versions/v2/models/stage-item1.d.ts +68 -0
- package/dist/esm/versions/v2/models/stage-item1.js +14 -0
- package/dist/esm/versions/v2/models/upsert-stage-response.d.ts +3 -3
- package/dist/versions/v1/api/deals-api.d.ts +1 -1
- package/dist/versions/v1/models/add-team-request.d.ts +1 -1
- package/dist/versions/v1/models/add-team-request1.d.ts +1 -1
- package/dist/versions/v1/models/get-permitted-users-response.d.ts +2 -2
- package/dist/versions/v1/models/get-products-response1.d.ts +3 -3
- package/dist/versions/v1/models/index.d.ts +0 -2
- package/dist/versions/v1/models/index.js +0 -2
- package/dist/versions/v2/api/deals-api.d.ts +14 -14
- package/dist/versions/v2/api/deals-api.js +4 -4
- package/dist/versions/v2/models/get-deals-products-response-data-inner-all-of.d.ts +5 -0
- package/dist/versions/v2/models/index.d.ts +1 -1
- package/dist/versions/v2/models/index.js +1 -1
- package/dist/versions/v2/models/stage-item1.d.ts +68 -0
- package/dist/versions/v2/models/stage-item1.js +15 -0
- package/dist/versions/v2/models/upsert-stage-response.d.ts +3 -3
- package/package.json +1 -1
@@ -2238,7 +2238,7 @@ export declare class DealsApi extends BaseAPI {
|
|
2238
2238
|
* @throws {RequiredError}
|
2239
2239
|
* @memberof DealsApi
|
2240
2240
|
*/
|
2241
|
-
getDealUsers(requestParameters: DealsApiGetDealUsersRequest): Promise<import("../models").
|
2241
|
+
getDealUsers(requestParameters: DealsApiGetDealUsersRequest): Promise<import("../models").BaseResponse>;
|
2242
2242
|
/**
|
2243
2243
|
* Returns all not archived deals. For more information, see the tutorial for <a href=\"https://pipedrive.readme.io/docs/getting-all-deals\" target=\"_blank\" rel=\"noopener noreferrer\">getting all deals</a>.
|
2244
2244
|
* @summary Get all deals
|
@@ -9,9 +9,9 @@
|
|
9
9
|
* https://openapi-generator.tech
|
10
10
|
* Do not edit the class manually.
|
11
11
|
*/
|
12
|
-
import {
|
12
|
+
import { BaseResponse } from './base-response';
|
13
13
|
/**
|
14
14
|
* @type GetPermittedUsersResponse
|
15
15
|
* @export
|
16
16
|
*/
|
17
|
-
export type GetPermittedUsersResponse =
|
17
|
+
export type GetPermittedUsersResponse = BaseResponse;
|
@@ -10,8 +10,8 @@
|
|
10
10
|
* Do not edit the class manually.
|
11
11
|
*/
|
12
12
|
import { GetActivitiesResponseRelatedObjects } from './get-activities-response-related-objects';
|
13
|
+
import { GetFieldsResponseAllOfAdditionalData } from './get-fields-response-all-of-additional-data';
|
13
14
|
import { GetProductResponse } from './get-product-response';
|
14
|
-
import { GetProductsResponse1AdditionalData } from './get-products-response1-additional-data';
|
15
15
|
/**
|
16
16
|
*
|
17
17
|
* @export
|
@@ -30,9 +30,9 @@ export interface GetProductsResponse1 {
|
|
30
30
|
'data': Array<GetProductResponse>;
|
31
31
|
/**
|
32
32
|
*
|
33
|
-
* @type {
|
33
|
+
* @type {GetFieldsResponseAllOfAdditionalData}
|
34
34
|
*/
|
35
|
-
'additional_data':
|
35
|
+
'additional_data': GetFieldsResponseAllOfAdditionalData;
|
36
36
|
/**
|
37
37
|
*
|
38
38
|
* @type {GetActivitiesResponseRelatedObjects}
|
@@ -112,7 +112,6 @@ export * from './base-pipeline-with-selected-flag';
|
|
112
112
|
export * from './base-pipeline-with-selected-flag-all-of';
|
113
113
|
export * from './base-product';
|
114
114
|
export * from './base-response';
|
115
|
-
export * from './base-response1';
|
116
115
|
export * from './base-response-all-of';
|
117
116
|
export * from './base-role-request';
|
118
117
|
export * from './base-stage';
|
@@ -497,7 +496,6 @@ export * from './get-product-search-response-all-of-data-items-inner-item';
|
|
497
496
|
export * from './get-product-search-response-all-of-data-items-inner-item-owner';
|
498
497
|
export * from './get-products-response';
|
499
498
|
export * from './get-products-response1';
|
500
|
-
export * from './get-products-response1-additional-data';
|
501
499
|
export * from './get-products-response-all-of';
|
502
500
|
export * from './get-products-response-all-of-additional-data';
|
503
501
|
export * from './get-products-response-all-of-additional-data-all-of';
|
@@ -112,7 +112,6 @@ export * from './base-pipeline-with-selected-flag';
|
|
112
112
|
export * from './base-pipeline-with-selected-flag-all-of';
|
113
113
|
export * from './base-product';
|
114
114
|
export * from './base-response';
|
115
|
-
export * from './base-response1';
|
116
115
|
export * from './base-response-all-of';
|
117
116
|
export * from './base-role-request';
|
118
117
|
export * from './base-stage';
|
@@ -497,7 +496,6 @@ export * from './get-product-search-response-all-of-data-items-inner-item';
|
|
497
496
|
export * from './get-product-search-response-all-of-data-items-inner-item-owner';
|
498
497
|
export * from './get-products-response';
|
499
498
|
export * from './get-products-response1';
|
500
|
-
export * from './get-products-response1-additional-data';
|
501
499
|
export * from './get-products-response-all-of';
|
502
500
|
export * from './get-products-response-all-of-additional-data';
|
503
501
|
export * from './get-products-response-all-of-additional-data-all-of';
|
@@ -222,12 +222,12 @@ export declare const DealsApiAxiosParamCreator: (configuration?: Configuration)
|
|
222
222
|
* @param {number} id The ID of the deal
|
223
223
|
* @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
|
224
224
|
* @param {number} [limit] For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed.
|
225
|
-
* @param {'id' | 'add_time' | 'update_time'} [sort_by] The field to sort by. Supported fields: `id`, `add_time`, `update_time`.
|
225
|
+
* @param {'id' | 'add_time' | 'update_time' | 'order_nr'} [sort_by] The field to sort by. Supported fields: `id`, `add_time`, `update_time`, `order_nr`.
|
226
226
|
* @param {'asc' | 'desc'} [sort_direction] The sorting direction. Supported values: `asc`, `desc`.
|
227
227
|
|
228
228
|
* @throws {RequiredError}
|
229
229
|
*/
|
230
|
-
getDealProducts: (id: number, cursor?: string, limit?: number, sort_by?: 'id' | 'add_time' | 'update_time', sort_direction?: 'asc' | 'desc') => Promise<RequestArgs>;
|
230
|
+
getDealProducts: (id: number, cursor?: string, limit?: number, sort_by?: 'id' | 'add_time' | 'update_time' | 'order_nr', sort_direction?: 'asc' | 'desc') => Promise<RequestArgs>;
|
231
231
|
/**
|
232
232
|
* Returns data about all not archived deals.
|
233
233
|
* @summary Get all deals
|
@@ -257,12 +257,12 @@ export declare const DealsApiAxiosParamCreator: (configuration?: Configuration)
|
|
257
257
|
* @param {Array<number>} deal_ids An array of integers with the IDs of the deals for which the attached products will be returned. A maximum of 100 deal IDs can be provided.
|
258
258
|
* @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
|
259
259
|
* @param {number} [limit] For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed.
|
260
|
-
* @param {'id' | 'deal_id' | 'add_time' | 'update_time'} [sort_by] The field to sort by. Supported fields: `id`, `deal_id`, `add_time`, `update_time`.
|
260
|
+
* @param {'id' | 'deal_id' | 'add_time' | 'update_time' | 'order_nr'} [sort_by] The field to sort by. Supported fields: `id`, `deal_id`, `add_time`, `update_time`, `order_nr`.
|
261
261
|
* @param {'asc' | 'desc'} [sort_direction] The sorting direction. Supported values: `asc`, `desc`.
|
262
262
|
|
263
263
|
* @throws {RequiredError}
|
264
264
|
*/
|
265
|
-
getDealsProducts: (deal_ids: Array<number>, cursor?: string, limit?: number, sort_by?: 'id' | 'deal_id' | 'add_time' | 'update_time', sort_direction?: 'asc' | 'desc') => Promise<RequestArgs>;
|
265
|
+
getDealsProducts: (deal_ids: Array<number>, cursor?: string, limit?: number, sort_by?: 'id' | 'deal_id' | 'add_time' | 'update_time' | 'order_nr', sort_direction?: 'asc' | 'desc') => Promise<RequestArgs>;
|
266
266
|
/**
|
267
267
|
* Lists installments attached to a list of deals. Only available in Growth and above plans.
|
268
268
|
* @summary List installments added to a list of deals
|
@@ -526,12 +526,12 @@ export declare const DealsApiFp: (configuration?: Configuration) => {
|
|
526
526
|
* @param {number} id The ID of the deal
|
527
527
|
* @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
|
528
528
|
* @param {number} [limit] For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed.
|
529
|
-
* @param {'id' | 'add_time' | 'update_time'} [sort_by] The field to sort by. Supported fields: `id`, `add_time`, `update_time`.
|
529
|
+
* @param {'id' | 'add_time' | 'update_time' | 'order_nr'} [sort_by] The field to sort by. Supported fields: `id`, `add_time`, `update_time`, `order_nr`.
|
530
530
|
* @param {'asc' | 'desc'} [sort_direction] The sorting direction. Supported values: `asc`, `desc`.
|
531
531
|
|
532
532
|
* @throws {RequiredError}
|
533
533
|
*/
|
534
|
-
getDealProducts(id: number, cursor?: string, limit?: number, sort_by?: 'id' | 'add_time' | 'update_time', sort_direction?: 'asc' | 'desc'): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetDealsProductsResponse>>;
|
534
|
+
getDealProducts(id: number, cursor?: string, limit?: number, sort_by?: 'id' | 'add_time' | 'update_time' | 'order_nr', sort_direction?: 'asc' | 'desc'): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetDealsProductsResponse>>;
|
535
535
|
/**
|
536
536
|
* Returns data about all not archived deals.
|
537
537
|
* @summary Get all deals
|
@@ -561,12 +561,12 @@ export declare const DealsApiFp: (configuration?: Configuration) => {
|
|
561
561
|
* @param {Array<number>} deal_ids An array of integers with the IDs of the deals for which the attached products will be returned. A maximum of 100 deal IDs can be provided.
|
562
562
|
* @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
|
563
563
|
* @param {number} [limit] For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed.
|
564
|
-
* @param {'id' | 'deal_id' | 'add_time' | 'update_time'} [sort_by] The field to sort by. Supported fields: `id`, `deal_id`, `add_time`, `update_time`.
|
564
|
+
* @param {'id' | 'deal_id' | 'add_time' | 'update_time' | 'order_nr'} [sort_by] The field to sort by. Supported fields: `id`, `deal_id`, `add_time`, `update_time`, `order_nr`.
|
565
565
|
* @param {'asc' | 'desc'} [sort_direction] The sorting direction. Supported values: `asc`, `desc`.
|
566
566
|
|
567
567
|
* @throws {RequiredError}
|
568
568
|
*/
|
569
|
-
getDealsProducts(deal_ids: Array<number>, cursor?: string, limit?: number, sort_by?: 'id' | 'deal_id' | 'add_time' | 'update_time', sort_direction?: 'asc' | 'desc'): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetDealsProductsResponse>>;
|
569
|
+
getDealsProducts(deal_ids: Array<number>, cursor?: string, limit?: number, sort_by?: 'id' | 'deal_id' | 'add_time' | 'update_time' | 'order_nr', sort_direction?: 'asc' | 'desc'): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetDealsProductsResponse>>;
|
570
570
|
/**
|
571
571
|
* Lists installments attached to a list of deals. Only available in Growth and above plans.
|
572
572
|
* @summary List installments added to a list of deals
|
@@ -1309,11 +1309,11 @@ export interface DealsApiGetDealProductsRequest {
|
|
1309
1309
|
*/
|
1310
1310
|
readonly limit?: number;
|
1311
1311
|
/**
|
1312
|
-
* The field to sort by. Supported fields: `id`, `add_time`, `update_time`.
|
1313
|
-
* @type {'id' | 'add_time' | 'update_time'}
|
1312
|
+
* The field to sort by. Supported fields: `id`, `add_time`, `update_time`, `order_nr`.
|
1313
|
+
* @type {'id' | 'add_time' | 'update_time' | 'order_nr'}
|
1314
1314
|
* @memberof DealsApiGetDealProducts
|
1315
1315
|
*/
|
1316
|
-
readonly sort_by?: 'id' | 'add_time' | 'update_time';
|
1316
|
+
readonly sort_by?: 'id' | 'add_time' | 'update_time' | 'order_nr';
|
1317
1317
|
/**
|
1318
1318
|
* The sorting direction. Supported values: `asc`, `desc`.
|
1319
1319
|
* @type {'asc' | 'desc'}
|
@@ -1449,11 +1449,11 @@ export interface DealsApiGetDealsProductsRequest {
|
|
1449
1449
|
*/
|
1450
1450
|
readonly limit?: number;
|
1451
1451
|
/**
|
1452
|
-
* The field to sort by. Supported fields: `id`, `deal_id`, `add_time`, `update_time`.
|
1453
|
-
* @type {'id' | 'deal_id' | 'add_time' | 'update_time'}
|
1452
|
+
* The field to sort by. Supported fields: `id`, `deal_id`, `add_time`, `update_time`, `order_nr`.
|
1453
|
+
* @type {'id' | 'deal_id' | 'add_time' | 'update_time' | 'order_nr'}
|
1454
1454
|
* @memberof DealsApiGetDealsProducts
|
1455
1455
|
*/
|
1456
|
-
readonly sort_by?: 'id' | 'deal_id' | 'add_time' | 'update_time';
|
1456
|
+
readonly sort_by?: 'id' | 'deal_id' | 'add_time' | 'update_time' | 'order_nr';
|
1457
1457
|
/**
|
1458
1458
|
* The sorting direction. Supported values: `asc`, `desc`.
|
1459
1459
|
* @type {'asc' | 'desc'}
|
@@ -732,7 +732,7 @@ export const DealsApiAxiosParamCreator = function (configuration) {
|
|
732
732
|
* @param {number} id The ID of the deal
|
733
733
|
* @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
|
734
734
|
* @param {number} [limit] For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed.
|
735
|
-
* @param {'id' | 'add_time' | 'update_time'} [sort_by] The field to sort by. Supported fields: `id`, `add_time`, `update_time`.
|
735
|
+
* @param {'id' | 'add_time' | 'update_time' | 'order_nr'} [sort_by] The field to sort by. Supported fields: `id`, `add_time`, `update_time`, `order_nr`.
|
736
736
|
* @param {'asc' | 'desc'} [sort_direction] The sorting direction. Supported values: `asc`, `desc`.
|
737
737
|
|
738
738
|
* @throws {RequiredError}
|
@@ -876,7 +876,7 @@ export const DealsApiAxiosParamCreator = function (configuration) {
|
|
876
876
|
* @param {Array<number>} deal_ids An array of integers with the IDs of the deals for which the attached products will be returned. A maximum of 100 deal IDs can be provided.
|
877
877
|
* @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
|
878
878
|
* @param {number} [limit] For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed.
|
879
|
-
* @param {'id' | 'deal_id' | 'add_time' | 'update_time'} [sort_by] The field to sort by. Supported fields: `id`, `deal_id`, `add_time`, `update_time`.
|
879
|
+
* @param {'id' | 'deal_id' | 'add_time' | 'update_time' | 'order_nr'} [sort_by] The field to sort by. Supported fields: `id`, `deal_id`, `add_time`, `update_time`, `order_nr`.
|
880
880
|
* @param {'asc' | 'desc'} [sort_direction] The sorting direction. Supported values: `asc`, `desc`.
|
881
881
|
|
882
882
|
* @throws {RequiredError}
|
@@ -1542,7 +1542,7 @@ export const DealsApiFp = function (configuration) {
|
|
1542
1542
|
* @param {number} id The ID of the deal
|
1543
1543
|
* @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
|
1544
1544
|
* @param {number} [limit] For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed.
|
1545
|
-
* @param {'id' | 'add_time' | 'update_time'} [sort_by] The field to sort by. Supported fields: `id`, `add_time`, `update_time`.
|
1545
|
+
* @param {'id' | 'add_time' | 'update_time' | 'order_nr'} [sort_by] The field to sort by. Supported fields: `id`, `add_time`, `update_time`, `order_nr`.
|
1546
1546
|
* @param {'asc' | 'desc'} [sort_direction] The sorting direction. Supported values: `asc`, `desc`.
|
1547
1547
|
|
1548
1548
|
* @throws {RequiredError}
|
@@ -1587,7 +1587,7 @@ export const DealsApiFp = function (configuration) {
|
|
1587
1587
|
* @param {Array<number>} deal_ids An array of integers with the IDs of the deals for which the attached products will be returned. A maximum of 100 deal IDs can be provided.
|
1588
1588
|
* @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
|
1589
1589
|
* @param {number} [limit] For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed.
|
1590
|
-
* @param {'id' | 'deal_id' | 'add_time' | 'update_time'} [sort_by] The field to sort by. Supported fields: `id`, `deal_id`, `add_time`, `update_time`.
|
1590
|
+
* @param {'id' | 'deal_id' | 'add_time' | 'update_time' | 'order_nr'} [sort_by] The field to sort by. Supported fields: `id`, `deal_id`, `add_time`, `update_time`, `order_nr`.
|
1591
1591
|
* @param {'asc' | 'desc'} [sort_direction] The sorting direction. Supported values: `asc`, `desc`.
|
1592
1592
|
|
1593
1593
|
* @throws {RequiredError}
|
@@ -51,6 +51,11 @@ export interface GetDealsProductsResponseDataInnerAllOf {
|
|
51
51
|
*/
|
52
52
|
'product_variation_id'?: number | null;
|
53
53
|
/**
|
54
|
+
* The order number of the product within the deal
|
55
|
+
* @type {number}
|
56
|
+
*/
|
57
|
+
'order_nr'?: number | null;
|
58
|
+
/**
|
54
59
|
* The date and time when the product was added to the deal
|
55
60
|
* @type {string}
|
56
61
|
*/
|
@@ -160,8 +160,8 @@ export * from './organization-item1';
|
|
160
160
|
export * from './organization-item-address';
|
161
161
|
export * from './prices-array';
|
162
162
|
export * from './product-request';
|
163
|
-
export * from './stage';
|
164
163
|
export * from './stage-item';
|
164
|
+
export * from './stage-item1';
|
165
165
|
export * from './update-additional-discount-request-body';
|
166
166
|
export * from './update-additional-discount-response';
|
167
167
|
export * from './update-deal-product-request';
|
@@ -160,8 +160,8 @@ export * from './organization-item1';
|
|
160
160
|
export * from './organization-item-address';
|
161
161
|
export * from './prices-array';
|
162
162
|
export * from './product-request';
|
163
|
-
export * from './stage';
|
164
163
|
export * from './stage-item';
|
164
|
+
export * from './stage-item1';
|
165
165
|
export * from './update-additional-discount-request-body';
|
166
166
|
export * from './update-additional-discount-response';
|
167
167
|
export * from './update-deal-product-request';
|
@@ -0,0 +1,68 @@
|
|
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
|
+
* The stage object
|
14
|
+
* @export
|
15
|
+
* @interface StageItem1
|
16
|
+
*/
|
17
|
+
export interface StageItem1 {
|
18
|
+
/**
|
19
|
+
* The ID of the stage
|
20
|
+
* @type {number}
|
21
|
+
*/
|
22
|
+
'id'?: number;
|
23
|
+
/**
|
24
|
+
* Defines the order of the stage
|
25
|
+
* @type {number}
|
26
|
+
*/
|
27
|
+
'order_nr'?: number;
|
28
|
+
/**
|
29
|
+
* The name of the stage
|
30
|
+
* @type {string}
|
31
|
+
*/
|
32
|
+
'name'?: string;
|
33
|
+
/**
|
34
|
+
* Whether the stage is marked as deleted or not
|
35
|
+
* @type {boolean}
|
36
|
+
*/
|
37
|
+
'is_deleted'?: boolean;
|
38
|
+
/**
|
39
|
+
* The success probability percentage of the deal. Used/shown when the deal weighted values are used.
|
40
|
+
* @type {number}
|
41
|
+
*/
|
42
|
+
'deal_probability'?: number;
|
43
|
+
/**
|
44
|
+
* The ID of the pipeline to add the stage to
|
45
|
+
* @type {number}
|
46
|
+
*/
|
47
|
+
'pipeline_id'?: number;
|
48
|
+
/**
|
49
|
+
* Whether deals in this stage can become rotten
|
50
|
+
* @type {boolean}
|
51
|
+
*/
|
52
|
+
'is_deal_rot_enabled'?: boolean;
|
53
|
+
/**
|
54
|
+
* The number of days the deals not updated in this stage would become rotten. Applies only if the `is_deal_rot_enabled` is set.
|
55
|
+
* @type {number}
|
56
|
+
*/
|
57
|
+
'days_to_rotten'?: number | null;
|
58
|
+
/**
|
59
|
+
* The stage creation time
|
60
|
+
* @type {string}
|
61
|
+
*/
|
62
|
+
'add_time'?: string;
|
63
|
+
/**
|
64
|
+
* The stage update time
|
65
|
+
* @type {string}
|
66
|
+
*/
|
67
|
+
'update_time'?: string;
|
68
|
+
}
|
@@ -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,7 +9,7 @@
|
|
9
9
|
* https://openapi-generator.tech
|
10
10
|
* Do not edit the class manually.
|
11
11
|
*/
|
12
|
-
import {
|
12
|
+
import { StageItem1 } from './stage-item1';
|
13
13
|
/**
|
14
14
|
*
|
15
15
|
* @export
|
@@ -23,7 +23,7 @@ export interface UpsertStageResponse {
|
|
23
23
|
'success'?: boolean;
|
24
24
|
/**
|
25
25
|
*
|
26
|
-
* @type {
|
26
|
+
* @type {StageItem1}
|
27
27
|
*/
|
28
|
-
'data'?:
|
28
|
+
'data'?: StageItem1;
|
29
29
|
}
|
@@ -2238,7 +2238,7 @@ export declare class DealsApi extends BaseAPI {
|
|
2238
2238
|
* @throws {RequiredError}
|
2239
2239
|
* @memberof DealsApi
|
2240
2240
|
*/
|
2241
|
-
getDealUsers(requestParameters: DealsApiGetDealUsersRequest): Promise<import("../models").
|
2241
|
+
getDealUsers(requestParameters: DealsApiGetDealUsersRequest): Promise<import("../models").BaseResponse>;
|
2242
2242
|
/**
|
2243
2243
|
* Returns all not archived deals. For more information, see the tutorial for <a href=\"https://pipedrive.readme.io/docs/getting-all-deals\" target=\"_blank\" rel=\"noopener noreferrer\">getting all deals</a>.
|
2244
2244
|
* @summary Get all deals
|
@@ -9,9 +9,9 @@
|
|
9
9
|
* https://openapi-generator.tech
|
10
10
|
* Do not edit the class manually.
|
11
11
|
*/
|
12
|
-
import {
|
12
|
+
import { BaseResponse } from './base-response';
|
13
13
|
/**
|
14
14
|
* @type GetPermittedUsersResponse
|
15
15
|
* @export
|
16
16
|
*/
|
17
|
-
export type GetPermittedUsersResponse =
|
17
|
+
export type GetPermittedUsersResponse = BaseResponse;
|
@@ -10,8 +10,8 @@
|
|
10
10
|
* Do not edit the class manually.
|
11
11
|
*/
|
12
12
|
import { GetActivitiesResponseRelatedObjects } from './get-activities-response-related-objects';
|
13
|
+
import { GetFieldsResponseAllOfAdditionalData } from './get-fields-response-all-of-additional-data';
|
13
14
|
import { GetProductResponse } from './get-product-response';
|
14
|
-
import { GetProductsResponse1AdditionalData } from './get-products-response1-additional-data';
|
15
15
|
/**
|
16
16
|
*
|
17
17
|
* @export
|
@@ -30,9 +30,9 @@ export interface GetProductsResponse1 {
|
|
30
30
|
'data': Array<GetProductResponse>;
|
31
31
|
/**
|
32
32
|
*
|
33
|
-
* @type {
|
33
|
+
* @type {GetFieldsResponseAllOfAdditionalData}
|
34
34
|
*/
|
35
|
-
'additional_data':
|
35
|
+
'additional_data': GetFieldsResponseAllOfAdditionalData;
|
36
36
|
/**
|
37
37
|
*
|
38
38
|
* @type {GetActivitiesResponseRelatedObjects}
|
@@ -112,7 +112,6 @@ export * from './base-pipeline-with-selected-flag';
|
|
112
112
|
export * from './base-pipeline-with-selected-flag-all-of';
|
113
113
|
export * from './base-product';
|
114
114
|
export * from './base-response';
|
115
|
-
export * from './base-response1';
|
116
115
|
export * from './base-response-all-of';
|
117
116
|
export * from './base-role-request';
|
118
117
|
export * from './base-stage';
|
@@ -497,7 +496,6 @@ export * from './get-product-search-response-all-of-data-items-inner-item';
|
|
497
496
|
export * from './get-product-search-response-all-of-data-items-inner-item-owner';
|
498
497
|
export * from './get-products-response';
|
499
498
|
export * from './get-products-response1';
|
500
|
-
export * from './get-products-response1-additional-data';
|
501
499
|
export * from './get-products-response-all-of';
|
502
500
|
export * from './get-products-response-all-of-additional-data';
|
503
501
|
export * from './get-products-response-all-of-additional-data-all-of';
|
@@ -128,7 +128,6 @@ __exportStar(require("./base-pipeline-with-selected-flag"), exports);
|
|
128
128
|
__exportStar(require("./base-pipeline-with-selected-flag-all-of"), exports);
|
129
129
|
__exportStar(require("./base-product"), exports);
|
130
130
|
__exportStar(require("./base-response"), exports);
|
131
|
-
__exportStar(require("./base-response1"), exports);
|
132
131
|
__exportStar(require("./base-response-all-of"), exports);
|
133
132
|
__exportStar(require("./base-role-request"), exports);
|
134
133
|
__exportStar(require("./base-stage"), exports);
|
@@ -513,7 +512,6 @@ __exportStar(require("./get-product-search-response-all-of-data-items-inner-item
|
|
513
512
|
__exportStar(require("./get-product-search-response-all-of-data-items-inner-item-owner"), exports);
|
514
513
|
__exportStar(require("./get-products-response"), exports);
|
515
514
|
__exportStar(require("./get-products-response1"), exports);
|
516
|
-
__exportStar(require("./get-products-response1-additional-data"), exports);
|
517
515
|
__exportStar(require("./get-products-response-all-of"), exports);
|
518
516
|
__exportStar(require("./get-products-response-all-of-additional-data"), exports);
|
519
517
|
__exportStar(require("./get-products-response-all-of-additional-data-all-of"), exports);
|
@@ -222,12 +222,12 @@ export declare const DealsApiAxiosParamCreator: (configuration?: Configuration)
|
|
222
222
|
* @param {number} id The ID of the deal
|
223
223
|
* @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
|
224
224
|
* @param {number} [limit] For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed.
|
225
|
-
* @param {'id' | 'add_time' | 'update_time'} [sort_by] The field to sort by. Supported fields: `id`, `add_time`, `update_time`.
|
225
|
+
* @param {'id' | 'add_time' | 'update_time' | 'order_nr'} [sort_by] The field to sort by. Supported fields: `id`, `add_time`, `update_time`, `order_nr`.
|
226
226
|
* @param {'asc' | 'desc'} [sort_direction] The sorting direction. Supported values: `asc`, `desc`.
|
227
227
|
|
228
228
|
* @throws {RequiredError}
|
229
229
|
*/
|
230
|
-
getDealProducts: (id: number, cursor?: string, limit?: number, sort_by?: 'id' | 'add_time' | 'update_time', sort_direction?: 'asc' | 'desc') => Promise<RequestArgs>;
|
230
|
+
getDealProducts: (id: number, cursor?: string, limit?: number, sort_by?: 'id' | 'add_time' | 'update_time' | 'order_nr', sort_direction?: 'asc' | 'desc') => Promise<RequestArgs>;
|
231
231
|
/**
|
232
232
|
* Returns data about all not archived deals.
|
233
233
|
* @summary Get all deals
|
@@ -257,12 +257,12 @@ export declare const DealsApiAxiosParamCreator: (configuration?: Configuration)
|
|
257
257
|
* @param {Array<number>} deal_ids An array of integers with the IDs of the deals for which the attached products will be returned. A maximum of 100 deal IDs can be provided.
|
258
258
|
* @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
|
259
259
|
* @param {number} [limit] For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed.
|
260
|
-
* @param {'id' | 'deal_id' | 'add_time' | 'update_time'} [sort_by] The field to sort by. Supported fields: `id`, `deal_id`, `add_time`, `update_time`.
|
260
|
+
* @param {'id' | 'deal_id' | 'add_time' | 'update_time' | 'order_nr'} [sort_by] The field to sort by. Supported fields: `id`, `deal_id`, `add_time`, `update_time`, `order_nr`.
|
261
261
|
* @param {'asc' | 'desc'} [sort_direction] The sorting direction. Supported values: `asc`, `desc`.
|
262
262
|
|
263
263
|
* @throws {RequiredError}
|
264
264
|
*/
|
265
|
-
getDealsProducts: (deal_ids: Array<number>, cursor?: string, limit?: number, sort_by?: 'id' | 'deal_id' | 'add_time' | 'update_time', sort_direction?: 'asc' | 'desc') => Promise<RequestArgs>;
|
265
|
+
getDealsProducts: (deal_ids: Array<number>, cursor?: string, limit?: number, sort_by?: 'id' | 'deal_id' | 'add_time' | 'update_time' | 'order_nr', sort_direction?: 'asc' | 'desc') => Promise<RequestArgs>;
|
266
266
|
/**
|
267
267
|
* Lists installments attached to a list of deals. Only available in Growth and above plans.
|
268
268
|
* @summary List installments added to a list of deals
|
@@ -526,12 +526,12 @@ export declare const DealsApiFp: (configuration?: Configuration) => {
|
|
526
526
|
* @param {number} id The ID of the deal
|
527
527
|
* @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
|
528
528
|
* @param {number} [limit] For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed.
|
529
|
-
* @param {'id' | 'add_time' | 'update_time'} [sort_by] The field to sort by. Supported fields: `id`, `add_time`, `update_time`.
|
529
|
+
* @param {'id' | 'add_time' | 'update_time' | 'order_nr'} [sort_by] The field to sort by. Supported fields: `id`, `add_time`, `update_time`, `order_nr`.
|
530
530
|
* @param {'asc' | 'desc'} [sort_direction] The sorting direction. Supported values: `asc`, `desc`.
|
531
531
|
|
532
532
|
* @throws {RequiredError}
|
533
533
|
*/
|
534
|
-
getDealProducts(id: number, cursor?: string, limit?: number, sort_by?: 'id' | 'add_time' | 'update_time', sort_direction?: 'asc' | 'desc'): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetDealsProductsResponse>>;
|
534
|
+
getDealProducts(id: number, cursor?: string, limit?: number, sort_by?: 'id' | 'add_time' | 'update_time' | 'order_nr', sort_direction?: 'asc' | 'desc'): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetDealsProductsResponse>>;
|
535
535
|
/**
|
536
536
|
* Returns data about all not archived deals.
|
537
537
|
* @summary Get all deals
|
@@ -561,12 +561,12 @@ export declare const DealsApiFp: (configuration?: Configuration) => {
|
|
561
561
|
* @param {Array<number>} deal_ids An array of integers with the IDs of the deals for which the attached products will be returned. A maximum of 100 deal IDs can be provided.
|
562
562
|
* @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
|
563
563
|
* @param {number} [limit] For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed.
|
564
|
-
* @param {'id' | 'deal_id' | 'add_time' | 'update_time'} [sort_by] The field to sort by. Supported fields: `id`, `deal_id`, `add_time`, `update_time`.
|
564
|
+
* @param {'id' | 'deal_id' | 'add_time' | 'update_time' | 'order_nr'} [sort_by] The field to sort by. Supported fields: `id`, `deal_id`, `add_time`, `update_time`, `order_nr`.
|
565
565
|
* @param {'asc' | 'desc'} [sort_direction] The sorting direction. Supported values: `asc`, `desc`.
|
566
566
|
|
567
567
|
* @throws {RequiredError}
|
568
568
|
*/
|
569
|
-
getDealsProducts(deal_ids: Array<number>, cursor?: string, limit?: number, sort_by?: 'id' | 'deal_id' | 'add_time' | 'update_time', sort_direction?: 'asc' | 'desc'): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetDealsProductsResponse>>;
|
569
|
+
getDealsProducts(deal_ids: Array<number>, cursor?: string, limit?: number, sort_by?: 'id' | 'deal_id' | 'add_time' | 'update_time' | 'order_nr', sort_direction?: 'asc' | 'desc'): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetDealsProductsResponse>>;
|
570
570
|
/**
|
571
571
|
* Lists installments attached to a list of deals. Only available in Growth and above plans.
|
572
572
|
* @summary List installments added to a list of deals
|
@@ -1309,11 +1309,11 @@ export interface DealsApiGetDealProductsRequest {
|
|
1309
1309
|
*/
|
1310
1310
|
readonly limit?: number;
|
1311
1311
|
/**
|
1312
|
-
* The field to sort by. Supported fields: `id`, `add_time`, `update_time`.
|
1313
|
-
* @type {'id' | 'add_time' | 'update_time'}
|
1312
|
+
* The field to sort by. Supported fields: `id`, `add_time`, `update_time`, `order_nr`.
|
1313
|
+
* @type {'id' | 'add_time' | 'update_time' | 'order_nr'}
|
1314
1314
|
* @memberof DealsApiGetDealProducts
|
1315
1315
|
*/
|
1316
|
-
readonly sort_by?: 'id' | 'add_time' | 'update_time';
|
1316
|
+
readonly sort_by?: 'id' | 'add_time' | 'update_time' | 'order_nr';
|
1317
1317
|
/**
|
1318
1318
|
* The sorting direction. Supported values: `asc`, `desc`.
|
1319
1319
|
* @type {'asc' | 'desc'}
|
@@ -1449,11 +1449,11 @@ export interface DealsApiGetDealsProductsRequest {
|
|
1449
1449
|
*/
|
1450
1450
|
readonly limit?: number;
|
1451
1451
|
/**
|
1452
|
-
* The field to sort by. Supported fields: `id`, `deal_id`, `add_time`, `update_time`.
|
1453
|
-
* @type {'id' | 'deal_id' | 'add_time' | 'update_time'}
|
1452
|
+
* The field to sort by. Supported fields: `id`, `deal_id`, `add_time`, `update_time`, `order_nr`.
|
1453
|
+
* @type {'id' | 'deal_id' | 'add_time' | 'update_time' | 'order_nr'}
|
1454
1454
|
* @memberof DealsApiGetDealsProducts
|
1455
1455
|
*/
|
1456
|
-
readonly sort_by?: 'id' | 'deal_id' | 'add_time' | 'update_time';
|
1456
|
+
readonly sort_by?: 'id' | 'deal_id' | 'add_time' | 'update_time' | 'order_nr';
|
1457
1457
|
/**
|
1458
1458
|
* The sorting direction. Supported values: `asc`, `desc`.
|
1459
1459
|
* @type {'asc' | 'desc'}
|
@@ -738,7 +738,7 @@ const DealsApiAxiosParamCreator = function (configuration) {
|
|
738
738
|
* @param {number} id The ID of the deal
|
739
739
|
* @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
|
740
740
|
* @param {number} [limit] For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed.
|
741
|
-
* @param {'id' | 'add_time' | 'update_time'} [sort_by] The field to sort by. Supported fields: `id`, `add_time`, `update_time`.
|
741
|
+
* @param {'id' | 'add_time' | 'update_time' | 'order_nr'} [sort_by] The field to sort by. Supported fields: `id`, `add_time`, `update_time`, `order_nr`.
|
742
742
|
* @param {'asc' | 'desc'} [sort_direction] The sorting direction. Supported values: `asc`, `desc`.
|
743
743
|
|
744
744
|
* @throws {RequiredError}
|
@@ -882,7 +882,7 @@ const DealsApiAxiosParamCreator = function (configuration) {
|
|
882
882
|
* @param {Array<number>} deal_ids An array of integers with the IDs of the deals for which the attached products will be returned. A maximum of 100 deal IDs can be provided.
|
883
883
|
* @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
|
884
884
|
* @param {number} [limit] For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed.
|
885
|
-
* @param {'id' | 'deal_id' | 'add_time' | 'update_time'} [sort_by] The field to sort by. Supported fields: `id`, `deal_id`, `add_time`, `update_time`.
|
885
|
+
* @param {'id' | 'deal_id' | 'add_time' | 'update_time' | 'order_nr'} [sort_by] The field to sort by. Supported fields: `id`, `deal_id`, `add_time`, `update_time`, `order_nr`.
|
886
886
|
* @param {'asc' | 'desc'} [sort_direction] The sorting direction. Supported values: `asc`, `desc`.
|
887
887
|
|
888
888
|
* @throws {RequiredError}
|
@@ -1549,7 +1549,7 @@ const DealsApiFp = function (configuration) {
|
|
1549
1549
|
* @param {number} id The ID of the deal
|
1550
1550
|
* @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
|
1551
1551
|
* @param {number} [limit] For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed.
|
1552
|
-
* @param {'id' | 'add_time' | 'update_time'} [sort_by] The field to sort by. Supported fields: `id`, `add_time`, `update_time`.
|
1552
|
+
* @param {'id' | 'add_time' | 'update_time' | 'order_nr'} [sort_by] The field to sort by. Supported fields: `id`, `add_time`, `update_time`, `order_nr`.
|
1553
1553
|
* @param {'asc' | 'desc'} [sort_direction] The sorting direction. Supported values: `asc`, `desc`.
|
1554
1554
|
|
1555
1555
|
* @throws {RequiredError}
|
@@ -1594,7 +1594,7 @@ const DealsApiFp = function (configuration) {
|
|
1594
1594
|
* @param {Array<number>} deal_ids An array of integers with the IDs of the deals for which the attached products will be returned. A maximum of 100 deal IDs can be provided.
|
1595
1595
|
* @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
|
1596
1596
|
* @param {number} [limit] For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed.
|
1597
|
-
* @param {'id' | 'deal_id' | 'add_time' | 'update_time'} [sort_by] The field to sort by. Supported fields: `id`, `deal_id`, `add_time`, `update_time`.
|
1597
|
+
* @param {'id' | 'deal_id' | 'add_time' | 'update_time' | 'order_nr'} [sort_by] The field to sort by. Supported fields: `id`, `deal_id`, `add_time`, `update_time`, `order_nr`.
|
1598
1598
|
* @param {'asc' | 'desc'} [sort_direction] The sorting direction. Supported values: `asc`, `desc`.
|
1599
1599
|
|
1600
1600
|
* @throws {RequiredError}
|
@@ -51,6 +51,11 @@ export interface GetDealsProductsResponseDataInnerAllOf {
|
|
51
51
|
*/
|
52
52
|
'product_variation_id'?: number | null;
|
53
53
|
/**
|
54
|
+
* The order number of the product within the deal
|
55
|
+
* @type {number}
|
56
|
+
*/
|
57
|
+
'order_nr'?: number | null;
|
58
|
+
/**
|
54
59
|
* The date and time when the product was added to the deal
|
55
60
|
* @type {string}
|
56
61
|
*/
|
@@ -160,8 +160,8 @@ export * from './organization-item1';
|
|
160
160
|
export * from './organization-item-address';
|
161
161
|
export * from './prices-array';
|
162
162
|
export * from './product-request';
|
163
|
-
export * from './stage';
|
164
163
|
export * from './stage-item';
|
164
|
+
export * from './stage-item1';
|
165
165
|
export * from './update-additional-discount-request-body';
|
166
166
|
export * from './update-additional-discount-response';
|
167
167
|
export * from './update-deal-product-request';
|
@@ -176,8 +176,8 @@ __exportStar(require("./organization-item1"), exports);
|
|
176
176
|
__exportStar(require("./organization-item-address"), exports);
|
177
177
|
__exportStar(require("./prices-array"), exports);
|
178
178
|
__exportStar(require("./product-request"), exports);
|
179
|
-
__exportStar(require("./stage"), exports);
|
180
179
|
__exportStar(require("./stage-item"), exports);
|
180
|
+
__exportStar(require("./stage-item1"), exports);
|
181
181
|
__exportStar(require("./update-additional-discount-request-body"), exports);
|
182
182
|
__exportStar(require("./update-additional-discount-response"), exports);
|
183
183
|
__exportStar(require("./update-deal-product-request"), exports);
|
@@ -0,0 +1,68 @@
|
|
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
|
+
* The stage object
|
14
|
+
* @export
|
15
|
+
* @interface StageItem1
|
16
|
+
*/
|
17
|
+
export interface StageItem1 {
|
18
|
+
/**
|
19
|
+
* The ID of the stage
|
20
|
+
* @type {number}
|
21
|
+
*/
|
22
|
+
'id'?: number;
|
23
|
+
/**
|
24
|
+
* Defines the order of the stage
|
25
|
+
* @type {number}
|
26
|
+
*/
|
27
|
+
'order_nr'?: number;
|
28
|
+
/**
|
29
|
+
* The name of the stage
|
30
|
+
* @type {string}
|
31
|
+
*/
|
32
|
+
'name'?: string;
|
33
|
+
/**
|
34
|
+
* Whether the stage is marked as deleted or not
|
35
|
+
* @type {boolean}
|
36
|
+
*/
|
37
|
+
'is_deleted'?: boolean;
|
38
|
+
/**
|
39
|
+
* The success probability percentage of the deal. Used/shown when the deal weighted values are used.
|
40
|
+
* @type {number}
|
41
|
+
*/
|
42
|
+
'deal_probability'?: number;
|
43
|
+
/**
|
44
|
+
* The ID of the pipeline to add the stage to
|
45
|
+
* @type {number}
|
46
|
+
*/
|
47
|
+
'pipeline_id'?: number;
|
48
|
+
/**
|
49
|
+
* Whether deals in this stage can become rotten
|
50
|
+
* @type {boolean}
|
51
|
+
*/
|
52
|
+
'is_deal_rot_enabled'?: boolean;
|
53
|
+
/**
|
54
|
+
* The number of days the deals not updated in this stage would become rotten. Applies only if the `is_deal_rot_enabled` is set.
|
55
|
+
* @type {number}
|
56
|
+
*/
|
57
|
+
'days_to_rotten'?: number | null;
|
58
|
+
/**
|
59
|
+
* The stage creation time
|
60
|
+
* @type {string}
|
61
|
+
*/
|
62
|
+
'add_time'?: string;
|
63
|
+
/**
|
64
|
+
* The stage update time
|
65
|
+
* @type {string}
|
66
|
+
*/
|
67
|
+
'update_time'?: string;
|
68
|
+
}
|
@@ -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,7 +9,7 @@
|
|
9
9
|
* https://openapi-generator.tech
|
10
10
|
* Do not edit the class manually.
|
11
11
|
*/
|
12
|
-
import {
|
12
|
+
import { StageItem1 } from './stage-item1';
|
13
13
|
/**
|
14
14
|
*
|
15
15
|
* @export
|
@@ -23,7 +23,7 @@ export interface UpsertStageResponse {
|
|
23
23
|
'success'?: boolean;
|
24
24
|
/**
|
25
25
|
*
|
26
|
-
* @type {
|
26
|
+
* @type {StageItem1}
|
27
27
|
*/
|
28
|
-
'data'?:
|
28
|
+
'data'?: StageItem1;
|
29
29
|
}
|