@emilgroup/insurance-v2-sdk-node 0.0.0-stage → 1.0.1-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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,2157 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* insuranceservice/v2/config_common.proto
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: version not set
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
var __extends = (this && this.__extends) || (function () {
|
|
16
|
+
var extendStatics = function (d, b) {
|
|
17
|
+
extendStatics = Object.setPrototypeOf ||
|
|
18
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
19
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
20
|
+
return extendStatics(d, b);
|
|
21
|
+
};
|
|
22
|
+
return function (d, b) {
|
|
23
|
+
if (typeof b !== "function" && b !== null)
|
|
24
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
25
|
+
extendStatics(d, b);
|
|
26
|
+
function __() { this.constructor = d; }
|
|
27
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
28
|
+
};
|
|
29
|
+
})();
|
|
30
|
+
var __assign = (this && this.__assign) || function () {
|
|
31
|
+
__assign = Object.assign || function(t) {
|
|
32
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
33
|
+
s = arguments[i];
|
|
34
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
35
|
+
t[p] = s[p];
|
|
36
|
+
}
|
|
37
|
+
return t;
|
|
38
|
+
};
|
|
39
|
+
return __assign.apply(this, arguments);
|
|
40
|
+
};
|
|
41
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
42
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
43
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
44
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
45
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
46
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
47
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
48
|
+
});
|
|
49
|
+
};
|
|
50
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
51
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
52
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
53
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
54
|
+
function step(op) {
|
|
55
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
56
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
57
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
58
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
59
|
+
switch (op[0]) {
|
|
60
|
+
case 0: case 1: t = op; break;
|
|
61
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
62
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
63
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
64
|
+
default:
|
|
65
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
66
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
67
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
68
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
69
|
+
if (t[2]) _.ops.pop();
|
|
70
|
+
_.trys.pop(); continue;
|
|
71
|
+
}
|
|
72
|
+
op = body.call(thisArg, _);
|
|
73
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
74
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
75
|
+
}
|
|
76
|
+
};
|
|
77
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
78
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
79
|
+
};
|
|
80
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
81
|
+
exports.GroupPoliciesApi = exports.GroupPoliciesApiFactory = exports.GroupPoliciesApiFp = exports.GroupPoliciesApiAxiosParamCreator = void 0;
|
|
82
|
+
var axios_1 = __importDefault(require("axios"));
|
|
83
|
+
// Some imports not used depending on template conditions
|
|
84
|
+
// @ts-ignore
|
|
85
|
+
var common_1 = require("../common");
|
|
86
|
+
// @ts-ignore
|
|
87
|
+
var base_1 = require("../base");
|
|
88
|
+
// URLSearchParams not necessarily used
|
|
89
|
+
// @ts-ignore
|
|
90
|
+
var url_1 = require("url");
|
|
91
|
+
var FormData = require('form-data');
|
|
92
|
+
/**
|
|
93
|
+
* GroupPoliciesApi - axios parameter creator
|
|
94
|
+
* @export
|
|
95
|
+
*/
|
|
96
|
+
var GroupPoliciesApiAxiosParamCreator = function (configuration) {
|
|
97
|
+
var _this = this;
|
|
98
|
+
return {
|
|
99
|
+
/**
|
|
100
|
+
*
|
|
101
|
+
* @summary Activates a group policy that is in negotiation.
|
|
102
|
+
* @param {string} code The code of the group policy.
|
|
103
|
+
* @param {string} ifMatch The group policy\'s `etag` as last read, sent back unchanged.
|
|
104
|
+
* @param {ActivateGroupPolicyBody} body
|
|
105
|
+
* @param {*} [options] Override http request option.
|
|
106
|
+
* @throws {RequiredError}
|
|
107
|
+
*/
|
|
108
|
+
groupPolicyServiceActivateGroupPolicy: function (code, ifMatch, body, options) {
|
|
109
|
+
if (options === void 0) { options = {}; }
|
|
110
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
111
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, ifMatchIsAuth, ifMatchValue, ifMatchKeepEmpty, headersFromBaseOptions;
|
|
112
|
+
var _a;
|
|
113
|
+
return __generator(this, function (_b) {
|
|
114
|
+
// verify required parameter 'code' is not null or undefined
|
|
115
|
+
(0, common_1.assertParamExists)('groupPolicyServiceActivateGroupPolicy', 'code', code);
|
|
116
|
+
// verify required parameter 'ifMatch' is not null or undefined
|
|
117
|
+
(0, common_1.assertParamExists)('groupPolicyServiceActivateGroupPolicy', 'ifMatch', ifMatch);
|
|
118
|
+
// verify required parameter 'body' is not null or undefined
|
|
119
|
+
(0, common_1.assertParamExists)('groupPolicyServiceActivateGroupPolicy', 'body', body);
|
|
120
|
+
localVarPath = "/insuranceservice/v2/group-policies/{code}:activate"
|
|
121
|
+
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
122
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
123
|
+
if (configuration) {
|
|
124
|
+
baseOptions = configuration.baseOptions;
|
|
125
|
+
baseAccessToken = configuration.accessToken;
|
|
126
|
+
}
|
|
127
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
128
|
+
localVarHeaderParameter = {};
|
|
129
|
+
localVarQueryParameter = {};
|
|
130
|
+
ifMatchIsAuth = 'If-Match'.toLowerCase() === 'authorization';
|
|
131
|
+
ifMatchValue = ifMatchIsAuth ? (ifMatch || baseAccessToken) : ifMatch;
|
|
132
|
+
ifMatchKeepEmpty = ifMatchIsAuth && ifMatchValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
|
|
133
|
+
if (ifMatchValue || ifMatchKeepEmpty) {
|
|
134
|
+
localVarHeaderParameter['If-Match'] = String(ifMatchValue);
|
|
135
|
+
}
|
|
136
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
137
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
138
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
139
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
140
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
141
|
+
return [2 /*return*/, {
|
|
142
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
143
|
+
options: localVarRequestOptions,
|
|
144
|
+
}];
|
|
145
|
+
});
|
|
146
|
+
});
|
|
147
|
+
},
|
|
148
|
+
/**
|
|
149
|
+
* Prices the adjustments of the group tariff version that is valid on `periodFrom` over the members\' totals sent in `memberTaxTotals`, so billing can add them to a collective invoice. The call changes nothing.
|
|
150
|
+
* @summary Calculates the aggregation adjustments of a group policy for a billing period.
|
|
151
|
+
* @param {string} code The code of the group policy.
|
|
152
|
+
* @param {CalculateGroupPolicyAdjustmentsBody} body
|
|
153
|
+
* @param {*} [options] Override http request option.
|
|
154
|
+
* @throws {RequiredError}
|
|
155
|
+
*/
|
|
156
|
+
groupPolicyServiceCalculateGroupPolicyAdjustments: function (code, body, options) {
|
|
157
|
+
if (options === void 0) { options = {}; }
|
|
158
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
159
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
160
|
+
return __generator(this, function (_a) {
|
|
161
|
+
// verify required parameter 'code' is not null or undefined
|
|
162
|
+
(0, common_1.assertParamExists)('groupPolicyServiceCalculateGroupPolicyAdjustments', 'code', code);
|
|
163
|
+
// verify required parameter 'body' is not null or undefined
|
|
164
|
+
(0, common_1.assertParamExists)('groupPolicyServiceCalculateGroupPolicyAdjustments', 'body', body);
|
|
165
|
+
localVarPath = "/insuranceservice/v2/group-policies/{code}:calculateAdjustments"
|
|
166
|
+
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
167
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
168
|
+
if (configuration) {
|
|
169
|
+
baseOptions = configuration.baseOptions;
|
|
170
|
+
baseAccessToken = configuration.accessToken;
|
|
171
|
+
}
|
|
172
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
173
|
+
localVarHeaderParameter = {};
|
|
174
|
+
localVarQueryParameter = {};
|
|
175
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
176
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
177
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
178
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
179
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
180
|
+
return [2 /*return*/, {
|
|
181
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
182
|
+
options: localVarRequestOptions,
|
|
183
|
+
}];
|
|
184
|
+
});
|
|
185
|
+
});
|
|
186
|
+
},
|
|
187
|
+
/**
|
|
188
|
+
*
|
|
189
|
+
* @summary Checks whether a group policy can be upgraded, and writes nothing.
|
|
190
|
+
* @param {string} code The code of the group policy.
|
|
191
|
+
* @param {CheckGroupPolicyUpgradeBody} body
|
|
192
|
+
* @param {*} [options] Override http request option.
|
|
193
|
+
* @throws {RequiredError}
|
|
194
|
+
*/
|
|
195
|
+
groupPolicyServiceCheckGroupPolicyUpgrade: function (code, body, options) {
|
|
196
|
+
if (options === void 0) { options = {}; }
|
|
197
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
198
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
199
|
+
return __generator(this, function (_a) {
|
|
200
|
+
// verify required parameter 'code' is not null or undefined
|
|
201
|
+
(0, common_1.assertParamExists)('groupPolicyServiceCheckGroupPolicyUpgrade', 'code', code);
|
|
202
|
+
// verify required parameter 'body' is not null or undefined
|
|
203
|
+
(0, common_1.assertParamExists)('groupPolicyServiceCheckGroupPolicyUpgrade', 'body', body);
|
|
204
|
+
localVarPath = "/insuranceservice/v2/group-policies/{code}:checkUpgrade"
|
|
205
|
+
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
206
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
207
|
+
if (configuration) {
|
|
208
|
+
baseOptions = configuration.baseOptions;
|
|
209
|
+
baseAccessToken = configuration.accessToken;
|
|
210
|
+
}
|
|
211
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
212
|
+
localVarHeaderParameter = {};
|
|
213
|
+
localVarQueryParameter = {};
|
|
214
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
215
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
216
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
217
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
218
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
219
|
+
return [2 /*return*/, {
|
|
220
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
221
|
+
options: localVarRequestOptions,
|
|
222
|
+
}];
|
|
223
|
+
});
|
|
224
|
+
});
|
|
225
|
+
},
|
|
226
|
+
/**
|
|
227
|
+
*
|
|
228
|
+
* @summary Corrects the terms of a group policy over a range of days.
|
|
229
|
+
* @param {string} code The code of the group policy.
|
|
230
|
+
* @param {string} ifMatch The group policy\'s `etag` as last read, sent back unchanged.
|
|
231
|
+
* @param {CorrectGroupPolicyBody} body
|
|
232
|
+
* @param {*} [options] Override http request option.
|
|
233
|
+
* @throws {RequiredError}
|
|
234
|
+
*/
|
|
235
|
+
groupPolicyServiceCorrectGroupPolicy: function (code, ifMatch, body, options) {
|
|
236
|
+
if (options === void 0) { options = {}; }
|
|
237
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
238
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, ifMatchIsAuth, ifMatchValue, ifMatchKeepEmpty, headersFromBaseOptions;
|
|
239
|
+
var _a;
|
|
240
|
+
return __generator(this, function (_b) {
|
|
241
|
+
// verify required parameter 'code' is not null or undefined
|
|
242
|
+
(0, common_1.assertParamExists)('groupPolicyServiceCorrectGroupPolicy', 'code', code);
|
|
243
|
+
// verify required parameter 'ifMatch' is not null or undefined
|
|
244
|
+
(0, common_1.assertParamExists)('groupPolicyServiceCorrectGroupPolicy', 'ifMatch', ifMatch);
|
|
245
|
+
// verify required parameter 'body' is not null or undefined
|
|
246
|
+
(0, common_1.assertParamExists)('groupPolicyServiceCorrectGroupPolicy', 'body', body);
|
|
247
|
+
localVarPath = "/insuranceservice/v2/group-policies/{code}/corrections"
|
|
248
|
+
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
249
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
250
|
+
if (configuration) {
|
|
251
|
+
baseOptions = configuration.baseOptions;
|
|
252
|
+
baseAccessToken = configuration.accessToken;
|
|
253
|
+
}
|
|
254
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
255
|
+
localVarHeaderParameter = {};
|
|
256
|
+
localVarQueryParameter = {};
|
|
257
|
+
ifMatchIsAuth = 'If-Match'.toLowerCase() === 'authorization';
|
|
258
|
+
ifMatchValue = ifMatchIsAuth ? (ifMatch || baseAccessToken) : ifMatch;
|
|
259
|
+
ifMatchKeepEmpty = ifMatchIsAuth && ifMatchValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
|
|
260
|
+
if (ifMatchValue || ifMatchKeepEmpty) {
|
|
261
|
+
localVarHeaderParameter['If-Match'] = String(ifMatchValue);
|
|
262
|
+
}
|
|
263
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
264
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
265
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
266
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
267
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
268
|
+
return [2 /*return*/, {
|
|
269
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
270
|
+
options: localVarRequestOptions,
|
|
271
|
+
}];
|
|
272
|
+
});
|
|
273
|
+
});
|
|
274
|
+
},
|
|
275
|
+
/**
|
|
276
|
+
*
|
|
277
|
+
* @summary Creates a group policy.
|
|
278
|
+
* @param {CreateGroupPolicyRequest} body The request of `CreateGroupPolicy`.
|
|
279
|
+
* @param {*} [options] Override http request option.
|
|
280
|
+
* @throws {RequiredError}
|
|
281
|
+
*/
|
|
282
|
+
groupPolicyServiceCreateGroupPolicy: function (body, options) {
|
|
283
|
+
if (options === void 0) { options = {}; }
|
|
284
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
285
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
286
|
+
return __generator(this, function (_a) {
|
|
287
|
+
// verify required parameter 'body' is not null or undefined
|
|
288
|
+
(0, common_1.assertParamExists)('groupPolicyServiceCreateGroupPolicy', 'body', body);
|
|
289
|
+
localVarPath = "/insuranceservice/v2/group-policies";
|
|
290
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
291
|
+
if (configuration) {
|
|
292
|
+
baseOptions = configuration.baseOptions;
|
|
293
|
+
baseAccessToken = configuration.accessToken;
|
|
294
|
+
}
|
|
295
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
296
|
+
localVarHeaderParameter = {};
|
|
297
|
+
localVarQueryParameter = {};
|
|
298
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
299
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
300
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
301
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
302
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
303
|
+
return [2 /*return*/, {
|
|
304
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
305
|
+
options: localVarRequestOptions,
|
|
306
|
+
}];
|
|
307
|
+
});
|
|
308
|
+
});
|
|
309
|
+
},
|
|
310
|
+
/**
|
|
311
|
+
*
|
|
312
|
+
* @summary Returns one group policy.
|
|
313
|
+
* @param {string} code The code of the group policy.
|
|
314
|
+
* @param {string} [validAt] The business day to read, as `YYYY-MM-DD`. Empty means today.
|
|
315
|
+
* @param {string} [asOf] The point in system time to read at. Empty means now.
|
|
316
|
+
* @param {*} [options] Override http request option.
|
|
317
|
+
* @throws {RequiredError}
|
|
318
|
+
*/
|
|
319
|
+
groupPolicyServiceGetGroupPolicy: function (code, validAt, asOf, options) {
|
|
320
|
+
if (options === void 0) { options = {}; }
|
|
321
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
322
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
323
|
+
return __generator(this, function (_a) {
|
|
324
|
+
// verify required parameter 'code' is not null or undefined
|
|
325
|
+
(0, common_1.assertParamExists)('groupPolicyServiceGetGroupPolicy', 'code', code);
|
|
326
|
+
localVarPath = "/insuranceservice/v2/group-policies/{code}"
|
|
327
|
+
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
328
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
329
|
+
if (configuration) {
|
|
330
|
+
baseOptions = configuration.baseOptions;
|
|
331
|
+
baseAccessToken = configuration.accessToken;
|
|
332
|
+
}
|
|
333
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
334
|
+
localVarHeaderParameter = {};
|
|
335
|
+
localVarQueryParameter = {};
|
|
336
|
+
if (validAt !== undefined) {
|
|
337
|
+
localVarQueryParameter['validAt'] = validAt;
|
|
338
|
+
}
|
|
339
|
+
if (asOf !== undefined) {
|
|
340
|
+
localVarQueryParameter['asOf'] = (asOf instanceof Date) ?
|
|
341
|
+
asOf.toISOString() :
|
|
342
|
+
asOf;
|
|
343
|
+
}
|
|
344
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
345
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
346
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
347
|
+
return [2 /*return*/, {
|
|
348
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
349
|
+
options: localVarRequestOptions,
|
|
350
|
+
}];
|
|
351
|
+
});
|
|
352
|
+
});
|
|
353
|
+
},
|
|
354
|
+
/**
|
|
355
|
+
*
|
|
356
|
+
* @summary Returns the filter catalog of the group policy list.
|
|
357
|
+
* @param {*} [options] Override http request option.
|
|
358
|
+
* @throws {RequiredError}
|
|
359
|
+
*/
|
|
360
|
+
groupPolicyServiceGetGroupPolicyFilterCatalog: function (options) {
|
|
361
|
+
if (options === void 0) { options = {}; }
|
|
362
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
363
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
364
|
+
return __generator(this, function (_a) {
|
|
365
|
+
localVarPath = "/insuranceservice/v2/group-policies:filterCatalog";
|
|
366
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
367
|
+
if (configuration) {
|
|
368
|
+
baseOptions = configuration.baseOptions;
|
|
369
|
+
baseAccessToken = configuration.accessToken;
|
|
370
|
+
}
|
|
371
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
372
|
+
localVarHeaderParameter = {};
|
|
373
|
+
localVarQueryParameter = {};
|
|
374
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
375
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
376
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
377
|
+
return [2 /*return*/, {
|
|
378
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
379
|
+
options: localVarRequestOptions,
|
|
380
|
+
}];
|
|
381
|
+
});
|
|
382
|
+
});
|
|
383
|
+
},
|
|
384
|
+
/**
|
|
385
|
+
*
|
|
386
|
+
* @summary Returns the filter catalog of the member list of a group policy.
|
|
387
|
+
* @param {string} code The code of the group policy.
|
|
388
|
+
* @param {*} [options] Override http request option.
|
|
389
|
+
* @throws {RequiredError}
|
|
390
|
+
*/
|
|
391
|
+
groupPolicyServiceGetGroupPolicyMemberFilterCatalog: function (code, options) {
|
|
392
|
+
if (options === void 0) { options = {}; }
|
|
393
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
394
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
395
|
+
return __generator(this, function (_a) {
|
|
396
|
+
// verify required parameter 'code' is not null or undefined
|
|
397
|
+
(0, common_1.assertParamExists)('groupPolicyServiceGetGroupPolicyMemberFilterCatalog', 'code', code);
|
|
398
|
+
localVarPath = "/insuranceservice/v2/group-policies/{code}/members:filterCatalog"
|
|
399
|
+
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
400
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
401
|
+
if (configuration) {
|
|
402
|
+
baseOptions = configuration.baseOptions;
|
|
403
|
+
baseAccessToken = configuration.accessToken;
|
|
404
|
+
}
|
|
405
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
406
|
+
localVarHeaderParameter = {};
|
|
407
|
+
localVarQueryParameter = {};
|
|
408
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
409
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
410
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
411
|
+
return [2 /*return*/, {
|
|
412
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
413
|
+
options: localVarRequestOptions,
|
|
414
|
+
}];
|
|
415
|
+
});
|
|
416
|
+
});
|
|
417
|
+
},
|
|
418
|
+
/**
|
|
419
|
+
*
|
|
420
|
+
* @summary Returns the schema that a member policy of a group policy is validated against.
|
|
421
|
+
* @param {string} code The code of the group policy.
|
|
422
|
+
* @param {string} [validAt] The business day, as `YYYY-MM-DD`. Empty means today. It picks the version of the group policy whose group tariff version the schema is found through.
|
|
423
|
+
* @param {*} [options] Override http request option.
|
|
424
|
+
* @throws {RequiredError}
|
|
425
|
+
*/
|
|
426
|
+
groupPolicyServiceGetGroupPolicyMemberSchema: function (code, validAt, options) {
|
|
427
|
+
if (options === void 0) { options = {}; }
|
|
428
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
429
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
430
|
+
return __generator(this, function (_a) {
|
|
431
|
+
// verify required parameter 'code' is not null or undefined
|
|
432
|
+
(0, common_1.assertParamExists)('groupPolicyServiceGetGroupPolicyMemberSchema', 'code', code);
|
|
433
|
+
localVarPath = "/insuranceservice/v2/group-policies/{code}/member-schema"
|
|
434
|
+
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
435
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
436
|
+
if (configuration) {
|
|
437
|
+
baseOptions = configuration.baseOptions;
|
|
438
|
+
baseAccessToken = configuration.accessToken;
|
|
439
|
+
}
|
|
440
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
441
|
+
localVarHeaderParameter = {};
|
|
442
|
+
localVarQueryParameter = {};
|
|
443
|
+
if (validAt !== undefined) {
|
|
444
|
+
localVarQueryParameter['validAt'] = validAt;
|
|
445
|
+
}
|
|
446
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
447
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
448
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
449
|
+
return [2 /*return*/, {
|
|
450
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
451
|
+
options: localVarRequestOptions,
|
|
452
|
+
}];
|
|
453
|
+
});
|
|
454
|
+
});
|
|
455
|
+
},
|
|
456
|
+
/**
|
|
457
|
+
*
|
|
458
|
+
* @summary Returns who filled which role on a group policy, and when.
|
|
459
|
+
* @param {string} code The code of the group policy.
|
|
460
|
+
* @param {string} [asOf] The point in system time to read the history at. Empty means now.
|
|
461
|
+
* @param {*} [options] Override http request option.
|
|
462
|
+
* @throws {RequiredError}
|
|
463
|
+
*/
|
|
464
|
+
groupPolicyServiceGetGroupPolicyPartnerHistory: function (code, asOf, options) {
|
|
465
|
+
if (options === void 0) { options = {}; }
|
|
466
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
467
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
468
|
+
return __generator(this, function (_a) {
|
|
469
|
+
// verify required parameter 'code' is not null or undefined
|
|
470
|
+
(0, common_1.assertParamExists)('groupPolicyServiceGetGroupPolicyPartnerHistory', 'code', code);
|
|
471
|
+
localVarPath = "/insuranceservice/v2/group-policies/{code}/partner-history"
|
|
472
|
+
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
473
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
474
|
+
if (configuration) {
|
|
475
|
+
baseOptions = configuration.baseOptions;
|
|
476
|
+
baseAccessToken = configuration.accessToken;
|
|
477
|
+
}
|
|
478
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
479
|
+
localVarHeaderParameter = {};
|
|
480
|
+
localVarQueryParameter = {};
|
|
481
|
+
if (asOf !== undefined) {
|
|
482
|
+
localVarQueryParameter['asOf'] = (asOf instanceof Date) ?
|
|
483
|
+
asOf.toISOString() :
|
|
484
|
+
asOf;
|
|
485
|
+
}
|
|
486
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
487
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
488
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
489
|
+
return [2 /*return*/, {
|
|
490
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
491
|
+
options: localVarRequestOptions,
|
|
492
|
+
}];
|
|
493
|
+
});
|
|
494
|
+
});
|
|
495
|
+
},
|
|
496
|
+
/**
|
|
497
|
+
*
|
|
498
|
+
* @summary Returns the premium totals of a group policy over all its members.
|
|
499
|
+
* @param {string} code The code of the group policy.
|
|
500
|
+
* @param {string} [validAt] One day, as `YYYY-MM-DD`. The default is today (UTC), unless a period is given. Never combined with a period.
|
|
501
|
+
* @param {string} [periodFrom] The first day of the period, as `YYYY-MM-DD`, inclusive. Send it with `periodTo`.
|
|
502
|
+
* @param {string} [periodTo] The end of the period, as `YYYY-MM-DD`, exclusive. Send it with `periodFrom`.
|
|
503
|
+
* @param {string} [asOf] The point in system time to read at, an RFC 3339 time ending in `Z`. The default is now.
|
|
504
|
+
* @param {*} [options] Override http request option.
|
|
505
|
+
* @throws {RequiredError}
|
|
506
|
+
*/
|
|
507
|
+
groupPolicyServiceGetGroupPolicyPremiumSummary: function (code, validAt, periodFrom, periodTo, asOf, options) {
|
|
508
|
+
if (options === void 0) { options = {}; }
|
|
509
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
510
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
511
|
+
return __generator(this, function (_a) {
|
|
512
|
+
// verify required parameter 'code' is not null or undefined
|
|
513
|
+
(0, common_1.assertParamExists)('groupPolicyServiceGetGroupPolicyPremiumSummary', 'code', code);
|
|
514
|
+
localVarPath = "/insuranceservice/v2/group-policies/{code}/premium-summary"
|
|
515
|
+
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
516
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
517
|
+
if (configuration) {
|
|
518
|
+
baseOptions = configuration.baseOptions;
|
|
519
|
+
baseAccessToken = configuration.accessToken;
|
|
520
|
+
}
|
|
521
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
522
|
+
localVarHeaderParameter = {};
|
|
523
|
+
localVarQueryParameter = {};
|
|
524
|
+
if (validAt !== undefined) {
|
|
525
|
+
localVarQueryParameter['validAt'] = validAt;
|
|
526
|
+
}
|
|
527
|
+
if (periodFrom !== undefined) {
|
|
528
|
+
localVarQueryParameter['periodFrom'] = periodFrom;
|
|
529
|
+
}
|
|
530
|
+
if (periodTo !== undefined) {
|
|
531
|
+
localVarQueryParameter['periodTo'] = periodTo;
|
|
532
|
+
}
|
|
533
|
+
if (asOf !== undefined) {
|
|
534
|
+
localVarQueryParameter['asOf'] = asOf;
|
|
535
|
+
}
|
|
536
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
537
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
538
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
539
|
+
return [2 /*return*/, {
|
|
540
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
541
|
+
options: localVarRequestOptions,
|
|
542
|
+
}];
|
|
543
|
+
});
|
|
544
|
+
});
|
|
545
|
+
},
|
|
546
|
+
/**
|
|
547
|
+
*
|
|
548
|
+
* @summary Returns the versions of a group policy over time.
|
|
549
|
+
* @param {string} code The code of the group policy.
|
|
550
|
+
* @param {string} [asOf] Ignored: the timeline always shows what is currently believed.
|
|
551
|
+
* @param {boolean} [includeSuperseded] Whether to return superseded versions too; they are how a premium is reproduced.
|
|
552
|
+
* @param {*} [options] Override http request option.
|
|
553
|
+
* @throws {RequiredError}
|
|
554
|
+
*/
|
|
555
|
+
groupPolicyServiceGetGroupPolicyTimeline: function (code, asOf, includeSuperseded, options) {
|
|
556
|
+
if (options === void 0) { options = {}; }
|
|
557
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
558
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
559
|
+
return __generator(this, function (_a) {
|
|
560
|
+
// verify required parameter 'code' is not null or undefined
|
|
561
|
+
(0, common_1.assertParamExists)('groupPolicyServiceGetGroupPolicyTimeline', 'code', code);
|
|
562
|
+
localVarPath = "/insuranceservice/v2/group-policies/{code}/timeline"
|
|
563
|
+
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
564
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
565
|
+
if (configuration) {
|
|
566
|
+
baseOptions = configuration.baseOptions;
|
|
567
|
+
baseAccessToken = configuration.accessToken;
|
|
568
|
+
}
|
|
569
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
570
|
+
localVarHeaderParameter = {};
|
|
571
|
+
localVarQueryParameter = {};
|
|
572
|
+
if (asOf !== undefined) {
|
|
573
|
+
localVarQueryParameter['asOf'] = (asOf instanceof Date) ?
|
|
574
|
+
asOf.toISOString() :
|
|
575
|
+
asOf;
|
|
576
|
+
}
|
|
577
|
+
if (includeSuperseded !== undefined) {
|
|
578
|
+
localVarQueryParameter['includeSuperseded'] = includeSuperseded;
|
|
579
|
+
}
|
|
580
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
581
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
582
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
583
|
+
return [2 /*return*/, {
|
|
584
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
585
|
+
options: localVarRequestOptions,
|
|
586
|
+
}];
|
|
587
|
+
});
|
|
588
|
+
});
|
|
589
|
+
},
|
|
590
|
+
/**
|
|
591
|
+
*
|
|
592
|
+
* @summary Lists the group tariffs that a group policy can be created under today.
|
|
593
|
+
* @param {number} [pageSize]
|
|
594
|
+
* @param {string} [pageToken]
|
|
595
|
+
* @param {string} [filter]
|
|
596
|
+
* @param {string} [search]
|
|
597
|
+
* @param {string} [order]
|
|
598
|
+
* @param {string} [expand]
|
|
599
|
+
* @param {string} [filters]
|
|
600
|
+
* @param {*} [options] Override http request option.
|
|
601
|
+
* @throws {RequiredError}
|
|
602
|
+
*/
|
|
603
|
+
groupPolicyServiceListAvailableGroupTariffs: function (pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
604
|
+
if (options === void 0) { options = {}; }
|
|
605
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
606
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
607
|
+
return __generator(this, function (_a) {
|
|
608
|
+
localVarPath = "/insuranceservice/v2/group-policies:available-group-tariffs";
|
|
609
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
610
|
+
if (configuration) {
|
|
611
|
+
baseOptions = configuration.baseOptions;
|
|
612
|
+
baseAccessToken = configuration.accessToken;
|
|
613
|
+
}
|
|
614
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
615
|
+
localVarHeaderParameter = {};
|
|
616
|
+
localVarQueryParameter = {};
|
|
617
|
+
if (pageSize !== undefined) {
|
|
618
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
619
|
+
}
|
|
620
|
+
if (pageToken !== undefined) {
|
|
621
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
622
|
+
}
|
|
623
|
+
if (filter !== undefined) {
|
|
624
|
+
localVarQueryParameter['filter'] = filter;
|
|
625
|
+
}
|
|
626
|
+
if (search !== undefined) {
|
|
627
|
+
localVarQueryParameter['search'] = search;
|
|
628
|
+
}
|
|
629
|
+
if (order !== undefined) {
|
|
630
|
+
localVarQueryParameter['order'] = order;
|
|
631
|
+
}
|
|
632
|
+
if (expand !== undefined) {
|
|
633
|
+
localVarQueryParameter['expand'] = expand;
|
|
634
|
+
}
|
|
635
|
+
if (filters !== undefined) {
|
|
636
|
+
localVarQueryParameter['filters'] = filters;
|
|
637
|
+
}
|
|
638
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
639
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
640
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
641
|
+
return [2 /*return*/, {
|
|
642
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
643
|
+
options: localVarRequestOptions,
|
|
644
|
+
}];
|
|
645
|
+
});
|
|
646
|
+
});
|
|
647
|
+
},
|
|
648
|
+
/**
|
|
649
|
+
*
|
|
650
|
+
* @summary Lists group policies.
|
|
651
|
+
* @param {number} [pageSize]
|
|
652
|
+
* @param {string} [pageToken]
|
|
653
|
+
* @param {string} [filter]
|
|
654
|
+
* @param {string} [search]
|
|
655
|
+
* @param {string} [order]
|
|
656
|
+
* @param {string} [expand]
|
|
657
|
+
* @param {string} [filters]
|
|
658
|
+
* @param {*} [options] Override http request option.
|
|
659
|
+
* @throws {RequiredError}
|
|
660
|
+
*/
|
|
661
|
+
groupPolicyServiceListGroupPolicies: function (pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
662
|
+
if (options === void 0) { options = {}; }
|
|
663
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
664
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
665
|
+
return __generator(this, function (_a) {
|
|
666
|
+
localVarPath = "/insuranceservice/v2/group-policies";
|
|
667
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
668
|
+
if (configuration) {
|
|
669
|
+
baseOptions = configuration.baseOptions;
|
|
670
|
+
baseAccessToken = configuration.accessToken;
|
|
671
|
+
}
|
|
672
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
673
|
+
localVarHeaderParameter = {};
|
|
674
|
+
localVarQueryParameter = {};
|
|
675
|
+
if (pageSize !== undefined) {
|
|
676
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
677
|
+
}
|
|
678
|
+
if (pageToken !== undefined) {
|
|
679
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
680
|
+
}
|
|
681
|
+
if (filter !== undefined) {
|
|
682
|
+
localVarQueryParameter['filter'] = filter;
|
|
683
|
+
}
|
|
684
|
+
if (search !== undefined) {
|
|
685
|
+
localVarQueryParameter['search'] = search;
|
|
686
|
+
}
|
|
687
|
+
if (order !== undefined) {
|
|
688
|
+
localVarQueryParameter['order'] = order;
|
|
689
|
+
}
|
|
690
|
+
if (expand !== undefined) {
|
|
691
|
+
localVarQueryParameter['expand'] = expand;
|
|
692
|
+
}
|
|
693
|
+
if (filters !== undefined) {
|
|
694
|
+
localVarQueryParameter['filters'] = filters;
|
|
695
|
+
}
|
|
696
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
697
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
698
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
699
|
+
return [2 /*return*/, {
|
|
700
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
701
|
+
options: localVarRequestOptions,
|
|
702
|
+
}];
|
|
703
|
+
});
|
|
704
|
+
});
|
|
705
|
+
},
|
|
706
|
+
/**
|
|
707
|
+
*
|
|
708
|
+
* @summary Lists the members of a group policy on a day.
|
|
709
|
+
* @param {number} [pageSize]
|
|
710
|
+
* @param {string} [pageToken]
|
|
711
|
+
* @param {string} [filter]
|
|
712
|
+
* @param {string} [search]
|
|
713
|
+
* @param {string} [order]
|
|
714
|
+
* @param {string} [expand]
|
|
715
|
+
* @param {string} [filters]
|
|
716
|
+
* @param {*} [options] Override http request option.
|
|
717
|
+
* @throws {RequiredError}
|
|
718
|
+
*/
|
|
719
|
+
groupPolicyServiceListGroupPolicyMembers: function (pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
720
|
+
if (options === void 0) { options = {}; }
|
|
721
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
722
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
723
|
+
return __generator(this, function (_a) {
|
|
724
|
+
localVarPath = "/insuranceservice/v2/group-policy-members";
|
|
725
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
726
|
+
if (configuration) {
|
|
727
|
+
baseOptions = configuration.baseOptions;
|
|
728
|
+
baseAccessToken = configuration.accessToken;
|
|
729
|
+
}
|
|
730
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
731
|
+
localVarHeaderParameter = {};
|
|
732
|
+
localVarQueryParameter = {};
|
|
733
|
+
if (pageSize !== undefined) {
|
|
734
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
735
|
+
}
|
|
736
|
+
if (pageToken !== undefined) {
|
|
737
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
738
|
+
}
|
|
739
|
+
if (filter !== undefined) {
|
|
740
|
+
localVarQueryParameter['filter'] = filter;
|
|
741
|
+
}
|
|
742
|
+
if (search !== undefined) {
|
|
743
|
+
localVarQueryParameter['search'] = search;
|
|
744
|
+
}
|
|
745
|
+
if (order !== undefined) {
|
|
746
|
+
localVarQueryParameter['order'] = order;
|
|
747
|
+
}
|
|
748
|
+
if (expand !== undefined) {
|
|
749
|
+
localVarQueryParameter['expand'] = expand;
|
|
750
|
+
}
|
|
751
|
+
if (filters !== undefined) {
|
|
752
|
+
localVarQueryParameter['filters'] = filters;
|
|
753
|
+
}
|
|
754
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
755
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
756
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
757
|
+
return [2 /*return*/, {
|
|
758
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
759
|
+
options: localVarRequestOptions,
|
|
760
|
+
}];
|
|
761
|
+
});
|
|
762
|
+
});
|
|
763
|
+
},
|
|
764
|
+
/**
|
|
765
|
+
*
|
|
766
|
+
* @summary Lists the group tariff versions that a group policy can be upgraded to.
|
|
767
|
+
* @param {number} [pageSize]
|
|
768
|
+
* @param {string} [pageToken]
|
|
769
|
+
* @param {string} [filter]
|
|
770
|
+
* @param {string} [search]
|
|
771
|
+
* @param {string} [order]
|
|
772
|
+
* @param {string} [expand]
|
|
773
|
+
* @param {string} [filters]
|
|
774
|
+
* @param {*} [options] Override http request option.
|
|
775
|
+
* @throws {RequiredError}
|
|
776
|
+
*/
|
|
777
|
+
groupPolicyServiceListGroupPolicyUpgradeTargets: function (pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
778
|
+
if (options === void 0) { options = {}; }
|
|
779
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
780
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
781
|
+
return __generator(this, function (_a) {
|
|
782
|
+
localVarPath = "/insuranceservice/v2/group-policy-upgrade-targets";
|
|
783
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
784
|
+
if (configuration) {
|
|
785
|
+
baseOptions = configuration.baseOptions;
|
|
786
|
+
baseAccessToken = configuration.accessToken;
|
|
787
|
+
}
|
|
788
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
789
|
+
localVarHeaderParameter = {};
|
|
790
|
+
localVarQueryParameter = {};
|
|
791
|
+
if (pageSize !== undefined) {
|
|
792
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
793
|
+
}
|
|
794
|
+
if (pageToken !== undefined) {
|
|
795
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
796
|
+
}
|
|
797
|
+
if (filter !== undefined) {
|
|
798
|
+
localVarQueryParameter['filter'] = filter;
|
|
799
|
+
}
|
|
800
|
+
if (search !== undefined) {
|
|
801
|
+
localVarQueryParameter['search'] = search;
|
|
802
|
+
}
|
|
803
|
+
if (order !== undefined) {
|
|
804
|
+
localVarQueryParameter['order'] = order;
|
|
805
|
+
}
|
|
806
|
+
if (expand !== undefined) {
|
|
807
|
+
localVarQueryParameter['expand'] = expand;
|
|
808
|
+
}
|
|
809
|
+
if (filters !== undefined) {
|
|
810
|
+
localVarQueryParameter['filters'] = filters;
|
|
811
|
+
}
|
|
812
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
813
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
814
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
815
|
+
return [2 /*return*/, {
|
|
816
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
817
|
+
options: localVarRequestOptions,
|
|
818
|
+
}];
|
|
819
|
+
});
|
|
820
|
+
});
|
|
821
|
+
},
|
|
822
|
+
/**
|
|
823
|
+
*
|
|
824
|
+
* @summary Previews the segments that a group policy correction would write.
|
|
825
|
+
* @param {string} code The code of the group policy.
|
|
826
|
+
* @param {PreviewGroupPolicyCorrectionBody} body
|
|
827
|
+
* @param {*} [options] Override http request option.
|
|
828
|
+
* @throws {RequiredError}
|
|
829
|
+
*/
|
|
830
|
+
groupPolicyServicePreviewGroupPolicyCorrection: function (code, body, options) {
|
|
831
|
+
if (options === void 0) { options = {}; }
|
|
832
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
833
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
834
|
+
return __generator(this, function (_a) {
|
|
835
|
+
// verify required parameter 'code' is not null or undefined
|
|
836
|
+
(0, common_1.assertParamExists)('groupPolicyServicePreviewGroupPolicyCorrection', 'code', code);
|
|
837
|
+
// verify required parameter 'body' is not null or undefined
|
|
838
|
+
(0, common_1.assertParamExists)('groupPolicyServicePreviewGroupPolicyCorrection', 'body', body);
|
|
839
|
+
localVarPath = "/insuranceservice/v2/group-policies/{code}/corrections:preview"
|
|
840
|
+
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
841
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
842
|
+
if (configuration) {
|
|
843
|
+
baseOptions = configuration.baseOptions;
|
|
844
|
+
baseAccessToken = configuration.accessToken;
|
|
845
|
+
}
|
|
846
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
847
|
+
localVarHeaderParameter = {};
|
|
848
|
+
localVarQueryParameter = {};
|
|
849
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
850
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
851
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
852
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
853
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
854
|
+
return [2 /*return*/, {
|
|
855
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
856
|
+
options: localVarRequestOptions,
|
|
857
|
+
}];
|
|
858
|
+
});
|
|
859
|
+
});
|
|
860
|
+
},
|
|
861
|
+
/**
|
|
862
|
+
*
|
|
863
|
+
* @summary Previews what terminating a group policy would do to its members.
|
|
864
|
+
* @param {string} code The code of the group policy.
|
|
865
|
+
* @param {PreviewGroupPolicyTerminationBody} body
|
|
866
|
+
* @param {*} [options] Override http request option.
|
|
867
|
+
* @throws {RequiredError}
|
|
868
|
+
*/
|
|
869
|
+
groupPolicyServicePreviewGroupPolicyTermination: function (code, body, options) {
|
|
870
|
+
if (options === void 0) { options = {}; }
|
|
871
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
872
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
873
|
+
return __generator(this, function (_a) {
|
|
874
|
+
// verify required parameter 'code' is not null or undefined
|
|
875
|
+
(0, common_1.assertParamExists)('groupPolicyServicePreviewGroupPolicyTermination', 'code', code);
|
|
876
|
+
// verify required parameter 'body' is not null or undefined
|
|
877
|
+
(0, common_1.assertParamExists)('groupPolicyServicePreviewGroupPolicyTermination', 'body', body);
|
|
878
|
+
localVarPath = "/insuranceservice/v2/group-policies/{code}:terminate-preview"
|
|
879
|
+
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
880
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
881
|
+
if (configuration) {
|
|
882
|
+
baseOptions = configuration.baseOptions;
|
|
883
|
+
baseAccessToken = configuration.accessToken;
|
|
884
|
+
}
|
|
885
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
886
|
+
localVarHeaderParameter = {};
|
|
887
|
+
localVarQueryParameter = {};
|
|
888
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
889
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
890
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
891
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
892
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
893
|
+
return [2 /*return*/, {
|
|
894
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
895
|
+
options: localVarRequestOptions,
|
|
896
|
+
}];
|
|
897
|
+
});
|
|
898
|
+
});
|
|
899
|
+
},
|
|
900
|
+
/**
|
|
901
|
+
*
|
|
902
|
+
* @summary Moves a group policy to another version of its group tariff.
|
|
903
|
+
* @param {string} code The code of the group policy.
|
|
904
|
+
* @param {string} ifMatch The group policy\'s `etag` as last read, sent back unchanged.
|
|
905
|
+
* @param {RenewGroupPolicyBody} body
|
|
906
|
+
* @param {*} [options] Override http request option.
|
|
907
|
+
* @throws {RequiredError}
|
|
908
|
+
*/
|
|
909
|
+
groupPolicyServiceRenewGroupPolicy: function (code, ifMatch, body, options) {
|
|
910
|
+
if (options === void 0) { options = {}; }
|
|
911
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
912
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, ifMatchIsAuth, ifMatchValue, ifMatchKeepEmpty, headersFromBaseOptions;
|
|
913
|
+
var _a;
|
|
914
|
+
return __generator(this, function (_b) {
|
|
915
|
+
// verify required parameter 'code' is not null or undefined
|
|
916
|
+
(0, common_1.assertParamExists)('groupPolicyServiceRenewGroupPolicy', 'code', code);
|
|
917
|
+
// verify required parameter 'ifMatch' is not null or undefined
|
|
918
|
+
(0, common_1.assertParamExists)('groupPolicyServiceRenewGroupPolicy', 'ifMatch', ifMatch);
|
|
919
|
+
// verify required parameter 'body' is not null or undefined
|
|
920
|
+
(0, common_1.assertParamExists)('groupPolicyServiceRenewGroupPolicy', 'body', body);
|
|
921
|
+
localVarPath = "/insuranceservice/v2/group-policies/{code}:renew"
|
|
922
|
+
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
923
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
924
|
+
if (configuration) {
|
|
925
|
+
baseOptions = configuration.baseOptions;
|
|
926
|
+
baseAccessToken = configuration.accessToken;
|
|
927
|
+
}
|
|
928
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
929
|
+
localVarHeaderParameter = {};
|
|
930
|
+
localVarQueryParameter = {};
|
|
931
|
+
ifMatchIsAuth = 'If-Match'.toLowerCase() === 'authorization';
|
|
932
|
+
ifMatchValue = ifMatchIsAuth ? (ifMatch || baseAccessToken) : ifMatch;
|
|
933
|
+
ifMatchKeepEmpty = ifMatchIsAuth && ifMatchValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
|
|
934
|
+
if (ifMatchValue || ifMatchKeepEmpty) {
|
|
935
|
+
localVarHeaderParameter['If-Match'] = String(ifMatchValue);
|
|
936
|
+
}
|
|
937
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
938
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
939
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
940
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
941
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
942
|
+
return [2 /*return*/, {
|
|
943
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
944
|
+
options: localVarRequestOptions,
|
|
945
|
+
}];
|
|
946
|
+
});
|
|
947
|
+
});
|
|
948
|
+
},
|
|
949
|
+
/**
|
|
950
|
+
*
|
|
951
|
+
* @summary Terminates a group policy and settles the billing of its members.
|
|
952
|
+
* @param {string} code The code of the group policy.
|
|
953
|
+
* @param {string} ifMatch The group policy\'s `etag` as last read, sent back unchanged.
|
|
954
|
+
* @param {TerminateGroupPolicyBody} body
|
|
955
|
+
* @param {*} [options] Override http request option.
|
|
956
|
+
* @throws {RequiredError}
|
|
957
|
+
*/
|
|
958
|
+
groupPolicyServiceTerminateGroupPolicy: function (code, ifMatch, body, options) {
|
|
959
|
+
if (options === void 0) { options = {}; }
|
|
960
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
961
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, ifMatchIsAuth, ifMatchValue, ifMatchKeepEmpty, headersFromBaseOptions;
|
|
962
|
+
var _a;
|
|
963
|
+
return __generator(this, function (_b) {
|
|
964
|
+
// verify required parameter 'code' is not null or undefined
|
|
965
|
+
(0, common_1.assertParamExists)('groupPolicyServiceTerminateGroupPolicy', 'code', code);
|
|
966
|
+
// verify required parameter 'ifMatch' is not null or undefined
|
|
967
|
+
(0, common_1.assertParamExists)('groupPolicyServiceTerminateGroupPolicy', 'ifMatch', ifMatch);
|
|
968
|
+
// verify required parameter 'body' is not null or undefined
|
|
969
|
+
(0, common_1.assertParamExists)('groupPolicyServiceTerminateGroupPolicy', 'body', body);
|
|
970
|
+
localVarPath = "/insuranceservice/v2/group-policies/{code}:terminate"
|
|
971
|
+
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
972
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
973
|
+
if (configuration) {
|
|
974
|
+
baseOptions = configuration.baseOptions;
|
|
975
|
+
baseAccessToken = configuration.accessToken;
|
|
976
|
+
}
|
|
977
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
978
|
+
localVarHeaderParameter = {};
|
|
979
|
+
localVarQueryParameter = {};
|
|
980
|
+
ifMatchIsAuth = 'If-Match'.toLowerCase() === 'authorization';
|
|
981
|
+
ifMatchValue = ifMatchIsAuth ? (ifMatch || baseAccessToken) : ifMatch;
|
|
982
|
+
ifMatchKeepEmpty = ifMatchIsAuth && ifMatchValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
|
|
983
|
+
if (ifMatchValue || ifMatchKeepEmpty) {
|
|
984
|
+
localVarHeaderParameter['If-Match'] = String(ifMatchValue);
|
|
985
|
+
}
|
|
986
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
987
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
988
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
989
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
990
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
991
|
+
return [2 /*return*/, {
|
|
992
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
993
|
+
options: localVarRequestOptions,
|
|
994
|
+
}];
|
|
995
|
+
});
|
|
996
|
+
});
|
|
997
|
+
},
|
|
998
|
+
/**
|
|
999
|
+
*
|
|
1000
|
+
* @summary Changes the terms of a group policy from a date on.
|
|
1001
|
+
* @param {string} code The code of the group policy.
|
|
1002
|
+
* @param {string} ifMatch The group policy\'s `etag` as last read, sent back unchanged.
|
|
1003
|
+
* @param {UpdateGroupPolicyBody} body
|
|
1004
|
+
* @param {*} [options] Override http request option.
|
|
1005
|
+
* @throws {RequiredError}
|
|
1006
|
+
*/
|
|
1007
|
+
groupPolicyServiceUpdateGroupPolicy: function (code, ifMatch, body, options) {
|
|
1008
|
+
if (options === void 0) { options = {}; }
|
|
1009
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
1010
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, ifMatchIsAuth, ifMatchValue, ifMatchKeepEmpty, headersFromBaseOptions;
|
|
1011
|
+
var _a;
|
|
1012
|
+
return __generator(this, function (_b) {
|
|
1013
|
+
// verify required parameter 'code' is not null or undefined
|
|
1014
|
+
(0, common_1.assertParamExists)('groupPolicyServiceUpdateGroupPolicy', 'code', code);
|
|
1015
|
+
// verify required parameter 'ifMatch' is not null or undefined
|
|
1016
|
+
(0, common_1.assertParamExists)('groupPolicyServiceUpdateGroupPolicy', 'ifMatch', ifMatch);
|
|
1017
|
+
// verify required parameter 'body' is not null or undefined
|
|
1018
|
+
(0, common_1.assertParamExists)('groupPolicyServiceUpdateGroupPolicy', 'body', body);
|
|
1019
|
+
localVarPath = "/insuranceservice/v2/group-policies/{code}"
|
|
1020
|
+
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
1021
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1022
|
+
if (configuration) {
|
|
1023
|
+
baseOptions = configuration.baseOptions;
|
|
1024
|
+
baseAccessToken = configuration.accessToken;
|
|
1025
|
+
}
|
|
1026
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
1027
|
+
localVarHeaderParameter = {};
|
|
1028
|
+
localVarQueryParameter = {};
|
|
1029
|
+
ifMatchIsAuth = 'If-Match'.toLowerCase() === 'authorization';
|
|
1030
|
+
ifMatchValue = ifMatchIsAuth ? (ifMatch || baseAccessToken) : ifMatch;
|
|
1031
|
+
ifMatchKeepEmpty = ifMatchIsAuth && ifMatchValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
|
|
1032
|
+
if (ifMatchValue || ifMatchKeepEmpty) {
|
|
1033
|
+
localVarHeaderParameter['If-Match'] = String(ifMatchValue);
|
|
1034
|
+
}
|
|
1035
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1036
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1037
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1038
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1039
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
1040
|
+
return [2 /*return*/, {
|
|
1041
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1042
|
+
options: localVarRequestOptions,
|
|
1043
|
+
}];
|
|
1044
|
+
});
|
|
1045
|
+
});
|
|
1046
|
+
},
|
|
1047
|
+
/**
|
|
1048
|
+
*
|
|
1049
|
+
* @summary Upgrades a group policy to a newer group tariff version.
|
|
1050
|
+
* @param {string} code The code of the group policy.
|
|
1051
|
+
* @param {string} ifMatch The group policy\'s `etag` as last read, sent back unchanged.
|
|
1052
|
+
* @param {UpgradeGroupPolicyBody} body
|
|
1053
|
+
* @param {*} [options] Override http request option.
|
|
1054
|
+
* @throws {RequiredError}
|
|
1055
|
+
*/
|
|
1056
|
+
groupPolicyServiceUpgradeGroupPolicy: function (code, ifMatch, body, options) {
|
|
1057
|
+
if (options === void 0) { options = {}; }
|
|
1058
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
1059
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, ifMatchIsAuth, ifMatchValue, ifMatchKeepEmpty, headersFromBaseOptions;
|
|
1060
|
+
var _a;
|
|
1061
|
+
return __generator(this, function (_b) {
|
|
1062
|
+
// verify required parameter 'code' is not null or undefined
|
|
1063
|
+
(0, common_1.assertParamExists)('groupPolicyServiceUpgradeGroupPolicy', 'code', code);
|
|
1064
|
+
// verify required parameter 'ifMatch' is not null or undefined
|
|
1065
|
+
(0, common_1.assertParamExists)('groupPolicyServiceUpgradeGroupPolicy', 'ifMatch', ifMatch);
|
|
1066
|
+
// verify required parameter 'body' is not null or undefined
|
|
1067
|
+
(0, common_1.assertParamExists)('groupPolicyServiceUpgradeGroupPolicy', 'body', body);
|
|
1068
|
+
localVarPath = "/insuranceservice/v2/group-policies/{code}:upgrade"
|
|
1069
|
+
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
1070
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1071
|
+
if (configuration) {
|
|
1072
|
+
baseOptions = configuration.baseOptions;
|
|
1073
|
+
baseAccessToken = configuration.accessToken;
|
|
1074
|
+
}
|
|
1075
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
1076
|
+
localVarHeaderParameter = {};
|
|
1077
|
+
localVarQueryParameter = {};
|
|
1078
|
+
ifMatchIsAuth = 'If-Match'.toLowerCase() === 'authorization';
|
|
1079
|
+
ifMatchValue = ifMatchIsAuth ? (ifMatch || baseAccessToken) : ifMatch;
|
|
1080
|
+
ifMatchKeepEmpty = ifMatchIsAuth && ifMatchValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
|
|
1081
|
+
if (ifMatchValue || ifMatchKeepEmpty) {
|
|
1082
|
+
localVarHeaderParameter['If-Match'] = String(ifMatchValue);
|
|
1083
|
+
}
|
|
1084
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1085
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1086
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1087
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1088
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
1089
|
+
return [2 /*return*/, {
|
|
1090
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1091
|
+
options: localVarRequestOptions,
|
|
1092
|
+
}];
|
|
1093
|
+
});
|
|
1094
|
+
});
|
|
1095
|
+
},
|
|
1096
|
+
};
|
|
1097
|
+
};
|
|
1098
|
+
exports.GroupPoliciesApiAxiosParamCreator = GroupPoliciesApiAxiosParamCreator;
|
|
1099
|
+
/**
|
|
1100
|
+
* GroupPoliciesApi - functional programming interface
|
|
1101
|
+
* @export
|
|
1102
|
+
*/
|
|
1103
|
+
var GroupPoliciesApiFp = function (configuration) {
|
|
1104
|
+
var localVarAxiosParamCreator = (0, exports.GroupPoliciesApiAxiosParamCreator)(configuration);
|
|
1105
|
+
return {
|
|
1106
|
+
/**
|
|
1107
|
+
*
|
|
1108
|
+
* @summary Activates a group policy that is in negotiation.
|
|
1109
|
+
* @param {string} code The code of the group policy.
|
|
1110
|
+
* @param {string} ifMatch The group policy\'s `etag` as last read, sent back unchanged.
|
|
1111
|
+
* @param {ActivateGroupPolicyBody} body
|
|
1112
|
+
* @param {*} [options] Override http request option.
|
|
1113
|
+
* @throws {RequiredError}
|
|
1114
|
+
*/
|
|
1115
|
+
groupPolicyServiceActivateGroupPolicy: function (code, ifMatch, body, options) {
|
|
1116
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1117
|
+
var localVarAxiosArgs;
|
|
1118
|
+
return __generator(this, function (_a) {
|
|
1119
|
+
switch (_a.label) {
|
|
1120
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.groupPolicyServiceActivateGroupPolicy(code, ifMatch, body, options)];
|
|
1121
|
+
case 1:
|
|
1122
|
+
localVarAxiosArgs = _a.sent();
|
|
1123
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1124
|
+
}
|
|
1125
|
+
});
|
|
1126
|
+
});
|
|
1127
|
+
},
|
|
1128
|
+
/**
|
|
1129
|
+
* Prices the adjustments of the group tariff version that is valid on `periodFrom` over the members\' totals sent in `memberTaxTotals`, so billing can add them to a collective invoice. The call changes nothing.
|
|
1130
|
+
* @summary Calculates the aggregation adjustments of a group policy for a billing period.
|
|
1131
|
+
* @param {string} code The code of the group policy.
|
|
1132
|
+
* @param {CalculateGroupPolicyAdjustmentsBody} body
|
|
1133
|
+
* @param {*} [options] Override http request option.
|
|
1134
|
+
* @throws {RequiredError}
|
|
1135
|
+
*/
|
|
1136
|
+
groupPolicyServiceCalculateGroupPolicyAdjustments: function (code, body, options) {
|
|
1137
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1138
|
+
var localVarAxiosArgs;
|
|
1139
|
+
return __generator(this, function (_a) {
|
|
1140
|
+
switch (_a.label) {
|
|
1141
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.groupPolicyServiceCalculateGroupPolicyAdjustments(code, body, options)];
|
|
1142
|
+
case 1:
|
|
1143
|
+
localVarAxiosArgs = _a.sent();
|
|
1144
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1145
|
+
}
|
|
1146
|
+
});
|
|
1147
|
+
});
|
|
1148
|
+
},
|
|
1149
|
+
/**
|
|
1150
|
+
*
|
|
1151
|
+
* @summary Checks whether a group policy can be upgraded, and writes nothing.
|
|
1152
|
+
* @param {string} code The code of the group policy.
|
|
1153
|
+
* @param {CheckGroupPolicyUpgradeBody} body
|
|
1154
|
+
* @param {*} [options] Override http request option.
|
|
1155
|
+
* @throws {RequiredError}
|
|
1156
|
+
*/
|
|
1157
|
+
groupPolicyServiceCheckGroupPolicyUpgrade: function (code, body, options) {
|
|
1158
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1159
|
+
var localVarAxiosArgs;
|
|
1160
|
+
return __generator(this, function (_a) {
|
|
1161
|
+
switch (_a.label) {
|
|
1162
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.groupPolicyServiceCheckGroupPolicyUpgrade(code, body, options)];
|
|
1163
|
+
case 1:
|
|
1164
|
+
localVarAxiosArgs = _a.sent();
|
|
1165
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1166
|
+
}
|
|
1167
|
+
});
|
|
1168
|
+
});
|
|
1169
|
+
},
|
|
1170
|
+
/**
|
|
1171
|
+
*
|
|
1172
|
+
* @summary Corrects the terms of a group policy over a range of days.
|
|
1173
|
+
* @param {string} code The code of the group policy.
|
|
1174
|
+
* @param {string} ifMatch The group policy\'s `etag` as last read, sent back unchanged.
|
|
1175
|
+
* @param {CorrectGroupPolicyBody} body
|
|
1176
|
+
* @param {*} [options] Override http request option.
|
|
1177
|
+
* @throws {RequiredError}
|
|
1178
|
+
*/
|
|
1179
|
+
groupPolicyServiceCorrectGroupPolicy: function (code, ifMatch, body, options) {
|
|
1180
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1181
|
+
var localVarAxiosArgs;
|
|
1182
|
+
return __generator(this, function (_a) {
|
|
1183
|
+
switch (_a.label) {
|
|
1184
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.groupPolicyServiceCorrectGroupPolicy(code, ifMatch, body, options)];
|
|
1185
|
+
case 1:
|
|
1186
|
+
localVarAxiosArgs = _a.sent();
|
|
1187
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1188
|
+
}
|
|
1189
|
+
});
|
|
1190
|
+
});
|
|
1191
|
+
},
|
|
1192
|
+
/**
|
|
1193
|
+
*
|
|
1194
|
+
* @summary Creates a group policy.
|
|
1195
|
+
* @param {CreateGroupPolicyRequest} body The request of `CreateGroupPolicy`.
|
|
1196
|
+
* @param {*} [options] Override http request option.
|
|
1197
|
+
* @throws {RequiredError}
|
|
1198
|
+
*/
|
|
1199
|
+
groupPolicyServiceCreateGroupPolicy: function (body, options) {
|
|
1200
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1201
|
+
var localVarAxiosArgs;
|
|
1202
|
+
return __generator(this, function (_a) {
|
|
1203
|
+
switch (_a.label) {
|
|
1204
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.groupPolicyServiceCreateGroupPolicy(body, options)];
|
|
1205
|
+
case 1:
|
|
1206
|
+
localVarAxiosArgs = _a.sent();
|
|
1207
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1208
|
+
}
|
|
1209
|
+
});
|
|
1210
|
+
});
|
|
1211
|
+
},
|
|
1212
|
+
/**
|
|
1213
|
+
*
|
|
1214
|
+
* @summary Returns one group policy.
|
|
1215
|
+
* @param {string} code The code of the group policy.
|
|
1216
|
+
* @param {string} [validAt] The business day to read, as `YYYY-MM-DD`. Empty means today.
|
|
1217
|
+
* @param {string} [asOf] The point in system time to read at. Empty means now.
|
|
1218
|
+
* @param {*} [options] Override http request option.
|
|
1219
|
+
* @throws {RequiredError}
|
|
1220
|
+
*/
|
|
1221
|
+
groupPolicyServiceGetGroupPolicy: function (code, validAt, asOf, options) {
|
|
1222
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1223
|
+
var localVarAxiosArgs;
|
|
1224
|
+
return __generator(this, function (_a) {
|
|
1225
|
+
switch (_a.label) {
|
|
1226
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.groupPolicyServiceGetGroupPolicy(code, validAt, asOf, options)];
|
|
1227
|
+
case 1:
|
|
1228
|
+
localVarAxiosArgs = _a.sent();
|
|
1229
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1230
|
+
}
|
|
1231
|
+
});
|
|
1232
|
+
});
|
|
1233
|
+
},
|
|
1234
|
+
/**
|
|
1235
|
+
*
|
|
1236
|
+
* @summary Returns the filter catalog of the group policy list.
|
|
1237
|
+
* @param {*} [options] Override http request option.
|
|
1238
|
+
* @throws {RequiredError}
|
|
1239
|
+
*/
|
|
1240
|
+
groupPolicyServiceGetGroupPolicyFilterCatalog: function (options) {
|
|
1241
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1242
|
+
var localVarAxiosArgs;
|
|
1243
|
+
return __generator(this, function (_a) {
|
|
1244
|
+
switch (_a.label) {
|
|
1245
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.groupPolicyServiceGetGroupPolicyFilterCatalog(options)];
|
|
1246
|
+
case 1:
|
|
1247
|
+
localVarAxiosArgs = _a.sent();
|
|
1248
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1249
|
+
}
|
|
1250
|
+
});
|
|
1251
|
+
});
|
|
1252
|
+
},
|
|
1253
|
+
/**
|
|
1254
|
+
*
|
|
1255
|
+
* @summary Returns the filter catalog of the member list of a group policy.
|
|
1256
|
+
* @param {string} code The code of the group policy.
|
|
1257
|
+
* @param {*} [options] Override http request option.
|
|
1258
|
+
* @throws {RequiredError}
|
|
1259
|
+
*/
|
|
1260
|
+
groupPolicyServiceGetGroupPolicyMemberFilterCatalog: function (code, options) {
|
|
1261
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1262
|
+
var localVarAxiosArgs;
|
|
1263
|
+
return __generator(this, function (_a) {
|
|
1264
|
+
switch (_a.label) {
|
|
1265
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.groupPolicyServiceGetGroupPolicyMemberFilterCatalog(code, options)];
|
|
1266
|
+
case 1:
|
|
1267
|
+
localVarAxiosArgs = _a.sent();
|
|
1268
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1269
|
+
}
|
|
1270
|
+
});
|
|
1271
|
+
});
|
|
1272
|
+
},
|
|
1273
|
+
/**
|
|
1274
|
+
*
|
|
1275
|
+
* @summary Returns the schema that a member policy of a group policy is validated against.
|
|
1276
|
+
* @param {string} code The code of the group policy.
|
|
1277
|
+
* @param {string} [validAt] The business day, as `YYYY-MM-DD`. Empty means today. It picks the version of the group policy whose group tariff version the schema is found through.
|
|
1278
|
+
* @param {*} [options] Override http request option.
|
|
1279
|
+
* @throws {RequiredError}
|
|
1280
|
+
*/
|
|
1281
|
+
groupPolicyServiceGetGroupPolicyMemberSchema: function (code, validAt, options) {
|
|
1282
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1283
|
+
var localVarAxiosArgs;
|
|
1284
|
+
return __generator(this, function (_a) {
|
|
1285
|
+
switch (_a.label) {
|
|
1286
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.groupPolicyServiceGetGroupPolicyMemberSchema(code, validAt, options)];
|
|
1287
|
+
case 1:
|
|
1288
|
+
localVarAxiosArgs = _a.sent();
|
|
1289
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1290
|
+
}
|
|
1291
|
+
});
|
|
1292
|
+
});
|
|
1293
|
+
},
|
|
1294
|
+
/**
|
|
1295
|
+
*
|
|
1296
|
+
* @summary Returns who filled which role on a group policy, and when.
|
|
1297
|
+
* @param {string} code The code of the group policy.
|
|
1298
|
+
* @param {string} [asOf] The point in system time to read the history at. Empty means now.
|
|
1299
|
+
* @param {*} [options] Override http request option.
|
|
1300
|
+
* @throws {RequiredError}
|
|
1301
|
+
*/
|
|
1302
|
+
groupPolicyServiceGetGroupPolicyPartnerHistory: function (code, asOf, options) {
|
|
1303
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1304
|
+
var localVarAxiosArgs;
|
|
1305
|
+
return __generator(this, function (_a) {
|
|
1306
|
+
switch (_a.label) {
|
|
1307
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.groupPolicyServiceGetGroupPolicyPartnerHistory(code, asOf, options)];
|
|
1308
|
+
case 1:
|
|
1309
|
+
localVarAxiosArgs = _a.sent();
|
|
1310
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1311
|
+
}
|
|
1312
|
+
});
|
|
1313
|
+
});
|
|
1314
|
+
},
|
|
1315
|
+
/**
|
|
1316
|
+
*
|
|
1317
|
+
* @summary Returns the premium totals of a group policy over all its members.
|
|
1318
|
+
* @param {string} code The code of the group policy.
|
|
1319
|
+
* @param {string} [validAt] One day, as `YYYY-MM-DD`. The default is today (UTC), unless a period is given. Never combined with a period.
|
|
1320
|
+
* @param {string} [periodFrom] The first day of the period, as `YYYY-MM-DD`, inclusive. Send it with `periodTo`.
|
|
1321
|
+
* @param {string} [periodTo] The end of the period, as `YYYY-MM-DD`, exclusive. Send it with `periodFrom`.
|
|
1322
|
+
* @param {string} [asOf] The point in system time to read at, an RFC 3339 time ending in `Z`. The default is now.
|
|
1323
|
+
* @param {*} [options] Override http request option.
|
|
1324
|
+
* @throws {RequiredError}
|
|
1325
|
+
*/
|
|
1326
|
+
groupPolicyServiceGetGroupPolicyPremiumSummary: function (code, validAt, periodFrom, periodTo, asOf, options) {
|
|
1327
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1328
|
+
var localVarAxiosArgs;
|
|
1329
|
+
return __generator(this, function (_a) {
|
|
1330
|
+
switch (_a.label) {
|
|
1331
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.groupPolicyServiceGetGroupPolicyPremiumSummary(code, validAt, periodFrom, periodTo, asOf, options)];
|
|
1332
|
+
case 1:
|
|
1333
|
+
localVarAxiosArgs = _a.sent();
|
|
1334
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1335
|
+
}
|
|
1336
|
+
});
|
|
1337
|
+
});
|
|
1338
|
+
},
|
|
1339
|
+
/**
|
|
1340
|
+
*
|
|
1341
|
+
* @summary Returns the versions of a group policy over time.
|
|
1342
|
+
* @param {string} code The code of the group policy.
|
|
1343
|
+
* @param {string} [asOf] Ignored: the timeline always shows what is currently believed.
|
|
1344
|
+
* @param {boolean} [includeSuperseded] Whether to return superseded versions too; they are how a premium is reproduced.
|
|
1345
|
+
* @param {*} [options] Override http request option.
|
|
1346
|
+
* @throws {RequiredError}
|
|
1347
|
+
*/
|
|
1348
|
+
groupPolicyServiceGetGroupPolicyTimeline: function (code, asOf, includeSuperseded, options) {
|
|
1349
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1350
|
+
var localVarAxiosArgs;
|
|
1351
|
+
return __generator(this, function (_a) {
|
|
1352
|
+
switch (_a.label) {
|
|
1353
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.groupPolicyServiceGetGroupPolicyTimeline(code, asOf, includeSuperseded, options)];
|
|
1354
|
+
case 1:
|
|
1355
|
+
localVarAxiosArgs = _a.sent();
|
|
1356
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1357
|
+
}
|
|
1358
|
+
});
|
|
1359
|
+
});
|
|
1360
|
+
},
|
|
1361
|
+
/**
|
|
1362
|
+
*
|
|
1363
|
+
* @summary Lists the group tariffs that a group policy can be created under today.
|
|
1364
|
+
* @param {number} [pageSize]
|
|
1365
|
+
* @param {string} [pageToken]
|
|
1366
|
+
* @param {string} [filter]
|
|
1367
|
+
* @param {string} [search]
|
|
1368
|
+
* @param {string} [order]
|
|
1369
|
+
* @param {string} [expand]
|
|
1370
|
+
* @param {string} [filters]
|
|
1371
|
+
* @param {*} [options] Override http request option.
|
|
1372
|
+
* @throws {RequiredError}
|
|
1373
|
+
*/
|
|
1374
|
+
groupPolicyServiceListAvailableGroupTariffs: function (pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
1375
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1376
|
+
var localVarAxiosArgs;
|
|
1377
|
+
return __generator(this, function (_a) {
|
|
1378
|
+
switch (_a.label) {
|
|
1379
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.groupPolicyServiceListAvailableGroupTariffs(pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
1380
|
+
case 1:
|
|
1381
|
+
localVarAxiosArgs = _a.sent();
|
|
1382
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1383
|
+
}
|
|
1384
|
+
});
|
|
1385
|
+
});
|
|
1386
|
+
},
|
|
1387
|
+
/**
|
|
1388
|
+
*
|
|
1389
|
+
* @summary Lists group policies.
|
|
1390
|
+
* @param {number} [pageSize]
|
|
1391
|
+
* @param {string} [pageToken]
|
|
1392
|
+
* @param {string} [filter]
|
|
1393
|
+
* @param {string} [search]
|
|
1394
|
+
* @param {string} [order]
|
|
1395
|
+
* @param {string} [expand]
|
|
1396
|
+
* @param {string} [filters]
|
|
1397
|
+
* @param {*} [options] Override http request option.
|
|
1398
|
+
* @throws {RequiredError}
|
|
1399
|
+
*/
|
|
1400
|
+
groupPolicyServiceListGroupPolicies: function (pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
1401
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1402
|
+
var localVarAxiosArgs;
|
|
1403
|
+
return __generator(this, function (_a) {
|
|
1404
|
+
switch (_a.label) {
|
|
1405
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.groupPolicyServiceListGroupPolicies(pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
1406
|
+
case 1:
|
|
1407
|
+
localVarAxiosArgs = _a.sent();
|
|
1408
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1409
|
+
}
|
|
1410
|
+
});
|
|
1411
|
+
});
|
|
1412
|
+
},
|
|
1413
|
+
/**
|
|
1414
|
+
*
|
|
1415
|
+
* @summary Lists the members of a group policy on a day.
|
|
1416
|
+
* @param {number} [pageSize]
|
|
1417
|
+
* @param {string} [pageToken]
|
|
1418
|
+
* @param {string} [filter]
|
|
1419
|
+
* @param {string} [search]
|
|
1420
|
+
* @param {string} [order]
|
|
1421
|
+
* @param {string} [expand]
|
|
1422
|
+
* @param {string} [filters]
|
|
1423
|
+
* @param {*} [options] Override http request option.
|
|
1424
|
+
* @throws {RequiredError}
|
|
1425
|
+
*/
|
|
1426
|
+
groupPolicyServiceListGroupPolicyMembers: function (pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
1427
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1428
|
+
var localVarAxiosArgs;
|
|
1429
|
+
return __generator(this, function (_a) {
|
|
1430
|
+
switch (_a.label) {
|
|
1431
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.groupPolicyServiceListGroupPolicyMembers(pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
1432
|
+
case 1:
|
|
1433
|
+
localVarAxiosArgs = _a.sent();
|
|
1434
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1435
|
+
}
|
|
1436
|
+
});
|
|
1437
|
+
});
|
|
1438
|
+
},
|
|
1439
|
+
/**
|
|
1440
|
+
*
|
|
1441
|
+
* @summary Lists the group tariff versions that a group policy can be upgraded to.
|
|
1442
|
+
* @param {number} [pageSize]
|
|
1443
|
+
* @param {string} [pageToken]
|
|
1444
|
+
* @param {string} [filter]
|
|
1445
|
+
* @param {string} [search]
|
|
1446
|
+
* @param {string} [order]
|
|
1447
|
+
* @param {string} [expand]
|
|
1448
|
+
* @param {string} [filters]
|
|
1449
|
+
* @param {*} [options] Override http request option.
|
|
1450
|
+
* @throws {RequiredError}
|
|
1451
|
+
*/
|
|
1452
|
+
groupPolicyServiceListGroupPolicyUpgradeTargets: function (pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
1453
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1454
|
+
var localVarAxiosArgs;
|
|
1455
|
+
return __generator(this, function (_a) {
|
|
1456
|
+
switch (_a.label) {
|
|
1457
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.groupPolicyServiceListGroupPolicyUpgradeTargets(pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
1458
|
+
case 1:
|
|
1459
|
+
localVarAxiosArgs = _a.sent();
|
|
1460
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1461
|
+
}
|
|
1462
|
+
});
|
|
1463
|
+
});
|
|
1464
|
+
},
|
|
1465
|
+
/**
|
|
1466
|
+
*
|
|
1467
|
+
* @summary Previews the segments that a group policy correction would write.
|
|
1468
|
+
* @param {string} code The code of the group policy.
|
|
1469
|
+
* @param {PreviewGroupPolicyCorrectionBody} body
|
|
1470
|
+
* @param {*} [options] Override http request option.
|
|
1471
|
+
* @throws {RequiredError}
|
|
1472
|
+
*/
|
|
1473
|
+
groupPolicyServicePreviewGroupPolicyCorrection: function (code, body, options) {
|
|
1474
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1475
|
+
var localVarAxiosArgs;
|
|
1476
|
+
return __generator(this, function (_a) {
|
|
1477
|
+
switch (_a.label) {
|
|
1478
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.groupPolicyServicePreviewGroupPolicyCorrection(code, body, options)];
|
|
1479
|
+
case 1:
|
|
1480
|
+
localVarAxiosArgs = _a.sent();
|
|
1481
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1482
|
+
}
|
|
1483
|
+
});
|
|
1484
|
+
});
|
|
1485
|
+
},
|
|
1486
|
+
/**
|
|
1487
|
+
*
|
|
1488
|
+
* @summary Previews what terminating a group policy would do to its members.
|
|
1489
|
+
* @param {string} code The code of the group policy.
|
|
1490
|
+
* @param {PreviewGroupPolicyTerminationBody} body
|
|
1491
|
+
* @param {*} [options] Override http request option.
|
|
1492
|
+
* @throws {RequiredError}
|
|
1493
|
+
*/
|
|
1494
|
+
groupPolicyServicePreviewGroupPolicyTermination: function (code, body, options) {
|
|
1495
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1496
|
+
var localVarAxiosArgs;
|
|
1497
|
+
return __generator(this, function (_a) {
|
|
1498
|
+
switch (_a.label) {
|
|
1499
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.groupPolicyServicePreviewGroupPolicyTermination(code, body, options)];
|
|
1500
|
+
case 1:
|
|
1501
|
+
localVarAxiosArgs = _a.sent();
|
|
1502
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1503
|
+
}
|
|
1504
|
+
});
|
|
1505
|
+
});
|
|
1506
|
+
},
|
|
1507
|
+
/**
|
|
1508
|
+
*
|
|
1509
|
+
* @summary Moves a group policy to another version of its group tariff.
|
|
1510
|
+
* @param {string} code The code of the group policy.
|
|
1511
|
+
* @param {string} ifMatch The group policy\'s `etag` as last read, sent back unchanged.
|
|
1512
|
+
* @param {RenewGroupPolicyBody} body
|
|
1513
|
+
* @param {*} [options] Override http request option.
|
|
1514
|
+
* @throws {RequiredError}
|
|
1515
|
+
*/
|
|
1516
|
+
groupPolicyServiceRenewGroupPolicy: function (code, ifMatch, body, options) {
|
|
1517
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1518
|
+
var localVarAxiosArgs;
|
|
1519
|
+
return __generator(this, function (_a) {
|
|
1520
|
+
switch (_a.label) {
|
|
1521
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.groupPolicyServiceRenewGroupPolicy(code, ifMatch, body, options)];
|
|
1522
|
+
case 1:
|
|
1523
|
+
localVarAxiosArgs = _a.sent();
|
|
1524
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1525
|
+
}
|
|
1526
|
+
});
|
|
1527
|
+
});
|
|
1528
|
+
},
|
|
1529
|
+
/**
|
|
1530
|
+
*
|
|
1531
|
+
* @summary Terminates a group policy and settles the billing of its members.
|
|
1532
|
+
* @param {string} code The code of the group policy.
|
|
1533
|
+
* @param {string} ifMatch The group policy\'s `etag` as last read, sent back unchanged.
|
|
1534
|
+
* @param {TerminateGroupPolicyBody} body
|
|
1535
|
+
* @param {*} [options] Override http request option.
|
|
1536
|
+
* @throws {RequiredError}
|
|
1537
|
+
*/
|
|
1538
|
+
groupPolicyServiceTerminateGroupPolicy: function (code, ifMatch, body, options) {
|
|
1539
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1540
|
+
var localVarAxiosArgs;
|
|
1541
|
+
return __generator(this, function (_a) {
|
|
1542
|
+
switch (_a.label) {
|
|
1543
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.groupPolicyServiceTerminateGroupPolicy(code, ifMatch, body, options)];
|
|
1544
|
+
case 1:
|
|
1545
|
+
localVarAxiosArgs = _a.sent();
|
|
1546
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1547
|
+
}
|
|
1548
|
+
});
|
|
1549
|
+
});
|
|
1550
|
+
},
|
|
1551
|
+
/**
|
|
1552
|
+
*
|
|
1553
|
+
* @summary Changes the terms of a group policy from a date on.
|
|
1554
|
+
* @param {string} code The code of the group policy.
|
|
1555
|
+
* @param {string} ifMatch The group policy\'s `etag` as last read, sent back unchanged.
|
|
1556
|
+
* @param {UpdateGroupPolicyBody} body
|
|
1557
|
+
* @param {*} [options] Override http request option.
|
|
1558
|
+
* @throws {RequiredError}
|
|
1559
|
+
*/
|
|
1560
|
+
groupPolicyServiceUpdateGroupPolicy: function (code, ifMatch, body, options) {
|
|
1561
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1562
|
+
var localVarAxiosArgs;
|
|
1563
|
+
return __generator(this, function (_a) {
|
|
1564
|
+
switch (_a.label) {
|
|
1565
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.groupPolicyServiceUpdateGroupPolicy(code, ifMatch, body, options)];
|
|
1566
|
+
case 1:
|
|
1567
|
+
localVarAxiosArgs = _a.sent();
|
|
1568
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1569
|
+
}
|
|
1570
|
+
});
|
|
1571
|
+
});
|
|
1572
|
+
},
|
|
1573
|
+
/**
|
|
1574
|
+
*
|
|
1575
|
+
* @summary Upgrades a group policy to a newer group tariff version.
|
|
1576
|
+
* @param {string} code The code of the group policy.
|
|
1577
|
+
* @param {string} ifMatch The group policy\'s `etag` as last read, sent back unchanged.
|
|
1578
|
+
* @param {UpgradeGroupPolicyBody} body
|
|
1579
|
+
* @param {*} [options] Override http request option.
|
|
1580
|
+
* @throws {RequiredError}
|
|
1581
|
+
*/
|
|
1582
|
+
groupPolicyServiceUpgradeGroupPolicy: function (code, ifMatch, body, options) {
|
|
1583
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1584
|
+
var localVarAxiosArgs;
|
|
1585
|
+
return __generator(this, function (_a) {
|
|
1586
|
+
switch (_a.label) {
|
|
1587
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.groupPolicyServiceUpgradeGroupPolicy(code, ifMatch, body, options)];
|
|
1588
|
+
case 1:
|
|
1589
|
+
localVarAxiosArgs = _a.sent();
|
|
1590
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1591
|
+
}
|
|
1592
|
+
});
|
|
1593
|
+
});
|
|
1594
|
+
},
|
|
1595
|
+
};
|
|
1596
|
+
};
|
|
1597
|
+
exports.GroupPoliciesApiFp = GroupPoliciesApiFp;
|
|
1598
|
+
/**
|
|
1599
|
+
* GroupPoliciesApi - factory interface
|
|
1600
|
+
* @export
|
|
1601
|
+
*/
|
|
1602
|
+
var GroupPoliciesApiFactory = function (configuration, basePath, axios) {
|
|
1603
|
+
var localVarFp = (0, exports.GroupPoliciesApiFp)(configuration);
|
|
1604
|
+
return {
|
|
1605
|
+
/**
|
|
1606
|
+
*
|
|
1607
|
+
* @summary Activates a group policy that is in negotiation.
|
|
1608
|
+
* @param {string} code The code of the group policy.
|
|
1609
|
+
* @param {string} ifMatch The group policy\'s `etag` as last read, sent back unchanged.
|
|
1610
|
+
* @param {ActivateGroupPolicyBody} body
|
|
1611
|
+
* @param {*} [options] Override http request option.
|
|
1612
|
+
* @throws {RequiredError}
|
|
1613
|
+
*/
|
|
1614
|
+
groupPolicyServiceActivateGroupPolicy: function (code, ifMatch, body, options) {
|
|
1615
|
+
return localVarFp.groupPolicyServiceActivateGroupPolicy(code, ifMatch, body, options).then(function (request) { return request(axios, basePath); });
|
|
1616
|
+
},
|
|
1617
|
+
/**
|
|
1618
|
+
* Prices the adjustments of the group tariff version that is valid on `periodFrom` over the members\' totals sent in `memberTaxTotals`, so billing can add them to a collective invoice. The call changes nothing.
|
|
1619
|
+
* @summary Calculates the aggregation adjustments of a group policy for a billing period.
|
|
1620
|
+
* @param {string} code The code of the group policy.
|
|
1621
|
+
* @param {CalculateGroupPolicyAdjustmentsBody} body
|
|
1622
|
+
* @param {*} [options] Override http request option.
|
|
1623
|
+
* @throws {RequiredError}
|
|
1624
|
+
*/
|
|
1625
|
+
groupPolicyServiceCalculateGroupPolicyAdjustments: function (code, body, options) {
|
|
1626
|
+
return localVarFp.groupPolicyServiceCalculateGroupPolicyAdjustments(code, body, options).then(function (request) { return request(axios, basePath); });
|
|
1627
|
+
},
|
|
1628
|
+
/**
|
|
1629
|
+
*
|
|
1630
|
+
* @summary Checks whether a group policy can be upgraded, and writes nothing.
|
|
1631
|
+
* @param {string} code The code of the group policy.
|
|
1632
|
+
* @param {CheckGroupPolicyUpgradeBody} body
|
|
1633
|
+
* @param {*} [options] Override http request option.
|
|
1634
|
+
* @throws {RequiredError}
|
|
1635
|
+
*/
|
|
1636
|
+
groupPolicyServiceCheckGroupPolicyUpgrade: function (code, body, options) {
|
|
1637
|
+
return localVarFp.groupPolicyServiceCheckGroupPolicyUpgrade(code, body, options).then(function (request) { return request(axios, basePath); });
|
|
1638
|
+
},
|
|
1639
|
+
/**
|
|
1640
|
+
*
|
|
1641
|
+
* @summary Corrects the terms of a group policy over a range of days.
|
|
1642
|
+
* @param {string} code The code of the group policy.
|
|
1643
|
+
* @param {string} ifMatch The group policy\'s `etag` as last read, sent back unchanged.
|
|
1644
|
+
* @param {CorrectGroupPolicyBody} body
|
|
1645
|
+
* @param {*} [options] Override http request option.
|
|
1646
|
+
* @throws {RequiredError}
|
|
1647
|
+
*/
|
|
1648
|
+
groupPolicyServiceCorrectGroupPolicy: function (code, ifMatch, body, options) {
|
|
1649
|
+
return localVarFp.groupPolicyServiceCorrectGroupPolicy(code, ifMatch, body, options).then(function (request) { return request(axios, basePath); });
|
|
1650
|
+
},
|
|
1651
|
+
/**
|
|
1652
|
+
*
|
|
1653
|
+
* @summary Creates a group policy.
|
|
1654
|
+
* @param {CreateGroupPolicyRequest} body The request of `CreateGroupPolicy`.
|
|
1655
|
+
* @param {*} [options] Override http request option.
|
|
1656
|
+
* @throws {RequiredError}
|
|
1657
|
+
*/
|
|
1658
|
+
groupPolicyServiceCreateGroupPolicy: function (body, options) {
|
|
1659
|
+
return localVarFp.groupPolicyServiceCreateGroupPolicy(body, options).then(function (request) { return request(axios, basePath); });
|
|
1660
|
+
},
|
|
1661
|
+
/**
|
|
1662
|
+
*
|
|
1663
|
+
* @summary Returns one group policy.
|
|
1664
|
+
* @param {string} code The code of the group policy.
|
|
1665
|
+
* @param {string} [validAt] The business day to read, as `YYYY-MM-DD`. Empty means today.
|
|
1666
|
+
* @param {string} [asOf] The point in system time to read at. Empty means now.
|
|
1667
|
+
* @param {*} [options] Override http request option.
|
|
1668
|
+
* @throws {RequiredError}
|
|
1669
|
+
*/
|
|
1670
|
+
groupPolicyServiceGetGroupPolicy: function (code, validAt, asOf, options) {
|
|
1671
|
+
return localVarFp.groupPolicyServiceGetGroupPolicy(code, validAt, asOf, options).then(function (request) { return request(axios, basePath); });
|
|
1672
|
+
},
|
|
1673
|
+
/**
|
|
1674
|
+
*
|
|
1675
|
+
* @summary Returns the filter catalog of the group policy list.
|
|
1676
|
+
* @param {*} [options] Override http request option.
|
|
1677
|
+
* @throws {RequiredError}
|
|
1678
|
+
*/
|
|
1679
|
+
groupPolicyServiceGetGroupPolicyFilterCatalog: function (options) {
|
|
1680
|
+
return localVarFp.groupPolicyServiceGetGroupPolicyFilterCatalog(options).then(function (request) { return request(axios, basePath); });
|
|
1681
|
+
},
|
|
1682
|
+
/**
|
|
1683
|
+
*
|
|
1684
|
+
* @summary Returns the filter catalog of the member list of a group policy.
|
|
1685
|
+
* @param {string} code The code of the group policy.
|
|
1686
|
+
* @param {*} [options] Override http request option.
|
|
1687
|
+
* @throws {RequiredError}
|
|
1688
|
+
*/
|
|
1689
|
+
groupPolicyServiceGetGroupPolicyMemberFilterCatalog: function (code, options) {
|
|
1690
|
+
return localVarFp.groupPolicyServiceGetGroupPolicyMemberFilterCatalog(code, options).then(function (request) { return request(axios, basePath); });
|
|
1691
|
+
},
|
|
1692
|
+
/**
|
|
1693
|
+
*
|
|
1694
|
+
* @summary Returns the schema that a member policy of a group policy is validated against.
|
|
1695
|
+
* @param {string} code The code of the group policy.
|
|
1696
|
+
* @param {string} [validAt] The business day, as `YYYY-MM-DD`. Empty means today. It picks the version of the group policy whose group tariff version the schema is found through.
|
|
1697
|
+
* @param {*} [options] Override http request option.
|
|
1698
|
+
* @throws {RequiredError}
|
|
1699
|
+
*/
|
|
1700
|
+
groupPolicyServiceGetGroupPolicyMemberSchema: function (code, validAt, options) {
|
|
1701
|
+
return localVarFp.groupPolicyServiceGetGroupPolicyMemberSchema(code, validAt, options).then(function (request) { return request(axios, basePath); });
|
|
1702
|
+
},
|
|
1703
|
+
/**
|
|
1704
|
+
*
|
|
1705
|
+
* @summary Returns who filled which role on a group policy, and when.
|
|
1706
|
+
* @param {string} code The code of the group policy.
|
|
1707
|
+
* @param {string} [asOf] The point in system time to read the history at. Empty means now.
|
|
1708
|
+
* @param {*} [options] Override http request option.
|
|
1709
|
+
* @throws {RequiredError}
|
|
1710
|
+
*/
|
|
1711
|
+
groupPolicyServiceGetGroupPolicyPartnerHistory: function (code, asOf, options) {
|
|
1712
|
+
return localVarFp.groupPolicyServiceGetGroupPolicyPartnerHistory(code, asOf, options).then(function (request) { return request(axios, basePath); });
|
|
1713
|
+
},
|
|
1714
|
+
/**
|
|
1715
|
+
*
|
|
1716
|
+
* @summary Returns the premium totals of a group policy over all its members.
|
|
1717
|
+
* @param {string} code The code of the group policy.
|
|
1718
|
+
* @param {string} [validAt] One day, as `YYYY-MM-DD`. The default is today (UTC), unless a period is given. Never combined with a period.
|
|
1719
|
+
* @param {string} [periodFrom] The first day of the period, as `YYYY-MM-DD`, inclusive. Send it with `periodTo`.
|
|
1720
|
+
* @param {string} [periodTo] The end of the period, as `YYYY-MM-DD`, exclusive. Send it with `periodFrom`.
|
|
1721
|
+
* @param {string} [asOf] The point in system time to read at, an RFC 3339 time ending in `Z`. The default is now.
|
|
1722
|
+
* @param {*} [options] Override http request option.
|
|
1723
|
+
* @throws {RequiredError}
|
|
1724
|
+
*/
|
|
1725
|
+
groupPolicyServiceGetGroupPolicyPremiumSummary: function (code, validAt, periodFrom, periodTo, asOf, options) {
|
|
1726
|
+
return localVarFp.groupPolicyServiceGetGroupPolicyPremiumSummary(code, validAt, periodFrom, periodTo, asOf, options).then(function (request) { return request(axios, basePath); });
|
|
1727
|
+
},
|
|
1728
|
+
/**
|
|
1729
|
+
*
|
|
1730
|
+
* @summary Returns the versions of a group policy over time.
|
|
1731
|
+
* @param {string} code The code of the group policy.
|
|
1732
|
+
* @param {string} [asOf] Ignored: the timeline always shows what is currently believed.
|
|
1733
|
+
* @param {boolean} [includeSuperseded] Whether to return superseded versions too; they are how a premium is reproduced.
|
|
1734
|
+
* @param {*} [options] Override http request option.
|
|
1735
|
+
* @throws {RequiredError}
|
|
1736
|
+
*/
|
|
1737
|
+
groupPolicyServiceGetGroupPolicyTimeline: function (code, asOf, includeSuperseded, options) {
|
|
1738
|
+
return localVarFp.groupPolicyServiceGetGroupPolicyTimeline(code, asOf, includeSuperseded, options).then(function (request) { return request(axios, basePath); });
|
|
1739
|
+
},
|
|
1740
|
+
/**
|
|
1741
|
+
*
|
|
1742
|
+
* @summary Lists the group tariffs that a group policy can be created under today.
|
|
1743
|
+
* @param {number} [pageSize]
|
|
1744
|
+
* @param {string} [pageToken]
|
|
1745
|
+
* @param {string} [filter]
|
|
1746
|
+
* @param {string} [search]
|
|
1747
|
+
* @param {string} [order]
|
|
1748
|
+
* @param {string} [expand]
|
|
1749
|
+
* @param {string} [filters]
|
|
1750
|
+
* @param {*} [options] Override http request option.
|
|
1751
|
+
* @throws {RequiredError}
|
|
1752
|
+
*/
|
|
1753
|
+
groupPolicyServiceListAvailableGroupTariffs: function (pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
1754
|
+
return localVarFp.groupPolicyServiceListAvailableGroupTariffs(pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
1755
|
+
},
|
|
1756
|
+
/**
|
|
1757
|
+
*
|
|
1758
|
+
* @summary Lists group policies.
|
|
1759
|
+
* @param {number} [pageSize]
|
|
1760
|
+
* @param {string} [pageToken]
|
|
1761
|
+
* @param {string} [filter]
|
|
1762
|
+
* @param {string} [search]
|
|
1763
|
+
* @param {string} [order]
|
|
1764
|
+
* @param {string} [expand]
|
|
1765
|
+
* @param {string} [filters]
|
|
1766
|
+
* @param {*} [options] Override http request option.
|
|
1767
|
+
* @throws {RequiredError}
|
|
1768
|
+
*/
|
|
1769
|
+
groupPolicyServiceListGroupPolicies: function (pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
1770
|
+
return localVarFp.groupPolicyServiceListGroupPolicies(pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
1771
|
+
},
|
|
1772
|
+
/**
|
|
1773
|
+
*
|
|
1774
|
+
* @summary Lists the members of a group policy on a day.
|
|
1775
|
+
* @param {number} [pageSize]
|
|
1776
|
+
* @param {string} [pageToken]
|
|
1777
|
+
* @param {string} [filter]
|
|
1778
|
+
* @param {string} [search]
|
|
1779
|
+
* @param {string} [order]
|
|
1780
|
+
* @param {string} [expand]
|
|
1781
|
+
* @param {string} [filters]
|
|
1782
|
+
* @param {*} [options] Override http request option.
|
|
1783
|
+
* @throws {RequiredError}
|
|
1784
|
+
*/
|
|
1785
|
+
groupPolicyServiceListGroupPolicyMembers: function (pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
1786
|
+
return localVarFp.groupPolicyServiceListGroupPolicyMembers(pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
1787
|
+
},
|
|
1788
|
+
/**
|
|
1789
|
+
*
|
|
1790
|
+
* @summary Lists the group tariff versions that a group policy can be upgraded to.
|
|
1791
|
+
* @param {number} [pageSize]
|
|
1792
|
+
* @param {string} [pageToken]
|
|
1793
|
+
* @param {string} [filter]
|
|
1794
|
+
* @param {string} [search]
|
|
1795
|
+
* @param {string} [order]
|
|
1796
|
+
* @param {string} [expand]
|
|
1797
|
+
* @param {string} [filters]
|
|
1798
|
+
* @param {*} [options] Override http request option.
|
|
1799
|
+
* @throws {RequiredError}
|
|
1800
|
+
*/
|
|
1801
|
+
groupPolicyServiceListGroupPolicyUpgradeTargets: function (pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
1802
|
+
return localVarFp.groupPolicyServiceListGroupPolicyUpgradeTargets(pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
1803
|
+
},
|
|
1804
|
+
/**
|
|
1805
|
+
*
|
|
1806
|
+
* @summary Previews the segments that a group policy correction would write.
|
|
1807
|
+
* @param {string} code The code of the group policy.
|
|
1808
|
+
* @param {PreviewGroupPolicyCorrectionBody} body
|
|
1809
|
+
* @param {*} [options] Override http request option.
|
|
1810
|
+
* @throws {RequiredError}
|
|
1811
|
+
*/
|
|
1812
|
+
groupPolicyServicePreviewGroupPolicyCorrection: function (code, body, options) {
|
|
1813
|
+
return localVarFp.groupPolicyServicePreviewGroupPolicyCorrection(code, body, options).then(function (request) { return request(axios, basePath); });
|
|
1814
|
+
},
|
|
1815
|
+
/**
|
|
1816
|
+
*
|
|
1817
|
+
* @summary Previews what terminating a group policy would do to its members.
|
|
1818
|
+
* @param {string} code The code of the group policy.
|
|
1819
|
+
* @param {PreviewGroupPolicyTerminationBody} body
|
|
1820
|
+
* @param {*} [options] Override http request option.
|
|
1821
|
+
* @throws {RequiredError}
|
|
1822
|
+
*/
|
|
1823
|
+
groupPolicyServicePreviewGroupPolicyTermination: function (code, body, options) {
|
|
1824
|
+
return localVarFp.groupPolicyServicePreviewGroupPolicyTermination(code, body, options).then(function (request) { return request(axios, basePath); });
|
|
1825
|
+
},
|
|
1826
|
+
/**
|
|
1827
|
+
*
|
|
1828
|
+
* @summary Moves a group policy to another version of its group tariff.
|
|
1829
|
+
* @param {string} code The code of the group policy.
|
|
1830
|
+
* @param {string} ifMatch The group policy\'s `etag` as last read, sent back unchanged.
|
|
1831
|
+
* @param {RenewGroupPolicyBody} body
|
|
1832
|
+
* @param {*} [options] Override http request option.
|
|
1833
|
+
* @throws {RequiredError}
|
|
1834
|
+
*/
|
|
1835
|
+
groupPolicyServiceRenewGroupPolicy: function (code, ifMatch, body, options) {
|
|
1836
|
+
return localVarFp.groupPolicyServiceRenewGroupPolicy(code, ifMatch, body, options).then(function (request) { return request(axios, basePath); });
|
|
1837
|
+
},
|
|
1838
|
+
/**
|
|
1839
|
+
*
|
|
1840
|
+
* @summary Terminates a group policy and settles the billing of its members.
|
|
1841
|
+
* @param {string} code The code of the group policy.
|
|
1842
|
+
* @param {string} ifMatch The group policy\'s `etag` as last read, sent back unchanged.
|
|
1843
|
+
* @param {TerminateGroupPolicyBody} body
|
|
1844
|
+
* @param {*} [options] Override http request option.
|
|
1845
|
+
* @throws {RequiredError}
|
|
1846
|
+
*/
|
|
1847
|
+
groupPolicyServiceTerminateGroupPolicy: function (code, ifMatch, body, options) {
|
|
1848
|
+
return localVarFp.groupPolicyServiceTerminateGroupPolicy(code, ifMatch, body, options).then(function (request) { return request(axios, basePath); });
|
|
1849
|
+
},
|
|
1850
|
+
/**
|
|
1851
|
+
*
|
|
1852
|
+
* @summary Changes the terms of a group policy from a date on.
|
|
1853
|
+
* @param {string} code The code of the group policy.
|
|
1854
|
+
* @param {string} ifMatch The group policy\'s `etag` as last read, sent back unchanged.
|
|
1855
|
+
* @param {UpdateGroupPolicyBody} body
|
|
1856
|
+
* @param {*} [options] Override http request option.
|
|
1857
|
+
* @throws {RequiredError}
|
|
1858
|
+
*/
|
|
1859
|
+
groupPolicyServiceUpdateGroupPolicy: function (code, ifMatch, body, options) {
|
|
1860
|
+
return localVarFp.groupPolicyServiceUpdateGroupPolicy(code, ifMatch, body, options).then(function (request) { return request(axios, basePath); });
|
|
1861
|
+
},
|
|
1862
|
+
/**
|
|
1863
|
+
*
|
|
1864
|
+
* @summary Upgrades a group policy to a newer group tariff version.
|
|
1865
|
+
* @param {string} code The code of the group policy.
|
|
1866
|
+
* @param {string} ifMatch The group policy\'s `etag` as last read, sent back unchanged.
|
|
1867
|
+
* @param {UpgradeGroupPolicyBody} body
|
|
1868
|
+
* @param {*} [options] Override http request option.
|
|
1869
|
+
* @throws {RequiredError}
|
|
1870
|
+
*/
|
|
1871
|
+
groupPolicyServiceUpgradeGroupPolicy: function (code, ifMatch, body, options) {
|
|
1872
|
+
return localVarFp.groupPolicyServiceUpgradeGroupPolicy(code, ifMatch, body, options).then(function (request) { return request(axios, basePath); });
|
|
1873
|
+
},
|
|
1874
|
+
};
|
|
1875
|
+
};
|
|
1876
|
+
exports.GroupPoliciesApiFactory = GroupPoliciesApiFactory;
|
|
1877
|
+
/**
|
|
1878
|
+
* GroupPoliciesApi - object-oriented interface
|
|
1879
|
+
* @export
|
|
1880
|
+
* @class GroupPoliciesApi
|
|
1881
|
+
* @extends {BaseAPI}
|
|
1882
|
+
*/
|
|
1883
|
+
var GroupPoliciesApi = /** @class */ (function (_super) {
|
|
1884
|
+
__extends(GroupPoliciesApi, _super);
|
|
1885
|
+
function GroupPoliciesApi() {
|
|
1886
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
1887
|
+
}
|
|
1888
|
+
/**
|
|
1889
|
+
*
|
|
1890
|
+
* @summary Activates a group policy that is in negotiation.
|
|
1891
|
+
* @param {GroupPoliciesApiGroupPolicyServiceActivateGroupPolicyRequest} requestParameters Request parameters.
|
|
1892
|
+
* @param {*} [options] Override http request option.
|
|
1893
|
+
* @throws {RequiredError}
|
|
1894
|
+
* @memberof GroupPoliciesApi
|
|
1895
|
+
*/
|
|
1896
|
+
GroupPoliciesApi.prototype.groupPolicyServiceActivateGroupPolicy = function (requestParameters, options) {
|
|
1897
|
+
var _this = this;
|
|
1898
|
+
return (0, exports.GroupPoliciesApiFp)(this.configuration).groupPolicyServiceActivateGroupPolicy(requestParameters.code, requestParameters.ifMatch, requestParameters.body, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1899
|
+
};
|
|
1900
|
+
/**
|
|
1901
|
+
* Prices the adjustments of the group tariff version that is valid on `periodFrom` over the members\' totals sent in `memberTaxTotals`, so billing can add them to a collective invoice. The call changes nothing.
|
|
1902
|
+
* @summary Calculates the aggregation adjustments of a group policy for a billing period.
|
|
1903
|
+
* @param {GroupPoliciesApiGroupPolicyServiceCalculateGroupPolicyAdjustmentsRequest} requestParameters Request parameters.
|
|
1904
|
+
* @param {*} [options] Override http request option.
|
|
1905
|
+
* @throws {RequiredError}
|
|
1906
|
+
* @memberof GroupPoliciesApi
|
|
1907
|
+
*/
|
|
1908
|
+
GroupPoliciesApi.prototype.groupPolicyServiceCalculateGroupPolicyAdjustments = function (requestParameters, options) {
|
|
1909
|
+
var _this = this;
|
|
1910
|
+
return (0, exports.GroupPoliciesApiFp)(this.configuration).groupPolicyServiceCalculateGroupPolicyAdjustments(requestParameters.code, requestParameters.body, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1911
|
+
};
|
|
1912
|
+
/**
|
|
1913
|
+
*
|
|
1914
|
+
* @summary Checks whether a group policy can be upgraded, and writes nothing.
|
|
1915
|
+
* @param {GroupPoliciesApiGroupPolicyServiceCheckGroupPolicyUpgradeRequest} requestParameters Request parameters.
|
|
1916
|
+
* @param {*} [options] Override http request option.
|
|
1917
|
+
* @throws {RequiredError}
|
|
1918
|
+
* @memberof GroupPoliciesApi
|
|
1919
|
+
*/
|
|
1920
|
+
GroupPoliciesApi.prototype.groupPolicyServiceCheckGroupPolicyUpgrade = function (requestParameters, options) {
|
|
1921
|
+
var _this = this;
|
|
1922
|
+
return (0, exports.GroupPoliciesApiFp)(this.configuration).groupPolicyServiceCheckGroupPolicyUpgrade(requestParameters.code, requestParameters.body, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1923
|
+
};
|
|
1924
|
+
/**
|
|
1925
|
+
*
|
|
1926
|
+
* @summary Corrects the terms of a group policy over a range of days.
|
|
1927
|
+
* @param {GroupPoliciesApiGroupPolicyServiceCorrectGroupPolicyRequest} requestParameters Request parameters.
|
|
1928
|
+
* @param {*} [options] Override http request option.
|
|
1929
|
+
* @throws {RequiredError}
|
|
1930
|
+
* @memberof GroupPoliciesApi
|
|
1931
|
+
*/
|
|
1932
|
+
GroupPoliciesApi.prototype.groupPolicyServiceCorrectGroupPolicy = function (requestParameters, options) {
|
|
1933
|
+
var _this = this;
|
|
1934
|
+
return (0, exports.GroupPoliciesApiFp)(this.configuration).groupPolicyServiceCorrectGroupPolicy(requestParameters.code, requestParameters.ifMatch, requestParameters.body, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1935
|
+
};
|
|
1936
|
+
/**
|
|
1937
|
+
*
|
|
1938
|
+
* @summary Creates a group policy.
|
|
1939
|
+
* @param {GroupPoliciesApiGroupPolicyServiceCreateGroupPolicyRequest} requestParameters Request parameters.
|
|
1940
|
+
* @param {*} [options] Override http request option.
|
|
1941
|
+
* @throws {RequiredError}
|
|
1942
|
+
* @memberof GroupPoliciesApi
|
|
1943
|
+
*/
|
|
1944
|
+
GroupPoliciesApi.prototype.groupPolicyServiceCreateGroupPolicy = function (requestParameters, options) {
|
|
1945
|
+
var _this = this;
|
|
1946
|
+
return (0, exports.GroupPoliciesApiFp)(this.configuration).groupPolicyServiceCreateGroupPolicy(requestParameters.body, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1947
|
+
};
|
|
1948
|
+
/**
|
|
1949
|
+
*
|
|
1950
|
+
* @summary Returns one group policy.
|
|
1951
|
+
* @param {GroupPoliciesApiGroupPolicyServiceGetGroupPolicyRequest} requestParameters Request parameters.
|
|
1952
|
+
* @param {*} [options] Override http request option.
|
|
1953
|
+
* @throws {RequiredError}
|
|
1954
|
+
* @memberof GroupPoliciesApi
|
|
1955
|
+
*/
|
|
1956
|
+
GroupPoliciesApi.prototype.groupPolicyServiceGetGroupPolicy = function (requestParameters, options) {
|
|
1957
|
+
var _this = this;
|
|
1958
|
+
return (0, exports.GroupPoliciesApiFp)(this.configuration).groupPolicyServiceGetGroupPolicy(requestParameters.code, requestParameters.validAt, requestParameters.asOf, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1959
|
+
};
|
|
1960
|
+
/**
|
|
1961
|
+
*
|
|
1962
|
+
* @summary Returns the filter catalog of the group policy list.
|
|
1963
|
+
* @param {*} [options] Override http request option.
|
|
1964
|
+
* @throws {RequiredError}
|
|
1965
|
+
* @memberof GroupPoliciesApi
|
|
1966
|
+
*/
|
|
1967
|
+
GroupPoliciesApi.prototype.groupPolicyServiceGetGroupPolicyFilterCatalog = function (options) {
|
|
1968
|
+
var _this = this;
|
|
1969
|
+
return (0, exports.GroupPoliciesApiFp)(this.configuration).groupPolicyServiceGetGroupPolicyFilterCatalog(this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1970
|
+
};
|
|
1971
|
+
/**
|
|
1972
|
+
*
|
|
1973
|
+
* @summary Returns the filter catalog of the member list of a group policy.
|
|
1974
|
+
* @param {GroupPoliciesApiGroupPolicyServiceGetGroupPolicyMemberFilterCatalogRequest} requestParameters Request parameters.
|
|
1975
|
+
* @param {*} [options] Override http request option.
|
|
1976
|
+
* @throws {RequiredError}
|
|
1977
|
+
* @memberof GroupPoliciesApi
|
|
1978
|
+
*/
|
|
1979
|
+
GroupPoliciesApi.prototype.groupPolicyServiceGetGroupPolicyMemberFilterCatalog = function (requestParameters, options) {
|
|
1980
|
+
var _this = this;
|
|
1981
|
+
return (0, exports.GroupPoliciesApiFp)(this.configuration).groupPolicyServiceGetGroupPolicyMemberFilterCatalog(requestParameters.code, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1982
|
+
};
|
|
1983
|
+
/**
|
|
1984
|
+
*
|
|
1985
|
+
* @summary Returns the schema that a member policy of a group policy is validated against.
|
|
1986
|
+
* @param {GroupPoliciesApiGroupPolicyServiceGetGroupPolicyMemberSchemaRequest} requestParameters Request parameters.
|
|
1987
|
+
* @param {*} [options] Override http request option.
|
|
1988
|
+
* @throws {RequiredError}
|
|
1989
|
+
* @memberof GroupPoliciesApi
|
|
1990
|
+
*/
|
|
1991
|
+
GroupPoliciesApi.prototype.groupPolicyServiceGetGroupPolicyMemberSchema = function (requestParameters, options) {
|
|
1992
|
+
var _this = this;
|
|
1993
|
+
return (0, exports.GroupPoliciesApiFp)(this.configuration).groupPolicyServiceGetGroupPolicyMemberSchema(requestParameters.code, requestParameters.validAt, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1994
|
+
};
|
|
1995
|
+
/**
|
|
1996
|
+
*
|
|
1997
|
+
* @summary Returns who filled which role on a group policy, and when.
|
|
1998
|
+
* @param {GroupPoliciesApiGroupPolicyServiceGetGroupPolicyPartnerHistoryRequest} requestParameters Request parameters.
|
|
1999
|
+
* @param {*} [options] Override http request option.
|
|
2000
|
+
* @throws {RequiredError}
|
|
2001
|
+
* @memberof GroupPoliciesApi
|
|
2002
|
+
*/
|
|
2003
|
+
GroupPoliciesApi.prototype.groupPolicyServiceGetGroupPolicyPartnerHistory = function (requestParameters, options) {
|
|
2004
|
+
var _this = this;
|
|
2005
|
+
return (0, exports.GroupPoliciesApiFp)(this.configuration).groupPolicyServiceGetGroupPolicyPartnerHistory(requestParameters.code, requestParameters.asOf, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2006
|
+
};
|
|
2007
|
+
/**
|
|
2008
|
+
*
|
|
2009
|
+
* @summary Returns the premium totals of a group policy over all its members.
|
|
2010
|
+
* @param {GroupPoliciesApiGroupPolicyServiceGetGroupPolicyPremiumSummaryRequest} requestParameters Request parameters.
|
|
2011
|
+
* @param {*} [options] Override http request option.
|
|
2012
|
+
* @throws {RequiredError}
|
|
2013
|
+
* @memberof GroupPoliciesApi
|
|
2014
|
+
*/
|
|
2015
|
+
GroupPoliciesApi.prototype.groupPolicyServiceGetGroupPolicyPremiumSummary = function (requestParameters, options) {
|
|
2016
|
+
var _this = this;
|
|
2017
|
+
return (0, exports.GroupPoliciesApiFp)(this.configuration).groupPolicyServiceGetGroupPolicyPremiumSummary(requestParameters.code, requestParameters.validAt, requestParameters.periodFrom, requestParameters.periodTo, requestParameters.asOf, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2018
|
+
};
|
|
2019
|
+
/**
|
|
2020
|
+
*
|
|
2021
|
+
* @summary Returns the versions of a group policy over time.
|
|
2022
|
+
* @param {GroupPoliciesApiGroupPolicyServiceGetGroupPolicyTimelineRequest} requestParameters Request parameters.
|
|
2023
|
+
* @param {*} [options] Override http request option.
|
|
2024
|
+
* @throws {RequiredError}
|
|
2025
|
+
* @memberof GroupPoliciesApi
|
|
2026
|
+
*/
|
|
2027
|
+
GroupPoliciesApi.prototype.groupPolicyServiceGetGroupPolicyTimeline = function (requestParameters, options) {
|
|
2028
|
+
var _this = this;
|
|
2029
|
+
return (0, exports.GroupPoliciesApiFp)(this.configuration).groupPolicyServiceGetGroupPolicyTimeline(requestParameters.code, requestParameters.asOf, requestParameters.includeSuperseded, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2030
|
+
};
|
|
2031
|
+
/**
|
|
2032
|
+
*
|
|
2033
|
+
* @summary Lists the group tariffs that a group policy can be created under today.
|
|
2034
|
+
* @param {GroupPoliciesApiGroupPolicyServiceListAvailableGroupTariffsRequest} requestParameters Request parameters.
|
|
2035
|
+
* @param {*} [options] Override http request option.
|
|
2036
|
+
* @throws {RequiredError}
|
|
2037
|
+
* @memberof GroupPoliciesApi
|
|
2038
|
+
*/
|
|
2039
|
+
GroupPoliciesApi.prototype.groupPolicyServiceListAvailableGroupTariffs = function (requestParameters, options) {
|
|
2040
|
+
var _this = this;
|
|
2041
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
2042
|
+
return (0, exports.GroupPoliciesApiFp)(this.configuration).groupPolicyServiceListAvailableGroupTariffs(requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2043
|
+
};
|
|
2044
|
+
/**
|
|
2045
|
+
*
|
|
2046
|
+
* @summary Lists group policies.
|
|
2047
|
+
* @param {GroupPoliciesApiGroupPolicyServiceListGroupPoliciesRequest} requestParameters Request parameters.
|
|
2048
|
+
* @param {*} [options] Override http request option.
|
|
2049
|
+
* @throws {RequiredError}
|
|
2050
|
+
* @memberof GroupPoliciesApi
|
|
2051
|
+
*/
|
|
2052
|
+
GroupPoliciesApi.prototype.groupPolicyServiceListGroupPolicies = function (requestParameters, options) {
|
|
2053
|
+
var _this = this;
|
|
2054
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
2055
|
+
return (0, exports.GroupPoliciesApiFp)(this.configuration).groupPolicyServiceListGroupPolicies(requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2056
|
+
};
|
|
2057
|
+
/**
|
|
2058
|
+
*
|
|
2059
|
+
* @summary Lists the members of a group policy on a day.
|
|
2060
|
+
* @param {GroupPoliciesApiGroupPolicyServiceListGroupPolicyMembersRequest} requestParameters Request parameters.
|
|
2061
|
+
* @param {*} [options] Override http request option.
|
|
2062
|
+
* @throws {RequiredError}
|
|
2063
|
+
* @memberof GroupPoliciesApi
|
|
2064
|
+
*/
|
|
2065
|
+
GroupPoliciesApi.prototype.groupPolicyServiceListGroupPolicyMembers = function (requestParameters, options) {
|
|
2066
|
+
var _this = this;
|
|
2067
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
2068
|
+
return (0, exports.GroupPoliciesApiFp)(this.configuration).groupPolicyServiceListGroupPolicyMembers(requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2069
|
+
};
|
|
2070
|
+
/**
|
|
2071
|
+
*
|
|
2072
|
+
* @summary Lists the group tariff versions that a group policy can be upgraded to.
|
|
2073
|
+
* @param {GroupPoliciesApiGroupPolicyServiceListGroupPolicyUpgradeTargetsRequest} requestParameters Request parameters.
|
|
2074
|
+
* @param {*} [options] Override http request option.
|
|
2075
|
+
* @throws {RequiredError}
|
|
2076
|
+
* @memberof GroupPoliciesApi
|
|
2077
|
+
*/
|
|
2078
|
+
GroupPoliciesApi.prototype.groupPolicyServiceListGroupPolicyUpgradeTargets = function (requestParameters, options) {
|
|
2079
|
+
var _this = this;
|
|
2080
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
2081
|
+
return (0, exports.GroupPoliciesApiFp)(this.configuration).groupPolicyServiceListGroupPolicyUpgradeTargets(requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2082
|
+
};
|
|
2083
|
+
/**
|
|
2084
|
+
*
|
|
2085
|
+
* @summary Previews the segments that a group policy correction would write.
|
|
2086
|
+
* @param {GroupPoliciesApiGroupPolicyServicePreviewGroupPolicyCorrectionRequest} requestParameters Request parameters.
|
|
2087
|
+
* @param {*} [options] Override http request option.
|
|
2088
|
+
* @throws {RequiredError}
|
|
2089
|
+
* @memberof GroupPoliciesApi
|
|
2090
|
+
*/
|
|
2091
|
+
GroupPoliciesApi.prototype.groupPolicyServicePreviewGroupPolicyCorrection = function (requestParameters, options) {
|
|
2092
|
+
var _this = this;
|
|
2093
|
+
return (0, exports.GroupPoliciesApiFp)(this.configuration).groupPolicyServicePreviewGroupPolicyCorrection(requestParameters.code, requestParameters.body, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2094
|
+
};
|
|
2095
|
+
/**
|
|
2096
|
+
*
|
|
2097
|
+
* @summary Previews what terminating a group policy would do to its members.
|
|
2098
|
+
* @param {GroupPoliciesApiGroupPolicyServicePreviewGroupPolicyTerminationRequest} requestParameters Request parameters.
|
|
2099
|
+
* @param {*} [options] Override http request option.
|
|
2100
|
+
* @throws {RequiredError}
|
|
2101
|
+
* @memberof GroupPoliciesApi
|
|
2102
|
+
*/
|
|
2103
|
+
GroupPoliciesApi.prototype.groupPolicyServicePreviewGroupPolicyTermination = function (requestParameters, options) {
|
|
2104
|
+
var _this = this;
|
|
2105
|
+
return (0, exports.GroupPoliciesApiFp)(this.configuration).groupPolicyServicePreviewGroupPolicyTermination(requestParameters.code, requestParameters.body, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2106
|
+
};
|
|
2107
|
+
/**
|
|
2108
|
+
*
|
|
2109
|
+
* @summary Moves a group policy to another version of its group tariff.
|
|
2110
|
+
* @param {GroupPoliciesApiGroupPolicyServiceRenewGroupPolicyRequest} requestParameters Request parameters.
|
|
2111
|
+
* @param {*} [options] Override http request option.
|
|
2112
|
+
* @throws {RequiredError}
|
|
2113
|
+
* @memberof GroupPoliciesApi
|
|
2114
|
+
*/
|
|
2115
|
+
GroupPoliciesApi.prototype.groupPolicyServiceRenewGroupPolicy = function (requestParameters, options) {
|
|
2116
|
+
var _this = this;
|
|
2117
|
+
return (0, exports.GroupPoliciesApiFp)(this.configuration).groupPolicyServiceRenewGroupPolicy(requestParameters.code, requestParameters.ifMatch, requestParameters.body, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2118
|
+
};
|
|
2119
|
+
/**
|
|
2120
|
+
*
|
|
2121
|
+
* @summary Terminates a group policy and settles the billing of its members.
|
|
2122
|
+
* @param {GroupPoliciesApiGroupPolicyServiceTerminateGroupPolicyRequest} requestParameters Request parameters.
|
|
2123
|
+
* @param {*} [options] Override http request option.
|
|
2124
|
+
* @throws {RequiredError}
|
|
2125
|
+
* @memberof GroupPoliciesApi
|
|
2126
|
+
*/
|
|
2127
|
+
GroupPoliciesApi.prototype.groupPolicyServiceTerminateGroupPolicy = function (requestParameters, options) {
|
|
2128
|
+
var _this = this;
|
|
2129
|
+
return (0, exports.GroupPoliciesApiFp)(this.configuration).groupPolicyServiceTerminateGroupPolicy(requestParameters.code, requestParameters.ifMatch, requestParameters.body, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2130
|
+
};
|
|
2131
|
+
/**
|
|
2132
|
+
*
|
|
2133
|
+
* @summary Changes the terms of a group policy from a date on.
|
|
2134
|
+
* @param {GroupPoliciesApiGroupPolicyServiceUpdateGroupPolicyRequest} requestParameters Request parameters.
|
|
2135
|
+
* @param {*} [options] Override http request option.
|
|
2136
|
+
* @throws {RequiredError}
|
|
2137
|
+
* @memberof GroupPoliciesApi
|
|
2138
|
+
*/
|
|
2139
|
+
GroupPoliciesApi.prototype.groupPolicyServiceUpdateGroupPolicy = function (requestParameters, options) {
|
|
2140
|
+
var _this = this;
|
|
2141
|
+
return (0, exports.GroupPoliciesApiFp)(this.configuration).groupPolicyServiceUpdateGroupPolicy(requestParameters.code, requestParameters.ifMatch, requestParameters.body, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2142
|
+
};
|
|
2143
|
+
/**
|
|
2144
|
+
*
|
|
2145
|
+
* @summary Upgrades a group policy to a newer group tariff version.
|
|
2146
|
+
* @param {GroupPoliciesApiGroupPolicyServiceUpgradeGroupPolicyRequest} requestParameters Request parameters.
|
|
2147
|
+
* @param {*} [options] Override http request option.
|
|
2148
|
+
* @throws {RequiredError}
|
|
2149
|
+
* @memberof GroupPoliciesApi
|
|
2150
|
+
*/
|
|
2151
|
+
GroupPoliciesApi.prototype.groupPolicyServiceUpgradeGroupPolicy = function (requestParameters, options) {
|
|
2152
|
+
var _this = this;
|
|
2153
|
+
return (0, exports.GroupPoliciesApiFp)(this.configuration).groupPolicyServiceUpgradeGroupPolicy(requestParameters.code, requestParameters.ifMatch, requestParameters.body, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2154
|
+
};
|
|
2155
|
+
return GroupPoliciesApi;
|
|
2156
|
+
}(base_1.BaseAPI));
|
|
2157
|
+
exports.GroupPoliciesApi = GroupPoliciesApi;
|