@emilgroup/task-sdk 1.0.1-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +51 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/README.md +51 -0
- package/api/categories-api.ts +651 -0
- package/api/default-api.ts +124 -0
- package/api/hub-spot-api.ts +165 -0
- package/api/priorities-api.ts +284 -0
- package/api/statuses-api.ts +651 -0
- package/api/tasks-api.ts +651 -0
- package/api.ts +37 -0
- package/base.ts +331 -0
- package/common.ts +198 -0
- package/configuration.ts +110 -0
- package/dist/api/categories-api.d.ts +366 -0
- package/dist/api/categories-api.js +626 -0
- package/dist/api/default-api.d.ts +70 -0
- package/dist/api/default-api.js +200 -0
- package/dist/api/hub-spot-api.d.ts +97 -0
- package/dist/api/hub-spot-api.js +224 -0
- package/dist/api/priorities-api.d.ts +162 -0
- package/dist/api/priorities-api.js +324 -0
- package/dist/api/statuses-api.d.ts +366 -0
- package/dist/api/statuses-api.js +626 -0
- package/dist/api/tasks-api.d.ts +366 -0
- package/dist/api/tasks-api.js +626 -0
- package/dist/api.d.ts +17 -0
- package/dist/api.js +35 -0
- package/dist/base.d.ts +86 -0
- package/dist/base.js +367 -0
- package/dist/common.d.ts +91 -0
- package/dist/common.js +276 -0
- package/dist/configuration.d.ts +89 -0
- package/dist/configuration.js +52 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.js +36 -0
- package/dist/models/category-class.d.ts +60 -0
- package/dist/models/category-class.js +15 -0
- package/dist/models/create-category-request-dto.d.ts +24 -0
- package/dist/models/create-category-request-dto.js +15 -0
- package/dist/models/create-category-response-class.d.ts +25 -0
- package/dist/models/create-category-response-class.js +15 -0
- package/dist/models/create-hub-spot-ticket-request-dto.d.ts +31 -0
- package/dist/models/create-hub-spot-ticket-request-dto.js +15 -0
- package/dist/models/create-hub-spot-ticket-response-class.d.ts +25 -0
- package/dist/models/create-hub-spot-ticket-response-class.js +15 -0
- package/dist/models/create-priority-request-dto.d.ts +24 -0
- package/dist/models/create-priority-request-dto.js +15 -0
- package/dist/models/create-priority-response-class.d.ts +25 -0
- package/dist/models/create-priority-response-class.js +15 -0
- package/dist/models/create-status-request-dto.d.ts +24 -0
- package/dist/models/create-status-request-dto.js +15 -0
- package/dist/models/create-status-response-class.d.ts +25 -0
- package/dist/models/create-status-response-class.js +15 -0
- package/dist/models/create-task-request-dto.d.ts +54 -0
- package/dist/models/create-task-request-dto.js +15 -0
- package/dist/models/create-task-response-class.d.ts +25 -0
- package/dist/models/create-task-response-class.js +15 -0
- package/dist/models/get-category-response-class.d.ts +25 -0
- package/dist/models/get-category-response-class.js +15 -0
- package/dist/models/get-priority-response-class.d.ts +25 -0
- package/dist/models/get-priority-response-class.js +15 -0
- package/dist/models/get-status-response-class.d.ts +25 -0
- package/dist/models/get-status-response-class.js +15 -0
- package/dist/models/get-task-response-class.d.ts +25 -0
- package/dist/models/get-task-response-class.js +15 -0
- package/dist/models/hub-spot-ticket-class.d.ts +49 -0
- package/dist/models/hub-spot-ticket-class.js +15 -0
- package/dist/models/hub-spot-ticket-error-class.d.ts +30 -0
- package/dist/models/hub-spot-ticket-error-class.js +15 -0
- package/dist/models/hub-spot-ticket-name-value-dto.d.ts +30 -0
- package/dist/models/hub-spot-ticket-name-value-dto.js +15 -0
- package/dist/models/index.d.ts +32 -0
- package/dist/models/index.js +48 -0
- package/dist/models/inline-response200.d.ts +54 -0
- package/dist/models/inline-response200.js +15 -0
- package/dist/models/inline-response503.d.ts +54 -0
- package/dist/models/inline-response503.js +15 -0
- package/dist/models/list-categories-response-class.d.ts +43 -0
- package/dist/models/list-categories-response-class.js +15 -0
- package/dist/models/list-statuses-response-class.d.ts +43 -0
- package/dist/models/list-statuses-response-class.js +15 -0
- package/dist/models/list-tasks-response-class.d.ts +43 -0
- package/dist/models/list-tasks-response-class.js +15 -0
- package/dist/models/priority-class.d.ts +60 -0
- package/dist/models/priority-class.js +15 -0
- package/dist/models/status-class.d.ts +60 -0
- package/dist/models/status-class.js +15 -0
- package/dist/models/task-class.d.ts +99 -0
- package/dist/models/task-class.js +15 -0
- package/dist/models/update-category-request-dto.d.ts +30 -0
- package/dist/models/update-category-request-dto.js +15 -0
- package/dist/models/update-category-response-class.d.ts +25 -0
- package/dist/models/update-category-response-class.js +15 -0
- package/dist/models/update-status-request-dto.d.ts +30 -0
- package/dist/models/update-status-request-dto.js +15 -0
- package/dist/models/update-status-response-class.d.ts +25 -0
- package/dist/models/update-status-response-class.js +15 -0
- package/dist/models/update-task-request-dto.d.ts +60 -0
- package/dist/models/update-task-request-dto.js +15 -0
- package/dist/models/update-task-response-class.d.ts +25 -0
- package/dist/models/update-task-response-class.js +15 -0
- package/git_push.sh +57 -0
- package/index.ts +19 -0
- package/models/category-class.ts +66 -0
- package/models/create-category-request-dto.ts +30 -0
- package/models/create-category-response-class.ts +31 -0
- package/models/create-hub-spot-ticket-request-dto.ts +37 -0
- package/models/create-hub-spot-ticket-response-class.ts +31 -0
- package/models/create-priority-request-dto.ts +30 -0
- package/models/create-priority-response-class.ts +31 -0
- package/models/create-status-request-dto.ts +30 -0
- package/models/create-status-response-class.ts +31 -0
- package/models/create-task-request-dto.ts +60 -0
- package/models/create-task-response-class.ts +31 -0
- package/models/get-category-response-class.ts +31 -0
- package/models/get-priority-response-class.ts +31 -0
- package/models/get-status-response-class.ts +31 -0
- package/models/get-task-response-class.ts +31 -0
- package/models/hub-spot-ticket-class.ts +55 -0
- package/models/hub-spot-ticket-error-class.ts +36 -0
- package/models/hub-spot-ticket-name-value-dto.ts +36 -0
- package/models/index.ts +32 -0
- package/models/inline-response200.ts +48 -0
- package/models/inline-response503.ts +48 -0
- package/models/list-categories-response-class.ts +49 -0
- package/models/list-statuses-response-class.ts +49 -0
- package/models/list-tasks-response-class.ts +49 -0
- package/models/priority-class.ts +66 -0
- package/models/status-class.ts +66 -0
- package/models/task-class.ts +105 -0
- package/models/update-category-request-dto.ts +36 -0
- package/models/update-category-response-class.ts +31 -0
- package/models/update-status-request-dto.ts +36 -0
- package/models/update-status-response-class.ts +31 -0
- package/models/update-task-request-dto.ts +66 -0
- package/models/update-task-response-class.ts +31 -0
- package/package.json +26 -0
- package/tsconfig.json +23 -0
|
@@ -0,0 +1,366 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL TaskService
|
|
3
|
+
* The EMIL Task API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
13
|
+
import { Configuration } from '../configuration';
|
|
14
|
+
import { RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import { CreateCategoryRequestDto } from '../models';
|
|
16
|
+
import { CreateCategoryResponseClass } from '../models';
|
|
17
|
+
import { GetCategoryResponseClass } from '../models';
|
|
18
|
+
import { ListCategoriesResponseClass } from '../models';
|
|
19
|
+
import { UpdateCategoryRequestDto } from '../models';
|
|
20
|
+
import { UpdateCategoryResponseClass } from '../models';
|
|
21
|
+
/**
|
|
22
|
+
* CategoriesApi - axios parameter creator
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
export declare const CategoriesApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
26
|
+
/**
|
|
27
|
+
* This will create category.
|
|
28
|
+
* @summary Create the category
|
|
29
|
+
* @param {CreateCategoryRequestDto} createCategoryRequestDto
|
|
30
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
31
|
+
* @param {*} [options] Override http request option.
|
|
32
|
+
* @throws {RequiredError}
|
|
33
|
+
*/
|
|
34
|
+
createCategory: (createCategoryRequestDto: CreateCategoryRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
35
|
+
/**
|
|
36
|
+
* This will delete category.
|
|
37
|
+
* @summary Delete the category
|
|
38
|
+
* @param {string} code Unique identifier for the object.
|
|
39
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
40
|
+
* @param {*} [options] Override http request option.
|
|
41
|
+
* @throws {RequiredError}
|
|
42
|
+
*/
|
|
43
|
+
deleteCategory: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
44
|
+
/**
|
|
45
|
+
* This will get category.
|
|
46
|
+
* @summary Retrieve the category
|
|
47
|
+
* @param {string} code
|
|
48
|
+
* @param {string} expand
|
|
49
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
50
|
+
* @param {*} [options] Override http request option.
|
|
51
|
+
* @throws {RequiredError}
|
|
52
|
+
*/
|
|
53
|
+
getCategory: (code: string, expand: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
54
|
+
/**
|
|
55
|
+
* Retrieves a list of categories.
|
|
56
|
+
* @summary List categories
|
|
57
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
58
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, createdAt</i>
|
|
59
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, createdAt</i>
|
|
60
|
+
* @param {string} [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</i>
|
|
61
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
62
|
+
* @param {*} [options] Override http request option.
|
|
63
|
+
* @throws {RequiredError}
|
|
64
|
+
*/
|
|
65
|
+
listCategories: (authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
66
|
+
/**
|
|
67
|
+
* This will update category.
|
|
68
|
+
* @summary Update the category
|
|
69
|
+
* @param {string} code
|
|
70
|
+
* @param {UpdateCategoryRequestDto} updateCategoryRequestDto
|
|
71
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
72
|
+
* @param {*} [options] Override http request option.
|
|
73
|
+
* @throws {RequiredError}
|
|
74
|
+
*/
|
|
75
|
+
updateCategory: (code: string, updateCategoryRequestDto: UpdateCategoryRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
76
|
+
};
|
|
77
|
+
/**
|
|
78
|
+
* CategoriesApi - functional programming interface
|
|
79
|
+
* @export
|
|
80
|
+
*/
|
|
81
|
+
export declare const CategoriesApiFp: (configuration?: Configuration) => {
|
|
82
|
+
/**
|
|
83
|
+
* This will create category.
|
|
84
|
+
* @summary Create the category
|
|
85
|
+
* @param {CreateCategoryRequestDto} createCategoryRequestDto
|
|
86
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
87
|
+
* @param {*} [options] Override http request option.
|
|
88
|
+
* @throws {RequiredError}
|
|
89
|
+
*/
|
|
90
|
+
createCategory(createCategoryRequestDto: CreateCategoryRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateCategoryResponseClass>>;
|
|
91
|
+
/**
|
|
92
|
+
* This will delete category.
|
|
93
|
+
* @summary Delete the category
|
|
94
|
+
* @param {string} code Unique identifier for the object.
|
|
95
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
96
|
+
* @param {*} [options] Override http request option.
|
|
97
|
+
* @throws {RequiredError}
|
|
98
|
+
*/
|
|
99
|
+
deleteCategory(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
100
|
+
/**
|
|
101
|
+
* This will get category.
|
|
102
|
+
* @summary Retrieve the category
|
|
103
|
+
* @param {string} code
|
|
104
|
+
* @param {string} expand
|
|
105
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
106
|
+
* @param {*} [options] Override http request option.
|
|
107
|
+
* @throws {RequiredError}
|
|
108
|
+
*/
|
|
109
|
+
getCategory(code: string, expand: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetCategoryResponseClass>>;
|
|
110
|
+
/**
|
|
111
|
+
* Retrieves a list of categories.
|
|
112
|
+
* @summary List categories
|
|
113
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
114
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, createdAt</i>
|
|
115
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, createdAt</i>
|
|
116
|
+
* @param {string} [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</i>
|
|
117
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
118
|
+
* @param {*} [options] Override http request option.
|
|
119
|
+
* @throws {RequiredError}
|
|
120
|
+
*/
|
|
121
|
+
listCategories(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCategoriesResponseClass>>;
|
|
122
|
+
/**
|
|
123
|
+
* This will update category.
|
|
124
|
+
* @summary Update the category
|
|
125
|
+
* @param {string} code
|
|
126
|
+
* @param {UpdateCategoryRequestDto} updateCategoryRequestDto
|
|
127
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
128
|
+
* @param {*} [options] Override http request option.
|
|
129
|
+
* @throws {RequiredError}
|
|
130
|
+
*/
|
|
131
|
+
updateCategory(code: string, updateCategoryRequestDto: UpdateCategoryRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateCategoryResponseClass>>;
|
|
132
|
+
};
|
|
133
|
+
/**
|
|
134
|
+
* CategoriesApi - factory interface
|
|
135
|
+
* @export
|
|
136
|
+
*/
|
|
137
|
+
export declare const CategoriesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
138
|
+
/**
|
|
139
|
+
* This will create category.
|
|
140
|
+
* @summary Create the category
|
|
141
|
+
* @param {CreateCategoryRequestDto} createCategoryRequestDto
|
|
142
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
143
|
+
* @param {*} [options] Override http request option.
|
|
144
|
+
* @throws {RequiredError}
|
|
145
|
+
*/
|
|
146
|
+
createCategory(createCategoryRequestDto: CreateCategoryRequestDto, authorization?: string, options?: any): AxiosPromise<CreateCategoryResponseClass>;
|
|
147
|
+
/**
|
|
148
|
+
* This will delete category.
|
|
149
|
+
* @summary Delete the category
|
|
150
|
+
* @param {string} code Unique identifier for the object.
|
|
151
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
152
|
+
* @param {*} [options] Override http request option.
|
|
153
|
+
* @throws {RequiredError}
|
|
154
|
+
*/
|
|
155
|
+
deleteCategory(code: string, authorization?: string, options?: any): AxiosPromise<void>;
|
|
156
|
+
/**
|
|
157
|
+
* This will get category.
|
|
158
|
+
* @summary Retrieve the category
|
|
159
|
+
* @param {string} code
|
|
160
|
+
* @param {string} expand
|
|
161
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
162
|
+
* @param {*} [options] Override http request option.
|
|
163
|
+
* @throws {RequiredError}
|
|
164
|
+
*/
|
|
165
|
+
getCategory(code: string, expand: string, authorization?: string, options?: any): AxiosPromise<GetCategoryResponseClass>;
|
|
166
|
+
/**
|
|
167
|
+
* Retrieves a list of categories.
|
|
168
|
+
* @summary List categories
|
|
169
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
170
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, createdAt</i>
|
|
171
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, createdAt</i>
|
|
172
|
+
* @param {string} [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</i>
|
|
173
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
174
|
+
* @param {*} [options] Override http request option.
|
|
175
|
+
* @throws {RequiredError}
|
|
176
|
+
*/
|
|
177
|
+
listCategories(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListCategoriesResponseClass>;
|
|
178
|
+
/**
|
|
179
|
+
* This will update category.
|
|
180
|
+
* @summary Update the category
|
|
181
|
+
* @param {string} code
|
|
182
|
+
* @param {UpdateCategoryRequestDto} updateCategoryRequestDto
|
|
183
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
184
|
+
* @param {*} [options] Override http request option.
|
|
185
|
+
* @throws {RequiredError}
|
|
186
|
+
*/
|
|
187
|
+
updateCategory(code: string, updateCategoryRequestDto: UpdateCategoryRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateCategoryResponseClass>;
|
|
188
|
+
};
|
|
189
|
+
/**
|
|
190
|
+
* Request parameters for createCategory operation in CategoriesApi.
|
|
191
|
+
* @export
|
|
192
|
+
* @interface CategoriesApiCreateCategoryRequest
|
|
193
|
+
*/
|
|
194
|
+
export interface CategoriesApiCreateCategoryRequest {
|
|
195
|
+
/**
|
|
196
|
+
*
|
|
197
|
+
* @type {CreateCategoryRequestDto}
|
|
198
|
+
* @memberof CategoriesApiCreateCategory
|
|
199
|
+
*/
|
|
200
|
+
readonly createCategoryRequestDto: CreateCategoryRequestDto;
|
|
201
|
+
/**
|
|
202
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
203
|
+
* @type {string}
|
|
204
|
+
* @memberof CategoriesApiCreateCategory
|
|
205
|
+
*/
|
|
206
|
+
readonly authorization?: string;
|
|
207
|
+
}
|
|
208
|
+
/**
|
|
209
|
+
* Request parameters for deleteCategory operation in CategoriesApi.
|
|
210
|
+
* @export
|
|
211
|
+
* @interface CategoriesApiDeleteCategoryRequest
|
|
212
|
+
*/
|
|
213
|
+
export interface CategoriesApiDeleteCategoryRequest {
|
|
214
|
+
/**
|
|
215
|
+
* Unique identifier for the object.
|
|
216
|
+
* @type {string}
|
|
217
|
+
* @memberof CategoriesApiDeleteCategory
|
|
218
|
+
*/
|
|
219
|
+
readonly code: string;
|
|
220
|
+
/**
|
|
221
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
222
|
+
* @type {string}
|
|
223
|
+
* @memberof CategoriesApiDeleteCategory
|
|
224
|
+
*/
|
|
225
|
+
readonly authorization?: string;
|
|
226
|
+
}
|
|
227
|
+
/**
|
|
228
|
+
* Request parameters for getCategory operation in CategoriesApi.
|
|
229
|
+
* @export
|
|
230
|
+
* @interface CategoriesApiGetCategoryRequest
|
|
231
|
+
*/
|
|
232
|
+
export interface CategoriesApiGetCategoryRequest {
|
|
233
|
+
/**
|
|
234
|
+
*
|
|
235
|
+
* @type {string}
|
|
236
|
+
* @memberof CategoriesApiGetCategory
|
|
237
|
+
*/
|
|
238
|
+
readonly code: string;
|
|
239
|
+
/**
|
|
240
|
+
*
|
|
241
|
+
* @type {string}
|
|
242
|
+
* @memberof CategoriesApiGetCategory
|
|
243
|
+
*/
|
|
244
|
+
readonly expand: string;
|
|
245
|
+
/**
|
|
246
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
247
|
+
* @type {string}
|
|
248
|
+
* @memberof CategoriesApiGetCategory
|
|
249
|
+
*/
|
|
250
|
+
readonly authorization?: string;
|
|
251
|
+
}
|
|
252
|
+
/**
|
|
253
|
+
* Request parameters for listCategories operation in CategoriesApi.
|
|
254
|
+
* @export
|
|
255
|
+
* @interface CategoriesApiListCategoriesRequest
|
|
256
|
+
*/
|
|
257
|
+
export interface CategoriesApiListCategoriesRequest {
|
|
258
|
+
/**
|
|
259
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
260
|
+
* @type {string}
|
|
261
|
+
* @memberof CategoriesApiListCategories
|
|
262
|
+
*/
|
|
263
|
+
readonly authorization?: string;
|
|
264
|
+
/**
|
|
265
|
+
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, createdAt</i>
|
|
266
|
+
* @type {string}
|
|
267
|
+
* @memberof CategoriesApiListCategories
|
|
268
|
+
*/
|
|
269
|
+
readonly filter?: string;
|
|
270
|
+
/**
|
|
271
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, createdAt</i>
|
|
272
|
+
* @type {string}
|
|
273
|
+
* @memberof CategoriesApiListCategories
|
|
274
|
+
*/
|
|
275
|
+
readonly filters?: string;
|
|
276
|
+
/**
|
|
277
|
+
* 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</i>
|
|
278
|
+
* @type {string}
|
|
279
|
+
* @memberof CategoriesApiListCategories
|
|
280
|
+
*/
|
|
281
|
+
readonly order?: string;
|
|
282
|
+
/**
|
|
283
|
+
* 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/>
|
|
284
|
+
* @type {string}
|
|
285
|
+
* @memberof CategoriesApiListCategories
|
|
286
|
+
*/
|
|
287
|
+
readonly expand?: string;
|
|
288
|
+
}
|
|
289
|
+
/**
|
|
290
|
+
* Request parameters for updateCategory operation in CategoriesApi.
|
|
291
|
+
* @export
|
|
292
|
+
* @interface CategoriesApiUpdateCategoryRequest
|
|
293
|
+
*/
|
|
294
|
+
export interface CategoriesApiUpdateCategoryRequest {
|
|
295
|
+
/**
|
|
296
|
+
*
|
|
297
|
+
* @type {string}
|
|
298
|
+
* @memberof CategoriesApiUpdateCategory
|
|
299
|
+
*/
|
|
300
|
+
readonly code: string;
|
|
301
|
+
/**
|
|
302
|
+
*
|
|
303
|
+
* @type {UpdateCategoryRequestDto}
|
|
304
|
+
* @memberof CategoriesApiUpdateCategory
|
|
305
|
+
*/
|
|
306
|
+
readonly updateCategoryRequestDto: UpdateCategoryRequestDto;
|
|
307
|
+
/**
|
|
308
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
309
|
+
* @type {string}
|
|
310
|
+
* @memberof CategoriesApiUpdateCategory
|
|
311
|
+
*/
|
|
312
|
+
readonly authorization?: string;
|
|
313
|
+
}
|
|
314
|
+
/**
|
|
315
|
+
* CategoriesApi - object-oriented interface
|
|
316
|
+
* @export
|
|
317
|
+
* @class CategoriesApi
|
|
318
|
+
* @extends {BaseAPI}
|
|
319
|
+
*/
|
|
320
|
+
export declare class CategoriesApi extends BaseAPI {
|
|
321
|
+
/**
|
|
322
|
+
* This will create category.
|
|
323
|
+
* @summary Create the category
|
|
324
|
+
* @param {CategoriesApiCreateCategoryRequest} requestParameters Request parameters.
|
|
325
|
+
* @param {*} [options] Override http request option.
|
|
326
|
+
* @throws {RequiredError}
|
|
327
|
+
* @memberof CategoriesApi
|
|
328
|
+
*/
|
|
329
|
+
createCategory(requestParameters: CategoriesApiCreateCategoryRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateCategoryResponseClass, any, {}>>;
|
|
330
|
+
/**
|
|
331
|
+
* This will delete category.
|
|
332
|
+
* @summary Delete the category
|
|
333
|
+
* @param {CategoriesApiDeleteCategoryRequest} requestParameters Request parameters.
|
|
334
|
+
* @param {*} [options] Override http request option.
|
|
335
|
+
* @throws {RequiredError}
|
|
336
|
+
* @memberof CategoriesApi
|
|
337
|
+
*/
|
|
338
|
+
deleteCategory(requestParameters: CategoriesApiDeleteCategoryRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
339
|
+
/**
|
|
340
|
+
* This will get category.
|
|
341
|
+
* @summary Retrieve the category
|
|
342
|
+
* @param {CategoriesApiGetCategoryRequest} requestParameters Request parameters.
|
|
343
|
+
* @param {*} [options] Override http request option.
|
|
344
|
+
* @throws {RequiredError}
|
|
345
|
+
* @memberof CategoriesApi
|
|
346
|
+
*/
|
|
347
|
+
getCategory(requestParameters: CategoriesApiGetCategoryRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetCategoryResponseClass, any, {}>>;
|
|
348
|
+
/**
|
|
349
|
+
* Retrieves a list of categories.
|
|
350
|
+
* @summary List categories
|
|
351
|
+
* @param {CategoriesApiListCategoriesRequest} requestParameters Request parameters.
|
|
352
|
+
* @param {*} [options] Override http request option.
|
|
353
|
+
* @throws {RequiredError}
|
|
354
|
+
* @memberof CategoriesApi
|
|
355
|
+
*/
|
|
356
|
+
listCategories(requestParameters?: CategoriesApiListCategoriesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListCategoriesResponseClass, any, {}>>;
|
|
357
|
+
/**
|
|
358
|
+
* This will update category.
|
|
359
|
+
* @summary Update the category
|
|
360
|
+
* @param {CategoriesApiUpdateCategoryRequest} requestParameters Request parameters.
|
|
361
|
+
* @param {*} [options] Override http request option.
|
|
362
|
+
* @throws {RequiredError}
|
|
363
|
+
* @memberof CategoriesApi
|
|
364
|
+
*/
|
|
365
|
+
updateCategory(requestParameters: CategoriesApiUpdateCategoryRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateCategoryResponseClass, any, {}>>;
|
|
366
|
+
}
|