@emilgroup/account-sdk 1.11.0 → 1.13.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 (39) hide show
  1. package/README.md +2 -2
  2. package/models/account-class.ts +1 -1
  3. package/package.json +1 -2
  4. package/dist/api/accounts-api.d.ts +0 -384
  5. package/dist/api/accounts-api.js +0 -636
  6. package/dist/api/default-api.d.ts +0 -66
  7. package/dist/api/default-api.js +0 -196
  8. package/dist/api.d.ts +0 -13
  9. package/dist/api.js +0 -31
  10. package/dist/base.d.ts +0 -74
  11. package/dist/base.js +0 -298
  12. package/dist/common.d.ts +0 -91
  13. package/dist/common.js +0 -276
  14. package/dist/configuration.d.ts +0 -83
  15. package/dist/configuration.js +0 -44
  16. package/dist/index.d.ts +0 -15
  17. package/dist/index.js +0 -36
  18. package/dist/models/account-class.d.ts +0 -164
  19. package/dist/models/account-class.js +0 -22
  20. package/dist/models/create-account-request-dto.d.ts +0 -132
  21. package/dist/models/create-account-request-dto.js +0 -31
  22. package/dist/models/create-account-response-class.d.ts +0 -25
  23. package/dist/models/create-account-response-class.js +0 -15
  24. package/dist/models/get-account-response-class.d.ts +0 -25
  25. package/dist/models/get-account-response-class.js +0 -15
  26. package/dist/models/index.d.ts +0 -10
  27. package/dist/models/index.js +0 -26
  28. package/dist/models/inline-response200.d.ts +0 -54
  29. package/dist/models/inline-response200.js +0 -15
  30. package/dist/models/inline-response503.d.ts +0 -54
  31. package/dist/models/inline-response503.js +0 -15
  32. package/dist/models/list-accounts-response-class.d.ts +0 -31
  33. package/dist/models/list-accounts-response-class.js +0 -15
  34. package/dist/models/policy-class.d.ts +0 -30
  35. package/dist/models/policy-class.js +0 -15
  36. package/dist/models/update-account-request-dto.d.ts +0 -132
  37. package/dist/models/update-account-request-dto.js +0 -31
  38. package/dist/models/update-account-response-class.d.ts +0 -25
  39. package/dist/models/update-account-response-class.js +0 -15
@@ -1,164 +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
- import { PolicyClass } from './policy-class';
13
- /**
14
- *
15
- * @export
16
- * @interface AccountClass
17
- */
18
- export interface AccountClass {
19
- /**
20
- * Internal unique identifier for the object. You should not have to use this, use code instead.
21
- * @type {number}
22
- * @memberof AccountClass
23
- */
24
- 'id': number;
25
- /**
26
- * Unique identifier for the object.
27
- * @type {string}
28
- * @memberof AccountClass
29
- */
30
- 'code': string;
31
- /**
32
- * Optional field in order to use a specific account number.
33
- * @type {string}
34
- * @memberof AccountClass
35
- */
36
- 'accountNumber': string;
37
- /**
38
- * The account\'s title.
39
- * @type {string}
40
- * @memberof AccountClass
41
- */
42
- 'title'?: AccountClassTitleEnum;
43
- /**
44
- * The account\'s first name.
45
- * @type {string}
46
- * @memberof AccountClass
47
- */
48
- 'firstName': string;
49
- /**
50
- * The account\'s last name.
51
- * @type {string}
52
- * @memberof AccountClass
53
- */
54
- 'lastName': string;
55
- /**
56
- * The account\'s email address, It is displayed alongside the account in your dashboard and can be useful for searching and tracking.
57
- * @type {string}
58
- * @memberof AccountClass
59
- */
60
- 'email': string;
61
- /**
62
- * The account\'s gender.
63
- * @type {string}
64
- * @memberof AccountClass
65
- */
66
- 'gender': string;
67
- /**
68
- * The account\'s street name.
69
- * @type {string}
70
- * @memberof AccountClass
71
- */
72
- 'street': string;
73
- /**
74
- * The account\'s house number.
75
- * @type {string}
76
- * @memberof AccountClass
77
- */
78
- 'houseNumber': string;
79
- /**
80
- * The account\'s ZIP or postal code
81
- * @type {string}
82
- * @memberof AccountClass
83
- */
84
- 'zipCode': string;
85
- /**
86
- * The account\'s city, district, suburb, town, or village.
87
- * @type {string}
88
- * @memberof AccountClass
89
- */
90
- 'city': string;
91
- /**
92
- * The account\'s date of birth. required for account type person
93
- * @type {string}
94
- * @memberof AccountClass
95
- */
96
- 'birthDate'?: string;
97
- /**
98
- * The account\'s phone number.
99
- * @type {string}
100
- * @memberof AccountClass
101
- */
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;
115
- /**
116
- * The account\'s version.
117
- * @type {number}
118
- * @memberof AccountClass
119
- */
120
- 'version': number;
121
- /**
122
- * Time at which the object was created.
123
- * @type {string}
124
- * @memberof AccountClass
125
- */
126
- 'createdAt': string;
127
- /**
128
- * Time at which the object was updated.
129
- * @type {string}
130
- * @memberof AccountClass
131
- */
132
- 'updatedAt': string;
133
- /**
134
- * Policies linked to the account.
135
- * @type {Array<PolicyClass>}
136
- * @memberof AccountClass
137
- */
138
- 'policies': Array<PolicyClass>;
139
- /**
140
- * Optional field contain extra information.
141
- * @type {object}
142
- * @memberof AccountClass
143
- */
144
- 'metadata'?: object;
145
- /**
146
- * Optional field contain custom fields.
147
- * @type {object}
148
- * @memberof AccountClass
149
- */
150
- 'customFields'?: object;
151
- /**
152
- * Emil Resources Names (ERN) identifies the most specific owner of a resource.
153
- * @type {string}
154
- * @memberof AccountClass
155
- */
156
- 'ern': string;
157
- }
158
- export declare const AccountClassTitleEnum: {
159
- readonly Empty: "";
160
- readonly Dr: "Dr.";
161
- readonly DrMed: "Dr. med.";
162
- readonly ProfDrMed: "Prof. Dr. med.";
163
- };
164
- export type AccountClassTitleEnum = typeof AccountClassTitleEnum[keyof typeof AccountClassTitleEnum];
@@ -1,22 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * EMIL AccountService
6
- * The EMIL AccountService API description
7
- *
8
- * The version of the OpenAPI document: 1.0
9
- * Contact: kontakt@emil.de
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
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
- };
@@ -1,132 +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 CreateAccountRequestDto
16
- */
17
- export interface CreateAccountRequestDto {
18
- /**
19
- * Optional field to enter your own account number.
20
- * @type {string}
21
- * @memberof CreateAccountRequestDto
22
- */
23
- 'accountNumber'?: string;
24
- /**
25
- * Optional field to enter the honorific title you want to be called.
26
- * @type {string}
27
- * @memberof CreateAccountRequestDto
28
- */
29
- 'title'?: CreateAccountRequestDtoTitleEnum;
30
- /**
31
- * The account\'s holder first name.
32
- * @type {string}
33
- * @memberof CreateAccountRequestDto
34
- */
35
- 'firstName': string;
36
- /**
37
- * The account\'s holder last name.
38
- * @type {string}
39
- * @memberof CreateAccountRequestDto
40
- */
41
- 'lastName': string;
42
- /**
43
- * The account\'s holder email address. It is displayed alongside the account in your dashboard and can be useful for searching and tracking.
44
- * @type {string}
45
- * @memberof CreateAccountRequestDto
46
- */
47
- 'email': string;
48
- /**
49
- * The account\'s holder gender.
50
- * @type {string}
51
- * @memberof CreateAccountRequestDto
52
- */
53
- 'gender': CreateAccountRequestDtoGenderEnum;
54
- /**
55
- * The account\'s holder street name.
56
- * @type {string}
57
- * @memberof CreateAccountRequestDto
58
- */
59
- 'street': string;
60
- /**
61
- * The account\'s holder house number.
62
- * @type {string}
63
- * @memberof CreateAccountRequestDto
64
- */
65
- 'houseNumber': string;
66
- /**
67
- * The account\'s holder ZIP or postal code.
68
- * @type {string}
69
- * @memberof CreateAccountRequestDto
70
- */
71
- 'zipCode': string;
72
- /**
73
- * The account\'s holder city, district, suburb, town, or village.
74
- * @type {string}
75
- * @memberof CreateAccountRequestDto
76
- */
77
- 'city': string;
78
- /**
79
- * The account\'s holder date of birth (Required for account of type person).
80
- * @type {string}
81
- * @memberof CreateAccountRequestDto
82
- */
83
- 'birthDate'?: string;
84
- /**
85
- * The account\'s holder phone number.
86
- * @type {string}
87
- * @memberof CreateAccountRequestDto
88
- */
89
- 'phone': string;
90
- /**
91
- * Optional field to enter extra information.
92
- * @type {object}
93
- * @memberof CreateAccountRequestDto
94
- */
95
- 'metadata'?: object;
96
- /**
97
- * Optional field to add predefined custom fields.
98
- * @type {object}
99
- * @memberof CreateAccountRequestDto
100
- */
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
- }
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 type CreateAccountRequestDtoTitleEnum = typeof CreateAccountRequestDtoTitleEnum[keyof typeof CreateAccountRequestDtoTitleEnum];
122
- export declare const CreateAccountRequestDtoGenderEnum: {
123
- readonly Male: "male";
124
- readonly Female: "female";
125
- readonly Unspecified: "unspecified";
126
- };
127
- export type CreateAccountRequestDtoGenderEnum = typeof CreateAccountRequestDtoGenderEnum[keyof typeof CreateAccountRequestDtoGenderEnum];
128
- export declare const CreateAccountRequestDtoTypeEnum: {
129
- readonly Person: "person";
130
- readonly Org: "org";
131
- };
132
- export type CreateAccountRequestDtoTypeEnum = typeof CreateAccountRequestDtoTypeEnum[keyof typeof CreateAccountRequestDtoTypeEnum];
@@ -1,31 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * EMIL AccountService
6
- * The EMIL AccountService API description
7
- *
8
- * The version of the OpenAPI document: 1.0
9
- * Contact: kontakt@emil.de
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
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
- };
23
- exports.CreateAccountRequestDtoGenderEnum = {
24
- Male: 'male',
25
- Female: 'female',
26
- Unspecified: 'unspecified'
27
- };
28
- exports.CreateAccountRequestDtoTypeEnum = {
29
- Person: 'person',
30
- Org: 'org'
31
- };
@@ -1,25 +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
- import { AccountClass } from './account-class';
13
- /**
14
- *
15
- * @export
16
- * @interface CreateAccountResponseClass
17
- */
18
- export interface CreateAccountResponseClass {
19
- /**
20
- * The account response.
21
- * @type {AccountClass}
22
- * @memberof CreateAccountResponseClass
23
- */
24
- 'account': AccountClass;
25
- }
@@ -1,15 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * EMIL AccountService
6
- * The EMIL AccountService API description
7
- *
8
- * The version of the OpenAPI document: 1.0
9
- * Contact: kontakt@emil.de
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,25 +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
- import { AccountClass } from './account-class';
13
- /**
14
- *
15
- * @export
16
- * @interface GetAccountResponseClass
17
- */
18
- export interface GetAccountResponseClass {
19
- /**
20
- * The account response.
21
- * @type {AccountClass}
22
- * @memberof GetAccountResponseClass
23
- */
24
- 'account': AccountClass;
25
- }
@@ -1,15 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * EMIL AccountService
6
- * The EMIL AccountService API description
7
- *
8
- * The version of the OpenAPI document: 1.0
9
- * Contact: kontakt@emil.de
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,10 +0,0 @@
1
- export * from './account-class';
2
- export * from './create-account-request-dto';
3
- export * from './create-account-response-class';
4
- export * from './get-account-response-class';
5
- export * from './inline-response200';
6
- export * from './inline-response503';
7
- export * from './list-accounts-response-class';
8
- export * from './policy-class';
9
- export * from './update-account-request-dto';
10
- export * from './update-account-response-class';
@@ -1,26 +0,0 @@
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
- };
16
- 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("./get-account-response-class"), exports);
21
- __exportStar(require("./inline-response200"), exports);
22
- __exportStar(require("./inline-response503"), exports);
23
- __exportStar(require("./list-accounts-response-class"), exports);
24
- __exportStar(require("./policy-class"), exports);
25
- __exportStar(require("./update-account-request-dto"), exports);
26
- __exportStar(require("./update-account-response-class"), exports);
@@ -1,54 +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 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
- }
@@ -1,15 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * EMIL AccountService
6
- * The EMIL AccountService API description
7
- *
8
- * The version of the OpenAPI document: 1.0
9
- * Contact: kontakt@emil.de
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,54 +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 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
- }
@@ -1,15 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * EMIL AccountService
6
- * The EMIL AccountService API description
7
- *
8
- * The version of the OpenAPI document: 1.0
9
- * Contact: kontakt@emil.de
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,31 +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
- import { AccountClass } from './account-class';
13
- /**
14
- *
15
- * @export
16
- * @interface ListAccountsResponseClass
17
- */
18
- export interface ListAccountsResponseClass {
19
- /**
20
- * The list of accounts.
21
- * @type {Array<AccountClass>}
22
- * @memberof ListAccountsResponseClass
23
- */
24
- 'items': Array<AccountClass>;
25
- /**
26
- * Next page token
27
- * @type {string}
28
- * @memberof ListAccountsResponseClass
29
- */
30
- 'nextPageToken': string;
31
- }
@@ -1,15 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * EMIL AccountService
6
- * The EMIL AccountService API description
7
- *
8
- * The version of the OpenAPI document: 1.0
9
- * Contact: kontakt@emil.de
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });