@emilgroup/auth-sdk 1.0.0 → 1.2.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 +10 -0
  2. package/README.md +2 -2
  3. package/api/authservice-api.ts +183 -4
  4. package/base.ts +2 -0
  5. package/dist/api/authservice-api.d.ts +102 -6
  6. package/dist/api/authservice-api.js +155 -0
  7. package/dist/base.js +3 -0
  8. package/dist/models/create-org-and-user-request-dto.d.ts +84 -0
  9. package/dist/models/create-org-and-user-request-dto.js +15 -0
  10. package/dist/models/create-org-and-user-response-class.d.ts +32 -0
  11. package/dist/models/create-org-and-user-response-class.js +15 -0
  12. package/dist/models/create-user-response-class.d.ts +25 -0
  13. package/dist/models/create-user-response-class.js +15 -0
  14. package/dist/models/custom-schema-class.d.ts +66 -0
  15. package/dist/models/custom-schema-class.js +15 -0
  16. package/dist/models/index.d.ts +10 -0
  17. package/dist/models/index.js +10 -0
  18. package/dist/models/org-invitation-class.d.ts +109 -0
  19. package/dist/models/org-invitation-class.js +15 -0
  20. package/dist/models/organization-class.d.ts +114 -0
  21. package/dist/models/organization-class.js +15 -0
  22. package/dist/models/role-class.d.ts +54 -0
  23. package/dist/models/role-class.js +15 -0
  24. package/dist/models/user-class.d.ts +85 -0
  25. package/dist/models/user-class.js +15 -0
  26. package/dist/models/verify-org-invitation-request-dto.d.ts +24 -0
  27. package/dist/models/verify-org-invitation-request-dto.js +15 -0
  28. package/dist/models/verify-org-invitation-response-class.d.ts +32 -0
  29. package/dist/models/verify-org-invitation-response-class.js +15 -0
  30. package/models/create-org-and-user-request-dto.ts +90 -0
  31. package/models/create-org-and-user-response-class.ts +38 -0
  32. package/models/create-user-response-class.ts +31 -0
  33. package/models/custom-schema-class.ts +72 -0
  34. package/models/index.ts +10 -0
  35. package/models/org-invitation-class.ts +115 -0
  36. package/models/organization-class.ts +120 -0
  37. package/models/role-class.ts +60 -0
  38. package/models/user-class.ts +91 -0
  39. package/models/verify-org-invitation-request-dto.ts +30 -0
  40. package/models/verify-org-invitation-response-class.ts +38 -0
  41. package/package.json +1 -1
@@ -92,6 +92,41 @@ var base_1 = require("../base");
92
92
  var AuthserviceApiAxiosParamCreator = function (configuration) {
93
93
  var _this = this;
94
94
  return {
95
+ /**
96
+ * Register a new organization with appropriate hierarchy and create a user for that organization.
97
+ * @summary Register Organization and User using invitation token
98
+ * @param {CreateOrgAndUserRequestDto} createOrgAndUserRequestDto
99
+ * @param {*} [options] Override http request option.
100
+ * @throws {RequiredError}
101
+ */
102
+ createOrgAndUser: function (createOrgAndUserRequestDto, options) {
103
+ if (options === void 0) { options = {}; }
104
+ return __awaiter(_this, void 0, void 0, function () {
105
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
106
+ return __generator(this, function (_a) {
107
+ // verify required parameter 'createOrgAndUserRequestDto' is not null or undefined
108
+ (0, common_1.assertParamExists)('createOrgAndUser', 'createOrgAndUserRequestDto', createOrgAndUserRequestDto);
109
+ localVarPath = "/authservice/v1/create-org-and-user";
110
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
111
+ if (configuration) {
112
+ baseOptions = configuration.baseOptions;
113
+ baseAccessToken = configuration.accessToken;
114
+ }
115
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
116
+ localVarHeaderParameter = {};
117
+ localVarQueryParameter = {};
118
+ localVarHeaderParameter['Content-Type'] = 'application/json';
119
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
120
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
121
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
122
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createOrgAndUserRequestDto, localVarRequestOptions, configuration);
123
+ return [2 /*return*/, {
124
+ url: (0, common_1.toPathString)(localVarUrlObj),
125
+ options: localVarRequestOptions,
126
+ }];
127
+ });
128
+ });
129
+ },
95
130
  /**
96
131
  * Register a tenant user using the invite token sent to the tenant user\'s email address.
97
132
  * @summary Register tenant user after invite
@@ -413,6 +448,42 @@ var AuthserviceApiAxiosParamCreator = function (configuration) {
413
448
  });
414
449
  });
415
450
  },
451
+ /**
452
+ * Verifies token and returns necessary data for signing up as an organization.
453
+ * @summary Verify a organization\'s invitation token
454
+ * @param {string} invitationToken
455
+ * @param {*} [options] Override http request option.
456
+ * @throws {RequiredError}
457
+ */
458
+ verifyOrgInvitation: function (invitationToken, options) {
459
+ if (options === void 0) { options = {}; }
460
+ return __awaiter(_this, void 0, void 0, function () {
461
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
462
+ return __generator(this, function (_a) {
463
+ // verify required parameter 'invitationToken' is not null or undefined
464
+ (0, common_1.assertParamExists)('verifyOrgInvitation', 'invitationToken', invitationToken);
465
+ localVarPath = "/authservice/v1/verify-org-invitation";
466
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
467
+ if (configuration) {
468
+ baseOptions = configuration.baseOptions;
469
+ baseAccessToken = configuration.accessToken;
470
+ }
471
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
472
+ localVarHeaderParameter = {};
473
+ localVarQueryParameter = {};
474
+ if (invitationToken !== undefined) {
475
+ localVarQueryParameter['invitationToken'] = invitationToken;
476
+ }
477
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
478
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
479
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
480
+ return [2 /*return*/, {
481
+ url: (0, common_1.toPathString)(localVarUrlObj),
482
+ options: localVarRequestOptions,
483
+ }];
484
+ });
485
+ });
486
+ },
416
487
  /**
417
488
  * Verify the reset password token that is sent by calling the \'forgot password\' endpoint.
418
489
  * @summary Verify tenant reset password token
@@ -459,6 +530,26 @@ exports.AuthserviceApiAxiosParamCreator = AuthserviceApiAxiosParamCreator;
459
530
  var AuthserviceApiFp = function (configuration) {
460
531
  var localVarAxiosParamCreator = (0, exports.AuthserviceApiAxiosParamCreator)(configuration);
461
532
  return {
533
+ /**
534
+ * Register a new organization with appropriate hierarchy and create a user for that organization.
535
+ * @summary Register Organization and User using invitation token
536
+ * @param {CreateOrgAndUserRequestDto} createOrgAndUserRequestDto
537
+ * @param {*} [options] Override http request option.
538
+ * @throws {RequiredError}
539
+ */
540
+ createOrgAndUser: function (createOrgAndUserRequestDto, options) {
541
+ return __awaiter(this, void 0, void 0, function () {
542
+ var localVarAxiosArgs;
543
+ return __generator(this, function (_a) {
544
+ switch (_a.label) {
545
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.createOrgAndUser(createOrgAndUserRequestDto, options)];
546
+ case 1:
547
+ localVarAxiosArgs = _a.sent();
548
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
549
+ }
550
+ });
551
+ });
552
+ },
462
553
  /**
463
554
  * Register a tenant user using the invite token sent to the tenant user\'s email address.
464
555
  * @summary Register tenant user after invite
@@ -640,6 +731,26 @@ var AuthserviceApiFp = function (configuration) {
640
731
  });
641
732
  });
642
733
  },
734
+ /**
735
+ * Verifies token and returns necessary data for signing up as an organization.
736
+ * @summary Verify a organization\'s invitation token
737
+ * @param {string} invitationToken
738
+ * @param {*} [options] Override http request option.
739
+ * @throws {RequiredError}
740
+ */
741
+ verifyOrgInvitation: function (invitationToken, options) {
742
+ return __awaiter(this, void 0, void 0, function () {
743
+ var localVarAxiosArgs;
744
+ return __generator(this, function (_a) {
745
+ switch (_a.label) {
746
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.verifyOrgInvitation(invitationToken, options)];
747
+ case 1:
748
+ localVarAxiosArgs = _a.sent();
749
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
750
+ }
751
+ });
752
+ });
753
+ },
643
754
  /**
644
755
  * Verify the reset password token that is sent by calling the \'forgot password\' endpoint.
645
756
  * @summary Verify tenant reset password token
@@ -670,6 +781,16 @@ exports.AuthserviceApiFp = AuthserviceApiFp;
670
781
  var AuthserviceApiFactory = function (configuration, basePath, axios) {
671
782
  var localVarFp = (0, exports.AuthserviceApiFp)(configuration);
672
783
  return {
784
+ /**
785
+ * Register a new organization with appropriate hierarchy and create a user for that organization.
786
+ * @summary Register Organization and User using invitation token
787
+ * @param {CreateOrgAndUserRequestDto} createOrgAndUserRequestDto
788
+ * @param {*} [options] Override http request option.
789
+ * @throws {RequiredError}
790
+ */
791
+ createOrgAndUser: function (createOrgAndUserRequestDto, options) {
792
+ return localVarFp.createOrgAndUser(createOrgAndUserRequestDto, options).then(function (request) { return request(axios, basePath); });
793
+ },
673
794
  /**
674
795
  * Register a tenant user using the invite token sent to the tenant user\'s email address.
675
796
  * @summary Register tenant user after invite
@@ -761,6 +882,16 @@ var AuthserviceApiFactory = function (configuration, basePath, axios) {
761
882
  verifyInvite: function (token, options) {
762
883
  return localVarFp.verifyInvite(token, options).then(function (request) { return request(axios, basePath); });
763
884
  },
885
+ /**
886
+ * Verifies token and returns necessary data for signing up as an organization.
887
+ * @summary Verify a organization\'s invitation token
888
+ * @param {string} invitationToken
889
+ * @param {*} [options] Override http request option.
890
+ * @throws {RequiredError}
891
+ */
892
+ verifyOrgInvitation: function (invitationToken, options) {
893
+ return localVarFp.verifyOrgInvitation(invitationToken, options).then(function (request) { return request(axios, basePath); });
894
+ },
764
895
  /**
765
896
  * Verify the reset password token that is sent by calling the \'forgot password\' endpoint.
766
897
  * @summary Verify tenant reset password token
@@ -785,6 +916,18 @@ var AuthserviceApi = /** @class */ (function (_super) {
785
916
  function AuthserviceApi() {
786
917
  return _super !== null && _super.apply(this, arguments) || this;
787
918
  }
919
+ /**
920
+ * Register a new organization with appropriate hierarchy and create a user for that organization.
921
+ * @summary Register Organization and User using invitation token
922
+ * @param {AuthserviceApiCreateOrgAndUserRequest} requestParameters Request parameters.
923
+ * @param {*} [options] Override http request option.
924
+ * @throws {RequiredError}
925
+ * @memberof AuthserviceApi
926
+ */
927
+ AuthserviceApi.prototype.createOrgAndUser = function (requestParameters, options) {
928
+ var _this = this;
929
+ return (0, exports.AuthserviceApiFp)(this.configuration).createOrgAndUser(requestParameters.createOrgAndUserRequestDto, options).then(function (request) { return request(_this.axios, _this.basePath); });
930
+ };
788
931
  /**
789
932
  * Register a tenant user using the invite token sent to the tenant user\'s email address.
790
933
  * @summary Register tenant user after invite
@@ -893,6 +1036,18 @@ var AuthserviceApi = /** @class */ (function (_super) {
893
1036
  var _this = this;
894
1037
  return (0, exports.AuthserviceApiFp)(this.configuration).verifyInvite(requestParameters.token, options).then(function (request) { return request(_this.axios, _this.basePath); });
895
1038
  };
1039
+ /**
1040
+ * Verifies token and returns necessary data for signing up as an organization.
1041
+ * @summary Verify a organization\'s invitation token
1042
+ * @param {AuthserviceApiVerifyOrgInvitationRequest} requestParameters Request parameters.
1043
+ * @param {*} [options] Override http request option.
1044
+ * @throws {RequiredError}
1045
+ * @memberof AuthserviceApi
1046
+ */
1047
+ AuthserviceApi.prototype.verifyOrgInvitation = function (requestParameters, options) {
1048
+ var _this = this;
1049
+ return (0, exports.AuthserviceApiFp)(this.configuration).verifyOrgInvitation(requestParameters.invitationToken, options).then(function (request) { return request(_this.axios, _this.basePath); });
1050
+ };
896
1051
  /**
897
1052
  * Verify the reset password token that is sent by calling the \'forgot password\' endpoint.
898
1053
  * @summary Verify tenant reset password token
package/dist/base.js CHANGED
@@ -204,6 +204,9 @@ var BaseAPI = /** @class */ (function () {
204
204
  if (typeof window !== 'undefined') {
205
205
  this.tokenData = (0, common_1.defaultStorage)().get(TOKEN_DATA) || {};
206
206
  }
207
+ else {
208
+ this.tokenData = {};
209
+ }
207
210
  };
208
211
  BaseAPI.prototype.cleanTokenData = function () {
209
212
  this.storeTokenData(null);
@@ -0,0 +1,84 @@
1
+ /**
2
+ * EMIL AuthService
3
+ * The EMIL AuthService 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 CreateOrgAndUserRequestDto
16
+ */
17
+ export interface CreateOrgAndUserRequestDto {
18
+ /**
19
+ * Organization\'s street name.
20
+ * @type {string}
21
+ * @memberof CreateOrgAndUserRequestDto
22
+ */
23
+ 'street': string;
24
+ /**
25
+ * Organization\'s house number.
26
+ * @type {string}
27
+ * @memberof CreateOrgAndUserRequestDto
28
+ */
29
+ 'houseNumber': string;
30
+ /**
31
+ * City of the organization.
32
+ * @type {string}
33
+ * @memberof CreateOrgAndUserRequestDto
34
+ */
35
+ 'city': string;
36
+ /**
37
+ * Country of the organization.
38
+ * @type {string}
39
+ * @memberof CreateOrgAndUserRequestDto
40
+ */
41
+ 'country': string;
42
+ /**
43
+ * Custom fields of the organization
44
+ * @type {object}
45
+ * @memberof CreateOrgAndUserRequestDto
46
+ */
47
+ 'customFields'?: object;
48
+ /**
49
+ * User\'s first name
50
+ * @type {string}
51
+ * @memberof CreateOrgAndUserRequestDto
52
+ */
53
+ 'firstName': string;
54
+ /**
55
+ * Organization invitation token
56
+ * @type {string}
57
+ * @memberof CreateOrgAndUserRequestDto
58
+ */
59
+ 'invitationToken': string;
60
+ /**
61
+ * if user accepts end user license agreement
62
+ * @type {boolean}
63
+ * @memberof CreateOrgAndUserRequestDto
64
+ */
65
+ 'isEulaAccepted': boolean;
66
+ /**
67
+ * User\'s last name
68
+ * @type {string}
69
+ * @memberof CreateOrgAndUserRequestDto
70
+ */
71
+ 'lastName': string;
72
+ /**
73
+ * User\'s password
74
+ * @type {string}
75
+ * @memberof CreateOrgAndUserRequestDto
76
+ */
77
+ 'password': string;
78
+ /**
79
+ * Zip code of the organization.
80
+ * @type {string}
81
+ * @memberof CreateOrgAndUserRequestDto
82
+ */
83
+ 'zipCode': string;
84
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL AuthService
6
+ * The EMIL AuthService 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,32 @@
1
+ /**
2
+ * EMIL AuthService
3
+ * The EMIL AuthService 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 { OrganizationClass } from './organization-class';
13
+ import { UserClass } from './user-class';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface CreateOrgAndUserResponseClass
18
+ */
19
+ export interface CreateOrgAndUserResponseClass {
20
+ /**
21
+ * Organization
22
+ * @type {OrganizationClass}
23
+ * @memberof CreateOrgAndUserResponseClass
24
+ */
25
+ 'organization': OrganizationClass;
26
+ /**
27
+ * User
28
+ * @type {UserClass}
29
+ * @memberof CreateOrgAndUserResponseClass
30
+ */
31
+ 'user': UserClass;
32
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL AuthService
6
+ * The EMIL AuthService 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 AuthService
3
+ * The EMIL AuthService 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 { UserClass } from './user-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface CreateUserResponseClass
17
+ */
18
+ export interface CreateUserResponseClass {
19
+ /**
20
+ * user
21
+ * @type {UserClass}
22
+ * @memberof CreateUserResponseClass
23
+ */
24
+ 'user': UserClass;
25
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL AuthService
6
+ * The EMIL AuthService 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,66 @@
1
+ /**
2
+ * EMIL AuthService
3
+ * The EMIL AuthService 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 CustomSchemaClass
16
+ */
17
+ export interface CustomSchemaClass {
18
+ /**
19
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
20
+ * @type {number}
21
+ * @memberof CustomSchemaClass
22
+ */
23
+ 'id': number;
24
+ /**
25
+ * Unique identifier for the object.
26
+ * @type {string}
27
+ * @memberof CustomSchemaClass
28
+ */
29
+ 'code': string;
30
+ /**
31
+ * The fields that schema created from
32
+ * @type {object}
33
+ * @memberof CustomSchemaClass
34
+ */
35
+ 'fields': object;
36
+ /**
37
+ * The json schema generated from fields
38
+ * @type {object}
39
+ * @memberof CustomSchemaClass
40
+ */
41
+ 'jsonSchema': object;
42
+ /**
43
+ * Optional field for a product specification custom fields
44
+ * @type {string}
45
+ * @memberof CustomSchemaClass
46
+ */
47
+ 'productCode': string;
48
+ /**
49
+ * The entity that this schema related to
50
+ * @type {string}
51
+ * @memberof CustomSchemaClass
52
+ */
53
+ 'entity': string;
54
+ /**
55
+ * Time at which the object was created.
56
+ * @type {string}
57
+ * @memberof CustomSchemaClass
58
+ */
59
+ 'createdAt': string;
60
+ /**
61
+ * Time at which the object was updated.
62
+ * @type {string}
63
+ * @memberof CustomSchemaClass
64
+ */
65
+ 'updatedAt': string;
66
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL AuthService
6
+ * The EMIL AuthService 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 });
@@ -1,9 +1,19 @@
1
+ export * from './create-org-and-user-request-dto';
2
+ export * from './create-org-and-user-response-class';
1
3
  export * from './create-user-request-dto';
4
+ export * from './create-user-response-class';
5
+ export * from './custom-schema-class';
2
6
  export * from './forgot-password-request-dto';
3
7
  export * from './get-samllogin-link-request-dto';
4
8
  export * from './login-by-samlrequest-dto';
5
9
  export * from './login-class';
6
10
  export * from './login-request-dto';
7
11
  export * from './logout-request-dto';
12
+ export * from './org-invitation-class';
13
+ export * from './organization-class';
8
14
  export * from './refresh-token-dto';
9
15
  export * from './reset-password-request-dto';
16
+ export * from './role-class';
17
+ export * from './user-class';
18
+ export * from './verify-org-invitation-request-dto';
19
+ export * from './verify-org-invitation-response-class';
@@ -14,12 +14,22 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./create-org-and-user-request-dto"), exports);
18
+ __exportStar(require("./create-org-and-user-response-class"), exports);
17
19
  __exportStar(require("./create-user-request-dto"), exports);
20
+ __exportStar(require("./create-user-response-class"), exports);
21
+ __exportStar(require("./custom-schema-class"), exports);
18
22
  __exportStar(require("./forgot-password-request-dto"), exports);
19
23
  __exportStar(require("./get-samllogin-link-request-dto"), exports);
20
24
  __exportStar(require("./login-by-samlrequest-dto"), exports);
21
25
  __exportStar(require("./login-class"), exports);
22
26
  __exportStar(require("./login-request-dto"), exports);
23
27
  __exportStar(require("./logout-request-dto"), exports);
28
+ __exportStar(require("./org-invitation-class"), exports);
29
+ __exportStar(require("./organization-class"), exports);
24
30
  __exportStar(require("./refresh-token-dto"), exports);
25
31
  __exportStar(require("./reset-password-request-dto"), exports);
32
+ __exportStar(require("./role-class"), exports);
33
+ __exportStar(require("./user-class"), exports);
34
+ __exportStar(require("./verify-org-invitation-request-dto"), exports);
35
+ __exportStar(require("./verify-org-invitation-response-class"), exports);
@@ -0,0 +1,109 @@
1
+ /**
2
+ * EMIL AuthService
3
+ * The EMIL AuthService 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 { RoleClass } from './role-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface OrgInvitationClass
17
+ */
18
+ export interface OrgInvitationClass {
19
+ /**
20
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
21
+ * @type {number}
22
+ * @memberof OrgInvitationClass
23
+ */
24
+ 'id': number;
25
+ /**
26
+ * Organization user\'s email address.
27
+ * @type {string}
28
+ * @memberof OrgInvitationClass
29
+ */
30
+ 'email': string;
31
+ /**
32
+ * Permissions associated with the invite.
33
+ * @type {Array<RoleClass>}
34
+ * @memberof OrgInvitationClass
35
+ */
36
+ 'roles'?: Array<RoleClass>;
37
+ /**
38
+ * Name of the invited organization.
39
+ * @type {string}
40
+ * @memberof OrgInvitationClass
41
+ */
42
+ 'name': string;
43
+ /**
44
+ * Identifier for the organization.
45
+ * @type {string}
46
+ * @memberof OrgInvitationClass
47
+ */
48
+ 'slug': string;
49
+ /**
50
+ * Inviting organization.
51
+ * @type {number}
52
+ * @memberof OrgInvitationClass
53
+ */
54
+ 'parentOrganizationId'?: number;
55
+ /**
56
+ * Organization\'s street name.
57
+ * @type {string}
58
+ * @memberof OrgInvitationClass
59
+ */
60
+ 'street': string;
61
+ /**
62
+ * Organization\'s house number.
63
+ * @type {string}
64
+ * @memberof OrgInvitationClass
65
+ */
66
+ 'houseNumber': string;
67
+ /**
68
+ * Zip code of the organization.
69
+ * @type {string}
70
+ * @memberof OrgInvitationClass
71
+ */
72
+ 'zipCode': string;
73
+ /**
74
+ * City of the organization.
75
+ * @type {string}
76
+ * @memberof OrgInvitationClass
77
+ */
78
+ 'city': string;
79
+ /**
80
+ * Country of the organization.
81
+ * @type {string}
82
+ * @memberof OrgInvitationClass
83
+ */
84
+ 'country': string;
85
+ /**
86
+ * Custom fields of the organization.
87
+ * @type {object}
88
+ * @memberof OrgInvitationClass
89
+ */
90
+ 'customFields'?: object;
91
+ /**
92
+ * Expiry date of invitation email.
93
+ * @type {string}
94
+ * @memberof OrgInvitationClass
95
+ */
96
+ 'expiresAt': string;
97
+ /**
98
+ * Time at which the object was created.
99
+ * @type {string}
100
+ * @memberof OrgInvitationClass
101
+ */
102
+ 'createdAt': string;
103
+ /**
104
+ * Time at which the object was updated.
105
+ * @type {string}
106
+ * @memberof OrgInvitationClass
107
+ */
108
+ 'updatedAt': string;
109
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL AuthService
6
+ * The EMIL AuthService 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 });