@emilgroup/customer-sdk-node 1.4.0 → 1.6.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 +9 -1
- package/README.md +2 -2
- package/api/customers-api.ts +353 -0
- package/base.ts +56 -13
- package/dist/api/customers-api.d.ts +205 -0
- package/dist/api/customers-api.js +271 -0
- package/dist/base.d.ts +1 -0
- package/dist/base.js +46 -8
- package/dist/models/account-class.d.ts +132 -0
- package/dist/models/{create-account-request-dto.js → account-class.js} +0 -6
- package/dist/models/create-customer-request-dto.d.ts +0 -7
- package/dist/models/create-customer-response-class.d.ts +3 -2
- package/dist/models/customer-class.d.ts +67 -0
- package/dist/models/customer-class.js +15 -0
- package/dist/models/customer-document-class.d.ts +99 -0
- package/dist/models/customer-document-class.js +36 -0
- package/dist/models/get-customer-document-download-url-response-class.d.ts +24 -0
- package/dist/models/get-customer-document-download-url-response-class.js +15 -0
- package/dist/models/get-customer-response-class.d.ts +3 -2
- package/dist/models/index.d.ts +9 -1
- package/dist/models/index.js +9 -1
- package/dist/models/invoice-class.d.ts +135 -0
- package/dist/models/invoice-class.js +28 -0
- package/dist/models/list-documents-response-class.d.ts +3 -2
- package/dist/models/list-invoices-response-class.d.ts +3 -2
- package/dist/models/reset-password-by-customer-request-dto.d.ts +1 -1
- package/dist/models/shared-invoice-item-class.d.ts +102 -0
- package/dist/models/shared-invoice-item-class.js +15 -0
- package/dist/models/terminate-customer-policy-request-dto.d.ts +24 -0
- package/dist/models/terminate-customer-policy-request-dto.js +15 -0
- package/dist/models/terminate-customer-policy-response-class.d.ts +25 -0
- package/dist/models/terminate-customer-policy-response-class.js +15 -0
- package/dist/models/update-account-request-dto.d.ts +10 -10
- package/dist/models/update-customer-response-class.d.ts +3 -2
- package/dist/models/withdraw-customer-policy-response-class.d.ts +25 -0
- package/dist/models/withdraw-customer-policy-response-class.js +15 -0
- package/models/account-class.ts +138 -0
- package/models/create-customer-request-dto.ts +0 -7
- package/models/create-customer-response-class.ts +3 -2
- package/models/customer-class.ts +73 -0
- package/models/customer-document-class.ts +108 -0
- package/models/get-customer-document-download-url-response-class.ts +30 -0
- package/models/get-customer-response-class.ts +3 -2
- package/models/index.ts +9 -1
- package/models/invoice-class.ts +145 -0
- package/models/list-documents-response-class.ts +3 -2
- package/models/list-invoices-response-class.ts +3 -2
- package/models/reset-password-by-customer-request-dto.ts +1 -1
- package/models/shared-invoice-item-class.ts +108 -0
- package/models/terminate-customer-policy-request-dto.ts +30 -0
- package/models/terminate-customer-policy-response-class.ts +31 -0
- package/models/update-account-request-dto.ts +10 -10
- package/models/update-customer-response-class.ts +3 -2
- package/models/withdraw-customer-policy-response-class.ts +31 -0
- package/package.json +1 -1
- package/dist/models/create-account-request-dto.d.ts +0 -102
- package/models/create-account-request-dto.ts +0 -111
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* EMIL CustomerService
|
|
5
|
-
* The EMIL CustomerService 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 CreateAccountRequestDto
|
|
21
|
-
*/
|
|
22
|
-
export interface CreateAccountRequestDto {
|
|
23
|
-
/**
|
|
24
|
-
* The account\'s first name.
|
|
25
|
-
* @type {string}
|
|
26
|
-
* @memberof CreateAccountRequestDto
|
|
27
|
-
*/
|
|
28
|
-
'firstName': string;
|
|
29
|
-
/**
|
|
30
|
-
* The account\'s last name.
|
|
31
|
-
* @type {string}
|
|
32
|
-
* @memberof CreateAccountRequestDto
|
|
33
|
-
*/
|
|
34
|
-
'lastName': string;
|
|
35
|
-
/**
|
|
36
|
-
* The account\'s email address. It is displayed alongside the account in the admin dashboard and can be useful for searching and tracking.
|
|
37
|
-
* @type {string}
|
|
38
|
-
* @memberof CreateAccountRequestDto
|
|
39
|
-
*/
|
|
40
|
-
'email': string;
|
|
41
|
-
/**
|
|
42
|
-
* The account\'s gender.
|
|
43
|
-
* @type {string}
|
|
44
|
-
* @memberof CreateAccountRequestDto
|
|
45
|
-
*/
|
|
46
|
-
'gender': CreateAccountRequestDtoGenderEnum;
|
|
47
|
-
/**
|
|
48
|
-
* The account\'s street name.
|
|
49
|
-
* @type {string}
|
|
50
|
-
* @memberof CreateAccountRequestDto
|
|
51
|
-
*/
|
|
52
|
-
'street': string;
|
|
53
|
-
/**
|
|
54
|
-
* The account\'s ZIP or postal code.
|
|
55
|
-
* @type {string}
|
|
56
|
-
* @memberof CreateAccountRequestDto
|
|
57
|
-
*/
|
|
58
|
-
'zipCode': string;
|
|
59
|
-
/**
|
|
60
|
-
* The account\'s city, district, suburb, town, or village.
|
|
61
|
-
* @type {string}
|
|
62
|
-
* @memberof CreateAccountRequestDto
|
|
63
|
-
*/
|
|
64
|
-
'city': string;
|
|
65
|
-
/**
|
|
66
|
-
* The account\'s house number.
|
|
67
|
-
* @type {string}
|
|
68
|
-
* @memberof CreateAccountRequestDto
|
|
69
|
-
*/
|
|
70
|
-
'houseNumber': string;
|
|
71
|
-
/**
|
|
72
|
-
* Account\'s birth date.
|
|
73
|
-
* @type {string}
|
|
74
|
-
* @memberof CreateAccountRequestDto
|
|
75
|
-
*/
|
|
76
|
-
'birthDate': string;
|
|
77
|
-
/**
|
|
78
|
-
* The account\'s phone number.
|
|
79
|
-
* @type {string}
|
|
80
|
-
* @memberof CreateAccountRequestDto
|
|
81
|
-
*/
|
|
82
|
-
'phone': string;
|
|
83
|
-
/**
|
|
84
|
-
* Optional field to enter your own account number.
|
|
85
|
-
* @type {string}
|
|
86
|
-
* @memberof CreateAccountRequestDto
|
|
87
|
-
*/
|
|
88
|
-
'accountNumber'?: string;
|
|
89
|
-
/**
|
|
90
|
-
* Optional field to enter extra information.
|
|
91
|
-
* @type {object}
|
|
92
|
-
* @memberof CreateAccountRequestDto
|
|
93
|
-
*/
|
|
94
|
-
'metadata'?: object;
|
|
95
|
-
/**
|
|
96
|
-
* Optional field to add predefined custom fields.
|
|
97
|
-
* @type {object}
|
|
98
|
-
* @memberof CreateAccountRequestDto
|
|
99
|
-
*/
|
|
100
|
-
'customFields'?: object;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
export const CreateAccountRequestDtoGenderEnum = {
|
|
104
|
-
Male: 'male',
|
|
105
|
-
Female: 'female',
|
|
106
|
-
Unspecified: 'unspecified'
|
|
107
|
-
} as const;
|
|
108
|
-
|
|
109
|
-
export type CreateAccountRequestDtoGenderEnum = typeof CreateAccountRequestDtoGenderEnum[keyof typeof CreateAccountRequestDtoGenderEnum];
|
|
110
|
-
|
|
111
|
-
|