@emilgroup/tenant-sdk 1.18.0 → 1.19.0

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 (57) hide show
  1. package/.openapi-generator/FILES +16 -0
  2. package/README.md +2 -2
  3. package/api/dashboard-api.ts +659 -0
  4. package/api/dashboard-group-api.ts +659 -0
  5. package/api.ts +4 -0
  6. package/dist/api/dashboard-api.d.ts +365 -0
  7. package/dist/api/dashboard-api.js +616 -0
  8. package/dist/api/dashboard-group-api.d.ts +365 -0
  9. package/dist/api/dashboard-group-api.js +616 -0
  10. package/dist/api.d.ts +2 -0
  11. package/dist/api.js +2 -0
  12. package/dist/models/create-dashboard-group-request-dto.d.ts +30 -0
  13. package/dist/models/create-dashboard-group-request-dto.js +15 -0
  14. package/dist/models/create-dashboard-group-response-class.d.ts +25 -0
  15. package/dist/models/create-dashboard-group-response-class.js +15 -0
  16. package/dist/models/create-dashboard-request-dto.d.ts +48 -0
  17. package/dist/models/create-dashboard-request-dto.js +15 -0
  18. package/dist/models/create-dashboard-response-class.d.ts +25 -0
  19. package/dist/models/create-dashboard-response-class.js +15 -0
  20. package/dist/models/dashboard-class.d.ts +84 -0
  21. package/dist/models/dashboard-class.js +15 -0
  22. package/dist/models/dashboard-group-class.d.ts +66 -0
  23. package/dist/models/dashboard-group-class.js +15 -0
  24. package/dist/models/get-dashboard-group-response-class.d.ts +25 -0
  25. package/dist/models/get-dashboard-group-response-class.js +15 -0
  26. package/dist/models/get-dashboard-response-class.d.ts +25 -0
  27. package/dist/models/get-dashboard-response-class.js +15 -0
  28. package/dist/models/index.d.ts +14 -0
  29. package/dist/models/index.js +14 -0
  30. package/dist/models/list-dashboard-groups-response-class.d.ts +31 -0
  31. package/dist/models/list-dashboard-groups-response-class.js +15 -0
  32. package/dist/models/list-dashboards-response-class.d.ts +31 -0
  33. package/dist/models/list-dashboards-response-class.js +15 -0
  34. package/dist/models/update-dashboard-group-request-dto.d.ts +30 -0
  35. package/dist/models/update-dashboard-group-request-dto.js +15 -0
  36. package/dist/models/update-dashboard-group-response-class.d.ts +25 -0
  37. package/dist/models/update-dashboard-group-response-class.js +15 -0
  38. package/dist/models/update-dashboard-request-dto.d.ts +48 -0
  39. package/dist/models/update-dashboard-request-dto.js +15 -0
  40. package/dist/models/update-dashboard-response-class.d.ts +25 -0
  41. package/dist/models/update-dashboard-response-class.js +15 -0
  42. package/models/create-dashboard-group-request-dto.ts +36 -0
  43. package/models/create-dashboard-group-response-class.ts +31 -0
  44. package/models/create-dashboard-request-dto.ts +54 -0
  45. package/models/create-dashboard-response-class.ts +31 -0
  46. package/models/dashboard-class.ts +90 -0
  47. package/models/dashboard-group-class.ts +72 -0
  48. package/models/get-dashboard-group-response-class.ts +31 -0
  49. package/models/get-dashboard-response-class.ts +31 -0
  50. package/models/index.ts +14 -0
  51. package/models/list-dashboard-groups-response-class.ts +37 -0
  52. package/models/list-dashboards-response-class.ts +37 -0
  53. package/models/update-dashboard-group-request-dto.ts +36 -0
  54. package/models/update-dashboard-group-response-class.ts +31 -0
  55. package/models/update-dashboard-request-dto.ts +54 -0
  56. package/models/update-dashboard-response-class.ts +31 -0
  57. package/package.json +1 -1
@@ -0,0 +1,365 @@
1
+ /**
2
+ * EMIL Tenant Service
3
+ * The EMIL TenantService 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 { CreateDashboardRequestDto } from '../models';
16
+ import { CreateDashboardResponseClass } from '../models';
17
+ import { DeleteResponseClass } from '../models';
18
+ import { GetDashboardResponseClass } from '../models';
19
+ import { ListDashboardsResponseClass } from '../models';
20
+ import { UpdateDashboardRequestDto } from '../models';
21
+ import { UpdateDashboardResponseClass } from '../models';
22
+ /**
23
+ * DashboardApi - axios parameter creator
24
+ * @export
25
+ */
26
+ export declare const DashboardApiAxiosParamCreator: (configuration?: Configuration) => {
27
+ /**
28
+ *
29
+ * @param {CreateDashboardRequestDto} createDashboardRequestDto
30
+ * @param {string} [authorization] Bearer Token
31
+ * @param {*} [options] Override http request option.
32
+ * @throws {RequiredError}
33
+ */
34
+ createDashboard: (createDashboardRequestDto: CreateDashboardRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
35
+ /**
36
+ *
37
+ * @param {string} code
38
+ * @param {string} [authorization] Bearer Token
39
+ * @param {*} [options] Override http request option.
40
+ * @throws {RequiredError}
41
+ */
42
+ deleteDashboard: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
43
+ /**
44
+ *
45
+ * @param {string} code
46
+ * @param {string} [authorization] Bearer Token
47
+ * @param {*} [options] Override http request option.
48
+ * @throws {RequiredError}
49
+ */
50
+ getDashboard: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
51
+ /**
52
+ *
53
+ * @param {string} [authorization] Bearer Token
54
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
55
+ * @param {any} [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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
56
+ * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
57
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
58
+ * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
59
+ * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
60
+ * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
61
+ * @param {*} [options] Override http request option.
62
+ * @throws {RequiredError}
63
+ */
64
+ listDashboards: (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
65
+ /**
66
+ *
67
+ * @param {string} code
68
+ * @param {UpdateDashboardRequestDto} updateDashboardRequestDto
69
+ * @param {string} [authorization] Bearer Token
70
+ * @param {*} [options] Override http request option.
71
+ * @throws {RequiredError}
72
+ */
73
+ updateDashboard: (code: string, updateDashboardRequestDto: UpdateDashboardRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
74
+ };
75
+ /**
76
+ * DashboardApi - functional programming interface
77
+ * @export
78
+ */
79
+ export declare const DashboardApiFp: (configuration?: Configuration) => {
80
+ /**
81
+ *
82
+ * @param {CreateDashboardRequestDto} createDashboardRequestDto
83
+ * @param {string} [authorization] Bearer Token
84
+ * @param {*} [options] Override http request option.
85
+ * @throws {RequiredError}
86
+ */
87
+ createDashboard(createDashboardRequestDto: CreateDashboardRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateDashboardResponseClass>>;
88
+ /**
89
+ *
90
+ * @param {string} code
91
+ * @param {string} [authorization] Bearer Token
92
+ * @param {*} [options] Override http request option.
93
+ * @throws {RequiredError}
94
+ */
95
+ deleteDashboard(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteResponseClass>>;
96
+ /**
97
+ *
98
+ * @param {string} code
99
+ * @param {string} [authorization] Bearer Token
100
+ * @param {*} [options] Override http request option.
101
+ * @throws {RequiredError}
102
+ */
103
+ getDashboard(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetDashboardResponseClass>>;
104
+ /**
105
+ *
106
+ * @param {string} [authorization] Bearer Token
107
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
108
+ * @param {any} [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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
109
+ * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
110
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
111
+ * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
112
+ * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
113
+ * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
114
+ * @param {*} [options] Override http request option.
115
+ * @throws {RequiredError}
116
+ */
117
+ listDashboards(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListDashboardsResponseClass>>;
118
+ /**
119
+ *
120
+ * @param {string} code
121
+ * @param {UpdateDashboardRequestDto} updateDashboardRequestDto
122
+ * @param {string} [authorization] Bearer Token
123
+ * @param {*} [options] Override http request option.
124
+ * @throws {RequiredError}
125
+ */
126
+ updateDashboard(code: string, updateDashboardRequestDto: UpdateDashboardRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateDashboardResponseClass>>;
127
+ };
128
+ /**
129
+ * DashboardApi - factory interface
130
+ * @export
131
+ */
132
+ export declare const DashboardApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
133
+ /**
134
+ *
135
+ * @param {CreateDashboardRequestDto} createDashboardRequestDto
136
+ * @param {string} [authorization] Bearer Token
137
+ * @param {*} [options] Override http request option.
138
+ * @throws {RequiredError}
139
+ */
140
+ createDashboard(createDashboardRequestDto: CreateDashboardRequestDto, authorization?: string, options?: any): AxiosPromise<CreateDashboardResponseClass>;
141
+ /**
142
+ *
143
+ * @param {string} code
144
+ * @param {string} [authorization] Bearer Token
145
+ * @param {*} [options] Override http request option.
146
+ * @throws {RequiredError}
147
+ */
148
+ deleteDashboard(code: string, authorization?: string, options?: any): AxiosPromise<DeleteResponseClass>;
149
+ /**
150
+ *
151
+ * @param {string} code
152
+ * @param {string} [authorization] Bearer Token
153
+ * @param {*} [options] Override http request option.
154
+ * @throws {RequiredError}
155
+ */
156
+ getDashboard(code: string, authorization?: string, options?: any): AxiosPromise<GetDashboardResponseClass>;
157
+ /**
158
+ *
159
+ * @param {string} [authorization] Bearer Token
160
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
161
+ * @param {any} [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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
162
+ * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
163
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
164
+ * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
165
+ * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
166
+ * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
167
+ * @param {*} [options] Override http request option.
168
+ * @throws {RequiredError}
169
+ */
170
+ listDashboards(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<ListDashboardsResponseClass>;
171
+ /**
172
+ *
173
+ * @param {string} code
174
+ * @param {UpdateDashboardRequestDto} updateDashboardRequestDto
175
+ * @param {string} [authorization] Bearer Token
176
+ * @param {*} [options] Override http request option.
177
+ * @throws {RequiredError}
178
+ */
179
+ updateDashboard(code: string, updateDashboardRequestDto: UpdateDashboardRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateDashboardResponseClass>;
180
+ };
181
+ /**
182
+ * Request parameters for createDashboard operation in DashboardApi.
183
+ * @export
184
+ * @interface DashboardApiCreateDashboardRequest
185
+ */
186
+ export interface DashboardApiCreateDashboardRequest {
187
+ /**
188
+ *
189
+ * @type {CreateDashboardRequestDto}
190
+ * @memberof DashboardApiCreateDashboard
191
+ */
192
+ readonly createDashboardRequestDto: CreateDashboardRequestDto;
193
+ /**
194
+ * Bearer Token
195
+ * @type {string}
196
+ * @memberof DashboardApiCreateDashboard
197
+ */
198
+ readonly authorization?: string;
199
+ }
200
+ /**
201
+ * Request parameters for deleteDashboard operation in DashboardApi.
202
+ * @export
203
+ * @interface DashboardApiDeleteDashboardRequest
204
+ */
205
+ export interface DashboardApiDeleteDashboardRequest {
206
+ /**
207
+ *
208
+ * @type {string}
209
+ * @memberof DashboardApiDeleteDashboard
210
+ */
211
+ readonly code: string;
212
+ /**
213
+ * Bearer Token
214
+ * @type {string}
215
+ * @memberof DashboardApiDeleteDashboard
216
+ */
217
+ readonly authorization?: string;
218
+ }
219
+ /**
220
+ * Request parameters for getDashboard operation in DashboardApi.
221
+ * @export
222
+ * @interface DashboardApiGetDashboardRequest
223
+ */
224
+ export interface DashboardApiGetDashboardRequest {
225
+ /**
226
+ *
227
+ * @type {string}
228
+ * @memberof DashboardApiGetDashboard
229
+ */
230
+ readonly code: string;
231
+ /**
232
+ * Bearer Token
233
+ * @type {string}
234
+ * @memberof DashboardApiGetDashboard
235
+ */
236
+ readonly authorization?: string;
237
+ }
238
+ /**
239
+ * Request parameters for listDashboards operation in DashboardApi.
240
+ * @export
241
+ * @interface DashboardApiListDashboardsRequest
242
+ */
243
+ export interface DashboardApiListDashboardsRequest {
244
+ /**
245
+ * Bearer Token
246
+ * @type {string}
247
+ * @memberof DashboardApiListDashboards
248
+ */
249
+ readonly authorization?: string;
250
+ /**
251
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
252
+ * @type {any}
253
+ * @memberof DashboardApiListDashboards
254
+ */
255
+ readonly pageSize?: any;
256
+ /**
257
+ * 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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
258
+ * @type {any}
259
+ * @memberof DashboardApiListDashboards
260
+ */
261
+ readonly pageToken?: any;
262
+ /**
263
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
264
+ * @type {any}
265
+ * @memberof DashboardApiListDashboards
266
+ */
267
+ readonly filter?: any;
268
+ /**
269
+ * To search the list by any field, pass search&#x3D;xxx to fetch the result.
270
+ * @type {any}
271
+ * @memberof DashboardApiListDashboards
272
+ */
273
+ readonly search?: any;
274
+ /**
275
+ * The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
276
+ * @type {any}
277
+ * @memberof DashboardApiListDashboards
278
+ */
279
+ readonly order?: any;
280
+ /**
281
+ * Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
282
+ * @type {any}
283
+ * @memberof DashboardApiListDashboards
284
+ */
285
+ readonly expand?: any;
286
+ /**
287
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
288
+ * @type {any}
289
+ * @memberof DashboardApiListDashboards
290
+ */
291
+ readonly filters?: any;
292
+ }
293
+ /**
294
+ * Request parameters for updateDashboard operation in DashboardApi.
295
+ * @export
296
+ * @interface DashboardApiUpdateDashboardRequest
297
+ */
298
+ export interface DashboardApiUpdateDashboardRequest {
299
+ /**
300
+ *
301
+ * @type {string}
302
+ * @memberof DashboardApiUpdateDashboard
303
+ */
304
+ readonly code: string;
305
+ /**
306
+ *
307
+ * @type {UpdateDashboardRequestDto}
308
+ * @memberof DashboardApiUpdateDashboard
309
+ */
310
+ readonly updateDashboardRequestDto: UpdateDashboardRequestDto;
311
+ /**
312
+ * Bearer Token
313
+ * @type {string}
314
+ * @memberof DashboardApiUpdateDashboard
315
+ */
316
+ readonly authorization?: string;
317
+ }
318
+ /**
319
+ * DashboardApi - object-oriented interface
320
+ * @export
321
+ * @class DashboardApi
322
+ * @extends {BaseAPI}
323
+ */
324
+ export declare class DashboardApi extends BaseAPI {
325
+ /**
326
+ *
327
+ * @param {DashboardApiCreateDashboardRequest} requestParameters Request parameters.
328
+ * @param {*} [options] Override http request option.
329
+ * @throws {RequiredError}
330
+ * @memberof DashboardApi
331
+ */
332
+ createDashboard(requestParameters: DashboardApiCreateDashboardRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateDashboardResponseClass, any>>;
333
+ /**
334
+ *
335
+ * @param {DashboardApiDeleteDashboardRequest} requestParameters Request parameters.
336
+ * @param {*} [options] Override http request option.
337
+ * @throws {RequiredError}
338
+ * @memberof DashboardApi
339
+ */
340
+ deleteDashboard(requestParameters: DashboardApiDeleteDashboardRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any>>;
341
+ /**
342
+ *
343
+ * @param {DashboardApiGetDashboardRequest} requestParameters Request parameters.
344
+ * @param {*} [options] Override http request option.
345
+ * @throws {RequiredError}
346
+ * @memberof DashboardApi
347
+ */
348
+ getDashboard(requestParameters: DashboardApiGetDashboardRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetDashboardResponseClass, any>>;
349
+ /**
350
+ *
351
+ * @param {DashboardApiListDashboardsRequest} requestParameters Request parameters.
352
+ * @param {*} [options] Override http request option.
353
+ * @throws {RequiredError}
354
+ * @memberof DashboardApi
355
+ */
356
+ listDashboards(requestParameters?: DashboardApiListDashboardsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListDashboardsResponseClass, any>>;
357
+ /**
358
+ *
359
+ * @param {DashboardApiUpdateDashboardRequest} requestParameters Request parameters.
360
+ * @param {*} [options] Override http request option.
361
+ * @throws {RequiredError}
362
+ * @memberof DashboardApi
363
+ */
364
+ updateDashboard(requestParameters: DashboardApiUpdateDashboardRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateDashboardResponseClass, any>>;
365
+ }