@emilgroup/tenant-sdk-node 1.4.1 → 1.7.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 (71) hide show
  1. package/.openapi-generator/FILES +18 -0
  2. package/README.md +2 -2
  3. package/api/data-report-api.ts +677 -0
  4. package/api/data-report-executor-api.ts +165 -0
  5. package/api/default-api.ts +124 -0
  6. package/api/roles-api.ts +29 -25
  7. package/api/settings-api.ts +8 -4
  8. package/api.ts +6 -0
  9. package/dist/api/data-report-api.d.ts +380 -0
  10. package/dist/api/data-report-api.js +636 -0
  11. package/dist/api/data-report-executor-api.d.ts +93 -0
  12. package/dist/api/data-report-executor-api.js +224 -0
  13. package/dist/api/default-api.d.ts +66 -0
  14. package/dist/api/default-api.js +200 -0
  15. package/dist/api/roles-api.d.ts +29 -25
  16. package/dist/api/roles-api.js +17 -13
  17. package/dist/api/settings-api.d.ts +8 -4
  18. package/dist/api/settings-api.js +8 -4
  19. package/dist/api.d.ts +3 -0
  20. package/dist/api.js +3 -0
  21. package/dist/models/create-data-report-request-dto.d.ts +61 -0
  22. package/dist/models/create-data-report-request-dto.js +15 -0
  23. package/dist/models/create-data-report-response-class.d.ts +25 -0
  24. package/dist/models/create-data-report-response-class.js +15 -0
  25. package/dist/models/custom-field-dto.d.ts +7 -1
  26. package/dist/models/data-report-class.d.ts +79 -0
  27. package/dist/models/data-report-class.js +15 -0
  28. package/dist/models/data-report-filter-class.d.ts +72 -0
  29. package/dist/models/data-report-filter-class.js +15 -0
  30. package/dist/models/data-report-filter-dto.d.ts +48 -0
  31. package/dist/models/data-report-filter-dto.js +15 -0
  32. package/dist/models/data-report-filter-single-value-dto.d.ts +42 -0
  33. package/dist/models/data-report-filter-single-value-dto.js +15 -0
  34. package/dist/models/data-report-filter-value-dto.d.ts +31 -0
  35. package/dist/models/data-report-filter-value-dto.js +15 -0
  36. package/dist/models/get-data-report-response-class.d.ts +25 -0
  37. package/dist/models/get-data-report-response-class.js +15 -0
  38. package/dist/models/index.d.ts +15 -0
  39. package/dist/models/index.js +15 -0
  40. package/dist/models/inline-response200.d.ts +54 -0
  41. package/dist/models/inline-response200.js +15 -0
  42. package/dist/models/inline-response503.d.ts +54 -0
  43. package/dist/models/inline-response503.js +15 -0
  44. package/dist/models/list-data-reports-response-class.d.ts +31 -0
  45. package/dist/models/list-data-reports-response-class.js +15 -0
  46. package/dist/models/run-data-report-request-dto.d.ts +31 -0
  47. package/dist/models/run-data-report-request-dto.js +15 -0
  48. package/dist/models/run-data-report-response-class.d.ts +24 -0
  49. package/dist/models/run-data-report-response-class.js +15 -0
  50. package/dist/models/update-data-report-request-dto.d.ts +61 -0
  51. package/dist/models/update-data-report-request-dto.js +15 -0
  52. package/dist/models/update-data-report-response-class.d.ts +25 -0
  53. package/dist/models/update-data-report-response-class.js +15 -0
  54. package/models/create-data-report-request-dto.ts +67 -0
  55. package/models/create-data-report-response-class.ts +31 -0
  56. package/models/custom-field-dto.ts +7 -1
  57. package/models/data-report-class.ts +85 -0
  58. package/models/data-report-filter-class.ts +78 -0
  59. package/models/data-report-filter-dto.ts +54 -0
  60. package/models/data-report-filter-single-value-dto.ts +48 -0
  61. package/models/data-report-filter-value-dto.ts +37 -0
  62. package/models/get-data-report-response-class.ts +31 -0
  63. package/models/index.ts +15 -0
  64. package/models/inline-response200.ts +48 -0
  65. package/models/inline-response503.ts +48 -0
  66. package/models/list-data-reports-response-class.ts +37 -0
  67. package/models/run-data-report-request-dto.ts +37 -0
  68. package/models/run-data-report-response-class.ts +30 -0
  69. package/models/update-data-report-request-dto.ts +67 -0
  70. package/models/update-data-report-response-class.ts +31 -0
  71. package/package.json +2 -2
@@ -0,0 +1,165 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL Tenant Service
5
+ * The EMIL TenantService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
17
+ import { Configuration } from '../configuration';
18
+ // Some imports not used depending on template conditions
19
+ // @ts-ignore
20
+ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
21
+ // @ts-ignore
22
+ import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
23
+ // @ts-ignore
24
+ import { RunDataReportRequestDto } from '../models';
25
+ // @ts-ignore
26
+ import { RunDataReportResponseClass } from '../models';
27
+ // URLSearchParams not necessarily used
28
+ // @ts-ignore
29
+ import { URL, URLSearchParams } from 'url';
30
+ const FormData = require('form-data');
31
+ /**
32
+ * DataReportExecutorApi - axios parameter creator
33
+ * @export
34
+ */
35
+ export const DataReportExecutorApiAxiosParamCreator = function (configuration?: Configuration) {
36
+ return {
37
+ /**
38
+ *
39
+ * @param {RunDataReportRequestDto} runDataReportRequestDto
40
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
41
+ * @param {*} [options] Override http request option.
42
+ * @throws {RequiredError}
43
+ */
44
+ runDataReport: async (runDataReportRequestDto: RunDataReportRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
45
+ // verify required parameter 'runDataReportRequestDto' is not null or undefined
46
+ assertParamExists('runDataReport', 'runDataReportRequestDto', runDataReportRequestDto)
47
+ const localVarPath = `/tenantservice/v1/data-report-executor`;
48
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
49
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
50
+ let baseOptions;
51
+ let baseAccessToken;
52
+ if (configuration) {
53
+ baseOptions = configuration.baseOptions;
54
+ baseAccessToken = configuration.accessToken;
55
+ }
56
+
57
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
58
+ const localVarHeaderParameter = {} as any;
59
+ const localVarQueryParameter = {} as any;
60
+
61
+ // authentication bearer required
62
+ // http bearer authentication required
63
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
64
+
65
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
66
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
67
+ }
68
+
69
+
70
+
71
+ localVarHeaderParameter['Content-Type'] = 'application/json';
72
+
73
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
74
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
75
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
76
+ localVarRequestOptions.data = serializeDataIfNeeded(runDataReportRequestDto, localVarRequestOptions, configuration)
77
+
78
+ return {
79
+ url: toPathString(localVarUrlObj),
80
+ options: localVarRequestOptions,
81
+ };
82
+ },
83
+ }
84
+ };
85
+
86
+ /**
87
+ * DataReportExecutorApi - functional programming interface
88
+ * @export
89
+ */
90
+ export const DataReportExecutorApiFp = function(configuration?: Configuration) {
91
+ const localVarAxiosParamCreator = DataReportExecutorApiAxiosParamCreator(configuration)
92
+ return {
93
+ /**
94
+ *
95
+ * @param {RunDataReportRequestDto} runDataReportRequestDto
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
+ async runDataReport(runDataReportRequestDto: RunDataReportRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RunDataReportResponseClass>> {
101
+ const localVarAxiosArgs = await localVarAxiosParamCreator.runDataReport(runDataReportRequestDto, authorization, options);
102
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
103
+ },
104
+ }
105
+ };
106
+
107
+ /**
108
+ * DataReportExecutorApi - factory interface
109
+ * @export
110
+ */
111
+ export const DataReportExecutorApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
112
+ const localVarFp = DataReportExecutorApiFp(configuration)
113
+ return {
114
+ /**
115
+ *
116
+ * @param {RunDataReportRequestDto} runDataReportRequestDto
117
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
118
+ * @param {*} [options] Override http request option.
119
+ * @throws {RequiredError}
120
+ */
121
+ runDataReport(runDataReportRequestDto: RunDataReportRequestDto, authorization?: string, options?: any): AxiosPromise<RunDataReportResponseClass> {
122
+ return localVarFp.runDataReport(runDataReportRequestDto, authorization, options).then((request) => request(axios, basePath));
123
+ },
124
+ };
125
+ };
126
+
127
+ /**
128
+ * Request parameters for runDataReport operation in DataReportExecutorApi.
129
+ * @export
130
+ * @interface DataReportExecutorApiRunDataReportRequest
131
+ */
132
+ export interface DataReportExecutorApiRunDataReportRequest {
133
+ /**
134
+ *
135
+ * @type {RunDataReportRequestDto}
136
+ * @memberof DataReportExecutorApiRunDataReport
137
+ */
138
+ readonly runDataReportRequestDto: RunDataReportRequestDto
139
+
140
+ /**
141
+ * Bearer Token: provided by the login endpoint under the name accessToken.
142
+ * @type {string}
143
+ * @memberof DataReportExecutorApiRunDataReport
144
+ */
145
+ readonly authorization?: string
146
+ }
147
+
148
+ /**
149
+ * DataReportExecutorApi - object-oriented interface
150
+ * @export
151
+ * @class DataReportExecutorApi
152
+ * @extends {BaseAPI}
153
+ */
154
+ export class DataReportExecutorApi extends BaseAPI {
155
+ /**
156
+ *
157
+ * @param {DataReportExecutorApiRunDataReportRequest} requestParameters Request parameters.
158
+ * @param {*} [options] Override http request option.
159
+ * @throws {RequiredError}
160
+ * @memberof DataReportExecutorApi
161
+ */
162
+ public runDataReport(requestParameters: DataReportExecutorApiRunDataReportRequest, options?: AxiosRequestConfig) {
163
+ return DataReportExecutorApiFp(this.configuration).runDataReport(requestParameters.runDataReportRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
164
+ }
165
+ }
@@ -0,0 +1,124 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL Tenant Service
5
+ * The EMIL TenantService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
17
+ import { Configuration } from '../configuration';
18
+ // Some imports not used depending on template conditions
19
+ // @ts-ignore
20
+ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
21
+ // @ts-ignore
22
+ import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
23
+ // @ts-ignore
24
+ import { InlineResponse200 } from '../models';
25
+ // @ts-ignore
26
+ import { InlineResponse503 } from '../models';
27
+ // URLSearchParams not necessarily used
28
+ // @ts-ignore
29
+ import { URL, URLSearchParams } from 'url';
30
+ const FormData = require('form-data');
31
+ /**
32
+ * DefaultApi - axios parameter creator
33
+ * @export
34
+ */
35
+ export const DefaultApiAxiosParamCreator = function (configuration?: Configuration) {
36
+ return {
37
+ /**
38
+ *
39
+ * @param {*} [options] Override http request option.
40
+ * @throws {RequiredError}
41
+ */
42
+ check: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
43
+ const localVarPath = `/tenantservice/health`;
44
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
45
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
46
+ let baseOptions;
47
+ let baseAccessToken;
48
+ if (configuration) {
49
+ baseOptions = configuration.baseOptions;
50
+ baseAccessToken = configuration.accessToken;
51
+ }
52
+
53
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
54
+ const localVarHeaderParameter = {} as any;
55
+ const localVarQueryParameter = {} as any;
56
+
57
+
58
+
59
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
60
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
61
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
62
+
63
+ return {
64
+ url: toPathString(localVarUrlObj),
65
+ options: localVarRequestOptions,
66
+ };
67
+ },
68
+ }
69
+ };
70
+
71
+ /**
72
+ * DefaultApi - functional programming interface
73
+ * @export
74
+ */
75
+ export const DefaultApiFp = function(configuration?: Configuration) {
76
+ const localVarAxiosParamCreator = DefaultApiAxiosParamCreator(configuration)
77
+ return {
78
+ /**
79
+ *
80
+ * @param {*} [options] Override http request option.
81
+ * @throws {RequiredError}
82
+ */
83
+ async check(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse200>> {
84
+ const localVarAxiosArgs = await localVarAxiosParamCreator.check(options);
85
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
86
+ },
87
+ }
88
+ };
89
+
90
+ /**
91
+ * DefaultApi - factory interface
92
+ * @export
93
+ */
94
+ export const DefaultApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
95
+ const localVarFp = DefaultApiFp(configuration)
96
+ return {
97
+ /**
98
+ *
99
+ * @param {*} [options] Override http request option.
100
+ * @throws {RequiredError}
101
+ */
102
+ check(options?: any): AxiosPromise<InlineResponse200> {
103
+ return localVarFp.check(options).then((request) => request(axios, basePath));
104
+ },
105
+ };
106
+ };
107
+
108
+ /**
109
+ * DefaultApi - object-oriented interface
110
+ * @export
111
+ * @class DefaultApi
112
+ * @extends {BaseAPI}
113
+ */
114
+ export class DefaultApi extends BaseAPI {
115
+ /**
116
+ *
117
+ * @param {*} [options] Override http request option.
118
+ * @throws {RequiredError}
119
+ * @memberof DefaultApi
120
+ */
121
+ public check(options?: AxiosRequestConfig) {
122
+ return DefaultApiFp(this.configuration).check(options).then((request) => request(this.axios, this.basePath));
123
+ }
124
+ }
package/api/roles-api.ts CHANGED
@@ -33,18 +33,19 @@ const FormData = require('form-data');
33
33
  export const RolesApiAxiosParamCreator = function (configuration?: Configuration) {
34
34
  return {
35
35
  /**
36
- *
36
+ * Returns a list of roles you have previously created. The roles are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
37
+ * @summary List roles
37
38
  * @param {string} [authorization] Bearer Token
38
39
  * @param {number} [pageSize] Page size
39
40
  * @param {string} [pageToken] Page token
40
- * @param {string} [filter] List filter
41
+ * @param {'id' | 'code' | 'label'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
41
42
  * @param {string} [search] Search query
42
- * @param {string} [order] Ordering criteria
43
- * @param {string} [expand] Extra fields to fetch
43
+ * @param {'label'} [order] Order allowing you to specify the desired order of entities retrieved from the server.
44
+ * @param {'permissions'} [expand] You can expand roles in this endpoint. By default, permissions will be an empty array.
44
45
  * @param {*} [options] Override http request option.
45
46
  * @throws {RequiredError}
46
47
  */
47
- listRoles: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
48
+ listRoles: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: 'id' | 'code' | 'label', search?: string, order?: 'label', expand?: 'permissions', options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
48
49
  const localVarPath = `/tenantservice/v1/roles`;
49
50
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
50
51
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -113,18 +114,19 @@ export const RolesApiFp = function(configuration?: Configuration) {
113
114
  const localVarAxiosParamCreator = RolesApiAxiosParamCreator(configuration)
114
115
  return {
115
116
  /**
116
- *
117
+ * Returns a list of roles you have previously created. The roles are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
118
+ * @summary List roles
117
119
  * @param {string} [authorization] Bearer Token
118
120
  * @param {number} [pageSize] Page size
119
121
  * @param {string} [pageToken] Page token
120
- * @param {string} [filter] List filter
122
+ * @param {'id' | 'code' | 'label'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
121
123
  * @param {string} [search] Search query
122
- * @param {string} [order] Ordering criteria
123
- * @param {string} [expand] Extra fields to fetch
124
+ * @param {'label'} [order] Order allowing you to specify the desired order of entities retrieved from the server.
125
+ * @param {'permissions'} [expand] You can expand roles in this endpoint. By default, permissions will be an empty array.
124
126
  * @param {*} [options] Override http request option.
125
127
  * @throws {RequiredError}
126
128
  */
127
- async listRoles(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListRolesResponseClass>> {
129
+ async listRoles(authorization?: string, pageSize?: number, pageToken?: string, filter?: 'id' | 'code' | 'label', search?: string, order?: 'label', expand?: 'permissions', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListRolesResponseClass>> {
128
130
  const localVarAxiosArgs = await localVarAxiosParamCreator.listRoles(authorization, pageSize, pageToken, filter, search, order, expand, options);
129
131
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
130
132
  },
@@ -139,18 +141,19 @@ export const RolesApiFactory = function (configuration?: Configuration, basePath
139
141
  const localVarFp = RolesApiFp(configuration)
140
142
  return {
141
143
  /**
142
- *
144
+ * Returns a list of roles you have previously created. The roles are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
145
+ * @summary List roles
143
146
  * @param {string} [authorization] Bearer Token
144
147
  * @param {number} [pageSize] Page size
145
148
  * @param {string} [pageToken] Page token
146
- * @param {string} [filter] List filter
149
+ * @param {'id' | 'code' | 'label'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
147
150
  * @param {string} [search] Search query
148
- * @param {string} [order] Ordering criteria
149
- * @param {string} [expand] Extra fields to fetch
151
+ * @param {'label'} [order] Order allowing you to specify the desired order of entities retrieved from the server.
152
+ * @param {'permissions'} [expand] You can expand roles in this endpoint. By default, permissions will be an empty array.
150
153
  * @param {*} [options] Override http request option.
151
154
  * @throws {RequiredError}
152
155
  */
153
- listRoles(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListRolesResponseClass> {
156
+ listRoles(authorization?: string, pageSize?: number, pageToken?: string, filter?: 'id' | 'code' | 'label', search?: string, order?: 'label', expand?: 'permissions', options?: any): AxiosPromise<ListRolesResponseClass> {
154
157
  return localVarFp.listRoles(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
155
158
  },
156
159
  };
@@ -184,11 +187,11 @@ export interface RolesApiListRolesRequest {
184
187
  readonly pageToken?: string
185
188
 
186
189
  /**
187
- * List filter
188
- * @type {string}
190
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
191
+ * @type {'id' | 'code' | 'label'}
189
192
  * @memberof RolesApiListRoles
190
193
  */
191
- readonly filter?: string
194
+ readonly filter?: 'id' | 'code' | 'label'
192
195
 
193
196
  /**
194
197
  * Search query
@@ -198,18 +201,18 @@ export interface RolesApiListRolesRequest {
198
201
  readonly search?: string
199
202
 
200
203
  /**
201
- * Ordering criteria
202
- * @type {string}
204
+ * Order allowing you to specify the desired order of entities retrieved from the server.
205
+ * @type {'label'}
203
206
  * @memberof RolesApiListRoles
204
207
  */
205
- readonly order?: string
208
+ readonly order?: 'label'
206
209
 
207
210
  /**
208
- * Extra fields to fetch
209
- * @type {string}
211
+ * You can expand roles in this endpoint. By default, permissions will be an empty array.
212
+ * @type {'permissions'}
210
213
  * @memberof RolesApiListRoles
211
214
  */
212
- readonly expand?: string
215
+ readonly expand?: 'permissions'
213
216
  }
214
217
 
215
218
  /**
@@ -220,7 +223,8 @@ export interface RolesApiListRolesRequest {
220
223
  */
221
224
  export class RolesApi extends BaseAPI {
222
225
  /**
223
- *
226
+ * Returns a list of roles you have previously created. The roles are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
227
+ * @summary List roles
224
228
  * @param {RolesApiListRolesRequest} requestParameters Request parameters.
225
229
  * @param {*} [options] Override http request option.
226
230
  * @throws {RequiredError}
@@ -33,7 +33,8 @@ const FormData = require('form-data');
33
33
  export const SettingsApiAxiosParamCreator = function (configuration?: Configuration) {
34
34
  return {
35
35
  /**
36
- *
36
+ * Retrieves the details of the settings that was previously created. Supply the unique settings code that was returned when you created it and Emil Api will return the corresponding settings information.
37
+ * @summary Retrieve the settings
37
38
  * @param {string} keys
38
39
  * @param {string} [authorization] Bearer Token
39
40
  * @param {*} [options] Override http request option.
@@ -90,7 +91,8 @@ export const SettingsApiFp = function(configuration?: Configuration) {
90
91
  const localVarAxiosParamCreator = SettingsApiAxiosParamCreator(configuration)
91
92
  return {
92
93
  /**
93
- *
94
+ * Retrieves the details of the settings that was previously created. Supply the unique settings code that was returned when you created it and Emil Api will return the corresponding settings information.
95
+ * @summary Retrieve the settings
94
96
  * @param {string} keys
95
97
  * @param {string} [authorization] Bearer Token
96
98
  * @param {*} [options] Override http request option.
@@ -111,7 +113,8 @@ export const SettingsApiFactory = function (configuration?: Configuration, baseP
111
113
  const localVarFp = SettingsApiFp(configuration)
112
114
  return {
113
115
  /**
114
- *
116
+ * Retrieves the details of the settings that was previously created. Supply the unique settings code that was returned when you created it and Emil Api will return the corresponding settings information.
117
+ * @summary Retrieve the settings
115
118
  * @param {string} keys
116
119
  * @param {string} [authorization] Bearer Token
117
120
  * @param {*} [options] Override http request option.
@@ -152,7 +155,8 @@ export interface SettingsApiGetTenantSettingsRequest {
152
155
  */
153
156
  export class SettingsApi extends BaseAPI {
154
157
  /**
155
- *
158
+ * Retrieves the details of the settings that was previously created. Supply the unique settings code that was returned when you created it and Emil Api will return the corresponding settings information.
159
+ * @summary Retrieve the settings
156
160
  * @param {SettingsApiGetTenantSettingsRequest} requestParameters Request parameters.
157
161
  * @param {*} [options] Override http request option.
158
162
  * @throws {RequiredError}
package/api.ts CHANGED
@@ -25,6 +25,9 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
25
25
  // @ts-ignore
26
26
  import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from './base';
27
27
  import { CustomSchemaApi } from './api';
28
+ import { DataReportApi } from './api';
29
+ import { DataReportExecutorApi } from './api';
30
+ import { DefaultApi } from './api';
28
31
  import { InviteOrganizationsApi } from './api';
29
32
  import { InviteUsersApi } from './api';
30
33
  import { ListOrganizationInvitationsApi } from './api';
@@ -36,6 +39,9 @@ import { UsersApi } from './api';
36
39
 
37
40
 
38
41
  export * from './api/custom-schema-api';
42
+ export * from './api/data-report-api';
43
+ export * from './api/data-report-executor-api';
44
+ export * from './api/default-api';
39
45
  export * from './api/invite-organizations-api';
40
46
  export * from './api/invite-users-api';
41
47
  export * from './api/list-organization-invitations-api';