@emilgroup/public-api-sdk-node 1.26.0 → 1.27.1

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 (172) hide show
  1. package/README.md +2 -2
  2. package/dist/api/address-completions-validations-api.d.ts +215 -0
  3. package/dist/api/address-completions-validations-api.js +373 -0
  4. package/dist/api/default-api.d.ts +66 -0
  5. package/dist/api/default-api.js +200 -0
  6. package/dist/api/documents-api.d.ts +539 -0
  7. package/dist/api/documents-api.js +855 -0
  8. package/dist/api/leads-api.d.ts +441 -0
  9. package/dist/api/leads-api.js +791 -0
  10. package/dist/api/notifications-api.d.ts +211 -0
  11. package/dist/api/notifications-api.js +414 -0
  12. package/dist/api/payments-setup-api.d.ts +228 -0
  13. package/dist/api/payments-setup-api.js +426 -0
  14. package/dist/api/products-api.d.ts +563 -0
  15. package/dist/api/products-api.js +926 -0
  16. package/dist/api.d.ts +18 -0
  17. package/dist/api.js +36 -0
  18. package/dist/base.d.ts +78 -0
  19. package/dist/base.js +394 -0
  20. package/dist/common.d.ts +92 -0
  21. package/dist/common.js +277 -0
  22. package/dist/configuration.d.ts +90 -0
  23. package/dist/configuration.js +44 -0
  24. package/dist/index.d.ts +15 -0
  25. package/dist/index.js +36 -0
  26. package/dist/models/address-completion-item-class.d.ts +49 -0
  27. package/dist/models/address-completion-item-class.js +15 -0
  28. package/dist/models/address-completion-response-class.d.ts +25 -0
  29. package/dist/models/address-completion-response-class.js +15 -0
  30. package/dist/models/address-field-score-class.d.ts +48 -0
  31. package/dist/models/address-field-score-class.js +15 -0
  32. package/dist/models/calculate-product-fields-request-dto.d.ts +31 -0
  33. package/dist/models/calculate-product-fields-request-dto.js +15 -0
  34. package/dist/models/calculate-product-fields-response-class.d.ts +25 -0
  35. package/dist/models/calculate-product-fields-response-class.js +15 -0
  36. package/dist/models/complete-braintree-payment-setup-request-dto.d.ts +48 -0
  37. package/dist/models/complete-braintree-payment-setup-request-dto.js +15 -0
  38. package/dist/models/complete-email-verification-dto.d.ts +30 -0
  39. package/dist/models/complete-email-verification-dto.js +15 -0
  40. package/dist/models/complete-email-verification-response-class.d.ts +24 -0
  41. package/dist/models/complete-email-verification-response-class.js +15 -0
  42. package/dist/models/complete-payment-setup-request-dto.d.ts +32 -0
  43. package/dist/models/complete-payment-setup-request-dto.js +15 -0
  44. package/dist/models/complete-payment-setup-response-class.d.ts +25 -0
  45. package/dist/models/complete-payment-setup-response-class.js +15 -0
  46. package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +60 -0
  47. package/dist/models/complete-stripe-payment-setup-request-dto.js +15 -0
  48. package/dist/models/create-account-request-dto.d.ts +132 -0
  49. package/dist/models/create-account-request-dto.js +31 -0
  50. package/dist/models/create-bank-account-request-dto.d.ts +30 -0
  51. package/dist/models/create-bank-account-request-dto.js +15 -0
  52. package/dist/models/create-custom-application-request-dto.d.ts +35 -0
  53. package/dist/models/create-custom-application-request-dto.js +20 -0
  54. package/dist/models/create-custom-application-response-class.d.ts +24 -0
  55. package/dist/models/create-custom-application-response-class.js +15 -0
  56. package/dist/models/create-document-request-dto.d.ts +132 -0
  57. package/dist/models/create-document-request-dto.js +43 -0
  58. package/dist/models/create-estimated-invoice-request-dto.d.ts +55 -0
  59. package/dist/models/create-estimated-invoice-request-dto.js +20 -0
  60. package/dist/models/create-estimated-invoice-response-class.d.ts +38 -0
  61. package/dist/models/create-estimated-invoice-response-class.js +15 -0
  62. package/dist/models/create-lead-async-response-class.d.ts +24 -0
  63. package/dist/models/create-lead-async-response-class.js +15 -0
  64. package/dist/models/create-lead-request-dto.d.ts +108 -0
  65. package/dist/models/create-lead-request-dto.js +15 -0
  66. package/dist/models/create-lead-response-class.d.ts +25 -0
  67. package/dist/models/create-lead-response-class.js +15 -0
  68. package/dist/models/create-payment-method-request-dto.d.ts +36 -0
  69. package/dist/models/create-payment-method-request-dto.js +20 -0
  70. package/dist/models/create-presigned-post-request-dto.d.ts +128 -0
  71. package/dist/models/create-presigned-post-request-dto.js +52 -0
  72. package/dist/models/create-presigned-post-response-class.d.ts +30 -0
  73. package/dist/models/create-presigned-post-response-class.js +15 -0
  74. package/dist/models/document-class.d.ts +144 -0
  75. package/dist/models/document-class.js +49 -0
  76. package/dist/models/get-custom-css-response-class.d.ts +24 -0
  77. package/dist/models/get-custom-css-response-class.js +15 -0
  78. package/dist/models/get-lead-response-class.d.ts +25 -0
  79. package/dist/models/get-lead-response-class.js +15 -0
  80. package/dist/models/get-product-document-download-url-response-class.d.ts +24 -0
  81. package/dist/models/get-product-document-download-url-response-class.js +15 -0
  82. package/dist/models/get-public-psp-settings-response-class.d.ts +30 -0
  83. package/dist/models/get-public-psp-settings-response-class.js +15 -0
  84. package/dist/models/index.d.ts +72 -0
  85. package/dist/models/index.js +88 -0
  86. package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +30 -0
  87. package/dist/models/initiate-braintree-payment-setup-request-dto.js +15 -0
  88. package/dist/models/initiate-braintree-payment-setup-response-class.d.ts +24 -0
  89. package/dist/models/initiate-braintree-payment-setup-response-class.js +15 -0
  90. package/dist/models/initiate-email-verification-dto.d.ts +30 -0
  91. package/dist/models/initiate-email-verification-dto.js +15 -0
  92. package/dist/models/initiate-email-verification-response-class.d.ts +24 -0
  93. package/dist/models/initiate-email-verification-response-class.js +15 -0
  94. package/dist/models/initiate-lead-response-class.d.ts +24 -0
  95. package/dist/models/initiate-lead-response-class.js +15 -0
  96. package/dist/models/initiate-payment-setup-request-dto.d.ts +32 -0
  97. package/dist/models/initiate-payment-setup-request-dto.js +15 -0
  98. package/dist/models/initiate-payment-setup-response-class.d.ts +32 -0
  99. package/dist/models/initiate-payment-setup-response-class.js +15 -0
  100. package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +30 -0
  101. package/dist/models/initiate-stripe-payment-setup-request-dto.js +15 -0
  102. package/dist/models/initiate-stripe-payment-setup-response-class.d.ts +30 -0
  103. package/dist/models/initiate-stripe-payment-setup-response-class.js +15 -0
  104. package/dist/models/inline-response200.d.ts +54 -0
  105. package/dist/models/inline-response200.js +15 -0
  106. package/dist/models/inline-response503.d.ts +54 -0
  107. package/dist/models/inline-response503.js +15 -0
  108. package/dist/models/insured-object-class.d.ts +85 -0
  109. package/dist/models/insured-object-class.js +15 -0
  110. package/dist/models/insured-object-type-class.d.ts +48 -0
  111. package/dist/models/insured-object-type-class.js +15 -0
  112. package/dist/models/invoice-class.d.ts +134 -0
  113. package/dist/models/invoice-class.js +15 -0
  114. package/dist/models/invoice-item-class.d.ts +120 -0
  115. package/dist/models/invoice-item-class.js +15 -0
  116. package/dist/models/invoice-status-class.d.ts +42 -0
  117. package/dist/models/invoice-status-class.js +15 -0
  118. package/dist/models/lead-account-class.d.ts +109 -0
  119. package/dist/models/lead-account-class.js +22 -0
  120. package/dist/models/lead-bank-account-class.d.ts +30 -0
  121. package/dist/models/lead-bank-account-class.js +15 -0
  122. package/dist/models/lead-class.d.ts +109 -0
  123. package/dist/models/lead-class.js +15 -0
  124. package/dist/models/lead-policy-class.d.ts +43 -0
  125. package/dist/models/lead-policy-class.js +15 -0
  126. package/dist/models/lead-policy-object-class.d.ts +36 -0
  127. package/dist/models/lead-policy-object-class.js +15 -0
  128. package/dist/models/list-documents-response-class.d.ts +31 -0
  129. package/dist/models/list-documents-response-class.js +15 -0
  130. package/dist/models/list-product-documents-response-class.d.ts +31 -0
  131. package/dist/models/list-product-documents-response-class.js +15 -0
  132. package/dist/models/list-products-response-class.d.ts +31 -0
  133. package/dist/models/list-products-response-class.js +15 -0
  134. package/dist/models/payment-method-class.d.ts +60 -0
  135. package/dist/models/payment-method-class.js +15 -0
  136. package/dist/models/policy-object-request-dto.d.ts +42 -0
  137. package/dist/models/policy-object-request-dto.js +15 -0
  138. package/dist/models/policy-object-response-class.d.ts +36 -0
  139. package/dist/models/policy-object-response-class.js +15 -0
  140. package/dist/models/premium-override-dto.d.ts +55 -0
  141. package/dist/models/premium-override-dto.js +27 -0
  142. package/dist/models/premium-override-request-dto.d.ts +25 -0
  143. package/dist/models/premium-override-request-dto.js +15 -0
  144. package/dist/models/product-class.d.ts +80 -0
  145. package/dist/models/product-class.js +15 -0
  146. package/dist/models/product-document-class.d.ts +111 -0
  147. package/dist/models/product-document-class.js +36 -0
  148. package/dist/models/product-factor-for-version-class.d.ts +60 -0
  149. package/dist/models/product-factor-for-version-class.js +15 -0
  150. package/dist/models/product-field-class.d.ts +132 -0
  151. package/dist/models/product-field-class.js +15 -0
  152. package/dist/models/product-version-class.d.ts +61 -0
  153. package/dist/models/product-version-class.js +22 -0
  154. package/dist/models/send-notification-request-dto.d.ts +36 -0
  155. package/dist/models/send-notification-request-dto.js +15 -0
  156. package/dist/models/send-notification-response-class.d.ts +24 -0
  157. package/dist/models/send-notification-response-class.js +15 -0
  158. package/dist/models/sepa-dto.d.ts +30 -0
  159. package/dist/models/sepa-dto.js +15 -0
  160. package/dist/models/structured-address-class.d.ts +54 -0
  161. package/dist/models/structured-address-class.js +15 -0
  162. package/dist/models/suggested-address-details-class.d.ts +90 -0
  163. package/dist/models/suggested-address-details-class.js +15 -0
  164. package/dist/models/update-lead-request-dto.d.ts +95 -0
  165. package/dist/models/update-lead-request-dto.js +15 -0
  166. package/dist/models/update-lead-response-class.d.ts +25 -0
  167. package/dist/models/update-lead-response-class.js +15 -0
  168. package/dist/models/uploaded-document-dto.d.ts +24 -0
  169. package/dist/models/uploaded-document-dto.js +15 -0
  170. package/dist/models/validate-address-response-class.d.ts +50 -0
  171. package/dist/models/validate-address-response-class.js +15 -0
  172. package/package.json +1 -1
@@ -0,0 +1,563 @@
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 { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
+ import { Configuration } from '../configuration';
14
+ import { RequestArgs, BaseAPI } from '../base';
15
+ import { CalculateProductFieldsRequestDto } from '../models';
16
+ import { CalculateProductFieldsResponseClass } from '../models';
17
+ import { CreateCustomApplicationRequestDto } from '../models';
18
+ import { CreateCustomApplicationResponseClass } from '../models';
19
+ import { CreateEstimatedInvoiceRequestDto } from '../models';
20
+ import { CreateEstimatedInvoiceResponseClass } from '../models';
21
+ import { GetCustomCssResponseClass } from '../models';
22
+ import { InsuredObjectClass } from '../models';
23
+ import { InsuredObjectTypeClass } from '../models';
24
+ import { ListProductsResponseClass } from '../models';
25
+ import { ProductFactorForVersionClass } from '../models';
26
+ /**
27
+ * ProductsApi - axios parameter creator
28
+ * @export
29
+ */
30
+ export declare const ProductsApiAxiosParamCreator: (configuration?: Configuration) => {
31
+ /**
32
+ * This will calculate product fields.
33
+ * @summary Create the product fields
34
+ * @param {string} productCode
35
+ * @param {CalculateProductFieldsRequestDto} calculateProductFieldsRequestDto
36
+ * @param {string} [authorization] Bearer Token
37
+ * @param {*} [options] Override http request option.
38
+ * @throws {RequiredError}
39
+ */
40
+ calculateProductFields: (productCode: string, calculateProductFieldsRequestDto: CalculateProductFieldsRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
41
+ /**
42
+ * This will create an invoice product.
43
+ * @summary Create the invoice product
44
+ * @param {string} productCode
45
+ * @param {CreateEstimatedInvoiceRequestDto} createEstimatedInvoiceRequestDto
46
+ * @param {string} [authorization] Bearer Token
47
+ * @param {*} [options] Override http request option.
48
+ * @throws {RequiredError}
49
+ */
50
+ createEstimatedInvoice: (productCode: string, createEstimatedInvoiceRequestDto: CreateEstimatedInvoiceRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
51
+ /**
52
+ * This will create a custom application for a specific provider.
53
+ * @summary Create the custom application
54
+ * @param {string} productCode
55
+ * @param {CreateCustomApplicationRequestDto} createCustomApplicationRequestDto
56
+ * @param {string} [authorization] Bearer Token
57
+ * @param {*} [options] Override http request option.
58
+ * @throws {RequiredError}
59
+ */
60
+ customApplication: (productCode: string, createCustomApplicationRequestDto: CreateCustomApplicationRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
61
+ /**
62
+ * 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.
63
+ * @summary List insured object types
64
+ * @param {string} [authorization] Bearer Token
65
+ * @param {*} [options] Override http request option.
66
+ * @throws {RequiredError}
67
+ */
68
+ getInsuredObjectTypes: (authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
69
+ /**
70
+ * 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.
71
+ * @summary List insured objects
72
+ * @param {string} productCode
73
+ * @param {string} [authorization] Bearer Token
74
+ * @param {*} [options] Override http request option.
75
+ * @throws {RequiredError}
76
+ */
77
+ getInsuredObjects: (productCode: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
78
+ /**
79
+ * This will generate a custom css for booking funnel, based on product.
80
+ * @summary Generate a custom CSS
81
+ * @param {string} productCode
82
+ * @param {string} [authorization] Bearer Token
83
+ * @param {*} [options] Override http request option.
84
+ * @throws {RequiredError}
85
+ */
86
+ getProductCustomCss: (productCode: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
87
+ /**
88
+ * 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.
89
+ * @summary List product factors
90
+ * @param {string} productCode
91
+ * @param {string} allValues
92
+ * @param {string} [authorization] Bearer Token
93
+ * @param {*} [options] Override http request option.
94
+ * @throws {RequiredError}
95
+ */
96
+ getProductFactors: (productCode: string, allValues: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
97
+ /**
98
+ * Returns a list of products you have previously created. The products are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
99
+ * @summary List products
100
+ * @param {string} [authorization] Bearer Token
101
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
102
+ * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
103
+ * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
104
+ * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
105
+ * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
106
+ * @param {any} [expand] You can expand product versions and insured object types list in this endpoint.
107
+ * @param {*} [options] Override http request option.
108
+ * @throws {RequiredError}
109
+ */
110
+ listProducts: (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
111
+ };
112
+ /**
113
+ * ProductsApi - functional programming interface
114
+ * @export
115
+ */
116
+ export declare const ProductsApiFp: (configuration?: Configuration) => {
117
+ /**
118
+ * This will calculate product fields.
119
+ * @summary Create the product fields
120
+ * @param {string} productCode
121
+ * @param {CalculateProductFieldsRequestDto} calculateProductFieldsRequestDto
122
+ * @param {string} [authorization] Bearer Token
123
+ * @param {*} [options] Override http request option.
124
+ * @throws {RequiredError}
125
+ */
126
+ calculateProductFields(productCode: string, calculateProductFieldsRequestDto: CalculateProductFieldsRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CalculateProductFieldsResponseClass>>;
127
+ /**
128
+ * This will create an invoice product.
129
+ * @summary Create the invoice product
130
+ * @param {string} productCode
131
+ * @param {CreateEstimatedInvoiceRequestDto} createEstimatedInvoiceRequestDto
132
+ * @param {string} [authorization] Bearer Token
133
+ * @param {*} [options] Override http request option.
134
+ * @throws {RequiredError}
135
+ */
136
+ createEstimatedInvoice(productCode: string, createEstimatedInvoiceRequestDto: CreateEstimatedInvoiceRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateEstimatedInvoiceResponseClass>>;
137
+ /**
138
+ * This will create a custom application for a specific provider.
139
+ * @summary Create the custom application
140
+ * @param {string} productCode
141
+ * @param {CreateCustomApplicationRequestDto} createCustomApplicationRequestDto
142
+ * @param {string} [authorization] Bearer Token
143
+ * @param {*} [options] Override http request option.
144
+ * @throws {RequiredError}
145
+ */
146
+ customApplication(productCode: string, createCustomApplicationRequestDto: CreateCustomApplicationRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateCustomApplicationResponseClass>>;
147
+ /**
148
+ * 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.
149
+ * @summary List insured object types
150
+ * @param {string} [authorization] Bearer Token
151
+ * @param {*} [options] Override http request option.
152
+ * @throws {RequiredError}
153
+ */
154
+ getInsuredObjectTypes(authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<InsuredObjectTypeClass>>>;
155
+ /**
156
+ * 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.
157
+ * @summary List insured objects
158
+ * @param {string} productCode
159
+ * @param {string} [authorization] Bearer Token
160
+ * @param {*} [options] Override http request option.
161
+ * @throws {RequiredError}
162
+ */
163
+ getInsuredObjects(productCode: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<InsuredObjectClass>>>;
164
+ /**
165
+ * This will generate a custom css for booking funnel, based on product.
166
+ * @summary Generate a custom CSS
167
+ * @param {string} productCode
168
+ * @param {string} [authorization] Bearer Token
169
+ * @param {*} [options] Override http request option.
170
+ * @throws {RequiredError}
171
+ */
172
+ getProductCustomCss(productCode: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetCustomCssResponseClass>>;
173
+ /**
174
+ * 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.
175
+ * @summary List product factors
176
+ * @param {string} productCode
177
+ * @param {string} allValues
178
+ * @param {string} [authorization] Bearer Token
179
+ * @param {*} [options] Override http request option.
180
+ * @throws {RequiredError}
181
+ */
182
+ getProductFactors(productCode: string, allValues: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ProductFactorForVersionClass>>>;
183
+ /**
184
+ * Returns a list of products you have previously created. The products are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
185
+ * @summary List products
186
+ * @param {string} [authorization] Bearer Token
187
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
188
+ * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
189
+ * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
190
+ * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
191
+ * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
192
+ * @param {any} [expand] You can expand product versions and insured object types list in this endpoint.
193
+ * @param {*} [options] Override http request option.
194
+ * @throws {RequiredError}
195
+ */
196
+ listProducts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListProductsResponseClass>>;
197
+ };
198
+ /**
199
+ * ProductsApi - factory interface
200
+ * @export
201
+ */
202
+ export declare const ProductsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
203
+ /**
204
+ * This will calculate product fields.
205
+ * @summary Create the product fields
206
+ * @param {string} productCode
207
+ * @param {CalculateProductFieldsRequestDto} calculateProductFieldsRequestDto
208
+ * @param {string} [authorization] Bearer Token
209
+ * @param {*} [options] Override http request option.
210
+ * @throws {RequiredError}
211
+ */
212
+ calculateProductFields(productCode: string, calculateProductFieldsRequestDto: CalculateProductFieldsRequestDto, authorization?: string, options?: any): AxiosPromise<CalculateProductFieldsResponseClass>;
213
+ /**
214
+ * This will create an invoice product.
215
+ * @summary Create the invoice product
216
+ * @param {string} productCode
217
+ * @param {CreateEstimatedInvoiceRequestDto} createEstimatedInvoiceRequestDto
218
+ * @param {string} [authorization] Bearer Token
219
+ * @param {*} [options] Override http request option.
220
+ * @throws {RequiredError}
221
+ */
222
+ createEstimatedInvoice(productCode: string, createEstimatedInvoiceRequestDto: CreateEstimatedInvoiceRequestDto, authorization?: string, options?: any): AxiosPromise<CreateEstimatedInvoiceResponseClass>;
223
+ /**
224
+ * This will create a custom application for a specific provider.
225
+ * @summary Create the custom application
226
+ * @param {string} productCode
227
+ * @param {CreateCustomApplicationRequestDto} createCustomApplicationRequestDto
228
+ * @param {string} [authorization] Bearer Token
229
+ * @param {*} [options] Override http request option.
230
+ * @throws {RequiredError}
231
+ */
232
+ customApplication(productCode: string, createCustomApplicationRequestDto: CreateCustomApplicationRequestDto, authorization?: string, options?: any): AxiosPromise<CreateCustomApplicationResponseClass>;
233
+ /**
234
+ * 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.
235
+ * @summary List insured object types
236
+ * @param {string} [authorization] Bearer Token
237
+ * @param {*} [options] Override http request option.
238
+ * @throws {RequiredError}
239
+ */
240
+ getInsuredObjectTypes(authorization?: string, options?: any): AxiosPromise<Array<InsuredObjectTypeClass>>;
241
+ /**
242
+ * 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.
243
+ * @summary List insured objects
244
+ * @param {string} productCode
245
+ * @param {string} [authorization] Bearer Token
246
+ * @param {*} [options] Override http request option.
247
+ * @throws {RequiredError}
248
+ */
249
+ getInsuredObjects(productCode: string, authorization?: string, options?: any): AxiosPromise<Array<InsuredObjectClass>>;
250
+ /**
251
+ * This will generate a custom css for booking funnel, based on product.
252
+ * @summary Generate a custom CSS
253
+ * @param {string} productCode
254
+ * @param {string} [authorization] Bearer Token
255
+ * @param {*} [options] Override http request option.
256
+ * @throws {RequiredError}
257
+ */
258
+ getProductCustomCss(productCode: string, authorization?: string, options?: any): AxiosPromise<GetCustomCssResponseClass>;
259
+ /**
260
+ * 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.
261
+ * @summary List product factors
262
+ * @param {string} productCode
263
+ * @param {string} allValues
264
+ * @param {string} [authorization] Bearer Token
265
+ * @param {*} [options] Override http request option.
266
+ * @throws {RequiredError}
267
+ */
268
+ getProductFactors(productCode: string, allValues: string, authorization?: string, options?: any): AxiosPromise<Array<ProductFactorForVersionClass>>;
269
+ /**
270
+ * Returns a list of products you have previously created. The products are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
271
+ * @summary List products
272
+ * @param {string} [authorization] Bearer Token
273
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
274
+ * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
275
+ * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
276
+ * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
277
+ * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
278
+ * @param {any} [expand] You can expand product versions and insured object types list in this endpoint.
279
+ * @param {*} [options] Override http request option.
280
+ * @throws {RequiredError}
281
+ */
282
+ listProducts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListProductsResponseClass>;
283
+ };
284
+ /**
285
+ * Request parameters for calculateProductFields operation in ProductsApi.
286
+ * @export
287
+ * @interface ProductsApiCalculateProductFieldsRequest
288
+ */
289
+ export interface ProductsApiCalculateProductFieldsRequest {
290
+ /**
291
+ *
292
+ * @type {string}
293
+ * @memberof ProductsApiCalculateProductFields
294
+ */
295
+ readonly productCode: string;
296
+ /**
297
+ *
298
+ * @type {CalculateProductFieldsRequestDto}
299
+ * @memberof ProductsApiCalculateProductFields
300
+ */
301
+ readonly calculateProductFieldsRequestDto: CalculateProductFieldsRequestDto;
302
+ /**
303
+ * Bearer Token
304
+ * @type {string}
305
+ * @memberof ProductsApiCalculateProductFields
306
+ */
307
+ readonly authorization?: string;
308
+ }
309
+ /**
310
+ * Request parameters for createEstimatedInvoice operation in ProductsApi.
311
+ * @export
312
+ * @interface ProductsApiCreateEstimatedInvoiceRequest
313
+ */
314
+ export interface ProductsApiCreateEstimatedInvoiceRequest {
315
+ /**
316
+ *
317
+ * @type {string}
318
+ * @memberof ProductsApiCreateEstimatedInvoice
319
+ */
320
+ readonly productCode: string;
321
+ /**
322
+ *
323
+ * @type {CreateEstimatedInvoiceRequestDto}
324
+ * @memberof ProductsApiCreateEstimatedInvoice
325
+ */
326
+ readonly createEstimatedInvoiceRequestDto: CreateEstimatedInvoiceRequestDto;
327
+ /**
328
+ * Bearer Token
329
+ * @type {string}
330
+ * @memberof ProductsApiCreateEstimatedInvoice
331
+ */
332
+ readonly authorization?: string;
333
+ }
334
+ /**
335
+ * Request parameters for customApplication operation in ProductsApi.
336
+ * @export
337
+ * @interface ProductsApiCustomApplicationRequest
338
+ */
339
+ export interface ProductsApiCustomApplicationRequest {
340
+ /**
341
+ *
342
+ * @type {string}
343
+ * @memberof ProductsApiCustomApplication
344
+ */
345
+ readonly productCode: string;
346
+ /**
347
+ *
348
+ * @type {CreateCustomApplicationRequestDto}
349
+ * @memberof ProductsApiCustomApplication
350
+ */
351
+ readonly createCustomApplicationRequestDto: CreateCustomApplicationRequestDto;
352
+ /**
353
+ * Bearer Token
354
+ * @type {string}
355
+ * @memberof ProductsApiCustomApplication
356
+ */
357
+ readonly authorization?: string;
358
+ }
359
+ /**
360
+ * Request parameters for getInsuredObjectTypes operation in ProductsApi.
361
+ * @export
362
+ * @interface ProductsApiGetInsuredObjectTypesRequest
363
+ */
364
+ export interface ProductsApiGetInsuredObjectTypesRequest {
365
+ /**
366
+ * Bearer Token
367
+ * @type {string}
368
+ * @memberof ProductsApiGetInsuredObjectTypes
369
+ */
370
+ readonly authorization?: string;
371
+ }
372
+ /**
373
+ * Request parameters for getInsuredObjects operation in ProductsApi.
374
+ * @export
375
+ * @interface ProductsApiGetInsuredObjectsRequest
376
+ */
377
+ export interface ProductsApiGetInsuredObjectsRequest {
378
+ /**
379
+ *
380
+ * @type {string}
381
+ * @memberof ProductsApiGetInsuredObjects
382
+ */
383
+ readonly productCode: string;
384
+ /**
385
+ * Bearer Token
386
+ * @type {string}
387
+ * @memberof ProductsApiGetInsuredObjects
388
+ */
389
+ readonly authorization?: string;
390
+ }
391
+ /**
392
+ * Request parameters for getProductCustomCss operation in ProductsApi.
393
+ * @export
394
+ * @interface ProductsApiGetProductCustomCssRequest
395
+ */
396
+ export interface ProductsApiGetProductCustomCssRequest {
397
+ /**
398
+ *
399
+ * @type {string}
400
+ * @memberof ProductsApiGetProductCustomCss
401
+ */
402
+ readonly productCode: string;
403
+ /**
404
+ * Bearer Token
405
+ * @type {string}
406
+ * @memberof ProductsApiGetProductCustomCss
407
+ */
408
+ readonly authorization?: string;
409
+ }
410
+ /**
411
+ * Request parameters for getProductFactors operation in ProductsApi.
412
+ * @export
413
+ * @interface ProductsApiGetProductFactorsRequest
414
+ */
415
+ export interface ProductsApiGetProductFactorsRequest {
416
+ /**
417
+ *
418
+ * @type {string}
419
+ * @memberof ProductsApiGetProductFactors
420
+ */
421
+ readonly productCode: string;
422
+ /**
423
+ *
424
+ * @type {string}
425
+ * @memberof ProductsApiGetProductFactors
426
+ */
427
+ readonly allValues: string;
428
+ /**
429
+ * Bearer Token
430
+ * @type {string}
431
+ * @memberof ProductsApiGetProductFactors
432
+ */
433
+ readonly authorization?: string;
434
+ }
435
+ /**
436
+ * Request parameters for listProducts operation in ProductsApi.
437
+ * @export
438
+ * @interface ProductsApiListProductsRequest
439
+ */
440
+ export interface ProductsApiListProductsRequest {
441
+ /**
442
+ * Bearer Token
443
+ * @type {string}
444
+ * @memberof ProductsApiListProducts
445
+ */
446
+ readonly authorization?: string;
447
+ /**
448
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
449
+ * @type {any}
450
+ * @memberof ProductsApiListProducts
451
+ */
452
+ readonly pageSize?: any;
453
+ /**
454
+ * A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
455
+ * @type {any}
456
+ * @memberof ProductsApiListProducts
457
+ */
458
+ readonly pageToken?: any;
459
+ /**
460
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
461
+ * @type {any}
462
+ * @memberof ProductsApiListProducts
463
+ */
464
+ readonly filter?: any;
465
+ /**
466
+ * Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
467
+ * @type {any}
468
+ * @memberof ProductsApiListProducts
469
+ */
470
+ readonly search?: any;
471
+ /**
472
+ * The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
473
+ * @type {any}
474
+ * @memberof ProductsApiListProducts
475
+ */
476
+ readonly order?: any;
477
+ /**
478
+ * You can expand product versions and insured object types list in this endpoint.
479
+ * @type {any}
480
+ * @memberof ProductsApiListProducts
481
+ */
482
+ readonly expand?: any;
483
+ }
484
+ /**
485
+ * ProductsApi - object-oriented interface
486
+ * @export
487
+ * @class ProductsApi
488
+ * @extends {BaseAPI}
489
+ */
490
+ export declare class ProductsApi extends BaseAPI {
491
+ /**
492
+ * This will calculate product fields.
493
+ * @summary Create the product fields
494
+ * @param {ProductsApiCalculateProductFieldsRequest} requestParameters Request parameters.
495
+ * @param {*} [options] Override http request option.
496
+ * @throws {RequiredError}
497
+ * @memberof ProductsApi
498
+ */
499
+ calculateProductFields(requestParameters: ProductsApiCalculateProductFieldsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CalculateProductFieldsResponseClass, any>>;
500
+ /**
501
+ * This will create an invoice product.
502
+ * @summary Create the invoice product
503
+ * @param {ProductsApiCreateEstimatedInvoiceRequest} requestParameters Request parameters.
504
+ * @param {*} [options] Override http request option.
505
+ * @throws {RequiredError}
506
+ * @memberof ProductsApi
507
+ */
508
+ createEstimatedInvoice(requestParameters: ProductsApiCreateEstimatedInvoiceRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateEstimatedInvoiceResponseClass, any>>;
509
+ /**
510
+ * This will create a custom application for a specific provider.
511
+ * @summary Create the custom application
512
+ * @param {ProductsApiCustomApplicationRequest} requestParameters Request parameters.
513
+ * @param {*} [options] Override http request option.
514
+ * @throws {RequiredError}
515
+ * @memberof ProductsApi
516
+ */
517
+ customApplication(requestParameters: ProductsApiCustomApplicationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateCustomApplicationResponseClass, any>>;
518
+ /**
519
+ * 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.
520
+ * @summary List insured object types
521
+ * @param {ProductsApiGetInsuredObjectTypesRequest} requestParameters Request parameters.
522
+ * @param {*} [options] Override http request option.
523
+ * @throws {RequiredError}
524
+ * @memberof ProductsApi
525
+ */
526
+ getInsuredObjectTypes(requestParameters?: ProductsApiGetInsuredObjectTypesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InsuredObjectTypeClass[], any>>;
527
+ /**
528
+ * 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.
529
+ * @summary List insured objects
530
+ * @param {ProductsApiGetInsuredObjectsRequest} requestParameters Request parameters.
531
+ * @param {*} [options] Override http request option.
532
+ * @throws {RequiredError}
533
+ * @memberof ProductsApi
534
+ */
535
+ getInsuredObjects(requestParameters: ProductsApiGetInsuredObjectsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InsuredObjectClass[], any>>;
536
+ /**
537
+ * This will generate a custom css for booking funnel, based on product.
538
+ * @summary Generate a custom CSS
539
+ * @param {ProductsApiGetProductCustomCssRequest} requestParameters Request parameters.
540
+ * @param {*} [options] Override http request option.
541
+ * @throws {RequiredError}
542
+ * @memberof ProductsApi
543
+ */
544
+ getProductCustomCss(requestParameters: ProductsApiGetProductCustomCssRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetCustomCssResponseClass, any>>;
545
+ /**
546
+ * 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.
547
+ * @summary List product factors
548
+ * @param {ProductsApiGetProductFactorsRequest} requestParameters Request parameters.
549
+ * @param {*} [options] Override http request option.
550
+ * @throws {RequiredError}
551
+ * @memberof ProductsApi
552
+ */
553
+ getProductFactors(requestParameters: ProductsApiGetProductFactorsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductFactorForVersionClass[], any>>;
554
+ /**
555
+ * Returns a list of products you have previously created. The products are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
556
+ * @summary List products
557
+ * @param {ProductsApiListProductsRequest} requestParameters Request parameters.
558
+ * @param {*} [options] Override http request option.
559
+ * @throws {RequiredError}
560
+ * @memberof ProductsApi
561
+ */
562
+ listProducts(requestParameters?: ProductsApiListProductsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListProductsResponseClass, any>>;
563
+ }