@emilgroup/insurance-sdk-node 1.36.0 → 1.37.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 +14 -1
- package/README.md +2 -2
- package/api/lead-versions-api.ts +365 -0
- package/api/status-transition-rules-api.ts +803 -0
- package/api.ts +4 -0
- package/dist/api/default-api.d.ts +66 -0
- package/dist/api/default-api.js +200 -0
- package/dist/api/insured-object-types-api.d.ts +141 -0
- package/dist/api/insured-object-types-api.js +258 -0
- package/dist/api/insured-objects-api.d.ts +318 -0
- package/dist/api/insured-objects-api.js +539 -0
- package/dist/api/lead-statuses-api.d.ts +265 -0
- package/dist/api/lead-statuses-api.js +505 -0
- package/dist/api/lead-versions-api.d.ts +215 -0
- package/dist/api/lead-versions-api.js +361 -0
- package/dist/api/leads-api.d.ts +626 -0
- package/dist/api/leads-api.js +1024 -0
- package/dist/api/named-ranges-api.d.ts +376 -0
- package/dist/api/named-ranges-api.js +634 -0
- package/dist/api/policies-api.d.ts +722 -0
- package/dist/api/policies-api.js +1141 -0
- package/dist/api/premium-formulas-api.d.ts +433 -0
- package/dist/api/premium-formulas-api.js +727 -0
- package/dist/api/product-factors-api.d.ts +493 -0
- package/dist/api/product-factors-api.js +788 -0
- package/dist/api/product-fields-api.d.ts +477 -0
- package/dist/api/product-fields-api.js +757 -0
- package/dist/api/product-versions-api.d.ts +189 -0
- package/dist/api/product-versions-api.js +346 -0
- package/dist/api/products-api.d.ts +485 -0
- package/dist/api/products-api.js +772 -0
- package/dist/api/status-transition-rules-api.d.ts +451 -0
- package/dist/api/status-transition-rules-api.js +739 -0
- package/dist/api.d.ts +25 -0
- package/dist/api.js +43 -0
- package/dist/base.d.ts +78 -0
- package/dist/base.js +394 -0
- package/dist/common.d.ts +92 -0
- package/dist/common.js +277 -0
- package/dist/configuration.d.ts +90 -0
- package/dist/configuration.js +44 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.js +36 -0
- package/dist/models/activate-policy-request-dto.d.ts +24 -0
- package/{models/delete-request-dto.ts → dist/models/activate-policy-request-dto.js} +2 -17
- package/dist/models/activate-policy-response-class.d.ts +25 -0
- package/dist/models/activate-policy-response-class.js +15 -0
- package/dist/models/calculate-custom-premium-request-dto.d.ts +35 -0
- package/dist/models/calculate-custom-premium-request-dto.js +20 -0
- package/dist/models/calculate-premium-request-dto.d.ts +38 -0
- package/dist/models/calculate-premium-request-dto.js +15 -0
- package/dist/models/calculate-product-fields-request-dto.d.ts +31 -0
- package/dist/models/calculate-product-fields-request-dto.js +15 -0
- package/dist/models/clone-product-version-request-dto.d.ts +36 -0
- package/dist/models/clone-product-version-request-dto.js +15 -0
- package/dist/models/create-account-request-dto.d.ts +120 -0
- package/dist/models/create-account-request-dto.js +26 -0
- package/dist/models/create-bank-account-request-dto.d.ts +30 -0
- package/dist/models/create-bank-account-request-dto.js +15 -0
- package/dist/models/create-custom-application-request-dto.d.ts +41 -0
- package/dist/models/create-custom-application-request-dto.js +20 -0
- package/dist/models/create-dummy-policy-request-dto.d.ts +44 -0
- package/dist/models/create-dummy-policy-request-dto.js +15 -0
- package/dist/models/create-insured-object-request-dto.d.ts +60 -0
- package/dist/models/create-insured-object-request-dto.js +15 -0
- package/dist/models/create-insured-object-response-class.d.ts +25 -0
- package/dist/models/create-insured-object-response-class.js +15 -0
- package/dist/models/create-lead-async-response-class.d.ts +24 -0
- package/dist/models/create-lead-async-response-class.js +15 -0
- package/dist/models/create-lead-policy-request-dto.d.ts +56 -0
- package/dist/models/create-lead-policy-request-dto.js +15 -0
- package/dist/models/create-lead-request-dto.d.ts +96 -0
- package/dist/models/create-lead-request-dto.js +15 -0
- package/dist/models/create-lead-response-class.d.ts +25 -0
- package/dist/models/create-lead-response-class.js +15 -0
- package/dist/models/create-lead-status-request-dto.d.ts +30 -0
- package/dist/models/create-lead-status-request-dto.js +15 -0
- package/dist/models/create-lead-status-response-class.d.ts +25 -0
- package/dist/models/create-lead-status-response-class.js +15 -0
- package/dist/models/create-named-range-request-dto.d.ts +55 -0
- package/dist/models/create-named-range-request-dto.js +15 -0
- package/dist/models/create-named-range-response-class.d.ts +25 -0
- package/dist/models/create-named-range-response-class.js +15 -0
- package/dist/models/create-named-request-s3-data-class.d.ts +30 -0
- package/dist/models/create-named-request-s3-data-class.js +15 -0
- package/dist/models/create-payment-method-request-dto.d.ts +31 -0
- package/dist/models/create-payment-method-request-dto.js +15 -0
- package/dist/models/create-policy-request-dto.d.ts +62 -0
- package/dist/models/create-policy-request-dto.js +15 -0
- package/dist/models/create-policy-response-class.d.ts +25 -0
- package/dist/models/create-policy-response-class.js +15 -0
- package/dist/models/create-premium-formula-request-dto.d.ts +105 -0
- package/dist/models/create-premium-formula-request-dto.js +39 -0
- package/dist/models/create-premium-formula-response-class.d.ts +25 -0
- package/dist/models/create-premium-formula-response-class.js +15 -0
- package/dist/models/create-product-field-request-dto.d.ts +137 -0
- package/dist/models/create-product-field-request-dto.js +20 -0
- package/dist/models/create-product-field-response-class.d.ts +25 -0
- package/dist/models/create-product-field-response-class.js +15 -0
- package/dist/models/create-product-request-dto.d.ts +85 -0
- package/dist/models/create-product-request-dto.js +51 -0
- package/dist/models/create-product-response-class.d.ts +25 -0
- package/dist/models/create-product-response-class.js +15 -0
- package/dist/models/create-status-transition-rule-request-dto.d.ts +47 -0
- package/dist/models/create-status-transition-rule-request-dto.js +20 -0
- package/dist/models/create-status-transition-rule-response-class.d.ts +25 -0
- package/dist/models/create-status-transition-rule-response-class.js +15 -0
- package/dist/models/csv-product-factor-dto.d.ts +48 -0
- package/dist/models/csv-product-factor-dto.js +15 -0
- package/dist/models/delete-response-class.d.ts +24 -0
- package/dist/models/delete-response-class.js +15 -0
- package/dist/models/empty-response-class.d.ts +24 -0
- package/dist/models/empty-response-class.js +15 -0
- package/dist/models/get-insured-object-response-class.d.ts +25 -0
- package/dist/models/get-insured-object-response-class.js +15 -0
- package/dist/models/get-lead-response-class.d.ts +25 -0
- package/dist/models/get-lead-response-class.js +15 -0
- package/dist/models/get-lead-status-response-class.d.ts +25 -0
- package/dist/models/get-lead-status-response-class.js +15 -0
- package/dist/models/get-lead-version-request-dto.d.ts +30 -0
- package/dist/models/get-lead-version-request-dto.js +15 -0
- package/dist/models/get-lead-version-response-class.d.ts +25 -0
- package/dist/models/get-lead-version-response-class.js +15 -0
- package/dist/models/get-named-range-response-class.d.ts +25 -0
- package/dist/models/get-named-range-response-class.js +15 -0
- package/dist/models/get-policy-data-by-date-request-dto.d.ts +30 -0
- package/dist/models/get-policy-data-by-date-request-dto.js +15 -0
- package/dist/models/get-policy-request-dto.d.ts +30 -0
- package/dist/models/get-policy-request-dto.js +15 -0
- package/dist/models/get-policy-response-class.d.ts +25 -0
- package/dist/models/get-policy-response-class.js +15 -0
- package/dist/models/get-premium-formula-request-dto.d.ts +24 -0
- package/dist/models/get-premium-formula-request-dto.js +15 -0
- package/dist/models/get-premium-formula-response-class.d.ts +25 -0
- package/dist/models/get-premium-formula-response-class.js +15 -0
- package/dist/models/get-product-factor-response-class.d.ts +32 -0
- package/dist/models/get-product-factor-response-class.js +15 -0
- package/dist/models/get-product-factor-value-request-dto.d.ts +42 -0
- package/dist/models/get-product-factor-value-request-dto.js +15 -0
- package/dist/models/get-product-factor-value-response-class.d.ts +25 -0
- package/dist/models/get-product-factor-value-response-class.js +15 -0
- package/dist/models/get-product-factors-for-version-request-dto.d.ts +36 -0
- package/dist/models/get-product-factors-for-version-request-dto.js +15 -0
- package/dist/models/get-product-factors-for-version-response-class.d.ts +25 -0
- package/dist/models/get-product-factors-for-version-response-class.js +15 -0
- package/dist/models/get-product-field-request-dto.d.ts +24 -0
- package/dist/models/get-product-field-request-dto.js +15 -0
- package/dist/models/get-product-field-response-class.d.ts +25 -0
- package/dist/models/get-product-field-response-class.js +15 -0
- package/dist/models/get-product-request-dto.d.ts +42 -0
- package/dist/models/get-product-request-dto.js +15 -0
- package/dist/models/get-product-response-class.d.ts +25 -0
- package/dist/models/get-product-response-class.js +15 -0
- package/dist/models/get-product-version-request-dto.d.ts +36 -0
- package/dist/models/get-product-version-request-dto.js +15 -0
- package/dist/models/get-product-version-response-class.d.ts +25 -0
- package/dist/models/get-product-version-response-class.js +15 -0
- package/dist/models/get-status-transition-rule-response-class.d.ts +25 -0
- package/dist/models/get-status-transition-rule-response-class.js +15 -0
- package/dist/models/grouped-product-factor-class.d.ts +37 -0
- package/dist/models/grouped-product-factor-class.js +15 -0
- package/dist/models/grouped-product-factor-value-class.d.ts +42 -0
- package/dist/models/grouped-product-factor-value-class.js +15 -0
- package/dist/models/grouped-product-factors-response-class.d.ts +25 -0
- package/dist/models/grouped-product-factors-response-class.js +15 -0
- package/dist/models/grpc-patch-lead-request-dto.d.ts +102 -0
- package/dist/models/grpc-patch-lead-request-dto.js +15 -0
- package/dist/models/grpc-update-lead-request-dto.d.ts +102 -0
- package/dist/models/grpc-update-lead-request-dto.js +15 -0
- package/dist/models/index.d.ts +147 -0
- package/dist/models/index.js +163 -0
- package/dist/models/inline-response200.d.ts +54 -0
- package/dist/models/inline-response200.js +15 -0
- package/dist/models/inline-response503.d.ts +54 -0
- package/dist/models/inline-response503.js +15 -0
- package/dist/models/insured-object-class.d.ts +85 -0
- package/dist/models/insured-object-class.js +15 -0
- package/dist/models/insured-object-type-class.d.ts +48 -0
- package/dist/models/insured-object-type-class.js +15 -0
- package/dist/models/invoice-item-class.d.ts +117 -0
- package/dist/models/invoice-item-class.js +24 -0
- package/dist/models/invoice-status-class.d.ts +47 -0
- package/dist/models/invoice-status-class.js +20 -0
- package/dist/models/lead-bank-account-class.d.ts +30 -0
- package/dist/models/lead-bank-account-class.js +15 -0
- package/dist/models/lead-class.d.ts +139 -0
- package/dist/models/lead-class.js +15 -0
- package/dist/models/lead-status-class.d.ts +36 -0
- package/dist/models/lead-status-class.js +15 -0
- package/dist/models/list-insured-object-types-response-class.d.ts +31 -0
- package/dist/models/list-insured-object-types-response-class.js +15 -0
- package/dist/models/list-insured-objects-response-class.d.ts +31 -0
- package/dist/models/list-insured-objects-response-class.js +15 -0
- package/dist/models/list-lead-statuses-response-class.d.ts +31 -0
- package/dist/models/list-lead-statuses-response-class.js +15 -0
- package/dist/models/list-lead-versions-response-class.d.ts +31 -0
- package/dist/models/list-lead-versions-response-class.js +15 -0
- package/dist/models/list-leads-response-class.d.ts +43 -0
- package/dist/models/list-leads-response-class.js +15 -0
- package/dist/models/list-named-ranges-response-class.d.ts +30 -0
- package/dist/models/list-named-ranges-response-class.js +15 -0
- package/dist/models/list-policies-response-class.d.ts +43 -0
- package/dist/models/list-policies-response-class.js +15 -0
- package/dist/models/list-premium-formulas-response-class.d.ts +31 -0
- package/dist/models/list-premium-formulas-response-class.js +15 -0
- package/dist/models/list-product-factors-response-class.d.ts +31 -0
- package/dist/models/list-product-factors-response-class.js +15 -0
- package/dist/models/list-product-field-types-response-class.d.ts +31 -0
- package/dist/models/list-product-field-types-response-class.js +15 -0
- package/dist/models/list-product-fields-response-class.d.ts +31 -0
- package/dist/models/list-product-fields-response-class.js +15 -0
- package/dist/models/list-products-response-class.d.ts +31 -0
- package/dist/models/list-products-response-class.js +15 -0
- package/dist/models/list-request-dto.d.ts +54 -0
- package/dist/models/list-request-dto.js +15 -0
- package/dist/models/list-status-transition-rules-response-class.d.ts +31 -0
- package/dist/models/list-status-transition-rules-response-class.js +15 -0
- package/dist/models/named-range-class.d.ts +78 -0
- package/dist/models/named-range-class.js +15 -0
- package/dist/models/patch-lead-request-dto.d.ts +90 -0
- package/dist/models/patch-lead-request-dto.js +15 -0
- package/dist/models/patch-lead-response-class.d.ts +25 -0
- package/dist/models/patch-lead-response-class.js +15 -0
- package/dist/models/patch-policy-request-dto.d.ts +56 -0
- package/dist/models/patch-policy-request-dto.js +15 -0
- package/dist/models/patch-policy-response-class.d.ts +25 -0
- package/dist/models/patch-policy-response-class.js +15 -0
- package/dist/models/patch-status-transition-rule-request-dto.d.ts +53 -0
- package/dist/models/patch-status-transition-rule-request-dto.js +20 -0
- package/dist/models/patch-status-transition-rule-response-class.d.ts +25 -0
- package/dist/models/patch-status-transition-rule-response-class.js +15 -0
- package/dist/models/policy-class.d.ts +128 -0
- package/dist/models/policy-class.js +15 -0
- package/dist/models/policy-object-class.d.ts +60 -0
- package/dist/models/policy-object-class.js +15 -0
- package/dist/models/policy-object-dto.d.ts +42 -0
- package/dist/models/policy-object-dto.js +15 -0
- package/dist/models/policy-premium-class.d.ts +49 -0
- package/dist/models/policy-premium-class.js +15 -0
- package/dist/models/policy-premium-item-class.d.ts +55 -0
- package/dist/models/policy-premium-item-class.js +15 -0
- package/dist/models/policy-version-class.d.ts +55 -0
- package/dist/models/policy-version-class.js +15 -0
- package/dist/models/premium-formula-class.d.ts +96 -0
- package/dist/models/premium-formula-class.js +15 -0
- package/dist/models/premium-override-dto.d.ts +55 -0
- package/dist/models/premium-override-dto.js +27 -0
- package/dist/models/premium-override-request-class.d.ts +25 -0
- package/dist/models/premium-override-request-class.js +15 -0
- package/dist/models/premium-override-request-dto.d.ts +25 -0
- package/dist/models/premium-override-request-dto.js +15 -0
- package/dist/models/product-class.d.ts +80 -0
- package/dist/models/product-class.js +15 -0
- package/dist/models/product-factor-class.d.ts +61 -0
- package/dist/models/product-factor-class.js +15 -0
- package/dist/models/product-factor-for-version-class.d.ts +61 -0
- package/dist/models/product-factor-for-version-class.js +15 -0
- package/dist/models/product-factor-value-class.d.ts +60 -0
- package/dist/models/product-factor-value-class.js +15 -0
- package/dist/models/product-factor-value-for-version-class.d.ts +42 -0
- package/dist/models/product-factor-value-for-version-class.js +15 -0
- package/dist/models/product-field-class.d.ts +132 -0
- package/dist/models/product-field-class.js +15 -0
- package/dist/models/product-field-type-class.d.ts +48 -0
- package/dist/models/product-field-type-class.js +15 -0
- package/dist/models/product-version-class.d.ts +61 -0
- package/dist/models/product-version-class.js +22 -0
- package/dist/models/sepa-dto.d.ts +30 -0
- package/dist/models/sepa-dto.js +15 -0
- package/dist/models/shared-create-lead-policy-request-dto.d.ts +56 -0
- package/dist/models/shared-create-lead-policy-request-dto.js +15 -0
- package/dist/models/shared-invoice-class.d.ts +150 -0
- package/dist/models/shared-invoice-class.js +30 -0
- package/dist/models/shared-lead-policy-object-dto.d.ts +42 -0
- package/dist/models/shared-lead-policy-object-dto.js +15 -0
- package/dist/models/shared-product-field-class.d.ts +132 -0
- package/dist/models/shared-product-field-class.js +15 -0
- package/dist/models/shared-update-named-range-request-dto.d.ts +42 -0
- package/dist/models/shared-update-named-range-request-dto.js +15 -0
- package/dist/models/shared-update-premium-formula-request-dto.d.ts +111 -0
- package/dist/models/shared-update-premium-formula-request-dto.js +39 -0
- package/dist/models/status-transition-rule-class.d.ts +66 -0
- package/dist/models/status-transition-rule-class.js +15 -0
- package/dist/models/store-product-factors-request-dto.d.ts +31 -0
- package/dist/models/store-product-factors-request-dto.js +15 -0
- package/dist/models/store-product-factors-response-class.d.ts +25 -0
- package/dist/models/store-product-factors-response-class.js +15 -0
- package/dist/models/suspend-policy-request-dto.d.ts +24 -0
- package/dist/models/suspend-policy-request-dto.js +15 -0
- package/dist/models/suspend-policy-response-class.d.ts +25 -0
- package/dist/models/suspend-policy-response-class.js +15 -0
- package/dist/models/swap-premium-formulas-order-request-dto.d.ts +30 -0
- package/dist/models/swap-premium-formulas-order-request-dto.js +15 -0
- package/dist/models/terminate-policy-request-dto.d.ts +44 -0
- package/dist/models/terminate-policy-request-dto.js +29 -0
- package/dist/models/terminate-policy-response-class.d.ts +25 -0
- package/dist/models/terminate-policy-response-class.js +15 -0
- package/dist/models/timeslice-class.d.ts +62 -0
- package/dist/models/timeslice-class.js +15 -0
- package/dist/models/update-insured-object-request-dto.d.ts +66 -0
- package/dist/models/update-insured-object-request-dto.js +15 -0
- package/dist/models/update-lead-request-dto.d.ts +90 -0
- package/dist/models/update-lead-request-dto.js +15 -0
- package/dist/models/update-lead-response-class.d.ts +25 -0
- package/dist/models/update-lead-response-class.js +15 -0
- package/dist/models/update-named-range-request-dto.d.ts +36 -0
- package/dist/models/update-named-range-request-dto.js +15 -0
- package/dist/models/update-named-range-response-class.d.ts +25 -0
- package/dist/models/update-named-range-response-class.js +15 -0
- package/dist/models/update-policy-request-dto.d.ts +76 -0
- package/dist/models/update-policy-request-dto.js +23 -0
- package/dist/models/update-policy-response-class.d.ts +25 -0
- package/dist/models/update-policy-response-class.js +15 -0
- package/dist/models/update-premium-formula-request-dto.d.ts +105 -0
- package/dist/models/update-premium-formula-request-dto.js +39 -0
- package/dist/models/update-premium-formula-response-class.d.ts +25 -0
- package/dist/models/update-premium-formula-response-class.js +15 -0
- package/dist/models/update-product-field-request-dto.d.ts +143 -0
- package/dist/models/update-product-field-request-dto.js +20 -0
- package/dist/models/update-product-field-response-class.d.ts +25 -0
- package/dist/models/update-product-field-response-class.js +15 -0
- package/dist/models/update-product-request-dto.d.ts +42 -0
- package/dist/models/update-product-request-dto.js +15 -0
- package/dist/models/update-product-response-class.d.ts +25 -0
- package/dist/models/update-product-response-class.js +15 -0
- package/dist/models/update-product-version-request-dto.d.ts +43 -0
- package/dist/models/update-product-version-request-dto.js +22 -0
- package/dist/models/update-product-version-response-class.d.ts +25 -0
- package/dist/models/update-product-version-response-class.js +15 -0
- package/dist/models/update-status-transition-rule-request-dto.d.ts +53 -0
- package/dist/models/update-status-transition-rule-request-dto.js +20 -0
- package/dist/models/update-status-transition-rule-response-class.d.ts +25 -0
- package/dist/models/update-status-transition-rule-response-class.js +15 -0
- package/dist/models/uploaded-document-dto.d.ts +24 -0
- package/dist/models/uploaded-document-dto.js +15 -0
- package/dist/models/validate-product-factors-request-dto.d.ts +31 -0
- package/dist/models/validate-product-factors-request-dto.js +15 -0
- package/dist/models/withdraw-policy-response-class.d.ts +25 -0
- package/dist/models/withdraw-policy-response-class.js +15 -0
- package/models/create-status-transition-rule-request-dto.ts +56 -0
- package/models/create-status-transition-rule-response-class.ts +31 -0
- package/models/get-lead-version-request-dto.ts +36 -0
- package/models/get-lead-version-response-class.ts +31 -0
- package/models/get-status-transition-rule-response-class.ts +31 -0
- package/models/index.ts +12 -1
- package/models/lead-class.ts +6 -0
- package/models/list-lead-versions-response-class.ts +37 -0
- package/models/list-status-transition-rules-response-class.ts +37 -0
- package/models/patch-policy-request-dto.ts +6 -0
- package/models/patch-status-transition-rule-request-dto.ts +62 -0
- package/models/patch-status-transition-rule-response-class.ts +31 -0
- package/models/product-field-class.ts +1 -1
- package/models/shared-product-field-class.ts +1 -1
- package/models/status-transition-rule-class.ts +72 -0
- package/models/update-status-transition-rule-request-dto.ts +62 -0
- package/models/update-status-transition-rule-response-class.ts +31 -0
- package/package.json +1 -1
|
@@ -0,0 +1,485 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL InsuranceService
|
|
3
|
+
* The EMIL InsuranceService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
13
|
+
import { Configuration } from '../configuration';
|
|
14
|
+
import { RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import { CreateProductRequestDto } from '../models';
|
|
16
|
+
import { CreateProductResponseClass } from '../models';
|
|
17
|
+
import { DeleteResponseClass } from '../models';
|
|
18
|
+
import { GetProductResponseClass } from '../models';
|
|
19
|
+
import { ListProductsResponseClass } from '../models';
|
|
20
|
+
import { UpdateProductRequestDto } from '../models';
|
|
21
|
+
import { UpdateProductResponseClass } from '../models';
|
|
22
|
+
/**
|
|
23
|
+
* ProductsApi - axios parameter creator
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
export declare const ProductsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
27
|
+
/**
|
|
28
|
+
* Create a blank product. The product cannot be used as long as it is missing product factors, insured objects and premium formulas.
|
|
29
|
+
* @summary Create the product
|
|
30
|
+
* @param {CreateProductRequestDto} createProductRequestDto
|
|
31
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
32
|
+
* @param {*} [options] Override http request option.
|
|
33
|
+
* @throws {RequiredError}
|
|
34
|
+
*/
|
|
35
|
+
createProduct: (createProductRequestDto: CreateProductRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
36
|
+
/**
|
|
37
|
+
* Permanently deletes the product. Supply the unique id that was returned when you created the product and this will delete it.
|
|
38
|
+
* @summary Delete the product
|
|
39
|
+
* @param {number} id
|
|
40
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
41
|
+
* @param {*} [options] Override http request option.
|
|
42
|
+
* @throws {RequiredError}
|
|
43
|
+
*/
|
|
44
|
+
deleteProduct: (id: number, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
45
|
+
/**
|
|
46
|
+
* Retrieves the details of the product that was previously created. Supply the unique product code that was returned when you created it and Emil Api will return the corresponding product information.
|
|
47
|
+
* @summary Retrieve the product
|
|
48
|
+
* @param {string} code Unique identifier for the object.
|
|
49
|
+
* @param {number} id Unique identifier referencing the product.
|
|
50
|
+
* @param {string} slug A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
51
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
52
|
+
* @param {string} [expand] Fields to expand response by
|
|
53
|
+
* @param {*} [options] Override http request option.
|
|
54
|
+
* @throws {RequiredError}
|
|
55
|
+
*/
|
|
56
|
+
getProductByCode: (code: string, id: number, slug: string, authorization?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
57
|
+
/**
|
|
58
|
+
* Retrieves the details of the product that was previously created. Supply the unique product code that was returned when you created it and Emil Api will return the corresponding product information.
|
|
59
|
+
* @summary Retrieve the product
|
|
60
|
+
* @param {number} id Unique identifier referencing the product.
|
|
61
|
+
* @param {string} code Unique identifier of the product that this object belongs to.
|
|
62
|
+
* @param {string} slug A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
63
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
64
|
+
* @param {string} [expand] Fields to expand response by
|
|
65
|
+
* @param {*} [options] Override http request option.
|
|
66
|
+
* @throws {RequiredError}
|
|
67
|
+
*/
|
|
68
|
+
getProductByIdentifier: (id: number, code: string, slug: string, authorization?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
69
|
+
/**
|
|
70
|
+
* Returns a list of products you have previously created. The products are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
71
|
+
* @summary List products
|
|
72
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
73
|
+
* @param {number} [pageSize] Page size.
|
|
74
|
+
* @param {string} [pageToken] Page token.
|
|
75
|
+
* @param {string} [filter] List filter
|
|
76
|
+
* @param {string} [search] Search query.
|
|
77
|
+
* @param {string} [order] Ordering criteria.
|
|
78
|
+
* @param {string} [expand] You can expand product versions and insured object types list in this endpoint. By default, versions & insuredObjectTypes will be an empty array.
|
|
79
|
+
* @param {*} [options] Override http request option.
|
|
80
|
+
* @throws {RequiredError}
|
|
81
|
+
*/
|
|
82
|
+
listProducts: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
83
|
+
/**
|
|
84
|
+
* Updates the specified product by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
85
|
+
* @summary Update the product
|
|
86
|
+
* @param {number} id
|
|
87
|
+
* @param {UpdateProductRequestDto} updateProductRequestDto
|
|
88
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
89
|
+
* @param {*} [options] Override http request option.
|
|
90
|
+
* @throws {RequiredError}
|
|
91
|
+
*/
|
|
92
|
+
updateProduct: (id: number, updateProductRequestDto: UpdateProductRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
93
|
+
};
|
|
94
|
+
/**
|
|
95
|
+
* ProductsApi - functional programming interface
|
|
96
|
+
* @export
|
|
97
|
+
*/
|
|
98
|
+
export declare const ProductsApiFp: (configuration?: Configuration) => {
|
|
99
|
+
/**
|
|
100
|
+
* Create a blank product. The product cannot be used as long as it is missing product factors, insured objects and premium formulas.
|
|
101
|
+
* @summary Create the product
|
|
102
|
+
* @param {CreateProductRequestDto} createProductRequestDto
|
|
103
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
104
|
+
* @param {*} [options] Override http request option.
|
|
105
|
+
* @throws {RequiredError}
|
|
106
|
+
*/
|
|
107
|
+
createProduct(createProductRequestDto: CreateProductRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateProductResponseClass>>;
|
|
108
|
+
/**
|
|
109
|
+
* Permanently deletes the product. Supply the unique id that was returned when you created the product and this will delete it.
|
|
110
|
+
* @summary Delete the product
|
|
111
|
+
* @param {number} id
|
|
112
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
113
|
+
* @param {*} [options] Override http request option.
|
|
114
|
+
* @throws {RequiredError}
|
|
115
|
+
*/
|
|
116
|
+
deleteProduct(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteResponseClass>>;
|
|
117
|
+
/**
|
|
118
|
+
* Retrieves the details of the product that was previously created. Supply the unique product code that was returned when you created it and Emil Api will return the corresponding product information.
|
|
119
|
+
* @summary Retrieve the product
|
|
120
|
+
* @param {string} code Unique identifier for the object.
|
|
121
|
+
* @param {number} id Unique identifier referencing the product.
|
|
122
|
+
* @param {string} slug A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
123
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
124
|
+
* @param {string} [expand] Fields to expand response by
|
|
125
|
+
* @param {*} [options] Override http request option.
|
|
126
|
+
* @throws {RequiredError}
|
|
127
|
+
*/
|
|
128
|
+
getProductByCode(code: string, id: number, slug: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetProductResponseClass>>;
|
|
129
|
+
/**
|
|
130
|
+
* Retrieves the details of the product that was previously created. Supply the unique product code that was returned when you created it and Emil Api will return the corresponding product information.
|
|
131
|
+
* @summary Retrieve the product
|
|
132
|
+
* @param {number} id Unique identifier referencing the product.
|
|
133
|
+
* @param {string} code Unique identifier of the product that this object belongs to.
|
|
134
|
+
* @param {string} slug A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
135
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
136
|
+
* @param {string} [expand] Fields to expand response by
|
|
137
|
+
* @param {*} [options] Override http request option.
|
|
138
|
+
* @throws {RequiredError}
|
|
139
|
+
*/
|
|
140
|
+
getProductByIdentifier(id: number, code: string, slug: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetProductResponseClass>>;
|
|
141
|
+
/**
|
|
142
|
+
* Returns a list of products you have previously created. The products are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
143
|
+
* @summary List products
|
|
144
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
145
|
+
* @param {number} [pageSize] Page size.
|
|
146
|
+
* @param {string} [pageToken] Page token.
|
|
147
|
+
* @param {string} [filter] List filter
|
|
148
|
+
* @param {string} [search] Search query.
|
|
149
|
+
* @param {string} [order] Ordering criteria.
|
|
150
|
+
* @param {string} [expand] You can expand product versions and insured object types list in this endpoint. By default, versions & insuredObjectTypes will be an empty array.
|
|
151
|
+
* @param {*} [options] Override http request option.
|
|
152
|
+
* @throws {RequiredError}
|
|
153
|
+
*/
|
|
154
|
+
listProducts(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListProductsResponseClass>>;
|
|
155
|
+
/**
|
|
156
|
+
* Updates the specified product by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
157
|
+
* @summary Update the product
|
|
158
|
+
* @param {number} id
|
|
159
|
+
* @param {UpdateProductRequestDto} updateProductRequestDto
|
|
160
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
161
|
+
* @param {*} [options] Override http request option.
|
|
162
|
+
* @throws {RequiredError}
|
|
163
|
+
*/
|
|
164
|
+
updateProduct(id: number, updateProductRequestDto: UpdateProductRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateProductResponseClass>>;
|
|
165
|
+
};
|
|
166
|
+
/**
|
|
167
|
+
* ProductsApi - factory interface
|
|
168
|
+
* @export
|
|
169
|
+
*/
|
|
170
|
+
export declare const ProductsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
171
|
+
/**
|
|
172
|
+
* Create a blank product. The product cannot be used as long as it is missing product factors, insured objects and premium formulas.
|
|
173
|
+
* @summary Create the product
|
|
174
|
+
* @param {CreateProductRequestDto} createProductRequestDto
|
|
175
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
176
|
+
* @param {*} [options] Override http request option.
|
|
177
|
+
* @throws {RequiredError}
|
|
178
|
+
*/
|
|
179
|
+
createProduct(createProductRequestDto: CreateProductRequestDto, authorization?: string, options?: any): AxiosPromise<CreateProductResponseClass>;
|
|
180
|
+
/**
|
|
181
|
+
* Permanently deletes the product. Supply the unique id that was returned when you created the product and this will delete it.
|
|
182
|
+
* @summary Delete the product
|
|
183
|
+
* @param {number} id
|
|
184
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
185
|
+
* @param {*} [options] Override http request option.
|
|
186
|
+
* @throws {RequiredError}
|
|
187
|
+
*/
|
|
188
|
+
deleteProduct(id: number, authorization?: string, options?: any): AxiosPromise<DeleteResponseClass>;
|
|
189
|
+
/**
|
|
190
|
+
* Retrieves the details of the product that was previously created. Supply the unique product code that was returned when you created it and Emil Api will return the corresponding product information.
|
|
191
|
+
* @summary Retrieve the product
|
|
192
|
+
* @param {string} code Unique identifier for the object.
|
|
193
|
+
* @param {number} id Unique identifier referencing the product.
|
|
194
|
+
* @param {string} slug A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
195
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
196
|
+
* @param {string} [expand] Fields to expand response by
|
|
197
|
+
* @param {*} [options] Override http request option.
|
|
198
|
+
* @throws {RequiredError}
|
|
199
|
+
*/
|
|
200
|
+
getProductByCode(code: string, id: number, slug: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetProductResponseClass>;
|
|
201
|
+
/**
|
|
202
|
+
* Retrieves the details of the product that was previously created. Supply the unique product code that was returned when you created it and Emil Api will return the corresponding product information.
|
|
203
|
+
* @summary Retrieve the product
|
|
204
|
+
* @param {number} id Unique identifier referencing the product.
|
|
205
|
+
* @param {string} code Unique identifier of the product that this object belongs to.
|
|
206
|
+
* @param {string} slug A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
207
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
208
|
+
* @param {string} [expand] Fields to expand response by
|
|
209
|
+
* @param {*} [options] Override http request option.
|
|
210
|
+
* @throws {RequiredError}
|
|
211
|
+
*/
|
|
212
|
+
getProductByIdentifier(id: number, code: string, slug: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetProductResponseClass>;
|
|
213
|
+
/**
|
|
214
|
+
* Returns a list of products you have previously created. The products are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
215
|
+
* @summary List products
|
|
216
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
217
|
+
* @param {number} [pageSize] Page size.
|
|
218
|
+
* @param {string} [pageToken] Page token.
|
|
219
|
+
* @param {string} [filter] List filter
|
|
220
|
+
* @param {string} [search] Search query.
|
|
221
|
+
* @param {string} [order] Ordering criteria.
|
|
222
|
+
* @param {string} [expand] You can expand product versions and insured object types list in this endpoint. By default, versions & insuredObjectTypes will be an empty array.
|
|
223
|
+
* @param {*} [options] Override http request option.
|
|
224
|
+
* @throws {RequiredError}
|
|
225
|
+
*/
|
|
226
|
+
listProducts(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListProductsResponseClass>;
|
|
227
|
+
/**
|
|
228
|
+
* Updates the specified product by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
229
|
+
* @summary Update the product
|
|
230
|
+
* @param {number} id
|
|
231
|
+
* @param {UpdateProductRequestDto} updateProductRequestDto
|
|
232
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
233
|
+
* @param {*} [options] Override http request option.
|
|
234
|
+
* @throws {RequiredError}
|
|
235
|
+
*/
|
|
236
|
+
updateProduct(id: number, updateProductRequestDto: UpdateProductRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateProductResponseClass>;
|
|
237
|
+
};
|
|
238
|
+
/**
|
|
239
|
+
* Request parameters for createProduct operation in ProductsApi.
|
|
240
|
+
* @export
|
|
241
|
+
* @interface ProductsApiCreateProductRequest
|
|
242
|
+
*/
|
|
243
|
+
export interface ProductsApiCreateProductRequest {
|
|
244
|
+
/**
|
|
245
|
+
*
|
|
246
|
+
* @type {CreateProductRequestDto}
|
|
247
|
+
* @memberof ProductsApiCreateProduct
|
|
248
|
+
*/
|
|
249
|
+
readonly createProductRequestDto: CreateProductRequestDto;
|
|
250
|
+
/**
|
|
251
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
252
|
+
* @type {string}
|
|
253
|
+
* @memberof ProductsApiCreateProduct
|
|
254
|
+
*/
|
|
255
|
+
readonly authorization?: string;
|
|
256
|
+
}
|
|
257
|
+
/**
|
|
258
|
+
* Request parameters for deleteProduct operation in ProductsApi.
|
|
259
|
+
* @export
|
|
260
|
+
* @interface ProductsApiDeleteProductRequest
|
|
261
|
+
*/
|
|
262
|
+
export interface ProductsApiDeleteProductRequest {
|
|
263
|
+
/**
|
|
264
|
+
*
|
|
265
|
+
* @type {number}
|
|
266
|
+
* @memberof ProductsApiDeleteProduct
|
|
267
|
+
*/
|
|
268
|
+
readonly id: number;
|
|
269
|
+
/**
|
|
270
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
271
|
+
* @type {string}
|
|
272
|
+
* @memberof ProductsApiDeleteProduct
|
|
273
|
+
*/
|
|
274
|
+
readonly authorization?: string;
|
|
275
|
+
}
|
|
276
|
+
/**
|
|
277
|
+
* Request parameters for getProductByCode operation in ProductsApi.
|
|
278
|
+
* @export
|
|
279
|
+
* @interface ProductsApiGetProductByCodeRequest
|
|
280
|
+
*/
|
|
281
|
+
export interface ProductsApiGetProductByCodeRequest {
|
|
282
|
+
/**
|
|
283
|
+
* Unique identifier for the object.
|
|
284
|
+
* @type {string}
|
|
285
|
+
* @memberof ProductsApiGetProductByCode
|
|
286
|
+
*/
|
|
287
|
+
readonly code: string;
|
|
288
|
+
/**
|
|
289
|
+
* Unique identifier referencing the product.
|
|
290
|
+
* @type {number}
|
|
291
|
+
* @memberof ProductsApiGetProductByCode
|
|
292
|
+
*/
|
|
293
|
+
readonly id: number;
|
|
294
|
+
/**
|
|
295
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
296
|
+
* @type {string}
|
|
297
|
+
* @memberof ProductsApiGetProductByCode
|
|
298
|
+
*/
|
|
299
|
+
readonly slug: string;
|
|
300
|
+
/**
|
|
301
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
302
|
+
* @type {string}
|
|
303
|
+
* @memberof ProductsApiGetProductByCode
|
|
304
|
+
*/
|
|
305
|
+
readonly authorization?: string;
|
|
306
|
+
/**
|
|
307
|
+
* Fields to expand response by
|
|
308
|
+
* @type {string}
|
|
309
|
+
* @memberof ProductsApiGetProductByCode
|
|
310
|
+
*/
|
|
311
|
+
readonly expand?: string;
|
|
312
|
+
}
|
|
313
|
+
/**
|
|
314
|
+
* Request parameters for getProductByIdentifier operation in ProductsApi.
|
|
315
|
+
* @export
|
|
316
|
+
* @interface ProductsApiGetProductByIdentifierRequest
|
|
317
|
+
*/
|
|
318
|
+
export interface ProductsApiGetProductByIdentifierRequest {
|
|
319
|
+
/**
|
|
320
|
+
* Unique identifier referencing the product.
|
|
321
|
+
* @type {number}
|
|
322
|
+
* @memberof ProductsApiGetProductByIdentifier
|
|
323
|
+
*/
|
|
324
|
+
readonly id: number;
|
|
325
|
+
/**
|
|
326
|
+
* Unique identifier of the product that this object belongs to.
|
|
327
|
+
* @type {string}
|
|
328
|
+
* @memberof ProductsApiGetProductByIdentifier
|
|
329
|
+
*/
|
|
330
|
+
readonly code: string;
|
|
331
|
+
/**
|
|
332
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
333
|
+
* @type {string}
|
|
334
|
+
* @memberof ProductsApiGetProductByIdentifier
|
|
335
|
+
*/
|
|
336
|
+
readonly slug: string;
|
|
337
|
+
/**
|
|
338
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
339
|
+
* @type {string}
|
|
340
|
+
* @memberof ProductsApiGetProductByIdentifier
|
|
341
|
+
*/
|
|
342
|
+
readonly authorization?: string;
|
|
343
|
+
/**
|
|
344
|
+
* Fields to expand response by
|
|
345
|
+
* @type {string}
|
|
346
|
+
* @memberof ProductsApiGetProductByIdentifier
|
|
347
|
+
*/
|
|
348
|
+
readonly expand?: string;
|
|
349
|
+
}
|
|
350
|
+
/**
|
|
351
|
+
* Request parameters for listProducts operation in ProductsApi.
|
|
352
|
+
* @export
|
|
353
|
+
* @interface ProductsApiListProductsRequest
|
|
354
|
+
*/
|
|
355
|
+
export interface ProductsApiListProductsRequest {
|
|
356
|
+
/**
|
|
357
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
358
|
+
* @type {string}
|
|
359
|
+
* @memberof ProductsApiListProducts
|
|
360
|
+
*/
|
|
361
|
+
readonly authorization?: string;
|
|
362
|
+
/**
|
|
363
|
+
* Page size.
|
|
364
|
+
* @type {number}
|
|
365
|
+
* @memberof ProductsApiListProducts
|
|
366
|
+
*/
|
|
367
|
+
readonly pageSize?: number;
|
|
368
|
+
/**
|
|
369
|
+
* Page token.
|
|
370
|
+
* @type {string}
|
|
371
|
+
* @memberof ProductsApiListProducts
|
|
372
|
+
*/
|
|
373
|
+
readonly pageToken?: string;
|
|
374
|
+
/**
|
|
375
|
+
* List filter
|
|
376
|
+
* @type {string}
|
|
377
|
+
* @memberof ProductsApiListProducts
|
|
378
|
+
*/
|
|
379
|
+
readonly filter?: string;
|
|
380
|
+
/**
|
|
381
|
+
* Search query.
|
|
382
|
+
* @type {string}
|
|
383
|
+
* @memberof ProductsApiListProducts
|
|
384
|
+
*/
|
|
385
|
+
readonly search?: string;
|
|
386
|
+
/**
|
|
387
|
+
* Ordering criteria.
|
|
388
|
+
* @type {string}
|
|
389
|
+
* @memberof ProductsApiListProducts
|
|
390
|
+
*/
|
|
391
|
+
readonly order?: string;
|
|
392
|
+
/**
|
|
393
|
+
* You can expand product versions and insured object types list in this endpoint. By default, versions & insuredObjectTypes will be an empty array.
|
|
394
|
+
* @type {string}
|
|
395
|
+
* @memberof ProductsApiListProducts
|
|
396
|
+
*/
|
|
397
|
+
readonly expand?: string;
|
|
398
|
+
}
|
|
399
|
+
/**
|
|
400
|
+
* Request parameters for updateProduct operation in ProductsApi.
|
|
401
|
+
* @export
|
|
402
|
+
* @interface ProductsApiUpdateProductRequest
|
|
403
|
+
*/
|
|
404
|
+
export interface ProductsApiUpdateProductRequest {
|
|
405
|
+
/**
|
|
406
|
+
*
|
|
407
|
+
* @type {number}
|
|
408
|
+
* @memberof ProductsApiUpdateProduct
|
|
409
|
+
*/
|
|
410
|
+
readonly id: number;
|
|
411
|
+
/**
|
|
412
|
+
*
|
|
413
|
+
* @type {UpdateProductRequestDto}
|
|
414
|
+
* @memberof ProductsApiUpdateProduct
|
|
415
|
+
*/
|
|
416
|
+
readonly updateProductRequestDto: UpdateProductRequestDto;
|
|
417
|
+
/**
|
|
418
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
419
|
+
* @type {string}
|
|
420
|
+
* @memberof ProductsApiUpdateProduct
|
|
421
|
+
*/
|
|
422
|
+
readonly authorization?: string;
|
|
423
|
+
}
|
|
424
|
+
/**
|
|
425
|
+
* ProductsApi - object-oriented interface
|
|
426
|
+
* @export
|
|
427
|
+
* @class ProductsApi
|
|
428
|
+
* @extends {BaseAPI}
|
|
429
|
+
*/
|
|
430
|
+
export declare class ProductsApi extends BaseAPI {
|
|
431
|
+
/**
|
|
432
|
+
* Create a blank product. The product cannot be used as long as it is missing product factors, insured objects and premium formulas.
|
|
433
|
+
* @summary Create the product
|
|
434
|
+
* @param {ProductsApiCreateProductRequest} requestParameters Request parameters.
|
|
435
|
+
* @param {*} [options] Override http request option.
|
|
436
|
+
* @throws {RequiredError}
|
|
437
|
+
* @memberof ProductsApi
|
|
438
|
+
*/
|
|
439
|
+
createProduct(requestParameters: ProductsApiCreateProductRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateProductResponseClass, any>>;
|
|
440
|
+
/**
|
|
441
|
+
* Permanently deletes the product. Supply the unique id that was returned when you created the product and this will delete it.
|
|
442
|
+
* @summary Delete the product
|
|
443
|
+
* @param {ProductsApiDeleteProductRequest} requestParameters Request parameters.
|
|
444
|
+
* @param {*} [options] Override http request option.
|
|
445
|
+
* @throws {RequiredError}
|
|
446
|
+
* @memberof ProductsApi
|
|
447
|
+
*/
|
|
448
|
+
deleteProduct(requestParameters: ProductsApiDeleteProductRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any>>;
|
|
449
|
+
/**
|
|
450
|
+
* Retrieves the details of the product that was previously created. Supply the unique product code that was returned when you created it and Emil Api will return the corresponding product information.
|
|
451
|
+
* @summary Retrieve the product
|
|
452
|
+
* @param {ProductsApiGetProductByCodeRequest} requestParameters Request parameters.
|
|
453
|
+
* @param {*} [options] Override http request option.
|
|
454
|
+
* @throws {RequiredError}
|
|
455
|
+
* @memberof ProductsApi
|
|
456
|
+
*/
|
|
457
|
+
getProductByCode(requestParameters: ProductsApiGetProductByCodeRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetProductResponseClass, any>>;
|
|
458
|
+
/**
|
|
459
|
+
* Retrieves the details of the product that was previously created. Supply the unique product code that was returned when you created it and Emil Api will return the corresponding product information.
|
|
460
|
+
* @summary Retrieve the product
|
|
461
|
+
* @param {ProductsApiGetProductByIdentifierRequest} requestParameters Request parameters.
|
|
462
|
+
* @param {*} [options] Override http request option.
|
|
463
|
+
* @throws {RequiredError}
|
|
464
|
+
* @memberof ProductsApi
|
|
465
|
+
*/
|
|
466
|
+
getProductByIdentifier(requestParameters: ProductsApiGetProductByIdentifierRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetProductResponseClass, any>>;
|
|
467
|
+
/**
|
|
468
|
+
* Returns a list of products you have previously created. The products are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
469
|
+
* @summary List products
|
|
470
|
+
* @param {ProductsApiListProductsRequest} requestParameters Request parameters.
|
|
471
|
+
* @param {*} [options] Override http request option.
|
|
472
|
+
* @throws {RequiredError}
|
|
473
|
+
* @memberof ProductsApi
|
|
474
|
+
*/
|
|
475
|
+
listProducts(requestParameters?: ProductsApiListProductsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListProductsResponseClass, any>>;
|
|
476
|
+
/**
|
|
477
|
+
* Updates the specified product by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
478
|
+
* @summary Update the product
|
|
479
|
+
* @param {ProductsApiUpdateProductRequest} requestParameters Request parameters.
|
|
480
|
+
* @param {*} [options] Override http request option.
|
|
481
|
+
* @throws {RequiredError}
|
|
482
|
+
* @memberof ProductsApi
|
|
483
|
+
*/
|
|
484
|
+
updateProduct(requestParameters: ProductsApiUpdateProductRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateProductResponseClass, any>>;
|
|
485
|
+
}
|