@emilgroup/account-sdk 1.6.0 → 1.7.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 (53) hide show
  1. package/.openapi-generator/FILES +1 -0
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +2 -2
  4. package/api/accounts-api.ts +1 -1
  5. package/api.ts +1 -1
  6. package/base.ts +1 -1
  7. package/common.ts +2 -2
  8. package/configuration.ts +1 -1
  9. package/dist/api/accounts-api.d.ts +11 -11
  10. package/dist/api/accounts-api.js +49 -43
  11. package/dist/api.d.ts +1 -1
  12. package/dist/api.js +16 -5
  13. package/dist/base.d.ts +1 -1
  14. package/dist/base.js +14 -11
  15. package/dist/common.d.ts +2 -2
  16. package/dist/common.js +24 -13
  17. package/dist/configuration.d.ts +1 -1
  18. package/dist/configuration.js +2 -1
  19. package/dist/index.d.ts +1 -1
  20. package/dist/index.js +21 -9
  21. package/dist/models/account-class.d.ts +3 -3
  22. package/dist/models/account-class.js +2 -1
  23. package/dist/models/create-account-request-dto.d.ts +5 -5
  24. package/dist/models/create-account-request-dto.js +2 -1
  25. package/dist/models/create-account-response-class.d.ts +1 -1
  26. package/dist/models/create-account-response-class.js +1 -1
  27. package/dist/models/delete-request-dto.d.ts +1 -1
  28. package/dist/models/delete-request-dto.js +1 -1
  29. package/dist/models/get-account-response-class.d.ts +1 -1
  30. package/dist/models/get-account-response-class.js +1 -1
  31. package/dist/models/index.js +24 -6
  32. package/dist/models/list-accounts-response-class.d.ts +1 -1
  33. package/dist/models/list-accounts-response-class.js +1 -1
  34. package/dist/models/policy-class.d.ts +1 -1
  35. package/dist/models/policy-class.js +1 -1
  36. package/dist/models/register-policy-request-dto.d.ts +1 -1
  37. package/dist/models/register-policy-request-dto.js +1 -1
  38. package/dist/models/update-account-request-dto.d.ts +5 -5
  39. package/dist/models/update-account-request-dto.js +2 -1
  40. package/dist/models/update-account-response-class.d.ts +1 -1
  41. package/dist/models/update-account-response-class.js +1 -1
  42. package/index.ts +1 -1
  43. package/models/account-class.ts +2 -2
  44. package/models/create-account-request-dto.ts +2 -2
  45. package/models/create-account-response-class.ts +1 -1
  46. package/models/delete-request-dto.ts +1 -1
  47. package/models/get-account-response-class.ts +1 -1
  48. package/models/list-accounts-response-class.ts +1 -1
  49. package/models/policy-class.ts +1 -1
  50. package/models/register-policy-request-dto.ts +1 -1
  51. package/models/update-account-request-dto.ts +2 -2
  52. package/models/update-account-response-class.ts +1 -1
  53. package/package.json +1 -2
package/dist/base.js CHANGED
@@ -6,7 +6,7 @@
6
6
  * The EMIL AccountService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -16,10 +16,12 @@ var __extends = (this && this.__extends) || (function () {
16
16
  var extendStatics = function (d, b) {
17
17
  extendStatics = Object.setPrototypeOf ||
18
18
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
19
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
19
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
20
20
  return extendStatics(d, b);
21
21
  };
22
22
  return function (d, b) {
23
+ if (typeof b !== "function" && b !== null)
24
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
23
25
  extendStatics(d, b);
24
26
  function __() { this.constructor = d; }
25
27
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
@@ -51,7 +53,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
51
53
  function verb(n) { return function (v) { return step([n, v]); }; }
52
54
  function step(op) {
53
55
  if (f) throw new TypeError("Generator is already executing.");
54
- while (_) try {
56
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
55
57
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
56
58
  if (y = 0, t) op = [op[0] & 2, t.value];
57
59
  switch (op[0]) {
@@ -76,6 +78,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
76
78
  return (mod && mod.__esModule) ? mod : { "default": mod };
77
79
  };
78
80
  Object.defineProperty(exports, "__esModule", { value: true });
81
+ exports.RequiredError = exports.BaseAPI = exports.resetRetry = exports.Environment = exports.COLLECTION_FORMATS = exports.BASE_PATH = void 0;
79
82
  var configuration_1 = require("./configuration");
80
83
  var common_1 = require("./common");
81
84
  // Some imports not used depending on template conditions
@@ -126,7 +129,7 @@ var BaseAPI = /** @class */ (function () {
126
129
  var _a = this.tokenData, accessToken = _a.accessToken, username = _a.username;
127
130
  this.configuration = new configuration_1.Configuration({
128
131
  basePath: this.basePath,
129
- accessToken: accessToken ? "Bearer " + accessToken : '',
132
+ accessToken: accessToken ? "Bearer ".concat(accessToken) : '',
130
133
  username: username,
131
134
  });
132
135
  }
@@ -143,7 +146,7 @@ var BaseAPI = /** @class */ (function () {
143
146
  case 0:
144
147
  options = {
145
148
  method: 'POST',
146
- url: this.configuration.basePath + "/authservice/v1/login",
149
+ url: "".concat(this.configuration.basePath, "/authservice/v1/login"),
147
150
  headers: { 'Content-Type': 'application/json' },
148
151
  data: {
149
152
  username: username,
@@ -156,7 +159,7 @@ var BaseAPI = /** @class */ (function () {
156
159
  response = _a.sent();
157
160
  accessToken = response.data.accessToken;
158
161
  this.configuration.username = username;
159
- this.configuration.accessToken = "Bearer " + accessToken;
162
+ this.configuration.accessToken = "Bearer ".concat(accessToken);
160
163
  this.tokenData.username = username;
161
164
  this.tokenData.accessToken = accessToken;
162
165
  this.storeTokenData(__assign({}, this.tokenData));
@@ -177,7 +180,7 @@ var BaseAPI = /** @class */ (function () {
177
180
  }
178
181
  options = {
179
182
  method: 'POST',
180
- url: this.configuration.basePath + "/authservice/v1/refresh-token",
183
+ url: "".concat(this.configuration.basePath, "/authservice/v1/refresh-token"),
181
184
  headers: {
182
185
  'Content-Type': 'application/json',
183
186
  },
@@ -194,12 +197,12 @@ var BaseAPI = /** @class */ (function () {
194
197
  };
195
198
  BaseAPI.prototype.storeTokenData = function (tokenData) {
196
199
  if (typeof window !== 'undefined') {
197
- common_1.defaultStorage().set(TOKEN_DATA, tokenData);
200
+ (0, common_1.defaultStorage)().set(TOKEN_DATA, tokenData);
198
201
  }
199
202
  };
200
203
  BaseAPI.prototype.loadTokenData = function () {
201
204
  if (typeof window !== 'undefined') {
202
- this.tokenData = common_1.defaultStorage().get(TOKEN_DATA) || {};
205
+ this.tokenData = (0, common_1.defaultStorage)().get(TOKEN_DATA) || {};
203
206
  }
204
207
  else {
205
208
  this.tokenData = {};
@@ -228,7 +231,7 @@ var BaseAPI = /** @class */ (function () {
228
231
  return [4 /*yield*/, this.refreshTokenInternal()];
229
232
  case 2:
230
233
  tokenString = _a.sent();
231
- accessToken = "Bearer " + tokenString;
234
+ accessToken = "Bearer ".concat(tokenString);
232
235
  delete originalConfig.headers['Authorization'];
233
236
  originalConfig.headers['Authorization'] = accessToken;
234
237
  this.configuration.accessToken = accessToken;
@@ -253,7 +256,7 @@ var BaseAPI = /** @class */ (function () {
253
256
  return [4 /*yield*/, this.refreshTokenInternal()];
254
257
  case 7:
255
258
  tokenString = _a.sent();
256
- accessToken = "Bearer " + tokenString;
259
+ accessToken = "Bearer ".concat(tokenString);
257
260
  _retry = true;
258
261
  originalConfig.headers['Authorization'] = accessToken;
259
262
  this.configuration.accessToken = accessToken;
package/dist/common.d.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  * The EMIL AccountService API description
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -68,7 +68,7 @@ export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios
68
68
  * The EMIL AccountService API description
69
69
  *
70
70
  * The version of the OpenAPI document: 1.0
71
- *
71
+ * Contact: kontakt@emil.de
72
72
  *
73
73
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
74
74
  * https://openapi-generator.tech
package/dist/common.js CHANGED
@@ -6,7 +6,7 @@
6
6
  * The EMIL AccountService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -38,7 +38,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
38
38
  function verb(n) { return function (v) { return step([n, v]); }; }
39
39
  function step(op) {
40
40
  if (f) throw new TypeError("Generator is already executing.");
41
- while (_) try {
41
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
42
42
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
43
43
  if (y = 0, t) op = [op[0] & 2, t.value];
44
44
  switch (op[0]) {
@@ -60,6 +60,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
60
60
  }
61
61
  };
62
62
  Object.defineProperty(exports, "__esModule", { value: true });
63
+ exports.defaultStorage = exports.LocalStorage = exports.createRequestFunction = exports.toPathString = exports.serializeDataIfNeeded = exports.setSearchParams = exports.setOAuthToObject = exports.setBearerAuthToObject = exports.setBasicAuthToObject = exports.setApiKeyToObject = exports.assertParamExists = exports.DUMMY_BASE_URL = void 0;
63
64
  var base_1 = require("./base");
64
65
  /**
65
66
  *
@@ -71,16 +72,17 @@ exports.DUMMY_BASE_URL = 'https://example.com';
71
72
  * @throws {RequiredError}
72
73
  * @export
73
74
  */
74
- exports.assertParamExists = function (functionName, paramName, paramValue) {
75
+ var assertParamExists = function (functionName, paramName, paramValue) {
75
76
  if (paramValue === null || paramValue === undefined) {
76
- throw new base_1.RequiredError(paramName, "Required parameter " + paramName + " was null or undefined when calling " + functionName + ".");
77
+ throw new base_1.RequiredError(paramName, "Required parameter ".concat(paramName, " was null or undefined when calling ").concat(functionName, "."));
77
78
  }
78
79
  };
80
+ exports.assertParamExists = assertParamExists;
79
81
  /**
80
82
  *
81
83
  * @export
82
84
  */
83
- exports.setApiKeyToObject = function (object, keyParamName, configuration) {
85
+ var setApiKeyToObject = function (object, keyParamName, configuration) {
84
86
  return __awaiter(this, void 0, void 0, function () {
85
87
  var localVarApiKeyValue, _a;
86
88
  return __generator(this, function (_b) {
@@ -105,20 +107,22 @@ exports.setApiKeyToObject = function (object, keyParamName, configuration) {
105
107
  });
106
108
  });
107
109
  };
110
+ exports.setApiKeyToObject = setApiKeyToObject;
108
111
  /**
109
112
  *
110
113
  * @export
111
114
  */
112
- exports.setBasicAuthToObject = function (object, configuration) {
115
+ var setBasicAuthToObject = function (object, configuration) {
113
116
  if (configuration && (configuration.username || configuration.password)) {
114
117
  object["auth"] = { username: configuration.username, password: configuration.password };
115
118
  }
116
119
  };
120
+ exports.setBasicAuthToObject = setBasicAuthToObject;
117
121
  /**
118
122
  *
119
123
  * @export
120
124
  */
121
- exports.setBearerAuthToObject = function (object, configuration) {
125
+ var setBearerAuthToObject = function (object, configuration) {
122
126
  return __awaiter(this, void 0, void 0, function () {
123
127
  var accessToken, _a;
124
128
  return __generator(this, function (_b) {
@@ -143,11 +147,12 @@ exports.setBearerAuthToObject = function (object, configuration) {
143
147
  });
144
148
  });
145
149
  };
150
+ exports.setBearerAuthToObject = setBearerAuthToObject;
146
151
  /**
147
152
  *
148
153
  * @export
149
154
  */
150
- exports.setOAuthToObject = function (object, name, scopes, configuration) {
155
+ var setOAuthToObject = function (object, name, scopes, configuration) {
151
156
  return __awaiter(this, void 0, void 0, function () {
152
157
  var localVarAccessTokenValue, _a;
153
158
  return __generator(this, function (_b) {
@@ -172,11 +177,12 @@ exports.setOAuthToObject = function (object, name, scopes, configuration) {
172
177
  });
173
178
  });
174
179
  };
180
+ exports.setOAuthToObject = setOAuthToObject;
175
181
  /**
176
182
  *
177
183
  * @export
178
184
  */
179
- exports.setSearchParams = function (url) {
185
+ var setSearchParams = function (url) {
180
186
  var objects = [];
181
187
  for (var _i = 1; _i < arguments.length; _i++) {
182
188
  objects[_i - 1] = arguments[_i];
@@ -199,11 +205,12 @@ exports.setSearchParams = function (url) {
199
205
  }
200
206
  url.search = searchParams.toString();
201
207
  };
208
+ exports.setSearchParams = setSearchParams;
202
209
  /**
203
210
  *
204
211
  * @export
205
212
  */
206
- exports.serializeDataIfNeeded = function (value, requestOptions, configuration) {
213
+ var serializeDataIfNeeded = function (value, requestOptions, configuration) {
207
214
  var nonString = typeof value !== 'string';
208
215
  var needsSerialization = nonString && configuration && configuration.isJsonMime
209
216
  ? configuration.isJsonMime(requestOptions.headers['Content-Type'])
@@ -212,18 +219,20 @@ exports.serializeDataIfNeeded = function (value, requestOptions, configuration)
212
219
  ? JSON.stringify(value !== undefined ? value : {})
213
220
  : (value || "");
214
221
  };
222
+ exports.serializeDataIfNeeded = serializeDataIfNeeded;
215
223
  /**
216
224
  *
217
225
  * @export
218
226
  */
219
- exports.toPathString = function (url) {
227
+ var toPathString = function (url) {
220
228
  return url.pathname + url.search + url.hash;
221
229
  };
230
+ exports.toPathString = toPathString;
222
231
  /**
223
232
  *
224
233
  * @export
225
234
  */
226
- exports.createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
235
+ var createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
227
236
  return function (axios, basePath) {
228
237
  if (axios === void 0) { axios = globalAxios; }
229
238
  if (basePath === void 0) { basePath = BASE_PATH; }
@@ -231,6 +240,7 @@ exports.createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH, con
231
240
  return axios.request(axiosRequestArgs);
232
241
  };
233
242
  };
243
+ exports.createRequestFunction = createRequestFunction;
234
244
  var LocalStorage = /** @class */ (function () {
235
245
  function LocalStorage() {
236
246
  this.storage = localStorage;
@@ -260,6 +270,7 @@ var LocalStorage = /** @class */ (function () {
260
270
  }());
261
271
  exports.LocalStorage = LocalStorage;
262
272
  var _defaultStorage = null;
263
- exports.defaultStorage = function () {
273
+ var defaultStorage = function () {
264
274
  return _defaultStorage || (_defaultStorage = new LocalStorage());
265
275
  };
276
+ exports.defaultStorage = defaultStorage;
@@ -3,7 +3,7 @@
3
3
  * The EMIL AccountService API description
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -6,13 +6,14 @@
6
6
  * The EMIL AccountService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.Configuration = void 0;
16
17
  var Configuration = /** @class */ (function () {
17
18
  function Configuration(param) {
18
19
  if (param === void 0) { param = {}; }
package/dist/index.d.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  * The EMIL AccountService API description
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
package/dist/index.js CHANGED
@@ -6,19 +6,31 @@
6
6
  * The EMIL AccountService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
13
13
  * Do not edit the class manually.
14
14
  */
15
- function __export(m) {
16
- for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
17
- }
15
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
16
+ if (k2 === undefined) k2 = k;
17
+ var desc = Object.getOwnPropertyDescriptor(m, k);
18
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
19
+ desc = { enumerable: true, get: function() { return m[k]; } };
20
+ }
21
+ Object.defineProperty(o, k2, desc);
22
+ }) : (function(o, m, k, k2) {
23
+ if (k2 === undefined) k2 = k;
24
+ o[k2] = m[k];
25
+ }));
26
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
27
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
28
+ };
18
29
  Object.defineProperty(exports, "__esModule", { value: true });
30
+ exports.BaseAPI = exports.Environment = void 0;
19
31
  var base_1 = require("./base");
20
- exports.Environment = base_1.Environment;
21
- exports.BaseAPI = base_1.BaseAPI;
22
- __export(require("./api"));
23
- __export(require("./configuration"));
24
- __export(require("./models"));
32
+ Object.defineProperty(exports, "Environment", { enumerable: true, get: function () { return base_1.Environment; } });
33
+ Object.defineProperty(exports, "BaseAPI", { enumerable: true, get: function () { return base_1.BaseAPI; } });
34
+ __exportStar(require("./api"), exports);
35
+ __exportStar(require("./configuration"), exports);
36
+ __exportStar(require("./models"), exports);
@@ -3,7 +3,7 @@
3
3
  * The EMIL AccountService API description
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -143,7 +143,7 @@ export interface AccountClass {
143
143
  */
144
144
  'metadata'?: object;
145
145
  /**
146
- * ERN of the organization that created the account.
146
+ * Emil Resources Names (ERN) identifies the most specific owner of a resource.
147
147
  * @type {string}
148
148
  * @memberof AccountClass
149
149
  */
@@ -161,4 +161,4 @@ export declare const AccountClassTitleEnum: {
161
161
  readonly DrMed: "Dr. med.";
162
162
  readonly ProfDrMed: "Prof. Dr. med.";
163
163
  };
164
- export declare type AccountClassTitleEnum = typeof AccountClassTitleEnum[keyof typeof AccountClassTitleEnum];
164
+ export type AccountClassTitleEnum = typeof AccountClassTitleEnum[keyof typeof AccountClassTitleEnum];
@@ -6,13 +6,14 @@
6
6
  * The EMIL AccountService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.AccountClassTitleEnum = void 0;
16
17
  exports.AccountClassTitleEnum = {
17
18
  Empty: '',
18
19
  Dr: 'Dr.',
@@ -3,7 +3,7 @@
3
3
  * The EMIL AccountService API description
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -80,7 +80,7 @@ export interface CreateAccountRequestDto {
80
80
  * @type {string}
81
81
  * @memberof CreateAccountRequestDto
82
82
  */
83
- 'birthDate': string;
83
+ 'birthDate'?: string;
84
84
  /**
85
85
  * The account\'s holder company name (Required for account of type org).
86
86
  * @type {string}
@@ -118,15 +118,15 @@ export declare const CreateAccountRequestDtoTitleEnum: {
118
118
  readonly DrMed: "Dr. med.";
119
119
  readonly ProfDrMed: "Prof. Dr. med.";
120
120
  };
121
- export declare type CreateAccountRequestDtoTitleEnum = typeof CreateAccountRequestDtoTitleEnum[keyof typeof CreateAccountRequestDtoTitleEnum];
121
+ export type CreateAccountRequestDtoTitleEnum = typeof CreateAccountRequestDtoTitleEnum[keyof typeof CreateAccountRequestDtoTitleEnum];
122
122
  export declare const CreateAccountRequestDtoGenderEnum: {
123
123
  readonly Male: "male";
124
124
  readonly Female: "female";
125
125
  readonly Unspecified: "unspecified";
126
126
  };
127
- export declare type CreateAccountRequestDtoGenderEnum = typeof CreateAccountRequestDtoGenderEnum[keyof typeof CreateAccountRequestDtoGenderEnum];
127
+ export type CreateAccountRequestDtoGenderEnum = typeof CreateAccountRequestDtoGenderEnum[keyof typeof CreateAccountRequestDtoGenderEnum];
128
128
  export declare const CreateAccountRequestDtoTypeEnum: {
129
129
  readonly Person: "person";
130
130
  readonly Org: "org";
131
131
  };
132
- export declare type CreateAccountRequestDtoTypeEnum = typeof CreateAccountRequestDtoTypeEnum[keyof typeof CreateAccountRequestDtoTypeEnum];
132
+ export type CreateAccountRequestDtoTypeEnum = typeof CreateAccountRequestDtoTypeEnum[keyof typeof CreateAccountRequestDtoTypeEnum];
@@ -6,13 +6,14 @@
6
6
  * The EMIL AccountService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.CreateAccountRequestDtoTypeEnum = exports.CreateAccountRequestDtoGenderEnum = exports.CreateAccountRequestDtoTitleEnum = void 0;
16
17
  exports.CreateAccountRequestDtoTitleEnum = {
17
18
  Empty: '',
18
19
  Dr: 'Dr.',
@@ -3,7 +3,7 @@
3
3
  * The EMIL AccountService API description
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -6,7 +6,7 @@
6
6
  * The EMIL AccountService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -3,7 +3,7 @@
3
3
  * The EMIL AccountService API description
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -6,7 +6,7 @@
6
6
  * The EMIL AccountService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -3,7 +3,7 @@
3
3
  * The EMIL AccountService API description
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -6,7 +6,7 @@
6
6
  * The EMIL AccountService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -1,8 +1,26 @@
1
1
  "use strict";
2
- function __export(m) {
3
- for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
4
- }
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
5
16
  Object.defineProperty(exports, "__esModule", { value: true });
6
- __export(require("./account-class"));
7
- __export(require("./create-account-request-dto"));
8
- __export(require("./update-account-request-dto"));
17
+ __exportStar(require("./account-class"), exports);
18
+ __exportStar(require("./create-account-request-dto"), exports);
19
+ __exportStar(require("./create-account-response-class"), exports);
20
+ __exportStar(require("./delete-request-dto"), exports);
21
+ __exportStar(require("./get-account-response-class"), exports);
22
+ __exportStar(require("./list-accounts-response-class"), exports);
23
+ __exportStar(require("./policy-class"), exports);
24
+ __exportStar(require("./register-policy-request-dto"), exports);
25
+ __exportStar(require("./update-account-request-dto"), exports);
26
+ __exportStar(require("./update-account-response-class"), exports);
@@ -3,7 +3,7 @@
3
3
  * The EMIL AccountService API description
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -6,7 +6,7 @@
6
6
  * The EMIL AccountService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -3,7 +3,7 @@
3
3
  * The EMIL AccountService API description
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -6,7 +6,7 @@
6
6
  * The EMIL AccountService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -3,7 +3,7 @@
3
3
  * The EMIL AccountService API description
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -6,7 +6,7 @@
6
6
  * The EMIL AccountService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -3,7 +3,7 @@
3
3
  * The EMIL AccountService API description
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -98,7 +98,7 @@ export interface UpdateAccountRequestDto {
98
98
  * @type {string}
99
99
  * @memberof UpdateAccountRequestDto
100
100
  */
101
- 'birthDate': string;
101
+ 'birthDate'?: string;
102
102
  /**
103
103
  * Optional field to enter extra information.
104
104
  * @type {object}
@@ -118,15 +118,15 @@ export declare const UpdateAccountRequestDtoTitleEnum: {
118
118
  readonly DrMed: "Dr. med.";
119
119
  readonly ProfDrMed: "Prof. Dr. med.";
120
120
  };
121
- export declare type UpdateAccountRequestDtoTitleEnum = typeof UpdateAccountRequestDtoTitleEnum[keyof typeof UpdateAccountRequestDtoTitleEnum];
121
+ export type UpdateAccountRequestDtoTitleEnum = typeof UpdateAccountRequestDtoTitleEnum[keyof typeof UpdateAccountRequestDtoTitleEnum];
122
122
  export declare const UpdateAccountRequestDtoGenderEnum: {
123
123
  readonly Male: "male";
124
124
  readonly Female: "female";
125
125
  readonly Unspecified: "unspecified";
126
126
  };
127
- export declare type UpdateAccountRequestDtoGenderEnum = typeof UpdateAccountRequestDtoGenderEnum[keyof typeof UpdateAccountRequestDtoGenderEnum];
127
+ export type UpdateAccountRequestDtoGenderEnum = typeof UpdateAccountRequestDtoGenderEnum[keyof typeof UpdateAccountRequestDtoGenderEnum];
128
128
  export declare const UpdateAccountRequestDtoTypeEnum: {
129
129
  readonly Person: "person";
130
130
  readonly Org: "org";
131
131
  };
132
- export declare type UpdateAccountRequestDtoTypeEnum = typeof UpdateAccountRequestDtoTypeEnum[keyof typeof UpdateAccountRequestDtoTypeEnum];
132
+ export type UpdateAccountRequestDtoTypeEnum = typeof UpdateAccountRequestDtoTypeEnum[keyof typeof UpdateAccountRequestDtoTypeEnum];