@emilgroup/insurance-sdk-node 1.0.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 (277) hide show
  1. package/.openapi-generator/FILES +97 -0
  2. package/.openapi-generator/VERSION +1 -0
  3. package/.openapi-generator-ignore +23 -0
  4. package/README.md +51 -0
  5. package/api/insured-object-types-api.ts +236 -0
  6. package/api/insured-objects-api.ts +446 -0
  7. package/api/leads-api.ts +402 -0
  8. package/api/policies-api.ts +580 -0
  9. package/api/products-api.ts +3027 -0
  10. package/api.ts +44 -0
  11. package/base.ts +189 -0
  12. package/common.ts +138 -0
  13. package/configuration.ts +109 -0
  14. package/dist/api/insured-object-types-api.d.ts +141 -0
  15. package/dist/api/insured-object-types-api.js +258 -0
  16. package/dist/api/insured-objects-api.d.ts +254 -0
  17. package/dist/api/insured-objects-api.js +443 -0
  18. package/dist/api/leads-api.d.ts +225 -0
  19. package/dist/api/leads-api.js +427 -0
  20. package/dist/api/policies-api.d.ts +329 -0
  21. package/dist/api/policies-api.js +548 -0
  22. package/dist/api/products-api.d.ts +1683 -0
  23. package/dist/api/products-api.js +2521 -0
  24. package/dist/api.d.ts +20 -0
  25. package/dist/api.js +40 -0
  26. package/dist/base.d.ts +69 -0
  27. package/dist/base.js +252 -0
  28. package/dist/common.d.ts +66 -0
  29. package/dist/common.js +244 -0
  30. package/dist/configuration.d.ts +90 -0
  31. package/dist/configuration.js +44 -0
  32. package/dist/index.d.ts +15 -0
  33. package/dist/index.js +35 -0
  34. package/dist/models/calculate-custom-premium-request-dto.d.ts +34 -0
  35. package/dist/models/calculate-custom-premium-request-dto.js +19 -0
  36. package/dist/models/calculate-premium-request-dto.d.ts +31 -0
  37. package/dist/models/calculate-premium-request-dto.js +15 -0
  38. package/dist/models/create-account-request-dto.d.ts +84 -0
  39. package/dist/models/create-account-request-dto.js +15 -0
  40. package/dist/models/create-bank-account-request-dto.d.ts +30 -0
  41. package/dist/models/create-bank-account-request-dto.js +15 -0
  42. package/dist/models/create-claim-request-dto.d.ts +83 -0
  43. package/dist/models/create-claim-request-dto.js +25 -0
  44. package/dist/models/create-custom-application-request-dto.d.ts +40 -0
  45. package/dist/models/create-custom-application-request-dto.js +19 -0
  46. package/dist/models/create-dummy-policy-request-dto.d.ts +31 -0
  47. package/dist/models/create-dummy-policy-request-dto.js +15 -0
  48. package/dist/models/create-insured-object-request-dto.d.ts +42 -0
  49. package/dist/models/create-insured-object-request-dto.js +15 -0
  50. package/dist/models/create-insured-object-response-class.d.ts +25 -0
  51. package/dist/models/create-insured-object-response-class.js +15 -0
  52. package/dist/models/create-lead-request-dto.d.ts +71 -0
  53. package/dist/models/create-lead-request-dto.js +22 -0
  54. package/dist/models/create-policy-request-dto.d.ts +37 -0
  55. package/dist/models/create-policy-request-dto.js +15 -0
  56. package/dist/models/create-policy-response-class.d.ts +25 -0
  57. package/dist/models/create-policy-response-class.js +15 -0
  58. package/dist/models/create-premium-formula-request-dto.d.ts +65 -0
  59. package/dist/models/create-premium-formula-request-dto.js +25 -0
  60. package/dist/models/create-premium-formula-response-class.d.ts +25 -0
  61. package/dist/models/create-premium-formula-response-class.js +15 -0
  62. package/dist/models/create-product-field-request-dto.d.ts +113 -0
  63. package/dist/models/create-product-field-request-dto.js +20 -0
  64. package/dist/models/create-product-field-response-class.d.ts +25 -0
  65. package/dist/models/create-product-field-response-class.js +15 -0
  66. package/dist/models/create-product-request-dto.d.ts +57 -0
  67. package/dist/models/create-product-request-dto.js +30 -0
  68. package/dist/models/create-product-response-class.d.ts +25 -0
  69. package/dist/models/create-product-response-class.js +15 -0
  70. package/dist/models/csv-product-factor-dto.d.ts +48 -0
  71. package/dist/models/csv-product-factor-dto.js +15 -0
  72. package/dist/models/delete-request-dto.d.ts +24 -0
  73. package/dist/models/delete-request-dto.js +15 -0
  74. package/dist/models/get-insured-object-request-dto.d.ts +24 -0
  75. package/dist/models/get-insured-object-request-dto.js +15 -0
  76. package/dist/models/get-insured-object-response-class.d.ts +25 -0
  77. package/dist/models/get-insured-object-response-class.js +15 -0
  78. package/dist/models/get-policy-request-dto.d.ts +30 -0
  79. package/dist/models/get-policy-request-dto.js +15 -0
  80. package/dist/models/get-policy-response-class.d.ts +25 -0
  81. package/dist/models/get-policy-response-class.js +15 -0
  82. package/dist/models/get-premium-formula-request-dto.d.ts +24 -0
  83. package/dist/models/get-premium-formula-request-dto.js +15 -0
  84. package/dist/models/get-premium-formula-response-class.d.ts +25 -0
  85. package/dist/models/get-premium-formula-response-class.js +15 -0
  86. package/dist/models/get-product-factor-response-class.d.ts +32 -0
  87. package/dist/models/get-product-factor-response-class.js +15 -0
  88. package/dist/models/get-product-factor-value-request-dto.d.ts +42 -0
  89. package/dist/models/get-product-factor-value-request-dto.js +15 -0
  90. package/dist/models/get-product-factor-value-response-class.d.ts +25 -0
  91. package/dist/models/get-product-factor-value-response-class.js +15 -0
  92. package/dist/models/get-product-field-request-dto.d.ts +24 -0
  93. package/dist/models/get-product-field-request-dto.js +15 -0
  94. package/dist/models/get-product-field-response-class.d.ts +25 -0
  95. package/dist/models/get-product-field-response-class.js +15 -0
  96. package/dist/models/get-product-request-dto.d.ts +36 -0
  97. package/dist/models/get-product-request-dto.js +15 -0
  98. package/dist/models/get-product-response-class.d.ts +25 -0
  99. package/dist/models/get-product-response-class.js +15 -0
  100. package/dist/models/get-product-version-request-dto.d.ts +24 -0
  101. package/dist/models/get-product-version-request-dto.js +15 -0
  102. package/dist/models/get-product-version-response-class.d.ts +25 -0
  103. package/dist/models/get-product-version-response-class.js +15 -0
  104. package/dist/models/grouped-product-factor-class.d.ts +37 -0
  105. package/dist/models/grouped-product-factor-class.js +15 -0
  106. package/dist/models/grouped-product-factor-value-class.d.ts +36 -0
  107. package/dist/models/grouped-product-factor-value-class.js +15 -0
  108. package/dist/models/grouped-product-factors-response-class.d.ts +25 -0
  109. package/dist/models/grouped-product-factors-response-class.js +15 -0
  110. package/dist/models/grpc-create-policy-request-dto.d.ts +37 -0
  111. package/dist/models/grpc-create-policy-request-dto.js +15 -0
  112. package/dist/models/index.d.ts +79 -0
  113. package/dist/models/index.js +95 -0
  114. package/dist/models/insured-object-class.d.ts +67 -0
  115. package/dist/models/insured-object-class.js +15 -0
  116. package/dist/models/insured-object-type-class.d.ts +48 -0
  117. package/dist/models/insured-object-type-class.js +15 -0
  118. package/dist/models/list-insured-object-types-response-class.d.ts +31 -0
  119. package/dist/models/list-insured-object-types-response-class.js +15 -0
  120. package/dist/models/list-insured-objects-response-class.d.ts +30 -0
  121. package/dist/models/list-insured-objects-response-class.js +15 -0
  122. package/dist/models/list-policies-response-class.d.ts +31 -0
  123. package/dist/models/list-policies-response-class.js +15 -0
  124. package/dist/models/list-premium-formulas-response-class.d.ts +31 -0
  125. package/dist/models/list-premium-formulas-response-class.js +15 -0
  126. package/dist/models/list-product-factors-response-class.d.ts +31 -0
  127. package/dist/models/list-product-factors-response-class.js +15 -0
  128. package/dist/models/list-product-field-types-response-class.d.ts +30 -0
  129. package/dist/models/list-product-field-types-response-class.js +15 -0
  130. package/dist/models/list-product-fields-response-class.d.ts +31 -0
  131. package/dist/models/list-product-fields-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/list-request-dto.d.ts +54 -0
  135. package/dist/models/list-request-dto.js +15 -0
  136. package/dist/models/policy-class.d.ts +86 -0
  137. package/dist/models/policy-class.js +15 -0
  138. package/dist/models/policy-object-class.d.ts +42 -0
  139. package/dist/models/policy-object-class.js +15 -0
  140. package/dist/models/policy-object-dto.d.ts +30 -0
  141. package/dist/models/policy-object-dto.js +15 -0
  142. package/dist/models/policy-premium-class.d.ts +43 -0
  143. package/dist/models/policy-premium-class.js +15 -0
  144. package/dist/models/policy-premium-item-class.d.ts +49 -0
  145. package/dist/models/policy-premium-item-class.js +15 -0
  146. package/dist/models/policy-version-class.d.ts +55 -0
  147. package/dist/models/policy-version-class.js +15 -0
  148. package/dist/models/premium-formula-class.d.ts +79 -0
  149. package/dist/models/premium-formula-class.js +15 -0
  150. package/dist/models/product-class.d.ts +74 -0
  151. package/dist/models/product-class.js +15 -0
  152. package/dist/models/product-factor-class.d.ts +68 -0
  153. package/dist/models/product-factor-class.js +15 -0
  154. package/dist/models/product-factor-value-class.d.ts +80 -0
  155. package/dist/models/product-factor-value-class.js +15 -0
  156. package/dist/models/product-field-class.d.ts +114 -0
  157. package/dist/models/product-field-class.js +15 -0
  158. package/dist/models/product-version-class.d.ts +54 -0
  159. package/dist/models/product-version-class.js +15 -0
  160. package/dist/models/store-product-factors-request-dto.d.ts +31 -0
  161. package/dist/models/store-product-factors-request-dto.js +15 -0
  162. package/dist/models/store-product-factors-response-class.d.ts +25 -0
  163. package/dist/models/store-product-factors-response-class.js +15 -0
  164. package/dist/models/timeslice-class.d.ts +62 -0
  165. package/dist/models/timeslice-class.js +15 -0
  166. package/dist/models/update-insured-object-request-dto.d.ts +48 -0
  167. package/dist/models/update-insured-object-request-dto.js +15 -0
  168. package/dist/models/update-lead-request-dto.d.ts +71 -0
  169. package/dist/models/update-lead-request-dto.js +22 -0
  170. package/dist/models/update-policy-request-dto.d.ts +43 -0
  171. package/dist/models/update-policy-request-dto.js +15 -0
  172. package/dist/models/update-policy-response-class.d.ts +25 -0
  173. package/dist/models/update-policy-response-class.js +15 -0
  174. package/dist/models/update-premium-formula-request-dto.d.ts +71 -0
  175. package/dist/models/update-premium-formula-request-dto.js +25 -0
  176. package/dist/models/update-premium-formula-response-class.d.ts +25 -0
  177. package/dist/models/update-premium-formula-response-class.js +15 -0
  178. package/dist/models/update-product-field-request-dto.d.ts +119 -0
  179. package/dist/models/update-product-field-request-dto.js +20 -0
  180. package/dist/models/update-product-field-response-class.d.ts +25 -0
  181. package/dist/models/update-product-field-response-class.js +15 -0
  182. package/dist/models/update-product-request-dto.d.ts +42 -0
  183. package/dist/models/update-product-request-dto.js +15 -0
  184. package/dist/models/update-product-response-class.d.ts +25 -0
  185. package/dist/models/update-product-response-class.js +15 -0
  186. package/dist/models/update-product-version-request-dto.d.ts +43 -0
  187. package/dist/models/update-product-version-request-dto.js +22 -0
  188. package/dist/models/update-product-version-response-class.d.ts +25 -0
  189. package/dist/models/update-product-version-response-class.js +15 -0
  190. package/dist/models/uploaded-document-dto.d.ts +24 -0
  191. package/dist/models/uploaded-document-dto.js +15 -0
  192. package/dist/models/validate-product-factors-request-dto.d.ts +31 -0
  193. package/dist/models/validate-product-factors-request-dto.js +15 -0
  194. package/git_push.sh +57 -0
  195. package/index.ts +19 -0
  196. package/models/calculate-custom-premium-request-dto.ts +43 -0
  197. package/models/calculate-premium-request-dto.ts +37 -0
  198. package/models/create-account-request-dto.ts +90 -0
  199. package/models/create-bank-account-request-dto.ts +36 -0
  200. package/models/create-claim-request-dto.ts +93 -0
  201. package/models/create-custom-application-request-dto.ts +49 -0
  202. package/models/create-dummy-policy-request-dto.ts +37 -0
  203. package/models/create-insured-object-request-dto.ts +48 -0
  204. package/models/create-insured-object-response-class.ts +31 -0
  205. package/models/create-lead-request-dto.ts +80 -0
  206. package/models/create-policy-request-dto.ts +43 -0
  207. package/models/create-policy-response-class.ts +31 -0
  208. package/models/create-premium-formula-request-dto.ts +75 -0
  209. package/models/create-premium-formula-response-class.ts +31 -0
  210. package/models/create-product-field-request-dto.ts +122 -0
  211. package/models/create-product-field-response-class.ts +31 -0
  212. package/models/create-product-request-dto.ts +66 -0
  213. package/models/create-product-response-class.ts +31 -0
  214. package/models/csv-product-factor-dto.ts +54 -0
  215. package/models/delete-request-dto.ts +30 -0
  216. package/models/get-insured-object-request-dto.ts +30 -0
  217. package/models/get-insured-object-response-class.ts +31 -0
  218. package/models/get-policy-request-dto.ts +36 -0
  219. package/models/get-policy-response-class.ts +31 -0
  220. package/models/get-premium-formula-request-dto.ts +30 -0
  221. package/models/get-premium-formula-response-class.ts +31 -0
  222. package/models/get-product-factor-response-class.ts +38 -0
  223. package/models/get-product-factor-value-request-dto.ts +48 -0
  224. package/models/get-product-factor-value-response-class.ts +31 -0
  225. package/models/get-product-field-request-dto.ts +30 -0
  226. package/models/get-product-field-response-class.ts +31 -0
  227. package/models/get-product-request-dto.ts +42 -0
  228. package/models/get-product-response-class.ts +31 -0
  229. package/models/get-product-version-request-dto.ts +30 -0
  230. package/models/get-product-version-response-class.ts +31 -0
  231. package/models/grouped-product-factor-class.ts +43 -0
  232. package/models/grouped-product-factor-value-class.ts +42 -0
  233. package/models/grouped-product-factors-response-class.ts +31 -0
  234. package/models/grpc-create-policy-request-dto.ts +43 -0
  235. package/models/index.ts +79 -0
  236. package/models/insured-object-class.ts +73 -0
  237. package/models/insured-object-type-class.ts +54 -0
  238. package/models/list-insured-object-types-response-class.ts +37 -0
  239. package/models/list-insured-objects-response-class.ts +36 -0
  240. package/models/list-policies-response-class.ts +37 -0
  241. package/models/list-premium-formulas-response-class.ts +37 -0
  242. package/models/list-product-factors-response-class.ts +37 -0
  243. package/models/list-product-field-types-response-class.ts +36 -0
  244. package/models/list-product-fields-response-class.ts +37 -0
  245. package/models/list-products-response-class.ts +37 -0
  246. package/models/list-request-dto.ts +60 -0
  247. package/models/policy-class.ts +92 -0
  248. package/models/policy-object-class.ts +48 -0
  249. package/models/policy-object-dto.ts +36 -0
  250. package/models/policy-premium-class.ts +49 -0
  251. package/models/policy-premium-item-class.ts +55 -0
  252. package/models/policy-version-class.ts +61 -0
  253. package/models/premium-formula-class.ts +85 -0
  254. package/models/product-class.ts +80 -0
  255. package/models/product-factor-class.ts +74 -0
  256. package/models/product-factor-value-class.ts +86 -0
  257. package/models/product-field-class.ts +120 -0
  258. package/models/product-version-class.ts +60 -0
  259. package/models/store-product-factors-request-dto.ts +37 -0
  260. package/models/store-product-factors-response-class.ts +31 -0
  261. package/models/timeslice-class.ts +68 -0
  262. package/models/update-insured-object-request-dto.ts +54 -0
  263. package/models/update-lead-request-dto.ts +80 -0
  264. package/models/update-policy-request-dto.ts +49 -0
  265. package/models/update-policy-response-class.ts +31 -0
  266. package/models/update-premium-formula-request-dto.ts +81 -0
  267. package/models/update-premium-formula-response-class.ts +31 -0
  268. package/models/update-product-field-request-dto.ts +128 -0
  269. package/models/update-product-field-response-class.ts +31 -0
  270. package/models/update-product-request-dto.ts +48 -0
  271. package/models/update-product-response-class.ts +31 -0
  272. package/models/update-product-version-request-dto.ts +52 -0
  273. package/models/update-product-version-response-class.ts +31 -0
  274. package/models/uploaded-document-dto.ts +30 -0
  275. package/models/validate-product-factors-request-dto.ts +37 -0
  276. package/package.json +29 -0
  277. package/tsconfig.json +22 -0
@@ -0,0 +1,1683 @@
1
+ /**
2
+ * EMIL InsuranceService
3
+ * The EMIL InsuranceService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
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 { CreatePremiumFormulaRequestDto } from '../models';
16
+ import { CreatePremiumFormulaResponseClass } from '../models';
17
+ import { CreateProductFieldRequestDto } from '../models';
18
+ import { CreateProductFieldResponseClass } from '../models';
19
+ import { CreateProductRequestDto } from '../models';
20
+ import { CreateProductResponseClass } from '../models';
21
+ import { GetPremiumFormulaResponseClass } from '../models';
22
+ import { GetProductFactorResponseClass } from '../models';
23
+ import { GetProductFactorValueResponseClass } from '../models';
24
+ import { GetProductFieldResponseClass } from '../models';
25
+ import { GetProductResponseClass } from '../models';
26
+ import { GetProductVersionResponseClass } from '../models';
27
+ import { GroupedProductFactorsResponseClass } from '../models';
28
+ import { ListPremiumFormulasResponseClass } from '../models';
29
+ import { ListProductFactorsResponseClass } from '../models';
30
+ import { ListProductFieldTypesResponseClass } from '../models';
31
+ import { ListProductFieldsResponseClass } from '../models';
32
+ import { ListProductsResponseClass } from '../models';
33
+ import { StoreProductFactorsResponseClass } from '../models';
34
+ import { UpdatePremiumFormulaRequestDto } from '../models';
35
+ import { UpdatePremiumFormulaResponseClass } from '../models';
36
+ import { UpdateProductFieldRequestDto } from '../models';
37
+ import { UpdateProductFieldResponseClass } from '../models';
38
+ import { UpdateProductRequestDto } from '../models';
39
+ import { UpdateProductResponseClass } from '../models';
40
+ import { UpdateProductVersionRequestDto } from '../models';
41
+ import { UpdateProductVersionResponseClass } from '../models';
42
+ /**
43
+ * ProductsApi - axios parameter creator
44
+ * @export
45
+ */
46
+ export declare const ProductsApiAxiosParamCreator: (configuration?: Configuration) => {
47
+ /**
48
+ * Creates a premium formula.
49
+ * @summary Create the premium formula
50
+ * @param {CreatePremiumFormulaRequestDto} createPremiumFormulaRequestDto
51
+ * @param {string} [authorization] Bearer Token
52
+ * @param {*} [options] Override http request option.
53
+ * @throws {RequiredError}
54
+ */
55
+ createPremiumFormula: (createPremiumFormulaRequestDto: CreatePremiumFormulaRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
56
+ /**
57
+ * Create a blank product. The product cannot be used as long as it is missing product factors, insured objects and premium formulas.
58
+ * @summary Create the product
59
+ * @param {CreateProductRequestDto} createProductRequestDto
60
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
61
+ * @param {*} [options] Override http request option.
62
+ * @throws {RequiredError}
63
+ */
64
+ createProduct: (createProductRequestDto: CreateProductRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
65
+ /**
66
+ * Create a product field in the database.
67
+ * @summary Create the product field
68
+ * @param {CreateProductFieldRequestDto} createProductFieldRequestDto
69
+ * @param {string} [authorization] Bearer Token
70
+ * @param {*} [options] Override http request option.
71
+ * @throws {RequiredError}
72
+ */
73
+ createProductField: (createProductFieldRequestDto: CreateProductFieldRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
74
+ /**
75
+ * Permanently deletes the premium formula. Supply the unique id that was returned when you created the premium formula and this will delete it.
76
+ * @summary Delete the premium formula
77
+ * @param {number} id
78
+ * @param {string} [authorization] Bearer Token
79
+ * @param {*} [options] Override http request option.
80
+ * @throws {RequiredError}
81
+ */
82
+ deletePremiumFormula: (id: number, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
83
+ /**
84
+ * Permanently deletes the product. Supply the unique id that was returned when you created the product and this will delete it.
85
+ * @summary Delete the product
86
+ * @param {number} id
87
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
88
+ * @param {*} [options] Override http request option.
89
+ * @throws {RequiredError}
90
+ */
91
+ deleteProduct: (id: number, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
92
+ /**
93
+ * Permanently deletes the product. Supply the unique id that was returned when you created the product and this will delete it.
94
+ * @summary Delete the product
95
+ * @param {string} id
96
+ * @param {string} [authorization] Bearer Token
97
+ * @param {*} [options] Override http request option.
98
+ * @throws {RequiredError}
99
+ */
100
+ deleteProductField: (id: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
101
+ /**
102
+ * Retrieves the details of the premium formula that was previously created. Supply the unique premium formula id that was returned when you created it and Emil Api will return the corresponding premium formula information.
103
+ * @summary Retrieve the premium formula
104
+ * @param {string} id
105
+ * @param {number} id2 Product formula id
106
+ * @param {string} [authorization] Bearer Token
107
+ * @param {*} [options] Override http request option.
108
+ * @throws {RequiredError}
109
+ */
110
+ getPremiumFormula: (id: string, id2: number, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
111
+ /**
112
+ * Retrieves the details of the product that was previously created. Supply the unique product code that was returned when you created it and Emil Api will return the corresponding product information.
113
+ * @summary Retrieve the product
114
+ * @param {string} code Unique identifier for the object.
115
+ * @param {number} id Product id
116
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
117
+ * @param {string} [expand] Fields to expand response by
118
+ * @param {*} [options] Override http request option.
119
+ * @throws {RequiredError}
120
+ */
121
+ getProductByCode: (code: string, id: number, authorization?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
122
+ /**
123
+ * Retrieves the details of the product factor that was previously created. Supply the unique product factor id that was returned when you created it and Emil Api will return the corresponding product factor information.
124
+ * @summary Retrieve the product factor
125
+ * @param {number} id
126
+ * @param {number} id2 Product factor id
127
+ * @param {string} [authorization] Bearer Token
128
+ * @param {string} [expand] Fields to expand response by
129
+ * @param {*} [options] Override http request option.
130
+ * @throws {RequiredError}
131
+ */
132
+ getProductFactor: (id: number, id2: number, authorization?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
133
+ /**
134
+ * Get the value corresponding to a specific product factor.
135
+ * @summary Get product factor value
136
+ * @param {number} productVersionId Product Version Id
137
+ * @param {string} label Product factor label
138
+ * @param {string} key Key for the product factor value
139
+ * @param {string} name Name for the product factor value
140
+ * @param {string} [authorization] Bearer Token
141
+ * @param {*} [options] Override http request option.
142
+ * @throws {RequiredError}
143
+ */
144
+ getProductFactorValue: (productVersionId: number, label: string, key: string, name: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
145
+ /**
146
+ * Retrieves the details of the product field that was previously created. Supply the unique product field id that was returned when you created it and Emil Api will return the corresponding product field information.
147
+ * @summary Retrieve the product field
148
+ * @param {string} id
149
+ * @param {string} [authorization] Bearer Token
150
+ * @param {*} [options] Override http request option.
151
+ * @throws {RequiredError}
152
+ */
153
+ getProductField: (id: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
154
+ /**
155
+ * Retrieves the details of the product version that was previously created. Supply the unique product version id that was returned when you created it and Emil Api will return the corresponding product version information.
156
+ * @summary Retrieve the product version
157
+ * @param {string} id
158
+ * @param {number} id2 Product version id
159
+ * @param {string} [authorization] Bearer Token
160
+ * @param {*} [options] Override http request option.
161
+ * @throws {RequiredError}
162
+ */
163
+ getProductVersion: (id: string, id2: number, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
164
+ /**
165
+ * Returns a list of premium formulas you have previously created. The premium formulas are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
166
+ * @summary List premium formulas
167
+ * @param {string} [authorization] Bearer Token
168
+ * @param {number} [pageSize] Page size
169
+ * @param {string} [pageToken] Page token
170
+ * @param {string} [filter] List filter
171
+ * @param {string} [search] Search query
172
+ * @param {string} [order] Ordering criteria
173
+ * @param {string} [expand] Extra fields to fetch
174
+ * @param {*} [options] Override http request option.
175
+ * @throws {RequiredError}
176
+ */
177
+ listPremiumFormulas: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
178
+ /**
179
+ * 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.
180
+ * @summary List product factors
181
+ * @param {string} [authorization] Bearer Token
182
+ * @param {number} [pageSize] Page size
183
+ * @param {string} [pageToken] Page token
184
+ * @param {string} [filter] List filter
185
+ * @param {string} [search] Search query
186
+ * @param {string} [order] Ordering criteria
187
+ * @param {string} [expand] Extra fields to fetch
188
+ * @param {*} [options] Override http request option.
189
+ * @throws {RequiredError}
190
+ */
191
+ listProductFactors: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
192
+ /**
193
+ * Returns a list of product field types you have previously created. The product field types are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
194
+ * @summary List product field types
195
+ * @param {string} [authorization] Bearer Token
196
+ * @param {number} [pageSize] Page size
197
+ * @param {string} [pageToken] Page token
198
+ * @param {string} [filter] List filter
199
+ * @param {string} [search] Search query
200
+ * @param {string} [order] Ordering criteria
201
+ * @param {string} [expand] Extra fields to fetch
202
+ * @param {*} [options] Override http request option.
203
+ * @throws {RequiredError}
204
+ */
205
+ listProductFieldTypes: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
206
+ /**
207
+ * Returns a list of product fields you have previously created. The product fields are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
208
+ * @summary List product fields
209
+ * @param {string} [authorization] Bearer Token
210
+ * @param {number} [pageSize] Page size
211
+ * @param {string} [pageToken] Page token
212
+ * @param {string} [filter] List filter
213
+ * @param {string} [search] Search query
214
+ * @param {string} [order] Ordering criteria
215
+ * @param {string} [expand] Extra fields to fetch
216
+ * @param {*} [options] Override http request option.
217
+ * @throws {RequiredError}
218
+ */
219
+ listProductFields: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
220
+ /**
221
+ * 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.
222
+ * @summary List products
223
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
224
+ * @param {number} [pageSize] Page size
225
+ * @param {string} [pageToken] Page token
226
+ * @param {string} [filter] List filter
227
+ * @param {string} [search] Search query
228
+ * @param {string} [order] Ordering criteria
229
+ * @param {string} [expand] Extra fields to fetch
230
+ * @param {*} [options] Override http request option.
231
+ * @throws {RequiredError}
232
+ */
233
+ listProducts: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
234
+ /**
235
+ * Upload a CSV file containing product factors necessary for a product. The columns must be in the following order: group,label,key,name,value. It is advised to validate the file first.
236
+ * @summary Upload product factors
237
+ * @param {string} [authorization] Bearer Token
238
+ * @param {number} [productVersionId]
239
+ * @param {any} [factors]
240
+ * @param {*} [options] Override http request option.
241
+ * @throws {RequiredError}
242
+ */
243
+ storeProductFactors: (authorization?: string, productVersionId?: number, factors?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
244
+ /**
245
+ * Updates the specified premium formula by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
246
+ * @summary Update the premium formula
247
+ * @param {number} id
248
+ * @param {UpdatePremiumFormulaRequestDto} updatePremiumFormulaRequestDto
249
+ * @param {string} [authorization] Bearer Token
250
+ * @param {*} [options] Override http request option.
251
+ * @throws {RequiredError}
252
+ */
253
+ updatePremiumFormula: (id: number, updatePremiumFormulaRequestDto: UpdatePremiumFormulaRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
254
+ /**
255
+ * Updates the specified product by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
256
+ * @summary Update the product
257
+ * @param {number} id
258
+ * @param {UpdateProductRequestDto} updateProductRequestDto
259
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
260
+ * @param {*} [options] Override http request option.
261
+ * @throws {RequiredError}
262
+ */
263
+ updateProduct: (id: number, updateProductRequestDto: UpdateProductRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
264
+ /**
265
+ * Updates the specified product by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
266
+ * @summary Update the product
267
+ * @param {string} id
268
+ * @param {UpdateProductFieldRequestDto} updateProductFieldRequestDto
269
+ * @param {string} [authorization] Bearer Token
270
+ * @param {*} [options] Override http request option.
271
+ * @throws {RequiredError}
272
+ */
273
+ updateProductField: (id: string, updateProductFieldRequestDto: UpdateProductFieldRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
274
+ /**
275
+ * Updates the specified product version by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
276
+ * @summary Update the product version
277
+ * @param {number} id
278
+ * @param {UpdateProductVersionRequestDto} updateProductVersionRequestDto
279
+ * @param {string} [authorization] Bearer Token
280
+ * @param {*} [options] Override http request option.
281
+ * @throws {RequiredError}
282
+ */
283
+ updateProductVersion: (id: number, updateProductVersionRequestDto: UpdateProductVersionRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
284
+ /**
285
+ * Validate a CSV file containing all product factors. The columns must be in the following order: group,label,key,name,value.
286
+ * @summary Validate product factors
287
+ * @param {string} [authorization] Bearer Token
288
+ * @param {any} [factors]
289
+ * @param {*} [options] Override http request option.
290
+ * @throws {RequiredError}
291
+ */
292
+ validateProductFactors: (authorization?: string, factors?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
293
+ };
294
+ /**
295
+ * ProductsApi - functional programming interface
296
+ * @export
297
+ */
298
+ export declare const ProductsApiFp: (configuration?: Configuration) => {
299
+ /**
300
+ * Creates a premium formula.
301
+ * @summary Create the premium formula
302
+ * @param {CreatePremiumFormulaRequestDto} createPremiumFormulaRequestDto
303
+ * @param {string} [authorization] Bearer Token
304
+ * @param {*} [options] Override http request option.
305
+ * @throws {RequiredError}
306
+ */
307
+ createPremiumFormula(createPremiumFormulaRequestDto: CreatePremiumFormulaRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePremiumFormulaResponseClass>>;
308
+ /**
309
+ * Create a blank product. The product cannot be used as long as it is missing product factors, insured objects and premium formulas.
310
+ * @summary Create the product
311
+ * @param {CreateProductRequestDto} createProductRequestDto
312
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
313
+ * @param {*} [options] Override http request option.
314
+ * @throws {RequiredError}
315
+ */
316
+ createProduct(createProductRequestDto: CreateProductRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateProductResponseClass>>;
317
+ /**
318
+ * Create a product field in the database.
319
+ * @summary Create the product field
320
+ * @param {CreateProductFieldRequestDto} createProductFieldRequestDto
321
+ * @param {string} [authorization] Bearer Token
322
+ * @param {*} [options] Override http request option.
323
+ * @throws {RequiredError}
324
+ */
325
+ createProductField(createProductFieldRequestDto: CreateProductFieldRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateProductFieldResponseClass>>;
326
+ /**
327
+ * Permanently deletes the premium formula. Supply the unique id that was returned when you created the premium formula and this will delete it.
328
+ * @summary Delete the premium formula
329
+ * @param {number} id
330
+ * @param {string} [authorization] Bearer Token
331
+ * @param {*} [options] Override http request option.
332
+ * @throws {RequiredError}
333
+ */
334
+ deletePremiumFormula(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
335
+ /**
336
+ * Permanently deletes the product. Supply the unique id that was returned when you created the product and this will delete it.
337
+ * @summary Delete the product
338
+ * @param {number} id
339
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
340
+ * @param {*} [options] Override http request option.
341
+ * @throws {RequiredError}
342
+ */
343
+ deleteProduct(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
344
+ /**
345
+ * Permanently deletes the product. Supply the unique id that was returned when you created the product and this will delete it.
346
+ * @summary Delete the product
347
+ * @param {string} id
348
+ * @param {string} [authorization] Bearer Token
349
+ * @param {*} [options] Override http request option.
350
+ * @throws {RequiredError}
351
+ */
352
+ deleteProductField(id: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
353
+ /**
354
+ * Retrieves the details of the premium formula that was previously created. Supply the unique premium formula id that was returned when you created it and Emil Api will return the corresponding premium formula information.
355
+ * @summary Retrieve the premium formula
356
+ * @param {string} id
357
+ * @param {number} id2 Product formula id
358
+ * @param {string} [authorization] Bearer Token
359
+ * @param {*} [options] Override http request option.
360
+ * @throws {RequiredError}
361
+ */
362
+ getPremiumFormula(id: string, id2: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPremiumFormulaResponseClass>>;
363
+ /**
364
+ * Retrieves the details of the product that was previously created. Supply the unique product code that was returned when you created it and Emil Api will return the corresponding product information.
365
+ * @summary Retrieve the product
366
+ * @param {string} code Unique identifier for the object.
367
+ * @param {number} id Product id
368
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
369
+ * @param {string} [expand] Fields to expand response by
370
+ * @param {*} [options] Override http request option.
371
+ * @throws {RequiredError}
372
+ */
373
+ getProductByCode(code: string, id: number, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetProductResponseClass>>;
374
+ /**
375
+ * Retrieves the details of the product factor that was previously created. Supply the unique product factor id that was returned when you created it and Emil Api will return the corresponding product factor information.
376
+ * @summary Retrieve the product factor
377
+ * @param {number} id
378
+ * @param {number} id2 Product factor id
379
+ * @param {string} [authorization] Bearer Token
380
+ * @param {string} [expand] Fields to expand response by
381
+ * @param {*} [options] Override http request option.
382
+ * @throws {RequiredError}
383
+ */
384
+ getProductFactor(id: number, id2: number, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetProductFactorResponseClass>>;
385
+ /**
386
+ * Get the value corresponding to a specific product factor.
387
+ * @summary Get product factor value
388
+ * @param {number} productVersionId Product Version Id
389
+ * @param {string} label Product factor label
390
+ * @param {string} key Key for the product factor value
391
+ * @param {string} name Name for the product factor value
392
+ * @param {string} [authorization] Bearer Token
393
+ * @param {*} [options] Override http request option.
394
+ * @throws {RequiredError}
395
+ */
396
+ getProductFactorValue(productVersionId: number, label: string, key: string, name: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetProductFactorValueResponseClass>>;
397
+ /**
398
+ * Retrieves the details of the product field that was previously created. Supply the unique product field id that was returned when you created it and Emil Api will return the corresponding product field information.
399
+ * @summary Retrieve the product field
400
+ * @param {string} id
401
+ * @param {string} [authorization] Bearer Token
402
+ * @param {*} [options] Override http request option.
403
+ * @throws {RequiredError}
404
+ */
405
+ getProductField(id: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetProductFieldResponseClass>>;
406
+ /**
407
+ * Retrieves the details of the product version that was previously created. Supply the unique product version id that was returned when you created it and Emil Api will return the corresponding product version information.
408
+ * @summary Retrieve the product version
409
+ * @param {string} id
410
+ * @param {number} id2 Product version id
411
+ * @param {string} [authorization] Bearer Token
412
+ * @param {*} [options] Override http request option.
413
+ * @throws {RequiredError}
414
+ */
415
+ getProductVersion(id: string, id2: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetProductVersionResponseClass>>;
416
+ /**
417
+ * Returns a list of premium formulas you have previously created. The premium formulas are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
418
+ * @summary List premium formulas
419
+ * @param {string} [authorization] Bearer Token
420
+ * @param {number} [pageSize] Page size
421
+ * @param {string} [pageToken] Page token
422
+ * @param {string} [filter] List filter
423
+ * @param {string} [search] Search query
424
+ * @param {string} [order] Ordering criteria
425
+ * @param {string} [expand] Extra fields to fetch
426
+ * @param {*} [options] Override http request option.
427
+ * @throws {RequiredError}
428
+ */
429
+ listPremiumFormulas(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPremiumFormulasResponseClass>>;
430
+ /**
431
+ * 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.
432
+ * @summary List product factors
433
+ * @param {string} [authorization] Bearer Token
434
+ * @param {number} [pageSize] Page size
435
+ * @param {string} [pageToken] Page token
436
+ * @param {string} [filter] List filter
437
+ * @param {string} [search] Search query
438
+ * @param {string} [order] Ordering criteria
439
+ * @param {string} [expand] Extra fields to fetch
440
+ * @param {*} [options] Override http request option.
441
+ * @throws {RequiredError}
442
+ */
443
+ listProductFactors(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListProductFactorsResponseClass>>;
444
+ /**
445
+ * Returns a list of product field types you have previously created. The product field types are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
446
+ * @summary List product field types
447
+ * @param {string} [authorization] Bearer Token
448
+ * @param {number} [pageSize] Page size
449
+ * @param {string} [pageToken] Page token
450
+ * @param {string} [filter] List filter
451
+ * @param {string} [search] Search query
452
+ * @param {string} [order] Ordering criteria
453
+ * @param {string} [expand] Extra fields to fetch
454
+ * @param {*} [options] Override http request option.
455
+ * @throws {RequiredError}
456
+ */
457
+ listProductFieldTypes(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListProductFieldTypesResponseClass>>;
458
+ /**
459
+ * Returns a list of product fields you have previously created. The product fields are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
460
+ * @summary List product fields
461
+ * @param {string} [authorization] Bearer Token
462
+ * @param {number} [pageSize] Page size
463
+ * @param {string} [pageToken] Page token
464
+ * @param {string} [filter] List filter
465
+ * @param {string} [search] Search query
466
+ * @param {string} [order] Ordering criteria
467
+ * @param {string} [expand] Extra fields to fetch
468
+ * @param {*} [options] Override http request option.
469
+ * @throws {RequiredError}
470
+ */
471
+ listProductFields(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListProductFieldsResponseClass>>;
472
+ /**
473
+ * 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.
474
+ * @summary List products
475
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
476
+ * @param {number} [pageSize] Page size
477
+ * @param {string} [pageToken] Page token
478
+ * @param {string} [filter] List filter
479
+ * @param {string} [search] Search query
480
+ * @param {string} [order] Ordering criteria
481
+ * @param {string} [expand] Extra fields to fetch
482
+ * @param {*} [options] Override http request option.
483
+ * @throws {RequiredError}
484
+ */
485
+ listProducts(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListProductsResponseClass>>;
486
+ /**
487
+ * Upload a CSV file containing product factors necessary for a product. The columns must be in the following order: group,label,key,name,value. It is advised to validate the file first.
488
+ * @summary Upload product factors
489
+ * @param {string} [authorization] Bearer Token
490
+ * @param {number} [productVersionId]
491
+ * @param {any} [factors]
492
+ * @param {*} [options] Override http request option.
493
+ * @throws {RequiredError}
494
+ */
495
+ storeProductFactors(authorization?: string, productVersionId?: number, factors?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StoreProductFactorsResponseClass>>;
496
+ /**
497
+ * Updates the specified premium formula by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
498
+ * @summary Update the premium formula
499
+ * @param {number} id
500
+ * @param {UpdatePremiumFormulaRequestDto} updatePremiumFormulaRequestDto
501
+ * @param {string} [authorization] Bearer Token
502
+ * @param {*} [options] Override http request option.
503
+ * @throws {RequiredError}
504
+ */
505
+ updatePremiumFormula(id: number, updatePremiumFormulaRequestDto: UpdatePremiumFormulaRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdatePremiumFormulaResponseClass>>;
506
+ /**
507
+ * Updates the specified product by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
508
+ * @summary Update the product
509
+ * @param {number} id
510
+ * @param {UpdateProductRequestDto} updateProductRequestDto
511
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
512
+ * @param {*} [options] Override http request option.
513
+ * @throws {RequiredError}
514
+ */
515
+ updateProduct(id: number, updateProductRequestDto: UpdateProductRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateProductResponseClass>>;
516
+ /**
517
+ * Updates the specified product by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
518
+ * @summary Update the product
519
+ * @param {string} id
520
+ * @param {UpdateProductFieldRequestDto} updateProductFieldRequestDto
521
+ * @param {string} [authorization] Bearer Token
522
+ * @param {*} [options] Override http request option.
523
+ * @throws {RequiredError}
524
+ */
525
+ updateProductField(id: string, updateProductFieldRequestDto: UpdateProductFieldRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateProductFieldResponseClass>>;
526
+ /**
527
+ * Updates the specified product version by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
528
+ * @summary Update the product version
529
+ * @param {number} id
530
+ * @param {UpdateProductVersionRequestDto} updateProductVersionRequestDto
531
+ * @param {string} [authorization] Bearer Token
532
+ * @param {*} [options] Override http request option.
533
+ * @throws {RequiredError}
534
+ */
535
+ updateProductVersion(id: number, updateProductVersionRequestDto: UpdateProductVersionRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateProductVersionResponseClass>>;
536
+ /**
537
+ * Validate a CSV file containing all product factors. The columns must be in the following order: group,label,key,name,value.
538
+ * @summary Validate product factors
539
+ * @param {string} [authorization] Bearer Token
540
+ * @param {any} [factors]
541
+ * @param {*} [options] Override http request option.
542
+ * @throws {RequiredError}
543
+ */
544
+ validateProductFactors(authorization?: string, factors?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GroupedProductFactorsResponseClass>>;
545
+ };
546
+ /**
547
+ * ProductsApi - factory interface
548
+ * @export
549
+ */
550
+ export declare const ProductsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
551
+ /**
552
+ * Creates a premium formula.
553
+ * @summary Create the premium formula
554
+ * @param {CreatePremiumFormulaRequestDto} createPremiumFormulaRequestDto
555
+ * @param {string} [authorization] Bearer Token
556
+ * @param {*} [options] Override http request option.
557
+ * @throws {RequiredError}
558
+ */
559
+ createPremiumFormula(createPremiumFormulaRequestDto: CreatePremiumFormulaRequestDto, authorization?: string, options?: any): AxiosPromise<CreatePremiumFormulaResponseClass>;
560
+ /**
561
+ * Create a blank product. The product cannot be used as long as it is missing product factors, insured objects and premium formulas.
562
+ * @summary Create the product
563
+ * @param {CreateProductRequestDto} createProductRequestDto
564
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
565
+ * @param {*} [options] Override http request option.
566
+ * @throws {RequiredError}
567
+ */
568
+ createProduct(createProductRequestDto: CreateProductRequestDto, authorization?: string, options?: any): AxiosPromise<CreateProductResponseClass>;
569
+ /**
570
+ * Create a product field in the database.
571
+ * @summary Create the product field
572
+ * @param {CreateProductFieldRequestDto} createProductFieldRequestDto
573
+ * @param {string} [authorization] Bearer Token
574
+ * @param {*} [options] Override http request option.
575
+ * @throws {RequiredError}
576
+ */
577
+ createProductField(createProductFieldRequestDto: CreateProductFieldRequestDto, authorization?: string, options?: any): AxiosPromise<CreateProductFieldResponseClass>;
578
+ /**
579
+ * Permanently deletes the premium formula. Supply the unique id that was returned when you created the premium formula and this will delete it.
580
+ * @summary Delete the premium formula
581
+ * @param {number} id
582
+ * @param {string} [authorization] Bearer Token
583
+ * @param {*} [options] Override http request option.
584
+ * @throws {RequiredError}
585
+ */
586
+ deletePremiumFormula(id: number, authorization?: string, options?: any): AxiosPromise<object>;
587
+ /**
588
+ * Permanently deletes the product. Supply the unique id that was returned when you created the product and this will delete it.
589
+ * @summary Delete the product
590
+ * @param {number} id
591
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
592
+ * @param {*} [options] Override http request option.
593
+ * @throws {RequiredError}
594
+ */
595
+ deleteProduct(id: number, authorization?: string, options?: any): AxiosPromise<object>;
596
+ /**
597
+ * Permanently deletes the product. Supply the unique id that was returned when you created the product and this will delete it.
598
+ * @summary Delete the product
599
+ * @param {string} id
600
+ * @param {string} [authorization] Bearer Token
601
+ * @param {*} [options] Override http request option.
602
+ * @throws {RequiredError}
603
+ */
604
+ deleteProductField(id: string, authorization?: string, options?: any): AxiosPromise<void>;
605
+ /**
606
+ * Retrieves the details of the premium formula that was previously created. Supply the unique premium formula id that was returned when you created it and Emil Api will return the corresponding premium formula information.
607
+ * @summary Retrieve the premium formula
608
+ * @param {string} id
609
+ * @param {number} id2 Product formula id
610
+ * @param {string} [authorization] Bearer Token
611
+ * @param {*} [options] Override http request option.
612
+ * @throws {RequiredError}
613
+ */
614
+ getPremiumFormula(id: string, id2: number, authorization?: string, options?: any): AxiosPromise<GetPremiumFormulaResponseClass>;
615
+ /**
616
+ * Retrieves the details of the product that was previously created. Supply the unique product code that was returned when you created it and Emil Api will return the corresponding product information.
617
+ * @summary Retrieve the product
618
+ * @param {string} code Unique identifier for the object.
619
+ * @param {number} id Product id
620
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
621
+ * @param {string} [expand] Fields to expand response by
622
+ * @param {*} [options] Override http request option.
623
+ * @throws {RequiredError}
624
+ */
625
+ getProductByCode(code: string, id: number, authorization?: string, expand?: string, options?: any): AxiosPromise<GetProductResponseClass>;
626
+ /**
627
+ * Retrieves the details of the product factor that was previously created. Supply the unique product factor id that was returned when you created it and Emil Api will return the corresponding product factor information.
628
+ * @summary Retrieve the product factor
629
+ * @param {number} id
630
+ * @param {number} id2 Product factor id
631
+ * @param {string} [authorization] Bearer Token
632
+ * @param {string} [expand] Fields to expand response by
633
+ * @param {*} [options] Override http request option.
634
+ * @throws {RequiredError}
635
+ */
636
+ getProductFactor(id: number, id2: number, authorization?: string, expand?: string, options?: any): AxiosPromise<GetProductFactorResponseClass>;
637
+ /**
638
+ * Get the value corresponding to a specific product factor.
639
+ * @summary Get product factor value
640
+ * @param {number} productVersionId Product Version Id
641
+ * @param {string} label Product factor label
642
+ * @param {string} key Key for the product factor value
643
+ * @param {string} name Name for the product factor value
644
+ * @param {string} [authorization] Bearer Token
645
+ * @param {*} [options] Override http request option.
646
+ * @throws {RequiredError}
647
+ */
648
+ getProductFactorValue(productVersionId: number, label: string, key: string, name: string, authorization?: string, options?: any): AxiosPromise<GetProductFactorValueResponseClass>;
649
+ /**
650
+ * Retrieves the details of the product field that was previously created. Supply the unique product field id that was returned when you created it and Emil Api will return the corresponding product field information.
651
+ * @summary Retrieve the product field
652
+ * @param {string} id
653
+ * @param {string} [authorization] Bearer Token
654
+ * @param {*} [options] Override http request option.
655
+ * @throws {RequiredError}
656
+ */
657
+ getProductField(id: string, authorization?: string, options?: any): AxiosPromise<GetProductFieldResponseClass>;
658
+ /**
659
+ * Retrieves the details of the product version that was previously created. Supply the unique product version id that was returned when you created it and Emil Api will return the corresponding product version information.
660
+ * @summary Retrieve the product version
661
+ * @param {string} id
662
+ * @param {number} id2 Product version id
663
+ * @param {string} [authorization] Bearer Token
664
+ * @param {*} [options] Override http request option.
665
+ * @throws {RequiredError}
666
+ */
667
+ getProductVersion(id: string, id2: number, authorization?: string, options?: any): AxiosPromise<GetProductVersionResponseClass>;
668
+ /**
669
+ * Returns a list of premium formulas you have previously created. The premium formulas are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
670
+ * @summary List premium formulas
671
+ * @param {string} [authorization] Bearer Token
672
+ * @param {number} [pageSize] Page size
673
+ * @param {string} [pageToken] Page token
674
+ * @param {string} [filter] List filter
675
+ * @param {string} [search] Search query
676
+ * @param {string} [order] Ordering criteria
677
+ * @param {string} [expand] Extra fields to fetch
678
+ * @param {*} [options] Override http request option.
679
+ * @throws {RequiredError}
680
+ */
681
+ listPremiumFormulas(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListPremiumFormulasResponseClass>;
682
+ /**
683
+ * 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.
684
+ * @summary List product factors
685
+ * @param {string} [authorization] Bearer Token
686
+ * @param {number} [pageSize] Page size
687
+ * @param {string} [pageToken] Page token
688
+ * @param {string} [filter] List filter
689
+ * @param {string} [search] Search query
690
+ * @param {string} [order] Ordering criteria
691
+ * @param {string} [expand] Extra fields to fetch
692
+ * @param {*} [options] Override http request option.
693
+ * @throws {RequiredError}
694
+ */
695
+ listProductFactors(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListProductFactorsResponseClass>;
696
+ /**
697
+ * Returns a list of product field types you have previously created. The product field types are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
698
+ * @summary List product field types
699
+ * @param {string} [authorization] Bearer Token
700
+ * @param {number} [pageSize] Page size
701
+ * @param {string} [pageToken] Page token
702
+ * @param {string} [filter] List filter
703
+ * @param {string} [search] Search query
704
+ * @param {string} [order] Ordering criteria
705
+ * @param {string} [expand] Extra fields to fetch
706
+ * @param {*} [options] Override http request option.
707
+ * @throws {RequiredError}
708
+ */
709
+ listProductFieldTypes(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListProductFieldTypesResponseClass>;
710
+ /**
711
+ * Returns a list of product fields you have previously created. The product fields are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
712
+ * @summary List product fields
713
+ * @param {string} [authorization] Bearer Token
714
+ * @param {number} [pageSize] Page size
715
+ * @param {string} [pageToken] Page token
716
+ * @param {string} [filter] List filter
717
+ * @param {string} [search] Search query
718
+ * @param {string} [order] Ordering criteria
719
+ * @param {string} [expand] Extra fields to fetch
720
+ * @param {*} [options] Override http request option.
721
+ * @throws {RequiredError}
722
+ */
723
+ listProductFields(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListProductFieldsResponseClass>;
724
+ /**
725
+ * 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.
726
+ * @summary List products
727
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
728
+ * @param {number} [pageSize] Page size
729
+ * @param {string} [pageToken] Page token
730
+ * @param {string} [filter] List filter
731
+ * @param {string} [search] Search query
732
+ * @param {string} [order] Ordering criteria
733
+ * @param {string} [expand] Extra fields to fetch
734
+ * @param {*} [options] Override http request option.
735
+ * @throws {RequiredError}
736
+ */
737
+ listProducts(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListProductsResponseClass>;
738
+ /**
739
+ * Upload a CSV file containing product factors necessary for a product. The columns must be in the following order: group,label,key,name,value. It is advised to validate the file first.
740
+ * @summary Upload product factors
741
+ * @param {string} [authorization] Bearer Token
742
+ * @param {number} [productVersionId]
743
+ * @param {any} [factors]
744
+ * @param {*} [options] Override http request option.
745
+ * @throws {RequiredError}
746
+ */
747
+ storeProductFactors(authorization?: string, productVersionId?: number, factors?: any, options?: any): AxiosPromise<StoreProductFactorsResponseClass>;
748
+ /**
749
+ * Updates the specified premium formula by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
750
+ * @summary Update the premium formula
751
+ * @param {number} id
752
+ * @param {UpdatePremiumFormulaRequestDto} updatePremiumFormulaRequestDto
753
+ * @param {string} [authorization] Bearer Token
754
+ * @param {*} [options] Override http request option.
755
+ * @throws {RequiredError}
756
+ */
757
+ updatePremiumFormula(id: number, updatePremiumFormulaRequestDto: UpdatePremiumFormulaRequestDto, authorization?: string, options?: any): AxiosPromise<UpdatePremiumFormulaResponseClass>;
758
+ /**
759
+ * Updates the specified product by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
760
+ * @summary Update the product
761
+ * @param {number} id
762
+ * @param {UpdateProductRequestDto} updateProductRequestDto
763
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
764
+ * @param {*} [options] Override http request option.
765
+ * @throws {RequiredError}
766
+ */
767
+ updateProduct(id: number, updateProductRequestDto: UpdateProductRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateProductResponseClass>;
768
+ /**
769
+ * Updates the specified product by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
770
+ * @summary Update the product
771
+ * @param {string} id
772
+ * @param {UpdateProductFieldRequestDto} updateProductFieldRequestDto
773
+ * @param {string} [authorization] Bearer Token
774
+ * @param {*} [options] Override http request option.
775
+ * @throws {RequiredError}
776
+ */
777
+ updateProductField(id: string, updateProductFieldRequestDto: UpdateProductFieldRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateProductFieldResponseClass>;
778
+ /**
779
+ * Updates the specified product version by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
780
+ * @summary Update the product version
781
+ * @param {number} id
782
+ * @param {UpdateProductVersionRequestDto} updateProductVersionRequestDto
783
+ * @param {string} [authorization] Bearer Token
784
+ * @param {*} [options] Override http request option.
785
+ * @throws {RequiredError}
786
+ */
787
+ updateProductVersion(id: number, updateProductVersionRequestDto: UpdateProductVersionRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateProductVersionResponseClass>;
788
+ /**
789
+ * Validate a CSV file containing all product factors. The columns must be in the following order: group,label,key,name,value.
790
+ * @summary Validate product factors
791
+ * @param {string} [authorization] Bearer Token
792
+ * @param {any} [factors]
793
+ * @param {*} [options] Override http request option.
794
+ * @throws {RequiredError}
795
+ */
796
+ validateProductFactors(authorization?: string, factors?: any, options?: any): AxiosPromise<GroupedProductFactorsResponseClass>;
797
+ };
798
+ /**
799
+ * Request parameters for createPremiumFormula operation in ProductsApi.
800
+ * @export
801
+ * @interface ProductsApiCreatePremiumFormulaRequest
802
+ */
803
+ export interface ProductsApiCreatePremiumFormulaRequest {
804
+ /**
805
+ *
806
+ * @type {CreatePremiumFormulaRequestDto}
807
+ * @memberof ProductsApiCreatePremiumFormula
808
+ */
809
+ readonly createPremiumFormulaRequestDto: CreatePremiumFormulaRequestDto;
810
+ /**
811
+ * Bearer Token
812
+ * @type {string}
813
+ * @memberof ProductsApiCreatePremiumFormula
814
+ */
815
+ readonly authorization?: string;
816
+ }
817
+ /**
818
+ * Request parameters for createProduct operation in ProductsApi.
819
+ * @export
820
+ * @interface ProductsApiCreateProductRequest
821
+ */
822
+ export interface ProductsApiCreateProductRequest {
823
+ /**
824
+ *
825
+ * @type {CreateProductRequestDto}
826
+ * @memberof ProductsApiCreateProduct
827
+ */
828
+ readonly createProductRequestDto: CreateProductRequestDto;
829
+ /**
830
+ * Bearer Token: provided by the login endpoint under the name accessToken.
831
+ * @type {string}
832
+ * @memberof ProductsApiCreateProduct
833
+ */
834
+ readonly authorization?: string;
835
+ }
836
+ /**
837
+ * Request parameters for createProductField operation in ProductsApi.
838
+ * @export
839
+ * @interface ProductsApiCreateProductFieldRequest
840
+ */
841
+ export interface ProductsApiCreateProductFieldRequest {
842
+ /**
843
+ *
844
+ * @type {CreateProductFieldRequestDto}
845
+ * @memberof ProductsApiCreateProductField
846
+ */
847
+ readonly createProductFieldRequestDto: CreateProductFieldRequestDto;
848
+ /**
849
+ * Bearer Token
850
+ * @type {string}
851
+ * @memberof ProductsApiCreateProductField
852
+ */
853
+ readonly authorization?: string;
854
+ }
855
+ /**
856
+ * Request parameters for deletePremiumFormula operation in ProductsApi.
857
+ * @export
858
+ * @interface ProductsApiDeletePremiumFormulaRequest
859
+ */
860
+ export interface ProductsApiDeletePremiumFormulaRequest {
861
+ /**
862
+ *
863
+ * @type {number}
864
+ * @memberof ProductsApiDeletePremiumFormula
865
+ */
866
+ readonly id: number;
867
+ /**
868
+ * Bearer Token
869
+ * @type {string}
870
+ * @memberof ProductsApiDeletePremiumFormula
871
+ */
872
+ readonly authorization?: string;
873
+ }
874
+ /**
875
+ * Request parameters for deleteProduct operation in ProductsApi.
876
+ * @export
877
+ * @interface ProductsApiDeleteProductRequest
878
+ */
879
+ export interface ProductsApiDeleteProductRequest {
880
+ /**
881
+ *
882
+ * @type {number}
883
+ * @memberof ProductsApiDeleteProduct
884
+ */
885
+ readonly id: number;
886
+ /**
887
+ * Bearer Token: provided by the login endpoint under the name accessToken.
888
+ * @type {string}
889
+ * @memberof ProductsApiDeleteProduct
890
+ */
891
+ readonly authorization?: string;
892
+ }
893
+ /**
894
+ * Request parameters for deleteProductField operation in ProductsApi.
895
+ * @export
896
+ * @interface ProductsApiDeleteProductFieldRequest
897
+ */
898
+ export interface ProductsApiDeleteProductFieldRequest {
899
+ /**
900
+ *
901
+ * @type {string}
902
+ * @memberof ProductsApiDeleteProductField
903
+ */
904
+ readonly id: string;
905
+ /**
906
+ * Bearer Token
907
+ * @type {string}
908
+ * @memberof ProductsApiDeleteProductField
909
+ */
910
+ readonly authorization?: string;
911
+ }
912
+ /**
913
+ * Request parameters for getPremiumFormula operation in ProductsApi.
914
+ * @export
915
+ * @interface ProductsApiGetPremiumFormulaRequest
916
+ */
917
+ export interface ProductsApiGetPremiumFormulaRequest {
918
+ /**
919
+ *
920
+ * @type {string}
921
+ * @memberof ProductsApiGetPremiumFormula
922
+ */
923
+ readonly id: string;
924
+ /**
925
+ * Product formula id
926
+ * @type {number}
927
+ * @memberof ProductsApiGetPremiumFormula
928
+ */
929
+ readonly id2: number;
930
+ /**
931
+ * Bearer Token
932
+ * @type {string}
933
+ * @memberof ProductsApiGetPremiumFormula
934
+ */
935
+ readonly authorization?: string;
936
+ }
937
+ /**
938
+ * Request parameters for getProductByCode operation in ProductsApi.
939
+ * @export
940
+ * @interface ProductsApiGetProductByCodeRequest
941
+ */
942
+ export interface ProductsApiGetProductByCodeRequest {
943
+ /**
944
+ * Unique identifier for the object.
945
+ * @type {string}
946
+ * @memberof ProductsApiGetProductByCode
947
+ */
948
+ readonly code: string;
949
+ /**
950
+ * Product id
951
+ * @type {number}
952
+ * @memberof ProductsApiGetProductByCode
953
+ */
954
+ readonly id: number;
955
+ /**
956
+ * Bearer Token: provided by the login endpoint under the name accessToken.
957
+ * @type {string}
958
+ * @memberof ProductsApiGetProductByCode
959
+ */
960
+ readonly authorization?: string;
961
+ /**
962
+ * Fields to expand response by
963
+ * @type {string}
964
+ * @memberof ProductsApiGetProductByCode
965
+ */
966
+ readonly expand?: string;
967
+ }
968
+ /**
969
+ * Request parameters for getProductFactor operation in ProductsApi.
970
+ * @export
971
+ * @interface ProductsApiGetProductFactorRequest
972
+ */
973
+ export interface ProductsApiGetProductFactorRequest {
974
+ /**
975
+ *
976
+ * @type {number}
977
+ * @memberof ProductsApiGetProductFactor
978
+ */
979
+ readonly id: number;
980
+ /**
981
+ * Product factor id
982
+ * @type {number}
983
+ * @memberof ProductsApiGetProductFactor
984
+ */
985
+ readonly id2: number;
986
+ /**
987
+ * Bearer Token
988
+ * @type {string}
989
+ * @memberof ProductsApiGetProductFactor
990
+ */
991
+ readonly authorization?: string;
992
+ /**
993
+ * Fields to expand response by
994
+ * @type {string}
995
+ * @memberof ProductsApiGetProductFactor
996
+ */
997
+ readonly expand?: string;
998
+ }
999
+ /**
1000
+ * Request parameters for getProductFactorValue operation in ProductsApi.
1001
+ * @export
1002
+ * @interface ProductsApiGetProductFactorValueRequest
1003
+ */
1004
+ export interface ProductsApiGetProductFactorValueRequest {
1005
+ /**
1006
+ * Product Version Id
1007
+ * @type {number}
1008
+ * @memberof ProductsApiGetProductFactorValue
1009
+ */
1010
+ readonly productVersionId: number;
1011
+ /**
1012
+ * Product factor label
1013
+ * @type {string}
1014
+ * @memberof ProductsApiGetProductFactorValue
1015
+ */
1016
+ readonly label: string;
1017
+ /**
1018
+ * Key for the product factor value
1019
+ * @type {string}
1020
+ * @memberof ProductsApiGetProductFactorValue
1021
+ */
1022
+ readonly key: string;
1023
+ /**
1024
+ * Name for the product factor value
1025
+ * @type {string}
1026
+ * @memberof ProductsApiGetProductFactorValue
1027
+ */
1028
+ readonly name: string;
1029
+ /**
1030
+ * Bearer Token
1031
+ * @type {string}
1032
+ * @memberof ProductsApiGetProductFactorValue
1033
+ */
1034
+ readonly authorization?: string;
1035
+ }
1036
+ /**
1037
+ * Request parameters for getProductField operation in ProductsApi.
1038
+ * @export
1039
+ * @interface ProductsApiGetProductFieldRequest
1040
+ */
1041
+ export interface ProductsApiGetProductFieldRequest {
1042
+ /**
1043
+ *
1044
+ * @type {string}
1045
+ * @memberof ProductsApiGetProductField
1046
+ */
1047
+ readonly id: string;
1048
+ /**
1049
+ * Bearer Token
1050
+ * @type {string}
1051
+ * @memberof ProductsApiGetProductField
1052
+ */
1053
+ readonly authorization?: string;
1054
+ }
1055
+ /**
1056
+ * Request parameters for getProductVersion operation in ProductsApi.
1057
+ * @export
1058
+ * @interface ProductsApiGetProductVersionRequest
1059
+ */
1060
+ export interface ProductsApiGetProductVersionRequest {
1061
+ /**
1062
+ *
1063
+ * @type {string}
1064
+ * @memberof ProductsApiGetProductVersion
1065
+ */
1066
+ readonly id: string;
1067
+ /**
1068
+ * Product version id
1069
+ * @type {number}
1070
+ * @memberof ProductsApiGetProductVersion
1071
+ */
1072
+ readonly id2: number;
1073
+ /**
1074
+ * Bearer Token
1075
+ * @type {string}
1076
+ * @memberof ProductsApiGetProductVersion
1077
+ */
1078
+ readonly authorization?: string;
1079
+ }
1080
+ /**
1081
+ * Request parameters for listPremiumFormulas operation in ProductsApi.
1082
+ * @export
1083
+ * @interface ProductsApiListPremiumFormulasRequest
1084
+ */
1085
+ export interface ProductsApiListPremiumFormulasRequest {
1086
+ /**
1087
+ * Bearer Token
1088
+ * @type {string}
1089
+ * @memberof ProductsApiListPremiumFormulas
1090
+ */
1091
+ readonly authorization?: string;
1092
+ /**
1093
+ * Page size
1094
+ * @type {number}
1095
+ * @memberof ProductsApiListPremiumFormulas
1096
+ */
1097
+ readonly pageSize?: number;
1098
+ /**
1099
+ * Page token
1100
+ * @type {string}
1101
+ * @memberof ProductsApiListPremiumFormulas
1102
+ */
1103
+ readonly pageToken?: string;
1104
+ /**
1105
+ * List filter
1106
+ * @type {string}
1107
+ * @memberof ProductsApiListPremiumFormulas
1108
+ */
1109
+ readonly filter?: string;
1110
+ /**
1111
+ * Search query
1112
+ * @type {string}
1113
+ * @memberof ProductsApiListPremiumFormulas
1114
+ */
1115
+ readonly search?: string;
1116
+ /**
1117
+ * Ordering criteria
1118
+ * @type {string}
1119
+ * @memberof ProductsApiListPremiumFormulas
1120
+ */
1121
+ readonly order?: string;
1122
+ /**
1123
+ * Extra fields to fetch
1124
+ * @type {string}
1125
+ * @memberof ProductsApiListPremiumFormulas
1126
+ */
1127
+ readonly expand?: string;
1128
+ }
1129
+ /**
1130
+ * Request parameters for listProductFactors operation in ProductsApi.
1131
+ * @export
1132
+ * @interface ProductsApiListProductFactorsRequest
1133
+ */
1134
+ export interface ProductsApiListProductFactorsRequest {
1135
+ /**
1136
+ * Bearer Token
1137
+ * @type {string}
1138
+ * @memberof ProductsApiListProductFactors
1139
+ */
1140
+ readonly authorization?: string;
1141
+ /**
1142
+ * Page size
1143
+ * @type {number}
1144
+ * @memberof ProductsApiListProductFactors
1145
+ */
1146
+ readonly pageSize?: number;
1147
+ /**
1148
+ * Page token
1149
+ * @type {string}
1150
+ * @memberof ProductsApiListProductFactors
1151
+ */
1152
+ readonly pageToken?: string;
1153
+ /**
1154
+ * List filter
1155
+ * @type {string}
1156
+ * @memberof ProductsApiListProductFactors
1157
+ */
1158
+ readonly filter?: string;
1159
+ /**
1160
+ * Search query
1161
+ * @type {string}
1162
+ * @memberof ProductsApiListProductFactors
1163
+ */
1164
+ readonly search?: string;
1165
+ /**
1166
+ * Ordering criteria
1167
+ * @type {string}
1168
+ * @memberof ProductsApiListProductFactors
1169
+ */
1170
+ readonly order?: string;
1171
+ /**
1172
+ * Extra fields to fetch
1173
+ * @type {string}
1174
+ * @memberof ProductsApiListProductFactors
1175
+ */
1176
+ readonly expand?: string;
1177
+ }
1178
+ /**
1179
+ * Request parameters for listProductFieldTypes operation in ProductsApi.
1180
+ * @export
1181
+ * @interface ProductsApiListProductFieldTypesRequest
1182
+ */
1183
+ export interface ProductsApiListProductFieldTypesRequest {
1184
+ /**
1185
+ * Bearer Token
1186
+ * @type {string}
1187
+ * @memberof ProductsApiListProductFieldTypes
1188
+ */
1189
+ readonly authorization?: string;
1190
+ /**
1191
+ * Page size
1192
+ * @type {number}
1193
+ * @memberof ProductsApiListProductFieldTypes
1194
+ */
1195
+ readonly pageSize?: number;
1196
+ /**
1197
+ * Page token
1198
+ * @type {string}
1199
+ * @memberof ProductsApiListProductFieldTypes
1200
+ */
1201
+ readonly pageToken?: string;
1202
+ /**
1203
+ * List filter
1204
+ * @type {string}
1205
+ * @memberof ProductsApiListProductFieldTypes
1206
+ */
1207
+ readonly filter?: string;
1208
+ /**
1209
+ * Search query
1210
+ * @type {string}
1211
+ * @memberof ProductsApiListProductFieldTypes
1212
+ */
1213
+ readonly search?: string;
1214
+ /**
1215
+ * Ordering criteria
1216
+ * @type {string}
1217
+ * @memberof ProductsApiListProductFieldTypes
1218
+ */
1219
+ readonly order?: string;
1220
+ /**
1221
+ * Extra fields to fetch
1222
+ * @type {string}
1223
+ * @memberof ProductsApiListProductFieldTypes
1224
+ */
1225
+ readonly expand?: string;
1226
+ }
1227
+ /**
1228
+ * Request parameters for listProductFields operation in ProductsApi.
1229
+ * @export
1230
+ * @interface ProductsApiListProductFieldsRequest
1231
+ */
1232
+ export interface ProductsApiListProductFieldsRequest {
1233
+ /**
1234
+ * Bearer Token
1235
+ * @type {string}
1236
+ * @memberof ProductsApiListProductFields
1237
+ */
1238
+ readonly authorization?: string;
1239
+ /**
1240
+ * Page size
1241
+ * @type {number}
1242
+ * @memberof ProductsApiListProductFields
1243
+ */
1244
+ readonly pageSize?: number;
1245
+ /**
1246
+ * Page token
1247
+ * @type {string}
1248
+ * @memberof ProductsApiListProductFields
1249
+ */
1250
+ readonly pageToken?: string;
1251
+ /**
1252
+ * List filter
1253
+ * @type {string}
1254
+ * @memberof ProductsApiListProductFields
1255
+ */
1256
+ readonly filter?: string;
1257
+ /**
1258
+ * Search query
1259
+ * @type {string}
1260
+ * @memberof ProductsApiListProductFields
1261
+ */
1262
+ readonly search?: string;
1263
+ /**
1264
+ * Ordering criteria
1265
+ * @type {string}
1266
+ * @memberof ProductsApiListProductFields
1267
+ */
1268
+ readonly order?: string;
1269
+ /**
1270
+ * Extra fields to fetch
1271
+ * @type {string}
1272
+ * @memberof ProductsApiListProductFields
1273
+ */
1274
+ readonly expand?: string;
1275
+ }
1276
+ /**
1277
+ * Request parameters for listProducts operation in ProductsApi.
1278
+ * @export
1279
+ * @interface ProductsApiListProductsRequest
1280
+ */
1281
+ export interface ProductsApiListProductsRequest {
1282
+ /**
1283
+ * Bearer Token: provided by the login endpoint under the name accessToken.
1284
+ * @type {string}
1285
+ * @memberof ProductsApiListProducts
1286
+ */
1287
+ readonly authorization?: string;
1288
+ /**
1289
+ * Page size
1290
+ * @type {number}
1291
+ * @memberof ProductsApiListProducts
1292
+ */
1293
+ readonly pageSize?: number;
1294
+ /**
1295
+ * Page token
1296
+ * @type {string}
1297
+ * @memberof ProductsApiListProducts
1298
+ */
1299
+ readonly pageToken?: string;
1300
+ /**
1301
+ * List filter
1302
+ * @type {string}
1303
+ * @memberof ProductsApiListProducts
1304
+ */
1305
+ readonly filter?: string;
1306
+ /**
1307
+ * Search query
1308
+ * @type {string}
1309
+ * @memberof ProductsApiListProducts
1310
+ */
1311
+ readonly search?: string;
1312
+ /**
1313
+ * Ordering criteria
1314
+ * @type {string}
1315
+ * @memberof ProductsApiListProducts
1316
+ */
1317
+ readonly order?: string;
1318
+ /**
1319
+ * Extra fields to fetch
1320
+ * @type {string}
1321
+ * @memberof ProductsApiListProducts
1322
+ */
1323
+ readonly expand?: string;
1324
+ }
1325
+ /**
1326
+ * Request parameters for storeProductFactors operation in ProductsApi.
1327
+ * @export
1328
+ * @interface ProductsApiStoreProductFactorsRequest
1329
+ */
1330
+ export interface ProductsApiStoreProductFactorsRequest {
1331
+ /**
1332
+ * Bearer Token
1333
+ * @type {string}
1334
+ * @memberof ProductsApiStoreProductFactors
1335
+ */
1336
+ readonly authorization?: string;
1337
+ /**
1338
+ *
1339
+ * @type {number}
1340
+ * @memberof ProductsApiStoreProductFactors
1341
+ */
1342
+ readonly productVersionId?: number;
1343
+ /**
1344
+ *
1345
+ * @type {any}
1346
+ * @memberof ProductsApiStoreProductFactors
1347
+ */
1348
+ readonly factors?: any;
1349
+ }
1350
+ /**
1351
+ * Request parameters for updatePremiumFormula operation in ProductsApi.
1352
+ * @export
1353
+ * @interface ProductsApiUpdatePremiumFormulaRequest
1354
+ */
1355
+ export interface ProductsApiUpdatePremiumFormulaRequest {
1356
+ /**
1357
+ *
1358
+ * @type {number}
1359
+ * @memberof ProductsApiUpdatePremiumFormula
1360
+ */
1361
+ readonly id: number;
1362
+ /**
1363
+ *
1364
+ * @type {UpdatePremiumFormulaRequestDto}
1365
+ * @memberof ProductsApiUpdatePremiumFormula
1366
+ */
1367
+ readonly updatePremiumFormulaRequestDto: UpdatePremiumFormulaRequestDto;
1368
+ /**
1369
+ * Bearer Token
1370
+ * @type {string}
1371
+ * @memberof ProductsApiUpdatePremiumFormula
1372
+ */
1373
+ readonly authorization?: string;
1374
+ }
1375
+ /**
1376
+ * Request parameters for updateProduct operation in ProductsApi.
1377
+ * @export
1378
+ * @interface ProductsApiUpdateProductRequest
1379
+ */
1380
+ export interface ProductsApiUpdateProductRequest {
1381
+ /**
1382
+ *
1383
+ * @type {number}
1384
+ * @memberof ProductsApiUpdateProduct
1385
+ */
1386
+ readonly id: number;
1387
+ /**
1388
+ *
1389
+ * @type {UpdateProductRequestDto}
1390
+ * @memberof ProductsApiUpdateProduct
1391
+ */
1392
+ readonly updateProductRequestDto: UpdateProductRequestDto;
1393
+ /**
1394
+ * Bearer Token: provided by the login endpoint under the name accessToken.
1395
+ * @type {string}
1396
+ * @memberof ProductsApiUpdateProduct
1397
+ */
1398
+ readonly authorization?: string;
1399
+ }
1400
+ /**
1401
+ * Request parameters for updateProductField operation in ProductsApi.
1402
+ * @export
1403
+ * @interface ProductsApiUpdateProductFieldRequest
1404
+ */
1405
+ export interface ProductsApiUpdateProductFieldRequest {
1406
+ /**
1407
+ *
1408
+ * @type {string}
1409
+ * @memberof ProductsApiUpdateProductField
1410
+ */
1411
+ readonly id: string;
1412
+ /**
1413
+ *
1414
+ * @type {UpdateProductFieldRequestDto}
1415
+ * @memberof ProductsApiUpdateProductField
1416
+ */
1417
+ readonly updateProductFieldRequestDto: UpdateProductFieldRequestDto;
1418
+ /**
1419
+ * Bearer Token
1420
+ * @type {string}
1421
+ * @memberof ProductsApiUpdateProductField
1422
+ */
1423
+ readonly authorization?: string;
1424
+ }
1425
+ /**
1426
+ * Request parameters for updateProductVersion operation in ProductsApi.
1427
+ * @export
1428
+ * @interface ProductsApiUpdateProductVersionRequest
1429
+ */
1430
+ export interface ProductsApiUpdateProductVersionRequest {
1431
+ /**
1432
+ *
1433
+ * @type {number}
1434
+ * @memberof ProductsApiUpdateProductVersion
1435
+ */
1436
+ readonly id: number;
1437
+ /**
1438
+ *
1439
+ * @type {UpdateProductVersionRequestDto}
1440
+ * @memberof ProductsApiUpdateProductVersion
1441
+ */
1442
+ readonly updateProductVersionRequestDto: UpdateProductVersionRequestDto;
1443
+ /**
1444
+ * Bearer Token
1445
+ * @type {string}
1446
+ * @memberof ProductsApiUpdateProductVersion
1447
+ */
1448
+ readonly authorization?: string;
1449
+ }
1450
+ /**
1451
+ * Request parameters for validateProductFactors operation in ProductsApi.
1452
+ * @export
1453
+ * @interface ProductsApiValidateProductFactorsRequest
1454
+ */
1455
+ export interface ProductsApiValidateProductFactorsRequest {
1456
+ /**
1457
+ * Bearer Token
1458
+ * @type {string}
1459
+ * @memberof ProductsApiValidateProductFactors
1460
+ */
1461
+ readonly authorization?: string;
1462
+ /**
1463
+ *
1464
+ * @type {any}
1465
+ * @memberof ProductsApiValidateProductFactors
1466
+ */
1467
+ readonly factors?: any;
1468
+ }
1469
+ /**
1470
+ * ProductsApi - object-oriented interface
1471
+ * @export
1472
+ * @class ProductsApi
1473
+ * @extends {BaseAPI}
1474
+ */
1475
+ export declare class ProductsApi extends BaseAPI {
1476
+ /**
1477
+ * Creates a premium formula.
1478
+ * @summary Create the premium formula
1479
+ * @param {ProductsApiCreatePremiumFormulaRequest} requestParameters Request parameters.
1480
+ * @param {*} [options] Override http request option.
1481
+ * @throws {RequiredError}
1482
+ * @memberof ProductsApi
1483
+ */
1484
+ createPremiumFormula(requestParameters: ProductsApiCreatePremiumFormulaRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePremiumFormulaResponseClass, any>>;
1485
+ /**
1486
+ * Create a blank product. The product cannot be used as long as it is missing product factors, insured objects and premium formulas.
1487
+ * @summary Create the product
1488
+ * @param {ProductsApiCreateProductRequest} requestParameters Request parameters.
1489
+ * @param {*} [options] Override http request option.
1490
+ * @throws {RequiredError}
1491
+ * @memberof ProductsApi
1492
+ */
1493
+ createProduct(requestParameters: ProductsApiCreateProductRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateProductResponseClass, any>>;
1494
+ /**
1495
+ * Create a product field in the database.
1496
+ * @summary Create the product field
1497
+ * @param {ProductsApiCreateProductFieldRequest} requestParameters Request parameters.
1498
+ * @param {*} [options] Override http request option.
1499
+ * @throws {RequiredError}
1500
+ * @memberof ProductsApi
1501
+ */
1502
+ createProductField(requestParameters: ProductsApiCreateProductFieldRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateProductFieldResponseClass, any>>;
1503
+ /**
1504
+ * Permanently deletes the premium formula. Supply the unique id that was returned when you created the premium formula and this will delete it.
1505
+ * @summary Delete the premium formula
1506
+ * @param {ProductsApiDeletePremiumFormulaRequest} requestParameters Request parameters.
1507
+ * @param {*} [options] Override http request option.
1508
+ * @throws {RequiredError}
1509
+ * @memberof ProductsApi
1510
+ */
1511
+ deletePremiumFormula(requestParameters: ProductsApiDeletePremiumFormulaRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
1512
+ /**
1513
+ * Permanently deletes the product. Supply the unique id that was returned when you created the product and this will delete it.
1514
+ * @summary Delete the product
1515
+ * @param {ProductsApiDeleteProductRequest} requestParameters Request parameters.
1516
+ * @param {*} [options] Override http request option.
1517
+ * @throws {RequiredError}
1518
+ * @memberof ProductsApi
1519
+ */
1520
+ deleteProduct(requestParameters: ProductsApiDeleteProductRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
1521
+ /**
1522
+ * Permanently deletes the product. Supply the unique id that was returned when you created the product and this will delete it.
1523
+ * @summary Delete the product
1524
+ * @param {ProductsApiDeleteProductFieldRequest} requestParameters Request parameters.
1525
+ * @param {*} [options] Override http request option.
1526
+ * @throws {RequiredError}
1527
+ * @memberof ProductsApi
1528
+ */
1529
+ deleteProductField(requestParameters: ProductsApiDeleteProductFieldRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
1530
+ /**
1531
+ * Retrieves the details of the premium formula that was previously created. Supply the unique premium formula id that was returned when you created it and Emil Api will return the corresponding premium formula information.
1532
+ * @summary Retrieve the premium formula
1533
+ * @param {ProductsApiGetPremiumFormulaRequest} requestParameters Request parameters.
1534
+ * @param {*} [options] Override http request option.
1535
+ * @throws {RequiredError}
1536
+ * @memberof ProductsApi
1537
+ */
1538
+ getPremiumFormula(requestParameters: ProductsApiGetPremiumFormulaRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPremiumFormulaResponseClass, any>>;
1539
+ /**
1540
+ * Retrieves the details of the product that was previously created. Supply the unique product code that was returned when you created it and Emil Api will return the corresponding product information.
1541
+ * @summary Retrieve the product
1542
+ * @param {ProductsApiGetProductByCodeRequest} requestParameters Request parameters.
1543
+ * @param {*} [options] Override http request option.
1544
+ * @throws {RequiredError}
1545
+ * @memberof ProductsApi
1546
+ */
1547
+ getProductByCode(requestParameters: ProductsApiGetProductByCodeRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetProductResponseClass, any>>;
1548
+ /**
1549
+ * Retrieves the details of the product factor that was previously created. Supply the unique product factor id that was returned when you created it and Emil Api will return the corresponding product factor information.
1550
+ * @summary Retrieve the product factor
1551
+ * @param {ProductsApiGetProductFactorRequest} requestParameters Request parameters.
1552
+ * @param {*} [options] Override http request option.
1553
+ * @throws {RequiredError}
1554
+ * @memberof ProductsApi
1555
+ */
1556
+ getProductFactor(requestParameters: ProductsApiGetProductFactorRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetProductFactorResponseClass, any>>;
1557
+ /**
1558
+ * Get the value corresponding to a specific product factor.
1559
+ * @summary Get product factor value
1560
+ * @param {ProductsApiGetProductFactorValueRequest} requestParameters Request parameters.
1561
+ * @param {*} [options] Override http request option.
1562
+ * @throws {RequiredError}
1563
+ * @memberof ProductsApi
1564
+ */
1565
+ getProductFactorValue(requestParameters: ProductsApiGetProductFactorValueRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetProductFactorValueResponseClass, any>>;
1566
+ /**
1567
+ * Retrieves the details of the product field that was previously created. Supply the unique product field id that was returned when you created it and Emil Api will return the corresponding product field information.
1568
+ * @summary Retrieve the product field
1569
+ * @param {ProductsApiGetProductFieldRequest} requestParameters Request parameters.
1570
+ * @param {*} [options] Override http request option.
1571
+ * @throws {RequiredError}
1572
+ * @memberof ProductsApi
1573
+ */
1574
+ getProductField(requestParameters: ProductsApiGetProductFieldRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetProductFieldResponseClass, any>>;
1575
+ /**
1576
+ * Retrieves the details of the product version that was previously created. Supply the unique product version id that was returned when you created it and Emil Api will return the corresponding product version information.
1577
+ * @summary Retrieve the product version
1578
+ * @param {ProductsApiGetProductVersionRequest} requestParameters Request parameters.
1579
+ * @param {*} [options] Override http request option.
1580
+ * @throws {RequiredError}
1581
+ * @memberof ProductsApi
1582
+ */
1583
+ getProductVersion(requestParameters: ProductsApiGetProductVersionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetProductVersionResponseClass, any>>;
1584
+ /**
1585
+ * Returns a list of premium formulas you have previously created. The premium formulas are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
1586
+ * @summary List premium formulas
1587
+ * @param {ProductsApiListPremiumFormulasRequest} requestParameters Request parameters.
1588
+ * @param {*} [options] Override http request option.
1589
+ * @throws {RequiredError}
1590
+ * @memberof ProductsApi
1591
+ */
1592
+ listPremiumFormulas(requestParameters?: ProductsApiListPremiumFormulasRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPremiumFormulasResponseClass, any>>;
1593
+ /**
1594
+ * 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.
1595
+ * @summary List product factors
1596
+ * @param {ProductsApiListProductFactorsRequest} requestParameters Request parameters.
1597
+ * @param {*} [options] Override http request option.
1598
+ * @throws {RequiredError}
1599
+ * @memberof ProductsApi
1600
+ */
1601
+ listProductFactors(requestParameters?: ProductsApiListProductFactorsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListProductFactorsResponseClass, any>>;
1602
+ /**
1603
+ * Returns a list of product field types you have previously created. The product field types are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
1604
+ * @summary List product field types
1605
+ * @param {ProductsApiListProductFieldTypesRequest} requestParameters Request parameters.
1606
+ * @param {*} [options] Override http request option.
1607
+ * @throws {RequiredError}
1608
+ * @memberof ProductsApi
1609
+ */
1610
+ listProductFieldTypes(requestParameters?: ProductsApiListProductFieldTypesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListProductFieldTypesResponseClass, any>>;
1611
+ /**
1612
+ * Returns a list of product fields you have previously created. The product fields are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
1613
+ * @summary List product fields
1614
+ * @param {ProductsApiListProductFieldsRequest} requestParameters Request parameters.
1615
+ * @param {*} [options] Override http request option.
1616
+ * @throws {RequiredError}
1617
+ * @memberof ProductsApi
1618
+ */
1619
+ listProductFields(requestParameters?: ProductsApiListProductFieldsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListProductFieldsResponseClass, any>>;
1620
+ /**
1621
+ * 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.
1622
+ * @summary List products
1623
+ * @param {ProductsApiListProductsRequest} requestParameters Request parameters.
1624
+ * @param {*} [options] Override http request option.
1625
+ * @throws {RequiredError}
1626
+ * @memberof ProductsApi
1627
+ */
1628
+ listProducts(requestParameters?: ProductsApiListProductsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListProductsResponseClass, any>>;
1629
+ /**
1630
+ * Upload a CSV file containing product factors necessary for a product. The columns must be in the following order: group,label,key,name,value. It is advised to validate the file first.
1631
+ * @summary Upload product factors
1632
+ * @param {ProductsApiStoreProductFactorsRequest} requestParameters Request parameters.
1633
+ * @param {*} [options] Override http request option.
1634
+ * @throws {RequiredError}
1635
+ * @memberof ProductsApi
1636
+ */
1637
+ storeProductFactors(requestParameters?: ProductsApiStoreProductFactorsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<StoreProductFactorsResponseClass, any>>;
1638
+ /**
1639
+ * Updates the specified premium formula by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
1640
+ * @summary Update the premium formula
1641
+ * @param {ProductsApiUpdatePremiumFormulaRequest} requestParameters Request parameters.
1642
+ * @param {*} [options] Override http request option.
1643
+ * @throws {RequiredError}
1644
+ * @memberof ProductsApi
1645
+ */
1646
+ updatePremiumFormula(requestParameters: ProductsApiUpdatePremiumFormulaRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdatePremiumFormulaResponseClass, any>>;
1647
+ /**
1648
+ * Updates the specified product by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
1649
+ * @summary Update the product
1650
+ * @param {ProductsApiUpdateProductRequest} requestParameters Request parameters.
1651
+ * @param {*} [options] Override http request option.
1652
+ * @throws {RequiredError}
1653
+ * @memberof ProductsApi
1654
+ */
1655
+ updateProduct(requestParameters: ProductsApiUpdateProductRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateProductResponseClass, any>>;
1656
+ /**
1657
+ * Updates the specified product by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
1658
+ * @summary Update the product
1659
+ * @param {ProductsApiUpdateProductFieldRequest} requestParameters Request parameters.
1660
+ * @param {*} [options] Override http request option.
1661
+ * @throws {RequiredError}
1662
+ * @memberof ProductsApi
1663
+ */
1664
+ updateProductField(requestParameters: ProductsApiUpdateProductFieldRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateProductFieldResponseClass, any>>;
1665
+ /**
1666
+ * Updates the specified product version by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
1667
+ * @summary Update the product version
1668
+ * @param {ProductsApiUpdateProductVersionRequest} requestParameters Request parameters.
1669
+ * @param {*} [options] Override http request option.
1670
+ * @throws {RequiredError}
1671
+ * @memberof ProductsApi
1672
+ */
1673
+ updateProductVersion(requestParameters: ProductsApiUpdateProductVersionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateProductVersionResponseClass, any>>;
1674
+ /**
1675
+ * Validate a CSV file containing all product factors. The columns must be in the following order: group,label,key,name,value.
1676
+ * @summary Validate product factors
1677
+ * @param {ProductsApiValidateProductFactorsRequest} requestParameters Request parameters.
1678
+ * @param {*} [options] Override http request option.
1679
+ * @throws {RequiredError}
1680
+ * @memberof ProductsApi
1681
+ */
1682
+ validateProductFactors(requestParameters?: ProductsApiValidateProductFactorsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GroupedProductFactorsResponseClass, any>>;
1683
+ }