@emilgroup/account-sdk 1.0.2 → 1.4.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 (38) hide show
  1. package/.openapi-generator/FILES +1 -1
  2. package/README.md +11 -11
  3. package/api/accounts-api.ts +54 -44
  4. package/api.ts +0 -9
  5. package/base.ts +124 -65
  6. package/common.ts +61 -2
  7. package/configuration.ts +0 -8
  8. package/dist/api/accounts-api.d.ts +54 -45
  9. package/dist/api/accounts-api.js +76 -80
  10. package/dist/api.d.ts +0 -4
  11. package/dist/api.js +4 -21
  12. package/dist/base.d.ts +10 -6
  13. package/dist/base.js +105 -66
  14. package/dist/common.d.ts +26 -1
  15. package/dist/common.js +43 -22
  16. package/dist/configuration.d.ts +0 -7
  17. package/dist/configuration.js +0 -1
  18. package/dist/index.d.ts +1 -1
  19. package/dist/index.js +8 -19
  20. package/dist/models/account-class.d.ts +31 -5
  21. package/dist/models/account-class.js +6 -0
  22. package/dist/models/create-account-request-dto.d.ts +40 -10
  23. package/dist/models/create-account-request-dto.js +10 -1
  24. package/dist/models/index.d.ts +1 -1
  25. package/dist/models/index.js +6 -24
  26. package/dist/models/policy-class.d.ts +30 -0
  27. package/dist/models/update-account-request-dto.d.ts +41 -17
  28. package/dist/models/update-account-request-dto.js +10 -1
  29. package/index.ts +1 -1
  30. package/models/account-class.ts +34 -5
  31. package/models/create-account-request-dto.ts +42 -10
  32. package/models/index.ts +1 -1
  33. package/models/policy-class.ts +36 -0
  34. package/models/update-account-request-dto.ts +43 -17
  35. package/package.json +3 -5
  36. package/dist/models/get-account-request-dto.d.ts +0 -30
  37. package/models/get-account-request-dto.ts +0 -36
  38. /package/dist/models/{get-account-request-dto.js → policy-class.js} +0 -0
@@ -16,61 +16,79 @@
16
16
  */
17
17
  export interface CreateAccountRequestDto {
18
18
  /**
19
- * The account\'s first name.
19
+ * Optional field to enter the honorific title you want to be called.
20
+ * @type {string}
21
+ * @memberof CreateAccountRequestDto
22
+ */
23
+ 'title'?: CreateAccountRequestDtoTitleEnum;
24
+ /**
25
+ * The account\'s holder first name.
20
26
  * @type {string}
21
27
  * @memberof CreateAccountRequestDto
22
28
  */
23
29
  'firstName': string;
24
30
  /**
25
- * The account\'s last name.
31
+ * The account\'s holder last name.
26
32
  * @type {string}
27
33
  * @memberof CreateAccountRequestDto
28
34
  */
29
35
  'lastName': string;
30
36
  /**
31
- * The account\'s email address. It is displayed alongside the account in your dashboard and can be useful for searching and tracking.
37
+ * The account\'s holder email address. It is displayed alongside the account in your dashboard and can be useful for searching and tracking.
32
38
  * @type {string}
33
39
  * @memberof CreateAccountRequestDto
34
40
  */
35
41
  'email': string;
36
42
  /**
37
- * The account\'s gender.
43
+ * The account\'s holder gender.
38
44
  * @type {string}
39
45
  * @memberof CreateAccountRequestDto
40
46
  */
41
47
  'gender': CreateAccountRequestDtoGenderEnum;
42
48
  /**
43
- * The account\'s street name.
49
+ * The account\'s holder street name.
44
50
  * @type {string}
45
51
  * @memberof CreateAccountRequestDto
46
52
  */
47
53
  'street': string;
48
54
  /**
49
- * The account\'s ZIP or postal code.
55
+ * The account\'s holder ZIP or postal code.
50
56
  * @type {string}
51
57
  * @memberof CreateAccountRequestDto
52
58
  */
53
59
  'zipCode': string;
54
60
  /**
55
- * The account\'s city, district, suburb, town, or village.
61
+ * The account\'s holder city, district, suburb, town, or village.
56
62
  * @type {string}
57
63
  * @memberof CreateAccountRequestDto
58
64
  */
59
65
  'city': string;
60
66
  /**
61
- * The account\'s house number.
67
+ * The account\'s holder house number.
62
68
  * @type {string}
63
69
  * @memberof CreateAccountRequestDto
64
70
  */
65
71
  'houseNumber': string;
66
72
  /**
67
- * Account\'s birth date.
73
+ * Optional field to enter the type of the account holder.
74
+ * @type {string}
75
+ * @memberof CreateAccountRequestDto
76
+ */
77
+ 'type'?: CreateAccountRequestDtoTypeEnum;
78
+ /**
79
+ * The account\'s holder date of birth (Required for account of type person).
68
80
  * @type {string}
69
81
  * @memberof CreateAccountRequestDto
70
82
  */
71
83
  'birthDate': string;
72
84
  /**
73
- * The account\'s phone number.
85
+ * The account\'s holder company name (Required for account of type org).
86
+ * @type {string}
87
+ * @memberof CreateAccountRequestDto
88
+ */
89
+ 'companyName'?: string;
90
+ /**
91
+ * The account\'s holder phone number.
74
92
  * @type {string}
75
93
  * @memberof CreateAccountRequestDto
76
94
  */
@@ -94,9 +112,21 @@ export interface CreateAccountRequestDto {
94
112
  */
95
113
  'customFields'?: object;
96
114
  }
115
+ export declare const CreateAccountRequestDtoTitleEnum: {
116
+ readonly Empty: "";
117
+ readonly Dr: "Dr.";
118
+ readonly DrMed: "Dr. med.";
119
+ readonly ProfDrMed: "Prof. Dr. med.";
120
+ };
121
+ export declare type CreateAccountRequestDtoTitleEnum = typeof CreateAccountRequestDtoTitleEnum[keyof typeof CreateAccountRequestDtoTitleEnum];
97
122
  export declare const CreateAccountRequestDtoGenderEnum: {
98
123
  readonly Male: "male";
99
124
  readonly Female: "female";
100
125
  readonly Unspecified: "unspecified";
101
126
  };
102
127
  export declare type CreateAccountRequestDtoGenderEnum = typeof CreateAccountRequestDtoGenderEnum[keyof typeof CreateAccountRequestDtoGenderEnum];
128
+ export declare const CreateAccountRequestDtoTypeEnum: {
129
+ readonly Person: "person";
130
+ readonly Org: "org";
131
+ };
132
+ export declare type CreateAccountRequestDtoTypeEnum = typeof CreateAccountRequestDtoTypeEnum[keyof typeof CreateAccountRequestDtoTypeEnum];
@@ -13,9 +13,18 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.CreateAccountRequestDtoGenderEnum = void 0;
16
+ exports.CreateAccountRequestDtoTitleEnum = {
17
+ Empty: '',
18
+ Dr: 'Dr.',
19
+ DrMed: 'Dr. med.',
20
+ ProfDrMed: 'Prof. Dr. med.'
21
+ };
17
22
  exports.CreateAccountRequestDtoGenderEnum = {
18
23
  Male: 'male',
19
24
  Female: 'female',
20
25
  Unspecified: 'unspecified'
21
26
  };
27
+ exports.CreateAccountRequestDtoTypeEnum = {
28
+ Person: 'person',
29
+ Org: 'org'
30
+ };
@@ -2,9 +2,9 @@ export * from './account-class';
2
2
  export * from './create-account-request-dto';
3
3
  export * from './create-account-response-class';
4
4
  export * from './delete-request-dto';
5
- export * from './get-account-request-dto';
6
5
  export * from './get-account-response-class';
7
6
  export * from './list-accounts-response-class';
7
+ export * from './policy-class';
8
8
  export * from './register-policy-request-dto';
9
9
  export * from './update-account-request-dto';
10
10
  export * from './update-account-response-class';
@@ -1,26 +1,8 @@
1
1
  "use strict";
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
- };
2
+ function __export(m) {
3
+ for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
4
+ }
16
5
  Object.defineProperty(exports, "__esModule", { value: true });
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-request-dto"), exports);
22
- __exportStar(require("./get-account-response-class"), exports);
23
- __exportStar(require("./list-accounts-response-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);
6
+ __export(require("./account-class"));
7
+ __export(require("./create-account-request-dto"));
8
+ __export(require("./update-account-request-dto"));
@@ -0,0 +1,30 @@
1
+ /**
2
+ * EMIL AccountService
3
+ * The EMIL AccountService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
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 PolicyClass
16
+ */
17
+ export interface PolicyClass {
18
+ /**
19
+ * Unique identifier for a policy.
20
+ * @type {string}
21
+ * @memberof PolicyClass
22
+ */
23
+ 'policyCode': string;
24
+ /**
25
+ * Number used on official documents.
26
+ * @type {string}
27
+ * @memberof PolicyClass
28
+ */
29
+ 'policyNumber': string;
30
+ }
@@ -16,61 +16,73 @@
16
16
  */
17
17
  export interface UpdateAccountRequestDto {
18
18
  /**
19
- * The account\'s first name.
19
+ * Optional field to enter the honorific title you want to be called.
20
+ * @type {string}
21
+ * @memberof UpdateAccountRequestDto
22
+ */
23
+ 'title'?: UpdateAccountRequestDtoTitleEnum;
24
+ /**
25
+ * The account holder\'s first name.
20
26
  * @type {string}
21
27
  * @memberof UpdateAccountRequestDto
22
28
  */
23
29
  'firstName': string;
24
30
  /**
25
- * The account\'s last name.
31
+ * The account holder\'s last name.
26
32
  * @type {string}
27
33
  * @memberof UpdateAccountRequestDto
28
34
  */
29
35
  'lastName': string;
30
36
  /**
31
- * The account\'s email address. It is displayed alongside the account in your dashboard and can be useful for searching and tracking.
37
+ * The account holder\'s email address. It is displayed alongside the account in your dashboard and can be useful for searching and tracking.
32
38
  * @type {string}
33
39
  * @memberof UpdateAccountRequestDto
34
40
  */
35
41
  'email': string;
36
42
  /**
37
- * The account\'s gender.
43
+ * The account holder\'s gender.
38
44
  * @type {string}
39
45
  * @memberof UpdateAccountRequestDto
40
46
  */
41
47
  'gender': UpdateAccountRequestDtoGenderEnum;
42
48
  /**
43
- * The account\'s street name.
49
+ * The account holder\'s street name.
44
50
  * @type {string}
45
51
  * @memberof UpdateAccountRequestDto
46
52
  */
47
53
  'street': string;
48
54
  /**
49
- * The account\'s ZIP or postal code.
55
+ * The account holder\'s ZIP or postal code.
50
56
  * @type {string}
51
57
  * @memberof UpdateAccountRequestDto
52
58
  */
53
59
  'zipCode': string;
54
60
  /**
55
- * The account\'s city, district, suburb, town, or village.
61
+ * The account holder\'s city, district, suburb, town, or village.
56
62
  * @type {string}
57
63
  * @memberof UpdateAccountRequestDto
58
64
  */
59
65
  'city': string;
60
66
  /**
61
- * The account\'s house number.
67
+ * The account holder\'s house number.
62
68
  * @type {string}
63
69
  * @memberof UpdateAccountRequestDto
64
70
  */
65
71
  'houseNumber': string;
66
72
  /**
67
- * Account\'s birth date.
73
+ * Optional field to enter the type of the account holder.
68
74
  * @type {string}
69
75
  * @memberof UpdateAccountRequestDto
70
76
  */
71
- 'birthDate': string;
77
+ 'type'?: UpdateAccountRequestDtoTypeEnum;
72
78
  /**
73
- * The account\'s phone number.
79
+ * The account holder\'s company name (Required for account of type org).
80
+ * @type {string}
81
+ * @memberof UpdateAccountRequestDto
82
+ */
83
+ 'companyName'?: string;
84
+ /**
85
+ * The account holder\'s phone number.
74
86
  * @type {string}
75
87
  * @memberof UpdateAccountRequestDto
76
88
  */
@@ -81,6 +93,12 @@ export interface UpdateAccountRequestDto {
81
93
  * @memberof UpdateAccountRequestDto
82
94
  */
83
95
  'accountNumber'?: string;
96
+ /**
97
+ * The account holder\'s date of birth (Required for account of type person).
98
+ * @type {string}
99
+ * @memberof UpdateAccountRequestDto
100
+ */
101
+ 'birthDate': string;
84
102
  /**
85
103
  * Optional field to enter extra information.
86
104
  * @type {object}
@@ -93,16 +111,22 @@ export interface UpdateAccountRequestDto {
93
111
  * @memberof UpdateAccountRequestDto
94
112
  */
95
113
  'customFields'?: object;
96
- /**
97
- * The account\'s code.
98
- * @type {string}
99
- * @memberof UpdateAccountRequestDto
100
- */
101
- 'code'?: string;
102
114
  }
115
+ export declare const UpdateAccountRequestDtoTitleEnum: {
116
+ readonly Empty: "";
117
+ readonly Dr: "Dr.";
118
+ readonly DrMed: "Dr. med.";
119
+ readonly ProfDrMed: "Prof. Dr. med.";
120
+ };
121
+ export declare type UpdateAccountRequestDtoTitleEnum = typeof UpdateAccountRequestDtoTitleEnum[keyof typeof UpdateAccountRequestDtoTitleEnum];
103
122
  export declare const UpdateAccountRequestDtoGenderEnum: {
104
123
  readonly Male: "male";
105
124
  readonly Female: "female";
106
125
  readonly Unspecified: "unspecified";
107
126
  };
108
127
  export declare type UpdateAccountRequestDtoGenderEnum = typeof UpdateAccountRequestDtoGenderEnum[keyof typeof UpdateAccountRequestDtoGenderEnum];
128
+ export declare const UpdateAccountRequestDtoTypeEnum: {
129
+ readonly Person: "person";
130
+ readonly Org: "org";
131
+ };
132
+ export declare type UpdateAccountRequestDtoTypeEnum = typeof UpdateAccountRequestDtoTypeEnum[keyof typeof UpdateAccountRequestDtoTypeEnum];
@@ -13,9 +13,18 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.UpdateAccountRequestDtoGenderEnum = void 0;
16
+ exports.UpdateAccountRequestDtoTitleEnum = {
17
+ Empty: '',
18
+ Dr: 'Dr.',
19
+ DrMed: 'Dr. med.',
20
+ ProfDrMed: 'Prof. Dr. med.'
21
+ };
17
22
  exports.UpdateAccountRequestDtoGenderEnum = {
18
23
  Male: 'male',
19
24
  Female: 'female',
20
25
  Unspecified: 'unspecified'
21
26
  };
27
+ exports.UpdateAccountRequestDtoTypeEnum = {
28
+ Person: 'person',
29
+ Org: 'org'
30
+ };
package/index.ts CHANGED
@@ -13,7 +13,7 @@
13
13
  */
14
14
 
15
15
 
16
- export { BaseAPI } from "./base";
16
+ export { Environment, BaseAPI } from "./base";
17
17
  export * from "./api";
18
18
  export * from "./configuration";
19
19
  export * from "./models";
@@ -13,6 +13,7 @@
13
13
  */
14
14
 
15
15
 
16
+ import { PolicyClass } from './policy-class';
16
17
 
17
18
  /**
18
19
  *
@@ -38,6 +39,12 @@ export interface AccountClass {
38
39
  * @memberof AccountClass
39
40
  */
40
41
  'accountNumber': string;
42
+ /**
43
+ * The account\'s title.
44
+ * @type {string}
45
+ * @memberof AccountClass
46
+ */
47
+ 'title'?: AccountClassTitleEnum;
41
48
  /**
42
49
  * The account\'s first name.
43
50
  * @type {string}
@@ -91,13 +98,25 @@ export interface AccountClass {
91
98
  * @type {string}
92
99
  * @memberof AccountClass
93
100
  */
94
- 'birthDate': string;
101
+ 'birthDate'?: string;
95
102
  /**
96
103
  * The account\'s phone number.
97
104
  * @type {string}
98
105
  * @memberof AccountClass
99
106
  */
100
107
  'phone': string;
108
+ /**
109
+ * The type of account, default to person
110
+ * @type {string}
111
+ * @memberof AccountClass
112
+ */
113
+ 'type': string;
114
+ /**
115
+ * The company name of account, required for account type org
116
+ * @type {string}
117
+ * @memberof AccountClass
118
+ */
119
+ 'companyName'?: string;
101
120
  /**
102
121
  * The account\'s version.
103
122
  * @type {number}
@@ -118,21 +137,31 @@ export interface AccountClass {
118
137
  'updatedAt': string;
119
138
  /**
120
139
  * Policies linked to the account.
121
- * @type {Array<string>}
140
+ * @type {Array<PolicyClass>}
122
141
  * @memberof AccountClass
123
142
  */
124
- 'policies': Array<string>;
143
+ 'policies': Array<PolicyClass>;
125
144
  /**
126
145
  * Optional field contain extra information
127
146
  * @type {object}
128
147
  * @memberof AccountClass
129
148
  */
130
- 'metadata': object;
149
+ 'metadata'?: object;
131
150
  /**
132
151
  * Optional field contain custom fields
133
152
  * @type {object}
134
153
  * @memberof AccountClass
135
154
  */
136
- 'customFields': object;
155
+ 'customFields'?: object;
137
156
  }
138
157
 
158
+ export const AccountClassTitleEnum = {
159
+ Empty: '',
160
+ Dr: 'Dr.',
161
+ DrMed: 'Dr. med.',
162
+ ProfDrMed: 'Prof. Dr. med.'
163
+ } as const;
164
+
165
+ export type AccountClassTitleEnum = typeof AccountClassTitleEnum[keyof typeof AccountClassTitleEnum];
166
+
167
+
@@ -21,61 +21,79 @@
21
21
  */
22
22
  export interface CreateAccountRequestDto {
23
23
  /**
24
- * The account\'s first name.
24
+ * Optional field to enter the honorific title you want to be called.
25
+ * @type {string}
26
+ * @memberof CreateAccountRequestDto
27
+ */
28
+ 'title'?: CreateAccountRequestDtoTitleEnum;
29
+ /**
30
+ * The account\'s holder first name.
25
31
  * @type {string}
26
32
  * @memberof CreateAccountRequestDto
27
33
  */
28
34
  'firstName': string;
29
35
  /**
30
- * The account\'s last name.
36
+ * The account\'s holder last name.
31
37
  * @type {string}
32
38
  * @memberof CreateAccountRequestDto
33
39
  */
34
40
  'lastName': string;
35
41
  /**
36
- * The account\'s email address. It is displayed alongside the account in your dashboard and can be useful for searching and tracking.
42
+ * The account\'s holder email address. It is displayed alongside the account in your dashboard and can be useful for searching and tracking.
37
43
  * @type {string}
38
44
  * @memberof CreateAccountRequestDto
39
45
  */
40
46
  'email': string;
41
47
  /**
42
- * The account\'s gender.
48
+ * The account\'s holder gender.
43
49
  * @type {string}
44
50
  * @memberof CreateAccountRequestDto
45
51
  */
46
52
  'gender': CreateAccountRequestDtoGenderEnum;
47
53
  /**
48
- * The account\'s street name.
54
+ * The account\'s holder street name.
49
55
  * @type {string}
50
56
  * @memberof CreateAccountRequestDto
51
57
  */
52
58
  'street': string;
53
59
  /**
54
- * The account\'s ZIP or postal code.
60
+ * The account\'s holder ZIP or postal code.
55
61
  * @type {string}
56
62
  * @memberof CreateAccountRequestDto
57
63
  */
58
64
  'zipCode': string;
59
65
  /**
60
- * The account\'s city, district, suburb, town, or village.
66
+ * The account\'s holder city, district, suburb, town, or village.
61
67
  * @type {string}
62
68
  * @memberof CreateAccountRequestDto
63
69
  */
64
70
  'city': string;
65
71
  /**
66
- * The account\'s house number.
72
+ * The account\'s holder house number.
67
73
  * @type {string}
68
74
  * @memberof CreateAccountRequestDto
69
75
  */
70
76
  'houseNumber': string;
71
77
  /**
72
- * Account\'s birth date.
78
+ * Optional field to enter the type of the account holder.
79
+ * @type {string}
80
+ * @memberof CreateAccountRequestDto
81
+ */
82
+ 'type'?: CreateAccountRequestDtoTypeEnum;
83
+ /**
84
+ * The account\'s holder date of birth (Required for account of type person).
73
85
  * @type {string}
74
86
  * @memberof CreateAccountRequestDto
75
87
  */
76
88
  'birthDate': string;
77
89
  /**
78
- * The account\'s phone number.
90
+ * The account\'s holder company name (Required for account of type org).
91
+ * @type {string}
92
+ * @memberof CreateAccountRequestDto
93
+ */
94
+ 'companyName'?: string;
95
+ /**
96
+ * The account\'s holder phone number.
79
97
  * @type {string}
80
98
  * @memberof CreateAccountRequestDto
81
99
  */
@@ -100,6 +118,14 @@ export interface CreateAccountRequestDto {
100
118
  'customFields'?: object;
101
119
  }
102
120
 
121
+ export const CreateAccountRequestDtoTitleEnum = {
122
+ Empty: '',
123
+ Dr: 'Dr.',
124
+ DrMed: 'Dr. med.',
125
+ ProfDrMed: 'Prof. Dr. med.'
126
+ } as const;
127
+
128
+ export type CreateAccountRequestDtoTitleEnum = typeof CreateAccountRequestDtoTitleEnum[keyof typeof CreateAccountRequestDtoTitleEnum];
103
129
  export const CreateAccountRequestDtoGenderEnum = {
104
130
  Male: 'male',
105
131
  Female: 'female',
@@ -107,5 +133,11 @@ export const CreateAccountRequestDtoGenderEnum = {
107
133
  } as const;
108
134
 
109
135
  export type CreateAccountRequestDtoGenderEnum = typeof CreateAccountRequestDtoGenderEnum[keyof typeof CreateAccountRequestDtoGenderEnum];
136
+ export const CreateAccountRequestDtoTypeEnum = {
137
+ Person: 'person',
138
+ Org: 'org'
139
+ } as const;
140
+
141
+ export type CreateAccountRequestDtoTypeEnum = typeof CreateAccountRequestDtoTypeEnum[keyof typeof CreateAccountRequestDtoTypeEnum];
110
142
 
111
143
 
package/models/index.ts CHANGED
@@ -2,9 +2,9 @@ export * from './account-class';
2
2
  export * from './create-account-request-dto';
3
3
  export * from './create-account-response-class';
4
4
  export * from './delete-request-dto';
5
- export * from './get-account-request-dto';
6
5
  export * from './get-account-response-class';
7
6
  export * from './list-accounts-response-class';
7
+ export * from './policy-class';
8
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,36 @@
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
+ *
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 PolicyClass
21
+ */
22
+ export interface PolicyClass {
23
+ /**
24
+ * Unique identifier for a policy.
25
+ * @type {string}
26
+ * @memberof PolicyClass
27
+ */
28
+ 'policyCode': string;
29
+ /**
30
+ * Number used on official documents.
31
+ * @type {string}
32
+ * @memberof PolicyClass
33
+ */
34
+ 'policyNumber': string;
35
+ }
36
+