@emilgroup/public-api-sdk 1.25.0 → 1.26.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 (222) hide show
  1. package/.openapi-generator/FILES +9 -0
  2. package/README.md +2 -2
  3. package/api/booking-funnels-api.ts +161 -0
  4. package/api/documents-api.ts +36 -22
  5. package/api/leads-api.ts +4 -4
  6. package/api/named-ranges-api.ts +250 -0
  7. package/api/products-api.ts +65 -38
  8. package/api.ts +4 -0
  9. package/base.ts +1 -0
  10. package/dist/api/address-completions-validations-api.d.ts +215 -0
  11. package/dist/api/address-completions-validations-api.js +369 -0
  12. package/dist/api/booking-funnels-api.d.ts +96 -0
  13. package/dist/api/booking-funnels-api.js +223 -0
  14. package/dist/api/default-api.d.ts +66 -0
  15. package/dist/api/default-api.js +196 -0
  16. package/dist/api/documents-api.d.ts +548 -0
  17. package/dist/api/documents-api.js +857 -0
  18. package/dist/api/leads-api.d.ts +441 -0
  19. package/dist/api/leads-api.js +787 -0
  20. package/dist/api/named-ranges-api.d.ts +150 -0
  21. package/dist/api/named-ranges-api.js +263 -0
  22. package/dist/api/notifications-api.d.ts +211 -0
  23. package/dist/api/notifications-api.js +410 -0
  24. package/dist/api/payments-setup-api.d.ts +228 -0
  25. package/dist/api/payments-setup-api.js +422 -0
  26. package/dist/api/products-api.d.ts +581 -0
  27. package/dist/api/products-api.js +933 -0
  28. package/dist/api.d.ts +20 -0
  29. package/dist/api.js +38 -0
  30. package/dist/base.d.ts +74 -0
  31. package/dist/base.js +299 -0
  32. package/dist/common.d.ts +91 -0
  33. package/dist/common.js +276 -0
  34. package/dist/configuration.d.ts +83 -0
  35. package/dist/configuration.js +44 -0
  36. package/dist/index.d.ts +15 -0
  37. package/dist/index.js +36 -0
  38. package/dist/models/address-completion-item-class.d.ts +49 -0
  39. package/dist/models/address-completion-item-class.js +15 -0
  40. package/dist/models/address-completion-response-class.d.ts +25 -0
  41. package/dist/models/address-completion-response-class.js +15 -0
  42. package/dist/models/address-field-score-class.d.ts +48 -0
  43. package/dist/models/address-field-score-class.js +15 -0
  44. package/dist/models/booking-funnel-class.d.ts +90 -0
  45. package/dist/models/booking-funnel-class.js +15 -0
  46. package/dist/models/calculate-product-fields-request-dto.d.ts +31 -0
  47. package/dist/models/calculate-product-fields-request-dto.js +15 -0
  48. package/dist/models/calculate-product-fields-response-class.d.ts +25 -0
  49. package/dist/models/calculate-product-fields-response-class.js +15 -0
  50. package/dist/models/complete-braintree-payment-setup-request-dto.d.ts +48 -0
  51. package/dist/models/complete-braintree-payment-setup-request-dto.js +15 -0
  52. package/dist/models/complete-email-verification-dto.d.ts +30 -0
  53. package/dist/models/complete-email-verification-dto.js +15 -0
  54. package/dist/models/complete-email-verification-response-class.d.ts +24 -0
  55. package/dist/models/complete-email-verification-response-class.js +15 -0
  56. package/dist/models/complete-payment-setup-request-dto.d.ts +32 -0
  57. package/dist/models/complete-payment-setup-request-dto.js +15 -0
  58. package/dist/models/complete-payment-setup-response-class.d.ts +25 -0
  59. package/dist/models/complete-payment-setup-response-class.js +15 -0
  60. package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +60 -0
  61. package/dist/models/complete-stripe-payment-setup-request-dto.js +15 -0
  62. package/dist/models/create-account-request-dto.d.ts +132 -0
  63. package/dist/models/create-account-request-dto.js +31 -0
  64. package/dist/models/create-bank-account-request-dto.d.ts +30 -0
  65. package/dist/models/create-bank-account-request-dto.js +15 -0
  66. package/dist/models/create-custom-application-request-dto.d.ts +35 -0
  67. package/dist/models/create-custom-application-request-dto.js +20 -0
  68. package/dist/models/create-custom-application-response-class.d.ts +24 -0
  69. package/dist/models/create-custom-application-response-class.js +15 -0
  70. package/dist/models/create-document-request-dto.d.ts +132 -0
  71. package/dist/models/create-document-request-dto.js +43 -0
  72. package/dist/models/create-estimated-invoice-request-dto.d.ts +55 -0
  73. package/dist/models/create-estimated-invoice-request-dto.js +20 -0
  74. package/dist/models/create-estimated-invoice-response-class.d.ts +38 -0
  75. package/dist/models/create-estimated-invoice-response-class.js +15 -0
  76. package/dist/models/create-lead-async-response-class.d.ts +24 -0
  77. package/dist/models/create-lead-async-response-class.js +15 -0
  78. package/dist/models/create-lead-request-dto.d.ts +120 -0
  79. package/dist/models/create-lead-request-dto.js +15 -0
  80. package/dist/models/create-lead-response-class.d.ts +25 -0
  81. package/dist/models/create-lead-response-class.js +15 -0
  82. package/dist/models/create-payment-method-request-dto.d.ts +36 -0
  83. package/dist/models/create-payment-method-request-dto.js +20 -0
  84. package/dist/models/create-presigned-post-request-dto.d.ts +128 -0
  85. package/dist/models/create-presigned-post-request-dto.js +52 -0
  86. package/dist/models/create-presigned-post-response-class.d.ts +30 -0
  87. package/dist/models/create-presigned-post-response-class.js +15 -0
  88. package/dist/models/document-class.d.ts +144 -0
  89. package/dist/models/document-class.js +49 -0
  90. package/dist/models/filter-named-range-response-class.d.ts +42 -0
  91. package/dist/models/filter-named-range-response-class.js +15 -0
  92. package/dist/models/get-booking-funnel-response-class.d.ts +25 -0
  93. package/dist/models/get-booking-funnel-response-class.js +15 -0
  94. package/dist/models/get-custom-css-response-class.d.ts +24 -0
  95. package/dist/models/get-custom-css-response-class.js +15 -0
  96. package/dist/models/get-lead-response-class.d.ts +25 -0
  97. package/dist/models/get-lead-response-class.js +15 -0
  98. package/dist/models/get-product-document-download-url-response-class.d.ts +24 -0
  99. package/dist/models/get-product-document-download-url-response-class.js +15 -0
  100. package/dist/models/get-public-psp-settings-response-class.d.ts +30 -0
  101. package/dist/models/get-public-psp-settings-response-class.js +15 -0
  102. package/dist/models/index.d.ts +79 -0
  103. package/dist/models/index.js +95 -0
  104. package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +30 -0
  105. package/dist/models/initiate-braintree-payment-setup-request-dto.js +15 -0
  106. package/dist/models/initiate-braintree-payment-setup-response-class.d.ts +24 -0
  107. package/dist/models/initiate-braintree-payment-setup-response-class.js +15 -0
  108. package/dist/models/initiate-email-verification-dto.d.ts +30 -0
  109. package/dist/models/initiate-email-verification-dto.js +15 -0
  110. package/dist/models/initiate-email-verification-response-class.d.ts +24 -0
  111. package/dist/models/initiate-email-verification-response-class.js +15 -0
  112. package/dist/models/initiate-lead-response-class.d.ts +24 -0
  113. package/dist/models/initiate-lead-response-class.js +15 -0
  114. package/dist/models/initiate-payment-setup-request-dto.d.ts +32 -0
  115. package/dist/models/initiate-payment-setup-request-dto.js +15 -0
  116. package/dist/models/initiate-payment-setup-response-class.d.ts +32 -0
  117. package/dist/models/initiate-payment-setup-response-class.js +15 -0
  118. package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +30 -0
  119. package/dist/models/initiate-stripe-payment-setup-request-dto.js +15 -0
  120. package/dist/models/initiate-stripe-payment-setup-response-class.d.ts +30 -0
  121. package/dist/models/initiate-stripe-payment-setup-response-class.js +15 -0
  122. package/dist/models/inline-response200.d.ts +54 -0
  123. package/dist/models/inline-response200.js +15 -0
  124. package/dist/models/inline-response503.d.ts +54 -0
  125. package/dist/models/inline-response503.js +15 -0
  126. package/dist/models/insured-object-class.d.ts +85 -0
  127. package/dist/models/insured-object-class.js +15 -0
  128. package/dist/models/insured-object-type-class.d.ts +48 -0
  129. package/dist/models/insured-object-type-class.js +15 -0
  130. package/dist/models/invoice-class.d.ts +134 -0
  131. package/dist/models/invoice-class.js +15 -0
  132. package/dist/models/invoice-item-class.d.ts +120 -0
  133. package/dist/models/invoice-item-class.js +15 -0
  134. package/dist/models/invoice-status-class.d.ts +42 -0
  135. package/dist/models/invoice-status-class.js +15 -0
  136. package/dist/models/lead-account-class.d.ts +109 -0
  137. package/dist/models/lead-account-class.js +22 -0
  138. package/dist/models/lead-bank-account-class.d.ts +30 -0
  139. package/dist/models/lead-bank-account-class.js +15 -0
  140. package/dist/models/lead-class.d.ts +116 -0
  141. package/dist/models/lead-class.js +15 -0
  142. package/dist/models/lead-policy-class.d.ts +43 -0
  143. package/dist/models/lead-policy-class.js +15 -0
  144. package/dist/models/lead-policy-object-class.d.ts +36 -0
  145. package/dist/models/lead-policy-object-class.js +15 -0
  146. package/dist/models/list-documents-response-class.d.ts +31 -0
  147. package/dist/models/list-documents-response-class.js +15 -0
  148. package/dist/models/list-product-documents-response-class.d.ts +31 -0
  149. package/dist/models/list-product-documents-response-class.js +15 -0
  150. package/dist/models/list-products-response-class.d.ts +31 -0
  151. package/dist/models/list-products-response-class.js +15 -0
  152. package/dist/models/partner-class.d.ts +60 -0
  153. package/dist/models/partner-class.js +15 -0
  154. package/dist/models/partner-link-class.d.ts +86 -0
  155. package/dist/models/partner-link-class.js +15 -0
  156. package/dist/models/partner-role-class.d.ts +54 -0
  157. package/dist/models/partner-role-class.js +15 -0
  158. package/dist/models/payment-method-class.d.ts +60 -0
  159. package/dist/models/payment-method-class.js +15 -0
  160. package/dist/models/policy-object-request-dto.d.ts +42 -0
  161. package/dist/models/policy-object-request-dto.js +15 -0
  162. package/dist/models/policy-object-response-class.d.ts +36 -0
  163. package/dist/models/policy-object-response-class.js +15 -0
  164. package/dist/models/premium-override-dto.d.ts +55 -0
  165. package/dist/models/premium-override-dto.js +27 -0
  166. package/dist/models/premium-override-request-dto.d.ts +25 -0
  167. package/dist/models/premium-override-request-dto.js +15 -0
  168. package/dist/models/product-class.d.ts +80 -0
  169. package/dist/models/product-class.js +15 -0
  170. package/dist/models/product-document-class.d.ts +123 -0
  171. package/dist/models/product-document-class.js +36 -0
  172. package/dist/models/product-factor-for-version-class.d.ts +61 -0
  173. package/dist/models/product-factor-for-version-class.js +15 -0
  174. package/dist/models/product-factor-value-for-version-class.d.ts +42 -0
  175. package/dist/models/product-factor-value-for-version-class.js +15 -0
  176. package/dist/models/product-field-class.d.ts +132 -0
  177. package/dist/models/product-field-class.js +15 -0
  178. package/dist/models/product-version-class.d.ts +61 -0
  179. package/dist/models/product-version-class.js +22 -0
  180. package/dist/models/send-notification-request-dto.d.ts +36 -0
  181. package/dist/models/send-notification-request-dto.js +15 -0
  182. package/dist/models/send-notification-response-class.d.ts +24 -0
  183. package/dist/models/send-notification-response-class.js +15 -0
  184. package/dist/models/sepa-dto.d.ts +30 -0
  185. package/dist/models/sepa-dto.js +15 -0
  186. package/dist/models/structured-address-class.d.ts +54 -0
  187. package/dist/models/structured-address-class.js +15 -0
  188. package/dist/models/suggested-address-details-class.d.ts +90 -0
  189. package/dist/models/suggested-address-details-class.js +15 -0
  190. package/dist/models/update-lead-request-dto.d.ts +95 -0
  191. package/dist/models/update-lead-request-dto.js +15 -0
  192. package/dist/models/update-lead-response-class.d.ts +25 -0
  193. package/dist/models/update-lead-response-class.js +15 -0
  194. package/dist/models/uploaded-document-dto.d.ts +24 -0
  195. package/dist/models/uploaded-document-dto.js +15 -0
  196. package/dist/models/validate-address-response-class.d.ts +50 -0
  197. package/dist/models/validate-address-response-class.js +15 -0
  198. package/models/address-field-score-class.ts +10 -10
  199. package/models/booking-funnel-class.ts +96 -0
  200. package/models/create-account-request-dto.ts +1 -1
  201. package/models/create-document-request-dto.ts +2 -2
  202. package/models/create-lead-request-dto.ts +13 -1
  203. package/models/create-presigned-post-request-dto.ts +2 -2
  204. package/models/document-class.ts +1 -1
  205. package/models/filter-named-range-response-class.ts +48 -0
  206. package/models/get-booking-funnel-response-class.ts +31 -0
  207. package/models/index.ts +7 -0
  208. package/models/initiate-email-verification-dto.ts +1 -1
  209. package/models/insured-object-type-class.ts +1 -1
  210. package/models/lead-account-class.ts +1 -1
  211. package/models/lead-class.ts +7 -0
  212. package/models/lead-policy-object-class.ts +2 -2
  213. package/models/partner-class.ts +66 -0
  214. package/models/partner-link-class.ts +92 -0
  215. package/models/partner-role-class.ts +60 -0
  216. package/models/product-class.ts +1 -1
  217. package/models/product-document-class.ts +14 -2
  218. package/models/product-factor-for-version-class.ts +4 -3
  219. package/models/product-factor-value-for-version-class.ts +48 -0
  220. package/models/send-notification-request-dto.ts +1 -1
  221. package/models/update-lead-request-dto.ts +1 -1
  222. package/package.json +1 -1
@@ -0,0 +1,54 @@
1
+ /**
2
+ * Emil PublicAPI
3
+ * The Emil Public 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 StructuredAddressClass
16
+ */
17
+ export interface StructuredAddressClass {
18
+ /**
19
+ * City of the address.
20
+ * @type {string}
21
+ * @memberof StructuredAddressClass
22
+ */
23
+ 'city': string;
24
+ /**
25
+ * List of broken down address components.
26
+ * @type {Array<string>}
27
+ * @memberof StructuredAddressClass
28
+ */
29
+ 'components': Array<string>;
30
+ /**
31
+ * Country of the address.
32
+ * @type {string}
33
+ * @memberof StructuredAddressClass
34
+ */
35
+ 'country': string;
36
+ /**
37
+ * House number of the address.
38
+ * @type {string}
39
+ * @memberof StructuredAddressClass
40
+ */
41
+ 'houseNumber': string;
42
+ /**
43
+ * Postal code of the address.
44
+ * @type {string}
45
+ * @memberof StructuredAddressClass
46
+ */
47
+ 'postalCode': string;
48
+ /**
49
+ * Street of the address.
50
+ * @type {string}
51
+ * @memberof StructuredAddressClass
52
+ */
53
+ 'street': string;
54
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Emil PublicAPI
6
+ * The Emil Public 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,90 @@
1
+ /**
2
+ * Emil PublicAPI
3
+ * The Emil Public 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 SuggestedAddressDetailsClass
16
+ */
17
+ export interface SuggestedAddressDetailsClass {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof SuggestedAddressDetailsClass
22
+ */
23
+ 'label': string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof SuggestedAddressDetailsClass
28
+ */
29
+ 'countryCode': string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof SuggestedAddressDetailsClass
34
+ */
35
+ 'countryName': string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof SuggestedAddressDetailsClass
40
+ */
41
+ 'stateCode': string;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof SuggestedAddressDetailsClass
46
+ */
47
+ 'state': string;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof SuggestedAddressDetailsClass
52
+ */
53
+ 'countyCode'?: string;
54
+ /**
55
+ *
56
+ * @type {string}
57
+ * @memberof SuggestedAddressDetailsClass
58
+ */
59
+ 'county'?: string;
60
+ /**
61
+ *
62
+ * @type {string}
63
+ * @memberof SuggestedAddressDetailsClass
64
+ */
65
+ 'city': string;
66
+ /**
67
+ *
68
+ * @type {string}
69
+ * @memberof SuggestedAddressDetailsClass
70
+ */
71
+ 'district': string;
72
+ /**
73
+ *
74
+ * @type {string}
75
+ * @memberof SuggestedAddressDetailsClass
76
+ */
77
+ 'street': string;
78
+ /**
79
+ *
80
+ * @type {string}
81
+ * @memberof SuggestedAddressDetailsClass
82
+ */
83
+ 'postalCode': string;
84
+ /**
85
+ *
86
+ * @type {string}
87
+ * @memberof SuggestedAddressDetailsClass
88
+ */
89
+ 'houseNumber'?: string;
90
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Emil PublicAPI
6
+ * The Emil Public 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,95 @@
1
+ /**
2
+ * Emil PublicAPI
3
+ * The Emil Public 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 { CreateAccountRequestDto } from './create-account-request-dto';
13
+ import { CreateBankAccountRequestDto } from './create-bank-account-request-dto';
14
+ import { CreatePaymentMethodRequestDto } from './create-payment-method-request-dto';
15
+ import { PolicyObjectRequestDto } from './policy-object-request-dto';
16
+ import { UploadedDocumentDto } from './uploaded-document-dto';
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface UpdateLeadRequestDto
21
+ */
22
+ export interface UpdateLeadRequestDto {
23
+ /**
24
+ * The lead code is used in cases where the lead has been initiated before the lead creation.
25
+ * @type {string}
26
+ * @memberof UpdateLeadRequestDto
27
+ */
28
+ 'code': string;
29
+ /**
30
+ * The product version id of the product version to be used for the lead. The product version id will be validated if the \'validate\' flag is set to true.
31
+ * @type {number}
32
+ * @memberof UpdateLeadRequestDto
33
+ */
34
+ 'productVersionId'?: number;
35
+ /**
36
+ * Unique identifier of the product that this object belongs to.
37
+ * @type {string}
38
+ * @memberof UpdateLeadRequestDto
39
+ */
40
+ 'productCode'?: string;
41
+ /**
42
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
43
+ * @type {string}
44
+ * @memberof UpdateLeadRequestDto
45
+ */
46
+ 'productSlug'?: string;
47
+ /**
48
+ * Account object. The create lead request should either contain accountCode or account. The account content will be validated if the \'validate\' flag is set to true. an empty object is required if \'validate flag is set to false.
49
+ * @type {CreateAccountRequestDto}
50
+ * @memberof UpdateLeadRequestDto
51
+ */
52
+ 'account': CreateAccountRequestDto;
53
+ /**
54
+ * The policy objects contains necessary information to create a policy. The Policy objects array will be validated if the \'validate\' flag is set to true
55
+ * @type {Array<PolicyObjectRequestDto>}
56
+ * @memberof UpdateLeadRequestDto
57
+ */
58
+ 'policyObjects'?: Array<PolicyObjectRequestDto>;
59
+ /**
60
+ * Bank account details, to be used for direct debit payments, the created bank account will be attached to the lead for later use, such as paying claims. The bank account content will be validated if the \'validate\' flag is set to true.
61
+ * @type {CreateBankAccountRequestDto}
62
+ * @memberof UpdateLeadRequestDto
63
+ */
64
+ 'bankAccount'?: CreateBankAccountRequestDto;
65
+ /**
66
+ * Optional custom data for the lead. This field is useful for edge cases where the lead requires additional data for the risk carrier, such as creating an application in the risk carrier platform or performing a premium calculation. The custom data should include three main entities: \'data\', \'provider\', and \'productCode\'. The \'data\' entity contains information used in the risk carrier platform, the \'provider\' field contains the name of the provider (usually the risk carrier\'s name), the provider must be supported in EMIL, The \'productCode\' field contains the product code in EMIL
67
+ * @type {object}
68
+ * @memberof UpdateLeadRequestDto
69
+ */
70
+ 'customData'?: object;
71
+ /**
72
+ * Used to pass pre-uploaded documents to the lead. By providing the codes of the uploaded documents, they will be attached to the lead. The uploaded document content will be validated if the \'validate\' flag is set to true.
73
+ * @type {UploadedDocumentDto}
74
+ * @memberof UpdateLeadRequestDto
75
+ */
76
+ 'uploadedDocument'?: UploadedDocumentDto;
77
+ /**
78
+ * Lead status. Default values are \"created\", \"approved\" and \"declined\". However, those can be extended using /lead-statuses endpoint from insuranceservice.
79
+ * @type {string}
80
+ * @memberof UpdateLeadRequestDto
81
+ */
82
+ 'status': string;
83
+ /**
84
+ * Payment method, used to for payment method support, such as SEPA, invoice, etc. The payment method content will be validated if the \'validate\' flag is set to true.
85
+ * @type {CreatePaymentMethodRequestDto}
86
+ * @memberof UpdateLeadRequestDto
87
+ */
88
+ 'paymentMethod'?: CreatePaymentMethodRequestDto;
89
+ /**
90
+ * The validation indicator, with a default value of true, serves as a toggle. When set to false, it allows the bypassing of validation—a useful option for saving leads for later processing. This feature provides flexibility by enabling users to choose whether to enforce validation checks during the current stage or defer them for a subsequent time.
91
+ * @type {boolean}
92
+ * @memberof UpdateLeadRequestDto
93
+ */
94
+ 'validate'?: boolean;
95
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Emil PublicAPI
6
+ * The Emil Public 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,25 @@
1
+ /**
2
+ * Emil PublicAPI
3
+ * The Emil Public 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 { LeadClass } from './lead-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface UpdateLeadResponseClass
17
+ */
18
+ export interface UpdateLeadResponseClass {
19
+ /**
20
+ * The list of leads.
21
+ * @type {LeadClass}
22
+ * @memberof UpdateLeadResponseClass
23
+ */
24
+ 'lead': LeadClass;
25
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Emil PublicAPI
6
+ * The Emil Public 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 PublicAPI
3
+ * The Emil Public 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 UploadedDocumentDto
16
+ */
17
+ export interface UploadedDocumentDto {
18
+ /**
19
+ * Uploaded document codes.
20
+ * @type {Array<string>}
21
+ * @memberof UploadedDocumentDto
22
+ */
23
+ 'codes': Array<string>;
24
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Emil PublicAPI
6
+ * The Emil Public 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,50 @@
1
+ /**
2
+ * Emil PublicAPI
3
+ * The Emil Public 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 { AddressFieldScoreClass } from './address-field-score-class';
13
+ import { StructuredAddressClass } from './structured-address-class';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface ValidateAddressResponseClass
18
+ */
19
+ export interface ValidateAddressResponseClass {
20
+ /**
21
+ * The error object for address validation!
22
+ * @type {object}
23
+ * @memberof ValidateAddressResponseClass
24
+ */
25
+ 'errors': object;
26
+ /**
27
+ * Indicates whether the address is valid or not!
28
+ * @type {boolean}
29
+ * @memberof ValidateAddressResponseClass
30
+ */
31
+ 'isAddressValid': boolean;
32
+ /**
33
+ * The input address in a single line
34
+ * @type {string}
35
+ * @memberof ValidateAddressResponseClass
36
+ */
37
+ 'rawAddress': string;
38
+ /**
39
+ * Individual score for various parts of the address
40
+ * @type {AddressFieldScoreClass}
41
+ * @memberof ValidateAddressResponseClass
42
+ */
43
+ 'score': AddressFieldScoreClass;
44
+ /**
45
+ * The structured address object!
46
+ * @type {StructuredAddressClass}
47
+ * @memberof ValidateAddressResponseClass
48
+ */
49
+ 'structuredAddress': StructuredAddressClass;
50
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Emil PublicAPI
6
+ * The Emil Public 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 });
@@ -22,33 +22,33 @@
22
22
  export interface AddressFieldScoreClass {
23
23
  /**
24
24
  * Score for the city field
25
- * @type {object}
25
+ * @type {number}
26
26
  * @memberof AddressFieldScoreClass
27
27
  */
28
- 'city'?: object;
28
+ 'city'?: number;
29
29
  /**
30
30
  * Score for the city field
31
- * @type {object}
31
+ * @type {number}
32
32
  * @memberof AddressFieldScoreClass
33
33
  */
34
- 'country'?: object;
34
+ 'country'?: number;
35
35
  /**
36
36
  * Score for the city field
37
- * @type {object}
37
+ * @type {number}
38
38
  * @memberof AddressFieldScoreClass
39
39
  */
40
- 'houseNumber'?: object;
40
+ 'houseNumber'?: number;
41
41
  /**
42
42
  * Score for the city field
43
- * @type {object}
43
+ * @type {number}
44
44
  * @memberof AddressFieldScoreClass
45
45
  */
46
- 'postalCode'?: object;
46
+ 'postalCode'?: number;
47
47
  /**
48
48
  * Score for the city field
49
- * @type {object}
49
+ * @type {number}
50
50
  * @memberof AddressFieldScoreClass
51
51
  */
52
- 'street'?: object;
52
+ 'street'?: number;
53
53
  }
54
54
 
@@ -0,0 +1,96 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Emil PublicAPI
5
+ * The Emil Public API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
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 BookingFunnelClass
21
+ */
22
+ export interface BookingFunnelClass {
23
+ /**
24
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
25
+ * @type {number}
26
+ * @memberof BookingFunnelClass
27
+ */
28
+ 'id': number;
29
+ /**
30
+ * Unique identifier for the object.
31
+ * @type {string}
32
+ * @memberof BookingFunnelClass
33
+ */
34
+ 'code': string;
35
+ /**
36
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
37
+ * @type {number}
38
+ * @memberof BookingFunnelClass
39
+ */
40
+ 'parentId': number;
41
+ /**
42
+ * Booking Funnel name.
43
+ * @type {string}
44
+ * @memberof BookingFunnelClass
45
+ */
46
+ 'name': string;
47
+ /**
48
+ * Booking Funnel snippet.
49
+ * @type {string}
50
+ * @memberof BookingFunnelClass
51
+ */
52
+ 'jsCode': string;
53
+ /**
54
+ * Booking Funnel JSON steps configuration.
55
+ * @type {object}
56
+ * @memberof BookingFunnelClass
57
+ */
58
+ 'stepsConfig': object;
59
+ /**
60
+ * Booking Funnel custom CSS.
61
+ * @type {string}
62
+ * @memberof BookingFunnelClass
63
+ */
64
+ 'css': string;
65
+ /**
66
+ * Booking Funnel logo url.
67
+ * @type {string}
68
+ * @memberof BookingFunnelClass
69
+ */
70
+ 'logoPath': string;
71
+ /**
72
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
73
+ * @type {string}
74
+ * @memberof BookingFunnelClass
75
+ */
76
+ 'productSlug': string;
77
+ /**
78
+ * Booking Funnel version.
79
+ * @type {number}
80
+ * @memberof BookingFunnelClass
81
+ */
82
+ 'version': number;
83
+ /**
84
+ * Time at which the object was created.
85
+ * @type {string}
86
+ * @memberof BookingFunnelClass
87
+ */
88
+ 'createdAt': string;
89
+ /**
90
+ * Time at which the object was updated.
91
+ * @type {string}
92
+ * @memberof BookingFunnelClass
93
+ */
94
+ 'updatedAt': string;
95
+ }
96
+
@@ -122,7 +122,7 @@ export const CreateAccountRequestDtoTitleEnum = {
122
122
  Empty: '',
123
123
  Dr: 'Dr.',
124
124
  DrMed: 'Dr. med.',
125
- ProfDrMed: 'Prof. Dr. med.'
125
+ Prof: 'Prof.'
126
126
  } as const;
127
127
 
128
128
  export type CreateAccountRequestDtoTitleEnum = typeof CreateAccountRequestDtoTitleEnum[keyof typeof CreateAccountRequestDtoTitleEnum];
@@ -21,13 +21,13 @@
21
21
  */
22
22
  export interface CreateDocumentRequestDto {
23
23
  /**
24
- * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
24
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
25
25
  * @type {string}
26
26
  * @memberof CreateDocumentRequestDto
27
27
  */
28
28
  'templateSlug': string;
29
29
  /**
30
- * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
30
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
31
31
  * @type {string}
32
32
  * @memberof CreateDocumentRequestDto
33
33
  */
@@ -45,7 +45,7 @@ export interface CreateLeadRequestDto {
45
45
  */
46
46
  'productCode'?: string;
47
47
  /**
48
- * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
48
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
49
49
  * @type {string}
50
50
  * @memberof CreateLeadRequestDto
51
51
  */
@@ -110,5 +110,17 @@ export interface CreateLeadRequestDto {
110
110
  * @memberof CreateLeadRequestDto
111
111
  */
112
112
  'validate'?: boolean;
113
+ /**
114
+ * An optional partner code to establish a link between a lead and a partner. It must be sent together with the partner role code. It will be validated regardless of the value of the \'validate\' flag.
115
+ * @type {string}
116
+ * @memberof CreateLeadRequestDto
117
+ */
118
+ 'partnerCode'?: string;
119
+ /**
120
+ * An optional partner role code to establish a link between a lead and a partner. It must be sent together with the partner code. It will be validated regardless of the value of the \'validate\' flag.
121
+ * @type {string}
122
+ * @memberof CreateLeadRequestDto
123
+ */
124
+ 'partnerRoleCode'?: string;
113
125
  }
114
126
 
@@ -21,7 +21,7 @@
21
21
  */
22
22
  export interface CreatePresignedPostRequestDto {
23
23
  /**
24
- * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
24
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
25
25
  * @type {string}
26
26
  * @memberof CreatePresignedPostRequestDto
27
27
  */
@@ -87,7 +87,7 @@ export interface CreatePresignedPostRequestDto {
87
87
  */
88
88
  'filename': string;
89
89
  /**
90
- * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
90
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
91
91
  * @type {string}
92
92
  * @memberof CreatePresignedPostRequestDto
93
93
  */
@@ -33,7 +33,7 @@ export interface DocumentClass {
33
33
  */
34
34
  'code': string;
35
35
  /**
36
- * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
36
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
37
37
  * @type {string}
38
38
  * @memberof DocumentClass
39
39
  */