@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,141 @@
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 DocumentClass
21
+ */
22
+ export interface DocumentClass {
23
+ /**
24
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
25
+ * @type {number}
26
+ * @memberof DocumentClass
27
+ */
28
+ 'id': number;
29
+ /**
30
+ * Unique identifier for the object.
31
+ * @type {string}
32
+ * @memberof DocumentClass
33
+ */
34
+ 'code': string;
35
+ /**
36
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id. In this case, the template used for the document.
37
+ * @type {string}
38
+ * @memberof DocumentClass
39
+ */
40
+ 'templateSlug': string;
41
+ /**
42
+ * Document entity type
43
+ * @type {string}
44
+ * @memberof DocumentClass
45
+ */
46
+ 'entityType': DocumentClassEntityTypeEnum;
47
+ /**
48
+ * Unique identifier of the policy that this object belongs to.
49
+ * @type {string}
50
+ * @memberof DocumentClass
51
+ */
52
+ 'policyCode'?: string;
53
+ /**
54
+ * Unique identifier of the account that this object belongs to.
55
+ * @type {string}
56
+ * @memberof DocumentClass
57
+ */
58
+ 'accountCode'?: string;
59
+ /**
60
+ * Unique identifier referencing the entity on the service the document belongs to.
61
+ * @type {number}
62
+ * @memberof DocumentClass
63
+ */
64
+ 'entityId'?: number;
65
+ /**
66
+ * Identifier of the service that requested the creation of this document.
67
+ * @type {string}
68
+ * @memberof DocumentClass
69
+ */
70
+ 'requester': DocumentClassRequesterEnum;
71
+ /**
72
+ * Metadata contains extra information that the document would need for specific cases.
73
+ * @type {object}
74
+ * @memberof DocumentClass
75
+ */
76
+ 'metadata': object;
77
+ /**
78
+ * Description of the document. Usually a short summary about the context in which the document is being used.
79
+ * @type {string}
80
+ * @memberof DocumentClass
81
+ */
82
+ 'description': string;
83
+ /**
84
+ * The unique key used by Amazon Simple Storage Service (S3).
85
+ * @type {string}
86
+ * @memberof DocumentClass
87
+ */
88
+ 's3Key': string;
89
+ /**
90
+ * Type of the document expressed with its file extension.
91
+ * @type {string}
92
+ * @memberof DocumentClass
93
+ */
94
+ 'contentType': DocumentClassContentTypeEnum;
95
+ /**
96
+ * Document file name.
97
+ * @type {string}
98
+ * @memberof DocumentClass
99
+ */
100
+ 'filename': string;
101
+ /**
102
+ * Time at which the object was created.
103
+ * @type {string}
104
+ * @memberof DocumentClass
105
+ */
106
+ 'createdAt': string;
107
+ }
108
+
109
+ export const DocumentClassEntityTypeEnum = {
110
+ PolicyApplication: 'policy_application',
111
+ PolicyContract: 'policy_contract',
112
+ PolicyAddendum: 'policy_addendum',
113
+ InitialInvoice: 'initial_invoice',
114
+ CorrectionInvoice: 'correction_invoice',
115
+ RecurringInvoice: 'recurring_invoice',
116
+ SepaMandate: 'sepa_mandate',
117
+ Static: 'static'
118
+ } as const;
119
+
120
+ export type DocumentClassEntityTypeEnum = typeof DocumentClassEntityTypeEnum[keyof typeof DocumentClassEntityTypeEnum];
121
+ export const DocumentClassRequesterEnum = {
122
+ Publicapi: 'publicapi'
123
+ } as const;
124
+
125
+ export type DocumentClassRequesterEnum = typeof DocumentClassRequesterEnum[keyof typeof DocumentClassRequesterEnum];
126
+ export const DocumentClassContentTypeEnum = {
127
+ Pdf: 'pdf',
128
+ Jpg: 'jpg',
129
+ Png: 'png',
130
+ Gz: 'gz',
131
+ Csv: 'csv',
132
+ Doc: 'doc',
133
+ Docx: 'docx',
134
+ Html: 'html',
135
+ Json: 'json',
136
+ Xml: 'xml'
137
+ } as const;
138
+
139
+ export type DocumentClassContentTypeEnum = typeof DocumentClassContentTypeEnum[keyof typeof DocumentClassContentTypeEnum];
140
+
141
+
@@ -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 GetCustomCssResponseClass
21
+ */
22
+ export interface GetCustomCssResponseClass {
23
+ /**
24
+ * Custom CSS setting for booking funnel.
25
+ * @type {Array<string>}
26
+ * @memberof GetCustomCssResponseClass
27
+ */
28
+ 'values': Array<string>;
29
+ }
30
+
@@ -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 GetLeadResponseClass
22
+ */
23
+ export interface GetLeadResponseClass {
24
+ /**
25
+ * The list of leads.
26
+ * @type {LeadClass}
27
+ * @memberof GetLeadResponseClass
28
+ */
29
+ 'lead': LeadClass;
30
+ }
31
+
@@ -0,0 +1,45 @@
1
+ export * from './complete-braintree-payment-setup-request-dto';
2
+ export * from './complete-payment-setup-request-dto';
3
+ export * from './complete-payment-setup-response-class';
4
+ export * from './complete-stripe-payment-setup-request-dto';
5
+ export * from './create-account-request-dto';
6
+ export * from './create-bank-account-request-dto';
7
+ export * from './create-custom-application-request-dto';
8
+ export * from './create-custom-application-response-class';
9
+ export * from './create-document-request-dto';
10
+ export * from './create-estimated-invoice-request-dto';
11
+ export * from './create-estimated-invoice-response-class';
12
+ export * from './create-lead-request-dto';
13
+ export * from './create-lead-response-class';
14
+ export * from './document-class';
15
+ export * from './get-custom-css-response-class';
16
+ export * from './get-lead-response-class';
17
+ export * from './initiate-braintree-payment-setup-request-dto';
18
+ export * from './initiate-braintree-payment-setup-response-class';
19
+ export * from './initiate-lead-response-class';
20
+ export * from './initiate-payment-setup-request-dto';
21
+ export * from './initiate-payment-setup-response-class';
22
+ export * from './initiate-stripe-payment-setup-request-dto';
23
+ export * from './initiate-stripe-payment-setup-response-class';
24
+ export * from './insured-object-class';
25
+ export * from './insured-object-type-class';
26
+ export * from './invoice-class';
27
+ export * from './invoice-item-class';
28
+ export * from './invoice-status-class';
29
+ export * from './lead-account-class';
30
+ export * from './lead-bank-account-class';
31
+ export * from './lead-class';
32
+ export * from './lead-policy-class';
33
+ export * from './lead-policy-object-class';
34
+ export * from './list-documents-response-class';
35
+ export * from './payment-method-class';
36
+ export * from './policy-object-request-dto';
37
+ export * from './premium-override-dto';
38
+ export * from './premium-override-request-dto';
39
+ export * from './product-factor-class';
40
+ export * from './product-field-class';
41
+ export * from './send-notification-request-dto';
42
+ export * from './send-notification-response-class';
43
+ export * from './update-lead-request-dto';
44
+ export * from './update-lead-response-class';
45
+ export * from './uploaded-document-dto';
@@ -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 InitiateBraintreePaymentSetupRequestDto
21
+ */
22
+ export interface InitiateBraintreePaymentSetupRequestDto {
23
+ /**
24
+ * Unique identifier of the lead that this object belongs to.
25
+ * @type {string}
26
+ * @memberof InitiateBraintreePaymentSetupRequestDto
27
+ */
28
+ 'leadCode'?: string;
29
+ /**
30
+ * Unique identifier of the account that this object belongs to.
31
+ * @type {string}
32
+ * @memberof InitiateBraintreePaymentSetupRequestDto
33
+ */
34
+ 'accountCode'?: string;
35
+ }
36
+
@@ -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 InitiateBraintreePaymentSetupResponseClass
21
+ */
22
+ export interface InitiateBraintreePaymentSetupResponseClass {
23
+ /**
24
+ * Identifier used by the payment service provider to create a payment method.
25
+ * @type {string}
26
+ * @memberof InitiateBraintreePaymentSetupResponseClass
27
+ */
28
+ 'pspSecretToken': string;
29
+ }
30
+
@@ -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 InitiateLeadResponseClass
21
+ */
22
+ export interface InitiateLeadResponseClass {
23
+ /**
24
+ * Unique identifier of the lead that this object belongs to.
25
+ * @type {string}
26
+ * @memberof InitiateLeadResponseClass
27
+ */
28
+ 'leadCode': string;
29
+ }
30
+
@@ -0,0 +1,38 @@
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 { InitiateBraintreePaymentSetupRequestDto } from './initiate-braintree-payment-setup-request-dto';
17
+ import { InitiateStripePaymentSetupRequestDto } from './initiate-stripe-payment-setup-request-dto';
18
+
19
+ /**
20
+ *
21
+ * @export
22
+ * @interface InitiatePaymentSetupRequestDto
23
+ */
24
+ export interface InitiatePaymentSetupRequestDto {
25
+ /**
26
+ *
27
+ * @type {InitiateStripePaymentSetupRequestDto}
28
+ * @memberof InitiatePaymentSetupRequestDto
29
+ */
30
+ 'stripe'?: InitiateStripePaymentSetupRequestDto;
31
+ /**
32
+ *
33
+ * @type {InitiateBraintreePaymentSetupRequestDto}
34
+ * @memberof InitiatePaymentSetupRequestDto
35
+ */
36
+ 'braintree'?: InitiateBraintreePaymentSetupRequestDto;
37
+ }
38
+
@@ -0,0 +1,38 @@
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 { InitiateBraintreePaymentSetupResponseClass } from './initiate-braintree-payment-setup-response-class';
17
+ import { InitiateStripePaymentSetupResponseClass } from './initiate-stripe-payment-setup-response-class';
18
+
19
+ /**
20
+ *
21
+ * @export
22
+ * @interface InitiatePaymentSetupResponseClass
23
+ */
24
+ export interface InitiatePaymentSetupResponseClass {
25
+ /**
26
+ * The stripe response after creating the setup intent.
27
+ * @type {InitiateStripePaymentSetupResponseClass}
28
+ * @memberof InitiatePaymentSetupResponseClass
29
+ */
30
+ 'stripe': InitiateStripePaymentSetupResponseClass;
31
+ /**
32
+ * Braintree response after generating client token.
33
+ * @type {InitiateBraintreePaymentSetupResponseClass}
34
+ * @memberof InitiatePaymentSetupResponseClass
35
+ */
36
+ 'braintree': InitiateBraintreePaymentSetupResponseClass;
37
+ }
38
+
@@ -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 InitiateStripePaymentSetupRequestDto
21
+ */
22
+ export interface InitiateStripePaymentSetupRequestDto {
23
+ /**
24
+ * Unique identifier of the lead that this object belongs to.
25
+ * @type {string}
26
+ * @memberof InitiateStripePaymentSetupRequestDto
27
+ */
28
+ 'leadCode'?: string;
29
+ /**
30
+ * Unique identifier of the account that this object belongs to.
31
+ * @type {string}
32
+ * @memberof InitiateStripePaymentSetupRequestDto
33
+ */
34
+ 'accountCode'?: string;
35
+ }
36
+
@@ -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 InitiateStripePaymentSetupResponseClass
21
+ */
22
+ export interface InitiateStripePaymentSetupResponseClass {
23
+ /**
24
+ * Identifier used by the payment service provider to create a payment method.
25
+ * @type {string}
26
+ * @memberof InitiateStripePaymentSetupResponseClass
27
+ */
28
+ 'pspSecretToken': string;
29
+ /**
30
+ * Unique identifier for the customer on Stripe.
31
+ * @type {string}
32
+ * @memberof InitiateStripePaymentSetupResponseClass
33
+ */
34
+ 'pspCustomerId': string;
35
+ }
36
+
@@ -0,0 +1,73 @@
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 { ProductFieldClass } from './product-field-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface InsuredObjectClass
22
+ */
23
+ export interface InsuredObjectClass {
24
+ /**
25
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
26
+ * @type {number}
27
+ * @memberof InsuredObjectClass
28
+ */
29
+ 'id': number;
30
+ /**
31
+ * Unique identifier referencing the product version.
32
+ * @type {number}
33
+ * @memberof InsuredObjectClass
34
+ */
35
+ 'productVersionId': number;
36
+ /**
37
+ * Insured object name
38
+ * @type {string}
39
+ * @memberof InsuredObjectClass
40
+ */
41
+ 'name': string;
42
+ /**
43
+ * Insured object label
44
+ * @type {string}
45
+ * @memberof InsuredObjectClass
46
+ */
47
+ 'label': string;
48
+ /**
49
+ * Unique identifier referencing the insured object type.
50
+ * @type {number}
51
+ * @memberof InsuredObjectClass
52
+ */
53
+ 'insuredObjectTypeId': number;
54
+ /**
55
+ * Product fields of insured object. Product fields are also called Variables on the Admin website. They are automatically created according to the product factors. Those can then be used in the formula for the premium calculation. It is possible to add new ones.
56
+ * @type {Array<ProductFieldClass>}
57
+ * @memberof InsuredObjectClass
58
+ */
59
+ 'productFields': Array<ProductFieldClass>;
60
+ /**
61
+ * Time at which the object was created.
62
+ * @type {string}
63
+ * @memberof InsuredObjectClass
64
+ */
65
+ 'createdAt': string;
66
+ /**
67
+ * Time at which the object was updated.
68
+ * @type {string}
69
+ * @memberof InsuredObjectClass
70
+ */
71
+ 'updatedAt': string;
72
+ }
73
+
@@ -0,0 +1,54 @@
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 InsuredObjectTypeClass
21
+ */
22
+ export interface InsuredObjectTypeClass {
23
+ /**
24
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
25
+ * @type {number}
26
+ * @memberof InsuredObjectTypeClass
27
+ */
28
+ 'id': number;
29
+ /**
30
+ * Insured object type name
31
+ * @type {string}
32
+ * @memberof InsuredObjectTypeClass
33
+ */
34
+ 'name': string;
35
+ /**
36
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id. In this case, the template used for the undefined.
37
+ * @type {string}
38
+ * @memberof InsuredObjectTypeClass
39
+ */
40
+ 'slug': string;
41
+ /**
42
+ * Time at which the object was created.
43
+ * @type {string}
44
+ * @memberof InsuredObjectTypeClass
45
+ */
46
+ 'createdAt': string;
47
+ /**
48
+ * Time at which the object was updated.
49
+ * @type {string}
50
+ * @memberof InsuredObjectTypeClass
51
+ */
52
+ 'updatedAt': string;
53
+ }
54
+