@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,1625 @@
|
|
|
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 { CreateGroupCoreConfigBody } from '../models';
|
|
16
|
+
import { CreateGroupCoreConfigResponse } from '../models';
|
|
17
|
+
import { CreateGroupGenerationBody } from '../models';
|
|
18
|
+
import { CreateGroupGenerationResponse } from '../models';
|
|
19
|
+
import { CreateGroupTariffRequest } from '../models';
|
|
20
|
+
import { CreateGroupTariffResponse } from '../models';
|
|
21
|
+
import { CreateGroupVersionBody } from '../models';
|
|
22
|
+
import { CreateGroupVersionResponse } from '../models';
|
|
23
|
+
import { DiscardGroupVersionResponse } from '../models';
|
|
24
|
+
import { GetGroupCoreConfigResponse } from '../models';
|
|
25
|
+
import { GetGroupDiffResponse } from '../models';
|
|
26
|
+
import { GetGroupGenerationResponse } from '../models';
|
|
27
|
+
import { GetGroupTariffFilterCatalogResponse } from '../models';
|
|
28
|
+
import { GetGroupTariffResponse } from '../models';
|
|
29
|
+
import { GetGroupVersionResponse } from '../models';
|
|
30
|
+
import { ListGroupCoreConfigsResponse } from '../models';
|
|
31
|
+
import { ListGroupGenerationsResponse } from '../models';
|
|
32
|
+
import { ListGroupTariffsResponse } from '../models';
|
|
33
|
+
import { ListGroupVersionsResponse } from '../models';
|
|
34
|
+
import { PublishGroupCoreConfigResponse } from '../models';
|
|
35
|
+
import { PublishGroupVersionBody } from '../models';
|
|
36
|
+
import { PublishGroupVersionResponse } from '../models';
|
|
37
|
+
import { SetActiveGroupVersionBody } from '../models';
|
|
38
|
+
import { SetActiveGroupVersionResponse } from '../models';
|
|
39
|
+
import { SetGroupVersionStatusBody } from '../models';
|
|
40
|
+
import { SetGroupVersionStatusResponse } from '../models';
|
|
41
|
+
import { UpdateGroupCoreConfigBody } from '../models';
|
|
42
|
+
import { UpdateGroupCoreConfigResponse } from '../models';
|
|
43
|
+
import { UpdateGroupVersionBody } from '../models';
|
|
44
|
+
import { UpdateGroupVersionResponse } from '../models';
|
|
45
|
+
import { ValidateGroupVersionBody } from '../models';
|
|
46
|
+
import { ValidateGroupVersionResponse } from '../models';
|
|
47
|
+
/**
|
|
48
|
+
* GroupTariffsApi - axios parameter creator
|
|
49
|
+
* @export
|
|
50
|
+
*/
|
|
51
|
+
export declare const GroupTariffsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
52
|
+
/**
|
|
53
|
+
* The asset is stored as a `DRAFT`. `config` is its document and `publishedSchema` the schema that policy data is validated against; either can be left out. `basedOnName` names an asset to copy the new one from.
|
|
54
|
+
* @summary Creates a draft configuration asset of a group tariff.
|
|
55
|
+
* @param {string} groupTariffSlug The group tariff\'s slug.
|
|
56
|
+
* @param {CreateGroupCoreConfigBody} body
|
|
57
|
+
* @param {*} [options] Override http request option.
|
|
58
|
+
* @throws {RequiredError}
|
|
59
|
+
*/
|
|
60
|
+
groupTariffServiceCreateGroupCoreConfig: (groupTariffSlug: string, body: CreateGroupCoreConfigBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
61
|
+
/**
|
|
62
|
+
* A generation is a period of the group tariff that starts on `validFrom`. The call needs the group tariff\'s `If-Match` because adding a generation changes the group tariff. A group generation has no draft: create its first version with `CreateGroupVersion`.
|
|
63
|
+
* @summary Adds a generation to a group tariff.
|
|
64
|
+
* @param {string} groupTariffSlug The group tariff\'s slug.
|
|
65
|
+
* @param {string} ifMatch The group tariff\'s `etag` as last read, sent back unchanged: adding a generation changes the group tariff.
|
|
66
|
+
* @param {CreateGroupGenerationBody} body
|
|
67
|
+
* @param {*} [options] Override http request option.
|
|
68
|
+
* @throws {RequiredError}
|
|
69
|
+
*/
|
|
70
|
+
groupTariffServiceCreateGroupGeneration: (groupTariffSlug: string, ifMatch: string, body: CreateGroupGenerationBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
71
|
+
/**
|
|
72
|
+
* The slug must be new and `tariffSlug` must name an existing tariff. With `baseGeneration` the call also creates the group tariff\'s first generation and its draft version in the same step; without it the group tariff starts empty.
|
|
73
|
+
* @summary Creates a group tariff that references one tariff.
|
|
74
|
+
* @param {CreateGroupTariffRequest} body The request of `CreateGroupTariff`.
|
|
75
|
+
* @param {*} [options] Override http request option.
|
|
76
|
+
* @throws {RequiredError}
|
|
77
|
+
*/
|
|
78
|
+
groupTariffServiceCreateGroupTariff: (body: CreateGroupTariffRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
79
|
+
/**
|
|
80
|
+
* 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.
|
|
81
|
+
* @summary Stores a draft group version.
|
|
82
|
+
* @param {string} groupTariffSlug The group tariff\'s slug.
|
|
83
|
+
* @param {string} generation The generation\'s name, such as `2026`.
|
|
84
|
+
* @param {CreateGroupVersionBody} body
|
|
85
|
+
* @param {*} [options] Override http request option.
|
|
86
|
+
* @throws {RequiredError}
|
|
87
|
+
*/
|
|
88
|
+
groupTariffServiceCreateGroupVersion: (groupTariffSlug: string, generation: string, body: CreateGroupVersionBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
89
|
+
/**
|
|
90
|
+
* The draft becomes `DISCARDED`. It is not deleted: it stays and cannot change.
|
|
91
|
+
* @summary Gives up a draft group version.
|
|
92
|
+
* @param {string} groupTariffSlug The group tariff\'s slug.
|
|
93
|
+
* @param {string} generation The generation\'s name, such as `2026`.
|
|
94
|
+
* @param {string} version The draft id or the draft\'s ERN.
|
|
95
|
+
* @param {string} ifMatch The draft\'s `etag` as last read, sent back unchanged.
|
|
96
|
+
* @param {object} body
|
|
97
|
+
* @param {*} [options] Override http request option.
|
|
98
|
+
* @throws {RequiredError}
|
|
99
|
+
*/
|
|
100
|
+
groupTariffServiceDiscardGroupVersion: (groupTariffSlug: string, generation: string, version: string, ifMatch: string, body: object, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
101
|
+
/**
|
|
102
|
+
* The asset is found by the group tariff\'s slug and the asset\'s name, such as `group_core.v1`.
|
|
103
|
+
* @summary Returns one configuration asset of a group tariff.
|
|
104
|
+
* @param {string} groupTariffSlug The group tariff\'s slug.
|
|
105
|
+
* @param {string} name The asset\'s name, such as `group_core.v1`.
|
|
106
|
+
* @param {*} [options] Override http request option.
|
|
107
|
+
* @throws {RequiredError}
|
|
108
|
+
*/
|
|
109
|
+
groupTariffServiceGetGroupCoreConfig: (groupTariffSlug: string, name: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
110
|
+
/**
|
|
111
|
+
* 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.
|
|
112
|
+
* @summary Returns the differences between a group version and an earlier one.
|
|
113
|
+
* @param {string} groupTariffSlug The group tariff\'s slug.
|
|
114
|
+
* @param {string} generation The generation\'s name, such as `2026`.
|
|
115
|
+
* @param {string} version The version\'s number, such as `1.3`.
|
|
116
|
+
* @param {string} [againstVersion] The ERN of the earlier version to compare with, such as the full ERN of `1.2`. Optional. Empty means the version this one is based on.
|
|
117
|
+
* @param {*} [options] Override http request option.
|
|
118
|
+
* @throws {RequiredError}
|
|
119
|
+
*/
|
|
120
|
+
groupTariffServiceGetGroupDiff: (groupTariffSlug: string, generation: string, version: string, againstVersion?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
121
|
+
/**
|
|
122
|
+
* The generation is found by the group tariff\'s slug and the generation\'s name. Its `etag` goes in the `If-Match` header of a publish or an activation.
|
|
123
|
+
* @summary Returns one generation of a group tariff.
|
|
124
|
+
* @param {string} groupTariffSlug The group tariff\'s slug.
|
|
125
|
+
* @param {string} generation The generation\'s name, such as `2026`.
|
|
126
|
+
* @param {*} [options] Override http request option.
|
|
127
|
+
* @throws {RequiredError}
|
|
128
|
+
*/
|
|
129
|
+
groupTariffServiceGetGroupGeneration: (groupTariffSlug: string, generation: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
130
|
+
/**
|
|
131
|
+
* The group tariff is found by its slug. Its `etag` goes in the `If-Match` header of the calls that change it.
|
|
132
|
+
* @summary Returns one group tariff.
|
|
133
|
+
* @param {string} slug The group tariff\'s slug.
|
|
134
|
+
* @param {*} [options] Override http request option.
|
|
135
|
+
* @throws {RequiredError}
|
|
136
|
+
*/
|
|
137
|
+
groupTariffServiceGetGroupTariff: (slug: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
138
|
+
/**
|
|
139
|
+
* 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`, `tariffSlug`, `createdAt`, `createdBy`, `lineOfInsurance`. - Search: over `slug` and `name`. - Sort: `slug`, `name`, `tariffSlug`, `createdAt`.
|
|
140
|
+
* @summary Returns the filter catalog of the group tariff list: the fields a client can filter it by.
|
|
141
|
+
* @param {*} [options] Override http request option.
|
|
142
|
+
* @throws {RequiredError}
|
|
143
|
+
*/
|
|
144
|
+
groupTariffServiceGetGroupTariffFilterCatalog: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
145
|
+
/**
|
|
146
|
+
* `version` is a number such as `1.3`, a version ERN or, for a draft, a draft id.
|
|
147
|
+
* @summary Returns one version of a group generation.
|
|
148
|
+
* @param {string} groupTariffSlug The group tariff\'s slug.
|
|
149
|
+
* @param {string} generation The generation\'s name, such as `2026`.
|
|
150
|
+
* @param {string} version The version\'s number, such as `1.3`, or, for a draft, its draft id or ERN.
|
|
151
|
+
* @param {*} [options] Override http request option.
|
|
152
|
+
* @throws {RequiredError}
|
|
153
|
+
*/
|
|
154
|
+
groupTariffServiceGetGroupVersion: (groupTariffSlug: string, generation: string, version: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
155
|
+
/**
|
|
156
|
+
* The list is paged and holds the assets of every group tariff, ordered by group tariff slug, then name. It takes no search. - Filter: `groupTariffSlug`, `name`, `status`, `createdAt`. - Sort: `groupTariffSlug`, `name`, `createdAt`.
|
|
157
|
+
* @summary Lists the configuration assets of a group tariff, oldest first.
|
|
158
|
+
* @param {number} [pageSize]
|
|
159
|
+
* @param {string} [pageToken]
|
|
160
|
+
* @param {string} [filter]
|
|
161
|
+
* @param {string} [search]
|
|
162
|
+
* @param {string} [order]
|
|
163
|
+
* @param {string} [expand]
|
|
164
|
+
* @param {string} [filters]
|
|
165
|
+
* @param {*} [options] Override http request option.
|
|
166
|
+
* @throws {RequiredError}
|
|
167
|
+
*/
|
|
168
|
+
groupTariffServiceListGroupCoreConfigs: (pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
169
|
+
/**
|
|
170
|
+
* The list is paged and holds the generations of every group tariff, ordered by group tariff slug, then `validFrom`. It takes no search. To list one group tariff\'s generations, name it in `filters`. - Filter: `groupTariffSlug`, `name`, `validFrom`, `createdAt`. - Sort: `groupTariffSlug`, `name`, `validFrom`, `createdAt`.
|
|
171
|
+
* @summary Lists the generations of a group tariff, ordered by `validFrom`.
|
|
172
|
+
* @param {number} [pageSize]
|
|
173
|
+
* @param {string} [pageToken]
|
|
174
|
+
* @param {string} [filter]
|
|
175
|
+
* @param {string} [search]
|
|
176
|
+
* @param {string} [order]
|
|
177
|
+
* @param {string} [expand]
|
|
178
|
+
* @param {string} [filters]
|
|
179
|
+
* @param {*} [options] Override http request option.
|
|
180
|
+
* @throws {RequiredError}
|
|
181
|
+
*/
|
|
182
|
+
groupTariffServiceListGroupGenerations: (pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
183
|
+
/**
|
|
184
|
+
* Each item is a group tariff; its `match` is filled on a search and empty otherwise. The list is paged. - Filter: `slug`, `name`, `tariffSlug`, `createdAt`, `createdBy`, `lineOfInsurance`. - Search: over `slug` and `name`. - Sort: `slug`, `name`, `tariffSlug`, `createdAt`.
|
|
185
|
+
* @summary Lists the group tariffs.
|
|
186
|
+
* @param {number} [pageSize]
|
|
187
|
+
* @param {string} [pageToken]
|
|
188
|
+
* @param {string} [filter]
|
|
189
|
+
* @param {string} [search]
|
|
190
|
+
* @param {string} [order]
|
|
191
|
+
* @param {string} [expand]
|
|
192
|
+
* @param {string} [filters]
|
|
193
|
+
* @param {*} [options] Override http request option.
|
|
194
|
+
* @throws {RequiredError}
|
|
195
|
+
*/
|
|
196
|
+
groupTariffServiceListGroupTariffs: (pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
197
|
+
/**
|
|
198
|
+
* 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 group tariff and the generation in `filters`: `groupTariffSlug`, `generation` and `includeDrafts`. Versions are sorted by `createdAt`, oldest first.
|
|
199
|
+
* @summary Lists the versions of a group generation, oldest first.
|
|
200
|
+
* @param {number} [pageSize]
|
|
201
|
+
* @param {string} [pageToken]
|
|
202
|
+
* @param {string} [filter]
|
|
203
|
+
* @param {string} [search]
|
|
204
|
+
* @param {string} [order]
|
|
205
|
+
* @param {string} [expand]
|
|
206
|
+
* @param {string} [filters]
|
|
207
|
+
* @param {*} [options] Override http request option.
|
|
208
|
+
* @throws {RequiredError}
|
|
209
|
+
*/
|
|
210
|
+
groupTariffServiceListGroupVersions: (pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
211
|
+
/**
|
|
212
|
+
* Runs the publish gate over the draft and, when it passes, freezes the asset as `PUBLISHED` with its digest. A published asset never changes. When the gate refuses, the call fails and carries the gate\'s report.
|
|
213
|
+
* @summary Publishes a draft configuration asset.
|
|
214
|
+
* @param {string} groupTariffSlug The group tariff\'s slug.
|
|
215
|
+
* @param {string} name The asset\'s name, such as `group_core.v1`.
|
|
216
|
+
* @param {string} ifMatch The asset\'s `etag` as last read, sent back unchanged.
|
|
217
|
+
* @param {object} body
|
|
218
|
+
* @param {*} [options] Override http request option.
|
|
219
|
+
* @throws {RequiredError}
|
|
220
|
+
*/
|
|
221
|
+
groupTariffServicePublishGroupCoreConfig: (groupTariffSlug: string, name: string, ifMatch: string, body: object, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
222
|
+
/**
|
|
223
|
+
* 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. The response also carries the generation as it is after the call.
|
|
224
|
+
* @summary Publishes a group version when the publish gate passes.
|
|
225
|
+
* @param {string} groupTariffSlug The group tariff\'s slug.
|
|
226
|
+
* @param {string} generation The generation\'s name, such as `2026`.
|
|
227
|
+
* @param {string} ifMatch The generation\'s `etag` as last read, sent back unchanged.
|
|
228
|
+
* @param {PublishGroupVersionBody} body
|
|
229
|
+
* @param {*} [options] Override http request option.
|
|
230
|
+
* @throws {RequiredError}
|
|
231
|
+
*/
|
|
232
|
+
groupTariffServicePublishGroupVersion: (groupTariffSlug: string, generation: string, ifMatch: string, body: PublishGroupVersionBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
233
|
+
/**
|
|
234
|
+
* A major can have only one active version. The version must be published and belong to this generation; a retired version is refused. The response carries the generation with its active versions.
|
|
235
|
+
* @summary Makes a published version of a generation its active version.
|
|
236
|
+
* @param {string} groupTariffSlug The group tariff\'s slug.
|
|
237
|
+
* @param {string} generation The generation\'s name, such as `2026`.
|
|
238
|
+
* @param {string} ifMatch The generation\'s `etag` as last read, sent back unchanged.
|
|
239
|
+
* @param {SetActiveGroupVersionBody} body
|
|
240
|
+
* @param {*} [options] Override http request option.
|
|
241
|
+
* @throws {RequiredError}
|
|
242
|
+
*/
|
|
243
|
+
groupTariffServiceSetActiveGroupVersion: (groupTariffSlug: string, generation: string, ifMatch: string, body: SetActiveGroupVersionBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
244
|
+
/**
|
|
245
|
+
* The allowed moves are: - `DRAFT` to `RETIRED`: archives the draft. - `DRAFT` to `DISCARDED`: gives the draft up. - `DRAFT` to `PUBLISHED` or `ACTIVE`: runs the publish gate and assigns the number; `requestMajor` asks for a new major, and `activate` makes the new version active. A refusal carries the gate\'s report. - `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.
|
|
246
|
+
* @summary Moves a group version to another status.
|
|
247
|
+
* @param {string} groupTariffSlug The group tariff\'s slug.
|
|
248
|
+
* @param {string} generation The generation\'s name, such as `2026`.
|
|
249
|
+
* @param {string} version The version: its number (`1.2`), its ERN or, for a draft, its draft id.
|
|
250
|
+
* @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.
|
|
251
|
+
* @param {SetGroupVersionStatusBody} body
|
|
252
|
+
* @param {*} [options] Override http request option.
|
|
253
|
+
* @throws {RequiredError}
|
|
254
|
+
*/
|
|
255
|
+
groupTariffServiceSetGroupVersionStatus: (groupTariffSlug: string, generation: string, version: string, ifMatch: string, body: SetGroupVersionStatusBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
256
|
+
/**
|
|
257
|
+
* Only a draft can be rewritten. The call replaces both documents: `config` and `publishedSchema`; a `publishedSchema` that is left out empties the stored schema. The checks run when the asset is published.
|
|
258
|
+
* @summary Rewrites the content of a draft configuration asset.
|
|
259
|
+
* @param {string} groupTariffSlug The group tariff\'s slug.
|
|
260
|
+
* @param {string} name The asset\'s name, such as `group_core.v1`.
|
|
261
|
+
* @param {string} ifMatch The asset\'s `etag` as last read, sent back unchanged.
|
|
262
|
+
* @param {UpdateGroupCoreConfigBody} body
|
|
263
|
+
* @param {*} [options] Override http request option.
|
|
264
|
+
* @throws {RequiredError}
|
|
265
|
+
*/
|
|
266
|
+
groupTariffServiceUpdateGroupCoreConfig: (groupTariffSlug: string, name: string, ifMatch: string, body: UpdateGroupCoreConfigBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
267
|
+
/**
|
|
268
|
+
* Only an open draft can be rewritten. The response lists the contract issues found in the new manifest.
|
|
269
|
+
* @summary Rewrites the manifest of a draft group version.
|
|
270
|
+
* @param {string} groupTariffSlug The group tariff\'s slug.
|
|
271
|
+
* @param {string} generation The generation\'s name, such as `2026`.
|
|
272
|
+
* @param {string} version The draft id or the draft\'s ERN.
|
|
273
|
+
* @param {string} ifMatch The draft\'s `etag` as last read, sent back unchanged.
|
|
274
|
+
* @param {UpdateGroupVersionBody} body
|
|
275
|
+
* @param {*} [options] Override http request option.
|
|
276
|
+
* @throws {RequiredError}
|
|
277
|
+
*/
|
|
278
|
+
groupTariffServiceUpdateGroupVersion: (groupTariffSlug: string, generation: string, version: string, ifMatch: string, body: UpdateGroupVersionBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
279
|
+
/**
|
|
280
|
+
* 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.
|
|
281
|
+
* @summary Checks a manifest against the publish gate without saving anything.
|
|
282
|
+
* @param {string} groupTariffSlug The group tariff\'s slug.
|
|
283
|
+
* @param {string} generation The generation\'s name, such as `2026`.
|
|
284
|
+
* @param {ValidateGroupVersionBody} body
|
|
285
|
+
* @param {*} [options] Override http request option.
|
|
286
|
+
* @throws {RequiredError}
|
|
287
|
+
*/
|
|
288
|
+
groupTariffServiceValidateGroupVersion: (groupTariffSlug: string, generation: string, body: ValidateGroupVersionBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
289
|
+
};
|
|
290
|
+
/**
|
|
291
|
+
* GroupTariffsApi - functional programming interface
|
|
292
|
+
* @export
|
|
293
|
+
*/
|
|
294
|
+
export declare const GroupTariffsApiFp: (configuration?: Configuration) => {
|
|
295
|
+
/**
|
|
296
|
+
* The asset is stored as a `DRAFT`. `config` is its document and `publishedSchema` the schema that policy data is validated against; either can be left out. `basedOnName` names an asset to copy the new one from.
|
|
297
|
+
* @summary Creates a draft configuration asset of a group tariff.
|
|
298
|
+
* @param {string} groupTariffSlug The group tariff\'s slug.
|
|
299
|
+
* @param {CreateGroupCoreConfigBody} body
|
|
300
|
+
* @param {*} [options] Override http request option.
|
|
301
|
+
* @throws {RequiredError}
|
|
302
|
+
*/
|
|
303
|
+
groupTariffServiceCreateGroupCoreConfig(groupTariffSlug: string, body: CreateGroupCoreConfigBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateGroupCoreConfigResponse>>;
|
|
304
|
+
/**
|
|
305
|
+
* A generation is a period of the group tariff that starts on `validFrom`. The call needs the group tariff\'s `If-Match` because adding a generation changes the group tariff. A group generation has no draft: create its first version with `CreateGroupVersion`.
|
|
306
|
+
* @summary Adds a generation to a group tariff.
|
|
307
|
+
* @param {string} groupTariffSlug The group tariff\'s slug.
|
|
308
|
+
* @param {string} ifMatch The group tariff\'s `etag` as last read, sent back unchanged: adding a generation changes the group tariff.
|
|
309
|
+
* @param {CreateGroupGenerationBody} body
|
|
310
|
+
* @param {*} [options] Override http request option.
|
|
311
|
+
* @throws {RequiredError}
|
|
312
|
+
*/
|
|
313
|
+
groupTariffServiceCreateGroupGeneration(groupTariffSlug: string, ifMatch: string, body: CreateGroupGenerationBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateGroupGenerationResponse>>;
|
|
314
|
+
/**
|
|
315
|
+
* The slug must be new and `tariffSlug` must name an existing tariff. With `baseGeneration` the call also creates the group tariff\'s first generation and its draft version in the same step; without it the group tariff starts empty.
|
|
316
|
+
* @summary Creates a group tariff that references one tariff.
|
|
317
|
+
* @param {CreateGroupTariffRequest} body The request of `CreateGroupTariff`.
|
|
318
|
+
* @param {*} [options] Override http request option.
|
|
319
|
+
* @throws {RequiredError}
|
|
320
|
+
*/
|
|
321
|
+
groupTariffServiceCreateGroupTariff(body: CreateGroupTariffRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateGroupTariffResponse>>;
|
|
322
|
+
/**
|
|
323
|
+
* 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.
|
|
324
|
+
* @summary Stores a draft group version.
|
|
325
|
+
* @param {string} groupTariffSlug The group tariff\'s slug.
|
|
326
|
+
* @param {string} generation The generation\'s name, such as `2026`.
|
|
327
|
+
* @param {CreateGroupVersionBody} body
|
|
328
|
+
* @param {*} [options] Override http request option.
|
|
329
|
+
* @throws {RequiredError}
|
|
330
|
+
*/
|
|
331
|
+
groupTariffServiceCreateGroupVersion(groupTariffSlug: string, generation: string, body: CreateGroupVersionBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateGroupVersionResponse>>;
|
|
332
|
+
/**
|
|
333
|
+
* The draft becomes `DISCARDED`. It is not deleted: it stays and cannot change.
|
|
334
|
+
* @summary Gives up a draft group version.
|
|
335
|
+
* @param {string} groupTariffSlug The group tariff\'s slug.
|
|
336
|
+
* @param {string} generation The generation\'s name, such as `2026`.
|
|
337
|
+
* @param {string} version The draft id or the draft\'s ERN.
|
|
338
|
+
* @param {string} ifMatch The draft\'s `etag` as last read, sent back unchanged.
|
|
339
|
+
* @param {object} body
|
|
340
|
+
* @param {*} [options] Override http request option.
|
|
341
|
+
* @throws {RequiredError}
|
|
342
|
+
*/
|
|
343
|
+
groupTariffServiceDiscardGroupVersion(groupTariffSlug: string, generation: string, version: string, ifMatch: string, body: object, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DiscardGroupVersionResponse>>;
|
|
344
|
+
/**
|
|
345
|
+
* The asset is found by the group tariff\'s slug and the asset\'s name, such as `group_core.v1`.
|
|
346
|
+
* @summary Returns one configuration asset of a group tariff.
|
|
347
|
+
* @param {string} groupTariffSlug The group tariff\'s slug.
|
|
348
|
+
* @param {string} name The asset\'s name, such as `group_core.v1`.
|
|
349
|
+
* @param {*} [options] Override http request option.
|
|
350
|
+
* @throws {RequiredError}
|
|
351
|
+
*/
|
|
352
|
+
groupTariffServiceGetGroupCoreConfig(groupTariffSlug: string, name: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetGroupCoreConfigResponse>>;
|
|
353
|
+
/**
|
|
354
|
+
* 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.
|
|
355
|
+
* @summary Returns the differences between a group version and an earlier one.
|
|
356
|
+
* @param {string} groupTariffSlug The group tariff\'s slug.
|
|
357
|
+
* @param {string} generation The generation\'s name, such as `2026`.
|
|
358
|
+
* @param {string} version The version\'s number, such as `1.3`.
|
|
359
|
+
* @param {string} [againstVersion] The ERN of the earlier version to compare with, such as the full ERN of `1.2`. Optional. Empty means the version this one is based on.
|
|
360
|
+
* @param {*} [options] Override http request option.
|
|
361
|
+
* @throws {RequiredError}
|
|
362
|
+
*/
|
|
363
|
+
groupTariffServiceGetGroupDiff(groupTariffSlug: string, generation: string, version: string, againstVersion?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetGroupDiffResponse>>;
|
|
364
|
+
/**
|
|
365
|
+
* The generation is found by the group tariff\'s slug and the generation\'s name. Its `etag` goes in the `If-Match` header of a publish or an activation.
|
|
366
|
+
* @summary Returns one generation of a group tariff.
|
|
367
|
+
* @param {string} groupTariffSlug The group tariff\'s slug.
|
|
368
|
+
* @param {string} generation The generation\'s name, such as `2026`.
|
|
369
|
+
* @param {*} [options] Override http request option.
|
|
370
|
+
* @throws {RequiredError}
|
|
371
|
+
*/
|
|
372
|
+
groupTariffServiceGetGroupGeneration(groupTariffSlug: string, generation: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetGroupGenerationResponse>>;
|
|
373
|
+
/**
|
|
374
|
+
* The group tariff is found by its slug. Its `etag` goes in the `If-Match` header of the calls that change it.
|
|
375
|
+
* @summary Returns one group tariff.
|
|
376
|
+
* @param {string} slug The group tariff\'s slug.
|
|
377
|
+
* @param {*} [options] Override http request option.
|
|
378
|
+
* @throws {RequiredError}
|
|
379
|
+
*/
|
|
380
|
+
groupTariffServiceGetGroupTariff(slug: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetGroupTariffResponse>>;
|
|
381
|
+
/**
|
|
382
|
+
* 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`, `tariffSlug`, `createdAt`, `createdBy`, `lineOfInsurance`. - Search: over `slug` and `name`. - Sort: `slug`, `name`, `tariffSlug`, `createdAt`.
|
|
383
|
+
* @summary Returns the filter catalog of the group tariff list: the fields a client can filter it by.
|
|
384
|
+
* @param {*} [options] Override http request option.
|
|
385
|
+
* @throws {RequiredError}
|
|
386
|
+
*/
|
|
387
|
+
groupTariffServiceGetGroupTariffFilterCatalog(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetGroupTariffFilterCatalogResponse>>;
|
|
388
|
+
/**
|
|
389
|
+
* `version` is a number such as `1.3`, a version ERN or, for a draft, a draft id.
|
|
390
|
+
* @summary Returns one version of a group generation.
|
|
391
|
+
* @param {string} groupTariffSlug The group tariff\'s slug.
|
|
392
|
+
* @param {string} generation The generation\'s name, such as `2026`.
|
|
393
|
+
* @param {string} version The version\'s number, such as `1.3`, or, for a draft, its draft id or ERN.
|
|
394
|
+
* @param {*} [options] Override http request option.
|
|
395
|
+
* @throws {RequiredError}
|
|
396
|
+
*/
|
|
397
|
+
groupTariffServiceGetGroupVersion(groupTariffSlug: string, generation: string, version: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetGroupVersionResponse>>;
|
|
398
|
+
/**
|
|
399
|
+
* The list is paged and holds the assets of every group tariff, ordered by group tariff slug, then name. It takes no search. - Filter: `groupTariffSlug`, `name`, `status`, `createdAt`. - Sort: `groupTariffSlug`, `name`, `createdAt`.
|
|
400
|
+
* @summary Lists the configuration assets of a group tariff, oldest first.
|
|
401
|
+
* @param {number} [pageSize]
|
|
402
|
+
* @param {string} [pageToken]
|
|
403
|
+
* @param {string} [filter]
|
|
404
|
+
* @param {string} [search]
|
|
405
|
+
* @param {string} [order]
|
|
406
|
+
* @param {string} [expand]
|
|
407
|
+
* @param {string} [filters]
|
|
408
|
+
* @param {*} [options] Override http request option.
|
|
409
|
+
* @throws {RequiredError}
|
|
410
|
+
*/
|
|
411
|
+
groupTariffServiceListGroupCoreConfigs(pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListGroupCoreConfigsResponse>>;
|
|
412
|
+
/**
|
|
413
|
+
* The list is paged and holds the generations of every group tariff, ordered by group tariff slug, then `validFrom`. It takes no search. To list one group tariff\'s generations, name it in `filters`. - Filter: `groupTariffSlug`, `name`, `validFrom`, `createdAt`. - Sort: `groupTariffSlug`, `name`, `validFrom`, `createdAt`.
|
|
414
|
+
* @summary Lists the generations of a group tariff, ordered by `validFrom`.
|
|
415
|
+
* @param {number} [pageSize]
|
|
416
|
+
* @param {string} [pageToken]
|
|
417
|
+
* @param {string} [filter]
|
|
418
|
+
* @param {string} [search]
|
|
419
|
+
* @param {string} [order]
|
|
420
|
+
* @param {string} [expand]
|
|
421
|
+
* @param {string} [filters]
|
|
422
|
+
* @param {*} [options] Override http request option.
|
|
423
|
+
* @throws {RequiredError}
|
|
424
|
+
*/
|
|
425
|
+
groupTariffServiceListGroupGenerations(pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListGroupGenerationsResponse>>;
|
|
426
|
+
/**
|
|
427
|
+
* Each item is a group tariff; its `match` is filled on a search and empty otherwise. The list is paged. - Filter: `slug`, `name`, `tariffSlug`, `createdAt`, `createdBy`, `lineOfInsurance`. - Search: over `slug` and `name`. - Sort: `slug`, `name`, `tariffSlug`, `createdAt`.
|
|
428
|
+
* @summary Lists the group tariffs.
|
|
429
|
+
* @param {number} [pageSize]
|
|
430
|
+
* @param {string} [pageToken]
|
|
431
|
+
* @param {string} [filter]
|
|
432
|
+
* @param {string} [search]
|
|
433
|
+
* @param {string} [order]
|
|
434
|
+
* @param {string} [expand]
|
|
435
|
+
* @param {string} [filters]
|
|
436
|
+
* @param {*} [options] Override http request option.
|
|
437
|
+
* @throws {RequiredError}
|
|
438
|
+
*/
|
|
439
|
+
groupTariffServiceListGroupTariffs(pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListGroupTariffsResponse>>;
|
|
440
|
+
/**
|
|
441
|
+
* 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 group tariff and the generation in `filters`: `groupTariffSlug`, `generation` and `includeDrafts`. Versions are sorted by `createdAt`, oldest first.
|
|
442
|
+
* @summary Lists the versions of a group generation, oldest first.
|
|
443
|
+
* @param {number} [pageSize]
|
|
444
|
+
* @param {string} [pageToken]
|
|
445
|
+
* @param {string} [filter]
|
|
446
|
+
* @param {string} [search]
|
|
447
|
+
* @param {string} [order]
|
|
448
|
+
* @param {string} [expand]
|
|
449
|
+
* @param {string} [filters]
|
|
450
|
+
* @param {*} [options] Override http request option.
|
|
451
|
+
* @throws {RequiredError}
|
|
452
|
+
*/
|
|
453
|
+
groupTariffServiceListGroupVersions(pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListGroupVersionsResponse>>;
|
|
454
|
+
/**
|
|
455
|
+
* Runs the publish gate over the draft and, when it passes, freezes the asset as `PUBLISHED` with its digest. A published asset never changes. When the gate refuses, the call fails and carries the gate\'s report.
|
|
456
|
+
* @summary Publishes a draft configuration asset.
|
|
457
|
+
* @param {string} groupTariffSlug The group tariff\'s slug.
|
|
458
|
+
* @param {string} name The asset\'s name, such as `group_core.v1`.
|
|
459
|
+
* @param {string} ifMatch The asset\'s `etag` as last read, sent back unchanged.
|
|
460
|
+
* @param {object} body
|
|
461
|
+
* @param {*} [options] Override http request option.
|
|
462
|
+
* @throws {RequiredError}
|
|
463
|
+
*/
|
|
464
|
+
groupTariffServicePublishGroupCoreConfig(groupTariffSlug: string, name: string, ifMatch: string, body: object, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PublishGroupCoreConfigResponse>>;
|
|
465
|
+
/**
|
|
466
|
+
* 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. The response also carries the generation as it is after the call.
|
|
467
|
+
* @summary Publishes a group version when the publish gate passes.
|
|
468
|
+
* @param {string} groupTariffSlug The group tariff\'s slug.
|
|
469
|
+
* @param {string} generation The generation\'s name, such as `2026`.
|
|
470
|
+
* @param {string} ifMatch The generation\'s `etag` as last read, sent back unchanged.
|
|
471
|
+
* @param {PublishGroupVersionBody} body
|
|
472
|
+
* @param {*} [options] Override http request option.
|
|
473
|
+
* @throws {RequiredError}
|
|
474
|
+
*/
|
|
475
|
+
groupTariffServicePublishGroupVersion(groupTariffSlug: string, generation: string, ifMatch: string, body: PublishGroupVersionBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PublishGroupVersionResponse>>;
|
|
476
|
+
/**
|
|
477
|
+
* A major can have only one active version. The version must be published and belong to this generation; a retired version is refused. The response carries the generation with its active versions.
|
|
478
|
+
* @summary Makes a published version of a generation its active version.
|
|
479
|
+
* @param {string} groupTariffSlug The group tariff\'s slug.
|
|
480
|
+
* @param {string} generation The generation\'s name, such as `2026`.
|
|
481
|
+
* @param {string} ifMatch The generation\'s `etag` as last read, sent back unchanged.
|
|
482
|
+
* @param {SetActiveGroupVersionBody} body
|
|
483
|
+
* @param {*} [options] Override http request option.
|
|
484
|
+
* @throws {RequiredError}
|
|
485
|
+
*/
|
|
486
|
+
groupTariffServiceSetActiveGroupVersion(groupTariffSlug: string, generation: string, ifMatch: string, body: SetActiveGroupVersionBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SetActiveGroupVersionResponse>>;
|
|
487
|
+
/**
|
|
488
|
+
* The allowed moves are: - `DRAFT` to `RETIRED`: archives the draft. - `DRAFT` to `DISCARDED`: gives the draft up. - `DRAFT` to `PUBLISHED` or `ACTIVE`: runs the publish gate and assigns the number; `requestMajor` asks for a new major, and `activate` makes the new version active. A refusal carries the gate\'s report. - `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.
|
|
489
|
+
* @summary Moves a group version to another status.
|
|
490
|
+
* @param {string} groupTariffSlug The group tariff\'s slug.
|
|
491
|
+
* @param {string} generation The generation\'s name, such as `2026`.
|
|
492
|
+
* @param {string} version The version: its number (`1.2`), its ERN or, for a draft, its draft id.
|
|
493
|
+
* @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.
|
|
494
|
+
* @param {SetGroupVersionStatusBody} body
|
|
495
|
+
* @param {*} [options] Override http request option.
|
|
496
|
+
* @throws {RequiredError}
|
|
497
|
+
*/
|
|
498
|
+
groupTariffServiceSetGroupVersionStatus(groupTariffSlug: string, generation: string, version: string, ifMatch: string, body: SetGroupVersionStatusBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SetGroupVersionStatusResponse>>;
|
|
499
|
+
/**
|
|
500
|
+
* Only a draft can be rewritten. The call replaces both documents: `config` and `publishedSchema`; a `publishedSchema` that is left out empties the stored schema. The checks run when the asset is published.
|
|
501
|
+
* @summary Rewrites the content of a draft configuration asset.
|
|
502
|
+
* @param {string} groupTariffSlug The group tariff\'s slug.
|
|
503
|
+
* @param {string} name The asset\'s name, such as `group_core.v1`.
|
|
504
|
+
* @param {string} ifMatch The asset\'s `etag` as last read, sent back unchanged.
|
|
505
|
+
* @param {UpdateGroupCoreConfigBody} body
|
|
506
|
+
* @param {*} [options] Override http request option.
|
|
507
|
+
* @throws {RequiredError}
|
|
508
|
+
*/
|
|
509
|
+
groupTariffServiceUpdateGroupCoreConfig(groupTariffSlug: string, name: string, ifMatch: string, body: UpdateGroupCoreConfigBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateGroupCoreConfigResponse>>;
|
|
510
|
+
/**
|
|
511
|
+
* Only an open draft can be rewritten. The response lists the contract issues found in the new manifest.
|
|
512
|
+
* @summary Rewrites the manifest of a draft group version.
|
|
513
|
+
* @param {string} groupTariffSlug The group tariff\'s slug.
|
|
514
|
+
* @param {string} generation The generation\'s name, such as `2026`.
|
|
515
|
+
* @param {string} version The draft id or the draft\'s ERN.
|
|
516
|
+
* @param {string} ifMatch The draft\'s `etag` as last read, sent back unchanged.
|
|
517
|
+
* @param {UpdateGroupVersionBody} body
|
|
518
|
+
* @param {*} [options] Override http request option.
|
|
519
|
+
* @throws {RequiredError}
|
|
520
|
+
*/
|
|
521
|
+
groupTariffServiceUpdateGroupVersion(groupTariffSlug: string, generation: string, version: string, ifMatch: string, body: UpdateGroupVersionBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateGroupVersionResponse>>;
|
|
522
|
+
/**
|
|
523
|
+
* 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.
|
|
524
|
+
* @summary Checks a manifest against the publish gate without saving anything.
|
|
525
|
+
* @param {string} groupTariffSlug The group tariff\'s slug.
|
|
526
|
+
* @param {string} generation The generation\'s name, such as `2026`.
|
|
527
|
+
* @param {ValidateGroupVersionBody} body
|
|
528
|
+
* @param {*} [options] Override http request option.
|
|
529
|
+
* @throws {RequiredError}
|
|
530
|
+
*/
|
|
531
|
+
groupTariffServiceValidateGroupVersion(groupTariffSlug: string, generation: string, body: ValidateGroupVersionBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ValidateGroupVersionResponse>>;
|
|
532
|
+
};
|
|
533
|
+
/**
|
|
534
|
+
* GroupTariffsApi - factory interface
|
|
535
|
+
* @export
|
|
536
|
+
*/
|
|
537
|
+
export declare const GroupTariffsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
538
|
+
/**
|
|
539
|
+
* The asset is stored as a `DRAFT`. `config` is its document and `publishedSchema` the schema that policy data is validated against; either can be left out. `basedOnName` names an asset to copy the new one from.
|
|
540
|
+
* @summary Creates a draft configuration asset of a group tariff.
|
|
541
|
+
* @param {string} groupTariffSlug The group tariff\'s slug.
|
|
542
|
+
* @param {CreateGroupCoreConfigBody} body
|
|
543
|
+
* @param {*} [options] Override http request option.
|
|
544
|
+
* @throws {RequiredError}
|
|
545
|
+
*/
|
|
546
|
+
groupTariffServiceCreateGroupCoreConfig(groupTariffSlug: string, body: CreateGroupCoreConfigBody, options?: any): AxiosPromise<CreateGroupCoreConfigResponse>;
|
|
547
|
+
/**
|
|
548
|
+
* A generation is a period of the group tariff that starts on `validFrom`. The call needs the group tariff\'s `If-Match` because adding a generation changes the group tariff. A group generation has no draft: create its first version with `CreateGroupVersion`.
|
|
549
|
+
* @summary Adds a generation to a group tariff.
|
|
550
|
+
* @param {string} groupTariffSlug The group tariff\'s slug.
|
|
551
|
+
* @param {string} ifMatch The group tariff\'s `etag` as last read, sent back unchanged: adding a generation changes the group tariff.
|
|
552
|
+
* @param {CreateGroupGenerationBody} body
|
|
553
|
+
* @param {*} [options] Override http request option.
|
|
554
|
+
* @throws {RequiredError}
|
|
555
|
+
*/
|
|
556
|
+
groupTariffServiceCreateGroupGeneration(groupTariffSlug: string, ifMatch: string, body: CreateGroupGenerationBody, options?: any): AxiosPromise<CreateGroupGenerationResponse>;
|
|
557
|
+
/**
|
|
558
|
+
* The slug must be new and `tariffSlug` must name an existing tariff. With `baseGeneration` the call also creates the group tariff\'s first generation and its draft version in the same step; without it the group tariff starts empty.
|
|
559
|
+
* @summary Creates a group tariff that references one tariff.
|
|
560
|
+
* @param {CreateGroupTariffRequest} body The request of `CreateGroupTariff`.
|
|
561
|
+
* @param {*} [options] Override http request option.
|
|
562
|
+
* @throws {RequiredError}
|
|
563
|
+
*/
|
|
564
|
+
groupTariffServiceCreateGroupTariff(body: CreateGroupTariffRequest, options?: any): AxiosPromise<CreateGroupTariffResponse>;
|
|
565
|
+
/**
|
|
566
|
+
* 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.
|
|
567
|
+
* @summary Stores a draft group version.
|
|
568
|
+
* @param {string} groupTariffSlug The group tariff\'s slug.
|
|
569
|
+
* @param {string} generation The generation\'s name, such as `2026`.
|
|
570
|
+
* @param {CreateGroupVersionBody} body
|
|
571
|
+
* @param {*} [options] Override http request option.
|
|
572
|
+
* @throws {RequiredError}
|
|
573
|
+
*/
|
|
574
|
+
groupTariffServiceCreateGroupVersion(groupTariffSlug: string, generation: string, body: CreateGroupVersionBody, options?: any): AxiosPromise<CreateGroupVersionResponse>;
|
|
575
|
+
/**
|
|
576
|
+
* The draft becomes `DISCARDED`. It is not deleted: it stays and cannot change.
|
|
577
|
+
* @summary Gives up a draft group version.
|
|
578
|
+
* @param {string} groupTariffSlug The group tariff\'s slug.
|
|
579
|
+
* @param {string} generation The generation\'s name, such as `2026`.
|
|
580
|
+
* @param {string} version The draft id or the draft\'s ERN.
|
|
581
|
+
* @param {string} ifMatch The draft\'s `etag` as last read, sent back unchanged.
|
|
582
|
+
* @param {object} body
|
|
583
|
+
* @param {*} [options] Override http request option.
|
|
584
|
+
* @throws {RequiredError}
|
|
585
|
+
*/
|
|
586
|
+
groupTariffServiceDiscardGroupVersion(groupTariffSlug: string, generation: string, version: string, ifMatch: string, body: object, options?: any): AxiosPromise<DiscardGroupVersionResponse>;
|
|
587
|
+
/**
|
|
588
|
+
* The asset is found by the group tariff\'s slug and the asset\'s name, such as `group_core.v1`.
|
|
589
|
+
* @summary Returns one configuration asset of a group tariff.
|
|
590
|
+
* @param {string} groupTariffSlug The group tariff\'s slug.
|
|
591
|
+
* @param {string} name The asset\'s name, such as `group_core.v1`.
|
|
592
|
+
* @param {*} [options] Override http request option.
|
|
593
|
+
* @throws {RequiredError}
|
|
594
|
+
*/
|
|
595
|
+
groupTariffServiceGetGroupCoreConfig(groupTariffSlug: string, name: string, options?: any): AxiosPromise<GetGroupCoreConfigResponse>;
|
|
596
|
+
/**
|
|
597
|
+
* 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.
|
|
598
|
+
* @summary Returns the differences between a group version and an earlier one.
|
|
599
|
+
* @param {string} groupTariffSlug The group tariff\'s slug.
|
|
600
|
+
* @param {string} generation The generation\'s name, such as `2026`.
|
|
601
|
+
* @param {string} version The version\'s number, such as `1.3`.
|
|
602
|
+
* @param {string} [againstVersion] The ERN of the earlier version to compare with, such as the full ERN of `1.2`. Optional. Empty means the version this one is based on.
|
|
603
|
+
* @param {*} [options] Override http request option.
|
|
604
|
+
* @throws {RequiredError}
|
|
605
|
+
*/
|
|
606
|
+
groupTariffServiceGetGroupDiff(groupTariffSlug: string, generation: string, version: string, againstVersion?: string, options?: any): AxiosPromise<GetGroupDiffResponse>;
|
|
607
|
+
/**
|
|
608
|
+
* The generation is found by the group tariff\'s slug and the generation\'s name. Its `etag` goes in the `If-Match` header of a publish or an activation.
|
|
609
|
+
* @summary Returns one generation of a group tariff.
|
|
610
|
+
* @param {string} groupTariffSlug The group tariff\'s slug.
|
|
611
|
+
* @param {string} generation The generation\'s name, such as `2026`.
|
|
612
|
+
* @param {*} [options] Override http request option.
|
|
613
|
+
* @throws {RequiredError}
|
|
614
|
+
*/
|
|
615
|
+
groupTariffServiceGetGroupGeneration(groupTariffSlug: string, generation: string, options?: any): AxiosPromise<GetGroupGenerationResponse>;
|
|
616
|
+
/**
|
|
617
|
+
* The group tariff is found by its slug. Its `etag` goes in the `If-Match` header of the calls that change it.
|
|
618
|
+
* @summary Returns one group tariff.
|
|
619
|
+
* @param {string} slug The group tariff\'s slug.
|
|
620
|
+
* @param {*} [options] Override http request option.
|
|
621
|
+
* @throws {RequiredError}
|
|
622
|
+
*/
|
|
623
|
+
groupTariffServiceGetGroupTariff(slug: string, options?: any): AxiosPromise<GetGroupTariffResponse>;
|
|
624
|
+
/**
|
|
625
|
+
* 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`, `tariffSlug`, `createdAt`, `createdBy`, `lineOfInsurance`. - Search: over `slug` and `name`. - Sort: `slug`, `name`, `tariffSlug`, `createdAt`.
|
|
626
|
+
* @summary Returns the filter catalog of the group tariff list: the fields a client can filter it by.
|
|
627
|
+
* @param {*} [options] Override http request option.
|
|
628
|
+
* @throws {RequiredError}
|
|
629
|
+
*/
|
|
630
|
+
groupTariffServiceGetGroupTariffFilterCatalog(options?: any): AxiosPromise<GetGroupTariffFilterCatalogResponse>;
|
|
631
|
+
/**
|
|
632
|
+
* `version` is a number such as `1.3`, a version ERN or, for a draft, a draft id.
|
|
633
|
+
* @summary Returns one version of a group generation.
|
|
634
|
+
* @param {string} groupTariffSlug The group tariff\'s slug.
|
|
635
|
+
* @param {string} generation The generation\'s name, such as `2026`.
|
|
636
|
+
* @param {string} version The version\'s number, such as `1.3`, or, for a draft, its draft id or ERN.
|
|
637
|
+
* @param {*} [options] Override http request option.
|
|
638
|
+
* @throws {RequiredError}
|
|
639
|
+
*/
|
|
640
|
+
groupTariffServiceGetGroupVersion(groupTariffSlug: string, generation: string, version: string, options?: any): AxiosPromise<GetGroupVersionResponse>;
|
|
641
|
+
/**
|
|
642
|
+
* The list is paged and holds the assets of every group tariff, ordered by group tariff slug, then name. It takes no search. - Filter: `groupTariffSlug`, `name`, `status`, `createdAt`. - Sort: `groupTariffSlug`, `name`, `createdAt`.
|
|
643
|
+
* @summary Lists the configuration assets of a group tariff, oldest first.
|
|
644
|
+
* @param {number} [pageSize]
|
|
645
|
+
* @param {string} [pageToken]
|
|
646
|
+
* @param {string} [filter]
|
|
647
|
+
* @param {string} [search]
|
|
648
|
+
* @param {string} [order]
|
|
649
|
+
* @param {string} [expand]
|
|
650
|
+
* @param {string} [filters]
|
|
651
|
+
* @param {*} [options] Override http request option.
|
|
652
|
+
* @throws {RequiredError}
|
|
653
|
+
*/
|
|
654
|
+
groupTariffServiceListGroupCoreConfigs(pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListGroupCoreConfigsResponse>;
|
|
655
|
+
/**
|
|
656
|
+
* The list is paged and holds the generations of every group tariff, ordered by group tariff slug, then `validFrom`. It takes no search. To list one group tariff\'s generations, name it in `filters`. - Filter: `groupTariffSlug`, `name`, `validFrom`, `createdAt`. - Sort: `groupTariffSlug`, `name`, `validFrom`, `createdAt`.
|
|
657
|
+
* @summary Lists the generations of a group tariff, ordered by `validFrom`.
|
|
658
|
+
* @param {number} [pageSize]
|
|
659
|
+
* @param {string} [pageToken]
|
|
660
|
+
* @param {string} [filter]
|
|
661
|
+
* @param {string} [search]
|
|
662
|
+
* @param {string} [order]
|
|
663
|
+
* @param {string} [expand]
|
|
664
|
+
* @param {string} [filters]
|
|
665
|
+
* @param {*} [options] Override http request option.
|
|
666
|
+
* @throws {RequiredError}
|
|
667
|
+
*/
|
|
668
|
+
groupTariffServiceListGroupGenerations(pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListGroupGenerationsResponse>;
|
|
669
|
+
/**
|
|
670
|
+
* Each item is a group tariff; its `match` is filled on a search and empty otherwise. The list is paged. - Filter: `slug`, `name`, `tariffSlug`, `createdAt`, `createdBy`, `lineOfInsurance`. - Search: over `slug` and `name`. - Sort: `slug`, `name`, `tariffSlug`, `createdAt`.
|
|
671
|
+
* @summary Lists the group tariffs.
|
|
672
|
+
* @param {number} [pageSize]
|
|
673
|
+
* @param {string} [pageToken]
|
|
674
|
+
* @param {string} [filter]
|
|
675
|
+
* @param {string} [search]
|
|
676
|
+
* @param {string} [order]
|
|
677
|
+
* @param {string} [expand]
|
|
678
|
+
* @param {string} [filters]
|
|
679
|
+
* @param {*} [options] Override http request option.
|
|
680
|
+
* @throws {RequiredError}
|
|
681
|
+
*/
|
|
682
|
+
groupTariffServiceListGroupTariffs(pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListGroupTariffsResponse>;
|
|
683
|
+
/**
|
|
684
|
+
* 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 group tariff and the generation in `filters`: `groupTariffSlug`, `generation` and `includeDrafts`. Versions are sorted by `createdAt`, oldest first.
|
|
685
|
+
* @summary Lists the versions of a group generation, oldest first.
|
|
686
|
+
* @param {number} [pageSize]
|
|
687
|
+
* @param {string} [pageToken]
|
|
688
|
+
* @param {string} [filter]
|
|
689
|
+
* @param {string} [search]
|
|
690
|
+
* @param {string} [order]
|
|
691
|
+
* @param {string} [expand]
|
|
692
|
+
* @param {string} [filters]
|
|
693
|
+
* @param {*} [options] Override http request option.
|
|
694
|
+
* @throws {RequiredError}
|
|
695
|
+
*/
|
|
696
|
+
groupTariffServiceListGroupVersions(pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListGroupVersionsResponse>;
|
|
697
|
+
/**
|
|
698
|
+
* Runs the publish gate over the draft and, when it passes, freezes the asset as `PUBLISHED` with its digest. A published asset never changes. When the gate refuses, the call fails and carries the gate\'s report.
|
|
699
|
+
* @summary Publishes a draft configuration asset.
|
|
700
|
+
* @param {string} groupTariffSlug The group tariff\'s slug.
|
|
701
|
+
* @param {string} name The asset\'s name, such as `group_core.v1`.
|
|
702
|
+
* @param {string} ifMatch The asset\'s `etag` as last read, sent back unchanged.
|
|
703
|
+
* @param {object} body
|
|
704
|
+
* @param {*} [options] Override http request option.
|
|
705
|
+
* @throws {RequiredError}
|
|
706
|
+
*/
|
|
707
|
+
groupTariffServicePublishGroupCoreConfig(groupTariffSlug: string, name: string, ifMatch: string, body: object, options?: any): AxiosPromise<PublishGroupCoreConfigResponse>;
|
|
708
|
+
/**
|
|
709
|
+
* 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. The response also carries the generation as it is after the call.
|
|
710
|
+
* @summary Publishes a group version when the publish gate passes.
|
|
711
|
+
* @param {string} groupTariffSlug The group tariff\'s slug.
|
|
712
|
+
* @param {string} generation The generation\'s name, such as `2026`.
|
|
713
|
+
* @param {string} ifMatch The generation\'s `etag` as last read, sent back unchanged.
|
|
714
|
+
* @param {PublishGroupVersionBody} body
|
|
715
|
+
* @param {*} [options] Override http request option.
|
|
716
|
+
* @throws {RequiredError}
|
|
717
|
+
*/
|
|
718
|
+
groupTariffServicePublishGroupVersion(groupTariffSlug: string, generation: string, ifMatch: string, body: PublishGroupVersionBody, options?: any): AxiosPromise<PublishGroupVersionResponse>;
|
|
719
|
+
/**
|
|
720
|
+
* A major can have only one active version. The version must be published and belong to this generation; a retired version is refused. The response carries the generation with its active versions.
|
|
721
|
+
* @summary Makes a published version of a generation its active version.
|
|
722
|
+
* @param {string} groupTariffSlug The group tariff\'s slug.
|
|
723
|
+
* @param {string} generation The generation\'s name, such as `2026`.
|
|
724
|
+
* @param {string} ifMatch The generation\'s `etag` as last read, sent back unchanged.
|
|
725
|
+
* @param {SetActiveGroupVersionBody} body
|
|
726
|
+
* @param {*} [options] Override http request option.
|
|
727
|
+
* @throws {RequiredError}
|
|
728
|
+
*/
|
|
729
|
+
groupTariffServiceSetActiveGroupVersion(groupTariffSlug: string, generation: string, ifMatch: string, body: SetActiveGroupVersionBody, options?: any): AxiosPromise<SetActiveGroupVersionResponse>;
|
|
730
|
+
/**
|
|
731
|
+
* The allowed moves are: - `DRAFT` to `RETIRED`: archives the draft. - `DRAFT` to `DISCARDED`: gives the draft up. - `DRAFT` to `PUBLISHED` or `ACTIVE`: runs the publish gate and assigns the number; `requestMajor` asks for a new major, and `activate` makes the new version active. A refusal carries the gate\'s report. - `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.
|
|
732
|
+
* @summary Moves a group version to another status.
|
|
733
|
+
* @param {string} groupTariffSlug The group tariff\'s slug.
|
|
734
|
+
* @param {string} generation The generation\'s name, such as `2026`.
|
|
735
|
+
* @param {string} version The version: its number (`1.2`), its ERN or, for a draft, its draft id.
|
|
736
|
+
* @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.
|
|
737
|
+
* @param {SetGroupVersionStatusBody} body
|
|
738
|
+
* @param {*} [options] Override http request option.
|
|
739
|
+
* @throws {RequiredError}
|
|
740
|
+
*/
|
|
741
|
+
groupTariffServiceSetGroupVersionStatus(groupTariffSlug: string, generation: string, version: string, ifMatch: string, body: SetGroupVersionStatusBody, options?: any): AxiosPromise<SetGroupVersionStatusResponse>;
|
|
742
|
+
/**
|
|
743
|
+
* Only a draft can be rewritten. The call replaces both documents: `config` and `publishedSchema`; a `publishedSchema` that is left out empties the stored schema. The checks run when the asset is published.
|
|
744
|
+
* @summary Rewrites the content of a draft configuration asset.
|
|
745
|
+
* @param {string} groupTariffSlug The group tariff\'s slug.
|
|
746
|
+
* @param {string} name The asset\'s name, such as `group_core.v1`.
|
|
747
|
+
* @param {string} ifMatch The asset\'s `etag` as last read, sent back unchanged.
|
|
748
|
+
* @param {UpdateGroupCoreConfigBody} body
|
|
749
|
+
* @param {*} [options] Override http request option.
|
|
750
|
+
* @throws {RequiredError}
|
|
751
|
+
*/
|
|
752
|
+
groupTariffServiceUpdateGroupCoreConfig(groupTariffSlug: string, name: string, ifMatch: string, body: UpdateGroupCoreConfigBody, options?: any): AxiosPromise<UpdateGroupCoreConfigResponse>;
|
|
753
|
+
/**
|
|
754
|
+
* Only an open draft can be rewritten. The response lists the contract issues found in the new manifest.
|
|
755
|
+
* @summary Rewrites the manifest of a draft group version.
|
|
756
|
+
* @param {string} groupTariffSlug The group tariff\'s slug.
|
|
757
|
+
* @param {string} generation The generation\'s name, such as `2026`.
|
|
758
|
+
* @param {string} version The draft id or the draft\'s ERN.
|
|
759
|
+
* @param {string} ifMatch The draft\'s `etag` as last read, sent back unchanged.
|
|
760
|
+
* @param {UpdateGroupVersionBody} body
|
|
761
|
+
* @param {*} [options] Override http request option.
|
|
762
|
+
* @throws {RequiredError}
|
|
763
|
+
*/
|
|
764
|
+
groupTariffServiceUpdateGroupVersion(groupTariffSlug: string, generation: string, version: string, ifMatch: string, body: UpdateGroupVersionBody, options?: any): AxiosPromise<UpdateGroupVersionResponse>;
|
|
765
|
+
/**
|
|
766
|
+
* 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.
|
|
767
|
+
* @summary Checks a manifest against the publish gate without saving anything.
|
|
768
|
+
* @param {string} groupTariffSlug The group tariff\'s slug.
|
|
769
|
+
* @param {string} generation The generation\'s name, such as `2026`.
|
|
770
|
+
* @param {ValidateGroupVersionBody} body
|
|
771
|
+
* @param {*} [options] Override http request option.
|
|
772
|
+
* @throws {RequiredError}
|
|
773
|
+
*/
|
|
774
|
+
groupTariffServiceValidateGroupVersion(groupTariffSlug: string, generation: string, body: ValidateGroupVersionBody, options?: any): AxiosPromise<ValidateGroupVersionResponse>;
|
|
775
|
+
};
|
|
776
|
+
/**
|
|
777
|
+
* Request parameters for groupTariffServiceCreateGroupCoreConfig operation in GroupTariffsApi.
|
|
778
|
+
* @export
|
|
779
|
+
* @interface GroupTariffsApiGroupTariffServiceCreateGroupCoreConfigRequest
|
|
780
|
+
*/
|
|
781
|
+
export interface GroupTariffsApiGroupTariffServiceCreateGroupCoreConfigRequest {
|
|
782
|
+
/**
|
|
783
|
+
* The group tariff\'s slug.
|
|
784
|
+
* @type {string}
|
|
785
|
+
* @memberof GroupTariffsApiGroupTariffServiceCreateGroupCoreConfig
|
|
786
|
+
*/
|
|
787
|
+
readonly groupTariffSlug: string;
|
|
788
|
+
/**
|
|
789
|
+
*
|
|
790
|
+
* @type {CreateGroupCoreConfigBody}
|
|
791
|
+
* @memberof GroupTariffsApiGroupTariffServiceCreateGroupCoreConfig
|
|
792
|
+
*/
|
|
793
|
+
readonly body: CreateGroupCoreConfigBody;
|
|
794
|
+
}
|
|
795
|
+
/**
|
|
796
|
+
* Request parameters for groupTariffServiceCreateGroupGeneration operation in GroupTariffsApi.
|
|
797
|
+
* @export
|
|
798
|
+
* @interface GroupTariffsApiGroupTariffServiceCreateGroupGenerationRequest
|
|
799
|
+
*/
|
|
800
|
+
export interface GroupTariffsApiGroupTariffServiceCreateGroupGenerationRequest {
|
|
801
|
+
/**
|
|
802
|
+
* The group tariff\'s slug.
|
|
803
|
+
* @type {string}
|
|
804
|
+
* @memberof GroupTariffsApiGroupTariffServiceCreateGroupGeneration
|
|
805
|
+
*/
|
|
806
|
+
readonly groupTariffSlug: string;
|
|
807
|
+
/**
|
|
808
|
+
* The group tariff\'s `etag` as last read, sent back unchanged: adding a generation changes the group tariff.
|
|
809
|
+
* @type {string}
|
|
810
|
+
* @memberof GroupTariffsApiGroupTariffServiceCreateGroupGeneration
|
|
811
|
+
*/
|
|
812
|
+
readonly ifMatch: string;
|
|
813
|
+
/**
|
|
814
|
+
*
|
|
815
|
+
* @type {CreateGroupGenerationBody}
|
|
816
|
+
* @memberof GroupTariffsApiGroupTariffServiceCreateGroupGeneration
|
|
817
|
+
*/
|
|
818
|
+
readonly body: CreateGroupGenerationBody;
|
|
819
|
+
}
|
|
820
|
+
/**
|
|
821
|
+
* Request parameters for groupTariffServiceCreateGroupTariff operation in GroupTariffsApi.
|
|
822
|
+
* @export
|
|
823
|
+
* @interface GroupTariffsApiGroupTariffServiceCreateGroupTariffRequest
|
|
824
|
+
*/
|
|
825
|
+
export interface GroupTariffsApiGroupTariffServiceCreateGroupTariffRequest {
|
|
826
|
+
/**
|
|
827
|
+
* The request of `CreateGroupTariff`.
|
|
828
|
+
* @type {CreateGroupTariffRequest}
|
|
829
|
+
* @memberof GroupTariffsApiGroupTariffServiceCreateGroupTariff
|
|
830
|
+
*/
|
|
831
|
+
readonly body: CreateGroupTariffRequest;
|
|
832
|
+
}
|
|
833
|
+
/**
|
|
834
|
+
* Request parameters for groupTariffServiceCreateGroupVersion operation in GroupTariffsApi.
|
|
835
|
+
* @export
|
|
836
|
+
* @interface GroupTariffsApiGroupTariffServiceCreateGroupVersionRequest
|
|
837
|
+
*/
|
|
838
|
+
export interface GroupTariffsApiGroupTariffServiceCreateGroupVersionRequest {
|
|
839
|
+
/**
|
|
840
|
+
* The group tariff\'s slug.
|
|
841
|
+
* @type {string}
|
|
842
|
+
* @memberof GroupTariffsApiGroupTariffServiceCreateGroupVersion
|
|
843
|
+
*/
|
|
844
|
+
readonly groupTariffSlug: string;
|
|
845
|
+
/**
|
|
846
|
+
* The generation\'s name, such as `2026`.
|
|
847
|
+
* @type {string}
|
|
848
|
+
* @memberof GroupTariffsApiGroupTariffServiceCreateGroupVersion
|
|
849
|
+
*/
|
|
850
|
+
readonly generation: string;
|
|
851
|
+
/**
|
|
852
|
+
*
|
|
853
|
+
* @type {CreateGroupVersionBody}
|
|
854
|
+
* @memberof GroupTariffsApiGroupTariffServiceCreateGroupVersion
|
|
855
|
+
*/
|
|
856
|
+
readonly body: CreateGroupVersionBody;
|
|
857
|
+
}
|
|
858
|
+
/**
|
|
859
|
+
* Request parameters for groupTariffServiceDiscardGroupVersion operation in GroupTariffsApi.
|
|
860
|
+
* @export
|
|
861
|
+
* @interface GroupTariffsApiGroupTariffServiceDiscardGroupVersionRequest
|
|
862
|
+
*/
|
|
863
|
+
export interface GroupTariffsApiGroupTariffServiceDiscardGroupVersionRequest {
|
|
864
|
+
/**
|
|
865
|
+
* The group tariff\'s slug.
|
|
866
|
+
* @type {string}
|
|
867
|
+
* @memberof GroupTariffsApiGroupTariffServiceDiscardGroupVersion
|
|
868
|
+
*/
|
|
869
|
+
readonly groupTariffSlug: string;
|
|
870
|
+
/**
|
|
871
|
+
* The generation\'s name, such as `2026`.
|
|
872
|
+
* @type {string}
|
|
873
|
+
* @memberof GroupTariffsApiGroupTariffServiceDiscardGroupVersion
|
|
874
|
+
*/
|
|
875
|
+
readonly generation: string;
|
|
876
|
+
/**
|
|
877
|
+
* The draft id or the draft\'s ERN.
|
|
878
|
+
* @type {string}
|
|
879
|
+
* @memberof GroupTariffsApiGroupTariffServiceDiscardGroupVersion
|
|
880
|
+
*/
|
|
881
|
+
readonly version: string;
|
|
882
|
+
/**
|
|
883
|
+
* The draft\'s `etag` as last read, sent back unchanged.
|
|
884
|
+
* @type {string}
|
|
885
|
+
* @memberof GroupTariffsApiGroupTariffServiceDiscardGroupVersion
|
|
886
|
+
*/
|
|
887
|
+
readonly ifMatch: string;
|
|
888
|
+
/**
|
|
889
|
+
*
|
|
890
|
+
* @type {object}
|
|
891
|
+
* @memberof GroupTariffsApiGroupTariffServiceDiscardGroupVersion
|
|
892
|
+
*/
|
|
893
|
+
readonly body: object;
|
|
894
|
+
}
|
|
895
|
+
/**
|
|
896
|
+
* Request parameters for groupTariffServiceGetGroupCoreConfig operation in GroupTariffsApi.
|
|
897
|
+
* @export
|
|
898
|
+
* @interface GroupTariffsApiGroupTariffServiceGetGroupCoreConfigRequest
|
|
899
|
+
*/
|
|
900
|
+
export interface GroupTariffsApiGroupTariffServiceGetGroupCoreConfigRequest {
|
|
901
|
+
/**
|
|
902
|
+
* The group tariff\'s slug.
|
|
903
|
+
* @type {string}
|
|
904
|
+
* @memberof GroupTariffsApiGroupTariffServiceGetGroupCoreConfig
|
|
905
|
+
*/
|
|
906
|
+
readonly groupTariffSlug: string;
|
|
907
|
+
/**
|
|
908
|
+
* The asset\'s name, such as `group_core.v1`.
|
|
909
|
+
* @type {string}
|
|
910
|
+
* @memberof GroupTariffsApiGroupTariffServiceGetGroupCoreConfig
|
|
911
|
+
*/
|
|
912
|
+
readonly name: string;
|
|
913
|
+
}
|
|
914
|
+
/**
|
|
915
|
+
* Request parameters for groupTariffServiceGetGroupDiff operation in GroupTariffsApi.
|
|
916
|
+
* @export
|
|
917
|
+
* @interface GroupTariffsApiGroupTariffServiceGetGroupDiffRequest
|
|
918
|
+
*/
|
|
919
|
+
export interface GroupTariffsApiGroupTariffServiceGetGroupDiffRequest {
|
|
920
|
+
/**
|
|
921
|
+
* The group tariff\'s slug.
|
|
922
|
+
* @type {string}
|
|
923
|
+
* @memberof GroupTariffsApiGroupTariffServiceGetGroupDiff
|
|
924
|
+
*/
|
|
925
|
+
readonly groupTariffSlug: string;
|
|
926
|
+
/**
|
|
927
|
+
* The generation\'s name, such as `2026`.
|
|
928
|
+
* @type {string}
|
|
929
|
+
* @memberof GroupTariffsApiGroupTariffServiceGetGroupDiff
|
|
930
|
+
*/
|
|
931
|
+
readonly generation: string;
|
|
932
|
+
/**
|
|
933
|
+
* The version\'s number, such as `1.3`.
|
|
934
|
+
* @type {string}
|
|
935
|
+
* @memberof GroupTariffsApiGroupTariffServiceGetGroupDiff
|
|
936
|
+
*/
|
|
937
|
+
readonly version: string;
|
|
938
|
+
/**
|
|
939
|
+
* The ERN of the earlier version to compare with, such as the full ERN of `1.2`. Optional. Empty means the version this one is based on.
|
|
940
|
+
* @type {string}
|
|
941
|
+
* @memberof GroupTariffsApiGroupTariffServiceGetGroupDiff
|
|
942
|
+
*/
|
|
943
|
+
readonly againstVersion?: string;
|
|
944
|
+
}
|
|
945
|
+
/**
|
|
946
|
+
* Request parameters for groupTariffServiceGetGroupGeneration operation in GroupTariffsApi.
|
|
947
|
+
* @export
|
|
948
|
+
* @interface GroupTariffsApiGroupTariffServiceGetGroupGenerationRequest
|
|
949
|
+
*/
|
|
950
|
+
export interface GroupTariffsApiGroupTariffServiceGetGroupGenerationRequest {
|
|
951
|
+
/**
|
|
952
|
+
* The group tariff\'s slug.
|
|
953
|
+
* @type {string}
|
|
954
|
+
* @memberof GroupTariffsApiGroupTariffServiceGetGroupGeneration
|
|
955
|
+
*/
|
|
956
|
+
readonly groupTariffSlug: string;
|
|
957
|
+
/**
|
|
958
|
+
* The generation\'s name, such as `2026`.
|
|
959
|
+
* @type {string}
|
|
960
|
+
* @memberof GroupTariffsApiGroupTariffServiceGetGroupGeneration
|
|
961
|
+
*/
|
|
962
|
+
readonly generation: string;
|
|
963
|
+
}
|
|
964
|
+
/**
|
|
965
|
+
* Request parameters for groupTariffServiceGetGroupTariff operation in GroupTariffsApi.
|
|
966
|
+
* @export
|
|
967
|
+
* @interface GroupTariffsApiGroupTariffServiceGetGroupTariffRequest
|
|
968
|
+
*/
|
|
969
|
+
export interface GroupTariffsApiGroupTariffServiceGetGroupTariffRequest {
|
|
970
|
+
/**
|
|
971
|
+
* The group tariff\'s slug.
|
|
972
|
+
* @type {string}
|
|
973
|
+
* @memberof GroupTariffsApiGroupTariffServiceGetGroupTariff
|
|
974
|
+
*/
|
|
975
|
+
readonly slug: string;
|
|
976
|
+
}
|
|
977
|
+
/**
|
|
978
|
+
* Request parameters for groupTariffServiceGetGroupVersion operation in GroupTariffsApi.
|
|
979
|
+
* @export
|
|
980
|
+
* @interface GroupTariffsApiGroupTariffServiceGetGroupVersionRequest
|
|
981
|
+
*/
|
|
982
|
+
export interface GroupTariffsApiGroupTariffServiceGetGroupVersionRequest {
|
|
983
|
+
/**
|
|
984
|
+
* The group tariff\'s slug.
|
|
985
|
+
* @type {string}
|
|
986
|
+
* @memberof GroupTariffsApiGroupTariffServiceGetGroupVersion
|
|
987
|
+
*/
|
|
988
|
+
readonly groupTariffSlug: string;
|
|
989
|
+
/**
|
|
990
|
+
* The generation\'s name, such as `2026`.
|
|
991
|
+
* @type {string}
|
|
992
|
+
* @memberof GroupTariffsApiGroupTariffServiceGetGroupVersion
|
|
993
|
+
*/
|
|
994
|
+
readonly generation: string;
|
|
995
|
+
/**
|
|
996
|
+
* The version\'s number, such as `1.3`, or, for a draft, its draft id or ERN.
|
|
997
|
+
* @type {string}
|
|
998
|
+
* @memberof GroupTariffsApiGroupTariffServiceGetGroupVersion
|
|
999
|
+
*/
|
|
1000
|
+
readonly version: string;
|
|
1001
|
+
}
|
|
1002
|
+
/**
|
|
1003
|
+
* Request parameters for groupTariffServiceListGroupCoreConfigs operation in GroupTariffsApi.
|
|
1004
|
+
* @export
|
|
1005
|
+
* @interface GroupTariffsApiGroupTariffServiceListGroupCoreConfigsRequest
|
|
1006
|
+
*/
|
|
1007
|
+
export interface GroupTariffsApiGroupTariffServiceListGroupCoreConfigsRequest {
|
|
1008
|
+
/**
|
|
1009
|
+
*
|
|
1010
|
+
* @type {number}
|
|
1011
|
+
* @memberof GroupTariffsApiGroupTariffServiceListGroupCoreConfigs
|
|
1012
|
+
*/
|
|
1013
|
+
readonly pageSize?: number;
|
|
1014
|
+
/**
|
|
1015
|
+
*
|
|
1016
|
+
* @type {string}
|
|
1017
|
+
* @memberof GroupTariffsApiGroupTariffServiceListGroupCoreConfigs
|
|
1018
|
+
*/
|
|
1019
|
+
readonly pageToken?: string;
|
|
1020
|
+
/**
|
|
1021
|
+
*
|
|
1022
|
+
* @type {string}
|
|
1023
|
+
* @memberof GroupTariffsApiGroupTariffServiceListGroupCoreConfigs
|
|
1024
|
+
*/
|
|
1025
|
+
readonly filter?: string;
|
|
1026
|
+
/**
|
|
1027
|
+
*
|
|
1028
|
+
* @type {string}
|
|
1029
|
+
* @memberof GroupTariffsApiGroupTariffServiceListGroupCoreConfigs
|
|
1030
|
+
*/
|
|
1031
|
+
readonly search?: string;
|
|
1032
|
+
/**
|
|
1033
|
+
*
|
|
1034
|
+
* @type {string}
|
|
1035
|
+
* @memberof GroupTariffsApiGroupTariffServiceListGroupCoreConfigs
|
|
1036
|
+
*/
|
|
1037
|
+
readonly order?: string;
|
|
1038
|
+
/**
|
|
1039
|
+
*
|
|
1040
|
+
* @type {string}
|
|
1041
|
+
* @memberof GroupTariffsApiGroupTariffServiceListGroupCoreConfigs
|
|
1042
|
+
*/
|
|
1043
|
+
readonly expand?: string;
|
|
1044
|
+
/**
|
|
1045
|
+
*
|
|
1046
|
+
* @type {string}
|
|
1047
|
+
* @memberof GroupTariffsApiGroupTariffServiceListGroupCoreConfigs
|
|
1048
|
+
*/
|
|
1049
|
+
readonly filters?: string;
|
|
1050
|
+
}
|
|
1051
|
+
/**
|
|
1052
|
+
* Request parameters for groupTariffServiceListGroupGenerations operation in GroupTariffsApi.
|
|
1053
|
+
* @export
|
|
1054
|
+
* @interface GroupTariffsApiGroupTariffServiceListGroupGenerationsRequest
|
|
1055
|
+
*/
|
|
1056
|
+
export interface GroupTariffsApiGroupTariffServiceListGroupGenerationsRequest {
|
|
1057
|
+
/**
|
|
1058
|
+
*
|
|
1059
|
+
* @type {number}
|
|
1060
|
+
* @memberof GroupTariffsApiGroupTariffServiceListGroupGenerations
|
|
1061
|
+
*/
|
|
1062
|
+
readonly pageSize?: number;
|
|
1063
|
+
/**
|
|
1064
|
+
*
|
|
1065
|
+
* @type {string}
|
|
1066
|
+
* @memberof GroupTariffsApiGroupTariffServiceListGroupGenerations
|
|
1067
|
+
*/
|
|
1068
|
+
readonly pageToken?: string;
|
|
1069
|
+
/**
|
|
1070
|
+
*
|
|
1071
|
+
* @type {string}
|
|
1072
|
+
* @memberof GroupTariffsApiGroupTariffServiceListGroupGenerations
|
|
1073
|
+
*/
|
|
1074
|
+
readonly filter?: string;
|
|
1075
|
+
/**
|
|
1076
|
+
*
|
|
1077
|
+
* @type {string}
|
|
1078
|
+
* @memberof GroupTariffsApiGroupTariffServiceListGroupGenerations
|
|
1079
|
+
*/
|
|
1080
|
+
readonly search?: string;
|
|
1081
|
+
/**
|
|
1082
|
+
*
|
|
1083
|
+
* @type {string}
|
|
1084
|
+
* @memberof GroupTariffsApiGroupTariffServiceListGroupGenerations
|
|
1085
|
+
*/
|
|
1086
|
+
readonly order?: string;
|
|
1087
|
+
/**
|
|
1088
|
+
*
|
|
1089
|
+
* @type {string}
|
|
1090
|
+
* @memberof GroupTariffsApiGroupTariffServiceListGroupGenerations
|
|
1091
|
+
*/
|
|
1092
|
+
readonly expand?: string;
|
|
1093
|
+
/**
|
|
1094
|
+
*
|
|
1095
|
+
* @type {string}
|
|
1096
|
+
* @memberof GroupTariffsApiGroupTariffServiceListGroupGenerations
|
|
1097
|
+
*/
|
|
1098
|
+
readonly filters?: string;
|
|
1099
|
+
}
|
|
1100
|
+
/**
|
|
1101
|
+
* Request parameters for groupTariffServiceListGroupTariffs operation in GroupTariffsApi.
|
|
1102
|
+
* @export
|
|
1103
|
+
* @interface GroupTariffsApiGroupTariffServiceListGroupTariffsRequest
|
|
1104
|
+
*/
|
|
1105
|
+
export interface GroupTariffsApiGroupTariffServiceListGroupTariffsRequest {
|
|
1106
|
+
/**
|
|
1107
|
+
*
|
|
1108
|
+
* @type {number}
|
|
1109
|
+
* @memberof GroupTariffsApiGroupTariffServiceListGroupTariffs
|
|
1110
|
+
*/
|
|
1111
|
+
readonly pageSize?: number;
|
|
1112
|
+
/**
|
|
1113
|
+
*
|
|
1114
|
+
* @type {string}
|
|
1115
|
+
* @memberof GroupTariffsApiGroupTariffServiceListGroupTariffs
|
|
1116
|
+
*/
|
|
1117
|
+
readonly pageToken?: string;
|
|
1118
|
+
/**
|
|
1119
|
+
*
|
|
1120
|
+
* @type {string}
|
|
1121
|
+
* @memberof GroupTariffsApiGroupTariffServiceListGroupTariffs
|
|
1122
|
+
*/
|
|
1123
|
+
readonly filter?: string;
|
|
1124
|
+
/**
|
|
1125
|
+
*
|
|
1126
|
+
* @type {string}
|
|
1127
|
+
* @memberof GroupTariffsApiGroupTariffServiceListGroupTariffs
|
|
1128
|
+
*/
|
|
1129
|
+
readonly search?: string;
|
|
1130
|
+
/**
|
|
1131
|
+
*
|
|
1132
|
+
* @type {string}
|
|
1133
|
+
* @memberof GroupTariffsApiGroupTariffServiceListGroupTariffs
|
|
1134
|
+
*/
|
|
1135
|
+
readonly order?: string;
|
|
1136
|
+
/**
|
|
1137
|
+
*
|
|
1138
|
+
* @type {string}
|
|
1139
|
+
* @memberof GroupTariffsApiGroupTariffServiceListGroupTariffs
|
|
1140
|
+
*/
|
|
1141
|
+
readonly expand?: string;
|
|
1142
|
+
/**
|
|
1143
|
+
*
|
|
1144
|
+
* @type {string}
|
|
1145
|
+
* @memberof GroupTariffsApiGroupTariffServiceListGroupTariffs
|
|
1146
|
+
*/
|
|
1147
|
+
readonly filters?: string;
|
|
1148
|
+
}
|
|
1149
|
+
/**
|
|
1150
|
+
* Request parameters for groupTariffServiceListGroupVersions operation in GroupTariffsApi.
|
|
1151
|
+
* @export
|
|
1152
|
+
* @interface GroupTariffsApiGroupTariffServiceListGroupVersionsRequest
|
|
1153
|
+
*/
|
|
1154
|
+
export interface GroupTariffsApiGroupTariffServiceListGroupVersionsRequest {
|
|
1155
|
+
/**
|
|
1156
|
+
*
|
|
1157
|
+
* @type {number}
|
|
1158
|
+
* @memberof GroupTariffsApiGroupTariffServiceListGroupVersions
|
|
1159
|
+
*/
|
|
1160
|
+
readonly pageSize?: number;
|
|
1161
|
+
/**
|
|
1162
|
+
*
|
|
1163
|
+
* @type {string}
|
|
1164
|
+
* @memberof GroupTariffsApiGroupTariffServiceListGroupVersions
|
|
1165
|
+
*/
|
|
1166
|
+
readonly pageToken?: string;
|
|
1167
|
+
/**
|
|
1168
|
+
*
|
|
1169
|
+
* @type {string}
|
|
1170
|
+
* @memberof GroupTariffsApiGroupTariffServiceListGroupVersions
|
|
1171
|
+
*/
|
|
1172
|
+
readonly filter?: string;
|
|
1173
|
+
/**
|
|
1174
|
+
*
|
|
1175
|
+
* @type {string}
|
|
1176
|
+
* @memberof GroupTariffsApiGroupTariffServiceListGroupVersions
|
|
1177
|
+
*/
|
|
1178
|
+
readonly search?: string;
|
|
1179
|
+
/**
|
|
1180
|
+
*
|
|
1181
|
+
* @type {string}
|
|
1182
|
+
* @memberof GroupTariffsApiGroupTariffServiceListGroupVersions
|
|
1183
|
+
*/
|
|
1184
|
+
readonly order?: string;
|
|
1185
|
+
/**
|
|
1186
|
+
*
|
|
1187
|
+
* @type {string}
|
|
1188
|
+
* @memberof GroupTariffsApiGroupTariffServiceListGroupVersions
|
|
1189
|
+
*/
|
|
1190
|
+
readonly expand?: string;
|
|
1191
|
+
/**
|
|
1192
|
+
*
|
|
1193
|
+
* @type {string}
|
|
1194
|
+
* @memberof GroupTariffsApiGroupTariffServiceListGroupVersions
|
|
1195
|
+
*/
|
|
1196
|
+
readonly filters?: string;
|
|
1197
|
+
}
|
|
1198
|
+
/**
|
|
1199
|
+
* Request parameters for groupTariffServicePublishGroupCoreConfig operation in GroupTariffsApi.
|
|
1200
|
+
* @export
|
|
1201
|
+
* @interface GroupTariffsApiGroupTariffServicePublishGroupCoreConfigRequest
|
|
1202
|
+
*/
|
|
1203
|
+
export interface GroupTariffsApiGroupTariffServicePublishGroupCoreConfigRequest {
|
|
1204
|
+
/**
|
|
1205
|
+
* The group tariff\'s slug.
|
|
1206
|
+
* @type {string}
|
|
1207
|
+
* @memberof GroupTariffsApiGroupTariffServicePublishGroupCoreConfig
|
|
1208
|
+
*/
|
|
1209
|
+
readonly groupTariffSlug: string;
|
|
1210
|
+
/**
|
|
1211
|
+
* The asset\'s name, such as `group_core.v1`.
|
|
1212
|
+
* @type {string}
|
|
1213
|
+
* @memberof GroupTariffsApiGroupTariffServicePublishGroupCoreConfig
|
|
1214
|
+
*/
|
|
1215
|
+
readonly name: string;
|
|
1216
|
+
/**
|
|
1217
|
+
* The asset\'s `etag` as last read, sent back unchanged.
|
|
1218
|
+
* @type {string}
|
|
1219
|
+
* @memberof GroupTariffsApiGroupTariffServicePublishGroupCoreConfig
|
|
1220
|
+
*/
|
|
1221
|
+
readonly ifMatch: string;
|
|
1222
|
+
/**
|
|
1223
|
+
*
|
|
1224
|
+
* @type {object}
|
|
1225
|
+
* @memberof GroupTariffsApiGroupTariffServicePublishGroupCoreConfig
|
|
1226
|
+
*/
|
|
1227
|
+
readonly body: object;
|
|
1228
|
+
}
|
|
1229
|
+
/**
|
|
1230
|
+
* Request parameters for groupTariffServicePublishGroupVersion operation in GroupTariffsApi.
|
|
1231
|
+
* @export
|
|
1232
|
+
* @interface GroupTariffsApiGroupTariffServicePublishGroupVersionRequest
|
|
1233
|
+
*/
|
|
1234
|
+
export interface GroupTariffsApiGroupTariffServicePublishGroupVersionRequest {
|
|
1235
|
+
/**
|
|
1236
|
+
* The group tariff\'s slug.
|
|
1237
|
+
* @type {string}
|
|
1238
|
+
* @memberof GroupTariffsApiGroupTariffServicePublishGroupVersion
|
|
1239
|
+
*/
|
|
1240
|
+
readonly groupTariffSlug: string;
|
|
1241
|
+
/**
|
|
1242
|
+
* The generation\'s name, such as `2026`.
|
|
1243
|
+
* @type {string}
|
|
1244
|
+
* @memberof GroupTariffsApiGroupTariffServicePublishGroupVersion
|
|
1245
|
+
*/
|
|
1246
|
+
readonly generation: string;
|
|
1247
|
+
/**
|
|
1248
|
+
* The generation\'s `etag` as last read, sent back unchanged.
|
|
1249
|
+
* @type {string}
|
|
1250
|
+
* @memberof GroupTariffsApiGroupTariffServicePublishGroupVersion
|
|
1251
|
+
*/
|
|
1252
|
+
readonly ifMatch: string;
|
|
1253
|
+
/**
|
|
1254
|
+
*
|
|
1255
|
+
* @type {PublishGroupVersionBody}
|
|
1256
|
+
* @memberof GroupTariffsApiGroupTariffServicePublishGroupVersion
|
|
1257
|
+
*/
|
|
1258
|
+
readonly body: PublishGroupVersionBody;
|
|
1259
|
+
}
|
|
1260
|
+
/**
|
|
1261
|
+
* Request parameters for groupTariffServiceSetActiveGroupVersion operation in GroupTariffsApi.
|
|
1262
|
+
* @export
|
|
1263
|
+
* @interface GroupTariffsApiGroupTariffServiceSetActiveGroupVersionRequest
|
|
1264
|
+
*/
|
|
1265
|
+
export interface GroupTariffsApiGroupTariffServiceSetActiveGroupVersionRequest {
|
|
1266
|
+
/**
|
|
1267
|
+
* The group tariff\'s slug.
|
|
1268
|
+
* @type {string}
|
|
1269
|
+
* @memberof GroupTariffsApiGroupTariffServiceSetActiveGroupVersion
|
|
1270
|
+
*/
|
|
1271
|
+
readonly groupTariffSlug: string;
|
|
1272
|
+
/**
|
|
1273
|
+
* The generation\'s name, such as `2026`.
|
|
1274
|
+
* @type {string}
|
|
1275
|
+
* @memberof GroupTariffsApiGroupTariffServiceSetActiveGroupVersion
|
|
1276
|
+
*/
|
|
1277
|
+
readonly generation: string;
|
|
1278
|
+
/**
|
|
1279
|
+
* The generation\'s `etag` as last read, sent back unchanged.
|
|
1280
|
+
* @type {string}
|
|
1281
|
+
* @memberof GroupTariffsApiGroupTariffServiceSetActiveGroupVersion
|
|
1282
|
+
*/
|
|
1283
|
+
readonly ifMatch: string;
|
|
1284
|
+
/**
|
|
1285
|
+
*
|
|
1286
|
+
* @type {SetActiveGroupVersionBody}
|
|
1287
|
+
* @memberof GroupTariffsApiGroupTariffServiceSetActiveGroupVersion
|
|
1288
|
+
*/
|
|
1289
|
+
readonly body: SetActiveGroupVersionBody;
|
|
1290
|
+
}
|
|
1291
|
+
/**
|
|
1292
|
+
* Request parameters for groupTariffServiceSetGroupVersionStatus operation in GroupTariffsApi.
|
|
1293
|
+
* @export
|
|
1294
|
+
* @interface GroupTariffsApiGroupTariffServiceSetGroupVersionStatusRequest
|
|
1295
|
+
*/
|
|
1296
|
+
export interface GroupTariffsApiGroupTariffServiceSetGroupVersionStatusRequest {
|
|
1297
|
+
/**
|
|
1298
|
+
* The group tariff\'s slug.
|
|
1299
|
+
* @type {string}
|
|
1300
|
+
* @memberof GroupTariffsApiGroupTariffServiceSetGroupVersionStatus
|
|
1301
|
+
*/
|
|
1302
|
+
readonly groupTariffSlug: string;
|
|
1303
|
+
/**
|
|
1304
|
+
* The generation\'s name, such as `2026`.
|
|
1305
|
+
* @type {string}
|
|
1306
|
+
* @memberof GroupTariffsApiGroupTariffServiceSetGroupVersionStatus
|
|
1307
|
+
*/
|
|
1308
|
+
readonly generation: string;
|
|
1309
|
+
/**
|
|
1310
|
+
* The version: its number (`1.2`), its ERN or, for a draft, its draft id.
|
|
1311
|
+
* @type {string}
|
|
1312
|
+
* @memberof GroupTariffsApiGroupTariffServiceSetGroupVersionStatus
|
|
1313
|
+
*/
|
|
1314
|
+
readonly version: string;
|
|
1315
|
+
/**
|
|
1316
|
+
* The draft\'s `etag` when the version is a draft, otherwise its generation\'s `etag`, as last read and sent back unchanged.
|
|
1317
|
+
* @type {string}
|
|
1318
|
+
* @memberof GroupTariffsApiGroupTariffServiceSetGroupVersionStatus
|
|
1319
|
+
*/
|
|
1320
|
+
readonly ifMatch: string;
|
|
1321
|
+
/**
|
|
1322
|
+
*
|
|
1323
|
+
* @type {SetGroupVersionStatusBody}
|
|
1324
|
+
* @memberof GroupTariffsApiGroupTariffServiceSetGroupVersionStatus
|
|
1325
|
+
*/
|
|
1326
|
+
readonly body: SetGroupVersionStatusBody;
|
|
1327
|
+
}
|
|
1328
|
+
/**
|
|
1329
|
+
* Request parameters for groupTariffServiceUpdateGroupCoreConfig operation in GroupTariffsApi.
|
|
1330
|
+
* @export
|
|
1331
|
+
* @interface GroupTariffsApiGroupTariffServiceUpdateGroupCoreConfigRequest
|
|
1332
|
+
*/
|
|
1333
|
+
export interface GroupTariffsApiGroupTariffServiceUpdateGroupCoreConfigRequest {
|
|
1334
|
+
/**
|
|
1335
|
+
* The group tariff\'s slug.
|
|
1336
|
+
* @type {string}
|
|
1337
|
+
* @memberof GroupTariffsApiGroupTariffServiceUpdateGroupCoreConfig
|
|
1338
|
+
*/
|
|
1339
|
+
readonly groupTariffSlug: string;
|
|
1340
|
+
/**
|
|
1341
|
+
* The asset\'s name, such as `group_core.v1`.
|
|
1342
|
+
* @type {string}
|
|
1343
|
+
* @memberof GroupTariffsApiGroupTariffServiceUpdateGroupCoreConfig
|
|
1344
|
+
*/
|
|
1345
|
+
readonly name: string;
|
|
1346
|
+
/**
|
|
1347
|
+
* The asset\'s `etag` as last read, sent back unchanged.
|
|
1348
|
+
* @type {string}
|
|
1349
|
+
* @memberof GroupTariffsApiGroupTariffServiceUpdateGroupCoreConfig
|
|
1350
|
+
*/
|
|
1351
|
+
readonly ifMatch: string;
|
|
1352
|
+
/**
|
|
1353
|
+
*
|
|
1354
|
+
* @type {UpdateGroupCoreConfigBody}
|
|
1355
|
+
* @memberof GroupTariffsApiGroupTariffServiceUpdateGroupCoreConfig
|
|
1356
|
+
*/
|
|
1357
|
+
readonly body: UpdateGroupCoreConfigBody;
|
|
1358
|
+
}
|
|
1359
|
+
/**
|
|
1360
|
+
* Request parameters for groupTariffServiceUpdateGroupVersion operation in GroupTariffsApi.
|
|
1361
|
+
* @export
|
|
1362
|
+
* @interface GroupTariffsApiGroupTariffServiceUpdateGroupVersionRequest
|
|
1363
|
+
*/
|
|
1364
|
+
export interface GroupTariffsApiGroupTariffServiceUpdateGroupVersionRequest {
|
|
1365
|
+
/**
|
|
1366
|
+
* The group tariff\'s slug.
|
|
1367
|
+
* @type {string}
|
|
1368
|
+
* @memberof GroupTariffsApiGroupTariffServiceUpdateGroupVersion
|
|
1369
|
+
*/
|
|
1370
|
+
readonly groupTariffSlug: string;
|
|
1371
|
+
/**
|
|
1372
|
+
* The generation\'s name, such as `2026`.
|
|
1373
|
+
* @type {string}
|
|
1374
|
+
* @memberof GroupTariffsApiGroupTariffServiceUpdateGroupVersion
|
|
1375
|
+
*/
|
|
1376
|
+
readonly generation: string;
|
|
1377
|
+
/**
|
|
1378
|
+
* The draft id or the draft\'s ERN.
|
|
1379
|
+
* @type {string}
|
|
1380
|
+
* @memberof GroupTariffsApiGroupTariffServiceUpdateGroupVersion
|
|
1381
|
+
*/
|
|
1382
|
+
readonly version: string;
|
|
1383
|
+
/**
|
|
1384
|
+
* The draft\'s `etag` as last read, sent back unchanged.
|
|
1385
|
+
* @type {string}
|
|
1386
|
+
* @memberof GroupTariffsApiGroupTariffServiceUpdateGroupVersion
|
|
1387
|
+
*/
|
|
1388
|
+
readonly ifMatch: string;
|
|
1389
|
+
/**
|
|
1390
|
+
*
|
|
1391
|
+
* @type {UpdateGroupVersionBody}
|
|
1392
|
+
* @memberof GroupTariffsApiGroupTariffServiceUpdateGroupVersion
|
|
1393
|
+
*/
|
|
1394
|
+
readonly body: UpdateGroupVersionBody;
|
|
1395
|
+
}
|
|
1396
|
+
/**
|
|
1397
|
+
* Request parameters for groupTariffServiceValidateGroupVersion operation in GroupTariffsApi.
|
|
1398
|
+
* @export
|
|
1399
|
+
* @interface GroupTariffsApiGroupTariffServiceValidateGroupVersionRequest
|
|
1400
|
+
*/
|
|
1401
|
+
export interface GroupTariffsApiGroupTariffServiceValidateGroupVersionRequest {
|
|
1402
|
+
/**
|
|
1403
|
+
* The group tariff\'s slug.
|
|
1404
|
+
* @type {string}
|
|
1405
|
+
* @memberof GroupTariffsApiGroupTariffServiceValidateGroupVersion
|
|
1406
|
+
*/
|
|
1407
|
+
readonly groupTariffSlug: string;
|
|
1408
|
+
/**
|
|
1409
|
+
* The generation\'s name, such as `2026`.
|
|
1410
|
+
* @type {string}
|
|
1411
|
+
* @memberof GroupTariffsApiGroupTariffServiceValidateGroupVersion
|
|
1412
|
+
*/
|
|
1413
|
+
readonly generation: string;
|
|
1414
|
+
/**
|
|
1415
|
+
*
|
|
1416
|
+
* @type {ValidateGroupVersionBody}
|
|
1417
|
+
* @memberof GroupTariffsApiGroupTariffServiceValidateGroupVersion
|
|
1418
|
+
*/
|
|
1419
|
+
readonly body: ValidateGroupVersionBody;
|
|
1420
|
+
}
|
|
1421
|
+
/**
|
|
1422
|
+
* GroupTariffsApi - object-oriented interface
|
|
1423
|
+
* @export
|
|
1424
|
+
* @class GroupTariffsApi
|
|
1425
|
+
* @extends {BaseAPI}
|
|
1426
|
+
*/
|
|
1427
|
+
export declare class GroupTariffsApi extends BaseAPI {
|
|
1428
|
+
/**
|
|
1429
|
+
* The asset is stored as a `DRAFT`. `config` is its document and `publishedSchema` the schema that policy data is validated against; either can be left out. `basedOnName` names an asset to copy the new one from.
|
|
1430
|
+
* @summary Creates a draft configuration asset of a group tariff.
|
|
1431
|
+
* @param {GroupTariffsApiGroupTariffServiceCreateGroupCoreConfigRequest} requestParameters Request parameters.
|
|
1432
|
+
* @param {*} [options] Override http request option.
|
|
1433
|
+
* @throws {RequiredError}
|
|
1434
|
+
* @memberof GroupTariffsApi
|
|
1435
|
+
*/
|
|
1436
|
+
groupTariffServiceCreateGroupCoreConfig(requestParameters: GroupTariffsApiGroupTariffServiceCreateGroupCoreConfigRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateGroupCoreConfigResponse, any, {}, any>>;
|
|
1437
|
+
/**
|
|
1438
|
+
* A generation is a period of the group tariff that starts on `validFrom`. The call needs the group tariff\'s `If-Match` because adding a generation changes the group tariff. A group generation has no draft: create its first version with `CreateGroupVersion`.
|
|
1439
|
+
* @summary Adds a generation to a group tariff.
|
|
1440
|
+
* @param {GroupTariffsApiGroupTariffServiceCreateGroupGenerationRequest} requestParameters Request parameters.
|
|
1441
|
+
* @param {*} [options] Override http request option.
|
|
1442
|
+
* @throws {RequiredError}
|
|
1443
|
+
* @memberof GroupTariffsApi
|
|
1444
|
+
*/
|
|
1445
|
+
groupTariffServiceCreateGroupGeneration(requestParameters: GroupTariffsApiGroupTariffServiceCreateGroupGenerationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateGroupGenerationResponse, any, {}, any>>;
|
|
1446
|
+
/**
|
|
1447
|
+
* The slug must be new and `tariffSlug` must name an existing tariff. With `baseGeneration` the call also creates the group tariff\'s first generation and its draft version in the same step; without it the group tariff starts empty.
|
|
1448
|
+
* @summary Creates a group tariff that references one tariff.
|
|
1449
|
+
* @param {GroupTariffsApiGroupTariffServiceCreateGroupTariffRequest} requestParameters Request parameters.
|
|
1450
|
+
* @param {*} [options] Override http request option.
|
|
1451
|
+
* @throws {RequiredError}
|
|
1452
|
+
* @memberof GroupTariffsApi
|
|
1453
|
+
*/
|
|
1454
|
+
groupTariffServiceCreateGroupTariff(requestParameters: GroupTariffsApiGroupTariffServiceCreateGroupTariffRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateGroupTariffResponse, any, {}, any>>;
|
|
1455
|
+
/**
|
|
1456
|
+
* 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.
|
|
1457
|
+
* @summary Stores a draft group version.
|
|
1458
|
+
* @param {GroupTariffsApiGroupTariffServiceCreateGroupVersionRequest} requestParameters Request parameters.
|
|
1459
|
+
* @param {*} [options] Override http request option.
|
|
1460
|
+
* @throws {RequiredError}
|
|
1461
|
+
* @memberof GroupTariffsApi
|
|
1462
|
+
*/
|
|
1463
|
+
groupTariffServiceCreateGroupVersion(requestParameters: GroupTariffsApiGroupTariffServiceCreateGroupVersionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateGroupVersionResponse, any, {}, any>>;
|
|
1464
|
+
/**
|
|
1465
|
+
* The draft becomes `DISCARDED`. It is not deleted: it stays and cannot change.
|
|
1466
|
+
* @summary Gives up a draft group version.
|
|
1467
|
+
* @param {GroupTariffsApiGroupTariffServiceDiscardGroupVersionRequest} requestParameters Request parameters.
|
|
1468
|
+
* @param {*} [options] Override http request option.
|
|
1469
|
+
* @throws {RequiredError}
|
|
1470
|
+
* @memberof GroupTariffsApi
|
|
1471
|
+
*/
|
|
1472
|
+
groupTariffServiceDiscardGroupVersion(requestParameters: GroupTariffsApiGroupTariffServiceDiscardGroupVersionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DiscardGroupVersionResponse, any, {}, any>>;
|
|
1473
|
+
/**
|
|
1474
|
+
* The asset is found by the group tariff\'s slug and the asset\'s name, such as `group_core.v1`.
|
|
1475
|
+
* @summary Returns one configuration asset of a group tariff.
|
|
1476
|
+
* @param {GroupTariffsApiGroupTariffServiceGetGroupCoreConfigRequest} requestParameters Request parameters.
|
|
1477
|
+
* @param {*} [options] Override http request option.
|
|
1478
|
+
* @throws {RequiredError}
|
|
1479
|
+
* @memberof GroupTariffsApi
|
|
1480
|
+
*/
|
|
1481
|
+
groupTariffServiceGetGroupCoreConfig(requestParameters: GroupTariffsApiGroupTariffServiceGetGroupCoreConfigRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetGroupCoreConfigResponse, any, {}, any>>;
|
|
1482
|
+
/**
|
|
1483
|
+
* 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.
|
|
1484
|
+
* @summary Returns the differences between a group version and an earlier one.
|
|
1485
|
+
* @param {GroupTariffsApiGroupTariffServiceGetGroupDiffRequest} requestParameters Request parameters.
|
|
1486
|
+
* @param {*} [options] Override http request option.
|
|
1487
|
+
* @throws {RequiredError}
|
|
1488
|
+
* @memberof GroupTariffsApi
|
|
1489
|
+
*/
|
|
1490
|
+
groupTariffServiceGetGroupDiff(requestParameters: GroupTariffsApiGroupTariffServiceGetGroupDiffRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetGroupDiffResponse, any, {}, any>>;
|
|
1491
|
+
/**
|
|
1492
|
+
* The generation is found by the group tariff\'s slug and the generation\'s name. Its `etag` goes in the `If-Match` header of a publish or an activation.
|
|
1493
|
+
* @summary Returns one generation of a group tariff.
|
|
1494
|
+
* @param {GroupTariffsApiGroupTariffServiceGetGroupGenerationRequest} requestParameters Request parameters.
|
|
1495
|
+
* @param {*} [options] Override http request option.
|
|
1496
|
+
* @throws {RequiredError}
|
|
1497
|
+
* @memberof GroupTariffsApi
|
|
1498
|
+
*/
|
|
1499
|
+
groupTariffServiceGetGroupGeneration(requestParameters: GroupTariffsApiGroupTariffServiceGetGroupGenerationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetGroupGenerationResponse, any, {}, any>>;
|
|
1500
|
+
/**
|
|
1501
|
+
* The group tariff is found by its slug. Its `etag` goes in the `If-Match` header of the calls that change it.
|
|
1502
|
+
* @summary Returns one group tariff.
|
|
1503
|
+
* @param {GroupTariffsApiGroupTariffServiceGetGroupTariffRequest} requestParameters Request parameters.
|
|
1504
|
+
* @param {*} [options] Override http request option.
|
|
1505
|
+
* @throws {RequiredError}
|
|
1506
|
+
* @memberof GroupTariffsApi
|
|
1507
|
+
*/
|
|
1508
|
+
groupTariffServiceGetGroupTariff(requestParameters: GroupTariffsApiGroupTariffServiceGetGroupTariffRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetGroupTariffResponse, any, {}, any>>;
|
|
1509
|
+
/**
|
|
1510
|
+
* 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`, `tariffSlug`, `createdAt`, `createdBy`, `lineOfInsurance`. - Search: over `slug` and `name`. - Sort: `slug`, `name`, `tariffSlug`, `createdAt`.
|
|
1511
|
+
* @summary Returns the filter catalog of the group tariff list: the fields a client can filter it by.
|
|
1512
|
+
* @param {*} [options] Override http request option.
|
|
1513
|
+
* @throws {RequiredError}
|
|
1514
|
+
* @memberof GroupTariffsApi
|
|
1515
|
+
*/
|
|
1516
|
+
groupTariffServiceGetGroupTariffFilterCatalog(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetGroupTariffFilterCatalogResponse, any, {}, any>>;
|
|
1517
|
+
/**
|
|
1518
|
+
* `version` is a number such as `1.3`, a version ERN or, for a draft, a draft id.
|
|
1519
|
+
* @summary Returns one version of a group generation.
|
|
1520
|
+
* @param {GroupTariffsApiGroupTariffServiceGetGroupVersionRequest} requestParameters Request parameters.
|
|
1521
|
+
* @param {*} [options] Override http request option.
|
|
1522
|
+
* @throws {RequiredError}
|
|
1523
|
+
* @memberof GroupTariffsApi
|
|
1524
|
+
*/
|
|
1525
|
+
groupTariffServiceGetGroupVersion(requestParameters: GroupTariffsApiGroupTariffServiceGetGroupVersionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetGroupVersionResponse, any, {}, any>>;
|
|
1526
|
+
/**
|
|
1527
|
+
* The list is paged and holds the assets of every group tariff, ordered by group tariff slug, then name. It takes no search. - Filter: `groupTariffSlug`, `name`, `status`, `createdAt`. - Sort: `groupTariffSlug`, `name`, `createdAt`.
|
|
1528
|
+
* @summary Lists the configuration assets of a group tariff, oldest first.
|
|
1529
|
+
* @param {GroupTariffsApiGroupTariffServiceListGroupCoreConfigsRequest} requestParameters Request parameters.
|
|
1530
|
+
* @param {*} [options] Override http request option.
|
|
1531
|
+
* @throws {RequiredError}
|
|
1532
|
+
* @memberof GroupTariffsApi
|
|
1533
|
+
*/
|
|
1534
|
+
groupTariffServiceListGroupCoreConfigs(requestParameters?: GroupTariffsApiGroupTariffServiceListGroupCoreConfigsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListGroupCoreConfigsResponse, any, {}, any>>;
|
|
1535
|
+
/**
|
|
1536
|
+
* The list is paged and holds the generations of every group tariff, ordered by group tariff slug, then `validFrom`. It takes no search. To list one group tariff\'s generations, name it in `filters`. - Filter: `groupTariffSlug`, `name`, `validFrom`, `createdAt`. - Sort: `groupTariffSlug`, `name`, `validFrom`, `createdAt`.
|
|
1537
|
+
* @summary Lists the generations of a group tariff, ordered by `validFrom`.
|
|
1538
|
+
* @param {GroupTariffsApiGroupTariffServiceListGroupGenerationsRequest} requestParameters Request parameters.
|
|
1539
|
+
* @param {*} [options] Override http request option.
|
|
1540
|
+
* @throws {RequiredError}
|
|
1541
|
+
* @memberof GroupTariffsApi
|
|
1542
|
+
*/
|
|
1543
|
+
groupTariffServiceListGroupGenerations(requestParameters?: GroupTariffsApiGroupTariffServiceListGroupGenerationsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListGroupGenerationsResponse, any, {}, any>>;
|
|
1544
|
+
/**
|
|
1545
|
+
* Each item is a group tariff; its `match` is filled on a search and empty otherwise. The list is paged. - Filter: `slug`, `name`, `tariffSlug`, `createdAt`, `createdBy`, `lineOfInsurance`. - Search: over `slug` and `name`. - Sort: `slug`, `name`, `tariffSlug`, `createdAt`.
|
|
1546
|
+
* @summary Lists the group tariffs.
|
|
1547
|
+
* @param {GroupTariffsApiGroupTariffServiceListGroupTariffsRequest} requestParameters Request parameters.
|
|
1548
|
+
* @param {*} [options] Override http request option.
|
|
1549
|
+
* @throws {RequiredError}
|
|
1550
|
+
* @memberof GroupTariffsApi
|
|
1551
|
+
*/
|
|
1552
|
+
groupTariffServiceListGroupTariffs(requestParameters?: GroupTariffsApiGroupTariffServiceListGroupTariffsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListGroupTariffsResponse, any, {}, any>>;
|
|
1553
|
+
/**
|
|
1554
|
+
* 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 group tariff and the generation in `filters`: `groupTariffSlug`, `generation` and `includeDrafts`. Versions are sorted by `createdAt`, oldest first.
|
|
1555
|
+
* @summary Lists the versions of a group generation, oldest first.
|
|
1556
|
+
* @param {GroupTariffsApiGroupTariffServiceListGroupVersionsRequest} requestParameters Request parameters.
|
|
1557
|
+
* @param {*} [options] Override http request option.
|
|
1558
|
+
* @throws {RequiredError}
|
|
1559
|
+
* @memberof GroupTariffsApi
|
|
1560
|
+
*/
|
|
1561
|
+
groupTariffServiceListGroupVersions(requestParameters?: GroupTariffsApiGroupTariffServiceListGroupVersionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListGroupVersionsResponse, any, {}, any>>;
|
|
1562
|
+
/**
|
|
1563
|
+
* Runs the publish gate over the draft and, when it passes, freezes the asset as `PUBLISHED` with its digest. A published asset never changes. When the gate refuses, the call fails and carries the gate\'s report.
|
|
1564
|
+
* @summary Publishes a draft configuration asset.
|
|
1565
|
+
* @param {GroupTariffsApiGroupTariffServicePublishGroupCoreConfigRequest} requestParameters Request parameters.
|
|
1566
|
+
* @param {*} [options] Override http request option.
|
|
1567
|
+
* @throws {RequiredError}
|
|
1568
|
+
* @memberof GroupTariffsApi
|
|
1569
|
+
*/
|
|
1570
|
+
groupTariffServicePublishGroupCoreConfig(requestParameters: GroupTariffsApiGroupTariffServicePublishGroupCoreConfigRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PublishGroupCoreConfigResponse, any, {}, any>>;
|
|
1571
|
+
/**
|
|
1572
|
+
* 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. The response also carries the generation as it is after the call.
|
|
1573
|
+
* @summary Publishes a group version when the publish gate passes.
|
|
1574
|
+
* @param {GroupTariffsApiGroupTariffServicePublishGroupVersionRequest} requestParameters Request parameters.
|
|
1575
|
+
* @param {*} [options] Override http request option.
|
|
1576
|
+
* @throws {RequiredError}
|
|
1577
|
+
* @memberof GroupTariffsApi
|
|
1578
|
+
*/
|
|
1579
|
+
groupTariffServicePublishGroupVersion(requestParameters: GroupTariffsApiGroupTariffServicePublishGroupVersionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PublishGroupVersionResponse, any, {}, any>>;
|
|
1580
|
+
/**
|
|
1581
|
+
* A major can have only one active version. The version must be published and belong to this generation; a retired version is refused. The response carries the generation with its active versions.
|
|
1582
|
+
* @summary Makes a published version of a generation its active version.
|
|
1583
|
+
* @param {GroupTariffsApiGroupTariffServiceSetActiveGroupVersionRequest} requestParameters Request parameters.
|
|
1584
|
+
* @param {*} [options] Override http request option.
|
|
1585
|
+
* @throws {RequiredError}
|
|
1586
|
+
* @memberof GroupTariffsApi
|
|
1587
|
+
*/
|
|
1588
|
+
groupTariffServiceSetActiveGroupVersion(requestParameters: GroupTariffsApiGroupTariffServiceSetActiveGroupVersionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SetActiveGroupVersionResponse, any, {}, any>>;
|
|
1589
|
+
/**
|
|
1590
|
+
* The allowed moves are: - `DRAFT` to `RETIRED`: archives the draft. - `DRAFT` to `DISCARDED`: gives the draft up. - `DRAFT` to `PUBLISHED` or `ACTIVE`: runs the publish gate and assigns the number; `requestMajor` asks for a new major, and `activate` makes the new version active. A refusal carries the gate\'s report. - `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.
|
|
1591
|
+
* @summary Moves a group version to another status.
|
|
1592
|
+
* @param {GroupTariffsApiGroupTariffServiceSetGroupVersionStatusRequest} requestParameters Request parameters.
|
|
1593
|
+
* @param {*} [options] Override http request option.
|
|
1594
|
+
* @throws {RequiredError}
|
|
1595
|
+
* @memberof GroupTariffsApi
|
|
1596
|
+
*/
|
|
1597
|
+
groupTariffServiceSetGroupVersionStatus(requestParameters: GroupTariffsApiGroupTariffServiceSetGroupVersionStatusRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SetGroupVersionStatusResponse, any, {}, any>>;
|
|
1598
|
+
/**
|
|
1599
|
+
* Only a draft can be rewritten. The call replaces both documents: `config` and `publishedSchema`; a `publishedSchema` that is left out empties the stored schema. The checks run when the asset is published.
|
|
1600
|
+
* @summary Rewrites the content of a draft configuration asset.
|
|
1601
|
+
* @param {GroupTariffsApiGroupTariffServiceUpdateGroupCoreConfigRequest} requestParameters Request parameters.
|
|
1602
|
+
* @param {*} [options] Override http request option.
|
|
1603
|
+
* @throws {RequiredError}
|
|
1604
|
+
* @memberof GroupTariffsApi
|
|
1605
|
+
*/
|
|
1606
|
+
groupTariffServiceUpdateGroupCoreConfig(requestParameters: GroupTariffsApiGroupTariffServiceUpdateGroupCoreConfigRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateGroupCoreConfigResponse, any, {}, any>>;
|
|
1607
|
+
/**
|
|
1608
|
+
* Only an open draft can be rewritten. The response lists the contract issues found in the new manifest.
|
|
1609
|
+
* @summary Rewrites the manifest of a draft group version.
|
|
1610
|
+
* @param {GroupTariffsApiGroupTariffServiceUpdateGroupVersionRequest} requestParameters Request parameters.
|
|
1611
|
+
* @param {*} [options] Override http request option.
|
|
1612
|
+
* @throws {RequiredError}
|
|
1613
|
+
* @memberof GroupTariffsApi
|
|
1614
|
+
*/
|
|
1615
|
+
groupTariffServiceUpdateGroupVersion(requestParameters: GroupTariffsApiGroupTariffServiceUpdateGroupVersionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateGroupVersionResponse, any, {}, any>>;
|
|
1616
|
+
/**
|
|
1617
|
+
* 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.
|
|
1618
|
+
* @summary Checks a manifest against the publish gate without saving anything.
|
|
1619
|
+
* @param {GroupTariffsApiGroupTariffServiceValidateGroupVersionRequest} requestParameters Request parameters.
|
|
1620
|
+
* @param {*} [options] Override http request option.
|
|
1621
|
+
* @throws {RequiredError}
|
|
1622
|
+
* @memberof GroupTariffsApi
|
|
1623
|
+
*/
|
|
1624
|
+
groupTariffServiceValidateGroupVersion(requestParameters: GroupTariffsApiGroupTariffServiceValidateGroupVersionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ValidateGroupVersionResponse, any, {}, any>>;
|
|
1625
|
+
}
|