@emilgroup/task-sdk-node 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.
|
|
@@ -197,12 +197,12 @@ var CategoriesApiAxiosParamCreator = function (configuration) {
|
|
|
197
197
|
* Get category by code.
|
|
198
198
|
* @summary Retrieve the category
|
|
199
199
|
* @param {string} code
|
|
200
|
-
* @param {string} expand
|
|
201
200
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
201
|
+
* @param {string} [expand] Expand to fetch additional information about the category.
|
|
202
202
|
* @param {*} [options] Override http request option.
|
|
203
203
|
* @throws {RequiredError}
|
|
204
204
|
*/
|
|
205
|
-
getCategory: function (code,
|
|
205
|
+
getCategory: function (code, authorization, expand, options) {
|
|
206
206
|
if (options === void 0) { options = {}; }
|
|
207
207
|
return __awaiter(_this, void 0, void 0, function () {
|
|
208
208
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -211,8 +211,6 @@ var CategoriesApiAxiosParamCreator = function (configuration) {
|
|
|
211
211
|
case 0:
|
|
212
212
|
// verify required parameter 'code' is not null or undefined
|
|
213
213
|
(0, common_1.assertParamExists)('getCategory', 'code', code);
|
|
214
|
-
// verify required parameter 'expand' is not null or undefined
|
|
215
|
-
(0, common_1.assertParamExists)('getCategory', 'expand', expand);
|
|
216
214
|
localVarPath = "/taskservice/v1/categories/{code}"
|
|
217
215
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
218
216
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -251,15 +249,17 @@ var CategoriesApiAxiosParamCreator = function (configuration) {
|
|
|
251
249
|
* Retrieves a list of categories.
|
|
252
250
|
* @summary List categories
|
|
253
251
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
252
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
253
|
+
* @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.
|
|
254
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} [
|
|
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>
|
|
255
|
+
* @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>
|
|
257
256
|
* @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>
|
|
258
257
|
* @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
|
+
* @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>
|
|
259
259
|
* @param {*} [options] Override http request option.
|
|
260
260
|
* @throws {RequiredError}
|
|
261
261
|
*/
|
|
262
|
-
listCategories: function (authorization,
|
|
262
|
+
listCategories: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
263
263
|
if (options === void 0) { options = {}; }
|
|
264
264
|
return __awaiter(_this, void 0, void 0, function () {
|
|
265
265
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -282,12 +282,15 @@ var CategoriesApiAxiosParamCreator = function (configuration) {
|
|
|
282
282
|
// authentication bearer required
|
|
283
283
|
// http bearer authentication required
|
|
284
284
|
_a.sent();
|
|
285
|
+
if (pageSize !== undefined) {
|
|
286
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
287
|
+
}
|
|
288
|
+
if (pageToken !== undefined) {
|
|
289
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
290
|
+
}
|
|
285
291
|
if (filter !== undefined) {
|
|
286
292
|
localVarQueryParameter['filter'] = filter;
|
|
287
293
|
}
|
|
288
|
-
if (filters !== undefined) {
|
|
289
|
-
localVarQueryParameter['filters'] = filters;
|
|
290
|
-
}
|
|
291
294
|
if (search !== undefined) {
|
|
292
295
|
localVarQueryParameter['search'] = search;
|
|
293
296
|
}
|
|
@@ -297,6 +300,9 @@ var CategoriesApiAxiosParamCreator = function (configuration) {
|
|
|
297
300
|
if (expand !== undefined) {
|
|
298
301
|
localVarQueryParameter['expand'] = expand;
|
|
299
302
|
}
|
|
303
|
+
if (filters !== undefined) {
|
|
304
|
+
localVarQueryParameter['filters'] = filters;
|
|
305
|
+
}
|
|
300
306
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
301
307
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
302
308
|
}
|
|
@@ -420,17 +426,17 @@ var CategoriesApiFp = function (configuration) {
|
|
|
420
426
|
* Get category by code.
|
|
421
427
|
* @summary Retrieve the category
|
|
422
428
|
* @param {string} code
|
|
423
|
-
* @param {string} expand
|
|
424
429
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
430
|
+
* @param {string} [expand] Expand to fetch additional information about the category.
|
|
425
431
|
* @param {*} [options] Override http request option.
|
|
426
432
|
* @throws {RequiredError}
|
|
427
433
|
*/
|
|
428
|
-
getCategory: function (code,
|
|
434
|
+
getCategory: function (code, authorization, expand, options) {
|
|
429
435
|
return __awaiter(this, void 0, void 0, function () {
|
|
430
436
|
var localVarAxiosArgs;
|
|
431
437
|
return __generator(this, function (_a) {
|
|
432
438
|
switch (_a.label) {
|
|
433
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getCategory(code,
|
|
439
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getCategory(code, authorization, expand, options)];
|
|
434
440
|
case 1:
|
|
435
441
|
localVarAxiosArgs = _a.sent();
|
|
436
442
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -442,20 +448,22 @@ var CategoriesApiFp = function (configuration) {
|
|
|
442
448
|
* Retrieves a list of categories.
|
|
443
449
|
* @summary List categories
|
|
444
450
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
451
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
452
|
+
* @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.
|
|
445
453
|
* @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} [
|
|
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>
|
|
454
|
+
* @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>
|
|
448
455
|
* @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>
|
|
449
456
|
* @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/>
|
|
457
|
+
* @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>
|
|
450
458
|
* @param {*} [options] Override http request option.
|
|
451
459
|
* @throws {RequiredError}
|
|
452
460
|
*/
|
|
453
|
-
listCategories: function (authorization,
|
|
461
|
+
listCategories: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
454
462
|
return __awaiter(this, void 0, void 0, function () {
|
|
455
463
|
var localVarAxiosArgs;
|
|
456
464
|
return __generator(this, function (_a) {
|
|
457
465
|
switch (_a.label) {
|
|
458
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listCategories(authorization,
|
|
466
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listCategories(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
459
467
|
case 1:
|
|
460
468
|
localVarAxiosArgs = _a.sent();
|
|
461
469
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -521,28 +529,30 @@ var CategoriesApiFactory = function (configuration, basePath, axios) {
|
|
|
521
529
|
* Get category by code.
|
|
522
530
|
* @summary Retrieve the category
|
|
523
531
|
* @param {string} code
|
|
524
|
-
* @param {string} expand
|
|
525
532
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
533
|
+
* @param {string} [expand] Expand to fetch additional information about the category.
|
|
526
534
|
* @param {*} [options] Override http request option.
|
|
527
535
|
* @throws {RequiredError}
|
|
528
536
|
*/
|
|
529
|
-
getCategory: function (code,
|
|
530
|
-
return localVarFp.getCategory(code,
|
|
537
|
+
getCategory: function (code, authorization, expand, options) {
|
|
538
|
+
return localVarFp.getCategory(code, authorization, expand, options).then(function (request) { return request(axios, basePath); });
|
|
531
539
|
},
|
|
532
540
|
/**
|
|
533
541
|
* Retrieves a list of categories.
|
|
534
542
|
* @summary List categories
|
|
535
543
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
544
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
545
|
+
* @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.
|
|
536
546
|
* @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} [
|
|
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>
|
|
547
|
+
* @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>
|
|
539
548
|
* @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>
|
|
540
549
|
* @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/>
|
|
550
|
+
* @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>
|
|
541
551
|
* @param {*} [options] Override http request option.
|
|
542
552
|
* @throws {RequiredError}
|
|
543
553
|
*/
|
|
544
|
-
listCategories: function (authorization,
|
|
545
|
-
return localVarFp.listCategories(authorization,
|
|
554
|
+
listCategories: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
555
|
+
return localVarFp.listCategories(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
546
556
|
},
|
|
547
557
|
/**
|
|
548
558
|
* This will partially update a category by code with the provided fields.
|
|
@@ -604,7 +614,7 @@ var CategoriesApi = /** @class */ (function (_super) {
|
|
|
604
614
|
*/
|
|
605
615
|
CategoriesApi.prototype.getCategory = function (requestParameters, options) {
|
|
606
616
|
var _this = this;
|
|
607
|
-
return (0, exports.CategoriesApiFp)(this.configuration).getCategory(requestParameters.code, requestParameters.
|
|
617
|
+
return (0, exports.CategoriesApiFp)(this.configuration).getCategory(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
608
618
|
};
|
|
609
619
|
/**
|
|
610
620
|
* Retrieves a list of categories.
|
|
@@ -617,7 +627,7 @@ var CategoriesApi = /** @class */ (function (_super) {
|
|
|
617
627
|
CategoriesApi.prototype.listCategories = function (requestParameters, options) {
|
|
618
628
|
var _this = this;
|
|
619
629
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
620
|
-
return (0, exports.CategoriesApiFp)(this.configuration).listCategories(requestParameters.authorization, requestParameters.
|
|
630
|
+
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); });
|
|
621
631
|
};
|
|
622
632
|
/**
|
|
623
633
|
* This will partially update a category by code with the provided fields.
|
package/dist/api/default-api.js
CHANGED
|
@@ -107,7 +107,7 @@ var DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
107
107
|
return __awaiter(_this, void 0, void 0, function () {
|
|
108
108
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
109
109
|
return __generator(this, function (_a) {
|
|
110
|
-
localVarPath = "/
|
|
110
|
+
localVarPath = "/taskservice/health";
|
|
111
111
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
112
112
|
if (configuration) {
|
|
113
113
|
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
|
@@ -197,12 +197,12 @@ var StatusesApiAxiosParamCreator = function (configuration) {
|
|
|
197
197
|
* Get status by code.
|
|
198
198
|
* @summary Retrieve the status
|
|
199
199
|
* @param {string} code
|
|
200
|
-
* @param {string} expand
|
|
201
200
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
201
|
+
* @param {string} [expand] Expand to fetch additional information about the status.
|
|
202
202
|
* @param {*} [options] Override http request option.
|
|
203
203
|
* @throws {RequiredError}
|
|
204
204
|
*/
|
|
205
|
-
getStatus: function (code,
|
|
205
|
+
getStatus: function (code, authorization, expand, options) {
|
|
206
206
|
if (options === void 0) { options = {}; }
|
|
207
207
|
return __awaiter(_this, void 0, void 0, function () {
|
|
208
208
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -211,8 +211,6 @@ var StatusesApiAxiosParamCreator = function (configuration) {
|
|
|
211
211
|
case 0:
|
|
212
212
|
// verify required parameter 'code' is not null or undefined
|
|
213
213
|
(0, common_1.assertParamExists)('getStatus', 'code', code);
|
|
214
|
-
// verify required parameter 'expand' is not null or undefined
|
|
215
|
-
(0, common_1.assertParamExists)('getStatus', 'expand', expand);
|
|
216
214
|
localVarPath = "/taskservice/v1/statuses/{code}"
|
|
217
215
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
218
216
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -253,7 +251,7 @@ var StatusesApiAxiosParamCreator = function (configuration) {
|
|
|
253
251
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
254
252
|
* @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
253
|
* @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:
|
|
254
|
+
* @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>
|
|
257
255
|
* @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>
|
|
258
256
|
* @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/>
|
|
259
257
|
* @param {*} [options] Override http request option.
|
|
@@ -420,17 +418,17 @@ var StatusesApiFp = function (configuration) {
|
|
|
420
418
|
* Get status by code.
|
|
421
419
|
* @summary Retrieve the status
|
|
422
420
|
* @param {string} code
|
|
423
|
-
* @param {string} expand
|
|
424
421
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
422
|
+
* @param {string} [expand] Expand to fetch additional information about the status.
|
|
425
423
|
* @param {*} [options] Override http request option.
|
|
426
424
|
* @throws {RequiredError}
|
|
427
425
|
*/
|
|
428
|
-
getStatus: function (code,
|
|
426
|
+
getStatus: function (code, authorization, expand, options) {
|
|
429
427
|
return __awaiter(this, void 0, void 0, function () {
|
|
430
428
|
var localVarAxiosArgs;
|
|
431
429
|
return __generator(this, function (_a) {
|
|
432
430
|
switch (_a.label) {
|
|
433
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getStatus(code,
|
|
431
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getStatus(code, authorization, expand, options)];
|
|
434
432
|
case 1:
|
|
435
433
|
localVarAxiosArgs = _a.sent();
|
|
436
434
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -444,7 +442,7 @@ var StatusesApiFp = function (configuration) {
|
|
|
444
442
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
445
443
|
* @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
444
|
* @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:
|
|
445
|
+
* @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>
|
|
448
446
|
* @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>
|
|
449
447
|
* @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/>
|
|
450
448
|
* @param {*} [options] Override http request option.
|
|
@@ -521,13 +519,13 @@ var StatusesApiFactory = function (configuration, basePath, axios) {
|
|
|
521
519
|
* Get status by code.
|
|
522
520
|
* @summary Retrieve the status
|
|
523
521
|
* @param {string} code
|
|
524
|
-
* @param {string} expand
|
|
525
522
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
523
|
+
* @param {string} [expand] Expand to fetch additional information about the status.
|
|
526
524
|
* @param {*} [options] Override http request option.
|
|
527
525
|
* @throws {RequiredError}
|
|
528
526
|
*/
|
|
529
|
-
getStatus: function (code,
|
|
530
|
-
return localVarFp.getStatus(code,
|
|
527
|
+
getStatus: function (code, authorization, expand, options) {
|
|
528
|
+
return localVarFp.getStatus(code, authorization, expand, options).then(function (request) { return request(axios, basePath); });
|
|
531
529
|
},
|
|
532
530
|
/**
|
|
533
531
|
* Retrieves a list of statuses.
|
|
@@ -535,7 +533,7 @@ var StatusesApiFactory = function (configuration, basePath, axios) {
|
|
|
535
533
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
536
534
|
* @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
535
|
* @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:
|
|
536
|
+
* @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>
|
|
539
537
|
* @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>
|
|
540
538
|
* @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/>
|
|
541
539
|
* @param {*} [options] Override http request option.
|
|
@@ -604,7 +602,7 @@ var StatusesApi = /** @class */ (function (_super) {
|
|
|
604
602
|
*/
|
|
605
603
|
StatusesApi.prototype.getStatus = function (requestParameters, options) {
|
|
606
604
|
var _this = this;
|
|
607
|
-
return (0, exports.StatusesApiFp)(this.configuration).getStatus(requestParameters.code, requestParameters.
|
|
605
|
+
return (0, exports.StatusesApiFp)(this.configuration).getStatus(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
608
606
|
};
|
|
609
607
|
/**
|
|
610
608
|
* Retrieves a list of statuses.
|