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