pipedrive 26.0.0 → 27.0.1

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 (119) hide show
  1. package/dist/esm/versions/v1/api/activities-api.js +7 -7
  2. package/dist/esm/versions/v1/api/activity-fields-api.js +1 -1
  3. package/dist/esm/versions/v1/api/activity-types-api.js +5 -5
  4. package/dist/esm/versions/v1/api/billing-api.js +1 -1
  5. package/dist/esm/versions/v1/api/call-logs-api.js +5 -5
  6. package/dist/esm/versions/v1/api/channels-api.js +4 -4
  7. package/dist/esm/versions/v1/api/currencies-api.js +1 -1
  8. package/dist/esm/versions/v1/api/deal-fields-api.js +6 -6
  9. package/dist/esm/versions/v1/api/deals-api.js +33 -33
  10. package/dist/esm/versions/v1/api/files-api.js +8 -8
  11. package/dist/esm/versions/v1/api/filters-api.js +7 -7
  12. package/dist/esm/versions/v1/api/goals-api.js +5 -5
  13. package/dist/esm/versions/v1/api/item-search-api.js +2 -2
  14. package/dist/esm/versions/v1/api/lead-labels-api.js +4 -4
  15. package/dist/esm/versions/v1/api/lead-sources-api.js +1 -1
  16. package/dist/esm/versions/v1/api/leads-api.js +8 -8
  17. package/dist/esm/versions/v1/api/legacy-teams-api.js +8 -8
  18. package/dist/esm/versions/v1/api/mailbox-api.js +6 -6
  19. package/dist/esm/versions/v1/api/meetings-api.js +2 -2
  20. package/dist/esm/versions/v1/api/note-fields-api.js +1 -1
  21. package/dist/esm/versions/v1/api/notes-api.js +10 -10
  22. package/dist/esm/versions/v1/api/organization-fields-api.js +6 -6
  23. package/dist/esm/versions/v1/api/organization-relationships-api.js +5 -5
  24. package/dist/esm/versions/v1/api/organizations-api.js +20 -20
  25. package/dist/esm/versions/v1/api/permission-sets-api.js +3 -3
  26. package/dist/esm/versions/v1/api/person-fields-api.js +6 -6
  27. package/dist/esm/versions/v1/api/persons-api.js +22 -22
  28. package/dist/esm/versions/v1/api/pipelines-api.js +8 -8
  29. package/dist/esm/versions/v1/api/product-fields-api.js +6 -6
  30. package/dist/esm/versions/v1/api/products-api.js +12 -12
  31. package/dist/esm/versions/v1/api/project-templates-api.js +4 -4
  32. package/dist/esm/versions/v1/api/projects-api.js +14 -14
  33. package/dist/esm/versions/v1/api/recents-api.js +1 -1
  34. package/dist/esm/versions/v1/api/roles-api.js +12 -12
  35. package/dist/esm/versions/v1/api/stages-api.js +7 -7
  36. package/dist/esm/versions/v1/api/subscriptions-api.js +9 -9
  37. package/dist/esm/versions/v1/api/tasks-api.js +5 -5
  38. package/dist/esm/versions/v1/api/user-connections-api.js +1 -1
  39. package/dist/esm/versions/v1/api/user-settings-api.js +1 -1
  40. package/dist/esm/versions/v1/api/users-api.js +10 -10
  41. package/dist/esm/versions/v1/api/webhooks-api.js +3 -3
  42. package/dist/esm/versions/v1/models/base-deal.d.ts +5 -0
  43. package/dist/esm/versions/v1/models/new-deal-parameters.d.ts +10 -0
  44. package/dist/esm/versions/v1/models/update-deal-parameters.d.ts +5 -0
  45. package/dist/esm/versions/v2/api/activities-api.js +5 -5
  46. package/dist/esm/versions/v2/api/beta-api.js +8 -8
  47. package/dist/esm/versions/v2/api/deals-api.js +26 -26
  48. package/dist/esm/versions/v2/api/item-search-api.js +2 -2
  49. package/dist/esm/versions/v2/api/leads-api.js +3 -3
  50. package/dist/esm/versions/v2/api/organizations-api.js +10 -10
  51. package/dist/esm/versions/v2/api/persons-api.js +10 -10
  52. package/dist/esm/versions/v2/api/pipelines-api.js +5 -5
  53. package/dist/esm/versions/v2/api/products-api.js +14 -14
  54. package/dist/esm/versions/v2/api/stages-api.js +5 -5
  55. package/dist/esm/versions/v2/api/users-api.js +1 -1
  56. package/dist/esm/versions/v2/models/add-deal-request.d.ts +10 -0
  57. package/dist/esm/versions/v2/models/deal-item.d.ts +4 -4
  58. package/dist/esm/versions/v2/models/deal-item1.d.ts +4 -4
  59. package/dist/esm/versions/v2/models/update-deal-request.d.ts +10 -0
  60. package/dist/versions/v1/api/activities-api.js +7 -7
  61. package/dist/versions/v1/api/activity-fields-api.js +1 -1
  62. package/dist/versions/v1/api/activity-types-api.js +5 -5
  63. package/dist/versions/v1/api/billing-api.js +1 -1
  64. package/dist/versions/v1/api/call-logs-api.js +5 -5
  65. package/dist/versions/v1/api/channels-api.js +4 -4
  66. package/dist/versions/v1/api/currencies-api.js +1 -1
  67. package/dist/versions/v1/api/deal-fields-api.js +6 -6
  68. package/dist/versions/v1/api/deals-api.js +33 -33
  69. package/dist/versions/v1/api/files-api.js +8 -8
  70. package/dist/versions/v1/api/filters-api.js +7 -7
  71. package/dist/versions/v1/api/goals-api.js +5 -5
  72. package/dist/versions/v1/api/item-search-api.js +2 -2
  73. package/dist/versions/v1/api/lead-labels-api.js +4 -4
  74. package/dist/versions/v1/api/lead-sources-api.js +1 -1
  75. package/dist/versions/v1/api/leads-api.js +8 -8
  76. package/dist/versions/v1/api/legacy-teams-api.js +8 -8
  77. package/dist/versions/v1/api/mailbox-api.js +6 -6
  78. package/dist/versions/v1/api/meetings-api.js +2 -2
  79. package/dist/versions/v1/api/note-fields-api.js +1 -1
  80. package/dist/versions/v1/api/notes-api.js +10 -10
  81. package/dist/versions/v1/api/organization-fields-api.js +6 -6
  82. package/dist/versions/v1/api/organization-relationships-api.js +5 -5
  83. package/dist/versions/v1/api/organizations-api.js +20 -20
  84. package/dist/versions/v1/api/permission-sets-api.js +3 -3
  85. package/dist/versions/v1/api/person-fields-api.js +6 -6
  86. package/dist/versions/v1/api/persons-api.js +22 -22
  87. package/dist/versions/v1/api/pipelines-api.js +8 -8
  88. package/dist/versions/v1/api/product-fields-api.js +6 -6
  89. package/dist/versions/v1/api/products-api.js +12 -12
  90. package/dist/versions/v1/api/project-templates-api.js +4 -4
  91. package/dist/versions/v1/api/projects-api.js +14 -14
  92. package/dist/versions/v1/api/recents-api.js +1 -1
  93. package/dist/versions/v1/api/roles-api.js +12 -12
  94. package/dist/versions/v1/api/stages-api.js +7 -7
  95. package/dist/versions/v1/api/subscriptions-api.js +9 -9
  96. package/dist/versions/v1/api/tasks-api.js +5 -5
  97. package/dist/versions/v1/api/user-connections-api.js +1 -1
  98. package/dist/versions/v1/api/user-settings-api.js +1 -1
  99. package/dist/versions/v1/api/users-api.js +10 -10
  100. package/dist/versions/v1/api/webhooks-api.js +3 -3
  101. package/dist/versions/v1/models/base-deal.d.ts +5 -0
  102. package/dist/versions/v1/models/new-deal-parameters.d.ts +10 -0
  103. package/dist/versions/v1/models/update-deal-parameters.d.ts +5 -0
  104. package/dist/versions/v2/api/activities-api.js +5 -5
  105. package/dist/versions/v2/api/beta-api.js +8 -8
  106. package/dist/versions/v2/api/deals-api.js +26 -26
  107. package/dist/versions/v2/api/item-search-api.js +2 -2
  108. package/dist/versions/v2/api/leads-api.js +3 -3
  109. package/dist/versions/v2/api/organizations-api.js +10 -10
  110. package/dist/versions/v2/api/persons-api.js +10 -10
  111. package/dist/versions/v2/api/pipelines-api.js +5 -5
  112. package/dist/versions/v2/api/products-api.js +14 -14
  113. package/dist/versions/v2/api/stages-api.js +5 -5
  114. package/dist/versions/v2/api/users-api.js +1 -1
  115. package/dist/versions/v2/models/add-deal-request.d.ts +10 -0
  116. package/dist/versions/v2/models/deal-item.d.ts +4 -4
  117. package/dist/versions/v2/models/deal-item1.d.ts +4 -4
  118. package/dist/versions/v2/models/update-deal-request.d.ts +10 -0
  119. package/package.json +1 -1
@@ -57,7 +57,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
57
57
  const localVarHeaderParameter = {};
58
58
  const localVarQueryParameter = {};
59
59
  // authentication api_key required
60
- yield (0, common_1.setApiKeyToObject)(localVarQueryParameter, "api_token", configuration);
60
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
61
61
  // authentication oauth2 required
62
62
  // oauth required
63
63
  yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["contacts:full"], configuration);
@@ -94,7 +94,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
94
94
  const localVarHeaderParameter = {};
95
95
  const localVarQueryParameter = {};
96
96
  // authentication api_key required
97
- yield (0, common_1.setApiKeyToObject)(localVarQueryParameter, "api_token", configuration);
97
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
98
98
  // authentication oauth2 required
99
99
  // oauth required
100
100
  yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["contacts:full"], configuration);
@@ -130,7 +130,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
130
130
  const localVarHeaderParameter = {};
131
131
  const localVarQueryParameter = {};
132
132
  // authentication api_key required
133
- yield (0, common_1.setApiKeyToObject)(localVarQueryParameter, "api_token", configuration);
133
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
134
134
  // authentication oauth2 required
135
135
  // oauth required
136
136
  yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["contacts:full"], configuration);
@@ -168,7 +168,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
168
168
  const localVarHeaderParameter = {};
169
169
  const localVarQueryParameter = {};
170
170
  // authentication api_key required
171
- yield (0, common_1.setApiKeyToObject)(localVarQueryParameter, "api_token", configuration);
171
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
172
172
  // authentication oauth2 required
173
173
  // oauth required
174
174
  yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["contacts:full"], configuration);
@@ -204,7 +204,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
204
204
  const localVarHeaderParameter = {};
205
205
  const localVarQueryParameter = {};
206
206
  // authentication api_key required
207
- yield (0, common_1.setApiKeyToObject)(localVarQueryParameter, "api_token", configuration);
207
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
208
208
  // authentication oauth2 required
209
209
  // oauth required
210
210
  yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["contacts:read", "contacts:full"], configuration);
@@ -246,7 +246,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
246
246
  const localVarHeaderParameter = {};
247
247
  const localVarQueryParameter = {};
248
248
  // authentication api_key required
249
- yield (0, common_1.setApiKeyToObject)(localVarQueryParameter, "api_token", configuration);
249
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
250
250
  // authentication oauth2 required
251
251
  // oauth required
252
252
  yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["contacts:read", "contacts:full"], configuration);
@@ -288,7 +288,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
288
288
  const localVarHeaderParameter = {};
289
289
  const localVarQueryParameter = {};
290
290
  // authentication api_key required
291
- yield (0, common_1.setApiKeyToObject)(localVarQueryParameter, "api_token", configuration);
291
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
292
292
  // authentication oauth2 required
293
293
  // oauth required
294
294
  yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["contacts:read", "contacts:full"], configuration);
@@ -335,7 +335,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
335
335
  const localVarHeaderParameter = {};
336
336
  const localVarQueryParameter = {};
337
337
  // authentication api_key required
338
- yield (0, common_1.setApiKeyToObject)(localVarQueryParameter, "api_token", configuration);
338
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
339
339
  // authentication oauth2 required
340
340
  // oauth required
341
341
  yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["contacts:read", "contacts:full"], configuration);
@@ -405,7 +405,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
405
405
  const localVarHeaderParameter = {};
406
406
  const localVarQueryParameter = {};
407
407
  // authentication api_key required
408
- yield (0, common_1.setApiKeyToObject)(localVarQueryParameter, "api_token", configuration);
408
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
409
409
  // authentication oauth2 required
410
410
  // oauth required
411
411
  yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["contacts:read", "contacts:full", "search:read"], configuration);
@@ -455,7 +455,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
455
455
  const localVarHeaderParameter = {};
456
456
  const localVarQueryParameter = {};
457
457
  // authentication api_key required
458
- yield (0, common_1.setApiKeyToObject)(localVarQueryParameter, "api_token", configuration);
458
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
459
459
  // authentication oauth2 required
460
460
  // oauth required
461
461
  yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["contacts:full"], configuration);
@@ -57,7 +57,7 @@ const PersonsApiAxiosParamCreator = function (configuration) {
57
57
  const localVarHeaderParameter = {};
58
58
  const localVarQueryParameter = {};
59
59
  // authentication api_key required
60
- yield (0, common_1.setApiKeyToObject)(localVarQueryParameter, "api_token", configuration);
60
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
61
61
  // authentication oauth2 required
62
62
  // oauth required
63
63
  yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["contacts:full"], configuration);
@@ -94,7 +94,7 @@ const PersonsApiAxiosParamCreator = function (configuration) {
94
94
  const localVarHeaderParameter = {};
95
95
  const localVarQueryParameter = {};
96
96
  // authentication api_key required
97
- yield (0, common_1.setApiKeyToObject)(localVarQueryParameter, "api_token", configuration);
97
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
98
98
  // authentication oauth2 required
99
99
  // oauth required
100
100
  yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["contacts:full"], configuration);
@@ -130,7 +130,7 @@ const PersonsApiAxiosParamCreator = function (configuration) {
130
130
  const localVarHeaderParameter = {};
131
131
  const localVarQueryParameter = {};
132
132
  // authentication api_key required
133
- yield (0, common_1.setApiKeyToObject)(localVarQueryParameter, "api_token", configuration);
133
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
134
134
  // authentication oauth2 required
135
135
  // oauth required
136
136
  yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["contacts:full"], configuration);
@@ -168,7 +168,7 @@ const PersonsApiAxiosParamCreator = function (configuration) {
168
168
  const localVarHeaderParameter = {};
169
169
  const localVarQueryParameter = {};
170
170
  // authentication api_key required
171
- yield (0, common_1.setApiKeyToObject)(localVarQueryParameter, "api_token", configuration);
171
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
172
172
  // authentication oauth2 required
173
173
  // oauth required
174
174
  yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["contacts:full"], configuration);
@@ -204,7 +204,7 @@ const PersonsApiAxiosParamCreator = function (configuration) {
204
204
  const localVarHeaderParameter = {};
205
205
  const localVarQueryParameter = {};
206
206
  // authentication api_key required
207
- yield (0, common_1.setApiKeyToObject)(localVarQueryParameter, "api_token", configuration);
207
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
208
208
  // authentication oauth2 required
209
209
  // oauth required
210
210
  yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["contacts:read", "contacts:full"], configuration);
@@ -246,7 +246,7 @@ const PersonsApiAxiosParamCreator = function (configuration) {
246
246
  const localVarHeaderParameter = {};
247
247
  const localVarQueryParameter = {};
248
248
  // authentication api_key required
249
- yield (0, common_1.setApiKeyToObject)(localVarQueryParameter, "api_token", configuration);
249
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
250
250
  // authentication oauth2 required
251
251
  // oauth required
252
252
  yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["contacts:read", "contacts:full"], configuration);
@@ -288,7 +288,7 @@ const PersonsApiAxiosParamCreator = function (configuration) {
288
288
  const localVarHeaderParameter = {};
289
289
  const localVarQueryParameter = {};
290
290
  // authentication api_key required
291
- yield (0, common_1.setApiKeyToObject)(localVarQueryParameter, "api_token", configuration);
291
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
292
292
  // authentication oauth2 required
293
293
  // oauth required
294
294
  yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["contacts:read", "contacts:full"], configuration);
@@ -336,7 +336,7 @@ const PersonsApiAxiosParamCreator = function (configuration) {
336
336
  const localVarHeaderParameter = {};
337
337
  const localVarQueryParameter = {};
338
338
  // authentication api_key required
339
- yield (0, common_1.setApiKeyToObject)(localVarQueryParameter, "api_token", configuration);
339
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
340
340
  // authentication oauth2 required
341
341
  // oauth required
342
342
  yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["contacts:read", "contacts:full"], configuration);
@@ -411,7 +411,7 @@ const PersonsApiAxiosParamCreator = function (configuration) {
411
411
  const localVarHeaderParameter = {};
412
412
  const localVarQueryParameter = {};
413
413
  // authentication api_key required
414
- yield (0, common_1.setApiKeyToObject)(localVarQueryParameter, "api_token", configuration);
414
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
415
415
  // authentication oauth2 required
416
416
  // oauth required
417
417
  yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["contacts:read", "contacts:full", "search:read"], configuration);
@@ -467,7 +467,7 @@ const PersonsApiAxiosParamCreator = function (configuration) {
467
467
  const localVarHeaderParameter = {};
468
468
  const localVarQueryParameter = {};
469
469
  // authentication api_key required
470
- yield (0, common_1.setApiKeyToObject)(localVarQueryParameter, "api_token", configuration);
470
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
471
471
  // authentication oauth2 required
472
472
  // oauth required
473
473
  yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["contacts:full"], configuration);
@@ -57,7 +57,7 @@ const PipelinesApiAxiosParamCreator = function (configuration) {
57
57
  const localVarHeaderParameter = {};
58
58
  const localVarQueryParameter = {};
59
59
  // authentication api_key required
60
- yield (0, common_1.setApiKeyToObject)(localVarQueryParameter, "api_token", configuration);
60
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
61
61
  // authentication oauth2 required
62
62
  // oauth required
63
63
  yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["admin"], configuration);
@@ -93,7 +93,7 @@ const PipelinesApiAxiosParamCreator = function (configuration) {
93
93
  const localVarHeaderParameter = {};
94
94
  const localVarQueryParameter = {};
95
95
  // authentication api_key required
96
- yield (0, common_1.setApiKeyToObject)(localVarQueryParameter, "api_token", configuration);
96
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
97
97
  // authentication oauth2 required
98
98
  // oauth required
99
99
  yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["admin"], configuration);
@@ -127,7 +127,7 @@ const PipelinesApiAxiosParamCreator = function (configuration) {
127
127
  const localVarHeaderParameter = {};
128
128
  const localVarQueryParameter = {};
129
129
  // authentication api_key required
130
- yield (0, common_1.setApiKeyToObject)(localVarQueryParameter, "api_token", configuration);
130
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
131
131
  // authentication oauth2 required
132
132
  // oauth required
133
133
  yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["deals:read", "deals:full", "admin"], configuration);
@@ -161,7 +161,7 @@ const PipelinesApiAxiosParamCreator = function (configuration) {
161
161
  const localVarHeaderParameter = {};
162
162
  const localVarQueryParameter = {};
163
163
  // authentication api_key required
164
- yield (0, common_1.setApiKeyToObject)(localVarQueryParameter, "api_token", configuration);
164
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
165
165
  // authentication oauth2 required
166
166
  // oauth required
167
167
  yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["deals:read", "deals:full", "admin"], configuration);
@@ -208,7 +208,7 @@ const PipelinesApiAxiosParamCreator = function (configuration) {
208
208
  const localVarHeaderParameter = {};
209
209
  const localVarQueryParameter = {};
210
210
  // authentication api_key required
211
- yield (0, common_1.setApiKeyToObject)(localVarQueryParameter, "api_token", configuration);
211
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
212
212
  // authentication oauth2 required
213
213
  // oauth required
214
214
  yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["admin"], configuration);
@@ -57,7 +57,7 @@ const ProductsApiAxiosParamCreator = function (configuration) {
57
57
  const localVarHeaderParameter = {};
58
58
  const localVarQueryParameter = {};
59
59
  // authentication api_key required
60
- yield (0, common_1.setApiKeyToObject)(localVarQueryParameter, "api_token", configuration);
60
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
61
61
  // authentication oauth2 required
62
62
  // oauth required
63
63
  yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["products:full"], configuration);
@@ -94,7 +94,7 @@ const ProductsApiAxiosParamCreator = function (configuration) {
94
94
  const localVarHeaderParameter = {};
95
95
  const localVarQueryParameter = {};
96
96
  // authentication api_key required
97
- yield (0, common_1.setApiKeyToObject)(localVarQueryParameter, "api_token", configuration);
97
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
98
98
  // authentication oauth2 required
99
99
  // oauth required
100
100
  yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["products:full"], configuration);
@@ -131,7 +131,7 @@ const ProductsApiAxiosParamCreator = function (configuration) {
131
131
  const localVarHeaderParameter = {};
132
132
  const localVarQueryParameter = {};
133
133
  // authentication api_key required
134
- yield (0, common_1.setApiKeyToObject)(localVarQueryParameter, "api_token", configuration);
134
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
135
135
  // authentication oauth2 required
136
136
  // oauth required
137
137
  yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["products:full"], configuration);
@@ -167,7 +167,7 @@ const ProductsApiAxiosParamCreator = function (configuration) {
167
167
  const localVarHeaderParameter = {};
168
168
  const localVarQueryParameter = {};
169
169
  // authentication api_key required
170
- yield (0, common_1.setApiKeyToObject)(localVarQueryParameter, "api_token", configuration);
170
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
171
171
  // authentication oauth2 required
172
172
  // oauth required
173
173
  yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["products:full"], configuration);
@@ -205,7 +205,7 @@ const ProductsApiAxiosParamCreator = function (configuration) {
205
205
  const localVarHeaderParameter = {};
206
206
  const localVarQueryParameter = {};
207
207
  // authentication api_key required
208
- yield (0, common_1.setApiKeyToObject)(localVarQueryParameter, "api_token", configuration);
208
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
209
209
  // authentication oauth2 required
210
210
  // oauth required
211
211
  yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["products:full"], configuration);
@@ -243,7 +243,7 @@ const ProductsApiAxiosParamCreator = function (configuration) {
243
243
  const localVarHeaderParameter = {};
244
244
  const localVarQueryParameter = {};
245
245
  // authentication api_key required
246
- yield (0, common_1.setApiKeyToObject)(localVarQueryParameter, "api_token", configuration);
246
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
247
247
  // authentication oauth2 required
248
248
  // oauth required
249
249
  yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["products:full"], configuration);
@@ -277,7 +277,7 @@ const ProductsApiAxiosParamCreator = function (configuration) {
277
277
  const localVarHeaderParameter = {};
278
278
  const localVarQueryParameter = {};
279
279
  // authentication api_key required
280
- yield (0, common_1.setApiKeyToObject)(localVarQueryParameter, "api_token", configuration);
280
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
281
281
  // authentication oauth2 required
282
282
  // oauth required
283
283
  yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["products:read", "products:full"], configuration);
@@ -313,7 +313,7 @@ const ProductsApiAxiosParamCreator = function (configuration) {
313
313
  const localVarHeaderParameter = {};
314
314
  const localVarQueryParameter = {};
315
315
  // authentication api_key required
316
- yield (0, common_1.setApiKeyToObject)(localVarQueryParameter, "api_token", configuration);
316
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
317
317
  // authentication oauth2 required
318
318
  // oauth required
319
319
  yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["products:read", "products:full"], configuration);
@@ -355,7 +355,7 @@ const ProductsApiAxiosParamCreator = function (configuration) {
355
355
  const localVarHeaderParameter = {};
356
356
  const localVarQueryParameter = {};
357
357
  // authentication api_key required
358
- yield (0, common_1.setApiKeyToObject)(localVarQueryParameter, "api_token", configuration);
358
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
359
359
  // authentication oauth2 required
360
360
  // oauth required
361
361
  yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["products:read", "products:full"], configuration);
@@ -397,7 +397,7 @@ const ProductsApiAxiosParamCreator = function (configuration) {
397
397
  const localVarHeaderParameter = {};
398
398
  const localVarQueryParameter = {};
399
399
  // authentication api_key required
400
- yield (0, common_1.setApiKeyToObject)(localVarQueryParameter, "api_token", configuration);
400
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
401
401
  // authentication oauth2 required
402
402
  // oauth required
403
403
  yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["products:read", "products:full"], configuration);
@@ -441,7 +441,7 @@ const ProductsApiAxiosParamCreator = function (configuration) {
441
441
  const localVarHeaderParameter = {};
442
442
  const localVarQueryParameter = {};
443
443
  // authentication api_key required
444
- yield (0, common_1.setApiKeyToObject)(localVarQueryParameter, "api_token", configuration);
444
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
445
445
  // authentication oauth2 required
446
446
  // oauth required
447
447
  yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["products:read", "products:full"], configuration);
@@ -503,7 +503,7 @@ const ProductsApiAxiosParamCreator = function (configuration) {
503
503
  const localVarHeaderParameter = {};
504
504
  const localVarQueryParameter = {};
505
505
  // authentication api_key required
506
- yield (0, common_1.setApiKeyToObject)(localVarQueryParameter, "api_token", configuration);
506
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
507
507
  // authentication oauth2 required
508
508
  // oauth required
509
509
  yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["products:read", "products:full", "search:read"], configuration);
@@ -556,7 +556,7 @@ const ProductsApiAxiosParamCreator = function (configuration) {
556
556
  const localVarHeaderParameter = {};
557
557
  const localVarQueryParameter = {};
558
558
  // authentication api_key required
559
- yield (0, common_1.setApiKeyToObject)(localVarQueryParameter, "api_token", configuration);
559
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
560
560
  // authentication oauth2 required
561
561
  // oauth required
562
562
  yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["products:full"], configuration);
@@ -597,7 +597,7 @@ const ProductsApiAxiosParamCreator = function (configuration) {
597
597
  const localVarHeaderParameter = {};
598
598
  const localVarQueryParameter = {};
599
599
  // authentication api_key required
600
- yield (0, common_1.setApiKeyToObject)(localVarQueryParameter, "api_token", configuration);
600
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
601
601
  // authentication oauth2 required
602
602
  // oauth required
603
603
  yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["products:full"], configuration);
@@ -57,7 +57,7 @@ const StagesApiAxiosParamCreator = function (configuration) {
57
57
  const localVarHeaderParameter = {};
58
58
  const localVarQueryParameter = {};
59
59
  // authentication api_key required
60
- yield (0, common_1.setApiKeyToObject)(localVarQueryParameter, "api_token", configuration);
60
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
61
61
  // authentication oauth2 required
62
62
  // oauth required
63
63
  yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["admin"], configuration);
@@ -93,7 +93,7 @@ const StagesApiAxiosParamCreator = function (configuration) {
93
93
  const localVarHeaderParameter = {};
94
94
  const localVarQueryParameter = {};
95
95
  // authentication api_key required
96
- yield (0, common_1.setApiKeyToObject)(localVarQueryParameter, "api_token", configuration);
96
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
97
97
  // authentication oauth2 required
98
98
  // oauth required
99
99
  yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["admin"], configuration);
@@ -127,7 +127,7 @@ const StagesApiAxiosParamCreator = function (configuration) {
127
127
  const localVarHeaderParameter = {};
128
128
  const localVarQueryParameter = {};
129
129
  // authentication api_key required
130
- yield (0, common_1.setApiKeyToObject)(localVarQueryParameter, "api_token", configuration);
130
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
131
131
  // authentication oauth2 required
132
132
  // oauth required
133
133
  yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["deals:read", "deals:full", "admin"], configuration);
@@ -162,7 +162,7 @@ const StagesApiAxiosParamCreator = function (configuration) {
162
162
  const localVarHeaderParameter = {};
163
163
  const localVarQueryParameter = {};
164
164
  // authentication api_key required
165
- yield (0, common_1.setApiKeyToObject)(localVarQueryParameter, "api_token", configuration);
165
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
166
166
  // authentication oauth2 required
167
167
  // oauth required
168
168
  yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["deals:read", "deals:full", "admin"], configuration);
@@ -212,7 +212,7 @@ const StagesApiAxiosParamCreator = function (configuration) {
212
212
  const localVarHeaderParameter = {};
213
213
  const localVarQueryParameter = {};
214
214
  // authentication api_key required
215
- yield (0, common_1.setApiKeyToObject)(localVarQueryParameter, "api_token", configuration);
215
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
216
216
  // authentication oauth2 required
217
217
  // oauth required
218
218
  yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["admin"], configuration);
@@ -62,7 +62,7 @@ const UsersApiAxiosParamCreator = function (configuration) {
62
62
  const localVarHeaderParameter = {};
63
63
  const localVarQueryParameter = {};
64
64
  // authentication api_key required
65
- yield (0, common_1.setApiKeyToObject)(localVarQueryParameter, "api_token", configuration);
65
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
66
66
  // authentication oauth2 required
67
67
  // oauth required
68
68
  yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["users:read"], configuration);
@@ -76,6 +76,16 @@ export interface AddDealRequest {
76
76
  */
77
77
  'is_deleted'?: boolean;
78
78
  /**
79
+ * Whether the deal is archived or not
80
+ * @type {boolean}
81
+ */
82
+ 'is_archived'?: boolean;
83
+ /**
84
+ * The optional date and time of archiving the deal in UTC. Format: YYYY-MM-DD HH:MM:SS. If omitted and `is_archived` is true, it will be set to the current date and time.
85
+ * @type {string}
86
+ */
87
+ 'archive_time'?: string;
88
+ /**
79
89
  * The status of the deal
80
90
  * @type {string}
81
91
  */
@@ -76,15 +76,15 @@ export interface DealItem {
76
76
  */
77
77
  'stage_change_time'?: string;
78
78
  /**
79
- * Whether the deal is archived or not
79
+ * Whether the deal is deleted or not
80
80
  * @type {boolean}
81
81
  */
82
- 'is_archived'?: boolean;
82
+ 'is_deleted'?: boolean;
83
83
  /**
84
- * Whether the deal is deleted or not
84
+ * Whether the deal is archived or not
85
85
  * @type {boolean}
86
86
  */
87
- 'is_deleted'?: boolean;
87
+ 'is_archived'?: boolean;
88
88
  /**
89
89
  * The status of the deal
90
90
  * @type {string}
@@ -76,15 +76,15 @@ export interface DealItem1 {
76
76
  */
77
77
  'stage_change_time'?: string;
78
78
  /**
79
- * Whether the deal is archived or not
79
+ * Whether the deal is deleted or not
80
80
  * @type {boolean}
81
81
  */
82
- 'is_archived'?: boolean;
82
+ 'is_deleted'?: boolean;
83
83
  /**
84
- * Whether the deal is deleted or not
84
+ * Whether the deal is archived or not
85
85
  * @type {boolean}
86
86
  */
87
- 'is_deleted'?: boolean;
87
+ 'is_archived'?: boolean;
88
88
  /**
89
89
  * The status of the deal
90
90
  * @type {string}
@@ -76,6 +76,16 @@ export interface UpdateDealRequest {
76
76
  */
77
77
  'is_deleted'?: boolean;
78
78
  /**
79
+ * Whether the deal is archived or not
80
+ * @type {boolean}
81
+ */
82
+ 'is_archived'?: boolean;
83
+ /**
84
+ * The optional date and time of archiving the deal in UTC. Format: YYYY-MM-DD HH:MM:SS. If omitted and `is_archived` is true, it will be set to the current date and time.
85
+ * @type {string}
86
+ */
87
+ 'archive_time'?: string;
88
+ /**
79
89
  * The status of the deal
80
90
  * @type {string}
81
91
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pipedrive",
3
- "version": "26.0.0",
3
+ "version": "27.0.1",
4
4
  "description": "Pipedrive REST client for NodeJS",
5
5
  "license": "MIT",
6
6
  "homepage": "https://developers.pipedrive.com",