@emilgroup/account-sdk 1.6.0 → 1.8.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 (62) hide show
  1. package/.openapi-generator/FILES +4 -2
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +2 -2
  4. package/api/accounts-api.ts +36 -34
  5. package/api/default-api.ts +120 -0
  6. package/api.ts +3 -1
  7. package/base.ts +1 -1
  8. package/common.ts +2 -2
  9. package/configuration.ts +1 -1
  10. package/dist/api/accounts-api.d.ts +37 -37
  11. package/dist/api/accounts-api.js +68 -60
  12. package/dist/api/default-api.d.ts +66 -0
  13. package/dist/api/default-api.js +196 -0
  14. package/dist/api.d.ts +2 -1
  15. package/dist/api.js +17 -5
  16. package/dist/base.d.ts +1 -1
  17. package/dist/base.js +14 -11
  18. package/dist/common.d.ts +2 -2
  19. package/dist/common.js +24 -13
  20. package/dist/configuration.d.ts +1 -1
  21. package/dist/configuration.js +2 -1
  22. package/dist/index.d.ts +1 -1
  23. package/dist/index.js +21 -9
  24. package/dist/models/account-class.d.ts +10 -10
  25. package/dist/models/account-class.js +2 -1
  26. package/dist/models/create-account-request-dto.d.ts +31 -31
  27. package/dist/models/create-account-request-dto.js +2 -1
  28. package/dist/models/create-account-response-class.d.ts +1 -1
  29. package/dist/models/create-account-response-class.js +1 -1
  30. package/dist/models/get-account-response-class.d.ts +1 -1
  31. package/dist/models/get-account-response-class.js +1 -1
  32. package/dist/models/index.d.ts +2 -2
  33. package/dist/models/index.js +24 -6
  34. package/dist/models/inline-response200.d.ts +54 -0
  35. package/dist/models/{delete-request-dto.js → inline-response200.js} +1 -1
  36. package/dist/models/inline-response503.d.ts +54 -0
  37. package/dist/models/{register-policy-request-dto.js → inline-response503.js} +1 -1
  38. package/dist/models/list-accounts-response-class.d.ts +1 -1
  39. package/dist/models/list-accounts-response-class.js +1 -1
  40. package/dist/models/policy-class.d.ts +1 -1
  41. package/dist/models/policy-class.js +1 -1
  42. package/dist/models/update-account-request-dto.d.ts +37 -37
  43. package/dist/models/update-account-request-dto.js +2 -1
  44. package/dist/models/update-account-response-class.d.ts +1 -1
  45. package/dist/models/update-account-response-class.js +1 -1
  46. package/index.ts +1 -1
  47. package/models/account-class.ts +9 -9
  48. package/models/create-account-request-dto.ts +28 -28
  49. package/models/create-account-response-class.ts +1 -1
  50. package/models/get-account-response-class.ts +1 -1
  51. package/models/index.ts +2 -2
  52. package/models/inline-response200.ts +48 -0
  53. package/models/inline-response503.ts +48 -0
  54. package/models/list-accounts-response-class.ts +1 -1
  55. package/models/policy-class.ts +1 -1
  56. package/models/update-account-request-dto.ts +34 -34
  57. package/models/update-account-response-class.ts +1 -1
  58. package/package.json +1 -2
  59. package/dist/models/delete-request-dto.d.ts +0 -24
  60. package/dist/models/register-policy-request-dto.d.ts +0 -36
  61. package/models/delete-request-dto.ts +0 -30
  62. package/models/register-policy-request-dto.ts +0 -42
@@ -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
@@ -15,12 +15,18 @@
15
15
  * @interface CreateAccountRequestDto
16
16
  */
17
17
  export interface CreateAccountRequestDto {
18
+ /**
19
+ * Optional field to enter your own account number.
20
+ * @type {string}
21
+ * @memberof CreateAccountRequestDto
22
+ */
23
+ 'accountNumber': string;
18
24
  /**
19
25
  * Optional field to enter the honorific title you want to be called.
20
26
  * @type {string}
21
27
  * @memberof CreateAccountRequestDto
22
28
  */
23
- 'title'?: CreateAccountRequestDtoTitleEnum;
29
+ 'title': CreateAccountRequestDtoTitleEnum;
24
30
  /**
25
31
  * The account\'s holder first name.
26
32
  * @type {string}
@@ -51,18 +57,6 @@ export interface CreateAccountRequestDto {
51
57
  * @memberof CreateAccountRequestDto
52
58
  */
53
59
  'street': string;
54
- /**
55
- * The account\'s holder ZIP or postal code.
56
- * @type {string}
57
- * @memberof CreateAccountRequestDto
58
- */
59
- 'zipCode': string;
60
- /**
61
- * The account\'s holder city, district, suburb, town, or village.
62
- * @type {string}
63
- * @memberof CreateAccountRequestDto
64
- */
65
- 'city': string;
66
60
  /**
67
61
  * The account\'s holder house number.
68
62
  * @type {string}
@@ -70,47 +64,53 @@ export interface CreateAccountRequestDto {
70
64
  */
71
65
  'houseNumber': string;
72
66
  /**
73
- * Optional field to enter the type of the account holder.
67
+ * The account\'s holder ZIP or postal code.
74
68
  * @type {string}
75
69
  * @memberof CreateAccountRequestDto
76
70
  */
77
- 'type'?: CreateAccountRequestDtoTypeEnum;
71
+ 'zipCode': string;
78
72
  /**
79
- * The account\'s holder date of birth (Required for account of type person).
73
+ * The account\'s holder city, district, suburb, town, or village.
80
74
  * @type {string}
81
75
  * @memberof CreateAccountRequestDto
82
76
  */
83
- 'birthDate': string;
77
+ 'city': string;
84
78
  /**
85
- * The account\'s holder company name (Required for account of type org).
79
+ * The account\'s holder date of birth (Required for account of type person).
86
80
  * @type {string}
87
81
  * @memberof CreateAccountRequestDto
88
82
  */
89
- 'companyName'?: string;
83
+ 'birthDate': string;
90
84
  /**
91
85
  * The account\'s holder phone number.
92
86
  * @type {string}
93
87
  * @memberof CreateAccountRequestDto
94
88
  */
95
89
  'phone': string;
96
- /**
97
- * Optional field to enter your own account number.
98
- * @type {string}
99
- * @memberof CreateAccountRequestDto
100
- */
101
- 'accountNumber'?: string;
102
90
  /**
103
91
  * Optional field to enter extra information.
104
92
  * @type {object}
105
93
  * @memberof CreateAccountRequestDto
106
94
  */
107
- 'metadata'?: object;
95
+ 'metadata': object;
108
96
  /**
109
97
  * Optional field to add predefined custom fields.
110
98
  * @type {object}
111
99
  * @memberof CreateAccountRequestDto
112
100
  */
113
- 'customFields'?: object;
101
+ 'customFields': object;
102
+ /**
103
+ * Optional field to enter the type of the account holder.
104
+ * @type {string}
105
+ * @memberof CreateAccountRequestDto
106
+ */
107
+ 'type': CreateAccountRequestDtoTypeEnum;
108
+ /**
109
+ * The account\'s holder company name (Required for account of type org).
110
+ * @type {string}
111
+ * @memberof CreateAccountRequestDto
112
+ */
113
+ 'companyName': string;
114
114
  }
115
115
  export declare const CreateAccountRequestDtoTitleEnum: {
116
116
  readonly Empty: "";
@@ -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
@@ -1,10 +1,10 @@
1
1
  export * from './account-class';
2
2
  export * from './create-account-request-dto';
3
3
  export * from './create-account-response-class';
4
- export * from './delete-request-dto';
5
4
  export * from './get-account-response-class';
5
+ export * from './inline-response200';
6
+ export * from './inline-response503';
6
7
  export * from './list-accounts-response-class';
7
8
  export * from './policy-class';
8
- export * from './register-policy-request-dto';
9
9
  export * from './update-account-request-dto';
10
10
  export * from './update-account-response-class';
@@ -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("./get-account-response-class"), exports);
21
+ __exportStar(require("./inline-response200"), exports);
22
+ __exportStar(require("./inline-response503"), exports);
23
+ __exportStar(require("./list-accounts-response-class"), exports);
24
+ __exportStar(require("./policy-class"), exports);
25
+ __exportStar(require("./update-account-request-dto"), exports);
26
+ __exportStar(require("./update-account-response-class"), exports);
@@ -0,0 +1,54 @@
1
+ /**
2
+ * EMIL AccountService
3
+ * The EMIL AccountService 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 InlineResponse200
16
+ */
17
+ export interface InlineResponse200 {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof InlineResponse200
22
+ */
23
+ 'status'?: string;
24
+ /**
25
+ *
26
+ * @type {{ [key: string]: { [key: string]: string; }; }}
27
+ * @memberof InlineResponse200
28
+ */
29
+ 'info'?: {
30
+ [key: string]: {
31
+ [key: string]: string;
32
+ };
33
+ } | null;
34
+ /**
35
+ *
36
+ * @type {{ [key: string]: { [key: string]: string; }; }}
37
+ * @memberof InlineResponse200
38
+ */
39
+ 'error'?: {
40
+ [key: string]: {
41
+ [key: string]: string;
42
+ };
43
+ } | null;
44
+ /**
45
+ *
46
+ * @type {{ [key: string]: { [key: string]: string; }; }}
47
+ * @memberof InlineResponse200
48
+ */
49
+ 'details'?: {
50
+ [key: string]: {
51
+ [key: string]: string;
52
+ };
53
+ };
54
+ }
@@ -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
@@ -0,0 +1,54 @@
1
+ /**
2
+ * EMIL AccountService
3
+ * The EMIL AccountService 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 InlineResponse503
16
+ */
17
+ export interface InlineResponse503 {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof InlineResponse503
22
+ */
23
+ 'status'?: string;
24
+ /**
25
+ *
26
+ * @type {{ [key: string]: { [key: string]: string; }; }}
27
+ * @memberof InlineResponse503
28
+ */
29
+ 'info'?: {
30
+ [key: string]: {
31
+ [key: string]: string;
32
+ };
33
+ } | null;
34
+ /**
35
+ *
36
+ * @type {{ [key: string]: { [key: string]: string; }; }}
37
+ * @memberof InlineResponse503
38
+ */
39
+ 'error'?: {
40
+ [key: string]: {
41
+ [key: string]: string;
42
+ };
43
+ } | null;
44
+ /**
45
+ *
46
+ * @type {{ [key: string]: { [key: string]: string; }; }}
47
+ * @memberof InlineResponse503
48
+ */
49
+ 'details'?: {
50
+ [key: string]: {
51
+ [key: string]: string;
52
+ };
53
+ };
54
+ }
@@ -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
@@ -15,102 +15,102 @@
15
15
  * @interface UpdateAccountRequestDto
16
16
  */
17
17
  export interface UpdateAccountRequestDto {
18
+ /**
19
+ * Optional field to enter your own account number.
20
+ * @type {string}
21
+ * @memberof UpdateAccountRequestDto
22
+ */
23
+ 'accountNumber': string;
18
24
  /**
19
25
  * Optional field to enter the honorific title you want to be called.
20
26
  * @type {string}
21
27
  * @memberof UpdateAccountRequestDto
22
28
  */
23
- 'title'?: UpdateAccountRequestDtoTitleEnum;
29
+ 'title': UpdateAccountRequestDtoTitleEnum;
24
30
  /**
25
- * The account holder\'s first name.
31
+ * The account\'s holder first name.
26
32
  * @type {string}
27
33
  * @memberof UpdateAccountRequestDto
28
34
  */
29
35
  'firstName': string;
30
36
  /**
31
- * The account holder\'s last name.
37
+ * The account\'s holder last name.
32
38
  * @type {string}
33
39
  * @memberof UpdateAccountRequestDto
34
40
  */
35
41
  'lastName': string;
36
42
  /**
37
- * The account holder\'s email address. It is displayed alongside the account in your dashboard and can be useful for searching and tracking.
43
+ * The account\'s holder email address. It is displayed alongside the account in your dashboard and can be useful for searching and tracking.
38
44
  * @type {string}
39
45
  * @memberof UpdateAccountRequestDto
40
46
  */
41
47
  'email': string;
42
48
  /**
43
- * The account holder\'s gender.
49
+ * The account\'s holder gender.
44
50
  * @type {string}
45
51
  * @memberof UpdateAccountRequestDto
46
52
  */
47
53
  'gender': UpdateAccountRequestDtoGenderEnum;
48
54
  /**
49
- * The account holder\'s street name.
55
+ * The account\'s holder street name.
50
56
  * @type {string}
51
57
  * @memberof UpdateAccountRequestDto
52
58
  */
53
59
  'street': string;
54
60
  /**
55
- * The account holder\'s ZIP or postal code.
61
+ * The account\'s holder house number.
56
62
  * @type {string}
57
63
  * @memberof UpdateAccountRequestDto
58
64
  */
59
- 'zipCode': string;
60
- /**
61
- * The account holder\'s city, district, suburb, town, or village.
62
- * @type {string}
63
- * @memberof UpdateAccountRequestDto
64
- */
65
- 'city': string;
65
+ 'houseNumber': string;
66
66
  /**
67
- * The account holder\'s house number.
67
+ * The account\'s holder ZIP or postal code.
68
68
  * @type {string}
69
69
  * @memberof UpdateAccountRequestDto
70
70
  */
71
- 'houseNumber': string;
71
+ 'zipCode': string;
72
72
  /**
73
- * Optional field to enter the type of the account holder.
73
+ * The account\'s holder city, district, suburb, town, or village.
74
74
  * @type {string}
75
75
  * @memberof UpdateAccountRequestDto
76
76
  */
77
- 'type'?: UpdateAccountRequestDtoTypeEnum;
77
+ 'city': string;
78
78
  /**
79
- * The account holder\'s company name (Required for account of type org).
79
+ * The account\'s holder date of birth (Required for account of type person).
80
80
  * @type {string}
81
81
  * @memberof UpdateAccountRequestDto
82
82
  */
83
- 'companyName'?: string;
83
+ 'birthDate': string;
84
84
  /**
85
- * The account holder\'s phone number.
85
+ * The account\'s holder phone number.
86
86
  * @type {string}
87
87
  * @memberof UpdateAccountRequestDto
88
88
  */
89
89
  'phone': string;
90
90
  /**
91
- * Optional field to enter your own account number.
92
- * @type {string}
91
+ * Optional field to enter extra information.
92
+ * @type {object}
93
93
  * @memberof UpdateAccountRequestDto
94
94
  */
95
- 'accountNumber'?: string;
95
+ 'metadata': object;
96
96
  /**
97
- * The account holder\'s date of birth (Required for account of type person).
98
- * @type {string}
97
+ * Optional field to add predefined custom fields.
98
+ * @type {object}
99
99
  * @memberof UpdateAccountRequestDto
100
100
  */
101
- 'birthDate': string;
101
+ 'customFields': object;
102
102
  /**
103
- * Optional field to enter extra information.
104
- * @type {object}
103
+ * Optional field to enter the type of the account holder.
104
+ * @type {string}
105
105
  * @memberof UpdateAccountRequestDto
106
106
  */
107
- 'metadata'?: object;
107
+ 'type': UpdateAccountRequestDtoTypeEnum;
108
108
  /**
109
- * Optional field to add predefined custom fields.
110
- * @type {object}
109
+ * The account\'s holder company name (Required for account of type org).
110
+ * @type {string}
111
111
  * @memberof UpdateAccountRequestDto
112
112
  */
113
- 'customFields'?: object;
113
+ 'companyName': string;
114
114
  }
115
115
  export declare const UpdateAccountRequestDtoTitleEnum: {
116
116
  readonly Empty: "";
@@ -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];
@@ -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.UpdateAccountRequestDtoTypeEnum = exports.UpdateAccountRequestDtoGenderEnum = exports.UpdateAccountRequestDtoTitleEnum = void 0;
16
17
  exports.UpdateAccountRequestDtoTitleEnum = {
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
package/index.ts CHANGED
@@ -5,7 +5,7 @@
5
5
  * The EMIL AccountService API description
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech