@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,115 @@
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 CreateAccountRequestDto
16
+ */
17
+ export interface CreateAccountRequestDto {
18
+ /**
19
+ * Customer honorific title
20
+ * @type {string}
21
+ * @memberof CreateAccountRequestDto
22
+ */
23
+ 'title'?: CreateAccountRequestDtoTitleEnum;
24
+ /**
25
+ * Customer first name
26
+ * @type {string}
27
+ * @memberof CreateAccountRequestDto
28
+ */
29
+ 'firstName': string;
30
+ /**
31
+ * Customer last name
32
+ * @type {string}
33
+ * @memberof CreateAccountRequestDto
34
+ */
35
+ 'lastName': string;
36
+ /**
37
+ * Customer email
38
+ * @type {string}
39
+ * @memberof CreateAccountRequestDto
40
+ */
41
+ 'email': string;
42
+ /**
43
+ * Customer gender
44
+ * @type {string}
45
+ * @memberof CreateAccountRequestDto
46
+ */
47
+ 'gender': CreateAccountRequestDtoGenderEnum;
48
+ /**
49
+ * Customer street
50
+ * @type {string}
51
+ * @memberof CreateAccountRequestDto
52
+ */
53
+ 'street': string;
54
+ /**
55
+ * Customer zip code
56
+ * @type {string}
57
+ * @memberof CreateAccountRequestDto
58
+ */
59
+ 'zipCode': string;
60
+ /**
61
+ * Customer city
62
+ * @type {string}
63
+ * @memberof CreateAccountRequestDto
64
+ */
65
+ 'city': string;
66
+ /**
67
+ * Customer house number
68
+ * @type {string}
69
+ * @memberof CreateAccountRequestDto
70
+ */
71
+ 'houseNumber': string;
72
+ /**
73
+ * Customer birth date
74
+ * @type {string}
75
+ * @memberof CreateAccountRequestDto
76
+ */
77
+ 'birthDate': string;
78
+ /**
79
+ * Customer phone number
80
+ * @type {string}
81
+ * @memberof CreateAccountRequestDto
82
+ */
83
+ 'phone': string;
84
+ /**
85
+ * Account number
86
+ * @type {string}
87
+ * @memberof CreateAccountRequestDto
88
+ */
89
+ 'accountNumber': string;
90
+ /**
91
+ * Custom fields could be included additional required/optional fields that the account would need for specific cases.
92
+ * @type {object}
93
+ * @memberof CreateAccountRequestDto
94
+ */
95
+ 'customFields'?: object;
96
+ /**
97
+ * Metadata contains extra information that the account would need for specific cases.
98
+ * @type {object}
99
+ * @memberof CreateAccountRequestDto
100
+ */
101
+ 'metadata'?: object;
102
+ }
103
+ export declare const CreateAccountRequestDtoTitleEnum: {
104
+ readonly Empty: "";
105
+ readonly Dr: "Dr.";
106
+ readonly DrMed: "Dr. med.";
107
+ readonly ProfDrMed: "Prof. Dr. med.";
108
+ };
109
+ export type CreateAccountRequestDtoTitleEnum = typeof CreateAccountRequestDtoTitleEnum[keyof typeof CreateAccountRequestDtoTitleEnum];
110
+ export declare const CreateAccountRequestDtoGenderEnum: {
111
+ readonly Male: "male";
112
+ readonly Female: "female";
113
+ readonly Unspecified: "unspecified";
114
+ };
115
+ export type CreateAccountRequestDtoGenderEnum = typeof CreateAccountRequestDtoGenderEnum[keyof typeof CreateAccountRequestDtoGenderEnum];
@@ -0,0 +1,27 @@
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.CreateAccountRequestDtoGenderEnum = exports.CreateAccountRequestDtoTitleEnum = void 0;
17
+ exports.CreateAccountRequestDtoTitleEnum = {
18
+ Empty: '',
19
+ Dr: 'Dr.',
20
+ DrMed: 'Dr. med.',
21
+ ProfDrMed: 'Prof. Dr. med.'
22
+ };
23
+ exports.CreateAccountRequestDtoGenderEnum = {
24
+ Male: 'male',
25
+ Female: 'female',
26
+ Unspecified: 'unspecified'
27
+ };
@@ -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 CreateBankAccountRequestDto
16
+ */
17
+ export interface CreateBankAccountRequestDto {
18
+ /**
19
+ * Unique identifier of the account that this object belongs to.
20
+ * @type {string}
21
+ * @memberof CreateBankAccountRequestDto
22
+ */
23
+ 'accountCode': string;
24
+ /**
25
+ * Bank account IBAN
26
+ * @type {string}
27
+ * @memberof CreateBankAccountRequestDto
28
+ */
29
+ 'iban': string;
30
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Emil 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,35 @@
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 CreateCustomApplicationRequestDto
16
+ */
17
+ export interface CreateCustomApplicationRequestDto {
18
+ /**
19
+ * Required data to create a custom application.
20
+ * @type {object}
21
+ * @memberof CreateCustomApplicationRequestDto
22
+ */
23
+ 'data': object;
24
+ /**
25
+ * Custom provider name.
26
+ * @type {string}
27
+ * @memberof CreateCustomApplicationRequestDto
28
+ */
29
+ 'provider': CreateCustomApplicationRequestDtoProviderEnum;
30
+ }
31
+ export declare const CreateCustomApplicationRequestDtoProviderEnum: {
32
+ readonly Squarelife: "squarelife";
33
+ readonly Janitos: "janitos";
34
+ };
35
+ export type CreateCustomApplicationRequestDtoProviderEnum = typeof CreateCustomApplicationRequestDtoProviderEnum[keyof typeof CreateCustomApplicationRequestDtoProviderEnum];
@@ -0,0 +1,20 @@
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.CreateCustomApplicationRequestDtoProviderEnum = void 0;
17
+ exports.CreateCustomApplicationRequestDtoProviderEnum = {
18
+ Squarelife: 'squarelife',
19
+ Janitos: 'janitos'
20
+ };
@@ -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 CreateCustomApplicationResponseClass
16
+ */
17
+ export interface CreateCustomApplicationResponseClass {
18
+ /**
19
+ * Custom application that contains required data for a specific provider.
20
+ * @type {object}
21
+ * @memberof CreateCustomApplicationResponseClass
22
+ */
23
+ 'application': object;
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,101 @@
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 CreateDocumentRequestDto
16
+ */
17
+ export interface CreateDocumentRequestDto {
18
+ /**
19
+ * 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.
20
+ * @type {string}
21
+ * @memberof CreateDocumentRequestDto
22
+ */
23
+ 'templateSlug': string;
24
+ /**
25
+ * Document payload.
26
+ * @type {object}
27
+ * @memberof CreateDocumentRequestDto
28
+ */
29
+ 'payload': object;
30
+ /**
31
+ * Document entity type.
32
+ * @type {string}
33
+ * @memberof CreateDocumentRequestDto
34
+ */
35
+ 'entityType': string;
36
+ /**
37
+ * Document description.
38
+ * @type {string}
39
+ * @memberof CreateDocumentRequestDto
40
+ */
41
+ 'description': string;
42
+ /**
43
+ * Unique identifier of the policy that this object belongs to.
44
+ * @type {string}
45
+ * @memberof CreateDocumentRequestDto
46
+ */
47
+ 'policyCode'?: string;
48
+ /**
49
+ * Unique identifier of the account that this object belongs to.
50
+ * @type {string}
51
+ * @memberof CreateDocumentRequestDto
52
+ */
53
+ 'accountCode'?: string;
54
+ /**
55
+ * Unique identifier referencing the entity.
56
+ * @type {number}
57
+ * @memberof CreateDocumentRequestDto
58
+ */
59
+ 'entityId'?: number;
60
+ /**
61
+ * Document requester.
62
+ * @type {string}
63
+ * @memberof CreateDocumentRequestDto
64
+ */
65
+ 'requester': CreateDocumentRequestDtoRequesterEnum;
66
+ /**
67
+ * Metadata contains extra information that the document would need for specific cases.
68
+ * @type {object}
69
+ * @memberof CreateDocumentRequestDto
70
+ */
71
+ 'metadata'?: object;
72
+ /**
73
+ * Document type.
74
+ * @type {string}
75
+ * @memberof CreateDocumentRequestDto
76
+ */
77
+ 'contentType': CreateDocumentRequestDtoContentTypeEnum;
78
+ /**
79
+ * Document file name.
80
+ * @type {string}
81
+ * @memberof CreateDocumentRequestDto
82
+ */
83
+ 'filename'?: string;
84
+ }
85
+ export declare const CreateDocumentRequestDtoRequesterEnum: {
86
+ readonly Publicapi: "publicapi";
87
+ };
88
+ export type CreateDocumentRequestDtoRequesterEnum = typeof CreateDocumentRequestDtoRequesterEnum[keyof typeof CreateDocumentRequestDtoRequesterEnum];
89
+ export declare const CreateDocumentRequestDtoContentTypeEnum: {
90
+ readonly Pdf: "pdf";
91
+ readonly Jpg: "jpg";
92
+ readonly Png: "png";
93
+ readonly Gz: "gz";
94
+ readonly Csv: "csv";
95
+ readonly Doc: "doc";
96
+ readonly Docx: "docx";
97
+ readonly Html: "html";
98
+ readonly Json: "json";
99
+ readonly Xml: "xml";
100
+ };
101
+ export type CreateDocumentRequestDtoContentTypeEnum = typeof CreateDocumentRequestDtoContentTypeEnum[keyof typeof CreateDocumentRequestDtoContentTypeEnum];
@@ -0,0 +1,31 @@
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.CreateDocumentRequestDtoContentTypeEnum = exports.CreateDocumentRequestDtoRequesterEnum = void 0;
17
+ exports.CreateDocumentRequestDtoRequesterEnum = {
18
+ Publicapi: 'publicapi'
19
+ };
20
+ exports.CreateDocumentRequestDtoContentTypeEnum = {
21
+ Pdf: 'pdf',
22
+ Jpg: 'jpg',
23
+ Png: 'png',
24
+ Gz: 'gz',
25
+ Csv: 'csv',
26
+ Doc: 'doc',
27
+ Docx: 'docx',
28
+ Html: 'html',
29
+ Json: 'json',
30
+ Xml: 'xml'
31
+ };
@@ -0,0 +1,49 @@
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 { PolicyObjectRequestDto } from './policy-object-request-dto';
13
+ import { PremiumOverrideRequestDto } from './premium-override-request-dto';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface CreateEstimatedInvoiceRequestDto
18
+ */
19
+ export interface CreateEstimatedInvoiceRequestDto {
20
+ /**
21
+ * The policy objects to calculate premium.
22
+ * @type {Array<PolicyObjectRequestDto>}
23
+ * @memberof CreateEstimatedInvoiceRequestDto
24
+ */
25
+ 'policyObjects'?: Array<PolicyObjectRequestDto>;
26
+ /**
27
+ * Customer custom data for premium calculation. Necessary when no policyObjects are provided.
28
+ * @type {object}
29
+ * @memberof CreateEstimatedInvoiceRequestDto
30
+ */
31
+ 'data'?: object;
32
+ /**
33
+ * Custom provider name. Necessary if data is provided.
34
+ * @type {string}
35
+ * @memberof CreateEstimatedInvoiceRequestDto
36
+ */
37
+ 'provider'?: CreateEstimatedInvoiceRequestDtoProviderEnum;
38
+ /**
39
+ * Premium Override.
40
+ * @type {PremiumOverrideRequestDto}
41
+ * @memberof CreateEstimatedInvoiceRequestDto
42
+ */
43
+ 'premiumOverride'?: PremiumOverrideRequestDto;
44
+ }
45
+ export declare const CreateEstimatedInvoiceRequestDtoProviderEnum: {
46
+ readonly Squarelife: "squarelife";
47
+ readonly Janitos: "janitos";
48
+ };
49
+ export type CreateEstimatedInvoiceRequestDtoProviderEnum = typeof CreateEstimatedInvoiceRequestDtoProviderEnum[keyof typeof CreateEstimatedInvoiceRequestDtoProviderEnum];
@@ -0,0 +1,20 @@
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.CreateEstimatedInvoiceRequestDtoProviderEnum = void 0;
17
+ exports.CreateEstimatedInvoiceRequestDtoProviderEnum = {
18
+ Squarelife: 'squarelife',
19
+ Janitos: 'janitos'
20
+ };
@@ -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 { InvoiceClass } from './invoice-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface CreateEstimatedInvoiceResponseClass
17
+ */
18
+ export interface CreateEstimatedInvoiceResponseClass {
19
+ /**
20
+ * Estimated invoice response
21
+ * @type {InvoiceClass}
22
+ * @memberof CreateEstimatedInvoiceResponseClass
23
+ */
24
+ 'invoice'?: InvoiceClass;
25
+ /**
26
+ * This value will not be null when using a custom premium calculation. For more information, check the general documentation.
27
+ * @type {object}
28
+ * @memberof CreateEstimatedInvoiceResponseClass
29
+ */
30
+ 'custom'?: object;
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,84 @@
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 { PolicyObjectRequestDto } from './policy-object-request-dto';
15
+ import { PremiumOverrideRequestDto } from './premium-override-request-dto';
16
+ import { UploadedDocumentDto } from './uploaded-document-dto';
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface CreateLeadRequestDto
21
+ */
22
+ export interface CreateLeadRequestDto {
23
+ /**
24
+ * Unique identifier for the object.
25
+ * @type {string}
26
+ * @memberof CreateLeadRequestDto
27
+ */
28
+ 'code'?: string;
29
+ /**
30
+ * Unique identifier of the product that this object belongs to.
31
+ * @type {string}
32
+ * @memberof CreateLeadRequestDto
33
+ */
34
+ 'productCode': string;
35
+ /**
36
+ *
37
+ * @type {Array<PolicyObjectRequestDto>}
38
+ * @memberof CreateLeadRequestDto
39
+ */
40
+ 'policyObjects': Array<PolicyObjectRequestDto>;
41
+ /**
42
+ * Bank account details.
43
+ * @type {CreateBankAccountRequestDto}
44
+ * @memberof CreateLeadRequestDto
45
+ */
46
+ 'bankAccount'?: CreateBankAccountRequestDto;
47
+ /**
48
+ * Custom data.
49
+ * @type {object}
50
+ * @memberof CreateLeadRequestDto
51
+ */
52
+ 'customData'?: object;
53
+ /**
54
+ * Codes for documents to be uploaded.
55
+ * @type {UploadedDocumentDto}
56
+ * @memberof CreateLeadRequestDto
57
+ */
58
+ 'uploadedDocument'?: UploadedDocumentDto;
59
+ /**
60
+ * Lead status that contains \"created\",\"approved\",\"activated\" and \"declined\" statuses.
61
+ * @type {string}
62
+ * @memberof CreateLeadRequestDto
63
+ */
64
+ 'status'?: CreateLeadRequestDtoStatusEnum;
65
+ /**
66
+ * Premium Override.
67
+ * @type {PremiumOverrideRequestDto}
68
+ * @memberof CreateLeadRequestDto
69
+ */
70
+ 'premiumOverride'?: PremiumOverrideRequestDto;
71
+ /**
72
+ *
73
+ * @type {CreateAccountRequestDto}
74
+ * @memberof CreateLeadRequestDto
75
+ */
76
+ 'account': CreateAccountRequestDto;
77
+ }
78
+ export declare const CreateLeadRequestDtoStatusEnum: {
79
+ readonly Created: "created";
80
+ readonly Approved: "approved";
81
+ readonly Activated: "activated";
82
+ readonly Declined: "declined";
83
+ };
84
+ export type CreateLeadRequestDtoStatusEnum = typeof CreateLeadRequestDtoStatusEnum[keyof typeof CreateLeadRequestDtoStatusEnum];
@@ -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.CreateLeadRequestDtoStatusEnum = void 0;
17
+ exports.CreateLeadRequestDtoStatusEnum = {
18
+ Created: 'created',
19
+ Approved: 'approved',
20
+ Activated: 'activated',
21
+ Declined: 'declined'
22
+ };
@@ -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 CreateLeadResponseClass
17
+ */
18
+ export interface CreateLeadResponseClass {
19
+ /**
20
+ * The list of leads.
21
+ * @type {LeadClass}
22
+ * @memberof CreateLeadResponseClass
23
+ */
24
+ 'lead': LeadClass;
25
+ }