@emilgroup/public-api-sdk-node 1.0.1 → 1.1.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 (171) hide show
  1. package/.openapi-generator/FILES +34 -1
  2. package/README.md +3 -5
  3. package/api/documents-api.ts +31 -17
  4. package/api/leads-api.ts +482 -0
  5. package/api/notifications-api.ts +169 -0
  6. package/api/{payment-setup-api.ts → payments-setup-api.ts} +56 -44
  7. package/api/products-api.ts +88 -333
  8. package/api.ts +9 -5
  9. package/base.ts +3 -3
  10. package/common.ts +6 -6
  11. package/configuration.ts +3 -3
  12. package/dist/api/documents-api.d.ts +31 -18
  13. package/dist/api/documents-api.js +28 -16
  14. package/dist/api/leads-api.d.ts +266 -0
  15. package/dist/api/leads-api.js +506 -0
  16. package/dist/api/notifications-api.d.ts +97 -0
  17. package/dist/api/notifications-api.js +228 -0
  18. package/dist/api/{payment-setup-api.d.ts → payments-setup-api.d.ts} +50 -40
  19. package/dist/api/{payment-setup-api.js → payments-setup-api.js} +47 -39
  20. package/dist/api/products-api.d.ts +82 -197
  21. package/dist/api/products-api.js +65 -300
  22. package/dist/api.d.ts +6 -4
  23. package/dist/api.js +6 -4
  24. package/dist/base.d.ts +3 -3
  25. package/dist/base.js +4 -4
  26. package/dist/common.d.ts +6 -6
  27. package/dist/common.js +4 -4
  28. package/dist/configuration.d.ts +3 -3
  29. package/dist/configuration.js +3 -3
  30. package/dist/index.d.ts +3 -3
  31. package/dist/index.js +3 -3
  32. package/dist/models/complete-braintree-payment-setup-request-dto.d.ts +8 -8
  33. package/dist/models/complete-braintree-payment-setup-request-dto.js +3 -3
  34. package/dist/models/complete-payment-setup-request-dto.d.ts +3 -3
  35. package/dist/models/complete-payment-setup-request-dto.js +3 -3
  36. package/dist/models/complete-payment-setup-response-class.d.ts +25 -0
  37. package/dist/models/complete-payment-setup-response-class.js +15 -0
  38. package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +9 -9
  39. package/dist/models/complete-stripe-payment-setup-request-dto.js +3 -3
  40. package/dist/models/create-account-request-dto.d.ts +29 -4
  41. package/dist/models/create-account-request-dto.js +10 -4
  42. package/dist/models/create-bank-account-request-dto.d.ts +7 -7
  43. package/dist/models/create-bank-account-request-dto.js +3 -3
  44. package/dist/models/create-custom-application-request-dto.d.ts +7 -6
  45. package/dist/models/create-custom-application-request-dto.js +5 -4
  46. package/dist/models/create-custom-application-response-class.d.ts +24 -0
  47. package/dist/models/create-custom-application-response-class.js +15 -0
  48. package/dist/models/create-document-request-dto.d.ts +21 -15
  49. package/dist/models/create-document-request-dto.js +3 -3
  50. package/dist/models/create-estimated-invoice-request-dto.d.ts +14 -6
  51. package/dist/models/create-estimated-invoice-request-dto.js +5 -4
  52. package/dist/models/create-estimated-invoice-response-class.d.ts +25 -0
  53. package/dist/models/create-estimated-invoice-response-class.js +15 -0
  54. package/dist/models/create-lead-request-dto.d.ts +24 -17
  55. package/dist/models/create-lead-request-dto.js +3 -3
  56. package/dist/models/create-lead-response-class.d.ts +25 -0
  57. package/dist/models/create-lead-response-class.js +15 -0
  58. package/dist/models/document-class.d.ts +130 -0
  59. package/dist/models/document-class.js +41 -0
  60. package/dist/models/get-custom-css-response-class.d.ts +24 -0
  61. package/dist/models/get-custom-css-response-class.js +15 -0
  62. package/dist/models/get-lead-response-class.d.ts +25 -0
  63. package/dist/models/get-lead-response-class.js +15 -0
  64. package/dist/models/index.d.ts +31 -0
  65. package/dist/models/index.js +31 -0
  66. package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +4 -4
  67. package/dist/models/initiate-braintree-payment-setup-request-dto.js +3 -3
  68. package/dist/models/initiate-braintree-payment-setup-response-class.d.ts +24 -0
  69. package/dist/models/initiate-braintree-payment-setup-response-class.js +15 -0
  70. package/dist/models/initiate-lead-response-class.d.ts +24 -0
  71. package/dist/models/initiate-lead-response-class.js +15 -0
  72. package/dist/models/initiate-payment-setup-request-dto.d.ts +3 -3
  73. package/dist/models/initiate-payment-setup-request-dto.js +3 -3
  74. package/dist/models/initiate-payment-setup-response-class.d.ts +32 -0
  75. package/dist/models/initiate-payment-setup-response-class.js +15 -0
  76. package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +4 -4
  77. package/dist/models/initiate-stripe-payment-setup-request-dto.js +3 -3
  78. package/dist/models/initiate-stripe-payment-setup-response-class.d.ts +30 -0
  79. package/dist/models/initiate-stripe-payment-setup-response-class.js +15 -0
  80. package/dist/models/insured-object-class.d.ts +67 -0
  81. package/dist/models/insured-object-class.js +15 -0
  82. package/dist/models/insured-object-type-class.d.ts +48 -0
  83. package/dist/models/insured-object-type-class.js +15 -0
  84. package/dist/models/invoice-class.d.ts +128 -0
  85. package/dist/models/invoice-class.js +15 -0
  86. package/dist/models/invoice-item-class.d.ts +108 -0
  87. package/dist/models/invoice-item-class.js +15 -0
  88. package/dist/models/invoice-status-class.d.ts +42 -0
  89. package/dist/models/invoice-status-class.js +15 -0
  90. package/dist/models/lead-account-class.d.ts +109 -0
  91. package/dist/models/lead-account-class.js +22 -0
  92. package/dist/models/lead-bank-account-class.d.ts +30 -0
  93. package/dist/models/lead-bank-account-class.js +15 -0
  94. package/dist/models/lead-class.d.ts +77 -0
  95. package/dist/models/lead-class.js +15 -0
  96. package/dist/models/lead-policy-class.d.ts +44 -0
  97. package/dist/models/lead-policy-class.js +15 -0
  98. package/dist/models/lead-policy-object-class.d.ts +30 -0
  99. package/dist/models/lead-policy-object-class.js +15 -0
  100. package/dist/models/list-documents-response-class.d.ts +31 -0
  101. package/dist/models/list-documents-response-class.js +15 -0
  102. package/dist/models/payment-method-class.d.ts +60 -0
  103. package/dist/models/payment-method-class.js +15 -0
  104. package/dist/models/policy-object-request-dto.d.ts +5 -5
  105. package/dist/models/policy-object-request-dto.js +3 -3
  106. package/dist/models/premium-override-dto.d.ts +53 -0
  107. package/dist/models/premium-override-dto.js +25 -0
  108. package/dist/models/premium-override-request-dto.d.ts +25 -0
  109. package/dist/models/premium-override-request-dto.js +15 -0
  110. package/dist/models/product-factor-class.d.ts +54 -0
  111. package/dist/models/product-factor-class.js +15 -0
  112. package/dist/models/product-field-class.d.ts +120 -0
  113. package/dist/models/product-field-class.js +15 -0
  114. package/dist/models/send-notification-request-dto.d.ts +36 -0
  115. package/dist/models/send-notification-request-dto.js +15 -0
  116. package/dist/models/send-notification-response-class.d.ts +24 -0
  117. package/dist/models/send-notification-response-class.js +15 -0
  118. package/dist/models/update-lead-request-dto.d.ts +84 -0
  119. package/dist/models/update-lead-request-dto.js +22 -0
  120. package/dist/models/update-lead-response-class.d.ts +25 -0
  121. package/dist/models/update-lead-response-class.js +15 -0
  122. package/dist/models/uploaded-document-dto.d.ts +4 -4
  123. package/dist/models/uploaded-document-dto.js +3 -3
  124. package/index.ts +3 -3
  125. package/models/complete-braintree-payment-setup-request-dto.ts +8 -8
  126. package/models/complete-payment-setup-request-dto.ts +3 -3
  127. package/models/complete-payment-setup-response-class.ts +31 -0
  128. package/models/complete-stripe-payment-setup-request-dto.ts +9 -9
  129. package/models/create-account-request-dto.ts +29 -3
  130. package/models/create-bank-account-request-dto.ts +7 -7
  131. package/models/create-custom-application-request-dto.ts +7 -6
  132. package/models/create-custom-application-response-class.ts +30 -0
  133. package/models/create-document-request-dto.ts +19 -13
  134. package/models/create-estimated-invoice-request-dto.ts +14 -6
  135. package/models/create-estimated-invoice-response-class.ts +31 -0
  136. package/models/create-lead-request-dto.ts +23 -16
  137. package/models/create-lead-response-class.ts +31 -0
  138. package/models/document-class.ts +141 -0
  139. package/models/get-custom-css-response-class.ts +30 -0
  140. package/models/get-lead-response-class.ts +31 -0
  141. package/models/index.ts +31 -0
  142. package/models/initiate-braintree-payment-setup-request-dto.ts +4 -4
  143. package/models/initiate-braintree-payment-setup-response-class.ts +30 -0
  144. package/models/initiate-lead-response-class.ts +30 -0
  145. package/models/initiate-payment-setup-request-dto.ts +3 -3
  146. package/models/initiate-payment-setup-response-class.ts +38 -0
  147. package/models/initiate-stripe-payment-setup-request-dto.ts +4 -4
  148. package/models/initiate-stripe-payment-setup-response-class.ts +36 -0
  149. package/models/insured-object-class.ts +73 -0
  150. package/models/insured-object-type-class.ts +54 -0
  151. package/models/invoice-class.ts +134 -0
  152. package/models/invoice-item-class.ts +114 -0
  153. package/models/invoice-status-class.ts +48 -0
  154. package/models/lead-account-class.ts +118 -0
  155. package/models/lead-bank-account-class.ts +36 -0
  156. package/models/lead-class.ts +83 -0
  157. package/models/lead-policy-class.ts +50 -0
  158. package/models/lead-policy-object-class.ts +36 -0
  159. package/models/list-documents-response-class.ts +37 -0
  160. package/models/payment-method-class.ts +66 -0
  161. package/models/policy-object-request-dto.ts +5 -5
  162. package/models/premium-override-dto.ts +63 -0
  163. package/models/premium-override-request-dto.ts +31 -0
  164. package/models/product-factor-class.ts +60 -0
  165. package/models/product-field-class.ts +126 -0
  166. package/models/send-notification-request-dto.ts +42 -0
  167. package/models/send-notification-response-class.ts +30 -0
  168. package/models/update-lead-request-dto.ts +93 -0
  169. package/models/update-lead-response-class.ts +31 -0
  170. package/models/uploaded-document-dto.ts +4 -4
  171. package/package.json +1 -1
@@ -1,11 +1,11 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * EMIL PublicAPI
5
- * The EMIL Public API description
4
+ * Emil PublicAPI
5
+ * The Emil Public API description
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -21,31 +21,31 @@
21
21
  */
22
22
  export interface CompleteBraintreePaymentSetupRequestDto {
23
23
  /**
24
- * Customer email address
24
+ * Customer email address.
25
25
  * @type {string}
26
26
  * @memberof CompleteBraintreePaymentSetupRequestDto
27
27
  */
28
28
  'email': string;
29
29
  /**
30
- * Customer first name
30
+ * Customer first name.
31
31
  * @type {string}
32
32
  * @memberof CompleteBraintreePaymentSetupRequestDto
33
33
  */
34
34
  'firstName': string;
35
35
  /**
36
- * Customer last name
36
+ * Customer last name.
37
37
  * @type {string}
38
38
  * @memberof CompleteBraintreePaymentSetupRequestDto
39
39
  */
40
40
  'lastName': string;
41
41
  /**
42
- * Lead code
42
+ * Unique identifier of the lead that this object belongs to.
43
43
  * @type {string}
44
44
  * @memberof CompleteBraintreePaymentSetupRequestDto
45
45
  */
46
46
  'leadCode': string;
47
47
  /**
48
- * Braintree nonce generated by client
48
+ * Braintree nonce generated by client.
49
49
  * @type {string}
50
50
  * @memberof CompleteBraintreePaymentSetupRequestDto
51
51
  */
@@ -1,11 +1,11 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * EMIL PublicAPI
5
- * The EMIL Public API description
4
+ * Emil PublicAPI
5
+ * The Emil Public API description
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -0,0 +1,31 @@
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
+ import { PaymentMethodClass } from './payment-method-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface CompletePaymentSetupResponseClass
22
+ */
23
+ export interface CompletePaymentSetupResponseClass {
24
+ /**
25
+ * The resulting payment method after the setup was successfully completed.
26
+ * @type {PaymentMethodClass}
27
+ * @memberof CompletePaymentSetupResponseClass
28
+ */
29
+ 'paymentMethod': PaymentMethodClass;
30
+ }
31
+
@@ -1,11 +1,11 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * EMIL PublicAPI
5
- * The EMIL Public API description
4
+ * Emil PublicAPI
5
+ * The Emil Public API description
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -21,37 +21,37 @@
21
21
  */
22
22
  export interface CompleteStripePaymentSetupRequestDto {
23
23
  /**
24
- * Customer email address
24
+ * Customer email address.
25
25
  * @type {string}
26
26
  * @memberof CompleteStripePaymentSetupRequestDto
27
27
  */
28
28
  'email': string;
29
29
  /**
30
- * Customer first name
30
+ * Customer first name.
31
31
  * @type {string}
32
32
  * @memberof CompleteStripePaymentSetupRequestDto
33
33
  */
34
34
  'firstName': string;
35
35
  /**
36
- * Customer last name
36
+ * Customer last name.
37
37
  * @type {string}
38
38
  * @memberof CompleteStripePaymentSetupRequestDto
39
39
  */
40
40
  'lastName': string;
41
41
  /**
42
- * Lead code
42
+ * Unique identifier of the lead that this object belongs to.
43
43
  * @type {string}
44
44
  * @memberof CompleteStripePaymentSetupRequestDto
45
45
  */
46
46
  'leadCode': string;
47
47
  /**
48
- * Stripe customer id
48
+ * Unique identifier for the customer on Stripe.
49
49
  * @type {string}
50
50
  * @memberof CompleteStripePaymentSetupRequestDto
51
51
  */
52
52
  'pspCustomerId': string;
53
53
  /**
54
- * Stripe payment method id
54
+ * Unique identifier for the payment method on Stripe.
55
55
  * @type {string}
56
56
  * @memberof CompleteStripePaymentSetupRequestDto
57
57
  */
@@ -1,11 +1,11 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * EMIL PublicAPI
5
- * The EMIL Public API description
4
+ * Emil PublicAPI
5
+ * The Emil Public API description
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -20,6 +20,12 @@
20
20
  * @interface CreateAccountRequestDto
21
21
  */
22
22
  export interface CreateAccountRequestDto {
23
+ /**
24
+ * Customer honorific title
25
+ * @type {string}
26
+ * @memberof CreateAccountRequestDto
27
+ */
28
+ 'title'?: CreateAccountRequestDtoTitleEnum;
23
29
  /**
24
30
  * Customer first name
25
31
  * @type {string}
@@ -86,8 +92,28 @@ export interface CreateAccountRequestDto {
86
92
  * @memberof CreateAccountRequestDto
87
93
  */
88
94
  'accountNumber': string;
95
+ /**
96
+ * Custom fields could be included additional required/optional fields that the account would need for specific cases.
97
+ * @type {object}
98
+ * @memberof CreateAccountRequestDto
99
+ */
100
+ 'customFields'?: object;
101
+ /**
102
+ * Metadata contains extra information that the account would need for specific cases.
103
+ * @type {object}
104
+ * @memberof CreateAccountRequestDto
105
+ */
106
+ 'metadata'?: object;
89
107
  }
90
108
 
109
+ export const CreateAccountRequestDtoTitleEnum = {
110
+ Empty: '',
111
+ Dr: 'Dr.',
112
+ DrMed: 'Dr. med.',
113
+ ProfDrMed: 'Prof. Dr. med.'
114
+ } as const;
115
+
116
+ export type CreateAccountRequestDtoTitleEnum = typeof CreateAccountRequestDtoTitleEnum[keyof typeof CreateAccountRequestDtoTitleEnum];
91
117
  export const CreateAccountRequestDtoGenderEnum = {
92
118
  Male: 'male',
93
119
  Female: 'female',
@@ -1,11 +1,11 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * EMIL PublicAPI
5
- * The EMIL Public API description
4
+ * Emil PublicAPI
5
+ * The Emil Public API description
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -21,13 +21,13 @@
21
21
  */
22
22
  export interface CreateBankAccountRequestDto {
23
23
  /**
24
- *
25
- * @type {object}
24
+ * Unique identifier of the account that this object belongs to.
25
+ * @type {string}
26
26
  * @memberof CreateBankAccountRequestDto
27
27
  */
28
- 'accountCode': object;
28
+ 'accountCode': string;
29
29
  /**
30
- *
30
+ * Bank account IBAN
31
31
  * @type {string}
32
32
  * @memberof CreateBankAccountRequestDto
33
33
  */
@@ -1,11 +1,11 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * EMIL PublicAPI
5
- * The EMIL Public API description
4
+ * Emil PublicAPI
5
+ * The Emil Public API description
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -21,13 +21,13 @@
21
21
  */
22
22
  export interface CreateCustomApplicationRequestDto {
23
23
  /**
24
- * Customer data to create application
24
+ * Required data to create a custom application.
25
25
  * @type {object}
26
26
  * @memberof CreateCustomApplicationRequestDto
27
27
  */
28
28
  'data': object;
29
29
  /**
30
- * Custom provider name
30
+ * Custom provider name.
31
31
  * @type {string}
32
32
  * @memberof CreateCustomApplicationRequestDto
33
33
  */
@@ -35,7 +35,8 @@ export interface CreateCustomApplicationRequestDto {
35
35
  }
36
36
 
37
37
  export const CreateCustomApplicationRequestDtoProviderEnum = {
38
- Squarelife: 'squarelife'
38
+ Squarelife: 'squarelife',
39
+ Janitos: 'janitos'
39
40
  } as const;
40
41
 
41
42
  export type CreateCustomApplicationRequestDtoProviderEnum = typeof CreateCustomApplicationRequestDtoProviderEnum[keyof typeof CreateCustomApplicationRequestDtoProviderEnum];
@@ -0,0 +1,30 @@
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 CreateCustomApplicationResponseClass
21
+ */
22
+ export interface CreateCustomApplicationResponseClass {
23
+ /**
24
+ * Custom application that contains required data for a specific provider.
25
+ * @type {object}
26
+ * @memberof CreateCustomApplicationResponseClass
27
+ */
28
+ 'application': object;
29
+ }
30
+
@@ -1,11 +1,11 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * EMIL PublicAPI
5
- * The EMIL Public API description
4
+ * Emil PublicAPI
5
+ * The Emil Public API description
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -21,65 +21,71 @@
21
21
  */
22
22
  export interface CreateDocumentRequestDto {
23
23
  /**
24
- * Template slug
24
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id. In this case, the template used for the document.
25
25
  * @type {string}
26
26
  * @memberof CreateDocumentRequestDto
27
27
  */
28
28
  'templateSlug': string;
29
29
  /**
30
- * Document payload
30
+ * Document payload.
31
31
  * @type {object}
32
32
  * @memberof CreateDocumentRequestDto
33
33
  */
34
34
  'payload': object;
35
35
  /**
36
- * Document entity type
36
+ * Document entity type.
37
37
  * @type {string}
38
38
  * @memberof CreateDocumentRequestDto
39
39
  */
40
40
  'entityType': string;
41
41
  /**
42
- * Document description
42
+ * Document description.
43
43
  * @type {string}
44
44
  * @memberof CreateDocumentRequestDto
45
45
  */
46
46
  'description': string;
47
47
  /**
48
- *
48
+ * Unique identifier of the policy that this object belongs to.
49
49
  * @type {string}
50
50
  * @memberof CreateDocumentRequestDto
51
51
  */
52
52
  'policyCode'?: string;
53
53
  /**
54
- *
54
+ * Unique identifier of the account that this object belongs to.
55
55
  * @type {string}
56
56
  * @memberof CreateDocumentRequestDto
57
57
  */
58
58
  'accountCode'?: string;
59
59
  /**
60
- * Entity id
60
+ * Unique identifier referencing the entity.
61
61
  * @type {number}
62
62
  * @memberof CreateDocumentRequestDto
63
63
  */
64
64
  'entityId'?: number;
65
65
  /**
66
- * Document requester
66
+ * Document requester.
67
67
  * @type {string}
68
68
  * @memberof CreateDocumentRequestDto
69
69
  */
70
70
  'requester': CreateDocumentRequestDtoRequesterEnum;
71
71
  /**
72
- * Metadata
72
+ * Metadata contains extra information that the document would need for specific cases.
73
73
  * @type {object}
74
74
  * @memberof CreateDocumentRequestDto
75
75
  */
76
76
  'metadata'?: object;
77
77
  /**
78
- * Document type
78
+ * Document type.
79
79
  * @type {string}
80
80
  * @memberof CreateDocumentRequestDto
81
81
  */
82
82
  'contentType': CreateDocumentRequestDtoContentTypeEnum;
83
+ /**
84
+ * Document file name.
85
+ * @type {string}
86
+ * @memberof CreateDocumentRequestDto
87
+ */
88
+ 'filename'?: string;
83
89
  }
84
90
 
85
91
  export const CreateDocumentRequestDtoRequesterEnum = {
@@ -1,11 +1,11 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * EMIL PublicAPI
5
- * The EMIL Public API description
4
+ * Emil PublicAPI
5
+ * The Emil Public API description
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -14,6 +14,7 @@
14
14
 
15
15
 
16
16
  import { PolicyObjectRequestDto } from './policy-object-request-dto';
17
+ import { PremiumOverrideRequestDto } from './premium-override-request-dto';
17
18
 
18
19
  /**
19
20
  *
@@ -28,21 +29,28 @@ export interface CreateEstimatedInvoiceRequestDto {
28
29
  */
29
30
  'policyObjects': Array<PolicyObjectRequestDto>;
30
31
  /**
31
- * Customer data
32
+ * Customer custom data for premium calculation.
32
33
  * @type {object}
33
34
  * @memberof CreateEstimatedInvoiceRequestDto
34
35
  */
35
36
  'data': object;
36
37
  /**
37
- * Custom provider name
38
+ * Custom provider name.
38
39
  * @type {string}
39
40
  * @memberof CreateEstimatedInvoiceRequestDto
40
41
  */
41
42
  'provider': CreateEstimatedInvoiceRequestDtoProviderEnum;
43
+ /**
44
+ * Premium Override.
45
+ * @type {Array<PremiumOverrideRequestDto>}
46
+ * @memberof CreateEstimatedInvoiceRequestDto
47
+ */
48
+ 'premiumOverride'?: Array<PremiumOverrideRequestDto>;
42
49
  }
43
50
 
44
51
  export const CreateEstimatedInvoiceRequestDtoProviderEnum = {
45
- Squarelife: 'squarelife'
52
+ Squarelife: 'squarelife',
53
+ Janitos: 'janitos'
46
54
  } as const;
47
55
 
48
56
  export type CreateEstimatedInvoiceRequestDtoProviderEnum = typeof CreateEstimatedInvoiceRequestDtoProviderEnum[keyof typeof CreateEstimatedInvoiceRequestDtoProviderEnum];
@@ -0,0 +1,31 @@
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
+ import { InvoiceClass } from './invoice-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface CreateEstimatedInvoiceResponseClass
22
+ */
23
+ export interface CreateEstimatedInvoiceResponseClass {
24
+ /**
25
+ * Estimated invoice response
26
+ * @type {InvoiceClass}
27
+ * @memberof CreateEstimatedInvoiceResponseClass
28
+ */
29
+ 'invoice': InvoiceClass;
30
+ }
31
+
@@ -1,11 +1,11 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * EMIL PublicAPI
5
- * The EMIL Public API description
4
+ * Emil PublicAPI
5
+ * The Emil Public API description
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -16,6 +16,7 @@
16
16
  import { CreateAccountRequestDto } from './create-account-request-dto';
17
17
  import { CreateBankAccountRequestDto } from './create-bank-account-request-dto';
18
18
  import { PolicyObjectRequestDto } from './policy-object-request-dto';
19
+ import { PremiumOverrideDto } from './premium-override-dto';
19
20
  import { UploadedDocumentDto } from './uploaded-document-dto';
20
21
 
21
22
  /**
@@ -25,13 +26,13 @@ import { UploadedDocumentDto } from './uploaded-document-dto';
25
26
  */
26
27
  export interface CreateLeadRequestDto {
27
28
  /**
28
- * Lead code
29
+ * Unique identifier for the object.
29
30
  * @type {string}
30
31
  * @memberof CreateLeadRequestDto
31
32
  */
32
- 'code': string;
33
+ 'code'?: string;
33
34
  /**
34
- * Product code
35
+ * Unique identifier of the product that this object belongs to.
35
36
  * @type {string}
36
37
  * @memberof CreateLeadRequestDto
37
38
  */
@@ -43,35 +44,41 @@ export interface CreateLeadRequestDto {
43
44
  */
44
45
  'policyObjects': Array<PolicyObjectRequestDto>;
45
46
  /**
46
- * Bank account details
47
+ * Bank account details.
47
48
  * @type {CreateBankAccountRequestDto}
48
49
  * @memberof CreateLeadRequestDto
49
50
  */
50
51
  'bankAccount'?: CreateBankAccountRequestDto;
51
52
  /**
52
- *
53
- * @type {CreateAccountRequestDto}
54
- * @memberof CreateLeadRequestDto
55
- */
56
- 'account': CreateAccountRequestDto;
57
- /**
58
- *
53
+ * Custom data.
59
54
  * @type {object}
60
55
  * @memberof CreateLeadRequestDto
61
56
  */
62
57
  'customData'?: object;
63
58
  /**
64
- *
59
+ * Codes for documents to be uploaded.
65
60
  * @type {UploadedDocumentDto}
66
61
  * @memberof CreateLeadRequestDto
67
62
  */
68
63
  'uploadedDocument'?: UploadedDocumentDto;
69
64
  /**
70
- *
65
+ * Lead status that contains \"created\",\"approved\",\"activated\" and \"declined\" statuses.
71
66
  * @type {string}
72
67
  * @memberof CreateLeadRequestDto
73
68
  */
74
69
  'status'?: CreateLeadRequestDtoStatusEnum;
70
+ /**
71
+ * Premium Override.
72
+ * @type {Array<PremiumOverrideDto>}
73
+ * @memberof CreateLeadRequestDto
74
+ */
75
+ 'premiumOverride': Array<PremiumOverrideDto>;
76
+ /**
77
+ *
78
+ * @type {CreateAccountRequestDto}
79
+ * @memberof CreateLeadRequestDto
80
+ */
81
+ 'account': CreateAccountRequestDto;
75
82
  }
76
83
 
77
84
  export const CreateLeadRequestDtoStatusEnum = {
@@ -0,0 +1,31 @@
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
+ import { LeadClass } from './lead-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface CreateLeadResponseClass
22
+ */
23
+ export interface CreateLeadResponseClass {
24
+ /**
25
+ * The list of leads.
26
+ * @type {LeadClass}
27
+ * @memberof CreateLeadResponseClass
28
+ */
29
+ 'lead': LeadClass;
30
+ }
31
+