pipedrive 30.2.0 → 30.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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").BaseResponse1>;
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
@@ -31,7 +31,7 @@ export interface AddTeamRequest {
31
31
  */
32
32
  'manager_id'?: number;
33
33
  /**
34
- * The IDs of the users that belong to the team
34
+ * The list of user IDs
35
35
  * @type {Array<number>}
36
36
  */
37
37
  'users'?: Array<number>;
@@ -31,7 +31,7 @@ export interface AddTeamRequest1 {
31
31
  */
32
32
  'description'?: string;
33
33
  /**
34
- * The IDs of the users that belong to the team
34
+ * The list of user IDs
35
35
  * @type {Array<number>}
36
36
  */
37
37
  'users'?: Array<number>;
@@ -9,9 +9,9 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { BaseResponse1 } from './base-response1';
12
+ import { BaseResponse } from './base-response';
13
13
  /**
14
14
  * @type GetPermittedUsersResponse
15
15
  * @export
16
16
  */
17
- export type GetPermittedUsersResponse = BaseResponse1;
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 {GetProductsResponse1AdditionalData}
33
+ * @type {GetFieldsResponseAllOfAdditionalData}
34
34
  */
35
- 'additional_data': GetProductsResponse1AdditionalData;
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';
@@ -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 { Stage } from './stage';
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 {Stage}
26
+ * @type {StageItem1}
27
27
  */
28
- 'data'?: Stage;
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").BaseResponse1>;
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
@@ -31,7 +31,7 @@ export interface AddTeamRequest {
31
31
  */
32
32
  'manager_id'?: number;
33
33
  /**
34
- * The IDs of the users that belong to the team
34
+ * The list of user IDs
35
35
  * @type {Array<number>}
36
36
  */
37
37
  'users'?: Array<number>;
@@ -31,7 +31,7 @@ export interface AddTeamRequest1 {
31
31
  */
32
32
  'description'?: string;
33
33
  /**
34
- * The IDs of the users that belong to the team
34
+ * The list of user IDs
35
35
  * @type {Array<number>}
36
36
  */
37
37
  'users'?: Array<number>;
@@ -9,9 +9,9 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { BaseResponse1 } from './base-response1';
12
+ import { BaseResponse } from './base-response';
13
13
  /**
14
14
  * @type GetPermittedUsersResponse
15
15
  * @export
16
16
  */
17
- export type GetPermittedUsersResponse = BaseResponse1;
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 {GetProductsResponse1AdditionalData}
33
+ * @type {GetFieldsResponseAllOfAdditionalData}
34
34
  */
35
- 'additional_data': GetProductsResponse1AdditionalData;
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);
@@ -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 { Stage } from './stage';
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 {Stage}
26
+ * @type {StageItem1}
27
27
  */
28
- 'data'?: Stage;
28
+ 'data'?: StageItem1;
29
29
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pipedrive",
3
- "version": "30.2.0",
3
+ "version": "30.3.0",
4
4
  "description": "Pipedrive REST client for NodeJS",
5
5
  "license": "MIT",
6
6
  "homepage": "https://developers.pipedrive.com",