@emilgroup/tenant-sdk 1.29.0 → 1.29.1-beta.1

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 (66) hide show
  1. package/.openapi-generator/FILES +3 -0
  2. package/README.md +2 -2
  3. package/api/custom-schema-api.ts +16 -16
  4. package/api/dashboard-api.ts +338 -39
  5. package/api/dashboard-group-api.ts +20 -20
  6. package/api/data-report-api.ts +16 -16
  7. package/api/data-report-executor-api.ts +4 -4
  8. package/api/delete-organization-invitations-api.ts +4 -4
  9. package/api/invite-organizations-api.ts +4 -4
  10. package/api/invite-users-api.ts +16 -16
  11. package/api/list-organization-invitations-api.ts +4 -4
  12. package/api/organizations-api.ts +12 -12
  13. package/api/re-invite-an-organization-api.ts +4 -4
  14. package/api/roles-api.ts +4 -4
  15. package/api/settings-api.ts +4 -4
  16. package/api/users-api.ts +28 -28
  17. package/common.ts +2 -2
  18. package/configuration.ts +9 -0
  19. package/dist/api/custom-schema-api.d.ts +16 -16
  20. package/dist/api/custom-schema-api.js +16 -16
  21. package/dist/api/dashboard-api.d.ts +189 -34
  22. package/dist/api/dashboard-api.js +300 -34
  23. package/dist/api/dashboard-group-api.d.ts +20 -20
  24. package/dist/api/dashboard-group-api.js +20 -20
  25. package/dist/api/data-report-api.d.ts +16 -16
  26. package/dist/api/data-report-api.js +16 -16
  27. package/dist/api/data-report-executor-api.d.ts +4 -4
  28. package/dist/api/data-report-executor-api.js +4 -4
  29. package/dist/api/delete-organization-invitations-api.d.ts +4 -4
  30. package/dist/api/delete-organization-invitations-api.js +4 -4
  31. package/dist/api/invite-organizations-api.d.ts +4 -4
  32. package/dist/api/invite-organizations-api.js +4 -4
  33. package/dist/api/invite-users-api.d.ts +16 -16
  34. package/dist/api/invite-users-api.js +16 -16
  35. package/dist/api/list-organization-invitations-api.d.ts +4 -4
  36. package/dist/api/list-organization-invitations-api.js +4 -4
  37. package/dist/api/organizations-api.d.ts +12 -12
  38. package/dist/api/organizations-api.js +12 -12
  39. package/dist/api/re-invite-an-organization-api.d.ts +4 -4
  40. package/dist/api/re-invite-an-organization-api.js +4 -4
  41. package/dist/api/roles-api.d.ts +4 -4
  42. package/dist/api/roles-api.js +4 -4
  43. package/dist/api/settings-api.d.ts +4 -4
  44. package/dist/api/settings-api.js +4 -4
  45. package/dist/api/users-api.d.ts +28 -28
  46. package/dist/api/users-api.js +28 -28
  47. package/dist/common.js +2 -2
  48. package/dist/configuration.d.ts +6 -0
  49. package/dist/configuration.js +8 -0
  50. package/dist/models/create-tenant-db-config-request-dto.d.ts +30 -0
  51. package/dist/models/create-tenant-db-config-request-dto.js +15 -0
  52. package/dist/models/index.d.ts +3 -0
  53. package/dist/models/index.js +3 -0
  54. package/dist/models/invite-class.d.ts +12 -12
  55. package/dist/models/publish-dashboard-request-dto.d.ts +34 -0
  56. package/dist/models/publish-dashboard-request-dto.js +19 -0
  57. package/dist/models/revert-analysis-request-dto.d.ts +34 -0
  58. package/dist/models/revert-analysis-request-dto.js +19 -0
  59. package/dist/models/user-class.d.ts +8 -8
  60. package/models/create-tenant-db-config-request-dto.ts +36 -0
  61. package/models/index.ts +3 -0
  62. package/models/invite-class.ts +12 -12
  63. package/models/publish-dashboard-request-dto.ts +43 -0
  64. package/models/revert-analysis-request-dto.ts +43 -0
  65. package/models/user-class.ts +8 -8
  66. package/package.json +1 -1
@@ -35,6 +35,7 @@ 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
38
39
  models/create-tenant-request-dto.ts
39
40
  models/custom-field-dto.ts
40
41
  models/custom-schema-class.ts
@@ -85,7 +86,9 @@ models/org-invitation-class.ts
85
86
  models/org-invitation-response-class.ts
86
87
  models/organization-class.ts
87
88
  models/permission-class.ts
89
+ models/publish-dashboard-request-dto.ts
88
90
  models/re-invite-org-request-dto.ts
91
+ models/revert-analysis-request-dto.ts
89
92
  models/role-class.ts
90
93
  models/run-data-report-request-dto.ts
91
94
  models/run-data-report-response-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.0 --save
20
+ npm install @emilgroup/tenant-sdk@1.29.1-beta.1 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/tenant-sdk@1.29.0
24
+ yarn add @emilgroup/tenant-sdk@1.29.1-beta.1
25
25
  ```
26
26
 
27
27
  And then you can import `UsersApi`.
@@ -39,7 +39,7 @@ import { UpdateCustomSchemaResponseClass } from '../models';
39
39
  export const CustomSchemaApiAxiosParamCreator = function (configuration?: Configuration) {
40
40
  return {
41
41
  /**
42
- * This will create an custom schema for tenant in the database. Custom schema are extra fields that tenant added to his entity and we need to validate this fields using the created schema.
42
+ * This will create an custom schema for tenant in the database. Custom schema are extra fields that tenant added to his entity and we need to validate this fields using the created schema. **Required Permissions** \"tenant-management.custom-schemas.create\"
43
43
  * @summary Create the custom-schema
44
44
  * @param {CreateCustomSchemaRequestDto} createCustomSchemaRequestDto
45
45
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -86,7 +86,7 @@ export const CustomSchemaApiAxiosParamCreator = function (configuration?: Config
86
86
  };
87
87
  },
88
88
  /**
89
- * Retrieves the details of the custom-schema that was previously created. Supply the unique custom-schema code that was returned when you created it and Emil Api will return the corresponding custom-schema information.
89
+ * Retrieves the details of the custom-schema that was previously created. Supply the unique custom-schema code that was returned when you created it and Emil Api will return the corresponding custom-schema information. **Required Permissions** \"tenant-management.custom-schemas.view\"
90
90
  * @summary Retrieve the custom-schema
91
91
  * @param {string} code Unique identifier for the object.
92
92
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -136,7 +136,7 @@ export const CustomSchemaApiAxiosParamCreator = function (configuration?: Config
136
136
  };
137
137
  },
138
138
  /**
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.
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
142
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -212,7 +212,7 @@ export const CustomSchemaApiAxiosParamCreator = function (configuration?: Config
212
212
  };
213
213
  },
214
214
  /**
215
- * Updates the specified custom-schema by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
215
+ * Updates the specified custom-schema by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"tenant-management.custom-schemas.update\"
216
216
  * @summary Update the custom-schema
217
217
  * @param {string} code
218
218
  * @param {UpdateCustomSchemaRequestDto} updateCustomSchemaRequestDto
@@ -273,7 +273,7 @@ export const CustomSchemaApiFp = function(configuration?: Configuration) {
273
273
  const localVarAxiosParamCreator = CustomSchemaApiAxiosParamCreator(configuration)
274
274
  return {
275
275
  /**
276
- * This will create an custom schema for tenant in the database. Custom schema are extra fields that tenant added to his entity and we need to validate this fields using the created schema.
276
+ * This will create an custom schema for tenant in the database. Custom schema are extra fields that tenant added to his entity and we need to validate this fields using the created schema. **Required Permissions** \"tenant-management.custom-schemas.create\"
277
277
  * @summary Create the custom-schema
278
278
  * @param {CreateCustomSchemaRequestDto} createCustomSchemaRequestDto
279
279
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -285,7 +285,7 @@ export const CustomSchemaApiFp = function(configuration?: Configuration) {
285
285
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
286
286
  },
287
287
  /**
288
- * Retrieves the details of the custom-schema that was previously created. Supply the unique custom-schema code that was returned when you created it and Emil Api will return the corresponding custom-schema information.
288
+ * Retrieves the details of the custom-schema that was previously created. Supply the unique custom-schema code that was returned when you created it and Emil Api will return the corresponding custom-schema information. **Required Permissions** \"tenant-management.custom-schemas.view\"
289
289
  * @summary Retrieve the custom-schema
290
290
  * @param {string} code Unique identifier for the object.
291
291
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -298,7 +298,7 @@ export const CustomSchemaApiFp = function(configuration?: Configuration) {
298
298
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
299
299
  },
300
300
  /**
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.
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
304
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -316,7 +316,7 @@ export const CustomSchemaApiFp = function(configuration?: Configuration) {
316
316
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
317
317
  },
318
318
  /**
319
- * Updates the specified custom-schema by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
319
+ * Updates the specified custom-schema by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"tenant-management.custom-schemas.update\"
320
320
  * @summary Update the custom-schema
321
321
  * @param {string} code
322
322
  * @param {UpdateCustomSchemaRequestDto} updateCustomSchemaRequestDto
@@ -339,7 +339,7 @@ export const CustomSchemaApiFactory = function (configuration?: Configuration, b
339
339
  const localVarFp = CustomSchemaApiFp(configuration)
340
340
  return {
341
341
  /**
342
- * This will create an custom schema for tenant in the database. Custom schema are extra fields that tenant added to his entity and we need to validate this fields using the created schema.
342
+ * This will create an custom schema for tenant in the database. Custom schema are extra fields that tenant added to his entity and we need to validate this fields using the created schema. **Required Permissions** \"tenant-management.custom-schemas.create\"
343
343
  * @summary Create the custom-schema
344
344
  * @param {CreateCustomSchemaRequestDto} createCustomSchemaRequestDto
345
345
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -350,7 +350,7 @@ export const CustomSchemaApiFactory = function (configuration?: Configuration, b
350
350
  return localVarFp.createCustomSchema(createCustomSchemaRequestDto, authorization, options).then((request) => request(axios, basePath));
351
351
  },
352
352
  /**
353
- * Retrieves the details of the custom-schema that was previously created. Supply the unique custom-schema code that was returned when you created it and Emil Api will return the corresponding custom-schema information.
353
+ * Retrieves the details of the custom-schema that was previously created. Supply the unique custom-schema code that was returned when you created it and Emil Api will return the corresponding custom-schema information. **Required Permissions** \"tenant-management.custom-schemas.view\"
354
354
  * @summary Retrieve the custom-schema
355
355
  * @param {string} code Unique identifier for the object.
356
356
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -362,7 +362,7 @@ export const CustomSchemaApiFactory = function (configuration?: Configuration, b
362
362
  return localVarFp.getCustomSchema(code, authorization, expand, options).then((request) => request(axios, basePath));
363
363
  },
364
364
  /**
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.
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
368
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -379,7 +379,7 @@ export const CustomSchemaApiFactory = function (configuration?: Configuration, b
379
379
  return localVarFp.listCustomSchemas(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
380
380
  },
381
381
  /**
382
- * Updates the specified custom-schema by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
382
+ * Updates the specified custom-schema by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"tenant-management.custom-schemas.update\"
383
383
  * @summary Update the custom-schema
384
384
  * @param {string} code
385
385
  * @param {UpdateCustomSchemaRequestDto} updateCustomSchemaRequestDto
@@ -541,7 +541,7 @@ export interface CustomSchemaApiUpdateCustomSchemaRequest {
541
541
  */
542
542
  export class CustomSchemaApi extends BaseAPI {
543
543
  /**
544
- * This will create an custom schema for tenant in the database. Custom schema are extra fields that tenant added to his entity and we need to validate this fields using the created schema.
544
+ * This will create an custom schema for tenant in the database. Custom schema are extra fields that tenant added to his entity and we need to validate this fields using the created schema. **Required Permissions** \"tenant-management.custom-schemas.create\"
545
545
  * @summary Create the custom-schema
546
546
  * @param {CustomSchemaApiCreateCustomSchemaRequest} requestParameters Request parameters.
547
547
  * @param {*} [options] Override http request option.
@@ -553,7 +553,7 @@ export class CustomSchemaApi extends BaseAPI {
553
553
  }
554
554
 
555
555
  /**
556
- * Retrieves the details of the custom-schema that was previously created. Supply the unique custom-schema code that was returned when you created it and Emil Api will return the corresponding custom-schema information.
556
+ * Retrieves the details of the custom-schema that was previously created. Supply the unique custom-schema code that was returned when you created it and Emil Api will return the corresponding custom-schema information. **Required Permissions** \"tenant-management.custom-schemas.view\"
557
557
  * @summary Retrieve the custom-schema
558
558
  * @param {CustomSchemaApiGetCustomSchemaRequest} requestParameters Request parameters.
559
559
  * @param {*} [options] Override http request option.
@@ -565,7 +565,7 @@ export class CustomSchemaApi extends BaseAPI {
565
565
  }
566
566
 
567
567
  /**
568
- * 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.
568
+ * 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\"
569
569
  * @summary List custom-schemas
570
570
  * @param {CustomSchemaApiListCustomSchemasRequest} requestParameters Request parameters.
571
571
  * @param {*} [options] Override http request option.
@@ -577,7 +577,7 @@ export class CustomSchemaApi extends BaseAPI {
577
577
  }
578
578
 
579
579
  /**
580
- * Updates the specified custom-schema by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
580
+ * Updates the specified custom-schema by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"tenant-management.custom-schemas.update\"
581
581
  * @summary Update the custom-schema
582
582
  * @param {CustomSchemaApiUpdateCustomSchemaRequest} requestParameters Request parameters.
583
583
  * @param {*} [options] Override http request option.