@emilgroup/account-sdk-node 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 (61) hide show
  1. package/.openapi-generator/FILES +3 -2
  2. package/README.md +2 -2
  3. package/api/accounts-api.ts +36 -34
  4. package/api/default-api.ts +124 -0
  5. package/api.ts +3 -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 +32 -32
  10. package/dist/api/accounts-api.js +21 -19
  11. package/dist/api/default-api.d.ts +66 -0
  12. package/dist/api/default-api.js +200 -0
  13. package/dist/api.d.ts +2 -1
  14. package/dist/api.js +2 -1
  15. package/dist/base.d.ts +1 -1
  16. package/dist/base.js +1 -1
  17. package/dist/common.d.ts +2 -2
  18. package/dist/common.js +1 -1
  19. package/dist/configuration.d.ts +1 -1
  20. package/dist/configuration.js +1 -1
  21. package/dist/index.d.ts +1 -1
  22. package/dist/index.js +1 -1
  23. package/dist/models/account-class.d.ts +9 -9
  24. package/dist/models/account-class.js +1 -1
  25. package/dist/models/create-account-request-dto.d.ts +28 -28
  26. package/dist/models/create-account-request-dto.js +1 -1
  27. package/dist/models/create-account-response-class.d.ts +1 -1
  28. package/dist/models/create-account-response-class.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.d.ts +2 -2
  32. package/dist/models/index.js +2 -2
  33. package/dist/models/inline-response200.d.ts +54 -0
  34. package/dist/models/{delete-request-dto.js → inline-response200.js} +1 -1
  35. package/dist/models/inline-response503.d.ts +54 -0
  36. package/dist/models/{register-policy-request-dto.js → inline-response503.js} +1 -1
  37. package/dist/models/list-accounts-response-class.d.ts +1 -1
  38. package/dist/models/list-accounts-response-class.js +1 -1
  39. package/dist/models/policy-class.d.ts +1 -1
  40. package/dist/models/policy-class.js +1 -1
  41. package/dist/models/update-account-request-dto.d.ts +34 -34
  42. package/dist/models/update-account-request-dto.js +1 -1
  43. package/dist/models/update-account-response-class.d.ts +1 -1
  44. package/dist/models/update-account-response-class.js +1 -1
  45. package/index.ts +1 -1
  46. package/models/account-class.ts +9 -9
  47. package/models/create-account-request-dto.ts +28 -28
  48. package/models/create-account-response-class.ts +1 -1
  49. package/models/get-account-response-class.ts +1 -1
  50. package/models/index.ts +2 -2
  51. package/models/inline-response200.ts +48 -0
  52. package/models/inline-response503.ts +48 -0
  53. package/models/list-accounts-response-class.ts +1 -1
  54. package/models/policy-class.ts +1 -1
  55. package/models/update-account-request-dto.ts +34 -34
  56. package/models/update-account-response-class.ts +1 -1
  57. package/package.json +2 -2
  58. package/dist/models/delete-request-dto.d.ts +0 -24
  59. package/dist/models/register-policy-request-dto.d.ts +0 -36
  60. package/models/delete-request-dto.ts +0 -30
  61. package/models/register-policy-request-dto.ts +0 -42
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
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
@@ -69,7 +69,7 @@ export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios
69
69
  * The EMIL AccountService API description
70
70
  *
71
71
  * The version of the OpenAPI document: 1.0
72
- *
72
+ * Contact: kontakt@emil.de
73
73
  *
74
74
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
75
75
  * 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
@@ -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/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,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
@@ -89,7 +89,7 @@ export interface AccountClass {
89
89
  */
90
90
  'city': string;
91
91
  /**
92
- * The account\'s date of birth
92
+ * The account\'s date of birth. required for account type person
93
93
  * @type {string}
94
94
  * @memberof AccountClass
95
95
  */
@@ -137,23 +137,23 @@ export interface AccountClass {
137
137
  */
138
138
  'policies': Array<PolicyClass>;
139
139
  /**
140
- * Optional field contain extra information
140
+ * Optional field contain extra information.
141
141
  * @type {object}
142
142
  * @memberof AccountClass
143
143
  */
144
144
  'metadata'?: object;
145
145
  /**
146
- * ERN of the organization that created the account.
147
- * @type {string}
146
+ * Optional field contain custom fields.
147
+ * @type {object}
148
148
  * @memberof AccountClass
149
149
  */
150
- 'ern': string;
150
+ 'customFields'?: object;
151
151
  /**
152
- * Optional field contain custom fields
153
- * @type {object}
152
+ * Emil Resources Names (ERN) identifies the most specific owner of a resource.
153
+ * @type {string}
154
154
  * @memberof AccountClass
155
155
  */
156
- 'customFields'?: object;
156
+ 'ern': string;
157
157
  }
158
158
  export declare const AccountClassTitleEnum: {
159
159
  readonly Empty: "";
@@ -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,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: "";
@@ -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,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';
@@ -17,10 +17,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./account-class"), exports);
18
18
  __exportStar(require("./create-account-request-dto"), exports);
19
19
  __exportStar(require("./create-account-response-class"), exports);
20
- __exportStar(require("./delete-request-dto"), exports);
21
20
  __exportStar(require("./get-account-response-class"), exports);
21
+ __exportStar(require("./inline-response200"), exports);
22
+ __exportStar(require("./inline-response503"), exports);
22
23
  __exportStar(require("./list-accounts-response-class"), exports);
23
24
  __exportStar(require("./policy-class"), exports);
24
- __exportStar(require("./register-policy-request-dto"), exports);
25
25
  __exportStar(require("./update-account-request-dto"), exports);
26
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: "";
@@ -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