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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (171) hide show
  1. package/.openapi-generator/FILES +30 -1
  2. package/README.md +3 -5
  3. package/api/documents-api.ts +31 -17
  4. package/api/leads-api.ts +482 -0
  5. package/api/notifications-api.ts +15 -9
  6. package/api/{payment-setup-api.ts → payments-setup-api.ts} +56 -44
  7. package/api/products-api.ts +73 -433
  8. package/api.ts +7 -5
  9. package/base.ts +3 -3
  10. package/common.ts +6 -6
  11. package/configuration.ts +3 -3
  12. package/dist/api/documents-api.d.ts +31 -18
  13. package/dist/api/documents-api.js +28 -16
  14. package/dist/api/leads-api.d.ts +266 -0
  15. package/dist/api/leads-api.js +506 -0
  16. package/dist/api/notifications-api.d.ts +15 -10
  17. package/dist/api/notifications-api.js +12 -8
  18. package/dist/api/{payment-setup-api.d.ts → payments-setup-api.d.ts} +50 -40
  19. package/dist/api/{payment-setup-api.js → payments-setup-api.js} +47 -39
  20. package/dist/api/products-api.d.ts +75 -251
  21. package/dist/api/products-api.js +52 -383
  22. package/dist/api.d.ts +5 -4
  23. package/dist/api.js +5 -4
  24. package/dist/base.d.ts +3 -3
  25. package/dist/base.js +4 -4
  26. package/dist/common.d.ts +6 -6
  27. package/dist/common.js +4 -4
  28. package/dist/configuration.d.ts +3 -3
  29. package/dist/configuration.js +3 -3
  30. package/dist/index.d.ts +3 -3
  31. package/dist/index.js +3 -3
  32. package/dist/models/complete-braintree-payment-setup-request-dto.d.ts +8 -8
  33. package/dist/models/complete-braintree-payment-setup-request-dto.js +3 -3
  34. package/dist/models/complete-payment-setup-request-dto.d.ts +3 -3
  35. package/dist/models/complete-payment-setup-request-dto.js +3 -3
  36. package/dist/models/complete-payment-setup-response-class.d.ts +25 -0
  37. package/dist/models/complete-payment-setup-response-class.js +15 -0
  38. package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +9 -9
  39. package/dist/models/complete-stripe-payment-setup-request-dto.js +3 -3
  40. package/dist/models/create-account-request-dto.d.ts +19 -6
  41. package/dist/models/create-account-request-dto.js +10 -4
  42. package/dist/models/create-bank-account-request-dto.d.ts +7 -7
  43. package/dist/models/create-bank-account-request-dto.js +3 -3
  44. package/dist/models/create-custom-application-request-dto.d.ts +6 -6
  45. package/dist/models/create-custom-application-request-dto.js +3 -3
  46. package/dist/models/create-custom-application-response-class.d.ts +24 -0
  47. package/dist/models/create-custom-application-response-class.js +15 -0
  48. package/dist/models/create-document-request-dto.d.ts +21 -15
  49. package/dist/models/create-document-request-dto.js +3 -3
  50. package/dist/models/create-estimated-invoice-request-dto.d.ts +11 -11
  51. package/dist/models/create-estimated-invoice-request-dto.js +3 -3
  52. package/dist/models/create-estimated-invoice-response-class.d.ts +25 -0
  53. package/dist/models/create-estimated-invoice-response-class.js +15 -0
  54. package/dist/models/create-lead-request-dto.d.ts +23 -23
  55. package/dist/models/create-lead-request-dto.js +3 -3
  56. package/dist/models/create-lead-response-class.d.ts +25 -0
  57. package/dist/models/create-lead-response-class.js +15 -0
  58. package/dist/models/document-class.d.ts +130 -0
  59. package/dist/models/document-class.js +41 -0
  60. package/dist/models/get-custom-css-response-class.d.ts +24 -0
  61. package/dist/models/get-custom-css-response-class.js +15 -0
  62. package/dist/models/get-lead-response-class.d.ts +25 -0
  63. package/dist/models/get-lead-response-class.js +15 -0
  64. package/dist/models/index.d.ts +27 -0
  65. package/dist/models/index.js +27 -0
  66. package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +4 -4
  67. package/dist/models/initiate-braintree-payment-setup-request-dto.js +3 -3
  68. package/dist/models/initiate-braintree-payment-setup-response-class.d.ts +24 -0
  69. package/dist/models/initiate-braintree-payment-setup-response-class.js +15 -0
  70. package/dist/models/initiate-lead-response-class.d.ts +24 -0
  71. package/dist/models/initiate-lead-response-class.js +15 -0
  72. package/dist/models/initiate-payment-setup-request-dto.d.ts +3 -3
  73. package/dist/models/initiate-payment-setup-request-dto.js +3 -3
  74. package/dist/models/initiate-payment-setup-response-class.d.ts +32 -0
  75. package/dist/models/initiate-payment-setup-response-class.js +15 -0
  76. package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +4 -4
  77. package/dist/models/initiate-stripe-payment-setup-request-dto.js +3 -3
  78. package/dist/models/initiate-stripe-payment-setup-response-class.d.ts +30 -0
  79. package/dist/models/initiate-stripe-payment-setup-response-class.js +15 -0
  80. package/dist/models/insured-object-class.d.ts +67 -0
  81. package/dist/models/insured-object-class.js +15 -0
  82. package/dist/models/insured-object-type-class.d.ts +48 -0
  83. package/dist/models/insured-object-type-class.js +15 -0
  84. package/dist/models/invoice-class.d.ts +128 -0
  85. package/dist/models/invoice-class.js +15 -0
  86. package/dist/models/invoice-item-class.d.ts +108 -0
  87. package/dist/models/invoice-item-class.js +15 -0
  88. package/dist/models/invoice-status-class.d.ts +42 -0
  89. package/dist/models/invoice-status-class.js +15 -0
  90. package/dist/models/lead-account-class.d.ts +109 -0
  91. package/dist/models/lead-account-class.js +22 -0
  92. package/dist/models/lead-bank-account-class.d.ts +30 -0
  93. package/dist/models/lead-bank-account-class.js +15 -0
  94. package/dist/models/lead-class.d.ts +77 -0
  95. package/dist/models/lead-class.js +15 -0
  96. package/dist/models/lead-policy-class.d.ts +44 -0
  97. package/dist/models/lead-policy-class.js +15 -0
  98. package/dist/models/lead-policy-object-class.d.ts +30 -0
  99. package/dist/models/lead-policy-object-class.js +15 -0
  100. package/dist/models/list-documents-response-class.d.ts +31 -0
  101. package/dist/models/list-documents-response-class.js +15 -0
  102. package/dist/models/payment-method-class.d.ts +60 -0
  103. package/dist/models/payment-method-class.js +15 -0
  104. package/dist/models/policy-object-request-dto.d.ts +5 -5
  105. package/dist/models/policy-object-request-dto.js +3 -3
  106. package/dist/models/premium-override-dto.d.ts +8 -8
  107. package/dist/models/premium-override-dto.js +3 -3
  108. package/dist/models/premium-override-request-dto.d.ts +4 -4
  109. package/dist/models/premium-override-request-dto.js +3 -3
  110. package/dist/models/product-factor-class.d.ts +54 -0
  111. package/dist/models/product-factor-class.js +15 -0
  112. package/dist/models/product-field-class.d.ts +120 -0
  113. package/dist/models/product-field-class.js +15 -0
  114. package/dist/models/send-notification-request-dto.d.ts +5 -5
  115. package/dist/models/send-notification-request-dto.js +3 -3
  116. package/dist/models/send-notification-response-class.d.ts +24 -0
  117. package/dist/models/send-notification-response-class.js +15 -0
  118. package/dist/models/update-lead-request-dto.d.ts +18 -18
  119. package/dist/models/update-lead-request-dto.js +3 -3
  120. package/dist/models/update-lead-response-class.d.ts +25 -0
  121. package/dist/models/update-lead-response-class.js +15 -0
  122. package/dist/models/uploaded-document-dto.d.ts +4 -4
  123. package/dist/models/uploaded-document-dto.js +3 -3
  124. package/index.ts +3 -3
  125. package/models/complete-braintree-payment-setup-request-dto.ts +8 -8
  126. package/models/complete-payment-setup-request-dto.ts +3 -3
  127. package/models/complete-payment-setup-response-class.ts +31 -0
  128. package/models/complete-stripe-payment-setup-request-dto.ts +9 -9
  129. package/models/create-account-request-dto.ts +19 -5
  130. package/models/create-bank-account-request-dto.ts +7 -7
  131. package/models/create-custom-application-request-dto.ts +5 -5
  132. package/models/create-custom-application-response-class.ts +30 -0
  133. package/models/create-document-request-dto.ts +19 -13
  134. package/models/create-estimated-invoice-request-dto.ts +10 -10
  135. package/models/create-estimated-invoice-response-class.ts +31 -0
  136. package/models/create-lead-request-dto.ts +22 -22
  137. package/models/create-lead-response-class.ts +31 -0
  138. package/models/document-class.ts +141 -0
  139. package/models/get-custom-css-response-class.ts +30 -0
  140. package/models/get-lead-response-class.ts +31 -0
  141. package/models/index.ts +27 -0
  142. package/models/initiate-braintree-payment-setup-request-dto.ts +4 -4
  143. package/models/initiate-braintree-payment-setup-response-class.ts +30 -0
  144. package/models/initiate-lead-response-class.ts +30 -0
  145. package/models/initiate-payment-setup-request-dto.ts +3 -3
  146. package/models/initiate-payment-setup-response-class.ts +38 -0
  147. package/models/initiate-stripe-payment-setup-request-dto.ts +4 -4
  148. package/models/initiate-stripe-payment-setup-response-class.ts +36 -0
  149. package/models/insured-object-class.ts +73 -0
  150. package/models/insured-object-type-class.ts +54 -0
  151. package/models/invoice-class.ts +134 -0
  152. package/models/invoice-item-class.ts +114 -0
  153. package/models/invoice-status-class.ts +48 -0
  154. package/models/lead-account-class.ts +118 -0
  155. package/models/lead-bank-account-class.ts +36 -0
  156. package/models/lead-class.ts +83 -0
  157. package/models/lead-policy-class.ts +50 -0
  158. package/models/lead-policy-object-class.ts +36 -0
  159. package/models/list-documents-response-class.ts +37 -0
  160. package/models/payment-method-class.ts +66 -0
  161. package/models/policy-object-request-dto.ts +5 -5
  162. package/models/premium-override-dto.ts +6 -6
  163. package/models/premium-override-request-dto.ts +4 -4
  164. package/models/product-factor-class.ts +60 -0
  165. package/models/product-field-class.ts +126 -0
  166. package/models/send-notification-request-dto.ts +5 -5
  167. package/models/send-notification-response-class.ts +30 -0
  168. package/models/update-lead-request-dto.ts +17 -17
  169. package/models/update-lead-response-class.ts +31 -0
  170. package/models/uploaded-document-dto.ts +4 -4
  171. package/package.json +1 -1
@@ -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
@@ -13,16 +13,21 @@ import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
13
  import { Configuration } from '../configuration';
14
14
  import { RequestArgs, BaseAPI } from '../base';
15
15
  import { CreateCustomApplicationRequestDto } from '../models';
16
+ import { CreateCustomApplicationResponseClass } from '../models';
16
17
  import { CreateEstimatedInvoiceRequestDto } from '../models';
17
- import { CreateLeadRequestDto } from '../models';
18
- import { UpdateLeadRequestDto } from '../models';
18
+ import { CreateEstimatedInvoiceResponseClass } from '../models';
19
+ import { GetCustomCssResponseClass } from '../models';
20
+ import { InsuredObjectClass } from '../models';
21
+ import { InsuredObjectTypeClass } from '../models';
22
+ import { ProductFactorClass } from '../models';
19
23
  /**
20
24
  * ProductsApi - axios parameter creator
21
25
  * @export
22
26
  */
23
27
  export declare const ProductsApiAxiosParamCreator: (configuration?: Configuration) => {
24
28
  /**
25
- *
29
+ * This will create an invoice product.
30
+ * @summary Create the invoice product
26
31
  * @param {string} productCode
27
32
  * @param {CreateEstimatedInvoiceRequestDto} createEstimatedInvoiceRequestDto
28
33
  * @param {string} [authorization] Bearer Token
@@ -31,15 +36,8 @@ export declare const ProductsApiAxiosParamCreator: (configuration?: Configuratio
31
36
  */
32
37
  createEstimatedInvoice: (productCode: string, createEstimatedInvoiceRequestDto: CreateEstimatedInvoiceRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
33
38
  /**
34
- *
35
- * @param {CreateLeadRequestDto} createLeadRequestDto
36
- * @param {string} [authorization] Bearer Token
37
- * @param {*} [options] Override http request option.
38
- * @throws {RequiredError}
39
- */
40
- createLead: (createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
41
- /**
42
- *
39
+ * This will create a custom application for a specific provider.
40
+ * @summary Create the custom application
43
41
  * @param {string} productCode
44
42
  * @param {CreateCustomApplicationRequestDto} createCustomApplicationRequestDto
45
43
  * @param {string} [authorization] Bearer Token
@@ -48,14 +46,16 @@ export declare const ProductsApiAxiosParamCreator: (configuration?: Configuratio
48
46
  */
49
47
  customApplication: (productCode: string, createCustomApplicationRequestDto: CreateCustomApplicationRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
50
48
  /**
51
- *
49
+ * Returns a list of insured object types you have previously created. The insured object types are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
50
+ * @summary List insured object types
52
51
  * @param {string} [authorization] Bearer Token
53
52
  * @param {*} [options] Override http request option.
54
53
  * @throws {RequiredError}
55
54
  */
56
55
  getInsuredObjectTypes: (authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
57
56
  /**
58
- *
57
+ * Returns a list of insured objects you have previously created. The insured objects are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
58
+ * @summary List insured objects
59
59
  * @param {string} productCode
60
60
  * @param {string} [authorization] Bearer Token
61
61
  * @param {*} [options] Override http request option.
@@ -63,15 +63,8 @@ export declare const ProductsApiAxiosParamCreator: (configuration?: Configuratio
63
63
  */
64
64
  getInsuredObjects: (productCode: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
65
65
  /**
66
- *
67
- * @param {string} code
68
- * @param {string} [authorization] Bearer Token
69
- * @param {*} [options] Override http request option.
70
- * @throws {RequiredError}
71
- */
72
- getLead: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
73
- /**
74
- *
66
+ * This will generate a custom css for booking funnel, based on product.
67
+ * @summary Generate a custom CSS
75
68
  * @param {string} productCode
76
69
  * @param {string} [authorization] Bearer Token
77
70
  * @param {*} [options] Override http request option.
@@ -79,7 +72,8 @@ export declare const ProductsApiAxiosParamCreator: (configuration?: Configuratio
79
72
  */
80
73
  getProductCustomCss: (productCode: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
81
74
  /**
82
- *
75
+ * Returns a list of product factors you have previously created. The product factors are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
76
+ * @summary List product factors
83
77
  * @param {string} productCode
84
78
  * @param {string} allValues
85
79
  * @param {string} [authorization] Bearer Token
@@ -87,22 +81,6 @@ export declare const ProductsApiAxiosParamCreator: (configuration?: Configuratio
87
81
  * @throws {RequiredError}
88
82
  */
89
83
  getProductFactors: (productCode: string, allValues: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
90
- /**
91
- *
92
- * @param {string} [authorization] Bearer Token
93
- * @param {*} [options] Override http request option.
94
- * @throws {RequiredError}
95
- */
96
- initiateLead: (authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
97
- /**
98
- *
99
- * @param {string} code
100
- * @param {UpdateLeadRequestDto} updateLeadRequestDto
101
- * @param {string} [authorization] Bearer Token
102
- * @param {*} [options] Override http request option.
103
- * @throws {RequiredError}
104
- */
105
- updateLead: (code: string, updateLeadRequestDto: UpdateLeadRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
106
84
  };
107
85
  /**
108
86
  * ProductsApi - functional programming interface
@@ -110,87 +88,61 @@ export declare const ProductsApiAxiosParamCreator: (configuration?: Configuratio
110
88
  */
111
89
  export declare const ProductsApiFp: (configuration?: Configuration) => {
112
90
  /**
113
- *
91
+ * This will create an invoice product.
92
+ * @summary Create the invoice product
114
93
  * @param {string} productCode
115
94
  * @param {CreateEstimatedInvoiceRequestDto} createEstimatedInvoiceRequestDto
116
95
  * @param {string} [authorization] Bearer Token
117
96
  * @param {*} [options] Override http request option.
118
97
  * @throws {RequiredError}
119
98
  */
120
- createEstimatedInvoice(productCode: string, createEstimatedInvoiceRequestDto: CreateEstimatedInvoiceRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
99
+ createEstimatedInvoice(productCode: string, createEstimatedInvoiceRequestDto: CreateEstimatedInvoiceRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateEstimatedInvoiceResponseClass>>;
121
100
  /**
122
- *
123
- * @param {CreateLeadRequestDto} createLeadRequestDto
124
- * @param {string} [authorization] Bearer Token
125
- * @param {*} [options] Override http request option.
126
- * @throws {RequiredError}
127
- */
128
- createLead(createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
129
- /**
130
- *
101
+ * This will create a custom application for a specific provider.
102
+ * @summary Create the custom application
131
103
  * @param {string} productCode
132
104
  * @param {CreateCustomApplicationRequestDto} createCustomApplicationRequestDto
133
105
  * @param {string} [authorization] Bearer Token
134
106
  * @param {*} [options] Override http request option.
135
107
  * @throws {RequiredError}
136
108
  */
137
- customApplication(productCode: string, createCustomApplicationRequestDto: CreateCustomApplicationRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
109
+ customApplication(productCode: string, createCustomApplicationRequestDto: CreateCustomApplicationRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateCustomApplicationResponseClass>>;
138
110
  /**
139
- *
111
+ * Returns a list of insured object types you have previously created. The insured object types are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
112
+ * @summary List insured object types
140
113
  * @param {string} [authorization] Bearer Token
141
114
  * @param {*} [options] Override http request option.
142
115
  * @throws {RequiredError}
143
116
  */
144
- getInsuredObjectTypes(authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
117
+ getInsuredObjectTypes(authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<InsuredObjectTypeClass>>>;
145
118
  /**
146
- *
119
+ * Returns a list of insured objects you have previously created. The insured objects are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
120
+ * @summary List insured objects
147
121
  * @param {string} productCode
148
122
  * @param {string} [authorization] Bearer Token
149
123
  * @param {*} [options] Override http request option.
150
124
  * @throws {RequiredError}
151
125
  */
152
- getInsuredObjects(productCode: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
153
- /**
154
- *
155
- * @param {string} code
156
- * @param {string} [authorization] Bearer Token
157
- * @param {*} [options] Override http request option.
158
- * @throws {RequiredError}
159
- */
160
- getLead(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
126
+ getInsuredObjects(productCode: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<InsuredObjectClass>>>;
161
127
  /**
162
- *
128
+ * This will generate a custom css for booking funnel, based on product.
129
+ * @summary Generate a custom CSS
163
130
  * @param {string} productCode
164
131
  * @param {string} [authorization] Bearer Token
165
132
  * @param {*} [options] Override http request option.
166
133
  * @throws {RequiredError}
167
134
  */
168
- getProductCustomCss(productCode: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
135
+ getProductCustomCss(productCode: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetCustomCssResponseClass>>;
169
136
  /**
170
- *
137
+ * Returns a list of product factors you have previously created. The product factors are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
138
+ * @summary List product factors
171
139
  * @param {string} productCode
172
140
  * @param {string} allValues
173
141
  * @param {string} [authorization] Bearer Token
174
142
  * @param {*} [options] Override http request option.
175
143
  * @throws {RequiredError}
176
144
  */
177
- getProductFactors(productCode: string, allValues: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
178
- /**
179
- *
180
- * @param {string} [authorization] Bearer Token
181
- * @param {*} [options] Override http request option.
182
- * @throws {RequiredError}
183
- */
184
- initiateLead(authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
185
- /**
186
- *
187
- * @param {string} code
188
- * @param {UpdateLeadRequestDto} updateLeadRequestDto
189
- * @param {string} [authorization] Bearer Token
190
- * @param {*} [options] Override http request option.
191
- * @throws {RequiredError}
192
- */
193
- updateLead(code: string, updateLeadRequestDto: UpdateLeadRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
145
+ getProductFactors(productCode: string, allValues: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ProductFactorClass>>>;
194
146
  };
195
147
  /**
196
148
  * ProductsApi - factory interface
@@ -198,87 +150,61 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
198
150
  */
199
151
  export declare const ProductsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
200
152
  /**
201
- *
153
+ * This will create an invoice product.
154
+ * @summary Create the invoice product
202
155
  * @param {string} productCode
203
156
  * @param {CreateEstimatedInvoiceRequestDto} createEstimatedInvoiceRequestDto
204
157
  * @param {string} [authorization] Bearer Token
205
158
  * @param {*} [options] Override http request option.
206
159
  * @throws {RequiredError}
207
160
  */
208
- createEstimatedInvoice(productCode: string, createEstimatedInvoiceRequestDto: CreateEstimatedInvoiceRequestDto, authorization?: string, options?: any): AxiosPromise<void>;
161
+ createEstimatedInvoice(productCode: string, createEstimatedInvoiceRequestDto: CreateEstimatedInvoiceRequestDto, authorization?: string, options?: any): AxiosPromise<CreateEstimatedInvoiceResponseClass>;
209
162
  /**
210
- *
211
- * @param {CreateLeadRequestDto} createLeadRequestDto
212
- * @param {string} [authorization] Bearer Token
213
- * @param {*} [options] Override http request option.
214
- * @throws {RequiredError}
215
- */
216
- createLead(createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options?: any): AxiosPromise<void>;
217
- /**
218
- *
163
+ * This will create a custom application for a specific provider.
164
+ * @summary Create the custom application
219
165
  * @param {string} productCode
220
166
  * @param {CreateCustomApplicationRequestDto} createCustomApplicationRequestDto
221
167
  * @param {string} [authorization] Bearer Token
222
168
  * @param {*} [options] Override http request option.
223
169
  * @throws {RequiredError}
224
170
  */
225
- customApplication(productCode: string, createCustomApplicationRequestDto: CreateCustomApplicationRequestDto, authorization?: string, options?: any): AxiosPromise<void>;
171
+ customApplication(productCode: string, createCustomApplicationRequestDto: CreateCustomApplicationRequestDto, authorization?: string, options?: any): AxiosPromise<CreateCustomApplicationResponseClass>;
226
172
  /**
227
- *
173
+ * Returns a list of insured object types you have previously created. The insured object types are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
174
+ * @summary List insured object types
228
175
  * @param {string} [authorization] Bearer Token
229
176
  * @param {*} [options] Override http request option.
230
177
  * @throws {RequiredError}
231
178
  */
232
- getInsuredObjectTypes(authorization?: string, options?: any): AxiosPromise<void>;
179
+ getInsuredObjectTypes(authorization?: string, options?: any): AxiosPromise<Array<InsuredObjectTypeClass>>;
233
180
  /**
234
- *
181
+ * Returns a list of insured objects you have previously created. The insured objects are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
182
+ * @summary List insured objects
235
183
  * @param {string} productCode
236
184
  * @param {string} [authorization] Bearer Token
237
185
  * @param {*} [options] Override http request option.
238
186
  * @throws {RequiredError}
239
187
  */
240
- getInsuredObjects(productCode: string, authorization?: string, options?: any): AxiosPromise<void>;
188
+ getInsuredObjects(productCode: string, authorization?: string, options?: any): AxiosPromise<Array<InsuredObjectClass>>;
241
189
  /**
242
- *
243
- * @param {string} code
244
- * @param {string} [authorization] Bearer Token
245
- * @param {*} [options] Override http request option.
246
- * @throws {RequiredError}
247
- */
248
- getLead(code: string, authorization?: string, options?: any): AxiosPromise<void>;
249
- /**
250
- *
190
+ * This will generate a custom css for booking funnel, based on product.
191
+ * @summary Generate a custom CSS
251
192
  * @param {string} productCode
252
193
  * @param {string} [authorization] Bearer Token
253
194
  * @param {*} [options] Override http request option.
254
195
  * @throws {RequiredError}
255
196
  */
256
- getProductCustomCss(productCode: string, authorization?: string, options?: any): AxiosPromise<void>;
197
+ getProductCustomCss(productCode: string, authorization?: string, options?: any): AxiosPromise<GetCustomCssResponseClass>;
257
198
  /**
258
- *
199
+ * Returns a list of product factors you have previously created. The product factors are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
200
+ * @summary List product factors
259
201
  * @param {string} productCode
260
202
  * @param {string} allValues
261
203
  * @param {string} [authorization] Bearer Token
262
204
  * @param {*} [options] Override http request option.
263
205
  * @throws {RequiredError}
264
206
  */
265
- getProductFactors(productCode: string, allValues: string, authorization?: string, options?: any): AxiosPromise<void>;
266
- /**
267
- *
268
- * @param {string} [authorization] Bearer Token
269
- * @param {*} [options] Override http request option.
270
- * @throws {RequiredError}
271
- */
272
- initiateLead(authorization?: string, options?: any): AxiosPromise<void>;
273
- /**
274
- *
275
- * @param {string} code
276
- * @param {UpdateLeadRequestDto} updateLeadRequestDto
277
- * @param {string} [authorization] Bearer Token
278
- * @param {*} [options] Override http request option.
279
- * @throws {RequiredError}
280
- */
281
- updateLead(code: string, updateLeadRequestDto: UpdateLeadRequestDto, authorization?: string, options?: any): AxiosPromise<void>;
207
+ getProductFactors(productCode: string, allValues: string, authorization?: string, options?: any): AxiosPromise<Array<ProductFactorClass>>;
282
208
  };
283
209
  /**
284
210
  * Request parameters for createEstimatedInvoice operation in ProductsApi.
@@ -305,25 +231,6 @@ export interface ProductsApiCreateEstimatedInvoiceRequest {
305
231
  */
306
232
  readonly authorization?: string;
307
233
  }
308
- /**
309
- * Request parameters for createLead operation in ProductsApi.
310
- * @export
311
- * @interface ProductsApiCreateLeadRequest
312
- */
313
- export interface ProductsApiCreateLeadRequest {
314
- /**
315
- *
316
- * @type {CreateLeadRequestDto}
317
- * @memberof ProductsApiCreateLead
318
- */
319
- readonly createLeadRequestDto: CreateLeadRequestDto;
320
- /**
321
- * Bearer Token
322
- * @type {string}
323
- * @memberof ProductsApiCreateLead
324
- */
325
- readonly authorization?: string;
326
- }
327
234
  /**
328
235
  * Request parameters for customApplication operation in ProductsApi.
329
236
  * @export
@@ -381,25 +288,6 @@ export interface ProductsApiGetInsuredObjectsRequest {
381
288
  */
382
289
  readonly authorization?: string;
383
290
  }
384
- /**
385
- * Request parameters for getLead operation in ProductsApi.
386
- * @export
387
- * @interface ProductsApiGetLeadRequest
388
- */
389
- export interface ProductsApiGetLeadRequest {
390
- /**
391
- *
392
- * @type {string}
393
- * @memberof ProductsApiGetLead
394
- */
395
- readonly code: string;
396
- /**
397
- * Bearer Token
398
- * @type {string}
399
- * @memberof ProductsApiGetLead
400
- */
401
- readonly authorization?: string;
402
- }
403
291
  /**
404
292
  * Request parameters for getProductCustomCss operation in ProductsApi.
405
293
  * @export
@@ -444,44 +332,6 @@ export interface ProductsApiGetProductFactorsRequest {
444
332
  */
445
333
  readonly authorization?: string;
446
334
  }
447
- /**
448
- * Request parameters for initiateLead operation in ProductsApi.
449
- * @export
450
- * @interface ProductsApiInitiateLeadRequest
451
- */
452
- export interface ProductsApiInitiateLeadRequest {
453
- /**
454
- * Bearer Token
455
- * @type {string}
456
- * @memberof ProductsApiInitiateLead
457
- */
458
- readonly authorization?: string;
459
- }
460
- /**
461
- * Request parameters for updateLead operation in ProductsApi.
462
- * @export
463
- * @interface ProductsApiUpdateLeadRequest
464
- */
465
- export interface ProductsApiUpdateLeadRequest {
466
- /**
467
- *
468
- * @type {string}
469
- * @memberof ProductsApiUpdateLead
470
- */
471
- readonly code: string;
472
- /**
473
- *
474
- * @type {UpdateLeadRequestDto}
475
- * @memberof ProductsApiUpdateLead
476
- */
477
- readonly updateLeadRequestDto: UpdateLeadRequestDto;
478
- /**
479
- * Bearer Token
480
- * @type {string}
481
- * @memberof ProductsApiUpdateLead
482
- */
483
- readonly authorization?: string;
484
- }
485
335
  /**
486
336
  * ProductsApi - object-oriented interface
487
337
  * @export
@@ -490,83 +340,57 @@ export interface ProductsApiUpdateLeadRequest {
490
340
  */
491
341
  export declare class ProductsApi extends BaseAPI {
492
342
  /**
493
- *
343
+ * This will create an invoice product.
344
+ * @summary Create the invoice product
494
345
  * @param {ProductsApiCreateEstimatedInvoiceRequest} requestParameters Request parameters.
495
346
  * @param {*} [options] Override http request option.
496
347
  * @throws {RequiredError}
497
348
  * @memberof ProductsApi
498
349
  */
499
- createEstimatedInvoice(requestParameters: ProductsApiCreateEstimatedInvoiceRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
500
- /**
501
- *
502
- * @param {ProductsApiCreateLeadRequest} requestParameters Request parameters.
503
- * @param {*} [options] Override http request option.
504
- * @throws {RequiredError}
505
- * @memberof ProductsApi
506
- */
507
- createLead(requestParameters: ProductsApiCreateLeadRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
350
+ createEstimatedInvoice(requestParameters: ProductsApiCreateEstimatedInvoiceRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateEstimatedInvoiceResponseClass, any>>;
508
351
  /**
509
- *
352
+ * This will create a custom application for a specific provider.
353
+ * @summary Create the custom application
510
354
  * @param {ProductsApiCustomApplicationRequest} requestParameters Request parameters.
511
355
  * @param {*} [options] Override http request option.
512
356
  * @throws {RequiredError}
513
357
  * @memberof ProductsApi
514
358
  */
515
- customApplication(requestParameters: ProductsApiCustomApplicationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
359
+ customApplication(requestParameters: ProductsApiCustomApplicationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateCustomApplicationResponseClass, any>>;
516
360
  /**
517
- *
361
+ * Returns a list of insured object types you have previously created. The insured object types are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
362
+ * @summary List insured object types
518
363
  * @param {ProductsApiGetInsuredObjectTypesRequest} requestParameters Request parameters.
519
364
  * @param {*} [options] Override http request option.
520
365
  * @throws {RequiredError}
521
366
  * @memberof ProductsApi
522
367
  */
523
- getInsuredObjectTypes(requestParameters?: ProductsApiGetInsuredObjectTypesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
368
+ getInsuredObjectTypes(requestParameters?: ProductsApiGetInsuredObjectTypesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InsuredObjectTypeClass[], any>>;
524
369
  /**
525
- *
370
+ * Returns a list of insured objects you have previously created. The insured objects are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
371
+ * @summary List insured objects
526
372
  * @param {ProductsApiGetInsuredObjectsRequest} requestParameters Request parameters.
527
373
  * @param {*} [options] Override http request option.
528
374
  * @throws {RequiredError}
529
375
  * @memberof ProductsApi
530
376
  */
531
- getInsuredObjects(requestParameters: ProductsApiGetInsuredObjectsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
377
+ getInsuredObjects(requestParameters: ProductsApiGetInsuredObjectsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InsuredObjectClass[], any>>;
532
378
  /**
533
- *
534
- * @param {ProductsApiGetLeadRequest} requestParameters Request parameters.
535
- * @param {*} [options] Override http request option.
536
- * @throws {RequiredError}
537
- * @memberof ProductsApi
538
- */
539
- getLead(requestParameters: ProductsApiGetLeadRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
540
- /**
541
- *
379
+ * This will generate a custom css for booking funnel, based on product.
380
+ * @summary Generate a custom CSS
542
381
  * @param {ProductsApiGetProductCustomCssRequest} requestParameters Request parameters.
543
382
  * @param {*} [options] Override http request option.
544
383
  * @throws {RequiredError}
545
384
  * @memberof ProductsApi
546
385
  */
547
- getProductCustomCss(requestParameters: ProductsApiGetProductCustomCssRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
386
+ getProductCustomCss(requestParameters: ProductsApiGetProductCustomCssRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetCustomCssResponseClass, any>>;
548
387
  /**
549
- *
388
+ * Returns a list of product factors you have previously created. The product factors are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
389
+ * @summary List product factors
550
390
  * @param {ProductsApiGetProductFactorsRequest} requestParameters Request parameters.
551
391
  * @param {*} [options] Override http request option.
552
392
  * @throws {RequiredError}
553
393
  * @memberof ProductsApi
554
394
  */
555
- getProductFactors(requestParameters: ProductsApiGetProductFactorsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
556
- /**
557
- *
558
- * @param {ProductsApiInitiateLeadRequest} requestParameters Request parameters.
559
- * @param {*} [options] Override http request option.
560
- * @throws {RequiredError}
561
- * @memberof ProductsApi
562
- */
563
- initiateLead(requestParameters?: ProductsApiInitiateLeadRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
564
- /**
565
- *
566
- * @param {ProductsApiUpdateLeadRequest} requestParameters Request parameters.
567
- * @param {*} [options] Override http request option.
568
- * @throws {RequiredError}
569
- * @memberof ProductsApi
570
- */
571
- updateLead(requestParameters: ProductsApiUpdateLeadRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
395
+ getProductFactors(requestParameters: ProductsApiGetProductFactorsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductFactorClass[], any>>;
572
396
  }