@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.
Files changed (139) hide show
  1. package/.openapi-generator/FILES +51 -0
  2. package/.openapi-generator/VERSION +1 -0
  3. package/.openapi-generator-ignore +23 -0
  4. package/README.md +51 -0
  5. package/api/categories-api.ts +651 -0
  6. package/api/default-api.ts +124 -0
  7. package/api/hub-spot-api.ts +165 -0
  8. package/api/priorities-api.ts +284 -0
  9. package/api/statuses-api.ts +651 -0
  10. package/api/tasks-api.ts +651 -0
  11. package/api.ts +37 -0
  12. package/base.ts +331 -0
  13. package/common.ts +198 -0
  14. package/configuration.ts +110 -0
  15. package/dist/api/categories-api.d.ts +366 -0
  16. package/dist/api/categories-api.js +626 -0
  17. package/dist/api/default-api.d.ts +70 -0
  18. package/dist/api/default-api.js +200 -0
  19. package/dist/api/hub-spot-api.d.ts +97 -0
  20. package/dist/api/hub-spot-api.js +224 -0
  21. package/dist/api/priorities-api.d.ts +162 -0
  22. package/dist/api/priorities-api.js +324 -0
  23. package/dist/api/statuses-api.d.ts +366 -0
  24. package/dist/api/statuses-api.js +626 -0
  25. package/dist/api/tasks-api.d.ts +366 -0
  26. package/dist/api/tasks-api.js +626 -0
  27. package/dist/api.d.ts +17 -0
  28. package/dist/api.js +35 -0
  29. package/dist/base.d.ts +86 -0
  30. package/dist/base.js +367 -0
  31. package/dist/common.d.ts +91 -0
  32. package/dist/common.js +276 -0
  33. package/dist/configuration.d.ts +89 -0
  34. package/dist/configuration.js +52 -0
  35. package/dist/index.d.ts +15 -0
  36. package/dist/index.js +36 -0
  37. package/dist/models/category-class.d.ts +60 -0
  38. package/dist/models/category-class.js +15 -0
  39. package/dist/models/create-category-request-dto.d.ts +24 -0
  40. package/dist/models/create-category-request-dto.js +15 -0
  41. package/dist/models/create-category-response-class.d.ts +25 -0
  42. package/dist/models/create-category-response-class.js +15 -0
  43. package/dist/models/create-hub-spot-ticket-request-dto.d.ts +31 -0
  44. package/dist/models/create-hub-spot-ticket-request-dto.js +15 -0
  45. package/dist/models/create-hub-spot-ticket-response-class.d.ts +25 -0
  46. package/dist/models/create-hub-spot-ticket-response-class.js +15 -0
  47. package/dist/models/create-priority-request-dto.d.ts +24 -0
  48. package/dist/models/create-priority-request-dto.js +15 -0
  49. package/dist/models/create-priority-response-class.d.ts +25 -0
  50. package/dist/models/create-priority-response-class.js +15 -0
  51. package/dist/models/create-status-request-dto.d.ts +24 -0
  52. package/dist/models/create-status-request-dto.js +15 -0
  53. package/dist/models/create-status-response-class.d.ts +25 -0
  54. package/dist/models/create-status-response-class.js +15 -0
  55. package/dist/models/create-task-request-dto.d.ts +54 -0
  56. package/dist/models/create-task-request-dto.js +15 -0
  57. package/dist/models/create-task-response-class.d.ts +25 -0
  58. package/dist/models/create-task-response-class.js +15 -0
  59. package/dist/models/get-category-response-class.d.ts +25 -0
  60. package/dist/models/get-category-response-class.js +15 -0
  61. package/dist/models/get-priority-response-class.d.ts +25 -0
  62. package/dist/models/get-priority-response-class.js +15 -0
  63. package/dist/models/get-status-response-class.d.ts +25 -0
  64. package/dist/models/get-status-response-class.js +15 -0
  65. package/dist/models/get-task-response-class.d.ts +25 -0
  66. package/dist/models/get-task-response-class.js +15 -0
  67. package/dist/models/hub-spot-ticket-class.d.ts +49 -0
  68. package/dist/models/hub-spot-ticket-class.js +15 -0
  69. package/dist/models/hub-spot-ticket-error-class.d.ts +30 -0
  70. package/dist/models/hub-spot-ticket-error-class.js +15 -0
  71. package/dist/models/hub-spot-ticket-name-value-dto.d.ts +30 -0
  72. package/dist/models/hub-spot-ticket-name-value-dto.js +15 -0
  73. package/dist/models/index.d.ts +32 -0
  74. package/dist/models/index.js +48 -0
  75. package/dist/models/inline-response200.d.ts +54 -0
  76. package/dist/models/inline-response200.js +15 -0
  77. package/dist/models/inline-response503.d.ts +54 -0
  78. package/dist/models/inline-response503.js +15 -0
  79. package/dist/models/list-categories-response-class.d.ts +43 -0
  80. package/dist/models/list-categories-response-class.js +15 -0
  81. package/dist/models/list-statuses-response-class.d.ts +43 -0
  82. package/dist/models/list-statuses-response-class.js +15 -0
  83. package/dist/models/list-tasks-response-class.d.ts +43 -0
  84. package/dist/models/list-tasks-response-class.js +15 -0
  85. package/dist/models/priority-class.d.ts +60 -0
  86. package/dist/models/priority-class.js +15 -0
  87. package/dist/models/status-class.d.ts +60 -0
  88. package/dist/models/status-class.js +15 -0
  89. package/dist/models/task-class.d.ts +99 -0
  90. package/dist/models/task-class.js +15 -0
  91. package/dist/models/update-category-request-dto.d.ts +30 -0
  92. package/dist/models/update-category-request-dto.js +15 -0
  93. package/dist/models/update-category-response-class.d.ts +25 -0
  94. package/dist/models/update-category-response-class.js +15 -0
  95. package/dist/models/update-status-request-dto.d.ts +30 -0
  96. package/dist/models/update-status-request-dto.js +15 -0
  97. package/dist/models/update-status-response-class.d.ts +25 -0
  98. package/dist/models/update-status-response-class.js +15 -0
  99. package/dist/models/update-task-request-dto.d.ts +60 -0
  100. package/dist/models/update-task-request-dto.js +15 -0
  101. package/dist/models/update-task-response-class.d.ts +25 -0
  102. package/dist/models/update-task-response-class.js +15 -0
  103. package/git_push.sh +57 -0
  104. package/index.ts +19 -0
  105. package/models/category-class.ts +66 -0
  106. package/models/create-category-request-dto.ts +30 -0
  107. package/models/create-category-response-class.ts +31 -0
  108. package/models/create-hub-spot-ticket-request-dto.ts +37 -0
  109. package/models/create-hub-spot-ticket-response-class.ts +31 -0
  110. package/models/create-priority-request-dto.ts +30 -0
  111. package/models/create-priority-response-class.ts +31 -0
  112. package/models/create-status-request-dto.ts +30 -0
  113. package/models/create-status-response-class.ts +31 -0
  114. package/models/create-task-request-dto.ts +60 -0
  115. package/models/create-task-response-class.ts +31 -0
  116. package/models/get-category-response-class.ts +31 -0
  117. package/models/get-priority-response-class.ts +31 -0
  118. package/models/get-status-response-class.ts +31 -0
  119. package/models/get-task-response-class.ts +31 -0
  120. package/models/hub-spot-ticket-class.ts +55 -0
  121. package/models/hub-spot-ticket-error-class.ts +36 -0
  122. package/models/hub-spot-ticket-name-value-dto.ts +36 -0
  123. package/models/index.ts +32 -0
  124. package/models/inline-response200.ts +48 -0
  125. package/models/inline-response503.ts +48 -0
  126. package/models/list-categories-response-class.ts +49 -0
  127. package/models/list-statuses-response-class.ts +49 -0
  128. package/models/list-tasks-response-class.ts +49 -0
  129. package/models/priority-class.ts +66 -0
  130. package/models/status-class.ts +66 -0
  131. package/models/task-class.ts +105 -0
  132. package/models/update-category-request-dto.ts +36 -0
  133. package/models/update-category-response-class.ts +31 -0
  134. package/models/update-status-request-dto.ts +36 -0
  135. package/models/update-status-response-class.ts +31 -0
  136. package/models/update-task-request-dto.ts +66 -0
  137. package/models/update-task-response-class.ts +31 -0
  138. package/package.json +26 -0
  139. 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 { CreateStatusRequestDto } from '../models';
16
+ import { CreateStatusResponseClass } from '../models';
17
+ import { GetStatusResponseClass } from '../models';
18
+ import { ListStatusesResponseClass } from '../models';
19
+ import { UpdateStatusRequestDto } from '../models';
20
+ import { UpdateStatusResponseClass } from '../models';
21
+ /**
22
+ * StatusesApi - axios parameter creator
23
+ * @export
24
+ */
25
+ export declare const StatusesApiAxiosParamCreator: (configuration?: Configuration) => {
26
+ /**
27
+ * This will create status.
28
+ * @summary Create the status
29
+ * @param {CreateStatusRequestDto} createStatusRequestDto
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
+ createStatus: (createStatusRequestDto: CreateStatusRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
35
+ /**
36
+ * This will delete status.
37
+ * @summary Delete the status
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
+ deleteStatus: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
44
+ /**
45
+ * This will get status.
46
+ * @summary Retrieve the status
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
+ getStatus: (code: string, expand: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
54
+ /**
55
+ * Retrieves a list of statuses.
56
+ * @summary List statuses
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, createdAt&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, createdAt&lt;/i&gt;
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: createdAt&lt;/i&gt;
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.&lt;br/&gt; &lt;br/&gt;
62
+ * @param {*} [options] Override http request option.
63
+ * @throws {RequiredError}
64
+ */
65
+ listStatuses: (authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
66
+ /**
67
+ * This will update status.
68
+ * @summary Update the status
69
+ * @param {string} code
70
+ * @param {UpdateStatusRequestDto} updateStatusRequestDto
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
+ updateStatus: (code: string, updateStatusRequestDto: UpdateStatusRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
76
+ };
77
+ /**
78
+ * StatusesApi - functional programming interface
79
+ * @export
80
+ */
81
+ export declare const StatusesApiFp: (configuration?: Configuration) => {
82
+ /**
83
+ * This will create status.
84
+ * @summary Create the status
85
+ * @param {CreateStatusRequestDto} createStatusRequestDto
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
+ createStatus(createStatusRequestDto: CreateStatusRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateStatusResponseClass>>;
91
+ /**
92
+ * This will delete status.
93
+ * @summary Delete the status
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
+ deleteStatus(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
100
+ /**
101
+ * This will get status.
102
+ * @summary Retrieve the status
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
+ getStatus(code: string, expand: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetStatusResponseClass>>;
110
+ /**
111
+ * Retrieves a list of statuses.
112
+ * @summary List statuses
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, createdAt&lt;/i&gt;
115
+ * @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, createdAt&lt;/i&gt;
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: createdAt&lt;/i&gt;
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.&lt;br/&gt; &lt;br/&gt;
118
+ * @param {*} [options] Override http request option.
119
+ * @throws {RequiredError}
120
+ */
121
+ listStatuses(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListStatusesResponseClass>>;
122
+ /**
123
+ * This will update status.
124
+ * @summary Update the status
125
+ * @param {string} code
126
+ * @param {UpdateStatusRequestDto} updateStatusRequestDto
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
+ updateStatus(code: string, updateStatusRequestDto: UpdateStatusRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateStatusResponseClass>>;
132
+ };
133
+ /**
134
+ * StatusesApi - factory interface
135
+ * @export
136
+ */
137
+ export declare const StatusesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
138
+ /**
139
+ * This will create status.
140
+ * @summary Create the status
141
+ * @param {CreateStatusRequestDto} createStatusRequestDto
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
+ createStatus(createStatusRequestDto: CreateStatusRequestDto, authorization?: string, options?: any): AxiosPromise<CreateStatusResponseClass>;
147
+ /**
148
+ * This will delete status.
149
+ * @summary Delete the status
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
+ deleteStatus(code: string, authorization?: string, options?: any): AxiosPromise<void>;
156
+ /**
157
+ * This will get status.
158
+ * @summary Retrieve the status
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
+ getStatus(code: string, expand: string, authorization?: string, options?: any): AxiosPromise<GetStatusResponseClass>;
166
+ /**
167
+ * Retrieves a list of statuses.
168
+ * @summary List statuses
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, createdAt&lt;/i&gt;
171
+ * @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, createdAt&lt;/i&gt;
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: createdAt&lt;/i&gt;
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.&lt;br/&gt; &lt;br/&gt;
174
+ * @param {*} [options] Override http request option.
175
+ * @throws {RequiredError}
176
+ */
177
+ listStatuses(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListStatusesResponseClass>;
178
+ /**
179
+ * This will update status.
180
+ * @summary Update the status
181
+ * @param {string} code
182
+ * @param {UpdateStatusRequestDto} updateStatusRequestDto
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
+ updateStatus(code: string, updateStatusRequestDto: UpdateStatusRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateStatusResponseClass>;
188
+ };
189
+ /**
190
+ * Request parameters for createStatus operation in StatusesApi.
191
+ * @export
192
+ * @interface StatusesApiCreateStatusRequest
193
+ */
194
+ export interface StatusesApiCreateStatusRequest {
195
+ /**
196
+ *
197
+ * @type {CreateStatusRequestDto}
198
+ * @memberof StatusesApiCreateStatus
199
+ */
200
+ readonly createStatusRequestDto: CreateStatusRequestDto;
201
+ /**
202
+ * Bearer Token: provided by the login endpoint under the name accessToken.
203
+ * @type {string}
204
+ * @memberof StatusesApiCreateStatus
205
+ */
206
+ readonly authorization?: string;
207
+ }
208
+ /**
209
+ * Request parameters for deleteStatus operation in StatusesApi.
210
+ * @export
211
+ * @interface StatusesApiDeleteStatusRequest
212
+ */
213
+ export interface StatusesApiDeleteStatusRequest {
214
+ /**
215
+ * Unique identifier for the object.
216
+ * @type {string}
217
+ * @memberof StatusesApiDeleteStatus
218
+ */
219
+ readonly code: string;
220
+ /**
221
+ * Bearer Token: provided by the login endpoint under the name accessToken.
222
+ * @type {string}
223
+ * @memberof StatusesApiDeleteStatus
224
+ */
225
+ readonly authorization?: string;
226
+ }
227
+ /**
228
+ * Request parameters for getStatus operation in StatusesApi.
229
+ * @export
230
+ * @interface StatusesApiGetStatusRequest
231
+ */
232
+ export interface StatusesApiGetStatusRequest {
233
+ /**
234
+ *
235
+ * @type {string}
236
+ * @memberof StatusesApiGetStatus
237
+ */
238
+ readonly code: string;
239
+ /**
240
+ *
241
+ * @type {string}
242
+ * @memberof StatusesApiGetStatus
243
+ */
244
+ readonly expand: string;
245
+ /**
246
+ * Bearer Token: provided by the login endpoint under the name accessToken.
247
+ * @type {string}
248
+ * @memberof StatusesApiGetStatus
249
+ */
250
+ readonly authorization?: string;
251
+ }
252
+ /**
253
+ * Request parameters for listStatuses operation in StatusesApi.
254
+ * @export
255
+ * @interface StatusesApiListStatusesRequest
256
+ */
257
+ export interface StatusesApiListStatusesRequest {
258
+ /**
259
+ * Bearer Token: provided by the login endpoint under the name accessToken.
260
+ * @type {string}
261
+ * @memberof StatusesApiListStatuses
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, createdAt&lt;/i&gt;
266
+ * @type {string}
267
+ * @memberof StatusesApiListStatuses
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, createdAt&lt;/i&gt;
272
+ * @type {string}
273
+ * @memberof StatusesApiListStatuses
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: createdAt&lt;/i&gt;
278
+ * @type {string}
279
+ * @memberof StatusesApiListStatuses
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.&lt;br/&gt; &lt;br/&gt;
284
+ * @type {string}
285
+ * @memberof StatusesApiListStatuses
286
+ */
287
+ readonly expand?: string;
288
+ }
289
+ /**
290
+ * Request parameters for updateStatus operation in StatusesApi.
291
+ * @export
292
+ * @interface StatusesApiUpdateStatusRequest
293
+ */
294
+ export interface StatusesApiUpdateStatusRequest {
295
+ /**
296
+ *
297
+ * @type {string}
298
+ * @memberof StatusesApiUpdateStatus
299
+ */
300
+ readonly code: string;
301
+ /**
302
+ *
303
+ * @type {UpdateStatusRequestDto}
304
+ * @memberof StatusesApiUpdateStatus
305
+ */
306
+ readonly updateStatusRequestDto: UpdateStatusRequestDto;
307
+ /**
308
+ * Bearer Token: provided by the login endpoint under the name accessToken.
309
+ * @type {string}
310
+ * @memberof StatusesApiUpdateStatus
311
+ */
312
+ readonly authorization?: string;
313
+ }
314
+ /**
315
+ * StatusesApi - object-oriented interface
316
+ * @export
317
+ * @class StatusesApi
318
+ * @extends {BaseAPI}
319
+ */
320
+ export declare class StatusesApi extends BaseAPI {
321
+ /**
322
+ * This will create status.
323
+ * @summary Create the status
324
+ * @param {StatusesApiCreateStatusRequest} requestParameters Request parameters.
325
+ * @param {*} [options] Override http request option.
326
+ * @throws {RequiredError}
327
+ * @memberof StatusesApi
328
+ */
329
+ createStatus(requestParameters: StatusesApiCreateStatusRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateStatusResponseClass, any, {}>>;
330
+ /**
331
+ * This will delete status.
332
+ * @summary Delete the status
333
+ * @param {StatusesApiDeleteStatusRequest} requestParameters Request parameters.
334
+ * @param {*} [options] Override http request option.
335
+ * @throws {RequiredError}
336
+ * @memberof StatusesApi
337
+ */
338
+ deleteStatus(requestParameters: StatusesApiDeleteStatusRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
339
+ /**
340
+ * This will get status.
341
+ * @summary Retrieve the status
342
+ * @param {StatusesApiGetStatusRequest} requestParameters Request parameters.
343
+ * @param {*} [options] Override http request option.
344
+ * @throws {RequiredError}
345
+ * @memberof StatusesApi
346
+ */
347
+ getStatus(requestParameters: StatusesApiGetStatusRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetStatusResponseClass, any, {}>>;
348
+ /**
349
+ * Retrieves a list of statuses.
350
+ * @summary List statuses
351
+ * @param {StatusesApiListStatusesRequest} requestParameters Request parameters.
352
+ * @param {*} [options] Override http request option.
353
+ * @throws {RequiredError}
354
+ * @memberof StatusesApi
355
+ */
356
+ listStatuses(requestParameters?: StatusesApiListStatusesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListStatusesResponseClass, any, {}>>;
357
+ /**
358
+ * This will update status.
359
+ * @summary Update the status
360
+ * @param {StatusesApiUpdateStatusRequest} requestParameters Request parameters.
361
+ * @param {*} [options] Override http request option.
362
+ * @throws {RequiredError}
363
+ * @memberof StatusesApi
364
+ */
365
+ updateStatus(requestParameters: StatusesApiUpdateStatusRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateStatusResponseClass, any, {}>>;
366
+ }