@emilgroup/tenant-sdk 1.29.1-beta.1 → 1.30.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 (41) hide show
  1. package/.openapi-generator/FILES +0 -1
  2. package/README.md +2 -2
  3. package/api/custom-schema-api.ts +40 -40
  4. package/api/dashboard-api.ts +76 -76
  5. package/api/dashboard-group-api.ts +40 -40
  6. package/api/data-report-api.ts +40 -40
  7. package/api/invite-users-api.ts +19 -19
  8. package/api/list-organization-invitations-api.ts +40 -40
  9. package/api/organizations-api.ts +40 -40
  10. package/api/users-api.ts +19 -19
  11. package/dist/api/custom-schema-api.d.ts +40 -40
  12. package/dist/api/custom-schema-api.js +21 -21
  13. package/dist/api/dashboard-api.d.ts +76 -76
  14. package/dist/api/dashboard-api.js +57 -57
  15. package/dist/api/dashboard-group-api.d.ts +40 -40
  16. package/dist/api/dashboard-group-api.js +21 -21
  17. package/dist/api/data-report-api.d.ts +40 -40
  18. package/dist/api/data-report-api.js +21 -21
  19. package/dist/api/invite-users-api.d.ts +19 -19
  20. package/dist/api/invite-users-api.js +9 -9
  21. package/dist/api/list-organization-invitations-api.d.ts +40 -40
  22. package/dist/api/list-organization-invitations-api.js +21 -21
  23. package/dist/api/organizations-api.d.ts +40 -40
  24. package/dist/api/organizations-api.js +21 -21
  25. package/dist/api/users-api.d.ts +19 -19
  26. package/dist/api/users-api.js +9 -9
  27. package/dist/models/index.d.ts +0 -1
  28. package/dist/models/index.js +0 -1
  29. package/dist/models/invite-class.d.ts +12 -12
  30. package/dist/models/list-org-invitations-response-class.d.ts +12 -0
  31. package/dist/models/list-organizations-response-class.d.ts +12 -0
  32. package/dist/models/user-class.d.ts +8 -8
  33. package/models/index.ts +0 -1
  34. package/models/invite-class.ts +12 -12
  35. package/models/list-org-invitations-response-class.ts +12 -0
  36. package/models/list-organizations-response-class.ts +12 -0
  37. package/models/user-class.ts +8 -8
  38. package/package.json +1 -1
  39. package/dist/models/create-tenant-db-config-request-dto.d.ts +0 -30
  40. package/dist/models/create-tenant-db-config-request-dto.js +0 -15
  41. package/models/create-tenant-db-config-request-dto.ts +0 -36
@@ -35,7 +35,6 @@ models/create-dashboard-request-dto.ts
35
35
  models/create-dashboard-response-class.ts
36
36
  models/create-data-report-request-dto.ts
37
37
  models/create-data-report-response-class.ts
38
- models/create-tenant-db-config-request-dto.ts
39
38
  models/create-tenant-request-dto.ts
40
39
  models/custom-field-dto.ts
41
40
  models/custom-schema-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.29.1-beta.1 --save
20
+ npm install @emilgroup/tenant-sdk@1.30.0 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/tenant-sdk@1.29.1-beta.1
24
+ yarn add @emilgroup/tenant-sdk@1.30.0
25
25
  ```
26
26
 
27
27
  And then you can import `UsersApi`.
@@ -139,17 +139,17 @@ export const CustomSchemaApiAxiosParamCreator = function (configuration?: Config
139
139
  * Returns a list of custom-schemas you have previously created. The custom-schemas are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"tenant-management.custom-schemas.view\"
140
140
  * @summary List custom-schemas
141
141
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
142
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
143
- * @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=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
144
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
145
- * @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
146
- * @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.
147
- * @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.
148
- * @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.
142
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
143
+ * @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=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
144
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
145
+ * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
146
+ * @param {string} [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.
147
+ * @param {string} [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.
148
+ * @param {string} [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.
149
149
  * @param {*} [options] Override http request option.
150
150
  * @throws {RequiredError}
151
151
  */
152
- listCustomSchemas: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
152
+ listCustomSchemas: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
153
153
  const localVarPath = `/tenantservice/v1/custom-schemas`;
154
154
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
155
155
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -301,17 +301,17 @@ export const CustomSchemaApiFp = function(configuration?: Configuration) {
301
301
  * Returns a list of custom-schemas you have previously created. The custom-schemas are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"tenant-management.custom-schemas.view\"
302
302
  * @summary List custom-schemas
303
303
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
304
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
305
- * @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.
306
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
307
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
308
- * @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.
309
- * @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.
310
- * @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.
304
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
305
+ * @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.
306
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
307
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
308
+ * @param {string} [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.
309
+ * @param {string} [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.
310
+ * @param {string} [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.
311
311
  * @param {*} [options] Override http request option.
312
312
  * @throws {RequiredError}
313
313
  */
314
- async listCustomSchemas(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCustomSchemasResponseClass>> {
314
+ async listCustomSchemas(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCustomSchemasResponseClass>> {
315
315
  const localVarAxiosArgs = await localVarAxiosParamCreator.listCustomSchemas(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
316
316
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
317
317
  },
@@ -365,17 +365,17 @@ export const CustomSchemaApiFactory = function (configuration?: Configuration, b
365
365
  * Returns a list of custom-schemas you have previously created. The custom-schemas are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"tenant-management.custom-schemas.view\"
366
366
  * @summary List custom-schemas
367
367
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
368
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
369
- * @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.
370
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
371
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
372
- * @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.
373
- * @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.
374
- * @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.
368
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
369
+ * @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.
370
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
371
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
372
+ * @param {string} [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.
373
+ * @param {string} [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.
374
+ * @param {string} [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.
375
375
  * @param {*} [options] Override http request option.
376
376
  * @throws {RequiredError}
377
377
  */
378
- listCustomSchemas(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<ListCustomSchemasResponseClass> {
378
+ listCustomSchemas(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListCustomSchemasResponseClass> {
379
379
  return localVarFp.listCustomSchemas(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
380
380
  },
381
381
  /**
@@ -457,52 +457,52 @@ export interface CustomSchemaApiListCustomSchemasRequest {
457
457
 
458
458
  /**
459
459
  * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
460
- * @type {any}
460
+ * @type {number}
461
461
  * @memberof CustomSchemaApiListCustomSchemas
462
462
  */
463
- readonly pageSize?: any
463
+ readonly pageSize?: number
464
464
 
465
465
  /**
466
- * 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.
467
- * @type {any}
466
+ * 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.
467
+ * @type {string}
468
468
  * @memberof CustomSchemaApiListCustomSchemas
469
469
  */
470
- readonly pageToken?: any
470
+ readonly pageToken?: string
471
471
 
472
472
  /**
473
473
  * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
474
- * @type {any}
474
+ * @type {string}
475
475
  * @memberof CustomSchemaApiListCustomSchemas
476
476
  */
477
- readonly filter?: any
477
+ readonly filter?: string
478
478
 
479
479
  /**
480
480
  * To search the list by any field, pass search&#x3D;xxx to fetch the result.
481
- * @type {any}
481
+ * @type {string}
482
482
  * @memberof CustomSchemaApiListCustomSchemas
483
483
  */
484
- readonly search?: any
484
+ readonly search?: string
485
485
 
486
486
  /**
487
487
  * 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.
488
- * @type {any}
488
+ * @type {string}
489
489
  * @memberof CustomSchemaApiListCustomSchemas
490
490
  */
491
- readonly order?: any
491
+ readonly order?: string
492
492
 
493
493
  /**
494
- * 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.
495
- * @type {any}
494
+ * 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.
495
+ * @type {string}
496
496
  * @memberof CustomSchemaApiListCustomSchemas
497
497
  */
498
- readonly expand?: any
498
+ readonly expand?: string
499
499
 
500
500
  /**
501
501
  * 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.
502
- * @type {any}
502
+ * @type {string}
503
503
  * @memberof CustomSchemaApiListCustomSchemas
504
504
  */
505
- readonly filters?: any
505
+ readonly filters?: string
506
506
  }
507
507
 
508
508
  /**