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