@emilgroup/task-sdk 1.0.1-beta.12 → 1.0.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/README.md +2 -2
- package/api/categories-api.ts +62 -36
- package/api/default-api.ts +1 -1
- package/api/statuses-api.ts +17 -19
- package/api/tasks-api.ts +13 -15
- package/dist/api/categories-api.d.ts +42 -24
- package/dist/api/categories-api.js +36 -26
- package/dist/api/default-api.js +1 -1
- package/dist/api/statuses-api.d.ts +14 -14
- package/dist/api/statuses-api.js +12 -14
- package/dist/api/tasks-api.d.ts +10 -10
- package/dist/api/tasks-api.js +9 -11
- package/dist/models/create-task-request-dto.d.ts +2 -2
- package/models/create-task-request-dto.ts +2 -2
- package/package.json +1 -1
|
@@ -45,25 +45,27 @@ export declare const CategoriesApiAxiosParamCreator: (configuration?: Configurat
|
|
|
45
45
|
* Get category by code.
|
|
46
46
|
* @summary Retrieve the category
|
|
47
47
|
* @param {string} code
|
|
48
|
-
* @param {string} expand
|
|
49
48
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
49
|
+
* @param {string} [expand] Expand to fetch additional information about the category.
|
|
50
50
|
* @param {*} [options] Override http request option.
|
|
51
51
|
* @throws {RequiredError}
|
|
52
52
|
*/
|
|
53
|
-
getCategory: (code: string,
|
|
53
|
+
getCategory: (code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
54
54
|
/**
|
|
55
55
|
* Retrieves a list of categories.
|
|
56
56
|
* @summary List categories
|
|
57
57
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
58
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
59
|
+
* @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.
|
|
58
60
|
* @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} [
|
|
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} [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>
|
|
61
62
|
* @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>
|
|
62
63
|
* @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/>
|
|
64
|
+
* @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>
|
|
63
65
|
* @param {*} [options] Override http request option.
|
|
64
66
|
* @throws {RequiredError}
|
|
65
67
|
*/
|
|
66
|
-
listCategories: (authorization?: string,
|
|
68
|
+
listCategories: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
67
69
|
/**
|
|
68
70
|
* This will partially update a category by code with the provided fields.
|
|
69
71
|
* @summary Update the category
|
|
@@ -102,25 +104,27 @@ export declare const CategoriesApiFp: (configuration?: Configuration) => {
|
|
|
102
104
|
* Get category by code.
|
|
103
105
|
* @summary Retrieve the category
|
|
104
106
|
* @param {string} code
|
|
105
|
-
* @param {string} expand
|
|
106
107
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
108
|
+
* @param {string} [expand] Expand to fetch additional information about the category.
|
|
107
109
|
* @param {*} [options] Override http request option.
|
|
108
110
|
* @throws {RequiredError}
|
|
109
111
|
*/
|
|
110
|
-
getCategory(code: string,
|
|
112
|
+
getCategory(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetCategoryResponseClass>>;
|
|
111
113
|
/**
|
|
112
114
|
* Retrieves a list of categories.
|
|
113
115
|
* @summary List categories
|
|
114
116
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
117
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
118
|
+
* @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.
|
|
115
119
|
* @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} [
|
|
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>
|
|
120
|
+
* @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>
|
|
118
121
|
* @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>
|
|
119
122
|
* @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/>
|
|
123
|
+
* @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>
|
|
120
124
|
* @param {*} [options] Override http request option.
|
|
121
125
|
* @throws {RequiredError}
|
|
122
126
|
*/
|
|
123
|
-
listCategories(authorization?: string,
|
|
127
|
+
listCategories(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCategoriesResponseClass>>;
|
|
124
128
|
/**
|
|
125
129
|
* This will partially update a category by code with the provided fields.
|
|
126
130
|
* @summary Update the category
|
|
@@ -159,25 +163,27 @@ export declare const CategoriesApiFactory: (configuration?: Configuration, baseP
|
|
|
159
163
|
* Get category by code.
|
|
160
164
|
* @summary Retrieve the category
|
|
161
165
|
* @param {string} code
|
|
162
|
-
* @param {string} expand
|
|
163
166
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
167
|
+
* @param {string} [expand] Expand to fetch additional information about the category.
|
|
164
168
|
* @param {*} [options] Override http request option.
|
|
165
169
|
* @throws {RequiredError}
|
|
166
170
|
*/
|
|
167
|
-
getCategory(code: string,
|
|
171
|
+
getCategory(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetCategoryResponseClass>;
|
|
168
172
|
/**
|
|
169
173
|
* Retrieves a list of categories.
|
|
170
174
|
* @summary List categories
|
|
171
175
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
176
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
177
|
+
* @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.
|
|
172
178
|
* @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} [
|
|
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>
|
|
179
|
+
* @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>
|
|
175
180
|
* @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>
|
|
176
181
|
* @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/>
|
|
182
|
+
* @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>
|
|
177
183
|
* @param {*} [options] Override http request option.
|
|
178
184
|
* @throws {RequiredError}
|
|
179
185
|
*/
|
|
180
|
-
listCategories(authorization?: string,
|
|
186
|
+
listCategories(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListCategoriesResponseClass>;
|
|
181
187
|
/**
|
|
182
188
|
* This will partially update a category by code with the provided fields.
|
|
183
189
|
* @summary Update the category
|
|
@@ -240,17 +246,17 @@ export interface CategoriesApiGetCategoryRequest {
|
|
|
240
246
|
*/
|
|
241
247
|
readonly code: string;
|
|
242
248
|
/**
|
|
243
|
-
*
|
|
249
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
244
250
|
* @type {string}
|
|
245
251
|
* @memberof CategoriesApiGetCategory
|
|
246
252
|
*/
|
|
247
|
-
readonly
|
|
253
|
+
readonly authorization?: string;
|
|
248
254
|
/**
|
|
249
|
-
*
|
|
255
|
+
* Expand to fetch additional information about the category.
|
|
250
256
|
* @type {string}
|
|
251
257
|
* @memberof CategoriesApiGetCategory
|
|
252
258
|
*/
|
|
253
|
-
readonly
|
|
259
|
+
readonly expand?: string;
|
|
254
260
|
}
|
|
255
261
|
/**
|
|
256
262
|
* Request parameters for listCategories operation in CategoriesApi.
|
|
@@ -265,19 +271,25 @@ export interface CategoriesApiListCategoriesRequest {
|
|
|
265
271
|
*/
|
|
266
272
|
readonly authorization?: string;
|
|
267
273
|
/**
|
|
268
|
-
*
|
|
274
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
275
|
+
* @type {number}
|
|
276
|
+
* @memberof CategoriesApiListCategories
|
|
277
|
+
*/
|
|
278
|
+
readonly pageSize?: number;
|
|
279
|
+
/**
|
|
280
|
+
* 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.
|
|
269
281
|
* @type {string}
|
|
270
282
|
* @memberof CategoriesApiListCategories
|
|
271
283
|
*/
|
|
272
|
-
readonly
|
|
284
|
+
readonly pageToken?: string;
|
|
273
285
|
/**
|
|
274
|
-
*
|
|
286
|
+
* 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>
|
|
275
287
|
* @type {string}
|
|
276
288
|
* @memberof CategoriesApiListCategories
|
|
277
289
|
*/
|
|
278
|
-
readonly
|
|
290
|
+
readonly filter?: string;
|
|
279
291
|
/**
|
|
280
|
-
* Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields:
|
|
292
|
+
* 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>
|
|
281
293
|
* @type {string}
|
|
282
294
|
* @memberof CategoriesApiListCategories
|
|
283
295
|
*/
|
|
@@ -294,6 +306,12 @@ export interface CategoriesApiListCategoriesRequest {
|
|
|
294
306
|
* @memberof CategoriesApiListCategories
|
|
295
307
|
*/
|
|
296
308
|
readonly expand?: string;
|
|
309
|
+
/**
|
|
310
|
+
* 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>
|
|
311
|
+
* @type {string}
|
|
312
|
+
* @memberof CategoriesApiListCategories
|
|
313
|
+
*/
|
|
314
|
+
readonly filters?: string;
|
|
297
315
|
}
|
|
298
316
|
/**
|
|
299
317
|
* Request parameters for patchCategory operation in CategoriesApi.
|
|
@@ -193,12 +193,12 @@ var CategoriesApiAxiosParamCreator = function (configuration) {
|
|
|
193
193
|
* Get category by code.
|
|
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);
|
|
@@ -247,15 +245,17 @@ var CategoriesApiAxiosParamCreator = function (configuration) {
|
|
|
247
245
|
* Retrieves a list of categories.
|
|
248
246
|
* @summary List categories
|
|
249
247
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
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
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} [
|
|
252
|
-
* @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>
|
|
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
|
}
|
|
@@ -416,17 +422,17 @@ var CategoriesApiFp = function (configuration) {
|
|
|
416
422
|
* Get category by code.
|
|
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)];
|
|
@@ -438,20 +444,22 @@ var CategoriesApiFp = function (configuration) {
|
|
|
438
444
|
* Retrieves a list of categories.
|
|
439
445
|
* @summary List categories
|
|
440
446
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
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.
|
|
441
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>
|
|
442
|
-
* @param {string} [
|
|
443
|
-
* @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>
|
|
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)];
|
|
@@ -517,28 +525,30 @@ var CategoriesApiFactory = function (configuration, basePath, axios) {
|
|
|
517
525
|
* Get category by code.
|
|
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
537
|
* Retrieves a list of categories.
|
|
530
538
|
* @summary List categories
|
|
531
539
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
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.
|
|
532
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>
|
|
533
|
-
* @param {string} [
|
|
534
|
-
* @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>
|
|
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
554
|
* This will partially update a category by code with the provided fields.
|
|
@@ -600,7 +610,7 @@ 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
616
|
* Retrieves a list of categories.
|
|
@@ -613,7 +623,7 @@ 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
629
|
* This will partially update a category by code with the provided fields.
|
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;
|
|
@@ -45,19 +45,19 @@ export declare const StatusesApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
45
45
|
* Get status by code.
|
|
46
46
|
* @summary Retrieve the status
|
|
47
47
|
* @param {string} code
|
|
48
|
-
* @param {string} expand
|
|
49
48
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
49
|
+
* @param {string} [expand] Expand to fetch additional information about the status.
|
|
50
50
|
* @param {*} [options] Override http request option.
|
|
51
51
|
* @throws {RequiredError}
|
|
52
52
|
*/
|
|
53
|
-
getStatus: (code: string,
|
|
53
|
+
getStatus: (code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
54
54
|
/**
|
|
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
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
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:
|
|
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: code, name, slug</i>
|
|
61
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>
|
|
62
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/>
|
|
63
63
|
* @param {*} [options] Override http request option.
|
|
@@ -102,19 +102,19 @@ export declare const StatusesApiFp: (configuration?: Configuration) => {
|
|
|
102
102
|
* Get status by code.
|
|
103
103
|
* @summary Retrieve the status
|
|
104
104
|
* @param {string} code
|
|
105
|
-
* @param {string} expand
|
|
106
105
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
106
|
+
* @param {string} [expand] Expand to fetch additional information about the status.
|
|
107
107
|
* @param {*} [options] Override http request option.
|
|
108
108
|
* @throws {RequiredError}
|
|
109
109
|
*/
|
|
110
|
-
getStatus(code: string,
|
|
110
|
+
getStatus(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetStatusResponseClass>>;
|
|
111
111
|
/**
|
|
112
112
|
* Retrieves a list of statuses.
|
|
113
113
|
* @summary List statuses
|
|
114
114
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
115
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
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:
|
|
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: code, name, slug</i>
|
|
118
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>
|
|
119
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/>
|
|
120
120
|
* @param {*} [options] Override http request option.
|
|
@@ -159,19 +159,19 @@ export declare const StatusesApiFactory: (configuration?: Configuration, basePat
|
|
|
159
159
|
* Get status by code.
|
|
160
160
|
* @summary Retrieve the status
|
|
161
161
|
* @param {string} code
|
|
162
|
-
* @param {string} expand
|
|
163
162
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
163
|
+
* @param {string} [expand] Expand to fetch additional information about the status.
|
|
164
164
|
* @param {*} [options] Override http request option.
|
|
165
165
|
* @throws {RequiredError}
|
|
166
166
|
*/
|
|
167
|
-
getStatus(code: string,
|
|
167
|
+
getStatus(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetStatusResponseClass>;
|
|
168
168
|
/**
|
|
169
169
|
* Retrieves a list of statuses.
|
|
170
170
|
* @summary List statuses
|
|
171
171
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
172
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
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:
|
|
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: code, name, slug</i>
|
|
175
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>
|
|
176
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/>
|
|
177
177
|
* @param {*} [options] Override http request option.
|
|
@@ -240,17 +240,17 @@ export interface StatusesApiGetStatusRequest {
|
|
|
240
240
|
*/
|
|
241
241
|
readonly code: string;
|
|
242
242
|
/**
|
|
243
|
-
*
|
|
243
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
244
244
|
* @type {string}
|
|
245
245
|
* @memberof StatusesApiGetStatus
|
|
246
246
|
*/
|
|
247
|
-
readonly
|
|
247
|
+
readonly authorization?: string;
|
|
248
248
|
/**
|
|
249
|
-
*
|
|
249
|
+
* Expand to fetch additional information about the status.
|
|
250
250
|
* @type {string}
|
|
251
251
|
* @memberof StatusesApiGetStatus
|
|
252
252
|
*/
|
|
253
|
-
readonly
|
|
253
|
+
readonly expand?: string;
|
|
254
254
|
}
|
|
255
255
|
/**
|
|
256
256
|
* Request parameters for listStatuses operation in StatusesApi.
|
|
@@ -277,7 +277,7 @@ export interface StatusesApiListStatusesRequest {
|
|
|
277
277
|
*/
|
|
278
278
|
readonly filters?: string;
|
|
279
279
|
/**
|
|
280
|
-
* Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields:
|
|
280
|
+
* Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, name, slug</i>
|
|
281
281
|
* @type {string}
|
|
282
282
|
* @memberof StatusesApiListStatuses
|
|
283
283
|
*/
|
package/dist/api/statuses-api.js
CHANGED
|
@@ -193,12 +193,12 @@ var StatusesApiAxiosParamCreator = function (configuration) {
|
|
|
193
193
|
* Get status by code.
|
|
194
194
|
* @summary Retrieve the status
|
|
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 status.
|
|
198
198
|
* @param {*} [options] Override http request option.
|
|
199
199
|
* @throws {RequiredError}
|
|
200
200
|
*/
|
|
201
|
-
getStatus: function (code,
|
|
201
|
+
getStatus: 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 StatusesApiAxiosParamCreator = function (configuration) {
|
|
|
207
207
|
case 0:
|
|
208
208
|
// verify required parameter 'code' is not null or undefined
|
|
209
209
|
(0, common_1.assertParamExists)('getStatus', 'code', code);
|
|
210
|
-
// verify required parameter 'expand' is not null or undefined
|
|
211
|
-
(0, common_1.assertParamExists)('getStatus', 'expand', expand);
|
|
212
210
|
localVarPath = "/taskservice/v1/statuses/{code}"
|
|
213
211
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
214
212
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -249,7 +247,7 @@ var StatusesApiAxiosParamCreator = function (configuration) {
|
|
|
249
247
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
250
248
|
* @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
249
|
* @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>
|
|
252
|
-
* @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:
|
|
250
|
+
* @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: code, name, slug</i>
|
|
253
251
|
* @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
252
|
* @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/>
|
|
255
253
|
* @param {*} [options] Override http request option.
|
|
@@ -416,17 +414,17 @@ var StatusesApiFp = function (configuration) {
|
|
|
416
414
|
* Get status by code.
|
|
417
415
|
* @summary Retrieve the status
|
|
418
416
|
* @param {string} code
|
|
419
|
-
* @param {string} expand
|
|
420
417
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
418
|
+
* @param {string} [expand] Expand to fetch additional information about the status.
|
|
421
419
|
* @param {*} [options] Override http request option.
|
|
422
420
|
* @throws {RequiredError}
|
|
423
421
|
*/
|
|
424
|
-
getStatus: function (code,
|
|
422
|
+
getStatus: function (code, authorization, expand, options) {
|
|
425
423
|
return __awaiter(this, void 0, void 0, function () {
|
|
426
424
|
var localVarAxiosArgs;
|
|
427
425
|
return __generator(this, function (_a) {
|
|
428
426
|
switch (_a.label) {
|
|
429
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getStatus(code,
|
|
427
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getStatus(code, authorization, expand, options)];
|
|
430
428
|
case 1:
|
|
431
429
|
localVarAxiosArgs = _a.sent();
|
|
432
430
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -440,7 +438,7 @@ var StatusesApiFp = function (configuration) {
|
|
|
440
438
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
441
439
|
* @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>
|
|
442
440
|
* @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>
|
|
443
|
-
* @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:
|
|
441
|
+
* @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: code, name, slug</i>
|
|
444
442
|
* @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
443
|
* @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/>
|
|
446
444
|
* @param {*} [options] Override http request option.
|
|
@@ -517,13 +515,13 @@ var StatusesApiFactory = function (configuration, basePath, axios) {
|
|
|
517
515
|
* Get status by code.
|
|
518
516
|
* @summary Retrieve the status
|
|
519
517
|
* @param {string} code
|
|
520
|
-
* @param {string} expand
|
|
521
518
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
519
|
+
* @param {string} [expand] Expand to fetch additional information about the status.
|
|
522
520
|
* @param {*} [options] Override http request option.
|
|
523
521
|
* @throws {RequiredError}
|
|
524
522
|
*/
|
|
525
|
-
getStatus: function (code,
|
|
526
|
-
return localVarFp.getStatus(code,
|
|
523
|
+
getStatus: function (code, authorization, expand, options) {
|
|
524
|
+
return localVarFp.getStatus(code, authorization, expand, options).then(function (request) { return request(axios, basePath); });
|
|
527
525
|
},
|
|
528
526
|
/**
|
|
529
527
|
* Retrieves a list of statuses.
|
|
@@ -531,7 +529,7 @@ var StatusesApiFactory = function (configuration, basePath, axios) {
|
|
|
531
529
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
532
530
|
* @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>
|
|
533
531
|
* @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>
|
|
534
|
-
* @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:
|
|
532
|
+
* @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: code, name, slug</i>
|
|
535
533
|
* @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
534
|
* @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/>
|
|
537
535
|
* @param {*} [options] Override http request option.
|
|
@@ -600,7 +598,7 @@ var StatusesApi = /** @class */ (function (_super) {
|
|
|
600
598
|
*/
|
|
601
599
|
StatusesApi.prototype.getStatus = function (requestParameters, options) {
|
|
602
600
|
var _this = this;
|
|
603
|
-
return (0, exports.StatusesApiFp)(this.configuration).getStatus(requestParameters.code, requestParameters.
|
|
601
|
+
return (0, exports.StatusesApiFp)(this.configuration).getStatus(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
604
602
|
};
|
|
605
603
|
/**
|
|
606
604
|
* Retrieves a list of statuses.
|