@emilgroup/public-api-sdk 1.0.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 (175) hide show
  1. package/.openapi-generator/FILES +63 -0
  2. package/.openapi-generator/VERSION +1 -0
  3. package/.openapi-generator-ignore +23 -0
  4. package/README.md +51 -0
  5. package/api/documents-api.ts +438 -0
  6. package/api/leads-api.ts +478 -0
  7. package/api/notifications-api.ts +165 -0
  8. package/api/payments-setup-api.ts +300 -0
  9. package/api/products-api.ts +713 -0
  10. package/api.ts +40 -0
  11. package/base.ts +247 -0
  12. package/common.ts +198 -0
  13. package/configuration.ts +101 -0
  14. package/dist/api/documents-api.d.ts +252 -0
  15. package/dist/api/documents-api.js +439 -0
  16. package/dist/api/leads-api.d.ts +266 -0
  17. package/dist/api/leads-api.js +502 -0
  18. package/dist/api/notifications-api.d.ts +97 -0
  19. package/dist/api/notifications-api.js +224 -0
  20. package/dist/api/payments-setup-api.d.ts +172 -0
  21. package/dist/api/payments-setup-api.js +329 -0
  22. package/dist/api/products-api.d.ts +396 -0
  23. package/dist/api/products-api.js +700 -0
  24. package/dist/api.d.ts +20 -0
  25. package/dist/api.js +40 -0
  26. package/dist/base.d.ts +72 -0
  27. package/dist/base.js +293 -0
  28. package/dist/common.d.ts +91 -0
  29. package/dist/common.js +276 -0
  30. package/dist/configuration.d.ts +83 -0
  31. package/dist/configuration.js +44 -0
  32. package/dist/index.d.ts +15 -0
  33. package/dist/index.js +35 -0
  34. package/dist/models/complete-braintree-payment-setup-request-dto.d.ts +48 -0
  35. package/dist/models/complete-braintree-payment-setup-request-dto.js +15 -0
  36. package/dist/models/complete-payment-setup-request-dto.d.ts +32 -0
  37. package/dist/models/complete-payment-setup-request-dto.js +15 -0
  38. package/dist/models/complete-payment-setup-response-class.d.ts +25 -0
  39. package/dist/models/complete-payment-setup-response-class.js +15 -0
  40. package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +60 -0
  41. package/dist/models/complete-stripe-payment-setup-request-dto.js +15 -0
  42. package/dist/models/create-account-request-dto.d.ts +115 -0
  43. package/dist/models/create-account-request-dto.js +27 -0
  44. package/dist/models/create-bank-account-request-dto.d.ts +30 -0
  45. package/dist/models/create-bank-account-request-dto.js +15 -0
  46. package/dist/models/create-custom-application-request-dto.d.ts +35 -0
  47. package/dist/models/create-custom-application-request-dto.js +20 -0
  48. package/dist/models/create-custom-application-response-class.d.ts +24 -0
  49. package/dist/models/create-custom-application-response-class.js +15 -0
  50. package/dist/models/create-document-request-dto.d.ts +101 -0
  51. package/dist/models/create-document-request-dto.js +31 -0
  52. package/dist/models/create-estimated-invoice-request-dto.d.ts +49 -0
  53. package/dist/models/create-estimated-invoice-request-dto.js +20 -0
  54. package/dist/models/create-estimated-invoice-response-class.d.ts +31 -0
  55. package/dist/models/create-estimated-invoice-response-class.js +15 -0
  56. package/dist/models/create-lead-request-dto.d.ts +84 -0
  57. package/dist/models/create-lead-request-dto.js +22 -0
  58. package/dist/models/create-lead-response-class.d.ts +25 -0
  59. package/dist/models/create-lead-response-class.js +15 -0
  60. package/dist/models/document-class.d.ts +130 -0
  61. package/dist/models/document-class.js +41 -0
  62. package/dist/models/get-custom-css-response-class.d.ts +24 -0
  63. package/dist/models/get-custom-css-response-class.js +15 -0
  64. package/dist/models/get-lead-response-class.d.ts +25 -0
  65. package/dist/models/get-lead-response-class.js +15 -0
  66. package/dist/models/index.d.ts +45 -0
  67. package/dist/models/index.js +61 -0
  68. package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +30 -0
  69. package/dist/models/initiate-braintree-payment-setup-request-dto.js +15 -0
  70. package/dist/models/initiate-braintree-payment-setup-response-class.d.ts +24 -0
  71. package/dist/models/initiate-braintree-payment-setup-response-class.js +15 -0
  72. package/dist/models/initiate-lead-response-class.d.ts +24 -0
  73. package/dist/models/initiate-lead-response-class.js +15 -0
  74. package/dist/models/initiate-payment-setup-request-dto.d.ts +32 -0
  75. package/dist/models/initiate-payment-setup-request-dto.js +15 -0
  76. package/dist/models/initiate-payment-setup-response-class.d.ts +32 -0
  77. package/dist/models/initiate-payment-setup-response-class.js +15 -0
  78. package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +30 -0
  79. package/dist/models/initiate-stripe-payment-setup-request-dto.js +15 -0
  80. package/dist/models/initiate-stripe-payment-setup-response-class.d.ts +30 -0
  81. package/dist/models/initiate-stripe-payment-setup-response-class.js +15 -0
  82. package/dist/models/insured-object-class.d.ts +67 -0
  83. package/dist/models/insured-object-class.js +15 -0
  84. package/dist/models/insured-object-type-class.d.ts +48 -0
  85. package/dist/models/insured-object-type-class.js +15 -0
  86. package/dist/models/invoice-class.d.ts +128 -0
  87. package/dist/models/invoice-class.js +15 -0
  88. package/dist/models/invoice-item-class.d.ts +108 -0
  89. package/dist/models/invoice-item-class.js +15 -0
  90. package/dist/models/invoice-status-class.d.ts +42 -0
  91. package/dist/models/invoice-status-class.js +15 -0
  92. package/dist/models/lead-account-class.d.ts +109 -0
  93. package/dist/models/lead-account-class.js +22 -0
  94. package/dist/models/lead-bank-account-class.d.ts +30 -0
  95. package/dist/models/lead-bank-account-class.js +15 -0
  96. package/dist/models/lead-class.d.ts +77 -0
  97. package/dist/models/lead-class.js +15 -0
  98. package/dist/models/lead-policy-class.d.ts +43 -0
  99. package/dist/models/lead-policy-class.js +15 -0
  100. package/dist/models/lead-policy-object-class.d.ts +30 -0
  101. package/dist/models/lead-policy-object-class.js +15 -0
  102. package/dist/models/list-documents-response-class.d.ts +31 -0
  103. package/dist/models/list-documents-response-class.js +15 -0
  104. package/dist/models/payment-method-class.d.ts +60 -0
  105. package/dist/models/payment-method-class.js +15 -0
  106. package/dist/models/policy-object-request-dto.d.ts +30 -0
  107. package/dist/models/policy-object-request-dto.js +15 -0
  108. package/dist/models/premium-override-dto.d.ts +53 -0
  109. package/dist/models/premium-override-dto.js +25 -0
  110. package/dist/models/premium-override-request-dto.d.ts +25 -0
  111. package/dist/models/premium-override-request-dto.js +15 -0
  112. package/dist/models/product-factor-class.d.ts +60 -0
  113. package/dist/models/product-factor-class.js +15 -0
  114. package/dist/models/product-field-class.d.ts +120 -0
  115. package/dist/models/product-field-class.js +15 -0
  116. package/dist/models/send-notification-request-dto.d.ts +36 -0
  117. package/dist/models/send-notification-request-dto.js +15 -0
  118. package/dist/models/send-notification-response-class.d.ts +24 -0
  119. package/dist/models/send-notification-response-class.js +15 -0
  120. package/dist/models/update-lead-request-dto.d.ts +84 -0
  121. package/dist/models/update-lead-request-dto.js +22 -0
  122. package/dist/models/update-lead-response-class.d.ts +25 -0
  123. package/dist/models/update-lead-response-class.js +15 -0
  124. package/dist/models/uploaded-document-dto.d.ts +24 -0
  125. package/dist/models/uploaded-document-dto.js +15 -0
  126. package/git_push.sh +57 -0
  127. package/index.ts +19 -0
  128. package/models/complete-braintree-payment-setup-request-dto.ts +54 -0
  129. package/models/complete-payment-setup-request-dto.ts +38 -0
  130. package/models/complete-payment-setup-response-class.ts +31 -0
  131. package/models/complete-stripe-payment-setup-request-dto.ts +66 -0
  132. package/models/create-account-request-dto.ts +125 -0
  133. package/models/create-bank-account-request-dto.ts +36 -0
  134. package/models/create-custom-application-request-dto.ts +44 -0
  135. package/models/create-custom-application-response-class.ts +30 -0
  136. package/models/create-document-request-dto.ts +111 -0
  137. package/models/create-estimated-invoice-request-dto.ts +58 -0
  138. package/models/create-estimated-invoice-response-class.ts +37 -0
  139. package/models/create-lead-request-dto.ts +93 -0
  140. package/models/create-lead-response-class.ts +31 -0
  141. package/models/document-class.ts +141 -0
  142. package/models/get-custom-css-response-class.ts +30 -0
  143. package/models/get-lead-response-class.ts +31 -0
  144. package/models/index.ts +45 -0
  145. package/models/initiate-braintree-payment-setup-request-dto.ts +36 -0
  146. package/models/initiate-braintree-payment-setup-response-class.ts +30 -0
  147. package/models/initiate-lead-response-class.ts +30 -0
  148. package/models/initiate-payment-setup-request-dto.ts +38 -0
  149. package/models/initiate-payment-setup-response-class.ts +38 -0
  150. package/models/initiate-stripe-payment-setup-request-dto.ts +36 -0
  151. package/models/initiate-stripe-payment-setup-response-class.ts +36 -0
  152. package/models/insured-object-class.ts +73 -0
  153. package/models/insured-object-type-class.ts +54 -0
  154. package/models/invoice-class.ts +134 -0
  155. package/models/invoice-item-class.ts +114 -0
  156. package/models/invoice-status-class.ts +48 -0
  157. package/models/lead-account-class.ts +118 -0
  158. package/models/lead-bank-account-class.ts +36 -0
  159. package/models/lead-class.ts +83 -0
  160. package/models/lead-policy-class.ts +49 -0
  161. package/models/lead-policy-object-class.ts +36 -0
  162. package/models/list-documents-response-class.ts +37 -0
  163. package/models/payment-method-class.ts +66 -0
  164. package/models/policy-object-request-dto.ts +36 -0
  165. package/models/premium-override-dto.ts +63 -0
  166. package/models/premium-override-request-dto.ts +31 -0
  167. package/models/product-factor-class.ts +66 -0
  168. package/models/product-field-class.ts +126 -0
  169. package/models/send-notification-request-dto.ts +42 -0
  170. package/models/send-notification-response-class.ts +30 -0
  171. package/models/update-lead-request-dto.ts +93 -0
  172. package/models/update-lead-response-class.ts +31 -0
  173. package/models/uploaded-document-dto.ts +30 -0
  174. package/package.json +27 -0
  175. package/tsconfig.json +22 -0
@@ -0,0 +1,134 @@
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 { InvoiceItemClass } from './invoice-item-class';
17
+ import { InvoiceStatusClass } from './invoice-status-class';
18
+
19
+ /**
20
+ *
21
+ * @export
22
+ * @interface InvoiceClass
23
+ */
24
+ export interface InvoiceClass {
25
+ /**
26
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
27
+ * @type {number}
28
+ * @memberof InvoiceClass
29
+ */
30
+ 'id': number;
31
+ /**
32
+ * Unique identifier of the policy that this object belongs to.
33
+ * @type {string}
34
+ * @memberof InvoiceClass
35
+ */
36
+ 'policyCode': string;
37
+ /**
38
+ * Account number
39
+ * @type {string}
40
+ * @memberof InvoiceClass
41
+ */
42
+ 'accountNumber': string;
43
+ /**
44
+ * Unique identifier for the object.
45
+ * @type {string}
46
+ * @memberof InvoiceClass
47
+ */
48
+ 'code': string;
49
+ /**
50
+ * Invoice type.
51
+ * @type {string}
52
+ * @memberof InvoiceClass
53
+ */
54
+ 'type': string;
55
+ /**
56
+ * Invoice number.
57
+ * @type {string}
58
+ * @memberof InvoiceClass
59
+ */
60
+ 'invoiceNumber': string;
61
+ /**
62
+ * Net amount.
63
+ * @type {number}
64
+ * @memberof InvoiceClass
65
+ */
66
+ 'netAmount': number;
67
+ /**
68
+ * Tax amount.
69
+ * @type {number}
70
+ * @memberof InvoiceClass
71
+ */
72
+ 'taxAmount': number;
73
+ /**
74
+ * Credit amount
75
+ * @type {number}
76
+ * @memberof InvoiceClass
77
+ */
78
+ 'creditAmount': number;
79
+ /**
80
+ * Gross amount.
81
+ * @type {number}
82
+ * @memberof InvoiceClass
83
+ */
84
+ 'grossAmount': number;
85
+ /**
86
+ * It shows the status of the invoice that is paid or open.
87
+ * @type {string}
88
+ * @memberof InvoiceClass
89
+ */
90
+ 'status': string;
91
+ /**
92
+ * Invoice due date.
93
+ * @type {string}
94
+ * @memberof InvoiceClass
95
+ */
96
+ 'dueDate': string;
97
+ /**
98
+ * Metadata contains extra information that the invoice would need for specific cases.
99
+ * @type {object}
100
+ * @memberof InvoiceClass
101
+ */
102
+ 'metadata': object;
103
+ /**
104
+ * Invoice billing interval from
105
+ * @type {string}
106
+ * @memberof InvoiceClass
107
+ */
108
+ 'billingIntervalFrom': string;
109
+ /**
110
+ * Invoice billing interval to
111
+ * @type {string}
112
+ * @memberof InvoiceClass
113
+ */
114
+ 'billingIntervalTo': string;
115
+ /**
116
+ * Time at which the object was created.
117
+ * @type {string}
118
+ * @memberof InvoiceClass
119
+ */
120
+ 'createdAt': string;
121
+ /**
122
+ * Invoice items
123
+ * @type {Array<InvoiceItemClass>}
124
+ * @memberof InvoiceClass
125
+ */
126
+ 'invoiceItems': Array<InvoiceItemClass>;
127
+ /**
128
+ * Invoice statuses
129
+ * @type {Array<InvoiceStatusClass>}
130
+ * @memberof InvoiceClass
131
+ */
132
+ 'statuses': Array<InvoiceStatusClass>;
133
+ }
134
+
@@ -0,0 +1,114 @@
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 InvoiceItemClass
21
+ */
22
+ export interface InvoiceItemClass {
23
+ /**
24
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
25
+ * @type {number}
26
+ * @memberof InvoiceItemClass
27
+ */
28
+ 'id': number;
29
+ /**
30
+ * Unique identifier referencing the premium formula.
31
+ * @type {number}
32
+ * @memberof InvoiceItemClass
33
+ */
34
+ 'premiumFormulaId': number;
35
+ /**
36
+ * Product name.
37
+ * @type {string}
38
+ * @memberof InvoiceItemClass
39
+ */
40
+ 'name': string;
41
+ /**
42
+ * Unique identifier of the tax that this object belongs to.
43
+ * @type {string}
44
+ * @memberof InvoiceItemClass
45
+ */
46
+ 'taxCode': string;
47
+ /**
48
+ * This is unit of Premium. Premium units are determined based on day, week, month and year.
49
+ * @type {string}
50
+ * @memberof InvoiceItemClass
51
+ */
52
+ 'unit': string;
53
+ /**
54
+ * group
55
+ * @type {string}
56
+ * @memberof InvoiceItemClass
57
+ */
58
+ 'group': string;
59
+ /**
60
+ * Item quantity.
61
+ * @type {number}
62
+ * @memberof InvoiceItemClass
63
+ */
64
+ 'quantity': number;
65
+ /**
66
+ * Item price per unit.
67
+ * @type {number}
68
+ * @memberof InvoiceItemClass
69
+ */
70
+ 'pricePerUnit': number;
71
+ /**
72
+ * Item tax rate.
73
+ * @type {number}
74
+ * @memberof InvoiceItemClass
75
+ */
76
+ 'taxRate': number;
77
+ /**
78
+ * Net amount.
79
+ * @type {number}
80
+ * @memberof InvoiceItemClass
81
+ */
82
+ 'netAmount': number;
83
+ /**
84
+ * Net tax amount.
85
+ * @type {number}
86
+ * @memberof InvoiceItemClass
87
+ */
88
+ 'taxAmount': number;
89
+ /**
90
+ * Gross amount.
91
+ * @type {number}
92
+ * @memberof InvoiceItemClass
93
+ */
94
+ 'grossAmount': number;
95
+ /**
96
+ * Credit amount.
97
+ * @type {number}
98
+ * @memberof InvoiceItemClass
99
+ */
100
+ 'creditAmount': number;
101
+ /**
102
+ * This is the date from which the invoice item interval starts.
103
+ * @type {string}
104
+ * @memberof InvoiceItemClass
105
+ */
106
+ 'billingIntervalFrom': string;
107
+ /**
108
+ * This is the date that the invoice item interval ends.
109
+ * @type {string}
110
+ * @memberof InvoiceItemClass
111
+ */
112
+ 'billingIntervalTo': string;
113
+ }
114
+
@@ -0,0 +1,48 @@
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 InvoiceStatusClass
21
+ */
22
+ export interface InvoiceStatusClass {
23
+ /**
24
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
25
+ * @type {number}
26
+ * @memberof InvoiceStatusClass
27
+ */
28
+ 'id': number;
29
+ /**
30
+ * Unique identifier referencing the invoice.
31
+ * @type {number}
32
+ * @memberof InvoiceStatusClass
33
+ */
34
+ 'invoiceId': number;
35
+ /**
36
+ * Invoice type
37
+ * @type {string}
38
+ * @memberof InvoiceStatusClass
39
+ */
40
+ 'status': string;
41
+ /**
42
+ * Time at which the object was created.
43
+ * @type {string}
44
+ * @memberof InvoiceStatusClass
45
+ */
46
+ 'createdAt': string;
47
+ }
48
+
@@ -0,0 +1,118 @@
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 LeadAccountClass
21
+ */
22
+ export interface LeadAccountClass {
23
+ /**
24
+ * Account number
25
+ * @type {string}
26
+ * @memberof LeadAccountClass
27
+ */
28
+ 'accountNumber': string;
29
+ /**
30
+ * Account honorific title
31
+ * @type {string}
32
+ * @memberof LeadAccountClass
33
+ */
34
+ 'title': LeadAccountClassTitleEnum;
35
+ /**
36
+ * Account first name
37
+ * @type {string}
38
+ * @memberof LeadAccountClass
39
+ */
40
+ 'firstName': string;
41
+ /**
42
+ * Account last name
43
+ * @type {string}
44
+ * @memberof LeadAccountClass
45
+ */
46
+ 'lastName': string;
47
+ /**
48
+ * Account email
49
+ * @type {string}
50
+ * @memberof LeadAccountClass
51
+ */
52
+ 'email': string;
53
+ /**
54
+ * Account gender
55
+ * @type {string}
56
+ * @memberof LeadAccountClass
57
+ */
58
+ 'gender': string;
59
+ /**
60
+ * Account street
61
+ * @type {string}
62
+ * @memberof LeadAccountClass
63
+ */
64
+ 'street': string;
65
+ /**
66
+ * Account house number
67
+ * @type {string}
68
+ * @memberof LeadAccountClass
69
+ */
70
+ 'houseNumber': string;
71
+ /**
72
+ * Account zip code
73
+ * @type {string}
74
+ * @memberof LeadAccountClass
75
+ */
76
+ 'zipCode': string;
77
+ /**
78
+ * Account city
79
+ * @type {string}
80
+ * @memberof LeadAccountClass
81
+ */
82
+ 'city': string;
83
+ /**
84
+ * Account phone number
85
+ * @type {string}
86
+ * @memberof LeadAccountClass
87
+ */
88
+ 'phone': string;
89
+ /**
90
+ * Optional metadata.
91
+ * @type {object}
92
+ * @memberof LeadAccountClass
93
+ */
94
+ 'metadata': object;
95
+ /**
96
+ * Customer birth date.
97
+ * @type {string}
98
+ * @memberof LeadAccountClass
99
+ */
100
+ 'birthDate': string;
101
+ /**
102
+ * Custom fields could be included additional required/optional fields that the account would need for specific cases.
103
+ * @type {object}
104
+ * @memberof LeadAccountClass
105
+ */
106
+ 'customFields': object;
107
+ }
108
+
109
+ export const LeadAccountClassTitleEnum = {
110
+ Empty: '',
111
+ Dr: 'Dr.',
112
+ DrMed: 'Dr. med.',
113
+ ProfDrMed: 'Prof. Dr. med.'
114
+ } as const;
115
+
116
+ export type LeadAccountClassTitleEnum = typeof LeadAccountClassTitleEnum[keyof typeof LeadAccountClassTitleEnum];
117
+
118
+
@@ -0,0 +1,36 @@
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 LeadBankAccountClass
21
+ */
22
+ export interface LeadBankAccountClass {
23
+ /**
24
+ * Unique identifier of the account that this object belongs to.
25
+ * @type {string}
26
+ * @memberof LeadBankAccountClass
27
+ */
28
+ 'accountCode': string;
29
+ /**
30
+ * Bank account IBAN
31
+ * @type {string}
32
+ * @memberof LeadBankAccountClass
33
+ */
34
+ 'iban': string;
35
+ }
36
+
@@ -0,0 +1,83 @@
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 { LeadAccountClass } from './lead-account-class';
17
+ import { LeadBankAccountClass } from './lead-bank-account-class';
18
+ import { LeadPolicyClass } from './lead-policy-class';
19
+ import { PremiumOverrideDto } from './premium-override-dto';
20
+ import { UploadedDocumentDto } from './uploaded-document-dto';
21
+
22
+ /**
23
+ *
24
+ * @export
25
+ * @interface LeadClass
26
+ */
27
+ export interface LeadClass {
28
+ /**
29
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
30
+ * @type {number}
31
+ * @memberof LeadClass
32
+ */
33
+ 'id': number;
34
+ /**
35
+ * Unique identifier for the object.
36
+ * @type {string}
37
+ * @memberof LeadClass
38
+ */
39
+ 'code': string;
40
+ /**
41
+ * Lead status
42
+ * @type {string}
43
+ * @memberof LeadClass
44
+ */
45
+ 'status': string;
46
+ /**
47
+ * Lead account
48
+ * @type {LeadAccountClass}
49
+ * @memberof LeadClass
50
+ */
51
+ 'account': LeadAccountClass;
52
+ /**
53
+ * Lead policy
54
+ * @type {LeadPolicyClass}
55
+ * @memberof LeadClass
56
+ */
57
+ 'policy': LeadPolicyClass;
58
+ /**
59
+ * Lead bank account
60
+ * @type {LeadBankAccountClass}
61
+ * @memberof LeadClass
62
+ */
63
+ 'bankAccount': LeadBankAccountClass;
64
+ /**
65
+ * Premium overrides
66
+ * @type {Array<PremiumOverrideDto>}
67
+ * @memberof LeadClass
68
+ */
69
+ 'premiumOverrides': Array<PremiumOverrideDto>;
70
+ /**
71
+ * Codes for documents to be uploaded
72
+ * @type {UploadedDocumentDto}
73
+ * @memberof LeadClass
74
+ */
75
+ 'uploadedDocument': UploadedDocumentDto;
76
+ /**
77
+ * Custom data.
78
+ * @type {object}
79
+ * @memberof LeadClass
80
+ */
81
+ 'customData': object;
82
+ }
83
+
@@ -0,0 +1,49 @@
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 { LeadPolicyObjectClass } from './lead-policy-object-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface LeadPolicyClass
22
+ */
23
+ export interface LeadPolicyClass {
24
+ /**
25
+ * Unique identifier referencing the product version.
26
+ * @type {number}
27
+ * @memberof LeadPolicyClass
28
+ */
29
+ 'productVersionId': number;
30
+ /**
31
+ * Unique identifier for the object.
32
+ * @type {string}
33
+ * @memberof LeadPolicyClass
34
+ */
35
+ 'account': string;
36
+ /**
37
+ * Premium override.
38
+ * @type {Array<string>}
39
+ * @memberof LeadPolicyClass
40
+ */
41
+ 'premiumOverrides': Array<string>;
42
+ /**
43
+ * Policy objects.
44
+ * @type {Array<LeadPolicyObjectClass>}
45
+ * @memberof LeadPolicyClass
46
+ */
47
+ 'policyObjects': Array<LeadPolicyObjectClass>;
48
+ }
49
+
@@ -0,0 +1,36 @@
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 LeadPolicyObjectClass
21
+ */
22
+ export interface LeadPolicyObjectClass {
23
+ /**
24
+ * Unique identifier referencing the insured object.
25
+ * @type {number}
26
+ * @memberof LeadPolicyObjectClass
27
+ */
28
+ 'insuredObjectId': number;
29
+ /**
30
+ * Insured object data.
31
+ * @type {object}
32
+ * @memberof LeadPolicyObjectClass
33
+ */
34
+ 'data': object;
35
+ }
36
+
@@ -0,0 +1,37 @@
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 { DocumentClass } from './document-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface ListDocumentsResponseClass
22
+ */
23
+ export interface ListDocumentsResponseClass {
24
+ /**
25
+ * The list of documents.
26
+ * @type {Array<DocumentClass>}
27
+ * @memberof ListDocumentsResponseClass
28
+ */
29
+ 'items': Array<DocumentClass>;
30
+ /**
31
+ * Next page token
32
+ * @type {string}
33
+ * @memberof ListDocumentsResponseClass
34
+ */
35
+ 'nextPageToken': string;
36
+ }
37
+