@emilgroup/public-api-sdk-node 1.0.2 → 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 +30 -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 +15 -9
  6. package/api/{payment-setup-api.ts → payments-setup-api.ts} +56 -44
  7. package/api/products-api.ts +73 -433
  8. package/api.ts +7 -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 +15 -10
  17. package/dist/api/notifications-api.js +12 -8
  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 +75 -251
  21. package/dist/api/products-api.js +52 -383
  22. package/dist/api.d.ts +5 -4
  23. package/dist/api.js +5 -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 +19 -6
  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 +6 -6
  45. package/dist/models/create-custom-application-request-dto.js +3 -3
  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 +11 -11
  51. package/dist/models/create-estimated-invoice-request-dto.js +3 -3
  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 +23 -23
  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 +27 -0
  65. package/dist/models/index.js +27 -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 +8 -8
  107. package/dist/models/premium-override-dto.js +3 -3
  108. package/dist/models/premium-override-request-dto.d.ts +4 -4
  109. package/dist/models/premium-override-request-dto.js +3 -3
  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 +5 -5
  115. package/dist/models/send-notification-request-dto.js +3 -3
  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 +18 -18
  119. package/dist/models/update-lead-request-dto.js +3 -3
  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 +19 -5
  130. package/models/create-bank-account-request-dto.ts +7 -7
  131. package/models/create-custom-application-request-dto.ts +5 -5
  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 +10 -10
  135. package/models/create-estimated-invoice-response-class.ts +31 -0
  136. package/models/create-lead-request-dto.ts +22 -22
  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 +27 -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 +6 -6
  163. package/models/premium-override-request-dto.ts +4 -4
  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 +5 -5
  167. package/models/send-notification-response-class.ts +30 -0
  168. package/models/update-lead-request-dto.ts +17 -17
  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
@@ -0,0 +1,108 @@
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 InvoiceItemClass
16
+ */
17
+ export interface InvoiceItemClass {
18
+ /**
19
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
20
+ * @type {number}
21
+ * @memberof InvoiceItemClass
22
+ */
23
+ 'id': number;
24
+ /**
25
+ * Unique identifier referencing the premium formula.
26
+ * @type {number}
27
+ * @memberof InvoiceItemClass
28
+ */
29
+ 'premiumFormulaId': number;
30
+ /**
31
+ * Product name.
32
+ * @type {string}
33
+ * @memberof InvoiceItemClass
34
+ */
35
+ 'name': string;
36
+ /**
37
+ * Unique identifier of the tax that this object belongs to.
38
+ * @type {string}
39
+ * @memberof InvoiceItemClass
40
+ */
41
+ 'taxCode': string;
42
+ /**
43
+ * This is unit of Premium. Premium units are determined based on day, week, month and year.
44
+ * @type {string}
45
+ * @memberof InvoiceItemClass
46
+ */
47
+ 'unit': string;
48
+ /**
49
+ * group
50
+ * @type {string}
51
+ * @memberof InvoiceItemClass
52
+ */
53
+ 'group': string;
54
+ /**
55
+ * Item quantity.
56
+ * @type {number}
57
+ * @memberof InvoiceItemClass
58
+ */
59
+ 'quantity': number;
60
+ /**
61
+ * Item price per unit.
62
+ * @type {number}
63
+ * @memberof InvoiceItemClass
64
+ */
65
+ 'pricePerUnit': number;
66
+ /**
67
+ * Item tax rate.
68
+ * @type {number}
69
+ * @memberof InvoiceItemClass
70
+ */
71
+ 'taxRate': number;
72
+ /**
73
+ * Net amount.
74
+ * @type {number}
75
+ * @memberof InvoiceItemClass
76
+ */
77
+ 'netAmount': number;
78
+ /**
79
+ * Net tax amount.
80
+ * @type {number}
81
+ * @memberof InvoiceItemClass
82
+ */
83
+ 'taxAmount': number;
84
+ /**
85
+ * Gross amount.
86
+ * @type {number}
87
+ * @memberof InvoiceItemClass
88
+ */
89
+ 'grossAmount': number;
90
+ /**
91
+ * Credit amount.
92
+ * @type {number}
93
+ * @memberof InvoiceItemClass
94
+ */
95
+ 'creditAmount': number;
96
+ /**
97
+ * This is the date from which the invoice item interval starts.
98
+ * @type {string}
99
+ * @memberof InvoiceItemClass
100
+ */
101
+ 'billingIntervalFrom': string;
102
+ /**
103
+ * This is the date that the invoice item interval ends.
104
+ * @type {string}
105
+ * @memberof InvoiceItemClass
106
+ */
107
+ 'billingIntervalTo': string;
108
+ }
@@ -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,42 @@
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 InvoiceStatusClass
16
+ */
17
+ export interface InvoiceStatusClass {
18
+ /**
19
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
20
+ * @type {number}
21
+ * @memberof InvoiceStatusClass
22
+ */
23
+ 'id': number;
24
+ /**
25
+ * Unique identifier referencing the invoice.
26
+ * @type {number}
27
+ * @memberof InvoiceStatusClass
28
+ */
29
+ 'invoiceId': number;
30
+ /**
31
+ * Invoice type
32
+ * @type {string}
33
+ * @memberof InvoiceStatusClass
34
+ */
35
+ 'status': string;
36
+ /**
37
+ * Time at which the object was created.
38
+ * @type {string}
39
+ * @memberof InvoiceStatusClass
40
+ */
41
+ 'createdAt': string;
42
+ }
@@ -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,109 @@
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 LeadAccountClass
16
+ */
17
+ export interface LeadAccountClass {
18
+ /**
19
+ * Account number
20
+ * @type {string}
21
+ * @memberof LeadAccountClass
22
+ */
23
+ 'accountNumber': string;
24
+ /**
25
+ * Account honorific title
26
+ * @type {string}
27
+ * @memberof LeadAccountClass
28
+ */
29
+ 'title': LeadAccountClassTitleEnum;
30
+ /**
31
+ * Account first name
32
+ * @type {string}
33
+ * @memberof LeadAccountClass
34
+ */
35
+ 'firstName': string;
36
+ /**
37
+ * Account last name
38
+ * @type {string}
39
+ * @memberof LeadAccountClass
40
+ */
41
+ 'lastName': string;
42
+ /**
43
+ * Account email
44
+ * @type {string}
45
+ * @memberof LeadAccountClass
46
+ */
47
+ 'email': string;
48
+ /**
49
+ * Account gender
50
+ * @type {string}
51
+ * @memberof LeadAccountClass
52
+ */
53
+ 'gender': string;
54
+ /**
55
+ * Account street
56
+ * @type {string}
57
+ * @memberof LeadAccountClass
58
+ */
59
+ 'street': string;
60
+ /**
61
+ * Account house number
62
+ * @type {string}
63
+ * @memberof LeadAccountClass
64
+ */
65
+ 'houseNumber': string;
66
+ /**
67
+ * Account zip code
68
+ * @type {string}
69
+ * @memberof LeadAccountClass
70
+ */
71
+ 'zipCode': string;
72
+ /**
73
+ * Account city
74
+ * @type {string}
75
+ * @memberof LeadAccountClass
76
+ */
77
+ 'city': string;
78
+ /**
79
+ * Account phone number
80
+ * @type {string}
81
+ * @memberof LeadAccountClass
82
+ */
83
+ 'phone': string;
84
+ /**
85
+ * Optional metadata.
86
+ * @type {object}
87
+ * @memberof LeadAccountClass
88
+ */
89
+ 'metadata': object;
90
+ /**
91
+ * Customer birth date.
92
+ * @type {string}
93
+ * @memberof LeadAccountClass
94
+ */
95
+ 'birthDate': string;
96
+ /**
97
+ * Custom fields could be included additional required/optional fields that the account would need for specific cases.
98
+ * @type {object}
99
+ * @memberof LeadAccountClass
100
+ */
101
+ 'customFields': object;
102
+ }
103
+ export declare const LeadAccountClassTitleEnum: {
104
+ readonly Empty: "";
105
+ readonly Dr: "Dr.";
106
+ readonly DrMed: "Dr. med.";
107
+ readonly ProfDrMed: "Prof. Dr. med.";
108
+ };
109
+ export type LeadAccountClassTitleEnum = typeof LeadAccountClassTitleEnum[keyof typeof LeadAccountClassTitleEnum];
@@ -0,0 +1,22 @@
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 });
16
+ exports.LeadAccountClassTitleEnum = void 0;
17
+ exports.LeadAccountClassTitleEnum = {
18
+ Empty: '',
19
+ Dr: 'Dr.',
20
+ DrMed: 'Dr. med.',
21
+ ProfDrMed: 'Prof. Dr. med.'
22
+ };
@@ -0,0 +1,30 @@
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 LeadBankAccountClass
16
+ */
17
+ export interface LeadBankAccountClass {
18
+ /**
19
+ * Unique identifier of the account that this object belongs to.
20
+ * @type {string}
21
+ * @memberof LeadBankAccountClass
22
+ */
23
+ 'accountCode': string;
24
+ /**
25
+ * Bank account IBAN
26
+ * @type {string}
27
+ * @memberof LeadBankAccountClass
28
+ */
29
+ 'iban': string;
30
+ }
@@ -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,77 @@
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 { LeadAccountClass } from './lead-account-class';
13
+ import { LeadBankAccountClass } from './lead-bank-account-class';
14
+ import { LeadPolicyClass } from './lead-policy-class';
15
+ import { PremiumOverrideDto } from './premium-override-dto';
16
+ import { UploadedDocumentDto } from './uploaded-document-dto';
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface LeadClass
21
+ */
22
+ export interface LeadClass {
23
+ /**
24
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
25
+ * @type {number}
26
+ * @memberof LeadClass
27
+ */
28
+ 'id': number;
29
+ /**
30
+ * Unique identifier for the object.
31
+ * @type {string}
32
+ * @memberof LeadClass
33
+ */
34
+ 'code': string;
35
+ /**
36
+ * Lead status
37
+ * @type {string}
38
+ * @memberof LeadClass
39
+ */
40
+ 'status': string;
41
+ /**
42
+ * Lead account
43
+ * @type {LeadAccountClass}
44
+ * @memberof LeadClass
45
+ */
46
+ 'account': LeadAccountClass;
47
+ /**
48
+ * Lead policy
49
+ * @type {LeadPolicyClass}
50
+ * @memberof LeadClass
51
+ */
52
+ 'policy': LeadPolicyClass;
53
+ /**
54
+ * Lead bank account
55
+ * @type {LeadBankAccountClass}
56
+ * @memberof LeadClass
57
+ */
58
+ 'bankAccount': LeadBankAccountClass;
59
+ /**
60
+ * Premium overrides
61
+ * @type {Array<PremiumOverrideDto>}
62
+ * @memberof LeadClass
63
+ */
64
+ 'premiumOverrides': Array<PremiumOverrideDto>;
65
+ /**
66
+ * Codes for documents to be uploaded
67
+ * @type {UploadedDocumentDto}
68
+ * @memberof LeadClass
69
+ */
70
+ 'uploadedDocument': UploadedDocumentDto;
71
+ /**
72
+ * Custom data.
73
+ * @type {object}
74
+ * @memberof LeadClass
75
+ */
76
+ 'customData': object;
77
+ }
@@ -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,44 @@
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 { LeadPolicyObjectClass } from './lead-policy-object-class';
13
+ import { PremiumOverrideRequestDto } from './premium-override-request-dto';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface LeadPolicyClass
18
+ */
19
+ export interface LeadPolicyClass {
20
+ /**
21
+ * Unique identifier referencing the product version.
22
+ * @type {number}
23
+ * @memberof LeadPolicyClass
24
+ */
25
+ 'productVersionId': number;
26
+ /**
27
+ * Unique identifier for the object.
28
+ * @type {string}
29
+ * @memberof LeadPolicyClass
30
+ */
31
+ 'account': string;
32
+ /**
33
+ * Premium override.
34
+ * @type {PremiumOverrideRequestDto}
35
+ * @memberof LeadPolicyClass
36
+ */
37
+ 'premiumOverride': PremiumOverrideRequestDto;
38
+ /**
39
+ * Policy objects.
40
+ * @type {Array<LeadPolicyObjectClass>}
41
+ * @memberof LeadPolicyClass
42
+ */
43
+ 'policyObjects': Array<LeadPolicyObjectClass>;
44
+ }
@@ -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,30 @@
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 LeadPolicyObjectClass
16
+ */
17
+ export interface LeadPolicyObjectClass {
18
+ /**
19
+ * Unique identifier referencing the insured object.
20
+ * @type {number}
21
+ * @memberof LeadPolicyObjectClass
22
+ */
23
+ 'insuredObjectId': number;
24
+ /**
25
+ * Insured object data.
26
+ * @type {object}
27
+ * @memberof LeadPolicyObjectClass
28
+ */
29
+ 'data': object;
30
+ }
@@ -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,31 @@
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 { DocumentClass } from './document-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ListDocumentsResponseClass
17
+ */
18
+ export interface ListDocumentsResponseClass {
19
+ /**
20
+ * The list of documents.
21
+ * @type {Array<DocumentClass>}
22
+ * @memberof ListDocumentsResponseClass
23
+ */
24
+ 'items': Array<DocumentClass>;
25
+ /**
26
+ * Next page token
27
+ * @type {string}
28
+ * @memberof ListDocumentsResponseClass
29
+ */
30
+ 'nextPageToken': string;
31
+ }
@@ -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,60 @@
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 PaymentMethodClass
16
+ */
17
+ export interface PaymentMethodClass {
18
+ /**
19
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
20
+ * @type {number}
21
+ * @memberof PaymentMethodClass
22
+ */
23
+ 'id': number;
24
+ /**
25
+ * Unique identifier for the object.
26
+ * @type {string}
27
+ * @memberof PaymentMethodClass
28
+ */
29
+ 'code': string;
30
+ /**
31
+ * A unique identifier generated by the payment service provider for this payment method.
32
+ * @type {string}
33
+ * @memberof PaymentMethodClass
34
+ */
35
+ 'providerToken': string;
36
+ /**
37
+ * Customer identifier for the payment service provider.
38
+ * @type {string}
39
+ * @memberof PaymentMethodClass
40
+ */
41
+ 'pspCustomerId': string;
42
+ /**
43
+ * The payment service provider used by this payment method.
44
+ * @type {string}
45
+ * @memberof PaymentMethodClass
46
+ */
47
+ 'psp': string;
48
+ /**
49
+ * The payment method type.
50
+ * @type {string}
51
+ * @memberof PaymentMethodClass
52
+ */
53
+ 'type': string;
54
+ /**
55
+ * Time at which the object was created.
56
+ * @type {string}
57
+ * @memberof PaymentMethodClass
58
+ */
59
+ 'createdAt': string;
60
+ }
@@ -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 });