@emilgroup/tenant-sdk 1.31.0 → 1.31.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 (41) hide show
  1. package/.openapi-generator/FILES +8 -0
  2. package/README.md +2 -2
  3. package/api/organization-migration-api.ts +574 -0
  4. package/api/users-api.ts +4 -4
  5. package/api.ts +2 -0
  6. package/base.ts +45 -1
  7. package/dist/api/organization-migration-api.d.ts +329 -0
  8. package/dist/api/organization-migration-api.js +542 -0
  9. package/dist/api/users-api.d.ts +4 -4
  10. package/dist/api/users-api.js +3 -3
  11. package/dist/api.d.ts +1 -0
  12. package/dist/api.js +1 -0
  13. package/dist/base.d.ts +10 -1
  14. package/dist/base.js +41 -1
  15. package/dist/models/create-organization-migration-request-dto.d.ts +42 -0
  16. package/dist/models/create-organization-migration-request-dto.js +15 -0
  17. package/dist/models/create-organization-migration-response-class.d.ts +25 -0
  18. package/dist/models/create-organization-migration-response-class.js +15 -0
  19. package/dist/models/get-organization-migration-response-class.d.ts +25 -0
  20. package/dist/models/get-organization-migration-response-class.js +15 -0
  21. package/dist/models/index.d.ts +7 -0
  22. package/dist/models/index.js +7 -0
  23. package/dist/models/link-user-with-partner-request-dto-rest.d.ts +6 -0
  24. package/dist/models/list-organization-migrations-response-class.d.ts +43 -0
  25. package/dist/models/list-organization-migrations-response-class.js +15 -0
  26. package/dist/models/organization-migration-class.d.ts +81 -0
  27. package/dist/models/organization-migration-class.js +24 -0
  28. package/dist/models/revert-organization-migration-request-dto.d.ts +30 -0
  29. package/dist/models/revert-organization-migration-request-dto.js +15 -0
  30. package/dist/models/revert-organization-migration-response-class.d.ts +25 -0
  31. package/dist/models/revert-organization-migration-response-class.js +15 -0
  32. package/models/create-organization-migration-request-dto.ts +48 -0
  33. package/models/create-organization-migration-response-class.ts +31 -0
  34. package/models/get-organization-migration-response-class.ts +31 -0
  35. package/models/index.ts +7 -0
  36. package/models/link-user-with-partner-request-dto-rest.ts +6 -0
  37. package/models/list-organization-migrations-response-class.ts +49 -0
  38. package/models/organization-migration-class.ts +90 -0
  39. package/models/revert-organization-migration-request-dto.ts +36 -0
  40. package/models/revert-organization-migration-response-class.ts +31 -0
  41. package/package.json +1 -1
package/dist/api.js CHANGED
@@ -37,6 +37,7 @@ __exportStar(require("./api/health-check-api"), exports);
37
37
  __exportStar(require("./api/invite-organizations-api"), exports);
38
38
  __exportStar(require("./api/invite-users-api"), exports);
39
39
  __exportStar(require("./api/list-organization-invitations-api"), exports);
40
+ __exportStar(require("./api/organization-migration-api"), exports);
40
41
  __exportStar(require("./api/organizations-api"), exports);
41
42
  __exportStar(require("./api/re-invite-an-organization-api"), exports);
42
43
  __exportStar(require("./api/roles-api"), exports);
package/dist/base.d.ts CHANGED
@@ -26,6 +26,14 @@ export interface LoginClass {
26
26
  accessToken: string;
27
27
  permissions: string;
28
28
  }
29
+ export interface SwitchWorkspaceRequest {
30
+ username: string;
31
+ targetWorkspace: string;
32
+ }
33
+ export interface SwitchWorkspaceResponseClass {
34
+ accessToken: string;
35
+ permissions: string;
36
+ }
29
37
  export declare enum Environment {
30
38
  Production = "https://apiv2.emil.de",
31
39
  Test = "https://apiv2-test.emil.de",
@@ -57,7 +65,8 @@ export declare class BaseAPI {
57
65
  selectEnvironment(env: Environment): void;
58
66
  selectBasePath(path: string): void;
59
67
  getPermissions(): Array<string>;
60
- authorize(username: string, password: string): Promise<void>;
68
+ authorize(username: string, password: string, targetWorkspace?: string): Promise<void>;
69
+ switchWorkspace(targetWorkspace: string): Promise<void>;
61
70
  refreshTokenInternal(): Promise<LoginClass>;
62
71
  private storeTokenData;
63
72
  loadTokenData(): void;
package/dist/base.js CHANGED
@@ -151,7 +151,7 @@ var BaseAPI = /** @class */ (function () {
151
151
  }
152
152
  return this.tokenData.permissions.split(',');
153
153
  };
154
- BaseAPI.prototype.authorize = function (username, password) {
154
+ BaseAPI.prototype.authorize = function (username, password, targetWorkspace) {
155
155
  return __awaiter(this, void 0, void 0, function () {
156
156
  var options, response, _a, accessToken, permissions;
157
157
  return __generator(this, function (_b) {
@@ -176,6 +176,46 @@ var BaseAPI = /** @class */ (function () {
176
176
  this.tokenData.username = username;
177
177
  this.tokenData.accessToken = accessToken;
178
178
  this.tokenData.permissions = permissions;
179
+ if (!targetWorkspace) return [3 /*break*/, 3];
180
+ return [4 /*yield*/, this.switchWorkspace(targetWorkspace)];
181
+ case 2:
182
+ _b.sent();
183
+ return [3 /*break*/, 4];
184
+ case 3:
185
+ // Only store if no workspace switch (since switchWorkspace will store after switching)
186
+ this.storeTokenData(__assign({}, this.tokenData));
187
+ _b.label = 4;
188
+ case 4: return [2 /*return*/];
189
+ }
190
+ });
191
+ });
192
+ };
193
+ BaseAPI.prototype.switchWorkspace = function (targetWorkspace) {
194
+ return __awaiter(this, void 0, void 0, function () {
195
+ var options, response, _a, accessToken, permissions;
196
+ return __generator(this, function (_b) {
197
+ switch (_b.label) {
198
+ case 0:
199
+ options = {
200
+ method: 'POST',
201
+ url: "".concat(this.configuration.basePath, "/authservice/v1/workspaces/switch"),
202
+ headers: {
203
+ 'Content-Type': 'application/json',
204
+ 'Authorization': "Bearer ".concat(this.configuration.accessToken),
205
+ },
206
+ data: {
207
+ username: this.configuration.username,
208
+ targetWorkspace: targetWorkspace,
209
+ },
210
+ withCredentials: true,
211
+ };
212
+ return [4 /*yield*/, axios_1.default.request(options)];
213
+ case 1:
214
+ response = _b.sent();
215
+ _a = response.data, accessToken = _a.accessToken, permissions = _a.permissions;
216
+ this.configuration.accessToken = "Bearer ".concat(accessToken);
217
+ this.tokenData.accessToken = accessToken;
218
+ this.tokenData.permissions = permissions;
179
219
  this.storeTokenData(__assign({}, this.tokenData));
180
220
  return [2 /*return*/];
181
221
  }
@@ -0,0 +1,42 @@
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 CreateOrganizationMigrationRequestDto
16
+ */
17
+ export interface CreateOrganizationMigrationRequestDto {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof CreateOrganizationMigrationRequestDto
22
+ */
23
+ 'source': string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof CreateOrganizationMigrationRequestDto
28
+ */
29
+ 'target': string;
30
+ /**
31
+ *
32
+ * @type {boolean}
33
+ * @memberof CreateOrganizationMigrationRequestDto
34
+ */
35
+ 'dryRun'?: boolean;
36
+ /**
37
+ *
38
+ * @type {boolean}
39
+ * @memberof CreateOrganizationMigrationRequestDto
40
+ */
41
+ 'onlySubtenants'?: boolean;
42
+ }
@@ -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 });
@@ -0,0 +1,25 @@
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
+ import { OrganizationMigrationClass } from './organization-migration-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface CreateOrganizationMigrationResponseClass
17
+ */
18
+ export interface CreateOrganizationMigrationResponseClass {
19
+ /**
20
+ * Organization Migration
21
+ * @type {OrganizationMigrationClass}
22
+ * @memberof CreateOrganizationMigrationResponseClass
23
+ */
24
+ 'organizationMigration': OrganizationMigrationClass;
25
+ }
@@ -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 });
@@ -0,0 +1,25 @@
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
+ import { OrganizationMigrationClass } from './organization-migration-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface GetOrganizationMigrationResponseClass
17
+ */
18
+ export interface GetOrganizationMigrationResponseClass {
19
+ /**
20
+ * Organization Migration
21
+ * @type {OrganizationMigrationClass}
22
+ * @memberof GetOrganizationMigrationResponseClass
23
+ */
24
+ 'organizationMigration': OrganizationMigrationClass;
25
+ }
@@ -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,8 @@ 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-organization-migration-request-dto';
14
+ export * from './create-organization-migration-response-class';
13
15
  export * from './create-tenant-request-dto';
14
16
  export * from './custom-field-dto';
15
17
  export * from './custom-schema-class';
@@ -32,6 +34,7 @@ export * from './get-dashboard-group-response-class';
32
34
  export * from './get-dashboard-response-class';
33
35
  export * from './get-data-report-response-class';
34
36
  export * from './get-embedded-url-response-class';
37
+ export * from './get-organization-migration-response-class';
35
38
  export * from './get-organization-response-class';
36
39
  export * from './get-settings-response-class';
37
40
  export * from './get-user-response-class';
@@ -52,16 +55,20 @@ export * from './list-dashboards-response-class';
52
55
  export * from './list-data-reports-response-class';
53
56
  export * from './list-invites-response-class';
54
57
  export * from './list-org-invitations-response-class';
58
+ export * from './list-organization-migrations-response-class';
55
59
  export * from './list-organizations-response-class';
56
60
  export * from './list-roles-response-class';
57
61
  export * from './list-users-response-class';
58
62
  export * from './org-invitation-class';
59
63
  export * from './org-invitation-response-class';
60
64
  export * from './organization-class';
65
+ export * from './organization-migration-class';
61
66
  export * from './permission-class';
62
67
  export * from './publish-dashboard-request-dto';
63
68
  export * from './re-invite-org-request-dto';
64
69
  export * from './revert-analysis-request-dto';
70
+ export * from './revert-organization-migration-request-dto';
71
+ export * from './revert-organization-migration-response-class';
65
72
  export * from './role-class';
66
73
  export * from './run-data-report-request-dto';
67
74
  export * from './run-data-report-response-class';
@@ -26,6 +26,8 @@ __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-organization-migration-request-dto"), exports);
30
+ __exportStar(require("./create-organization-migration-response-class"), exports);
29
31
  __exportStar(require("./create-tenant-request-dto"), exports);
30
32
  __exportStar(require("./custom-field-dto"), exports);
31
33
  __exportStar(require("./custom-schema-class"), exports);
@@ -48,6 +50,7 @@ __exportStar(require("./get-dashboard-group-response-class"), exports);
48
50
  __exportStar(require("./get-dashboard-response-class"), exports);
49
51
  __exportStar(require("./get-data-report-response-class"), exports);
50
52
  __exportStar(require("./get-embedded-url-response-class"), exports);
53
+ __exportStar(require("./get-organization-migration-response-class"), exports);
51
54
  __exportStar(require("./get-organization-response-class"), exports);
52
55
  __exportStar(require("./get-settings-response-class"), exports);
53
56
  __exportStar(require("./get-user-response-class"), exports);
@@ -68,16 +71,20 @@ __exportStar(require("./list-dashboards-response-class"), exports);
68
71
  __exportStar(require("./list-data-reports-response-class"), exports);
69
72
  __exportStar(require("./list-invites-response-class"), exports);
70
73
  __exportStar(require("./list-org-invitations-response-class"), exports);
74
+ __exportStar(require("./list-organization-migrations-response-class"), exports);
71
75
  __exportStar(require("./list-organizations-response-class"), exports);
72
76
  __exportStar(require("./list-roles-response-class"), exports);
73
77
  __exportStar(require("./list-users-response-class"), exports);
74
78
  __exportStar(require("./org-invitation-class"), exports);
75
79
  __exportStar(require("./org-invitation-response-class"), exports);
76
80
  __exportStar(require("./organization-class"), exports);
81
+ __exportStar(require("./organization-migration-class"), exports);
77
82
  __exportStar(require("./permission-class"), exports);
78
83
  __exportStar(require("./publish-dashboard-request-dto"), exports);
79
84
  __exportStar(require("./re-invite-org-request-dto"), exports);
80
85
  __exportStar(require("./revert-analysis-request-dto"), exports);
86
+ __exportStar(require("./revert-organization-migration-request-dto"), exports);
87
+ __exportStar(require("./revert-organization-migration-response-class"), exports);
81
88
  __exportStar(require("./role-class"), exports);
82
89
  __exportStar(require("./run-data-report-request-dto"), exports);
83
90
  __exportStar(require("./run-data-report-response-class"), exports);
@@ -27,4 +27,10 @@ export interface LinkUserWithPartnerRequestDtoRest {
27
27
  * @memberof LinkUserWithPartnerRequestDtoRest
28
28
  */
29
29
  'partnerCode'?: string;
30
+ /**
31
+ * The type of the partner that will be linked with the user, only if shouldCreateNewPartner is true
32
+ * @type {string}
33
+ * @memberof LinkUserWithPartnerRequestDtoRest
34
+ */
35
+ 'partnerTypeSlug'?: string;
30
36
  }
@@ -0,0 +1,43 @@
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
+ import { OrganizationMigrationClass } from './organization-migration-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ListOrganizationMigrationsResponseClass
17
+ */
18
+ export interface ListOrganizationMigrationsResponseClass {
19
+ /**
20
+ * Organization Migrations
21
+ * @type {Array<OrganizationMigrationClass>}
22
+ * @memberof ListOrganizationMigrationsResponseClass
23
+ */
24
+ 'items': Array<OrganizationMigrationClass>;
25
+ /**
26
+ * Next page token.
27
+ * @type {string}
28
+ * @memberof ListOrganizationMigrationsResponseClass
29
+ */
30
+ 'nextPageToken': string;
31
+ /**
32
+ * Items per page.
33
+ * @type {number}
34
+ * @memberof ListOrganizationMigrationsResponseClass
35
+ */
36
+ 'itemsPerPage': number;
37
+ /**
38
+ * Total amount of items.
39
+ * @type {number}
40
+ * @memberof ListOrganizationMigrationsResponseClass
41
+ */
42
+ 'totalItems': number;
43
+ }
@@ -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 });
@@ -0,0 +1,81 @@
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 OrganizationMigrationClass
16
+ */
17
+ export interface OrganizationMigrationClass {
18
+ /**
19
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
20
+ * @type {number}
21
+ * @memberof OrganizationMigrationClass
22
+ */
23
+ 'id': number;
24
+ /**
25
+ * Unique identifier for the object.
26
+ * @type {string}
27
+ * @memberof OrganizationMigrationClass
28
+ */
29
+ 'code': string;
30
+ /**
31
+ * Source tenant identifier
32
+ * @type {string}
33
+ * @memberof OrganizationMigrationClass
34
+ */
35
+ 'source': string;
36
+ /**
37
+ * Target tenant identifier
38
+ * @type {string}
39
+ * @memberof OrganizationMigrationClass
40
+ */
41
+ 'target': string;
42
+ /**
43
+ * Status of the organization migration
44
+ * @type {string}
45
+ * @memberof OrganizationMigrationClass
46
+ */
47
+ 'status': OrganizationMigrationClassStatusEnum;
48
+ /**
49
+ * Time at which the object was created.
50
+ * @type {string}
51
+ * @memberof OrganizationMigrationClass
52
+ */
53
+ 'createdAt': string;
54
+ /**
55
+ * Time at which the object was updated.
56
+ * @type {string}
57
+ * @memberof OrganizationMigrationClass
58
+ */
59
+ 'updatedAt': string;
60
+ /**
61
+ * Identifier of the user who created the record.
62
+ * @type {string}
63
+ * @memberof OrganizationMigrationClass
64
+ */
65
+ 'createdBy': string;
66
+ /**
67
+ * Identifier of the user who last updated the record.
68
+ * @type {string}
69
+ * @memberof OrganizationMigrationClass
70
+ */
71
+ 'updatedBy': string;
72
+ }
73
+ export declare const OrganizationMigrationClassStatusEnum: {
74
+ readonly Queued: "queued";
75
+ readonly InProgress: "in_progress";
76
+ readonly Completed: "completed";
77
+ readonly Failed: "failed";
78
+ readonly Reverting: "reverting";
79
+ readonly Reverted: "reverted";
80
+ };
81
+ export type OrganizationMigrationClassStatusEnum = typeof OrganizationMigrationClassStatusEnum[keyof typeof OrganizationMigrationClassStatusEnum];
@@ -0,0 +1,24 @@
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.OrganizationMigrationClassStatusEnum = void 0;
17
+ exports.OrganizationMigrationClassStatusEnum = {
18
+ Queued: 'queued',
19
+ InProgress: 'in_progress',
20
+ Completed: 'completed',
21
+ Failed: 'failed',
22
+ Reverting: 'reverting',
23
+ Reverted: 'reverted'
24
+ };
@@ -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 RevertOrganizationMigrationRequestDto
16
+ */
17
+ export interface RevertOrganizationMigrationRequestDto {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof RevertOrganizationMigrationRequestDto
22
+ */
23
+ 'code': string;
24
+ /**
25
+ *
26
+ * @type {boolean}
27
+ * @memberof RevertOrganizationMigrationRequestDto
28
+ */
29
+ 'dryRun'?: boolean;
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 });
@@ -0,0 +1,25 @@
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
+ import { OrganizationMigrationClass } from './organization-migration-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface RevertOrganizationMigrationResponseClass
17
+ */
18
+ export interface RevertOrganizationMigrationResponseClass {
19
+ /**
20
+ * Organization Migration
21
+ * @type {OrganizationMigrationClass}
22
+ * @memberof RevertOrganizationMigrationResponseClass
23
+ */
24
+ 'organizationMigration': OrganizationMigrationClass;
25
+ }
@@ -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 });
@@ -0,0 +1,48 @@
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 CreateOrganizationMigrationRequestDto
21
+ */
22
+ export interface CreateOrganizationMigrationRequestDto {
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof CreateOrganizationMigrationRequestDto
27
+ */
28
+ 'source': string;
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof CreateOrganizationMigrationRequestDto
33
+ */
34
+ 'target': string;
35
+ /**
36
+ *
37
+ * @type {boolean}
38
+ * @memberof CreateOrganizationMigrationRequestDto
39
+ */
40
+ 'dryRun'?: boolean;
41
+ /**
42
+ *
43
+ * @type {boolean}
44
+ * @memberof CreateOrganizationMigrationRequestDto
45
+ */
46
+ 'onlySubtenants'?: boolean;
47
+ }
48
+
@@ -0,0 +1,31 @@
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
+ import { OrganizationMigrationClass } from './organization-migration-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface CreateOrganizationMigrationResponseClass
22
+ */
23
+ export interface CreateOrganizationMigrationResponseClass {
24
+ /**
25
+ * Organization Migration
26
+ * @type {OrganizationMigrationClass}
27
+ * @memberof CreateOrganizationMigrationResponseClass
28
+ */
29
+ 'organizationMigration': OrganizationMigrationClass;
30
+ }
31
+