@emilgroup/public-api-sdk-node 1.0.1 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (171) hide show
  1. package/.openapi-generator/FILES +34 -1
  2. package/README.md +3 -5
  3. package/api/documents-api.ts +31 -17
  4. package/api/leads-api.ts +482 -0
  5. package/api/notifications-api.ts +169 -0
  6. package/api/{payment-setup-api.ts → payments-setup-api.ts} +56 -44
  7. package/api/products-api.ts +88 -333
  8. package/api.ts +9 -5
  9. package/base.ts +3 -3
  10. package/common.ts +6 -6
  11. package/configuration.ts +3 -3
  12. package/dist/api/documents-api.d.ts +31 -18
  13. package/dist/api/documents-api.js +28 -16
  14. package/dist/api/leads-api.d.ts +266 -0
  15. package/dist/api/leads-api.js +506 -0
  16. package/dist/api/notifications-api.d.ts +97 -0
  17. package/dist/api/notifications-api.js +228 -0
  18. package/dist/api/{payment-setup-api.d.ts → payments-setup-api.d.ts} +50 -40
  19. package/dist/api/{payment-setup-api.js → payments-setup-api.js} +47 -39
  20. package/dist/api/products-api.d.ts +82 -197
  21. package/dist/api/products-api.js +65 -300
  22. package/dist/api.d.ts +6 -4
  23. package/dist/api.js +6 -4
  24. package/dist/base.d.ts +3 -3
  25. package/dist/base.js +4 -4
  26. package/dist/common.d.ts +6 -6
  27. package/dist/common.js +4 -4
  28. package/dist/configuration.d.ts +3 -3
  29. package/dist/configuration.js +3 -3
  30. package/dist/index.d.ts +3 -3
  31. package/dist/index.js +3 -3
  32. package/dist/models/complete-braintree-payment-setup-request-dto.d.ts +8 -8
  33. package/dist/models/complete-braintree-payment-setup-request-dto.js +3 -3
  34. package/dist/models/complete-payment-setup-request-dto.d.ts +3 -3
  35. package/dist/models/complete-payment-setup-request-dto.js +3 -3
  36. package/dist/models/complete-payment-setup-response-class.d.ts +25 -0
  37. package/dist/models/complete-payment-setup-response-class.js +15 -0
  38. package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +9 -9
  39. package/dist/models/complete-stripe-payment-setup-request-dto.js +3 -3
  40. package/dist/models/create-account-request-dto.d.ts +29 -4
  41. package/dist/models/create-account-request-dto.js +10 -4
  42. package/dist/models/create-bank-account-request-dto.d.ts +7 -7
  43. package/dist/models/create-bank-account-request-dto.js +3 -3
  44. package/dist/models/create-custom-application-request-dto.d.ts +7 -6
  45. package/dist/models/create-custom-application-request-dto.js +5 -4
  46. package/dist/models/create-custom-application-response-class.d.ts +24 -0
  47. package/dist/models/create-custom-application-response-class.js +15 -0
  48. package/dist/models/create-document-request-dto.d.ts +21 -15
  49. package/dist/models/create-document-request-dto.js +3 -3
  50. package/dist/models/create-estimated-invoice-request-dto.d.ts +14 -6
  51. package/dist/models/create-estimated-invoice-request-dto.js +5 -4
  52. package/dist/models/create-estimated-invoice-response-class.d.ts +25 -0
  53. package/dist/models/create-estimated-invoice-response-class.js +15 -0
  54. package/dist/models/create-lead-request-dto.d.ts +24 -17
  55. package/dist/models/create-lead-request-dto.js +3 -3
  56. package/dist/models/create-lead-response-class.d.ts +25 -0
  57. package/dist/models/create-lead-response-class.js +15 -0
  58. package/dist/models/document-class.d.ts +130 -0
  59. package/dist/models/document-class.js +41 -0
  60. package/dist/models/get-custom-css-response-class.d.ts +24 -0
  61. package/dist/models/get-custom-css-response-class.js +15 -0
  62. package/dist/models/get-lead-response-class.d.ts +25 -0
  63. package/dist/models/get-lead-response-class.js +15 -0
  64. package/dist/models/index.d.ts +31 -0
  65. package/dist/models/index.js +31 -0
  66. package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +4 -4
  67. package/dist/models/initiate-braintree-payment-setup-request-dto.js +3 -3
  68. package/dist/models/initiate-braintree-payment-setup-response-class.d.ts +24 -0
  69. package/dist/models/initiate-braintree-payment-setup-response-class.js +15 -0
  70. package/dist/models/initiate-lead-response-class.d.ts +24 -0
  71. package/dist/models/initiate-lead-response-class.js +15 -0
  72. package/dist/models/initiate-payment-setup-request-dto.d.ts +3 -3
  73. package/dist/models/initiate-payment-setup-request-dto.js +3 -3
  74. package/dist/models/initiate-payment-setup-response-class.d.ts +32 -0
  75. package/dist/models/initiate-payment-setup-response-class.js +15 -0
  76. package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +4 -4
  77. package/dist/models/initiate-stripe-payment-setup-request-dto.js +3 -3
  78. package/dist/models/initiate-stripe-payment-setup-response-class.d.ts +30 -0
  79. package/dist/models/initiate-stripe-payment-setup-response-class.js +15 -0
  80. package/dist/models/insured-object-class.d.ts +67 -0
  81. package/dist/models/insured-object-class.js +15 -0
  82. package/dist/models/insured-object-type-class.d.ts +48 -0
  83. package/dist/models/insured-object-type-class.js +15 -0
  84. package/dist/models/invoice-class.d.ts +128 -0
  85. package/dist/models/invoice-class.js +15 -0
  86. package/dist/models/invoice-item-class.d.ts +108 -0
  87. package/dist/models/invoice-item-class.js +15 -0
  88. package/dist/models/invoice-status-class.d.ts +42 -0
  89. package/dist/models/invoice-status-class.js +15 -0
  90. package/dist/models/lead-account-class.d.ts +109 -0
  91. package/dist/models/lead-account-class.js +22 -0
  92. package/dist/models/lead-bank-account-class.d.ts +30 -0
  93. package/dist/models/lead-bank-account-class.js +15 -0
  94. package/dist/models/lead-class.d.ts +77 -0
  95. package/dist/models/lead-class.js +15 -0
  96. package/dist/models/lead-policy-class.d.ts +44 -0
  97. package/dist/models/lead-policy-class.js +15 -0
  98. package/dist/models/lead-policy-object-class.d.ts +30 -0
  99. package/dist/models/lead-policy-object-class.js +15 -0
  100. package/dist/models/list-documents-response-class.d.ts +31 -0
  101. package/dist/models/list-documents-response-class.js +15 -0
  102. package/dist/models/payment-method-class.d.ts +60 -0
  103. package/dist/models/payment-method-class.js +15 -0
  104. package/dist/models/policy-object-request-dto.d.ts +5 -5
  105. package/dist/models/policy-object-request-dto.js +3 -3
  106. package/dist/models/premium-override-dto.d.ts +53 -0
  107. package/dist/models/premium-override-dto.js +25 -0
  108. package/dist/models/premium-override-request-dto.d.ts +25 -0
  109. package/dist/models/premium-override-request-dto.js +15 -0
  110. package/dist/models/product-factor-class.d.ts +54 -0
  111. package/dist/models/product-factor-class.js +15 -0
  112. package/dist/models/product-field-class.d.ts +120 -0
  113. package/dist/models/product-field-class.js +15 -0
  114. package/dist/models/send-notification-request-dto.d.ts +36 -0
  115. package/dist/models/send-notification-request-dto.js +15 -0
  116. package/dist/models/send-notification-response-class.d.ts +24 -0
  117. package/dist/models/send-notification-response-class.js +15 -0
  118. package/dist/models/update-lead-request-dto.d.ts +84 -0
  119. package/dist/models/update-lead-request-dto.js +22 -0
  120. package/dist/models/update-lead-response-class.d.ts +25 -0
  121. package/dist/models/update-lead-response-class.js +15 -0
  122. package/dist/models/uploaded-document-dto.d.ts +4 -4
  123. package/dist/models/uploaded-document-dto.js +3 -3
  124. package/index.ts +3 -3
  125. package/models/complete-braintree-payment-setup-request-dto.ts +8 -8
  126. package/models/complete-payment-setup-request-dto.ts +3 -3
  127. package/models/complete-payment-setup-response-class.ts +31 -0
  128. package/models/complete-stripe-payment-setup-request-dto.ts +9 -9
  129. package/models/create-account-request-dto.ts +29 -3
  130. package/models/create-bank-account-request-dto.ts +7 -7
  131. package/models/create-custom-application-request-dto.ts +7 -6
  132. package/models/create-custom-application-response-class.ts +30 -0
  133. package/models/create-document-request-dto.ts +19 -13
  134. package/models/create-estimated-invoice-request-dto.ts +14 -6
  135. package/models/create-estimated-invoice-response-class.ts +31 -0
  136. package/models/create-lead-request-dto.ts +23 -16
  137. package/models/create-lead-response-class.ts +31 -0
  138. package/models/document-class.ts +141 -0
  139. package/models/get-custom-css-response-class.ts +30 -0
  140. package/models/get-lead-response-class.ts +31 -0
  141. package/models/index.ts +31 -0
  142. package/models/initiate-braintree-payment-setup-request-dto.ts +4 -4
  143. package/models/initiate-braintree-payment-setup-response-class.ts +30 -0
  144. package/models/initiate-lead-response-class.ts +30 -0
  145. package/models/initiate-payment-setup-request-dto.ts +3 -3
  146. package/models/initiate-payment-setup-response-class.ts +38 -0
  147. package/models/initiate-stripe-payment-setup-request-dto.ts +4 -4
  148. package/models/initiate-stripe-payment-setup-response-class.ts +36 -0
  149. package/models/insured-object-class.ts +73 -0
  150. package/models/insured-object-type-class.ts +54 -0
  151. package/models/invoice-class.ts +134 -0
  152. package/models/invoice-item-class.ts +114 -0
  153. package/models/invoice-status-class.ts +48 -0
  154. package/models/lead-account-class.ts +118 -0
  155. package/models/lead-bank-account-class.ts +36 -0
  156. package/models/lead-class.ts +83 -0
  157. package/models/lead-policy-class.ts +50 -0
  158. package/models/lead-policy-object-class.ts +36 -0
  159. package/models/list-documents-response-class.ts +37 -0
  160. package/models/payment-method-class.ts +66 -0
  161. package/models/policy-object-request-dto.ts +5 -5
  162. package/models/premium-override-dto.ts +63 -0
  163. package/models/premium-override-request-dto.ts +31 -0
  164. package/models/product-factor-class.ts +60 -0
  165. package/models/product-field-class.ts +126 -0
  166. package/models/send-notification-request-dto.ts +42 -0
  167. package/models/send-notification-response-class.ts +30 -0
  168. package/models/update-lead-request-dto.ts +93 -0
  169. package/models/update-lead-response-class.ts +31 -0
  170. package/models/uploaded-document-dto.ts +4 -4
  171. package/package.json +1 -1
@@ -1,14 +1,45 @@
1
1
  export * from './complete-braintree-payment-setup-request-dto';
2
2
  export * from './complete-payment-setup-request-dto';
3
+ export * from './complete-payment-setup-response-class';
3
4
  export * from './complete-stripe-payment-setup-request-dto';
4
5
  export * from './create-account-request-dto';
5
6
  export * from './create-bank-account-request-dto';
6
7
  export * from './create-custom-application-request-dto';
8
+ export * from './create-custom-application-response-class';
7
9
  export * from './create-document-request-dto';
8
10
  export * from './create-estimated-invoice-request-dto';
11
+ export * from './create-estimated-invoice-response-class';
9
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';
10
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';
11
20
  export * from './initiate-payment-setup-request-dto';
21
+ export * from './initiate-payment-setup-response-class';
12
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';
13
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';
14
45
  export * from './uploaded-document-dto';
@@ -16,15 +16,46 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./complete-braintree-payment-setup-request-dto"), exports);
18
18
  __exportStar(require("./complete-payment-setup-request-dto"), exports);
19
+ __exportStar(require("./complete-payment-setup-response-class"), exports);
19
20
  __exportStar(require("./complete-stripe-payment-setup-request-dto"), exports);
20
21
  __exportStar(require("./create-account-request-dto"), exports);
21
22
  __exportStar(require("./create-bank-account-request-dto"), exports);
22
23
  __exportStar(require("./create-custom-application-request-dto"), exports);
24
+ __exportStar(require("./create-custom-application-response-class"), exports);
23
25
  __exportStar(require("./create-document-request-dto"), exports);
24
26
  __exportStar(require("./create-estimated-invoice-request-dto"), exports);
27
+ __exportStar(require("./create-estimated-invoice-response-class"), exports);
25
28
  __exportStar(require("./create-lead-request-dto"), exports);
29
+ __exportStar(require("./create-lead-response-class"), exports);
30
+ __exportStar(require("./document-class"), exports);
31
+ __exportStar(require("./get-custom-css-response-class"), exports);
32
+ __exportStar(require("./get-lead-response-class"), exports);
26
33
  __exportStar(require("./initiate-braintree-payment-setup-request-dto"), exports);
34
+ __exportStar(require("./initiate-braintree-payment-setup-response-class"), exports);
35
+ __exportStar(require("./initiate-lead-response-class"), exports);
27
36
  __exportStar(require("./initiate-payment-setup-request-dto"), exports);
37
+ __exportStar(require("./initiate-payment-setup-response-class"), exports);
28
38
  __exportStar(require("./initiate-stripe-payment-setup-request-dto"), exports);
39
+ __exportStar(require("./initiate-stripe-payment-setup-response-class"), exports);
40
+ __exportStar(require("./insured-object-class"), exports);
41
+ __exportStar(require("./insured-object-type-class"), exports);
42
+ __exportStar(require("./invoice-class"), exports);
43
+ __exportStar(require("./invoice-item-class"), exports);
44
+ __exportStar(require("./invoice-status-class"), exports);
45
+ __exportStar(require("./lead-account-class"), exports);
46
+ __exportStar(require("./lead-bank-account-class"), exports);
47
+ __exportStar(require("./lead-class"), exports);
48
+ __exportStar(require("./lead-policy-class"), exports);
49
+ __exportStar(require("./lead-policy-object-class"), exports);
50
+ __exportStar(require("./list-documents-response-class"), exports);
51
+ __exportStar(require("./payment-method-class"), exports);
29
52
  __exportStar(require("./policy-object-request-dto"), exports);
53
+ __exportStar(require("./premium-override-dto"), exports);
54
+ __exportStar(require("./premium-override-request-dto"), exports);
55
+ __exportStar(require("./product-factor-class"), exports);
56
+ __exportStar(require("./product-field-class"), exports);
57
+ __exportStar(require("./send-notification-request-dto"), exports);
58
+ __exportStar(require("./send-notification-response-class"), exports);
59
+ __exportStar(require("./update-lead-request-dto"), exports);
60
+ __exportStar(require("./update-lead-response-class"), exports);
30
61
  __exportStar(require("./uploaded-document-dto"), exports);
@@ -1,9 +1,9 @@
1
1
  /**
2
- * EMIL PublicAPI
3
- * The EMIL Public API description
2
+ * Emil PublicAPI
3
+ * The Emil Public API description
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface InitiateBraintreePaymentSetupRequestDto {
18
18
  /**
19
- * Lead code
19
+ * Unique identifier of the lead that this object belongs to.
20
20
  * @type {string}
21
21
  * @memberof InitiateBraintreePaymentSetupRequestDto
22
22
  */
@@ -2,11 +2,11 @@
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
4
  /**
5
- * EMIL PublicAPI
6
- * The EMIL Public API description
5
+ * Emil PublicAPI
6
+ * The Emil Public API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -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 InitiateBraintreePaymentSetupResponseClass
16
+ */
17
+ export interface InitiateBraintreePaymentSetupResponseClass {
18
+ /**
19
+ * Identifier used by the payment service provider to create a payment method.
20
+ * @type {string}
21
+ * @memberof InitiateBraintreePaymentSetupResponseClass
22
+ */
23
+ 'pspSecretToken': string;
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,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 InitiateLeadResponseClass
16
+ */
17
+ export interface InitiateLeadResponseClass {
18
+ /**
19
+ * Unique identifier of the lead that this object belongs to.
20
+ * @type {string}
21
+ * @memberof InitiateLeadResponseClass
22
+ */
23
+ 'leadCode': string;
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 });
@@ -1,9 +1,9 @@
1
1
  /**
2
- * EMIL PublicAPI
3
- * The EMIL Public API description
2
+ * Emil PublicAPI
3
+ * The Emil Public API description
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -2,11 +2,11 @@
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
4
  /**
5
- * EMIL PublicAPI
6
- * The EMIL Public API description
5
+ * Emil PublicAPI
6
+ * The Emil Public API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -0,0 +1,32 @@
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 { InitiateBraintreePaymentSetupResponseClass } from './initiate-braintree-payment-setup-response-class';
13
+ import { InitiateStripePaymentSetupResponseClass } from './initiate-stripe-payment-setup-response-class';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface InitiatePaymentSetupResponseClass
18
+ */
19
+ export interface InitiatePaymentSetupResponseClass {
20
+ /**
21
+ * The stripe response after creating the setup intent.
22
+ * @type {InitiateStripePaymentSetupResponseClass}
23
+ * @memberof InitiatePaymentSetupResponseClass
24
+ */
25
+ 'stripe': InitiateStripePaymentSetupResponseClass;
26
+ /**
27
+ * Braintree response after generating client token.
28
+ * @type {InitiateBraintreePaymentSetupResponseClass}
29
+ * @memberof InitiatePaymentSetupResponseClass
30
+ */
31
+ 'braintree': InitiateBraintreePaymentSetupResponseClass;
32
+ }
@@ -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 });
@@ -1,9 +1,9 @@
1
1
  /**
2
- * EMIL PublicAPI
3
- * The EMIL Public API description
2
+ * Emil PublicAPI
3
+ * The Emil Public API description
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface InitiateStripePaymentSetupRequestDto {
18
18
  /**
19
- * Lead code
19
+ * Unique identifier of the lead that this object belongs to.
20
20
  * @type {string}
21
21
  * @memberof InitiateStripePaymentSetupRequestDto
22
22
  */
@@ -2,11 +2,11 @@
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
4
  /**
5
- * EMIL PublicAPI
6
- * The EMIL Public API description
5
+ * Emil PublicAPI
6
+ * The Emil Public API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -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 InitiateStripePaymentSetupResponseClass
16
+ */
17
+ export interface InitiateStripePaymentSetupResponseClass {
18
+ /**
19
+ * Identifier used by the payment service provider to create a payment method.
20
+ * @type {string}
21
+ * @memberof InitiateStripePaymentSetupResponseClass
22
+ */
23
+ 'pspSecretToken': string;
24
+ /**
25
+ * Unique identifier for the customer on Stripe.
26
+ * @type {string}
27
+ * @memberof InitiateStripePaymentSetupResponseClass
28
+ */
29
+ 'pspCustomerId': 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,67 @@
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 { ProductFieldClass } from './product-field-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface InsuredObjectClass
17
+ */
18
+ export interface InsuredObjectClass {
19
+ /**
20
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
21
+ * @type {number}
22
+ * @memberof InsuredObjectClass
23
+ */
24
+ 'id': number;
25
+ /**
26
+ * Unique identifier referencing the product version.
27
+ * @type {number}
28
+ * @memberof InsuredObjectClass
29
+ */
30
+ 'productVersionId': number;
31
+ /**
32
+ * Insured object name
33
+ * @type {string}
34
+ * @memberof InsuredObjectClass
35
+ */
36
+ 'name': string;
37
+ /**
38
+ * Insured object label
39
+ * @type {string}
40
+ * @memberof InsuredObjectClass
41
+ */
42
+ 'label': string;
43
+ /**
44
+ * Unique identifier referencing the insured object type.
45
+ * @type {number}
46
+ * @memberof InsuredObjectClass
47
+ */
48
+ 'insuredObjectTypeId': number;
49
+ /**
50
+ * 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.
51
+ * @type {Array<ProductFieldClass>}
52
+ * @memberof InsuredObjectClass
53
+ */
54
+ 'productFields': Array<ProductFieldClass>;
55
+ /**
56
+ * Time at which the object was created.
57
+ * @type {string}
58
+ * @memberof InsuredObjectClass
59
+ */
60
+ 'createdAt': string;
61
+ /**
62
+ * Time at which the object was updated.
63
+ * @type {string}
64
+ * @memberof InsuredObjectClass
65
+ */
66
+ 'updatedAt': string;
67
+ }
@@ -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,48 @@
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 InsuredObjectTypeClass
16
+ */
17
+ export interface InsuredObjectTypeClass {
18
+ /**
19
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
20
+ * @type {number}
21
+ * @memberof InsuredObjectTypeClass
22
+ */
23
+ 'id': number;
24
+ /**
25
+ * Insured object type name
26
+ * @type {string}
27
+ * @memberof InsuredObjectTypeClass
28
+ */
29
+ 'name': string;
30
+ /**
31
+ * 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.
32
+ * @type {string}
33
+ * @memberof InsuredObjectTypeClass
34
+ */
35
+ 'slug': string;
36
+ /**
37
+ * Time at which the object was created.
38
+ * @type {string}
39
+ * @memberof InsuredObjectTypeClass
40
+ */
41
+ 'createdAt': string;
42
+ /**
43
+ * Time at which the object was updated.
44
+ * @type {string}
45
+ * @memberof InsuredObjectTypeClass
46
+ */
47
+ 'updatedAt': string;
48
+ }
@@ -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,128 @@
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 { InvoiceItemClass } from './invoice-item-class';
13
+ import { InvoiceStatusClass } from './invoice-status-class';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface InvoiceClass
18
+ */
19
+ export interface InvoiceClass {
20
+ /**
21
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
22
+ * @type {number}
23
+ * @memberof InvoiceClass
24
+ */
25
+ 'id': number;
26
+ /**
27
+ * Unique identifier of the policy that this object belongs to.
28
+ * @type {string}
29
+ * @memberof InvoiceClass
30
+ */
31
+ 'policyCode': string;
32
+ /**
33
+ * Account number
34
+ * @type {string}
35
+ * @memberof InvoiceClass
36
+ */
37
+ 'accountNumber': string;
38
+ /**
39
+ * Unique identifier for the object.
40
+ * @type {string}
41
+ * @memberof InvoiceClass
42
+ */
43
+ 'code': string;
44
+ /**
45
+ * Invoice type.
46
+ * @type {string}
47
+ * @memberof InvoiceClass
48
+ */
49
+ 'type': string;
50
+ /**
51
+ * Invoice number.
52
+ * @type {string}
53
+ * @memberof InvoiceClass
54
+ */
55
+ 'invoiceNumber': string;
56
+ /**
57
+ * Net amount.
58
+ * @type {number}
59
+ * @memberof InvoiceClass
60
+ */
61
+ 'netAmount': number;
62
+ /**
63
+ * Tax amount.
64
+ * @type {number}
65
+ * @memberof InvoiceClass
66
+ */
67
+ 'taxAmount': number;
68
+ /**
69
+ * Credit amount
70
+ * @type {number}
71
+ * @memberof InvoiceClass
72
+ */
73
+ 'creditAmount': number;
74
+ /**
75
+ * Gross amount.
76
+ * @type {number}
77
+ * @memberof InvoiceClass
78
+ */
79
+ 'grossAmount': number;
80
+ /**
81
+ * It shows the status of the invoice that is paid or open.
82
+ * @type {string}
83
+ * @memberof InvoiceClass
84
+ */
85
+ 'status': string;
86
+ /**
87
+ * Invoice due date.
88
+ * @type {string}
89
+ * @memberof InvoiceClass
90
+ */
91
+ 'dueDate': string;
92
+ /**
93
+ * Metadata contains extra information that the invoice would need for specific cases.
94
+ * @type {object}
95
+ * @memberof InvoiceClass
96
+ */
97
+ 'metadata': object;
98
+ /**
99
+ * Invoice billing interval from
100
+ * @type {string}
101
+ * @memberof InvoiceClass
102
+ */
103
+ 'billingIntervalFrom': string;
104
+ /**
105
+ * Invoice billing interval to
106
+ * @type {string}
107
+ * @memberof InvoiceClass
108
+ */
109
+ 'billingIntervalTo': string;
110
+ /**
111
+ * Time at which the object was created.
112
+ * @type {string}
113
+ * @memberof InvoiceClass
114
+ */
115
+ 'createdAt': string;
116
+ /**
117
+ * Invoice items
118
+ * @type {Array<InvoiceItemClass>}
119
+ * @memberof InvoiceClass
120
+ */
121
+ 'invoiceItems': Array<InvoiceItemClass>;
122
+ /**
123
+ * Invoice statuses
124
+ * @type {Array<InvoiceStatusClass>}
125
+ * @memberof InvoiceClass
126
+ */
127
+ 'statuses': Array<InvoiceStatusClass>;
128
+ }
@@ -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 });