@emilgroup/task-sdk-node 1.0.1-beta.1 → 1.0.1-beta.3
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 +0 -5
- package/README.md +2 -2
- package/api/categories-api.ts +44 -30
- package/api/statuses-api.ts +40 -26
- package/api/tasks-api.ts +48 -34
- package/api.ts +0 -2
- package/dist/api/categories-api.d.ts +36 -27
- package/dist/api/categories-api.js +33 -27
- package/dist/api/statuses-api.d.ts +32 -23
- package/dist/api/statuses-api.js +29 -23
- package/dist/api/tasks-api.d.ts +40 -31
- package/dist/api/tasks-api.js +36 -30
- package/dist/api.d.ts +0 -1
- package/dist/api.js +0 -1
- package/dist/models/category-class.d.ts +6 -0
- package/dist/models/create-category-request-dto.d.ts +7 -1
- package/dist/models/create-status-request-dto.d.ts +7 -1
- package/dist/models/create-task-request-dto.d.ts +31 -13
- package/dist/models/create-task-request-dto.js +6 -0
- package/dist/models/index.d.ts +0 -4
- package/dist/models/index.js +0 -4
- package/dist/models/status-class.d.ts +6 -0
- package/dist/models/task-class.d.ts +22 -5
- package/dist/models/task-class.js +6 -0
- package/dist/models/update-category-request-dto.d.ts +8 -2
- package/dist/models/update-status-request-dto.d.ts +8 -2
- package/dist/models/update-task-request-dto.d.ts +26 -14
- package/models/category-class.ts +6 -0
- package/models/create-category-request-dto.ts +7 -1
- package/models/create-status-request-dto.ts +7 -1
- package/models/create-task-request-dto.ts +34 -13
- package/models/index.ts +0 -4
- package/models/status-class.ts +6 -0
- package/models/task-class.ts +25 -5
- package/models/update-category-request-dto.ts +8 -2
- package/models/update-status-request-dto.ts +8 -2
- package/models/update-task-request-dto.ts +26 -14
- package/package.json +1 -1
- package/api/priorities-api.ts +0 -288
- package/dist/api/priorities-api.d.ts +0 -162
- package/dist/api/priorities-api.js +0 -328
- package/dist/models/create-priority-request-dto.d.ts +0 -24
- package/dist/models/create-priority-request-dto.js +0 -15
- package/dist/models/create-priority-response-class.d.ts +0 -25
- package/dist/models/create-priority-response-class.js +0 -15
- package/dist/models/get-priority-response-class.d.ts +0 -25
- package/dist/models/get-priority-response-class.js +0 -15
- package/dist/models/priority-class.d.ts +0 -60
- package/dist/models/priority-class.js +0 -15
- package/models/create-priority-request-dto.ts +0 -30
- package/models/create-priority-response-class.ts +0 -31
- package/models/get-priority-response-class.ts +0 -31
- package/models/priority-class.ts +0 -66
|
@@ -97,7 +97,7 @@ var CategoriesApiAxiosParamCreator = function (configuration) {
|
|
|
97
97
|
var _this = this;
|
|
98
98
|
return {
|
|
99
99
|
/**
|
|
100
|
-
* This will create category.
|
|
100
|
+
* This will create a category.
|
|
101
101
|
* @summary Create the category
|
|
102
102
|
* @param {CreateCategoryRequestDto} createCategoryRequestDto
|
|
103
103
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -146,7 +146,7 @@ var CategoriesApiAxiosParamCreator = function (configuration) {
|
|
|
146
146
|
});
|
|
147
147
|
},
|
|
148
148
|
/**
|
|
149
|
-
* This will delete category.
|
|
149
|
+
* This will delete a task category by code.
|
|
150
150
|
* @summary Delete the category
|
|
151
151
|
* @param {string} code Unique identifier for the object.
|
|
152
152
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -194,7 +194,7 @@ var CategoriesApiAxiosParamCreator = function (configuration) {
|
|
|
194
194
|
});
|
|
195
195
|
},
|
|
196
196
|
/**
|
|
197
|
-
*
|
|
197
|
+
* Get category by code.
|
|
198
198
|
* @summary Retrieve the category
|
|
199
199
|
* @param {string} code
|
|
200
200
|
* @param {string} expand
|
|
@@ -251,14 +251,15 @@ var CategoriesApiAxiosParamCreator = function (configuration) {
|
|
|
251
251
|
* Retrieves a list of categories.
|
|
252
252
|
* @summary List categories
|
|
253
253
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
254
|
-
* @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, createdAt</i>
|
|
255
|
-
* @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, createdAt</i>
|
|
256
|
-
* @param {string} [
|
|
254
|
+
* @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>
|
|
255
|
+
* @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>
|
|
256
|
+
* @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: id, code, name, slug</i>
|
|
257
|
+
* @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>
|
|
257
258
|
* @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/>
|
|
258
259
|
* @param {*} [options] Override http request option.
|
|
259
260
|
* @throws {RequiredError}
|
|
260
261
|
*/
|
|
261
|
-
listCategories: function (authorization, filter, filters, order, expand, options) {
|
|
262
|
+
listCategories: function (authorization, filter, filters, search, order, expand, options) {
|
|
262
263
|
if (options === void 0) { options = {}; }
|
|
263
264
|
return __awaiter(_this, void 0, void 0, function () {
|
|
264
265
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -287,6 +288,9 @@ var CategoriesApiAxiosParamCreator = function (configuration) {
|
|
|
287
288
|
if (filters !== undefined) {
|
|
288
289
|
localVarQueryParameter['filters'] = filters;
|
|
289
290
|
}
|
|
291
|
+
if (search !== undefined) {
|
|
292
|
+
localVarQueryParameter['search'] = search;
|
|
293
|
+
}
|
|
290
294
|
if (order !== undefined) {
|
|
291
295
|
localVarQueryParameter['order'] = order;
|
|
292
296
|
}
|
|
@@ -371,7 +375,7 @@ var CategoriesApiFp = function (configuration) {
|
|
|
371
375
|
var localVarAxiosParamCreator = (0, exports.CategoriesApiAxiosParamCreator)(configuration);
|
|
372
376
|
return {
|
|
373
377
|
/**
|
|
374
|
-
* This will create category.
|
|
378
|
+
* This will create a category.
|
|
375
379
|
* @summary Create the category
|
|
376
380
|
* @param {CreateCategoryRequestDto} createCategoryRequestDto
|
|
377
381
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -392,7 +396,7 @@ var CategoriesApiFp = function (configuration) {
|
|
|
392
396
|
});
|
|
393
397
|
},
|
|
394
398
|
/**
|
|
395
|
-
* This will delete category.
|
|
399
|
+
* This will delete a task category by code.
|
|
396
400
|
* @summary Delete the category
|
|
397
401
|
* @param {string} code Unique identifier for the object.
|
|
398
402
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -413,7 +417,7 @@ var CategoriesApiFp = function (configuration) {
|
|
|
413
417
|
});
|
|
414
418
|
},
|
|
415
419
|
/**
|
|
416
|
-
*
|
|
420
|
+
* Get category by code.
|
|
417
421
|
* @summary Retrieve the category
|
|
418
422
|
* @param {string} code
|
|
419
423
|
* @param {string} expand
|
|
@@ -438,19 +442,20 @@ var CategoriesApiFp = function (configuration) {
|
|
|
438
442
|
* Retrieves a list of categories.
|
|
439
443
|
* @summary List categories
|
|
440
444
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
441
|
-
* @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, createdAt</i>
|
|
442
|
-
* @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, createdAt</i>
|
|
443
|
-
* @param {string} [
|
|
445
|
+
* @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>
|
|
446
|
+
* @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>
|
|
447
|
+
* @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: id, code, name, slug</i>
|
|
448
|
+
* @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>
|
|
444
449
|
* @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/>
|
|
445
450
|
* @param {*} [options] Override http request option.
|
|
446
451
|
* @throws {RequiredError}
|
|
447
452
|
*/
|
|
448
|
-
listCategories: function (authorization, filter, filters, order, expand, options) {
|
|
453
|
+
listCategories: function (authorization, filter, filters, search, order, expand, options) {
|
|
449
454
|
return __awaiter(this, void 0, void 0, function () {
|
|
450
455
|
var localVarAxiosArgs;
|
|
451
456
|
return __generator(this, function (_a) {
|
|
452
457
|
switch (_a.label) {
|
|
453
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listCategories(authorization, filter, filters, order, expand, options)];
|
|
458
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listCategories(authorization, filter, filters, search, order, expand, options)];
|
|
454
459
|
case 1:
|
|
455
460
|
localVarAxiosArgs = _a.sent();
|
|
456
461
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -491,7 +496,7 @@ var CategoriesApiFactory = function (configuration, basePath, axios) {
|
|
|
491
496
|
var localVarFp = (0, exports.CategoriesApiFp)(configuration);
|
|
492
497
|
return {
|
|
493
498
|
/**
|
|
494
|
-
* This will create category.
|
|
499
|
+
* This will create a category.
|
|
495
500
|
* @summary Create the category
|
|
496
501
|
* @param {CreateCategoryRequestDto} createCategoryRequestDto
|
|
497
502
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -502,7 +507,7 @@ var CategoriesApiFactory = function (configuration, basePath, axios) {
|
|
|
502
507
|
return localVarFp.createCategory(createCategoryRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
503
508
|
},
|
|
504
509
|
/**
|
|
505
|
-
* This will delete category.
|
|
510
|
+
* This will delete a task category by code.
|
|
506
511
|
* @summary Delete the category
|
|
507
512
|
* @param {string} code Unique identifier for the object.
|
|
508
513
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -513,7 +518,7 @@ var CategoriesApiFactory = function (configuration, basePath, axios) {
|
|
|
513
518
|
return localVarFp.deleteCategory(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
514
519
|
},
|
|
515
520
|
/**
|
|
516
|
-
*
|
|
521
|
+
* Get category by code.
|
|
517
522
|
* @summary Retrieve the category
|
|
518
523
|
* @param {string} code
|
|
519
524
|
* @param {string} expand
|
|
@@ -528,15 +533,16 @@ var CategoriesApiFactory = function (configuration, basePath, axios) {
|
|
|
528
533
|
* Retrieves a list of categories.
|
|
529
534
|
* @summary List categories
|
|
530
535
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
531
|
-
* @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, createdAt</i>
|
|
532
|
-
* @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, createdAt</i>
|
|
533
|
-
* @param {string} [
|
|
536
|
+
* @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>
|
|
537
|
+
* @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>
|
|
538
|
+
* @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: id, code, name, slug</i>
|
|
539
|
+
* @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>
|
|
534
540
|
* @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/>
|
|
535
541
|
* @param {*} [options] Override http request option.
|
|
536
542
|
* @throws {RequiredError}
|
|
537
543
|
*/
|
|
538
|
-
listCategories: function (authorization, filter, filters, order, expand, options) {
|
|
539
|
-
return localVarFp.listCategories(authorization, filter, filters, order, expand, options).then(function (request) { return request(axios, basePath); });
|
|
544
|
+
listCategories: function (authorization, filter, filters, search, order, expand, options) {
|
|
545
|
+
return localVarFp.listCategories(authorization, filter, filters, search, order, expand, options).then(function (request) { return request(axios, basePath); });
|
|
540
546
|
},
|
|
541
547
|
/**
|
|
542
548
|
* This will update category.
|
|
@@ -565,7 +571,7 @@ var CategoriesApi = /** @class */ (function (_super) {
|
|
|
565
571
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
566
572
|
}
|
|
567
573
|
/**
|
|
568
|
-
* This will create category.
|
|
574
|
+
* This will create a category.
|
|
569
575
|
* @summary Create the category
|
|
570
576
|
* @param {CategoriesApiCreateCategoryRequest} requestParameters Request parameters.
|
|
571
577
|
* @param {*} [options] Override http request option.
|
|
@@ -577,7 +583,7 @@ var CategoriesApi = /** @class */ (function (_super) {
|
|
|
577
583
|
return (0, exports.CategoriesApiFp)(this.configuration).createCategory(requestParameters.createCategoryRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
578
584
|
};
|
|
579
585
|
/**
|
|
580
|
-
* This will delete category.
|
|
586
|
+
* This will delete a task category by code.
|
|
581
587
|
* @summary Delete the category
|
|
582
588
|
* @param {CategoriesApiDeleteCategoryRequest} requestParameters Request parameters.
|
|
583
589
|
* @param {*} [options] Override http request option.
|
|
@@ -589,7 +595,7 @@ var CategoriesApi = /** @class */ (function (_super) {
|
|
|
589
595
|
return (0, exports.CategoriesApiFp)(this.configuration).deleteCategory(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
590
596
|
};
|
|
591
597
|
/**
|
|
592
|
-
*
|
|
598
|
+
* Get category by code.
|
|
593
599
|
* @summary Retrieve the category
|
|
594
600
|
* @param {CategoriesApiGetCategoryRequest} requestParameters Request parameters.
|
|
595
601
|
* @param {*} [options] Override http request option.
|
|
@@ -611,7 +617,7 @@ var CategoriesApi = /** @class */ (function (_super) {
|
|
|
611
617
|
CategoriesApi.prototype.listCategories = function (requestParameters, options) {
|
|
612
618
|
var _this = this;
|
|
613
619
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
614
|
-
return (0, exports.CategoriesApiFp)(this.configuration).listCategories(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
620
|
+
return (0, exports.CategoriesApiFp)(this.configuration).listCategories(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
615
621
|
};
|
|
616
622
|
/**
|
|
617
623
|
* This will update category.
|
|
@@ -24,7 +24,7 @@ import { UpdateStatusResponseClass } from '../models';
|
|
|
24
24
|
*/
|
|
25
25
|
export declare const StatusesApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
26
26
|
/**
|
|
27
|
-
* This will create status.
|
|
27
|
+
* This will create a status.
|
|
28
28
|
* @summary Create the status
|
|
29
29
|
* @param {CreateStatusRequestDto} createStatusRequestDto
|
|
30
30
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -42,7 +42,7 @@ export declare const StatusesApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
42
42
|
*/
|
|
43
43
|
deleteStatus: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
44
44
|
/**
|
|
45
|
-
*
|
|
45
|
+
* Get status by code.
|
|
46
46
|
* @summary Retrieve the status
|
|
47
47
|
* @param {string} code
|
|
48
48
|
* @param {string} expand
|
|
@@ -55,14 +55,15 @@ export declare const StatusesApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
55
55
|
* Retrieves a list of statuses.
|
|
56
56
|
* @summary List statuses
|
|
57
57
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
58
|
-
* @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, createdAt</i>
|
|
59
|
-
* @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, createdAt</i>
|
|
60
|
-
* @param {string} [
|
|
58
|
+
* @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>
|
|
59
|
+
* @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>
|
|
60
|
+
* @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: id, code, name, slug</i>
|
|
61
|
+
* @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>
|
|
61
62
|
* @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/>
|
|
62
63
|
* @param {*} [options] Override http request option.
|
|
63
64
|
* @throws {RequiredError}
|
|
64
65
|
*/
|
|
65
|
-
listStatuses: (authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
66
|
+
listStatuses: (authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
66
67
|
/**
|
|
67
68
|
* This will update status.
|
|
68
69
|
* @summary Update the status
|
|
@@ -80,7 +81,7 @@ export declare const StatusesApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
80
81
|
*/
|
|
81
82
|
export declare const StatusesApiFp: (configuration?: Configuration) => {
|
|
82
83
|
/**
|
|
83
|
-
* This will create status.
|
|
84
|
+
* This will create a status.
|
|
84
85
|
* @summary Create the status
|
|
85
86
|
* @param {CreateStatusRequestDto} createStatusRequestDto
|
|
86
87
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -98,7 +99,7 @@ export declare const StatusesApiFp: (configuration?: Configuration) => {
|
|
|
98
99
|
*/
|
|
99
100
|
deleteStatus(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
100
101
|
/**
|
|
101
|
-
*
|
|
102
|
+
* Get status by code.
|
|
102
103
|
* @summary Retrieve the status
|
|
103
104
|
* @param {string} code
|
|
104
105
|
* @param {string} expand
|
|
@@ -111,14 +112,15 @@ export declare const StatusesApiFp: (configuration?: Configuration) => {
|
|
|
111
112
|
* Retrieves a list of statuses.
|
|
112
113
|
* @summary List statuses
|
|
113
114
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
114
|
-
* @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, createdAt</i>
|
|
115
|
-
* @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, createdAt</i>
|
|
116
|
-
* @param {string} [
|
|
115
|
+
* @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>
|
|
116
|
+
* @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>
|
|
117
|
+
* @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: id, code, name, slug</i>
|
|
118
|
+
* @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>
|
|
117
119
|
* @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/>
|
|
118
120
|
* @param {*} [options] Override http request option.
|
|
119
121
|
* @throws {RequiredError}
|
|
120
122
|
*/
|
|
121
|
-
listStatuses(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListStatusesResponseClass>>;
|
|
123
|
+
listStatuses(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListStatusesResponseClass>>;
|
|
122
124
|
/**
|
|
123
125
|
* This will update status.
|
|
124
126
|
* @summary Update the status
|
|
@@ -136,7 +138,7 @@ export declare const StatusesApiFp: (configuration?: Configuration) => {
|
|
|
136
138
|
*/
|
|
137
139
|
export declare const StatusesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
138
140
|
/**
|
|
139
|
-
* This will create status.
|
|
141
|
+
* This will create a status.
|
|
140
142
|
* @summary Create the status
|
|
141
143
|
* @param {CreateStatusRequestDto} createStatusRequestDto
|
|
142
144
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -154,7 +156,7 @@ export declare const StatusesApiFactory: (configuration?: Configuration, basePat
|
|
|
154
156
|
*/
|
|
155
157
|
deleteStatus(code: string, authorization?: string, options?: any): AxiosPromise<void>;
|
|
156
158
|
/**
|
|
157
|
-
*
|
|
159
|
+
* Get status by code.
|
|
158
160
|
* @summary Retrieve the status
|
|
159
161
|
* @param {string} code
|
|
160
162
|
* @param {string} expand
|
|
@@ -167,14 +169,15 @@ export declare const StatusesApiFactory: (configuration?: Configuration, basePat
|
|
|
167
169
|
* Retrieves a list of statuses.
|
|
168
170
|
* @summary List statuses
|
|
169
171
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
170
|
-
* @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, createdAt</i>
|
|
171
|
-
* @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, createdAt</i>
|
|
172
|
-
* @param {string} [
|
|
172
|
+
* @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>
|
|
173
|
+
* @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>
|
|
174
|
+
* @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: id, code, name, slug</i>
|
|
175
|
+
* @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>
|
|
173
176
|
* @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/>
|
|
174
177
|
* @param {*} [options] Override http request option.
|
|
175
178
|
* @throws {RequiredError}
|
|
176
179
|
*/
|
|
177
|
-
listStatuses(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListStatusesResponseClass>;
|
|
180
|
+
listStatuses(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListStatusesResponseClass>;
|
|
178
181
|
/**
|
|
179
182
|
* This will update status.
|
|
180
183
|
* @summary Update the status
|
|
@@ -262,19 +265,25 @@ export interface StatusesApiListStatusesRequest {
|
|
|
262
265
|
*/
|
|
263
266
|
readonly authorization?: string;
|
|
264
267
|
/**
|
|
265
|
-
* 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, createdAt</i>
|
|
268
|
+
* 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>
|
|
266
269
|
* @type {string}
|
|
267
270
|
* @memberof StatusesApiListStatuses
|
|
268
271
|
*/
|
|
269
272
|
readonly filter?: string;
|
|
270
273
|
/**
|
|
271
|
-
* 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, createdAt</i>
|
|
274
|
+
* 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>
|
|
272
275
|
* @type {string}
|
|
273
276
|
* @memberof StatusesApiListStatuses
|
|
274
277
|
*/
|
|
275
278
|
readonly filters?: string;
|
|
276
279
|
/**
|
|
277
|
-
*
|
|
280
|
+
* Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, code, name, slug</i>
|
|
281
|
+
* @type {string}
|
|
282
|
+
* @memberof StatusesApiListStatuses
|
|
283
|
+
*/
|
|
284
|
+
readonly search?: string;
|
|
285
|
+
/**
|
|
286
|
+
* 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>
|
|
278
287
|
* @type {string}
|
|
279
288
|
* @memberof StatusesApiListStatuses
|
|
280
289
|
*/
|
|
@@ -319,7 +328,7 @@ export interface StatusesApiUpdateStatusRequest {
|
|
|
319
328
|
*/
|
|
320
329
|
export declare class StatusesApi extends BaseAPI {
|
|
321
330
|
/**
|
|
322
|
-
* This will create status.
|
|
331
|
+
* This will create a status.
|
|
323
332
|
* @summary Create the status
|
|
324
333
|
* @param {StatusesApiCreateStatusRequest} requestParameters Request parameters.
|
|
325
334
|
* @param {*} [options] Override http request option.
|
|
@@ -337,7 +346,7 @@ export declare class StatusesApi extends BaseAPI {
|
|
|
337
346
|
*/
|
|
338
347
|
deleteStatus(requestParameters: StatusesApiDeleteStatusRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
339
348
|
/**
|
|
340
|
-
*
|
|
349
|
+
* Get status by code.
|
|
341
350
|
* @summary Retrieve the status
|
|
342
351
|
* @param {StatusesApiGetStatusRequest} requestParameters Request parameters.
|
|
343
352
|
* @param {*} [options] Override http request option.
|
package/dist/api/statuses-api.js
CHANGED
|
@@ -97,7 +97,7 @@ var StatusesApiAxiosParamCreator = function (configuration) {
|
|
|
97
97
|
var _this = this;
|
|
98
98
|
return {
|
|
99
99
|
/**
|
|
100
|
-
* This will create status.
|
|
100
|
+
* This will create a status.
|
|
101
101
|
* @summary Create the status
|
|
102
102
|
* @param {CreateStatusRequestDto} createStatusRequestDto
|
|
103
103
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -194,7 +194,7 @@ var StatusesApiAxiosParamCreator = function (configuration) {
|
|
|
194
194
|
});
|
|
195
195
|
},
|
|
196
196
|
/**
|
|
197
|
-
*
|
|
197
|
+
* Get status by code.
|
|
198
198
|
* @summary Retrieve the status
|
|
199
199
|
* @param {string} code
|
|
200
200
|
* @param {string} expand
|
|
@@ -251,14 +251,15 @@ var StatusesApiAxiosParamCreator = function (configuration) {
|
|
|
251
251
|
* Retrieves a list of statuses.
|
|
252
252
|
* @summary List statuses
|
|
253
253
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
254
|
-
* @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, createdAt</i>
|
|
255
|
-
* @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, createdAt</i>
|
|
256
|
-
* @param {string} [
|
|
254
|
+
* @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>
|
|
255
|
+
* @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>
|
|
256
|
+
* @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: id, code, name, slug</i>
|
|
257
|
+
* @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>
|
|
257
258
|
* @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/>
|
|
258
259
|
* @param {*} [options] Override http request option.
|
|
259
260
|
* @throws {RequiredError}
|
|
260
261
|
*/
|
|
261
|
-
listStatuses: function (authorization, filter, filters, order, expand, options) {
|
|
262
|
+
listStatuses: function (authorization, filter, filters, search, order, expand, options) {
|
|
262
263
|
if (options === void 0) { options = {}; }
|
|
263
264
|
return __awaiter(_this, void 0, void 0, function () {
|
|
264
265
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -287,6 +288,9 @@ var StatusesApiAxiosParamCreator = function (configuration) {
|
|
|
287
288
|
if (filters !== undefined) {
|
|
288
289
|
localVarQueryParameter['filters'] = filters;
|
|
289
290
|
}
|
|
291
|
+
if (search !== undefined) {
|
|
292
|
+
localVarQueryParameter['search'] = search;
|
|
293
|
+
}
|
|
290
294
|
if (order !== undefined) {
|
|
291
295
|
localVarQueryParameter['order'] = order;
|
|
292
296
|
}
|
|
@@ -371,7 +375,7 @@ var StatusesApiFp = function (configuration) {
|
|
|
371
375
|
var localVarAxiosParamCreator = (0, exports.StatusesApiAxiosParamCreator)(configuration);
|
|
372
376
|
return {
|
|
373
377
|
/**
|
|
374
|
-
* This will create status.
|
|
378
|
+
* This will create a status.
|
|
375
379
|
* @summary Create the status
|
|
376
380
|
* @param {CreateStatusRequestDto} createStatusRequestDto
|
|
377
381
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -413,7 +417,7 @@ var StatusesApiFp = function (configuration) {
|
|
|
413
417
|
});
|
|
414
418
|
},
|
|
415
419
|
/**
|
|
416
|
-
*
|
|
420
|
+
* Get status by code.
|
|
417
421
|
* @summary Retrieve the status
|
|
418
422
|
* @param {string} code
|
|
419
423
|
* @param {string} expand
|
|
@@ -438,19 +442,20 @@ var StatusesApiFp = function (configuration) {
|
|
|
438
442
|
* Retrieves a list of statuses.
|
|
439
443
|
* @summary List statuses
|
|
440
444
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
441
|
-
* @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, createdAt</i>
|
|
442
|
-
* @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, createdAt</i>
|
|
443
|
-
* @param {string} [
|
|
445
|
+
* @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>
|
|
446
|
+
* @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>
|
|
447
|
+
* @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: id, code, name, slug</i>
|
|
448
|
+
* @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>
|
|
444
449
|
* @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/>
|
|
445
450
|
* @param {*} [options] Override http request option.
|
|
446
451
|
* @throws {RequiredError}
|
|
447
452
|
*/
|
|
448
|
-
listStatuses: function (authorization, filter, filters, order, expand, options) {
|
|
453
|
+
listStatuses: function (authorization, filter, filters, search, order, expand, options) {
|
|
449
454
|
return __awaiter(this, void 0, void 0, function () {
|
|
450
455
|
var localVarAxiosArgs;
|
|
451
456
|
return __generator(this, function (_a) {
|
|
452
457
|
switch (_a.label) {
|
|
453
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listStatuses(authorization, filter, filters, order, expand, options)];
|
|
458
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listStatuses(authorization, filter, filters, search, order, expand, options)];
|
|
454
459
|
case 1:
|
|
455
460
|
localVarAxiosArgs = _a.sent();
|
|
456
461
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -491,7 +496,7 @@ var StatusesApiFactory = function (configuration, basePath, axios) {
|
|
|
491
496
|
var localVarFp = (0, exports.StatusesApiFp)(configuration);
|
|
492
497
|
return {
|
|
493
498
|
/**
|
|
494
|
-
* This will create status.
|
|
499
|
+
* This will create a status.
|
|
495
500
|
* @summary Create the status
|
|
496
501
|
* @param {CreateStatusRequestDto} createStatusRequestDto
|
|
497
502
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -513,7 +518,7 @@ var StatusesApiFactory = function (configuration, basePath, axios) {
|
|
|
513
518
|
return localVarFp.deleteStatus(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
514
519
|
},
|
|
515
520
|
/**
|
|
516
|
-
*
|
|
521
|
+
* Get status by code.
|
|
517
522
|
* @summary Retrieve the status
|
|
518
523
|
* @param {string} code
|
|
519
524
|
* @param {string} expand
|
|
@@ -528,15 +533,16 @@ var StatusesApiFactory = function (configuration, basePath, axios) {
|
|
|
528
533
|
* Retrieves a list of statuses.
|
|
529
534
|
* @summary List statuses
|
|
530
535
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
531
|
-
* @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, createdAt</i>
|
|
532
|
-
* @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, createdAt</i>
|
|
533
|
-
* @param {string} [
|
|
536
|
+
* @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>
|
|
537
|
+
* @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>
|
|
538
|
+
* @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: id, code, name, slug</i>
|
|
539
|
+
* @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>
|
|
534
540
|
* @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/>
|
|
535
541
|
* @param {*} [options] Override http request option.
|
|
536
542
|
* @throws {RequiredError}
|
|
537
543
|
*/
|
|
538
|
-
listStatuses: function (authorization, filter, filters, order, expand, options) {
|
|
539
|
-
return localVarFp.listStatuses(authorization, filter, filters, order, expand, options).then(function (request) { return request(axios, basePath); });
|
|
544
|
+
listStatuses: function (authorization, filter, filters, search, order, expand, options) {
|
|
545
|
+
return localVarFp.listStatuses(authorization, filter, filters, search, order, expand, options).then(function (request) { return request(axios, basePath); });
|
|
540
546
|
},
|
|
541
547
|
/**
|
|
542
548
|
* This will update status.
|
|
@@ -565,7 +571,7 @@ var StatusesApi = /** @class */ (function (_super) {
|
|
|
565
571
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
566
572
|
}
|
|
567
573
|
/**
|
|
568
|
-
* This will create status.
|
|
574
|
+
* This will create a status.
|
|
569
575
|
* @summary Create the status
|
|
570
576
|
* @param {StatusesApiCreateStatusRequest} requestParameters Request parameters.
|
|
571
577
|
* @param {*} [options] Override http request option.
|
|
@@ -589,7 +595,7 @@ var StatusesApi = /** @class */ (function (_super) {
|
|
|
589
595
|
return (0, exports.StatusesApiFp)(this.configuration).deleteStatus(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
590
596
|
};
|
|
591
597
|
/**
|
|
592
|
-
*
|
|
598
|
+
* Get status by code.
|
|
593
599
|
* @summary Retrieve the status
|
|
594
600
|
* @param {StatusesApiGetStatusRequest} requestParameters Request parameters.
|
|
595
601
|
* @param {*} [options] Override http request option.
|
|
@@ -611,7 +617,7 @@ var StatusesApi = /** @class */ (function (_super) {
|
|
|
611
617
|
StatusesApi.prototype.listStatuses = function (requestParameters, options) {
|
|
612
618
|
var _this = this;
|
|
613
619
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
614
|
-
return (0, exports.StatusesApiFp)(this.configuration).listStatuses(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
620
|
+
return (0, exports.StatusesApiFp)(this.configuration).listStatuses(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
615
621
|
};
|
|
616
622
|
/**
|
|
617
623
|
* This will update status.
|