@emilgroup/task-sdk-node 1.0.1-beta.9 → 1.0.3

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