@emilgroup/insurance-v2-sdk-node 0.0.0-stage → 1.0.1-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +341 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/README.md +83 -2
- package/api/group-policies-api.ts +2699 -0
- package/api/group-tariffs-api.ts +2856 -0
- package/api/jobs-api.ts +760 -0
- package/api/leads-api.ts +2118 -0
- package/api/policies-api.ts +2427 -0
- package/api/tariffs-api.ts +6383 -0
- package/api.ts +41 -0
- package/base.ts +396 -0
- package/common.ts +200 -0
- package/configuration.ts +118 -0
- package/dist/api/group-policies-api.d.ts +1518 -0
- package/dist/api/group-policies-api.js +2157 -0
- package/dist/api/group-tariffs-api.d.ts +1625 -0
- package/dist/api/group-tariffs-api.js +2236 -0
- package/dist/api/jobs-api.d.ts +426 -0
- package/dist/api/jobs-api.js +712 -0
- package/dist/api/leads-api.d.ts +1189 -0
- package/dist/api/leads-api.js +1744 -0
- package/dist/api/policies-api.d.ts +1373 -0
- package/dist/api/policies-api.js +1921 -0
- package/dist/api/tariffs-api.d.ts +3636 -0
- package/dist/api/tariffs-api.js +4898 -0
- package/dist/api.d.ts +17 -0
- package/dist/api.js +35 -0
- package/dist/base.d.ts +97 -0
- package/dist/base.js +493 -0
- package/dist/common.d.ts +92 -0
- package/dist/common.js +278 -0
- package/dist/configuration.d.ts +96 -0
- package/dist/configuration.js +52 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.js +36 -0
- package/dist/models/accept-lead-body.d.ts +30 -0
- package/dist/models/accept-lead-body.js +15 -0
- package/dist/models/accept-lead-response.d.ts +39 -0
- package/dist/models/accept-lead-response.js +15 -0
- package/dist/models/activate-group-policy-body.d.ts +24 -0
- package/dist/models/activate-group-policy-body.js +15 -0
- package/dist/models/activate-group-policy-response.d.ts +32 -0
- package/dist/models/activate-group-policy-response.js +15 -0
- package/dist/models/actor.d.ts +21 -0
- package/dist/models/actor.js +25 -0
- package/dist/models/analyze-config-file-body.d.ts +68 -0
- package/dist/models/analyze-config-file-body.js +15 -0
- package/dist/models/analyze-config-file-response.d.ts +88 -0
- package/dist/models/analyze-config-file-response.js +15 -0
- package/dist/models/any.d.ts +25 -0
- package/dist/models/any.js +15 -0
- package/dist/models/applied-factor.d.ts +30 -0
- package/dist/models/applied-factor.js +15 -0
- package/dist/models/approval-role.d.ts +30 -0
- package/dist/models/approval-role.js +15 -0
- package/dist/models/asset-status.d.ts +22 -0
- package/dist/models/asset-status.js +26 -0
- package/dist/models/available-group-tariff.d.ts +44 -0
- package/dist/models/available-group-tariff.js +15 -0
- package/dist/models/available-tariff.d.ts +55 -0
- package/dist/models/available-tariff.js +15 -0
- package/dist/models/available-transition.d.ts +55 -0
- package/dist/models/available-transition.js +15 -0
- package/dist/models/available-version.d.ts +92 -0
- package/dist/models/available-version.js +15 -0
- package/dist/models/billing-config.d.ts +36 -0
- package/dist/models/billing-config.js +15 -0
- package/dist/models/calculate-group-policy-adjustments-body.d.ts +43 -0
- package/dist/models/calculate-group-policy-adjustments-body.js +15 -0
- package/dist/models/calculate-group-policy-adjustments-response.d.ts +37 -0
- package/dist/models/calculate-group-policy-adjustments-response.js +15 -0
- package/dist/models/cancel-job-response.d.ts +25 -0
- package/dist/models/cancel-job-response.js +15 -0
- package/dist/models/change-kind.d.ts +22 -0
- package/dist/models/change-kind.js +26 -0
- package/dist/models/check-group-policy-upgrade-body.d.ts +30 -0
- package/dist/models/check-group-policy-upgrade-body.js +15 -0
- package/dist/models/check-group-policy-upgrade-response.d.ts +25 -0
- package/dist/models/check-group-policy-upgrade-response.js +15 -0
- package/dist/models/check-policy-upgrade-body.d.ts +30 -0
- package/dist/models/check-policy-upgrade-body.js +15 -0
- package/dist/models/check-policy-upgrade-response.d.ts +25 -0
- package/dist/models/check-policy-upgrade-response.js +15 -0
- package/dist/models/child-fallback.d.ts +21 -0
- package/dist/models/child-fallback.js +25 -0
- package/dist/models/configuration-pin.d.ts +42 -0
- package/dist/models/configuration-pin.js +15 -0
- package/dist/models/conflict-reason.d.ts +36 -0
- package/dist/models/conflict-reason.js +15 -0
- package/dist/models/contract-default-kind.d.ts +23 -0
- package/dist/models/contract-default-kind.js +27 -0
- package/dist/models/contract-unresolved-reason.d.ts +20 -0
- package/dist/models/contract-unresolved-reason.js +24 -0
- package/dist/models/core-config-file-kind.d.ts +21 -0
- package/dist/models/core-config-file-kind.js +25 -0
- package/dist/models/core-config-file.d.ts +151 -0
- package/dist/models/core-config-file.js +15 -0
- package/dist/models/core-config.d.ts +127 -0
- package/dist/models/core-config.js +15 -0
- package/dist/models/correct-group-policy-body.d.ts +61 -0
- package/dist/models/correct-group-policy-body.js +15 -0
- package/dist/models/correct-group-policy-response.d.ts +31 -0
- package/dist/models/correct-group-policy-response.js +15 -0
- package/dist/models/correct-policy-body.d.ts +55 -0
- package/dist/models/correct-policy-body.js +15 -0
- package/dist/models/correct-policy-response.d.ts +44 -0
- package/dist/models/correct-policy-response.js +15 -0
- package/dist/models/coverage-amount.d.ts +30 -0
- package/dist/models/coverage-amount.js +15 -0
- package/dist/models/coverage-approval-limit.d.ts +30 -0
- package/dist/models/coverage-approval-limit.js +15 -0
- package/dist/models/coverage-billing.d.ts +30 -0
- package/dist/models/coverage-billing.js +15 -0
- package/dist/models/coverage-category.d.ts +56 -0
- package/dist/models/coverage-category.js +15 -0
- package/dist/models/coverage-deductible.d.ts +67 -0
- package/dist/models/coverage-deductible.js +15 -0
- package/dist/models/coverage-detail.d.ts +53 -0
- package/dist/models/coverage-detail.js +15 -0
- package/dist/models/coverage-group-policy.d.ts +42 -0
- package/dist/models/coverage-group-policy.js +15 -0
- package/dist/models/coverage-insured-object.d.ts +42 -0
- package/dist/models/coverage-insured-object.js +15 -0
- package/dist/models/coverage-named.d.ts +37 -0
- package/dist/models/coverage-named.js +15 -0
- package/dist/models/coverage-policy.d.ts +55 -0
- package/dist/models/coverage-policy.js +15 -0
- package/dist/models/coverage-term-detail.d.ts +49 -0
- package/dist/models/coverage-term-detail.js +15 -0
- package/dist/models/coverage-variant.d.ts +30 -0
- package/dist/models/coverage-variant.js +15 -0
- package/dist/models/coverage-waiting-period.d.ts +42 -0
- package/dist/models/coverage-waiting-period.js +15 -0
- package/dist/models/create-config-file-upload-body.d.ts +30 -0
- package/dist/models/create-config-file-upload-body.js +15 -0
- package/dist/models/create-config-file-upload-response.d.ts +36 -0
- package/dist/models/create-config-file-upload-response.js +15 -0
- package/dist/models/create-core-config-body.d.ts +42 -0
- package/dist/models/create-core-config-body.js +15 -0
- package/dist/models/create-core-config-response.d.ts +25 -0
- package/dist/models/create-core-config-response.js +15 -0
- package/dist/models/create-detail-export-job-request.d.ts +56 -0
- package/dist/models/create-detail-export-job-request.js +15 -0
- package/dist/models/create-detail-export-job-response.d.ts +25 -0
- package/dist/models/create-detail-export-job-response.js +15 -0
- package/dist/models/create-export-job-request.d.ts +68 -0
- package/dist/models/create-export-job-request.js +15 -0
- package/dist/models/create-export-job-response.d.ts +25 -0
- package/dist/models/create-export-job-response.js +15 -0
- package/dist/models/create-generation-body.d.ts +42 -0
- package/dist/models/create-generation-body.js +15 -0
- package/dist/models/create-generation-response.d.ts +32 -0
- package/dist/models/create-generation-response.js +15 -0
- package/dist/models/create-group-core-config-body.d.ts +42 -0
- package/dist/models/create-group-core-config-body.js +15 -0
- package/dist/models/create-group-core-config-response.d.ts +25 -0
- package/dist/models/create-group-core-config-response.js +15 -0
- package/dist/models/create-group-generation-body.d.ts +30 -0
- package/dist/models/create-group-generation-body.js +15 -0
- package/dist/models/create-group-generation-response.d.ts +25 -0
- package/dist/models/create-group-generation-response.js +15 -0
- package/dist/models/create-group-policy-request.d.ts +68 -0
- package/dist/models/create-group-policy-request.js +15 -0
- package/dist/models/create-group-policy-response.d.ts +32 -0
- package/dist/models/create-group-policy-response.js +15 -0
- package/dist/models/create-group-tariff-request.d.ts +48 -0
- package/dist/models/create-group-tariff-request.js +15 -0
- package/dist/models/create-group-tariff-response.d.ts +25 -0
- package/dist/models/create-group-tariff-response.js +15 -0
- package/dist/models/create-group-version-body.d.ts +30 -0
- package/dist/models/create-group-version-body.js +15 -0
- package/dist/models/create-group-version-response.d.ts +25 -0
- package/dist/models/create-group-version-response.js +15 -0
- package/dist/models/create-lead-import-upload-request.d.ts +30 -0
- package/dist/models/create-lead-import-upload-request.js +15 -0
- package/dist/models/create-lead-import-upload-response.d.ts +36 -0
- package/dist/models/create-lead-import-upload-response.js +15 -0
- package/dist/models/create-lead-request.d.ts +56 -0
- package/dist/models/create-lead-request.js +15 -0
- package/dist/models/create-lead-response.d.ts +32 -0
- package/dist/models/create-lead-response.js +15 -0
- package/dist/models/create-line-of-insurance-request.d.ts +32 -0
- package/dist/models/create-line-of-insurance-request.js +15 -0
- package/dist/models/create-line-of-insurance-response.d.ts +25 -0
- package/dist/models/create-line-of-insurance-response.js +15 -0
- package/dist/models/create-policy-request.d.ts +67 -0
- package/dist/models/create-policy-request.js +15 -0
- package/dist/models/create-policy-response.d.ts +32 -0
- package/dist/models/create-policy-response.js +15 -0
- package/dist/models/create-tariff-request.d.ts +48 -0
- package/dist/models/create-tariff-request.js +15 -0
- package/dist/models/create-tariff-response.d.ts +25 -0
- package/dist/models/create-tariff-response.js +15 -0
- package/dist/models/create-version-body.d.ts +30 -0
- package/dist/models/create-version-body.js +15 -0
- package/dist/models/create-version-response.d.ts +25 -0
- package/dist/models/create-version-response.js +15 -0
- package/dist/models/delete-factor-response.d.ts +25 -0
- package/dist/models/delete-factor-response.js +15 -0
- package/dist/models/delete-named-range-file-response.d.ts +25 -0
- package/dist/models/delete-named-range-file-response.js +15 -0
- package/dist/models/detach-policy-body.d.ts +30 -0
- package/dist/models/detach-policy-body.js +15 -0
- package/dist/models/detach-policy-response.d.ts +38 -0
- package/dist/models/detach-policy-response.js +15 -0
- package/dist/models/discard-core-config-response.d.ts +25 -0
- package/dist/models/discard-core-config-response.js +15 -0
- package/dist/models/discard-group-version-response.d.ts +25 -0
- package/dist/models/discard-group-version-response.js +15 -0
- package/dist/models/discard-version-response.d.ts +25 -0
- package/dist/models/discard-version-response.js +15 -0
- package/dist/models/endorse-policy-body.d.ts +37 -0
- package/dist/models/endorse-policy-body.js +15 -0
- package/dist/models/endorse-policy-response.d.ts +32 -0
- package/dist/models/endorse-policy-response.js +15 -0
- package/dist/models/estimate-error.d.ts +36 -0
- package/dist/models/estimate-error.js +15 -0
- package/dist/models/estimate-lead-premium-response.d.ts +25 -0
- package/dist/models/estimate-lead-premium-response.js +15 -0
- package/dist/models/estimate-policy-premium-response.d.ts +25 -0
- package/dist/models/estimate-policy-premium-response.js +15 -0
- package/dist/models/export-column.d.ts +36 -0
- package/dist/models/export-column.js +15 -0
- package/dist/models/expression-context.d.ts +37 -0
- package/dist/models/expression-context.js +15 -0
- package/dist/models/expression-kind.d.ts +21 -0
- package/dist/models/expression-kind.js +25 -0
- package/dist/models/expression-problem.d.ts +48 -0
- package/dist/models/expression-problem.js +15 -0
- package/dist/models/factor-row.d.ts +36 -0
- package/dist/models/factor-row.js +15 -0
- package/dist/models/field-source.d.ts +21 -0
- package/dist/models/field-source.js +25 -0
- package/dist/models/file-cell-ref.d.ts +30 -0
- package/dist/models/file-cell-ref.js +15 -0
- package/dist/models/file-detected.d.ts +72 -0
- package/dist/models/file-detected.js +15 -0
- package/dist/models/file-finding.d.ts +60 -0
- package/dist/models/file-finding.js +15 -0
- package/dist/models/file-preview-cell.d.ts +36 -0
- package/dist/models/file-preview-cell.js +15 -0
- package/dist/models/file-preview-row.d.ts +31 -0
- package/dist/models/file-preview-row.js +15 -0
- package/dist/models/file-preview.d.ts +37 -0
- package/dist/models/file-preview.js +15 -0
- package/dist/models/file-read-options.d.ts +48 -0
- package/dist/models/file-read-options.js +15 -0
- package/dist/models/file-report.d.ts +79 -0
- package/dist/models/file-report.js +15 -0
- package/dist/models/filter-field-versions.d.ts +30 -0
- package/dist/models/filter-field-versions.js +15 -0
- package/dist/models/filter-field.d.ts +110 -0
- package/dist/models/filter-field.js +15 -0
- package/dist/models/filter-value.d.ts +37 -0
- package/dist/models/filter-value.js +15 -0
- package/dist/models/gate-report.d.ts +68 -0
- package/dist/models/gate-report.js +15 -0
- package/dist/models/generation.d.ts +102 -0
- package/dist/models/generation.js +15 -0
- package/dist/models/get-core-config-policy-data-schema-response.d.ts +24 -0
- package/dist/models/get-core-config-policy-data-schema-response.js +15 -0
- package/dist/models/get-core-config-response.d.ts +25 -0
- package/dist/models/get-core-config-response.js +15 -0
- package/dist/models/get-core-config-schema-response.d.ts +24 -0
- package/dist/models/get-core-config-schema-response.js +15 -0
- package/dist/models/get-coverage-at-date-response.d.ts +111 -0
- package/dist/models/get-coverage-at-date-response.js +15 -0
- package/dist/models/get-diff-response.d.ts +25 -0
- package/dist/models/get-diff-response.js +15 -0
- package/dist/models/get-factor-file-response.d.ts +61 -0
- package/dist/models/get-factor-file-response.js +15 -0
- package/dist/models/get-factor-response.d.ts +37 -0
- package/dist/models/get-factor-response.js +15 -0
- package/dist/models/get-generation-response.d.ts +25 -0
- package/dist/models/get-generation-response.js +15 -0
- package/dist/models/get-group-core-config-response.d.ts +25 -0
- package/dist/models/get-group-core-config-response.js +15 -0
- package/dist/models/get-group-diff-response.d.ts +25 -0
- package/dist/models/get-group-diff-response.js +15 -0
- package/dist/models/get-group-generation-response.d.ts +25 -0
- package/dist/models/get-group-generation-response.js +15 -0
- package/dist/models/get-group-policy-filter-catalog-response.d.ts +31 -0
- package/dist/models/get-group-policy-filter-catalog-response.js +15 -0
- package/dist/models/get-group-policy-member-filter-catalog-response.d.ts +31 -0
- package/dist/models/get-group-policy-member-filter-catalog-response.js +15 -0
- package/dist/models/get-group-policy-member-schema-response.d.ts +49 -0
- package/dist/models/get-group-policy-member-schema-response.js +15 -0
- package/dist/models/get-group-policy-partner-history-response.d.ts +25 -0
- package/dist/models/get-group-policy-partner-history-response.js +15 -0
- package/dist/models/get-group-policy-premium-summary-response.d.ts +25 -0
- package/dist/models/get-group-policy-premium-summary-response.js +15 -0
- package/dist/models/get-group-policy-response.d.ts +45 -0
- package/dist/models/get-group-policy-response.js +15 -0
- package/dist/models/get-group-policy-timeline-response.d.ts +25 -0
- package/dist/models/get-group-policy-timeline-response.js +15 -0
- package/dist/models/get-group-tariff-filter-catalog-response.d.ts +31 -0
- package/dist/models/get-group-tariff-filter-catalog-response.js +15 -0
- package/dist/models/get-group-tariff-response.d.ts +25 -0
- package/dist/models/get-group-tariff-response.js +15 -0
- package/dist/models/get-group-version-response.d.ts +25 -0
- package/dist/models/get-group-version-response.js +15 -0
- package/dist/models/get-job-download-response.d.ts +25 -0
- package/dist/models/get-job-download-response.js +15 -0
- package/dist/models/get-job-filter-catalog-response.d.ts +31 -0
- package/dist/models/get-job-filter-catalog-response.js +15 -0
- package/dist/models/get-job-response.d.ts +25 -0
- package/dist/models/get-job-response.js +15 -0
- package/dist/models/get-lead-filter-catalog-response.d.ts +44 -0
- package/dist/models/get-lead-filter-catalog-response.js +15 -0
- package/dist/models/get-lead-import-job-response.d.ts +25 -0
- package/dist/models/get-lead-import-job-response.js +15 -0
- package/dist/models/get-lead-import-template-response.d.ts +56 -0
- package/dist/models/get-lead-import-template-response.js +15 -0
- package/dist/models/get-lead-response.d.ts +32 -0
- package/dist/models/get-lead-response.js +15 -0
- package/dist/models/get-lead-schema-response.d.ts +55 -0
- package/dist/models/get-lead-schema-response.js +15 -0
- package/dist/models/get-lead-version-response.d.ts +25 -0
- package/dist/models/get-lead-version-response.js +15 -0
- package/dist/models/get-named-range-file-response.d.ts +61 -0
- package/dist/models/get-named-range-file-response.js +15 -0
- package/dist/models/get-named-range-response.d.ts +37 -0
- package/dist/models/get-named-range-response.js +15 -0
- package/dist/models/get-policy-filter-catalog-response.d.ts +44 -0
- package/dist/models/get-policy-filter-catalog-response.js +15 -0
- package/dist/models/get-policy-partner-history-response.d.ts +25 -0
- package/dist/models/get-policy-partner-history-response.js +15 -0
- package/dist/models/get-policy-response.d.ts +51 -0
- package/dist/models/get-policy-response.js +15 -0
- package/dist/models/get-policy-schema-response.d.ts +49 -0
- package/dist/models/get-policy-schema-response.js +15 -0
- package/dist/models/get-policy-timeline-response.d.ts +25 -0
- package/dist/models/get-policy-timeline-response.js +15 -0
- package/dist/models/get-resolved-billing-config-response.d.ts +44 -0
- package/dist/models/get-resolved-billing-config-response.js +15 -0
- package/dist/models/get-resolved-contract-data-response.d.ts +37 -0
- package/dist/models/get-resolved-contract-data-response.js +15 -0
- package/dist/models/get-resolved-core-config-response.d.ts +39 -0
- package/dist/models/get-resolved-core-config-response.js +15 -0
- package/dist/models/get-resolved-tariff-coverage-response.d.ts +50 -0
- package/dist/models/get-resolved-tariff-coverage-response.js +15 -0
- package/dist/models/get-tariff-filter-catalog-response.d.ts +31 -0
- package/dist/models/get-tariff-filter-catalog-response.js +15 -0
- package/dist/models/get-tariff-response.d.ts +25 -0
- package/dist/models/get-tariff-response.js +15 -0
- package/dist/models/get-version-response.d.ts +25 -0
- package/dist/models/get-version-response.js +15 -0
- package/dist/models/golden-case-delta.d.ts +36 -0
- package/dist/models/golden-case-delta.js +15 -0
- package/dist/models/group-policy-list-entry.d.ts +57 -0
- package/dist/models/group-policy-list-entry.js +15 -0
- package/dist/models/group-policy-segment.d.ts +38 -0
- package/dist/models/group-policy-segment.js +15 -0
- package/dist/models/group-policy-status.d.ts +22 -0
- package/dist/models/group-policy-status.js +26 -0
- package/dist/models/group-policy.d.ts +124 -0
- package/dist/models/group-policy.js +15 -0
- package/dist/models/group-premium-summary.d.ts +69 -0
- package/dist/models/group-premium-summary.js +15 -0
- package/dist/models/group-tariff-version.d.ts +146 -0
- package/dist/models/group-tariff-version.js +15 -0
- package/dist/models/group-tariff.d.ts +109 -0
- package/dist/models/group-tariff.js +15 -0
- package/dist/models/highlight.d.ts +30 -0
- package/dist/models/highlight.js +15 -0
- package/dist/models/import-file.d.ts +36 -0
- package/dist/models/import-file.js +15 -0
- package/dist/models/import-leads-request.d.ts +86 -0
- package/dist/models/import-leads-request.js +15 -0
- package/dist/models/import-leads-response.d.ts +32 -0
- package/dist/models/import-leads-response.js +15 -0
- package/dist/models/index.d.ts +322 -0
- package/dist/models/index.js +338 -0
- package/dist/models/insured-person.d.ts +24 -0
- package/dist/models/insured-person.js +15 -0
- package/dist/models/job-download.d.ts +36 -0
- package/dist/models/job-download.js +15 -0
- package/dist/models/job-error.d.ts +30 -0
- package/dist/models/job-error.js +15 -0
- package/dist/models/job-progress.d.ts +36 -0
- package/dist/models/job-progress.js +15 -0
- package/dist/models/job.d.ts +134 -0
- package/dist/models/job.js +15 -0
- package/dist/models/lead-import-counts.d.ts +48 -0
- package/dist/models/lead-import-counts.js +15 -0
- package/dist/models/lead-import-item.d.ts +86 -0
- package/dist/models/lead-import-item.js +15 -0
- package/dist/models/lead-import-job.d.ts +128 -0
- package/dist/models/lead-import-job.js +15 -0
- package/dist/models/lead-import-template-column.d.ts +79 -0
- package/dist/models/lead-import-template-column.js +15 -0
- package/dist/models/lead-import-template-value.d.ts +30 -0
- package/dist/models/lead-import-template-value.js +15 -0
- package/dist/models/lead-status.d.ts +43 -0
- package/dist/models/lead-status.js +15 -0
- package/dist/models/lead-version.d.ts +73 -0
- package/dist/models/lead-version.js +15 -0
- package/dist/models/lead.d.ts +124 -0
- package/dist/models/lead.js +15 -0
- package/dist/models/liable-party.d.ts +36 -0
- package/dist/models/liable-party.js +15 -0
- package/dist/models/line-of-insurance.d.ts +68 -0
- package/dist/models/line-of-insurance.js +15 -0
- package/dist/models/list-approval-roles-response.d.ts +37 -0
- package/dist/models/list-approval-roles-response.js +15 -0
- package/dist/models/list-available-group-tariffs-response.d.ts +37 -0
- package/dist/models/list-available-group-tariffs-response.js +15 -0
- package/dist/models/list-available-versions-response.d.ts +37 -0
- package/dist/models/list-available-versions-response.js +15 -0
- package/dist/models/list-core-configs-response.d.ts +37 -0
- package/dist/models/list-core-configs-response.js +15 -0
- package/dist/models/list-generations-response.d.ts +37 -0
- package/dist/models/list-generations-response.js +15 -0
- package/dist/models/list-group-core-configs-response.d.ts +37 -0
- package/dist/models/list-group-core-configs-response.js +15 -0
- package/dist/models/list-group-generations-response.d.ts +37 -0
- package/dist/models/list-group-generations-response.js +15 -0
- package/dist/models/list-group-policies-response.d.ts +37 -0
- package/dist/models/list-group-policies-response.js +15 -0
- package/dist/models/list-group-policy-members-response.d.ts +37 -0
- package/dist/models/list-group-policy-members-response.js +15 -0
- package/dist/models/list-group-policy-upgrade-targets-response.d.ts +37 -0
- package/dist/models/list-group-policy-upgrade-targets-response.js +15 -0
- package/dist/models/list-group-tariffs-response.d.ts +37 -0
- package/dist/models/list-group-tariffs-response.js +15 -0
- package/dist/models/list-group-versions-response.d.ts +37 -0
- package/dist/models/list-group-versions-response.js +15 -0
- package/dist/models/list-jobs-response.d.ts +37 -0
- package/dist/models/list-jobs-response.js +15 -0
- package/dist/models/list-lead-versions-response.d.ts +37 -0
- package/dist/models/list-lead-versions-response.js +15 -0
- package/dist/models/list-leads-response.d.ts +37 -0
- package/dist/models/list-leads-response.js +15 -0
- package/dist/models/list-lines-of-insurance-response.d.ts +37 -0
- package/dist/models/list-lines-of-insurance-response.js +15 -0
- package/dist/models/list-partner-roles-response.d.ts +37 -0
- package/dist/models/list-partner-roles-response.js +15 -0
- package/dist/models/list-partner-types-response.d.ts +37 -0
- package/dist/models/list-partner-types-response.js +15 -0
- package/dist/models/list-policies-response.d.ts +37 -0
- package/dist/models/list-policies-response.js +15 -0
- package/dist/models/list-policy-filter-values-response.d.ts +37 -0
- package/dist/models/list-policy-filter-values-response.js +15 -0
- package/dist/models/list-policy-snapshots-response.d.ts +37 -0
- package/dist/models/list-policy-snapshots-response.js +15 -0
- package/dist/models/list-policy-upgrade-targets-response.d.ts +37 -0
- package/dist/models/list-policy-upgrade-targets-response.js +15 -0
- package/dist/models/list-request.d.ts +60 -0
- package/dist/models/list-request.js +15 -0
- package/dist/models/list-tariffs-response.d.ts +37 -0
- package/dist/models/list-tariffs-response.js +15 -0
- package/dist/models/list-versions-response.d.ts +37 -0
- package/dist/models/list-versions-response.js +15 -0
- package/dist/models/localized-text.d.ts +30 -0
- package/dist/models/localized-text.js +15 -0
- package/dist/models/manifest-diff.d.ts +44 -0
- package/dist/models/manifest-diff.js +15 -0
- package/dist/models/match.d.ts +69 -0
- package/dist/models/match.js +15 -0
- package/dist/models/member-projection.d.ts +93 -0
- package/dist/models/member-projection.js +15 -0
- package/dist/models/money.d.ts +30 -0
- package/dist/models/money.js +15 -0
- package/dist/models/named-range-name.d.ts +30 -0
- package/dist/models/named-range-name.js +15 -0
- package/dist/models/named-range-row.d.ts +30 -0
- package/dist/models/named-range-row.js +15 -0
- package/dist/models/partner-draft.d.ts +30 -0
- package/dist/models/partner-draft.js +15 -0
- package/dist/models/partner-link.d.ts +36 -0
- package/dist/models/partner-link.js +15 -0
- package/dist/models/partner-period.d.ts +42 -0
- package/dist/models/partner-period.js +15 -0
- package/dist/models/partner-role-catalog-entry.d.ts +48 -0
- package/dist/models/partner-role-catalog-entry.js +15 -0
- package/dist/models/partner-role-rule.d.ts +60 -0
- package/dist/models/partner-role-rule.js +15 -0
- package/dist/models/partner-type-catalog-entry.d.ts +36 -0
- package/dist/models/partner-type-catalog-entry.js +15 -0
- package/dist/models/policy-list-entry.d.ts +45 -0
- package/dist/models/policy-list-entry.js +15 -0
- package/dist/models/policy-membership.d.ts +21 -0
- package/dist/models/policy-membership.js +25 -0
- package/dist/models/policy-segment.d.ts +38 -0
- package/dist/models/policy-segment.js +15 -0
- package/dist/models/policy-slice-summary.d.ts +79 -0
- package/dist/models/policy-slice-summary.js +15 -0
- package/dist/models/policy-status.d.ts +21 -0
- package/dist/models/policy-status.js +25 -0
- package/dist/models/policy.d.ts +138 -0
- package/dist/models/policy.js +15 -0
- package/dist/models/policyholder-ref.d.ts +43 -0
- package/dist/models/policyholder-ref.js +15 -0
- package/dist/models/premium-adjustment-basis.d.ts +31 -0
- package/dist/models/premium-adjustment-basis.js +15 -0
- package/dist/models/premium-adjustment.d.ts +86 -0
- package/dist/models/premium-adjustment.js +15 -0
- package/dist/models/premium-engine.d.ts +36 -0
- package/dist/models/premium-engine.js +15 -0
- package/dist/models/premium-estimate.d.ts +88 -0
- package/dist/models/premium-estimate.js +15 -0
- package/dist/models/premium-item.d.ts +84 -0
- package/dist/models/premium-item.js +15 -0
- package/dist/models/premium-summary-basis.d.ts +36 -0
- package/dist/models/premium-summary-basis.js +15 -0
- package/dist/models/premium-tier.d.ts +30 -0
- package/dist/models/premium-tier.js +15 -0
- package/dist/models/premium-totals.d.ts +43 -0
- package/dist/models/premium-totals.js +15 -0
- package/dist/models/premium.d.ts +108 -0
- package/dist/models/premium.js +15 -0
- package/dist/models/preview-group-policy-correction-body.d.ts +55 -0
- package/dist/models/preview-group-policy-correction-body.js +15 -0
- package/dist/models/preview-group-policy-correction-response.d.ts +31 -0
- package/dist/models/preview-group-policy-correction-response.js +15 -0
- package/dist/models/preview-group-policy-termination-body.d.ts +43 -0
- package/dist/models/preview-group-policy-termination-body.js +15 -0
- package/dist/models/preview-group-policy-termination-response.d.ts +32 -0
- package/dist/models/preview-group-policy-termination-response.js +15 -0
- package/dist/models/preview-policy-correction-body.d.ts +42 -0
- package/dist/models/preview-policy-correction-body.js +15 -0
- package/dist/models/preview-policy-correction-response.d.ts +38 -0
- package/dist/models/preview-policy-correction-response.js +15 -0
- package/dist/models/publish-core-config-response.d.ts +25 -0
- package/dist/models/publish-core-config-response.js +15 -0
- package/dist/models/publish-group-core-config-response.d.ts +25 -0
- package/dist/models/publish-group-core-config-response.js +15 -0
- package/dist/models/publish-group-version-body.d.ts +36 -0
- package/dist/models/publish-group-version-body.js +15 -0
- package/dist/models/publish-group-version-response.d.ts +39 -0
- package/dist/models/publish-group-version-response.js +15 -0
- package/dist/models/publish-version-body.d.ts +36 -0
- package/dist/models/publish-version-body.js +15 -0
- package/dist/models/publish-version-response.d.ts +39 -0
- package/dist/models/publish-version-response.js +15 -0
- package/dist/models/put-core-config-document-body.d.ts +24 -0
- package/dist/models/put-core-config-document-body.js +15 -0
- package/dist/models/put-core-config-document-response.d.ts +32 -0
- package/dist/models/put-core-config-document-response.js +15 -0
- package/dist/models/put-factor-file-body.d.ts +73 -0
- package/dist/models/put-factor-file-body.js +15 -0
- package/dist/models/put-factor-file-response.d.ts +32 -0
- package/dist/models/put-factor-file-response.js +15 -0
- package/dist/models/put-named-range-file-body.d.ts +68 -0
- package/dist/models/put-named-range-file-body.js +15 -0
- package/dist/models/put-named-range-file-response.d.ts +32 -0
- package/dist/models/put-named-range-file-response.js +15 -0
- package/dist/models/put-named-range-json-body.d.ts +24 -0
- package/dist/models/put-named-range-json-body.js +15 -0
- package/dist/models/put-named-range-json-response.d.ts +32 -0
- package/dist/models/put-named-range-json-response.js +15 -0
- package/dist/models/ref-change.d.ts +43 -0
- package/dist/models/ref-change.js +15 -0
- package/dist/models/refresh-lead-response.d.ts +32 -0
- package/dist/models/refresh-lead-response.js +15 -0
- package/dist/models/register-lead-partners-response.d.ts +39 -0
- package/dist/models/register-lead-partners-response.js +15 -0
- package/dist/models/renew-group-policy-body.d.ts +30 -0
- package/dist/models/renew-group-policy-body.js +15 -0
- package/dist/models/renew-group-policy-response.d.ts +39 -0
- package/dist/models/renew-group-policy-response.js +15 -0
- package/dist/models/report-item.d.ts +49 -0
- package/dist/models/report-item.js +15 -0
- package/dist/models/report-severity.d.ts +21 -0
- package/dist/models/report-severity.js +25 -0
- package/dist/models/resolved-contract-field.d.ts +50 -0
- package/dist/models/resolved-contract-field.js +15 -0
- package/dist/models/resolved-factor.d.ts +49 -0
- package/dist/models/resolved-factor.js +15 -0
- package/dist/models/resolved-named-range.d.ts +43 -0
- package/dist/models/resolved-named-range.js +15 -0
- package/dist/models/resolved-partner.d.ts +61 -0
- package/dist/models/resolved-partner.js +15 -0
- package/dist/models/set-active-group-version-body.d.ts +24 -0
- package/dist/models/set-active-group-version-body.js +15 -0
- package/dist/models/set-active-group-version-response.d.ts +25 -0
- package/dist/models/set-active-group-version-response.js +15 -0
- package/dist/models/set-active-version-body.d.ts +24 -0
- package/dist/models/set-active-version-body.js +15 -0
- package/dist/models/set-active-version-response.d.ts +25 -0
- package/dist/models/set-active-version-response.js +15 -0
- package/dist/models/set-group-version-status-body.d.ts +37 -0
- package/dist/models/set-group-version-status-body.js +15 -0
- package/dist/models/set-group-version-status-response.d.ts +39 -0
- package/dist/models/set-group-version-status-response.js +15 -0
- package/dist/models/set-version-status-body.d.ts +37 -0
- package/dist/models/set-version-status-body.js +15 -0
- package/dist/models/set-version-status-response.d.ts +39 -0
- package/dist/models/set-version-status-response.js +15 -0
- package/dist/models/slice.d.ts +30 -0
- package/dist/models/slice.js +15 -0
- package/dist/models/snapshot-envelope.d.ts +42 -0
- package/dist/models/snapshot-envelope.js +15 -0
- package/dist/models/status-kind.d.ts +23 -0
- package/dist/models/status-kind.js +27 -0
- package/dist/models/status.d.ts +37 -0
- package/dist/models/status.js +15 -0
- package/dist/models/tariff-version.d.ts +146 -0
- package/dist/models/tariff-version.js +15 -0
- package/dist/models/tariff.d.ts +109 -0
- package/dist/models/tariff.js +15 -0
- package/dist/models/tax-amount.d.ts +42 -0
- package/dist/models/tax-amount.js +15 -0
- package/dist/models/terminate-group-policy-body.d.ts +49 -0
- package/dist/models/terminate-group-policy-body.js +15 -0
- package/dist/models/terminate-group-policy-response.d.ts +39 -0
- package/dist/models/terminate-group-policy-response.js +15 -0
- package/dist/models/terminate-policy-body.d.ts +30 -0
- package/dist/models/terminate-policy-body.js +15 -0
- package/dist/models/terminate-policy-response.d.ts +32 -0
- package/dist/models/terminate-policy-response.js +15 -0
- package/dist/models/transition-lead-body.d.ts +30 -0
- package/dist/models/transition-lead-body.js +15 -0
- package/dist/models/transition-lead-response.d.ts +32 -0
- package/dist/models/transition-lead-response.js +15 -0
- package/dist/models/update-core-config-body.d.ts +24 -0
- package/dist/models/update-core-config-body.js +15 -0
- package/dist/models/update-core-config-response.d.ts +25 -0
- package/dist/models/update-core-config-response.js +15 -0
- package/dist/models/update-generation-body.d.ts +30 -0
- package/dist/models/update-generation-body.js +15 -0
- package/dist/models/update-generation-response.d.ts +25 -0
- package/dist/models/update-generation-response.js +15 -0
- package/dist/models/update-group-core-config-body.d.ts +30 -0
- package/dist/models/update-group-core-config-body.js +15 -0
- package/dist/models/update-group-core-config-response.d.ts +25 -0
- package/dist/models/update-group-core-config-response.js +15 -0
- package/dist/models/update-group-policy-body.d.ts +50 -0
- package/dist/models/update-group-policy-body.js +15 -0
- package/dist/models/update-group-policy-response.d.ts +32 -0
- package/dist/models/update-group-policy-response.js +15 -0
- package/dist/models/update-group-version-body.d.ts +24 -0
- package/dist/models/update-group-version-body.js +15 -0
- package/dist/models/update-group-version-response.d.ts +25 -0
- package/dist/models/update-group-version-response.js +15 -0
- package/dist/models/update-lead-body.d.ts +44 -0
- package/dist/models/update-lead-body.js +15 -0
- package/dist/models/update-lead-response.d.ts +32 -0
- package/dist/models/update-lead-response.js +15 -0
- package/dist/models/update-tariff-body.d.ts +36 -0
- package/dist/models/update-tariff-body.js +15 -0
- package/dist/models/update-tariff-response.d.ts +25 -0
- package/dist/models/update-tariff-response.js +15 -0
- package/dist/models/update-version-body.d.ts +24 -0
- package/dist/models/update-version-body.js +15 -0
- package/dist/models/update-version-response.d.ts +25 -0
- package/dist/models/update-version-response.js +15 -0
- package/dist/models/upgrade-check-result.d.ts +62 -0
- package/dist/models/upgrade-check-result.js +15 -0
- package/dist/models/upgrade-group-policy-body.d.ts +30 -0
- package/dist/models/upgrade-group-policy-body.js +15 -0
- package/dist/models/upgrade-group-policy-response.d.ts +39 -0
- package/dist/models/upgrade-group-policy-response.js +15 -0
- package/dist/models/upgrade-issue.d.ts +42 -0
- package/dist/models/upgrade-issue.js +15 -0
- package/dist/models/upgrade-policy-body.d.ts +30 -0
- package/dist/models/upgrade-policy-body.js +15 -0
- package/dist/models/upgrade-policy-response.d.ts +39 -0
- package/dist/models/upgrade-policy-response.js +15 -0
- package/dist/models/upgrade-target.d.ts +48 -0
- package/dist/models/upgrade-target.js +15 -0
- package/dist/models/validate-core-config-expression-body.d.ts +31 -0
- package/dist/models/validate-core-config-expression-body.js +15 -0
- package/dist/models/validate-core-config-expression-response.d.ts +25 -0
- package/dist/models/validate-core-config-expression-response.js +15 -0
- package/dist/models/validate-core-config-response.d.ts +25 -0
- package/dist/models/validate-core-config-response.js +15 -0
- package/dist/models/validate-group-version-body.d.ts +30 -0
- package/dist/models/validate-group-version-body.js +15 -0
- package/dist/models/validate-group-version-response.d.ts +25 -0
- package/dist/models/validate-group-version-response.js +15 -0
- package/dist/models/validate-version-body.d.ts +24 -0
- package/dist/models/validate-version-body.js +15 -0
- package/dist/models/validate-version-response.d.ts +25 -0
- package/dist/models/validate-version-response.js +15 -0
- package/dist/models/validation-issue.d.ts +36 -0
- package/dist/models/validation-issue.js +15 -0
- package/dist/models/validation-report.d.ts +31 -0
- package/dist/models/validation-report.js +15 -0
- package/dist/models/version-status.d.ts +24 -0
- package/dist/models/version-status.js +28 -0
- package/git_push.sh +57 -0
- package/index.ts +19 -0
- package/models/accept-lead-body.ts +36 -0
- package/models/accept-lead-response.ts +45 -0
- package/models/activate-group-policy-body.ts +30 -0
- package/models/activate-group-policy-response.ts +38 -0
- package/models/actor.ts +31 -0
- package/models/analyze-config-file-body.ts +74 -0
- package/models/analyze-config-file-response.ts +94 -0
- package/models/any.ts +32 -0
- package/models/applied-factor.ts +36 -0
- package/models/approval-role.ts +36 -0
- package/models/asset-status.ts +32 -0
- package/models/available-group-tariff.ts +50 -0
- package/models/available-tariff.ts +61 -0
- package/models/available-transition.ts +61 -0
- package/models/available-version.ts +98 -0
- package/models/billing-config.ts +42 -0
- package/models/calculate-group-policy-adjustments-body.ts +49 -0
- package/models/calculate-group-policy-adjustments-response.ts +43 -0
- package/models/cancel-job-response.ts +31 -0
- package/models/change-kind.ts +32 -0
- package/models/check-group-policy-upgrade-body.ts +36 -0
- package/models/check-group-policy-upgrade-response.ts +31 -0
- package/models/check-policy-upgrade-body.ts +36 -0
- package/models/check-policy-upgrade-response.ts +31 -0
- package/models/child-fallback.ts +31 -0
- package/models/configuration-pin.ts +48 -0
- package/models/conflict-reason.ts +42 -0
- package/models/contract-default-kind.ts +33 -0
- package/models/contract-unresolved-reason.ts +30 -0
- package/models/core-config-file-kind.ts +31 -0
- package/models/core-config-file.ts +157 -0
- package/models/core-config.ts +133 -0
- package/models/correct-group-policy-body.ts +67 -0
- package/models/correct-group-policy-response.ts +37 -0
- package/models/correct-policy-body.ts +61 -0
- package/models/correct-policy-response.ts +50 -0
- package/models/coverage-amount.ts +36 -0
- package/models/coverage-approval-limit.ts +36 -0
- package/models/coverage-billing.ts +36 -0
- package/models/coverage-category.ts +62 -0
- package/models/coverage-deductible.ts +73 -0
- package/models/coverage-detail.ts +59 -0
- package/models/coverage-group-policy.ts +48 -0
- package/models/coverage-insured-object.ts +48 -0
- package/models/coverage-named.ts +43 -0
- package/models/coverage-policy.ts +61 -0
- package/models/coverage-term-detail.ts +55 -0
- package/models/coverage-variant.ts +36 -0
- package/models/coverage-waiting-period.ts +48 -0
- package/models/create-config-file-upload-body.ts +36 -0
- package/models/create-config-file-upload-response.ts +42 -0
- package/models/create-core-config-body.ts +48 -0
- package/models/create-core-config-response.ts +31 -0
- package/models/create-detail-export-job-request.ts +60 -0
- package/models/create-detail-export-job-response.ts +31 -0
- package/models/create-export-job-request.ts +74 -0
- package/models/create-export-job-response.ts +31 -0
- package/models/create-generation-body.ts +48 -0
- package/models/create-generation-response.ts +38 -0
- package/models/create-group-core-config-body.ts +48 -0
- package/models/create-group-core-config-response.ts +31 -0
- package/models/create-group-generation-body.ts +36 -0
- package/models/create-group-generation-response.ts +31 -0
- package/models/create-group-policy-request.ts +74 -0
- package/models/create-group-policy-response.ts +38 -0
- package/models/create-group-tariff-request.ts +54 -0
- package/models/create-group-tariff-response.ts +31 -0
- package/models/create-group-version-body.ts +36 -0
- package/models/create-group-version-response.ts +31 -0
- package/models/create-lead-import-upload-request.ts +36 -0
- package/models/create-lead-import-upload-response.ts +42 -0
- package/models/create-lead-request.ts +62 -0
- package/models/create-lead-response.ts +38 -0
- package/models/create-line-of-insurance-request.ts +36 -0
- package/models/create-line-of-insurance-response.ts +31 -0
- package/models/create-policy-request.ts +73 -0
- package/models/create-policy-response.ts +38 -0
- package/models/create-tariff-request.ts +54 -0
- package/models/create-tariff-response.ts +31 -0
- package/models/create-version-body.ts +36 -0
- package/models/create-version-response.ts +31 -0
- package/models/delete-factor-response.ts +31 -0
- package/models/delete-named-range-file-response.ts +31 -0
- package/models/detach-policy-body.ts +36 -0
- package/models/detach-policy-response.ts +44 -0
- package/models/discard-core-config-response.ts +31 -0
- package/models/discard-group-version-response.ts +31 -0
- package/models/discard-version-response.ts +31 -0
- package/models/endorse-policy-body.ts +43 -0
- package/models/endorse-policy-response.ts +38 -0
- package/models/estimate-error.ts +42 -0
- package/models/estimate-lead-premium-response.ts +31 -0
- package/models/estimate-policy-premium-response.ts +31 -0
- package/models/export-column.ts +42 -0
- package/models/expression-context.ts +43 -0
- package/models/expression-kind.ts +31 -0
- package/models/expression-problem.ts +54 -0
- package/models/factor-row.ts +42 -0
- package/models/field-source.ts +31 -0
- package/models/file-cell-ref.ts +36 -0
- package/models/file-detected.ts +78 -0
- package/models/file-finding.ts +66 -0
- package/models/file-preview-cell.ts +42 -0
- package/models/file-preview-row.ts +37 -0
- package/models/file-preview.ts +43 -0
- package/models/file-read-options.ts +54 -0
- package/models/file-report.ts +85 -0
- package/models/filter-field-versions.ts +36 -0
- package/models/filter-field.ts +116 -0
- package/models/filter-value.ts +43 -0
- package/models/gate-report.ts +74 -0
- package/models/generation.ts +108 -0
- package/models/get-core-config-policy-data-schema-response.ts +30 -0
- package/models/get-core-config-response.ts +31 -0
- package/models/get-core-config-schema-response.ts +30 -0
- package/models/get-coverage-at-date-response.ts +115 -0
- package/models/get-diff-response.ts +31 -0
- package/models/get-factor-file-response.ts +67 -0
- package/models/get-factor-response.ts +43 -0
- package/models/get-generation-response.ts +31 -0
- package/models/get-group-core-config-response.ts +31 -0
- package/models/get-group-diff-response.ts +31 -0
- package/models/get-group-generation-response.ts +31 -0
- package/models/get-group-policy-filter-catalog-response.ts +37 -0
- package/models/get-group-policy-member-filter-catalog-response.ts +37 -0
- package/models/get-group-policy-member-schema-response.ts +55 -0
- package/models/get-group-policy-partner-history-response.ts +31 -0
- package/models/get-group-policy-premium-summary-response.ts +31 -0
- package/models/get-group-policy-response.ts +51 -0
- package/models/get-group-policy-timeline-response.ts +31 -0
- package/models/get-group-tariff-filter-catalog-response.ts +37 -0
- package/models/get-group-tariff-response.ts +31 -0
- package/models/get-group-version-response.ts +31 -0
- package/models/get-job-download-response.ts +31 -0
- package/models/get-job-filter-catalog-response.ts +37 -0
- package/models/get-job-response.ts +31 -0
- package/models/get-lead-filter-catalog-response.ts +50 -0
- package/models/get-lead-import-job-response.ts +31 -0
- package/models/get-lead-import-template-response.ts +62 -0
- package/models/get-lead-response.ts +38 -0
- package/models/get-lead-schema-response.ts +61 -0
- package/models/get-lead-version-response.ts +31 -0
- package/models/get-named-range-file-response.ts +67 -0
- package/models/get-named-range-response.ts +43 -0
- package/models/get-policy-filter-catalog-response.ts +50 -0
- package/models/get-policy-partner-history-response.ts +31 -0
- package/models/get-policy-response.ts +57 -0
- package/models/get-policy-schema-response.ts +55 -0
- package/models/get-policy-timeline-response.ts +31 -0
- package/models/get-resolved-billing-config-response.ts +48 -0
- package/models/get-resolved-contract-data-response.ts +43 -0
- package/models/get-resolved-core-config-response.ts +45 -0
- package/models/get-resolved-tariff-coverage-response.ts +54 -0
- package/models/get-tariff-filter-catalog-response.ts +37 -0
- package/models/get-tariff-response.ts +31 -0
- package/models/get-version-response.ts +31 -0
- package/models/golden-case-delta.ts +42 -0
- package/models/group-policy-list-entry.ts +63 -0
- package/models/group-policy-segment.ts +44 -0
- package/models/group-policy-status.ts +32 -0
- package/models/group-policy.ts +130 -0
- package/models/group-premium-summary.ts +75 -0
- package/models/group-tariff-version.ts +152 -0
- package/models/group-tariff.ts +115 -0
- package/models/highlight.ts +36 -0
- package/models/import-file.ts +42 -0
- package/models/import-leads-request.ts +92 -0
- package/models/import-leads-response.ts +38 -0
- package/models/index.ts +322 -0
- package/models/insured-person.ts +30 -0
- package/models/job-download.ts +42 -0
- package/models/job-error.ts +36 -0
- package/models/job-progress.ts +42 -0
- package/models/job.ts +140 -0
- package/models/lead-import-counts.ts +54 -0
- package/models/lead-import-item.ts +92 -0
- package/models/lead-import-job.ts +134 -0
- package/models/lead-import-template-column.ts +85 -0
- package/models/lead-import-template-value.ts +36 -0
- package/models/lead-status.ts +49 -0
- package/models/lead-version.ts +79 -0
- package/models/lead.ts +130 -0
- package/models/liable-party.ts +42 -0
- package/models/line-of-insurance.ts +72 -0
- package/models/list-approval-roles-response.ts +43 -0
- package/models/list-available-group-tariffs-response.ts +43 -0
- package/models/list-available-versions-response.ts +43 -0
- package/models/list-core-configs-response.ts +43 -0
- package/models/list-generations-response.ts +43 -0
- package/models/list-group-core-configs-response.ts +43 -0
- package/models/list-group-generations-response.ts +43 -0
- package/models/list-group-policies-response.ts +43 -0
- package/models/list-group-policy-members-response.ts +43 -0
- package/models/list-group-policy-upgrade-targets-response.ts +43 -0
- package/models/list-group-tariffs-response.ts +43 -0
- package/models/list-group-versions-response.ts +43 -0
- package/models/list-jobs-response.ts +43 -0
- package/models/list-lead-versions-response.ts +43 -0
- package/models/list-leads-response.ts +43 -0
- package/models/list-lines-of-insurance-response.ts +43 -0
- package/models/list-partner-roles-response.ts +43 -0
- package/models/list-partner-types-response.ts +43 -0
- package/models/list-policies-response.ts +43 -0
- package/models/list-policy-filter-values-response.ts +43 -0
- package/models/list-policy-snapshots-response.ts +43 -0
- package/models/list-policy-upgrade-targets-response.ts +43 -0
- package/models/list-request.ts +66 -0
- package/models/list-tariffs-response.ts +43 -0
- package/models/list-versions-response.ts +43 -0
- package/models/localized-text.ts +36 -0
- package/models/manifest-diff.ts +50 -0
- package/models/match.ts +75 -0
- package/models/member-projection.ts +99 -0
- package/models/money.ts +36 -0
- package/models/named-range-name.ts +36 -0
- package/models/named-range-row.ts +36 -0
- package/models/partner-draft.ts +36 -0
- package/models/partner-link.ts +42 -0
- package/models/partner-period.ts +48 -0
- package/models/partner-role-catalog-entry.ts +54 -0
- package/models/partner-role-rule.ts +66 -0
- package/models/partner-type-catalog-entry.ts +42 -0
- package/models/policy-list-entry.ts +51 -0
- package/models/policy-membership.ts +31 -0
- package/models/policy-segment.ts +44 -0
- package/models/policy-slice-summary.ts +85 -0
- package/models/policy-status.ts +31 -0
- package/models/policy.ts +144 -0
- package/models/policyholder-ref.ts +49 -0
- package/models/premium-adjustment-basis.ts +37 -0
- package/models/premium-adjustment.ts +92 -0
- package/models/premium-engine.ts +42 -0
- package/models/premium-estimate.ts +94 -0
- package/models/premium-item.ts +90 -0
- package/models/premium-summary-basis.ts +42 -0
- package/models/premium-tier.ts +36 -0
- package/models/premium-totals.ts +49 -0
- package/models/premium.ts +114 -0
- package/models/preview-group-policy-correction-body.ts +61 -0
- package/models/preview-group-policy-correction-response.ts +37 -0
- package/models/preview-group-policy-termination-body.ts +49 -0
- package/models/preview-group-policy-termination-response.ts +38 -0
- package/models/preview-policy-correction-body.ts +48 -0
- package/models/preview-policy-correction-response.ts +44 -0
- package/models/publish-core-config-response.ts +31 -0
- package/models/publish-group-core-config-response.ts +31 -0
- package/models/publish-group-version-body.ts +42 -0
- package/models/publish-group-version-response.ts +45 -0
- package/models/publish-version-body.ts +42 -0
- package/models/publish-version-response.ts +45 -0
- package/models/put-core-config-document-body.ts +30 -0
- package/models/put-core-config-document-response.ts +38 -0
- package/models/put-factor-file-body.ts +79 -0
- package/models/put-factor-file-response.ts +38 -0
- package/models/put-named-range-file-body.ts +74 -0
- package/models/put-named-range-file-response.ts +38 -0
- package/models/put-named-range-json-body.ts +30 -0
- package/models/put-named-range-json-response.ts +38 -0
- package/models/ref-change.ts +49 -0
- package/models/refresh-lead-response.ts +38 -0
- package/models/register-lead-partners-response.ts +45 -0
- package/models/renew-group-policy-body.ts +36 -0
- package/models/renew-group-policy-response.ts +45 -0
- package/models/report-item.ts +55 -0
- package/models/report-severity.ts +31 -0
- package/models/resolved-contract-field.ts +56 -0
- package/models/resolved-factor.ts +55 -0
- package/models/resolved-named-range.ts +49 -0
- package/models/resolved-partner.ts +67 -0
- package/models/set-active-group-version-body.ts +30 -0
- package/models/set-active-group-version-response.ts +31 -0
- package/models/set-active-version-body.ts +30 -0
- package/models/set-active-version-response.ts +31 -0
- package/models/set-group-version-status-body.ts +43 -0
- package/models/set-group-version-status-response.ts +45 -0
- package/models/set-version-status-body.ts +43 -0
- package/models/set-version-status-response.ts +45 -0
- package/models/slice.ts +36 -0
- package/models/snapshot-envelope.ts +48 -0
- package/models/status-kind.ts +33 -0
- package/models/status.ts +43 -0
- package/models/tariff-version.ts +152 -0
- package/models/tariff.ts +115 -0
- package/models/tax-amount.ts +48 -0
- package/models/terminate-group-policy-body.ts +55 -0
- package/models/terminate-group-policy-response.ts +45 -0
- package/models/terminate-policy-body.ts +36 -0
- package/models/terminate-policy-response.ts +38 -0
- package/models/transition-lead-body.ts +36 -0
- package/models/transition-lead-response.ts +38 -0
- package/models/update-core-config-body.ts +30 -0
- package/models/update-core-config-response.ts +31 -0
- package/models/update-generation-body.ts +36 -0
- package/models/update-generation-response.ts +31 -0
- package/models/update-group-core-config-body.ts +36 -0
- package/models/update-group-core-config-response.ts +31 -0
- package/models/update-group-policy-body.ts +56 -0
- package/models/update-group-policy-response.ts +38 -0
- package/models/update-group-version-body.ts +30 -0
- package/models/update-group-version-response.ts +31 -0
- package/models/update-lead-body.ts +50 -0
- package/models/update-lead-response.ts +38 -0
- package/models/update-tariff-body.ts +42 -0
- package/models/update-tariff-response.ts +31 -0
- package/models/update-version-body.ts +30 -0
- package/models/update-version-response.ts +31 -0
- package/models/upgrade-check-result.ts +68 -0
- package/models/upgrade-group-policy-body.ts +36 -0
- package/models/upgrade-group-policy-response.ts +45 -0
- package/models/upgrade-issue.ts +48 -0
- package/models/upgrade-policy-body.ts +36 -0
- package/models/upgrade-policy-response.ts +45 -0
- package/models/upgrade-target.ts +54 -0
- package/models/validate-core-config-expression-body.ts +37 -0
- package/models/validate-core-config-expression-response.ts +31 -0
- package/models/validate-core-config-response.ts +31 -0
- package/models/validate-group-version-body.ts +36 -0
- package/models/validate-group-version-response.ts +31 -0
- package/models/validate-version-body.ts +30 -0
- package/models/validate-version-response.ts +31 -0
- package/models/validation-issue.ts +42 -0
- package/models/validation-report.ts +37 -0
- package/models/version-status.ts +34 -0
- package/package.json +27 -4
- package/tsconfig.json +23 -0
|
@@ -0,0 +1,3636 @@
|
|
|
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 { AnalyzeConfigFileBody } from '../models';
|
|
16
|
+
import { AnalyzeConfigFileResponse } from '../models';
|
|
17
|
+
import { CreateConfigFileUploadBody } from '../models';
|
|
18
|
+
import { CreateConfigFileUploadResponse } from '../models';
|
|
19
|
+
import { CreateCoreConfigBody } from '../models';
|
|
20
|
+
import { CreateCoreConfigResponse } from '../models';
|
|
21
|
+
import { CreateGenerationBody } from '../models';
|
|
22
|
+
import { CreateGenerationResponse } from '../models';
|
|
23
|
+
import { CreateLineOfInsuranceRequest } from '../models';
|
|
24
|
+
import { CreateLineOfInsuranceResponse } from '../models';
|
|
25
|
+
import { CreateTariffRequest } from '../models';
|
|
26
|
+
import { CreateTariffResponse } from '../models';
|
|
27
|
+
import { CreateVersionBody } from '../models';
|
|
28
|
+
import { CreateVersionResponse } from '../models';
|
|
29
|
+
import { DeleteFactorResponse } from '../models';
|
|
30
|
+
import { DeleteNamedRangeFileResponse } from '../models';
|
|
31
|
+
import { DiscardCoreConfigResponse } from '../models';
|
|
32
|
+
import { DiscardVersionResponse } from '../models';
|
|
33
|
+
import { GetCoreConfigPolicyDataSchemaResponse } from '../models';
|
|
34
|
+
import { GetCoreConfigResponse } from '../models';
|
|
35
|
+
import { GetCoreConfigSchemaResponse } from '../models';
|
|
36
|
+
import { GetDiffResponse } from '../models';
|
|
37
|
+
import { GetFactorFileResponse } from '../models';
|
|
38
|
+
import { GetFactorResponse } from '../models';
|
|
39
|
+
import { GetGenerationResponse } from '../models';
|
|
40
|
+
import { GetNamedRangeFileResponse } from '../models';
|
|
41
|
+
import { GetNamedRangeResponse } from '../models';
|
|
42
|
+
import { GetResolvedBillingConfigResponse } from '../models';
|
|
43
|
+
import { GetResolvedContractDataResponse } from '../models';
|
|
44
|
+
import { GetResolvedCoreConfigResponse } from '../models';
|
|
45
|
+
import { GetResolvedTariffCoverageResponse } from '../models';
|
|
46
|
+
import { GetTariffFilterCatalogResponse } from '../models';
|
|
47
|
+
import { GetTariffResponse } from '../models';
|
|
48
|
+
import { GetVersionResponse } from '../models';
|
|
49
|
+
import { ListApprovalRolesResponse } from '../models';
|
|
50
|
+
import { ListCoreConfigsResponse } from '../models';
|
|
51
|
+
import { ListGenerationsResponse } from '../models';
|
|
52
|
+
import { ListLinesOfInsuranceResponse } from '../models';
|
|
53
|
+
import { ListPartnerRolesResponse } from '../models';
|
|
54
|
+
import { ListPartnerTypesResponse } from '../models';
|
|
55
|
+
import { ListTariffsResponse } from '../models';
|
|
56
|
+
import { ListVersionsResponse } from '../models';
|
|
57
|
+
import { PublishCoreConfigResponse } from '../models';
|
|
58
|
+
import { PublishVersionBody } from '../models';
|
|
59
|
+
import { PublishVersionResponse } from '../models';
|
|
60
|
+
import { PutCoreConfigDocumentBody } from '../models';
|
|
61
|
+
import { PutCoreConfigDocumentResponse } from '../models';
|
|
62
|
+
import { PutFactorFileBody } from '../models';
|
|
63
|
+
import { PutFactorFileResponse } from '../models';
|
|
64
|
+
import { PutNamedRangeFileBody } from '../models';
|
|
65
|
+
import { PutNamedRangeFileResponse } from '../models';
|
|
66
|
+
import { PutNamedRangeJsonBody } from '../models';
|
|
67
|
+
import { PutNamedRangeJsonResponse } from '../models';
|
|
68
|
+
import { SetActiveVersionBody } from '../models';
|
|
69
|
+
import { SetActiveVersionResponse } from '../models';
|
|
70
|
+
import { SetVersionStatusBody } from '../models';
|
|
71
|
+
import { SetVersionStatusResponse } from '../models';
|
|
72
|
+
import { UpdateCoreConfigBody } from '../models';
|
|
73
|
+
import { UpdateCoreConfigResponse } from '../models';
|
|
74
|
+
import { UpdateGenerationBody } from '../models';
|
|
75
|
+
import { UpdateGenerationResponse } from '../models';
|
|
76
|
+
import { UpdateTariffBody } from '../models';
|
|
77
|
+
import { UpdateTariffResponse } from '../models';
|
|
78
|
+
import { UpdateVersionBody } from '../models';
|
|
79
|
+
import { UpdateVersionResponse } from '../models';
|
|
80
|
+
import { ValidateCoreConfigExpressionBody } from '../models';
|
|
81
|
+
import { ValidateCoreConfigExpressionResponse } from '../models';
|
|
82
|
+
import { ValidateCoreConfigResponse } from '../models';
|
|
83
|
+
import { ValidateVersionBody } from '../models';
|
|
84
|
+
import { ValidateVersionResponse } from '../models';
|
|
85
|
+
/**
|
|
86
|
+
* TariffsApi - axios parameter creator
|
|
87
|
+
* @export
|
|
88
|
+
*/
|
|
89
|
+
export declare const TariffsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
90
|
+
/**
|
|
91
|
+
* Reads an uploaded file and returns what storing it would do: the detected file type, encoding, separator and header rows, the cleaning applied, warnings, findings per row, a preview and the row count. Nothing is stored. Send the returned `analysisDigest` when the upload is confirmed.
|
|
92
|
+
* @summary Analyses a factor or lookup file without storing anything.
|
|
93
|
+
* @param {string} tariffSlug The slug of the tariff that owns the core config.
|
|
94
|
+
* @param {string} name The core config\'s name, such as `insurance_core.v1`.
|
|
95
|
+
* @param {AnalyzeConfigFileBody} body
|
|
96
|
+
* @param {*} [options] Override http request option.
|
|
97
|
+
* @throws {RequiredError}
|
|
98
|
+
*/
|
|
99
|
+
tariffServiceAnalyzeConfigFile: (tariffSlug: string, name: string, body: AnalyzeConfigFileBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
100
|
+
/**
|
|
101
|
+
* Answers a link and a `fileKey`: upload the file to the link before `expiresAt`, then analyse it with `AnalyzeConfigFile` and store it with `PutNamedRangeFile`. The asset must be a draft.
|
|
102
|
+
* @summary Starts the upload of a factor or lookup file.
|
|
103
|
+
* @param {string} tariffSlug The slug of the tariff that owns the core config.
|
|
104
|
+
* @param {string} name The core config\'s name, such as `insurance_core.v1`.
|
|
105
|
+
* @param {CreateConfigFileUploadBody} body
|
|
106
|
+
* @param {*} [options] Override http request option.
|
|
107
|
+
* @throws {RequiredError}
|
|
108
|
+
*/
|
|
109
|
+
tariffServiceCreateConfigFileUpload: (tariffSlug: string, name: string, body: CreateConfigFileUploadBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
110
|
+
/**
|
|
111
|
+
* The asset is stored as a `DRAFT` named `<type>.vN`. `config` is its document and may be left out; `basedOnName` names an asset to copy it from and `generation` the generation it belongs to.
|
|
112
|
+
* @summary Creates a draft configuration asset of a tariff.
|
|
113
|
+
* @param {string} tariffSlug The slug of the tariff.
|
|
114
|
+
* @param {CreateCoreConfigBody} body
|
|
115
|
+
* @param {*} [options] Override http request option.
|
|
116
|
+
* @throws {RequiredError}
|
|
117
|
+
*/
|
|
118
|
+
tariffServiceCreateCoreConfig: (tariffSlug: string, body: CreateCoreConfigBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
119
|
+
/**
|
|
120
|
+
* A generation is a period of the tariff that starts on `validFrom`. The call also creates the generation\'s first draft version, which is returned next to it. The draft is copied from `basedOn`; the tariff\'s first generation starts with an empty draft.
|
|
121
|
+
* @summary Creates a generation of a tariff.
|
|
122
|
+
* @param {string} tariffSlug The slug of the tariff.
|
|
123
|
+
* @param {string} ifMatch The tariff\'s `etag` as last read, sent back unchanged: adding a generation changes the tariff.
|
|
124
|
+
* @param {CreateGenerationBody} body
|
|
125
|
+
* @param {*} [options] Override http request option.
|
|
126
|
+
* @throws {RequiredError}
|
|
127
|
+
*/
|
|
128
|
+
tariffServiceCreateGeneration: (tariffSlug: string, ifMatch: string, body: CreateGenerationBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
129
|
+
/**
|
|
130
|
+
* A key or label already used by a standard or added line is not allowed; labels are compared ignoring case.
|
|
131
|
+
* @summary Adds a line of insurance next to the standard lines.
|
|
132
|
+
* @param {CreateLineOfInsuranceRequest} body The request of `CreateLineOfInsurance`.
|
|
133
|
+
* @param {*} [options] Override http request option.
|
|
134
|
+
* @throws {RequiredError}
|
|
135
|
+
*/
|
|
136
|
+
tariffServiceCreateLineOfInsurance: (body: CreateLineOfInsuranceRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
137
|
+
/**
|
|
138
|
+
* The slug must be new. `lineOfInsurance` is required and must be a key from `ListLinesOfInsurance`. `claimsEnabled` is fixed at creation. Create a generation next with `CreateGeneration`.
|
|
139
|
+
* @summary Creates a tariff.
|
|
140
|
+
* @param {CreateTariffRequest} body The request of `CreateTariff`.
|
|
141
|
+
* @param {*} [options] Override http request option.
|
|
142
|
+
* @throws {RequiredError}
|
|
143
|
+
*/
|
|
144
|
+
tariffServiceCreateTariff: (body: CreateTariffRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
145
|
+
/**
|
|
146
|
+
* The draft starts from `manifest`, or from the version `basedOnErn` names. It is stored even when the manifest has problems: they are listed in `validationIssues`, and the publish gate decides later.
|
|
147
|
+
* @summary Creates a draft version.
|
|
148
|
+
* @param {string} tariffSlug The slug of the tariff.
|
|
149
|
+
* @param {string} generation The name of the generation.
|
|
150
|
+
* @param {CreateVersionBody} body
|
|
151
|
+
* @param {*} [options] Override http request option.
|
|
152
|
+
* @throws {RequiredError}
|
|
153
|
+
*/
|
|
154
|
+
tariffServiceCreateVersion: (tariffSlug: string, generation: string, body: CreateVersionBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
155
|
+
/**
|
|
156
|
+
* Removes the stored factor file and updates the core config.
|
|
157
|
+
* @summary Deletes the factors of a group.
|
|
158
|
+
* @param {string} tariffSlug The slug of the tariff that owns the core config.
|
|
159
|
+
* @param {string} name The core config\'s name, such as `insurance_core.v1`.
|
|
160
|
+
* @param {string} group The factor\'s group: 1 to 64 lowercase letters, digits, `.`, `_` or `-`, starting with a letter or digit.
|
|
161
|
+
* @param {string} ifMatch The core config\'s `etag` as last read (`coreConfigEtag` on a named range or factor read), sent back unchanged: every write to its named ranges and factors changes the core config.
|
|
162
|
+
* @param {*} [options] Override http request option.
|
|
163
|
+
* @throws {RequiredError}
|
|
164
|
+
*/
|
|
165
|
+
tariffServiceDeleteFactor: (tariffSlug: string, name: string, group: string, ifMatch: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
166
|
+
/**
|
|
167
|
+
* Removes the stored lookup file and updates the core config.
|
|
168
|
+
* @summary Deletes the file of a named range.
|
|
169
|
+
* @param {string} tariffSlug The slug of the tariff that owns the core config.
|
|
170
|
+
* @param {string} name The core config\'s name, such as `insurance_core.v1`.
|
|
171
|
+
* @param {string} fileName The lookup file\'s name within the core config: 1 to 64 lowercase letters, digits, `.`, `_` or `-`, starting with a letter or digit.
|
|
172
|
+
* @param {string} ifMatch The core config\'s `etag` as last read (`coreConfigEtag` on a named range or factor read), sent back unchanged: every write to its named ranges and factors changes the core config.
|
|
173
|
+
* @param {*} [options] Override http request option.
|
|
174
|
+
* @throws {RequiredError}
|
|
175
|
+
*/
|
|
176
|
+
tariffServiceDeleteNamedRangeFile: (tariffSlug: string, name: string, fileName: string, ifMatch: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
177
|
+
/**
|
|
178
|
+
* The draft becomes `DISCARDED`. It is kept and can no longer change.
|
|
179
|
+
* @summary Gives up a draft asset.
|
|
180
|
+
* @param {string} tariffSlug The slug of the tariff that owns the core config.
|
|
181
|
+
* @param {string} name The core config\'s name, such as `insurance_core.v1`.
|
|
182
|
+
* @param {string} ifMatch The core config\'s `etag` as last read, sent back unchanged.
|
|
183
|
+
* @param {object} body
|
|
184
|
+
* @param {*} [options] Override http request option.
|
|
185
|
+
* @throws {RequiredError}
|
|
186
|
+
*/
|
|
187
|
+
tariffServiceDiscardCoreConfig: (tariffSlug: string, name: string, ifMatch: string, body: object, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
188
|
+
/**
|
|
189
|
+
* The draft becomes `DISCARDED`. It is not deleted: it stays and cannot change.
|
|
190
|
+
* @summary Gives up a draft version.
|
|
191
|
+
* @param {string} tariffSlug The slug of the tariff.
|
|
192
|
+
* @param {string} generation The name of the generation.
|
|
193
|
+
* @param {string} version The draft id (`dv-...`) or the draft\'s ERN.
|
|
194
|
+
* @param {string} ifMatch The draft\'s `etag` as last read, sent back unchanged.
|
|
195
|
+
* @param {object} body
|
|
196
|
+
* @param {*} [options] Override http request option.
|
|
197
|
+
* @throws {RequiredError}
|
|
198
|
+
*/
|
|
199
|
+
tariffServiceDiscardVersion: (tariffSlug: string, generation: string, version: string, ifMatch: string, body: object, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
200
|
+
/**
|
|
201
|
+
* The asset is found by the tariff\'s slug and the asset\'s name, such as `insurance_core.v1`.
|
|
202
|
+
* @summary Returns one configuration asset of a tariff.
|
|
203
|
+
* @param {string} tariffSlug The slug of the tariff.
|
|
204
|
+
* @param {string} name The asset\'s name, `<type>.v<n>`.
|
|
205
|
+
* @param {*} [options] Override http request option.
|
|
206
|
+
* @throws {RequiredError}
|
|
207
|
+
*/
|
|
208
|
+
tariffServiceGetCoreConfig: (tariffSlug: string, name: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
209
|
+
/**
|
|
210
|
+
* Returns the schema that was derived when the asset was published. A draft or a discarded asset has none.
|
|
211
|
+
* @summary Returns the policy data schema of a published `insurance_core` or `contract_data` asset.
|
|
212
|
+
* @param {string} tariffSlug The slug of the tariff that owns the core config.
|
|
213
|
+
* @param {string} name The core config\'s name, such as `insurance_core.v1`.
|
|
214
|
+
* @param {*} [options] Override http request option.
|
|
215
|
+
* @throws {RequiredError}
|
|
216
|
+
*/
|
|
217
|
+
tariffServiceGetCoreConfigPolicyDataSchema: (tariffSlug: string, name: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
218
|
+
/**
|
|
219
|
+
* The same schema applies to every tariff. It needs no asset.
|
|
220
|
+
* @summary Returns the schema that `insurance_core` documents are validated against.
|
|
221
|
+
* @param {*} [options] Override http request option.
|
|
222
|
+
* @throws {RequiredError}
|
|
223
|
+
*/
|
|
224
|
+
tariffServiceGetCoreConfigSchema: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
225
|
+
/**
|
|
226
|
+
* Compares the version `version` with `againstVersion`, or with its baseline when `againstVersion` is empty. The response lists the premium change of each rating case and the changed references of the manifest, each marked added, removed or changed.
|
|
227
|
+
* @summary Returns what a version changed against another version.
|
|
228
|
+
* @param {string} tariffSlug The slug of the tariff.
|
|
229
|
+
* @param {string} generation The name of the generation.
|
|
230
|
+
* @param {string} version The version whose changes are shown: its number or ERN.
|
|
231
|
+
* @param {string} [againstVersion] The ERN of the version to compare with. Defaults to the version this one is based on; with another version, the premium changes are left out.
|
|
232
|
+
* @param {*} [options] Override http request option.
|
|
233
|
+
* @throws {RequiredError}
|
|
234
|
+
*/
|
|
235
|
+
tariffServiceGetDiff: (tariffSlug: string, generation: string, version: string, againstVersion?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
236
|
+
/**
|
|
237
|
+
* Returns the rows of one factor group: each row has a `name`, a `key` and a `value`. `coreConfigEtag` is the tag the write calls send in `If-Match`.
|
|
238
|
+
* @summary Returns the factors of a group with their rows.
|
|
239
|
+
* @param {string} tariffSlug The slug of the tariff that owns the core config.
|
|
240
|
+
* @param {string} name The core config\'s name, such as `insurance_core.v1`.
|
|
241
|
+
* @param {string} group The factor\'s group: 1 to 64 lowercase letters, digits, `.`, `_` or `-`, starting with a letter or digit.
|
|
242
|
+
* @param {*} [options] Override http request option.
|
|
243
|
+
* @throws {RequiredError}
|
|
244
|
+
*/
|
|
245
|
+
tariffServiceGetFactor: (tariffSlug: string, name: string, group: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
246
|
+
/**
|
|
247
|
+
* Answers a link to download the stored file of the factor group, unchanged.
|
|
248
|
+
* @summary Returns the stored file of a factor group.
|
|
249
|
+
* @param {string} tariffSlug The slug of the tariff that owns the core config.
|
|
250
|
+
* @param {string} name The core config\'s name, such as `insurance_core.v1`.
|
|
251
|
+
* @param {string} group The factor\'s group: 1 to 64 lowercase letters, digits, `.`, `_` or `-`, starting with a letter or digit.
|
|
252
|
+
* @param {boolean} [original] True to get the original upload instead of the cleaned file.
|
|
253
|
+
* @param {*} [options] Override http request option.
|
|
254
|
+
* @throws {RequiredError}
|
|
255
|
+
*/
|
|
256
|
+
tariffServiceGetFactorFile: (tariffSlug: string, name: string, group: string, original?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
257
|
+
/**
|
|
258
|
+
* The generation\'s `etag` goes in the `If-Match` header of a publish or an activation.
|
|
259
|
+
* @summary Returns one generation of a tariff.
|
|
260
|
+
* @param {string} tariffSlug The slug of the tariff.
|
|
261
|
+
* @param {string} generation The name of the generation.
|
|
262
|
+
* @param {*} [options] Override http request option.
|
|
263
|
+
* @throws {RequiredError}
|
|
264
|
+
*/
|
|
265
|
+
tariffServiceGetGeneration: (tariffSlug: string, generation: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
266
|
+
/**
|
|
267
|
+
* Returns the rows of one range: each row has a `key` and a `label`. `coreConfigEtag` is the tag the write calls send in `If-Match`.
|
|
268
|
+
* @summary Returns a named range with its rows.
|
|
269
|
+
* @param {string} tariffSlug The slug of the tariff that owns the core config.
|
|
270
|
+
* @param {string} name The core config\'s name, such as `insurance_core.v1`.
|
|
271
|
+
* @param {string} code The range\'s code.
|
|
272
|
+
* @param {*} [options] Override http request option.
|
|
273
|
+
* @throws {RequiredError}
|
|
274
|
+
*/
|
|
275
|
+
tariffServiceGetNamedRange: (tariffSlug: string, name: string, code: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
276
|
+
/**
|
|
277
|
+
* Answers a link to download the stored bytes, unchanged, with their content type.
|
|
278
|
+
* @summary Returns the stored file of a named range.
|
|
279
|
+
* @param {string} tariffSlug The slug of the tariff that owns the core config.
|
|
280
|
+
* @param {string} name The core config\'s name, such as `insurance_core.v1`.
|
|
281
|
+
* @param {string} fileName The lookup file\'s name within the core config: 1 to 64 lowercase letters, digits, `.`, `_` or `-`, starting with a letter or digit.
|
|
282
|
+
* @param {boolean} [original] True to get the original upload instead of the cleaned file. A range stored through `PutNamedRangeJson` has no original.
|
|
283
|
+
* @param {*} [options] Override http request option.
|
|
284
|
+
* @throws {RequiredError}
|
|
285
|
+
*/
|
|
286
|
+
tariffServiceGetNamedRangeFile: (tariffSlug: string, name: string, fileName: string, original?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
287
|
+
/**
|
|
288
|
+
* Merges, field by field, the group tariff version\'s billing override, the tariff version\'s billing asset and the platform default, and returns the result with the source of each section and the two asset ERNs. A pair that pins no asset answers the platform default. Nothing is written.
|
|
289
|
+
* @summary Returns the billing configuration of a policy\'s tariff version.
|
|
290
|
+
* @param {string} [tariffVersionErn] The ERN of the child tariff version. It is optional when `groupTariffVersionErn` is given: a group policy pins only the group version, and the child is the tariff version that the group version pins.
|
|
291
|
+
* @param {string} [groupTariffVersionErn] The ERN of the group tariff version whose billing configuration overrides the child\'s, field by field. Optional.
|
|
292
|
+
* @param {*} [options] Override http request option.
|
|
293
|
+
* @throws {RequiredError}
|
|
294
|
+
*/
|
|
295
|
+
tariffServiceGetResolvedBillingConfig: (tariffVersionErn?: string, groupTariffVersionErn?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
296
|
+
/**
|
|
297
|
+
* Works out the default of each contract data field, with the resolver a policy creation uses, for a policy that starts at `effectiveFrom`, with `applicationDate` and, for a field that copies from a parent, `parentPolicyCode`. A field that cannot be resolved is returned as not resolved with its reason. Nothing is written.
|
|
298
|
+
* @summary Returns the contract data a new policy on a tariff would start with.
|
|
299
|
+
* @param {string} [tariffErn] The ERN of the tariff or group tariff the policy is created on. Not read when `parentPolicyCode` is set.
|
|
300
|
+
* @param {string} [effectiveFrom] The date the policy takes effect, as an RFC 3339 full-date (`YYYY-MM-DD`). Optional; empty means the creation day, as when a policy is created.
|
|
301
|
+
* @param {string} [applicationDate] The application date, as an RFC 3339 full-date (`YYYY-MM-DD`). Optional; empty means none, as when a policy is created, and a default that counts from the application date stays unresolved.
|
|
302
|
+
* @param {string} [parentPolicyCode] For a member enrolment, the code of the group policy the member joins. When it is set, `tariffErn` is not read.
|
|
303
|
+
* @param {*} [options] Override http request option.
|
|
304
|
+
* @throws {RequiredError}
|
|
305
|
+
*/
|
|
306
|
+
tariffServiceGetResolvedContractData: (tariffErn?: string, effectiveFrom?: string, applicationDate?: string, parentPolicyCode?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
307
|
+
/**
|
|
308
|
+
* Returns the asset with the rows of each named range and each factor group read from their stored files, next to the file ERN of each. Nothing is written.
|
|
309
|
+
* @summary Returns the document with every range and factor filled in from its files.
|
|
310
|
+
* @param {string} tariffSlug The slug of the tariff that owns the core config.
|
|
311
|
+
* @param {string} name The core config\'s name, such as `insurance_core.v1`.
|
|
312
|
+
* @param {*} [options] Override http request option.
|
|
313
|
+
* @throws {RequiredError}
|
|
314
|
+
*/
|
|
315
|
+
tariffServiceGetResolvedCoreConfig: (tariffSlug: string, name: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
316
|
+
/**
|
|
317
|
+
* Merges the group tariff version\'s `tarif_deckung` asset over the tariff version\'s and returns the merged document, the source of each section, the group\'s default variation and the two asset ERNs. Nothing is written.
|
|
318
|
+
* @summary Returns the tariff variations and claims configuration of a policy\'s tariff version.
|
|
319
|
+
* @param {string} [tariffVersionErn] The ERN of the child tariff version. It is optional when `groupTariffVersionErn` is given: the child is then the tariff version that the group version pins.
|
|
320
|
+
* @param {string} [groupTariffVersionErn] The ERN of the group tariff version whose coverage document overrides the child\'s, section by section. Optional.
|
|
321
|
+
* @param {*} [options] Override http request option.
|
|
322
|
+
* @throws {RequiredError}
|
|
323
|
+
*/
|
|
324
|
+
tariffServiceGetResolvedTariffCoverage: (tariffVersionErn?: string, groupTariffVersionErn?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
325
|
+
/**
|
|
326
|
+
* The tariff\'s `etag` goes in the `If-Match` header of `UpdateTariff` and `CreateGeneration`.
|
|
327
|
+
* @summary Returns one tariff by its slug.
|
|
328
|
+
* @param {string} slug The slug of the tariff.
|
|
329
|
+
* @param {*} [options] Override http request option.
|
|
330
|
+
* @throws {RequiredError}
|
|
331
|
+
*/
|
|
332
|
+
tariffServiceGetTariff: (slug: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
333
|
+
/**
|
|
334
|
+
* The catalog is read for the caller\'s tenant: `lineOfInsurance` takes the keys of the standard and the added lines, with their labels, and can be filtered for `$null`. - Filter: `slug`, `name`, `createdAt`, `createdBy`, `lineOfInsurance`. - Search: over `slug` and `name`. - Sort: `slug`, `name`, `createdAt`.
|
|
335
|
+
* @summary Returns the filter catalog of the tariff list.
|
|
336
|
+
* @param {*} [options] Override http request option.
|
|
337
|
+
* @throws {RequiredError}
|
|
338
|
+
*/
|
|
339
|
+
tariffServiceGetTariffFilterCatalog: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
340
|
+
/**
|
|
341
|
+
* `version` is a number such as `1.3`, a version ERN or, for a draft, a draft id.
|
|
342
|
+
* @summary Returns one version of a generation.
|
|
343
|
+
* @param {string} tariffSlug The slug of the tariff.
|
|
344
|
+
* @param {string} generation The name of the generation.
|
|
345
|
+
* @param {string} version The version: its number (`1.3`), its ERN or, for a draft, its draft id (`dv-...`).
|
|
346
|
+
* @param {*} [options] Override http request option.
|
|
347
|
+
* @throws {RequiredError}
|
|
348
|
+
*/
|
|
349
|
+
tariffServiceGetVersion: (tariffSlug: string, generation: string, version: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
350
|
+
/**
|
|
351
|
+
* The list is whole, with no paging. Each item has the role\'s `code` and `name`, from the tenant\'s role catalog. When no catalog is set up, the list is empty.
|
|
352
|
+
* @summary Lists the roles an approval limit of a coverage document may name.
|
|
353
|
+
* @param {number} [pageSize]
|
|
354
|
+
* @param {string} [pageToken]
|
|
355
|
+
* @param {string} [filter]
|
|
356
|
+
* @param {string} [search]
|
|
357
|
+
* @param {string} [order]
|
|
358
|
+
* @param {string} [expand]
|
|
359
|
+
* @param {string} [filters]
|
|
360
|
+
* @param {*} [options] Override http request option.
|
|
361
|
+
* @throws {RequiredError}
|
|
362
|
+
*/
|
|
363
|
+
tariffServiceListApprovalRoles: (pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
364
|
+
/**
|
|
365
|
+
* The list is paged and holds the assets of every tariff, ordered by tariff slug, then name. It takes no search. - Filter: `tariffSlug`, `name`, `status`, `createdAt`. - Sort: `tariffSlug`, `name`, `createdAt`.
|
|
366
|
+
* @summary Lists the configuration assets of a tariff.
|
|
367
|
+
* @param {number} [pageSize]
|
|
368
|
+
* @param {string} [pageToken]
|
|
369
|
+
* @param {string} [filter]
|
|
370
|
+
* @param {string} [search]
|
|
371
|
+
* @param {string} [order]
|
|
372
|
+
* @param {string} [expand]
|
|
373
|
+
* @param {string} [filters]
|
|
374
|
+
* @param {*} [options] Override http request option.
|
|
375
|
+
* @throws {RequiredError}
|
|
376
|
+
*/
|
|
377
|
+
tariffServiceListCoreConfigs: (pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
378
|
+
/**
|
|
379
|
+
* To list one tariff\'s generations, name the tariff in `filters`.
|
|
380
|
+
* @summary Lists the generations of a tariff, ordered by `validFrom`.
|
|
381
|
+
* @param {number} [pageSize]
|
|
382
|
+
* @param {string} [pageToken]
|
|
383
|
+
* @param {string} [filter]
|
|
384
|
+
* @param {string} [search]
|
|
385
|
+
* @param {string} [order]
|
|
386
|
+
* @param {string} [expand]
|
|
387
|
+
* @param {string} [filters]
|
|
388
|
+
* @param {*} [options] Override http request option.
|
|
389
|
+
* @throws {RequiredError}
|
|
390
|
+
*/
|
|
391
|
+
tariffServiceListGenerations: (pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
392
|
+
/**
|
|
393
|
+
* The standard lines come first, in the list\'s order, then the added lines by German label. The list is paged: 20 lines by default, 100 at most. It takes no filter and no search.
|
|
394
|
+
* @summary Lists the lines of insurance a tariff can name.
|
|
395
|
+
* @param {number} [pageSize]
|
|
396
|
+
* @param {string} [pageToken]
|
|
397
|
+
* @param {string} [filter]
|
|
398
|
+
* @param {string} [search]
|
|
399
|
+
* @param {string} [order]
|
|
400
|
+
* @param {string} [expand]
|
|
401
|
+
* @param {string} [filters]
|
|
402
|
+
* @param {*} [options] Override http request option.
|
|
403
|
+
* @throws {RequiredError}
|
|
404
|
+
*/
|
|
405
|
+
tariffServiceListLinesOfInsurance: (pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
406
|
+
/**
|
|
407
|
+
* The list is whole, with no paging. Each item has the role\'s `code`, `ern`, `name`, `description` and whether it is a `system` role. They are the roles the publish gate accepts in a version\'s `partnerRoles`. The list is empty when no role catalog is set up.
|
|
408
|
+
* @summary Lists the partner roles a version\'s `partnerRoles` may name.
|
|
409
|
+
* @param {number} [pageSize]
|
|
410
|
+
* @param {string} [pageToken]
|
|
411
|
+
* @param {string} [filter]
|
|
412
|
+
* @param {string} [search]
|
|
413
|
+
* @param {string} [order]
|
|
414
|
+
* @param {string} [expand]
|
|
415
|
+
* @param {string} [filters]
|
|
416
|
+
* @param {*} [options] Override http request option.
|
|
417
|
+
* @throws {RequiredError}
|
|
418
|
+
*/
|
|
419
|
+
tariffServiceListPartnerRoles: (pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
420
|
+
/**
|
|
421
|
+
* The list is whole, with no paging. Each item has the type\'s `code`, `slug` and `name`: the types the publish gate accepts in a role\'s `partnerTypes`. The list is empty when no catalog is set up.
|
|
422
|
+
* @summary Lists the partner types a role\'s `partnerTypes` may name.
|
|
423
|
+
* @param {number} [pageSize]
|
|
424
|
+
* @param {string} [pageToken]
|
|
425
|
+
* @param {string} [filter]
|
|
426
|
+
* @param {string} [search]
|
|
427
|
+
* @param {string} [order]
|
|
428
|
+
* @param {string} [expand]
|
|
429
|
+
* @param {string} [filters]
|
|
430
|
+
* @param {*} [options] Override http request option.
|
|
431
|
+
* @throws {RequiredError}
|
|
432
|
+
*/
|
|
433
|
+
tariffServiceListPartnerTypes: (pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
434
|
+
/**
|
|
435
|
+
* The list is not cut by date. Each item is a tariff; its `match` is filled on a search and empty otherwise. - Filter: `slug`, `name`, `createdAt`, `createdBy`, `lineOfInsurance`. `lineOfInsurance` takes the keys of the standard and the added lines, can be filtered for `$null` (tariffs created before lines existed) and is not sortable. - Search: over `slug` and `name`. - Sort: `slug`, `name`, `createdAt`.
|
|
436
|
+
* @summary Lists tariffs.
|
|
437
|
+
* @param {number} [pageSize]
|
|
438
|
+
* @param {string} [pageToken]
|
|
439
|
+
* @param {string} [filter]
|
|
440
|
+
* @param {string} [search]
|
|
441
|
+
* @param {string} [order]
|
|
442
|
+
* @param {string} [expand]
|
|
443
|
+
* @param {string} [filters]
|
|
444
|
+
* @param {*} [options] Override http request option.
|
|
445
|
+
* @throws {RequiredError}
|
|
446
|
+
*/
|
|
447
|
+
tariffServiceListTariffs: (pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
448
|
+
/**
|
|
449
|
+
* The list holds the published versions and, only when `includeDrafts` is `true`, the open and the archived drafts after them. A discarded draft is never listed. To list one generation\'s versions, name the tariff and the generation in `filters`: `tariffSlug`, `generation` and `includeDrafts`.
|
|
450
|
+
* @summary Lists the versions of a generation, oldest first.
|
|
451
|
+
* @param {number} [pageSize]
|
|
452
|
+
* @param {string} [pageToken]
|
|
453
|
+
* @param {string} [filter]
|
|
454
|
+
* @param {string} [search]
|
|
455
|
+
* @param {string} [order]
|
|
456
|
+
* @param {string} [expand]
|
|
457
|
+
* @param {string} [filters]
|
|
458
|
+
* @param {*} [options] Override http request option.
|
|
459
|
+
* @throws {RequiredError}
|
|
460
|
+
*/
|
|
461
|
+
tariffServiceListVersions: (pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
462
|
+
/**
|
|
463
|
+
* Runs the publish gate over the draft and, when it passes, freezes the asset as `PUBLISHED` with its digest. A published asset never changes. For `insurance_core` and `contract_data` the policy data schema is derived at this step. When the gate refuses, the call fails and carries the gate\'s report.
|
|
464
|
+
* @summary Publishes a draft asset.
|
|
465
|
+
* @param {string} tariffSlug The slug of the tariff.
|
|
466
|
+
* @param {string} name The asset\'s name, `<type>.v<n>`.
|
|
467
|
+
* @param {string} ifMatch The core config\'s `etag` as last read, sent back unchanged.
|
|
468
|
+
* @param {object} body
|
|
469
|
+
* @param {*} [options] Override http request option.
|
|
470
|
+
* @throws {RequiredError}
|
|
471
|
+
*/
|
|
472
|
+
tariffServicePublishCoreConfig: (tariffSlug: string, name: string, ifMatch: string, body: object, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
473
|
+
/**
|
|
474
|
+
* Runs the publish gate over `manifest`. When it passes, the version is stored as a numbered, `PUBLISHED` version; with `activate` it also becomes the active version of its major. `requestMajor` asks for a new major number. When the gate refuses, nothing is stored and the call fails with the gate\'s report.
|
|
475
|
+
* @summary Publishes a version of a generation in one step.
|
|
476
|
+
* @param {string} tariffSlug The slug of the tariff.
|
|
477
|
+
* @param {string} generation The name of the generation.
|
|
478
|
+
* @param {string} ifMatch The generation\'s `etag` as last read, sent back unchanged.
|
|
479
|
+
* @param {PublishVersionBody} body
|
|
480
|
+
* @param {*} [options] Override http request option.
|
|
481
|
+
* @throws {RequiredError}
|
|
482
|
+
*/
|
|
483
|
+
tariffServicePublishVersion: (tariffSlug: string, generation: string, ifMatch: string, body: PublishVersionBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
484
|
+
/**
|
|
485
|
+
* Merges the sections the client sends into the stored document of a draft, checks their structure against the asset\'s schema and runs the cheap cross-reference checks. The draft is saved even when the checks find problems: they are returned in `report`, because a draft may be inconsistent while its author works. Publishing is the check that must pass. A body with a section the server owns is refused.
|
|
486
|
+
* @summary Saves the whole document of an `insurance_core` asset.
|
|
487
|
+
* @param {string} tariffSlug The slug of the tariff that owns the core config.
|
|
488
|
+
* @param {string} name The core config\'s name, such as `insurance_core.v1`.
|
|
489
|
+
* @param {string} ifMatch The core config\'s `etag` as last read, sent back unchanged.
|
|
490
|
+
* @param {PutCoreConfigDocumentBody} body
|
|
491
|
+
* @param {*} [options] Override http request option.
|
|
492
|
+
* @throws {RequiredError}
|
|
493
|
+
*/
|
|
494
|
+
tariffServicePutCoreConfigDocument: (tariffSlug: string, name: string, ifMatch: string, body: PutCoreConfigDocumentBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
495
|
+
/**
|
|
496
|
+
* TODO: not available yet, the call answers Unimplemented. Remove this line when the call is built.
|
|
497
|
+
* @summary Replaces the factors of a group with the content of a file.
|
|
498
|
+
* @param {string} tariffSlug The slug of the tariff that owns the core config.
|
|
499
|
+
* @param {string} name The core config\'s name, such as `insurance_core.v1`.
|
|
500
|
+
* @param {string} group The factor\'s group: 1 to 64 lowercase letters, digits, `.`, `_` or `-`, starting with a letter or digit.
|
|
501
|
+
* @param {string} ifMatch The core config\'s `etag` as last read (`coreConfigEtag` on a named range or factor read), sent back unchanged: every write to its named ranges and factors changes the core config.
|
|
502
|
+
* @param {PutFactorFileBody} body
|
|
503
|
+
* @param {*} [options] Override http request option.
|
|
504
|
+
* @throws {RequiredError}
|
|
505
|
+
*/
|
|
506
|
+
tariffServicePutFactorFile: (tariffSlug: string, name: string, group: string, ifMatch: string, body: PutFactorFileBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
507
|
+
/**
|
|
508
|
+
* Runs the upload analysis again over the uploaded object, derives the `namedRanges` headers the file accounts for and stores the cleaned file and its original. Send the `analysisDigest` of the analysis the file passed. Answers the core config and the stored file.
|
|
509
|
+
* @summary Replaces a named range with the content of a file.
|
|
510
|
+
* @param {string} tariffSlug The slug of the tariff that owns the core config.
|
|
511
|
+
* @param {string} name The core config\'s name, such as `insurance_core.v1`.
|
|
512
|
+
* @param {string} fileName The lookup file\'s name within the core config: 1 to 64 lowercase letters, digits, `.`, `_` or `-`, starting with a letter or digit.
|
|
513
|
+
* @param {string} ifMatch The core config\'s `etag` as last read (`coreConfigEtag` on a named range or factor read), sent back unchanged: every write to its named ranges and factors changes the core config.
|
|
514
|
+
* @param {PutNamedRangeFileBody} body
|
|
515
|
+
* @param {*} [options] Override http request option.
|
|
516
|
+
* @throws {RequiredError}
|
|
517
|
+
*/
|
|
518
|
+
tariffServicePutNamedRangeFile: (tariffSlug: string, name: string, fileName: string, ifMatch: string, body: PutNamedRangeFileBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
519
|
+
/**
|
|
520
|
+
* Stores the rows sent in `ranges` as a CSV lookup file. Nothing is analysed and no original file is kept. Answers the core config and the stored file.
|
|
521
|
+
* @summary Replaces a named range with rows sent as JSON.
|
|
522
|
+
* @param {string} tariffSlug The slug of the tariff that owns the core config.
|
|
523
|
+
* @param {string} name The core config\'s name, such as `insurance_core.v1`.
|
|
524
|
+
* @param {string} fileName The lookup file\'s name within the core config: 1 to 64 lowercase letters, digits, `.`, `_` or `-`, starting with a letter or digit.
|
|
525
|
+
* @param {string} ifMatch The core config\'s `etag` as last read (`coreConfigEtag` on a named range or factor read), sent back unchanged: every write to its named ranges and factors changes the core config.
|
|
526
|
+
* @param {PutNamedRangeJsonBody} body
|
|
527
|
+
* @param {*} [options] Override http request option.
|
|
528
|
+
* @throws {RequiredError}
|
|
529
|
+
*/
|
|
530
|
+
tariffServicePutNamedRangeJson: (tariffSlug: string, name: string, fileName: string, ifMatch: string, body: PutNamedRangeJsonBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
531
|
+
/**
|
|
532
|
+
* A major can have only one active version. The version must be published and belong to this generation.
|
|
533
|
+
* @summary Makes a published version the active one of its major.
|
|
534
|
+
* @param {string} tariffSlug The slug of the tariff.
|
|
535
|
+
* @param {string} generation The name of the generation.
|
|
536
|
+
* @param {string} ifMatch The generation\'s `etag` as last read, sent back unchanged.
|
|
537
|
+
* @param {SetActiveVersionBody} body
|
|
538
|
+
* @param {*} [options] Override http request option.
|
|
539
|
+
* @throws {RequiredError}
|
|
540
|
+
*/
|
|
541
|
+
tariffServiceSetActiveVersion: (tariffSlug: string, generation: string, ifMatch: string, body: SetActiveVersionBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
542
|
+
/**
|
|
543
|
+
* The allowed moves are: - `DRAFT` to `RETIRED`: archives the draft. - `DRAFT` to `DISCARDED`: gives the draft up. - `PUBLISHED` to `ACTIVE`: makes it the active version of its major; a major can have only one active version. - `ACTIVE` to `PUBLISHED`: takes it off sale. - `PUBLISHED` or `ACTIVE` to `RETIRED`: forbids new pins of the version. Any other move is not allowed. A policy already in force never moves to another version.
|
|
544
|
+
* @summary Moves a version to another lifecycle status.
|
|
545
|
+
* @param {string} tariffSlug The slug of the tariff.
|
|
546
|
+
* @param {string} generation The name of the generation.
|
|
547
|
+
* @param {string} version The version: its number (`1.2`), its ERN or a draft id (`dv-...`).
|
|
548
|
+
* @param {string} ifMatch The draft\'s `etag` when the version is a draft, otherwise its generation\'s `etag`, as last read and sent back unchanged.
|
|
549
|
+
* @param {SetVersionStatusBody} body
|
|
550
|
+
* @param {*} [options] Override http request option.
|
|
551
|
+
* @throws {RequiredError}
|
|
552
|
+
*/
|
|
553
|
+
tariffServiceSetVersionStatus: (tariffSlug: string, generation: string, version: string, ifMatch: string, body: SetVersionStatusBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
554
|
+
/**
|
|
555
|
+
* Only a draft can be rewritten. The call replaces the whole `config` document and runs no gate: the checks run when the asset is published. An `insurance_core` asset is refused, because its document has sections the server owns: save it with `PutCoreConfigDocument`.
|
|
556
|
+
* @summary Rewrites the configuration of a draft asset.
|
|
557
|
+
* @param {string} tariffSlug The slug of the tariff.
|
|
558
|
+
* @param {string} name The asset\'s name, `<type>.v<n>`.
|
|
559
|
+
* @param {string} ifMatch The core config\'s `etag` as last read, sent back unchanged.
|
|
560
|
+
* @param {UpdateCoreConfigBody} body
|
|
561
|
+
* @param {*} [options] Override http request option.
|
|
562
|
+
* @throws {RequiredError}
|
|
563
|
+
*/
|
|
564
|
+
tariffServiceUpdateCoreConfig: (tariffSlug: string, name: string, ifMatch: string, body: UpdateCoreConfigBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
565
|
+
/**
|
|
566
|
+
* The start date can be changed only while the generation has no numbered version (published, active or archived). The name never changes.
|
|
567
|
+
* @summary Changes a generation\'s title or start date.
|
|
568
|
+
* @param {string} tariffSlug The slug of the tariff.
|
|
569
|
+
* @param {string} generation The name of the generation.
|
|
570
|
+
* @param {string} ifMatch The generation\'s `etag` as last read, sent back unchanged.
|
|
571
|
+
* @param {UpdateGenerationBody} body
|
|
572
|
+
* @param {*} [options] Override http request option.
|
|
573
|
+
* @throws {RequiredError}
|
|
574
|
+
*/
|
|
575
|
+
tariffServiceUpdateGeneration: (tariffSlug: string, generation: string, ifMatch: string, body: UpdateGenerationBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
576
|
+
/**
|
|
577
|
+
* The slug, the ERN (EIS Resource Name) and `claimsEnabled` never change. Set at least one of `name`, `description` and `lineOfInsurance`.
|
|
578
|
+
* @summary Changes a tariff\'s name, description or line of insurance.
|
|
579
|
+
* @param {string} slug The slug of the tariff.
|
|
580
|
+
* @param {string} ifMatch The tariff\'s `etag` as last read, sent back unchanged.
|
|
581
|
+
* @param {UpdateTariffBody} body
|
|
582
|
+
* @param {*} [options] Override http request option.
|
|
583
|
+
* @throws {RequiredError}
|
|
584
|
+
*/
|
|
585
|
+
tariffServiceUpdateTariff: (slug: string, ifMatch: string, body: UpdateTariffBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
586
|
+
/**
|
|
587
|
+
* Only an open draft can be rewritten. The response lists the contract issues found in the new manifest.
|
|
588
|
+
* @summary Rewrites the manifest of a draft version.
|
|
589
|
+
* @param {string} tariffSlug The slug of the tariff.
|
|
590
|
+
* @param {string} generation The name of the generation.
|
|
591
|
+
* @param {string} version The draft id (`dv-...`) or the draft\'s ERN.
|
|
592
|
+
* @param {string} ifMatch The draft\'s `etag` as last read, sent back unchanged.
|
|
593
|
+
* @param {UpdateVersionBody} body
|
|
594
|
+
* @param {*} [options] Override http request option.
|
|
595
|
+
* @throws {RequiredError}
|
|
596
|
+
*/
|
|
597
|
+
tariffServiceUpdateVersion: (tariffSlug: string, generation: string, version: string, ifMatch: string, body: UpdateVersionBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
598
|
+
/**
|
|
599
|
+
* Runs the publish gate over the asset and writes nothing. A document the gate would refuse is an answer, not an error: the report says why.
|
|
600
|
+
* @summary Checks an asset against the full publish gate without writing anything.
|
|
601
|
+
* @param {string} tariffSlug The slug of the tariff that owns the core config.
|
|
602
|
+
* @param {string} name The asset\'s name: an `insurance_core`, `lead_lifecycle`, `billing_config`, `contract_data` or `tarif_deckung` asset, such as `insurance_core.v1`.
|
|
603
|
+
* @param {object} body
|
|
604
|
+
* @param {*} [options] Override http request option.
|
|
605
|
+
* @throws {RequiredError}
|
|
606
|
+
*/
|
|
607
|
+
tariffServiceValidateCoreConfig: (tariffSlug: string, name: string, body: object, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
608
|
+
/**
|
|
609
|
+
* Checks `expression` against the stored document of the asset and writes nothing. `context` says what the expression is for: a premium item (the default) or a field, with an optional `order` and `object`. Each problem has a code, a message, and the position and length of the faulty part.
|
|
610
|
+
* @summary Checks one expression against the stored document.
|
|
611
|
+
* @param {string} tariffSlug The slug of the tariff that owns the core config.
|
|
612
|
+
* @param {string} name The core config\'s name, such as `insurance_core.v1`.
|
|
613
|
+
* @param {ValidateCoreConfigExpressionBody} body
|
|
614
|
+
* @param {*} [options] Override http request option.
|
|
615
|
+
* @throws {RequiredError}
|
|
616
|
+
*/
|
|
617
|
+
tariffServiceValidateCoreConfigExpression: (tariffSlug: string, name: string, body: ValidateCoreConfigExpressionBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
618
|
+
/**
|
|
619
|
+
* Runs the publish gate over `manifest` and writes nothing. A manifest the gate refuses is an answer, not an error: the report in the response says why.
|
|
620
|
+
* @summary Runs the publish gate on a manifest without writing anything.
|
|
621
|
+
* @param {string} tariffSlug The slug of the tariff.
|
|
622
|
+
* @param {string} generation The name of the generation.
|
|
623
|
+
* @param {ValidateVersionBody} body
|
|
624
|
+
* @param {*} [options] Override http request option.
|
|
625
|
+
* @throws {RequiredError}
|
|
626
|
+
*/
|
|
627
|
+
tariffServiceValidateVersion: (tariffSlug: string, generation: string, body: ValidateVersionBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
628
|
+
};
|
|
629
|
+
/**
|
|
630
|
+
* TariffsApi - functional programming interface
|
|
631
|
+
* @export
|
|
632
|
+
*/
|
|
633
|
+
export declare const TariffsApiFp: (configuration?: Configuration) => {
|
|
634
|
+
/**
|
|
635
|
+
* Reads an uploaded file and returns what storing it would do: the detected file type, encoding, separator and header rows, the cleaning applied, warnings, findings per row, a preview and the row count. Nothing is stored. Send the returned `analysisDigest` when the upload is confirmed.
|
|
636
|
+
* @summary Analyses a factor or lookup file without storing anything.
|
|
637
|
+
* @param {string} tariffSlug The slug of the tariff that owns the core config.
|
|
638
|
+
* @param {string} name The core config\'s name, such as `insurance_core.v1`.
|
|
639
|
+
* @param {AnalyzeConfigFileBody} body
|
|
640
|
+
* @param {*} [options] Override http request option.
|
|
641
|
+
* @throws {RequiredError}
|
|
642
|
+
*/
|
|
643
|
+
tariffServiceAnalyzeConfigFile(tariffSlug: string, name: string, body: AnalyzeConfigFileBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AnalyzeConfigFileResponse>>;
|
|
644
|
+
/**
|
|
645
|
+
* Answers a link and a `fileKey`: upload the file to the link before `expiresAt`, then analyse it with `AnalyzeConfigFile` and store it with `PutNamedRangeFile`. The asset must be a draft.
|
|
646
|
+
* @summary Starts the upload of a factor or lookup file.
|
|
647
|
+
* @param {string} tariffSlug The slug of the tariff that owns the core config.
|
|
648
|
+
* @param {string} name The core config\'s name, such as `insurance_core.v1`.
|
|
649
|
+
* @param {CreateConfigFileUploadBody} body
|
|
650
|
+
* @param {*} [options] Override http request option.
|
|
651
|
+
* @throws {RequiredError}
|
|
652
|
+
*/
|
|
653
|
+
tariffServiceCreateConfigFileUpload(tariffSlug: string, name: string, body: CreateConfigFileUploadBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateConfigFileUploadResponse>>;
|
|
654
|
+
/**
|
|
655
|
+
* The asset is stored as a `DRAFT` named `<type>.vN`. `config` is its document and may be left out; `basedOnName` names an asset to copy it from and `generation` the generation it belongs to.
|
|
656
|
+
* @summary Creates a draft configuration asset of a tariff.
|
|
657
|
+
* @param {string} tariffSlug The slug of the tariff.
|
|
658
|
+
* @param {CreateCoreConfigBody} body
|
|
659
|
+
* @param {*} [options] Override http request option.
|
|
660
|
+
* @throws {RequiredError}
|
|
661
|
+
*/
|
|
662
|
+
tariffServiceCreateCoreConfig(tariffSlug: string, body: CreateCoreConfigBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateCoreConfigResponse>>;
|
|
663
|
+
/**
|
|
664
|
+
* A generation is a period of the tariff that starts on `validFrom`. The call also creates the generation\'s first draft version, which is returned next to it. The draft is copied from `basedOn`; the tariff\'s first generation starts with an empty draft.
|
|
665
|
+
* @summary Creates a generation of a tariff.
|
|
666
|
+
* @param {string} tariffSlug The slug of the tariff.
|
|
667
|
+
* @param {string} ifMatch The tariff\'s `etag` as last read, sent back unchanged: adding a generation changes the tariff.
|
|
668
|
+
* @param {CreateGenerationBody} body
|
|
669
|
+
* @param {*} [options] Override http request option.
|
|
670
|
+
* @throws {RequiredError}
|
|
671
|
+
*/
|
|
672
|
+
tariffServiceCreateGeneration(tariffSlug: string, ifMatch: string, body: CreateGenerationBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateGenerationResponse>>;
|
|
673
|
+
/**
|
|
674
|
+
* A key or label already used by a standard or added line is not allowed; labels are compared ignoring case.
|
|
675
|
+
* @summary Adds a line of insurance next to the standard lines.
|
|
676
|
+
* @param {CreateLineOfInsuranceRequest} body The request of `CreateLineOfInsurance`.
|
|
677
|
+
* @param {*} [options] Override http request option.
|
|
678
|
+
* @throws {RequiredError}
|
|
679
|
+
*/
|
|
680
|
+
tariffServiceCreateLineOfInsurance(body: CreateLineOfInsuranceRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateLineOfInsuranceResponse>>;
|
|
681
|
+
/**
|
|
682
|
+
* The slug must be new. `lineOfInsurance` is required and must be a key from `ListLinesOfInsurance`. `claimsEnabled` is fixed at creation. Create a generation next with `CreateGeneration`.
|
|
683
|
+
* @summary Creates a tariff.
|
|
684
|
+
* @param {CreateTariffRequest} body The request of `CreateTariff`.
|
|
685
|
+
* @param {*} [options] Override http request option.
|
|
686
|
+
* @throws {RequiredError}
|
|
687
|
+
*/
|
|
688
|
+
tariffServiceCreateTariff(body: CreateTariffRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateTariffResponse>>;
|
|
689
|
+
/**
|
|
690
|
+
* The draft starts from `manifest`, or from the version `basedOnErn` names. It is stored even when the manifest has problems: they are listed in `validationIssues`, and the publish gate decides later.
|
|
691
|
+
* @summary Creates a draft version.
|
|
692
|
+
* @param {string} tariffSlug The slug of the tariff.
|
|
693
|
+
* @param {string} generation The name of the generation.
|
|
694
|
+
* @param {CreateVersionBody} body
|
|
695
|
+
* @param {*} [options] Override http request option.
|
|
696
|
+
* @throws {RequiredError}
|
|
697
|
+
*/
|
|
698
|
+
tariffServiceCreateVersion(tariffSlug: string, generation: string, body: CreateVersionBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateVersionResponse>>;
|
|
699
|
+
/**
|
|
700
|
+
* Removes the stored factor file and updates the core config.
|
|
701
|
+
* @summary Deletes the factors of a group.
|
|
702
|
+
* @param {string} tariffSlug The slug of the tariff that owns the core config.
|
|
703
|
+
* @param {string} name The core config\'s name, such as `insurance_core.v1`.
|
|
704
|
+
* @param {string} group The factor\'s group: 1 to 64 lowercase letters, digits, `.`, `_` or `-`, starting with a letter or digit.
|
|
705
|
+
* @param {string} ifMatch The core config\'s `etag` as last read (`coreConfigEtag` on a named range or factor read), sent back unchanged: every write to its named ranges and factors changes the core config.
|
|
706
|
+
* @param {*} [options] Override http request option.
|
|
707
|
+
* @throws {RequiredError}
|
|
708
|
+
*/
|
|
709
|
+
tariffServiceDeleteFactor(tariffSlug: string, name: string, group: string, ifMatch: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteFactorResponse>>;
|
|
710
|
+
/**
|
|
711
|
+
* Removes the stored lookup file and updates the core config.
|
|
712
|
+
* @summary Deletes the file of a named range.
|
|
713
|
+
* @param {string} tariffSlug The slug of the tariff that owns the core config.
|
|
714
|
+
* @param {string} name The core config\'s name, such as `insurance_core.v1`.
|
|
715
|
+
* @param {string} fileName The lookup file\'s name within the core config: 1 to 64 lowercase letters, digits, `.`, `_` or `-`, starting with a letter or digit.
|
|
716
|
+
* @param {string} ifMatch The core config\'s `etag` as last read (`coreConfigEtag` on a named range or factor read), sent back unchanged: every write to its named ranges and factors changes the core config.
|
|
717
|
+
* @param {*} [options] Override http request option.
|
|
718
|
+
* @throws {RequiredError}
|
|
719
|
+
*/
|
|
720
|
+
tariffServiceDeleteNamedRangeFile(tariffSlug: string, name: string, fileName: string, ifMatch: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteNamedRangeFileResponse>>;
|
|
721
|
+
/**
|
|
722
|
+
* The draft becomes `DISCARDED`. It is kept and can no longer change.
|
|
723
|
+
* @summary Gives up a draft asset.
|
|
724
|
+
* @param {string} tariffSlug The slug of the tariff that owns the core config.
|
|
725
|
+
* @param {string} name The core config\'s name, such as `insurance_core.v1`.
|
|
726
|
+
* @param {string} ifMatch The core config\'s `etag` as last read, sent back unchanged.
|
|
727
|
+
* @param {object} body
|
|
728
|
+
* @param {*} [options] Override http request option.
|
|
729
|
+
* @throws {RequiredError}
|
|
730
|
+
*/
|
|
731
|
+
tariffServiceDiscardCoreConfig(tariffSlug: string, name: string, ifMatch: string, body: object, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DiscardCoreConfigResponse>>;
|
|
732
|
+
/**
|
|
733
|
+
* The draft becomes `DISCARDED`. It is not deleted: it stays and cannot change.
|
|
734
|
+
* @summary Gives up a draft version.
|
|
735
|
+
* @param {string} tariffSlug The slug of the tariff.
|
|
736
|
+
* @param {string} generation The name of the generation.
|
|
737
|
+
* @param {string} version The draft id (`dv-...`) or the draft\'s ERN.
|
|
738
|
+
* @param {string} ifMatch The draft\'s `etag` as last read, sent back unchanged.
|
|
739
|
+
* @param {object} body
|
|
740
|
+
* @param {*} [options] Override http request option.
|
|
741
|
+
* @throws {RequiredError}
|
|
742
|
+
*/
|
|
743
|
+
tariffServiceDiscardVersion(tariffSlug: string, generation: string, version: string, ifMatch: string, body: object, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DiscardVersionResponse>>;
|
|
744
|
+
/**
|
|
745
|
+
* The asset is found by the tariff\'s slug and the asset\'s name, such as `insurance_core.v1`.
|
|
746
|
+
* @summary Returns one configuration asset of a tariff.
|
|
747
|
+
* @param {string} tariffSlug The slug of the tariff.
|
|
748
|
+
* @param {string} name The asset\'s name, `<type>.v<n>`.
|
|
749
|
+
* @param {*} [options] Override http request option.
|
|
750
|
+
* @throws {RequiredError}
|
|
751
|
+
*/
|
|
752
|
+
tariffServiceGetCoreConfig(tariffSlug: string, name: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetCoreConfigResponse>>;
|
|
753
|
+
/**
|
|
754
|
+
* Returns the schema that was derived when the asset was published. A draft or a discarded asset has none.
|
|
755
|
+
* @summary Returns the policy data schema of a published `insurance_core` or `contract_data` asset.
|
|
756
|
+
* @param {string} tariffSlug The slug of the tariff that owns the core config.
|
|
757
|
+
* @param {string} name The core config\'s name, such as `insurance_core.v1`.
|
|
758
|
+
* @param {*} [options] Override http request option.
|
|
759
|
+
* @throws {RequiredError}
|
|
760
|
+
*/
|
|
761
|
+
tariffServiceGetCoreConfigPolicyDataSchema(tariffSlug: string, name: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetCoreConfigPolicyDataSchemaResponse>>;
|
|
762
|
+
/**
|
|
763
|
+
* The same schema applies to every tariff. It needs no asset.
|
|
764
|
+
* @summary Returns the schema that `insurance_core` documents are validated against.
|
|
765
|
+
* @param {*} [options] Override http request option.
|
|
766
|
+
* @throws {RequiredError}
|
|
767
|
+
*/
|
|
768
|
+
tariffServiceGetCoreConfigSchema(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetCoreConfigSchemaResponse>>;
|
|
769
|
+
/**
|
|
770
|
+
* Compares the version `version` with `againstVersion`, or with its baseline when `againstVersion` is empty. The response lists the premium change of each rating case and the changed references of the manifest, each marked added, removed or changed.
|
|
771
|
+
* @summary Returns what a version changed against another version.
|
|
772
|
+
* @param {string} tariffSlug The slug of the tariff.
|
|
773
|
+
* @param {string} generation The name of the generation.
|
|
774
|
+
* @param {string} version The version whose changes are shown: its number or ERN.
|
|
775
|
+
* @param {string} [againstVersion] The ERN of the version to compare with. Defaults to the version this one is based on; with another version, the premium changes are left out.
|
|
776
|
+
* @param {*} [options] Override http request option.
|
|
777
|
+
* @throws {RequiredError}
|
|
778
|
+
*/
|
|
779
|
+
tariffServiceGetDiff(tariffSlug: string, generation: string, version: string, againstVersion?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetDiffResponse>>;
|
|
780
|
+
/**
|
|
781
|
+
* Returns the rows of one factor group: each row has a `name`, a `key` and a `value`. `coreConfigEtag` is the tag the write calls send in `If-Match`.
|
|
782
|
+
* @summary Returns the factors of a group with their rows.
|
|
783
|
+
* @param {string} tariffSlug The slug of the tariff that owns the core config.
|
|
784
|
+
* @param {string} name The core config\'s name, such as `insurance_core.v1`.
|
|
785
|
+
* @param {string} group The factor\'s group: 1 to 64 lowercase letters, digits, `.`, `_` or `-`, starting with a letter or digit.
|
|
786
|
+
* @param {*} [options] Override http request option.
|
|
787
|
+
* @throws {RequiredError}
|
|
788
|
+
*/
|
|
789
|
+
tariffServiceGetFactor(tariffSlug: string, name: string, group: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetFactorResponse>>;
|
|
790
|
+
/**
|
|
791
|
+
* Answers a link to download the stored file of the factor group, unchanged.
|
|
792
|
+
* @summary Returns the stored file of a factor group.
|
|
793
|
+
* @param {string} tariffSlug The slug of the tariff that owns the core config.
|
|
794
|
+
* @param {string} name The core config\'s name, such as `insurance_core.v1`.
|
|
795
|
+
* @param {string} group The factor\'s group: 1 to 64 lowercase letters, digits, `.`, `_` or `-`, starting with a letter or digit.
|
|
796
|
+
* @param {boolean} [original] True to get the original upload instead of the cleaned file.
|
|
797
|
+
* @param {*} [options] Override http request option.
|
|
798
|
+
* @throws {RequiredError}
|
|
799
|
+
*/
|
|
800
|
+
tariffServiceGetFactorFile(tariffSlug: string, name: string, group: string, original?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetFactorFileResponse>>;
|
|
801
|
+
/**
|
|
802
|
+
* The generation\'s `etag` goes in the `If-Match` header of a publish or an activation.
|
|
803
|
+
* @summary Returns one generation of a tariff.
|
|
804
|
+
* @param {string} tariffSlug The slug of the tariff.
|
|
805
|
+
* @param {string} generation The name of the generation.
|
|
806
|
+
* @param {*} [options] Override http request option.
|
|
807
|
+
* @throws {RequiredError}
|
|
808
|
+
*/
|
|
809
|
+
tariffServiceGetGeneration(tariffSlug: string, generation: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetGenerationResponse>>;
|
|
810
|
+
/**
|
|
811
|
+
* Returns the rows of one range: each row has a `key` and a `label`. `coreConfigEtag` is the tag the write calls send in `If-Match`.
|
|
812
|
+
* @summary Returns a named range with its rows.
|
|
813
|
+
* @param {string} tariffSlug The slug of the tariff that owns the core config.
|
|
814
|
+
* @param {string} name The core config\'s name, such as `insurance_core.v1`.
|
|
815
|
+
* @param {string} code The range\'s code.
|
|
816
|
+
* @param {*} [options] Override http request option.
|
|
817
|
+
* @throws {RequiredError}
|
|
818
|
+
*/
|
|
819
|
+
tariffServiceGetNamedRange(tariffSlug: string, name: string, code: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetNamedRangeResponse>>;
|
|
820
|
+
/**
|
|
821
|
+
* Answers a link to download the stored bytes, unchanged, with their content type.
|
|
822
|
+
* @summary Returns the stored file of a named range.
|
|
823
|
+
* @param {string} tariffSlug The slug of the tariff that owns the core config.
|
|
824
|
+
* @param {string} name The core config\'s name, such as `insurance_core.v1`.
|
|
825
|
+
* @param {string} fileName The lookup file\'s name within the core config: 1 to 64 lowercase letters, digits, `.`, `_` or `-`, starting with a letter or digit.
|
|
826
|
+
* @param {boolean} [original] True to get the original upload instead of the cleaned file. A range stored through `PutNamedRangeJson` has no original.
|
|
827
|
+
* @param {*} [options] Override http request option.
|
|
828
|
+
* @throws {RequiredError}
|
|
829
|
+
*/
|
|
830
|
+
tariffServiceGetNamedRangeFile(tariffSlug: string, name: string, fileName: string, original?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetNamedRangeFileResponse>>;
|
|
831
|
+
/**
|
|
832
|
+
* Merges, field by field, the group tariff version\'s billing override, the tariff version\'s billing asset and the platform default, and returns the result with the source of each section and the two asset ERNs. A pair that pins no asset answers the platform default. Nothing is written.
|
|
833
|
+
* @summary Returns the billing configuration of a policy\'s tariff version.
|
|
834
|
+
* @param {string} [tariffVersionErn] The ERN of the child tariff version. It is optional when `groupTariffVersionErn` is given: a group policy pins only the group version, and the child is the tariff version that the group version pins.
|
|
835
|
+
* @param {string} [groupTariffVersionErn] The ERN of the group tariff version whose billing configuration overrides the child\'s, field by field. Optional.
|
|
836
|
+
* @param {*} [options] Override http request option.
|
|
837
|
+
* @throws {RequiredError}
|
|
838
|
+
*/
|
|
839
|
+
tariffServiceGetResolvedBillingConfig(tariffVersionErn?: string, groupTariffVersionErn?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetResolvedBillingConfigResponse>>;
|
|
840
|
+
/**
|
|
841
|
+
* Works out the default of each contract data field, with the resolver a policy creation uses, for a policy that starts at `effectiveFrom`, with `applicationDate` and, for a field that copies from a parent, `parentPolicyCode`. A field that cannot be resolved is returned as not resolved with its reason. Nothing is written.
|
|
842
|
+
* @summary Returns the contract data a new policy on a tariff would start with.
|
|
843
|
+
* @param {string} [tariffErn] The ERN of the tariff or group tariff the policy is created on. Not read when `parentPolicyCode` is set.
|
|
844
|
+
* @param {string} [effectiveFrom] The date the policy takes effect, as an RFC 3339 full-date (`YYYY-MM-DD`). Optional; empty means the creation day, as when a policy is created.
|
|
845
|
+
* @param {string} [applicationDate] The application date, as an RFC 3339 full-date (`YYYY-MM-DD`). Optional; empty means none, as when a policy is created, and a default that counts from the application date stays unresolved.
|
|
846
|
+
* @param {string} [parentPolicyCode] For a member enrolment, the code of the group policy the member joins. When it is set, `tariffErn` is not read.
|
|
847
|
+
* @param {*} [options] Override http request option.
|
|
848
|
+
* @throws {RequiredError}
|
|
849
|
+
*/
|
|
850
|
+
tariffServiceGetResolvedContractData(tariffErn?: string, effectiveFrom?: string, applicationDate?: string, parentPolicyCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetResolvedContractDataResponse>>;
|
|
851
|
+
/**
|
|
852
|
+
* Returns the asset with the rows of each named range and each factor group read from their stored files, next to the file ERN of each. Nothing is written.
|
|
853
|
+
* @summary Returns the document with every range and factor filled in from its files.
|
|
854
|
+
* @param {string} tariffSlug The slug of the tariff that owns the core config.
|
|
855
|
+
* @param {string} name The core config\'s name, such as `insurance_core.v1`.
|
|
856
|
+
* @param {*} [options] Override http request option.
|
|
857
|
+
* @throws {RequiredError}
|
|
858
|
+
*/
|
|
859
|
+
tariffServiceGetResolvedCoreConfig(tariffSlug: string, name: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetResolvedCoreConfigResponse>>;
|
|
860
|
+
/**
|
|
861
|
+
* Merges the group tariff version\'s `tarif_deckung` asset over the tariff version\'s and returns the merged document, the source of each section, the group\'s default variation and the two asset ERNs. Nothing is written.
|
|
862
|
+
* @summary Returns the tariff variations and claims configuration of a policy\'s tariff version.
|
|
863
|
+
* @param {string} [tariffVersionErn] The ERN of the child tariff version. It is optional when `groupTariffVersionErn` is given: the child is then the tariff version that the group version pins.
|
|
864
|
+
* @param {string} [groupTariffVersionErn] The ERN of the group tariff version whose coverage document overrides the child\'s, section by section. Optional.
|
|
865
|
+
* @param {*} [options] Override http request option.
|
|
866
|
+
* @throws {RequiredError}
|
|
867
|
+
*/
|
|
868
|
+
tariffServiceGetResolvedTariffCoverage(tariffVersionErn?: string, groupTariffVersionErn?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetResolvedTariffCoverageResponse>>;
|
|
869
|
+
/**
|
|
870
|
+
* The tariff\'s `etag` goes in the `If-Match` header of `UpdateTariff` and `CreateGeneration`.
|
|
871
|
+
* @summary Returns one tariff by its slug.
|
|
872
|
+
* @param {string} slug The slug of the tariff.
|
|
873
|
+
* @param {*} [options] Override http request option.
|
|
874
|
+
* @throws {RequiredError}
|
|
875
|
+
*/
|
|
876
|
+
tariffServiceGetTariff(slug: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetTariffResponse>>;
|
|
877
|
+
/**
|
|
878
|
+
* The catalog is read for the caller\'s tenant: `lineOfInsurance` takes the keys of the standard and the added lines, with their labels, and can be filtered for `$null`. - Filter: `slug`, `name`, `createdAt`, `createdBy`, `lineOfInsurance`. - Search: over `slug` and `name`. - Sort: `slug`, `name`, `createdAt`.
|
|
879
|
+
* @summary Returns the filter catalog of the tariff list.
|
|
880
|
+
* @param {*} [options] Override http request option.
|
|
881
|
+
* @throws {RequiredError}
|
|
882
|
+
*/
|
|
883
|
+
tariffServiceGetTariffFilterCatalog(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetTariffFilterCatalogResponse>>;
|
|
884
|
+
/**
|
|
885
|
+
* `version` is a number such as `1.3`, a version ERN or, for a draft, a draft id.
|
|
886
|
+
* @summary Returns one version of a generation.
|
|
887
|
+
* @param {string} tariffSlug The slug of the tariff.
|
|
888
|
+
* @param {string} generation The name of the generation.
|
|
889
|
+
* @param {string} version The version: its number (`1.3`), its ERN or, for a draft, its draft id (`dv-...`).
|
|
890
|
+
* @param {*} [options] Override http request option.
|
|
891
|
+
* @throws {RequiredError}
|
|
892
|
+
*/
|
|
893
|
+
tariffServiceGetVersion(tariffSlug: string, generation: string, version: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetVersionResponse>>;
|
|
894
|
+
/**
|
|
895
|
+
* The list is whole, with no paging. Each item has the role\'s `code` and `name`, from the tenant\'s role catalog. When no catalog is set up, the list is empty.
|
|
896
|
+
* @summary Lists the roles an approval limit of a coverage document may name.
|
|
897
|
+
* @param {number} [pageSize]
|
|
898
|
+
* @param {string} [pageToken]
|
|
899
|
+
* @param {string} [filter]
|
|
900
|
+
* @param {string} [search]
|
|
901
|
+
* @param {string} [order]
|
|
902
|
+
* @param {string} [expand]
|
|
903
|
+
* @param {string} [filters]
|
|
904
|
+
* @param {*} [options] Override http request option.
|
|
905
|
+
* @throws {RequiredError}
|
|
906
|
+
*/
|
|
907
|
+
tariffServiceListApprovalRoles(pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListApprovalRolesResponse>>;
|
|
908
|
+
/**
|
|
909
|
+
* The list is paged and holds the assets of every tariff, ordered by tariff slug, then name. It takes no search. - Filter: `tariffSlug`, `name`, `status`, `createdAt`. - Sort: `tariffSlug`, `name`, `createdAt`.
|
|
910
|
+
* @summary Lists the configuration assets of a tariff.
|
|
911
|
+
* @param {number} [pageSize]
|
|
912
|
+
* @param {string} [pageToken]
|
|
913
|
+
* @param {string} [filter]
|
|
914
|
+
* @param {string} [search]
|
|
915
|
+
* @param {string} [order]
|
|
916
|
+
* @param {string} [expand]
|
|
917
|
+
* @param {string} [filters]
|
|
918
|
+
* @param {*} [options] Override http request option.
|
|
919
|
+
* @throws {RequiredError}
|
|
920
|
+
*/
|
|
921
|
+
tariffServiceListCoreConfigs(pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCoreConfigsResponse>>;
|
|
922
|
+
/**
|
|
923
|
+
* To list one tariff\'s generations, name the tariff in `filters`.
|
|
924
|
+
* @summary Lists the generations of a tariff, ordered by `validFrom`.
|
|
925
|
+
* @param {number} [pageSize]
|
|
926
|
+
* @param {string} [pageToken]
|
|
927
|
+
* @param {string} [filter]
|
|
928
|
+
* @param {string} [search]
|
|
929
|
+
* @param {string} [order]
|
|
930
|
+
* @param {string} [expand]
|
|
931
|
+
* @param {string} [filters]
|
|
932
|
+
* @param {*} [options] Override http request option.
|
|
933
|
+
* @throws {RequiredError}
|
|
934
|
+
*/
|
|
935
|
+
tariffServiceListGenerations(pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListGenerationsResponse>>;
|
|
936
|
+
/**
|
|
937
|
+
* The standard lines come first, in the list\'s order, then the added lines by German label. The list is paged: 20 lines by default, 100 at most. It takes no filter and no search.
|
|
938
|
+
* @summary Lists the lines of insurance a tariff can name.
|
|
939
|
+
* @param {number} [pageSize]
|
|
940
|
+
* @param {string} [pageToken]
|
|
941
|
+
* @param {string} [filter]
|
|
942
|
+
* @param {string} [search]
|
|
943
|
+
* @param {string} [order]
|
|
944
|
+
* @param {string} [expand]
|
|
945
|
+
* @param {string} [filters]
|
|
946
|
+
* @param {*} [options] Override http request option.
|
|
947
|
+
* @throws {RequiredError}
|
|
948
|
+
*/
|
|
949
|
+
tariffServiceListLinesOfInsurance(pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListLinesOfInsuranceResponse>>;
|
|
950
|
+
/**
|
|
951
|
+
* The list is whole, with no paging. Each item has the role\'s `code`, `ern`, `name`, `description` and whether it is a `system` role. They are the roles the publish gate accepts in a version\'s `partnerRoles`. The list is empty when no role catalog is set up.
|
|
952
|
+
* @summary Lists the partner roles a version\'s `partnerRoles` may name.
|
|
953
|
+
* @param {number} [pageSize]
|
|
954
|
+
* @param {string} [pageToken]
|
|
955
|
+
* @param {string} [filter]
|
|
956
|
+
* @param {string} [search]
|
|
957
|
+
* @param {string} [order]
|
|
958
|
+
* @param {string} [expand]
|
|
959
|
+
* @param {string} [filters]
|
|
960
|
+
* @param {*} [options] Override http request option.
|
|
961
|
+
* @throws {RequiredError}
|
|
962
|
+
*/
|
|
963
|
+
tariffServiceListPartnerRoles(pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPartnerRolesResponse>>;
|
|
964
|
+
/**
|
|
965
|
+
* The list is whole, with no paging. Each item has the type\'s `code`, `slug` and `name`: the types the publish gate accepts in a role\'s `partnerTypes`. The list is empty when no catalog is set up.
|
|
966
|
+
* @summary Lists the partner types a role\'s `partnerTypes` may name.
|
|
967
|
+
* @param {number} [pageSize]
|
|
968
|
+
* @param {string} [pageToken]
|
|
969
|
+
* @param {string} [filter]
|
|
970
|
+
* @param {string} [search]
|
|
971
|
+
* @param {string} [order]
|
|
972
|
+
* @param {string} [expand]
|
|
973
|
+
* @param {string} [filters]
|
|
974
|
+
* @param {*} [options] Override http request option.
|
|
975
|
+
* @throws {RequiredError}
|
|
976
|
+
*/
|
|
977
|
+
tariffServiceListPartnerTypes(pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPartnerTypesResponse>>;
|
|
978
|
+
/**
|
|
979
|
+
* The list is not cut by date. Each item is a tariff; its `match` is filled on a search and empty otherwise. - Filter: `slug`, `name`, `createdAt`, `createdBy`, `lineOfInsurance`. `lineOfInsurance` takes the keys of the standard and the added lines, can be filtered for `$null` (tariffs created before lines existed) and is not sortable. - Search: over `slug` and `name`. - Sort: `slug`, `name`, `createdAt`.
|
|
980
|
+
* @summary Lists tariffs.
|
|
981
|
+
* @param {number} [pageSize]
|
|
982
|
+
* @param {string} [pageToken]
|
|
983
|
+
* @param {string} [filter]
|
|
984
|
+
* @param {string} [search]
|
|
985
|
+
* @param {string} [order]
|
|
986
|
+
* @param {string} [expand]
|
|
987
|
+
* @param {string} [filters]
|
|
988
|
+
* @param {*} [options] Override http request option.
|
|
989
|
+
* @throws {RequiredError}
|
|
990
|
+
*/
|
|
991
|
+
tariffServiceListTariffs(pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTariffsResponse>>;
|
|
992
|
+
/**
|
|
993
|
+
* The list holds the published versions and, only when `includeDrafts` is `true`, the open and the archived drafts after them. A discarded draft is never listed. To list one generation\'s versions, name the tariff and the generation in `filters`: `tariffSlug`, `generation` and `includeDrafts`.
|
|
994
|
+
* @summary Lists the versions of a generation, oldest first.
|
|
995
|
+
* @param {number} [pageSize]
|
|
996
|
+
* @param {string} [pageToken]
|
|
997
|
+
* @param {string} [filter]
|
|
998
|
+
* @param {string} [search]
|
|
999
|
+
* @param {string} [order]
|
|
1000
|
+
* @param {string} [expand]
|
|
1001
|
+
* @param {string} [filters]
|
|
1002
|
+
* @param {*} [options] Override http request option.
|
|
1003
|
+
* @throws {RequiredError}
|
|
1004
|
+
*/
|
|
1005
|
+
tariffServiceListVersions(pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListVersionsResponse>>;
|
|
1006
|
+
/**
|
|
1007
|
+
* Runs the publish gate over the draft and, when it passes, freezes the asset as `PUBLISHED` with its digest. A published asset never changes. For `insurance_core` and `contract_data` the policy data schema is derived at this step. When the gate refuses, the call fails and carries the gate\'s report.
|
|
1008
|
+
* @summary Publishes a draft asset.
|
|
1009
|
+
* @param {string} tariffSlug The slug of the tariff.
|
|
1010
|
+
* @param {string} name The asset\'s name, `<type>.v<n>`.
|
|
1011
|
+
* @param {string} ifMatch The core config\'s `etag` as last read, sent back unchanged.
|
|
1012
|
+
* @param {object} body
|
|
1013
|
+
* @param {*} [options] Override http request option.
|
|
1014
|
+
* @throws {RequiredError}
|
|
1015
|
+
*/
|
|
1016
|
+
tariffServicePublishCoreConfig(tariffSlug: string, name: string, ifMatch: string, body: object, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PublishCoreConfigResponse>>;
|
|
1017
|
+
/**
|
|
1018
|
+
* Runs the publish gate over `manifest`. When it passes, the version is stored as a numbered, `PUBLISHED` version; with `activate` it also becomes the active version of its major. `requestMajor` asks for a new major number. When the gate refuses, nothing is stored and the call fails with the gate\'s report.
|
|
1019
|
+
* @summary Publishes a version of a generation in one step.
|
|
1020
|
+
* @param {string} tariffSlug The slug of the tariff.
|
|
1021
|
+
* @param {string} generation The name of the generation.
|
|
1022
|
+
* @param {string} ifMatch The generation\'s `etag` as last read, sent back unchanged.
|
|
1023
|
+
* @param {PublishVersionBody} body
|
|
1024
|
+
* @param {*} [options] Override http request option.
|
|
1025
|
+
* @throws {RequiredError}
|
|
1026
|
+
*/
|
|
1027
|
+
tariffServicePublishVersion(tariffSlug: string, generation: string, ifMatch: string, body: PublishVersionBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PublishVersionResponse>>;
|
|
1028
|
+
/**
|
|
1029
|
+
* Merges the sections the client sends into the stored document of a draft, checks their structure against the asset\'s schema and runs the cheap cross-reference checks. The draft is saved even when the checks find problems: they are returned in `report`, because a draft may be inconsistent while its author works. Publishing is the check that must pass. A body with a section the server owns is refused.
|
|
1030
|
+
* @summary Saves the whole document of an `insurance_core` asset.
|
|
1031
|
+
* @param {string} tariffSlug The slug of the tariff that owns the core config.
|
|
1032
|
+
* @param {string} name The core config\'s name, such as `insurance_core.v1`.
|
|
1033
|
+
* @param {string} ifMatch The core config\'s `etag` as last read, sent back unchanged.
|
|
1034
|
+
* @param {PutCoreConfigDocumentBody} body
|
|
1035
|
+
* @param {*} [options] Override http request option.
|
|
1036
|
+
* @throws {RequiredError}
|
|
1037
|
+
*/
|
|
1038
|
+
tariffServicePutCoreConfigDocument(tariffSlug: string, name: string, ifMatch: string, body: PutCoreConfigDocumentBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PutCoreConfigDocumentResponse>>;
|
|
1039
|
+
/**
|
|
1040
|
+
* TODO: not available yet, the call answers Unimplemented. Remove this line when the call is built.
|
|
1041
|
+
* @summary Replaces the factors of a group with the content of a file.
|
|
1042
|
+
* @param {string} tariffSlug The slug of the tariff that owns the core config.
|
|
1043
|
+
* @param {string} name The core config\'s name, such as `insurance_core.v1`.
|
|
1044
|
+
* @param {string} group The factor\'s group: 1 to 64 lowercase letters, digits, `.`, `_` or `-`, starting with a letter or digit.
|
|
1045
|
+
* @param {string} ifMatch The core config\'s `etag` as last read (`coreConfigEtag` on a named range or factor read), sent back unchanged: every write to its named ranges and factors changes the core config.
|
|
1046
|
+
* @param {PutFactorFileBody} body
|
|
1047
|
+
* @param {*} [options] Override http request option.
|
|
1048
|
+
* @throws {RequiredError}
|
|
1049
|
+
*/
|
|
1050
|
+
tariffServicePutFactorFile(tariffSlug: string, name: string, group: string, ifMatch: string, body: PutFactorFileBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PutFactorFileResponse>>;
|
|
1051
|
+
/**
|
|
1052
|
+
* Runs the upload analysis again over the uploaded object, derives the `namedRanges` headers the file accounts for and stores the cleaned file and its original. Send the `analysisDigest` of the analysis the file passed. Answers the core config and the stored file.
|
|
1053
|
+
* @summary Replaces a named range with the content of a file.
|
|
1054
|
+
* @param {string} tariffSlug The slug of the tariff that owns the core config.
|
|
1055
|
+
* @param {string} name The core config\'s name, such as `insurance_core.v1`.
|
|
1056
|
+
* @param {string} fileName The lookup file\'s name within the core config: 1 to 64 lowercase letters, digits, `.`, `_` or `-`, starting with a letter or digit.
|
|
1057
|
+
* @param {string} ifMatch The core config\'s `etag` as last read (`coreConfigEtag` on a named range or factor read), sent back unchanged: every write to its named ranges and factors changes the core config.
|
|
1058
|
+
* @param {PutNamedRangeFileBody} body
|
|
1059
|
+
* @param {*} [options] Override http request option.
|
|
1060
|
+
* @throws {RequiredError}
|
|
1061
|
+
*/
|
|
1062
|
+
tariffServicePutNamedRangeFile(tariffSlug: string, name: string, fileName: string, ifMatch: string, body: PutNamedRangeFileBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PutNamedRangeFileResponse>>;
|
|
1063
|
+
/**
|
|
1064
|
+
* Stores the rows sent in `ranges` as a CSV lookup file. Nothing is analysed and no original file is kept. Answers the core config and the stored file.
|
|
1065
|
+
* @summary Replaces a named range with rows sent as JSON.
|
|
1066
|
+
* @param {string} tariffSlug The slug of the tariff that owns the core config.
|
|
1067
|
+
* @param {string} name The core config\'s name, such as `insurance_core.v1`.
|
|
1068
|
+
* @param {string} fileName The lookup file\'s name within the core config: 1 to 64 lowercase letters, digits, `.`, `_` or `-`, starting with a letter or digit.
|
|
1069
|
+
* @param {string} ifMatch The core config\'s `etag` as last read (`coreConfigEtag` on a named range or factor read), sent back unchanged: every write to its named ranges and factors changes the core config.
|
|
1070
|
+
* @param {PutNamedRangeJsonBody} body
|
|
1071
|
+
* @param {*} [options] Override http request option.
|
|
1072
|
+
* @throws {RequiredError}
|
|
1073
|
+
*/
|
|
1074
|
+
tariffServicePutNamedRangeJson(tariffSlug: string, name: string, fileName: string, ifMatch: string, body: PutNamedRangeJsonBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PutNamedRangeJsonResponse>>;
|
|
1075
|
+
/**
|
|
1076
|
+
* A major can have only one active version. The version must be published and belong to this generation.
|
|
1077
|
+
* @summary Makes a published version the active one of its major.
|
|
1078
|
+
* @param {string} tariffSlug The slug of the tariff.
|
|
1079
|
+
* @param {string} generation The name of the generation.
|
|
1080
|
+
* @param {string} ifMatch The generation\'s `etag` as last read, sent back unchanged.
|
|
1081
|
+
* @param {SetActiveVersionBody} body
|
|
1082
|
+
* @param {*} [options] Override http request option.
|
|
1083
|
+
* @throws {RequiredError}
|
|
1084
|
+
*/
|
|
1085
|
+
tariffServiceSetActiveVersion(tariffSlug: string, generation: string, ifMatch: string, body: SetActiveVersionBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SetActiveVersionResponse>>;
|
|
1086
|
+
/**
|
|
1087
|
+
* The allowed moves are: - `DRAFT` to `RETIRED`: archives the draft. - `DRAFT` to `DISCARDED`: gives the draft up. - `PUBLISHED` to `ACTIVE`: makes it the active version of its major; a major can have only one active version. - `ACTIVE` to `PUBLISHED`: takes it off sale. - `PUBLISHED` or `ACTIVE` to `RETIRED`: forbids new pins of the version. Any other move is not allowed. A policy already in force never moves to another version.
|
|
1088
|
+
* @summary Moves a version to another lifecycle status.
|
|
1089
|
+
* @param {string} tariffSlug The slug of the tariff.
|
|
1090
|
+
* @param {string} generation The name of the generation.
|
|
1091
|
+
* @param {string} version The version: its number (`1.2`), its ERN or a draft id (`dv-...`).
|
|
1092
|
+
* @param {string} ifMatch The draft\'s `etag` when the version is a draft, otherwise its generation\'s `etag`, as last read and sent back unchanged.
|
|
1093
|
+
* @param {SetVersionStatusBody} body
|
|
1094
|
+
* @param {*} [options] Override http request option.
|
|
1095
|
+
* @throws {RequiredError}
|
|
1096
|
+
*/
|
|
1097
|
+
tariffServiceSetVersionStatus(tariffSlug: string, generation: string, version: string, ifMatch: string, body: SetVersionStatusBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SetVersionStatusResponse>>;
|
|
1098
|
+
/**
|
|
1099
|
+
* Only a draft can be rewritten. The call replaces the whole `config` document and runs no gate: the checks run when the asset is published. An `insurance_core` asset is refused, because its document has sections the server owns: save it with `PutCoreConfigDocument`.
|
|
1100
|
+
* @summary Rewrites the configuration of a draft asset.
|
|
1101
|
+
* @param {string} tariffSlug The slug of the tariff.
|
|
1102
|
+
* @param {string} name The asset\'s name, `<type>.v<n>`.
|
|
1103
|
+
* @param {string} ifMatch The core config\'s `etag` as last read, sent back unchanged.
|
|
1104
|
+
* @param {UpdateCoreConfigBody} body
|
|
1105
|
+
* @param {*} [options] Override http request option.
|
|
1106
|
+
* @throws {RequiredError}
|
|
1107
|
+
*/
|
|
1108
|
+
tariffServiceUpdateCoreConfig(tariffSlug: string, name: string, ifMatch: string, body: UpdateCoreConfigBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateCoreConfigResponse>>;
|
|
1109
|
+
/**
|
|
1110
|
+
* The start date can be changed only while the generation has no numbered version (published, active or archived). The name never changes.
|
|
1111
|
+
* @summary Changes a generation\'s title or start date.
|
|
1112
|
+
* @param {string} tariffSlug The slug of the tariff.
|
|
1113
|
+
* @param {string} generation The name of the generation.
|
|
1114
|
+
* @param {string} ifMatch The generation\'s `etag` as last read, sent back unchanged.
|
|
1115
|
+
* @param {UpdateGenerationBody} body
|
|
1116
|
+
* @param {*} [options] Override http request option.
|
|
1117
|
+
* @throws {RequiredError}
|
|
1118
|
+
*/
|
|
1119
|
+
tariffServiceUpdateGeneration(tariffSlug: string, generation: string, ifMatch: string, body: UpdateGenerationBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateGenerationResponse>>;
|
|
1120
|
+
/**
|
|
1121
|
+
* The slug, the ERN (EIS Resource Name) and `claimsEnabled` never change. Set at least one of `name`, `description` and `lineOfInsurance`.
|
|
1122
|
+
* @summary Changes a tariff\'s name, description or line of insurance.
|
|
1123
|
+
* @param {string} slug The slug of the tariff.
|
|
1124
|
+
* @param {string} ifMatch The tariff\'s `etag` as last read, sent back unchanged.
|
|
1125
|
+
* @param {UpdateTariffBody} body
|
|
1126
|
+
* @param {*} [options] Override http request option.
|
|
1127
|
+
* @throws {RequiredError}
|
|
1128
|
+
*/
|
|
1129
|
+
tariffServiceUpdateTariff(slug: string, ifMatch: string, body: UpdateTariffBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateTariffResponse>>;
|
|
1130
|
+
/**
|
|
1131
|
+
* Only an open draft can be rewritten. The response lists the contract issues found in the new manifest.
|
|
1132
|
+
* @summary Rewrites the manifest of a draft version.
|
|
1133
|
+
* @param {string} tariffSlug The slug of the tariff.
|
|
1134
|
+
* @param {string} generation The name of the generation.
|
|
1135
|
+
* @param {string} version The draft id (`dv-...`) or the draft\'s ERN.
|
|
1136
|
+
* @param {string} ifMatch The draft\'s `etag` as last read, sent back unchanged.
|
|
1137
|
+
* @param {UpdateVersionBody} body
|
|
1138
|
+
* @param {*} [options] Override http request option.
|
|
1139
|
+
* @throws {RequiredError}
|
|
1140
|
+
*/
|
|
1141
|
+
tariffServiceUpdateVersion(tariffSlug: string, generation: string, version: string, ifMatch: string, body: UpdateVersionBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateVersionResponse>>;
|
|
1142
|
+
/**
|
|
1143
|
+
* Runs the publish gate over the asset and writes nothing. A document the gate would refuse is an answer, not an error: the report says why.
|
|
1144
|
+
* @summary Checks an asset against the full publish gate without writing anything.
|
|
1145
|
+
* @param {string} tariffSlug The slug of the tariff that owns the core config.
|
|
1146
|
+
* @param {string} name The asset\'s name: an `insurance_core`, `lead_lifecycle`, `billing_config`, `contract_data` or `tarif_deckung` asset, such as `insurance_core.v1`.
|
|
1147
|
+
* @param {object} body
|
|
1148
|
+
* @param {*} [options] Override http request option.
|
|
1149
|
+
* @throws {RequiredError}
|
|
1150
|
+
*/
|
|
1151
|
+
tariffServiceValidateCoreConfig(tariffSlug: string, name: string, body: object, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ValidateCoreConfigResponse>>;
|
|
1152
|
+
/**
|
|
1153
|
+
* Checks `expression` against the stored document of the asset and writes nothing. `context` says what the expression is for: a premium item (the default) or a field, with an optional `order` and `object`. Each problem has a code, a message, and the position and length of the faulty part.
|
|
1154
|
+
* @summary Checks one expression against the stored document.
|
|
1155
|
+
* @param {string} tariffSlug The slug of the tariff that owns the core config.
|
|
1156
|
+
* @param {string} name The core config\'s name, such as `insurance_core.v1`.
|
|
1157
|
+
* @param {ValidateCoreConfigExpressionBody} body
|
|
1158
|
+
* @param {*} [options] Override http request option.
|
|
1159
|
+
* @throws {RequiredError}
|
|
1160
|
+
*/
|
|
1161
|
+
tariffServiceValidateCoreConfigExpression(tariffSlug: string, name: string, body: ValidateCoreConfigExpressionBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ValidateCoreConfigExpressionResponse>>;
|
|
1162
|
+
/**
|
|
1163
|
+
* Runs the publish gate over `manifest` and writes nothing. A manifest the gate refuses is an answer, not an error: the report in the response says why.
|
|
1164
|
+
* @summary Runs the publish gate on a manifest without writing anything.
|
|
1165
|
+
* @param {string} tariffSlug The slug of the tariff.
|
|
1166
|
+
* @param {string} generation The name of the generation.
|
|
1167
|
+
* @param {ValidateVersionBody} body
|
|
1168
|
+
* @param {*} [options] Override http request option.
|
|
1169
|
+
* @throws {RequiredError}
|
|
1170
|
+
*/
|
|
1171
|
+
tariffServiceValidateVersion(tariffSlug: string, generation: string, body: ValidateVersionBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ValidateVersionResponse>>;
|
|
1172
|
+
};
|
|
1173
|
+
/**
|
|
1174
|
+
* TariffsApi - factory interface
|
|
1175
|
+
* @export
|
|
1176
|
+
*/
|
|
1177
|
+
export declare const TariffsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
1178
|
+
/**
|
|
1179
|
+
* Reads an uploaded file and returns what storing it would do: the detected file type, encoding, separator and header rows, the cleaning applied, warnings, findings per row, a preview and the row count. Nothing is stored. Send the returned `analysisDigest` when the upload is confirmed.
|
|
1180
|
+
* @summary Analyses a factor or lookup file without storing anything.
|
|
1181
|
+
* @param {string} tariffSlug The slug of the tariff that owns the core config.
|
|
1182
|
+
* @param {string} name The core config\'s name, such as `insurance_core.v1`.
|
|
1183
|
+
* @param {AnalyzeConfigFileBody} body
|
|
1184
|
+
* @param {*} [options] Override http request option.
|
|
1185
|
+
* @throws {RequiredError}
|
|
1186
|
+
*/
|
|
1187
|
+
tariffServiceAnalyzeConfigFile(tariffSlug: string, name: string, body: AnalyzeConfigFileBody, options?: any): AxiosPromise<AnalyzeConfigFileResponse>;
|
|
1188
|
+
/**
|
|
1189
|
+
* Answers a link and a `fileKey`: upload the file to the link before `expiresAt`, then analyse it with `AnalyzeConfigFile` and store it with `PutNamedRangeFile`. The asset must be a draft.
|
|
1190
|
+
* @summary Starts the upload of a factor or lookup file.
|
|
1191
|
+
* @param {string} tariffSlug The slug of the tariff that owns the core config.
|
|
1192
|
+
* @param {string} name The core config\'s name, such as `insurance_core.v1`.
|
|
1193
|
+
* @param {CreateConfigFileUploadBody} body
|
|
1194
|
+
* @param {*} [options] Override http request option.
|
|
1195
|
+
* @throws {RequiredError}
|
|
1196
|
+
*/
|
|
1197
|
+
tariffServiceCreateConfigFileUpload(tariffSlug: string, name: string, body: CreateConfigFileUploadBody, options?: any): AxiosPromise<CreateConfigFileUploadResponse>;
|
|
1198
|
+
/**
|
|
1199
|
+
* The asset is stored as a `DRAFT` named `<type>.vN`. `config` is its document and may be left out; `basedOnName` names an asset to copy it from and `generation` the generation it belongs to.
|
|
1200
|
+
* @summary Creates a draft configuration asset of a tariff.
|
|
1201
|
+
* @param {string} tariffSlug The slug of the tariff.
|
|
1202
|
+
* @param {CreateCoreConfigBody} body
|
|
1203
|
+
* @param {*} [options] Override http request option.
|
|
1204
|
+
* @throws {RequiredError}
|
|
1205
|
+
*/
|
|
1206
|
+
tariffServiceCreateCoreConfig(tariffSlug: string, body: CreateCoreConfigBody, options?: any): AxiosPromise<CreateCoreConfigResponse>;
|
|
1207
|
+
/**
|
|
1208
|
+
* A generation is a period of the tariff that starts on `validFrom`. The call also creates the generation\'s first draft version, which is returned next to it. The draft is copied from `basedOn`; the tariff\'s first generation starts with an empty draft.
|
|
1209
|
+
* @summary Creates a generation of a tariff.
|
|
1210
|
+
* @param {string} tariffSlug The slug of the tariff.
|
|
1211
|
+
* @param {string} ifMatch The tariff\'s `etag` as last read, sent back unchanged: adding a generation changes the tariff.
|
|
1212
|
+
* @param {CreateGenerationBody} body
|
|
1213
|
+
* @param {*} [options] Override http request option.
|
|
1214
|
+
* @throws {RequiredError}
|
|
1215
|
+
*/
|
|
1216
|
+
tariffServiceCreateGeneration(tariffSlug: string, ifMatch: string, body: CreateGenerationBody, options?: any): AxiosPromise<CreateGenerationResponse>;
|
|
1217
|
+
/**
|
|
1218
|
+
* A key or label already used by a standard or added line is not allowed; labels are compared ignoring case.
|
|
1219
|
+
* @summary Adds a line of insurance next to the standard lines.
|
|
1220
|
+
* @param {CreateLineOfInsuranceRequest} body The request of `CreateLineOfInsurance`.
|
|
1221
|
+
* @param {*} [options] Override http request option.
|
|
1222
|
+
* @throws {RequiredError}
|
|
1223
|
+
*/
|
|
1224
|
+
tariffServiceCreateLineOfInsurance(body: CreateLineOfInsuranceRequest, options?: any): AxiosPromise<CreateLineOfInsuranceResponse>;
|
|
1225
|
+
/**
|
|
1226
|
+
* The slug must be new. `lineOfInsurance` is required and must be a key from `ListLinesOfInsurance`. `claimsEnabled` is fixed at creation. Create a generation next with `CreateGeneration`.
|
|
1227
|
+
* @summary Creates a tariff.
|
|
1228
|
+
* @param {CreateTariffRequest} body The request of `CreateTariff`.
|
|
1229
|
+
* @param {*} [options] Override http request option.
|
|
1230
|
+
* @throws {RequiredError}
|
|
1231
|
+
*/
|
|
1232
|
+
tariffServiceCreateTariff(body: CreateTariffRequest, options?: any): AxiosPromise<CreateTariffResponse>;
|
|
1233
|
+
/**
|
|
1234
|
+
* The draft starts from `manifest`, or from the version `basedOnErn` names. It is stored even when the manifest has problems: they are listed in `validationIssues`, and the publish gate decides later.
|
|
1235
|
+
* @summary Creates a draft version.
|
|
1236
|
+
* @param {string} tariffSlug The slug of the tariff.
|
|
1237
|
+
* @param {string} generation The name of the generation.
|
|
1238
|
+
* @param {CreateVersionBody} body
|
|
1239
|
+
* @param {*} [options] Override http request option.
|
|
1240
|
+
* @throws {RequiredError}
|
|
1241
|
+
*/
|
|
1242
|
+
tariffServiceCreateVersion(tariffSlug: string, generation: string, body: CreateVersionBody, options?: any): AxiosPromise<CreateVersionResponse>;
|
|
1243
|
+
/**
|
|
1244
|
+
* Removes the stored factor file and updates the core config.
|
|
1245
|
+
* @summary Deletes the factors of a group.
|
|
1246
|
+
* @param {string} tariffSlug The slug of the tariff that owns the core config.
|
|
1247
|
+
* @param {string} name The core config\'s name, such as `insurance_core.v1`.
|
|
1248
|
+
* @param {string} group The factor\'s group: 1 to 64 lowercase letters, digits, `.`, `_` or `-`, starting with a letter or digit.
|
|
1249
|
+
* @param {string} ifMatch The core config\'s `etag` as last read (`coreConfigEtag` on a named range or factor read), sent back unchanged: every write to its named ranges and factors changes the core config.
|
|
1250
|
+
* @param {*} [options] Override http request option.
|
|
1251
|
+
* @throws {RequiredError}
|
|
1252
|
+
*/
|
|
1253
|
+
tariffServiceDeleteFactor(tariffSlug: string, name: string, group: string, ifMatch: string, options?: any): AxiosPromise<DeleteFactorResponse>;
|
|
1254
|
+
/**
|
|
1255
|
+
* Removes the stored lookup file and updates the core config.
|
|
1256
|
+
* @summary Deletes the file of a named range.
|
|
1257
|
+
* @param {string} tariffSlug The slug of the tariff that owns the core config.
|
|
1258
|
+
* @param {string} name The core config\'s name, such as `insurance_core.v1`.
|
|
1259
|
+
* @param {string} fileName The lookup file\'s name within the core config: 1 to 64 lowercase letters, digits, `.`, `_` or `-`, starting with a letter or digit.
|
|
1260
|
+
* @param {string} ifMatch The core config\'s `etag` as last read (`coreConfigEtag` on a named range or factor read), sent back unchanged: every write to its named ranges and factors changes the core config.
|
|
1261
|
+
* @param {*} [options] Override http request option.
|
|
1262
|
+
* @throws {RequiredError}
|
|
1263
|
+
*/
|
|
1264
|
+
tariffServiceDeleteNamedRangeFile(tariffSlug: string, name: string, fileName: string, ifMatch: string, options?: any): AxiosPromise<DeleteNamedRangeFileResponse>;
|
|
1265
|
+
/**
|
|
1266
|
+
* The draft becomes `DISCARDED`. It is kept and can no longer change.
|
|
1267
|
+
* @summary Gives up a draft asset.
|
|
1268
|
+
* @param {string} tariffSlug The slug of the tariff that owns the core config.
|
|
1269
|
+
* @param {string} name The core config\'s name, such as `insurance_core.v1`.
|
|
1270
|
+
* @param {string} ifMatch The core config\'s `etag` as last read, sent back unchanged.
|
|
1271
|
+
* @param {object} body
|
|
1272
|
+
* @param {*} [options] Override http request option.
|
|
1273
|
+
* @throws {RequiredError}
|
|
1274
|
+
*/
|
|
1275
|
+
tariffServiceDiscardCoreConfig(tariffSlug: string, name: string, ifMatch: string, body: object, options?: any): AxiosPromise<DiscardCoreConfigResponse>;
|
|
1276
|
+
/**
|
|
1277
|
+
* The draft becomes `DISCARDED`. It is not deleted: it stays and cannot change.
|
|
1278
|
+
* @summary Gives up a draft version.
|
|
1279
|
+
* @param {string} tariffSlug The slug of the tariff.
|
|
1280
|
+
* @param {string} generation The name of the generation.
|
|
1281
|
+
* @param {string} version The draft id (`dv-...`) or the draft\'s ERN.
|
|
1282
|
+
* @param {string} ifMatch The draft\'s `etag` as last read, sent back unchanged.
|
|
1283
|
+
* @param {object} body
|
|
1284
|
+
* @param {*} [options] Override http request option.
|
|
1285
|
+
* @throws {RequiredError}
|
|
1286
|
+
*/
|
|
1287
|
+
tariffServiceDiscardVersion(tariffSlug: string, generation: string, version: string, ifMatch: string, body: object, options?: any): AxiosPromise<DiscardVersionResponse>;
|
|
1288
|
+
/**
|
|
1289
|
+
* The asset is found by the tariff\'s slug and the asset\'s name, such as `insurance_core.v1`.
|
|
1290
|
+
* @summary Returns one configuration asset of a tariff.
|
|
1291
|
+
* @param {string} tariffSlug The slug of the tariff.
|
|
1292
|
+
* @param {string} name The asset\'s name, `<type>.v<n>`.
|
|
1293
|
+
* @param {*} [options] Override http request option.
|
|
1294
|
+
* @throws {RequiredError}
|
|
1295
|
+
*/
|
|
1296
|
+
tariffServiceGetCoreConfig(tariffSlug: string, name: string, options?: any): AxiosPromise<GetCoreConfigResponse>;
|
|
1297
|
+
/**
|
|
1298
|
+
* Returns the schema that was derived when the asset was published. A draft or a discarded asset has none.
|
|
1299
|
+
* @summary Returns the policy data schema of a published `insurance_core` or `contract_data` asset.
|
|
1300
|
+
* @param {string} tariffSlug The slug of the tariff that owns the core config.
|
|
1301
|
+
* @param {string} name The core config\'s name, such as `insurance_core.v1`.
|
|
1302
|
+
* @param {*} [options] Override http request option.
|
|
1303
|
+
* @throws {RequiredError}
|
|
1304
|
+
*/
|
|
1305
|
+
tariffServiceGetCoreConfigPolicyDataSchema(tariffSlug: string, name: string, options?: any): AxiosPromise<GetCoreConfigPolicyDataSchemaResponse>;
|
|
1306
|
+
/**
|
|
1307
|
+
* The same schema applies to every tariff. It needs no asset.
|
|
1308
|
+
* @summary Returns the schema that `insurance_core` documents are validated against.
|
|
1309
|
+
* @param {*} [options] Override http request option.
|
|
1310
|
+
* @throws {RequiredError}
|
|
1311
|
+
*/
|
|
1312
|
+
tariffServiceGetCoreConfigSchema(options?: any): AxiosPromise<GetCoreConfigSchemaResponse>;
|
|
1313
|
+
/**
|
|
1314
|
+
* Compares the version `version` with `againstVersion`, or with its baseline when `againstVersion` is empty. The response lists the premium change of each rating case and the changed references of the manifest, each marked added, removed or changed.
|
|
1315
|
+
* @summary Returns what a version changed against another version.
|
|
1316
|
+
* @param {string} tariffSlug The slug of the tariff.
|
|
1317
|
+
* @param {string} generation The name of the generation.
|
|
1318
|
+
* @param {string} version The version whose changes are shown: its number or ERN.
|
|
1319
|
+
* @param {string} [againstVersion] The ERN of the version to compare with. Defaults to the version this one is based on; with another version, the premium changes are left out.
|
|
1320
|
+
* @param {*} [options] Override http request option.
|
|
1321
|
+
* @throws {RequiredError}
|
|
1322
|
+
*/
|
|
1323
|
+
tariffServiceGetDiff(tariffSlug: string, generation: string, version: string, againstVersion?: string, options?: any): AxiosPromise<GetDiffResponse>;
|
|
1324
|
+
/**
|
|
1325
|
+
* Returns the rows of one factor group: each row has a `name`, a `key` and a `value`. `coreConfigEtag` is the tag the write calls send in `If-Match`.
|
|
1326
|
+
* @summary Returns the factors of a group with their rows.
|
|
1327
|
+
* @param {string} tariffSlug The slug of the tariff that owns the core config.
|
|
1328
|
+
* @param {string} name The core config\'s name, such as `insurance_core.v1`.
|
|
1329
|
+
* @param {string} group The factor\'s group: 1 to 64 lowercase letters, digits, `.`, `_` or `-`, starting with a letter or digit.
|
|
1330
|
+
* @param {*} [options] Override http request option.
|
|
1331
|
+
* @throws {RequiredError}
|
|
1332
|
+
*/
|
|
1333
|
+
tariffServiceGetFactor(tariffSlug: string, name: string, group: string, options?: any): AxiosPromise<GetFactorResponse>;
|
|
1334
|
+
/**
|
|
1335
|
+
* Answers a link to download the stored file of the factor group, unchanged.
|
|
1336
|
+
* @summary Returns the stored file of a factor group.
|
|
1337
|
+
* @param {string} tariffSlug The slug of the tariff that owns the core config.
|
|
1338
|
+
* @param {string} name The core config\'s name, such as `insurance_core.v1`.
|
|
1339
|
+
* @param {string} group The factor\'s group: 1 to 64 lowercase letters, digits, `.`, `_` or `-`, starting with a letter or digit.
|
|
1340
|
+
* @param {boolean} [original] True to get the original upload instead of the cleaned file.
|
|
1341
|
+
* @param {*} [options] Override http request option.
|
|
1342
|
+
* @throws {RequiredError}
|
|
1343
|
+
*/
|
|
1344
|
+
tariffServiceGetFactorFile(tariffSlug: string, name: string, group: string, original?: boolean, options?: any): AxiosPromise<GetFactorFileResponse>;
|
|
1345
|
+
/**
|
|
1346
|
+
* The generation\'s `etag` goes in the `If-Match` header of a publish or an activation.
|
|
1347
|
+
* @summary Returns one generation of a tariff.
|
|
1348
|
+
* @param {string} tariffSlug The slug of the tariff.
|
|
1349
|
+
* @param {string} generation The name of the generation.
|
|
1350
|
+
* @param {*} [options] Override http request option.
|
|
1351
|
+
* @throws {RequiredError}
|
|
1352
|
+
*/
|
|
1353
|
+
tariffServiceGetGeneration(tariffSlug: string, generation: string, options?: any): AxiosPromise<GetGenerationResponse>;
|
|
1354
|
+
/**
|
|
1355
|
+
* Returns the rows of one range: each row has a `key` and a `label`. `coreConfigEtag` is the tag the write calls send in `If-Match`.
|
|
1356
|
+
* @summary Returns a named range with its rows.
|
|
1357
|
+
* @param {string} tariffSlug The slug of the tariff that owns the core config.
|
|
1358
|
+
* @param {string} name The core config\'s name, such as `insurance_core.v1`.
|
|
1359
|
+
* @param {string} code The range\'s code.
|
|
1360
|
+
* @param {*} [options] Override http request option.
|
|
1361
|
+
* @throws {RequiredError}
|
|
1362
|
+
*/
|
|
1363
|
+
tariffServiceGetNamedRange(tariffSlug: string, name: string, code: string, options?: any): AxiosPromise<GetNamedRangeResponse>;
|
|
1364
|
+
/**
|
|
1365
|
+
* Answers a link to download the stored bytes, unchanged, with their content type.
|
|
1366
|
+
* @summary Returns the stored file of a named range.
|
|
1367
|
+
* @param {string} tariffSlug The slug of the tariff that owns the core config.
|
|
1368
|
+
* @param {string} name The core config\'s name, such as `insurance_core.v1`.
|
|
1369
|
+
* @param {string} fileName The lookup file\'s name within the core config: 1 to 64 lowercase letters, digits, `.`, `_` or `-`, starting with a letter or digit.
|
|
1370
|
+
* @param {boolean} [original] True to get the original upload instead of the cleaned file. A range stored through `PutNamedRangeJson` has no original.
|
|
1371
|
+
* @param {*} [options] Override http request option.
|
|
1372
|
+
* @throws {RequiredError}
|
|
1373
|
+
*/
|
|
1374
|
+
tariffServiceGetNamedRangeFile(tariffSlug: string, name: string, fileName: string, original?: boolean, options?: any): AxiosPromise<GetNamedRangeFileResponse>;
|
|
1375
|
+
/**
|
|
1376
|
+
* Merges, field by field, the group tariff version\'s billing override, the tariff version\'s billing asset and the platform default, and returns the result with the source of each section and the two asset ERNs. A pair that pins no asset answers the platform default. Nothing is written.
|
|
1377
|
+
* @summary Returns the billing configuration of a policy\'s tariff version.
|
|
1378
|
+
* @param {string} [tariffVersionErn] The ERN of the child tariff version. It is optional when `groupTariffVersionErn` is given: a group policy pins only the group version, and the child is the tariff version that the group version pins.
|
|
1379
|
+
* @param {string} [groupTariffVersionErn] The ERN of the group tariff version whose billing configuration overrides the child\'s, field by field. Optional.
|
|
1380
|
+
* @param {*} [options] Override http request option.
|
|
1381
|
+
* @throws {RequiredError}
|
|
1382
|
+
*/
|
|
1383
|
+
tariffServiceGetResolvedBillingConfig(tariffVersionErn?: string, groupTariffVersionErn?: string, options?: any): AxiosPromise<GetResolvedBillingConfigResponse>;
|
|
1384
|
+
/**
|
|
1385
|
+
* Works out the default of each contract data field, with the resolver a policy creation uses, for a policy that starts at `effectiveFrom`, with `applicationDate` and, for a field that copies from a parent, `parentPolicyCode`. A field that cannot be resolved is returned as not resolved with its reason. Nothing is written.
|
|
1386
|
+
* @summary Returns the contract data a new policy on a tariff would start with.
|
|
1387
|
+
* @param {string} [tariffErn] The ERN of the tariff or group tariff the policy is created on. Not read when `parentPolicyCode` is set.
|
|
1388
|
+
* @param {string} [effectiveFrom] The date the policy takes effect, as an RFC 3339 full-date (`YYYY-MM-DD`). Optional; empty means the creation day, as when a policy is created.
|
|
1389
|
+
* @param {string} [applicationDate] The application date, as an RFC 3339 full-date (`YYYY-MM-DD`). Optional; empty means none, as when a policy is created, and a default that counts from the application date stays unresolved.
|
|
1390
|
+
* @param {string} [parentPolicyCode] For a member enrolment, the code of the group policy the member joins. When it is set, `tariffErn` is not read.
|
|
1391
|
+
* @param {*} [options] Override http request option.
|
|
1392
|
+
* @throws {RequiredError}
|
|
1393
|
+
*/
|
|
1394
|
+
tariffServiceGetResolvedContractData(tariffErn?: string, effectiveFrom?: string, applicationDate?: string, parentPolicyCode?: string, options?: any): AxiosPromise<GetResolvedContractDataResponse>;
|
|
1395
|
+
/**
|
|
1396
|
+
* Returns the asset with the rows of each named range and each factor group read from their stored files, next to the file ERN of each. Nothing is written.
|
|
1397
|
+
* @summary Returns the document with every range and factor filled in from its files.
|
|
1398
|
+
* @param {string} tariffSlug The slug of the tariff that owns the core config.
|
|
1399
|
+
* @param {string} name The core config\'s name, such as `insurance_core.v1`.
|
|
1400
|
+
* @param {*} [options] Override http request option.
|
|
1401
|
+
* @throws {RequiredError}
|
|
1402
|
+
*/
|
|
1403
|
+
tariffServiceGetResolvedCoreConfig(tariffSlug: string, name: string, options?: any): AxiosPromise<GetResolvedCoreConfigResponse>;
|
|
1404
|
+
/**
|
|
1405
|
+
* Merges the group tariff version\'s `tarif_deckung` asset over the tariff version\'s and returns the merged document, the source of each section, the group\'s default variation and the two asset ERNs. Nothing is written.
|
|
1406
|
+
* @summary Returns the tariff variations and claims configuration of a policy\'s tariff version.
|
|
1407
|
+
* @param {string} [tariffVersionErn] The ERN of the child tariff version. It is optional when `groupTariffVersionErn` is given: the child is then the tariff version that the group version pins.
|
|
1408
|
+
* @param {string} [groupTariffVersionErn] The ERN of the group tariff version whose coverage document overrides the child\'s, section by section. Optional.
|
|
1409
|
+
* @param {*} [options] Override http request option.
|
|
1410
|
+
* @throws {RequiredError}
|
|
1411
|
+
*/
|
|
1412
|
+
tariffServiceGetResolvedTariffCoverage(tariffVersionErn?: string, groupTariffVersionErn?: string, options?: any): AxiosPromise<GetResolvedTariffCoverageResponse>;
|
|
1413
|
+
/**
|
|
1414
|
+
* The tariff\'s `etag` goes in the `If-Match` header of `UpdateTariff` and `CreateGeneration`.
|
|
1415
|
+
* @summary Returns one tariff by its slug.
|
|
1416
|
+
* @param {string} slug The slug of the tariff.
|
|
1417
|
+
* @param {*} [options] Override http request option.
|
|
1418
|
+
* @throws {RequiredError}
|
|
1419
|
+
*/
|
|
1420
|
+
tariffServiceGetTariff(slug: string, options?: any): AxiosPromise<GetTariffResponse>;
|
|
1421
|
+
/**
|
|
1422
|
+
* The catalog is read for the caller\'s tenant: `lineOfInsurance` takes the keys of the standard and the added lines, with their labels, and can be filtered for `$null`. - Filter: `slug`, `name`, `createdAt`, `createdBy`, `lineOfInsurance`. - Search: over `slug` and `name`. - Sort: `slug`, `name`, `createdAt`.
|
|
1423
|
+
* @summary Returns the filter catalog of the tariff list.
|
|
1424
|
+
* @param {*} [options] Override http request option.
|
|
1425
|
+
* @throws {RequiredError}
|
|
1426
|
+
*/
|
|
1427
|
+
tariffServiceGetTariffFilterCatalog(options?: any): AxiosPromise<GetTariffFilterCatalogResponse>;
|
|
1428
|
+
/**
|
|
1429
|
+
* `version` is a number such as `1.3`, a version ERN or, for a draft, a draft id.
|
|
1430
|
+
* @summary Returns one version of a generation.
|
|
1431
|
+
* @param {string} tariffSlug The slug of the tariff.
|
|
1432
|
+
* @param {string} generation The name of the generation.
|
|
1433
|
+
* @param {string} version The version: its number (`1.3`), its ERN or, for a draft, its draft id (`dv-...`).
|
|
1434
|
+
* @param {*} [options] Override http request option.
|
|
1435
|
+
* @throws {RequiredError}
|
|
1436
|
+
*/
|
|
1437
|
+
tariffServiceGetVersion(tariffSlug: string, generation: string, version: string, options?: any): AxiosPromise<GetVersionResponse>;
|
|
1438
|
+
/**
|
|
1439
|
+
* The list is whole, with no paging. Each item has the role\'s `code` and `name`, from the tenant\'s role catalog. When no catalog is set up, the list is empty.
|
|
1440
|
+
* @summary Lists the roles an approval limit of a coverage document may name.
|
|
1441
|
+
* @param {number} [pageSize]
|
|
1442
|
+
* @param {string} [pageToken]
|
|
1443
|
+
* @param {string} [filter]
|
|
1444
|
+
* @param {string} [search]
|
|
1445
|
+
* @param {string} [order]
|
|
1446
|
+
* @param {string} [expand]
|
|
1447
|
+
* @param {string} [filters]
|
|
1448
|
+
* @param {*} [options] Override http request option.
|
|
1449
|
+
* @throws {RequiredError}
|
|
1450
|
+
*/
|
|
1451
|
+
tariffServiceListApprovalRoles(pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListApprovalRolesResponse>;
|
|
1452
|
+
/**
|
|
1453
|
+
* The list is paged and holds the assets of every tariff, ordered by tariff slug, then name. It takes no search. - Filter: `tariffSlug`, `name`, `status`, `createdAt`. - Sort: `tariffSlug`, `name`, `createdAt`.
|
|
1454
|
+
* @summary Lists the configuration assets of a tariff.
|
|
1455
|
+
* @param {number} [pageSize]
|
|
1456
|
+
* @param {string} [pageToken]
|
|
1457
|
+
* @param {string} [filter]
|
|
1458
|
+
* @param {string} [search]
|
|
1459
|
+
* @param {string} [order]
|
|
1460
|
+
* @param {string} [expand]
|
|
1461
|
+
* @param {string} [filters]
|
|
1462
|
+
* @param {*} [options] Override http request option.
|
|
1463
|
+
* @throws {RequiredError}
|
|
1464
|
+
*/
|
|
1465
|
+
tariffServiceListCoreConfigs(pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListCoreConfigsResponse>;
|
|
1466
|
+
/**
|
|
1467
|
+
* To list one tariff\'s generations, name the tariff in `filters`.
|
|
1468
|
+
* @summary Lists the generations of a tariff, ordered by `validFrom`.
|
|
1469
|
+
* @param {number} [pageSize]
|
|
1470
|
+
* @param {string} [pageToken]
|
|
1471
|
+
* @param {string} [filter]
|
|
1472
|
+
* @param {string} [search]
|
|
1473
|
+
* @param {string} [order]
|
|
1474
|
+
* @param {string} [expand]
|
|
1475
|
+
* @param {string} [filters]
|
|
1476
|
+
* @param {*} [options] Override http request option.
|
|
1477
|
+
* @throws {RequiredError}
|
|
1478
|
+
*/
|
|
1479
|
+
tariffServiceListGenerations(pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListGenerationsResponse>;
|
|
1480
|
+
/**
|
|
1481
|
+
* The standard lines come first, in the list\'s order, then the added lines by German label. The list is paged: 20 lines by default, 100 at most. It takes no filter and no search.
|
|
1482
|
+
* @summary Lists the lines of insurance a tariff can name.
|
|
1483
|
+
* @param {number} [pageSize]
|
|
1484
|
+
* @param {string} [pageToken]
|
|
1485
|
+
* @param {string} [filter]
|
|
1486
|
+
* @param {string} [search]
|
|
1487
|
+
* @param {string} [order]
|
|
1488
|
+
* @param {string} [expand]
|
|
1489
|
+
* @param {string} [filters]
|
|
1490
|
+
* @param {*} [options] Override http request option.
|
|
1491
|
+
* @throws {RequiredError}
|
|
1492
|
+
*/
|
|
1493
|
+
tariffServiceListLinesOfInsurance(pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListLinesOfInsuranceResponse>;
|
|
1494
|
+
/**
|
|
1495
|
+
* The list is whole, with no paging. Each item has the role\'s `code`, `ern`, `name`, `description` and whether it is a `system` role. They are the roles the publish gate accepts in a version\'s `partnerRoles`. The list is empty when no role catalog is set up.
|
|
1496
|
+
* @summary Lists the partner roles a version\'s `partnerRoles` may name.
|
|
1497
|
+
* @param {number} [pageSize]
|
|
1498
|
+
* @param {string} [pageToken]
|
|
1499
|
+
* @param {string} [filter]
|
|
1500
|
+
* @param {string} [search]
|
|
1501
|
+
* @param {string} [order]
|
|
1502
|
+
* @param {string} [expand]
|
|
1503
|
+
* @param {string} [filters]
|
|
1504
|
+
* @param {*} [options] Override http request option.
|
|
1505
|
+
* @throws {RequiredError}
|
|
1506
|
+
*/
|
|
1507
|
+
tariffServiceListPartnerRoles(pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListPartnerRolesResponse>;
|
|
1508
|
+
/**
|
|
1509
|
+
* The list is whole, with no paging. Each item has the type\'s `code`, `slug` and `name`: the types the publish gate accepts in a role\'s `partnerTypes`. The list is empty when no catalog is set up.
|
|
1510
|
+
* @summary Lists the partner types a role\'s `partnerTypes` may name.
|
|
1511
|
+
* @param {number} [pageSize]
|
|
1512
|
+
* @param {string} [pageToken]
|
|
1513
|
+
* @param {string} [filter]
|
|
1514
|
+
* @param {string} [search]
|
|
1515
|
+
* @param {string} [order]
|
|
1516
|
+
* @param {string} [expand]
|
|
1517
|
+
* @param {string} [filters]
|
|
1518
|
+
* @param {*} [options] Override http request option.
|
|
1519
|
+
* @throws {RequiredError}
|
|
1520
|
+
*/
|
|
1521
|
+
tariffServiceListPartnerTypes(pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListPartnerTypesResponse>;
|
|
1522
|
+
/**
|
|
1523
|
+
* The list is not cut by date. Each item is a tariff; its `match` is filled on a search and empty otherwise. - Filter: `slug`, `name`, `createdAt`, `createdBy`, `lineOfInsurance`. `lineOfInsurance` takes the keys of the standard and the added lines, can be filtered for `$null` (tariffs created before lines existed) and is not sortable. - Search: over `slug` and `name`. - Sort: `slug`, `name`, `createdAt`.
|
|
1524
|
+
* @summary Lists tariffs.
|
|
1525
|
+
* @param {number} [pageSize]
|
|
1526
|
+
* @param {string} [pageToken]
|
|
1527
|
+
* @param {string} [filter]
|
|
1528
|
+
* @param {string} [search]
|
|
1529
|
+
* @param {string} [order]
|
|
1530
|
+
* @param {string} [expand]
|
|
1531
|
+
* @param {string} [filters]
|
|
1532
|
+
* @param {*} [options] Override http request option.
|
|
1533
|
+
* @throws {RequiredError}
|
|
1534
|
+
*/
|
|
1535
|
+
tariffServiceListTariffs(pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListTariffsResponse>;
|
|
1536
|
+
/**
|
|
1537
|
+
* The list holds the published versions and, only when `includeDrafts` is `true`, the open and the archived drafts after them. A discarded draft is never listed. To list one generation\'s versions, name the tariff and the generation in `filters`: `tariffSlug`, `generation` and `includeDrafts`.
|
|
1538
|
+
* @summary Lists the versions of a generation, oldest first.
|
|
1539
|
+
* @param {number} [pageSize]
|
|
1540
|
+
* @param {string} [pageToken]
|
|
1541
|
+
* @param {string} [filter]
|
|
1542
|
+
* @param {string} [search]
|
|
1543
|
+
* @param {string} [order]
|
|
1544
|
+
* @param {string} [expand]
|
|
1545
|
+
* @param {string} [filters]
|
|
1546
|
+
* @param {*} [options] Override http request option.
|
|
1547
|
+
* @throws {RequiredError}
|
|
1548
|
+
*/
|
|
1549
|
+
tariffServiceListVersions(pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListVersionsResponse>;
|
|
1550
|
+
/**
|
|
1551
|
+
* Runs the publish gate over the draft and, when it passes, freezes the asset as `PUBLISHED` with its digest. A published asset never changes. For `insurance_core` and `contract_data` the policy data schema is derived at this step. When the gate refuses, the call fails and carries the gate\'s report.
|
|
1552
|
+
* @summary Publishes a draft asset.
|
|
1553
|
+
* @param {string} tariffSlug The slug of the tariff.
|
|
1554
|
+
* @param {string} name The asset\'s name, `<type>.v<n>`.
|
|
1555
|
+
* @param {string} ifMatch The core config\'s `etag` as last read, sent back unchanged.
|
|
1556
|
+
* @param {object} body
|
|
1557
|
+
* @param {*} [options] Override http request option.
|
|
1558
|
+
* @throws {RequiredError}
|
|
1559
|
+
*/
|
|
1560
|
+
tariffServicePublishCoreConfig(tariffSlug: string, name: string, ifMatch: string, body: object, options?: any): AxiosPromise<PublishCoreConfigResponse>;
|
|
1561
|
+
/**
|
|
1562
|
+
* Runs the publish gate over `manifest`. When it passes, the version is stored as a numbered, `PUBLISHED` version; with `activate` it also becomes the active version of its major. `requestMajor` asks for a new major number. When the gate refuses, nothing is stored and the call fails with the gate\'s report.
|
|
1563
|
+
* @summary Publishes a version of a generation in one step.
|
|
1564
|
+
* @param {string} tariffSlug The slug of the tariff.
|
|
1565
|
+
* @param {string} generation The name of the generation.
|
|
1566
|
+
* @param {string} ifMatch The generation\'s `etag` as last read, sent back unchanged.
|
|
1567
|
+
* @param {PublishVersionBody} body
|
|
1568
|
+
* @param {*} [options] Override http request option.
|
|
1569
|
+
* @throws {RequiredError}
|
|
1570
|
+
*/
|
|
1571
|
+
tariffServicePublishVersion(tariffSlug: string, generation: string, ifMatch: string, body: PublishVersionBody, options?: any): AxiosPromise<PublishVersionResponse>;
|
|
1572
|
+
/**
|
|
1573
|
+
* Merges the sections the client sends into the stored document of a draft, checks their structure against the asset\'s schema and runs the cheap cross-reference checks. The draft is saved even when the checks find problems: they are returned in `report`, because a draft may be inconsistent while its author works. Publishing is the check that must pass. A body with a section the server owns is refused.
|
|
1574
|
+
* @summary Saves the whole document of an `insurance_core` asset.
|
|
1575
|
+
* @param {string} tariffSlug The slug of the tariff that owns the core config.
|
|
1576
|
+
* @param {string} name The core config\'s name, such as `insurance_core.v1`.
|
|
1577
|
+
* @param {string} ifMatch The core config\'s `etag` as last read, sent back unchanged.
|
|
1578
|
+
* @param {PutCoreConfigDocumentBody} body
|
|
1579
|
+
* @param {*} [options] Override http request option.
|
|
1580
|
+
* @throws {RequiredError}
|
|
1581
|
+
*/
|
|
1582
|
+
tariffServicePutCoreConfigDocument(tariffSlug: string, name: string, ifMatch: string, body: PutCoreConfigDocumentBody, options?: any): AxiosPromise<PutCoreConfigDocumentResponse>;
|
|
1583
|
+
/**
|
|
1584
|
+
* TODO: not available yet, the call answers Unimplemented. Remove this line when the call is built.
|
|
1585
|
+
* @summary Replaces the factors of a group with the content of a file.
|
|
1586
|
+
* @param {string} tariffSlug The slug of the tariff that owns the core config.
|
|
1587
|
+
* @param {string} name The core config\'s name, such as `insurance_core.v1`.
|
|
1588
|
+
* @param {string} group The factor\'s group: 1 to 64 lowercase letters, digits, `.`, `_` or `-`, starting with a letter or digit.
|
|
1589
|
+
* @param {string} ifMatch The core config\'s `etag` as last read (`coreConfigEtag` on a named range or factor read), sent back unchanged: every write to its named ranges and factors changes the core config.
|
|
1590
|
+
* @param {PutFactorFileBody} body
|
|
1591
|
+
* @param {*} [options] Override http request option.
|
|
1592
|
+
* @throws {RequiredError}
|
|
1593
|
+
*/
|
|
1594
|
+
tariffServicePutFactorFile(tariffSlug: string, name: string, group: string, ifMatch: string, body: PutFactorFileBody, options?: any): AxiosPromise<PutFactorFileResponse>;
|
|
1595
|
+
/**
|
|
1596
|
+
* Runs the upload analysis again over the uploaded object, derives the `namedRanges` headers the file accounts for and stores the cleaned file and its original. Send the `analysisDigest` of the analysis the file passed. Answers the core config and the stored file.
|
|
1597
|
+
* @summary Replaces a named range with the content of a file.
|
|
1598
|
+
* @param {string} tariffSlug The slug of the tariff that owns the core config.
|
|
1599
|
+
* @param {string} name The core config\'s name, such as `insurance_core.v1`.
|
|
1600
|
+
* @param {string} fileName The lookup file\'s name within the core config: 1 to 64 lowercase letters, digits, `.`, `_` or `-`, starting with a letter or digit.
|
|
1601
|
+
* @param {string} ifMatch The core config\'s `etag` as last read (`coreConfigEtag` on a named range or factor read), sent back unchanged: every write to its named ranges and factors changes the core config.
|
|
1602
|
+
* @param {PutNamedRangeFileBody} body
|
|
1603
|
+
* @param {*} [options] Override http request option.
|
|
1604
|
+
* @throws {RequiredError}
|
|
1605
|
+
*/
|
|
1606
|
+
tariffServicePutNamedRangeFile(tariffSlug: string, name: string, fileName: string, ifMatch: string, body: PutNamedRangeFileBody, options?: any): AxiosPromise<PutNamedRangeFileResponse>;
|
|
1607
|
+
/**
|
|
1608
|
+
* Stores the rows sent in `ranges` as a CSV lookup file. Nothing is analysed and no original file is kept. Answers the core config and the stored file.
|
|
1609
|
+
* @summary Replaces a named range with rows sent as JSON.
|
|
1610
|
+
* @param {string} tariffSlug The slug of the tariff that owns the core config.
|
|
1611
|
+
* @param {string} name The core config\'s name, such as `insurance_core.v1`.
|
|
1612
|
+
* @param {string} fileName The lookup file\'s name within the core config: 1 to 64 lowercase letters, digits, `.`, `_` or `-`, starting with a letter or digit.
|
|
1613
|
+
* @param {string} ifMatch The core config\'s `etag` as last read (`coreConfigEtag` on a named range or factor read), sent back unchanged: every write to its named ranges and factors changes the core config.
|
|
1614
|
+
* @param {PutNamedRangeJsonBody} body
|
|
1615
|
+
* @param {*} [options] Override http request option.
|
|
1616
|
+
* @throws {RequiredError}
|
|
1617
|
+
*/
|
|
1618
|
+
tariffServicePutNamedRangeJson(tariffSlug: string, name: string, fileName: string, ifMatch: string, body: PutNamedRangeJsonBody, options?: any): AxiosPromise<PutNamedRangeJsonResponse>;
|
|
1619
|
+
/**
|
|
1620
|
+
* A major can have only one active version. The version must be published and belong to this generation.
|
|
1621
|
+
* @summary Makes a published version the active one of its major.
|
|
1622
|
+
* @param {string} tariffSlug The slug of the tariff.
|
|
1623
|
+
* @param {string} generation The name of the generation.
|
|
1624
|
+
* @param {string} ifMatch The generation\'s `etag` as last read, sent back unchanged.
|
|
1625
|
+
* @param {SetActiveVersionBody} body
|
|
1626
|
+
* @param {*} [options] Override http request option.
|
|
1627
|
+
* @throws {RequiredError}
|
|
1628
|
+
*/
|
|
1629
|
+
tariffServiceSetActiveVersion(tariffSlug: string, generation: string, ifMatch: string, body: SetActiveVersionBody, options?: any): AxiosPromise<SetActiveVersionResponse>;
|
|
1630
|
+
/**
|
|
1631
|
+
* The allowed moves are: - `DRAFT` to `RETIRED`: archives the draft. - `DRAFT` to `DISCARDED`: gives the draft up. - `PUBLISHED` to `ACTIVE`: makes it the active version of its major; a major can have only one active version. - `ACTIVE` to `PUBLISHED`: takes it off sale. - `PUBLISHED` or `ACTIVE` to `RETIRED`: forbids new pins of the version. Any other move is not allowed. A policy already in force never moves to another version.
|
|
1632
|
+
* @summary Moves a version to another lifecycle status.
|
|
1633
|
+
* @param {string} tariffSlug The slug of the tariff.
|
|
1634
|
+
* @param {string} generation The name of the generation.
|
|
1635
|
+
* @param {string} version The version: its number (`1.2`), its ERN or a draft id (`dv-...`).
|
|
1636
|
+
* @param {string} ifMatch The draft\'s `etag` when the version is a draft, otherwise its generation\'s `etag`, as last read and sent back unchanged.
|
|
1637
|
+
* @param {SetVersionStatusBody} body
|
|
1638
|
+
* @param {*} [options] Override http request option.
|
|
1639
|
+
* @throws {RequiredError}
|
|
1640
|
+
*/
|
|
1641
|
+
tariffServiceSetVersionStatus(tariffSlug: string, generation: string, version: string, ifMatch: string, body: SetVersionStatusBody, options?: any): AxiosPromise<SetVersionStatusResponse>;
|
|
1642
|
+
/**
|
|
1643
|
+
* Only a draft can be rewritten. The call replaces the whole `config` document and runs no gate: the checks run when the asset is published. An `insurance_core` asset is refused, because its document has sections the server owns: save it with `PutCoreConfigDocument`.
|
|
1644
|
+
* @summary Rewrites the configuration of a draft asset.
|
|
1645
|
+
* @param {string} tariffSlug The slug of the tariff.
|
|
1646
|
+
* @param {string} name The asset\'s name, `<type>.v<n>`.
|
|
1647
|
+
* @param {string} ifMatch The core config\'s `etag` as last read, sent back unchanged.
|
|
1648
|
+
* @param {UpdateCoreConfigBody} body
|
|
1649
|
+
* @param {*} [options] Override http request option.
|
|
1650
|
+
* @throws {RequiredError}
|
|
1651
|
+
*/
|
|
1652
|
+
tariffServiceUpdateCoreConfig(tariffSlug: string, name: string, ifMatch: string, body: UpdateCoreConfigBody, options?: any): AxiosPromise<UpdateCoreConfigResponse>;
|
|
1653
|
+
/**
|
|
1654
|
+
* The start date can be changed only while the generation has no numbered version (published, active or archived). The name never changes.
|
|
1655
|
+
* @summary Changes a generation\'s title or start date.
|
|
1656
|
+
* @param {string} tariffSlug The slug of the tariff.
|
|
1657
|
+
* @param {string} generation The name of the generation.
|
|
1658
|
+
* @param {string} ifMatch The generation\'s `etag` as last read, sent back unchanged.
|
|
1659
|
+
* @param {UpdateGenerationBody} body
|
|
1660
|
+
* @param {*} [options] Override http request option.
|
|
1661
|
+
* @throws {RequiredError}
|
|
1662
|
+
*/
|
|
1663
|
+
tariffServiceUpdateGeneration(tariffSlug: string, generation: string, ifMatch: string, body: UpdateGenerationBody, options?: any): AxiosPromise<UpdateGenerationResponse>;
|
|
1664
|
+
/**
|
|
1665
|
+
* The slug, the ERN (EIS Resource Name) and `claimsEnabled` never change. Set at least one of `name`, `description` and `lineOfInsurance`.
|
|
1666
|
+
* @summary Changes a tariff\'s name, description or line of insurance.
|
|
1667
|
+
* @param {string} slug The slug of the tariff.
|
|
1668
|
+
* @param {string} ifMatch The tariff\'s `etag` as last read, sent back unchanged.
|
|
1669
|
+
* @param {UpdateTariffBody} body
|
|
1670
|
+
* @param {*} [options] Override http request option.
|
|
1671
|
+
* @throws {RequiredError}
|
|
1672
|
+
*/
|
|
1673
|
+
tariffServiceUpdateTariff(slug: string, ifMatch: string, body: UpdateTariffBody, options?: any): AxiosPromise<UpdateTariffResponse>;
|
|
1674
|
+
/**
|
|
1675
|
+
* Only an open draft can be rewritten. The response lists the contract issues found in the new manifest.
|
|
1676
|
+
* @summary Rewrites the manifest of a draft version.
|
|
1677
|
+
* @param {string} tariffSlug The slug of the tariff.
|
|
1678
|
+
* @param {string} generation The name of the generation.
|
|
1679
|
+
* @param {string} version The draft id (`dv-...`) or the draft\'s ERN.
|
|
1680
|
+
* @param {string} ifMatch The draft\'s `etag` as last read, sent back unchanged.
|
|
1681
|
+
* @param {UpdateVersionBody} body
|
|
1682
|
+
* @param {*} [options] Override http request option.
|
|
1683
|
+
* @throws {RequiredError}
|
|
1684
|
+
*/
|
|
1685
|
+
tariffServiceUpdateVersion(tariffSlug: string, generation: string, version: string, ifMatch: string, body: UpdateVersionBody, options?: any): AxiosPromise<UpdateVersionResponse>;
|
|
1686
|
+
/**
|
|
1687
|
+
* Runs the publish gate over the asset and writes nothing. A document the gate would refuse is an answer, not an error: the report says why.
|
|
1688
|
+
* @summary Checks an asset against the full publish gate without writing anything.
|
|
1689
|
+
* @param {string} tariffSlug The slug of the tariff that owns the core config.
|
|
1690
|
+
* @param {string} name The asset\'s name: an `insurance_core`, `lead_lifecycle`, `billing_config`, `contract_data` or `tarif_deckung` asset, such as `insurance_core.v1`.
|
|
1691
|
+
* @param {object} body
|
|
1692
|
+
* @param {*} [options] Override http request option.
|
|
1693
|
+
* @throws {RequiredError}
|
|
1694
|
+
*/
|
|
1695
|
+
tariffServiceValidateCoreConfig(tariffSlug: string, name: string, body: object, options?: any): AxiosPromise<ValidateCoreConfigResponse>;
|
|
1696
|
+
/**
|
|
1697
|
+
* Checks `expression` against the stored document of the asset and writes nothing. `context` says what the expression is for: a premium item (the default) or a field, with an optional `order` and `object`. Each problem has a code, a message, and the position and length of the faulty part.
|
|
1698
|
+
* @summary Checks one expression against the stored document.
|
|
1699
|
+
* @param {string} tariffSlug The slug of the tariff that owns the core config.
|
|
1700
|
+
* @param {string} name The core config\'s name, such as `insurance_core.v1`.
|
|
1701
|
+
* @param {ValidateCoreConfigExpressionBody} body
|
|
1702
|
+
* @param {*} [options] Override http request option.
|
|
1703
|
+
* @throws {RequiredError}
|
|
1704
|
+
*/
|
|
1705
|
+
tariffServiceValidateCoreConfigExpression(tariffSlug: string, name: string, body: ValidateCoreConfigExpressionBody, options?: any): AxiosPromise<ValidateCoreConfigExpressionResponse>;
|
|
1706
|
+
/**
|
|
1707
|
+
* Runs the publish gate over `manifest` and writes nothing. A manifest the gate refuses is an answer, not an error: the report in the response says why.
|
|
1708
|
+
* @summary Runs the publish gate on a manifest without writing anything.
|
|
1709
|
+
* @param {string} tariffSlug The slug of the tariff.
|
|
1710
|
+
* @param {string} generation The name of the generation.
|
|
1711
|
+
* @param {ValidateVersionBody} body
|
|
1712
|
+
* @param {*} [options] Override http request option.
|
|
1713
|
+
* @throws {RequiredError}
|
|
1714
|
+
*/
|
|
1715
|
+
tariffServiceValidateVersion(tariffSlug: string, generation: string, body: ValidateVersionBody, options?: any): AxiosPromise<ValidateVersionResponse>;
|
|
1716
|
+
};
|
|
1717
|
+
/**
|
|
1718
|
+
* Request parameters for tariffServiceAnalyzeConfigFile operation in TariffsApi.
|
|
1719
|
+
* @export
|
|
1720
|
+
* @interface TariffsApiTariffServiceAnalyzeConfigFileRequest
|
|
1721
|
+
*/
|
|
1722
|
+
export interface TariffsApiTariffServiceAnalyzeConfigFileRequest {
|
|
1723
|
+
/**
|
|
1724
|
+
* The slug of the tariff that owns the core config.
|
|
1725
|
+
* @type {string}
|
|
1726
|
+
* @memberof TariffsApiTariffServiceAnalyzeConfigFile
|
|
1727
|
+
*/
|
|
1728
|
+
readonly tariffSlug: string;
|
|
1729
|
+
/**
|
|
1730
|
+
* The core config\'s name, such as `insurance_core.v1`.
|
|
1731
|
+
* @type {string}
|
|
1732
|
+
* @memberof TariffsApiTariffServiceAnalyzeConfigFile
|
|
1733
|
+
*/
|
|
1734
|
+
readonly name: string;
|
|
1735
|
+
/**
|
|
1736
|
+
*
|
|
1737
|
+
* @type {AnalyzeConfigFileBody}
|
|
1738
|
+
* @memberof TariffsApiTariffServiceAnalyzeConfigFile
|
|
1739
|
+
*/
|
|
1740
|
+
readonly body: AnalyzeConfigFileBody;
|
|
1741
|
+
}
|
|
1742
|
+
/**
|
|
1743
|
+
* Request parameters for tariffServiceCreateConfigFileUpload operation in TariffsApi.
|
|
1744
|
+
* @export
|
|
1745
|
+
* @interface TariffsApiTariffServiceCreateConfigFileUploadRequest
|
|
1746
|
+
*/
|
|
1747
|
+
export interface TariffsApiTariffServiceCreateConfigFileUploadRequest {
|
|
1748
|
+
/**
|
|
1749
|
+
* The slug of the tariff that owns the core config.
|
|
1750
|
+
* @type {string}
|
|
1751
|
+
* @memberof TariffsApiTariffServiceCreateConfigFileUpload
|
|
1752
|
+
*/
|
|
1753
|
+
readonly tariffSlug: string;
|
|
1754
|
+
/**
|
|
1755
|
+
* The core config\'s name, such as `insurance_core.v1`.
|
|
1756
|
+
* @type {string}
|
|
1757
|
+
* @memberof TariffsApiTariffServiceCreateConfigFileUpload
|
|
1758
|
+
*/
|
|
1759
|
+
readonly name: string;
|
|
1760
|
+
/**
|
|
1761
|
+
*
|
|
1762
|
+
* @type {CreateConfigFileUploadBody}
|
|
1763
|
+
* @memberof TariffsApiTariffServiceCreateConfigFileUpload
|
|
1764
|
+
*/
|
|
1765
|
+
readonly body: CreateConfigFileUploadBody;
|
|
1766
|
+
}
|
|
1767
|
+
/**
|
|
1768
|
+
* Request parameters for tariffServiceCreateCoreConfig operation in TariffsApi.
|
|
1769
|
+
* @export
|
|
1770
|
+
* @interface TariffsApiTariffServiceCreateCoreConfigRequest
|
|
1771
|
+
*/
|
|
1772
|
+
export interface TariffsApiTariffServiceCreateCoreConfigRequest {
|
|
1773
|
+
/**
|
|
1774
|
+
* The slug of the tariff.
|
|
1775
|
+
* @type {string}
|
|
1776
|
+
* @memberof TariffsApiTariffServiceCreateCoreConfig
|
|
1777
|
+
*/
|
|
1778
|
+
readonly tariffSlug: string;
|
|
1779
|
+
/**
|
|
1780
|
+
*
|
|
1781
|
+
* @type {CreateCoreConfigBody}
|
|
1782
|
+
* @memberof TariffsApiTariffServiceCreateCoreConfig
|
|
1783
|
+
*/
|
|
1784
|
+
readonly body: CreateCoreConfigBody;
|
|
1785
|
+
}
|
|
1786
|
+
/**
|
|
1787
|
+
* Request parameters for tariffServiceCreateGeneration operation in TariffsApi.
|
|
1788
|
+
* @export
|
|
1789
|
+
* @interface TariffsApiTariffServiceCreateGenerationRequest
|
|
1790
|
+
*/
|
|
1791
|
+
export interface TariffsApiTariffServiceCreateGenerationRequest {
|
|
1792
|
+
/**
|
|
1793
|
+
* The slug of the tariff.
|
|
1794
|
+
* @type {string}
|
|
1795
|
+
* @memberof TariffsApiTariffServiceCreateGeneration
|
|
1796
|
+
*/
|
|
1797
|
+
readonly tariffSlug: string;
|
|
1798
|
+
/**
|
|
1799
|
+
* The tariff\'s `etag` as last read, sent back unchanged: adding a generation changes the tariff.
|
|
1800
|
+
* @type {string}
|
|
1801
|
+
* @memberof TariffsApiTariffServiceCreateGeneration
|
|
1802
|
+
*/
|
|
1803
|
+
readonly ifMatch: string;
|
|
1804
|
+
/**
|
|
1805
|
+
*
|
|
1806
|
+
* @type {CreateGenerationBody}
|
|
1807
|
+
* @memberof TariffsApiTariffServiceCreateGeneration
|
|
1808
|
+
*/
|
|
1809
|
+
readonly body: CreateGenerationBody;
|
|
1810
|
+
}
|
|
1811
|
+
/**
|
|
1812
|
+
* Request parameters for tariffServiceCreateLineOfInsurance operation in TariffsApi.
|
|
1813
|
+
* @export
|
|
1814
|
+
* @interface TariffsApiTariffServiceCreateLineOfInsuranceRequest
|
|
1815
|
+
*/
|
|
1816
|
+
export interface TariffsApiTariffServiceCreateLineOfInsuranceRequest {
|
|
1817
|
+
/**
|
|
1818
|
+
* The request of `CreateLineOfInsurance`.
|
|
1819
|
+
* @type {CreateLineOfInsuranceRequest}
|
|
1820
|
+
* @memberof TariffsApiTariffServiceCreateLineOfInsurance
|
|
1821
|
+
*/
|
|
1822
|
+
readonly body: CreateLineOfInsuranceRequest;
|
|
1823
|
+
}
|
|
1824
|
+
/**
|
|
1825
|
+
* Request parameters for tariffServiceCreateTariff operation in TariffsApi.
|
|
1826
|
+
* @export
|
|
1827
|
+
* @interface TariffsApiTariffServiceCreateTariffRequest
|
|
1828
|
+
*/
|
|
1829
|
+
export interface TariffsApiTariffServiceCreateTariffRequest {
|
|
1830
|
+
/**
|
|
1831
|
+
* The request of `CreateTariff`.
|
|
1832
|
+
* @type {CreateTariffRequest}
|
|
1833
|
+
* @memberof TariffsApiTariffServiceCreateTariff
|
|
1834
|
+
*/
|
|
1835
|
+
readonly body: CreateTariffRequest;
|
|
1836
|
+
}
|
|
1837
|
+
/**
|
|
1838
|
+
* Request parameters for tariffServiceCreateVersion operation in TariffsApi.
|
|
1839
|
+
* @export
|
|
1840
|
+
* @interface TariffsApiTariffServiceCreateVersionRequest
|
|
1841
|
+
*/
|
|
1842
|
+
export interface TariffsApiTariffServiceCreateVersionRequest {
|
|
1843
|
+
/**
|
|
1844
|
+
* The slug of the tariff.
|
|
1845
|
+
* @type {string}
|
|
1846
|
+
* @memberof TariffsApiTariffServiceCreateVersion
|
|
1847
|
+
*/
|
|
1848
|
+
readonly tariffSlug: string;
|
|
1849
|
+
/**
|
|
1850
|
+
* The name of the generation.
|
|
1851
|
+
* @type {string}
|
|
1852
|
+
* @memberof TariffsApiTariffServiceCreateVersion
|
|
1853
|
+
*/
|
|
1854
|
+
readonly generation: string;
|
|
1855
|
+
/**
|
|
1856
|
+
*
|
|
1857
|
+
* @type {CreateVersionBody}
|
|
1858
|
+
* @memberof TariffsApiTariffServiceCreateVersion
|
|
1859
|
+
*/
|
|
1860
|
+
readonly body: CreateVersionBody;
|
|
1861
|
+
}
|
|
1862
|
+
/**
|
|
1863
|
+
* Request parameters for tariffServiceDeleteFactor operation in TariffsApi.
|
|
1864
|
+
* @export
|
|
1865
|
+
* @interface TariffsApiTariffServiceDeleteFactorRequest
|
|
1866
|
+
*/
|
|
1867
|
+
export interface TariffsApiTariffServiceDeleteFactorRequest {
|
|
1868
|
+
/**
|
|
1869
|
+
* The slug of the tariff that owns the core config.
|
|
1870
|
+
* @type {string}
|
|
1871
|
+
* @memberof TariffsApiTariffServiceDeleteFactor
|
|
1872
|
+
*/
|
|
1873
|
+
readonly tariffSlug: string;
|
|
1874
|
+
/**
|
|
1875
|
+
* The core config\'s name, such as `insurance_core.v1`.
|
|
1876
|
+
* @type {string}
|
|
1877
|
+
* @memberof TariffsApiTariffServiceDeleteFactor
|
|
1878
|
+
*/
|
|
1879
|
+
readonly name: string;
|
|
1880
|
+
/**
|
|
1881
|
+
* The factor\'s group: 1 to 64 lowercase letters, digits, `.`, `_` or `-`, starting with a letter or digit.
|
|
1882
|
+
* @type {string}
|
|
1883
|
+
* @memberof TariffsApiTariffServiceDeleteFactor
|
|
1884
|
+
*/
|
|
1885
|
+
readonly group: string;
|
|
1886
|
+
/**
|
|
1887
|
+
* The core config\'s `etag` as last read (`coreConfigEtag` on a named range or factor read), sent back unchanged: every write to its named ranges and factors changes the core config.
|
|
1888
|
+
* @type {string}
|
|
1889
|
+
* @memberof TariffsApiTariffServiceDeleteFactor
|
|
1890
|
+
*/
|
|
1891
|
+
readonly ifMatch: string;
|
|
1892
|
+
}
|
|
1893
|
+
/**
|
|
1894
|
+
* Request parameters for tariffServiceDeleteNamedRangeFile operation in TariffsApi.
|
|
1895
|
+
* @export
|
|
1896
|
+
* @interface TariffsApiTariffServiceDeleteNamedRangeFileRequest
|
|
1897
|
+
*/
|
|
1898
|
+
export interface TariffsApiTariffServiceDeleteNamedRangeFileRequest {
|
|
1899
|
+
/**
|
|
1900
|
+
* The slug of the tariff that owns the core config.
|
|
1901
|
+
* @type {string}
|
|
1902
|
+
* @memberof TariffsApiTariffServiceDeleteNamedRangeFile
|
|
1903
|
+
*/
|
|
1904
|
+
readonly tariffSlug: string;
|
|
1905
|
+
/**
|
|
1906
|
+
* The core config\'s name, such as `insurance_core.v1`.
|
|
1907
|
+
* @type {string}
|
|
1908
|
+
* @memberof TariffsApiTariffServiceDeleteNamedRangeFile
|
|
1909
|
+
*/
|
|
1910
|
+
readonly name: string;
|
|
1911
|
+
/**
|
|
1912
|
+
* The lookup file\'s name within the core config: 1 to 64 lowercase letters, digits, `.`, `_` or `-`, starting with a letter or digit.
|
|
1913
|
+
* @type {string}
|
|
1914
|
+
* @memberof TariffsApiTariffServiceDeleteNamedRangeFile
|
|
1915
|
+
*/
|
|
1916
|
+
readonly fileName: string;
|
|
1917
|
+
/**
|
|
1918
|
+
* The core config\'s `etag` as last read (`coreConfigEtag` on a named range or factor read), sent back unchanged: every write to its named ranges and factors changes the core config.
|
|
1919
|
+
* @type {string}
|
|
1920
|
+
* @memberof TariffsApiTariffServiceDeleteNamedRangeFile
|
|
1921
|
+
*/
|
|
1922
|
+
readonly ifMatch: string;
|
|
1923
|
+
}
|
|
1924
|
+
/**
|
|
1925
|
+
* Request parameters for tariffServiceDiscardCoreConfig operation in TariffsApi.
|
|
1926
|
+
* @export
|
|
1927
|
+
* @interface TariffsApiTariffServiceDiscardCoreConfigRequest
|
|
1928
|
+
*/
|
|
1929
|
+
export interface TariffsApiTariffServiceDiscardCoreConfigRequest {
|
|
1930
|
+
/**
|
|
1931
|
+
* The slug of the tariff that owns the core config.
|
|
1932
|
+
* @type {string}
|
|
1933
|
+
* @memberof TariffsApiTariffServiceDiscardCoreConfig
|
|
1934
|
+
*/
|
|
1935
|
+
readonly tariffSlug: string;
|
|
1936
|
+
/**
|
|
1937
|
+
* The core config\'s name, such as `insurance_core.v1`.
|
|
1938
|
+
* @type {string}
|
|
1939
|
+
* @memberof TariffsApiTariffServiceDiscardCoreConfig
|
|
1940
|
+
*/
|
|
1941
|
+
readonly name: string;
|
|
1942
|
+
/**
|
|
1943
|
+
* The core config\'s `etag` as last read, sent back unchanged.
|
|
1944
|
+
* @type {string}
|
|
1945
|
+
* @memberof TariffsApiTariffServiceDiscardCoreConfig
|
|
1946
|
+
*/
|
|
1947
|
+
readonly ifMatch: string;
|
|
1948
|
+
/**
|
|
1949
|
+
*
|
|
1950
|
+
* @type {object}
|
|
1951
|
+
* @memberof TariffsApiTariffServiceDiscardCoreConfig
|
|
1952
|
+
*/
|
|
1953
|
+
readonly body: object;
|
|
1954
|
+
}
|
|
1955
|
+
/**
|
|
1956
|
+
* Request parameters for tariffServiceDiscardVersion operation in TariffsApi.
|
|
1957
|
+
* @export
|
|
1958
|
+
* @interface TariffsApiTariffServiceDiscardVersionRequest
|
|
1959
|
+
*/
|
|
1960
|
+
export interface TariffsApiTariffServiceDiscardVersionRequest {
|
|
1961
|
+
/**
|
|
1962
|
+
* The slug of the tariff.
|
|
1963
|
+
* @type {string}
|
|
1964
|
+
* @memberof TariffsApiTariffServiceDiscardVersion
|
|
1965
|
+
*/
|
|
1966
|
+
readonly tariffSlug: string;
|
|
1967
|
+
/**
|
|
1968
|
+
* The name of the generation.
|
|
1969
|
+
* @type {string}
|
|
1970
|
+
* @memberof TariffsApiTariffServiceDiscardVersion
|
|
1971
|
+
*/
|
|
1972
|
+
readonly generation: string;
|
|
1973
|
+
/**
|
|
1974
|
+
* The draft id (`dv-...`) or the draft\'s ERN.
|
|
1975
|
+
* @type {string}
|
|
1976
|
+
* @memberof TariffsApiTariffServiceDiscardVersion
|
|
1977
|
+
*/
|
|
1978
|
+
readonly version: string;
|
|
1979
|
+
/**
|
|
1980
|
+
* The draft\'s `etag` as last read, sent back unchanged.
|
|
1981
|
+
* @type {string}
|
|
1982
|
+
* @memberof TariffsApiTariffServiceDiscardVersion
|
|
1983
|
+
*/
|
|
1984
|
+
readonly ifMatch: string;
|
|
1985
|
+
/**
|
|
1986
|
+
*
|
|
1987
|
+
* @type {object}
|
|
1988
|
+
* @memberof TariffsApiTariffServiceDiscardVersion
|
|
1989
|
+
*/
|
|
1990
|
+
readonly body: object;
|
|
1991
|
+
}
|
|
1992
|
+
/**
|
|
1993
|
+
* Request parameters for tariffServiceGetCoreConfig operation in TariffsApi.
|
|
1994
|
+
* @export
|
|
1995
|
+
* @interface TariffsApiTariffServiceGetCoreConfigRequest
|
|
1996
|
+
*/
|
|
1997
|
+
export interface TariffsApiTariffServiceGetCoreConfigRequest {
|
|
1998
|
+
/**
|
|
1999
|
+
* The slug of the tariff.
|
|
2000
|
+
* @type {string}
|
|
2001
|
+
* @memberof TariffsApiTariffServiceGetCoreConfig
|
|
2002
|
+
*/
|
|
2003
|
+
readonly tariffSlug: string;
|
|
2004
|
+
/**
|
|
2005
|
+
* The asset\'s name, `<type>.v<n>`.
|
|
2006
|
+
* @type {string}
|
|
2007
|
+
* @memberof TariffsApiTariffServiceGetCoreConfig
|
|
2008
|
+
*/
|
|
2009
|
+
readonly name: string;
|
|
2010
|
+
}
|
|
2011
|
+
/**
|
|
2012
|
+
* Request parameters for tariffServiceGetCoreConfigPolicyDataSchema operation in TariffsApi.
|
|
2013
|
+
* @export
|
|
2014
|
+
* @interface TariffsApiTariffServiceGetCoreConfigPolicyDataSchemaRequest
|
|
2015
|
+
*/
|
|
2016
|
+
export interface TariffsApiTariffServiceGetCoreConfigPolicyDataSchemaRequest {
|
|
2017
|
+
/**
|
|
2018
|
+
* The slug of the tariff that owns the core config.
|
|
2019
|
+
* @type {string}
|
|
2020
|
+
* @memberof TariffsApiTariffServiceGetCoreConfigPolicyDataSchema
|
|
2021
|
+
*/
|
|
2022
|
+
readonly tariffSlug: string;
|
|
2023
|
+
/**
|
|
2024
|
+
* The core config\'s name, such as `insurance_core.v1`.
|
|
2025
|
+
* @type {string}
|
|
2026
|
+
* @memberof TariffsApiTariffServiceGetCoreConfigPolicyDataSchema
|
|
2027
|
+
*/
|
|
2028
|
+
readonly name: string;
|
|
2029
|
+
}
|
|
2030
|
+
/**
|
|
2031
|
+
* Request parameters for tariffServiceGetDiff operation in TariffsApi.
|
|
2032
|
+
* @export
|
|
2033
|
+
* @interface TariffsApiTariffServiceGetDiffRequest
|
|
2034
|
+
*/
|
|
2035
|
+
export interface TariffsApiTariffServiceGetDiffRequest {
|
|
2036
|
+
/**
|
|
2037
|
+
* The slug of the tariff.
|
|
2038
|
+
* @type {string}
|
|
2039
|
+
* @memberof TariffsApiTariffServiceGetDiff
|
|
2040
|
+
*/
|
|
2041
|
+
readonly tariffSlug: string;
|
|
2042
|
+
/**
|
|
2043
|
+
* The name of the generation.
|
|
2044
|
+
* @type {string}
|
|
2045
|
+
* @memberof TariffsApiTariffServiceGetDiff
|
|
2046
|
+
*/
|
|
2047
|
+
readonly generation: string;
|
|
2048
|
+
/**
|
|
2049
|
+
* The version whose changes are shown: its number or ERN.
|
|
2050
|
+
* @type {string}
|
|
2051
|
+
* @memberof TariffsApiTariffServiceGetDiff
|
|
2052
|
+
*/
|
|
2053
|
+
readonly version: string;
|
|
2054
|
+
/**
|
|
2055
|
+
* The ERN of the version to compare with. Defaults to the version this one is based on; with another version, the premium changes are left out.
|
|
2056
|
+
* @type {string}
|
|
2057
|
+
* @memberof TariffsApiTariffServiceGetDiff
|
|
2058
|
+
*/
|
|
2059
|
+
readonly againstVersion?: string;
|
|
2060
|
+
}
|
|
2061
|
+
/**
|
|
2062
|
+
* Request parameters for tariffServiceGetFactor operation in TariffsApi.
|
|
2063
|
+
* @export
|
|
2064
|
+
* @interface TariffsApiTariffServiceGetFactorRequest
|
|
2065
|
+
*/
|
|
2066
|
+
export interface TariffsApiTariffServiceGetFactorRequest {
|
|
2067
|
+
/**
|
|
2068
|
+
* The slug of the tariff that owns the core config.
|
|
2069
|
+
* @type {string}
|
|
2070
|
+
* @memberof TariffsApiTariffServiceGetFactor
|
|
2071
|
+
*/
|
|
2072
|
+
readonly tariffSlug: string;
|
|
2073
|
+
/**
|
|
2074
|
+
* The core config\'s name, such as `insurance_core.v1`.
|
|
2075
|
+
* @type {string}
|
|
2076
|
+
* @memberof TariffsApiTariffServiceGetFactor
|
|
2077
|
+
*/
|
|
2078
|
+
readonly name: string;
|
|
2079
|
+
/**
|
|
2080
|
+
* The factor\'s group: 1 to 64 lowercase letters, digits, `.`, `_` or `-`, starting with a letter or digit.
|
|
2081
|
+
* @type {string}
|
|
2082
|
+
* @memberof TariffsApiTariffServiceGetFactor
|
|
2083
|
+
*/
|
|
2084
|
+
readonly group: string;
|
|
2085
|
+
}
|
|
2086
|
+
/**
|
|
2087
|
+
* Request parameters for tariffServiceGetFactorFile operation in TariffsApi.
|
|
2088
|
+
* @export
|
|
2089
|
+
* @interface TariffsApiTariffServiceGetFactorFileRequest
|
|
2090
|
+
*/
|
|
2091
|
+
export interface TariffsApiTariffServiceGetFactorFileRequest {
|
|
2092
|
+
/**
|
|
2093
|
+
* The slug of the tariff that owns the core config.
|
|
2094
|
+
* @type {string}
|
|
2095
|
+
* @memberof TariffsApiTariffServiceGetFactorFile
|
|
2096
|
+
*/
|
|
2097
|
+
readonly tariffSlug: string;
|
|
2098
|
+
/**
|
|
2099
|
+
* The core config\'s name, such as `insurance_core.v1`.
|
|
2100
|
+
* @type {string}
|
|
2101
|
+
* @memberof TariffsApiTariffServiceGetFactorFile
|
|
2102
|
+
*/
|
|
2103
|
+
readonly name: string;
|
|
2104
|
+
/**
|
|
2105
|
+
* The factor\'s group: 1 to 64 lowercase letters, digits, `.`, `_` or `-`, starting with a letter or digit.
|
|
2106
|
+
* @type {string}
|
|
2107
|
+
* @memberof TariffsApiTariffServiceGetFactorFile
|
|
2108
|
+
*/
|
|
2109
|
+
readonly group: string;
|
|
2110
|
+
/**
|
|
2111
|
+
* True to get the original upload instead of the cleaned file.
|
|
2112
|
+
* @type {boolean}
|
|
2113
|
+
* @memberof TariffsApiTariffServiceGetFactorFile
|
|
2114
|
+
*/
|
|
2115
|
+
readonly original?: boolean;
|
|
2116
|
+
}
|
|
2117
|
+
/**
|
|
2118
|
+
* Request parameters for tariffServiceGetGeneration operation in TariffsApi.
|
|
2119
|
+
* @export
|
|
2120
|
+
* @interface TariffsApiTariffServiceGetGenerationRequest
|
|
2121
|
+
*/
|
|
2122
|
+
export interface TariffsApiTariffServiceGetGenerationRequest {
|
|
2123
|
+
/**
|
|
2124
|
+
* The slug of the tariff.
|
|
2125
|
+
* @type {string}
|
|
2126
|
+
* @memberof TariffsApiTariffServiceGetGeneration
|
|
2127
|
+
*/
|
|
2128
|
+
readonly tariffSlug: string;
|
|
2129
|
+
/**
|
|
2130
|
+
* The name of the generation.
|
|
2131
|
+
* @type {string}
|
|
2132
|
+
* @memberof TariffsApiTariffServiceGetGeneration
|
|
2133
|
+
*/
|
|
2134
|
+
readonly generation: string;
|
|
2135
|
+
}
|
|
2136
|
+
/**
|
|
2137
|
+
* Request parameters for tariffServiceGetNamedRange operation in TariffsApi.
|
|
2138
|
+
* @export
|
|
2139
|
+
* @interface TariffsApiTariffServiceGetNamedRangeRequest
|
|
2140
|
+
*/
|
|
2141
|
+
export interface TariffsApiTariffServiceGetNamedRangeRequest {
|
|
2142
|
+
/**
|
|
2143
|
+
* The slug of the tariff that owns the core config.
|
|
2144
|
+
* @type {string}
|
|
2145
|
+
* @memberof TariffsApiTariffServiceGetNamedRange
|
|
2146
|
+
*/
|
|
2147
|
+
readonly tariffSlug: string;
|
|
2148
|
+
/**
|
|
2149
|
+
* The core config\'s name, such as `insurance_core.v1`.
|
|
2150
|
+
* @type {string}
|
|
2151
|
+
* @memberof TariffsApiTariffServiceGetNamedRange
|
|
2152
|
+
*/
|
|
2153
|
+
readonly name: string;
|
|
2154
|
+
/**
|
|
2155
|
+
* The range\'s code.
|
|
2156
|
+
* @type {string}
|
|
2157
|
+
* @memberof TariffsApiTariffServiceGetNamedRange
|
|
2158
|
+
*/
|
|
2159
|
+
readonly code: string;
|
|
2160
|
+
}
|
|
2161
|
+
/**
|
|
2162
|
+
* Request parameters for tariffServiceGetNamedRangeFile operation in TariffsApi.
|
|
2163
|
+
* @export
|
|
2164
|
+
* @interface TariffsApiTariffServiceGetNamedRangeFileRequest
|
|
2165
|
+
*/
|
|
2166
|
+
export interface TariffsApiTariffServiceGetNamedRangeFileRequest {
|
|
2167
|
+
/**
|
|
2168
|
+
* The slug of the tariff that owns the core config.
|
|
2169
|
+
* @type {string}
|
|
2170
|
+
* @memberof TariffsApiTariffServiceGetNamedRangeFile
|
|
2171
|
+
*/
|
|
2172
|
+
readonly tariffSlug: string;
|
|
2173
|
+
/**
|
|
2174
|
+
* The core config\'s name, such as `insurance_core.v1`.
|
|
2175
|
+
* @type {string}
|
|
2176
|
+
* @memberof TariffsApiTariffServiceGetNamedRangeFile
|
|
2177
|
+
*/
|
|
2178
|
+
readonly name: string;
|
|
2179
|
+
/**
|
|
2180
|
+
* The lookup file\'s name within the core config: 1 to 64 lowercase letters, digits, `.`, `_` or `-`, starting with a letter or digit.
|
|
2181
|
+
* @type {string}
|
|
2182
|
+
* @memberof TariffsApiTariffServiceGetNamedRangeFile
|
|
2183
|
+
*/
|
|
2184
|
+
readonly fileName: string;
|
|
2185
|
+
/**
|
|
2186
|
+
* True to get the original upload instead of the cleaned file. A range stored through `PutNamedRangeJson` has no original.
|
|
2187
|
+
* @type {boolean}
|
|
2188
|
+
* @memberof TariffsApiTariffServiceGetNamedRangeFile
|
|
2189
|
+
*/
|
|
2190
|
+
readonly original?: boolean;
|
|
2191
|
+
}
|
|
2192
|
+
/**
|
|
2193
|
+
* Request parameters for tariffServiceGetResolvedBillingConfig operation in TariffsApi.
|
|
2194
|
+
* @export
|
|
2195
|
+
* @interface TariffsApiTariffServiceGetResolvedBillingConfigRequest
|
|
2196
|
+
*/
|
|
2197
|
+
export interface TariffsApiTariffServiceGetResolvedBillingConfigRequest {
|
|
2198
|
+
/**
|
|
2199
|
+
* The ERN of the child tariff version. It is optional when `groupTariffVersionErn` is given: a group policy pins only the group version, and the child is the tariff version that the group version pins.
|
|
2200
|
+
* @type {string}
|
|
2201
|
+
* @memberof TariffsApiTariffServiceGetResolvedBillingConfig
|
|
2202
|
+
*/
|
|
2203
|
+
readonly tariffVersionErn?: string;
|
|
2204
|
+
/**
|
|
2205
|
+
* The ERN of the group tariff version whose billing configuration overrides the child\'s, field by field. Optional.
|
|
2206
|
+
* @type {string}
|
|
2207
|
+
* @memberof TariffsApiTariffServiceGetResolvedBillingConfig
|
|
2208
|
+
*/
|
|
2209
|
+
readonly groupTariffVersionErn?: string;
|
|
2210
|
+
}
|
|
2211
|
+
/**
|
|
2212
|
+
* Request parameters for tariffServiceGetResolvedContractData operation in TariffsApi.
|
|
2213
|
+
* @export
|
|
2214
|
+
* @interface TariffsApiTariffServiceGetResolvedContractDataRequest
|
|
2215
|
+
*/
|
|
2216
|
+
export interface TariffsApiTariffServiceGetResolvedContractDataRequest {
|
|
2217
|
+
/**
|
|
2218
|
+
* The ERN of the tariff or group tariff the policy is created on. Not read when `parentPolicyCode` is set.
|
|
2219
|
+
* @type {string}
|
|
2220
|
+
* @memberof TariffsApiTariffServiceGetResolvedContractData
|
|
2221
|
+
*/
|
|
2222
|
+
readonly tariffErn?: string;
|
|
2223
|
+
/**
|
|
2224
|
+
* The date the policy takes effect, as an RFC 3339 full-date (`YYYY-MM-DD`). Optional; empty means the creation day, as when a policy is created.
|
|
2225
|
+
* @type {string}
|
|
2226
|
+
* @memberof TariffsApiTariffServiceGetResolvedContractData
|
|
2227
|
+
*/
|
|
2228
|
+
readonly effectiveFrom?: string;
|
|
2229
|
+
/**
|
|
2230
|
+
* The application date, as an RFC 3339 full-date (`YYYY-MM-DD`). Optional; empty means none, as when a policy is created, and a default that counts from the application date stays unresolved.
|
|
2231
|
+
* @type {string}
|
|
2232
|
+
* @memberof TariffsApiTariffServiceGetResolvedContractData
|
|
2233
|
+
*/
|
|
2234
|
+
readonly applicationDate?: string;
|
|
2235
|
+
/**
|
|
2236
|
+
* For a member enrolment, the code of the group policy the member joins. When it is set, `tariffErn` is not read.
|
|
2237
|
+
* @type {string}
|
|
2238
|
+
* @memberof TariffsApiTariffServiceGetResolvedContractData
|
|
2239
|
+
*/
|
|
2240
|
+
readonly parentPolicyCode?: string;
|
|
2241
|
+
}
|
|
2242
|
+
/**
|
|
2243
|
+
* Request parameters for tariffServiceGetResolvedCoreConfig operation in TariffsApi.
|
|
2244
|
+
* @export
|
|
2245
|
+
* @interface TariffsApiTariffServiceGetResolvedCoreConfigRequest
|
|
2246
|
+
*/
|
|
2247
|
+
export interface TariffsApiTariffServiceGetResolvedCoreConfigRequest {
|
|
2248
|
+
/**
|
|
2249
|
+
* The slug of the tariff that owns the core config.
|
|
2250
|
+
* @type {string}
|
|
2251
|
+
* @memberof TariffsApiTariffServiceGetResolvedCoreConfig
|
|
2252
|
+
*/
|
|
2253
|
+
readonly tariffSlug: string;
|
|
2254
|
+
/**
|
|
2255
|
+
* The core config\'s name, such as `insurance_core.v1`.
|
|
2256
|
+
* @type {string}
|
|
2257
|
+
* @memberof TariffsApiTariffServiceGetResolvedCoreConfig
|
|
2258
|
+
*/
|
|
2259
|
+
readonly name: string;
|
|
2260
|
+
}
|
|
2261
|
+
/**
|
|
2262
|
+
* Request parameters for tariffServiceGetResolvedTariffCoverage operation in TariffsApi.
|
|
2263
|
+
* @export
|
|
2264
|
+
* @interface TariffsApiTariffServiceGetResolvedTariffCoverageRequest
|
|
2265
|
+
*/
|
|
2266
|
+
export interface TariffsApiTariffServiceGetResolvedTariffCoverageRequest {
|
|
2267
|
+
/**
|
|
2268
|
+
* The ERN of the child tariff version. It is optional when `groupTariffVersionErn` is given: the child is then the tariff version that the group version pins.
|
|
2269
|
+
* @type {string}
|
|
2270
|
+
* @memberof TariffsApiTariffServiceGetResolvedTariffCoverage
|
|
2271
|
+
*/
|
|
2272
|
+
readonly tariffVersionErn?: string;
|
|
2273
|
+
/**
|
|
2274
|
+
* The ERN of the group tariff version whose coverage document overrides the child\'s, section by section. Optional.
|
|
2275
|
+
* @type {string}
|
|
2276
|
+
* @memberof TariffsApiTariffServiceGetResolvedTariffCoverage
|
|
2277
|
+
*/
|
|
2278
|
+
readonly groupTariffVersionErn?: string;
|
|
2279
|
+
}
|
|
2280
|
+
/**
|
|
2281
|
+
* Request parameters for tariffServiceGetTariff operation in TariffsApi.
|
|
2282
|
+
* @export
|
|
2283
|
+
* @interface TariffsApiTariffServiceGetTariffRequest
|
|
2284
|
+
*/
|
|
2285
|
+
export interface TariffsApiTariffServiceGetTariffRequest {
|
|
2286
|
+
/**
|
|
2287
|
+
* The slug of the tariff.
|
|
2288
|
+
* @type {string}
|
|
2289
|
+
* @memberof TariffsApiTariffServiceGetTariff
|
|
2290
|
+
*/
|
|
2291
|
+
readonly slug: string;
|
|
2292
|
+
}
|
|
2293
|
+
/**
|
|
2294
|
+
* Request parameters for tariffServiceGetVersion operation in TariffsApi.
|
|
2295
|
+
* @export
|
|
2296
|
+
* @interface TariffsApiTariffServiceGetVersionRequest
|
|
2297
|
+
*/
|
|
2298
|
+
export interface TariffsApiTariffServiceGetVersionRequest {
|
|
2299
|
+
/**
|
|
2300
|
+
* The slug of the tariff.
|
|
2301
|
+
* @type {string}
|
|
2302
|
+
* @memberof TariffsApiTariffServiceGetVersion
|
|
2303
|
+
*/
|
|
2304
|
+
readonly tariffSlug: string;
|
|
2305
|
+
/**
|
|
2306
|
+
* The name of the generation.
|
|
2307
|
+
* @type {string}
|
|
2308
|
+
* @memberof TariffsApiTariffServiceGetVersion
|
|
2309
|
+
*/
|
|
2310
|
+
readonly generation: string;
|
|
2311
|
+
/**
|
|
2312
|
+
* The version: its number (`1.3`), its ERN or, for a draft, its draft id (`dv-...`).
|
|
2313
|
+
* @type {string}
|
|
2314
|
+
* @memberof TariffsApiTariffServiceGetVersion
|
|
2315
|
+
*/
|
|
2316
|
+
readonly version: string;
|
|
2317
|
+
}
|
|
2318
|
+
/**
|
|
2319
|
+
* Request parameters for tariffServiceListApprovalRoles operation in TariffsApi.
|
|
2320
|
+
* @export
|
|
2321
|
+
* @interface TariffsApiTariffServiceListApprovalRolesRequest
|
|
2322
|
+
*/
|
|
2323
|
+
export interface TariffsApiTariffServiceListApprovalRolesRequest {
|
|
2324
|
+
/**
|
|
2325
|
+
*
|
|
2326
|
+
* @type {number}
|
|
2327
|
+
* @memberof TariffsApiTariffServiceListApprovalRoles
|
|
2328
|
+
*/
|
|
2329
|
+
readonly pageSize?: number;
|
|
2330
|
+
/**
|
|
2331
|
+
*
|
|
2332
|
+
* @type {string}
|
|
2333
|
+
* @memberof TariffsApiTariffServiceListApprovalRoles
|
|
2334
|
+
*/
|
|
2335
|
+
readonly pageToken?: string;
|
|
2336
|
+
/**
|
|
2337
|
+
*
|
|
2338
|
+
* @type {string}
|
|
2339
|
+
* @memberof TariffsApiTariffServiceListApprovalRoles
|
|
2340
|
+
*/
|
|
2341
|
+
readonly filter?: string;
|
|
2342
|
+
/**
|
|
2343
|
+
*
|
|
2344
|
+
* @type {string}
|
|
2345
|
+
* @memberof TariffsApiTariffServiceListApprovalRoles
|
|
2346
|
+
*/
|
|
2347
|
+
readonly search?: string;
|
|
2348
|
+
/**
|
|
2349
|
+
*
|
|
2350
|
+
* @type {string}
|
|
2351
|
+
* @memberof TariffsApiTariffServiceListApprovalRoles
|
|
2352
|
+
*/
|
|
2353
|
+
readonly order?: string;
|
|
2354
|
+
/**
|
|
2355
|
+
*
|
|
2356
|
+
* @type {string}
|
|
2357
|
+
* @memberof TariffsApiTariffServiceListApprovalRoles
|
|
2358
|
+
*/
|
|
2359
|
+
readonly expand?: string;
|
|
2360
|
+
/**
|
|
2361
|
+
*
|
|
2362
|
+
* @type {string}
|
|
2363
|
+
* @memberof TariffsApiTariffServiceListApprovalRoles
|
|
2364
|
+
*/
|
|
2365
|
+
readonly filters?: string;
|
|
2366
|
+
}
|
|
2367
|
+
/**
|
|
2368
|
+
* Request parameters for tariffServiceListCoreConfigs operation in TariffsApi.
|
|
2369
|
+
* @export
|
|
2370
|
+
* @interface TariffsApiTariffServiceListCoreConfigsRequest
|
|
2371
|
+
*/
|
|
2372
|
+
export interface TariffsApiTariffServiceListCoreConfigsRequest {
|
|
2373
|
+
/**
|
|
2374
|
+
*
|
|
2375
|
+
* @type {number}
|
|
2376
|
+
* @memberof TariffsApiTariffServiceListCoreConfigs
|
|
2377
|
+
*/
|
|
2378
|
+
readonly pageSize?: number;
|
|
2379
|
+
/**
|
|
2380
|
+
*
|
|
2381
|
+
* @type {string}
|
|
2382
|
+
* @memberof TariffsApiTariffServiceListCoreConfigs
|
|
2383
|
+
*/
|
|
2384
|
+
readonly pageToken?: string;
|
|
2385
|
+
/**
|
|
2386
|
+
*
|
|
2387
|
+
* @type {string}
|
|
2388
|
+
* @memberof TariffsApiTariffServiceListCoreConfigs
|
|
2389
|
+
*/
|
|
2390
|
+
readonly filter?: string;
|
|
2391
|
+
/**
|
|
2392
|
+
*
|
|
2393
|
+
* @type {string}
|
|
2394
|
+
* @memberof TariffsApiTariffServiceListCoreConfigs
|
|
2395
|
+
*/
|
|
2396
|
+
readonly search?: string;
|
|
2397
|
+
/**
|
|
2398
|
+
*
|
|
2399
|
+
* @type {string}
|
|
2400
|
+
* @memberof TariffsApiTariffServiceListCoreConfigs
|
|
2401
|
+
*/
|
|
2402
|
+
readonly order?: string;
|
|
2403
|
+
/**
|
|
2404
|
+
*
|
|
2405
|
+
* @type {string}
|
|
2406
|
+
* @memberof TariffsApiTariffServiceListCoreConfigs
|
|
2407
|
+
*/
|
|
2408
|
+
readonly expand?: string;
|
|
2409
|
+
/**
|
|
2410
|
+
*
|
|
2411
|
+
* @type {string}
|
|
2412
|
+
* @memberof TariffsApiTariffServiceListCoreConfigs
|
|
2413
|
+
*/
|
|
2414
|
+
readonly filters?: string;
|
|
2415
|
+
}
|
|
2416
|
+
/**
|
|
2417
|
+
* Request parameters for tariffServiceListGenerations operation in TariffsApi.
|
|
2418
|
+
* @export
|
|
2419
|
+
* @interface TariffsApiTariffServiceListGenerationsRequest
|
|
2420
|
+
*/
|
|
2421
|
+
export interface TariffsApiTariffServiceListGenerationsRequest {
|
|
2422
|
+
/**
|
|
2423
|
+
*
|
|
2424
|
+
* @type {number}
|
|
2425
|
+
* @memberof TariffsApiTariffServiceListGenerations
|
|
2426
|
+
*/
|
|
2427
|
+
readonly pageSize?: number;
|
|
2428
|
+
/**
|
|
2429
|
+
*
|
|
2430
|
+
* @type {string}
|
|
2431
|
+
* @memberof TariffsApiTariffServiceListGenerations
|
|
2432
|
+
*/
|
|
2433
|
+
readonly pageToken?: string;
|
|
2434
|
+
/**
|
|
2435
|
+
*
|
|
2436
|
+
* @type {string}
|
|
2437
|
+
* @memberof TariffsApiTariffServiceListGenerations
|
|
2438
|
+
*/
|
|
2439
|
+
readonly filter?: string;
|
|
2440
|
+
/**
|
|
2441
|
+
*
|
|
2442
|
+
* @type {string}
|
|
2443
|
+
* @memberof TariffsApiTariffServiceListGenerations
|
|
2444
|
+
*/
|
|
2445
|
+
readonly search?: string;
|
|
2446
|
+
/**
|
|
2447
|
+
*
|
|
2448
|
+
* @type {string}
|
|
2449
|
+
* @memberof TariffsApiTariffServiceListGenerations
|
|
2450
|
+
*/
|
|
2451
|
+
readonly order?: string;
|
|
2452
|
+
/**
|
|
2453
|
+
*
|
|
2454
|
+
* @type {string}
|
|
2455
|
+
* @memberof TariffsApiTariffServiceListGenerations
|
|
2456
|
+
*/
|
|
2457
|
+
readonly expand?: string;
|
|
2458
|
+
/**
|
|
2459
|
+
*
|
|
2460
|
+
* @type {string}
|
|
2461
|
+
* @memberof TariffsApiTariffServiceListGenerations
|
|
2462
|
+
*/
|
|
2463
|
+
readonly filters?: string;
|
|
2464
|
+
}
|
|
2465
|
+
/**
|
|
2466
|
+
* Request parameters for tariffServiceListLinesOfInsurance operation in TariffsApi.
|
|
2467
|
+
* @export
|
|
2468
|
+
* @interface TariffsApiTariffServiceListLinesOfInsuranceRequest
|
|
2469
|
+
*/
|
|
2470
|
+
export interface TariffsApiTariffServiceListLinesOfInsuranceRequest {
|
|
2471
|
+
/**
|
|
2472
|
+
*
|
|
2473
|
+
* @type {number}
|
|
2474
|
+
* @memberof TariffsApiTariffServiceListLinesOfInsurance
|
|
2475
|
+
*/
|
|
2476
|
+
readonly pageSize?: number;
|
|
2477
|
+
/**
|
|
2478
|
+
*
|
|
2479
|
+
* @type {string}
|
|
2480
|
+
* @memberof TariffsApiTariffServiceListLinesOfInsurance
|
|
2481
|
+
*/
|
|
2482
|
+
readonly pageToken?: string;
|
|
2483
|
+
/**
|
|
2484
|
+
*
|
|
2485
|
+
* @type {string}
|
|
2486
|
+
* @memberof TariffsApiTariffServiceListLinesOfInsurance
|
|
2487
|
+
*/
|
|
2488
|
+
readonly filter?: string;
|
|
2489
|
+
/**
|
|
2490
|
+
*
|
|
2491
|
+
* @type {string}
|
|
2492
|
+
* @memberof TariffsApiTariffServiceListLinesOfInsurance
|
|
2493
|
+
*/
|
|
2494
|
+
readonly search?: string;
|
|
2495
|
+
/**
|
|
2496
|
+
*
|
|
2497
|
+
* @type {string}
|
|
2498
|
+
* @memberof TariffsApiTariffServiceListLinesOfInsurance
|
|
2499
|
+
*/
|
|
2500
|
+
readonly order?: string;
|
|
2501
|
+
/**
|
|
2502
|
+
*
|
|
2503
|
+
* @type {string}
|
|
2504
|
+
* @memberof TariffsApiTariffServiceListLinesOfInsurance
|
|
2505
|
+
*/
|
|
2506
|
+
readonly expand?: string;
|
|
2507
|
+
/**
|
|
2508
|
+
*
|
|
2509
|
+
* @type {string}
|
|
2510
|
+
* @memberof TariffsApiTariffServiceListLinesOfInsurance
|
|
2511
|
+
*/
|
|
2512
|
+
readonly filters?: string;
|
|
2513
|
+
}
|
|
2514
|
+
/**
|
|
2515
|
+
* Request parameters for tariffServiceListPartnerRoles operation in TariffsApi.
|
|
2516
|
+
* @export
|
|
2517
|
+
* @interface TariffsApiTariffServiceListPartnerRolesRequest
|
|
2518
|
+
*/
|
|
2519
|
+
export interface TariffsApiTariffServiceListPartnerRolesRequest {
|
|
2520
|
+
/**
|
|
2521
|
+
*
|
|
2522
|
+
* @type {number}
|
|
2523
|
+
* @memberof TariffsApiTariffServiceListPartnerRoles
|
|
2524
|
+
*/
|
|
2525
|
+
readonly pageSize?: number;
|
|
2526
|
+
/**
|
|
2527
|
+
*
|
|
2528
|
+
* @type {string}
|
|
2529
|
+
* @memberof TariffsApiTariffServiceListPartnerRoles
|
|
2530
|
+
*/
|
|
2531
|
+
readonly pageToken?: string;
|
|
2532
|
+
/**
|
|
2533
|
+
*
|
|
2534
|
+
* @type {string}
|
|
2535
|
+
* @memberof TariffsApiTariffServiceListPartnerRoles
|
|
2536
|
+
*/
|
|
2537
|
+
readonly filter?: string;
|
|
2538
|
+
/**
|
|
2539
|
+
*
|
|
2540
|
+
* @type {string}
|
|
2541
|
+
* @memberof TariffsApiTariffServiceListPartnerRoles
|
|
2542
|
+
*/
|
|
2543
|
+
readonly search?: string;
|
|
2544
|
+
/**
|
|
2545
|
+
*
|
|
2546
|
+
* @type {string}
|
|
2547
|
+
* @memberof TariffsApiTariffServiceListPartnerRoles
|
|
2548
|
+
*/
|
|
2549
|
+
readonly order?: string;
|
|
2550
|
+
/**
|
|
2551
|
+
*
|
|
2552
|
+
* @type {string}
|
|
2553
|
+
* @memberof TariffsApiTariffServiceListPartnerRoles
|
|
2554
|
+
*/
|
|
2555
|
+
readonly expand?: string;
|
|
2556
|
+
/**
|
|
2557
|
+
*
|
|
2558
|
+
* @type {string}
|
|
2559
|
+
* @memberof TariffsApiTariffServiceListPartnerRoles
|
|
2560
|
+
*/
|
|
2561
|
+
readonly filters?: string;
|
|
2562
|
+
}
|
|
2563
|
+
/**
|
|
2564
|
+
* Request parameters for tariffServiceListPartnerTypes operation in TariffsApi.
|
|
2565
|
+
* @export
|
|
2566
|
+
* @interface TariffsApiTariffServiceListPartnerTypesRequest
|
|
2567
|
+
*/
|
|
2568
|
+
export interface TariffsApiTariffServiceListPartnerTypesRequest {
|
|
2569
|
+
/**
|
|
2570
|
+
*
|
|
2571
|
+
* @type {number}
|
|
2572
|
+
* @memberof TariffsApiTariffServiceListPartnerTypes
|
|
2573
|
+
*/
|
|
2574
|
+
readonly pageSize?: number;
|
|
2575
|
+
/**
|
|
2576
|
+
*
|
|
2577
|
+
* @type {string}
|
|
2578
|
+
* @memberof TariffsApiTariffServiceListPartnerTypes
|
|
2579
|
+
*/
|
|
2580
|
+
readonly pageToken?: string;
|
|
2581
|
+
/**
|
|
2582
|
+
*
|
|
2583
|
+
* @type {string}
|
|
2584
|
+
* @memberof TariffsApiTariffServiceListPartnerTypes
|
|
2585
|
+
*/
|
|
2586
|
+
readonly filter?: string;
|
|
2587
|
+
/**
|
|
2588
|
+
*
|
|
2589
|
+
* @type {string}
|
|
2590
|
+
* @memberof TariffsApiTariffServiceListPartnerTypes
|
|
2591
|
+
*/
|
|
2592
|
+
readonly search?: string;
|
|
2593
|
+
/**
|
|
2594
|
+
*
|
|
2595
|
+
* @type {string}
|
|
2596
|
+
* @memberof TariffsApiTariffServiceListPartnerTypes
|
|
2597
|
+
*/
|
|
2598
|
+
readonly order?: string;
|
|
2599
|
+
/**
|
|
2600
|
+
*
|
|
2601
|
+
* @type {string}
|
|
2602
|
+
* @memberof TariffsApiTariffServiceListPartnerTypes
|
|
2603
|
+
*/
|
|
2604
|
+
readonly expand?: string;
|
|
2605
|
+
/**
|
|
2606
|
+
*
|
|
2607
|
+
* @type {string}
|
|
2608
|
+
* @memberof TariffsApiTariffServiceListPartnerTypes
|
|
2609
|
+
*/
|
|
2610
|
+
readonly filters?: string;
|
|
2611
|
+
}
|
|
2612
|
+
/**
|
|
2613
|
+
* Request parameters for tariffServiceListTariffs operation in TariffsApi.
|
|
2614
|
+
* @export
|
|
2615
|
+
* @interface TariffsApiTariffServiceListTariffsRequest
|
|
2616
|
+
*/
|
|
2617
|
+
export interface TariffsApiTariffServiceListTariffsRequest {
|
|
2618
|
+
/**
|
|
2619
|
+
*
|
|
2620
|
+
* @type {number}
|
|
2621
|
+
* @memberof TariffsApiTariffServiceListTariffs
|
|
2622
|
+
*/
|
|
2623
|
+
readonly pageSize?: number;
|
|
2624
|
+
/**
|
|
2625
|
+
*
|
|
2626
|
+
* @type {string}
|
|
2627
|
+
* @memberof TariffsApiTariffServiceListTariffs
|
|
2628
|
+
*/
|
|
2629
|
+
readonly pageToken?: string;
|
|
2630
|
+
/**
|
|
2631
|
+
*
|
|
2632
|
+
* @type {string}
|
|
2633
|
+
* @memberof TariffsApiTariffServiceListTariffs
|
|
2634
|
+
*/
|
|
2635
|
+
readonly filter?: string;
|
|
2636
|
+
/**
|
|
2637
|
+
*
|
|
2638
|
+
* @type {string}
|
|
2639
|
+
* @memberof TariffsApiTariffServiceListTariffs
|
|
2640
|
+
*/
|
|
2641
|
+
readonly search?: string;
|
|
2642
|
+
/**
|
|
2643
|
+
*
|
|
2644
|
+
* @type {string}
|
|
2645
|
+
* @memberof TariffsApiTariffServiceListTariffs
|
|
2646
|
+
*/
|
|
2647
|
+
readonly order?: string;
|
|
2648
|
+
/**
|
|
2649
|
+
*
|
|
2650
|
+
* @type {string}
|
|
2651
|
+
* @memberof TariffsApiTariffServiceListTariffs
|
|
2652
|
+
*/
|
|
2653
|
+
readonly expand?: string;
|
|
2654
|
+
/**
|
|
2655
|
+
*
|
|
2656
|
+
* @type {string}
|
|
2657
|
+
* @memberof TariffsApiTariffServiceListTariffs
|
|
2658
|
+
*/
|
|
2659
|
+
readonly filters?: string;
|
|
2660
|
+
}
|
|
2661
|
+
/**
|
|
2662
|
+
* Request parameters for tariffServiceListVersions operation in TariffsApi.
|
|
2663
|
+
* @export
|
|
2664
|
+
* @interface TariffsApiTariffServiceListVersionsRequest
|
|
2665
|
+
*/
|
|
2666
|
+
export interface TariffsApiTariffServiceListVersionsRequest {
|
|
2667
|
+
/**
|
|
2668
|
+
*
|
|
2669
|
+
* @type {number}
|
|
2670
|
+
* @memberof TariffsApiTariffServiceListVersions
|
|
2671
|
+
*/
|
|
2672
|
+
readonly pageSize?: number;
|
|
2673
|
+
/**
|
|
2674
|
+
*
|
|
2675
|
+
* @type {string}
|
|
2676
|
+
* @memberof TariffsApiTariffServiceListVersions
|
|
2677
|
+
*/
|
|
2678
|
+
readonly pageToken?: string;
|
|
2679
|
+
/**
|
|
2680
|
+
*
|
|
2681
|
+
* @type {string}
|
|
2682
|
+
* @memberof TariffsApiTariffServiceListVersions
|
|
2683
|
+
*/
|
|
2684
|
+
readonly filter?: string;
|
|
2685
|
+
/**
|
|
2686
|
+
*
|
|
2687
|
+
* @type {string}
|
|
2688
|
+
* @memberof TariffsApiTariffServiceListVersions
|
|
2689
|
+
*/
|
|
2690
|
+
readonly search?: string;
|
|
2691
|
+
/**
|
|
2692
|
+
*
|
|
2693
|
+
* @type {string}
|
|
2694
|
+
* @memberof TariffsApiTariffServiceListVersions
|
|
2695
|
+
*/
|
|
2696
|
+
readonly order?: string;
|
|
2697
|
+
/**
|
|
2698
|
+
*
|
|
2699
|
+
* @type {string}
|
|
2700
|
+
* @memberof TariffsApiTariffServiceListVersions
|
|
2701
|
+
*/
|
|
2702
|
+
readonly expand?: string;
|
|
2703
|
+
/**
|
|
2704
|
+
*
|
|
2705
|
+
* @type {string}
|
|
2706
|
+
* @memberof TariffsApiTariffServiceListVersions
|
|
2707
|
+
*/
|
|
2708
|
+
readonly filters?: string;
|
|
2709
|
+
}
|
|
2710
|
+
/**
|
|
2711
|
+
* Request parameters for tariffServicePublishCoreConfig operation in TariffsApi.
|
|
2712
|
+
* @export
|
|
2713
|
+
* @interface TariffsApiTariffServicePublishCoreConfigRequest
|
|
2714
|
+
*/
|
|
2715
|
+
export interface TariffsApiTariffServicePublishCoreConfigRequest {
|
|
2716
|
+
/**
|
|
2717
|
+
* The slug of the tariff.
|
|
2718
|
+
* @type {string}
|
|
2719
|
+
* @memberof TariffsApiTariffServicePublishCoreConfig
|
|
2720
|
+
*/
|
|
2721
|
+
readonly tariffSlug: string;
|
|
2722
|
+
/**
|
|
2723
|
+
* The asset\'s name, `<type>.v<n>`.
|
|
2724
|
+
* @type {string}
|
|
2725
|
+
* @memberof TariffsApiTariffServicePublishCoreConfig
|
|
2726
|
+
*/
|
|
2727
|
+
readonly name: string;
|
|
2728
|
+
/**
|
|
2729
|
+
* The core config\'s `etag` as last read, sent back unchanged.
|
|
2730
|
+
* @type {string}
|
|
2731
|
+
* @memberof TariffsApiTariffServicePublishCoreConfig
|
|
2732
|
+
*/
|
|
2733
|
+
readonly ifMatch: string;
|
|
2734
|
+
/**
|
|
2735
|
+
*
|
|
2736
|
+
* @type {object}
|
|
2737
|
+
* @memberof TariffsApiTariffServicePublishCoreConfig
|
|
2738
|
+
*/
|
|
2739
|
+
readonly body: object;
|
|
2740
|
+
}
|
|
2741
|
+
/**
|
|
2742
|
+
* Request parameters for tariffServicePublishVersion operation in TariffsApi.
|
|
2743
|
+
* @export
|
|
2744
|
+
* @interface TariffsApiTariffServicePublishVersionRequest
|
|
2745
|
+
*/
|
|
2746
|
+
export interface TariffsApiTariffServicePublishVersionRequest {
|
|
2747
|
+
/**
|
|
2748
|
+
* The slug of the tariff.
|
|
2749
|
+
* @type {string}
|
|
2750
|
+
* @memberof TariffsApiTariffServicePublishVersion
|
|
2751
|
+
*/
|
|
2752
|
+
readonly tariffSlug: string;
|
|
2753
|
+
/**
|
|
2754
|
+
* The name of the generation.
|
|
2755
|
+
* @type {string}
|
|
2756
|
+
* @memberof TariffsApiTariffServicePublishVersion
|
|
2757
|
+
*/
|
|
2758
|
+
readonly generation: string;
|
|
2759
|
+
/**
|
|
2760
|
+
* The generation\'s `etag` as last read, sent back unchanged.
|
|
2761
|
+
* @type {string}
|
|
2762
|
+
* @memberof TariffsApiTariffServicePublishVersion
|
|
2763
|
+
*/
|
|
2764
|
+
readonly ifMatch: string;
|
|
2765
|
+
/**
|
|
2766
|
+
*
|
|
2767
|
+
* @type {PublishVersionBody}
|
|
2768
|
+
* @memberof TariffsApiTariffServicePublishVersion
|
|
2769
|
+
*/
|
|
2770
|
+
readonly body: PublishVersionBody;
|
|
2771
|
+
}
|
|
2772
|
+
/**
|
|
2773
|
+
* Request parameters for tariffServicePutCoreConfigDocument operation in TariffsApi.
|
|
2774
|
+
* @export
|
|
2775
|
+
* @interface TariffsApiTariffServicePutCoreConfigDocumentRequest
|
|
2776
|
+
*/
|
|
2777
|
+
export interface TariffsApiTariffServicePutCoreConfigDocumentRequest {
|
|
2778
|
+
/**
|
|
2779
|
+
* The slug of the tariff that owns the core config.
|
|
2780
|
+
* @type {string}
|
|
2781
|
+
* @memberof TariffsApiTariffServicePutCoreConfigDocument
|
|
2782
|
+
*/
|
|
2783
|
+
readonly tariffSlug: string;
|
|
2784
|
+
/**
|
|
2785
|
+
* The core config\'s name, such as `insurance_core.v1`.
|
|
2786
|
+
* @type {string}
|
|
2787
|
+
* @memberof TariffsApiTariffServicePutCoreConfigDocument
|
|
2788
|
+
*/
|
|
2789
|
+
readonly name: string;
|
|
2790
|
+
/**
|
|
2791
|
+
* The core config\'s `etag` as last read, sent back unchanged.
|
|
2792
|
+
* @type {string}
|
|
2793
|
+
* @memberof TariffsApiTariffServicePutCoreConfigDocument
|
|
2794
|
+
*/
|
|
2795
|
+
readonly ifMatch: string;
|
|
2796
|
+
/**
|
|
2797
|
+
*
|
|
2798
|
+
* @type {PutCoreConfigDocumentBody}
|
|
2799
|
+
* @memberof TariffsApiTariffServicePutCoreConfigDocument
|
|
2800
|
+
*/
|
|
2801
|
+
readonly body: PutCoreConfigDocumentBody;
|
|
2802
|
+
}
|
|
2803
|
+
/**
|
|
2804
|
+
* Request parameters for tariffServicePutFactorFile operation in TariffsApi.
|
|
2805
|
+
* @export
|
|
2806
|
+
* @interface TariffsApiTariffServicePutFactorFileRequest
|
|
2807
|
+
*/
|
|
2808
|
+
export interface TariffsApiTariffServicePutFactorFileRequest {
|
|
2809
|
+
/**
|
|
2810
|
+
* The slug of the tariff that owns the core config.
|
|
2811
|
+
* @type {string}
|
|
2812
|
+
* @memberof TariffsApiTariffServicePutFactorFile
|
|
2813
|
+
*/
|
|
2814
|
+
readonly tariffSlug: string;
|
|
2815
|
+
/**
|
|
2816
|
+
* The core config\'s name, such as `insurance_core.v1`.
|
|
2817
|
+
* @type {string}
|
|
2818
|
+
* @memberof TariffsApiTariffServicePutFactorFile
|
|
2819
|
+
*/
|
|
2820
|
+
readonly name: string;
|
|
2821
|
+
/**
|
|
2822
|
+
* The factor\'s group: 1 to 64 lowercase letters, digits, `.`, `_` or `-`, starting with a letter or digit.
|
|
2823
|
+
* @type {string}
|
|
2824
|
+
* @memberof TariffsApiTariffServicePutFactorFile
|
|
2825
|
+
*/
|
|
2826
|
+
readonly group: string;
|
|
2827
|
+
/**
|
|
2828
|
+
* The core config\'s `etag` as last read (`coreConfigEtag` on a named range or factor read), sent back unchanged: every write to its named ranges and factors changes the core config.
|
|
2829
|
+
* @type {string}
|
|
2830
|
+
* @memberof TariffsApiTariffServicePutFactorFile
|
|
2831
|
+
*/
|
|
2832
|
+
readonly ifMatch: string;
|
|
2833
|
+
/**
|
|
2834
|
+
*
|
|
2835
|
+
* @type {PutFactorFileBody}
|
|
2836
|
+
* @memberof TariffsApiTariffServicePutFactorFile
|
|
2837
|
+
*/
|
|
2838
|
+
readonly body: PutFactorFileBody;
|
|
2839
|
+
}
|
|
2840
|
+
/**
|
|
2841
|
+
* Request parameters for tariffServicePutNamedRangeFile operation in TariffsApi.
|
|
2842
|
+
* @export
|
|
2843
|
+
* @interface TariffsApiTariffServicePutNamedRangeFileRequest
|
|
2844
|
+
*/
|
|
2845
|
+
export interface TariffsApiTariffServicePutNamedRangeFileRequest {
|
|
2846
|
+
/**
|
|
2847
|
+
* The slug of the tariff that owns the core config.
|
|
2848
|
+
* @type {string}
|
|
2849
|
+
* @memberof TariffsApiTariffServicePutNamedRangeFile
|
|
2850
|
+
*/
|
|
2851
|
+
readonly tariffSlug: string;
|
|
2852
|
+
/**
|
|
2853
|
+
* The core config\'s name, such as `insurance_core.v1`.
|
|
2854
|
+
* @type {string}
|
|
2855
|
+
* @memberof TariffsApiTariffServicePutNamedRangeFile
|
|
2856
|
+
*/
|
|
2857
|
+
readonly name: string;
|
|
2858
|
+
/**
|
|
2859
|
+
* The lookup file\'s name within the core config: 1 to 64 lowercase letters, digits, `.`, `_` or `-`, starting with a letter or digit.
|
|
2860
|
+
* @type {string}
|
|
2861
|
+
* @memberof TariffsApiTariffServicePutNamedRangeFile
|
|
2862
|
+
*/
|
|
2863
|
+
readonly fileName: string;
|
|
2864
|
+
/**
|
|
2865
|
+
* The core config\'s `etag` as last read (`coreConfigEtag` on a named range or factor read), sent back unchanged: every write to its named ranges and factors changes the core config.
|
|
2866
|
+
* @type {string}
|
|
2867
|
+
* @memberof TariffsApiTariffServicePutNamedRangeFile
|
|
2868
|
+
*/
|
|
2869
|
+
readonly ifMatch: string;
|
|
2870
|
+
/**
|
|
2871
|
+
*
|
|
2872
|
+
* @type {PutNamedRangeFileBody}
|
|
2873
|
+
* @memberof TariffsApiTariffServicePutNamedRangeFile
|
|
2874
|
+
*/
|
|
2875
|
+
readonly body: PutNamedRangeFileBody;
|
|
2876
|
+
}
|
|
2877
|
+
/**
|
|
2878
|
+
* Request parameters for tariffServicePutNamedRangeJson operation in TariffsApi.
|
|
2879
|
+
* @export
|
|
2880
|
+
* @interface TariffsApiTariffServicePutNamedRangeJsonRequest
|
|
2881
|
+
*/
|
|
2882
|
+
export interface TariffsApiTariffServicePutNamedRangeJsonRequest {
|
|
2883
|
+
/**
|
|
2884
|
+
* The slug of the tariff that owns the core config.
|
|
2885
|
+
* @type {string}
|
|
2886
|
+
* @memberof TariffsApiTariffServicePutNamedRangeJson
|
|
2887
|
+
*/
|
|
2888
|
+
readonly tariffSlug: string;
|
|
2889
|
+
/**
|
|
2890
|
+
* The core config\'s name, such as `insurance_core.v1`.
|
|
2891
|
+
* @type {string}
|
|
2892
|
+
* @memberof TariffsApiTariffServicePutNamedRangeJson
|
|
2893
|
+
*/
|
|
2894
|
+
readonly name: string;
|
|
2895
|
+
/**
|
|
2896
|
+
* The lookup file\'s name within the core config: 1 to 64 lowercase letters, digits, `.`, `_` or `-`, starting with a letter or digit.
|
|
2897
|
+
* @type {string}
|
|
2898
|
+
* @memberof TariffsApiTariffServicePutNamedRangeJson
|
|
2899
|
+
*/
|
|
2900
|
+
readonly fileName: string;
|
|
2901
|
+
/**
|
|
2902
|
+
* The core config\'s `etag` as last read (`coreConfigEtag` on a named range or factor read), sent back unchanged: every write to its named ranges and factors changes the core config.
|
|
2903
|
+
* @type {string}
|
|
2904
|
+
* @memberof TariffsApiTariffServicePutNamedRangeJson
|
|
2905
|
+
*/
|
|
2906
|
+
readonly ifMatch: string;
|
|
2907
|
+
/**
|
|
2908
|
+
*
|
|
2909
|
+
* @type {PutNamedRangeJsonBody}
|
|
2910
|
+
* @memberof TariffsApiTariffServicePutNamedRangeJson
|
|
2911
|
+
*/
|
|
2912
|
+
readonly body: PutNamedRangeJsonBody;
|
|
2913
|
+
}
|
|
2914
|
+
/**
|
|
2915
|
+
* Request parameters for tariffServiceSetActiveVersion operation in TariffsApi.
|
|
2916
|
+
* @export
|
|
2917
|
+
* @interface TariffsApiTariffServiceSetActiveVersionRequest
|
|
2918
|
+
*/
|
|
2919
|
+
export interface TariffsApiTariffServiceSetActiveVersionRequest {
|
|
2920
|
+
/**
|
|
2921
|
+
* The slug of the tariff.
|
|
2922
|
+
* @type {string}
|
|
2923
|
+
* @memberof TariffsApiTariffServiceSetActiveVersion
|
|
2924
|
+
*/
|
|
2925
|
+
readonly tariffSlug: string;
|
|
2926
|
+
/**
|
|
2927
|
+
* The name of the generation.
|
|
2928
|
+
* @type {string}
|
|
2929
|
+
* @memberof TariffsApiTariffServiceSetActiveVersion
|
|
2930
|
+
*/
|
|
2931
|
+
readonly generation: string;
|
|
2932
|
+
/**
|
|
2933
|
+
* The generation\'s `etag` as last read, sent back unchanged.
|
|
2934
|
+
* @type {string}
|
|
2935
|
+
* @memberof TariffsApiTariffServiceSetActiveVersion
|
|
2936
|
+
*/
|
|
2937
|
+
readonly ifMatch: string;
|
|
2938
|
+
/**
|
|
2939
|
+
*
|
|
2940
|
+
* @type {SetActiveVersionBody}
|
|
2941
|
+
* @memberof TariffsApiTariffServiceSetActiveVersion
|
|
2942
|
+
*/
|
|
2943
|
+
readonly body: SetActiveVersionBody;
|
|
2944
|
+
}
|
|
2945
|
+
/**
|
|
2946
|
+
* Request parameters for tariffServiceSetVersionStatus operation in TariffsApi.
|
|
2947
|
+
* @export
|
|
2948
|
+
* @interface TariffsApiTariffServiceSetVersionStatusRequest
|
|
2949
|
+
*/
|
|
2950
|
+
export interface TariffsApiTariffServiceSetVersionStatusRequest {
|
|
2951
|
+
/**
|
|
2952
|
+
* The slug of the tariff.
|
|
2953
|
+
* @type {string}
|
|
2954
|
+
* @memberof TariffsApiTariffServiceSetVersionStatus
|
|
2955
|
+
*/
|
|
2956
|
+
readonly tariffSlug: string;
|
|
2957
|
+
/**
|
|
2958
|
+
* The name of the generation.
|
|
2959
|
+
* @type {string}
|
|
2960
|
+
* @memberof TariffsApiTariffServiceSetVersionStatus
|
|
2961
|
+
*/
|
|
2962
|
+
readonly generation: string;
|
|
2963
|
+
/**
|
|
2964
|
+
* The version: its number (`1.2`), its ERN or a draft id (`dv-...`).
|
|
2965
|
+
* @type {string}
|
|
2966
|
+
* @memberof TariffsApiTariffServiceSetVersionStatus
|
|
2967
|
+
*/
|
|
2968
|
+
readonly version: string;
|
|
2969
|
+
/**
|
|
2970
|
+
* The draft\'s `etag` when the version is a draft, otherwise its generation\'s `etag`, as last read and sent back unchanged.
|
|
2971
|
+
* @type {string}
|
|
2972
|
+
* @memberof TariffsApiTariffServiceSetVersionStatus
|
|
2973
|
+
*/
|
|
2974
|
+
readonly ifMatch: string;
|
|
2975
|
+
/**
|
|
2976
|
+
*
|
|
2977
|
+
* @type {SetVersionStatusBody}
|
|
2978
|
+
* @memberof TariffsApiTariffServiceSetVersionStatus
|
|
2979
|
+
*/
|
|
2980
|
+
readonly body: SetVersionStatusBody;
|
|
2981
|
+
}
|
|
2982
|
+
/**
|
|
2983
|
+
* Request parameters for tariffServiceUpdateCoreConfig operation in TariffsApi.
|
|
2984
|
+
* @export
|
|
2985
|
+
* @interface TariffsApiTariffServiceUpdateCoreConfigRequest
|
|
2986
|
+
*/
|
|
2987
|
+
export interface TariffsApiTariffServiceUpdateCoreConfigRequest {
|
|
2988
|
+
/**
|
|
2989
|
+
* The slug of the tariff.
|
|
2990
|
+
* @type {string}
|
|
2991
|
+
* @memberof TariffsApiTariffServiceUpdateCoreConfig
|
|
2992
|
+
*/
|
|
2993
|
+
readonly tariffSlug: string;
|
|
2994
|
+
/**
|
|
2995
|
+
* The asset\'s name, `<type>.v<n>`.
|
|
2996
|
+
* @type {string}
|
|
2997
|
+
* @memberof TariffsApiTariffServiceUpdateCoreConfig
|
|
2998
|
+
*/
|
|
2999
|
+
readonly name: string;
|
|
3000
|
+
/**
|
|
3001
|
+
* The core config\'s `etag` as last read, sent back unchanged.
|
|
3002
|
+
* @type {string}
|
|
3003
|
+
* @memberof TariffsApiTariffServiceUpdateCoreConfig
|
|
3004
|
+
*/
|
|
3005
|
+
readonly ifMatch: string;
|
|
3006
|
+
/**
|
|
3007
|
+
*
|
|
3008
|
+
* @type {UpdateCoreConfigBody}
|
|
3009
|
+
* @memberof TariffsApiTariffServiceUpdateCoreConfig
|
|
3010
|
+
*/
|
|
3011
|
+
readonly body: UpdateCoreConfigBody;
|
|
3012
|
+
}
|
|
3013
|
+
/**
|
|
3014
|
+
* Request parameters for tariffServiceUpdateGeneration operation in TariffsApi.
|
|
3015
|
+
* @export
|
|
3016
|
+
* @interface TariffsApiTariffServiceUpdateGenerationRequest
|
|
3017
|
+
*/
|
|
3018
|
+
export interface TariffsApiTariffServiceUpdateGenerationRequest {
|
|
3019
|
+
/**
|
|
3020
|
+
* The slug of the tariff.
|
|
3021
|
+
* @type {string}
|
|
3022
|
+
* @memberof TariffsApiTariffServiceUpdateGeneration
|
|
3023
|
+
*/
|
|
3024
|
+
readonly tariffSlug: string;
|
|
3025
|
+
/**
|
|
3026
|
+
* The name of the generation.
|
|
3027
|
+
* @type {string}
|
|
3028
|
+
* @memberof TariffsApiTariffServiceUpdateGeneration
|
|
3029
|
+
*/
|
|
3030
|
+
readonly generation: string;
|
|
3031
|
+
/**
|
|
3032
|
+
* The generation\'s `etag` as last read, sent back unchanged.
|
|
3033
|
+
* @type {string}
|
|
3034
|
+
* @memberof TariffsApiTariffServiceUpdateGeneration
|
|
3035
|
+
*/
|
|
3036
|
+
readonly ifMatch: string;
|
|
3037
|
+
/**
|
|
3038
|
+
*
|
|
3039
|
+
* @type {UpdateGenerationBody}
|
|
3040
|
+
* @memberof TariffsApiTariffServiceUpdateGeneration
|
|
3041
|
+
*/
|
|
3042
|
+
readonly body: UpdateGenerationBody;
|
|
3043
|
+
}
|
|
3044
|
+
/**
|
|
3045
|
+
* Request parameters for tariffServiceUpdateTariff operation in TariffsApi.
|
|
3046
|
+
* @export
|
|
3047
|
+
* @interface TariffsApiTariffServiceUpdateTariffRequest
|
|
3048
|
+
*/
|
|
3049
|
+
export interface TariffsApiTariffServiceUpdateTariffRequest {
|
|
3050
|
+
/**
|
|
3051
|
+
* The slug of the tariff.
|
|
3052
|
+
* @type {string}
|
|
3053
|
+
* @memberof TariffsApiTariffServiceUpdateTariff
|
|
3054
|
+
*/
|
|
3055
|
+
readonly slug: string;
|
|
3056
|
+
/**
|
|
3057
|
+
* The tariff\'s `etag` as last read, sent back unchanged.
|
|
3058
|
+
* @type {string}
|
|
3059
|
+
* @memberof TariffsApiTariffServiceUpdateTariff
|
|
3060
|
+
*/
|
|
3061
|
+
readonly ifMatch: string;
|
|
3062
|
+
/**
|
|
3063
|
+
*
|
|
3064
|
+
* @type {UpdateTariffBody}
|
|
3065
|
+
* @memberof TariffsApiTariffServiceUpdateTariff
|
|
3066
|
+
*/
|
|
3067
|
+
readonly body: UpdateTariffBody;
|
|
3068
|
+
}
|
|
3069
|
+
/**
|
|
3070
|
+
* Request parameters for tariffServiceUpdateVersion operation in TariffsApi.
|
|
3071
|
+
* @export
|
|
3072
|
+
* @interface TariffsApiTariffServiceUpdateVersionRequest
|
|
3073
|
+
*/
|
|
3074
|
+
export interface TariffsApiTariffServiceUpdateVersionRequest {
|
|
3075
|
+
/**
|
|
3076
|
+
* The slug of the tariff.
|
|
3077
|
+
* @type {string}
|
|
3078
|
+
* @memberof TariffsApiTariffServiceUpdateVersion
|
|
3079
|
+
*/
|
|
3080
|
+
readonly tariffSlug: string;
|
|
3081
|
+
/**
|
|
3082
|
+
* The name of the generation.
|
|
3083
|
+
* @type {string}
|
|
3084
|
+
* @memberof TariffsApiTariffServiceUpdateVersion
|
|
3085
|
+
*/
|
|
3086
|
+
readonly generation: string;
|
|
3087
|
+
/**
|
|
3088
|
+
* The draft id (`dv-...`) or the draft\'s ERN.
|
|
3089
|
+
* @type {string}
|
|
3090
|
+
* @memberof TariffsApiTariffServiceUpdateVersion
|
|
3091
|
+
*/
|
|
3092
|
+
readonly version: string;
|
|
3093
|
+
/**
|
|
3094
|
+
* The draft\'s `etag` as last read, sent back unchanged.
|
|
3095
|
+
* @type {string}
|
|
3096
|
+
* @memberof TariffsApiTariffServiceUpdateVersion
|
|
3097
|
+
*/
|
|
3098
|
+
readonly ifMatch: string;
|
|
3099
|
+
/**
|
|
3100
|
+
*
|
|
3101
|
+
* @type {UpdateVersionBody}
|
|
3102
|
+
* @memberof TariffsApiTariffServiceUpdateVersion
|
|
3103
|
+
*/
|
|
3104
|
+
readonly body: UpdateVersionBody;
|
|
3105
|
+
}
|
|
3106
|
+
/**
|
|
3107
|
+
* Request parameters for tariffServiceValidateCoreConfig operation in TariffsApi.
|
|
3108
|
+
* @export
|
|
3109
|
+
* @interface TariffsApiTariffServiceValidateCoreConfigRequest
|
|
3110
|
+
*/
|
|
3111
|
+
export interface TariffsApiTariffServiceValidateCoreConfigRequest {
|
|
3112
|
+
/**
|
|
3113
|
+
* The slug of the tariff that owns the core config.
|
|
3114
|
+
* @type {string}
|
|
3115
|
+
* @memberof TariffsApiTariffServiceValidateCoreConfig
|
|
3116
|
+
*/
|
|
3117
|
+
readonly tariffSlug: string;
|
|
3118
|
+
/**
|
|
3119
|
+
* The asset\'s name: an `insurance_core`, `lead_lifecycle`, `billing_config`, `contract_data` or `tarif_deckung` asset, such as `insurance_core.v1`.
|
|
3120
|
+
* @type {string}
|
|
3121
|
+
* @memberof TariffsApiTariffServiceValidateCoreConfig
|
|
3122
|
+
*/
|
|
3123
|
+
readonly name: string;
|
|
3124
|
+
/**
|
|
3125
|
+
*
|
|
3126
|
+
* @type {object}
|
|
3127
|
+
* @memberof TariffsApiTariffServiceValidateCoreConfig
|
|
3128
|
+
*/
|
|
3129
|
+
readonly body: object;
|
|
3130
|
+
}
|
|
3131
|
+
/**
|
|
3132
|
+
* Request parameters for tariffServiceValidateCoreConfigExpression operation in TariffsApi.
|
|
3133
|
+
* @export
|
|
3134
|
+
* @interface TariffsApiTariffServiceValidateCoreConfigExpressionRequest
|
|
3135
|
+
*/
|
|
3136
|
+
export interface TariffsApiTariffServiceValidateCoreConfigExpressionRequest {
|
|
3137
|
+
/**
|
|
3138
|
+
* The slug of the tariff that owns the core config.
|
|
3139
|
+
* @type {string}
|
|
3140
|
+
* @memberof TariffsApiTariffServiceValidateCoreConfigExpression
|
|
3141
|
+
*/
|
|
3142
|
+
readonly tariffSlug: string;
|
|
3143
|
+
/**
|
|
3144
|
+
* The core config\'s name, such as `insurance_core.v1`.
|
|
3145
|
+
* @type {string}
|
|
3146
|
+
* @memberof TariffsApiTariffServiceValidateCoreConfigExpression
|
|
3147
|
+
*/
|
|
3148
|
+
readonly name: string;
|
|
3149
|
+
/**
|
|
3150
|
+
*
|
|
3151
|
+
* @type {ValidateCoreConfigExpressionBody}
|
|
3152
|
+
* @memberof TariffsApiTariffServiceValidateCoreConfigExpression
|
|
3153
|
+
*/
|
|
3154
|
+
readonly body: ValidateCoreConfigExpressionBody;
|
|
3155
|
+
}
|
|
3156
|
+
/**
|
|
3157
|
+
* Request parameters for tariffServiceValidateVersion operation in TariffsApi.
|
|
3158
|
+
* @export
|
|
3159
|
+
* @interface TariffsApiTariffServiceValidateVersionRequest
|
|
3160
|
+
*/
|
|
3161
|
+
export interface TariffsApiTariffServiceValidateVersionRequest {
|
|
3162
|
+
/**
|
|
3163
|
+
* The slug of the tariff.
|
|
3164
|
+
* @type {string}
|
|
3165
|
+
* @memberof TariffsApiTariffServiceValidateVersion
|
|
3166
|
+
*/
|
|
3167
|
+
readonly tariffSlug: string;
|
|
3168
|
+
/**
|
|
3169
|
+
* The name of the generation.
|
|
3170
|
+
* @type {string}
|
|
3171
|
+
* @memberof TariffsApiTariffServiceValidateVersion
|
|
3172
|
+
*/
|
|
3173
|
+
readonly generation: string;
|
|
3174
|
+
/**
|
|
3175
|
+
*
|
|
3176
|
+
* @type {ValidateVersionBody}
|
|
3177
|
+
* @memberof TariffsApiTariffServiceValidateVersion
|
|
3178
|
+
*/
|
|
3179
|
+
readonly body: ValidateVersionBody;
|
|
3180
|
+
}
|
|
3181
|
+
/**
|
|
3182
|
+
* TariffsApi - object-oriented interface
|
|
3183
|
+
* @export
|
|
3184
|
+
* @class TariffsApi
|
|
3185
|
+
* @extends {BaseAPI}
|
|
3186
|
+
*/
|
|
3187
|
+
export declare class TariffsApi extends BaseAPI {
|
|
3188
|
+
/**
|
|
3189
|
+
* Reads an uploaded file and returns what storing it would do: the detected file type, encoding, separator and header rows, the cleaning applied, warnings, findings per row, a preview and the row count. Nothing is stored. Send the returned `analysisDigest` when the upload is confirmed.
|
|
3190
|
+
* @summary Analyses a factor or lookup file without storing anything.
|
|
3191
|
+
* @param {TariffsApiTariffServiceAnalyzeConfigFileRequest} requestParameters Request parameters.
|
|
3192
|
+
* @param {*} [options] Override http request option.
|
|
3193
|
+
* @throws {RequiredError}
|
|
3194
|
+
* @memberof TariffsApi
|
|
3195
|
+
*/
|
|
3196
|
+
tariffServiceAnalyzeConfigFile(requestParameters: TariffsApiTariffServiceAnalyzeConfigFileRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AnalyzeConfigFileResponse, any, {}, any>>;
|
|
3197
|
+
/**
|
|
3198
|
+
* Answers a link and a `fileKey`: upload the file to the link before `expiresAt`, then analyse it with `AnalyzeConfigFile` and store it with `PutNamedRangeFile`. The asset must be a draft.
|
|
3199
|
+
* @summary Starts the upload of a factor or lookup file.
|
|
3200
|
+
* @param {TariffsApiTariffServiceCreateConfigFileUploadRequest} requestParameters Request parameters.
|
|
3201
|
+
* @param {*} [options] Override http request option.
|
|
3202
|
+
* @throws {RequiredError}
|
|
3203
|
+
* @memberof TariffsApi
|
|
3204
|
+
*/
|
|
3205
|
+
tariffServiceCreateConfigFileUpload(requestParameters: TariffsApiTariffServiceCreateConfigFileUploadRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateConfigFileUploadResponse, any, {}, any>>;
|
|
3206
|
+
/**
|
|
3207
|
+
* The asset is stored as a `DRAFT` named `<type>.vN`. `config` is its document and may be left out; `basedOnName` names an asset to copy it from and `generation` the generation it belongs to.
|
|
3208
|
+
* @summary Creates a draft configuration asset of a tariff.
|
|
3209
|
+
* @param {TariffsApiTariffServiceCreateCoreConfigRequest} requestParameters Request parameters.
|
|
3210
|
+
* @param {*} [options] Override http request option.
|
|
3211
|
+
* @throws {RequiredError}
|
|
3212
|
+
* @memberof TariffsApi
|
|
3213
|
+
*/
|
|
3214
|
+
tariffServiceCreateCoreConfig(requestParameters: TariffsApiTariffServiceCreateCoreConfigRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateCoreConfigResponse, any, {}, any>>;
|
|
3215
|
+
/**
|
|
3216
|
+
* A generation is a period of the tariff that starts on `validFrom`. The call also creates the generation\'s first draft version, which is returned next to it. The draft is copied from `basedOn`; the tariff\'s first generation starts with an empty draft.
|
|
3217
|
+
* @summary Creates a generation of a tariff.
|
|
3218
|
+
* @param {TariffsApiTariffServiceCreateGenerationRequest} requestParameters Request parameters.
|
|
3219
|
+
* @param {*} [options] Override http request option.
|
|
3220
|
+
* @throws {RequiredError}
|
|
3221
|
+
* @memberof TariffsApi
|
|
3222
|
+
*/
|
|
3223
|
+
tariffServiceCreateGeneration(requestParameters: TariffsApiTariffServiceCreateGenerationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateGenerationResponse, any, {}, any>>;
|
|
3224
|
+
/**
|
|
3225
|
+
* A key or label already used by a standard or added line is not allowed; labels are compared ignoring case.
|
|
3226
|
+
* @summary Adds a line of insurance next to the standard lines.
|
|
3227
|
+
* @param {TariffsApiTariffServiceCreateLineOfInsuranceRequest} requestParameters Request parameters.
|
|
3228
|
+
* @param {*} [options] Override http request option.
|
|
3229
|
+
* @throws {RequiredError}
|
|
3230
|
+
* @memberof TariffsApi
|
|
3231
|
+
*/
|
|
3232
|
+
tariffServiceCreateLineOfInsurance(requestParameters: TariffsApiTariffServiceCreateLineOfInsuranceRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateLineOfInsuranceResponse, any, {}, any>>;
|
|
3233
|
+
/**
|
|
3234
|
+
* The slug must be new. `lineOfInsurance` is required and must be a key from `ListLinesOfInsurance`. `claimsEnabled` is fixed at creation. Create a generation next with `CreateGeneration`.
|
|
3235
|
+
* @summary Creates a tariff.
|
|
3236
|
+
* @param {TariffsApiTariffServiceCreateTariffRequest} requestParameters Request parameters.
|
|
3237
|
+
* @param {*} [options] Override http request option.
|
|
3238
|
+
* @throws {RequiredError}
|
|
3239
|
+
* @memberof TariffsApi
|
|
3240
|
+
*/
|
|
3241
|
+
tariffServiceCreateTariff(requestParameters: TariffsApiTariffServiceCreateTariffRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateTariffResponse, any, {}, any>>;
|
|
3242
|
+
/**
|
|
3243
|
+
* The draft starts from `manifest`, or from the version `basedOnErn` names. It is stored even when the manifest has problems: they are listed in `validationIssues`, and the publish gate decides later.
|
|
3244
|
+
* @summary Creates a draft version.
|
|
3245
|
+
* @param {TariffsApiTariffServiceCreateVersionRequest} requestParameters Request parameters.
|
|
3246
|
+
* @param {*} [options] Override http request option.
|
|
3247
|
+
* @throws {RequiredError}
|
|
3248
|
+
* @memberof TariffsApi
|
|
3249
|
+
*/
|
|
3250
|
+
tariffServiceCreateVersion(requestParameters: TariffsApiTariffServiceCreateVersionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateVersionResponse, any, {}, any>>;
|
|
3251
|
+
/**
|
|
3252
|
+
* Removes the stored factor file and updates the core config.
|
|
3253
|
+
* @summary Deletes the factors of a group.
|
|
3254
|
+
* @param {TariffsApiTariffServiceDeleteFactorRequest} requestParameters Request parameters.
|
|
3255
|
+
* @param {*} [options] Override http request option.
|
|
3256
|
+
* @throws {RequiredError}
|
|
3257
|
+
* @memberof TariffsApi
|
|
3258
|
+
*/
|
|
3259
|
+
tariffServiceDeleteFactor(requestParameters: TariffsApiTariffServiceDeleteFactorRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteFactorResponse, any, {}, any>>;
|
|
3260
|
+
/**
|
|
3261
|
+
* Removes the stored lookup file and updates the core config.
|
|
3262
|
+
* @summary Deletes the file of a named range.
|
|
3263
|
+
* @param {TariffsApiTariffServiceDeleteNamedRangeFileRequest} requestParameters Request parameters.
|
|
3264
|
+
* @param {*} [options] Override http request option.
|
|
3265
|
+
* @throws {RequiredError}
|
|
3266
|
+
* @memberof TariffsApi
|
|
3267
|
+
*/
|
|
3268
|
+
tariffServiceDeleteNamedRangeFile(requestParameters: TariffsApiTariffServiceDeleteNamedRangeFileRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteNamedRangeFileResponse, any, {}, any>>;
|
|
3269
|
+
/**
|
|
3270
|
+
* The draft becomes `DISCARDED`. It is kept and can no longer change.
|
|
3271
|
+
* @summary Gives up a draft asset.
|
|
3272
|
+
* @param {TariffsApiTariffServiceDiscardCoreConfigRequest} requestParameters Request parameters.
|
|
3273
|
+
* @param {*} [options] Override http request option.
|
|
3274
|
+
* @throws {RequiredError}
|
|
3275
|
+
* @memberof TariffsApi
|
|
3276
|
+
*/
|
|
3277
|
+
tariffServiceDiscardCoreConfig(requestParameters: TariffsApiTariffServiceDiscardCoreConfigRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DiscardCoreConfigResponse, any, {}, any>>;
|
|
3278
|
+
/**
|
|
3279
|
+
* The draft becomes `DISCARDED`. It is not deleted: it stays and cannot change.
|
|
3280
|
+
* @summary Gives up a draft version.
|
|
3281
|
+
* @param {TariffsApiTariffServiceDiscardVersionRequest} requestParameters Request parameters.
|
|
3282
|
+
* @param {*} [options] Override http request option.
|
|
3283
|
+
* @throws {RequiredError}
|
|
3284
|
+
* @memberof TariffsApi
|
|
3285
|
+
*/
|
|
3286
|
+
tariffServiceDiscardVersion(requestParameters: TariffsApiTariffServiceDiscardVersionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DiscardVersionResponse, any, {}, any>>;
|
|
3287
|
+
/**
|
|
3288
|
+
* The asset is found by the tariff\'s slug and the asset\'s name, such as `insurance_core.v1`.
|
|
3289
|
+
* @summary Returns one configuration asset of a tariff.
|
|
3290
|
+
* @param {TariffsApiTariffServiceGetCoreConfigRequest} requestParameters Request parameters.
|
|
3291
|
+
* @param {*} [options] Override http request option.
|
|
3292
|
+
* @throws {RequiredError}
|
|
3293
|
+
* @memberof TariffsApi
|
|
3294
|
+
*/
|
|
3295
|
+
tariffServiceGetCoreConfig(requestParameters: TariffsApiTariffServiceGetCoreConfigRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetCoreConfigResponse, any, {}, any>>;
|
|
3296
|
+
/**
|
|
3297
|
+
* Returns the schema that was derived when the asset was published. A draft or a discarded asset has none.
|
|
3298
|
+
* @summary Returns the policy data schema of a published `insurance_core` or `contract_data` asset.
|
|
3299
|
+
* @param {TariffsApiTariffServiceGetCoreConfigPolicyDataSchemaRequest} requestParameters Request parameters.
|
|
3300
|
+
* @param {*} [options] Override http request option.
|
|
3301
|
+
* @throws {RequiredError}
|
|
3302
|
+
* @memberof TariffsApi
|
|
3303
|
+
*/
|
|
3304
|
+
tariffServiceGetCoreConfigPolicyDataSchema(requestParameters: TariffsApiTariffServiceGetCoreConfigPolicyDataSchemaRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetCoreConfigPolicyDataSchemaResponse, any, {}, any>>;
|
|
3305
|
+
/**
|
|
3306
|
+
* The same schema applies to every tariff. It needs no asset.
|
|
3307
|
+
* @summary Returns the schema that `insurance_core` documents are validated against.
|
|
3308
|
+
* @param {*} [options] Override http request option.
|
|
3309
|
+
* @throws {RequiredError}
|
|
3310
|
+
* @memberof TariffsApi
|
|
3311
|
+
*/
|
|
3312
|
+
tariffServiceGetCoreConfigSchema(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetCoreConfigSchemaResponse, any, {}, any>>;
|
|
3313
|
+
/**
|
|
3314
|
+
* Compares the version `version` with `againstVersion`, or with its baseline when `againstVersion` is empty. The response lists the premium change of each rating case and the changed references of the manifest, each marked added, removed or changed.
|
|
3315
|
+
* @summary Returns what a version changed against another version.
|
|
3316
|
+
* @param {TariffsApiTariffServiceGetDiffRequest} requestParameters Request parameters.
|
|
3317
|
+
* @param {*} [options] Override http request option.
|
|
3318
|
+
* @throws {RequiredError}
|
|
3319
|
+
* @memberof TariffsApi
|
|
3320
|
+
*/
|
|
3321
|
+
tariffServiceGetDiff(requestParameters: TariffsApiTariffServiceGetDiffRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetDiffResponse, any, {}, any>>;
|
|
3322
|
+
/**
|
|
3323
|
+
* Returns the rows of one factor group: each row has a `name`, a `key` and a `value`. `coreConfigEtag` is the tag the write calls send in `If-Match`.
|
|
3324
|
+
* @summary Returns the factors of a group with their rows.
|
|
3325
|
+
* @param {TariffsApiTariffServiceGetFactorRequest} requestParameters Request parameters.
|
|
3326
|
+
* @param {*} [options] Override http request option.
|
|
3327
|
+
* @throws {RequiredError}
|
|
3328
|
+
* @memberof TariffsApi
|
|
3329
|
+
*/
|
|
3330
|
+
tariffServiceGetFactor(requestParameters: TariffsApiTariffServiceGetFactorRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetFactorResponse, any, {}, any>>;
|
|
3331
|
+
/**
|
|
3332
|
+
* Answers a link to download the stored file of the factor group, unchanged.
|
|
3333
|
+
* @summary Returns the stored file of a factor group.
|
|
3334
|
+
* @param {TariffsApiTariffServiceGetFactorFileRequest} requestParameters Request parameters.
|
|
3335
|
+
* @param {*} [options] Override http request option.
|
|
3336
|
+
* @throws {RequiredError}
|
|
3337
|
+
* @memberof TariffsApi
|
|
3338
|
+
*/
|
|
3339
|
+
tariffServiceGetFactorFile(requestParameters: TariffsApiTariffServiceGetFactorFileRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetFactorFileResponse, any, {}, any>>;
|
|
3340
|
+
/**
|
|
3341
|
+
* The generation\'s `etag` goes in the `If-Match` header of a publish or an activation.
|
|
3342
|
+
* @summary Returns one generation of a tariff.
|
|
3343
|
+
* @param {TariffsApiTariffServiceGetGenerationRequest} requestParameters Request parameters.
|
|
3344
|
+
* @param {*} [options] Override http request option.
|
|
3345
|
+
* @throws {RequiredError}
|
|
3346
|
+
* @memberof TariffsApi
|
|
3347
|
+
*/
|
|
3348
|
+
tariffServiceGetGeneration(requestParameters: TariffsApiTariffServiceGetGenerationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetGenerationResponse, any, {}, any>>;
|
|
3349
|
+
/**
|
|
3350
|
+
* Returns the rows of one range: each row has a `key` and a `label`. `coreConfigEtag` is the tag the write calls send in `If-Match`.
|
|
3351
|
+
* @summary Returns a named range with its rows.
|
|
3352
|
+
* @param {TariffsApiTariffServiceGetNamedRangeRequest} requestParameters Request parameters.
|
|
3353
|
+
* @param {*} [options] Override http request option.
|
|
3354
|
+
* @throws {RequiredError}
|
|
3355
|
+
* @memberof TariffsApi
|
|
3356
|
+
*/
|
|
3357
|
+
tariffServiceGetNamedRange(requestParameters: TariffsApiTariffServiceGetNamedRangeRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetNamedRangeResponse, any, {}, any>>;
|
|
3358
|
+
/**
|
|
3359
|
+
* Answers a link to download the stored bytes, unchanged, with their content type.
|
|
3360
|
+
* @summary Returns the stored file of a named range.
|
|
3361
|
+
* @param {TariffsApiTariffServiceGetNamedRangeFileRequest} requestParameters Request parameters.
|
|
3362
|
+
* @param {*} [options] Override http request option.
|
|
3363
|
+
* @throws {RequiredError}
|
|
3364
|
+
* @memberof TariffsApi
|
|
3365
|
+
*/
|
|
3366
|
+
tariffServiceGetNamedRangeFile(requestParameters: TariffsApiTariffServiceGetNamedRangeFileRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetNamedRangeFileResponse, any, {}, any>>;
|
|
3367
|
+
/**
|
|
3368
|
+
* Merges, field by field, the group tariff version\'s billing override, the tariff version\'s billing asset and the platform default, and returns the result with the source of each section and the two asset ERNs. A pair that pins no asset answers the platform default. Nothing is written.
|
|
3369
|
+
* @summary Returns the billing configuration of a policy\'s tariff version.
|
|
3370
|
+
* @param {TariffsApiTariffServiceGetResolvedBillingConfigRequest} requestParameters Request parameters.
|
|
3371
|
+
* @param {*} [options] Override http request option.
|
|
3372
|
+
* @throws {RequiredError}
|
|
3373
|
+
* @memberof TariffsApi
|
|
3374
|
+
*/
|
|
3375
|
+
tariffServiceGetResolvedBillingConfig(requestParameters?: TariffsApiTariffServiceGetResolvedBillingConfigRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetResolvedBillingConfigResponse, any, {}, any>>;
|
|
3376
|
+
/**
|
|
3377
|
+
* Works out the default of each contract data field, with the resolver a policy creation uses, for a policy that starts at `effectiveFrom`, with `applicationDate` and, for a field that copies from a parent, `parentPolicyCode`. A field that cannot be resolved is returned as not resolved with its reason. Nothing is written.
|
|
3378
|
+
* @summary Returns the contract data a new policy on a tariff would start with.
|
|
3379
|
+
* @param {TariffsApiTariffServiceGetResolvedContractDataRequest} requestParameters Request parameters.
|
|
3380
|
+
* @param {*} [options] Override http request option.
|
|
3381
|
+
* @throws {RequiredError}
|
|
3382
|
+
* @memberof TariffsApi
|
|
3383
|
+
*/
|
|
3384
|
+
tariffServiceGetResolvedContractData(requestParameters?: TariffsApiTariffServiceGetResolvedContractDataRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetResolvedContractDataResponse, any, {}, any>>;
|
|
3385
|
+
/**
|
|
3386
|
+
* Returns the asset with the rows of each named range and each factor group read from their stored files, next to the file ERN of each. Nothing is written.
|
|
3387
|
+
* @summary Returns the document with every range and factor filled in from its files.
|
|
3388
|
+
* @param {TariffsApiTariffServiceGetResolvedCoreConfigRequest} requestParameters Request parameters.
|
|
3389
|
+
* @param {*} [options] Override http request option.
|
|
3390
|
+
* @throws {RequiredError}
|
|
3391
|
+
* @memberof TariffsApi
|
|
3392
|
+
*/
|
|
3393
|
+
tariffServiceGetResolvedCoreConfig(requestParameters: TariffsApiTariffServiceGetResolvedCoreConfigRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetResolvedCoreConfigResponse, any, {}, any>>;
|
|
3394
|
+
/**
|
|
3395
|
+
* Merges the group tariff version\'s `tarif_deckung` asset over the tariff version\'s and returns the merged document, the source of each section, the group\'s default variation and the two asset ERNs. Nothing is written.
|
|
3396
|
+
* @summary Returns the tariff variations and claims configuration of a policy\'s tariff version.
|
|
3397
|
+
* @param {TariffsApiTariffServiceGetResolvedTariffCoverageRequest} requestParameters Request parameters.
|
|
3398
|
+
* @param {*} [options] Override http request option.
|
|
3399
|
+
* @throws {RequiredError}
|
|
3400
|
+
* @memberof TariffsApi
|
|
3401
|
+
*/
|
|
3402
|
+
tariffServiceGetResolvedTariffCoverage(requestParameters?: TariffsApiTariffServiceGetResolvedTariffCoverageRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetResolvedTariffCoverageResponse, any, {}, any>>;
|
|
3403
|
+
/**
|
|
3404
|
+
* The tariff\'s `etag` goes in the `If-Match` header of `UpdateTariff` and `CreateGeneration`.
|
|
3405
|
+
* @summary Returns one tariff by its slug.
|
|
3406
|
+
* @param {TariffsApiTariffServiceGetTariffRequest} requestParameters Request parameters.
|
|
3407
|
+
* @param {*} [options] Override http request option.
|
|
3408
|
+
* @throws {RequiredError}
|
|
3409
|
+
* @memberof TariffsApi
|
|
3410
|
+
*/
|
|
3411
|
+
tariffServiceGetTariff(requestParameters: TariffsApiTariffServiceGetTariffRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetTariffResponse, any, {}, any>>;
|
|
3412
|
+
/**
|
|
3413
|
+
* The catalog is read for the caller\'s tenant: `lineOfInsurance` takes the keys of the standard and the added lines, with their labels, and can be filtered for `$null`. - Filter: `slug`, `name`, `createdAt`, `createdBy`, `lineOfInsurance`. - Search: over `slug` and `name`. - Sort: `slug`, `name`, `createdAt`.
|
|
3414
|
+
* @summary Returns the filter catalog of the tariff list.
|
|
3415
|
+
* @param {*} [options] Override http request option.
|
|
3416
|
+
* @throws {RequiredError}
|
|
3417
|
+
* @memberof TariffsApi
|
|
3418
|
+
*/
|
|
3419
|
+
tariffServiceGetTariffFilterCatalog(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetTariffFilterCatalogResponse, any, {}, any>>;
|
|
3420
|
+
/**
|
|
3421
|
+
* `version` is a number such as `1.3`, a version ERN or, for a draft, a draft id.
|
|
3422
|
+
* @summary Returns one version of a generation.
|
|
3423
|
+
* @param {TariffsApiTariffServiceGetVersionRequest} requestParameters Request parameters.
|
|
3424
|
+
* @param {*} [options] Override http request option.
|
|
3425
|
+
* @throws {RequiredError}
|
|
3426
|
+
* @memberof TariffsApi
|
|
3427
|
+
*/
|
|
3428
|
+
tariffServiceGetVersion(requestParameters: TariffsApiTariffServiceGetVersionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetVersionResponse, any, {}, any>>;
|
|
3429
|
+
/**
|
|
3430
|
+
* The list is whole, with no paging. Each item has the role\'s `code` and `name`, from the tenant\'s role catalog. When no catalog is set up, the list is empty.
|
|
3431
|
+
* @summary Lists the roles an approval limit of a coverage document may name.
|
|
3432
|
+
* @param {TariffsApiTariffServiceListApprovalRolesRequest} requestParameters Request parameters.
|
|
3433
|
+
* @param {*} [options] Override http request option.
|
|
3434
|
+
* @throws {RequiredError}
|
|
3435
|
+
* @memberof TariffsApi
|
|
3436
|
+
*/
|
|
3437
|
+
tariffServiceListApprovalRoles(requestParameters?: TariffsApiTariffServiceListApprovalRolesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListApprovalRolesResponse, any, {}, any>>;
|
|
3438
|
+
/**
|
|
3439
|
+
* The list is paged and holds the assets of every tariff, ordered by tariff slug, then name. It takes no search. - Filter: `tariffSlug`, `name`, `status`, `createdAt`. - Sort: `tariffSlug`, `name`, `createdAt`.
|
|
3440
|
+
* @summary Lists the configuration assets of a tariff.
|
|
3441
|
+
* @param {TariffsApiTariffServiceListCoreConfigsRequest} requestParameters Request parameters.
|
|
3442
|
+
* @param {*} [options] Override http request option.
|
|
3443
|
+
* @throws {RequiredError}
|
|
3444
|
+
* @memberof TariffsApi
|
|
3445
|
+
*/
|
|
3446
|
+
tariffServiceListCoreConfigs(requestParameters?: TariffsApiTariffServiceListCoreConfigsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListCoreConfigsResponse, any, {}, any>>;
|
|
3447
|
+
/**
|
|
3448
|
+
* To list one tariff\'s generations, name the tariff in `filters`.
|
|
3449
|
+
* @summary Lists the generations of a tariff, ordered by `validFrom`.
|
|
3450
|
+
* @param {TariffsApiTariffServiceListGenerationsRequest} requestParameters Request parameters.
|
|
3451
|
+
* @param {*} [options] Override http request option.
|
|
3452
|
+
* @throws {RequiredError}
|
|
3453
|
+
* @memberof TariffsApi
|
|
3454
|
+
*/
|
|
3455
|
+
tariffServiceListGenerations(requestParameters?: TariffsApiTariffServiceListGenerationsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListGenerationsResponse, any, {}, any>>;
|
|
3456
|
+
/**
|
|
3457
|
+
* The standard lines come first, in the list\'s order, then the added lines by German label. The list is paged: 20 lines by default, 100 at most. It takes no filter and no search.
|
|
3458
|
+
* @summary Lists the lines of insurance a tariff can name.
|
|
3459
|
+
* @param {TariffsApiTariffServiceListLinesOfInsuranceRequest} requestParameters Request parameters.
|
|
3460
|
+
* @param {*} [options] Override http request option.
|
|
3461
|
+
* @throws {RequiredError}
|
|
3462
|
+
* @memberof TariffsApi
|
|
3463
|
+
*/
|
|
3464
|
+
tariffServiceListLinesOfInsurance(requestParameters?: TariffsApiTariffServiceListLinesOfInsuranceRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListLinesOfInsuranceResponse, any, {}, any>>;
|
|
3465
|
+
/**
|
|
3466
|
+
* The list is whole, with no paging. Each item has the role\'s `code`, `ern`, `name`, `description` and whether it is a `system` role. They are the roles the publish gate accepts in a version\'s `partnerRoles`. The list is empty when no role catalog is set up.
|
|
3467
|
+
* @summary Lists the partner roles a version\'s `partnerRoles` may name.
|
|
3468
|
+
* @param {TariffsApiTariffServiceListPartnerRolesRequest} requestParameters Request parameters.
|
|
3469
|
+
* @param {*} [options] Override http request option.
|
|
3470
|
+
* @throws {RequiredError}
|
|
3471
|
+
* @memberof TariffsApi
|
|
3472
|
+
*/
|
|
3473
|
+
tariffServiceListPartnerRoles(requestParameters?: TariffsApiTariffServiceListPartnerRolesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPartnerRolesResponse, any, {}, any>>;
|
|
3474
|
+
/**
|
|
3475
|
+
* The list is whole, with no paging. Each item has the type\'s `code`, `slug` and `name`: the types the publish gate accepts in a role\'s `partnerTypes`. The list is empty when no catalog is set up.
|
|
3476
|
+
* @summary Lists the partner types a role\'s `partnerTypes` may name.
|
|
3477
|
+
* @param {TariffsApiTariffServiceListPartnerTypesRequest} requestParameters Request parameters.
|
|
3478
|
+
* @param {*} [options] Override http request option.
|
|
3479
|
+
* @throws {RequiredError}
|
|
3480
|
+
* @memberof TariffsApi
|
|
3481
|
+
*/
|
|
3482
|
+
tariffServiceListPartnerTypes(requestParameters?: TariffsApiTariffServiceListPartnerTypesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPartnerTypesResponse, any, {}, any>>;
|
|
3483
|
+
/**
|
|
3484
|
+
* The list is not cut by date. Each item is a tariff; its `match` is filled on a search and empty otherwise. - Filter: `slug`, `name`, `createdAt`, `createdBy`, `lineOfInsurance`. `lineOfInsurance` takes the keys of the standard and the added lines, can be filtered for `$null` (tariffs created before lines existed) and is not sortable. - Search: over `slug` and `name`. - Sort: `slug`, `name`, `createdAt`.
|
|
3485
|
+
* @summary Lists tariffs.
|
|
3486
|
+
* @param {TariffsApiTariffServiceListTariffsRequest} requestParameters Request parameters.
|
|
3487
|
+
* @param {*} [options] Override http request option.
|
|
3488
|
+
* @throws {RequiredError}
|
|
3489
|
+
* @memberof TariffsApi
|
|
3490
|
+
*/
|
|
3491
|
+
tariffServiceListTariffs(requestParameters?: TariffsApiTariffServiceListTariffsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListTariffsResponse, any, {}, any>>;
|
|
3492
|
+
/**
|
|
3493
|
+
* The list holds the published versions and, only when `includeDrafts` is `true`, the open and the archived drafts after them. A discarded draft is never listed. To list one generation\'s versions, name the tariff and the generation in `filters`: `tariffSlug`, `generation` and `includeDrafts`.
|
|
3494
|
+
* @summary Lists the versions of a generation, oldest first.
|
|
3495
|
+
* @param {TariffsApiTariffServiceListVersionsRequest} requestParameters Request parameters.
|
|
3496
|
+
* @param {*} [options] Override http request option.
|
|
3497
|
+
* @throws {RequiredError}
|
|
3498
|
+
* @memberof TariffsApi
|
|
3499
|
+
*/
|
|
3500
|
+
tariffServiceListVersions(requestParameters?: TariffsApiTariffServiceListVersionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListVersionsResponse, any, {}, any>>;
|
|
3501
|
+
/**
|
|
3502
|
+
* Runs the publish gate over the draft and, when it passes, freezes the asset as `PUBLISHED` with its digest. A published asset never changes. For `insurance_core` and `contract_data` the policy data schema is derived at this step. When the gate refuses, the call fails and carries the gate\'s report.
|
|
3503
|
+
* @summary Publishes a draft asset.
|
|
3504
|
+
* @param {TariffsApiTariffServicePublishCoreConfigRequest} requestParameters Request parameters.
|
|
3505
|
+
* @param {*} [options] Override http request option.
|
|
3506
|
+
* @throws {RequiredError}
|
|
3507
|
+
* @memberof TariffsApi
|
|
3508
|
+
*/
|
|
3509
|
+
tariffServicePublishCoreConfig(requestParameters: TariffsApiTariffServicePublishCoreConfigRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PublishCoreConfigResponse, any, {}, any>>;
|
|
3510
|
+
/**
|
|
3511
|
+
* Runs the publish gate over `manifest`. When it passes, the version is stored as a numbered, `PUBLISHED` version; with `activate` it also becomes the active version of its major. `requestMajor` asks for a new major number. When the gate refuses, nothing is stored and the call fails with the gate\'s report.
|
|
3512
|
+
* @summary Publishes a version of a generation in one step.
|
|
3513
|
+
* @param {TariffsApiTariffServicePublishVersionRequest} requestParameters Request parameters.
|
|
3514
|
+
* @param {*} [options] Override http request option.
|
|
3515
|
+
* @throws {RequiredError}
|
|
3516
|
+
* @memberof TariffsApi
|
|
3517
|
+
*/
|
|
3518
|
+
tariffServicePublishVersion(requestParameters: TariffsApiTariffServicePublishVersionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PublishVersionResponse, any, {}, any>>;
|
|
3519
|
+
/**
|
|
3520
|
+
* Merges the sections the client sends into the stored document of a draft, checks their structure against the asset\'s schema and runs the cheap cross-reference checks. The draft is saved even when the checks find problems: they are returned in `report`, because a draft may be inconsistent while its author works. Publishing is the check that must pass. A body with a section the server owns is refused.
|
|
3521
|
+
* @summary Saves the whole document of an `insurance_core` asset.
|
|
3522
|
+
* @param {TariffsApiTariffServicePutCoreConfigDocumentRequest} requestParameters Request parameters.
|
|
3523
|
+
* @param {*} [options] Override http request option.
|
|
3524
|
+
* @throws {RequiredError}
|
|
3525
|
+
* @memberof TariffsApi
|
|
3526
|
+
*/
|
|
3527
|
+
tariffServicePutCoreConfigDocument(requestParameters: TariffsApiTariffServicePutCoreConfigDocumentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PutCoreConfigDocumentResponse, any, {}, any>>;
|
|
3528
|
+
/**
|
|
3529
|
+
* TODO: not available yet, the call answers Unimplemented. Remove this line when the call is built.
|
|
3530
|
+
* @summary Replaces the factors of a group with the content of a file.
|
|
3531
|
+
* @param {TariffsApiTariffServicePutFactorFileRequest} requestParameters Request parameters.
|
|
3532
|
+
* @param {*} [options] Override http request option.
|
|
3533
|
+
* @throws {RequiredError}
|
|
3534
|
+
* @memberof TariffsApi
|
|
3535
|
+
*/
|
|
3536
|
+
tariffServicePutFactorFile(requestParameters: TariffsApiTariffServicePutFactorFileRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PutFactorFileResponse, any, {}, any>>;
|
|
3537
|
+
/**
|
|
3538
|
+
* Runs the upload analysis again over the uploaded object, derives the `namedRanges` headers the file accounts for and stores the cleaned file and its original. Send the `analysisDigest` of the analysis the file passed. Answers the core config and the stored file.
|
|
3539
|
+
* @summary Replaces a named range with the content of a file.
|
|
3540
|
+
* @param {TariffsApiTariffServicePutNamedRangeFileRequest} requestParameters Request parameters.
|
|
3541
|
+
* @param {*} [options] Override http request option.
|
|
3542
|
+
* @throws {RequiredError}
|
|
3543
|
+
* @memberof TariffsApi
|
|
3544
|
+
*/
|
|
3545
|
+
tariffServicePutNamedRangeFile(requestParameters: TariffsApiTariffServicePutNamedRangeFileRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PutNamedRangeFileResponse, any, {}, any>>;
|
|
3546
|
+
/**
|
|
3547
|
+
* Stores the rows sent in `ranges` as a CSV lookup file. Nothing is analysed and no original file is kept. Answers the core config and the stored file.
|
|
3548
|
+
* @summary Replaces a named range with rows sent as JSON.
|
|
3549
|
+
* @param {TariffsApiTariffServicePutNamedRangeJsonRequest} requestParameters Request parameters.
|
|
3550
|
+
* @param {*} [options] Override http request option.
|
|
3551
|
+
* @throws {RequiredError}
|
|
3552
|
+
* @memberof TariffsApi
|
|
3553
|
+
*/
|
|
3554
|
+
tariffServicePutNamedRangeJson(requestParameters: TariffsApiTariffServicePutNamedRangeJsonRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PutNamedRangeJsonResponse, any, {}, any>>;
|
|
3555
|
+
/**
|
|
3556
|
+
* A major can have only one active version. The version must be published and belong to this generation.
|
|
3557
|
+
* @summary Makes a published version the active one of its major.
|
|
3558
|
+
* @param {TariffsApiTariffServiceSetActiveVersionRequest} requestParameters Request parameters.
|
|
3559
|
+
* @param {*} [options] Override http request option.
|
|
3560
|
+
* @throws {RequiredError}
|
|
3561
|
+
* @memberof TariffsApi
|
|
3562
|
+
*/
|
|
3563
|
+
tariffServiceSetActiveVersion(requestParameters: TariffsApiTariffServiceSetActiveVersionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SetActiveVersionResponse, any, {}, any>>;
|
|
3564
|
+
/**
|
|
3565
|
+
* The allowed moves are: - `DRAFT` to `RETIRED`: archives the draft. - `DRAFT` to `DISCARDED`: gives the draft up. - `PUBLISHED` to `ACTIVE`: makes it the active version of its major; a major can have only one active version. - `ACTIVE` to `PUBLISHED`: takes it off sale. - `PUBLISHED` or `ACTIVE` to `RETIRED`: forbids new pins of the version. Any other move is not allowed. A policy already in force never moves to another version.
|
|
3566
|
+
* @summary Moves a version to another lifecycle status.
|
|
3567
|
+
* @param {TariffsApiTariffServiceSetVersionStatusRequest} requestParameters Request parameters.
|
|
3568
|
+
* @param {*} [options] Override http request option.
|
|
3569
|
+
* @throws {RequiredError}
|
|
3570
|
+
* @memberof TariffsApi
|
|
3571
|
+
*/
|
|
3572
|
+
tariffServiceSetVersionStatus(requestParameters: TariffsApiTariffServiceSetVersionStatusRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SetVersionStatusResponse, any, {}, any>>;
|
|
3573
|
+
/**
|
|
3574
|
+
* Only a draft can be rewritten. The call replaces the whole `config` document and runs no gate: the checks run when the asset is published. An `insurance_core` asset is refused, because its document has sections the server owns: save it with `PutCoreConfigDocument`.
|
|
3575
|
+
* @summary Rewrites the configuration of a draft asset.
|
|
3576
|
+
* @param {TariffsApiTariffServiceUpdateCoreConfigRequest} requestParameters Request parameters.
|
|
3577
|
+
* @param {*} [options] Override http request option.
|
|
3578
|
+
* @throws {RequiredError}
|
|
3579
|
+
* @memberof TariffsApi
|
|
3580
|
+
*/
|
|
3581
|
+
tariffServiceUpdateCoreConfig(requestParameters: TariffsApiTariffServiceUpdateCoreConfigRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateCoreConfigResponse, any, {}, any>>;
|
|
3582
|
+
/**
|
|
3583
|
+
* The start date can be changed only while the generation has no numbered version (published, active or archived). The name never changes.
|
|
3584
|
+
* @summary Changes a generation\'s title or start date.
|
|
3585
|
+
* @param {TariffsApiTariffServiceUpdateGenerationRequest} requestParameters Request parameters.
|
|
3586
|
+
* @param {*} [options] Override http request option.
|
|
3587
|
+
* @throws {RequiredError}
|
|
3588
|
+
* @memberof TariffsApi
|
|
3589
|
+
*/
|
|
3590
|
+
tariffServiceUpdateGeneration(requestParameters: TariffsApiTariffServiceUpdateGenerationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateGenerationResponse, any, {}, any>>;
|
|
3591
|
+
/**
|
|
3592
|
+
* The slug, the ERN (EIS Resource Name) and `claimsEnabled` never change. Set at least one of `name`, `description` and `lineOfInsurance`.
|
|
3593
|
+
* @summary Changes a tariff\'s name, description or line of insurance.
|
|
3594
|
+
* @param {TariffsApiTariffServiceUpdateTariffRequest} requestParameters Request parameters.
|
|
3595
|
+
* @param {*} [options] Override http request option.
|
|
3596
|
+
* @throws {RequiredError}
|
|
3597
|
+
* @memberof TariffsApi
|
|
3598
|
+
*/
|
|
3599
|
+
tariffServiceUpdateTariff(requestParameters: TariffsApiTariffServiceUpdateTariffRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateTariffResponse, any, {}, any>>;
|
|
3600
|
+
/**
|
|
3601
|
+
* Only an open draft can be rewritten. The response lists the contract issues found in the new manifest.
|
|
3602
|
+
* @summary Rewrites the manifest of a draft version.
|
|
3603
|
+
* @param {TariffsApiTariffServiceUpdateVersionRequest} requestParameters Request parameters.
|
|
3604
|
+
* @param {*} [options] Override http request option.
|
|
3605
|
+
* @throws {RequiredError}
|
|
3606
|
+
* @memberof TariffsApi
|
|
3607
|
+
*/
|
|
3608
|
+
tariffServiceUpdateVersion(requestParameters: TariffsApiTariffServiceUpdateVersionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateVersionResponse, any, {}, any>>;
|
|
3609
|
+
/**
|
|
3610
|
+
* Runs the publish gate over the asset and writes nothing. A document the gate would refuse is an answer, not an error: the report says why.
|
|
3611
|
+
* @summary Checks an asset against the full publish gate without writing anything.
|
|
3612
|
+
* @param {TariffsApiTariffServiceValidateCoreConfigRequest} requestParameters Request parameters.
|
|
3613
|
+
* @param {*} [options] Override http request option.
|
|
3614
|
+
* @throws {RequiredError}
|
|
3615
|
+
* @memberof TariffsApi
|
|
3616
|
+
*/
|
|
3617
|
+
tariffServiceValidateCoreConfig(requestParameters: TariffsApiTariffServiceValidateCoreConfigRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ValidateCoreConfigResponse, any, {}, any>>;
|
|
3618
|
+
/**
|
|
3619
|
+
* Checks `expression` against the stored document of the asset and writes nothing. `context` says what the expression is for: a premium item (the default) or a field, with an optional `order` and `object`. Each problem has a code, a message, and the position and length of the faulty part.
|
|
3620
|
+
* @summary Checks one expression against the stored document.
|
|
3621
|
+
* @param {TariffsApiTariffServiceValidateCoreConfigExpressionRequest} requestParameters Request parameters.
|
|
3622
|
+
* @param {*} [options] Override http request option.
|
|
3623
|
+
* @throws {RequiredError}
|
|
3624
|
+
* @memberof TariffsApi
|
|
3625
|
+
*/
|
|
3626
|
+
tariffServiceValidateCoreConfigExpression(requestParameters: TariffsApiTariffServiceValidateCoreConfigExpressionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ValidateCoreConfigExpressionResponse, any, {}, any>>;
|
|
3627
|
+
/**
|
|
3628
|
+
* Runs the publish gate over `manifest` and writes nothing. A manifest the gate refuses is an answer, not an error: the report in the response says why.
|
|
3629
|
+
* @summary Runs the publish gate on a manifest without writing anything.
|
|
3630
|
+
* @param {TariffsApiTariffServiceValidateVersionRequest} requestParameters Request parameters.
|
|
3631
|
+
* @param {*} [options] Override http request option.
|
|
3632
|
+
* @throws {RequiredError}
|
|
3633
|
+
* @memberof TariffsApi
|
|
3634
|
+
*/
|
|
3635
|
+
tariffServiceValidateVersion(requestParameters: TariffsApiTariffServiceValidateVersionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ValidateVersionResponse, any, {}, any>>;
|
|
3636
|
+
}
|