@emilgroup/task-sdk 1.0.1-beta.9 → 1.1.1-beta.13
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 +3 -0
- package/README.md +2 -2
- package/api/assignees-api.ts +162 -0
- package/api/categories-api.ts +85 -59
- package/api/default-api.ts +1 -1
- package/api/hub-spot-api.ts +4 -4
- package/api/statuses-api.ts +45 -47
- package/api/tasks-api.ts +49 -51
- package/api.ts +2 -0
- package/dist/api/assignees-api.d.ts +96 -0
- package/dist/api/assignees-api.js +224 -0
- package/dist/api/categories-api.d.ts +65 -47
- package/dist/api/categories-api.js +59 -49
- package/dist/api/default-api.js +1 -1
- package/dist/api/hub-spot-api.d.ts +4 -4
- package/dist/api/hub-spot-api.js +4 -4
- package/dist/api/statuses-api.d.ts +42 -42
- package/dist/api/statuses-api.js +38 -40
- package/dist/api/tasks-api.d.ts +46 -46
- package/dist/api/tasks-api.js +41 -43
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/models/assignee-class.d.ts +24 -0
- package/dist/models/assignee-class.js +15 -0
- package/dist/models/create-status-request-dto.d.ts +6 -0
- package/dist/models/create-task-request-dto.d.ts +23 -4
- package/dist/models/create-task-request-dto.js +7 -1
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- package/dist/models/list-assignees-response-class.d.ts +43 -0
- package/dist/models/list-assignees-response-class.js +15 -0
- package/dist/models/patch-status-request-dto.d.ts +6 -0
- package/dist/models/patch-task-request-dto.d.ts +36 -5
- package/dist/models/patch-task-request-dto.js +7 -0
- package/dist/models/status-class.d.ts +6 -0
- package/dist/models/task-class.d.ts +34 -4
- package/models/assignee-class.ts +30 -0
- package/models/create-status-request-dto.ts +6 -0
- package/models/create-task-request-dto.ts +24 -4
- package/models/index.ts +2 -0
- package/models/list-assignees-response-class.ts +49 -0
- package/models/patch-status-request-dto.ts +6 -0
- package/models/patch-task-request-dto.ts +39 -5
- package/models/status-class.ts +6 -0
- package/models/task-class.ts +34 -4
- package/package.json +2 -1
|
@@ -93,7 +93,7 @@ var CategoriesApiAxiosParamCreator = function (configuration) {
|
|
|
93
93
|
var _this = this;
|
|
94
94
|
return {
|
|
95
95
|
/**
|
|
96
|
-
* This will create a category.
|
|
96
|
+
* This will create a category. **Required Permissions** \"task-management.tasks.create\"
|
|
97
97
|
* @summary Create the category
|
|
98
98
|
* @param {CreateCategoryRequestDto} createCategoryRequestDto
|
|
99
99
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -142,7 +142,7 @@ var CategoriesApiAxiosParamCreator = function (configuration) {
|
|
|
142
142
|
});
|
|
143
143
|
},
|
|
144
144
|
/**
|
|
145
|
-
* This will delete a task category by code.
|
|
145
|
+
* This will delete a task category by code. **Required Permissions** \"task-management.tasks.delete\"
|
|
146
146
|
* @summary Delete the category
|
|
147
147
|
* @param {string} code Unique identifier for the object.
|
|
148
148
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -190,15 +190,15 @@ var CategoriesApiAxiosParamCreator = function (configuration) {
|
|
|
190
190
|
});
|
|
191
191
|
},
|
|
192
192
|
/**
|
|
193
|
-
* Get category by code.
|
|
193
|
+
* Get category by code. **Required Permissions** \"task-management.tasks.view\"
|
|
194
194
|
* @summary Retrieve the category
|
|
195
195
|
* @param {string} code
|
|
196
|
-
* @param {string} expand
|
|
197
196
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
197
|
+
* @param {string} [expand] Expand to fetch additional information about the category.
|
|
198
198
|
* @param {*} [options] Override http request option.
|
|
199
199
|
* @throws {RequiredError}
|
|
200
200
|
*/
|
|
201
|
-
getCategory: function (code,
|
|
201
|
+
getCategory: function (code, authorization, expand, options) {
|
|
202
202
|
if (options === void 0) { options = {}; }
|
|
203
203
|
return __awaiter(_this, void 0, void 0, function () {
|
|
204
204
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -207,8 +207,6 @@ var CategoriesApiAxiosParamCreator = function (configuration) {
|
|
|
207
207
|
case 0:
|
|
208
208
|
// verify required parameter 'code' is not null or undefined
|
|
209
209
|
(0, common_1.assertParamExists)('getCategory', 'code', code);
|
|
210
|
-
// verify required parameter 'expand' is not null or undefined
|
|
211
|
-
(0, common_1.assertParamExists)('getCategory', 'expand', expand);
|
|
212
210
|
localVarPath = "/taskservice/v1/categories/{code}"
|
|
213
211
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
214
212
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -244,18 +242,20 @@ var CategoriesApiAxiosParamCreator = function (configuration) {
|
|
|
244
242
|
});
|
|
245
243
|
},
|
|
246
244
|
/**
|
|
247
|
-
* Retrieves a list of categories.
|
|
245
|
+
* Retrieves a list of categories. **Required Permissions** \"task-management.tasks.view\"
|
|
248
246
|
* @summary List categories
|
|
249
247
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
250
|
-
* @param {
|
|
251
|
-
* @param {string} [
|
|
252
|
-
* @param {string} [
|
|
248
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
249
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
250
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, slug, name, createdAt, updatedAt</i>
|
|
251
|
+
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: name, slug</i>
|
|
253
252
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, name, slug</i>
|
|
254
253
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
254
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, slug, name, createdAt, updatedAt</i>
|
|
255
255
|
* @param {*} [options] Override http request option.
|
|
256
256
|
* @throws {RequiredError}
|
|
257
257
|
*/
|
|
258
|
-
listCategories: function (authorization,
|
|
258
|
+
listCategories: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
259
259
|
if (options === void 0) { options = {}; }
|
|
260
260
|
return __awaiter(_this, void 0, void 0, function () {
|
|
261
261
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -278,12 +278,15 @@ var CategoriesApiAxiosParamCreator = function (configuration) {
|
|
|
278
278
|
// authentication bearer required
|
|
279
279
|
// http bearer authentication required
|
|
280
280
|
_a.sent();
|
|
281
|
+
if (pageSize !== undefined) {
|
|
282
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
283
|
+
}
|
|
284
|
+
if (pageToken !== undefined) {
|
|
285
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
286
|
+
}
|
|
281
287
|
if (filter !== undefined) {
|
|
282
288
|
localVarQueryParameter['filter'] = filter;
|
|
283
289
|
}
|
|
284
|
-
if (filters !== undefined) {
|
|
285
|
-
localVarQueryParameter['filters'] = filters;
|
|
286
|
-
}
|
|
287
290
|
if (search !== undefined) {
|
|
288
291
|
localVarQueryParameter['search'] = search;
|
|
289
292
|
}
|
|
@@ -293,6 +296,9 @@ var CategoriesApiAxiosParamCreator = function (configuration) {
|
|
|
293
296
|
if (expand !== undefined) {
|
|
294
297
|
localVarQueryParameter['expand'] = expand;
|
|
295
298
|
}
|
|
299
|
+
if (filters !== undefined) {
|
|
300
|
+
localVarQueryParameter['filters'] = filters;
|
|
301
|
+
}
|
|
296
302
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
297
303
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
298
304
|
}
|
|
@@ -308,7 +314,7 @@ var CategoriesApiAxiosParamCreator = function (configuration) {
|
|
|
308
314
|
});
|
|
309
315
|
},
|
|
310
316
|
/**
|
|
311
|
-
* This will partially update a category by code with the provided fields.
|
|
317
|
+
* This will partially update a category by code with the provided fields. **Required Permissions** \"task-management.tasks.update\"
|
|
312
318
|
* @summary Update the category
|
|
313
319
|
* @param {string} code
|
|
314
320
|
* @param {PatchCategoryRequestDto} patchCategoryRequestDto
|
|
@@ -371,7 +377,7 @@ var CategoriesApiFp = function (configuration) {
|
|
|
371
377
|
var localVarAxiosParamCreator = (0, exports.CategoriesApiAxiosParamCreator)(configuration);
|
|
372
378
|
return {
|
|
373
379
|
/**
|
|
374
|
-
* This will create a category.
|
|
380
|
+
* This will create a category. **Required Permissions** \"task-management.tasks.create\"
|
|
375
381
|
* @summary Create the category
|
|
376
382
|
* @param {CreateCategoryRequestDto} createCategoryRequestDto
|
|
377
383
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -392,7 +398,7 @@ var CategoriesApiFp = function (configuration) {
|
|
|
392
398
|
});
|
|
393
399
|
},
|
|
394
400
|
/**
|
|
395
|
-
* This will delete a task category by code.
|
|
401
|
+
* This will delete a task category by code. **Required Permissions** \"task-management.tasks.delete\"
|
|
396
402
|
* @summary Delete the category
|
|
397
403
|
* @param {string} code Unique identifier for the object.
|
|
398
404
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -413,20 +419,20 @@ var CategoriesApiFp = function (configuration) {
|
|
|
413
419
|
});
|
|
414
420
|
},
|
|
415
421
|
/**
|
|
416
|
-
* Get category by code.
|
|
422
|
+
* Get category by code. **Required Permissions** \"task-management.tasks.view\"
|
|
417
423
|
* @summary Retrieve the category
|
|
418
424
|
* @param {string} code
|
|
419
|
-
* @param {string} expand
|
|
420
425
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
426
|
+
* @param {string} [expand] Expand to fetch additional information about the category.
|
|
421
427
|
* @param {*} [options] Override http request option.
|
|
422
428
|
* @throws {RequiredError}
|
|
423
429
|
*/
|
|
424
|
-
getCategory: function (code,
|
|
430
|
+
getCategory: function (code, authorization, expand, options) {
|
|
425
431
|
return __awaiter(this, void 0, void 0, function () {
|
|
426
432
|
var localVarAxiosArgs;
|
|
427
433
|
return __generator(this, function (_a) {
|
|
428
434
|
switch (_a.label) {
|
|
429
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getCategory(code,
|
|
435
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getCategory(code, authorization, expand, options)];
|
|
430
436
|
case 1:
|
|
431
437
|
localVarAxiosArgs = _a.sent();
|
|
432
438
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -435,23 +441,25 @@ var CategoriesApiFp = function (configuration) {
|
|
|
435
441
|
});
|
|
436
442
|
},
|
|
437
443
|
/**
|
|
438
|
-
* Retrieves a list of categories.
|
|
444
|
+
* Retrieves a list of categories. **Required Permissions** \"task-management.tasks.view\"
|
|
439
445
|
* @summary List categories
|
|
440
446
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
441
|
-
* @param {
|
|
442
|
-
* @param {string} [
|
|
443
|
-
* @param {string} [
|
|
447
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
448
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
449
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, slug, name, createdAt, updatedAt</i>
|
|
450
|
+
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: name, slug</i>
|
|
444
451
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, name, slug</i>
|
|
445
452
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
453
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, slug, name, createdAt, updatedAt</i>
|
|
446
454
|
* @param {*} [options] Override http request option.
|
|
447
455
|
* @throws {RequiredError}
|
|
448
456
|
*/
|
|
449
|
-
listCategories: function (authorization,
|
|
457
|
+
listCategories: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
450
458
|
return __awaiter(this, void 0, void 0, function () {
|
|
451
459
|
var localVarAxiosArgs;
|
|
452
460
|
return __generator(this, function (_a) {
|
|
453
461
|
switch (_a.label) {
|
|
454
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listCategories(authorization,
|
|
462
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listCategories(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
455
463
|
case 1:
|
|
456
464
|
localVarAxiosArgs = _a.sent();
|
|
457
465
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -460,7 +468,7 @@ var CategoriesApiFp = function (configuration) {
|
|
|
460
468
|
});
|
|
461
469
|
},
|
|
462
470
|
/**
|
|
463
|
-
* This will partially update a category by code with the provided fields.
|
|
471
|
+
* This will partially update a category by code with the provided fields. **Required Permissions** \"task-management.tasks.update\"
|
|
464
472
|
* @summary Update the category
|
|
465
473
|
* @param {string} code
|
|
466
474
|
* @param {PatchCategoryRequestDto} patchCategoryRequestDto
|
|
@@ -492,7 +500,7 @@ var CategoriesApiFactory = function (configuration, basePath, axios) {
|
|
|
492
500
|
var localVarFp = (0, exports.CategoriesApiFp)(configuration);
|
|
493
501
|
return {
|
|
494
502
|
/**
|
|
495
|
-
* This will create a category.
|
|
503
|
+
* This will create a category. **Required Permissions** \"task-management.tasks.create\"
|
|
496
504
|
* @summary Create the category
|
|
497
505
|
* @param {CreateCategoryRequestDto} createCategoryRequestDto
|
|
498
506
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -503,7 +511,7 @@ var CategoriesApiFactory = function (configuration, basePath, axios) {
|
|
|
503
511
|
return localVarFp.createCategory(createCategoryRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
504
512
|
},
|
|
505
513
|
/**
|
|
506
|
-
* This will delete a task category by code.
|
|
514
|
+
* This will delete a task category by code. **Required Permissions** \"task-management.tasks.delete\"
|
|
507
515
|
* @summary Delete the category
|
|
508
516
|
* @param {string} code Unique identifier for the object.
|
|
509
517
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -514,34 +522,36 @@ var CategoriesApiFactory = function (configuration, basePath, axios) {
|
|
|
514
522
|
return localVarFp.deleteCategory(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
515
523
|
},
|
|
516
524
|
/**
|
|
517
|
-
* Get category by code.
|
|
525
|
+
* Get category by code. **Required Permissions** \"task-management.tasks.view\"
|
|
518
526
|
* @summary Retrieve the category
|
|
519
527
|
* @param {string} code
|
|
520
|
-
* @param {string} expand
|
|
521
528
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
529
|
+
* @param {string} [expand] Expand to fetch additional information about the category.
|
|
522
530
|
* @param {*} [options] Override http request option.
|
|
523
531
|
* @throws {RequiredError}
|
|
524
532
|
*/
|
|
525
|
-
getCategory: function (code,
|
|
526
|
-
return localVarFp.getCategory(code,
|
|
533
|
+
getCategory: function (code, authorization, expand, options) {
|
|
534
|
+
return localVarFp.getCategory(code, authorization, expand, options).then(function (request) { return request(axios, basePath); });
|
|
527
535
|
},
|
|
528
536
|
/**
|
|
529
|
-
* Retrieves a list of categories.
|
|
537
|
+
* Retrieves a list of categories. **Required Permissions** \"task-management.tasks.view\"
|
|
530
538
|
* @summary List categories
|
|
531
539
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
532
|
-
* @param {
|
|
533
|
-
* @param {string} [
|
|
534
|
-
* @param {string} [
|
|
540
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
541
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
542
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, slug, name, createdAt, updatedAt</i>
|
|
543
|
+
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: name, slug</i>
|
|
535
544
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, name, slug</i>
|
|
536
545
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
546
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, slug, name, createdAt, updatedAt</i>
|
|
537
547
|
* @param {*} [options] Override http request option.
|
|
538
548
|
* @throws {RequiredError}
|
|
539
549
|
*/
|
|
540
|
-
listCategories: function (authorization,
|
|
541
|
-
return localVarFp.listCategories(authorization,
|
|
550
|
+
listCategories: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
551
|
+
return localVarFp.listCategories(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
542
552
|
},
|
|
543
553
|
/**
|
|
544
|
-
* This will partially update a category by code with the provided fields.
|
|
554
|
+
* This will partially update a category by code with the provided fields. **Required Permissions** \"task-management.tasks.update\"
|
|
545
555
|
* @summary Update the category
|
|
546
556
|
* @param {string} code
|
|
547
557
|
* @param {PatchCategoryRequestDto} patchCategoryRequestDto
|
|
@@ -567,7 +577,7 @@ var CategoriesApi = /** @class */ (function (_super) {
|
|
|
567
577
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
568
578
|
}
|
|
569
579
|
/**
|
|
570
|
-
* This will create a category.
|
|
580
|
+
* This will create a category. **Required Permissions** \"task-management.tasks.create\"
|
|
571
581
|
* @summary Create the category
|
|
572
582
|
* @param {CategoriesApiCreateCategoryRequest} requestParameters Request parameters.
|
|
573
583
|
* @param {*} [options] Override http request option.
|
|
@@ -579,7 +589,7 @@ var CategoriesApi = /** @class */ (function (_super) {
|
|
|
579
589
|
return (0, exports.CategoriesApiFp)(this.configuration).createCategory(requestParameters.createCategoryRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
580
590
|
};
|
|
581
591
|
/**
|
|
582
|
-
* This will delete a task category by code.
|
|
592
|
+
* This will delete a task category by code. **Required Permissions** \"task-management.tasks.delete\"
|
|
583
593
|
* @summary Delete the category
|
|
584
594
|
* @param {CategoriesApiDeleteCategoryRequest} requestParameters Request parameters.
|
|
585
595
|
* @param {*} [options] Override http request option.
|
|
@@ -591,7 +601,7 @@ var CategoriesApi = /** @class */ (function (_super) {
|
|
|
591
601
|
return (0, exports.CategoriesApiFp)(this.configuration).deleteCategory(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
592
602
|
};
|
|
593
603
|
/**
|
|
594
|
-
* Get category by code.
|
|
604
|
+
* Get category by code. **Required Permissions** \"task-management.tasks.view\"
|
|
595
605
|
* @summary Retrieve the category
|
|
596
606
|
* @param {CategoriesApiGetCategoryRequest} requestParameters Request parameters.
|
|
597
607
|
* @param {*} [options] Override http request option.
|
|
@@ -600,10 +610,10 @@ var CategoriesApi = /** @class */ (function (_super) {
|
|
|
600
610
|
*/
|
|
601
611
|
CategoriesApi.prototype.getCategory = function (requestParameters, options) {
|
|
602
612
|
var _this = this;
|
|
603
|
-
return (0, exports.CategoriesApiFp)(this.configuration).getCategory(requestParameters.code, requestParameters.
|
|
613
|
+
return (0, exports.CategoriesApiFp)(this.configuration).getCategory(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
604
614
|
};
|
|
605
615
|
/**
|
|
606
|
-
* Retrieves a list of categories.
|
|
616
|
+
* Retrieves a list of categories. **Required Permissions** \"task-management.tasks.view\"
|
|
607
617
|
* @summary List categories
|
|
608
618
|
* @param {CategoriesApiListCategoriesRequest} requestParameters Request parameters.
|
|
609
619
|
* @param {*} [options] Override http request option.
|
|
@@ -613,10 +623,10 @@ var CategoriesApi = /** @class */ (function (_super) {
|
|
|
613
623
|
CategoriesApi.prototype.listCategories = function (requestParameters, options) {
|
|
614
624
|
var _this = this;
|
|
615
625
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
616
|
-
return (0, exports.CategoriesApiFp)(this.configuration).listCategories(requestParameters.authorization, requestParameters.
|
|
626
|
+
return (0, exports.CategoriesApiFp)(this.configuration).listCategories(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
617
627
|
};
|
|
618
628
|
/**
|
|
619
|
-
* This will partially update a category by code with the provided fields.
|
|
629
|
+
* This will partially update a category by code with the provided fields. **Required Permissions** \"task-management.tasks.update\"
|
|
620
630
|
* @summary Update the category
|
|
621
631
|
* @param {CategoriesApiPatchCategoryRequest} requestParameters Request parameters.
|
|
622
632
|
* @param {*} [options] Override http request option.
|
package/dist/api/default-api.js
CHANGED
|
@@ -103,7 +103,7 @@ var DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
103
103
|
return __awaiter(_this, void 0, void 0, function () {
|
|
104
104
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
105
105
|
return __generator(this, function (_a) {
|
|
106
|
-
localVarPath = "/
|
|
106
|
+
localVarPath = "/taskservice/health";
|
|
107
107
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
108
108
|
if (configuration) {
|
|
109
109
|
baseOptions = configuration.baseOptions;
|
|
@@ -20,7 +20,7 @@ import { CreateHubSpotTicketResponseClass } from '../models';
|
|
|
20
20
|
*/
|
|
21
21
|
export declare const HubSpotApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
22
22
|
/**
|
|
23
|
-
* This will create hub spot ticket.
|
|
23
|
+
* This will create hub spot ticket. **Required Permissions** \"task-management.tasks.create\"
|
|
24
24
|
* @summary Create the hub spot ticket
|
|
25
25
|
* @param {CreateHubSpotTicketRequestDto} createHubSpotTicketRequestDto
|
|
26
26
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -35,7 +35,7 @@ export declare const HubSpotApiAxiosParamCreator: (configuration?: Configuration
|
|
|
35
35
|
*/
|
|
36
36
|
export declare const HubSpotApiFp: (configuration?: Configuration) => {
|
|
37
37
|
/**
|
|
38
|
-
* This will create hub spot ticket.
|
|
38
|
+
* This will create hub spot ticket. **Required Permissions** \"task-management.tasks.create\"
|
|
39
39
|
* @summary Create the hub spot ticket
|
|
40
40
|
* @param {CreateHubSpotTicketRequestDto} createHubSpotTicketRequestDto
|
|
41
41
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -50,7 +50,7 @@ export declare const HubSpotApiFp: (configuration?: Configuration) => {
|
|
|
50
50
|
*/
|
|
51
51
|
export declare const HubSpotApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
52
52
|
/**
|
|
53
|
-
* This will create hub spot ticket.
|
|
53
|
+
* This will create hub spot ticket. **Required Permissions** \"task-management.tasks.create\"
|
|
54
54
|
* @summary Create the hub spot ticket
|
|
55
55
|
* @param {CreateHubSpotTicketRequestDto} createHubSpotTicketRequestDto
|
|
56
56
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -86,7 +86,7 @@ export interface HubSpotApiCreateHubSpotTicketRequest {
|
|
|
86
86
|
*/
|
|
87
87
|
export declare class HubSpotApi extends BaseAPI {
|
|
88
88
|
/**
|
|
89
|
-
* This will create hub spot ticket.
|
|
89
|
+
* This will create hub spot ticket. **Required Permissions** \"task-management.tasks.create\"
|
|
90
90
|
* @summary Create the hub spot ticket
|
|
91
91
|
* @param {HubSpotApiCreateHubSpotTicketRequest} requestParameters Request parameters.
|
|
92
92
|
* @param {*} [options] Override http request option.
|
package/dist/api/hub-spot-api.js
CHANGED
|
@@ -93,7 +93,7 @@ var HubSpotApiAxiosParamCreator = function (configuration) {
|
|
|
93
93
|
var _this = this;
|
|
94
94
|
return {
|
|
95
95
|
/**
|
|
96
|
-
* This will create hub spot ticket.
|
|
96
|
+
* This will create hub spot ticket. **Required Permissions** \"task-management.tasks.create\"
|
|
97
97
|
* @summary Create the hub spot ticket
|
|
98
98
|
* @param {CreateHubSpotTicketRequestDto} createHubSpotTicketRequestDto
|
|
99
99
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -152,7 +152,7 @@ var HubSpotApiFp = function (configuration) {
|
|
|
152
152
|
var localVarAxiosParamCreator = (0, exports.HubSpotApiAxiosParamCreator)(configuration);
|
|
153
153
|
return {
|
|
154
154
|
/**
|
|
155
|
-
* This will create hub spot ticket.
|
|
155
|
+
* This will create hub spot ticket. **Required Permissions** \"task-management.tasks.create\"
|
|
156
156
|
* @summary Create the hub spot ticket
|
|
157
157
|
* @param {CreateHubSpotTicketRequestDto} createHubSpotTicketRequestDto
|
|
158
158
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -183,7 +183,7 @@ var HubSpotApiFactory = function (configuration, basePath, axios) {
|
|
|
183
183
|
var localVarFp = (0, exports.HubSpotApiFp)(configuration);
|
|
184
184
|
return {
|
|
185
185
|
/**
|
|
186
|
-
* This will create hub spot ticket.
|
|
186
|
+
* This will create hub spot ticket. **Required Permissions** \"task-management.tasks.create\"
|
|
187
187
|
* @summary Create the hub spot ticket
|
|
188
188
|
* @param {CreateHubSpotTicketRequestDto} createHubSpotTicketRequestDto
|
|
189
189
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -208,7 +208,7 @@ var HubSpotApi = /** @class */ (function (_super) {
|
|
|
208
208
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
209
209
|
}
|
|
210
210
|
/**
|
|
211
|
-
* This will create hub spot ticket.
|
|
211
|
+
* This will create hub spot ticket. **Required Permissions** \"task-management.tasks.create\"
|
|
212
212
|
* @summary Create the hub spot ticket
|
|
213
213
|
* @param {HubSpotApiCreateHubSpotTicketRequest} requestParameters Request parameters.
|
|
214
214
|
* @param {*} [options] Override http request option.
|