@emilgroup/account-sdk-node 1.7.0 → 1.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -94,7 +94,7 @@ export interface AccountClass {
94
94
  */
95
95
  'city': string;
96
96
  /**
97
- * The account\'s date of birth
97
+ * The account\'s date of birth. required for account type person
98
98
  * @type {string}
99
99
  * @memberof AccountClass
100
100
  */
@@ -142,23 +142,23 @@ export interface AccountClass {
142
142
  */
143
143
  'policies': Array<PolicyClass>;
144
144
  /**
145
- * Optional field contain extra information
145
+ * Optional field contain extra information.
146
146
  * @type {object}
147
147
  * @memberof AccountClass
148
148
  */
149
149
  'metadata'?: object;
150
150
  /**
151
- * Emil Resources Names (ERN) identifies the most specific owner of a resource.
152
- * @type {string}
151
+ * Optional field contain custom fields.
152
+ * @type {object}
153
153
  * @memberof AccountClass
154
154
  */
155
- 'ern': string;
155
+ 'customFields'?: object;
156
156
  /**
157
- * Optional field contain custom fields
158
- * @type {object}
157
+ * Emil Resources Names (ERN) identifies the most specific owner of a resource.
158
+ * @type {string}
159
159
  * @memberof AccountClass
160
160
  */
161
- 'customFields'?: object;
161
+ 'ern': string;
162
162
  }
163
163
 
164
164
  export const AccountClassTitleEnum = {
@@ -20,6 +20,12 @@
20
20
  * @interface CreateAccountRequestDto
21
21
  */
22
22
  export interface CreateAccountRequestDto {
23
+ /**
24
+ * Optional field to enter your own account number.
25
+ * @type {string}
26
+ * @memberof CreateAccountRequestDto
27
+ */
28
+ 'accountNumber'?: string;
23
29
  /**
24
30
  * Optional field to enter the honorific title you want to be called.
25
31
  * @type {string}
@@ -56,18 +62,6 @@ export interface CreateAccountRequestDto {
56
62
  * @memberof CreateAccountRequestDto
57
63
  */
58
64
  'street': string;
59
- /**
60
- * The account\'s holder ZIP or postal code.
61
- * @type {string}
62
- * @memberof CreateAccountRequestDto
63
- */
64
- 'zipCode': string;
65
- /**
66
- * The account\'s holder city, district, suburb, town, or village.
67
- * @type {string}
68
- * @memberof CreateAccountRequestDto
69
- */
70
- 'city': string;
71
65
  /**
72
66
  * The account\'s holder house number.
73
67
  * @type {string}
@@ -75,35 +69,29 @@ export interface CreateAccountRequestDto {
75
69
  */
76
70
  'houseNumber': string;
77
71
  /**
78
- * Optional field to enter the type of the account holder.
72
+ * The account\'s holder ZIP or postal code.
79
73
  * @type {string}
80
74
  * @memberof CreateAccountRequestDto
81
75
  */
82
- 'type'?: CreateAccountRequestDtoTypeEnum;
76
+ 'zipCode': string;
83
77
  /**
84
- * The account\'s holder date of birth (Required for account of type person).
78
+ * The account\'s holder city, district, suburb, town, or village.
85
79
  * @type {string}
86
80
  * @memberof CreateAccountRequestDto
87
81
  */
88
- 'birthDate'?: string;
82
+ 'city': string;
89
83
  /**
90
- * The account\'s holder company name (Required for account of type org).
84
+ * The account\'s holder date of birth (Required for account of type person).
91
85
  * @type {string}
92
86
  * @memberof CreateAccountRequestDto
93
87
  */
94
- 'companyName'?: string;
88
+ 'birthDate'?: string;
95
89
  /**
96
90
  * The account\'s holder phone number.
97
91
  * @type {string}
98
92
  * @memberof CreateAccountRequestDto
99
93
  */
100
94
  'phone': string;
101
- /**
102
- * Optional field to enter your own account number.
103
- * @type {string}
104
- * @memberof CreateAccountRequestDto
105
- */
106
- 'accountNumber'?: string;
107
95
  /**
108
96
  * Optional field to enter extra information.
109
97
  * @type {object}
@@ -116,6 +104,18 @@ export interface CreateAccountRequestDto {
116
104
  * @memberof CreateAccountRequestDto
117
105
  */
118
106
  'customFields'?: object;
107
+ /**
108
+ * Optional field to enter the type of the account holder.
109
+ * @type {string}
110
+ * @memberof CreateAccountRequestDto
111
+ */
112
+ 'type'?: CreateAccountRequestDtoTypeEnum;
113
+ /**
114
+ * The account\'s holder company name (Required for account of type org).
115
+ * @type {string}
116
+ * @memberof CreateAccountRequestDto
117
+ */
118
+ 'companyName'?: string;
119
119
  }
120
120
 
121
121
  export const CreateAccountRequestDtoTitleEnum = {
package/models/index.ts CHANGED
@@ -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';
@@ -0,0 +1,48 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL AccountService
5
+ * The EMIL AccountService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface InlineResponse200
21
+ */
22
+ export interface InlineResponse200 {
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof InlineResponse200
27
+ */
28
+ 'status'?: string;
29
+ /**
30
+ *
31
+ * @type {{ [key: string]: { [key: string]: string; }; }}
32
+ * @memberof InlineResponse200
33
+ */
34
+ 'info'?: { [key: string]: { [key: string]: string; }; } | null;
35
+ /**
36
+ *
37
+ * @type {{ [key: string]: { [key: string]: string; }; }}
38
+ * @memberof InlineResponse200
39
+ */
40
+ 'error'?: { [key: string]: { [key: string]: string; }; } | null;
41
+ /**
42
+ *
43
+ * @type {{ [key: string]: { [key: string]: string; }; }}
44
+ * @memberof InlineResponse200
45
+ */
46
+ 'details'?: { [key: string]: { [key: string]: string; }; };
47
+ }
48
+
@@ -0,0 +1,48 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL AccountService
5
+ * The EMIL AccountService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface InlineResponse503
21
+ */
22
+ export interface InlineResponse503 {
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof InlineResponse503
27
+ */
28
+ 'status'?: string;
29
+ /**
30
+ *
31
+ * @type {{ [key: string]: { [key: string]: string; }; }}
32
+ * @memberof InlineResponse503
33
+ */
34
+ 'info'?: { [key: string]: { [key: string]: string; }; } | null;
35
+ /**
36
+ *
37
+ * @type {{ [key: string]: { [key: string]: string; }; }}
38
+ * @memberof InlineResponse503
39
+ */
40
+ 'error'?: { [key: string]: { [key: string]: string; }; } | null;
41
+ /**
42
+ *
43
+ * @type {{ [key: string]: { [key: string]: string; }; }}
44
+ * @memberof InlineResponse503
45
+ */
46
+ 'details'?: { [key: string]: { [key: string]: string; }; };
47
+ }
48
+
@@ -20,6 +20,12 @@
20
20
  * @interface UpdateAccountRequestDto
21
21
  */
22
22
  export interface UpdateAccountRequestDto {
23
+ /**
24
+ * Optional field to enter your own account number.
25
+ * @type {string}
26
+ * @memberof UpdateAccountRequestDto
27
+ */
28
+ 'accountNumber': string;
23
29
  /**
24
30
  * Optional field to enter the honorific title you want to be called.
25
31
  * @type {string}
@@ -27,83 +33,65 @@ export interface UpdateAccountRequestDto {
27
33
  */
28
34
  'title'?: UpdateAccountRequestDtoTitleEnum;
29
35
  /**
30
- * The account holder\'s first name.
36
+ * The account\'s holder first name.
31
37
  * @type {string}
32
38
  * @memberof UpdateAccountRequestDto
33
39
  */
34
40
  'firstName': string;
35
41
  /**
36
- * The account holder\'s last name.
42
+ * The account\'s holder last name.
37
43
  * @type {string}
38
44
  * @memberof UpdateAccountRequestDto
39
45
  */
40
46
  'lastName': string;
41
47
  /**
42
- * The account holder\'s email address. It is displayed alongside the account in your dashboard and can be useful for searching and tracking.
48
+ * The account\'s holder email address. It is displayed alongside the account in your dashboard and can be useful for searching and tracking.
43
49
  * @type {string}
44
50
  * @memberof UpdateAccountRequestDto
45
51
  */
46
52
  'email': string;
47
53
  /**
48
- * The account holder\'s gender.
54
+ * The account\'s holder gender.
49
55
  * @type {string}
50
56
  * @memberof UpdateAccountRequestDto
51
57
  */
52
58
  'gender': UpdateAccountRequestDtoGenderEnum;
53
59
  /**
54
- * The account holder\'s street name.
60
+ * The account\'s holder street name.
55
61
  * @type {string}
56
62
  * @memberof UpdateAccountRequestDto
57
63
  */
58
64
  'street': string;
59
65
  /**
60
- * The account holder\'s ZIP or postal code.
61
- * @type {string}
62
- * @memberof UpdateAccountRequestDto
63
- */
64
- 'zipCode': string;
65
- /**
66
- * The account holder\'s city, district, suburb, town, or village.
67
- * @type {string}
68
- * @memberof UpdateAccountRequestDto
69
- */
70
- 'city': string;
71
- /**
72
- * The account holder\'s house number.
66
+ * The account\'s holder house number.
73
67
  * @type {string}
74
68
  * @memberof UpdateAccountRequestDto
75
69
  */
76
70
  'houseNumber': string;
77
71
  /**
78
- * Optional field to enter the type of the account holder.
79
- * @type {string}
80
- * @memberof UpdateAccountRequestDto
81
- */
82
- 'type'?: UpdateAccountRequestDtoTypeEnum;
83
- /**
84
- * The account holder\'s company name (Required for account of type org).
72
+ * The account\'s holder ZIP or postal code.
85
73
  * @type {string}
86
74
  * @memberof UpdateAccountRequestDto
87
75
  */
88
- 'companyName'?: string;
76
+ 'zipCode': string;
89
77
  /**
90
- * The account holder\'s phone number.
78
+ * The account\'s holder city, district, suburb, town, or village.
91
79
  * @type {string}
92
80
  * @memberof UpdateAccountRequestDto
93
81
  */
94
- 'phone': string;
82
+ 'city': string;
95
83
  /**
96
- * Optional field to enter your own account number.
84
+ * The account\'s holder date of birth (Required for account of type person).
97
85
  * @type {string}
98
86
  * @memberof UpdateAccountRequestDto
99
87
  */
100
- 'accountNumber'?: string;
88
+ 'birthDate'?: string;
101
89
  /**
102
- * The account holder\'s date of birth (Required for account of type person).
90
+ * The account\'s holder phone number.
103
91
  * @type {string}
104
92
  * @memberof UpdateAccountRequestDto
105
93
  */
106
- 'birthDate'?: string;
94
+ 'phone': string;
107
95
  /**
108
96
  * Optional field to enter extra information.
109
97
  * @type {object}
@@ -116,6 +104,18 @@ export interface UpdateAccountRequestDto {
116
104
  * @memberof UpdateAccountRequestDto
117
105
  */
118
106
  'customFields'?: object;
107
+ /**
108
+ * Optional field to enter the type of the account holder.
109
+ * @type {string}
110
+ * @memberof UpdateAccountRequestDto
111
+ */
112
+ 'type'?: UpdateAccountRequestDtoTypeEnum;
113
+ /**
114
+ * The account\'s holder company name (Required for account of type org).
115
+ * @type {string}
116
+ * @memberof UpdateAccountRequestDto
117
+ */
118
+ 'companyName'?: string;
119
119
  }
120
120
 
121
121
  export const UpdateAccountRequestDtoTitleEnum = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/account-sdk-node",
3
- "version": "1.7.0",
3
+ "version": "1.8.1",
4
4
  "description": "OpenAPI client for @emilgroup/account-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [
@@ -1,24 +0,0 @@
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 DeleteRequestDto
16
- */
17
- export interface DeleteRequestDto {
18
- /**
19
- * Resource id
20
- * @type {string}
21
- * @memberof DeleteRequestDto
22
- */
23
- 'code': string;
24
- }
@@ -1,36 +0,0 @@
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 RegisterPolicyRequestDto
16
- */
17
- export interface RegisterPolicyRequestDto {
18
- /**
19
- * The account\'s code
20
- * @type {string}
21
- * @memberof RegisterPolicyRequestDto
22
- */
23
- 'accountCode': string;
24
- /**
25
- * The policy code that will be registered to the current account
26
- * @type {string}
27
- * @memberof RegisterPolicyRequestDto
28
- */
29
- 'policyCode': string;
30
- /**
31
- * The policy number that will be registered to the current account
32
- * @type {string}
33
- * @memberof RegisterPolicyRequestDto
34
- */
35
- 'policyNumber': string;
36
- }
@@ -1,30 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * EMIL AccountService
5
- * The EMIL AccountService API description
6
- *
7
- * The version of the OpenAPI document: 1.0
8
- * Contact: kontakt@emil.de
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
-
16
-
17
- /**
18
- *
19
- * @export
20
- * @interface DeleteRequestDto
21
- */
22
- export interface DeleteRequestDto {
23
- /**
24
- * Resource id
25
- * @type {string}
26
- * @memberof DeleteRequestDto
27
- */
28
- 'code': string;
29
- }
30
-
@@ -1,42 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * EMIL AccountService
5
- * The EMIL AccountService API description
6
- *
7
- * The version of the OpenAPI document: 1.0
8
- * Contact: kontakt@emil.de
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
-
16
-
17
- /**
18
- *
19
- * @export
20
- * @interface RegisterPolicyRequestDto
21
- */
22
- export interface RegisterPolicyRequestDto {
23
- /**
24
- * The account\'s code
25
- * @type {string}
26
- * @memberof RegisterPolicyRequestDto
27
- */
28
- 'accountCode': string;
29
- /**
30
- * The policy code that will be registered to the current account
31
- * @type {string}
32
- * @memberof RegisterPolicyRequestDto
33
- */
34
- 'policyCode': string;
35
- /**
36
- * The policy number that will be registered to the current account
37
- * @type {string}
38
- * @memberof RegisterPolicyRequestDto
39
- */
40
- 'policyNumber': string;
41
- }
42
-