@emilgroup/tenant-sdk 1.33.1-beta.29 → 1.33.1-beta.35

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.
@@ -104,7 +104,6 @@ models/role-class.ts
104
104
  models/run-data-report-request-dto.ts
105
105
  models/run-data-report-response-class.ts
106
106
  models/set-setting-request-dto.ts
107
- models/set-tenant-setting-response-class.ts
108
107
  models/subscription-class.ts
109
108
  models/tenant-admin-user-dto.ts
110
109
  models/tenant-settings-class.ts
package/README.md CHANGED
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
17
17
  Navigate to the folder of your consuming project and run one of the following commands:
18
18
 
19
19
  ```
20
- npm install @emilgroup/tenant-sdk@1.33.1-beta.29 --save
20
+ npm install @emilgroup/tenant-sdk@1.33.1-beta.35 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/tenant-sdk@1.33.1-beta.29
24
+ yarn add @emilgroup/tenant-sdk@1.33.1-beta.35
25
25
  ```
26
26
 
27
27
  And then you can import `UsersApi`.
@@ -22,10 +22,6 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
22
22
  import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
23
23
  // @ts-ignore
24
24
  import { GetSettingsResponseClass } from '../models';
25
- // @ts-ignore
26
- import { SetSettingRequestDto } from '../models';
27
- // @ts-ignore
28
- import { SetTenantSettingResponseClass } from '../models';
29
25
  /**
30
26
  * SettingsApi - axios parameter creator
31
27
  * @export
@@ -75,52 +71,6 @@ export const SettingsApiAxiosParamCreator = function (configuration?: Configurat
75
71
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
76
72
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
77
73
 
78
- return {
79
- url: toPathString(localVarUrlObj),
80
- options: localVarRequestOptions,
81
- };
82
- },
83
- /**
84
- * undefined **Required Permissions** \"tenant-management.tenants.update\"
85
- * @param {SetSettingRequestDto} setSettingRequestDto
86
- * @param {string} [authorization] Bearer Token
87
- * @param {*} [options] Override http request option.
88
- * @throws {RequiredError}
89
- */
90
- setTenantSetting: async (setSettingRequestDto: SetSettingRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
91
- // verify required parameter 'setSettingRequestDto' is not null or undefined
92
- assertParamExists('setTenantSetting', 'setSettingRequestDto', setSettingRequestDto)
93
- const localVarPath = `/tenantservice/v1/settings/tenant`;
94
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
95
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
96
- let baseOptions;
97
- let baseAccessToken;
98
- if (configuration) {
99
- baseOptions = configuration.baseOptions;
100
- baseAccessToken = configuration.accessToken;
101
- }
102
-
103
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
104
- const localVarHeaderParameter = {} as any;
105
- const localVarQueryParameter = {} as any;
106
-
107
- // authentication bearer required
108
- // http bearer authentication required
109
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
110
-
111
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
112
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
113
- }
114
-
115
-
116
-
117
- localVarHeaderParameter['Content-Type'] = 'application/json';
118
-
119
- setSearchParams(localVarUrlObj, localVarQueryParameter);
120
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
121
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
122
- localVarRequestOptions.data = serializeDataIfNeeded(setSettingRequestDto, localVarRequestOptions, configuration)
123
-
124
74
  return {
125
75
  url: toPathString(localVarUrlObj),
126
76
  options: localVarRequestOptions,
@@ -148,17 +98,6 @@ export const SettingsApiFp = function(configuration?: Configuration) {
148
98
  const localVarAxiosArgs = await localVarAxiosParamCreator.getTenantSettings(keys, authorization, options);
149
99
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
150
100
  },
151
- /**
152
- * undefined **Required Permissions** \"tenant-management.tenants.update\"
153
- * @param {SetSettingRequestDto} setSettingRequestDto
154
- * @param {string} [authorization] Bearer Token
155
- * @param {*} [options] Override http request option.
156
- * @throws {RequiredError}
157
- */
158
- async setTenantSetting(setSettingRequestDto: SetSettingRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SetTenantSettingResponseClass>> {
159
- const localVarAxiosArgs = await localVarAxiosParamCreator.setTenantSetting(setSettingRequestDto, authorization, options);
160
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
161
- },
162
101
  }
163
102
  };
164
103
 
@@ -180,16 +119,6 @@ export const SettingsApiFactory = function (configuration?: Configuration, baseP
180
119
  getTenantSettings(keys: string, authorization?: string, options?: any): AxiosPromise<GetSettingsResponseClass> {
181
120
  return localVarFp.getTenantSettings(keys, authorization, options).then((request) => request(axios, basePath));
182
121
  },
183
- /**
184
- * undefined **Required Permissions** \"tenant-management.tenants.update\"
185
- * @param {SetSettingRequestDto} setSettingRequestDto
186
- * @param {string} [authorization] Bearer Token
187
- * @param {*} [options] Override http request option.
188
- * @throws {RequiredError}
189
- */
190
- setTenantSetting(setSettingRequestDto: SetSettingRequestDto, authorization?: string, options?: any): AxiosPromise<SetTenantSettingResponseClass> {
191
- return localVarFp.setTenantSetting(setSettingRequestDto, authorization, options).then((request) => request(axios, basePath));
192
- },
193
122
  };
194
123
  };
195
124
 
@@ -214,27 +143,6 @@ export interface SettingsApiGetTenantSettingsRequest {
214
143
  readonly authorization?: string
215
144
  }
216
145
 
217
- /**
218
- * Request parameters for setTenantSetting operation in SettingsApi.
219
- * @export
220
- * @interface SettingsApiSetTenantSettingRequest
221
- */
222
- export interface SettingsApiSetTenantSettingRequest {
223
- /**
224
- *
225
- * @type {SetSettingRequestDto}
226
- * @memberof SettingsApiSetTenantSetting
227
- */
228
- readonly setSettingRequestDto: SetSettingRequestDto
229
-
230
- /**
231
- * Bearer Token
232
- * @type {string}
233
- * @memberof SettingsApiSetTenantSetting
234
- */
235
- readonly authorization?: string
236
- }
237
-
238
146
  /**
239
147
  * SettingsApi - object-oriented interface
240
148
  * @export
@@ -253,15 +161,4 @@ export class SettingsApi extends BaseAPI {
253
161
  public getTenantSettings(requestParameters: SettingsApiGetTenantSettingsRequest, options?: AxiosRequestConfig) {
254
162
  return SettingsApiFp(this.configuration).getTenantSettings(requestParameters.keys, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
255
163
  }
256
-
257
- /**
258
- * undefined **Required Permissions** \"tenant-management.tenants.update\"
259
- * @param {SettingsApiSetTenantSettingRequest} requestParameters Request parameters.
260
- * @param {*} [options] Override http request option.
261
- * @throws {RequiredError}
262
- * @memberof SettingsApi
263
- */
264
- public setTenantSetting(requestParameters: SettingsApiSetTenantSettingRequest, options?: AxiosRequestConfig) {
265
- return SettingsApiFp(this.configuration).setTenantSetting(requestParameters.setSettingRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
266
- }
267
164
  }
package/api/users-api.ts CHANGED
@@ -346,7 +346,7 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
346
346
  * @param {string} [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.
347
347
  * @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, email, sub, status, organizationId, ern, partnerCode&lt;/i&gt;
348
348
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
349
- * @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, email&lt;/i&gt;
349
+ * @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, email, firstName, lastName&lt;/i&gt;
350
350
  * @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; &lt;i&gt;Allowed values: subscriptions, organizations&lt;i&gt;
351
351
  * @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, email, sub, status, organizationId, ern, partnerCode&lt;/i&gt;
352
352
  * @param {*} [options] Override http request option.
@@ -502,7 +502,7 @@ export const UsersApiFp = function(configuration?: Configuration) {
502
502
  * @param {string} [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.
503
503
  * @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, email, sub, status, organizationId, ern, partnerCode&lt;/i&gt;
504
504
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
505
- * @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, email&lt;/i&gt;
505
+ * @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, email, firstName, lastName&lt;/i&gt;
506
506
  * @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; &lt;i&gt;Allowed values: subscriptions, organizations&lt;i&gt;
507
507
  * @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, email, sub, status, organizationId, ern, partnerCode&lt;/i&gt;
508
508
  * @param {*} [options] Override http request option.
@@ -594,7 +594,7 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
594
594
  * @param {string} [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.
595
595
  * @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, email, sub, status, organizationId, ern, partnerCode&lt;/i&gt;
596
596
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
597
- * @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, email&lt;/i&gt;
597
+ * @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, email, firstName, lastName&lt;/i&gt;
598
598
  * @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; &lt;i&gt;Allowed values: subscriptions, organizations&lt;i&gt;
599
599
  * @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, email, sub, status, organizationId, ern, partnerCode&lt;/i&gt;
600
600
  * @param {*} [options] Override http request option.
@@ -795,7 +795,7 @@ export interface UsersApiListUsersRequest {
795
795
  readonly search?: string
796
796
 
797
797
  /**
798
- * 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, email&lt;/i&gt;
798
+ * 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, email, firstName, lastName&lt;/i&gt;
799
799
  * @type {string}
800
800
  * @memberof UsersApiListUsers
801
801
  */
@@ -13,8 +13,6 @@ import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
13
  import { Configuration } from '../configuration';
14
14
  import { RequestArgs, BaseAPI } from '../base';
15
15
  import { GetSettingsResponseClass } from '../models';
16
- import { SetSettingRequestDto } from '../models';
17
- import { SetTenantSettingResponseClass } from '../models';
18
16
  /**
19
17
  * SettingsApi - axios parameter creator
20
18
  * @export
@@ -29,14 +27,6 @@ export declare const SettingsApiAxiosParamCreator: (configuration?: Configuratio
29
27
  * @throws {RequiredError}
30
28
  */
31
29
  getTenantSettings: (keys: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
32
- /**
33
- * undefined **Required Permissions** \"tenant-management.tenants.update\"
34
- * @param {SetSettingRequestDto} setSettingRequestDto
35
- * @param {string} [authorization] Bearer Token
36
- * @param {*} [options] Override http request option.
37
- * @throws {RequiredError}
38
- */
39
- setTenantSetting: (setSettingRequestDto: SetSettingRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
40
30
  };
41
31
  /**
42
32
  * SettingsApi - functional programming interface
@@ -52,14 +42,6 @@ export declare const SettingsApiFp: (configuration?: Configuration) => {
52
42
  * @throws {RequiredError}
53
43
  */
54
44
  getTenantSettings(keys: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetSettingsResponseClass>>;
55
- /**
56
- * undefined **Required Permissions** \"tenant-management.tenants.update\"
57
- * @param {SetSettingRequestDto} setSettingRequestDto
58
- * @param {string} [authorization] Bearer Token
59
- * @param {*} [options] Override http request option.
60
- * @throws {RequiredError}
61
- */
62
- setTenantSetting(setSettingRequestDto: SetSettingRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SetTenantSettingResponseClass>>;
63
45
  };
64
46
  /**
65
47
  * SettingsApi - factory interface
@@ -75,14 +57,6 @@ export declare const SettingsApiFactory: (configuration?: Configuration, basePat
75
57
  * @throws {RequiredError}
76
58
  */
77
59
  getTenantSettings(keys: string, authorization?: string, options?: any): AxiosPromise<GetSettingsResponseClass>;
78
- /**
79
- * undefined **Required Permissions** \"tenant-management.tenants.update\"
80
- * @param {SetSettingRequestDto} setSettingRequestDto
81
- * @param {string} [authorization] Bearer Token
82
- * @param {*} [options] Override http request option.
83
- * @throws {RequiredError}
84
- */
85
- setTenantSetting(setSettingRequestDto: SetSettingRequestDto, authorization?: string, options?: any): AxiosPromise<SetTenantSettingResponseClass>;
86
60
  };
87
61
  /**
88
62
  * Request parameters for getTenantSettings operation in SettingsApi.
@@ -103,25 +77,6 @@ export interface SettingsApiGetTenantSettingsRequest {
103
77
  */
104
78
  readonly authorization?: string;
105
79
  }
106
- /**
107
- * Request parameters for setTenantSetting operation in SettingsApi.
108
- * @export
109
- * @interface SettingsApiSetTenantSettingRequest
110
- */
111
- export interface SettingsApiSetTenantSettingRequest {
112
- /**
113
- *
114
- * @type {SetSettingRequestDto}
115
- * @memberof SettingsApiSetTenantSetting
116
- */
117
- readonly setSettingRequestDto: SetSettingRequestDto;
118
- /**
119
- * Bearer Token
120
- * @type {string}
121
- * @memberof SettingsApiSetTenantSetting
122
- */
123
- readonly authorization?: string;
124
- }
125
80
  /**
126
81
  * SettingsApi - object-oriented interface
127
82
  * @export
@@ -138,12 +93,4 @@ export declare class SettingsApi extends BaseAPI {
138
93
  * @memberof SettingsApi
139
94
  */
140
95
  getTenantSettings(requestParameters: SettingsApiGetTenantSettingsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetSettingsResponseClass, any, {}>>;
141
- /**
142
- * undefined **Required Permissions** \"tenant-management.tenants.update\"
143
- * @param {SettingsApiSetTenantSettingRequest} requestParameters Request parameters.
144
- * @param {*} [options] Override http request option.
145
- * @throws {RequiredError}
146
- * @memberof SettingsApi
147
- */
148
- setTenantSetting(requestParameters: SettingsApiSetTenantSettingRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SetTenantSettingResponseClass, any, {}>>;
149
96
  }
@@ -142,54 +142,6 @@ var SettingsApiAxiosParamCreator = function (configuration) {
142
142
  });
143
143
  });
144
144
  },
145
- /**
146
- * undefined **Required Permissions** \"tenant-management.tenants.update\"
147
- * @param {SetSettingRequestDto} setSettingRequestDto
148
- * @param {string} [authorization] Bearer Token
149
- * @param {*} [options] Override http request option.
150
- * @throws {RequiredError}
151
- */
152
- setTenantSetting: function (setSettingRequestDto, authorization, options) {
153
- if (options === void 0) { options = {}; }
154
- return __awaiter(_this, void 0, void 0, function () {
155
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
156
- return __generator(this, function (_a) {
157
- switch (_a.label) {
158
- case 0:
159
- // verify required parameter 'setSettingRequestDto' is not null or undefined
160
- (0, common_1.assertParamExists)('setTenantSetting', 'setSettingRequestDto', setSettingRequestDto);
161
- localVarPath = "/tenantservice/v1/settings/tenant";
162
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
163
- if (configuration) {
164
- baseOptions = configuration.baseOptions;
165
- baseAccessToken = configuration.accessToken;
166
- }
167
- localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
168
- localVarHeaderParameter = {};
169
- localVarQueryParameter = {};
170
- // authentication bearer required
171
- // http bearer authentication required
172
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
173
- case 1:
174
- // authentication bearer required
175
- // http bearer authentication required
176
- _a.sent();
177
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
178
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
179
- }
180
- localVarHeaderParameter['Content-Type'] = 'application/json';
181
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
182
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
183
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
184
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(setSettingRequestDto, localVarRequestOptions, configuration);
185
- return [2 /*return*/, {
186
- url: (0, common_1.toPathString)(localVarUrlObj),
187
- options: localVarRequestOptions,
188
- }];
189
- }
190
- });
191
- });
192
- },
193
145
  };
194
146
  };
195
147
  exports.SettingsApiAxiosParamCreator = SettingsApiAxiosParamCreator;
@@ -221,26 +173,6 @@ var SettingsApiFp = function (configuration) {
221
173
  });
222
174
  });
223
175
  },
224
- /**
225
- * undefined **Required Permissions** \"tenant-management.tenants.update\"
226
- * @param {SetSettingRequestDto} setSettingRequestDto
227
- * @param {string} [authorization] Bearer Token
228
- * @param {*} [options] Override http request option.
229
- * @throws {RequiredError}
230
- */
231
- setTenantSetting: function (setSettingRequestDto, authorization, options) {
232
- return __awaiter(this, void 0, void 0, function () {
233
- var localVarAxiosArgs;
234
- return __generator(this, function (_a) {
235
- switch (_a.label) {
236
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.setTenantSetting(setSettingRequestDto, authorization, options)];
237
- case 1:
238
- localVarAxiosArgs = _a.sent();
239
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
240
- }
241
- });
242
- });
243
- },
244
176
  };
245
177
  };
246
178
  exports.SettingsApiFp = SettingsApiFp;
@@ -262,16 +194,6 @@ var SettingsApiFactory = function (configuration, basePath, axios) {
262
194
  getTenantSettings: function (keys, authorization, options) {
263
195
  return localVarFp.getTenantSettings(keys, authorization, options).then(function (request) { return request(axios, basePath); });
264
196
  },
265
- /**
266
- * undefined **Required Permissions** \"tenant-management.tenants.update\"
267
- * @param {SetSettingRequestDto} setSettingRequestDto
268
- * @param {string} [authorization] Bearer Token
269
- * @param {*} [options] Override http request option.
270
- * @throws {RequiredError}
271
- */
272
- setTenantSetting: function (setSettingRequestDto, authorization, options) {
273
- return localVarFp.setTenantSetting(setSettingRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
274
- },
275
197
  };
276
198
  };
277
199
  exports.SettingsApiFactory = SettingsApiFactory;
@@ -298,17 +220,6 @@ var SettingsApi = /** @class */ (function (_super) {
298
220
  var _this = this;
299
221
  return (0, exports.SettingsApiFp)(this.configuration).getTenantSettings(requestParameters.keys, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
300
222
  };
301
- /**
302
- * undefined **Required Permissions** \"tenant-management.tenants.update\"
303
- * @param {SettingsApiSetTenantSettingRequest} requestParameters Request parameters.
304
- * @param {*} [options] Override http request option.
305
- * @throws {RequiredError}
306
- * @memberof SettingsApi
307
- */
308
- SettingsApi.prototype.setTenantSetting = function (requestParameters, options) {
309
- var _this = this;
310
- return (0, exports.SettingsApiFp)(this.configuration).setTenantSetting(requestParameters.setSettingRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
311
- };
312
223
  return SettingsApi;
313
224
  }(base_1.BaseAPI));
314
225
  exports.SettingsApi = SettingsApi;
@@ -89,7 +89,7 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
89
89
  * @param {string} [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.
90
90
  * @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, email, sub, status, organizationId, ern, partnerCode&lt;/i&gt;
91
91
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
92
- * @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, email&lt;/i&gt;
92
+ * @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, email, firstName, lastName&lt;/i&gt;
93
93
  * @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; &lt;i&gt;Allowed values: subscriptions, organizations&lt;i&gt;
94
94
  * @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, email, sub, status, organizationId, ern, partnerCode&lt;/i&gt;
95
95
  * @param {*} [options] Override http request option.
@@ -162,7 +162,7 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
162
162
  * @param {string} [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.
163
163
  * @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, email, sub, status, organizationId, ern, partnerCode&lt;/i&gt;
164
164
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
165
- * @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, email&lt;/i&gt;
165
+ * @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, email, firstName, lastName&lt;/i&gt;
166
166
  * @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; &lt;i&gt;Allowed values: subscriptions, organizations&lt;i&gt;
167
167
  * @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, email, sub, status, organizationId, ern, partnerCode&lt;/i&gt;
168
168
  * @param {*} [options] Override http request option.
@@ -235,7 +235,7 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
235
235
  * @param {string} [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.
236
236
  * @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, email, sub, status, organizationId, ern, partnerCode&lt;/i&gt;
237
237
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
238
- * @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, email&lt;/i&gt;
238
+ * @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, email, firstName, lastName&lt;/i&gt;
239
239
  * @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; &lt;i&gt;Allowed values: subscriptions, organizations&lt;i&gt;
240
240
  * @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, email, sub, status, organizationId, ern, partnerCode&lt;/i&gt;
241
241
  * @param {*} [options] Override http request option.
@@ -412,7 +412,7 @@ export interface UsersApiListUsersRequest {
412
412
  */
413
413
  readonly search?: string;
414
414
  /**
415
- * 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, email&lt;/i&gt;
415
+ * 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, email, firstName, lastName&lt;/i&gt;
416
416
  * @type {string}
417
417
  * @memberof UsersApiListUsers
418
418
  */
@@ -400,7 +400,7 @@ var UsersApiAxiosParamCreator = function (configuration) {
400
400
  * @param {string} [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.
401
401
  * @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, email, sub, status, organizationId, ern, partnerCode&lt;/i&gt;
402
402
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
403
- * @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, email&lt;/i&gt;
403
+ * @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, email, firstName, lastName&lt;/i&gt;
404
404
  * @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; &lt;i&gt;Allowed values: subscriptions, organizations&lt;i&gt;
405
405
  * @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, email, sub, status, organizationId, ern, partnerCode&lt;/i&gt;
406
406
  * @param {*} [options] Override http request option.
@@ -606,7 +606,7 @@ var UsersApiFp = function (configuration) {
606
606
  * @param {string} [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.
607
607
  * @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, email, sub, status, organizationId, ern, partnerCode&lt;/i&gt;
608
608
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
609
- * @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, email&lt;/i&gt;
609
+ * @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, email, firstName, lastName&lt;/i&gt;
610
610
  * @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; &lt;i&gt;Allowed values: subscriptions, organizations&lt;i&gt;
611
611
  * @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, email, sub, status, organizationId, ern, partnerCode&lt;/i&gt;
612
612
  * @param {*} [options] Override http request option.
@@ -707,7 +707,7 @@ var UsersApiFactory = function (configuration, basePath, axios) {
707
707
  * @param {string} [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.
708
708
  * @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, email, sub, status, organizationId, ern, partnerCode&lt;/i&gt;
709
709
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
710
- * @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, email&lt;/i&gt;
710
+ * @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, email, firstName, lastName&lt;/i&gt;
711
711
  * @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; &lt;i&gt;Allowed values: subscriptions, organizations&lt;i&gt;
712
712
  * @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, email, sub, status, organizationId, ern, partnerCode&lt;/i&gt;
713
713
  * @param {*} [options] Override http request option.
@@ -77,7 +77,6 @@ export * from './role-class';
77
77
  export * from './run-data-report-request-dto';
78
78
  export * from './run-data-report-response-class';
79
79
  export * from './set-setting-request-dto';
80
- export * from './set-tenant-setting-response-class';
81
80
  export * from './subscription-class';
82
81
  export * from './tenant-admin-user-dto';
83
82
  export * from './tenant-settings-class';
@@ -93,7 +93,6 @@ __exportStar(require("./role-class"), exports);
93
93
  __exportStar(require("./run-data-report-request-dto"), exports);
94
94
  __exportStar(require("./run-data-report-response-class"), exports);
95
95
  __exportStar(require("./set-setting-request-dto"), exports);
96
- __exportStar(require("./set-tenant-setting-response-class"), exports);
97
96
  __exportStar(require("./subscription-class"), exports);
98
97
  __exportStar(require("./tenant-admin-user-dto"), exports);
99
98
  __exportStar(require("./tenant-settings-class"), exports);
@@ -16,15 +16,21 @@
16
16
  */
17
17
  export interface SetSettingRequestDto {
18
18
  /**
19
- * Setting key.
19
+ *
20
20
  * @type {string}
21
21
  * @memberof SetSettingRequestDto
22
22
  */
23
23
  'key': string;
24
24
  /**
25
- * Setting value.
26
- * @type {object}
25
+ *
26
+ * @type {string}
27
+ * @memberof SetSettingRequestDto
28
+ */
29
+ 'value': string;
30
+ /**
31
+ *
32
+ * @type {string}
27
33
  * @memberof SetSettingRequestDto
28
34
  */
29
- 'value': object;
35
+ 'type': string;
30
36
  }
package/models/index.ts CHANGED
@@ -77,7 +77,6 @@ export * from './role-class';
77
77
  export * from './run-data-report-request-dto';
78
78
  export * from './run-data-report-response-class';
79
79
  export * from './set-setting-request-dto';
80
- export * from './set-tenant-setting-response-class';
81
80
  export * from './subscription-class';
82
81
  export * from './tenant-admin-user-dto';
83
82
  export * from './tenant-settings-class';
@@ -21,16 +21,22 @@
21
21
  */
22
22
  export interface SetSettingRequestDto {
23
23
  /**
24
- * Setting key.
24
+ *
25
25
  * @type {string}
26
26
  * @memberof SetSettingRequestDto
27
27
  */
28
28
  'key': string;
29
29
  /**
30
- * Setting value.
31
- * @type {object}
30
+ *
31
+ * @type {string}
32
+ * @memberof SetSettingRequestDto
33
+ */
34
+ 'value': string;
35
+ /**
36
+ *
37
+ * @type {string}
32
38
  * @memberof SetSettingRequestDto
33
39
  */
34
- 'value': object;
40
+ 'type': string;
35
41
  }
36
42
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/tenant-sdk",
3
- "version": "1.33.1-beta.29",
3
+ "version": "1.33.1-beta.35",
4
4
  "description": "OpenAPI client for @emilgroup/tenant-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [
@@ -1,36 +0,0 @@
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
- /**
13
- *
14
- * @export
15
- * @interface SetTenantSettingResponseClass
16
- */
17
- export interface SetTenantSettingResponseClass {
18
- /**
19
- * Setting key.
20
- * @type {string}
21
- * @memberof SetTenantSettingResponseClass
22
- */
23
- 'key': string;
24
- /**
25
- * Setting value.
26
- * @type {string}
27
- * @memberof SetTenantSettingResponseClass
28
- */
29
- 'value': string;
30
- /**
31
- * Type indicates whether the setting applies to user or tenant.
32
- * @type {string}
33
- * @memberof SetTenantSettingResponseClass
34
- */
35
- 'type': string;
36
- }
@@ -1,15 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * EMIL Tenant Service
6
- * The EMIL TenantService API description
7
- *
8
- * The version of the OpenAPI document: 1.0
9
- * Contact: kontakt@emil.de
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,42 +0,0 @@
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
-
17
- /**
18
- *
19
- * @export
20
- * @interface SetTenantSettingResponseClass
21
- */
22
- export interface SetTenantSettingResponseClass {
23
- /**
24
- * Setting key.
25
- * @type {string}
26
- * @memberof SetTenantSettingResponseClass
27
- */
28
- 'key': string;
29
- /**
30
- * Setting value.
31
- * @type {string}
32
- * @memberof SetTenantSettingResponseClass
33
- */
34
- 'value': string;
35
- /**
36
- * Type indicates whether the setting applies to user or tenant.
37
- * @type {string}
38
- * @memberof SetTenantSettingResponseClass
39
- */
40
- 'type': string;
41
- }
42
-