@emilgroup/tenant-sdk-node 1.30.0 → 1.31.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/.openapi-generator/FILES +9 -0
  2. package/README.md +2 -2
  3. package/api/invite-users-api.ts +4 -4
  4. package/api/organization-migration-api.ts +686 -0
  5. package/api/users-api.ts +4 -4
  6. package/api.ts +2 -0
  7. package/base.ts +45 -3
  8. package/dist/api/invite-users-api.d.ts +4 -4
  9. package/dist/api/invite-users-api.js +3 -3
  10. package/dist/api/organization-migration-api.d.ts +385 -0
  11. package/dist/api/organization-migration-api.js +641 -0
  12. package/dist/api/users-api.d.ts +4 -4
  13. package/dist/api/users-api.js +3 -3
  14. package/dist/api.d.ts +1 -0
  15. package/dist/api.js +1 -0
  16. package/dist/base.d.ts +11 -2
  17. package/dist/base.js +42 -3
  18. package/dist/models/create-organization-migration-request-dto.d.ts +42 -0
  19. package/dist/models/create-organization-migration-request-dto.js +15 -0
  20. package/dist/models/create-organization-migration-response-class.d.ts +25 -0
  21. package/dist/models/create-organization-migration-response-class.js +15 -0
  22. package/dist/models/create-resources-migration-request-dto.d.ts +36 -0
  23. package/dist/models/create-resources-migration-request-dto.js +15 -0
  24. package/dist/models/get-organization-migration-response-class.d.ts +25 -0
  25. package/dist/models/get-organization-migration-response-class.js +15 -0
  26. package/dist/models/index.d.ts +8 -0
  27. package/dist/models/index.js +8 -0
  28. package/dist/models/link-user-with-partner-request-dto-rest.d.ts +6 -0
  29. package/dist/models/list-organization-migrations-response-class.d.ts +43 -0
  30. package/dist/models/list-organization-migrations-response-class.js +15 -0
  31. package/dist/models/organization-migration-class.d.ts +81 -0
  32. package/dist/models/organization-migration-class.js +24 -0
  33. package/dist/models/revert-organization-migration-request-dto.d.ts +30 -0
  34. package/dist/models/revert-organization-migration-request-dto.js +15 -0
  35. package/dist/models/revert-organization-migration-response-class.d.ts +25 -0
  36. package/dist/models/revert-organization-migration-response-class.js +15 -0
  37. package/models/create-organization-migration-request-dto.ts +48 -0
  38. package/models/create-organization-migration-response-class.ts +31 -0
  39. package/models/create-resources-migration-request-dto.ts +42 -0
  40. package/models/get-organization-migration-response-class.ts +31 -0
  41. package/models/index.ts +8 -0
  42. package/models/link-user-with-partner-request-dto-rest.ts +6 -0
  43. package/models/list-organization-migrations-response-class.ts +49 -0
  44. package/models/organization-migration-class.ts +90 -0
  45. package/models/revert-organization-migration-request-dto.ts +36 -0
  46. package/models/revert-organization-migration-response-class.ts +31 -0
  47. package/package.json +1 -1
@@ -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
+
@@ -0,0 +1,42 @@
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 CreateResourcesMigrationRequestDto
21
+ */
22
+ export interface CreateResourcesMigrationRequestDto {
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof CreateResourcesMigrationRequestDto
27
+ */
28
+ 'source': string;
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof CreateResourcesMigrationRequestDto
33
+ */
34
+ 'target': string;
35
+ /**
36
+ *
37
+ * @type {boolean}
38
+ * @memberof CreateResourcesMigrationRequestDto
39
+ */
40
+ 'dryRun'?: boolean;
41
+ }
42
+
@@ -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 GetOrganizationMigrationResponseClass
22
+ */
23
+ export interface GetOrganizationMigrationResponseClass {
24
+ /**
25
+ * Organization Migration
26
+ * @type {OrganizationMigrationClass}
27
+ * @memberof GetOrganizationMigrationResponseClass
28
+ */
29
+ 'organizationMigration': OrganizationMigrationClass;
30
+ }
31
+
package/models/index.ts CHANGED
@@ -10,6 +10,9 @@ 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';
15
+ export * from './create-resources-migration-request-dto';
13
16
  export * from './create-tenant-request-dto';
14
17
  export * from './custom-field-dto';
15
18
  export * from './custom-schema-class';
@@ -32,6 +35,7 @@ export * from './get-dashboard-group-response-class';
32
35
  export * from './get-dashboard-response-class';
33
36
  export * from './get-data-report-response-class';
34
37
  export * from './get-embedded-url-response-class';
38
+ export * from './get-organization-migration-response-class';
35
39
  export * from './get-organization-response-class';
36
40
  export * from './get-settings-response-class';
37
41
  export * from './get-user-response-class';
@@ -52,16 +56,20 @@ export * from './list-dashboards-response-class';
52
56
  export * from './list-data-reports-response-class';
53
57
  export * from './list-invites-response-class';
54
58
  export * from './list-org-invitations-response-class';
59
+ export * from './list-organization-migrations-response-class';
55
60
  export * from './list-organizations-response-class';
56
61
  export * from './list-roles-response-class';
57
62
  export * from './list-users-response-class';
58
63
  export * from './org-invitation-class';
59
64
  export * from './org-invitation-response-class';
60
65
  export * from './organization-class';
66
+ export * from './organization-migration-class';
61
67
  export * from './permission-class';
62
68
  export * from './publish-dashboard-request-dto';
63
69
  export * from './re-invite-org-request-dto';
64
70
  export * from './revert-analysis-request-dto';
71
+ export * from './revert-organization-migration-request-dto';
72
+ export * from './revert-organization-migration-response-class';
65
73
  export * from './role-class';
66
74
  export * from './run-data-report-request-dto';
67
75
  export * from './run-data-report-response-class';
@@ -32,5 +32,11 @@ export interface LinkUserWithPartnerRequestDtoRest {
32
32
  * @memberof LinkUserWithPartnerRequestDtoRest
33
33
  */
34
34
  'partnerCode'?: string;
35
+ /**
36
+ * The type of the partner that will be linked with the user, only if shouldCreateNewPartner is true
37
+ * @type {string}
38
+ * @memberof LinkUserWithPartnerRequestDtoRest
39
+ */
40
+ 'partnerTypeSlug'?: string;
35
41
  }
36
42
 
@@ -0,0 +1,49 @@
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 ListOrganizationMigrationsResponseClass
22
+ */
23
+ export interface ListOrganizationMigrationsResponseClass {
24
+ /**
25
+ * Organization Migrations
26
+ * @type {Array<OrganizationMigrationClass>}
27
+ * @memberof ListOrganizationMigrationsResponseClass
28
+ */
29
+ 'items': Array<OrganizationMigrationClass>;
30
+ /**
31
+ * Next page token.
32
+ * @type {string}
33
+ * @memberof ListOrganizationMigrationsResponseClass
34
+ */
35
+ 'nextPageToken': string;
36
+ /**
37
+ * Items per page.
38
+ * @type {number}
39
+ * @memberof ListOrganizationMigrationsResponseClass
40
+ */
41
+ 'itemsPerPage': number;
42
+ /**
43
+ * Total amount of items.
44
+ * @type {number}
45
+ * @memberof ListOrganizationMigrationsResponseClass
46
+ */
47
+ 'totalItems': number;
48
+ }
49
+
@@ -0,0 +1,90 @@
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 OrganizationMigrationClass
21
+ */
22
+ export interface OrganizationMigrationClass {
23
+ /**
24
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
25
+ * @type {number}
26
+ * @memberof OrganizationMigrationClass
27
+ */
28
+ 'id': number;
29
+ /**
30
+ * Unique identifier for the object.
31
+ * @type {string}
32
+ * @memberof OrganizationMigrationClass
33
+ */
34
+ 'code': string;
35
+ /**
36
+ * Source tenant identifier
37
+ * @type {string}
38
+ * @memberof OrganizationMigrationClass
39
+ */
40
+ 'source': string;
41
+ /**
42
+ * Target tenant identifier
43
+ * @type {string}
44
+ * @memberof OrganizationMigrationClass
45
+ */
46
+ 'target': string;
47
+ /**
48
+ * Status of the organization migration
49
+ * @type {string}
50
+ * @memberof OrganizationMigrationClass
51
+ */
52
+ 'status': OrganizationMigrationClassStatusEnum;
53
+ /**
54
+ * Time at which the object was created.
55
+ * @type {string}
56
+ * @memberof OrganizationMigrationClass
57
+ */
58
+ 'createdAt': string;
59
+ /**
60
+ * Time at which the object was updated.
61
+ * @type {string}
62
+ * @memberof OrganizationMigrationClass
63
+ */
64
+ 'updatedAt': string;
65
+ /**
66
+ * Identifier of the user who created the record.
67
+ * @type {string}
68
+ * @memberof OrganizationMigrationClass
69
+ */
70
+ 'createdBy': string;
71
+ /**
72
+ * Identifier of the user who last updated the record.
73
+ * @type {string}
74
+ * @memberof OrganizationMigrationClass
75
+ */
76
+ 'updatedBy': string;
77
+ }
78
+
79
+ export const OrganizationMigrationClassStatusEnum = {
80
+ Queued: 'queued',
81
+ InProgress: 'in_progress',
82
+ Completed: 'completed',
83
+ Failed: 'failed',
84
+ Reverting: 'reverting',
85
+ Reverted: 'reverted'
86
+ } as const;
87
+
88
+ export type OrganizationMigrationClassStatusEnum = typeof OrganizationMigrationClassStatusEnum[keyof typeof OrganizationMigrationClassStatusEnum];
89
+
90
+
@@ -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 RevertOrganizationMigrationRequestDto
21
+ */
22
+ export interface RevertOrganizationMigrationRequestDto {
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof RevertOrganizationMigrationRequestDto
27
+ */
28
+ 'code': string;
29
+ /**
30
+ *
31
+ * @type {boolean}
32
+ * @memberof RevertOrganizationMigrationRequestDto
33
+ */
34
+ 'dryRun'?: boolean;
35
+ }
36
+
@@ -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 RevertOrganizationMigrationResponseClass
22
+ */
23
+ export interface RevertOrganizationMigrationResponseClass {
24
+ /**
25
+ * Organization Migration
26
+ * @type {OrganizationMigrationClass}
27
+ * @memberof RevertOrganizationMigrationResponseClass
28
+ */
29
+ 'organizationMigration': OrganizationMigrationClass;
30
+ }
31
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/tenant-sdk-node",
3
- "version": "1.30.0",
3
+ "version": "1.31.1",
4
4
  "description": "OpenAPI client for @emilgroup/tenant-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [