pipedrive 28.0.1 → 29.0.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.
Files changed (31) hide show
  1. package/dist/esm/versions/v1/api/subscriptions-api.d.ts +9 -9
  2. package/dist/esm/versions/v1/api.d.ts +0 -1
  3. package/dist/esm/versions/v1/api.js +0 -1
  4. package/dist/esm/versions/v1/models/index.d.ts +0 -11
  5. package/dist/esm/versions/v1/models/index.js +0 -11
  6. package/dist/esm/versions/v2/models/deal-item-custom-fields-value.d.ts +18 -0
  7. package/dist/esm/versions/v2/models/deal-item-custom-fields-value.js +14 -0
  8. package/dist/esm/versions/v2/models/deal-item.d.ts +8 -0
  9. package/dist/esm/versions/v2/models/deal-item1.d.ts +8 -0
  10. package/dist/esm/versions/v2/models/get-persons-response-all-of-data-inner.d.ts +8 -0
  11. package/dist/esm/versions/v2/models/index.d.ts +1 -0
  12. package/dist/esm/versions/v2/models/index.js +1 -0
  13. package/dist/esm/versions/v2/models/organization-item.d.ts +8 -0
  14. package/dist/esm/versions/v2/models/organization-item1.d.ts +8 -0
  15. package/dist/esm/versions/v2/models/upsert-person-response-data-data.d.ts +8 -0
  16. package/dist/versions/v1/api/subscriptions-api.d.ts +9 -9
  17. package/dist/versions/v1/api.d.ts +0 -1
  18. package/dist/versions/v1/api.js +0 -1
  19. package/dist/versions/v1/models/index.d.ts +0 -11
  20. package/dist/versions/v1/models/index.js +0 -11
  21. package/dist/versions/v2/models/deal-item-custom-fields-value.d.ts +18 -0
  22. package/dist/versions/v2/models/deal-item-custom-fields-value.js +15 -0
  23. package/dist/versions/v2/models/deal-item.d.ts +8 -0
  24. package/dist/versions/v2/models/deal-item1.d.ts +8 -0
  25. package/dist/versions/v2/models/get-persons-response-all-of-data-inner.d.ts +8 -0
  26. package/dist/versions/v2/models/index.d.ts +1 -0
  27. package/dist/versions/v2/models/index.js +1 -0
  28. package/dist/versions/v2/models/organization-item.d.ts +8 -0
  29. package/dist/versions/v2/models/organization-item1.d.ts +8 -0
  30. package/dist/versions/v2/models/upsert-person-response-data-data.d.ts +8 -0
  31. package/package.json +1 -1
@@ -409,7 +409,7 @@ export declare class SubscriptionsApi extends BaseAPI {
409
409
  * @throws {RequiredError}
410
410
  * @memberof SubscriptionsApi
411
411
  */
412
- addRecurringSubscription(requestParameters?: SubscriptionsApiAddRecurringSubscriptionRequest): Promise<GetSubscriptionsIdResponse>;
412
+ addRecurringSubscription(requestParameters?: SubscriptionsApiAddRecurringSubscriptionRequest): Promise<any>;
413
413
  /**
414
414
  * Adds a new installment subscription.
415
415
  * @summary Add an installment subscription
@@ -418,7 +418,7 @@ export declare class SubscriptionsApi extends BaseAPI {
418
418
  * @throws {RequiredError}
419
419
  * @memberof SubscriptionsApi
420
420
  */
421
- addSubscriptionInstallment(requestParameters?: SubscriptionsApiAddSubscriptionInstallmentRequest): Promise<GetSubscriptionsIdResponse>;
421
+ addSubscriptionInstallment(requestParameters?: SubscriptionsApiAddSubscriptionInstallmentRequest): Promise<any>;
422
422
  /**
423
423
  * Cancels a recurring subscription.
424
424
  * @summary Cancel a recurring subscription
@@ -427,7 +427,7 @@ export declare class SubscriptionsApi extends BaseAPI {
427
427
  * @throws {RequiredError}
428
428
  * @memberof SubscriptionsApi
429
429
  */
430
- cancelRecurringSubscription(requestParameters: SubscriptionsApiCancelRecurringSubscriptionRequest): Promise<GetSubscriptionsIdResponse>;
430
+ cancelRecurringSubscription(requestParameters: SubscriptionsApiCancelRecurringSubscriptionRequest): Promise<any>;
431
431
  /**
432
432
  * Marks an installment or a recurring subscription as deleted.
433
433
  * @summary Delete a subscription
@@ -436,7 +436,7 @@ export declare class SubscriptionsApi extends BaseAPI {
436
436
  * @throws {RequiredError}
437
437
  * @memberof SubscriptionsApi
438
438
  */
439
- deleteSubscription(requestParameters: SubscriptionsApiDeleteSubscriptionRequest): Promise<GetSubscriptionsIdResponse>;
439
+ deleteSubscription(requestParameters: SubscriptionsApiDeleteSubscriptionRequest): Promise<any>;
440
440
  /**
441
441
  * Returns details of an installment or a recurring subscription by the deal ID.
442
442
  * @summary Find subscription by deal
@@ -445,7 +445,7 @@ export declare class SubscriptionsApi extends BaseAPI {
445
445
  * @throws {RequiredError}
446
446
  * @memberof SubscriptionsApi
447
447
  */
448
- findSubscriptionByDeal(requestParameters: SubscriptionsApiFindSubscriptionByDealRequest): Promise<GetSubscriptionsIdResponse>;
448
+ findSubscriptionByDeal(requestParameters: SubscriptionsApiFindSubscriptionByDealRequest): Promise<any>;
449
449
  /**
450
450
  * Returns details of an installment or a recurring subscription.
451
451
  * @summary Get details of a subscription
@@ -454,7 +454,7 @@ export declare class SubscriptionsApi extends BaseAPI {
454
454
  * @throws {RequiredError}
455
455
  * @memberof SubscriptionsApi
456
456
  */
457
- getSubscription(requestParameters: SubscriptionsApiGetSubscriptionRequest): Promise<GetSubscriptionsIdResponse>;
457
+ getSubscription(requestParameters: SubscriptionsApiGetSubscriptionRequest): Promise<any>;
458
458
  /**
459
459
  * Returns all payments of an installment or recurring subscription.
460
460
  * @summary Get all payments of a subscription
@@ -463,7 +463,7 @@ export declare class SubscriptionsApi extends BaseAPI {
463
463
  * @throws {RequiredError}
464
464
  * @memberof SubscriptionsApi
465
465
  */
466
- getSubscriptionPayments(requestParameters: SubscriptionsApiGetSubscriptionPaymentsRequest): Promise<GetPaymentsResponse>;
466
+ getSubscriptionPayments(requestParameters: SubscriptionsApiGetSubscriptionPaymentsRequest): Promise<any>;
467
467
  /**
468
468
  * Updates a recurring subscription.
469
469
  * @summary Update a recurring subscription
@@ -472,7 +472,7 @@ export declare class SubscriptionsApi extends BaseAPI {
472
472
  * @throws {RequiredError}
473
473
  * @memberof SubscriptionsApi
474
474
  */
475
- updateRecurringSubscription(requestParameters: SubscriptionsApiUpdateRecurringSubscriptionRequest): Promise<GetSubscriptionsIdResponse>;
475
+ updateRecurringSubscription(requestParameters: SubscriptionsApiUpdateRecurringSubscriptionRequest): Promise<any>;
476
476
  /**
477
477
  * Updates an installment subscription.
478
478
  * @summary Update an installment subscription
@@ -481,5 +481,5 @@ export declare class SubscriptionsApi extends BaseAPI {
481
481
  * @throws {RequiredError}
482
482
  * @memberof SubscriptionsApi
483
483
  */
484
- updateSubscriptionInstallment(requestParameters: SubscriptionsApiUpdateSubscriptionInstallmentRequest): Promise<GetSubscriptionsIdResponse>;
484
+ updateSubscriptionInstallment(requestParameters: SubscriptionsApiUpdateSubscriptionInstallmentRequest): Promise<any>;
485
485
  }
@@ -44,7 +44,6 @@ export * from './api/projects-api';
44
44
  export * from './api/recents-api';
45
45
  export * from './api/roles-api';
46
46
  export * from './api/stages-api';
47
- export * from './api/subscriptions-api';
48
47
  export * from './api/tasks-api';
49
48
  export * from './api/user-connections-api';
50
49
  export * from './api/user-settings-api';
@@ -46,7 +46,6 @@ export * from './api/projects-api';
46
46
  export * from './api/recents-api';
47
47
  export * from './api/roles-api';
48
48
  export * from './api/stages-api';
49
- export * from './api/subscriptions-api';
50
49
  export * from './api/tasks-api';
51
50
  export * from './api/user-connections-api';
52
51
  export * from './api/user-settings-api';
@@ -78,7 +78,6 @@ export * from './add-product-request-all-of2';
78
78
  export * from './add-project-request';
79
79
  export * from './add-project-request-all-of';
80
80
  export * from './add-project-response';
81
- export * from './add-recurring-subscription-request';
82
81
  export * from './add-remote-file-and-link-it-to-item-response';
83
82
  export * from './add-role-assignment-request';
84
83
  export * from './add-role-assignment-response';
@@ -89,7 +88,6 @@ export * from './add-roles-response';
89
88
  export * from './add-roles-response-all-of';
90
89
  export * from './add-roles-response-data';
91
90
  export * from './add-stage-request';
92
- export * from './add-subscription-installment-request';
93
91
  export * from './add-task-request';
94
92
  export * from './add-task-response';
95
93
  export * from './add-team-request';
@@ -138,7 +136,6 @@ export * from './call-log-forbidden-response';
138
136
  export * from './call-log-gone-response';
139
137
  export * from './call-log-internal-error-response';
140
138
  export * from './call-log-not-found-response';
141
- export * from './cancel-recurring-subscription-request';
142
139
  export * from './comment';
143
140
  export * from './comment-post-put-object';
144
141
  export * from './create-field-request';
@@ -438,9 +435,6 @@ export * from './get-organizations-response';
438
435
  export * from './get-organizations-response-all-of';
439
436
  export * from './get-organizations-response-all-of-related-objects';
440
437
  export * from './get-participants-changelog-response';
441
- export * from './get-payments-response';
442
- export * from './get-payments-response-all-of';
443
- export * from './get-payments-response-all-of-data-inner';
444
438
  export * from './get-permission-set-response';
445
439
  export * from './get-permission-set-response-all-of';
446
440
  export * from './get-permission-sets-response';
@@ -548,8 +542,6 @@ export * from './get-stages-response';
548
542
  export * from './get-stages-response-data-inner';
549
543
  export * from './get-subscription-addons-response';
550
544
  export * from './get-subscription-addons-response-all-of';
551
- export * from './get-subscriptions-id-response';
552
- export * from './get-subscriptions-id-response-data';
553
545
  export * from './get-task-response';
554
546
  export * from './get-tasks-response';
555
547
  export * from './get-team-response';
@@ -732,7 +724,6 @@ export * from './stage';
732
724
  export * from './stage-with-pipeline-info';
733
725
  export * from './sub-role';
734
726
  export * from './sub-role-all-of';
735
- export * from './subscription-item';
736
727
  export * from './task-response-object';
737
728
  export * from './task-response-object-all-of';
738
729
  export * from './team-id';
@@ -777,13 +768,11 @@ export * from './update-project-request1-all-of1';
777
768
  export * from './update-project-request1-all-of2';
778
769
  export * from './update-project-request2';
779
770
  export * from './update-project-response';
780
- export * from './update-recurring-subscription-request';
781
771
  export * from './update-role-response';
782
772
  export * from './update-role-response-all-of';
783
773
  export * from './update-role-response-data';
784
774
  export * from './update-stage-request';
785
775
  export * from './update-stage-request-all-of';
786
- export * from './update-subscription-installment-request';
787
776
  export * from './update-task-plan-item-response';
788
777
  export * from './update-task-response';
789
778
  export * from './update-team-request';
@@ -78,7 +78,6 @@ export * from './add-product-request-all-of2';
78
78
  export * from './add-project-request';
79
79
  export * from './add-project-request-all-of';
80
80
  export * from './add-project-response';
81
- export * from './add-recurring-subscription-request';
82
81
  export * from './add-remote-file-and-link-it-to-item-response';
83
82
  export * from './add-role-assignment-request';
84
83
  export * from './add-role-assignment-response';
@@ -89,7 +88,6 @@ export * from './add-roles-response';
89
88
  export * from './add-roles-response-all-of';
90
89
  export * from './add-roles-response-data';
91
90
  export * from './add-stage-request';
92
- export * from './add-subscription-installment-request';
93
91
  export * from './add-task-request';
94
92
  export * from './add-task-response';
95
93
  export * from './add-team-request';
@@ -138,7 +136,6 @@ export * from './call-log-forbidden-response';
138
136
  export * from './call-log-gone-response';
139
137
  export * from './call-log-internal-error-response';
140
138
  export * from './call-log-not-found-response';
141
- export * from './cancel-recurring-subscription-request';
142
139
  export * from './comment';
143
140
  export * from './comment-post-put-object';
144
141
  export * from './create-field-request';
@@ -438,9 +435,6 @@ export * from './get-organizations-response';
438
435
  export * from './get-organizations-response-all-of';
439
436
  export * from './get-organizations-response-all-of-related-objects';
440
437
  export * from './get-participants-changelog-response';
441
- export * from './get-payments-response';
442
- export * from './get-payments-response-all-of';
443
- export * from './get-payments-response-all-of-data-inner';
444
438
  export * from './get-permission-set-response';
445
439
  export * from './get-permission-set-response-all-of';
446
440
  export * from './get-permission-sets-response';
@@ -548,8 +542,6 @@ export * from './get-stages-response';
548
542
  export * from './get-stages-response-data-inner';
549
543
  export * from './get-subscription-addons-response';
550
544
  export * from './get-subscription-addons-response-all-of';
551
- export * from './get-subscriptions-id-response';
552
- export * from './get-subscriptions-id-response-data';
553
545
  export * from './get-task-response';
554
546
  export * from './get-tasks-response';
555
547
  export * from './get-team-response';
@@ -732,7 +724,6 @@ export * from './stage';
732
724
  export * from './stage-with-pipeline-info';
733
725
  export * from './sub-role';
734
726
  export * from './sub-role-all-of';
735
- export * from './subscription-item';
736
727
  export * from './task-response-object';
737
728
  export * from './task-response-object-all-of';
738
729
  export * from './team-id';
@@ -777,13 +768,11 @@ export * from './update-project-request1-all-of1';
777
768
  export * from './update-project-request1-all-of2';
778
769
  export * from './update-project-request2';
779
770
  export * from './update-project-response';
780
- export * from './update-recurring-subscription-request';
781
771
  export * from './update-role-response';
782
772
  export * from './update-role-response-all-of';
783
773
  export * from './update-role-response-data';
784
774
  export * from './update-stage-request';
785
775
  export * from './update-stage-request-all-of';
786
- export * from './update-subscription-installment-request';
787
776
  export * from './update-task-plan-item-response';
788
777
  export * from './update-task-response';
789
778
  export * from './update-team-request';
@@ -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
+ /**
13
+ * @type DealItemCustomFieldsValue
14
+ * @export
15
+ */
16
+ export type DealItemCustomFieldsValue = number | string | {
17
+ [key: string]: any | undefined;
18
+ };
@@ -0,0 +1,14 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Pipedrive API v2
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: 2.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ export {};
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { DealItemCustomFieldsValue } from './deal-item-custom-fields-value';
12
13
  /**
13
14
  *
14
15
  * @export
@@ -165,4 +166,11 @@ export interface DealItem {
165
166
  * @type {number}
166
167
  */
167
168
  'acv'?: number | null;
169
+ /**
170
+ * A map of custom fields with hash-based keys
171
+ * @type {{ [key: string]: DealItemCustomFieldsValue | undefined; }}
172
+ */
173
+ 'custom_fields'?: {
174
+ [key: string]: DealItemCustomFieldsValue | undefined;
175
+ };
168
176
  }
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { DealItemCustomFieldsValue } from './deal-item-custom-fields-value';
12
13
  /**
13
14
  * The deal object
14
15
  * @export
@@ -165,4 +166,11 @@ export interface DealItem1 {
165
166
  * @type {number}
166
167
  */
167
168
  'acv'?: number | null;
169
+ /**
170
+ * A map of custom fields with hash-based keys
171
+ * @type {{ [key: string]: DealItemCustomFieldsValue | undefined; }}
172
+ */
173
+ 'custom_fields'?: {
174
+ [key: string]: DealItemCustomFieldsValue | undefined;
175
+ };
168
176
  }
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { DealItemCustomFieldsValue } from './deal-item-custom-fields-value';
12
13
  import { GetPersonsResponseAllOfDataInnerEmailsInner } from './get-persons-response-all-of-data-inner-emails-inner';
13
14
  import { GetPersonsResponseAllOfDataInnerImInner } from './get-persons-response-all-of-data-inner-im-inner';
14
15
  import { GetPersonsResponseAllOfDataInnerPhonesInner } from './get-persons-response-all-of-data-inner-phones-inner';
@@ -114,4 +115,11 @@ export interface GetPersonsResponseAllOfDataInner {
114
115
  * @type {string}
115
116
  */
116
117
  'job_title'?: string;
118
+ /**
119
+ * A map of custom fields with hash-based keys
120
+ * @type {{ [key: string]: DealItemCustomFieldsValue | undefined; }}
121
+ */
122
+ 'custom_fields'?: {
123
+ [key: string]: DealItemCustomFieldsValue | undefined;
124
+ };
117
125
  }
@@ -33,6 +33,7 @@ export * from './base-response';
33
33
  export * from './convert-lead-to-deal-request';
34
34
  export * from './deal-item';
35
35
  export * from './deal-item1';
36
+ export * from './deal-item-custom-fields-value';
36
37
  export * from './deal-product-request-body';
37
38
  export * from './deal-product-request-body1';
38
39
  export * from './delete-activity-response';
@@ -33,6 +33,7 @@ export * from './base-response';
33
33
  export * from './convert-lead-to-deal-request';
34
34
  export * from './deal-item';
35
35
  export * from './deal-item1';
36
+ export * from './deal-item-custom-fields-value';
36
37
  export * from './deal-product-request-body';
37
38
  export * from './deal-product-request-body1';
38
39
  export * from './delete-activity-response';
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { DealItemCustomFieldsValue } from './deal-item-custom-fields-value';
12
13
  import { OrganizationItemAddress } from './organization-item-address';
13
14
  /**
14
15
  *
@@ -61,4 +62,11 @@ export interface OrganizationItem {
61
62
  * @type {Array<number>}
62
63
  */
63
64
  'label_ids'?: Array<number>;
65
+ /**
66
+ * A map of custom fields with hash-based keys
67
+ * @type {{ [key: string]: DealItemCustomFieldsValue | undefined; }}
68
+ */
69
+ 'custom_fields'?: {
70
+ [key: string]: DealItemCustomFieldsValue | undefined;
71
+ };
64
72
  }
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { DealItemCustomFieldsValue } from './deal-item-custom-fields-value';
12
13
  import { OrganizationItemAddress } from './organization-item-address';
13
14
  /**
14
15
  * The organization object
@@ -61,4 +62,11 @@ export interface OrganizationItem1 {
61
62
  * @type {Array<number>}
62
63
  */
63
64
  'label_ids'?: Array<number>;
65
+ /**
66
+ * A map of custom fields with hash-based keys
67
+ * @type {{ [key: string]: DealItemCustomFieldsValue | undefined; }}
68
+ */
69
+ 'custom_fields'?: {
70
+ [key: string]: DealItemCustomFieldsValue | undefined;
71
+ };
64
72
  }
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { DealItemCustomFieldsValue } from './deal-item-custom-fields-value';
12
13
  import { GetPersonsResponseAllOfDataInnerEmailsInner } from './get-persons-response-all-of-data-inner-emails-inner';
13
14
  import { GetPersonsResponseAllOfDataInnerImInner } from './get-persons-response-all-of-data-inner-im-inner';
14
15
  import { GetPersonsResponseAllOfDataInnerPhonesInner } from './get-persons-response-all-of-data-inner-phones-inner';
@@ -114,4 +115,11 @@ export interface UpsertPersonResponseDataData {
114
115
  * @type {string}
115
116
  */
116
117
  'job_title'?: string;
118
+ /**
119
+ * A map of custom fields with hash-based keys
120
+ * @type {{ [key: string]: DealItemCustomFieldsValue | undefined; }}
121
+ */
122
+ 'custom_fields'?: {
123
+ [key: string]: DealItemCustomFieldsValue | undefined;
124
+ };
117
125
  }
@@ -409,7 +409,7 @@ export declare class SubscriptionsApi extends BaseAPI {
409
409
  * @throws {RequiredError}
410
410
  * @memberof SubscriptionsApi
411
411
  */
412
- addRecurringSubscription(requestParameters?: SubscriptionsApiAddRecurringSubscriptionRequest): Promise<GetSubscriptionsIdResponse>;
412
+ addRecurringSubscription(requestParameters?: SubscriptionsApiAddRecurringSubscriptionRequest): Promise<any>;
413
413
  /**
414
414
  * Adds a new installment subscription.
415
415
  * @summary Add an installment subscription
@@ -418,7 +418,7 @@ export declare class SubscriptionsApi extends BaseAPI {
418
418
  * @throws {RequiredError}
419
419
  * @memberof SubscriptionsApi
420
420
  */
421
- addSubscriptionInstallment(requestParameters?: SubscriptionsApiAddSubscriptionInstallmentRequest): Promise<GetSubscriptionsIdResponse>;
421
+ addSubscriptionInstallment(requestParameters?: SubscriptionsApiAddSubscriptionInstallmentRequest): Promise<any>;
422
422
  /**
423
423
  * Cancels a recurring subscription.
424
424
  * @summary Cancel a recurring subscription
@@ -427,7 +427,7 @@ export declare class SubscriptionsApi extends BaseAPI {
427
427
  * @throws {RequiredError}
428
428
  * @memberof SubscriptionsApi
429
429
  */
430
- cancelRecurringSubscription(requestParameters: SubscriptionsApiCancelRecurringSubscriptionRequest): Promise<GetSubscriptionsIdResponse>;
430
+ cancelRecurringSubscription(requestParameters: SubscriptionsApiCancelRecurringSubscriptionRequest): Promise<any>;
431
431
  /**
432
432
  * Marks an installment or a recurring subscription as deleted.
433
433
  * @summary Delete a subscription
@@ -436,7 +436,7 @@ export declare class SubscriptionsApi extends BaseAPI {
436
436
  * @throws {RequiredError}
437
437
  * @memberof SubscriptionsApi
438
438
  */
439
- deleteSubscription(requestParameters: SubscriptionsApiDeleteSubscriptionRequest): Promise<GetSubscriptionsIdResponse>;
439
+ deleteSubscription(requestParameters: SubscriptionsApiDeleteSubscriptionRequest): Promise<any>;
440
440
  /**
441
441
  * Returns details of an installment or a recurring subscription by the deal ID.
442
442
  * @summary Find subscription by deal
@@ -445,7 +445,7 @@ export declare class SubscriptionsApi extends BaseAPI {
445
445
  * @throws {RequiredError}
446
446
  * @memberof SubscriptionsApi
447
447
  */
448
- findSubscriptionByDeal(requestParameters: SubscriptionsApiFindSubscriptionByDealRequest): Promise<GetSubscriptionsIdResponse>;
448
+ findSubscriptionByDeal(requestParameters: SubscriptionsApiFindSubscriptionByDealRequest): Promise<any>;
449
449
  /**
450
450
  * Returns details of an installment or a recurring subscription.
451
451
  * @summary Get details of a subscription
@@ -454,7 +454,7 @@ export declare class SubscriptionsApi extends BaseAPI {
454
454
  * @throws {RequiredError}
455
455
  * @memberof SubscriptionsApi
456
456
  */
457
- getSubscription(requestParameters: SubscriptionsApiGetSubscriptionRequest): Promise<GetSubscriptionsIdResponse>;
457
+ getSubscription(requestParameters: SubscriptionsApiGetSubscriptionRequest): Promise<any>;
458
458
  /**
459
459
  * Returns all payments of an installment or recurring subscription.
460
460
  * @summary Get all payments of a subscription
@@ -463,7 +463,7 @@ export declare class SubscriptionsApi extends BaseAPI {
463
463
  * @throws {RequiredError}
464
464
  * @memberof SubscriptionsApi
465
465
  */
466
- getSubscriptionPayments(requestParameters: SubscriptionsApiGetSubscriptionPaymentsRequest): Promise<GetPaymentsResponse>;
466
+ getSubscriptionPayments(requestParameters: SubscriptionsApiGetSubscriptionPaymentsRequest): Promise<any>;
467
467
  /**
468
468
  * Updates a recurring subscription.
469
469
  * @summary Update a recurring subscription
@@ -472,7 +472,7 @@ export declare class SubscriptionsApi extends BaseAPI {
472
472
  * @throws {RequiredError}
473
473
  * @memberof SubscriptionsApi
474
474
  */
475
- updateRecurringSubscription(requestParameters: SubscriptionsApiUpdateRecurringSubscriptionRequest): Promise<GetSubscriptionsIdResponse>;
475
+ updateRecurringSubscription(requestParameters: SubscriptionsApiUpdateRecurringSubscriptionRequest): Promise<any>;
476
476
  /**
477
477
  * Updates an installment subscription.
478
478
  * @summary Update an installment subscription
@@ -481,5 +481,5 @@ export declare class SubscriptionsApi extends BaseAPI {
481
481
  * @throws {RequiredError}
482
482
  * @memberof SubscriptionsApi
483
483
  */
484
- updateSubscriptionInstallment(requestParameters: SubscriptionsApiUpdateSubscriptionInstallmentRequest): Promise<GetSubscriptionsIdResponse>;
484
+ updateSubscriptionInstallment(requestParameters: SubscriptionsApiUpdateSubscriptionInstallmentRequest): Promise<any>;
485
485
  }
@@ -44,7 +44,6 @@ export * from './api/projects-api';
44
44
  export * from './api/recents-api';
45
45
  export * from './api/roles-api';
46
46
  export * from './api/stages-api';
47
- export * from './api/subscriptions-api';
48
47
  export * from './api/tasks-api';
49
48
  export * from './api/user-connections-api';
50
49
  export * from './api/user-settings-api';
@@ -62,7 +62,6 @@ __exportStar(require("./api/projects-api"), exports);
62
62
  __exportStar(require("./api/recents-api"), exports);
63
63
  __exportStar(require("./api/roles-api"), exports);
64
64
  __exportStar(require("./api/stages-api"), exports);
65
- __exportStar(require("./api/subscriptions-api"), exports);
66
65
  __exportStar(require("./api/tasks-api"), exports);
67
66
  __exportStar(require("./api/user-connections-api"), exports);
68
67
  __exportStar(require("./api/user-settings-api"), exports);
@@ -78,7 +78,6 @@ export * from './add-product-request-all-of2';
78
78
  export * from './add-project-request';
79
79
  export * from './add-project-request-all-of';
80
80
  export * from './add-project-response';
81
- export * from './add-recurring-subscription-request';
82
81
  export * from './add-remote-file-and-link-it-to-item-response';
83
82
  export * from './add-role-assignment-request';
84
83
  export * from './add-role-assignment-response';
@@ -89,7 +88,6 @@ export * from './add-roles-response';
89
88
  export * from './add-roles-response-all-of';
90
89
  export * from './add-roles-response-data';
91
90
  export * from './add-stage-request';
92
- export * from './add-subscription-installment-request';
93
91
  export * from './add-task-request';
94
92
  export * from './add-task-response';
95
93
  export * from './add-team-request';
@@ -138,7 +136,6 @@ export * from './call-log-forbidden-response';
138
136
  export * from './call-log-gone-response';
139
137
  export * from './call-log-internal-error-response';
140
138
  export * from './call-log-not-found-response';
141
- export * from './cancel-recurring-subscription-request';
142
139
  export * from './comment';
143
140
  export * from './comment-post-put-object';
144
141
  export * from './create-field-request';
@@ -438,9 +435,6 @@ export * from './get-organizations-response';
438
435
  export * from './get-organizations-response-all-of';
439
436
  export * from './get-organizations-response-all-of-related-objects';
440
437
  export * from './get-participants-changelog-response';
441
- export * from './get-payments-response';
442
- export * from './get-payments-response-all-of';
443
- export * from './get-payments-response-all-of-data-inner';
444
438
  export * from './get-permission-set-response';
445
439
  export * from './get-permission-set-response-all-of';
446
440
  export * from './get-permission-sets-response';
@@ -548,8 +542,6 @@ export * from './get-stages-response';
548
542
  export * from './get-stages-response-data-inner';
549
543
  export * from './get-subscription-addons-response';
550
544
  export * from './get-subscription-addons-response-all-of';
551
- export * from './get-subscriptions-id-response';
552
- export * from './get-subscriptions-id-response-data';
553
545
  export * from './get-task-response';
554
546
  export * from './get-tasks-response';
555
547
  export * from './get-team-response';
@@ -732,7 +724,6 @@ export * from './stage';
732
724
  export * from './stage-with-pipeline-info';
733
725
  export * from './sub-role';
734
726
  export * from './sub-role-all-of';
735
- export * from './subscription-item';
736
727
  export * from './task-response-object';
737
728
  export * from './task-response-object-all-of';
738
729
  export * from './team-id';
@@ -777,13 +768,11 @@ export * from './update-project-request1-all-of1';
777
768
  export * from './update-project-request1-all-of2';
778
769
  export * from './update-project-request2';
779
770
  export * from './update-project-response';
780
- export * from './update-recurring-subscription-request';
781
771
  export * from './update-role-response';
782
772
  export * from './update-role-response-all-of';
783
773
  export * from './update-role-response-data';
784
774
  export * from './update-stage-request';
785
775
  export * from './update-stage-request-all-of';
786
- export * from './update-subscription-installment-request';
787
776
  export * from './update-task-plan-item-response';
788
777
  export * from './update-task-response';
789
778
  export * from './update-team-request';
@@ -94,7 +94,6 @@ __exportStar(require("./add-product-request-all-of2"), exports);
94
94
  __exportStar(require("./add-project-request"), exports);
95
95
  __exportStar(require("./add-project-request-all-of"), exports);
96
96
  __exportStar(require("./add-project-response"), exports);
97
- __exportStar(require("./add-recurring-subscription-request"), exports);
98
97
  __exportStar(require("./add-remote-file-and-link-it-to-item-response"), exports);
99
98
  __exportStar(require("./add-role-assignment-request"), exports);
100
99
  __exportStar(require("./add-role-assignment-response"), exports);
@@ -105,7 +104,6 @@ __exportStar(require("./add-roles-response"), exports);
105
104
  __exportStar(require("./add-roles-response-all-of"), exports);
106
105
  __exportStar(require("./add-roles-response-data"), exports);
107
106
  __exportStar(require("./add-stage-request"), exports);
108
- __exportStar(require("./add-subscription-installment-request"), exports);
109
107
  __exportStar(require("./add-task-request"), exports);
110
108
  __exportStar(require("./add-task-response"), exports);
111
109
  __exportStar(require("./add-team-request"), exports);
@@ -154,7 +152,6 @@ __exportStar(require("./call-log-forbidden-response"), exports);
154
152
  __exportStar(require("./call-log-gone-response"), exports);
155
153
  __exportStar(require("./call-log-internal-error-response"), exports);
156
154
  __exportStar(require("./call-log-not-found-response"), exports);
157
- __exportStar(require("./cancel-recurring-subscription-request"), exports);
158
155
  __exportStar(require("./comment"), exports);
159
156
  __exportStar(require("./comment-post-put-object"), exports);
160
157
  __exportStar(require("./create-field-request"), exports);
@@ -454,9 +451,6 @@ __exportStar(require("./get-organizations-response"), exports);
454
451
  __exportStar(require("./get-organizations-response-all-of"), exports);
455
452
  __exportStar(require("./get-organizations-response-all-of-related-objects"), exports);
456
453
  __exportStar(require("./get-participants-changelog-response"), exports);
457
- __exportStar(require("./get-payments-response"), exports);
458
- __exportStar(require("./get-payments-response-all-of"), exports);
459
- __exportStar(require("./get-payments-response-all-of-data-inner"), exports);
460
454
  __exportStar(require("./get-permission-set-response"), exports);
461
455
  __exportStar(require("./get-permission-set-response-all-of"), exports);
462
456
  __exportStar(require("./get-permission-sets-response"), exports);
@@ -564,8 +558,6 @@ __exportStar(require("./get-stages-response"), exports);
564
558
  __exportStar(require("./get-stages-response-data-inner"), exports);
565
559
  __exportStar(require("./get-subscription-addons-response"), exports);
566
560
  __exportStar(require("./get-subscription-addons-response-all-of"), exports);
567
- __exportStar(require("./get-subscriptions-id-response"), exports);
568
- __exportStar(require("./get-subscriptions-id-response-data"), exports);
569
561
  __exportStar(require("./get-task-response"), exports);
570
562
  __exportStar(require("./get-tasks-response"), exports);
571
563
  __exportStar(require("./get-team-response"), exports);
@@ -748,7 +740,6 @@ __exportStar(require("./stage"), exports);
748
740
  __exportStar(require("./stage-with-pipeline-info"), exports);
749
741
  __exportStar(require("./sub-role"), exports);
750
742
  __exportStar(require("./sub-role-all-of"), exports);
751
- __exportStar(require("./subscription-item"), exports);
752
743
  __exportStar(require("./task-response-object"), exports);
753
744
  __exportStar(require("./task-response-object-all-of"), exports);
754
745
  __exportStar(require("./team-id"), exports);
@@ -793,13 +784,11 @@ __exportStar(require("./update-project-request1-all-of1"), exports);
793
784
  __exportStar(require("./update-project-request1-all-of2"), exports);
794
785
  __exportStar(require("./update-project-request2"), exports);
795
786
  __exportStar(require("./update-project-response"), exports);
796
- __exportStar(require("./update-recurring-subscription-request"), exports);
797
787
  __exportStar(require("./update-role-response"), exports);
798
788
  __exportStar(require("./update-role-response-all-of"), exports);
799
789
  __exportStar(require("./update-role-response-data"), exports);
800
790
  __exportStar(require("./update-stage-request"), exports);
801
791
  __exportStar(require("./update-stage-request-all-of"), exports);
802
- __exportStar(require("./update-subscription-installment-request"), exports);
803
792
  __exportStar(require("./update-task-plan-item-response"), exports);
804
793
  __exportStar(require("./update-task-response"), exports);
805
794
  __exportStar(require("./update-team-request"), exports);
@@ -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
+ /**
13
+ * @type DealItemCustomFieldsValue
14
+ * @export
15
+ */
16
+ export type DealItemCustomFieldsValue = number | string | {
17
+ [key: string]: any | undefined;
18
+ };
@@ -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 { DealItemCustomFieldsValue } from './deal-item-custom-fields-value';
12
13
  /**
13
14
  *
14
15
  * @export
@@ -165,4 +166,11 @@ export interface DealItem {
165
166
  * @type {number}
166
167
  */
167
168
  'acv'?: number | null;
169
+ /**
170
+ * A map of custom fields with hash-based keys
171
+ * @type {{ [key: string]: DealItemCustomFieldsValue | undefined; }}
172
+ */
173
+ 'custom_fields'?: {
174
+ [key: string]: DealItemCustomFieldsValue | undefined;
175
+ };
168
176
  }
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { DealItemCustomFieldsValue } from './deal-item-custom-fields-value';
12
13
  /**
13
14
  * The deal object
14
15
  * @export
@@ -165,4 +166,11 @@ export interface DealItem1 {
165
166
  * @type {number}
166
167
  */
167
168
  'acv'?: number | null;
169
+ /**
170
+ * A map of custom fields with hash-based keys
171
+ * @type {{ [key: string]: DealItemCustomFieldsValue | undefined; }}
172
+ */
173
+ 'custom_fields'?: {
174
+ [key: string]: DealItemCustomFieldsValue | undefined;
175
+ };
168
176
  }
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { DealItemCustomFieldsValue } from './deal-item-custom-fields-value';
12
13
  import { GetPersonsResponseAllOfDataInnerEmailsInner } from './get-persons-response-all-of-data-inner-emails-inner';
13
14
  import { GetPersonsResponseAllOfDataInnerImInner } from './get-persons-response-all-of-data-inner-im-inner';
14
15
  import { GetPersonsResponseAllOfDataInnerPhonesInner } from './get-persons-response-all-of-data-inner-phones-inner';
@@ -114,4 +115,11 @@ export interface GetPersonsResponseAllOfDataInner {
114
115
  * @type {string}
115
116
  */
116
117
  'job_title'?: string;
118
+ /**
119
+ * A map of custom fields with hash-based keys
120
+ * @type {{ [key: string]: DealItemCustomFieldsValue | undefined; }}
121
+ */
122
+ 'custom_fields'?: {
123
+ [key: string]: DealItemCustomFieldsValue | undefined;
124
+ };
117
125
  }
@@ -33,6 +33,7 @@ export * from './base-response';
33
33
  export * from './convert-lead-to-deal-request';
34
34
  export * from './deal-item';
35
35
  export * from './deal-item1';
36
+ export * from './deal-item-custom-fields-value';
36
37
  export * from './deal-product-request-body';
37
38
  export * from './deal-product-request-body1';
38
39
  export * from './delete-activity-response';
@@ -49,6 +49,7 @@ __exportStar(require("./base-response"), exports);
49
49
  __exportStar(require("./convert-lead-to-deal-request"), exports);
50
50
  __exportStar(require("./deal-item"), exports);
51
51
  __exportStar(require("./deal-item1"), exports);
52
+ __exportStar(require("./deal-item-custom-fields-value"), exports);
52
53
  __exportStar(require("./deal-product-request-body"), exports);
53
54
  __exportStar(require("./deal-product-request-body1"), exports);
54
55
  __exportStar(require("./delete-activity-response"), exports);
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { DealItemCustomFieldsValue } from './deal-item-custom-fields-value';
12
13
  import { OrganizationItemAddress } from './organization-item-address';
13
14
  /**
14
15
  *
@@ -61,4 +62,11 @@ export interface OrganizationItem {
61
62
  * @type {Array<number>}
62
63
  */
63
64
  'label_ids'?: Array<number>;
65
+ /**
66
+ * A map of custom fields with hash-based keys
67
+ * @type {{ [key: string]: DealItemCustomFieldsValue | undefined; }}
68
+ */
69
+ 'custom_fields'?: {
70
+ [key: string]: DealItemCustomFieldsValue | undefined;
71
+ };
64
72
  }
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { DealItemCustomFieldsValue } from './deal-item-custom-fields-value';
12
13
  import { OrganizationItemAddress } from './organization-item-address';
13
14
  /**
14
15
  * The organization object
@@ -61,4 +62,11 @@ export interface OrganizationItem1 {
61
62
  * @type {Array<number>}
62
63
  */
63
64
  'label_ids'?: Array<number>;
65
+ /**
66
+ * A map of custom fields with hash-based keys
67
+ * @type {{ [key: string]: DealItemCustomFieldsValue | undefined; }}
68
+ */
69
+ 'custom_fields'?: {
70
+ [key: string]: DealItemCustomFieldsValue | undefined;
71
+ };
64
72
  }
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { DealItemCustomFieldsValue } from './deal-item-custom-fields-value';
12
13
  import { GetPersonsResponseAllOfDataInnerEmailsInner } from './get-persons-response-all-of-data-inner-emails-inner';
13
14
  import { GetPersonsResponseAllOfDataInnerImInner } from './get-persons-response-all-of-data-inner-im-inner';
14
15
  import { GetPersonsResponseAllOfDataInnerPhonesInner } from './get-persons-response-all-of-data-inner-phones-inner';
@@ -114,4 +115,11 @@ export interface UpsertPersonResponseDataData {
114
115
  * @type {string}
115
116
  */
116
117
  'job_title'?: string;
118
+ /**
119
+ * A map of custom fields with hash-based keys
120
+ * @type {{ [key: string]: DealItemCustomFieldsValue | undefined; }}
121
+ */
122
+ 'custom_fields'?: {
123
+ [key: string]: DealItemCustomFieldsValue | undefined;
124
+ };
117
125
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pipedrive",
3
- "version": "28.0.1",
3
+ "version": "29.0.0",
4
4
  "description": "Pipedrive REST client for NodeJS",
5
5
  "license": "MIT",
6
6
  "homepage": "https://developers.pipedrive.com",