@emilgroup/customer-sdk-node 1.4.0 → 1.6.1

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 (65) hide show
  1. package/.openapi-generator/FILES +11 -1
  2. package/README.md +2 -2
  3. package/api/customers-api.ts +353 -0
  4. package/base.ts +56 -13
  5. package/dist/api/customers-api.d.ts +205 -0
  6. package/dist/api/customers-api.js +271 -0
  7. package/dist/base.d.ts +1 -0
  8. package/dist/base.js +46 -8
  9. package/dist/models/account-class.d.ts +133 -0
  10. package/dist/models/{create-account-request-dto.js → account-class.js} +0 -6
  11. package/dist/models/account-policy-class.d.ts +30 -0
  12. package/dist/models/account-policy-class.js +15 -0
  13. package/dist/models/create-customer-request-dto.d.ts +0 -7
  14. package/dist/models/create-customer-response-class.d.ts +3 -2
  15. package/dist/models/customer-class.d.ts +67 -0
  16. package/dist/models/customer-class.js +15 -0
  17. package/dist/models/customer-document-class.d.ts +99 -0
  18. package/dist/models/customer-document-class.js +36 -0
  19. package/dist/models/get-customer-document-download-url-response-class.d.ts +24 -0
  20. package/dist/models/get-customer-document-download-url-response-class.js +15 -0
  21. package/dist/models/get-customer-response-class.d.ts +3 -2
  22. package/dist/models/index.d.ts +11 -1
  23. package/dist/models/index.js +11 -1
  24. package/dist/models/invoice-class.d.ts +135 -0
  25. package/dist/models/invoice-class.js +28 -0
  26. package/dist/models/list-documents-response-class.d.ts +3 -2
  27. package/dist/models/list-invoices-response-class.d.ts +3 -2
  28. package/dist/models/request-policy-update-request-dto.d.ts +3 -2
  29. package/dist/models/reset-password-by-customer-request-dto.d.ts +1 -1
  30. package/dist/models/shared-customer-policy-object-request-dto.d.ts +30 -0
  31. package/dist/models/shared-customer-policy-object-request-dto.js +15 -0
  32. package/dist/models/shared-invoice-item-class.d.ts +102 -0
  33. package/dist/models/shared-invoice-item-class.js +15 -0
  34. package/dist/models/terminate-customer-policy-request-dto.d.ts +24 -0
  35. package/dist/models/terminate-customer-policy-request-dto.js +15 -0
  36. package/dist/models/terminate-customer-policy-response-class.d.ts +25 -0
  37. package/dist/models/terminate-customer-policy-response-class.js +15 -0
  38. package/dist/models/update-account-request-dto.d.ts +10 -10
  39. package/dist/models/update-customer-response-class.d.ts +3 -2
  40. package/dist/models/withdraw-customer-policy-response-class.d.ts +25 -0
  41. package/dist/models/withdraw-customer-policy-response-class.js +15 -0
  42. package/models/account-class.ts +139 -0
  43. package/models/account-policy-class.ts +36 -0
  44. package/models/create-customer-request-dto.ts +0 -7
  45. package/models/create-customer-response-class.ts +3 -2
  46. package/models/customer-class.ts +73 -0
  47. package/models/customer-document-class.ts +108 -0
  48. package/models/get-customer-document-download-url-response-class.ts +30 -0
  49. package/models/get-customer-response-class.ts +3 -2
  50. package/models/index.ts +11 -1
  51. package/models/invoice-class.ts +145 -0
  52. package/models/list-documents-response-class.ts +3 -2
  53. package/models/list-invoices-response-class.ts +3 -2
  54. package/models/request-policy-update-request-dto.ts +3 -2
  55. package/models/reset-password-by-customer-request-dto.ts +1 -1
  56. package/models/shared-customer-policy-object-request-dto.ts +36 -0
  57. package/models/shared-invoice-item-class.ts +108 -0
  58. package/models/terminate-customer-policy-request-dto.ts +30 -0
  59. package/models/terminate-customer-policy-response-class.ts +31 -0
  60. package/models/update-account-request-dto.ts +10 -10
  61. package/models/update-customer-response-class.ts +3 -2
  62. package/models/withdraw-customer-policy-response-class.ts +31 -0
  63. package/package.json +1 -1
  64. package/dist/models/create-account-request-dto.d.ts +0 -102
  65. package/models/create-account-request-dto.ts +0 -111
@@ -0,0 +1,108 @@
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 CustomerDocumentClass
21
+ */
22
+ export interface CustomerDocumentClass {
23
+ /**
24
+ * Document code
25
+ * @type {string}
26
+ * @memberof CustomerDocumentClass
27
+ */
28
+ 'code': string;
29
+ /**
30
+ * Template slug
31
+ * @type {string}
32
+ * @memberof CustomerDocumentClass
33
+ */
34
+ 'templateSlug': string;
35
+ /**
36
+ * Document entity type
37
+ * @type {string}
38
+ * @memberof CustomerDocumentClass
39
+ */
40
+ 'entityType': string;
41
+ /**
42
+ * Policy code
43
+ * @type {string}
44
+ * @memberof CustomerDocumentClass
45
+ */
46
+ 'policyCode': string;
47
+ /**
48
+ * Account code
49
+ * @type {string}
50
+ * @memberof CustomerDocumentClass
51
+ */
52
+ 'accountCode': string;
53
+ /**
54
+ * Document content type
55
+ * @type {string}
56
+ * @memberof CustomerDocumentClass
57
+ */
58
+ 'contentType': CustomerDocumentClassContentTypeEnum;
59
+ /**
60
+ * Entity id
61
+ * @type {number}
62
+ * @memberof CustomerDocumentClass
63
+ */
64
+ 'entityId': number;
65
+ /**
66
+ * Optional file name
67
+ * @type {string}
68
+ * @memberof CustomerDocumentClass
69
+ */
70
+ 'filename': string;
71
+ /**
72
+ * Document description
73
+ * @type {string}
74
+ * @memberof CustomerDocumentClass
75
+ */
76
+ 'description': string;
77
+ /**
78
+ * Document created at
79
+ * @type {string}
80
+ * @memberof CustomerDocumentClass
81
+ */
82
+ 'createdAt': string;
83
+ }
84
+
85
+ export const CustomerDocumentClassContentTypeEnum = {
86
+ Pdf: 'pdf',
87
+ Jpg: 'jpg',
88
+ Png: 'png',
89
+ Gz: 'gz',
90
+ Csv: 'csv',
91
+ Doc: 'doc',
92
+ Docx: 'docx',
93
+ Html: 'html',
94
+ Json: 'json',
95
+ Xml: 'xml',
96
+ Txt: 'txt',
97
+ Zip: 'zip',
98
+ Tar: 'tar',
99
+ Rar: 'rar',
100
+ Mp4: 'MP4',
101
+ Mov: 'MOV',
102
+ Wmv: 'WMV',
103
+ Avi: 'AVI'
104
+ } as const;
105
+
106
+ export type CustomerDocumentClassContentTypeEnum = typeof CustomerDocumentClassContentTypeEnum[keyof typeof CustomerDocumentClassContentTypeEnum];
107
+
108
+
@@ -0,0 +1,30 @@
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 GetCustomerDocumentDownloadUrlResponseClass
21
+ */
22
+ export interface GetCustomerDocumentDownloadUrlResponseClass {
23
+ /**
24
+ * Pre-signed Url
25
+ * @type {string}
26
+ * @memberof GetCustomerDocumentDownloadUrlResponseClass
27
+ */
28
+ 'url': string;
29
+ }
30
+
@@ -13,6 +13,7 @@
13
13
  */
14
14
 
15
15
 
16
+ import { CustomerClass } from './customer-class';
16
17
 
17
18
  /**
18
19
  *
@@ -22,9 +23,9 @@
22
23
  export interface GetCustomerResponseClass {
23
24
  /**
24
25
  * Customer object
25
- * @type {object}
26
+ * @type {CustomerClass}
26
27
  * @memberof GetCustomerResponseClass
27
28
  */
28
- 'customer': object;
29
+ 'customer': CustomerClass;
29
30
  }
30
31
 
package/models/index.ts CHANGED
@@ -1,8 +1,12 @@
1
+ export * from './account-class';
2
+ export * from './account-policy-class';
1
3
  export * from './authentication-result-class';
2
- export * from './create-account-request-dto';
3
4
  export * from './create-customer-request-dto';
4
5
  export * from './create-customer-response-class';
6
+ export * from './customer-class';
7
+ export * from './customer-document-class';
5
8
  export * from './forgot-password-request-dto';
9
+ export * from './get-customer-document-download-url-response-class';
6
10
  export * from './get-customer-response-class';
7
11
  export * from './get-policy-response-class';
8
12
  export * from './initiate-auth-request-dto';
@@ -11,6 +15,7 @@ export * from './invite-by-customer-request-dto';
11
15
  export * from './invite-by-customer-response-class';
12
16
  export * from './invite-by-tenant-response-class';
13
17
  export * from './invite-class';
18
+ export * from './invoice-class';
14
19
  export * from './list-documents-response-class';
15
20
  export * from './list-invoices-response-class';
16
21
  export * from './list-policies-response-class';
@@ -25,8 +30,13 @@ export * from './request-policy-update-response-class';
25
30
  export * from './reset-password-by-customer-request-dto';
26
31
  export * from './respond-to-auth-challenge-class';
27
32
  export * from './respond-to-auth-challenge-request-dto';
33
+ export * from './shared-customer-policy-object-request-dto';
34
+ export * from './shared-invoice-item-class';
35
+ export * from './terminate-customer-policy-request-dto';
36
+ export * from './terminate-customer-policy-response-class';
28
37
  export * from './timeslice-class';
29
38
  export * from './update-account-request-dto';
30
39
  export * from './update-customer-request-dto';
31
40
  export * from './update-customer-response-class';
32
41
  export * from './verify-customer-invite-response-class';
42
+ export * from './withdraw-customer-policy-response-class';
@@ -0,0 +1,145 @@
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
+ import { SharedInvoiceItemClass } from './shared-invoice-item-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface InvoiceClass
22
+ */
23
+ export interface InvoiceClass {
24
+ /**
25
+ * policy code
26
+ * @type {string}
27
+ * @memberof InvoiceClass
28
+ */
29
+ 'policyCode': string;
30
+ /**
31
+ * Account number
32
+ * @type {string}
33
+ * @memberof InvoiceClass
34
+ */
35
+ 'accountNumber': string;
36
+ /**
37
+ * Invoice code
38
+ * @type {string}
39
+ * @memberof InvoiceClass
40
+ */
41
+ 'code': string;
42
+ /**
43
+ * Invoice type
44
+ * @type {string}
45
+ * @memberof InvoiceClass
46
+ */
47
+ 'type': InvoiceClassTypeEnum;
48
+ /**
49
+ * Invoice number
50
+ * @type {string}
51
+ * @memberof InvoiceClass
52
+ */
53
+ 'invoiceNumber': string;
54
+ /**
55
+ * Net amount
56
+ * @type {number}
57
+ * @memberof InvoiceClass
58
+ */
59
+ 'netAmount': number;
60
+ /**
61
+ * Tax amount
62
+ * @type {number}
63
+ * @memberof InvoiceClass
64
+ */
65
+ 'taxAmount': number;
66
+ /**
67
+ * Credit amount
68
+ * @type {number}
69
+ * @memberof InvoiceClass
70
+ */
71
+ 'creditAmount': number;
72
+ /**
73
+ * Surcharge amount
74
+ * @type {number}
75
+ * @memberof InvoiceClass
76
+ */
77
+ 'surcharge': number;
78
+ /**
79
+ * Gross amount
80
+ * @type {number}
81
+ * @memberof InvoiceClass
82
+ */
83
+ 'grossAmount': number;
84
+ /**
85
+ * Invoice status
86
+ * @type {string}
87
+ * @memberof InvoiceClass
88
+ */
89
+ 'status': InvoiceClassStatusEnum;
90
+ /**
91
+ * Invoice due date
92
+ * @type {string}
93
+ * @memberof InvoiceClass
94
+ */
95
+ 'dueDate': string;
96
+ /**
97
+ * Invoice metadata
98
+ * @type {object}
99
+ * @memberof InvoiceClass
100
+ */
101
+ 'metadata': object;
102
+ /**
103
+ * Invoice billing interval from
104
+ * @type {string}
105
+ * @memberof InvoiceClass
106
+ */
107
+ 'billingIntervalFrom': string;
108
+ /**
109
+ * Invoice billing interval to
110
+ * @type {string}
111
+ * @memberof InvoiceClass
112
+ */
113
+ 'billingIntervalTo': string;
114
+ /**
115
+ * Invoice created at
116
+ * @type {string}
117
+ * @memberof InvoiceClass
118
+ */
119
+ 'createdAt': string;
120
+ /**
121
+ * Invoice items
122
+ * @type {Array<SharedInvoiceItemClass>}
123
+ * @memberof InvoiceClass
124
+ */
125
+ 'invoiceItems': Array<SharedInvoiceItemClass>;
126
+ }
127
+
128
+ export const InvoiceClassTypeEnum = {
129
+ Initial: 'initial',
130
+ Recurring: 'recurring',
131
+ Correction: 'correction',
132
+ Estimated: 'estimated',
133
+ Penalty: 'penalty',
134
+ Other: 'other'
135
+ } as const;
136
+
137
+ export type InvoiceClassTypeEnum = typeof InvoiceClassTypeEnum[keyof typeof InvoiceClassTypeEnum];
138
+ export const InvoiceClassStatusEnum = {
139
+ Open: 'open',
140
+ Paid: 'paid'
141
+ } as const;
142
+
143
+ export type InvoiceClassStatusEnum = typeof InvoiceClassStatusEnum[keyof typeof InvoiceClassStatusEnum];
144
+
145
+
@@ -13,6 +13,7 @@
13
13
  */
14
14
 
15
15
 
16
+ import { CustomerDocumentClass } from './customer-document-class';
16
17
 
17
18
  /**
18
19
  *
@@ -22,10 +23,10 @@
22
23
  export interface ListDocumentsResponseClass {
23
24
  /**
24
25
  * documents list items
25
- * @type {Array<string>}
26
+ * @type {Array<CustomerDocumentClass>}
26
27
  * @memberof ListDocumentsResponseClass
27
28
  */
28
- 'items': Array<string>;
29
+ 'items': Array<CustomerDocumentClass>;
29
30
  /**
30
31
  * Next page token
31
32
  * @type {string}
@@ -13,6 +13,7 @@
13
13
  */
14
14
 
15
15
 
16
+ import { InvoiceClass } from './invoice-class';
16
17
 
17
18
  /**
18
19
  *
@@ -22,10 +23,10 @@
22
23
  export interface ListInvoicesResponseClass {
23
24
  /**
24
25
  * Invoices list items
25
- * @type {Array<string>}
26
+ * @type {Array<InvoiceClass>}
26
27
  * @memberof ListInvoicesResponseClass
27
28
  */
28
- 'items': Array<string>;
29
+ 'items': Array<InvoiceClass>;
29
30
  /**
30
31
  * Next page token
31
32
  * @type {string}
@@ -13,6 +13,7 @@
13
13
  */
14
14
 
15
15
 
16
+ import { SharedCustomerPolicyObjectRequestDto } from './shared-customer-policy-object-request-dto';
16
17
 
17
18
  /**
18
19
  *
@@ -28,10 +29,10 @@ export interface RequestPolicyUpdateRequestDto {
28
29
  'code': string;
29
30
  /**
30
31
  * Policy objects
31
- * @type {Array<string>}
32
+ * @type {Array<SharedCustomerPolicyObjectRequestDto>}
32
33
  * @memberof RequestPolicyUpdateRequestDto
33
34
  */
34
- 'policyObjects': Array<string>;
35
+ 'policyObjects': Array<SharedCustomerPolicyObjectRequestDto>;
35
36
  /**
36
37
  * Update from
37
38
  * @type {string}
@@ -25,7 +25,7 @@ export interface ResetPasswordByCustomerRequestDto {
25
25
  * @type {string}
26
26
  * @memberof ResetPasswordByCustomerRequestDto
27
27
  */
28
- 'email': string;
28
+ 'email'?: string;
29
29
  /**
30
30
  * Customer\'s reset token
31
31
  * @type {string}
@@ -0,0 +1,36 @@
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 SharedCustomerPolicyObjectRequestDto
21
+ */
22
+ export interface SharedCustomerPolicyObjectRequestDto {
23
+ /**
24
+ * Insured object name
25
+ * @type {string}
26
+ * @memberof SharedCustomerPolicyObjectRequestDto
27
+ */
28
+ 'insuredObjectName': string;
29
+ /**
30
+ * Insured object data
31
+ * @type {object}
32
+ * @memberof SharedCustomerPolicyObjectRequestDto
33
+ */
34
+ 'data': object;
35
+ }
36
+
@@ -0,0 +1,108 @@
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 SharedInvoiceItemClass
21
+ */
22
+ export interface SharedInvoiceItemClass {
23
+ /**
24
+ * product name
25
+ * @type {string}
26
+ * @memberof SharedInvoiceItemClass
27
+ */
28
+ 'name': string;
29
+ /**
30
+ * tax code
31
+ * @type {string}
32
+ * @memberof SharedInvoiceItemClass
33
+ */
34
+ 'taxCode': string;
35
+ /**
36
+ * Invoice type
37
+ * @type {string}
38
+ * @memberof SharedInvoiceItemClass
39
+ */
40
+ 'unit': string;
41
+ /**
42
+ * group
43
+ * @type {string}
44
+ * @memberof SharedInvoiceItemClass
45
+ */
46
+ 'group': string;
47
+ /**
48
+ * Item quantity
49
+ * @type {number}
50
+ * @memberof SharedInvoiceItemClass
51
+ */
52
+ 'quantity': number;
53
+ /**
54
+ * Item price per unit
55
+ * @type {number}
56
+ * @memberof SharedInvoiceItemClass
57
+ */
58
+ 'pricePerUnit': number;
59
+ /**
60
+ * Item tax rate
61
+ * @type {number}
62
+ * @memberof SharedInvoiceItemClass
63
+ */
64
+ 'taxRate': number;
65
+ /**
66
+ * Net amount
67
+ * @type {number}
68
+ * @memberof SharedInvoiceItemClass
69
+ */
70
+ 'netAmount': number;
71
+ /**
72
+ * Net tax amount
73
+ * @type {number}
74
+ * @memberof SharedInvoiceItemClass
75
+ */
76
+ 'taxAmount': number;
77
+ /**
78
+ * Gross amount
79
+ * @type {number}
80
+ * @memberof SharedInvoiceItemClass
81
+ */
82
+ 'grossAmount': number;
83
+ /**
84
+ * Credit amount
85
+ * @type {number}
86
+ * @memberof SharedInvoiceItemClass
87
+ */
88
+ 'creditAmount': number;
89
+ /**
90
+ * Surcharge amount
91
+ * @type {number}
92
+ * @memberof SharedInvoiceItemClass
93
+ */
94
+ 'surcharge': number;
95
+ /**
96
+ * Invoice item interval from
97
+ * @type {string}
98
+ * @memberof SharedInvoiceItemClass
99
+ */
100
+ 'billingIntervalFrom': string;
101
+ /**
102
+ * Invoice item interval to
103
+ * @type {string}
104
+ * @memberof SharedInvoiceItemClass
105
+ */
106
+ 'billingIntervalTo': string;
107
+ }
108
+
@@ -0,0 +1,30 @@
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 TerminateCustomerPolicyRequestDto
21
+ */
22
+ export interface TerminateCustomerPolicyRequestDto {
23
+ /**
24
+ * Terminate from
25
+ * @type {string}
26
+ * @memberof TerminateCustomerPolicyRequestDto
27
+ */
28
+ 'from': string;
29
+ }
30
+
@@ -0,0 +1,31 @@
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
+ import { PolicyClass } from './policy-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface TerminateCustomerPolicyResponseClass
22
+ */
23
+ export interface TerminateCustomerPolicyResponseClass {
24
+ /**
25
+ * Policy
26
+ * @type {PolicyClass}
27
+ * @memberof TerminateCustomerPolicyResponseClass
28
+ */
29
+ 'policy': PolicyClass;
30
+ }
31
+
@@ -25,61 +25,61 @@ export interface UpdateAccountRequestDto {
25
25
  * @type {string}
26
26
  * @memberof UpdateAccountRequestDto
27
27
  */
28
- 'firstName': string;
28
+ 'firstName'?: string;
29
29
  /**
30
30
  * The account\'s last name.
31
31
  * @type {string}
32
32
  * @memberof UpdateAccountRequestDto
33
33
  */
34
- 'lastName': string;
34
+ 'lastName'?: string;
35
35
  /**
36
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
37
  * @type {string}
38
38
  * @memberof UpdateAccountRequestDto
39
39
  */
40
- 'email': string;
40
+ 'email'?: string;
41
41
  /**
42
42
  * The account\'s gender.
43
43
  * @type {string}
44
44
  * @memberof UpdateAccountRequestDto
45
45
  */
46
- 'gender': UpdateAccountRequestDtoGenderEnum;
46
+ 'gender'?: UpdateAccountRequestDtoGenderEnum;
47
47
  /**
48
48
  * The account\'s street name.
49
49
  * @type {string}
50
50
  * @memberof UpdateAccountRequestDto
51
51
  */
52
- 'street': string;
52
+ 'street'?: string;
53
53
  /**
54
54
  * The account\'s ZIP or postal code.
55
55
  * @type {string}
56
56
  * @memberof UpdateAccountRequestDto
57
57
  */
58
- 'zipCode': string;
58
+ 'zipCode'?: string;
59
59
  /**
60
60
  * The account\'s city, district, suburb, town, or village.
61
61
  * @type {string}
62
62
  * @memberof UpdateAccountRequestDto
63
63
  */
64
- 'city': string;
64
+ 'city'?: string;
65
65
  /**
66
66
  * The account\'s house number.
67
67
  * @type {string}
68
68
  * @memberof UpdateAccountRequestDto
69
69
  */
70
- 'houseNumber': string;
70
+ 'houseNumber'?: string;
71
71
  /**
72
72
  * Account\'s birth date.
73
73
  * @type {string}
74
74
  * @memberof UpdateAccountRequestDto
75
75
  */
76
- 'birthDate': string;
76
+ 'birthDate'?: string;
77
77
  /**
78
78
  * The account\'s phone number.
79
79
  * @type {string}
80
80
  * @memberof UpdateAccountRequestDto
81
81
  */
82
- 'phone': string;
82
+ 'phone'?: string;
83
83
  /**
84
84
  * Optional field to enter extra information.
85
85
  * @type {object}