@emilgroup/customer-sdk-node 1.9.1 → 1.10.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.
- package/.openapi-generator/FILES +5 -0
- package/README.md +2 -2
- package/api/authentication-api.ts +601 -0
- package/api/claims-api.ts +16 -16
- package/api/customers-api.ts +72 -1770
- package/api/documents-api.ts +442 -0
- package/api/invites-api.ts +443 -0
- package/api/invoices-api.ts +245 -0
- package/api/payments-api.ts +277 -0
- package/api/policies-api.ts +16 -16
- package/api/products-api.ts +16 -16
- package/api.ts +10 -0
- package/dist/api/authentication-api.d.ts +332 -0
- package/dist/api/authentication-api.js +604 -0
- package/dist/api/claims-api.d.ts +16 -16
- package/dist/api/claims-api.js +12 -12
- package/dist/api/customers-api.d.ts +0 -954
- package/dist/api/customers-api.js +20 -1381
- package/dist/api/documents-api.d.ts +262 -0
- package/dist/api/documents-api.js +417 -0
- package/dist/api/invites-api.d.ts +248 -0
- package/dist/api/invites-api.js +456 -0
- package/dist/api/invoices-api.d.ts +150 -0
- package/dist/api/invoices-api.js +253 -0
- package/dist/api/payments-api.d.ts +162 -0
- package/dist/api/payments-api.js +306 -0
- package/dist/api/policies-api.d.ts +16 -16
- package/dist/api/policies-api.js +12 -12
- package/dist/api/products-api.d.ts +16 -16
- package/dist/api/products-api.js +12 -12
- package/dist/api.d.ts +5 -0
- package/dist/api.js +5 -0
- package/dist/models/account-class.d.ts +26 -1
- package/dist/models/account-class.js +7 -0
- package/dist/models/create-account-request-dto.d.ts +39 -9
- package/dist/models/create-account-request-dto.js +11 -1
- package/models/account-class.ts +29 -1
- package/models/create-account-request-dto.ts +41 -9
- package/package.json +2 -2
package/dist/api.d.ts
CHANGED
|
@@ -9,8 +9,13 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
export * from './api/authentication-api';
|
|
12
13
|
export * from './api/claims-api';
|
|
13
14
|
export * from './api/customers-api';
|
|
15
|
+
export * from './api/documents-api';
|
|
16
|
+
export * from './api/invites-api';
|
|
17
|
+
export * from './api/invoices-api';
|
|
18
|
+
export * from './api/payments-api';
|
|
14
19
|
export * from './api/policies-api';
|
|
15
20
|
export * from './api/products-api';
|
|
16
21
|
export declare enum Environment {
|
package/dist/api.js
CHANGED
|
@@ -28,8 +28,13 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
28
28
|
};
|
|
29
29
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
30
|
exports.Environment = void 0;
|
|
31
|
+
__exportStar(require("./api/authentication-api"), exports);
|
|
31
32
|
__exportStar(require("./api/claims-api"), exports);
|
|
32
33
|
__exportStar(require("./api/customers-api"), exports);
|
|
34
|
+
__exportStar(require("./api/documents-api"), exports);
|
|
35
|
+
__exportStar(require("./api/invites-api"), exports);
|
|
36
|
+
__exportStar(require("./api/invoices-api"), exports);
|
|
37
|
+
__exportStar(require("./api/payments-api"), exports);
|
|
33
38
|
__exportStar(require("./api/policies-api"), exports);
|
|
34
39
|
__exportStar(require("./api/products-api"), exports);
|
|
35
40
|
var Environment;
|
|
@@ -34,6 +34,12 @@ export interface AccountClass {
|
|
|
34
34
|
* @memberof AccountClass
|
|
35
35
|
*/
|
|
36
36
|
'accountNumber': string;
|
|
37
|
+
/**
|
|
38
|
+
* The account\'s title.
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof AccountClass
|
|
41
|
+
*/
|
|
42
|
+
'title': AccountClassTitleEnum;
|
|
37
43
|
/**
|
|
38
44
|
* The account\'s first name.
|
|
39
45
|
* @type {string}
|
|
@@ -87,13 +93,25 @@ export interface AccountClass {
|
|
|
87
93
|
* @type {string}
|
|
88
94
|
* @memberof AccountClass
|
|
89
95
|
*/
|
|
90
|
-
'birthDate'
|
|
96
|
+
'birthDate'?: string;
|
|
91
97
|
/**
|
|
92
98
|
* The account\'s phone number.
|
|
93
99
|
* @type {string}
|
|
94
100
|
* @memberof AccountClass
|
|
95
101
|
*/
|
|
96
102
|
'phone': string;
|
|
103
|
+
/**
|
|
104
|
+
* The type of account, default to person
|
|
105
|
+
* @type {string}
|
|
106
|
+
* @memberof AccountClass
|
|
107
|
+
*/
|
|
108
|
+
'type': string;
|
|
109
|
+
/**
|
|
110
|
+
* The company name of account, required for account type org
|
|
111
|
+
* @type {string}
|
|
112
|
+
* @memberof AccountClass
|
|
113
|
+
*/
|
|
114
|
+
'companyName': string;
|
|
97
115
|
/**
|
|
98
116
|
* The account\'s version.
|
|
99
117
|
* @type {number}
|
|
@@ -131,3 +149,10 @@ export interface AccountClass {
|
|
|
131
149
|
*/
|
|
132
150
|
'customFields': object;
|
|
133
151
|
}
|
|
152
|
+
export declare const AccountClassTitleEnum: {
|
|
153
|
+
readonly Empty: "";
|
|
154
|
+
readonly Dr: "Dr.";
|
|
155
|
+
readonly DrMed: "Dr. med.";
|
|
156
|
+
readonly ProfDrMed: "Prof. Dr. med.";
|
|
157
|
+
};
|
|
158
|
+
export type AccountClassTitleEnum = typeof AccountClassTitleEnum[keyof typeof AccountClassTitleEnum];
|
|
@@ -13,3 +13,10 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.AccountClassTitleEnum = void 0;
|
|
17
|
+
exports.AccountClassTitleEnum = {
|
|
18
|
+
Empty: '',
|
|
19
|
+
Dr: 'Dr.',
|
|
20
|
+
DrMed: 'Dr. med.',
|
|
21
|
+
ProfDrMed: 'Prof. Dr. med.'
|
|
22
|
+
};
|
|
@@ -16,55 +16,73 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface CreateAccountRequestDto {
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
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 gender.
|
|
37
|
+
* The account\'s holder gender.
|
|
32
38
|
* @type {string}
|
|
33
39
|
* @memberof CreateAccountRequestDto
|
|
34
40
|
*/
|
|
35
41
|
'gender': CreateAccountRequestDtoGenderEnum;
|
|
36
42
|
/**
|
|
37
|
-
* The account\'s street name.
|
|
43
|
+
* The account\'s holder street name.
|
|
38
44
|
* @type {string}
|
|
39
45
|
* @memberof CreateAccountRequestDto
|
|
40
46
|
*/
|
|
41
47
|
'street': string;
|
|
42
48
|
/**
|
|
43
|
-
* The account\'s ZIP or postal code.
|
|
49
|
+
* The account\'s holder ZIP or postal code.
|
|
44
50
|
* @type {string}
|
|
45
51
|
* @memberof CreateAccountRequestDto
|
|
46
52
|
*/
|
|
47
53
|
'zipCode': string;
|
|
48
54
|
/**
|
|
49
|
-
* The account\'s city, district, suburb, town, or village.
|
|
55
|
+
* The account\'s holder city, district, suburb, town, or village.
|
|
50
56
|
* @type {string}
|
|
51
57
|
* @memberof CreateAccountRequestDto
|
|
52
58
|
*/
|
|
53
59
|
'city': string;
|
|
54
60
|
/**
|
|
55
|
-
* The account\'s house number.
|
|
61
|
+
* The account\'s holder house number.
|
|
56
62
|
* @type {string}
|
|
57
63
|
* @memberof CreateAccountRequestDto
|
|
58
64
|
*/
|
|
59
65
|
'houseNumber': string;
|
|
66
|
+
/**
|
|
67
|
+
* Optional field to enter the type of the account holder.
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof CreateAccountRequestDto
|
|
70
|
+
*/
|
|
71
|
+
'type'?: CreateAccountRequestDtoTypeEnum;
|
|
60
72
|
/**
|
|
61
73
|
* Account\'s birth date.
|
|
62
74
|
* @type {string}
|
|
63
75
|
* @memberof CreateAccountRequestDto
|
|
64
76
|
*/
|
|
65
|
-
'birthDate'
|
|
77
|
+
'birthDate'?: string;
|
|
66
78
|
/**
|
|
67
|
-
* The account\'s
|
|
79
|
+
* The account\'s holder company name (Required for account of type org).
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof CreateAccountRequestDto
|
|
82
|
+
*/
|
|
83
|
+
'companyName'?: string;
|
|
84
|
+
/**
|
|
85
|
+
* The account\'s holder phone number.
|
|
68
86
|
* @type {string}
|
|
69
87
|
* @memberof CreateAccountRequestDto
|
|
70
88
|
*/
|
|
@@ -88,9 +106,21 @@ export interface CreateAccountRequestDto {
|
|
|
88
106
|
*/
|
|
89
107
|
'customFields'?: object;
|
|
90
108
|
}
|
|
109
|
+
export declare const CreateAccountRequestDtoTitleEnum: {
|
|
110
|
+
readonly Empty: "";
|
|
111
|
+
readonly Dr: "Dr.";
|
|
112
|
+
readonly DrMed: "Dr. med.";
|
|
113
|
+
readonly ProfDrMed: "Prof. Dr. med.";
|
|
114
|
+
};
|
|
115
|
+
export type CreateAccountRequestDtoTitleEnum = typeof CreateAccountRequestDtoTitleEnum[keyof typeof CreateAccountRequestDtoTitleEnum];
|
|
91
116
|
export declare const CreateAccountRequestDtoGenderEnum: {
|
|
92
117
|
readonly Male: "male";
|
|
93
118
|
readonly Female: "female";
|
|
94
119
|
readonly Unspecified: "unspecified";
|
|
95
120
|
};
|
|
96
121
|
export type CreateAccountRequestDtoGenderEnum = typeof CreateAccountRequestDtoGenderEnum[keyof typeof CreateAccountRequestDtoGenderEnum];
|
|
122
|
+
export declare const CreateAccountRequestDtoTypeEnum: {
|
|
123
|
+
readonly Person: "person";
|
|
124
|
+
readonly Org: "org";
|
|
125
|
+
};
|
|
126
|
+
export type CreateAccountRequestDtoTypeEnum = typeof CreateAccountRequestDtoTypeEnum[keyof typeof CreateAccountRequestDtoTypeEnum];
|
|
@@ -13,9 +13,19 @@
|
|
|
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.CreateAccountRequestDtoTypeEnum = exports.CreateAccountRequestDtoGenderEnum = exports.CreateAccountRequestDtoTitleEnum = void 0;
|
|
17
|
+
exports.CreateAccountRequestDtoTitleEnum = {
|
|
18
|
+
Empty: '',
|
|
19
|
+
Dr: 'Dr.',
|
|
20
|
+
DrMed: 'Dr. med.',
|
|
21
|
+
ProfDrMed: 'Prof. Dr. med.'
|
|
22
|
+
};
|
|
17
23
|
exports.CreateAccountRequestDtoGenderEnum = {
|
|
18
24
|
Male: 'male',
|
|
19
25
|
Female: 'female',
|
|
20
26
|
Unspecified: 'unspecified'
|
|
21
27
|
};
|
|
28
|
+
exports.CreateAccountRequestDtoTypeEnum = {
|
|
29
|
+
Person: 'person',
|
|
30
|
+
Org: 'org'
|
|
31
|
+
};
|
package/models/account-class.ts
CHANGED
|
@@ -39,6 +39,12 @@ export interface AccountClass {
|
|
|
39
39
|
* @memberof AccountClass
|
|
40
40
|
*/
|
|
41
41
|
'accountNumber': string;
|
|
42
|
+
/**
|
|
43
|
+
* The account\'s title.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof AccountClass
|
|
46
|
+
*/
|
|
47
|
+
'title': AccountClassTitleEnum;
|
|
42
48
|
/**
|
|
43
49
|
* The account\'s first name.
|
|
44
50
|
* @type {string}
|
|
@@ -92,13 +98,25 @@ export interface AccountClass {
|
|
|
92
98
|
* @type {string}
|
|
93
99
|
* @memberof AccountClass
|
|
94
100
|
*/
|
|
95
|
-
'birthDate'
|
|
101
|
+
'birthDate'?: string;
|
|
96
102
|
/**
|
|
97
103
|
* The account\'s phone number.
|
|
98
104
|
* @type {string}
|
|
99
105
|
* @memberof AccountClass
|
|
100
106
|
*/
|
|
101
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;
|
|
102
120
|
/**
|
|
103
121
|
* The account\'s version.
|
|
104
122
|
* @type {number}
|
|
@@ -137,3 +155,13 @@ export interface AccountClass {
|
|
|
137
155
|
'customFields': object;
|
|
138
156
|
}
|
|
139
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,55 +21,73 @@
|
|
|
21
21
|
*/
|
|
22
22
|
export interface CreateAccountRequestDto {
|
|
23
23
|
/**
|
|
24
|
-
*
|
|
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 gender.
|
|
42
|
+
* The account\'s holder gender.
|
|
37
43
|
* @type {string}
|
|
38
44
|
* @memberof CreateAccountRequestDto
|
|
39
45
|
*/
|
|
40
46
|
'gender': CreateAccountRequestDtoGenderEnum;
|
|
41
47
|
/**
|
|
42
|
-
* The account\'s street name.
|
|
48
|
+
* The account\'s holder street name.
|
|
43
49
|
* @type {string}
|
|
44
50
|
* @memberof CreateAccountRequestDto
|
|
45
51
|
*/
|
|
46
52
|
'street': string;
|
|
47
53
|
/**
|
|
48
|
-
* The account\'s ZIP or postal code.
|
|
54
|
+
* The account\'s holder ZIP or postal code.
|
|
49
55
|
* @type {string}
|
|
50
56
|
* @memberof CreateAccountRequestDto
|
|
51
57
|
*/
|
|
52
58
|
'zipCode': string;
|
|
53
59
|
/**
|
|
54
|
-
* The account\'s city, district, suburb, town, or village.
|
|
60
|
+
* The account\'s holder city, district, suburb, town, or village.
|
|
55
61
|
* @type {string}
|
|
56
62
|
* @memberof CreateAccountRequestDto
|
|
57
63
|
*/
|
|
58
64
|
'city': string;
|
|
59
65
|
/**
|
|
60
|
-
* The account\'s house number.
|
|
66
|
+
* The account\'s holder house number.
|
|
61
67
|
* @type {string}
|
|
62
68
|
* @memberof CreateAccountRequestDto
|
|
63
69
|
*/
|
|
64
70
|
'houseNumber': string;
|
|
71
|
+
/**
|
|
72
|
+
* Optional field to enter the type of the account holder.
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof CreateAccountRequestDto
|
|
75
|
+
*/
|
|
76
|
+
'type'?: CreateAccountRequestDtoTypeEnum;
|
|
65
77
|
/**
|
|
66
78
|
* Account\'s birth date.
|
|
67
79
|
* @type {string}
|
|
68
80
|
* @memberof CreateAccountRequestDto
|
|
69
81
|
*/
|
|
70
|
-
'birthDate'
|
|
82
|
+
'birthDate'?: string;
|
|
71
83
|
/**
|
|
72
|
-
* The account\'s
|
|
84
|
+
* The account\'s holder company name (Required for account of type org).
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof CreateAccountRequestDto
|
|
87
|
+
*/
|
|
88
|
+
'companyName'?: string;
|
|
89
|
+
/**
|
|
90
|
+
* The account\'s holder phone number.
|
|
73
91
|
* @type {string}
|
|
74
92
|
* @memberof CreateAccountRequestDto
|
|
75
93
|
*/
|
|
@@ -94,6 +112,14 @@ export interface CreateAccountRequestDto {
|
|
|
94
112
|
'customFields'?: object;
|
|
95
113
|
}
|
|
96
114
|
|
|
115
|
+
export const CreateAccountRequestDtoTitleEnum = {
|
|
116
|
+
Empty: '',
|
|
117
|
+
Dr: 'Dr.',
|
|
118
|
+
DrMed: 'Dr. med.',
|
|
119
|
+
ProfDrMed: 'Prof. Dr. med.'
|
|
120
|
+
} as const;
|
|
121
|
+
|
|
122
|
+
export type CreateAccountRequestDtoTitleEnum = typeof CreateAccountRequestDtoTitleEnum[keyof typeof CreateAccountRequestDtoTitleEnum];
|
|
97
123
|
export const CreateAccountRequestDtoGenderEnum = {
|
|
98
124
|
Male: 'male',
|
|
99
125
|
Female: 'female',
|
|
@@ -101,5 +127,11 @@ export const CreateAccountRequestDtoGenderEnum = {
|
|
|
101
127
|
} as const;
|
|
102
128
|
|
|
103
129
|
export type CreateAccountRequestDtoGenderEnum = typeof CreateAccountRequestDtoGenderEnum[keyof typeof CreateAccountRequestDtoGenderEnum];
|
|
130
|
+
export const CreateAccountRequestDtoTypeEnum = {
|
|
131
|
+
Person: 'person',
|
|
132
|
+
Org: 'org'
|
|
133
|
+
} as const;
|
|
134
|
+
|
|
135
|
+
export type CreateAccountRequestDtoTypeEnum = typeof CreateAccountRequestDtoTypeEnum[keyof typeof CreateAccountRequestDtoTypeEnum];
|
|
104
136
|
|
|
105
137
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@emilgroup/customer-sdk-node",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.10.0",
|
|
4
4
|
"description": "OpenAPI client for @emilgroup/customer-sdk-node",
|
|
5
5
|
"author": "OpenAPI-Generator Contributors",
|
|
6
6
|
"keywords": [
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"url": "^0.11.0"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
|
|
26
|
+
"@types/node": "^12.11.5",
|
|
27
27
|
"typescript": "^4.0"
|
|
28
28
|
}
|
|
29
29
|
}
|