pipedrive 33.7.2 → 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 (55) 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/api/persons-api.d.ts +8 -8
  4. package/dist/esm/versions/v2/api/persons-api.js +8 -8
  5. package/dist/esm/versions/v2/models/activity-item-location.d.ts +68 -0
  6. package/dist/esm/versions/v2/models/activity-item-location.js +14 -0
  7. package/dist/esm/versions/v2/models/activity-item.d.ts +11 -11
  8. package/dist/esm/versions/v2/models/add-activity-request.d.ts +1 -6
  9. package/dist/esm/versions/v2/models/add-organization-request.d.ts +1 -1
  10. package/dist/esm/versions/v2/models/add-person-request.d.ts +6 -6
  11. package/dist/esm/versions/v2/models/deal.d.ts +1 -1
  12. package/dist/esm/versions/v2/models/get-activities-response-all-of-additional-data.d.ts +1 -1
  13. package/dist/esm/versions/v2/models/get-deal-search-response-all-of-data-items-inner-item.d.ts +1 -1
  14. package/dist/esm/versions/v2/models/get-deals-products-response-additional-data.d.ts +1 -1
  15. package/dist/esm/versions/v2/models/get-organization-search-response-all-of-data-items-inner-item.d.ts +1 -1
  16. package/dist/esm/versions/v2/models/get-product-search-response-all-of-data-items-inner-item.d.ts +2 -2
  17. package/dist/esm/versions/v2/models/index.d.ts +1 -0
  18. package/dist/esm/versions/v2/models/index.js +1 -0
  19. package/dist/esm/versions/v2/models/lead-search-item-item.d.ts +1 -1
  20. package/dist/esm/versions/v2/models/organization-item-address.d.ts +9 -9
  21. package/dist/esm/versions/v2/models/organization-item.d.ts +2 -2
  22. package/dist/esm/versions/v2/models/person-item-address.d.ts +9 -9
  23. package/dist/esm/versions/v2/models/person.d.ts +3 -3
  24. package/dist/esm/versions/v2/models/stage-item.d.ts +1 -1
  25. package/dist/esm/versions/v2/models/stage-item1.d.ts +1 -1
  26. package/dist/esm/versions/v2/models/update-organization-request.d.ts +1 -1
  27. package/dist/esm/versions/v2/models/update-person-request.d.ts +5 -5
  28. package/dist/versions/v1/models/deal-all-of-creator-user-id.d.ts +2 -2
  29. package/dist/versions/v1/models/get-associated-product-files-response-all-of.d.ts +1 -1
  30. package/dist/versions/v2/api/persons-api.d.ts +8 -8
  31. package/dist/versions/v2/api/persons-api.js +8 -8
  32. package/dist/versions/v2/models/activity-item-location.d.ts +68 -0
  33. package/dist/versions/v2/models/activity-item-location.js +15 -0
  34. package/dist/versions/v2/models/activity-item.d.ts +11 -11
  35. package/dist/versions/v2/models/add-activity-request.d.ts +1 -6
  36. package/dist/versions/v2/models/add-organization-request.d.ts +1 -1
  37. package/dist/versions/v2/models/add-person-request.d.ts +6 -6
  38. package/dist/versions/v2/models/deal.d.ts +1 -1
  39. package/dist/versions/v2/models/get-activities-response-all-of-additional-data.d.ts +1 -1
  40. package/dist/versions/v2/models/get-deal-search-response-all-of-data-items-inner-item.d.ts +1 -1
  41. package/dist/versions/v2/models/get-deals-products-response-additional-data.d.ts +1 -1
  42. package/dist/versions/v2/models/get-organization-search-response-all-of-data-items-inner-item.d.ts +1 -1
  43. package/dist/versions/v2/models/get-product-search-response-all-of-data-items-inner-item.d.ts +2 -2
  44. package/dist/versions/v2/models/index.d.ts +1 -0
  45. package/dist/versions/v2/models/index.js +1 -0
  46. package/dist/versions/v2/models/lead-search-item-item.d.ts +1 -1
  47. package/dist/versions/v2/models/organization-item-address.d.ts +9 -9
  48. package/dist/versions/v2/models/organization-item.d.ts +2 -2
  49. package/dist/versions/v2/models/person-item-address.d.ts +9 -9
  50. package/dist/versions/v2/models/person.d.ts +3 -3
  51. package/dist/versions/v2/models/stage-item.d.ts +1 -1
  52. package/dist/versions/v2/models/stage-item1.d.ts +1 -1
  53. package/dist/versions/v2/models/update-organization-request.d.ts +1 -1
  54. package/dist/versions/v2/models/update-person-request.d.ts +5 -5
  55. package/package.json +1 -1
@@ -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,24 +58,24 @@ export interface UpdatePersonRequest {
58
58
  *
59
59
  * @type {PersonItemAddress}
60
60
  */
61
- 'postal_address'?: PersonItemAddress;
61
+ 'postal_address'?: PersonItemAddress | null;
62
62
  /**
63
- * Contact sync notes of the person, maximum 10 000 characters, included if contact sync is enabled for the company
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}
65
65
  */
66
66
  'notes'?: string;
67
67
  /**
68
- * The instant messaging accounts of the person, included if contact sync is enabled for the company
68
+ * The instant messaging accounts of the person. Only accepted when contact sync is enabled for the company; otherwise the request returns 403.
69
69
  * @type {Array<PersonItemIm>}
70
70
  */
71
71
  'im'?: Array<PersonItemIm>;
72
72
  /**
73
- * The birthday of the person, included if contact sync is enabled for the company
73
+ * The birthday of the person. Only accepted when contact sync is enabled for the company; otherwise the request returns 403.
74
74
  * @type {string}
75
75
  */
76
76
  'birthday'?: string;
77
77
  /**
78
- * The job title of the person, included if contact sync is enabled for the company
78
+ * The job title of the person. Only accepted when contact sync is enabled for the company; otherwise the request returns 403.
79
79
  * @type {string}
80
80
  */
81
81
  'job_title'?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pipedrive",
3
- "version": "33.7.2",
3
+ "version": "33.9.0",
4
4
  "description": "Pipedrive REST client for NodeJS",
5
5
  "license": "MIT",
6
6
  "homepage": "https://developers.pipedrive.com",