pipedrive 33.8.0 → 33.9.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 (49) hide show
  1. package/dist/esm/versions/v1/models/deal-all-of-creator-user-id.d.ts +2 -2
  2. package/dist/esm/versions/v1/models/get-associated-product-files-response-all-of.d.ts +1 -1
  3. package/dist/esm/versions/v2/models/activity-item-location.d.ts +68 -0
  4. package/dist/esm/versions/v2/models/activity-item-location.js +14 -0
  5. package/dist/esm/versions/v2/models/activity-item.d.ts +11 -11
  6. package/dist/esm/versions/v2/models/add-organization-request.d.ts +1 -1
  7. package/dist/esm/versions/v2/models/add-person-request.d.ts +1 -1
  8. package/dist/esm/versions/v2/models/deal.d.ts +1 -1
  9. package/dist/esm/versions/v2/models/get-activities-response-all-of-additional-data.d.ts +1 -1
  10. package/dist/esm/versions/v2/models/get-deal-search-response-all-of-data-items-inner-item.d.ts +1 -1
  11. package/dist/esm/versions/v2/models/get-deals-products-response-additional-data.d.ts +1 -1
  12. package/dist/esm/versions/v2/models/get-organization-search-response-all-of-data-items-inner-item.d.ts +1 -1
  13. package/dist/esm/versions/v2/models/get-product-search-response-all-of-data-items-inner-item.d.ts +2 -2
  14. package/dist/esm/versions/v2/models/index.d.ts +1 -0
  15. package/dist/esm/versions/v2/models/index.js +1 -0
  16. package/dist/esm/versions/v2/models/lead-search-item-item.d.ts +1 -1
  17. package/dist/esm/versions/v2/models/organization-item-address.d.ts +9 -9
  18. package/dist/esm/versions/v2/models/organization-item.d.ts +2 -2
  19. package/dist/esm/versions/v2/models/person-item-address.d.ts +9 -9
  20. package/dist/esm/versions/v2/models/person.d.ts +3 -3
  21. package/dist/esm/versions/v2/models/stage-item.d.ts +1 -1
  22. package/dist/esm/versions/v2/models/stage-item1.d.ts +1 -1
  23. package/dist/esm/versions/v2/models/update-organization-request.d.ts +1 -1
  24. package/dist/esm/versions/v2/models/update-person-request.d.ts +1 -1
  25. package/dist/versions/v1/models/deal-all-of-creator-user-id.d.ts +2 -2
  26. package/dist/versions/v1/models/get-associated-product-files-response-all-of.d.ts +1 -1
  27. package/dist/versions/v2/models/activity-item-location.d.ts +68 -0
  28. package/dist/versions/v2/models/activity-item-location.js +15 -0
  29. package/dist/versions/v2/models/activity-item.d.ts +11 -11
  30. package/dist/versions/v2/models/add-organization-request.d.ts +1 -1
  31. package/dist/versions/v2/models/add-person-request.d.ts +1 -1
  32. package/dist/versions/v2/models/deal.d.ts +1 -1
  33. package/dist/versions/v2/models/get-activities-response-all-of-additional-data.d.ts +1 -1
  34. package/dist/versions/v2/models/get-deal-search-response-all-of-data-items-inner-item.d.ts +1 -1
  35. package/dist/versions/v2/models/get-deals-products-response-additional-data.d.ts +1 -1
  36. package/dist/versions/v2/models/get-organization-search-response-all-of-data-items-inner-item.d.ts +1 -1
  37. package/dist/versions/v2/models/get-product-search-response-all-of-data-items-inner-item.d.ts +2 -2
  38. package/dist/versions/v2/models/index.d.ts +1 -0
  39. package/dist/versions/v2/models/index.js +1 -0
  40. package/dist/versions/v2/models/lead-search-item-item.d.ts +1 -1
  41. package/dist/versions/v2/models/organization-item-address.d.ts +9 -9
  42. package/dist/versions/v2/models/organization-item.d.ts +2 -2
  43. package/dist/versions/v2/models/person-item-address.d.ts +9 -9
  44. package/dist/versions/v2/models/person.d.ts +3 -3
  45. package/dist/versions/v2/models/stage-item.d.ts +1 -1
  46. package/dist/versions/v2/models/stage-item1.d.ts +1 -1
  47. package/dist/versions/v2/models/update-organization-request.d.ts +1 -1
  48. package/dist/versions/v2/models/update-person-request.d.ts +1 -1
  49. package/package.json +1 -1
@@ -32,9 +32,9 @@ export interface DealAllOfCreatorUserId {
32
32
  'email'?: string;
33
33
  /**
34
34
  * If the creator has a picture or not
35
- * @type {boolean}
35
+ * @type {number}
36
36
  */
37
- 'has_pic'?: boolean;
37
+ 'has_pic'?: number;
38
38
  /**
39
39
  * The creator picture hash
40
40
  * @type {string}
@@ -21,7 +21,7 @@ export interface GetAssociatedProductFilesResponseAllOf {
21
21
  * The array of files
22
22
  * @type {Array<GetAssociatedProductFilesResponseAllOfDataInner>}
23
23
  */
24
- 'data': Array<GetAssociatedProductFilesResponseAllOfDataInner>;
24
+ 'data': Array<GetAssociatedProductFilesResponseAllOfDataInner> | null;
25
25
  /**
26
26
  *
27
27
  * @type {GetFieldsResponseAllOfAdditionalData}
@@ -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
+ * Location of the activity
14
+ * @export
15
+ * @interface ActivityItemLocation
16
+ */
17
+ export interface ActivityItemLocation {
18
+ /**
19
+ * The full address of the activity
20
+ * @type {string}
21
+ */
22
+ 'value'?: string;
23
+ /**
24
+ * Country of the activity
25
+ * @type {string}
26
+ */
27
+ 'country'?: string | null;
28
+ /**
29
+ * Admin area level 1 (e.g. state) of the activity
30
+ * @type {string}
31
+ */
32
+ 'admin_area_level_1'?: string | null;
33
+ /**
34
+ * Admin area level 2 (e.g. county) of the activity
35
+ * @type {string}
36
+ */
37
+ 'admin_area_level_2'?: string | null;
38
+ /**
39
+ * Locality (e.g. city) of the activity
40
+ * @type {string}
41
+ */
42
+ 'locality'?: string | null;
43
+ /**
44
+ * Sublocality (e.g. neighborhood) of the activity
45
+ * @type {string}
46
+ */
47
+ 'sublocality'?: string | null;
48
+ /**
49
+ * Route (e.g. street) of the activity
50
+ * @type {string}
51
+ */
52
+ 'route'?: string | null;
53
+ /**
54
+ * Street number of the activity
55
+ * @type {string}
56
+ */
57
+ 'street_number'?: string | null;
58
+ /**
59
+ * Subpremise (e.g. apartment/suite number) of the activity
60
+ * @type {string}
61
+ */
62
+ 'subpremise'?: string | null;
63
+ /**
64
+ * Postal code of the activity
65
+ * @type {string}
66
+ */
67
+ 'postal_code'?: string | null;
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,8 +9,8 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { ActivityItemLocation } from './activity-item-location';
12
13
  import { AddActivityRequestAttendeesInner } from './add-activity-request-attendees-inner';
13
- import { AddActivityRequestLocation } from './add-activity-request-location';
14
14
  import { AddActivityRequestParticipantsInner } from './add-activity-request-participants-inner';
15
15
  /**
16
16
  *
@@ -62,27 +62,27 @@ export interface ActivityItem {
62
62
  * The ID of the deal linked to the activity
63
63
  * @type {number}
64
64
  */
65
- 'deal_id'?: number;
65
+ 'deal_id'?: number | null;
66
66
  /**
67
67
  * The ID of the lead linked to the activity
68
68
  * @type {string}
69
69
  */
70
- 'lead_id'?: string;
70
+ 'lead_id'?: string | null;
71
71
  /**
72
72
  * The ID of the person linked to the activity
73
73
  * @type {number}
74
74
  */
75
- 'person_id'?: number;
75
+ 'person_id'?: number | null;
76
76
  /**
77
77
  * The ID of the organization linked to the activity
78
78
  * @type {number}
79
79
  */
80
- 'org_id'?: number;
80
+ 'org_id'?: number | null;
81
81
  /**
82
82
  * The ID of the project linked to the activity
83
83
  * @type {number}
84
84
  */
85
- 'project_id'?: number;
85
+ 'project_id'?: number | null;
86
86
  /**
87
87
  * The due date of the activity
88
88
  * @type {string}
@@ -92,12 +92,12 @@ export interface ActivityItem {
92
92
  * The due time of the activity
93
93
  * @type {string}
94
94
  */
95
- 'due_time'?: string;
95
+ 'due_time'?: string | null;
96
96
  /**
97
97
  * The duration of the activity
98
98
  * @type {string}
99
99
  */
100
- 'duration'?: string;
100
+ 'duration'?: string | null;
101
101
  /**
102
102
  * Whether the activity marks the assignee as busy or not in their calendar
103
103
  * @type {boolean}
@@ -112,12 +112,12 @@ export interface ActivityItem {
112
112
  * The date and time when the activity was marked as done
113
113
  * @type {string}
114
114
  */
115
- 'marked_as_done_time'?: string;
115
+ 'marked_as_done_time'?: string | null;
116
116
  /**
117
117
  *
118
- * @type {AddActivityRequestLocation}
118
+ * @type {ActivityItemLocation}
119
119
  */
120
- 'location'?: AddActivityRequestLocation;
120
+ 'location'?: ActivityItemLocation | null;
121
121
  /**
122
122
  * The participants of the activity
123
123
  * @type {Array<AddActivityRequestParticipantsInner>}
@@ -45,7 +45,7 @@ export interface AddOrganizationRequest {
45
45
  *
46
46
  * @type {OrganizationItemAddress}
47
47
  */
48
- 'address'?: OrganizationItemAddress;
48
+ 'address'?: OrganizationItemAddress | null;
49
49
  /**
50
50
  * The website of the organization
51
51
  * @type {string}
@@ -63,7 +63,7 @@ export interface AddPersonRequest {
63
63
  *
64
64
  * @type {PersonItemAddress}
65
65
  */
66
- 'postal_address'?: PersonItemAddress;
66
+ 'postal_address'?: PersonItemAddress | null;
67
67
  /**
68
68
  * Contact sync notes of the person, maximum 10 000 characters. Only accepted when contact sync is enabled for the company; otherwise the request returns 403.
69
69
  * @type {string}
@@ -69,7 +69,7 @@ export interface Deal {
69
69
  * The last updated date and time of the deal
70
70
  * @type {string}
71
71
  */
72
- 'update_time'?: string;
72
+ 'update_time'?: string | null;
73
73
  /**
74
74
  * The last updated date and time of the deal stage
75
75
  * @type {string}
@@ -19,5 +19,5 @@ export interface GetActivitiesResponseAllOfAdditionalData {
19
19
  * The first item on the next page. The value of the `next_cursor` field will be `null` if you have reached the end of the dataset and there’s no more pages to be returned.
20
20
  * @type {string}
21
21
  */
22
- 'next_cursor'?: string;
22
+ 'next_cursor'?: string | null;
23
23
  }
@@ -38,7 +38,7 @@ export interface GetDealSearchResponseAllOfDataItemsInnerItem {
38
38
  * The value of the deal
39
39
  * @type {number}
40
40
  */
41
- 'value'?: number;
41
+ 'value'?: number | null;
42
42
  /**
43
43
  * The currency of the deal
44
44
  * @type {string}
@@ -19,5 +19,5 @@ export interface GetDealsProductsResponseAdditionalData {
19
19
  * The first item on the next page. The value of the `next_cursor` field will be `null` if you have reached the end of the dataset and there’s no more pages to be returned.
20
20
  * @type {string}
21
21
  */
22
- 'next_cursor'?: string;
22
+ 'next_cursor'?: string | null;
23
23
  }
@@ -35,7 +35,7 @@ export interface GetOrganizationSearchResponseAllOfDataItemsInnerItem {
35
35
  * The address of the organization
36
36
  * @type {string}
37
37
  */
38
- 'address'?: string;
38
+ 'address'?: string | null;
39
39
  /**
40
40
  * The visibility of the organization
41
41
  * @type {number}
@@ -33,9 +33,9 @@ export interface GetProductSearchResponseAllOfDataItemsInnerItem {
33
33
  'name'?: string;
34
34
  /**
35
35
  * The code of the product
36
- * @type {number}
36
+ * @type {string}
37
37
  */
38
- 'code'?: number;
38
+ 'code'?: string | null;
39
39
  /**
40
40
  * The visibility of the product
41
41
  * @type {number}
@@ -1,4 +1,5 @@
1
1
  export * from './activity-item';
2
+ export * from './activity-item-location';
2
3
  export * from './add-ainstallment-response';
3
4
  export * from './add-activity-request';
4
5
  export * from './add-activity-request-attendees-inner';
@@ -1,4 +1,5 @@
1
1
  export * from './activity-item';
2
+ export * from './activity-item-location';
2
3
  export * from './add-ainstallment-response';
3
4
  export * from './add-activity-request';
4
5
  export * from './add-activity-request-attendees-inner';
@@ -42,7 +42,7 @@ export interface LeadSearchItemItem {
42
42
  *
43
43
  * @type {LeadSearchItemItemPerson}
44
44
  */
45
- 'person'?: LeadSearchItemItemPerson;
45
+ 'person'?: LeadSearchItemItemPerson | null;
46
46
  /**
47
47
  *
48
48
  * @type {LeadSearchItemItemOrganization}
@@ -24,45 +24,45 @@ export interface OrganizationItemAddress {
24
24
  * Country of the organization
25
25
  * @type {string}
26
26
  */
27
- 'country'?: string;
27
+ 'country'?: string | null;
28
28
  /**
29
29
  * Admin area level 1 (e.g. state) of the organization
30
30
  * @type {string}
31
31
  */
32
- 'admin_area_level_1'?: string;
32
+ 'admin_area_level_1'?: string | null;
33
33
  /**
34
34
  * Admin area level 2 (e.g. county) of the organization
35
35
  * @type {string}
36
36
  */
37
- 'admin_area_level_2'?: string;
37
+ 'admin_area_level_2'?: string | null;
38
38
  /**
39
39
  * Locality (e.g. city) of the organization
40
40
  * @type {string}
41
41
  */
42
- 'locality'?: string;
42
+ 'locality'?: string | null;
43
43
  /**
44
44
  * Sublocality (e.g. neighborhood) of the organization
45
45
  * @type {string}
46
46
  */
47
- 'sublocality'?: string;
47
+ 'sublocality'?: string | null;
48
48
  /**
49
49
  * Route (e.g. street) of the organization
50
50
  * @type {string}
51
51
  */
52
- 'route'?: string;
52
+ 'route'?: string | null;
53
53
  /**
54
54
  * Street number of the organization
55
55
  * @type {string}
56
56
  */
57
- 'street_number'?: string;
57
+ 'street_number'?: string | null;
58
58
  /**
59
59
  * Subpremise (e.g. apartment/suite number) of the organization
60
60
  * @type {string}
61
61
  */
62
- 'subpremise'?: string;
62
+ 'subpremise'?: string | null;
63
63
  /**
64
64
  * Postal code of the organization
65
65
  * @type {string}
66
66
  */
67
- 'postal_code'?: string;
67
+ 'postal_code'?: string | null;
68
68
  }
@@ -40,7 +40,7 @@ export interface OrganizationItem {
40
40
  * The last updated date and time of the organization
41
41
  * @type {string}
42
42
  */
43
- 'update_time'?: string;
43
+ 'update_time'?: string | null;
44
44
  /**
45
45
  * Whether the organization is deleted or not
46
46
  * @type {boolean}
@@ -55,7 +55,7 @@ export interface OrganizationItem {
55
55
  *
56
56
  * @type {OrganizationItemAddress}
57
57
  */
58
- 'address'?: OrganizationItemAddress;
58
+ 'address'?: OrganizationItemAddress | null;
59
59
  /**
60
60
  * The IDs of labels assigned to the organization
61
61
  * @type {Array<number>}
@@ -24,45 +24,45 @@ export interface PersonItemAddress {
24
24
  * Country of the person
25
25
  * @type {string}
26
26
  */
27
- 'country'?: string;
27
+ 'country'?: string | null;
28
28
  /**
29
29
  * Admin area level 1 (e.g. state) of the person
30
30
  * @type {string}
31
31
  */
32
- 'admin_area_level_1'?: string;
32
+ 'admin_area_level_1'?: string | null;
33
33
  /**
34
34
  * Admin area level 2 (e.g. county) of the person
35
35
  * @type {string}
36
36
  */
37
- 'admin_area_level_2'?: string;
37
+ 'admin_area_level_2'?: string | null;
38
38
  /**
39
39
  * Locality (e.g. city) of the person
40
40
  * @type {string}
41
41
  */
42
- 'locality'?: string;
42
+ 'locality'?: string | null;
43
43
  /**
44
44
  * Sublocality (e.g. neighborhood) of the person
45
45
  * @type {string}
46
46
  */
47
- 'sublocality'?: string;
47
+ 'sublocality'?: string | null;
48
48
  /**
49
49
  * Route (e.g. street) of the person
50
50
  * @type {string}
51
51
  */
52
- 'route'?: string;
52
+ 'route'?: string | null;
53
53
  /**
54
54
  * Street number of the person
55
55
  * @type {string}
56
56
  */
57
- 'street_number'?: string;
57
+ 'street_number'?: string | null;
58
58
  /**
59
59
  * Subpremise (e.g. apartment/suite number) of the person
60
60
  * @type {string}
61
61
  */
62
- 'subpremise'?: string;
62
+ 'subpremise'?: string | null;
63
63
  /**
64
64
  * Postal code of the person
65
65
  * @type {string}
66
66
  */
67
- 'postal_code'?: string;
67
+ 'postal_code'?: string | null;
68
68
  }
@@ -58,7 +58,7 @@ export interface Person {
58
58
  * The last updated date and time of the person
59
59
  * @type {string}
60
60
  */
61
- 'update_time'?: string;
61
+ 'update_time'?: string | null;
62
62
  /**
63
63
  * The emails of the person
64
64
  * @type {Array<PersonItemEmail>}
@@ -88,12 +88,12 @@ export interface Person {
88
88
  * The ID of the picture associated with the person
89
89
  * @type {number}
90
90
  */
91
- 'picture_id'?: number;
91
+ 'picture_id'?: number | null;
92
92
  /**
93
93
  *
94
94
  * @type {PersonItemAddress}
95
95
  */
96
- 'postal_address'?: PersonItemAddress;
96
+ 'postal_address'?: PersonItemAddress | null;
97
97
  /**
98
98
  * Contact sync notes of the person, maximum 10 000 characters, included if contact sync is enabled for the company
99
99
  * @type {string}
@@ -64,5 +64,5 @@ export interface StageItem {
64
64
  * The stage update time
65
65
  * @type {string}
66
66
  */
67
- 'update_time'?: string;
67
+ 'update_time'?: string | null;
68
68
  }
@@ -64,5 +64,5 @@ export interface StageItem1 {
64
64
  * The stage update time
65
65
  * @type {string}
66
66
  */
67
- 'update_time'?: string;
67
+ 'update_time'?: string | null;
68
68
  }
@@ -40,7 +40,7 @@ export interface UpdateOrganizationRequest {
40
40
  *
41
41
  * @type {OrganizationItemAddress}
42
42
  */
43
- 'address'?: OrganizationItemAddress;
43
+ 'address'?: OrganizationItemAddress | null;
44
44
  /**
45
45
  * The website of the organization
46
46
  * @type {string}
@@ -58,7 +58,7 @@ export interface UpdatePersonRequest {
58
58
  *
59
59
  * @type {PersonItemAddress}
60
60
  */
61
- 'postal_address'?: PersonItemAddress;
61
+ 'postal_address'?: PersonItemAddress | null;
62
62
  /**
63
63
  * Contact sync notes of the person, maximum 10 000 characters. Only accepted when contact sync is enabled for the company; otherwise the request returns 403.
64
64
  * @type {string}
@@ -32,9 +32,9 @@ export interface DealAllOfCreatorUserId {
32
32
  'email'?: string;
33
33
  /**
34
34
  * If the creator has a picture or not
35
- * @type {boolean}
35
+ * @type {number}
36
36
  */
37
- 'has_pic'?: boolean;
37
+ 'has_pic'?: number;
38
38
  /**
39
39
  * The creator picture hash
40
40
  * @type {string}
@@ -21,7 +21,7 @@ export interface GetAssociatedProductFilesResponseAllOf {
21
21
  * The array of files
22
22
  * @type {Array<GetAssociatedProductFilesResponseAllOfDataInner>}
23
23
  */
24
- 'data': Array<GetAssociatedProductFilesResponseAllOfDataInner>;
24
+ 'data': Array<GetAssociatedProductFilesResponseAllOfDataInner> | null;
25
25
  /**
26
26
  *
27
27
  * @type {GetFieldsResponseAllOfAdditionalData}
@@ -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
+ * Location of the activity
14
+ * @export
15
+ * @interface ActivityItemLocation
16
+ */
17
+ export interface ActivityItemLocation {
18
+ /**
19
+ * The full address of the activity
20
+ * @type {string}
21
+ */
22
+ 'value'?: string;
23
+ /**
24
+ * Country of the activity
25
+ * @type {string}
26
+ */
27
+ 'country'?: string | null;
28
+ /**
29
+ * Admin area level 1 (e.g. state) of the activity
30
+ * @type {string}
31
+ */
32
+ 'admin_area_level_1'?: string | null;
33
+ /**
34
+ * Admin area level 2 (e.g. county) of the activity
35
+ * @type {string}
36
+ */
37
+ 'admin_area_level_2'?: string | null;
38
+ /**
39
+ * Locality (e.g. city) of the activity
40
+ * @type {string}
41
+ */
42
+ 'locality'?: string | null;
43
+ /**
44
+ * Sublocality (e.g. neighborhood) of the activity
45
+ * @type {string}
46
+ */
47
+ 'sublocality'?: string | null;
48
+ /**
49
+ * Route (e.g. street) of the activity
50
+ * @type {string}
51
+ */
52
+ 'route'?: string | null;
53
+ /**
54
+ * Street number of the activity
55
+ * @type {string}
56
+ */
57
+ 'street_number'?: string | null;
58
+ /**
59
+ * Subpremise (e.g. apartment/suite number) of the activity
60
+ * @type {string}
61
+ */
62
+ 'subpremise'?: string | null;
63
+ /**
64
+ * Postal code of the activity
65
+ * @type {string}
66
+ */
67
+ 'postal_code'?: string | null;
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,8 +9,8 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { ActivityItemLocation } from './activity-item-location';
12
13
  import { AddActivityRequestAttendeesInner } from './add-activity-request-attendees-inner';
13
- import { AddActivityRequestLocation } from './add-activity-request-location';
14
14
  import { AddActivityRequestParticipantsInner } from './add-activity-request-participants-inner';
15
15
  /**
16
16
  *
@@ -62,27 +62,27 @@ export interface ActivityItem {
62
62
  * The ID of the deal linked to the activity
63
63
  * @type {number}
64
64
  */
65
- 'deal_id'?: number;
65
+ 'deal_id'?: number | null;
66
66
  /**
67
67
  * The ID of the lead linked to the activity
68
68
  * @type {string}
69
69
  */
70
- 'lead_id'?: string;
70
+ 'lead_id'?: string | null;
71
71
  /**
72
72
  * The ID of the person linked to the activity
73
73
  * @type {number}
74
74
  */
75
- 'person_id'?: number;
75
+ 'person_id'?: number | null;
76
76
  /**
77
77
  * The ID of the organization linked to the activity
78
78
  * @type {number}
79
79
  */
80
- 'org_id'?: number;
80
+ 'org_id'?: number | null;
81
81
  /**
82
82
  * The ID of the project linked to the activity
83
83
  * @type {number}
84
84
  */
85
- 'project_id'?: number;
85
+ 'project_id'?: number | null;
86
86
  /**
87
87
  * The due date of the activity
88
88
  * @type {string}
@@ -92,12 +92,12 @@ export interface ActivityItem {
92
92
  * The due time of the activity
93
93
  * @type {string}
94
94
  */
95
- 'due_time'?: string;
95
+ 'due_time'?: string | null;
96
96
  /**
97
97
  * The duration of the activity
98
98
  * @type {string}
99
99
  */
100
- 'duration'?: string;
100
+ 'duration'?: string | null;
101
101
  /**
102
102
  * Whether the activity marks the assignee as busy or not in their calendar
103
103
  * @type {boolean}
@@ -112,12 +112,12 @@ export interface ActivityItem {
112
112
  * The date and time when the activity was marked as done
113
113
  * @type {string}
114
114
  */
115
- 'marked_as_done_time'?: string;
115
+ 'marked_as_done_time'?: string | null;
116
116
  /**
117
117
  *
118
- * @type {AddActivityRequestLocation}
118
+ * @type {ActivityItemLocation}
119
119
  */
120
- 'location'?: AddActivityRequestLocation;
120
+ 'location'?: ActivityItemLocation | null;
121
121
  /**
122
122
  * The participants of the activity
123
123
  * @type {Array<AddActivityRequestParticipantsInner>}
@@ -45,7 +45,7 @@ export interface AddOrganizationRequest {
45
45
  *
46
46
  * @type {OrganizationItemAddress}
47
47
  */
48
- 'address'?: OrganizationItemAddress;
48
+ 'address'?: OrganizationItemAddress | null;
49
49
  /**
50
50
  * The website of the organization
51
51
  * @type {string}
@@ -63,7 +63,7 @@ export interface AddPersonRequest {
63
63
  *
64
64
  * @type {PersonItemAddress}
65
65
  */
66
- 'postal_address'?: PersonItemAddress;
66
+ 'postal_address'?: PersonItemAddress | null;
67
67
  /**
68
68
  * Contact sync notes of the person, maximum 10 000 characters. Only accepted when contact sync is enabled for the company; otherwise the request returns 403.
69
69
  * @type {string}
@@ -69,7 +69,7 @@ export interface Deal {
69
69
  * The last updated date and time of the deal
70
70
  * @type {string}
71
71
  */
72
- 'update_time'?: string;
72
+ 'update_time'?: string | null;
73
73
  /**
74
74
  * The last updated date and time of the deal stage
75
75
  * @type {string}
@@ -19,5 +19,5 @@ export interface GetActivitiesResponseAllOfAdditionalData {
19
19
  * The first item on the next page. The value of the `next_cursor` field will be `null` if you have reached the end of the dataset and there’s no more pages to be returned.
20
20
  * @type {string}
21
21
  */
22
- 'next_cursor'?: string;
22
+ 'next_cursor'?: string | null;
23
23
  }
@@ -38,7 +38,7 @@ export interface GetDealSearchResponseAllOfDataItemsInnerItem {
38
38
  * The value of the deal
39
39
  * @type {number}
40
40
  */
41
- 'value'?: number;
41
+ 'value'?: number | null;
42
42
  /**
43
43
  * The currency of the deal
44
44
  * @type {string}
@@ -19,5 +19,5 @@ export interface GetDealsProductsResponseAdditionalData {
19
19
  * The first item on the next page. The value of the `next_cursor` field will be `null` if you have reached the end of the dataset and there’s no more pages to be returned.
20
20
  * @type {string}
21
21
  */
22
- 'next_cursor'?: string;
22
+ 'next_cursor'?: string | null;
23
23
  }
@@ -35,7 +35,7 @@ export interface GetOrganizationSearchResponseAllOfDataItemsInnerItem {
35
35
  * The address of the organization
36
36
  * @type {string}
37
37
  */
38
- 'address'?: string;
38
+ 'address'?: string | null;
39
39
  /**
40
40
  * The visibility of the organization
41
41
  * @type {number}
@@ -33,9 +33,9 @@ export interface GetProductSearchResponseAllOfDataItemsInnerItem {
33
33
  'name'?: string;
34
34
  /**
35
35
  * The code of the product
36
- * @type {number}
36
+ * @type {string}
37
37
  */
38
- 'code'?: number;
38
+ 'code'?: string | null;
39
39
  /**
40
40
  * The visibility of the product
41
41
  * @type {number}
@@ -1,4 +1,5 @@
1
1
  export * from './activity-item';
2
+ export * from './activity-item-location';
2
3
  export * from './add-ainstallment-response';
3
4
  export * from './add-activity-request';
4
5
  export * from './add-activity-request-attendees-inner';
@@ -15,6 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./activity-item"), exports);
18
+ __exportStar(require("./activity-item-location"), exports);
18
19
  __exportStar(require("./add-ainstallment-response"), exports);
19
20
  __exportStar(require("./add-activity-request"), exports);
20
21
  __exportStar(require("./add-activity-request-attendees-inner"), exports);
@@ -42,7 +42,7 @@ export interface LeadSearchItemItem {
42
42
  *
43
43
  * @type {LeadSearchItemItemPerson}
44
44
  */
45
- 'person'?: LeadSearchItemItemPerson;
45
+ 'person'?: LeadSearchItemItemPerson | null;
46
46
  /**
47
47
  *
48
48
  * @type {LeadSearchItemItemOrganization}
@@ -24,45 +24,45 @@ export interface OrganizationItemAddress {
24
24
  * Country of the organization
25
25
  * @type {string}
26
26
  */
27
- 'country'?: string;
27
+ 'country'?: string | null;
28
28
  /**
29
29
  * Admin area level 1 (e.g. state) of the organization
30
30
  * @type {string}
31
31
  */
32
- 'admin_area_level_1'?: string;
32
+ 'admin_area_level_1'?: string | null;
33
33
  /**
34
34
  * Admin area level 2 (e.g. county) of the organization
35
35
  * @type {string}
36
36
  */
37
- 'admin_area_level_2'?: string;
37
+ 'admin_area_level_2'?: string | null;
38
38
  /**
39
39
  * Locality (e.g. city) of the organization
40
40
  * @type {string}
41
41
  */
42
- 'locality'?: string;
42
+ 'locality'?: string | null;
43
43
  /**
44
44
  * Sublocality (e.g. neighborhood) of the organization
45
45
  * @type {string}
46
46
  */
47
- 'sublocality'?: string;
47
+ 'sublocality'?: string | null;
48
48
  /**
49
49
  * Route (e.g. street) of the organization
50
50
  * @type {string}
51
51
  */
52
- 'route'?: string;
52
+ 'route'?: string | null;
53
53
  /**
54
54
  * Street number of the organization
55
55
  * @type {string}
56
56
  */
57
- 'street_number'?: string;
57
+ 'street_number'?: string | null;
58
58
  /**
59
59
  * Subpremise (e.g. apartment/suite number) of the organization
60
60
  * @type {string}
61
61
  */
62
- 'subpremise'?: string;
62
+ 'subpremise'?: string | null;
63
63
  /**
64
64
  * Postal code of the organization
65
65
  * @type {string}
66
66
  */
67
- 'postal_code'?: string;
67
+ 'postal_code'?: string | null;
68
68
  }
@@ -40,7 +40,7 @@ export interface OrganizationItem {
40
40
  * The last updated date and time of the organization
41
41
  * @type {string}
42
42
  */
43
- 'update_time'?: string;
43
+ 'update_time'?: string | null;
44
44
  /**
45
45
  * Whether the organization is deleted or not
46
46
  * @type {boolean}
@@ -55,7 +55,7 @@ export interface OrganizationItem {
55
55
  *
56
56
  * @type {OrganizationItemAddress}
57
57
  */
58
- 'address'?: OrganizationItemAddress;
58
+ 'address'?: OrganizationItemAddress | null;
59
59
  /**
60
60
  * The IDs of labels assigned to the organization
61
61
  * @type {Array<number>}
@@ -24,45 +24,45 @@ export interface PersonItemAddress {
24
24
  * Country of the person
25
25
  * @type {string}
26
26
  */
27
- 'country'?: string;
27
+ 'country'?: string | null;
28
28
  /**
29
29
  * Admin area level 1 (e.g. state) of the person
30
30
  * @type {string}
31
31
  */
32
- 'admin_area_level_1'?: string;
32
+ 'admin_area_level_1'?: string | null;
33
33
  /**
34
34
  * Admin area level 2 (e.g. county) of the person
35
35
  * @type {string}
36
36
  */
37
- 'admin_area_level_2'?: string;
37
+ 'admin_area_level_2'?: string | null;
38
38
  /**
39
39
  * Locality (e.g. city) of the person
40
40
  * @type {string}
41
41
  */
42
- 'locality'?: string;
42
+ 'locality'?: string | null;
43
43
  /**
44
44
  * Sublocality (e.g. neighborhood) of the person
45
45
  * @type {string}
46
46
  */
47
- 'sublocality'?: string;
47
+ 'sublocality'?: string | null;
48
48
  /**
49
49
  * Route (e.g. street) of the person
50
50
  * @type {string}
51
51
  */
52
- 'route'?: string;
52
+ 'route'?: string | null;
53
53
  /**
54
54
  * Street number of the person
55
55
  * @type {string}
56
56
  */
57
- 'street_number'?: string;
57
+ 'street_number'?: string | null;
58
58
  /**
59
59
  * Subpremise (e.g. apartment/suite number) of the person
60
60
  * @type {string}
61
61
  */
62
- 'subpremise'?: string;
62
+ 'subpremise'?: string | null;
63
63
  /**
64
64
  * Postal code of the person
65
65
  * @type {string}
66
66
  */
67
- 'postal_code'?: string;
67
+ 'postal_code'?: string | null;
68
68
  }
@@ -58,7 +58,7 @@ export interface Person {
58
58
  * The last updated date and time of the person
59
59
  * @type {string}
60
60
  */
61
- 'update_time'?: string;
61
+ 'update_time'?: string | null;
62
62
  /**
63
63
  * The emails of the person
64
64
  * @type {Array<PersonItemEmail>}
@@ -88,12 +88,12 @@ export interface Person {
88
88
  * The ID of the picture associated with the person
89
89
  * @type {number}
90
90
  */
91
- 'picture_id'?: number;
91
+ 'picture_id'?: number | null;
92
92
  /**
93
93
  *
94
94
  * @type {PersonItemAddress}
95
95
  */
96
- 'postal_address'?: PersonItemAddress;
96
+ 'postal_address'?: PersonItemAddress | null;
97
97
  /**
98
98
  * Contact sync notes of the person, maximum 10 000 characters, included if contact sync is enabled for the company
99
99
  * @type {string}
@@ -64,5 +64,5 @@ export interface StageItem {
64
64
  * The stage update time
65
65
  * @type {string}
66
66
  */
67
- 'update_time'?: string;
67
+ 'update_time'?: string | null;
68
68
  }
@@ -64,5 +64,5 @@ export interface StageItem1 {
64
64
  * The stage update time
65
65
  * @type {string}
66
66
  */
67
- 'update_time'?: string;
67
+ 'update_time'?: string | null;
68
68
  }
@@ -40,7 +40,7 @@ export interface UpdateOrganizationRequest {
40
40
  *
41
41
  * @type {OrganizationItemAddress}
42
42
  */
43
- 'address'?: OrganizationItemAddress;
43
+ 'address'?: OrganizationItemAddress | null;
44
44
  /**
45
45
  * The website of the organization
46
46
  * @type {string}
@@ -58,7 +58,7 @@ export interface UpdatePersonRequest {
58
58
  *
59
59
  * @type {PersonItemAddress}
60
60
  */
61
- 'postal_address'?: PersonItemAddress;
61
+ 'postal_address'?: PersonItemAddress | null;
62
62
  /**
63
63
  * Contact sync notes of the person, maximum 10 000 characters. Only accepted when contact sync is enabled for the company; otherwise the request returns 403.
64
64
  * @type {string}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pipedrive",
3
- "version": "33.8.0",
3
+ "version": "33.9.0",
4
4
  "description": "Pipedrive REST client for NodeJS",
5
5
  "license": "MIT",
6
6
  "homepage": "https://developers.pipedrive.com",