@emilgroup/insurance-v2-sdk-node 0.0.0-stage → 1.0.1-beta.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 (1009) hide show
  1. package/.openapi-generator/FILES +341 -0
  2. package/.openapi-generator/VERSION +1 -0
  3. package/.openapi-generator-ignore +23 -0
  4. package/README.md +83 -2
  5. package/api/group-policies-api.ts +2699 -0
  6. package/api/group-tariffs-api.ts +2856 -0
  7. package/api/jobs-api.ts +760 -0
  8. package/api/leads-api.ts +2118 -0
  9. package/api/policies-api.ts +2427 -0
  10. package/api/tariffs-api.ts +6383 -0
  11. package/api.ts +41 -0
  12. package/base.ts +396 -0
  13. package/common.ts +200 -0
  14. package/configuration.ts +118 -0
  15. package/dist/api/group-policies-api.d.ts +1518 -0
  16. package/dist/api/group-policies-api.js +2157 -0
  17. package/dist/api/group-tariffs-api.d.ts +1625 -0
  18. package/dist/api/group-tariffs-api.js +2236 -0
  19. package/dist/api/jobs-api.d.ts +426 -0
  20. package/dist/api/jobs-api.js +712 -0
  21. package/dist/api/leads-api.d.ts +1189 -0
  22. package/dist/api/leads-api.js +1744 -0
  23. package/dist/api/policies-api.d.ts +1373 -0
  24. package/dist/api/policies-api.js +1921 -0
  25. package/dist/api/tariffs-api.d.ts +3636 -0
  26. package/dist/api/tariffs-api.js +4898 -0
  27. package/dist/api.d.ts +17 -0
  28. package/dist/api.js +35 -0
  29. package/dist/base.d.ts +97 -0
  30. package/dist/base.js +493 -0
  31. package/dist/common.d.ts +92 -0
  32. package/dist/common.js +278 -0
  33. package/dist/configuration.d.ts +96 -0
  34. package/dist/configuration.js +52 -0
  35. package/dist/index.d.ts +15 -0
  36. package/dist/index.js +36 -0
  37. package/dist/models/accept-lead-body.d.ts +30 -0
  38. package/dist/models/accept-lead-body.js +15 -0
  39. package/dist/models/accept-lead-response.d.ts +39 -0
  40. package/dist/models/accept-lead-response.js +15 -0
  41. package/dist/models/activate-group-policy-body.d.ts +24 -0
  42. package/dist/models/activate-group-policy-body.js +15 -0
  43. package/dist/models/activate-group-policy-response.d.ts +32 -0
  44. package/dist/models/activate-group-policy-response.js +15 -0
  45. package/dist/models/actor.d.ts +21 -0
  46. package/dist/models/actor.js +25 -0
  47. package/dist/models/analyze-config-file-body.d.ts +68 -0
  48. package/dist/models/analyze-config-file-body.js +15 -0
  49. package/dist/models/analyze-config-file-response.d.ts +88 -0
  50. package/dist/models/analyze-config-file-response.js +15 -0
  51. package/dist/models/any.d.ts +25 -0
  52. package/dist/models/any.js +15 -0
  53. package/dist/models/applied-factor.d.ts +30 -0
  54. package/dist/models/applied-factor.js +15 -0
  55. package/dist/models/approval-role.d.ts +30 -0
  56. package/dist/models/approval-role.js +15 -0
  57. package/dist/models/asset-status.d.ts +22 -0
  58. package/dist/models/asset-status.js +26 -0
  59. package/dist/models/available-group-tariff.d.ts +44 -0
  60. package/dist/models/available-group-tariff.js +15 -0
  61. package/dist/models/available-tariff.d.ts +55 -0
  62. package/dist/models/available-tariff.js +15 -0
  63. package/dist/models/available-transition.d.ts +55 -0
  64. package/dist/models/available-transition.js +15 -0
  65. package/dist/models/available-version.d.ts +92 -0
  66. package/dist/models/available-version.js +15 -0
  67. package/dist/models/billing-config.d.ts +36 -0
  68. package/dist/models/billing-config.js +15 -0
  69. package/dist/models/calculate-group-policy-adjustments-body.d.ts +43 -0
  70. package/dist/models/calculate-group-policy-adjustments-body.js +15 -0
  71. package/dist/models/calculate-group-policy-adjustments-response.d.ts +37 -0
  72. package/dist/models/calculate-group-policy-adjustments-response.js +15 -0
  73. package/dist/models/cancel-job-response.d.ts +25 -0
  74. package/dist/models/cancel-job-response.js +15 -0
  75. package/dist/models/change-kind.d.ts +22 -0
  76. package/dist/models/change-kind.js +26 -0
  77. package/dist/models/check-group-policy-upgrade-body.d.ts +30 -0
  78. package/dist/models/check-group-policy-upgrade-body.js +15 -0
  79. package/dist/models/check-group-policy-upgrade-response.d.ts +25 -0
  80. package/dist/models/check-group-policy-upgrade-response.js +15 -0
  81. package/dist/models/check-policy-upgrade-body.d.ts +30 -0
  82. package/dist/models/check-policy-upgrade-body.js +15 -0
  83. package/dist/models/check-policy-upgrade-response.d.ts +25 -0
  84. package/dist/models/check-policy-upgrade-response.js +15 -0
  85. package/dist/models/child-fallback.d.ts +21 -0
  86. package/dist/models/child-fallback.js +25 -0
  87. package/dist/models/configuration-pin.d.ts +42 -0
  88. package/dist/models/configuration-pin.js +15 -0
  89. package/dist/models/conflict-reason.d.ts +36 -0
  90. package/dist/models/conflict-reason.js +15 -0
  91. package/dist/models/contract-default-kind.d.ts +23 -0
  92. package/dist/models/contract-default-kind.js +27 -0
  93. package/dist/models/contract-unresolved-reason.d.ts +20 -0
  94. package/dist/models/contract-unresolved-reason.js +24 -0
  95. package/dist/models/core-config-file-kind.d.ts +21 -0
  96. package/dist/models/core-config-file-kind.js +25 -0
  97. package/dist/models/core-config-file.d.ts +151 -0
  98. package/dist/models/core-config-file.js +15 -0
  99. package/dist/models/core-config.d.ts +127 -0
  100. package/dist/models/core-config.js +15 -0
  101. package/dist/models/correct-group-policy-body.d.ts +61 -0
  102. package/dist/models/correct-group-policy-body.js +15 -0
  103. package/dist/models/correct-group-policy-response.d.ts +31 -0
  104. package/dist/models/correct-group-policy-response.js +15 -0
  105. package/dist/models/correct-policy-body.d.ts +55 -0
  106. package/dist/models/correct-policy-body.js +15 -0
  107. package/dist/models/correct-policy-response.d.ts +44 -0
  108. package/dist/models/correct-policy-response.js +15 -0
  109. package/dist/models/coverage-amount.d.ts +30 -0
  110. package/dist/models/coverage-amount.js +15 -0
  111. package/dist/models/coverage-approval-limit.d.ts +30 -0
  112. package/dist/models/coverage-approval-limit.js +15 -0
  113. package/dist/models/coverage-billing.d.ts +30 -0
  114. package/dist/models/coverage-billing.js +15 -0
  115. package/dist/models/coverage-category.d.ts +56 -0
  116. package/dist/models/coverage-category.js +15 -0
  117. package/dist/models/coverage-deductible.d.ts +67 -0
  118. package/dist/models/coverage-deductible.js +15 -0
  119. package/dist/models/coverage-detail.d.ts +53 -0
  120. package/dist/models/coverage-detail.js +15 -0
  121. package/dist/models/coverage-group-policy.d.ts +42 -0
  122. package/dist/models/coverage-group-policy.js +15 -0
  123. package/dist/models/coverage-insured-object.d.ts +42 -0
  124. package/dist/models/coverage-insured-object.js +15 -0
  125. package/dist/models/coverage-named.d.ts +37 -0
  126. package/dist/models/coverage-named.js +15 -0
  127. package/dist/models/coverage-policy.d.ts +55 -0
  128. package/dist/models/coverage-policy.js +15 -0
  129. package/dist/models/coverage-term-detail.d.ts +49 -0
  130. package/dist/models/coverage-term-detail.js +15 -0
  131. package/dist/models/coverage-variant.d.ts +30 -0
  132. package/dist/models/coverage-variant.js +15 -0
  133. package/dist/models/coverage-waiting-period.d.ts +42 -0
  134. package/dist/models/coverage-waiting-period.js +15 -0
  135. package/dist/models/create-config-file-upload-body.d.ts +30 -0
  136. package/dist/models/create-config-file-upload-body.js +15 -0
  137. package/dist/models/create-config-file-upload-response.d.ts +36 -0
  138. package/dist/models/create-config-file-upload-response.js +15 -0
  139. package/dist/models/create-core-config-body.d.ts +42 -0
  140. package/dist/models/create-core-config-body.js +15 -0
  141. package/dist/models/create-core-config-response.d.ts +25 -0
  142. package/dist/models/create-core-config-response.js +15 -0
  143. package/dist/models/create-detail-export-job-request.d.ts +56 -0
  144. package/dist/models/create-detail-export-job-request.js +15 -0
  145. package/dist/models/create-detail-export-job-response.d.ts +25 -0
  146. package/dist/models/create-detail-export-job-response.js +15 -0
  147. package/dist/models/create-export-job-request.d.ts +68 -0
  148. package/dist/models/create-export-job-request.js +15 -0
  149. package/dist/models/create-export-job-response.d.ts +25 -0
  150. package/dist/models/create-export-job-response.js +15 -0
  151. package/dist/models/create-generation-body.d.ts +42 -0
  152. package/dist/models/create-generation-body.js +15 -0
  153. package/dist/models/create-generation-response.d.ts +32 -0
  154. package/dist/models/create-generation-response.js +15 -0
  155. package/dist/models/create-group-core-config-body.d.ts +42 -0
  156. package/dist/models/create-group-core-config-body.js +15 -0
  157. package/dist/models/create-group-core-config-response.d.ts +25 -0
  158. package/dist/models/create-group-core-config-response.js +15 -0
  159. package/dist/models/create-group-generation-body.d.ts +30 -0
  160. package/dist/models/create-group-generation-body.js +15 -0
  161. package/dist/models/create-group-generation-response.d.ts +25 -0
  162. package/dist/models/create-group-generation-response.js +15 -0
  163. package/dist/models/create-group-policy-request.d.ts +68 -0
  164. package/dist/models/create-group-policy-request.js +15 -0
  165. package/dist/models/create-group-policy-response.d.ts +32 -0
  166. package/dist/models/create-group-policy-response.js +15 -0
  167. package/dist/models/create-group-tariff-request.d.ts +48 -0
  168. package/dist/models/create-group-tariff-request.js +15 -0
  169. package/dist/models/create-group-tariff-response.d.ts +25 -0
  170. package/dist/models/create-group-tariff-response.js +15 -0
  171. package/dist/models/create-group-version-body.d.ts +30 -0
  172. package/dist/models/create-group-version-body.js +15 -0
  173. package/dist/models/create-group-version-response.d.ts +25 -0
  174. package/dist/models/create-group-version-response.js +15 -0
  175. package/dist/models/create-lead-import-upload-request.d.ts +30 -0
  176. package/dist/models/create-lead-import-upload-request.js +15 -0
  177. package/dist/models/create-lead-import-upload-response.d.ts +36 -0
  178. package/dist/models/create-lead-import-upload-response.js +15 -0
  179. package/dist/models/create-lead-request.d.ts +56 -0
  180. package/dist/models/create-lead-request.js +15 -0
  181. package/dist/models/create-lead-response.d.ts +32 -0
  182. package/dist/models/create-lead-response.js +15 -0
  183. package/dist/models/create-line-of-insurance-request.d.ts +32 -0
  184. package/dist/models/create-line-of-insurance-request.js +15 -0
  185. package/dist/models/create-line-of-insurance-response.d.ts +25 -0
  186. package/dist/models/create-line-of-insurance-response.js +15 -0
  187. package/dist/models/create-policy-request.d.ts +67 -0
  188. package/dist/models/create-policy-request.js +15 -0
  189. package/dist/models/create-policy-response.d.ts +32 -0
  190. package/dist/models/create-policy-response.js +15 -0
  191. package/dist/models/create-tariff-request.d.ts +48 -0
  192. package/dist/models/create-tariff-request.js +15 -0
  193. package/dist/models/create-tariff-response.d.ts +25 -0
  194. package/dist/models/create-tariff-response.js +15 -0
  195. package/dist/models/create-version-body.d.ts +30 -0
  196. package/dist/models/create-version-body.js +15 -0
  197. package/dist/models/create-version-response.d.ts +25 -0
  198. package/dist/models/create-version-response.js +15 -0
  199. package/dist/models/delete-factor-response.d.ts +25 -0
  200. package/dist/models/delete-factor-response.js +15 -0
  201. package/dist/models/delete-named-range-file-response.d.ts +25 -0
  202. package/dist/models/delete-named-range-file-response.js +15 -0
  203. package/dist/models/detach-policy-body.d.ts +30 -0
  204. package/dist/models/detach-policy-body.js +15 -0
  205. package/dist/models/detach-policy-response.d.ts +38 -0
  206. package/dist/models/detach-policy-response.js +15 -0
  207. package/dist/models/discard-core-config-response.d.ts +25 -0
  208. package/dist/models/discard-core-config-response.js +15 -0
  209. package/dist/models/discard-group-version-response.d.ts +25 -0
  210. package/dist/models/discard-group-version-response.js +15 -0
  211. package/dist/models/discard-version-response.d.ts +25 -0
  212. package/dist/models/discard-version-response.js +15 -0
  213. package/dist/models/endorse-policy-body.d.ts +37 -0
  214. package/dist/models/endorse-policy-body.js +15 -0
  215. package/dist/models/endorse-policy-response.d.ts +32 -0
  216. package/dist/models/endorse-policy-response.js +15 -0
  217. package/dist/models/estimate-error.d.ts +36 -0
  218. package/dist/models/estimate-error.js +15 -0
  219. package/dist/models/estimate-lead-premium-response.d.ts +25 -0
  220. package/dist/models/estimate-lead-premium-response.js +15 -0
  221. package/dist/models/estimate-policy-premium-response.d.ts +25 -0
  222. package/dist/models/estimate-policy-premium-response.js +15 -0
  223. package/dist/models/export-column.d.ts +36 -0
  224. package/dist/models/export-column.js +15 -0
  225. package/dist/models/expression-context.d.ts +37 -0
  226. package/dist/models/expression-context.js +15 -0
  227. package/dist/models/expression-kind.d.ts +21 -0
  228. package/dist/models/expression-kind.js +25 -0
  229. package/dist/models/expression-problem.d.ts +48 -0
  230. package/dist/models/expression-problem.js +15 -0
  231. package/dist/models/factor-row.d.ts +36 -0
  232. package/dist/models/factor-row.js +15 -0
  233. package/dist/models/field-source.d.ts +21 -0
  234. package/dist/models/field-source.js +25 -0
  235. package/dist/models/file-cell-ref.d.ts +30 -0
  236. package/dist/models/file-cell-ref.js +15 -0
  237. package/dist/models/file-detected.d.ts +72 -0
  238. package/dist/models/file-detected.js +15 -0
  239. package/dist/models/file-finding.d.ts +60 -0
  240. package/dist/models/file-finding.js +15 -0
  241. package/dist/models/file-preview-cell.d.ts +36 -0
  242. package/dist/models/file-preview-cell.js +15 -0
  243. package/dist/models/file-preview-row.d.ts +31 -0
  244. package/dist/models/file-preview-row.js +15 -0
  245. package/dist/models/file-preview.d.ts +37 -0
  246. package/dist/models/file-preview.js +15 -0
  247. package/dist/models/file-read-options.d.ts +48 -0
  248. package/dist/models/file-read-options.js +15 -0
  249. package/dist/models/file-report.d.ts +79 -0
  250. package/dist/models/file-report.js +15 -0
  251. package/dist/models/filter-field-versions.d.ts +30 -0
  252. package/dist/models/filter-field-versions.js +15 -0
  253. package/dist/models/filter-field.d.ts +110 -0
  254. package/dist/models/filter-field.js +15 -0
  255. package/dist/models/filter-value.d.ts +37 -0
  256. package/dist/models/filter-value.js +15 -0
  257. package/dist/models/gate-report.d.ts +68 -0
  258. package/dist/models/gate-report.js +15 -0
  259. package/dist/models/generation.d.ts +102 -0
  260. package/dist/models/generation.js +15 -0
  261. package/dist/models/get-core-config-policy-data-schema-response.d.ts +24 -0
  262. package/dist/models/get-core-config-policy-data-schema-response.js +15 -0
  263. package/dist/models/get-core-config-response.d.ts +25 -0
  264. package/dist/models/get-core-config-response.js +15 -0
  265. package/dist/models/get-core-config-schema-response.d.ts +24 -0
  266. package/dist/models/get-core-config-schema-response.js +15 -0
  267. package/dist/models/get-coverage-at-date-response.d.ts +111 -0
  268. package/dist/models/get-coverage-at-date-response.js +15 -0
  269. package/dist/models/get-diff-response.d.ts +25 -0
  270. package/dist/models/get-diff-response.js +15 -0
  271. package/dist/models/get-factor-file-response.d.ts +61 -0
  272. package/dist/models/get-factor-file-response.js +15 -0
  273. package/dist/models/get-factor-response.d.ts +37 -0
  274. package/dist/models/get-factor-response.js +15 -0
  275. package/dist/models/get-generation-response.d.ts +25 -0
  276. package/dist/models/get-generation-response.js +15 -0
  277. package/dist/models/get-group-core-config-response.d.ts +25 -0
  278. package/dist/models/get-group-core-config-response.js +15 -0
  279. package/dist/models/get-group-diff-response.d.ts +25 -0
  280. package/dist/models/get-group-diff-response.js +15 -0
  281. package/dist/models/get-group-generation-response.d.ts +25 -0
  282. package/dist/models/get-group-generation-response.js +15 -0
  283. package/dist/models/get-group-policy-filter-catalog-response.d.ts +31 -0
  284. package/dist/models/get-group-policy-filter-catalog-response.js +15 -0
  285. package/dist/models/get-group-policy-member-filter-catalog-response.d.ts +31 -0
  286. package/dist/models/get-group-policy-member-filter-catalog-response.js +15 -0
  287. package/dist/models/get-group-policy-member-schema-response.d.ts +49 -0
  288. package/dist/models/get-group-policy-member-schema-response.js +15 -0
  289. package/dist/models/get-group-policy-partner-history-response.d.ts +25 -0
  290. package/dist/models/get-group-policy-partner-history-response.js +15 -0
  291. package/dist/models/get-group-policy-premium-summary-response.d.ts +25 -0
  292. package/dist/models/get-group-policy-premium-summary-response.js +15 -0
  293. package/dist/models/get-group-policy-response.d.ts +45 -0
  294. package/dist/models/get-group-policy-response.js +15 -0
  295. package/dist/models/get-group-policy-timeline-response.d.ts +25 -0
  296. package/dist/models/get-group-policy-timeline-response.js +15 -0
  297. package/dist/models/get-group-tariff-filter-catalog-response.d.ts +31 -0
  298. package/dist/models/get-group-tariff-filter-catalog-response.js +15 -0
  299. package/dist/models/get-group-tariff-response.d.ts +25 -0
  300. package/dist/models/get-group-tariff-response.js +15 -0
  301. package/dist/models/get-group-version-response.d.ts +25 -0
  302. package/dist/models/get-group-version-response.js +15 -0
  303. package/dist/models/get-job-download-response.d.ts +25 -0
  304. package/dist/models/get-job-download-response.js +15 -0
  305. package/dist/models/get-job-filter-catalog-response.d.ts +31 -0
  306. package/dist/models/get-job-filter-catalog-response.js +15 -0
  307. package/dist/models/get-job-response.d.ts +25 -0
  308. package/dist/models/get-job-response.js +15 -0
  309. package/dist/models/get-lead-filter-catalog-response.d.ts +44 -0
  310. package/dist/models/get-lead-filter-catalog-response.js +15 -0
  311. package/dist/models/get-lead-import-job-response.d.ts +25 -0
  312. package/dist/models/get-lead-import-job-response.js +15 -0
  313. package/dist/models/get-lead-import-template-response.d.ts +56 -0
  314. package/dist/models/get-lead-import-template-response.js +15 -0
  315. package/dist/models/get-lead-response.d.ts +32 -0
  316. package/dist/models/get-lead-response.js +15 -0
  317. package/dist/models/get-lead-schema-response.d.ts +55 -0
  318. package/dist/models/get-lead-schema-response.js +15 -0
  319. package/dist/models/get-lead-version-response.d.ts +25 -0
  320. package/dist/models/get-lead-version-response.js +15 -0
  321. package/dist/models/get-named-range-file-response.d.ts +61 -0
  322. package/dist/models/get-named-range-file-response.js +15 -0
  323. package/dist/models/get-named-range-response.d.ts +37 -0
  324. package/dist/models/get-named-range-response.js +15 -0
  325. package/dist/models/get-policy-filter-catalog-response.d.ts +44 -0
  326. package/dist/models/get-policy-filter-catalog-response.js +15 -0
  327. package/dist/models/get-policy-partner-history-response.d.ts +25 -0
  328. package/dist/models/get-policy-partner-history-response.js +15 -0
  329. package/dist/models/get-policy-response.d.ts +51 -0
  330. package/dist/models/get-policy-response.js +15 -0
  331. package/dist/models/get-policy-schema-response.d.ts +49 -0
  332. package/dist/models/get-policy-schema-response.js +15 -0
  333. package/dist/models/get-policy-timeline-response.d.ts +25 -0
  334. package/dist/models/get-policy-timeline-response.js +15 -0
  335. package/dist/models/get-resolved-billing-config-response.d.ts +44 -0
  336. package/dist/models/get-resolved-billing-config-response.js +15 -0
  337. package/dist/models/get-resolved-contract-data-response.d.ts +37 -0
  338. package/dist/models/get-resolved-contract-data-response.js +15 -0
  339. package/dist/models/get-resolved-core-config-response.d.ts +39 -0
  340. package/dist/models/get-resolved-core-config-response.js +15 -0
  341. package/dist/models/get-resolved-tariff-coverage-response.d.ts +50 -0
  342. package/dist/models/get-resolved-tariff-coverage-response.js +15 -0
  343. package/dist/models/get-tariff-filter-catalog-response.d.ts +31 -0
  344. package/dist/models/get-tariff-filter-catalog-response.js +15 -0
  345. package/dist/models/get-tariff-response.d.ts +25 -0
  346. package/dist/models/get-tariff-response.js +15 -0
  347. package/dist/models/get-version-response.d.ts +25 -0
  348. package/dist/models/get-version-response.js +15 -0
  349. package/dist/models/golden-case-delta.d.ts +36 -0
  350. package/dist/models/golden-case-delta.js +15 -0
  351. package/dist/models/group-policy-list-entry.d.ts +57 -0
  352. package/dist/models/group-policy-list-entry.js +15 -0
  353. package/dist/models/group-policy-segment.d.ts +38 -0
  354. package/dist/models/group-policy-segment.js +15 -0
  355. package/dist/models/group-policy-status.d.ts +22 -0
  356. package/dist/models/group-policy-status.js +26 -0
  357. package/dist/models/group-policy.d.ts +124 -0
  358. package/dist/models/group-policy.js +15 -0
  359. package/dist/models/group-premium-summary.d.ts +69 -0
  360. package/dist/models/group-premium-summary.js +15 -0
  361. package/dist/models/group-tariff-version.d.ts +146 -0
  362. package/dist/models/group-tariff-version.js +15 -0
  363. package/dist/models/group-tariff.d.ts +109 -0
  364. package/dist/models/group-tariff.js +15 -0
  365. package/dist/models/highlight.d.ts +30 -0
  366. package/dist/models/highlight.js +15 -0
  367. package/dist/models/import-file.d.ts +36 -0
  368. package/dist/models/import-file.js +15 -0
  369. package/dist/models/import-leads-request.d.ts +86 -0
  370. package/dist/models/import-leads-request.js +15 -0
  371. package/dist/models/import-leads-response.d.ts +32 -0
  372. package/dist/models/import-leads-response.js +15 -0
  373. package/dist/models/index.d.ts +322 -0
  374. package/dist/models/index.js +338 -0
  375. package/dist/models/insured-person.d.ts +24 -0
  376. package/dist/models/insured-person.js +15 -0
  377. package/dist/models/job-download.d.ts +36 -0
  378. package/dist/models/job-download.js +15 -0
  379. package/dist/models/job-error.d.ts +30 -0
  380. package/dist/models/job-error.js +15 -0
  381. package/dist/models/job-progress.d.ts +36 -0
  382. package/dist/models/job-progress.js +15 -0
  383. package/dist/models/job.d.ts +134 -0
  384. package/dist/models/job.js +15 -0
  385. package/dist/models/lead-import-counts.d.ts +48 -0
  386. package/dist/models/lead-import-counts.js +15 -0
  387. package/dist/models/lead-import-item.d.ts +86 -0
  388. package/dist/models/lead-import-item.js +15 -0
  389. package/dist/models/lead-import-job.d.ts +128 -0
  390. package/dist/models/lead-import-job.js +15 -0
  391. package/dist/models/lead-import-template-column.d.ts +79 -0
  392. package/dist/models/lead-import-template-column.js +15 -0
  393. package/dist/models/lead-import-template-value.d.ts +30 -0
  394. package/dist/models/lead-import-template-value.js +15 -0
  395. package/dist/models/lead-status.d.ts +43 -0
  396. package/dist/models/lead-status.js +15 -0
  397. package/dist/models/lead-version.d.ts +73 -0
  398. package/dist/models/lead-version.js +15 -0
  399. package/dist/models/lead.d.ts +124 -0
  400. package/dist/models/lead.js +15 -0
  401. package/dist/models/liable-party.d.ts +36 -0
  402. package/dist/models/liable-party.js +15 -0
  403. package/dist/models/line-of-insurance.d.ts +68 -0
  404. package/dist/models/line-of-insurance.js +15 -0
  405. package/dist/models/list-approval-roles-response.d.ts +37 -0
  406. package/dist/models/list-approval-roles-response.js +15 -0
  407. package/dist/models/list-available-group-tariffs-response.d.ts +37 -0
  408. package/dist/models/list-available-group-tariffs-response.js +15 -0
  409. package/dist/models/list-available-versions-response.d.ts +37 -0
  410. package/dist/models/list-available-versions-response.js +15 -0
  411. package/dist/models/list-core-configs-response.d.ts +37 -0
  412. package/dist/models/list-core-configs-response.js +15 -0
  413. package/dist/models/list-generations-response.d.ts +37 -0
  414. package/dist/models/list-generations-response.js +15 -0
  415. package/dist/models/list-group-core-configs-response.d.ts +37 -0
  416. package/dist/models/list-group-core-configs-response.js +15 -0
  417. package/dist/models/list-group-generations-response.d.ts +37 -0
  418. package/dist/models/list-group-generations-response.js +15 -0
  419. package/dist/models/list-group-policies-response.d.ts +37 -0
  420. package/dist/models/list-group-policies-response.js +15 -0
  421. package/dist/models/list-group-policy-members-response.d.ts +37 -0
  422. package/dist/models/list-group-policy-members-response.js +15 -0
  423. package/dist/models/list-group-policy-upgrade-targets-response.d.ts +37 -0
  424. package/dist/models/list-group-policy-upgrade-targets-response.js +15 -0
  425. package/dist/models/list-group-tariffs-response.d.ts +37 -0
  426. package/dist/models/list-group-tariffs-response.js +15 -0
  427. package/dist/models/list-group-versions-response.d.ts +37 -0
  428. package/dist/models/list-group-versions-response.js +15 -0
  429. package/dist/models/list-jobs-response.d.ts +37 -0
  430. package/dist/models/list-jobs-response.js +15 -0
  431. package/dist/models/list-lead-versions-response.d.ts +37 -0
  432. package/dist/models/list-lead-versions-response.js +15 -0
  433. package/dist/models/list-leads-response.d.ts +37 -0
  434. package/dist/models/list-leads-response.js +15 -0
  435. package/dist/models/list-lines-of-insurance-response.d.ts +37 -0
  436. package/dist/models/list-lines-of-insurance-response.js +15 -0
  437. package/dist/models/list-partner-roles-response.d.ts +37 -0
  438. package/dist/models/list-partner-roles-response.js +15 -0
  439. package/dist/models/list-partner-types-response.d.ts +37 -0
  440. package/dist/models/list-partner-types-response.js +15 -0
  441. package/dist/models/list-policies-response.d.ts +37 -0
  442. package/dist/models/list-policies-response.js +15 -0
  443. package/dist/models/list-policy-filter-values-response.d.ts +37 -0
  444. package/dist/models/list-policy-filter-values-response.js +15 -0
  445. package/dist/models/list-policy-snapshots-response.d.ts +37 -0
  446. package/dist/models/list-policy-snapshots-response.js +15 -0
  447. package/dist/models/list-policy-upgrade-targets-response.d.ts +37 -0
  448. package/dist/models/list-policy-upgrade-targets-response.js +15 -0
  449. package/dist/models/list-request.d.ts +60 -0
  450. package/dist/models/list-request.js +15 -0
  451. package/dist/models/list-tariffs-response.d.ts +37 -0
  452. package/dist/models/list-tariffs-response.js +15 -0
  453. package/dist/models/list-versions-response.d.ts +37 -0
  454. package/dist/models/list-versions-response.js +15 -0
  455. package/dist/models/localized-text.d.ts +30 -0
  456. package/dist/models/localized-text.js +15 -0
  457. package/dist/models/manifest-diff.d.ts +44 -0
  458. package/dist/models/manifest-diff.js +15 -0
  459. package/dist/models/match.d.ts +69 -0
  460. package/dist/models/match.js +15 -0
  461. package/dist/models/member-projection.d.ts +93 -0
  462. package/dist/models/member-projection.js +15 -0
  463. package/dist/models/money.d.ts +30 -0
  464. package/dist/models/money.js +15 -0
  465. package/dist/models/named-range-name.d.ts +30 -0
  466. package/dist/models/named-range-name.js +15 -0
  467. package/dist/models/named-range-row.d.ts +30 -0
  468. package/dist/models/named-range-row.js +15 -0
  469. package/dist/models/partner-draft.d.ts +30 -0
  470. package/dist/models/partner-draft.js +15 -0
  471. package/dist/models/partner-link.d.ts +36 -0
  472. package/dist/models/partner-link.js +15 -0
  473. package/dist/models/partner-period.d.ts +42 -0
  474. package/dist/models/partner-period.js +15 -0
  475. package/dist/models/partner-role-catalog-entry.d.ts +48 -0
  476. package/dist/models/partner-role-catalog-entry.js +15 -0
  477. package/dist/models/partner-role-rule.d.ts +60 -0
  478. package/dist/models/partner-role-rule.js +15 -0
  479. package/dist/models/partner-type-catalog-entry.d.ts +36 -0
  480. package/dist/models/partner-type-catalog-entry.js +15 -0
  481. package/dist/models/policy-list-entry.d.ts +45 -0
  482. package/dist/models/policy-list-entry.js +15 -0
  483. package/dist/models/policy-membership.d.ts +21 -0
  484. package/dist/models/policy-membership.js +25 -0
  485. package/dist/models/policy-segment.d.ts +38 -0
  486. package/dist/models/policy-segment.js +15 -0
  487. package/dist/models/policy-slice-summary.d.ts +79 -0
  488. package/dist/models/policy-slice-summary.js +15 -0
  489. package/dist/models/policy-status.d.ts +21 -0
  490. package/dist/models/policy-status.js +25 -0
  491. package/dist/models/policy.d.ts +138 -0
  492. package/dist/models/policy.js +15 -0
  493. package/dist/models/policyholder-ref.d.ts +43 -0
  494. package/dist/models/policyholder-ref.js +15 -0
  495. package/dist/models/premium-adjustment-basis.d.ts +31 -0
  496. package/dist/models/premium-adjustment-basis.js +15 -0
  497. package/dist/models/premium-adjustment.d.ts +86 -0
  498. package/dist/models/premium-adjustment.js +15 -0
  499. package/dist/models/premium-engine.d.ts +36 -0
  500. package/dist/models/premium-engine.js +15 -0
  501. package/dist/models/premium-estimate.d.ts +88 -0
  502. package/dist/models/premium-estimate.js +15 -0
  503. package/dist/models/premium-item.d.ts +84 -0
  504. package/dist/models/premium-item.js +15 -0
  505. package/dist/models/premium-summary-basis.d.ts +36 -0
  506. package/dist/models/premium-summary-basis.js +15 -0
  507. package/dist/models/premium-tier.d.ts +30 -0
  508. package/dist/models/premium-tier.js +15 -0
  509. package/dist/models/premium-totals.d.ts +43 -0
  510. package/dist/models/premium-totals.js +15 -0
  511. package/dist/models/premium.d.ts +108 -0
  512. package/dist/models/premium.js +15 -0
  513. package/dist/models/preview-group-policy-correction-body.d.ts +55 -0
  514. package/dist/models/preview-group-policy-correction-body.js +15 -0
  515. package/dist/models/preview-group-policy-correction-response.d.ts +31 -0
  516. package/dist/models/preview-group-policy-correction-response.js +15 -0
  517. package/dist/models/preview-group-policy-termination-body.d.ts +43 -0
  518. package/dist/models/preview-group-policy-termination-body.js +15 -0
  519. package/dist/models/preview-group-policy-termination-response.d.ts +32 -0
  520. package/dist/models/preview-group-policy-termination-response.js +15 -0
  521. package/dist/models/preview-policy-correction-body.d.ts +42 -0
  522. package/dist/models/preview-policy-correction-body.js +15 -0
  523. package/dist/models/preview-policy-correction-response.d.ts +38 -0
  524. package/dist/models/preview-policy-correction-response.js +15 -0
  525. package/dist/models/publish-core-config-response.d.ts +25 -0
  526. package/dist/models/publish-core-config-response.js +15 -0
  527. package/dist/models/publish-group-core-config-response.d.ts +25 -0
  528. package/dist/models/publish-group-core-config-response.js +15 -0
  529. package/dist/models/publish-group-version-body.d.ts +36 -0
  530. package/dist/models/publish-group-version-body.js +15 -0
  531. package/dist/models/publish-group-version-response.d.ts +39 -0
  532. package/dist/models/publish-group-version-response.js +15 -0
  533. package/dist/models/publish-version-body.d.ts +36 -0
  534. package/dist/models/publish-version-body.js +15 -0
  535. package/dist/models/publish-version-response.d.ts +39 -0
  536. package/dist/models/publish-version-response.js +15 -0
  537. package/dist/models/put-core-config-document-body.d.ts +24 -0
  538. package/dist/models/put-core-config-document-body.js +15 -0
  539. package/dist/models/put-core-config-document-response.d.ts +32 -0
  540. package/dist/models/put-core-config-document-response.js +15 -0
  541. package/dist/models/put-factor-file-body.d.ts +73 -0
  542. package/dist/models/put-factor-file-body.js +15 -0
  543. package/dist/models/put-factor-file-response.d.ts +32 -0
  544. package/dist/models/put-factor-file-response.js +15 -0
  545. package/dist/models/put-named-range-file-body.d.ts +68 -0
  546. package/dist/models/put-named-range-file-body.js +15 -0
  547. package/dist/models/put-named-range-file-response.d.ts +32 -0
  548. package/dist/models/put-named-range-file-response.js +15 -0
  549. package/dist/models/put-named-range-json-body.d.ts +24 -0
  550. package/dist/models/put-named-range-json-body.js +15 -0
  551. package/dist/models/put-named-range-json-response.d.ts +32 -0
  552. package/dist/models/put-named-range-json-response.js +15 -0
  553. package/dist/models/ref-change.d.ts +43 -0
  554. package/dist/models/ref-change.js +15 -0
  555. package/dist/models/refresh-lead-response.d.ts +32 -0
  556. package/dist/models/refresh-lead-response.js +15 -0
  557. package/dist/models/register-lead-partners-response.d.ts +39 -0
  558. package/dist/models/register-lead-partners-response.js +15 -0
  559. package/dist/models/renew-group-policy-body.d.ts +30 -0
  560. package/dist/models/renew-group-policy-body.js +15 -0
  561. package/dist/models/renew-group-policy-response.d.ts +39 -0
  562. package/dist/models/renew-group-policy-response.js +15 -0
  563. package/dist/models/report-item.d.ts +49 -0
  564. package/dist/models/report-item.js +15 -0
  565. package/dist/models/report-severity.d.ts +21 -0
  566. package/dist/models/report-severity.js +25 -0
  567. package/dist/models/resolved-contract-field.d.ts +50 -0
  568. package/dist/models/resolved-contract-field.js +15 -0
  569. package/dist/models/resolved-factor.d.ts +49 -0
  570. package/dist/models/resolved-factor.js +15 -0
  571. package/dist/models/resolved-named-range.d.ts +43 -0
  572. package/dist/models/resolved-named-range.js +15 -0
  573. package/dist/models/resolved-partner.d.ts +61 -0
  574. package/dist/models/resolved-partner.js +15 -0
  575. package/dist/models/set-active-group-version-body.d.ts +24 -0
  576. package/dist/models/set-active-group-version-body.js +15 -0
  577. package/dist/models/set-active-group-version-response.d.ts +25 -0
  578. package/dist/models/set-active-group-version-response.js +15 -0
  579. package/dist/models/set-active-version-body.d.ts +24 -0
  580. package/dist/models/set-active-version-body.js +15 -0
  581. package/dist/models/set-active-version-response.d.ts +25 -0
  582. package/dist/models/set-active-version-response.js +15 -0
  583. package/dist/models/set-group-version-status-body.d.ts +37 -0
  584. package/dist/models/set-group-version-status-body.js +15 -0
  585. package/dist/models/set-group-version-status-response.d.ts +39 -0
  586. package/dist/models/set-group-version-status-response.js +15 -0
  587. package/dist/models/set-version-status-body.d.ts +37 -0
  588. package/dist/models/set-version-status-body.js +15 -0
  589. package/dist/models/set-version-status-response.d.ts +39 -0
  590. package/dist/models/set-version-status-response.js +15 -0
  591. package/dist/models/slice.d.ts +30 -0
  592. package/dist/models/slice.js +15 -0
  593. package/dist/models/snapshot-envelope.d.ts +42 -0
  594. package/dist/models/snapshot-envelope.js +15 -0
  595. package/dist/models/status-kind.d.ts +23 -0
  596. package/dist/models/status-kind.js +27 -0
  597. package/dist/models/status.d.ts +37 -0
  598. package/dist/models/status.js +15 -0
  599. package/dist/models/tariff-version.d.ts +146 -0
  600. package/dist/models/tariff-version.js +15 -0
  601. package/dist/models/tariff.d.ts +109 -0
  602. package/dist/models/tariff.js +15 -0
  603. package/dist/models/tax-amount.d.ts +42 -0
  604. package/dist/models/tax-amount.js +15 -0
  605. package/dist/models/terminate-group-policy-body.d.ts +49 -0
  606. package/dist/models/terminate-group-policy-body.js +15 -0
  607. package/dist/models/terminate-group-policy-response.d.ts +39 -0
  608. package/dist/models/terminate-group-policy-response.js +15 -0
  609. package/dist/models/terminate-policy-body.d.ts +30 -0
  610. package/dist/models/terminate-policy-body.js +15 -0
  611. package/dist/models/terminate-policy-response.d.ts +32 -0
  612. package/dist/models/terminate-policy-response.js +15 -0
  613. package/dist/models/transition-lead-body.d.ts +30 -0
  614. package/dist/models/transition-lead-body.js +15 -0
  615. package/dist/models/transition-lead-response.d.ts +32 -0
  616. package/dist/models/transition-lead-response.js +15 -0
  617. package/dist/models/update-core-config-body.d.ts +24 -0
  618. package/dist/models/update-core-config-body.js +15 -0
  619. package/dist/models/update-core-config-response.d.ts +25 -0
  620. package/dist/models/update-core-config-response.js +15 -0
  621. package/dist/models/update-generation-body.d.ts +30 -0
  622. package/dist/models/update-generation-body.js +15 -0
  623. package/dist/models/update-generation-response.d.ts +25 -0
  624. package/dist/models/update-generation-response.js +15 -0
  625. package/dist/models/update-group-core-config-body.d.ts +30 -0
  626. package/dist/models/update-group-core-config-body.js +15 -0
  627. package/dist/models/update-group-core-config-response.d.ts +25 -0
  628. package/dist/models/update-group-core-config-response.js +15 -0
  629. package/dist/models/update-group-policy-body.d.ts +50 -0
  630. package/dist/models/update-group-policy-body.js +15 -0
  631. package/dist/models/update-group-policy-response.d.ts +32 -0
  632. package/dist/models/update-group-policy-response.js +15 -0
  633. package/dist/models/update-group-version-body.d.ts +24 -0
  634. package/dist/models/update-group-version-body.js +15 -0
  635. package/dist/models/update-group-version-response.d.ts +25 -0
  636. package/dist/models/update-group-version-response.js +15 -0
  637. package/dist/models/update-lead-body.d.ts +44 -0
  638. package/dist/models/update-lead-body.js +15 -0
  639. package/dist/models/update-lead-response.d.ts +32 -0
  640. package/dist/models/update-lead-response.js +15 -0
  641. package/dist/models/update-tariff-body.d.ts +36 -0
  642. package/dist/models/update-tariff-body.js +15 -0
  643. package/dist/models/update-tariff-response.d.ts +25 -0
  644. package/dist/models/update-tariff-response.js +15 -0
  645. package/dist/models/update-version-body.d.ts +24 -0
  646. package/dist/models/update-version-body.js +15 -0
  647. package/dist/models/update-version-response.d.ts +25 -0
  648. package/dist/models/update-version-response.js +15 -0
  649. package/dist/models/upgrade-check-result.d.ts +62 -0
  650. package/dist/models/upgrade-check-result.js +15 -0
  651. package/dist/models/upgrade-group-policy-body.d.ts +30 -0
  652. package/dist/models/upgrade-group-policy-body.js +15 -0
  653. package/dist/models/upgrade-group-policy-response.d.ts +39 -0
  654. package/dist/models/upgrade-group-policy-response.js +15 -0
  655. package/dist/models/upgrade-issue.d.ts +42 -0
  656. package/dist/models/upgrade-issue.js +15 -0
  657. package/dist/models/upgrade-policy-body.d.ts +30 -0
  658. package/dist/models/upgrade-policy-body.js +15 -0
  659. package/dist/models/upgrade-policy-response.d.ts +39 -0
  660. package/dist/models/upgrade-policy-response.js +15 -0
  661. package/dist/models/upgrade-target.d.ts +48 -0
  662. package/dist/models/upgrade-target.js +15 -0
  663. package/dist/models/validate-core-config-expression-body.d.ts +31 -0
  664. package/dist/models/validate-core-config-expression-body.js +15 -0
  665. package/dist/models/validate-core-config-expression-response.d.ts +25 -0
  666. package/dist/models/validate-core-config-expression-response.js +15 -0
  667. package/dist/models/validate-core-config-response.d.ts +25 -0
  668. package/dist/models/validate-core-config-response.js +15 -0
  669. package/dist/models/validate-group-version-body.d.ts +30 -0
  670. package/dist/models/validate-group-version-body.js +15 -0
  671. package/dist/models/validate-group-version-response.d.ts +25 -0
  672. package/dist/models/validate-group-version-response.js +15 -0
  673. package/dist/models/validate-version-body.d.ts +24 -0
  674. package/dist/models/validate-version-body.js +15 -0
  675. package/dist/models/validate-version-response.d.ts +25 -0
  676. package/dist/models/validate-version-response.js +15 -0
  677. package/dist/models/validation-issue.d.ts +36 -0
  678. package/dist/models/validation-issue.js +15 -0
  679. package/dist/models/validation-report.d.ts +31 -0
  680. package/dist/models/validation-report.js +15 -0
  681. package/dist/models/version-status.d.ts +24 -0
  682. package/dist/models/version-status.js +28 -0
  683. package/git_push.sh +57 -0
  684. package/index.ts +19 -0
  685. package/models/accept-lead-body.ts +36 -0
  686. package/models/accept-lead-response.ts +45 -0
  687. package/models/activate-group-policy-body.ts +30 -0
  688. package/models/activate-group-policy-response.ts +38 -0
  689. package/models/actor.ts +31 -0
  690. package/models/analyze-config-file-body.ts +74 -0
  691. package/models/analyze-config-file-response.ts +94 -0
  692. package/models/any.ts +32 -0
  693. package/models/applied-factor.ts +36 -0
  694. package/models/approval-role.ts +36 -0
  695. package/models/asset-status.ts +32 -0
  696. package/models/available-group-tariff.ts +50 -0
  697. package/models/available-tariff.ts +61 -0
  698. package/models/available-transition.ts +61 -0
  699. package/models/available-version.ts +98 -0
  700. package/models/billing-config.ts +42 -0
  701. package/models/calculate-group-policy-adjustments-body.ts +49 -0
  702. package/models/calculate-group-policy-adjustments-response.ts +43 -0
  703. package/models/cancel-job-response.ts +31 -0
  704. package/models/change-kind.ts +32 -0
  705. package/models/check-group-policy-upgrade-body.ts +36 -0
  706. package/models/check-group-policy-upgrade-response.ts +31 -0
  707. package/models/check-policy-upgrade-body.ts +36 -0
  708. package/models/check-policy-upgrade-response.ts +31 -0
  709. package/models/child-fallback.ts +31 -0
  710. package/models/configuration-pin.ts +48 -0
  711. package/models/conflict-reason.ts +42 -0
  712. package/models/contract-default-kind.ts +33 -0
  713. package/models/contract-unresolved-reason.ts +30 -0
  714. package/models/core-config-file-kind.ts +31 -0
  715. package/models/core-config-file.ts +157 -0
  716. package/models/core-config.ts +133 -0
  717. package/models/correct-group-policy-body.ts +67 -0
  718. package/models/correct-group-policy-response.ts +37 -0
  719. package/models/correct-policy-body.ts +61 -0
  720. package/models/correct-policy-response.ts +50 -0
  721. package/models/coverage-amount.ts +36 -0
  722. package/models/coverage-approval-limit.ts +36 -0
  723. package/models/coverage-billing.ts +36 -0
  724. package/models/coverage-category.ts +62 -0
  725. package/models/coverage-deductible.ts +73 -0
  726. package/models/coverage-detail.ts +59 -0
  727. package/models/coverage-group-policy.ts +48 -0
  728. package/models/coverage-insured-object.ts +48 -0
  729. package/models/coverage-named.ts +43 -0
  730. package/models/coverage-policy.ts +61 -0
  731. package/models/coverage-term-detail.ts +55 -0
  732. package/models/coverage-variant.ts +36 -0
  733. package/models/coverage-waiting-period.ts +48 -0
  734. package/models/create-config-file-upload-body.ts +36 -0
  735. package/models/create-config-file-upload-response.ts +42 -0
  736. package/models/create-core-config-body.ts +48 -0
  737. package/models/create-core-config-response.ts +31 -0
  738. package/models/create-detail-export-job-request.ts +60 -0
  739. package/models/create-detail-export-job-response.ts +31 -0
  740. package/models/create-export-job-request.ts +74 -0
  741. package/models/create-export-job-response.ts +31 -0
  742. package/models/create-generation-body.ts +48 -0
  743. package/models/create-generation-response.ts +38 -0
  744. package/models/create-group-core-config-body.ts +48 -0
  745. package/models/create-group-core-config-response.ts +31 -0
  746. package/models/create-group-generation-body.ts +36 -0
  747. package/models/create-group-generation-response.ts +31 -0
  748. package/models/create-group-policy-request.ts +74 -0
  749. package/models/create-group-policy-response.ts +38 -0
  750. package/models/create-group-tariff-request.ts +54 -0
  751. package/models/create-group-tariff-response.ts +31 -0
  752. package/models/create-group-version-body.ts +36 -0
  753. package/models/create-group-version-response.ts +31 -0
  754. package/models/create-lead-import-upload-request.ts +36 -0
  755. package/models/create-lead-import-upload-response.ts +42 -0
  756. package/models/create-lead-request.ts +62 -0
  757. package/models/create-lead-response.ts +38 -0
  758. package/models/create-line-of-insurance-request.ts +36 -0
  759. package/models/create-line-of-insurance-response.ts +31 -0
  760. package/models/create-policy-request.ts +73 -0
  761. package/models/create-policy-response.ts +38 -0
  762. package/models/create-tariff-request.ts +54 -0
  763. package/models/create-tariff-response.ts +31 -0
  764. package/models/create-version-body.ts +36 -0
  765. package/models/create-version-response.ts +31 -0
  766. package/models/delete-factor-response.ts +31 -0
  767. package/models/delete-named-range-file-response.ts +31 -0
  768. package/models/detach-policy-body.ts +36 -0
  769. package/models/detach-policy-response.ts +44 -0
  770. package/models/discard-core-config-response.ts +31 -0
  771. package/models/discard-group-version-response.ts +31 -0
  772. package/models/discard-version-response.ts +31 -0
  773. package/models/endorse-policy-body.ts +43 -0
  774. package/models/endorse-policy-response.ts +38 -0
  775. package/models/estimate-error.ts +42 -0
  776. package/models/estimate-lead-premium-response.ts +31 -0
  777. package/models/estimate-policy-premium-response.ts +31 -0
  778. package/models/export-column.ts +42 -0
  779. package/models/expression-context.ts +43 -0
  780. package/models/expression-kind.ts +31 -0
  781. package/models/expression-problem.ts +54 -0
  782. package/models/factor-row.ts +42 -0
  783. package/models/field-source.ts +31 -0
  784. package/models/file-cell-ref.ts +36 -0
  785. package/models/file-detected.ts +78 -0
  786. package/models/file-finding.ts +66 -0
  787. package/models/file-preview-cell.ts +42 -0
  788. package/models/file-preview-row.ts +37 -0
  789. package/models/file-preview.ts +43 -0
  790. package/models/file-read-options.ts +54 -0
  791. package/models/file-report.ts +85 -0
  792. package/models/filter-field-versions.ts +36 -0
  793. package/models/filter-field.ts +116 -0
  794. package/models/filter-value.ts +43 -0
  795. package/models/gate-report.ts +74 -0
  796. package/models/generation.ts +108 -0
  797. package/models/get-core-config-policy-data-schema-response.ts +30 -0
  798. package/models/get-core-config-response.ts +31 -0
  799. package/models/get-core-config-schema-response.ts +30 -0
  800. package/models/get-coverage-at-date-response.ts +115 -0
  801. package/models/get-diff-response.ts +31 -0
  802. package/models/get-factor-file-response.ts +67 -0
  803. package/models/get-factor-response.ts +43 -0
  804. package/models/get-generation-response.ts +31 -0
  805. package/models/get-group-core-config-response.ts +31 -0
  806. package/models/get-group-diff-response.ts +31 -0
  807. package/models/get-group-generation-response.ts +31 -0
  808. package/models/get-group-policy-filter-catalog-response.ts +37 -0
  809. package/models/get-group-policy-member-filter-catalog-response.ts +37 -0
  810. package/models/get-group-policy-member-schema-response.ts +55 -0
  811. package/models/get-group-policy-partner-history-response.ts +31 -0
  812. package/models/get-group-policy-premium-summary-response.ts +31 -0
  813. package/models/get-group-policy-response.ts +51 -0
  814. package/models/get-group-policy-timeline-response.ts +31 -0
  815. package/models/get-group-tariff-filter-catalog-response.ts +37 -0
  816. package/models/get-group-tariff-response.ts +31 -0
  817. package/models/get-group-version-response.ts +31 -0
  818. package/models/get-job-download-response.ts +31 -0
  819. package/models/get-job-filter-catalog-response.ts +37 -0
  820. package/models/get-job-response.ts +31 -0
  821. package/models/get-lead-filter-catalog-response.ts +50 -0
  822. package/models/get-lead-import-job-response.ts +31 -0
  823. package/models/get-lead-import-template-response.ts +62 -0
  824. package/models/get-lead-response.ts +38 -0
  825. package/models/get-lead-schema-response.ts +61 -0
  826. package/models/get-lead-version-response.ts +31 -0
  827. package/models/get-named-range-file-response.ts +67 -0
  828. package/models/get-named-range-response.ts +43 -0
  829. package/models/get-policy-filter-catalog-response.ts +50 -0
  830. package/models/get-policy-partner-history-response.ts +31 -0
  831. package/models/get-policy-response.ts +57 -0
  832. package/models/get-policy-schema-response.ts +55 -0
  833. package/models/get-policy-timeline-response.ts +31 -0
  834. package/models/get-resolved-billing-config-response.ts +48 -0
  835. package/models/get-resolved-contract-data-response.ts +43 -0
  836. package/models/get-resolved-core-config-response.ts +45 -0
  837. package/models/get-resolved-tariff-coverage-response.ts +54 -0
  838. package/models/get-tariff-filter-catalog-response.ts +37 -0
  839. package/models/get-tariff-response.ts +31 -0
  840. package/models/get-version-response.ts +31 -0
  841. package/models/golden-case-delta.ts +42 -0
  842. package/models/group-policy-list-entry.ts +63 -0
  843. package/models/group-policy-segment.ts +44 -0
  844. package/models/group-policy-status.ts +32 -0
  845. package/models/group-policy.ts +130 -0
  846. package/models/group-premium-summary.ts +75 -0
  847. package/models/group-tariff-version.ts +152 -0
  848. package/models/group-tariff.ts +115 -0
  849. package/models/highlight.ts +36 -0
  850. package/models/import-file.ts +42 -0
  851. package/models/import-leads-request.ts +92 -0
  852. package/models/import-leads-response.ts +38 -0
  853. package/models/index.ts +322 -0
  854. package/models/insured-person.ts +30 -0
  855. package/models/job-download.ts +42 -0
  856. package/models/job-error.ts +36 -0
  857. package/models/job-progress.ts +42 -0
  858. package/models/job.ts +140 -0
  859. package/models/lead-import-counts.ts +54 -0
  860. package/models/lead-import-item.ts +92 -0
  861. package/models/lead-import-job.ts +134 -0
  862. package/models/lead-import-template-column.ts +85 -0
  863. package/models/lead-import-template-value.ts +36 -0
  864. package/models/lead-status.ts +49 -0
  865. package/models/lead-version.ts +79 -0
  866. package/models/lead.ts +130 -0
  867. package/models/liable-party.ts +42 -0
  868. package/models/line-of-insurance.ts +72 -0
  869. package/models/list-approval-roles-response.ts +43 -0
  870. package/models/list-available-group-tariffs-response.ts +43 -0
  871. package/models/list-available-versions-response.ts +43 -0
  872. package/models/list-core-configs-response.ts +43 -0
  873. package/models/list-generations-response.ts +43 -0
  874. package/models/list-group-core-configs-response.ts +43 -0
  875. package/models/list-group-generations-response.ts +43 -0
  876. package/models/list-group-policies-response.ts +43 -0
  877. package/models/list-group-policy-members-response.ts +43 -0
  878. package/models/list-group-policy-upgrade-targets-response.ts +43 -0
  879. package/models/list-group-tariffs-response.ts +43 -0
  880. package/models/list-group-versions-response.ts +43 -0
  881. package/models/list-jobs-response.ts +43 -0
  882. package/models/list-lead-versions-response.ts +43 -0
  883. package/models/list-leads-response.ts +43 -0
  884. package/models/list-lines-of-insurance-response.ts +43 -0
  885. package/models/list-partner-roles-response.ts +43 -0
  886. package/models/list-partner-types-response.ts +43 -0
  887. package/models/list-policies-response.ts +43 -0
  888. package/models/list-policy-filter-values-response.ts +43 -0
  889. package/models/list-policy-snapshots-response.ts +43 -0
  890. package/models/list-policy-upgrade-targets-response.ts +43 -0
  891. package/models/list-request.ts +66 -0
  892. package/models/list-tariffs-response.ts +43 -0
  893. package/models/list-versions-response.ts +43 -0
  894. package/models/localized-text.ts +36 -0
  895. package/models/manifest-diff.ts +50 -0
  896. package/models/match.ts +75 -0
  897. package/models/member-projection.ts +99 -0
  898. package/models/money.ts +36 -0
  899. package/models/named-range-name.ts +36 -0
  900. package/models/named-range-row.ts +36 -0
  901. package/models/partner-draft.ts +36 -0
  902. package/models/partner-link.ts +42 -0
  903. package/models/partner-period.ts +48 -0
  904. package/models/partner-role-catalog-entry.ts +54 -0
  905. package/models/partner-role-rule.ts +66 -0
  906. package/models/partner-type-catalog-entry.ts +42 -0
  907. package/models/policy-list-entry.ts +51 -0
  908. package/models/policy-membership.ts +31 -0
  909. package/models/policy-segment.ts +44 -0
  910. package/models/policy-slice-summary.ts +85 -0
  911. package/models/policy-status.ts +31 -0
  912. package/models/policy.ts +144 -0
  913. package/models/policyholder-ref.ts +49 -0
  914. package/models/premium-adjustment-basis.ts +37 -0
  915. package/models/premium-adjustment.ts +92 -0
  916. package/models/premium-engine.ts +42 -0
  917. package/models/premium-estimate.ts +94 -0
  918. package/models/premium-item.ts +90 -0
  919. package/models/premium-summary-basis.ts +42 -0
  920. package/models/premium-tier.ts +36 -0
  921. package/models/premium-totals.ts +49 -0
  922. package/models/premium.ts +114 -0
  923. package/models/preview-group-policy-correction-body.ts +61 -0
  924. package/models/preview-group-policy-correction-response.ts +37 -0
  925. package/models/preview-group-policy-termination-body.ts +49 -0
  926. package/models/preview-group-policy-termination-response.ts +38 -0
  927. package/models/preview-policy-correction-body.ts +48 -0
  928. package/models/preview-policy-correction-response.ts +44 -0
  929. package/models/publish-core-config-response.ts +31 -0
  930. package/models/publish-group-core-config-response.ts +31 -0
  931. package/models/publish-group-version-body.ts +42 -0
  932. package/models/publish-group-version-response.ts +45 -0
  933. package/models/publish-version-body.ts +42 -0
  934. package/models/publish-version-response.ts +45 -0
  935. package/models/put-core-config-document-body.ts +30 -0
  936. package/models/put-core-config-document-response.ts +38 -0
  937. package/models/put-factor-file-body.ts +79 -0
  938. package/models/put-factor-file-response.ts +38 -0
  939. package/models/put-named-range-file-body.ts +74 -0
  940. package/models/put-named-range-file-response.ts +38 -0
  941. package/models/put-named-range-json-body.ts +30 -0
  942. package/models/put-named-range-json-response.ts +38 -0
  943. package/models/ref-change.ts +49 -0
  944. package/models/refresh-lead-response.ts +38 -0
  945. package/models/register-lead-partners-response.ts +45 -0
  946. package/models/renew-group-policy-body.ts +36 -0
  947. package/models/renew-group-policy-response.ts +45 -0
  948. package/models/report-item.ts +55 -0
  949. package/models/report-severity.ts +31 -0
  950. package/models/resolved-contract-field.ts +56 -0
  951. package/models/resolved-factor.ts +55 -0
  952. package/models/resolved-named-range.ts +49 -0
  953. package/models/resolved-partner.ts +67 -0
  954. package/models/set-active-group-version-body.ts +30 -0
  955. package/models/set-active-group-version-response.ts +31 -0
  956. package/models/set-active-version-body.ts +30 -0
  957. package/models/set-active-version-response.ts +31 -0
  958. package/models/set-group-version-status-body.ts +43 -0
  959. package/models/set-group-version-status-response.ts +45 -0
  960. package/models/set-version-status-body.ts +43 -0
  961. package/models/set-version-status-response.ts +45 -0
  962. package/models/slice.ts +36 -0
  963. package/models/snapshot-envelope.ts +48 -0
  964. package/models/status-kind.ts +33 -0
  965. package/models/status.ts +43 -0
  966. package/models/tariff-version.ts +152 -0
  967. package/models/tariff.ts +115 -0
  968. package/models/tax-amount.ts +48 -0
  969. package/models/terminate-group-policy-body.ts +55 -0
  970. package/models/terminate-group-policy-response.ts +45 -0
  971. package/models/terminate-policy-body.ts +36 -0
  972. package/models/terminate-policy-response.ts +38 -0
  973. package/models/transition-lead-body.ts +36 -0
  974. package/models/transition-lead-response.ts +38 -0
  975. package/models/update-core-config-body.ts +30 -0
  976. package/models/update-core-config-response.ts +31 -0
  977. package/models/update-generation-body.ts +36 -0
  978. package/models/update-generation-response.ts +31 -0
  979. package/models/update-group-core-config-body.ts +36 -0
  980. package/models/update-group-core-config-response.ts +31 -0
  981. package/models/update-group-policy-body.ts +56 -0
  982. package/models/update-group-policy-response.ts +38 -0
  983. package/models/update-group-version-body.ts +30 -0
  984. package/models/update-group-version-response.ts +31 -0
  985. package/models/update-lead-body.ts +50 -0
  986. package/models/update-lead-response.ts +38 -0
  987. package/models/update-tariff-body.ts +42 -0
  988. package/models/update-tariff-response.ts +31 -0
  989. package/models/update-version-body.ts +30 -0
  990. package/models/update-version-response.ts +31 -0
  991. package/models/upgrade-check-result.ts +68 -0
  992. package/models/upgrade-group-policy-body.ts +36 -0
  993. package/models/upgrade-group-policy-response.ts +45 -0
  994. package/models/upgrade-issue.ts +48 -0
  995. package/models/upgrade-policy-body.ts +36 -0
  996. package/models/upgrade-policy-response.ts +45 -0
  997. package/models/upgrade-target.ts +54 -0
  998. package/models/validate-core-config-expression-body.ts +37 -0
  999. package/models/validate-core-config-expression-response.ts +31 -0
  1000. package/models/validate-core-config-response.ts +31 -0
  1001. package/models/validate-group-version-body.ts +36 -0
  1002. package/models/validate-group-version-response.ts +31 -0
  1003. package/models/validate-version-body.ts +30 -0
  1004. package/models/validate-version-response.ts +31 -0
  1005. package/models/validation-issue.ts +42 -0
  1006. package/models/validation-report.ts +37 -0
  1007. package/models/version-status.ts +34 -0
  1008. package/package.json +27 -4
  1009. package/tsconfig.json +23 -0
@@ -0,0 +1,1373 @@
1
+ /**
2
+ * insuranceservice/v2/config_common.proto
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: version not set
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 { CheckPolicyUpgradeBody } from '../models';
16
+ import { CheckPolicyUpgradeResponse } from '../models';
17
+ import { CorrectPolicyBody } from '../models';
18
+ import { CorrectPolicyResponse } from '../models';
19
+ import { CreatePolicyRequest } from '../models';
20
+ import { CreatePolicyResponse } from '../models';
21
+ import { DetachPolicyBody } from '../models';
22
+ import { DetachPolicyResponse } from '../models';
23
+ import { EndorsePolicyBody } from '../models';
24
+ import { EndorsePolicyResponse } from '../models';
25
+ import { EstimatePolicyPremiumResponse } from '../models';
26
+ import { GetCoverageAtDateResponse } from '../models';
27
+ import { GetPolicyFilterCatalogResponse } from '../models';
28
+ import { GetPolicyPartnerHistoryResponse } from '../models';
29
+ import { GetPolicyResponse } from '../models';
30
+ import { GetPolicySchemaResponse } from '../models';
31
+ import { GetPolicyTimelineResponse } from '../models';
32
+ import { ListPoliciesResponse } from '../models';
33
+ import { ListPolicyFilterValuesResponse } from '../models';
34
+ import { ListPolicySnapshotsResponse } from '../models';
35
+ import { ListPolicyUpgradeTargetsResponse } from '../models';
36
+ import { PreviewPolicyCorrectionBody } from '../models';
37
+ import { PreviewPolicyCorrectionResponse } from '../models';
38
+ import { TerminatePolicyBody } from '../models';
39
+ import { TerminatePolicyResponse } from '../models';
40
+ import { UpgradePolicyBody } from '../models';
41
+ import { UpgradePolicyResponse } from '../models';
42
+ /**
43
+ * PoliciesApi - axios parameter creator
44
+ * @export
45
+ */
46
+ export declare const PoliciesApiAxiosParamCreator: (configuration?: Configuration) => {
47
+ /**
48
+ *
49
+ * @summary Checks whether a policy can be upgraded, without upgrading it.
50
+ * @param {string} code The policy\'s code.
51
+ * @param {CheckPolicyUpgradeBody} body
52
+ * @param {*} [options] Override http request option.
53
+ * @throws {RequiredError}
54
+ */
55
+ policyServiceCheckPolicyUpgrade: (code: string, body: CheckPolicyUpgradeBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
56
+ /**
57
+ *
58
+ * @summary Corrects a policy over a range of business time.
59
+ * @param {string} code The policy\&#39;s code.
60
+ * @param {string} ifMatch The policy\&#39;s &#x60;etag&#x60; as last read, sent back unchanged.
61
+ * @param {CorrectPolicyBody} body
62
+ * @param {*} [options] Override http request option.
63
+ * @throws {RequiredError}
64
+ */
65
+ policyServiceCorrectPolicy: (code: string, ifMatch: string, body: CorrectPolicyBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
66
+ /**
67
+ *
68
+ * @summary Creates a policy, standalone or as a member of a group policy.
69
+ * @param {CreatePolicyRequest} body The request of &#x60;CreatePolicy&#x60;.
70
+ * @param {*} [options] Override http request option.
71
+ * @throws {RequiredError}
72
+ */
73
+ policyServiceCreatePolicy: (body: CreatePolicyRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
74
+ /**
75
+ *
76
+ * @summary Detaches a member from its group policy and makes it a standalone policy.
77
+ * @param {string} code The code of the member policy to detach.
78
+ * @param {string} ifMatch The policy\&#39;s &#x60;etag&#x60; as last read, sent back unchanged.
79
+ * @param {DetachPolicyBody} body
80
+ * @param {*} [options] Override http request option.
81
+ * @throws {RequiredError}
82
+ */
83
+ policyServiceDetachPolicy: (code: string, ifMatch: string, body: DetachPolicyBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
84
+ /**
85
+ *
86
+ * @summary Endorses a policy from a date on.
87
+ * @param {string} code The policy\&#39;s code.
88
+ * @param {string} ifMatch The policy\&#39;s &#x60;etag&#x60; as last read, sent back unchanged.
89
+ * @param {EndorsePolicyBody} body
90
+ * @param {*} [options] Override http request option.
91
+ * @throws {RequiredError}
92
+ */
93
+ policyServiceEndorsePolicy: (code: string, ifMatch: string, body: EndorsePolicyBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
94
+ /**
95
+ *
96
+ * @summary Returns a policy\'s actual premium beside an estimate of its next premium.
97
+ * @param {string} code The policy\&#39;s code.
98
+ * @param {string} [validAt] The business day, as &#x60;YYYY-MM-DD&#x60;. The default is today (UTC).
99
+ * @param {*} [options] Override http request option.
100
+ * @throws {RequiredError}
101
+ */
102
+ policyServiceEstimatePolicyPremium: (code: string, validAt?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
103
+ /**
104
+ * TODO: not available yet, the call answers Unimplemented. Remove this line when the call is built.
105
+ * @summary Returns what a policy covered on the day of a loss.
106
+ * @param {string} [policyCode] The policy\&#39;s code. Set exactly one of &#x60;policyCode&#x60; and &#x60;identifier&#x60;.
107
+ * @param {string} [identifier] The policy found by an identifier field, as &#x60;&lt;field&gt;&#x3D;&#x3D;&lt;value&gt;&#x60;. The field is an identifier field of the policy filter catalog (&#x60;identifier: true&#x60;).
108
+ * @param {string} [damageDate] The day of the loss, as an RFC 3339 full-date (&#x60;YYYY-MM-DD&#x60;). Required. It is the business day the policy is read at.
109
+ * @param {string} [asOf] The system time to read: the belief held at that moment. Empty means now.
110
+ * @param {*} [options] Override http request option.
111
+ * @throws {RequiredError}
112
+ */
113
+ policyServiceGetCoverageAtDate: (policyCode?: string, identifier?: string, damageDate?: string, asOf?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
114
+ /**
115
+ *
116
+ * @summary Returns one policy at a point in business time and system time.
117
+ * @param {string} code The policy\&#39;s code.
118
+ * @param {string} [validAt] The business day to read, as an RFC 3339 full-date (&#x60;YYYY-MM-DD&#x60;). Empty means today (the UTC date).
119
+ * @param {string} [asOf] The system time to read: what the service believed at that moment. Empty means the current belief.
120
+ * @param {string} [expand] The related data to include. The only value is &#x60;timeline&#x60;, which adds the policy\&#39;s timeslices.
121
+ * @param {*} [options] Override http request option.
122
+ * @throws {RequiredError}
123
+ */
124
+ policyServiceGetPolicy: (code: string, validAt?: string, asOf?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
125
+ /**
126
+ *
127
+ * @summary Returns the filter catalog of the policy list.
128
+ * @param {string} [tariffSlug] The slug of the tariff whose product fields to include. When empty, only the system fields are returned.
129
+ * @param {*} [options] Override http request option.
130
+ * @throws {RequiredError}
131
+ */
132
+ policyServiceGetPolicyFilterCatalog: (tariffSlug?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
133
+ /**
134
+ *
135
+ * @summary Returns who filled which partner role on a policy, and when.
136
+ * @param {string} code The policy\&#39;s code.
137
+ * @param {string} [asOf] The system time to read: the history as believed at that moment. Empty means now.
138
+ * @param {*} [options] Override http request option.
139
+ * @throws {RequiredError}
140
+ */
141
+ policyServiceGetPolicyPartnerHistory: (code: string, asOf?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
142
+ /**
143
+ *
144
+ * @summary Returns the schema that this policy\'s data is validated against.
145
+ * @param {string} code The policy\&#39;s code.
146
+ * @param {string} [validAt] The business day, as &#x60;YYYY-MM-DD&#x60;. Empty means today (UTC). The schema is the one of the tariff version the policy had on that day.
147
+ * @param {string} [asOf] The system time to read. Empty means the current belief.
148
+ * @param {*} [options] Override http request option.
149
+ * @throws {RequiredError}
150
+ */
151
+ policyServiceGetPolicySchema: (code: string, validAt?: string, asOf?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
152
+ /**
153
+ *
154
+ * @summary Returns the segments of a policy\'s timeline, ordered by business time.
155
+ * @param {string} code The policy\&#39;s code.
156
+ * @param {string} [asOf] Not used: the timeline is always the one believed now.
157
+ * @param {boolean} [includeSuperseded] Whether to add the superseded segments. A past premium is reproduced from them.
158
+ * @param {*} [options] Override http request option.
159
+ * @throws {RequiredError}
160
+ */
161
+ policyServiceGetPolicyTimeline: (code: string, asOf?: string, includeSuperseded?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
162
+ /**
163
+ *
164
+ * @summary Lists policies as they are valid today.
165
+ * @param {number} [pageSize]
166
+ * @param {string} [pageToken]
167
+ * @param {string} [filter]
168
+ * @param {string} [search]
169
+ * @param {string} [order]
170
+ * @param {string} [expand]
171
+ * @param {string} [filters]
172
+ * @param {*} [options] Override http request option.
173
+ * @throws {RequiredError}
174
+ */
175
+ policyServiceListPolicies: (pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
176
+ /**
177
+ *
178
+ * @summary Suggests values for one filter field of the policy list.
179
+ * @param {number} [pageSize]
180
+ * @param {string} [pageToken]
181
+ * @param {string} [filter]
182
+ * @param {string} [search]
183
+ * @param {string} [order]
184
+ * @param {string} [expand]
185
+ * @param {string} [filters]
186
+ * @param {*} [options] Override http request option.
187
+ * @throws {RequiredError}
188
+ */
189
+ policyServiceListPolicyFilterValues: (pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
190
+ /**
191
+ * Name the policy with the filter `policy.code==<code>`; it is required and takes the operator `==` only. `includeSuperseded==true` adds the beliefs a later correction replaced, and `asOf==<RFC 3339 moment>` reads the slices as they were believed then.
192
+ * @summary Lists the timeslices of one policy, ordered by `validFrom`.
193
+ * @param {number} [pageSize]
194
+ * @param {string} [pageToken]
195
+ * @param {string} [filter]
196
+ * @param {string} [search]
197
+ * @param {string} [order]
198
+ * @param {string} [expand]
199
+ * @param {string} [filters]
200
+ * @param {*} [options] Override http request option.
201
+ * @throws {RequiredError}
202
+ */
203
+ policyServiceListPolicySnapshots: (pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
204
+ /**
205
+ *
206
+ * @summary Lists the tariff versions a policy can be upgraded to.
207
+ * @param {number} [pageSize]
208
+ * @param {string} [pageToken]
209
+ * @param {string} [filter]
210
+ * @param {string} [search]
211
+ * @param {string} [order]
212
+ * @param {string} [expand]
213
+ * @param {string} [filters]
214
+ * @param {*} [options] Override http request option.
215
+ * @throws {RequiredError}
216
+ */
217
+ policyServiceListPolicyUpgradeTargets: (pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
218
+ /**
219
+ *
220
+ * @summary Previews a correction without writing it.
221
+ * @param {string} code The policy\&#39;s code.
222
+ * @param {PreviewPolicyCorrectionBody} body
223
+ * @param {*} [options] Override http request option.
224
+ * @throws {RequiredError}
225
+ */
226
+ policyServicePreviewPolicyCorrection: (code: string, body: PreviewPolicyCorrectionBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
227
+ /**
228
+ *
229
+ * @summary Terminates a policy from a date on.
230
+ * @param {string} code The policy\&#39;s code.
231
+ * @param {string} ifMatch The policy\&#39;s &#x60;etag&#x60; as last read, sent back unchanged.
232
+ * @param {TerminatePolicyBody} body
233
+ * @param {*} [options] Override http request option.
234
+ * @throws {RequiredError}
235
+ */
236
+ policyServiceTerminatePolicy: (code: string, ifMatch: string, body: TerminatePolicyBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
237
+ /**
238
+ *
239
+ * @summary Upgrades a policy to a newer tariff version.
240
+ * @param {string} code The policy\&#39;s code.
241
+ * @param {string} ifMatch The policy\&#39;s &#x60;etag&#x60; as last read, sent back unchanged.
242
+ * @param {UpgradePolicyBody} body
243
+ * @param {*} [options] Override http request option.
244
+ * @throws {RequiredError}
245
+ */
246
+ policyServiceUpgradePolicy: (code: string, ifMatch: string, body: UpgradePolicyBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
247
+ };
248
+ /**
249
+ * PoliciesApi - functional programming interface
250
+ * @export
251
+ */
252
+ export declare const PoliciesApiFp: (configuration?: Configuration) => {
253
+ /**
254
+ *
255
+ * @summary Checks whether a policy can be upgraded, without upgrading it.
256
+ * @param {string} code The policy\&#39;s code.
257
+ * @param {CheckPolicyUpgradeBody} body
258
+ * @param {*} [options] Override http request option.
259
+ * @throws {RequiredError}
260
+ */
261
+ policyServiceCheckPolicyUpgrade(code: string, body: CheckPolicyUpgradeBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CheckPolicyUpgradeResponse>>;
262
+ /**
263
+ *
264
+ * @summary Corrects a policy over a range of business time.
265
+ * @param {string} code The policy\&#39;s code.
266
+ * @param {string} ifMatch The policy\&#39;s &#x60;etag&#x60; as last read, sent back unchanged.
267
+ * @param {CorrectPolicyBody} body
268
+ * @param {*} [options] Override http request option.
269
+ * @throws {RequiredError}
270
+ */
271
+ policyServiceCorrectPolicy(code: string, ifMatch: string, body: CorrectPolicyBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CorrectPolicyResponse>>;
272
+ /**
273
+ *
274
+ * @summary Creates a policy, standalone or as a member of a group policy.
275
+ * @param {CreatePolicyRequest} body The request of &#x60;CreatePolicy&#x60;.
276
+ * @param {*} [options] Override http request option.
277
+ * @throws {RequiredError}
278
+ */
279
+ policyServiceCreatePolicy(body: CreatePolicyRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePolicyResponse>>;
280
+ /**
281
+ *
282
+ * @summary Detaches a member from its group policy and makes it a standalone policy.
283
+ * @param {string} code The code of the member policy to detach.
284
+ * @param {string} ifMatch The policy\&#39;s &#x60;etag&#x60; as last read, sent back unchanged.
285
+ * @param {DetachPolicyBody} body
286
+ * @param {*} [options] Override http request option.
287
+ * @throws {RequiredError}
288
+ */
289
+ policyServiceDetachPolicy(code: string, ifMatch: string, body: DetachPolicyBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DetachPolicyResponse>>;
290
+ /**
291
+ *
292
+ * @summary Endorses a policy from a date on.
293
+ * @param {string} code The policy\&#39;s code.
294
+ * @param {string} ifMatch The policy\&#39;s &#x60;etag&#x60; as last read, sent back unchanged.
295
+ * @param {EndorsePolicyBody} body
296
+ * @param {*} [options] Override http request option.
297
+ * @throws {RequiredError}
298
+ */
299
+ policyServiceEndorsePolicy(code: string, ifMatch: string, body: EndorsePolicyBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EndorsePolicyResponse>>;
300
+ /**
301
+ *
302
+ * @summary Returns a policy\'s actual premium beside an estimate of its next premium.
303
+ * @param {string} code The policy\&#39;s code.
304
+ * @param {string} [validAt] The business day, as &#x60;YYYY-MM-DD&#x60;. The default is today (UTC).
305
+ * @param {*} [options] Override http request option.
306
+ * @throws {RequiredError}
307
+ */
308
+ policyServiceEstimatePolicyPremium(code: string, validAt?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EstimatePolicyPremiumResponse>>;
309
+ /**
310
+ * TODO: not available yet, the call answers Unimplemented. Remove this line when the call is built.
311
+ * @summary Returns what a policy covered on the day of a loss.
312
+ * @param {string} [policyCode] The policy\&#39;s code. Set exactly one of &#x60;policyCode&#x60; and &#x60;identifier&#x60;.
313
+ * @param {string} [identifier] The policy found by an identifier field, as &#x60;&lt;field&gt;&#x3D;&#x3D;&lt;value&gt;&#x60;. The field is an identifier field of the policy filter catalog (&#x60;identifier: true&#x60;).
314
+ * @param {string} [damageDate] The day of the loss, as an RFC 3339 full-date (&#x60;YYYY-MM-DD&#x60;). Required. It is the business day the policy is read at.
315
+ * @param {string} [asOf] The system time to read: the belief held at that moment. Empty means now.
316
+ * @param {*} [options] Override http request option.
317
+ * @throws {RequiredError}
318
+ */
319
+ policyServiceGetCoverageAtDate(policyCode?: string, identifier?: string, damageDate?: string, asOf?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetCoverageAtDateResponse>>;
320
+ /**
321
+ *
322
+ * @summary Returns one policy at a point in business time and system time.
323
+ * @param {string} code The policy\&#39;s code.
324
+ * @param {string} [validAt] The business day to read, as an RFC 3339 full-date (&#x60;YYYY-MM-DD&#x60;). Empty means today (the UTC date).
325
+ * @param {string} [asOf] The system time to read: what the service believed at that moment. Empty means the current belief.
326
+ * @param {string} [expand] The related data to include. The only value is &#x60;timeline&#x60;, which adds the policy\&#39;s timeslices.
327
+ * @param {*} [options] Override http request option.
328
+ * @throws {RequiredError}
329
+ */
330
+ policyServiceGetPolicy(code: string, validAt?: string, asOf?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPolicyResponse>>;
331
+ /**
332
+ *
333
+ * @summary Returns the filter catalog of the policy list.
334
+ * @param {string} [tariffSlug] The slug of the tariff whose product fields to include. When empty, only the system fields are returned.
335
+ * @param {*} [options] Override http request option.
336
+ * @throws {RequiredError}
337
+ */
338
+ policyServiceGetPolicyFilterCatalog(tariffSlug?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPolicyFilterCatalogResponse>>;
339
+ /**
340
+ *
341
+ * @summary Returns who filled which partner role on a policy, and when.
342
+ * @param {string} code The policy\&#39;s code.
343
+ * @param {string} [asOf] The system time to read: the history as believed at that moment. Empty means now.
344
+ * @param {*} [options] Override http request option.
345
+ * @throws {RequiredError}
346
+ */
347
+ policyServiceGetPolicyPartnerHistory(code: string, asOf?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPolicyPartnerHistoryResponse>>;
348
+ /**
349
+ *
350
+ * @summary Returns the schema that this policy\'s data is validated against.
351
+ * @param {string} code The policy\&#39;s code.
352
+ * @param {string} [validAt] The business day, as &#x60;YYYY-MM-DD&#x60;. Empty means today (UTC). The schema is the one of the tariff version the policy had on that day.
353
+ * @param {string} [asOf] The system time to read. Empty means the current belief.
354
+ * @param {*} [options] Override http request option.
355
+ * @throws {RequiredError}
356
+ */
357
+ policyServiceGetPolicySchema(code: string, validAt?: string, asOf?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPolicySchemaResponse>>;
358
+ /**
359
+ *
360
+ * @summary Returns the segments of a policy\'s timeline, ordered by business time.
361
+ * @param {string} code The policy\&#39;s code.
362
+ * @param {string} [asOf] Not used: the timeline is always the one believed now.
363
+ * @param {boolean} [includeSuperseded] Whether to add the superseded segments. A past premium is reproduced from them.
364
+ * @param {*} [options] Override http request option.
365
+ * @throws {RequiredError}
366
+ */
367
+ policyServiceGetPolicyTimeline(code: string, asOf?: string, includeSuperseded?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPolicyTimelineResponse>>;
368
+ /**
369
+ *
370
+ * @summary Lists policies as they are valid today.
371
+ * @param {number} [pageSize]
372
+ * @param {string} [pageToken]
373
+ * @param {string} [filter]
374
+ * @param {string} [search]
375
+ * @param {string} [order]
376
+ * @param {string} [expand]
377
+ * @param {string} [filters]
378
+ * @param {*} [options] Override http request option.
379
+ * @throws {RequiredError}
380
+ */
381
+ policyServiceListPolicies(pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPoliciesResponse>>;
382
+ /**
383
+ *
384
+ * @summary Suggests values for one filter field of the policy list.
385
+ * @param {number} [pageSize]
386
+ * @param {string} [pageToken]
387
+ * @param {string} [filter]
388
+ * @param {string} [search]
389
+ * @param {string} [order]
390
+ * @param {string} [expand]
391
+ * @param {string} [filters]
392
+ * @param {*} [options] Override http request option.
393
+ * @throws {RequiredError}
394
+ */
395
+ policyServiceListPolicyFilterValues(pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPolicyFilterValuesResponse>>;
396
+ /**
397
+ * Name the policy with the filter `policy.code==<code>`; it is required and takes the operator `==` only. `includeSuperseded==true` adds the beliefs a later correction replaced, and `asOf==<RFC 3339 moment>` reads the slices as they were believed then.
398
+ * @summary Lists the timeslices of one policy, ordered by `validFrom`.
399
+ * @param {number} [pageSize]
400
+ * @param {string} [pageToken]
401
+ * @param {string} [filter]
402
+ * @param {string} [search]
403
+ * @param {string} [order]
404
+ * @param {string} [expand]
405
+ * @param {string} [filters]
406
+ * @param {*} [options] Override http request option.
407
+ * @throws {RequiredError}
408
+ */
409
+ policyServiceListPolicySnapshots(pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPolicySnapshotsResponse>>;
410
+ /**
411
+ *
412
+ * @summary Lists the tariff versions a policy can be upgraded to.
413
+ * @param {number} [pageSize]
414
+ * @param {string} [pageToken]
415
+ * @param {string} [filter]
416
+ * @param {string} [search]
417
+ * @param {string} [order]
418
+ * @param {string} [expand]
419
+ * @param {string} [filters]
420
+ * @param {*} [options] Override http request option.
421
+ * @throws {RequiredError}
422
+ */
423
+ policyServiceListPolicyUpgradeTargets(pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPolicyUpgradeTargetsResponse>>;
424
+ /**
425
+ *
426
+ * @summary Previews a correction without writing it.
427
+ * @param {string} code The policy\&#39;s code.
428
+ * @param {PreviewPolicyCorrectionBody} body
429
+ * @param {*} [options] Override http request option.
430
+ * @throws {RequiredError}
431
+ */
432
+ policyServicePreviewPolicyCorrection(code: string, body: PreviewPolicyCorrectionBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PreviewPolicyCorrectionResponse>>;
433
+ /**
434
+ *
435
+ * @summary Terminates a policy from a date on.
436
+ * @param {string} code The policy\&#39;s code.
437
+ * @param {string} ifMatch The policy\&#39;s &#x60;etag&#x60; as last read, sent back unchanged.
438
+ * @param {TerminatePolicyBody} body
439
+ * @param {*} [options] Override http request option.
440
+ * @throws {RequiredError}
441
+ */
442
+ policyServiceTerminatePolicy(code: string, ifMatch: string, body: TerminatePolicyBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TerminatePolicyResponse>>;
443
+ /**
444
+ *
445
+ * @summary Upgrades a policy to a newer tariff version.
446
+ * @param {string} code The policy\&#39;s code.
447
+ * @param {string} ifMatch The policy\&#39;s &#x60;etag&#x60; as last read, sent back unchanged.
448
+ * @param {UpgradePolicyBody} body
449
+ * @param {*} [options] Override http request option.
450
+ * @throws {RequiredError}
451
+ */
452
+ policyServiceUpgradePolicy(code: string, ifMatch: string, body: UpgradePolicyBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpgradePolicyResponse>>;
453
+ };
454
+ /**
455
+ * PoliciesApi - factory interface
456
+ * @export
457
+ */
458
+ export declare const PoliciesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
459
+ /**
460
+ *
461
+ * @summary Checks whether a policy can be upgraded, without upgrading it.
462
+ * @param {string} code The policy\&#39;s code.
463
+ * @param {CheckPolicyUpgradeBody} body
464
+ * @param {*} [options] Override http request option.
465
+ * @throws {RequiredError}
466
+ */
467
+ policyServiceCheckPolicyUpgrade(code: string, body: CheckPolicyUpgradeBody, options?: any): AxiosPromise<CheckPolicyUpgradeResponse>;
468
+ /**
469
+ *
470
+ * @summary Corrects a policy over a range of business time.
471
+ * @param {string} code The policy\&#39;s code.
472
+ * @param {string} ifMatch The policy\&#39;s &#x60;etag&#x60; as last read, sent back unchanged.
473
+ * @param {CorrectPolicyBody} body
474
+ * @param {*} [options] Override http request option.
475
+ * @throws {RequiredError}
476
+ */
477
+ policyServiceCorrectPolicy(code: string, ifMatch: string, body: CorrectPolicyBody, options?: any): AxiosPromise<CorrectPolicyResponse>;
478
+ /**
479
+ *
480
+ * @summary Creates a policy, standalone or as a member of a group policy.
481
+ * @param {CreatePolicyRequest} body The request of &#x60;CreatePolicy&#x60;.
482
+ * @param {*} [options] Override http request option.
483
+ * @throws {RequiredError}
484
+ */
485
+ policyServiceCreatePolicy(body: CreatePolicyRequest, options?: any): AxiosPromise<CreatePolicyResponse>;
486
+ /**
487
+ *
488
+ * @summary Detaches a member from its group policy and makes it a standalone policy.
489
+ * @param {string} code The code of the member policy to detach.
490
+ * @param {string} ifMatch The policy\&#39;s &#x60;etag&#x60; as last read, sent back unchanged.
491
+ * @param {DetachPolicyBody} body
492
+ * @param {*} [options] Override http request option.
493
+ * @throws {RequiredError}
494
+ */
495
+ policyServiceDetachPolicy(code: string, ifMatch: string, body: DetachPolicyBody, options?: any): AxiosPromise<DetachPolicyResponse>;
496
+ /**
497
+ *
498
+ * @summary Endorses a policy from a date on.
499
+ * @param {string} code The policy\&#39;s code.
500
+ * @param {string} ifMatch The policy\&#39;s &#x60;etag&#x60; as last read, sent back unchanged.
501
+ * @param {EndorsePolicyBody} body
502
+ * @param {*} [options] Override http request option.
503
+ * @throws {RequiredError}
504
+ */
505
+ policyServiceEndorsePolicy(code: string, ifMatch: string, body: EndorsePolicyBody, options?: any): AxiosPromise<EndorsePolicyResponse>;
506
+ /**
507
+ *
508
+ * @summary Returns a policy\'s actual premium beside an estimate of its next premium.
509
+ * @param {string} code The policy\&#39;s code.
510
+ * @param {string} [validAt] The business day, as &#x60;YYYY-MM-DD&#x60;. The default is today (UTC).
511
+ * @param {*} [options] Override http request option.
512
+ * @throws {RequiredError}
513
+ */
514
+ policyServiceEstimatePolicyPremium(code: string, validAt?: string, options?: any): AxiosPromise<EstimatePolicyPremiumResponse>;
515
+ /**
516
+ * TODO: not available yet, the call answers Unimplemented. Remove this line when the call is built.
517
+ * @summary Returns what a policy covered on the day of a loss.
518
+ * @param {string} [policyCode] The policy\&#39;s code. Set exactly one of &#x60;policyCode&#x60; and &#x60;identifier&#x60;.
519
+ * @param {string} [identifier] The policy found by an identifier field, as &#x60;&lt;field&gt;&#x3D;&#x3D;&lt;value&gt;&#x60;. The field is an identifier field of the policy filter catalog (&#x60;identifier: true&#x60;).
520
+ * @param {string} [damageDate] The day of the loss, as an RFC 3339 full-date (&#x60;YYYY-MM-DD&#x60;). Required. It is the business day the policy is read at.
521
+ * @param {string} [asOf] The system time to read: the belief held at that moment. Empty means now.
522
+ * @param {*} [options] Override http request option.
523
+ * @throws {RequiredError}
524
+ */
525
+ policyServiceGetCoverageAtDate(policyCode?: string, identifier?: string, damageDate?: string, asOf?: string, options?: any): AxiosPromise<GetCoverageAtDateResponse>;
526
+ /**
527
+ *
528
+ * @summary Returns one policy at a point in business time and system time.
529
+ * @param {string} code The policy\&#39;s code.
530
+ * @param {string} [validAt] The business day to read, as an RFC 3339 full-date (&#x60;YYYY-MM-DD&#x60;). Empty means today (the UTC date).
531
+ * @param {string} [asOf] The system time to read: what the service believed at that moment. Empty means the current belief.
532
+ * @param {string} [expand] The related data to include. The only value is &#x60;timeline&#x60;, which adds the policy\&#39;s timeslices.
533
+ * @param {*} [options] Override http request option.
534
+ * @throws {RequiredError}
535
+ */
536
+ policyServiceGetPolicy(code: string, validAt?: string, asOf?: string, expand?: string, options?: any): AxiosPromise<GetPolicyResponse>;
537
+ /**
538
+ *
539
+ * @summary Returns the filter catalog of the policy list.
540
+ * @param {string} [tariffSlug] The slug of the tariff whose product fields to include. When empty, only the system fields are returned.
541
+ * @param {*} [options] Override http request option.
542
+ * @throws {RequiredError}
543
+ */
544
+ policyServiceGetPolicyFilterCatalog(tariffSlug?: string, options?: any): AxiosPromise<GetPolicyFilterCatalogResponse>;
545
+ /**
546
+ *
547
+ * @summary Returns who filled which partner role on a policy, and when.
548
+ * @param {string} code The policy\&#39;s code.
549
+ * @param {string} [asOf] The system time to read: the history as believed at that moment. Empty means now.
550
+ * @param {*} [options] Override http request option.
551
+ * @throws {RequiredError}
552
+ */
553
+ policyServiceGetPolicyPartnerHistory(code: string, asOf?: string, options?: any): AxiosPromise<GetPolicyPartnerHistoryResponse>;
554
+ /**
555
+ *
556
+ * @summary Returns the schema that this policy\'s data is validated against.
557
+ * @param {string} code The policy\&#39;s code.
558
+ * @param {string} [validAt] The business day, as &#x60;YYYY-MM-DD&#x60;. Empty means today (UTC). The schema is the one of the tariff version the policy had on that day.
559
+ * @param {string} [asOf] The system time to read. Empty means the current belief.
560
+ * @param {*} [options] Override http request option.
561
+ * @throws {RequiredError}
562
+ */
563
+ policyServiceGetPolicySchema(code: string, validAt?: string, asOf?: string, options?: any): AxiosPromise<GetPolicySchemaResponse>;
564
+ /**
565
+ *
566
+ * @summary Returns the segments of a policy\'s timeline, ordered by business time.
567
+ * @param {string} code The policy\&#39;s code.
568
+ * @param {string} [asOf] Not used: the timeline is always the one believed now.
569
+ * @param {boolean} [includeSuperseded] Whether to add the superseded segments. A past premium is reproduced from them.
570
+ * @param {*} [options] Override http request option.
571
+ * @throws {RequiredError}
572
+ */
573
+ policyServiceGetPolicyTimeline(code: string, asOf?: string, includeSuperseded?: boolean, options?: any): AxiosPromise<GetPolicyTimelineResponse>;
574
+ /**
575
+ *
576
+ * @summary Lists policies as they are valid today.
577
+ * @param {number} [pageSize]
578
+ * @param {string} [pageToken]
579
+ * @param {string} [filter]
580
+ * @param {string} [search]
581
+ * @param {string} [order]
582
+ * @param {string} [expand]
583
+ * @param {string} [filters]
584
+ * @param {*} [options] Override http request option.
585
+ * @throws {RequiredError}
586
+ */
587
+ policyServiceListPolicies(pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListPoliciesResponse>;
588
+ /**
589
+ *
590
+ * @summary Suggests values for one filter field of the policy list.
591
+ * @param {number} [pageSize]
592
+ * @param {string} [pageToken]
593
+ * @param {string} [filter]
594
+ * @param {string} [search]
595
+ * @param {string} [order]
596
+ * @param {string} [expand]
597
+ * @param {string} [filters]
598
+ * @param {*} [options] Override http request option.
599
+ * @throws {RequiredError}
600
+ */
601
+ policyServiceListPolicyFilterValues(pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListPolicyFilterValuesResponse>;
602
+ /**
603
+ * Name the policy with the filter `policy.code==<code>`; it is required and takes the operator `==` only. `includeSuperseded==true` adds the beliefs a later correction replaced, and `asOf==<RFC 3339 moment>` reads the slices as they were believed then.
604
+ * @summary Lists the timeslices of one policy, ordered by `validFrom`.
605
+ * @param {number} [pageSize]
606
+ * @param {string} [pageToken]
607
+ * @param {string} [filter]
608
+ * @param {string} [search]
609
+ * @param {string} [order]
610
+ * @param {string} [expand]
611
+ * @param {string} [filters]
612
+ * @param {*} [options] Override http request option.
613
+ * @throws {RequiredError}
614
+ */
615
+ policyServiceListPolicySnapshots(pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListPolicySnapshotsResponse>;
616
+ /**
617
+ *
618
+ * @summary Lists the tariff versions a policy can be upgraded to.
619
+ * @param {number} [pageSize]
620
+ * @param {string} [pageToken]
621
+ * @param {string} [filter]
622
+ * @param {string} [search]
623
+ * @param {string} [order]
624
+ * @param {string} [expand]
625
+ * @param {string} [filters]
626
+ * @param {*} [options] Override http request option.
627
+ * @throws {RequiredError}
628
+ */
629
+ policyServiceListPolicyUpgradeTargets(pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListPolicyUpgradeTargetsResponse>;
630
+ /**
631
+ *
632
+ * @summary Previews a correction without writing it.
633
+ * @param {string} code The policy\&#39;s code.
634
+ * @param {PreviewPolicyCorrectionBody} body
635
+ * @param {*} [options] Override http request option.
636
+ * @throws {RequiredError}
637
+ */
638
+ policyServicePreviewPolicyCorrection(code: string, body: PreviewPolicyCorrectionBody, options?: any): AxiosPromise<PreviewPolicyCorrectionResponse>;
639
+ /**
640
+ *
641
+ * @summary Terminates a policy from a date on.
642
+ * @param {string} code The policy\&#39;s code.
643
+ * @param {string} ifMatch The policy\&#39;s &#x60;etag&#x60; as last read, sent back unchanged.
644
+ * @param {TerminatePolicyBody} body
645
+ * @param {*} [options] Override http request option.
646
+ * @throws {RequiredError}
647
+ */
648
+ policyServiceTerminatePolicy(code: string, ifMatch: string, body: TerminatePolicyBody, options?: any): AxiosPromise<TerminatePolicyResponse>;
649
+ /**
650
+ *
651
+ * @summary Upgrades a policy to a newer tariff version.
652
+ * @param {string} code The policy\&#39;s code.
653
+ * @param {string} ifMatch The policy\&#39;s &#x60;etag&#x60; as last read, sent back unchanged.
654
+ * @param {UpgradePolicyBody} body
655
+ * @param {*} [options] Override http request option.
656
+ * @throws {RequiredError}
657
+ */
658
+ policyServiceUpgradePolicy(code: string, ifMatch: string, body: UpgradePolicyBody, options?: any): AxiosPromise<UpgradePolicyResponse>;
659
+ };
660
+ /**
661
+ * Request parameters for policyServiceCheckPolicyUpgrade operation in PoliciesApi.
662
+ * @export
663
+ * @interface PoliciesApiPolicyServiceCheckPolicyUpgradeRequest
664
+ */
665
+ export interface PoliciesApiPolicyServiceCheckPolicyUpgradeRequest {
666
+ /**
667
+ * The policy\&#39;s code.
668
+ * @type {string}
669
+ * @memberof PoliciesApiPolicyServiceCheckPolicyUpgrade
670
+ */
671
+ readonly code: string;
672
+ /**
673
+ *
674
+ * @type {CheckPolicyUpgradeBody}
675
+ * @memberof PoliciesApiPolicyServiceCheckPolicyUpgrade
676
+ */
677
+ readonly body: CheckPolicyUpgradeBody;
678
+ }
679
+ /**
680
+ * Request parameters for policyServiceCorrectPolicy operation in PoliciesApi.
681
+ * @export
682
+ * @interface PoliciesApiPolicyServiceCorrectPolicyRequest
683
+ */
684
+ export interface PoliciesApiPolicyServiceCorrectPolicyRequest {
685
+ /**
686
+ * The policy\&#39;s code.
687
+ * @type {string}
688
+ * @memberof PoliciesApiPolicyServiceCorrectPolicy
689
+ */
690
+ readonly code: string;
691
+ /**
692
+ * The policy\&#39;s &#x60;etag&#x60; as last read, sent back unchanged.
693
+ * @type {string}
694
+ * @memberof PoliciesApiPolicyServiceCorrectPolicy
695
+ */
696
+ readonly ifMatch: string;
697
+ /**
698
+ *
699
+ * @type {CorrectPolicyBody}
700
+ * @memberof PoliciesApiPolicyServiceCorrectPolicy
701
+ */
702
+ readonly body: CorrectPolicyBody;
703
+ }
704
+ /**
705
+ * Request parameters for policyServiceCreatePolicy operation in PoliciesApi.
706
+ * @export
707
+ * @interface PoliciesApiPolicyServiceCreatePolicyRequest
708
+ */
709
+ export interface PoliciesApiPolicyServiceCreatePolicyRequest {
710
+ /**
711
+ * The request of &#x60;CreatePolicy&#x60;.
712
+ * @type {CreatePolicyRequest}
713
+ * @memberof PoliciesApiPolicyServiceCreatePolicy
714
+ */
715
+ readonly body: CreatePolicyRequest;
716
+ }
717
+ /**
718
+ * Request parameters for policyServiceDetachPolicy operation in PoliciesApi.
719
+ * @export
720
+ * @interface PoliciesApiPolicyServiceDetachPolicyRequest
721
+ */
722
+ export interface PoliciesApiPolicyServiceDetachPolicyRequest {
723
+ /**
724
+ * The code of the member policy to detach.
725
+ * @type {string}
726
+ * @memberof PoliciesApiPolicyServiceDetachPolicy
727
+ */
728
+ readonly code: string;
729
+ /**
730
+ * The policy\&#39;s &#x60;etag&#x60; as last read, sent back unchanged.
731
+ * @type {string}
732
+ * @memberof PoliciesApiPolicyServiceDetachPolicy
733
+ */
734
+ readonly ifMatch: string;
735
+ /**
736
+ *
737
+ * @type {DetachPolicyBody}
738
+ * @memberof PoliciesApiPolicyServiceDetachPolicy
739
+ */
740
+ readonly body: DetachPolicyBody;
741
+ }
742
+ /**
743
+ * Request parameters for policyServiceEndorsePolicy operation in PoliciesApi.
744
+ * @export
745
+ * @interface PoliciesApiPolicyServiceEndorsePolicyRequest
746
+ */
747
+ export interface PoliciesApiPolicyServiceEndorsePolicyRequest {
748
+ /**
749
+ * The policy\&#39;s code.
750
+ * @type {string}
751
+ * @memberof PoliciesApiPolicyServiceEndorsePolicy
752
+ */
753
+ readonly code: string;
754
+ /**
755
+ * The policy\&#39;s &#x60;etag&#x60; as last read, sent back unchanged.
756
+ * @type {string}
757
+ * @memberof PoliciesApiPolicyServiceEndorsePolicy
758
+ */
759
+ readonly ifMatch: string;
760
+ /**
761
+ *
762
+ * @type {EndorsePolicyBody}
763
+ * @memberof PoliciesApiPolicyServiceEndorsePolicy
764
+ */
765
+ readonly body: EndorsePolicyBody;
766
+ }
767
+ /**
768
+ * Request parameters for policyServiceEstimatePolicyPremium operation in PoliciesApi.
769
+ * @export
770
+ * @interface PoliciesApiPolicyServiceEstimatePolicyPremiumRequest
771
+ */
772
+ export interface PoliciesApiPolicyServiceEstimatePolicyPremiumRequest {
773
+ /**
774
+ * The policy\&#39;s code.
775
+ * @type {string}
776
+ * @memberof PoliciesApiPolicyServiceEstimatePolicyPremium
777
+ */
778
+ readonly code: string;
779
+ /**
780
+ * The business day, as &#x60;YYYY-MM-DD&#x60;. The default is today (UTC).
781
+ * @type {string}
782
+ * @memberof PoliciesApiPolicyServiceEstimatePolicyPremium
783
+ */
784
+ readonly validAt?: string;
785
+ }
786
+ /**
787
+ * Request parameters for policyServiceGetCoverageAtDate operation in PoliciesApi.
788
+ * @export
789
+ * @interface PoliciesApiPolicyServiceGetCoverageAtDateRequest
790
+ */
791
+ export interface PoliciesApiPolicyServiceGetCoverageAtDateRequest {
792
+ /**
793
+ * The policy\&#39;s code. Set exactly one of &#x60;policyCode&#x60; and &#x60;identifier&#x60;.
794
+ * @type {string}
795
+ * @memberof PoliciesApiPolicyServiceGetCoverageAtDate
796
+ */
797
+ readonly policyCode?: string;
798
+ /**
799
+ * The policy found by an identifier field, as &#x60;&lt;field&gt;&#x3D;&#x3D;&lt;value&gt;&#x60;. The field is an identifier field of the policy filter catalog (&#x60;identifier: true&#x60;).
800
+ * @type {string}
801
+ * @memberof PoliciesApiPolicyServiceGetCoverageAtDate
802
+ */
803
+ readonly identifier?: string;
804
+ /**
805
+ * The day of the loss, as an RFC 3339 full-date (&#x60;YYYY-MM-DD&#x60;). Required. It is the business day the policy is read at.
806
+ * @type {string}
807
+ * @memberof PoliciesApiPolicyServiceGetCoverageAtDate
808
+ */
809
+ readonly damageDate?: string;
810
+ /**
811
+ * The system time to read: the belief held at that moment. Empty means now.
812
+ * @type {string}
813
+ * @memberof PoliciesApiPolicyServiceGetCoverageAtDate
814
+ */
815
+ readonly asOf?: string;
816
+ }
817
+ /**
818
+ * Request parameters for policyServiceGetPolicy operation in PoliciesApi.
819
+ * @export
820
+ * @interface PoliciesApiPolicyServiceGetPolicyRequest
821
+ */
822
+ export interface PoliciesApiPolicyServiceGetPolicyRequest {
823
+ /**
824
+ * The policy\&#39;s code.
825
+ * @type {string}
826
+ * @memberof PoliciesApiPolicyServiceGetPolicy
827
+ */
828
+ readonly code: string;
829
+ /**
830
+ * The business day to read, as an RFC 3339 full-date (&#x60;YYYY-MM-DD&#x60;). Empty means today (the UTC date).
831
+ * @type {string}
832
+ * @memberof PoliciesApiPolicyServiceGetPolicy
833
+ */
834
+ readonly validAt?: string;
835
+ /**
836
+ * The system time to read: what the service believed at that moment. Empty means the current belief.
837
+ * @type {string}
838
+ * @memberof PoliciesApiPolicyServiceGetPolicy
839
+ */
840
+ readonly asOf?: string;
841
+ /**
842
+ * The related data to include. The only value is &#x60;timeline&#x60;, which adds the policy\&#39;s timeslices.
843
+ * @type {string}
844
+ * @memberof PoliciesApiPolicyServiceGetPolicy
845
+ */
846
+ readonly expand?: string;
847
+ }
848
+ /**
849
+ * Request parameters for policyServiceGetPolicyFilterCatalog operation in PoliciesApi.
850
+ * @export
851
+ * @interface PoliciesApiPolicyServiceGetPolicyFilterCatalogRequest
852
+ */
853
+ export interface PoliciesApiPolicyServiceGetPolicyFilterCatalogRequest {
854
+ /**
855
+ * The slug of the tariff whose product fields to include. When empty, only the system fields are returned.
856
+ * @type {string}
857
+ * @memberof PoliciesApiPolicyServiceGetPolicyFilterCatalog
858
+ */
859
+ readonly tariffSlug?: string;
860
+ }
861
+ /**
862
+ * Request parameters for policyServiceGetPolicyPartnerHistory operation in PoliciesApi.
863
+ * @export
864
+ * @interface PoliciesApiPolicyServiceGetPolicyPartnerHistoryRequest
865
+ */
866
+ export interface PoliciesApiPolicyServiceGetPolicyPartnerHistoryRequest {
867
+ /**
868
+ * The policy\&#39;s code.
869
+ * @type {string}
870
+ * @memberof PoliciesApiPolicyServiceGetPolicyPartnerHistory
871
+ */
872
+ readonly code: string;
873
+ /**
874
+ * The system time to read: the history as believed at that moment. Empty means now.
875
+ * @type {string}
876
+ * @memberof PoliciesApiPolicyServiceGetPolicyPartnerHistory
877
+ */
878
+ readonly asOf?: string;
879
+ }
880
+ /**
881
+ * Request parameters for policyServiceGetPolicySchema operation in PoliciesApi.
882
+ * @export
883
+ * @interface PoliciesApiPolicyServiceGetPolicySchemaRequest
884
+ */
885
+ export interface PoliciesApiPolicyServiceGetPolicySchemaRequest {
886
+ /**
887
+ * The policy\&#39;s code.
888
+ * @type {string}
889
+ * @memberof PoliciesApiPolicyServiceGetPolicySchema
890
+ */
891
+ readonly code: string;
892
+ /**
893
+ * The business day, as &#x60;YYYY-MM-DD&#x60;. Empty means today (UTC). The schema is the one of the tariff version the policy had on that day.
894
+ * @type {string}
895
+ * @memberof PoliciesApiPolicyServiceGetPolicySchema
896
+ */
897
+ readonly validAt?: string;
898
+ /**
899
+ * The system time to read. Empty means the current belief.
900
+ * @type {string}
901
+ * @memberof PoliciesApiPolicyServiceGetPolicySchema
902
+ */
903
+ readonly asOf?: string;
904
+ }
905
+ /**
906
+ * Request parameters for policyServiceGetPolicyTimeline operation in PoliciesApi.
907
+ * @export
908
+ * @interface PoliciesApiPolicyServiceGetPolicyTimelineRequest
909
+ */
910
+ export interface PoliciesApiPolicyServiceGetPolicyTimelineRequest {
911
+ /**
912
+ * The policy\&#39;s code.
913
+ * @type {string}
914
+ * @memberof PoliciesApiPolicyServiceGetPolicyTimeline
915
+ */
916
+ readonly code: string;
917
+ /**
918
+ * Not used: the timeline is always the one believed now.
919
+ * @type {string}
920
+ * @memberof PoliciesApiPolicyServiceGetPolicyTimeline
921
+ */
922
+ readonly asOf?: string;
923
+ /**
924
+ * Whether to add the superseded segments. A past premium is reproduced from them.
925
+ * @type {boolean}
926
+ * @memberof PoliciesApiPolicyServiceGetPolicyTimeline
927
+ */
928
+ readonly includeSuperseded?: boolean;
929
+ }
930
+ /**
931
+ * Request parameters for policyServiceListPolicies operation in PoliciesApi.
932
+ * @export
933
+ * @interface PoliciesApiPolicyServiceListPoliciesRequest
934
+ */
935
+ export interface PoliciesApiPolicyServiceListPoliciesRequest {
936
+ /**
937
+ *
938
+ * @type {number}
939
+ * @memberof PoliciesApiPolicyServiceListPolicies
940
+ */
941
+ readonly pageSize?: number;
942
+ /**
943
+ *
944
+ * @type {string}
945
+ * @memberof PoliciesApiPolicyServiceListPolicies
946
+ */
947
+ readonly pageToken?: string;
948
+ /**
949
+ *
950
+ * @type {string}
951
+ * @memberof PoliciesApiPolicyServiceListPolicies
952
+ */
953
+ readonly filter?: string;
954
+ /**
955
+ *
956
+ * @type {string}
957
+ * @memberof PoliciesApiPolicyServiceListPolicies
958
+ */
959
+ readonly search?: string;
960
+ /**
961
+ *
962
+ * @type {string}
963
+ * @memberof PoliciesApiPolicyServiceListPolicies
964
+ */
965
+ readonly order?: string;
966
+ /**
967
+ *
968
+ * @type {string}
969
+ * @memberof PoliciesApiPolicyServiceListPolicies
970
+ */
971
+ readonly expand?: string;
972
+ /**
973
+ *
974
+ * @type {string}
975
+ * @memberof PoliciesApiPolicyServiceListPolicies
976
+ */
977
+ readonly filters?: string;
978
+ }
979
+ /**
980
+ * Request parameters for policyServiceListPolicyFilterValues operation in PoliciesApi.
981
+ * @export
982
+ * @interface PoliciesApiPolicyServiceListPolicyFilterValuesRequest
983
+ */
984
+ export interface PoliciesApiPolicyServiceListPolicyFilterValuesRequest {
985
+ /**
986
+ *
987
+ * @type {number}
988
+ * @memberof PoliciesApiPolicyServiceListPolicyFilterValues
989
+ */
990
+ readonly pageSize?: number;
991
+ /**
992
+ *
993
+ * @type {string}
994
+ * @memberof PoliciesApiPolicyServiceListPolicyFilterValues
995
+ */
996
+ readonly pageToken?: string;
997
+ /**
998
+ *
999
+ * @type {string}
1000
+ * @memberof PoliciesApiPolicyServiceListPolicyFilterValues
1001
+ */
1002
+ readonly filter?: string;
1003
+ /**
1004
+ *
1005
+ * @type {string}
1006
+ * @memberof PoliciesApiPolicyServiceListPolicyFilterValues
1007
+ */
1008
+ readonly search?: string;
1009
+ /**
1010
+ *
1011
+ * @type {string}
1012
+ * @memberof PoliciesApiPolicyServiceListPolicyFilterValues
1013
+ */
1014
+ readonly order?: string;
1015
+ /**
1016
+ *
1017
+ * @type {string}
1018
+ * @memberof PoliciesApiPolicyServiceListPolicyFilterValues
1019
+ */
1020
+ readonly expand?: string;
1021
+ /**
1022
+ *
1023
+ * @type {string}
1024
+ * @memberof PoliciesApiPolicyServiceListPolicyFilterValues
1025
+ */
1026
+ readonly filters?: string;
1027
+ }
1028
+ /**
1029
+ * Request parameters for policyServiceListPolicySnapshots operation in PoliciesApi.
1030
+ * @export
1031
+ * @interface PoliciesApiPolicyServiceListPolicySnapshotsRequest
1032
+ */
1033
+ export interface PoliciesApiPolicyServiceListPolicySnapshotsRequest {
1034
+ /**
1035
+ *
1036
+ * @type {number}
1037
+ * @memberof PoliciesApiPolicyServiceListPolicySnapshots
1038
+ */
1039
+ readonly pageSize?: number;
1040
+ /**
1041
+ *
1042
+ * @type {string}
1043
+ * @memberof PoliciesApiPolicyServiceListPolicySnapshots
1044
+ */
1045
+ readonly pageToken?: string;
1046
+ /**
1047
+ *
1048
+ * @type {string}
1049
+ * @memberof PoliciesApiPolicyServiceListPolicySnapshots
1050
+ */
1051
+ readonly filter?: string;
1052
+ /**
1053
+ *
1054
+ * @type {string}
1055
+ * @memberof PoliciesApiPolicyServiceListPolicySnapshots
1056
+ */
1057
+ readonly search?: string;
1058
+ /**
1059
+ *
1060
+ * @type {string}
1061
+ * @memberof PoliciesApiPolicyServiceListPolicySnapshots
1062
+ */
1063
+ readonly order?: string;
1064
+ /**
1065
+ *
1066
+ * @type {string}
1067
+ * @memberof PoliciesApiPolicyServiceListPolicySnapshots
1068
+ */
1069
+ readonly expand?: string;
1070
+ /**
1071
+ *
1072
+ * @type {string}
1073
+ * @memberof PoliciesApiPolicyServiceListPolicySnapshots
1074
+ */
1075
+ readonly filters?: string;
1076
+ }
1077
+ /**
1078
+ * Request parameters for policyServiceListPolicyUpgradeTargets operation in PoliciesApi.
1079
+ * @export
1080
+ * @interface PoliciesApiPolicyServiceListPolicyUpgradeTargetsRequest
1081
+ */
1082
+ export interface PoliciesApiPolicyServiceListPolicyUpgradeTargetsRequest {
1083
+ /**
1084
+ *
1085
+ * @type {number}
1086
+ * @memberof PoliciesApiPolicyServiceListPolicyUpgradeTargets
1087
+ */
1088
+ readonly pageSize?: number;
1089
+ /**
1090
+ *
1091
+ * @type {string}
1092
+ * @memberof PoliciesApiPolicyServiceListPolicyUpgradeTargets
1093
+ */
1094
+ readonly pageToken?: string;
1095
+ /**
1096
+ *
1097
+ * @type {string}
1098
+ * @memberof PoliciesApiPolicyServiceListPolicyUpgradeTargets
1099
+ */
1100
+ readonly filter?: string;
1101
+ /**
1102
+ *
1103
+ * @type {string}
1104
+ * @memberof PoliciesApiPolicyServiceListPolicyUpgradeTargets
1105
+ */
1106
+ readonly search?: string;
1107
+ /**
1108
+ *
1109
+ * @type {string}
1110
+ * @memberof PoliciesApiPolicyServiceListPolicyUpgradeTargets
1111
+ */
1112
+ readonly order?: string;
1113
+ /**
1114
+ *
1115
+ * @type {string}
1116
+ * @memberof PoliciesApiPolicyServiceListPolicyUpgradeTargets
1117
+ */
1118
+ readonly expand?: string;
1119
+ /**
1120
+ *
1121
+ * @type {string}
1122
+ * @memberof PoliciesApiPolicyServiceListPolicyUpgradeTargets
1123
+ */
1124
+ readonly filters?: string;
1125
+ }
1126
+ /**
1127
+ * Request parameters for policyServicePreviewPolicyCorrection operation in PoliciesApi.
1128
+ * @export
1129
+ * @interface PoliciesApiPolicyServicePreviewPolicyCorrectionRequest
1130
+ */
1131
+ export interface PoliciesApiPolicyServicePreviewPolicyCorrectionRequest {
1132
+ /**
1133
+ * The policy\&#39;s code.
1134
+ * @type {string}
1135
+ * @memberof PoliciesApiPolicyServicePreviewPolicyCorrection
1136
+ */
1137
+ readonly code: string;
1138
+ /**
1139
+ *
1140
+ * @type {PreviewPolicyCorrectionBody}
1141
+ * @memberof PoliciesApiPolicyServicePreviewPolicyCorrection
1142
+ */
1143
+ readonly body: PreviewPolicyCorrectionBody;
1144
+ }
1145
+ /**
1146
+ * Request parameters for policyServiceTerminatePolicy operation in PoliciesApi.
1147
+ * @export
1148
+ * @interface PoliciesApiPolicyServiceTerminatePolicyRequest
1149
+ */
1150
+ export interface PoliciesApiPolicyServiceTerminatePolicyRequest {
1151
+ /**
1152
+ * The policy\&#39;s code.
1153
+ * @type {string}
1154
+ * @memberof PoliciesApiPolicyServiceTerminatePolicy
1155
+ */
1156
+ readonly code: string;
1157
+ /**
1158
+ * The policy\&#39;s &#x60;etag&#x60; as last read, sent back unchanged.
1159
+ * @type {string}
1160
+ * @memberof PoliciesApiPolicyServiceTerminatePolicy
1161
+ */
1162
+ readonly ifMatch: string;
1163
+ /**
1164
+ *
1165
+ * @type {TerminatePolicyBody}
1166
+ * @memberof PoliciesApiPolicyServiceTerminatePolicy
1167
+ */
1168
+ readonly body: TerminatePolicyBody;
1169
+ }
1170
+ /**
1171
+ * Request parameters for policyServiceUpgradePolicy operation in PoliciesApi.
1172
+ * @export
1173
+ * @interface PoliciesApiPolicyServiceUpgradePolicyRequest
1174
+ */
1175
+ export interface PoliciesApiPolicyServiceUpgradePolicyRequest {
1176
+ /**
1177
+ * The policy\&#39;s code.
1178
+ * @type {string}
1179
+ * @memberof PoliciesApiPolicyServiceUpgradePolicy
1180
+ */
1181
+ readonly code: string;
1182
+ /**
1183
+ * The policy\&#39;s &#x60;etag&#x60; as last read, sent back unchanged.
1184
+ * @type {string}
1185
+ * @memberof PoliciesApiPolicyServiceUpgradePolicy
1186
+ */
1187
+ readonly ifMatch: string;
1188
+ /**
1189
+ *
1190
+ * @type {UpgradePolicyBody}
1191
+ * @memberof PoliciesApiPolicyServiceUpgradePolicy
1192
+ */
1193
+ readonly body: UpgradePolicyBody;
1194
+ }
1195
+ /**
1196
+ * PoliciesApi - object-oriented interface
1197
+ * @export
1198
+ * @class PoliciesApi
1199
+ * @extends {BaseAPI}
1200
+ */
1201
+ export declare class PoliciesApi extends BaseAPI {
1202
+ /**
1203
+ *
1204
+ * @summary Checks whether a policy can be upgraded, without upgrading it.
1205
+ * @param {PoliciesApiPolicyServiceCheckPolicyUpgradeRequest} requestParameters Request parameters.
1206
+ * @param {*} [options] Override http request option.
1207
+ * @throws {RequiredError}
1208
+ * @memberof PoliciesApi
1209
+ */
1210
+ policyServiceCheckPolicyUpgrade(requestParameters: PoliciesApiPolicyServiceCheckPolicyUpgradeRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CheckPolicyUpgradeResponse, any, {}, any>>;
1211
+ /**
1212
+ *
1213
+ * @summary Corrects a policy over a range of business time.
1214
+ * @param {PoliciesApiPolicyServiceCorrectPolicyRequest} requestParameters Request parameters.
1215
+ * @param {*} [options] Override http request option.
1216
+ * @throws {RequiredError}
1217
+ * @memberof PoliciesApi
1218
+ */
1219
+ policyServiceCorrectPolicy(requestParameters: PoliciesApiPolicyServiceCorrectPolicyRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CorrectPolicyResponse, any, {}, any>>;
1220
+ /**
1221
+ *
1222
+ * @summary Creates a policy, standalone or as a member of a group policy.
1223
+ * @param {PoliciesApiPolicyServiceCreatePolicyRequest} requestParameters Request parameters.
1224
+ * @param {*} [options] Override http request option.
1225
+ * @throws {RequiredError}
1226
+ * @memberof PoliciesApi
1227
+ */
1228
+ policyServiceCreatePolicy(requestParameters: PoliciesApiPolicyServiceCreatePolicyRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePolicyResponse, any, {}, any>>;
1229
+ /**
1230
+ *
1231
+ * @summary Detaches a member from its group policy and makes it a standalone policy.
1232
+ * @param {PoliciesApiPolicyServiceDetachPolicyRequest} requestParameters Request parameters.
1233
+ * @param {*} [options] Override http request option.
1234
+ * @throws {RequiredError}
1235
+ * @memberof PoliciesApi
1236
+ */
1237
+ policyServiceDetachPolicy(requestParameters: PoliciesApiPolicyServiceDetachPolicyRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DetachPolicyResponse, any, {}, any>>;
1238
+ /**
1239
+ *
1240
+ * @summary Endorses a policy from a date on.
1241
+ * @param {PoliciesApiPolicyServiceEndorsePolicyRequest} requestParameters Request parameters.
1242
+ * @param {*} [options] Override http request option.
1243
+ * @throws {RequiredError}
1244
+ * @memberof PoliciesApi
1245
+ */
1246
+ policyServiceEndorsePolicy(requestParameters: PoliciesApiPolicyServiceEndorsePolicyRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<EndorsePolicyResponse, any, {}, any>>;
1247
+ /**
1248
+ *
1249
+ * @summary Returns a policy\'s actual premium beside an estimate of its next premium.
1250
+ * @param {PoliciesApiPolicyServiceEstimatePolicyPremiumRequest} requestParameters Request parameters.
1251
+ * @param {*} [options] Override http request option.
1252
+ * @throws {RequiredError}
1253
+ * @memberof PoliciesApi
1254
+ */
1255
+ policyServiceEstimatePolicyPremium(requestParameters: PoliciesApiPolicyServiceEstimatePolicyPremiumRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<EstimatePolicyPremiumResponse, any, {}, any>>;
1256
+ /**
1257
+ * TODO: not available yet, the call answers Unimplemented. Remove this line when the call is built.
1258
+ * @summary Returns what a policy covered on the day of a loss.
1259
+ * @param {PoliciesApiPolicyServiceGetCoverageAtDateRequest} requestParameters Request parameters.
1260
+ * @param {*} [options] Override http request option.
1261
+ * @throws {RequiredError}
1262
+ * @memberof PoliciesApi
1263
+ */
1264
+ policyServiceGetCoverageAtDate(requestParameters?: PoliciesApiPolicyServiceGetCoverageAtDateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetCoverageAtDateResponse, any, {}, any>>;
1265
+ /**
1266
+ *
1267
+ * @summary Returns one policy at a point in business time and system time.
1268
+ * @param {PoliciesApiPolicyServiceGetPolicyRequest} requestParameters Request parameters.
1269
+ * @param {*} [options] Override http request option.
1270
+ * @throws {RequiredError}
1271
+ * @memberof PoliciesApi
1272
+ */
1273
+ policyServiceGetPolicy(requestParameters: PoliciesApiPolicyServiceGetPolicyRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPolicyResponse, any, {}, any>>;
1274
+ /**
1275
+ *
1276
+ * @summary Returns the filter catalog of the policy list.
1277
+ * @param {PoliciesApiPolicyServiceGetPolicyFilterCatalogRequest} requestParameters Request parameters.
1278
+ * @param {*} [options] Override http request option.
1279
+ * @throws {RequiredError}
1280
+ * @memberof PoliciesApi
1281
+ */
1282
+ policyServiceGetPolicyFilterCatalog(requestParameters?: PoliciesApiPolicyServiceGetPolicyFilterCatalogRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPolicyFilterCatalogResponse, any, {}, any>>;
1283
+ /**
1284
+ *
1285
+ * @summary Returns who filled which partner role on a policy, and when.
1286
+ * @param {PoliciesApiPolicyServiceGetPolicyPartnerHistoryRequest} requestParameters Request parameters.
1287
+ * @param {*} [options] Override http request option.
1288
+ * @throws {RequiredError}
1289
+ * @memberof PoliciesApi
1290
+ */
1291
+ policyServiceGetPolicyPartnerHistory(requestParameters: PoliciesApiPolicyServiceGetPolicyPartnerHistoryRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPolicyPartnerHistoryResponse, any, {}, any>>;
1292
+ /**
1293
+ *
1294
+ * @summary Returns the schema that this policy\'s data is validated against.
1295
+ * @param {PoliciesApiPolicyServiceGetPolicySchemaRequest} requestParameters Request parameters.
1296
+ * @param {*} [options] Override http request option.
1297
+ * @throws {RequiredError}
1298
+ * @memberof PoliciesApi
1299
+ */
1300
+ policyServiceGetPolicySchema(requestParameters: PoliciesApiPolicyServiceGetPolicySchemaRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPolicySchemaResponse, any, {}, any>>;
1301
+ /**
1302
+ *
1303
+ * @summary Returns the segments of a policy\'s timeline, ordered by business time.
1304
+ * @param {PoliciesApiPolicyServiceGetPolicyTimelineRequest} requestParameters Request parameters.
1305
+ * @param {*} [options] Override http request option.
1306
+ * @throws {RequiredError}
1307
+ * @memberof PoliciesApi
1308
+ */
1309
+ policyServiceGetPolicyTimeline(requestParameters: PoliciesApiPolicyServiceGetPolicyTimelineRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPolicyTimelineResponse, any, {}, any>>;
1310
+ /**
1311
+ *
1312
+ * @summary Lists policies as they are valid today.
1313
+ * @param {PoliciesApiPolicyServiceListPoliciesRequest} requestParameters Request parameters.
1314
+ * @param {*} [options] Override http request option.
1315
+ * @throws {RequiredError}
1316
+ * @memberof PoliciesApi
1317
+ */
1318
+ policyServiceListPolicies(requestParameters?: PoliciesApiPolicyServiceListPoliciesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPoliciesResponse, any, {}, any>>;
1319
+ /**
1320
+ *
1321
+ * @summary Suggests values for one filter field of the policy list.
1322
+ * @param {PoliciesApiPolicyServiceListPolicyFilterValuesRequest} requestParameters Request parameters.
1323
+ * @param {*} [options] Override http request option.
1324
+ * @throws {RequiredError}
1325
+ * @memberof PoliciesApi
1326
+ */
1327
+ policyServiceListPolicyFilterValues(requestParameters?: PoliciesApiPolicyServiceListPolicyFilterValuesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPolicyFilterValuesResponse, any, {}, any>>;
1328
+ /**
1329
+ * Name the policy with the filter `policy.code==<code>`; it is required and takes the operator `==` only. `includeSuperseded==true` adds the beliefs a later correction replaced, and `asOf==<RFC 3339 moment>` reads the slices as they were believed then.
1330
+ * @summary Lists the timeslices of one policy, ordered by `validFrom`.
1331
+ * @param {PoliciesApiPolicyServiceListPolicySnapshotsRequest} requestParameters Request parameters.
1332
+ * @param {*} [options] Override http request option.
1333
+ * @throws {RequiredError}
1334
+ * @memberof PoliciesApi
1335
+ */
1336
+ policyServiceListPolicySnapshots(requestParameters?: PoliciesApiPolicyServiceListPolicySnapshotsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPolicySnapshotsResponse, any, {}, any>>;
1337
+ /**
1338
+ *
1339
+ * @summary Lists the tariff versions a policy can be upgraded to.
1340
+ * @param {PoliciesApiPolicyServiceListPolicyUpgradeTargetsRequest} requestParameters Request parameters.
1341
+ * @param {*} [options] Override http request option.
1342
+ * @throws {RequiredError}
1343
+ * @memberof PoliciesApi
1344
+ */
1345
+ policyServiceListPolicyUpgradeTargets(requestParameters?: PoliciesApiPolicyServiceListPolicyUpgradeTargetsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPolicyUpgradeTargetsResponse, any, {}, any>>;
1346
+ /**
1347
+ *
1348
+ * @summary Previews a correction without writing it.
1349
+ * @param {PoliciesApiPolicyServicePreviewPolicyCorrectionRequest} requestParameters Request parameters.
1350
+ * @param {*} [options] Override http request option.
1351
+ * @throws {RequiredError}
1352
+ * @memberof PoliciesApi
1353
+ */
1354
+ policyServicePreviewPolicyCorrection(requestParameters: PoliciesApiPolicyServicePreviewPolicyCorrectionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PreviewPolicyCorrectionResponse, any, {}, any>>;
1355
+ /**
1356
+ *
1357
+ * @summary Terminates a policy from a date on.
1358
+ * @param {PoliciesApiPolicyServiceTerminatePolicyRequest} requestParameters Request parameters.
1359
+ * @param {*} [options] Override http request option.
1360
+ * @throws {RequiredError}
1361
+ * @memberof PoliciesApi
1362
+ */
1363
+ policyServiceTerminatePolicy(requestParameters: PoliciesApiPolicyServiceTerminatePolicyRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TerminatePolicyResponse, any, {}, any>>;
1364
+ /**
1365
+ *
1366
+ * @summary Upgrades a policy to a newer tariff version.
1367
+ * @param {PoliciesApiPolicyServiceUpgradePolicyRequest} requestParameters Request parameters.
1368
+ * @param {*} [options] Override http request option.
1369
+ * @throws {RequiredError}
1370
+ * @memberof PoliciesApi
1371
+ */
1372
+ policyServiceUpgradePolicy(requestParameters: PoliciesApiPolicyServiceUpgradePolicyRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpgradePolicyResponse, any, {}, any>>;
1373
+ }