pipedrive 28.0.0 → 28.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (25) hide show
  1. package/dist/esm/versions/v2/models/add-deal-request.d.ts +0 -15
  2. package/dist/esm/versions/v2/models/deal-item-custom-fields-value.d.ts +18 -0
  3. package/dist/esm/versions/v2/models/deal-item-custom-fields-value.js +14 -0
  4. package/dist/esm/versions/v2/models/deal-item.d.ts +8 -0
  5. package/dist/esm/versions/v2/models/deal-item1.d.ts +8 -0
  6. package/dist/esm/versions/v2/models/get-persons-response-all-of-data-inner.d.ts +8 -0
  7. package/dist/esm/versions/v2/models/index.d.ts +1 -0
  8. package/dist/esm/versions/v2/models/index.js +1 -0
  9. package/dist/esm/versions/v2/models/organization-item.d.ts +8 -0
  10. package/dist/esm/versions/v2/models/organization-item1.d.ts +8 -0
  11. package/dist/esm/versions/v2/models/update-deal-request.d.ts +0 -15
  12. package/dist/esm/versions/v2/models/upsert-person-response-data-data.d.ts +8 -0
  13. package/dist/versions/v2/models/add-deal-request.d.ts +0 -15
  14. package/dist/versions/v2/models/deal-item-custom-fields-value.d.ts +18 -0
  15. package/dist/versions/v2/models/deal-item-custom-fields-value.js +15 -0
  16. package/dist/versions/v2/models/deal-item.d.ts +8 -0
  17. package/dist/versions/v2/models/deal-item1.d.ts +8 -0
  18. package/dist/versions/v2/models/get-persons-response-all-of-data-inner.d.ts +8 -0
  19. package/dist/versions/v2/models/index.d.ts +1 -0
  20. package/dist/versions/v2/models/index.js +1 -0
  21. package/dist/versions/v2/models/organization-item.d.ts +8 -0
  22. package/dist/versions/v2/models/organization-item1.d.ts +8 -0
  23. package/dist/versions/v2/models/update-deal-request.d.ts +0 -15
  24. package/dist/versions/v2/models/upsert-person-response-data-data.d.ts +8 -0
  25. package/package.json +1 -1
@@ -56,21 +56,6 @@ export interface AddDealRequest {
56
56
  */
57
57
  'currency'?: string;
58
58
  /**
59
- * The creation date and time of the deal
60
- * @type {string}
61
- */
62
- 'add_time'?: string;
63
- /**
64
- * The last updated date and time of the deal
65
- * @type {string}
66
- */
67
- 'update_time'?: string;
68
- /**
69
- * The last updated date and time of the deal stage
70
- * @type {string}
71
- */
72
- 'stage_change_time'?: string;
73
- /**
74
59
  * Whether the deal is deleted or not
75
60
  * @type {boolean}
76
61
  */
@@ -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
  }
@@ -56,21 +56,6 @@ export interface UpdateDealRequest {
56
56
  */
57
57
  'currency'?: string;
58
58
  /**
59
- * The creation date and time of the deal
60
- * @type {string}
61
- */
62
- 'add_time'?: string;
63
- /**
64
- * The last updated date and time of the deal
65
- * @type {string}
66
- */
67
- 'update_time'?: string;
68
- /**
69
- * The last updated date and time of the deal stage
70
- * @type {string}
71
- */
72
- 'stage_change_time'?: string;
73
- /**
74
59
  * Whether the deal is deleted or not
75
60
  * @type {boolean}
76
61
  */
@@ -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
  }
@@ -56,21 +56,6 @@ export interface AddDealRequest {
56
56
  */
57
57
  'currency'?: string;
58
58
  /**
59
- * The creation date and time of the deal
60
- * @type {string}
61
- */
62
- 'add_time'?: string;
63
- /**
64
- * The last updated date and time of the deal
65
- * @type {string}
66
- */
67
- 'update_time'?: string;
68
- /**
69
- * The last updated date and time of the deal stage
70
- * @type {string}
71
- */
72
- 'stage_change_time'?: string;
73
- /**
74
59
  * Whether the deal is deleted or not
75
60
  * @type {boolean}
76
61
  */
@@ -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
  }
@@ -56,21 +56,6 @@ export interface UpdateDealRequest {
56
56
  */
57
57
  'currency'?: string;
58
58
  /**
59
- * The creation date and time of the deal
60
- * @type {string}
61
- */
62
- 'add_time'?: string;
63
- /**
64
- * The last updated date and time of the deal
65
- * @type {string}
66
- */
67
- 'update_time'?: string;
68
- /**
69
- * The last updated date and time of the deal stage
70
- * @type {string}
71
- */
72
- 'stage_change_time'?: string;
73
- /**
74
59
  * Whether the deal is deleted or not
75
60
  * @type {boolean}
76
61
  */
@@ -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.0",
3
+ "version": "28.0.2",
4
4
  "description": "Pipedrive REST client for NodeJS",
5
5
  "license": "MIT",
6
6
  "homepage": "https://developers.pipedrive.com",