@emilgroup/account-sdk 1.7.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.
@@ -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
+ }
@@ -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: "";
@@ -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,12 +20,18 @@
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}
26
32
  * @memberof CreateAccountRequestDto
27
33
  */
28
- 'title'?: CreateAccountRequestDtoTitleEnum;
34
+ 'title': CreateAccountRequestDtoTitleEnum;
29
35
  /**
30
36
  * The account\'s holder first name.
31
37
  * @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,47 +69,53 @@ 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}
110
98
  * @memberof CreateAccountRequestDto
111
99
  */
112
- 'metadata'?: object;
100
+ 'metadata': object;
113
101
  /**
114
102
  * Optional field to add predefined custom fields.
115
103
  * @type {object}
116
104
  * @memberof CreateAccountRequestDto
117
105
  */
118
- 'customFields'?: object;
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,102 +20,102 @@
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}
26
32
  * @memberof UpdateAccountRequestDto
27
33
  */
28
- 'title'?: UpdateAccountRequestDtoTitleEnum;
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.
66
+ * The account\'s holder house number.
61
67
  * @type {string}
62
68
  * @memberof UpdateAccountRequestDto
63
69
  */
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;
70
+ 'houseNumber': string;
71
71
  /**
72
- * The account holder\'s house number.
72
+ * The account\'s holder ZIP or postal code.
73
73
  * @type {string}
74
74
  * @memberof UpdateAccountRequestDto
75
75
  */
76
- 'houseNumber': string;
76
+ 'zipCode': string;
77
77
  /**
78
- * Optional field to enter the type of the account holder.
78
+ * The account\'s holder city, district, suburb, town, or village.
79
79
  * @type {string}
80
80
  * @memberof UpdateAccountRequestDto
81
81
  */
82
- 'type'?: UpdateAccountRequestDtoTypeEnum;
82
+ 'city': string;
83
83
  /**
84
- * The account holder\'s company name (Required for account of type org).
84
+ * The account\'s holder date of birth (Required for account of type person).
85
85
  * @type {string}
86
86
  * @memberof UpdateAccountRequestDto
87
87
  */
88
- 'companyName'?: string;
88
+ 'birthDate': string;
89
89
  /**
90
- * The account holder\'s phone number.
90
+ * The account\'s holder phone number.
91
91
  * @type {string}
92
92
  * @memberof UpdateAccountRequestDto
93
93
  */
94
94
  'phone': string;
95
95
  /**
96
- * Optional field to enter your own account number.
97
- * @type {string}
96
+ * Optional field to enter extra information.
97
+ * @type {object}
98
98
  * @memberof UpdateAccountRequestDto
99
99
  */
100
- 'accountNumber'?: string;
100
+ 'metadata': object;
101
101
  /**
102
- * The account holder\'s date of birth (Required for account of type person).
103
- * @type {string}
102
+ * Optional field to add predefined custom fields.
103
+ * @type {object}
104
104
  * @memberof UpdateAccountRequestDto
105
105
  */
106
- 'birthDate'?: string;
106
+ 'customFields': object;
107
107
  /**
108
- * Optional field to enter extra information.
109
- * @type {object}
108
+ * Optional field to enter the type of the account holder.
109
+ * @type {string}
110
110
  * @memberof UpdateAccountRequestDto
111
111
  */
112
- 'metadata'?: object;
112
+ 'type': UpdateAccountRequestDtoTypeEnum;
113
113
  /**
114
- * Optional field to add predefined custom fields.
115
- * @type {object}
114
+ * The account\'s holder company name (Required for account of type org).
115
+ * @type {string}
116
116
  * @memberof UpdateAccountRequestDto
117
117
  */
118
- 'customFields'?: object;
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",
3
- "version": "1.7.0",
3
+ "version": "1.8.0",
4
4
  "description": "OpenAPI client for @emilgroup/account-sdk",
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
- }