@emilgroup/tenant-sdk-node 1.28.1-beta.1 → 1.29.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-node@1.28.1-beta.1 --save
20
+ npm install @emilgroup/tenant-sdk-node@1.29.0 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/tenant-sdk-node@1.28.1-beta.1
24
+ yarn add @emilgroup/tenant-sdk-node@1.29.0
25
25
  ```
26
26
 
27
27
  And then you can import `UsersApi`.
@@ -143,17 +143,17 @@ export const CustomSchemaApiAxiosParamCreator = function (configuration?: Config
143
143
  * 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\"
144
144
  * @summary List custom-schemas
145
145
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
146
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
147
- * @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.
148
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
149
- * @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
150
- * @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.
151
- * @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.
152
- * @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.
146
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
147
+ * @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.
148
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
149
+ * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
150
+ * @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.
151
+ * @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.
152
+ * @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.
153
153
  * @param {*} [options] Override http request option.
154
154
  * @throws {RequiredError}
155
155
  */
156
- listCustomSchemas: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
156
+ listCustomSchemas: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
157
157
  const localVarPath = `/tenantservice/v1/custom-schemas`;
158
158
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
159
159
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -305,17 +305,17 @@ export const CustomSchemaApiFp = function(configuration?: Configuration) {
305
305
  * 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\"
306
306
  * @summary List custom-schemas
307
307
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
308
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
309
- * @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.
310
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
311
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
312
- * @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.
313
- * @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.
314
- * @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.
308
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
309
+ * @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.
310
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
311
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
312
+ * @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.
313
+ * @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.
314
+ * @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.
315
315
  * @param {*} [options] Override http request option.
316
316
  * @throws {RequiredError}
317
317
  */
318
- 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>> {
318
+ 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>> {
319
319
  const localVarAxiosArgs = await localVarAxiosParamCreator.listCustomSchemas(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
320
320
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
321
321
  },
@@ -369,17 +369,17 @@ export const CustomSchemaApiFactory = function (configuration?: Configuration, b
369
369
  * 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\"
370
370
  * @summary List custom-schemas
371
371
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
372
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
373
- * @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.
374
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
375
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
376
- * @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.
377
- * @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.
378
- * @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.
372
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
373
+ * @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.
374
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
375
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
376
+ * @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.
377
+ * @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.
378
+ * @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.
379
379
  * @param {*} [options] Override http request option.
380
380
  * @throws {RequiredError}
381
381
  */
382
- listCustomSchemas(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<ListCustomSchemasResponseClass> {
382
+ listCustomSchemas(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListCustomSchemasResponseClass> {
383
383
  return localVarFp.listCustomSchemas(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
384
384
  },
385
385
  /**
@@ -461,52 +461,52 @@ export interface CustomSchemaApiListCustomSchemasRequest {
461
461
 
462
462
  /**
463
463
  * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
464
- * @type {any}
464
+ * @type {number}
465
465
  * @memberof CustomSchemaApiListCustomSchemas
466
466
  */
467
- readonly pageSize?: any
467
+ readonly pageSize?: number
468
468
 
469
469
  /**
470
- * 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.
471
- * @type {any}
470
+ * 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.
471
+ * @type {string}
472
472
  * @memberof CustomSchemaApiListCustomSchemas
473
473
  */
474
- readonly pageToken?: any
474
+ readonly pageToken?: string
475
475
 
476
476
  /**
477
477
  * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
478
- * @type {any}
478
+ * @type {string}
479
479
  * @memberof CustomSchemaApiListCustomSchemas
480
480
  */
481
- readonly filter?: any
481
+ readonly filter?: string
482
482
 
483
483
  /**
484
484
  * To search the list by any field, pass search&#x3D;xxx to fetch the result.
485
- * @type {any}
485
+ * @type {string}
486
486
  * @memberof CustomSchemaApiListCustomSchemas
487
487
  */
488
- readonly search?: any
488
+ readonly search?: string
489
489
 
490
490
  /**
491
491
  * 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.
492
- * @type {any}
492
+ * @type {string}
493
493
  * @memberof CustomSchemaApiListCustomSchemas
494
494
  */
495
- readonly order?: any
495
+ readonly order?: string
496
496
 
497
497
  /**
498
- * 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.
499
- * @type {any}
498
+ * 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.
499
+ * @type {string}
500
500
  * @memberof CustomSchemaApiListCustomSchemas
501
501
  */
502
- readonly expand?: any
502
+ readonly expand?: string
503
503
 
504
504
  /**
505
505
  * 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.
506
- * @type {any}
506
+ * @type {string}
507
507
  * @memberof CustomSchemaApiListCustomSchemas
508
508
  */
509
- readonly filters?: any
509
+ readonly filters?: string
510
510
  }
511
511
 
512
512
  /**