@emilgroup/tenant-sdk 1.29.0 → 1.29.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 (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 +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/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 +128 -24
  22. package/dist/api/dashboard-api.js +202 -24
  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
@@ -93,7 +93,7 @@ var UsersApiAxiosParamCreator = function (configuration) {
93
93
  var _this = this;
94
94
  return {
95
95
  /**
96
- * This endpoint is deprecated, please refer to the policy administration service at /policy-administration-service/api.
96
+ * This endpoint is deprecated, please refer to the policy administration service at /policy-administration-service/api. **Required Permissions** \"identity-management.roles.update\"
97
97
  * @param {number} id
98
98
  * @param {AssignUserRolesRequestDto} assignUserRolesRequestDto
99
99
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -146,7 +146,7 @@ var UsersApiAxiosParamCreator = function (configuration) {
146
146
  });
147
147
  },
148
148
  /**
149
- *
149
+ * undefined **Required Permissions** \"tenant-management.users.delete\"
150
150
  * @param {BatchDeleteRequestDto} batchDeleteRequestDto
151
151
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
152
152
  * @param {*} [options] Override http request option.
@@ -194,7 +194,7 @@ var UsersApiAxiosParamCreator = function (configuration) {
194
194
  });
195
195
  },
196
196
  /**
197
- *
197
+ * undefined **Required Permissions** \"tenant-management.users.update\"
198
198
  * @param {DisableUsersRequestDto} disableUsersRequestDto
199
199
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
200
200
  * @param {*} [options] Override http request option.
@@ -242,7 +242,7 @@ var UsersApiAxiosParamCreator = function (configuration) {
242
242
  });
243
243
  },
244
244
  /**
245
- *
245
+ * undefined **Required Permissions** \"tenant-management.users.update\"
246
246
  * @param {EnableUsersRequestDto} enableUsersRequestDto
247
247
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
248
248
  * @param {*} [options] Override http request option.
@@ -290,7 +290,7 @@ var UsersApiAxiosParamCreator = function (configuration) {
290
290
  });
291
291
  },
292
292
  /**
293
- *
293
+ * undefined **Required Permissions** \"tenant-management.users.view\"
294
294
  * @param {string} code
295
295
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
296
296
  * @param {string} [expand] Fields to expand response by
@@ -341,7 +341,7 @@ var UsersApiAxiosParamCreator = function (configuration) {
341
341
  });
342
342
  },
343
343
  /**
344
- *
344
+ * undefined **Required Permissions** \"partner-management.partners.update\"
345
345
  * @param {string} code Unique identifier for the object.
346
346
  * @param {LinkUserWithPartnerRequestDtoRest} linkUserWithPartnerRequestDtoRest
347
347
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -393,7 +393,7 @@ var UsersApiAxiosParamCreator = function (configuration) {
393
393
  });
394
394
  },
395
395
  /**
396
- * 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.
396
+ * 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\"
397
397
  * @summary List users
398
398
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
399
399
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -475,7 +475,7 @@ var UsersApiFp = function (configuration) {
475
475
  var localVarAxiosParamCreator = (0, exports.UsersApiAxiosParamCreator)(configuration);
476
476
  return {
477
477
  /**
478
- * This endpoint is deprecated, please refer to the policy administration service at /policy-administration-service/api.
478
+ * This endpoint is deprecated, please refer to the policy administration service at /policy-administration-service/api. **Required Permissions** \"identity-management.roles.update\"
479
479
  * @param {number} id
480
480
  * @param {AssignUserRolesRequestDto} assignUserRolesRequestDto
481
481
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -497,7 +497,7 @@ var UsersApiFp = function (configuration) {
497
497
  });
498
498
  },
499
499
  /**
500
- *
500
+ * undefined **Required Permissions** \"tenant-management.users.delete\"
501
501
  * @param {BatchDeleteRequestDto} batchDeleteRequestDto
502
502
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
503
503
  * @param {*} [options] Override http request option.
@@ -517,7 +517,7 @@ var UsersApiFp = function (configuration) {
517
517
  });
518
518
  },
519
519
  /**
520
- *
520
+ * undefined **Required Permissions** \"tenant-management.users.update\"
521
521
  * @param {DisableUsersRequestDto} disableUsersRequestDto
522
522
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
523
523
  * @param {*} [options] Override http request option.
@@ -537,7 +537,7 @@ var UsersApiFp = function (configuration) {
537
537
  });
538
538
  },
539
539
  /**
540
- *
540
+ * undefined **Required Permissions** \"tenant-management.users.update\"
541
541
  * @param {EnableUsersRequestDto} enableUsersRequestDto
542
542
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
543
543
  * @param {*} [options] Override http request option.
@@ -557,7 +557,7 @@ var UsersApiFp = function (configuration) {
557
557
  });
558
558
  },
559
559
  /**
560
- *
560
+ * undefined **Required Permissions** \"tenant-management.users.view\"
561
561
  * @param {string} code
562
562
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
563
563
  * @param {string} [expand] Fields to expand response by
@@ -578,7 +578,7 @@ var UsersApiFp = function (configuration) {
578
578
  });
579
579
  },
580
580
  /**
581
- *
581
+ * undefined **Required Permissions** \"partner-management.partners.update\"
582
582
  * @param {string} code Unique identifier for the object.
583
583
  * @param {LinkUserWithPartnerRequestDtoRest} linkUserWithPartnerRequestDtoRest
584
584
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -599,7 +599,7 @@ var UsersApiFp = function (configuration) {
599
599
  });
600
600
  },
601
601
  /**
602
- * 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.
602
+ * 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\"
603
603
  * @summary List users
604
604
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
605
605
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -636,7 +636,7 @@ var UsersApiFactory = function (configuration, basePath, axios) {
636
636
  var localVarFp = (0, exports.UsersApiFp)(configuration);
637
637
  return {
638
638
  /**
639
- * This endpoint is deprecated, please refer to the policy administration service at /policy-administration-service/api.
639
+ * This endpoint is deprecated, please refer to the policy administration service at /policy-administration-service/api. **Required Permissions** \"identity-management.roles.update\"
640
640
  * @param {number} id
641
641
  * @param {AssignUserRolesRequestDto} assignUserRolesRequestDto
642
642
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -648,7 +648,7 @@ var UsersApiFactory = function (configuration, basePath, axios) {
648
648
  return localVarFp.assignUserRoles(id, assignUserRolesRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
649
649
  },
650
650
  /**
651
- *
651
+ * undefined **Required Permissions** \"tenant-management.users.delete\"
652
652
  * @param {BatchDeleteRequestDto} batchDeleteRequestDto
653
653
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
654
654
  * @param {*} [options] Override http request option.
@@ -658,7 +658,7 @@ var UsersApiFactory = function (configuration, basePath, axios) {
658
658
  return localVarFp.deleteUsers(batchDeleteRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
659
659
  },
660
660
  /**
661
- *
661
+ * undefined **Required Permissions** \"tenant-management.users.update\"
662
662
  * @param {DisableUsersRequestDto} disableUsersRequestDto
663
663
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
664
664
  * @param {*} [options] Override http request option.
@@ -668,7 +668,7 @@ var UsersApiFactory = function (configuration, basePath, axios) {
668
668
  return localVarFp.disableUsers(disableUsersRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
669
669
  },
670
670
  /**
671
- *
671
+ * undefined **Required Permissions** \"tenant-management.users.update\"
672
672
  * @param {EnableUsersRequestDto} enableUsersRequestDto
673
673
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
674
674
  * @param {*} [options] Override http request option.
@@ -678,7 +678,7 @@ var UsersApiFactory = function (configuration, basePath, axios) {
678
678
  return localVarFp.enableUsers(enableUsersRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
679
679
  },
680
680
  /**
681
- *
681
+ * undefined **Required Permissions** \"tenant-management.users.view\"
682
682
  * @param {string} code
683
683
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
684
684
  * @param {string} [expand] Fields to expand response by
@@ -689,7 +689,7 @@ var UsersApiFactory = function (configuration, basePath, axios) {
689
689
  return localVarFp.getUser(code, authorization, expand, options).then(function (request) { return request(axios, basePath); });
690
690
  },
691
691
  /**
692
- *
692
+ * undefined **Required Permissions** \"partner-management.partners.update\"
693
693
  * @param {string} code Unique identifier for the object.
694
694
  * @param {LinkUserWithPartnerRequestDtoRest} linkUserWithPartnerRequestDtoRest
695
695
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -700,7 +700,7 @@ var UsersApiFactory = function (configuration, basePath, axios) {
700
700
  return localVarFp.linkUserWithPartner(code, linkUserWithPartnerRequestDtoRest, authorization, options).then(function (request) { return request(axios, basePath); });
701
701
  },
702
702
  /**
703
- * 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.
703
+ * 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\"
704
704
  * @summary List users
705
705
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
706
706
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -731,7 +731,7 @@ var UsersApi = /** @class */ (function (_super) {
731
731
  return _super !== null && _super.apply(this, arguments) || this;
732
732
  }
733
733
  /**
734
- * This endpoint is deprecated, please refer to the policy administration service at /policy-administration-service/api.
734
+ * This endpoint is deprecated, please refer to the policy administration service at /policy-administration-service/api. **Required Permissions** \"identity-management.roles.update\"
735
735
  * @param {UsersApiAssignUserRolesRequest} requestParameters Request parameters.
736
736
  * @param {*} [options] Override http request option.
737
737
  * @deprecated
@@ -743,7 +743,7 @@ var UsersApi = /** @class */ (function (_super) {
743
743
  return (0, exports.UsersApiFp)(this.configuration).assignUserRoles(requestParameters.id, requestParameters.assignUserRolesRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
744
744
  };
745
745
  /**
746
- *
746
+ * undefined **Required Permissions** \"tenant-management.users.delete\"
747
747
  * @param {UsersApiDeleteUsersRequest} requestParameters Request parameters.
748
748
  * @param {*} [options] Override http request option.
749
749
  * @throws {RequiredError}
@@ -754,7 +754,7 @@ var UsersApi = /** @class */ (function (_super) {
754
754
  return (0, exports.UsersApiFp)(this.configuration).deleteUsers(requestParameters.batchDeleteRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
755
755
  };
756
756
  /**
757
- *
757
+ * undefined **Required Permissions** \"tenant-management.users.update\"
758
758
  * @param {UsersApiDisableUsersRequest} requestParameters Request parameters.
759
759
  * @param {*} [options] Override http request option.
760
760
  * @throws {RequiredError}
@@ -765,7 +765,7 @@ var UsersApi = /** @class */ (function (_super) {
765
765
  return (0, exports.UsersApiFp)(this.configuration).disableUsers(requestParameters.disableUsersRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
766
766
  };
767
767
  /**
768
- *
768
+ * undefined **Required Permissions** \"tenant-management.users.update\"
769
769
  * @param {UsersApiEnableUsersRequest} requestParameters Request parameters.
770
770
  * @param {*} [options] Override http request option.
771
771
  * @throws {RequiredError}
@@ -776,7 +776,7 @@ var UsersApi = /** @class */ (function (_super) {
776
776
  return (0, exports.UsersApiFp)(this.configuration).enableUsers(requestParameters.enableUsersRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
777
777
  };
778
778
  /**
779
- *
779
+ * undefined **Required Permissions** \"tenant-management.users.view\"
780
780
  * @param {UsersApiGetUserRequest} requestParameters Request parameters.
781
781
  * @param {*} [options] Override http request option.
782
782
  * @throws {RequiredError}
@@ -787,7 +787,7 @@ var UsersApi = /** @class */ (function (_super) {
787
787
  return (0, exports.UsersApiFp)(this.configuration).getUser(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
788
788
  };
789
789
  /**
790
- *
790
+ * undefined **Required Permissions** \"partner-management.partners.update\"
791
791
  * @param {UsersApiLinkUserWithPartnerRequest} requestParameters Request parameters.
792
792
  * @param {*} [options] Override http request option.
793
793
  * @throws {RequiredError}
@@ -798,7 +798,7 @@ var UsersApi = /** @class */ (function (_super) {
798
798
  return (0, exports.UsersApiFp)(this.configuration).linkUserWithPartner(requestParameters.code, requestParameters.linkUserWithPartnerRequestDtoRest, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
799
799
  };
800
800
  /**
801
- * 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.
801
+ * 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\"
802
802
  * @summary List users
803
803
  * @param {UsersApiListUsersRequest} requestParameters Request parameters.
804
804
  * @param {*} [options] Override http request option.
package/dist/common.js CHANGED
@@ -140,7 +140,7 @@ var setBearerAuthToObject = function (object, configuration) {
140
140
  _b.label = 4;
141
141
  case 4:
142
142
  accessToken = _a;
143
- object["Authorization"] = "Bearer " + accessToken;
143
+ object["Authorization"] = configuration.getBearerToken(accessToken);
144
144
  _b.label = 5;
145
145
  case 5: return [2 /*return*/];
146
146
  }
@@ -170,7 +170,7 @@ var setOAuthToObject = function (object, name, scopes, configuration) {
170
170
  _b.label = 4;
171
171
  case 4:
172
172
  localVarAccessTokenValue = _a;
173
- object["Authorization"] = "Bearer " + localVarAccessTokenValue;
173
+ object["Authorization"] = configuration.getBearerToken(localVarAccessTokenValue);
174
174
  _b.label = 5;
175
175
  case 5: return [2 /*return*/];
176
176
  }
@@ -80,4 +80,10 @@ export declare class Configuration {
80
80
  * @return True if the given MIME is JSON, false otherwise.
81
81
  */
82
82
  isJsonMime(mime: string): boolean;
83
+ /**
84
+ * Returns "Bearer" token.
85
+ * @param token - access token.
86
+ * @return Bearer token.
87
+ */
88
+ getBearerToken(token?: string): string;
83
89
  }
@@ -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';
@@ -58,6 +58,18 @@ export interface InviteClass {
58
58
  * @memberof InviteClass
59
59
  */
60
60
  'updatedAt': string;
61
+ /**
62
+ * Identifier of the user who created the record.
63
+ * @type {string}
64
+ * @memberof InviteClass
65
+ */
66
+ 'createdBy': string;
67
+ /**
68
+ * Identifier of the user who last updated the record.
69
+ * @type {string}
70
+ * @memberof InviteClass
71
+ */
72
+ 'updatedBy': string;
61
73
  /**
62
74
  * Emil Resources Names (ERN) identifies the most specific owner of a resource.
63
75
  * @type {string}
@@ -82,18 +94,6 @@ export interface InviteClass {
82
94
  * @memberof InviteClass
83
95
  */
84
96
  'organizationId'?: number;
85
- /**
86
- * Identifier of the user who created the record.
87
- * @type {string}
88
- * @memberof InviteClass
89
- */
90
- 'createdBy': string;
91
- /**
92
- * Identifier of the user who last updated the record.
93
- * @type {string}
94
- * @memberof InviteClass
95
- */
96
- 'updatedBy': string;
97
97
  /**
98
98
  * Organization associated with the user
99
99
  * @type {OrganizationClass}