@emilgroup/tenant-sdk-node 1.28.0 → 1.28.1-beta.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 (68) 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 +226 -24
  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/base.ts +1 -1
  18. package/common.ts +2 -2
  19. package/configuration.ts +9 -0
  20. package/dist/api/custom-schema-api.d.ts +16 -16
  21. package/dist/api/custom-schema-api.js +16 -16
  22. package/dist/api/dashboard-api.d.ts +128 -24
  23. package/dist/api/dashboard-api.js +202 -24
  24. package/dist/api/dashboard-group-api.d.ts +20 -20
  25. package/dist/api/dashboard-group-api.js +20 -20
  26. package/dist/api/data-report-api.d.ts +16 -16
  27. package/dist/api/data-report-api.js +16 -16
  28. package/dist/api/data-report-executor-api.d.ts +4 -4
  29. package/dist/api/data-report-executor-api.js +4 -4
  30. package/dist/api/delete-organization-invitations-api.d.ts +4 -4
  31. package/dist/api/delete-organization-invitations-api.js +4 -4
  32. package/dist/api/invite-organizations-api.d.ts +4 -4
  33. package/dist/api/invite-organizations-api.js +4 -4
  34. package/dist/api/invite-users-api.d.ts +16 -16
  35. package/dist/api/invite-users-api.js +16 -16
  36. package/dist/api/list-organization-invitations-api.d.ts +4 -4
  37. package/dist/api/list-organization-invitations-api.js +4 -4
  38. package/dist/api/organizations-api.d.ts +12 -12
  39. package/dist/api/organizations-api.js +12 -12
  40. package/dist/api/re-invite-an-organization-api.d.ts +4 -4
  41. package/dist/api/re-invite-an-organization-api.js +4 -4
  42. package/dist/api/roles-api.d.ts +4 -4
  43. package/dist/api/roles-api.js +4 -4
  44. package/dist/api/settings-api.d.ts +4 -4
  45. package/dist/api/settings-api.js +4 -4
  46. package/dist/api/users-api.d.ts +28 -28
  47. package/dist/api/users-api.js +28 -28
  48. package/dist/base.js +1 -1
  49. package/dist/common.js +2 -2
  50. package/dist/configuration.d.ts +6 -0
  51. package/dist/configuration.js +8 -0
  52. package/dist/models/create-tenant-db-config-request-dto.d.ts +30 -0
  53. package/dist/models/create-tenant-db-config-request-dto.js +15 -0
  54. package/dist/models/index.d.ts +3 -0
  55. package/dist/models/index.js +3 -0
  56. package/dist/models/invite-class.d.ts +12 -12
  57. package/dist/models/publish-dashboard-request-dto.d.ts +34 -0
  58. package/dist/models/publish-dashboard-request-dto.js +19 -0
  59. package/dist/models/revert-analysis-request-dto.d.ts +34 -0
  60. package/dist/models/revert-analysis-request-dto.js +19 -0
  61. package/dist/models/user-class.d.ts +8 -8
  62. package/models/create-tenant-db-config-request-dto.ts +36 -0
  63. package/models/index.ts +3 -0
  64. package/models/invite-class.ts +12 -12
  65. package/models/publish-dashboard-request-dto.ts +43 -0
  66. package/models/revert-analysis-request-dto.ts +43 -0
  67. package/models/user-class.ts +8 -8
  68. package/package.json +1 -1
@@ -97,7 +97,7 @@ var UsersApiAxiosParamCreator = function (configuration) {
97
97
  var _this = this;
98
98
  return {
99
99
  /**
100
- * This endpoint is deprecated, please refer to the policy administration service at /policy-administration-service/api.
100
+ * This endpoint is deprecated, please refer to the policy administration service at /policy-administration-service/api. **Required Permissions** \"identity-management.roles.update\"
101
101
  * @param {number} id
102
102
  * @param {AssignUserRolesRequestDto} assignUserRolesRequestDto
103
103
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -150,7 +150,7 @@ var UsersApiAxiosParamCreator = function (configuration) {
150
150
  });
151
151
  },
152
152
  /**
153
- *
153
+ * undefined **Required Permissions** \"tenant-management.users.delete\"
154
154
  * @param {BatchDeleteRequestDto} batchDeleteRequestDto
155
155
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
156
156
  * @param {*} [options] Override http request option.
@@ -198,7 +198,7 @@ var UsersApiAxiosParamCreator = function (configuration) {
198
198
  });
199
199
  },
200
200
  /**
201
- *
201
+ * undefined **Required Permissions** \"tenant-management.users.update\"
202
202
  * @param {DisableUsersRequestDto} disableUsersRequestDto
203
203
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
204
204
  * @param {*} [options] Override http request option.
@@ -246,7 +246,7 @@ var UsersApiAxiosParamCreator = function (configuration) {
246
246
  });
247
247
  },
248
248
  /**
249
- *
249
+ * undefined **Required Permissions** \"tenant-management.users.update\"
250
250
  * @param {EnableUsersRequestDto} enableUsersRequestDto
251
251
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
252
252
  * @param {*} [options] Override http request option.
@@ -294,7 +294,7 @@ var UsersApiAxiosParamCreator = function (configuration) {
294
294
  });
295
295
  },
296
296
  /**
297
- *
297
+ * undefined **Required Permissions** \"tenant-management.users.view\"
298
298
  * @param {string} code
299
299
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
300
300
  * @param {string} [expand] Fields to expand response by
@@ -345,7 +345,7 @@ var UsersApiAxiosParamCreator = function (configuration) {
345
345
  });
346
346
  },
347
347
  /**
348
- *
348
+ * undefined **Required Permissions** \"partner-management.partners.update\"
349
349
  * @param {string} code Unique identifier for the object.
350
350
  * @param {LinkUserWithPartnerRequestDtoRest} linkUserWithPartnerRequestDtoRest
351
351
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -397,7 +397,7 @@ var UsersApiAxiosParamCreator = function (configuration) {
397
397
  });
398
398
  },
399
399
  /**
400
- * Returns a list of users you have previously created. The users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
400
+ * Returns a list of users you have previously created. The users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"tenant-management.users.view\"
401
401
  * @summary List users
402
402
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
403
403
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -479,7 +479,7 @@ var UsersApiFp = function (configuration) {
479
479
  var localVarAxiosParamCreator = (0, exports.UsersApiAxiosParamCreator)(configuration);
480
480
  return {
481
481
  /**
482
- * This endpoint is deprecated, please refer to the policy administration service at /policy-administration-service/api.
482
+ * This endpoint is deprecated, please refer to the policy administration service at /policy-administration-service/api. **Required Permissions** \"identity-management.roles.update\"
483
483
  * @param {number} id
484
484
  * @param {AssignUserRolesRequestDto} assignUserRolesRequestDto
485
485
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -501,7 +501,7 @@ var UsersApiFp = function (configuration) {
501
501
  });
502
502
  },
503
503
  /**
504
- *
504
+ * undefined **Required Permissions** \"tenant-management.users.delete\"
505
505
  * @param {BatchDeleteRequestDto} batchDeleteRequestDto
506
506
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
507
507
  * @param {*} [options] Override http request option.
@@ -521,7 +521,7 @@ var UsersApiFp = function (configuration) {
521
521
  });
522
522
  },
523
523
  /**
524
- *
524
+ * undefined **Required Permissions** \"tenant-management.users.update\"
525
525
  * @param {DisableUsersRequestDto} disableUsersRequestDto
526
526
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
527
527
  * @param {*} [options] Override http request option.
@@ -541,7 +541,7 @@ var UsersApiFp = function (configuration) {
541
541
  });
542
542
  },
543
543
  /**
544
- *
544
+ * undefined **Required Permissions** \"tenant-management.users.update\"
545
545
  * @param {EnableUsersRequestDto} enableUsersRequestDto
546
546
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
547
547
  * @param {*} [options] Override http request option.
@@ -561,7 +561,7 @@ var UsersApiFp = function (configuration) {
561
561
  });
562
562
  },
563
563
  /**
564
- *
564
+ * undefined **Required Permissions** \"tenant-management.users.view\"
565
565
  * @param {string} code
566
566
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
567
567
  * @param {string} [expand] Fields to expand response by
@@ -582,7 +582,7 @@ var UsersApiFp = function (configuration) {
582
582
  });
583
583
  },
584
584
  /**
585
- *
585
+ * undefined **Required Permissions** \"partner-management.partners.update\"
586
586
  * @param {string} code Unique identifier for the object.
587
587
  * @param {LinkUserWithPartnerRequestDtoRest} linkUserWithPartnerRequestDtoRest
588
588
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -603,7 +603,7 @@ var UsersApiFp = function (configuration) {
603
603
  });
604
604
  },
605
605
  /**
606
- * Returns a list of users you have previously created. The users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
606
+ * Returns a list of users you have previously created. The users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"tenant-management.users.view\"
607
607
  * @summary List users
608
608
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
609
609
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -640,7 +640,7 @@ var UsersApiFactory = function (configuration, basePath, axios) {
640
640
  var localVarFp = (0, exports.UsersApiFp)(configuration);
641
641
  return {
642
642
  /**
643
- * This endpoint is deprecated, please refer to the policy administration service at /policy-administration-service/api.
643
+ * This endpoint is deprecated, please refer to the policy administration service at /policy-administration-service/api. **Required Permissions** \"identity-management.roles.update\"
644
644
  * @param {number} id
645
645
  * @param {AssignUserRolesRequestDto} assignUserRolesRequestDto
646
646
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -652,7 +652,7 @@ var UsersApiFactory = function (configuration, basePath, axios) {
652
652
  return localVarFp.assignUserRoles(id, assignUserRolesRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
653
653
  },
654
654
  /**
655
- *
655
+ * undefined **Required Permissions** \"tenant-management.users.delete\"
656
656
  * @param {BatchDeleteRequestDto} batchDeleteRequestDto
657
657
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
658
658
  * @param {*} [options] Override http request option.
@@ -662,7 +662,7 @@ var UsersApiFactory = function (configuration, basePath, axios) {
662
662
  return localVarFp.deleteUsers(batchDeleteRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
663
663
  },
664
664
  /**
665
- *
665
+ * undefined **Required Permissions** \"tenant-management.users.update\"
666
666
  * @param {DisableUsersRequestDto} disableUsersRequestDto
667
667
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
668
668
  * @param {*} [options] Override http request option.
@@ -672,7 +672,7 @@ var UsersApiFactory = function (configuration, basePath, axios) {
672
672
  return localVarFp.disableUsers(disableUsersRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
673
673
  },
674
674
  /**
675
- *
675
+ * undefined **Required Permissions** \"tenant-management.users.update\"
676
676
  * @param {EnableUsersRequestDto} enableUsersRequestDto
677
677
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
678
678
  * @param {*} [options] Override http request option.
@@ -682,7 +682,7 @@ var UsersApiFactory = function (configuration, basePath, axios) {
682
682
  return localVarFp.enableUsers(enableUsersRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
683
683
  },
684
684
  /**
685
- *
685
+ * undefined **Required Permissions** \"tenant-management.users.view\"
686
686
  * @param {string} code
687
687
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
688
688
  * @param {string} [expand] Fields to expand response by
@@ -693,7 +693,7 @@ var UsersApiFactory = function (configuration, basePath, axios) {
693
693
  return localVarFp.getUser(code, authorization, expand, options).then(function (request) { return request(axios, basePath); });
694
694
  },
695
695
  /**
696
- *
696
+ * undefined **Required Permissions** \"partner-management.partners.update\"
697
697
  * @param {string} code Unique identifier for the object.
698
698
  * @param {LinkUserWithPartnerRequestDtoRest} linkUserWithPartnerRequestDtoRest
699
699
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -704,7 +704,7 @@ var UsersApiFactory = function (configuration, basePath, axios) {
704
704
  return localVarFp.linkUserWithPartner(code, linkUserWithPartnerRequestDtoRest, authorization, options).then(function (request) { return request(axios, basePath); });
705
705
  },
706
706
  /**
707
- * Returns a list of users you have previously created. The users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
707
+ * Returns a list of users you have previously created. The users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"tenant-management.users.view\"
708
708
  * @summary List users
709
709
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
710
710
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -735,7 +735,7 @@ var UsersApi = /** @class */ (function (_super) {
735
735
  return _super !== null && _super.apply(this, arguments) || this;
736
736
  }
737
737
  /**
738
- * This endpoint is deprecated, please refer to the policy administration service at /policy-administration-service/api.
738
+ * This endpoint is deprecated, please refer to the policy administration service at /policy-administration-service/api. **Required Permissions** \"identity-management.roles.update\"
739
739
  * @param {UsersApiAssignUserRolesRequest} requestParameters Request parameters.
740
740
  * @param {*} [options] Override http request option.
741
741
  * @deprecated
@@ -747,7 +747,7 @@ var UsersApi = /** @class */ (function (_super) {
747
747
  return (0, exports.UsersApiFp)(this.configuration).assignUserRoles(requestParameters.id, requestParameters.assignUserRolesRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
748
748
  };
749
749
  /**
750
- *
750
+ * undefined **Required Permissions** \"tenant-management.users.delete\"
751
751
  * @param {UsersApiDeleteUsersRequest} requestParameters Request parameters.
752
752
  * @param {*} [options] Override http request option.
753
753
  * @throws {RequiredError}
@@ -758,7 +758,7 @@ var UsersApi = /** @class */ (function (_super) {
758
758
  return (0, exports.UsersApiFp)(this.configuration).deleteUsers(requestParameters.batchDeleteRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
759
759
  };
760
760
  /**
761
- *
761
+ * undefined **Required Permissions** \"tenant-management.users.update\"
762
762
  * @param {UsersApiDisableUsersRequest} requestParameters Request parameters.
763
763
  * @param {*} [options] Override http request option.
764
764
  * @throws {RequiredError}
@@ -769,7 +769,7 @@ var UsersApi = /** @class */ (function (_super) {
769
769
  return (0, exports.UsersApiFp)(this.configuration).disableUsers(requestParameters.disableUsersRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
770
770
  };
771
771
  /**
772
- *
772
+ * undefined **Required Permissions** \"tenant-management.users.update\"
773
773
  * @param {UsersApiEnableUsersRequest} requestParameters Request parameters.
774
774
  * @param {*} [options] Override http request option.
775
775
  * @throws {RequiredError}
@@ -780,7 +780,7 @@ var UsersApi = /** @class */ (function (_super) {
780
780
  return (0, exports.UsersApiFp)(this.configuration).enableUsers(requestParameters.enableUsersRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
781
781
  };
782
782
  /**
783
- *
783
+ * undefined **Required Permissions** \"tenant-management.users.view\"
784
784
  * @param {UsersApiGetUserRequest} requestParameters Request parameters.
785
785
  * @param {*} [options] Override http request option.
786
786
  * @throws {RequiredError}
@@ -791,7 +791,7 @@ var UsersApi = /** @class */ (function (_super) {
791
791
  return (0, exports.UsersApiFp)(this.configuration).getUser(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
792
792
  };
793
793
  /**
794
- *
794
+ * undefined **Required Permissions** \"partner-management.partners.update\"
795
795
  * @param {UsersApiLinkUserWithPartnerRequest} requestParameters Request parameters.
796
796
  * @param {*} [options] Override http request option.
797
797
  * @throws {RequiredError}
@@ -802,7 +802,7 @@ var UsersApi = /** @class */ (function (_super) {
802
802
  return (0, exports.UsersApiFp)(this.configuration).linkUserWithPartner(requestParameters.code, requestParameters.linkUserWithPartnerRequestDtoRest, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
803
803
  };
804
804
  /**
805
- * Returns a list of users you have previously created. The users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
805
+ * Returns a list of users you have previously created. The users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"tenant-management.users.view\"
806
806
  * @summary List users
807
807
  * @param {UsersApiListUsersRequest} requestParameters Request parameters.
808
808
  * @param {*} [options] Override http request option.
package/dist/base.js CHANGED
@@ -330,7 +330,7 @@ var BaseAPI = /** @class */ (function () {
330
330
  case 2:
331
331
  tokenString = _a.sent();
332
332
  accessToken = "Bearer ".concat(tokenString);
333
- originalConfig.headers['Authorization'] = "Bearer ".concat(accessToken);
333
+ originalConfig.headers['Authorization'] = accessToken;
334
334
  this.configuration.accessToken = accessToken;
335
335
  return [2 /*return*/, axios.request(originalConfig)];
336
336
  case 3:
package/dist/common.js CHANGED
@@ -141,7 +141,7 @@ var setBearerAuthToObject = function (object, configuration) {
141
141
  _b.label = 4;
142
142
  case 4:
143
143
  accessToken = _a;
144
- object["Authorization"] = "Bearer " + accessToken;
144
+ object["Authorization"] = configuration.getBearerToken(accessToken);
145
145
  _b.label = 5;
146
146
  case 5: return [2 /*return*/];
147
147
  }
@@ -171,7 +171,7 @@ var setOAuthToObject = function (object, name, scopes, configuration) {
171
171
  _b.label = 4;
172
172
  case 4:
173
173
  localVarAccessTokenValue = _a;
174
- object["Authorization"] = "Bearer " + localVarAccessTokenValue;
174
+ object["Authorization"] = configuration.getBearerToken(localVarAccessTokenValue);
175
175
  _b.label = 5;
176
176
  case 5: return [2 /*return*/];
177
177
  }
@@ -87,4 +87,10 @@ export declare class Configuration {
87
87
  * @return True if the given MIME is JSON, false otherwise.
88
88
  */
89
89
  isJsonMime(mime: string): boolean;
90
+ /**
91
+ * Returns "Bearer" token.
92
+ * @param token - access token.
93
+ * @return Bearer token.
94
+ */
95
+ getBearerToken(token?: string): string;
90
96
  }
@@ -39,6 +39,14 @@ var Configuration = /** @class */ (function () {
39
39
  var jsonMime = new RegExp('^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$', 'i');
40
40
  return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');
41
41
  };
42
+ /**
43
+ * Returns "Bearer" token.
44
+ * @param token - access token.
45
+ * @return Bearer token.
46
+ */
47
+ Configuration.prototype.getBearerToken = function (token) {
48
+ return ('' + token).startsWith("Bearer") ? token : "Bearer " + token;
49
+ };
42
50
  return Configuration;
43
51
  }());
44
52
  exports.Configuration = Configuration;
@@ -0,0 +1,30 @@
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 CreateTenantDbConfigRequestDto
16
+ */
17
+ export interface CreateTenantDbConfigRequestDto {
18
+ /**
19
+ * Tenant Slug
20
+ * @type {string}
21
+ * @memberof CreateTenantDbConfigRequestDto
22
+ */
23
+ 'tenantSlug': string;
24
+ /**
25
+ * Tenant DB Config
26
+ * @type {object}
27
+ * @memberof CreateTenantDbConfigRequestDto
28
+ */
29
+ 'config': object;
30
+ }
@@ -0,0 +1,15 @@
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 });
@@ -10,6 +10,7 @@ export * from './create-dashboard-request-dto';
10
10
  export * from './create-dashboard-response-class';
11
11
  export * from './create-data-report-request-dto';
12
12
  export * from './create-data-report-response-class';
13
+ export * from './create-tenant-db-config-request-dto';
13
14
  export * from './create-tenant-request-dto';
14
15
  export * from './custom-field-dto';
15
16
  export * from './custom-schema-class';
@@ -59,7 +60,9 @@ export * from './org-invitation-class';
59
60
  export * from './org-invitation-response-class';
60
61
  export * from './organization-class';
61
62
  export * from './permission-class';
63
+ export * from './publish-dashboard-request-dto';
62
64
  export * from './re-invite-org-request-dto';
65
+ export * from './revert-analysis-request-dto';
63
66
  export * from './role-class';
64
67
  export * from './run-data-report-request-dto';
65
68
  export * from './run-data-report-response-class';
@@ -26,6 +26,7 @@ __exportStar(require("./create-dashboard-request-dto"), exports);
26
26
  __exportStar(require("./create-dashboard-response-class"), exports);
27
27
  __exportStar(require("./create-data-report-request-dto"), exports);
28
28
  __exportStar(require("./create-data-report-response-class"), exports);
29
+ __exportStar(require("./create-tenant-db-config-request-dto"), exports);
29
30
  __exportStar(require("./create-tenant-request-dto"), exports);
30
31
  __exportStar(require("./custom-field-dto"), exports);
31
32
  __exportStar(require("./custom-schema-class"), exports);
@@ -75,7 +76,9 @@ __exportStar(require("./org-invitation-class"), exports);
75
76
  __exportStar(require("./org-invitation-response-class"), exports);
76
77
  __exportStar(require("./organization-class"), exports);
77
78
  __exportStar(require("./permission-class"), exports);
79
+ __exportStar(require("./publish-dashboard-request-dto"), exports);
78
80
  __exportStar(require("./re-invite-org-request-dto"), exports);
81
+ __exportStar(require("./revert-analysis-request-dto"), exports);
79
82
  __exportStar(require("./role-class"), exports);
80
83
  __exportStar(require("./run-data-report-request-dto"), exports);
81
84
  __exportStar(require("./run-data-report-response-class"), exports);
@@ -53,6 +53,18 @@ export interface InviteClass {
53
53
  * @memberof InviteClass
54
54
  */
55
55
  'updatedAt': string;
56
+ /**
57
+ * Identifier of the user who created the record.
58
+ * @type {string}
59
+ * @memberof InviteClass
60
+ */
61
+ 'createdBy': string;
62
+ /**
63
+ * Identifier of the user who last updated the record.
64
+ * @type {string}
65
+ * @memberof InviteClass
66
+ */
67
+ 'updatedBy': string;
56
68
  /**
57
69
  * Emil Resources Names (ERN) identifies the most specific owner of a resource.
58
70
  * @type {string}
@@ -77,18 +89,6 @@ export interface InviteClass {
77
89
  * @memberof InviteClass
78
90
  */
79
91
  'organizationId'?: number;
80
- /**
81
- * Identifier of the user who created the record.
82
- * @type {string}
83
- * @memberof InviteClass
84
- */
85
- 'createdBy': string;
86
- /**
87
- * Identifier of the user who last updated the record.
88
- * @type {string}
89
- * @memberof InviteClass
90
- */
91
- 'updatedBy': string;
92
92
  /**
93
93
  * Organization associated with the user
94
94
  * @type {OrganizationClass}
@@ -0,0 +1,34 @@
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 PublishDashboardRequestDto
16
+ */
17
+ export interface PublishDashboardRequestDto {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof PublishDashboardRequestDto
22
+ */
23
+ 'providerDashboardId': string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof PublishDashboardRequestDto
28
+ */
29
+ 'providerName'?: PublishDashboardRequestDtoProviderNameEnum;
30
+ }
31
+ export declare const PublishDashboardRequestDtoProviderNameEnum: {
32
+ readonly QuickSight: "quick-sight";
33
+ };
34
+ export type PublishDashboardRequestDtoProviderNameEnum = typeof PublishDashboardRequestDtoProviderNameEnum[keyof typeof PublishDashboardRequestDtoProviderNameEnum];
@@ -0,0 +1,19 @@
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 });
16
+ exports.PublishDashboardRequestDtoProviderNameEnum = void 0;
17
+ exports.PublishDashboardRequestDtoProviderNameEnum = {
18
+ QuickSight: 'quick-sight'
19
+ };
@@ -0,0 +1,34 @@
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 RevertAnalysisRequestDto
16
+ */
17
+ export interface RevertAnalysisRequestDto {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof RevertAnalysisRequestDto
22
+ */
23
+ 'providerAnalysisId': string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof RevertAnalysisRequestDto
28
+ */
29
+ 'providerName'?: RevertAnalysisRequestDtoProviderNameEnum;
30
+ }
31
+ export declare const RevertAnalysisRequestDtoProviderNameEnum: {
32
+ readonly QuickSight: "quick-sight";
33
+ };
34
+ export type RevertAnalysisRequestDtoProviderNameEnum = typeof RevertAnalysisRequestDtoProviderNameEnum[keyof typeof RevertAnalysisRequestDtoProviderNameEnum];
@@ -0,0 +1,19 @@
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 });
16
+ exports.RevertAnalysisRequestDtoProviderNameEnum = void 0;
17
+ exports.RevertAnalysisRequestDtoProviderNameEnum = {
18
+ QuickSight: 'quick-sight'
19
+ };
@@ -91,29 +91,29 @@ export interface UserClass {
91
91
  */
92
92
  'updatedAt': string;
93
93
  /**
94
- * Emil Resources Names (ERN) identifies the most specific owner of a resource.
94
+ * Identifier of the user who created the record.
95
95
  * @type {string}
96
96
  * @memberof UserClass
97
97
  */
98
- 'ern': string;
98
+ 'createdBy': string;
99
99
  /**
100
- * Associated partner code - only available if the partner has been invited and registered in EIS platform
100
+ * Identifier of the user who last updated the record.
101
101
  * @type {string}
102
102
  * @memberof UserClass
103
103
  */
104
- 'partnerCode'?: string;
104
+ 'updatedBy': string;
105
105
  /**
106
- * Identifier of the user who created the record.
106
+ * Emil Resources Names (ERN) identifies the most specific owner of a resource.
107
107
  * @type {string}
108
108
  * @memberof UserClass
109
109
  */
110
- 'createdBy': string;
110
+ 'ern': string;
111
111
  /**
112
- * Identifier of the user who last updated the record.
112
+ * Associated partner code - only available if the partner has been invited and registered in EIS platform
113
113
  * @type {string}
114
114
  * @memberof UserClass
115
115
  */
116
- 'updatedBy': string;
116
+ 'partnerCode'?: string;
117
117
  /**
118
118
  * Organization associated with the user
119
119
  * @type {OrganizationClass}
@@ -0,0 +1,36 @@
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 CreateTenantDbConfigRequestDto
21
+ */
22
+ export interface CreateTenantDbConfigRequestDto {
23
+ /**
24
+ * Tenant Slug
25
+ * @type {string}
26
+ * @memberof CreateTenantDbConfigRequestDto
27
+ */
28
+ 'tenantSlug': string;
29
+ /**
30
+ * Tenant DB Config
31
+ * @type {object}
32
+ * @memberof CreateTenantDbConfigRequestDto
33
+ */
34
+ 'config': object;
35
+ }
36
+
package/models/index.ts CHANGED
@@ -10,6 +10,7 @@ export * from './create-dashboard-request-dto';
10
10
  export * from './create-dashboard-response-class';
11
11
  export * from './create-data-report-request-dto';
12
12
  export * from './create-data-report-response-class';
13
+ export * from './create-tenant-db-config-request-dto';
13
14
  export * from './create-tenant-request-dto';
14
15
  export * from './custom-field-dto';
15
16
  export * from './custom-schema-class';
@@ -59,7 +60,9 @@ export * from './org-invitation-class';
59
60
  export * from './org-invitation-response-class';
60
61
  export * from './organization-class';
61
62
  export * from './permission-class';
63
+ export * from './publish-dashboard-request-dto';
62
64
  export * from './re-invite-org-request-dto';
65
+ export * from './revert-analysis-request-dto';
63
66
  export * from './role-class';
64
67
  export * from './run-data-report-request-dto';
65
68
  export * from './run-data-report-response-class';