@emilgroup/task-sdk-node 1.7.1-beta.4 → 1.7.1-beta.41
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.
- package/.openapi-generator/FILES +8 -0
- package/README.md +2 -2
- package/api/assignees-api.ts +4 -2
- package/api/categories-api.ts +20 -10
- package/api/filters-api.ts +153 -34
- package/api/hub-spot-api.ts +4 -2
- package/api/reminders-api.ts +28 -14
- package/api/statuses-api.ts +20 -10
- package/api/task-client-api.ts +329 -42
- package/api/tasks-api.ts +281 -18
- package/common.ts +3 -2
- package/dist/api/assignees-api.d.ts +1 -1
- package/dist/api/assignees-api.js +4 -3
- package/dist/api/categories-api.d.ts +5 -5
- package/dist/api/categories-api.js +29 -18
- package/dist/api/filters-api.d.ts +86 -29
- package/dist/api/filters-api.js +147 -38
- package/dist/api/health-api.d.ts +1 -1
- package/dist/api/hub-spot-api.d.ts +1 -1
- package/dist/api/hub-spot-api.js +7 -4
- package/dist/api/reminders-api.d.ts +7 -7
- package/dist/api/reminders-api.js +40 -25
- package/dist/api/statuses-api.d.ts +5 -5
- package/dist/api/statuses-api.js +29 -18
- package/dist/api/task-client-api.d.ts +165 -25
- package/dist/api/task-client-api.js +313 -67
- package/dist/api/tasks-api.d.ts +153 -13
- package/dist/api/tasks-api.js +244 -24
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -0
- package/dist/models/add-secondary-link-response-class.d.ts +25 -0
- package/dist/models/add-secondary-link-response-class.js +15 -0
- package/dist/models/create-task-request-dto.d.ts +13 -0
- package/dist/models/dry-run-filter-clause-class.d.ts +42 -0
- package/dist/models/dry-run-filter-clause-class.js +15 -0
- package/dist/models/dry-run-filter-request-dto.d.ts +30 -0
- package/dist/models/dry-run-filter-request-dto.js +15 -0
- package/dist/models/dry-run-filter-response-class.d.ts +37 -0
- package/dist/models/dry-run-filter-response-class.js +15 -0
- package/dist/models/entity-ref-class.d.ts +34 -0
- package/dist/models/entity-ref-class.js +19 -0
- package/dist/models/entity-ref-dto.d.ts +34 -0
- package/dist/models/entity-ref-dto.js +19 -0
- package/dist/models/index.d.ts +8 -0
- package/dist/models/index.js +8 -0
- package/dist/models/patch-task-request-dto.d.ts +12 -0
- package/dist/models/remove-secondary-link-response-class.d.ts +25 -0
- package/dist/models/remove-secondary-link-response-class.js +15 -0
- package/dist/models/secondary-link-class.d.ts +31 -0
- package/dist/models/secondary-link-class.js +15 -0
- package/dist/models/task-class.d.ts +7 -0
- package/models/add-secondary-link-response-class.ts +31 -0
- package/models/create-task-request-dto.ts +13 -0
- package/models/dry-run-filter-clause-class.ts +48 -0
- package/models/dry-run-filter-request-dto.ts +36 -0
- package/models/dry-run-filter-response-class.ts +43 -0
- package/models/entity-ref-class.ts +43 -0
- package/models/entity-ref-dto.ts +43 -0
- package/models/index.ts +8 -0
- package/models/patch-task-request-dto.ts +12 -0
- package/models/remove-secondary-link-response-class.ts +31 -0
- package/models/secondary-link-class.ts +37 -0
- package/models/task-class.ts +7 -0
- package/package.json +2 -2
package/api/statuses-api.ts
CHANGED
|
@@ -71,8 +71,10 @@ export const StatusesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
71
71
|
// http bearer authentication required
|
|
72
72
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
73
73
|
|
|
74
|
-
|
|
75
|
-
|
|
74
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
75
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
76
|
+
if (authorizationValue) {
|
|
77
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
76
78
|
}
|
|
77
79
|
|
|
78
80
|
|
|
@@ -119,8 +121,10 @@ export const StatusesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
119
121
|
// http bearer authentication required
|
|
120
122
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
121
123
|
|
|
122
|
-
|
|
123
|
-
|
|
124
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
125
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
126
|
+
if (authorizationValue) {
|
|
127
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
124
128
|
}
|
|
125
129
|
|
|
126
130
|
|
|
@@ -169,8 +173,10 @@ export const StatusesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
169
173
|
localVarQueryParameter['expand'] = expand;
|
|
170
174
|
}
|
|
171
175
|
|
|
172
|
-
|
|
173
|
-
|
|
176
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
177
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
178
|
+
if (authorizationValue) {
|
|
179
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
174
180
|
}
|
|
175
181
|
|
|
176
182
|
|
|
@@ -235,8 +241,10 @@ export const StatusesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
235
241
|
localVarQueryParameter['expand'] = expand;
|
|
236
242
|
}
|
|
237
243
|
|
|
238
|
-
|
|
239
|
-
|
|
244
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
245
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
246
|
+
if (authorizationValue) {
|
|
247
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
240
248
|
}
|
|
241
249
|
|
|
242
250
|
|
|
@@ -283,8 +291,10 @@ export const StatusesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
283
291
|
// http bearer authentication required
|
|
284
292
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
285
293
|
|
|
286
|
-
|
|
287
|
-
|
|
294
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
295
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
296
|
+
if (authorizationValue) {
|
|
297
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
288
298
|
}
|
|
289
299
|
|
|
290
300
|
|