@emilgroup/customer-sdk-node 1.26.0 → 1.32.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 (210) hide show
  1. package/README.md +2 -2
  2. package/dist/api/authentication-api.d.ts +332 -0
  3. package/dist/api/authentication-api.js +604 -0
  4. package/dist/api/claims-api.d.ts +431 -0
  5. package/dist/api/claims-api.js +670 -0
  6. package/dist/api/customers-api.d.ts +271 -0
  7. package/dist/api/customers-api.js +425 -0
  8. package/dist/api/default-api.d.ts +66 -0
  9. package/dist/api/default-api.js +200 -0
  10. package/dist/api/documents-api.d.ts +262 -0
  11. package/dist/api/documents-api.js +417 -0
  12. package/dist/api/invites-api.d.ts +249 -0
  13. package/dist/api/invites-api.js +456 -0
  14. package/dist/api/invoices-api.d.ts +150 -0
  15. package/dist/api/invoices-api.js +253 -0
  16. package/dist/api/leads-api.d.ts +365 -0
  17. package/dist/api/leads-api.js +571 -0
  18. package/dist/api/payments-api.d.ts +162 -0
  19. package/dist/api/payments-api.js +306 -0
  20. package/dist/api/policies-api.d.ts +578 -0
  21. package/dist/api/policies-api.js +808 -0
  22. package/dist/api/products-api.d.ts +215 -0
  23. package/dist/api/products-api.js +341 -0
  24. package/dist/api.d.ts +22 -0
  25. package/dist/api.js +40 -0
  26. package/dist/base.d.ts +82 -0
  27. package/dist/base.js +502 -0
  28. package/dist/common.d.ts +66 -0
  29. package/dist/common.js +244 -0
  30. package/dist/configuration.d.ts +98 -0
  31. package/dist/configuration.js +45 -0
  32. package/dist/index.d.ts +15 -0
  33. package/dist/index.js +36 -0
  34. package/dist/models/account-class.d.ts +169 -0
  35. package/dist/models/account-class.js +26 -0
  36. package/dist/models/account-policy-class.d.ts +30 -0
  37. package/dist/models/account-policy-class.js +15 -0
  38. package/dist/models/authentication-result-class.d.ts +30 -0
  39. package/dist/models/authentication-result-class.js +15 -0
  40. package/dist/models/claim-class.d.ts +174 -0
  41. package/dist/models/claim-class.js +15 -0
  42. package/dist/models/complete-braintree-payment-setup-request-dto.d.ts +48 -0
  43. package/dist/models/complete-braintree-payment-setup-request-dto.js +15 -0
  44. package/dist/models/complete-payment-setup-psp-request.d.ts +32 -0
  45. package/dist/models/complete-payment-setup-psp-request.js +15 -0
  46. package/dist/models/complete-payment-setup-response-class.d.ts +24 -0
  47. package/dist/models/complete-payment-setup-response-class.js +15 -0
  48. package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +60 -0
  49. package/dist/models/complete-stripe-payment-setup-request-dto.js +15 -0
  50. package/dist/models/create-account-request-dto.d.ts +132 -0
  51. package/dist/models/create-account-request-dto.js +31 -0
  52. package/dist/models/create-bank-account-request-dto.d.ts +30 -0
  53. package/dist/models/create-bank-account-request-dto.js +15 -0
  54. package/dist/models/create-customer-claim-request-dto.d.ts +120 -0
  55. package/dist/models/create-customer-claim-request-dto.js +15 -0
  56. package/dist/models/create-customer-claim-response-class.d.ts +25 -0
  57. package/dist/models/create-customer-claim-response-class.js +15 -0
  58. package/dist/models/create-customer-request-dto.d.ts +43 -0
  59. package/dist/models/create-customer-request-dto.js +15 -0
  60. package/dist/models/create-customer-response-class.d.ts +25 -0
  61. package/dist/models/create-customer-response-class.js +15 -0
  62. package/dist/models/create-lead-request-dto.d.ts +83 -0
  63. package/dist/models/create-lead-request-dto.js +15 -0
  64. package/dist/models/create-lead-response-class.d.ts +25 -0
  65. package/dist/models/create-lead-response-class.js +15 -0
  66. package/dist/models/create-payment-method-request-dto.d.ts +31 -0
  67. package/dist/models/create-payment-method-request-dto.js +15 -0
  68. package/dist/models/create-policy-request-dto.d.ts +56 -0
  69. package/dist/models/create-policy-request-dto.js +15 -0
  70. package/dist/models/create-presigned-post-response-class.d.ts +30 -0
  71. package/dist/models/create-presigned-post-response-class.js +15 -0
  72. package/dist/models/customer-class.d.ts +73 -0
  73. package/dist/models/customer-class.js +15 -0
  74. package/dist/models/customer-document-class.d.ts +105 -0
  75. package/dist/models/customer-document-class.js +36 -0
  76. package/dist/models/customer-product-class.d.ts +54 -0
  77. package/dist/models/customer-product-class.js +15 -0
  78. package/dist/models/forgot-password-request-dto.d.ts +30 -0
  79. package/dist/models/forgot-password-request-dto.js +15 -0
  80. package/dist/models/get-customer-claim-response-class.d.ts +25 -0
  81. package/dist/models/get-customer-claim-response-class.js +15 -0
  82. package/dist/models/get-customer-document-download-url-response-class.d.ts +24 -0
  83. package/dist/models/get-customer-document-download-url-response-class.js +15 -0
  84. package/dist/models/get-customer-response-class.d.ts +25 -0
  85. package/dist/models/get-customer-response-class.js +15 -0
  86. package/dist/models/get-lead-response-class.d.ts +25 -0
  87. package/dist/models/get-lead-response-class.js +15 -0
  88. package/dist/models/get-policy-response-class.d.ts +25 -0
  89. package/dist/models/get-policy-response-class.js +15 -0
  90. package/dist/models/get-product-response-class.d.ts +25 -0
  91. package/dist/models/get-product-response-class.js +15 -0
  92. package/dist/models/grpc-update-lead-request-dto.d.ts +50 -0
  93. package/dist/models/grpc-update-lead-request-dto.js +15 -0
  94. package/dist/models/index.d.ts +85 -0
  95. package/dist/models/index.js +101 -0
  96. package/dist/models/initiate-auth-request-dto.d.ts +36 -0
  97. package/dist/models/initiate-auth-request-dto.js +15 -0
  98. package/dist/models/initiate-auth-response-class.d.ts +43 -0
  99. package/dist/models/initiate-auth-response-class.js +15 -0
  100. package/dist/models/initiate-braintree-payment-setup-response-class.d.ts +24 -0
  101. package/dist/models/initiate-braintree-payment-setup-response-class.js +15 -0
  102. package/dist/models/initiate-payment-setup-response-class.d.ts +32 -0
  103. package/dist/models/initiate-payment-setup-response-class.js +15 -0
  104. package/dist/models/initiate-stripe-payment-setup-response-class.d.ts +30 -0
  105. package/dist/models/initiate-stripe-payment-setup-response-class.js +15 -0
  106. package/dist/models/inline-response200.d.ts +54 -0
  107. package/dist/models/inline-response200.js +15 -0
  108. package/dist/models/inline-response503.d.ts +54 -0
  109. package/dist/models/inline-response503.js +15 -0
  110. package/dist/models/invite-by-customer-request-dto.d.ts +30 -0
  111. package/dist/models/invite-by-customer-request-dto.js +15 -0
  112. package/dist/models/invite-by-customer-response-class.d.ts +25 -0
  113. package/dist/models/invite-by-customer-response-class.js +15 -0
  114. package/dist/models/invite-by-tenant-request-dto.d.ts +24 -0
  115. package/dist/models/invite-by-tenant-request-dto.js +15 -0
  116. package/dist/models/invite-by-tenant-response-class.d.ts +25 -0
  117. package/dist/models/invite-by-tenant-response-class.js +15 -0
  118. package/dist/models/invite-class.d.ts +54 -0
  119. package/dist/models/invite-class.js +15 -0
  120. package/dist/models/invoice-class.d.ts +148 -0
  121. package/dist/models/invoice-class.js +28 -0
  122. package/dist/models/lead-bank-account-class.d.ts +30 -0
  123. package/dist/models/lead-bank-account-class.js +15 -0
  124. package/dist/models/lead-class.d.ts +127 -0
  125. package/dist/models/lead-class.js +15 -0
  126. package/dist/models/list-customer-claims-response-class.d.ts +31 -0
  127. package/dist/models/list-customer-claims-response-class.js +15 -0
  128. package/dist/models/list-documents-response-class.d.ts +31 -0
  129. package/dist/models/list-documents-response-class.js +15 -0
  130. package/dist/models/list-invoices-response-class.d.ts +31 -0
  131. package/dist/models/list-invoices-response-class.js +15 -0
  132. package/dist/models/list-leads-response-class.d.ts +43 -0
  133. package/dist/models/list-leads-response-class.js +15 -0
  134. package/dist/models/list-policies-response-class.d.ts +43 -0
  135. package/dist/models/list-policies-response-class.js +15 -0
  136. package/dist/models/list-products-response-class.d.ts +31 -0
  137. package/dist/models/list-products-response-class.js +15 -0
  138. package/dist/models/policy-class.d.ts +80 -0
  139. package/dist/models/policy-class.js +15 -0
  140. package/dist/models/policy-object-class.d.ts +54 -0
  141. package/dist/models/policy-object-class.js +15 -0
  142. package/dist/models/policy-object-dto.d.ts +42 -0
  143. package/dist/models/policy-object-dto.js +15 -0
  144. package/dist/models/policy-premium-class.d.ts +43 -0
  145. package/dist/models/policy-premium-class.js +15 -0
  146. package/dist/models/policy-premium-item-class.d.ts +36 -0
  147. package/dist/models/policy-premium-item-class.js +15 -0
  148. package/dist/models/policy-version-class.d.ts +49 -0
  149. package/dist/models/policy-version-class.js +15 -0
  150. package/dist/models/premium-override-dto.d.ts +55 -0
  151. package/dist/models/premium-override-dto.js +27 -0
  152. package/dist/models/premium-override-request-class.d.ts +25 -0
  153. package/dist/models/premium-override-request-class.js +15 -0
  154. package/dist/models/premium-override-request-dto.d.ts +25 -0
  155. package/dist/models/premium-override-request-dto.js +15 -0
  156. package/dist/models/refresh-token-dto.d.ts +30 -0
  157. package/dist/models/refresh-token-dto.js +15 -0
  158. package/dist/models/request-policy-update-request-dto.d.ts +43 -0
  159. package/dist/models/request-policy-update-request-dto.js +15 -0
  160. package/dist/models/request-policy-update-response-class.d.ts +25 -0
  161. package/dist/models/request-policy-update-response-class.js +15 -0
  162. package/dist/models/reset-password-by-customer-request-dto.d.ts +36 -0
  163. package/dist/models/reset-password-by-customer-request-dto.js +15 -0
  164. package/dist/models/respond-to-auth-challenge-class.d.ts +43 -0
  165. package/dist/models/respond-to-auth-challenge-class.js +15 -0
  166. package/dist/models/respond-to-auth-challenge-request-dto.d.ts +42 -0
  167. package/dist/models/respond-to-auth-challenge-request-dto.js +15 -0
  168. package/dist/models/sepa-dto.d.ts +30 -0
  169. package/dist/models/sepa-dto.js +15 -0
  170. package/dist/models/shared-customer-policy-object-request-dto.d.ts +36 -0
  171. package/dist/models/shared-customer-policy-object-request-dto.js +15 -0
  172. package/dist/models/shared-invoice-item-class.d.ts +129 -0
  173. package/dist/models/shared-invoice-item-class.js +24 -0
  174. package/dist/models/shared-invoice-status-class.d.ts +47 -0
  175. package/dist/models/shared-invoice-status-class.js +20 -0
  176. package/dist/models/terminate-customer-policy-request-dto.d.ts +24 -0
  177. package/dist/models/terminate-customer-policy-request-dto.js +15 -0
  178. package/dist/models/terminate-customer-policy-response-class.d.ts +25 -0
  179. package/dist/models/terminate-customer-policy-response-class.js +15 -0
  180. package/dist/models/timeslice-class.d.ts +56 -0
  181. package/dist/models/timeslice-class.js +15 -0
  182. package/dist/models/update-account-request-dto.d.ts +113 -0
  183. package/dist/models/update-account-request-dto.js +25 -0
  184. package/dist/models/update-customer-claim-request-dto.d.ts +120 -0
  185. package/dist/models/update-customer-claim-request-dto.js +15 -0
  186. package/dist/models/update-customer-claim-response-class.d.ts +25 -0
  187. package/dist/models/update-customer-claim-response-class.js +15 -0
  188. package/dist/models/update-customer-request-dto.d.ts +31 -0
  189. package/dist/models/update-customer-request-dto.js +15 -0
  190. package/dist/models/update-customer-response-class.d.ts +25 -0
  191. package/dist/models/update-customer-response-class.js +15 -0
  192. package/dist/models/update-lead-request-dto.d.ts +44 -0
  193. package/dist/models/update-lead-request-dto.js +15 -0
  194. package/dist/models/update-lead-response-class.d.ts +25 -0
  195. package/dist/models/update-lead-response-class.js +15 -0
  196. package/dist/models/upload-customer-claim-documents-request-dto.d.ts +36 -0
  197. package/dist/models/upload-customer-claim-documents-request-dto.js +15 -0
  198. package/dist/models/upload-customer-policy-documents-request-dto.d.ts +47 -0
  199. package/dist/models/upload-customer-policy-documents-request-dto.js +20 -0
  200. package/dist/models/uploaded-document-dto.d.ts +24 -0
  201. package/dist/models/uploaded-document-dto.js +15 -0
  202. package/dist/models/verify-customer-invite-response-class.d.ts +36 -0
  203. package/dist/models/verify-customer-invite-response-class.js +15 -0
  204. package/dist/models/withdraw-customer-policy-response-class.d.ts +25 -0
  205. package/dist/models/withdraw-customer-policy-response-class.js +15 -0
  206. package/models/claim-class.ts +13 -1
  207. package/models/create-customer-claim-request-dto.ts +8 -2
  208. package/models/customer-document-class.ts +6 -0
  209. package/models/update-customer-claim-request-dto.ts +8 -2
  210. package/package.json +1 -1
@@ -0,0 +1,30 @@
1
+ /**
2
+ * EMIL CustomerService
3
+ * The EMIL CustomerService 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 AuthenticationResultClass
16
+ */
17
+ export interface AuthenticationResultClass {
18
+ /**
19
+ * Access token, contains the customer identity
20
+ * @type {string}
21
+ * @memberof AuthenticationResultClass
22
+ */
23
+ 'accessToken': string;
24
+ /**
25
+ * Refresh token, does not contain user info
26
+ * @type {string}
27
+ * @memberof AuthenticationResultClass
28
+ */
29
+ 'refreshToken': string;
30
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL CustomerService
6
+ * The EMIL CustomerService 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 });
@@ -0,0 +1,174 @@
1
+ /**
2
+ * EMIL CustomerService
3
+ * The EMIL CustomerService 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 ClaimClass
16
+ */
17
+ export interface ClaimClass {
18
+ /**
19
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
20
+ * @type {number}
21
+ * @memberof ClaimClass
22
+ */
23
+ 'id': number;
24
+ /**
25
+ * Unique identifier for the object.
26
+ * @type {string}
27
+ * @memberof ClaimClass
28
+ */
29
+ 'code': string;
30
+ /**
31
+ * Title of the claim
32
+ * @type {string}
33
+ * @memberof ClaimClass
34
+ */
35
+ 'title'?: string;
36
+ /**
37
+ * Unique number assigned to the claim.
38
+ * @type {string}
39
+ * @memberof ClaimClass
40
+ */
41
+ 'claimNumber': string;
42
+ /**
43
+ * The current status of the claim.
44
+ * @type {string}
45
+ * @memberof ClaimClass
46
+ */
47
+ 'status': string;
48
+ /**
49
+ * Unique identifier of the account that the claim belongs to
50
+ * @type {string}
51
+ * @memberof ClaimClass
52
+ */
53
+ 'accountCode': string;
54
+ /**
55
+ * Field for the policy code that the claim belongs to
56
+ * @type {string}
57
+ * @memberof ClaimClass
58
+ */
59
+ 'policyCode': string;
60
+ /**
61
+ * The policy number that the claim belongs to
62
+ * @type {string}
63
+ * @memberof ClaimClass
64
+ */
65
+ 'policyNumber': string;
66
+ /**
67
+ * Unique identifier of the product that the claim is made against
68
+ * @type {number}
69
+ * @memberof ClaimClass
70
+ */
71
+ 'productId': number;
72
+ /**
73
+ * Unique identifier for the specific version of the product
74
+ * @type {number}
75
+ * @memberof ClaimClass
76
+ */
77
+ 'productVersionId': number;
78
+ /**
79
+ * The name of the product
80
+ * @type {string}
81
+ * @memberof ClaimClass
82
+ */
83
+ 'productName': string;
84
+ /**
85
+ * The insured object identifier that the claim is made for
86
+ * @type {number}
87
+ * @memberof ClaimClass
88
+ */
89
+ 'insuredObjectId'?: number;
90
+ /**
91
+ * The policy object code that the claim is made for
92
+ * @type {string}
93
+ * @memberof ClaimClass
94
+ */
95
+ 'policyObjectCode'?: string;
96
+ /**
97
+ * claim description
98
+ * @type {string}
99
+ * @memberof ClaimClass
100
+ */
101
+ 'description'?: string;
102
+ /**
103
+ * A claim adjuster investigates insurance claims by interviewing the claimant and witnesses, consulting police and hospital records, and inspecting property damage to determine the extent of the insurance company\'s liability.
104
+ * @type {string}
105
+ * @memberof ClaimClass
106
+ */
107
+ 'adjuster'?: string;
108
+ /**
109
+ * A claim reporter is the person who is responsible for submitting this claim to the platform. A claim reporter is not necessarily the same as the policy holder.
110
+ * @type {string}
111
+ * @memberof ClaimClass
112
+ */
113
+ 'reporter'?: string;
114
+ /**
115
+ * Contact phone number
116
+ * @type {string}
117
+ * @memberof ClaimClass
118
+ */
119
+ 'contactPhone'?: string;
120
+ /**
121
+ * Contact email address
122
+ * @type {string}
123
+ * @memberof ClaimClass
124
+ */
125
+ 'contactEmail'?: string;
126
+ /**
127
+ * The date on which the actual damage happened
128
+ * @type {string}
129
+ * @memberof ClaimClass
130
+ */
131
+ 'damageDate': string;
132
+ /**
133
+ * The date on which the damage was reported
134
+ * @type {string}
135
+ * @memberof ClaimClass
136
+ */
137
+ 'notificationDate': string;
138
+ /**
139
+ * Tenant specific custom fields for claims (e.g. IMEI, Serial Number, etc.)
140
+ * @type {object}
141
+ * @memberof ClaimClass
142
+ */
143
+ 'customFields'?: object;
144
+ /**
145
+ * Emil Resources Names (ERN) identifies the most specific owner of a resource.
146
+ * @type {string}
147
+ * @memberof ClaimClass
148
+ */
149
+ 'ern': string;
150
+ /**
151
+ * Time at which the object was created.
152
+ * @type {string}
153
+ * @memberof ClaimClass
154
+ */
155
+ 'createdAt': string;
156
+ /**
157
+ * Time at which the object was updated.
158
+ * @type {string}
159
+ * @memberof ClaimClass
160
+ */
161
+ 'updatedAt': string;
162
+ /**
163
+ * Organization name.
164
+ * @type {string}
165
+ * @memberof ClaimClass
166
+ */
167
+ 'organizationName'?: string;
168
+ /**
169
+ * Partners related to the claim.
170
+ * @type {Array<string>}
171
+ * @memberof ClaimClass
172
+ */
173
+ 'claimPartners'?: Array<string>;
174
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL CustomerService
6
+ * The EMIL CustomerService 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 });
@@ -0,0 +1,48 @@
1
+ /**
2
+ * EMIL CustomerService
3
+ * The EMIL CustomerService 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 CompleteBraintreePaymentSetupRequestDto
16
+ */
17
+ export interface CompleteBraintreePaymentSetupRequestDto {
18
+ /**
19
+ * Account email address
20
+ * @type {string}
21
+ * @memberof CompleteBraintreePaymentSetupRequestDto
22
+ */
23
+ 'email': string;
24
+ /**
25
+ * Account first name
26
+ * @type {string}
27
+ * @memberof CompleteBraintreePaymentSetupRequestDto
28
+ */
29
+ 'firstName': string;
30
+ /**
31
+ * Account last name
32
+ * @type {string}
33
+ * @memberof CompleteBraintreePaymentSetupRequestDto
34
+ */
35
+ 'lastName': string;
36
+ /**
37
+ * Lead code
38
+ * @type {string}
39
+ * @memberof CompleteBraintreePaymentSetupRequestDto
40
+ */
41
+ 'leadCode': string;
42
+ /**
43
+ * Braintree nonce generated by the client through the frontend component.
44
+ * @type {string}
45
+ * @memberof CompleteBraintreePaymentSetupRequestDto
46
+ */
47
+ 'nonce': string;
48
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL CustomerService
6
+ * The EMIL CustomerService 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 });
@@ -0,0 +1,32 @@
1
+ /**
2
+ * EMIL CustomerService
3
+ * The EMIL CustomerService 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 { CompleteBraintreePaymentSetupRequestDto } from './complete-braintree-payment-setup-request-dto';
13
+ import { CompleteStripePaymentSetupRequestDto } from './complete-stripe-payment-setup-request-dto';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface CompletePaymentSetupPspRequest
18
+ */
19
+ export interface CompletePaymentSetupPspRequest {
20
+ /**
21
+ *
22
+ * @type {CompleteStripePaymentSetupRequestDto}
23
+ * @memberof CompletePaymentSetupPspRequest
24
+ */
25
+ 'stripe'?: CompleteStripePaymentSetupRequestDto;
26
+ /**
27
+ *
28
+ * @type {CompleteBraintreePaymentSetupRequestDto}
29
+ * @memberof CompletePaymentSetupPspRequest
30
+ */
31
+ 'braintree'?: CompleteBraintreePaymentSetupRequestDto;
32
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL CustomerService
6
+ * The EMIL CustomerService 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 });
@@ -0,0 +1,24 @@
1
+ /**
2
+ * EMIL CustomerService
3
+ * The EMIL CustomerService 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 CompletePaymentSetupResponseClass
16
+ */
17
+ export interface CompletePaymentSetupResponseClass {
18
+ /**
19
+ * Payment method saved in the DB.
20
+ * @type {object}
21
+ * @memberof CompletePaymentSetupResponseClass
22
+ */
23
+ 'paymentMethod': object;
24
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL CustomerService
6
+ * The EMIL CustomerService 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 });
@@ -0,0 +1,60 @@
1
+ /**
2
+ * EMIL CustomerService
3
+ * The EMIL CustomerService 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 CompleteStripePaymentSetupRequestDto
16
+ */
17
+ export interface CompleteStripePaymentSetupRequestDto {
18
+ /**
19
+ * Account email address
20
+ * @type {string}
21
+ * @memberof CompleteStripePaymentSetupRequestDto
22
+ */
23
+ 'email': string;
24
+ /**
25
+ * Account first name
26
+ * @type {string}
27
+ * @memberof CompleteStripePaymentSetupRequestDto
28
+ */
29
+ 'firstName': string;
30
+ /**
31
+ * Account last name
32
+ * @type {string}
33
+ * @memberof CompleteStripePaymentSetupRequestDto
34
+ */
35
+ 'lastName': string;
36
+ /**
37
+ * Lead code
38
+ * @type {string}
39
+ * @memberof CompleteStripePaymentSetupRequestDto
40
+ */
41
+ 'leadCode'?: string;
42
+ /**
43
+ * Unique identifier for the customer on Stripe.
44
+ * @type {string}
45
+ * @memberof CompleteStripePaymentSetupRequestDto
46
+ */
47
+ 'pspCustomerId': string;
48
+ /**
49
+ * Unique identifier for payment method on Stripe.
50
+ * @type {string}
51
+ * @memberof CompleteStripePaymentSetupRequestDto
52
+ */
53
+ 'pspPaymentMethodId'?: string;
54
+ /**
55
+ * The payment method type on Stripe.
56
+ * @type {string}
57
+ * @memberof CompleteStripePaymentSetupRequestDto
58
+ */
59
+ 'paymentMethodType'?: string;
60
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL CustomerService
6
+ * The EMIL CustomerService 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 });
@@ -0,0 +1,132 @@
1
+ /**
2
+ * EMIL CustomerService
3
+ * The EMIL CustomerService 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 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.
26
+ * @type {string}
27
+ * @memberof CreateAccountRequestDto
28
+ */
29
+ 'firstName': string;
30
+ /**
31
+ * The account\'s holder last name.
32
+ * @type {string}
33
+ * @memberof CreateAccountRequestDto
34
+ */
35
+ 'lastName': string;
36
+ /**
37
+ * The account\'s holder gender.
38
+ * @type {string}
39
+ * @memberof CreateAccountRequestDto
40
+ */
41
+ 'gender': CreateAccountRequestDtoGenderEnum;
42
+ /**
43
+ * The account\'s holder street name.
44
+ * @type {string}
45
+ * @memberof CreateAccountRequestDto
46
+ */
47
+ 'street': string;
48
+ /**
49
+ * The account\'s holder ZIP or postal code.
50
+ * @type {string}
51
+ * @memberof CreateAccountRequestDto
52
+ */
53
+ 'zipCode': string;
54
+ /**
55
+ * The account\'s holder city, district, suburb, town, or village.
56
+ * @type {string}
57
+ * @memberof CreateAccountRequestDto
58
+ */
59
+ 'city': string;
60
+ /**
61
+ * The account\'s holder house number.
62
+ * @type {string}
63
+ * @memberof CreateAccountRequestDto
64
+ */
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;
72
+ /**
73
+ * The account\'s holder date of birth (Required for account of type person).
74
+ * @type {string}
75
+ * @memberof CreateAccountRequestDto
76
+ */
77
+ 'birthDate'?: string;
78
+ /**
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.
86
+ * @type {string}
87
+ * @memberof CreateAccountRequestDto
88
+ */
89
+ 'phone'?: string;
90
+ /**
91
+ * Optional field to enter your own account number.
92
+ * @type {string}
93
+ * @memberof CreateAccountRequestDto
94
+ */
95
+ 'accountNumber'?: string;
96
+ /**
97
+ * Optional field to enter extra information.
98
+ * @type {object}
99
+ * @memberof CreateAccountRequestDto
100
+ */
101
+ 'metadata'?: object;
102
+ /**
103
+ * Optional field to add predefined custom fields.
104
+ * @type {object}
105
+ * @memberof CreateAccountRequestDto
106
+ */
107
+ 'customFields'?: object;
108
+ /**
109
+ * Customer email.
110
+ * @type {string}
111
+ * @memberof CreateAccountRequestDto
112
+ */
113
+ 'email': 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];
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL CustomerService
6
+ * The EMIL CustomerService 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
+ };
@@ -0,0 +1,30 @@
1
+ /**
2
+ * EMIL CustomerService
3
+ * The EMIL CustomerService 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 CreateBankAccountRequestDto
16
+ */
17
+ export interface CreateBankAccountRequestDto {
18
+ /**
19
+ * Unique identifier of the account that this object belongs to.
20
+ * @type {string}
21
+ * @memberof CreateBankAccountRequestDto
22
+ */
23
+ 'accountCode'?: string;
24
+ /**
25
+ * Bank account IBAN.
26
+ * @type {string}
27
+ * @memberof CreateBankAccountRequestDto
28
+ */
29
+ 'iban': string;
30
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL CustomerService
6
+ * The EMIL CustomerService 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 });