@emilgroup/insurance-sdk-node 1.2.0 → 1.5.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 +19 -5
- package/README.md +2 -2
- package/api/insured-object-types-api.ts +29 -29
- package/api/insured-objects-api.ts +44 -33
- package/api/leads-api.ts +187 -7
- package/api/policies-api.ts +276 -41
- package/api/premium-formulas-api.ts +669 -0
- package/api/product-factors-api.ts +889 -0
- package/api/product-fields-api.ts +843 -0
- package/api/product-versions-api.ts +301 -0
- package/api/products-api.ts +201 -2665
- package/api.ts +9 -1
- package/base.ts +23 -33
- package/common.ts +62 -1
- package/configuration.ts +1 -1
- package/dist/api/insured-object-types-api.d.ts +29 -29
- package/dist/api/insured-object-types-api.js +25 -25
- package/dist/api/insured-objects-api.d.ts +38 -29
- package/dist/api/insured-objects-api.js +31 -27
- package/dist/api/leads-api.d.ts +114 -10
- package/dist/api/leads-api.js +125 -2
- package/dist/api/policies-api.d.ts +171 -41
- package/dist/api/policies-api.js +231 -34
- package/dist/api/premium-formulas-api.d.ts +376 -0
- package/dist/api/premium-formulas-api.js +634 -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 +171 -0
- package/dist/api/product-versions-api.js +334 -0
- package/dist/api/products-api.d.ts +25 -1388
- package/dist/api/products-api.js +137 -2118
- package/dist/api.d.ts +5 -1
- package/dist/api.js +5 -1
- package/dist/base.d.ts +2 -3
- package/dist/base.js +20 -22
- package/dist/common.d.ts +27 -1
- package/dist/common.js +36 -3
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/models/calculate-custom-premium-request-dto.d.ts +4 -4
- package/dist/models/calculate-custom-premium-request-dto.js +1 -1
- package/dist/models/calculate-premium-request-dto.d.ts +9 -9
- package/dist/models/calculate-premium-request-dto.js +1 -1
- package/dist/models/create-account-request-dto.d.ts +44 -14
- package/dist/models/create-account-request-dto.js +12 -1
- package/dist/models/create-bank-account-request-dto.d.ts +3 -3
- package/dist/models/create-bank-account-request-dto.js +1 -1
- package/dist/models/create-custom-application-request-dto.d.ts +5 -5
- package/dist/models/create-custom-application-request-dto.js +1 -1
- package/dist/models/create-dummy-policy-request-dto.d.ts +4 -4
- package/dist/models/create-dummy-policy-request-dto.js +1 -1
- package/dist/models/create-insured-object-request-dto.d.ts +5 -5
- package/dist/models/create-insured-object-request-dto.js +1 -1
- package/dist/models/create-insured-object-response-class.d.ts +5 -5
- package/dist/models/create-insured-object-response-class.js +1 -1
- package/dist/models/create-lead-request-dto.d.ts +23 -23
- package/dist/models/create-lead-request-dto.js +1 -1
- package/dist/models/create-lead-response-class.d.ts +25 -0
- package/dist/models/{grpc-policy-object-dto.js → create-lead-response-class.js} +1 -1
- package/dist/models/create-policy-request-dto.d.ts +19 -7
- package/dist/models/create-policy-request-dto.js +1 -1
- package/dist/models/create-policy-response-class.d.ts +1 -1
- package/dist/models/create-policy-response-class.js +1 -1
- package/dist/models/create-premium-formula-request-dto.d.ts +10 -9
- package/dist/models/create-premium-formula-request-dto.js +3 -2
- package/dist/models/create-premium-formula-response-class.d.ts +2 -2
- package/dist/models/create-premium-formula-response-class.js +1 -1
- package/dist/models/create-product-field-request-dto.d.ts +2 -2
- package/dist/models/create-product-field-request-dto.js +1 -1
- package/dist/models/create-product-field-response-class.d.ts +2 -2
- package/dist/models/create-product-field-response-class.js +1 -1
- package/dist/models/create-product-request-dto.d.ts +6 -6
- package/dist/models/create-product-request-dto.js +1 -1
- package/dist/models/create-product-response-class.d.ts +1 -1
- package/dist/models/create-product-response-class.js +1 -1
- package/dist/models/csv-product-factor-dto.d.ts +6 -6
- package/dist/models/csv-product-factor-dto.js +1 -1
- package/dist/models/delete-request-dto.d.ts +2 -2
- package/dist/models/delete-request-dto.js +1 -1
- package/dist/models/{get-insured-object-request-dto.d.ts → delete-response-class.d.ts} +7 -7
- package/dist/models/{to-grpc-create-policy-request-dto.js → delete-response-class.js} +1 -1
- package/dist/models/get-insured-object-response-class.d.ts +2 -2
- package/dist/models/get-insured-object-response-class.js +1 -1
- package/dist/models/get-lead-response-class.d.ts +25 -0
- package/dist/models/{grpc-update-policy-request-dto.js → get-lead-response-class.js} +1 -1
- package/dist/models/{grpc-policy-object-dto.d.ts → get-policy-data-by-date-request-dto.d.ts} +11 -11
- package/dist/models/{get-insured-object-request-dto.js → get-policy-data-by-date-request-dto.js} +1 -1
- package/dist/models/get-policy-request-dto.d.ts +3 -3
- package/dist/models/get-policy-request-dto.js +1 -1
- package/dist/models/get-policy-response-class.d.ts +2 -2
- package/dist/models/get-policy-response-class.js +1 -1
- package/dist/models/get-premium-formula-request-dto.d.ts +2 -2
- package/dist/models/get-premium-formula-request-dto.js +1 -1
- package/dist/models/get-premium-formula-response-class.d.ts +2 -2
- package/dist/models/get-premium-formula-response-class.js +1 -1
- package/dist/models/get-product-factor-response-class.d.ts +2 -2
- package/dist/models/get-product-factor-response-class.js +1 -1
- package/dist/models/get-product-factor-value-request-dto.d.ts +1 -1
- package/dist/models/get-product-factor-value-request-dto.js +1 -1
- package/dist/models/get-product-factor-value-response-class.d.ts +2 -2
- package/dist/models/get-product-factor-value-response-class.js +1 -1
- package/dist/models/get-product-factors-for-version-request-dto.d.ts +4 -4
- package/dist/models/get-product-factors-for-version-request-dto.js +1 -1
- package/dist/models/get-product-factors-for-version-response-class.d.ts +1 -1
- package/dist/models/get-product-factors-for-version-response-class.js +1 -1
- package/dist/models/get-product-field-request-dto.d.ts +2 -2
- package/dist/models/get-product-field-request-dto.js +1 -1
- package/dist/models/get-product-field-response-class.d.ts +2 -2
- package/dist/models/get-product-field-response-class.js +1 -1
- package/dist/models/get-product-request-dto.d.ts +1 -1
- package/dist/models/get-product-request-dto.js +1 -1
- package/dist/models/get-product-response-class.d.ts +1 -1
- package/dist/models/get-product-response-class.js +1 -1
- package/dist/models/get-product-version-request-dto.d.ts +2 -2
- package/dist/models/get-product-version-request-dto.js +1 -1
- package/dist/models/get-product-version-response-class.d.ts +1 -1
- package/dist/models/get-product-version-response-class.js +1 -1
- package/dist/models/grouped-product-factor-class.d.ts +4 -4
- package/dist/models/grouped-product-factor-class.js +1 -1
- package/dist/models/grouped-product-factor-value-class.d.ts +10 -4
- package/dist/models/grouped-product-factor-value-class.js +1 -1
- package/dist/models/grouped-product-factors-response-class.d.ts +1 -1
- package/dist/models/grouped-product-factors-response-class.js +1 -1
- package/dist/models/index.d.ts +15 -5
- package/dist/models/index.js +15 -5
- package/dist/models/insured-object-class.d.ts +13 -13
- package/dist/models/insured-object-class.js +1 -1
- package/dist/models/insured-object-type-class.d.ts +6 -6
- package/dist/models/insured-object-type-class.js +1 -1
- 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 +102 -0
- package/dist/models/lead-class.js +22 -0
- package/dist/models/list-insured-object-types-response-class.d.ts +2 -2
- package/dist/models/list-insured-object-types-response-class.js +1 -1
- package/dist/models/list-insured-objects-response-class.d.ts +5 -4
- package/dist/models/list-insured-objects-response-class.js +1 -1
- package/dist/models/list-leads-response-class.d.ts +31 -0
- package/dist/models/list-leads-response-class.js +15 -0
- package/dist/models/list-policies-response-class.d.ts +2 -2
- package/dist/models/list-policies-response-class.js +1 -1
- package/dist/models/list-premium-formulas-response-class.d.ts +3 -3
- package/dist/models/list-premium-formulas-response-class.js +1 -1
- package/dist/models/list-product-factors-response-class.d.ts +7 -7
- package/dist/models/list-product-factors-response-class.js +1 -1
- package/dist/models/list-product-field-types-response-class.d.ts +6 -5
- package/dist/models/list-product-field-types-response-class.js +1 -1
- package/dist/models/list-product-fields-response-class.d.ts +3 -3
- package/dist/models/list-product-fields-response-class.js +1 -1
- package/dist/models/list-products-response-class.d.ts +4 -4
- package/dist/models/list-products-response-class.js +1 -1
- package/dist/models/list-request-dto.d.ts +6 -6
- package/dist/models/list-request-dto.js +1 -1
- package/dist/models/omit-type-class.d.ts +60 -0
- package/dist/models/omit-type-class.js +15 -0
- package/dist/models/policy-class.d.ts +34 -16
- package/dist/models/policy-class.js +1 -1
- package/dist/models/policy-object-class.d.ts +5 -5
- package/dist/models/policy-object-class.js +1 -1
- package/dist/models/policy-object-dto.d.ts +3 -3
- package/dist/models/policy-object-dto.js +1 -1
- package/dist/models/policy-premium-class.d.ts +5 -5
- package/dist/models/policy-premium-class.js +1 -1
- package/dist/models/policy-premium-item-class.d.ts +7 -7
- package/dist/models/policy-premium-item-class.js +1 -1
- package/dist/models/policy-version-class.d.ts +6 -6
- package/dist/models/policy-version-class.js +1 -1
- package/dist/models/premium-formula-class.d.ts +10 -17
- package/dist/models/premium-formula-class.js +1 -1
- package/dist/models/premium-override-dto.d.ts +7 -6
- package/dist/models/premium-override-dto.js +3 -2
- 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 +2 -2
- package/dist/models/premium-override-request-dto.js +1 -1
- package/dist/models/product-class.d.ts +10 -10
- package/dist/models/product-class.js +1 -1
- package/dist/models/product-factor-class.d.ts +8 -15
- package/dist/models/product-factor-class.js +1 -1
- package/dist/models/product-factor-value-class.d.ts +8 -28
- package/dist/models/product-factor-value-class.js +1 -1
- package/dist/models/product-field-class.d.ts +13 -13
- package/dist/models/product-field-class.js +1 -1
- 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 +15 -8
- package/dist/models/product-version-class.js +8 -1
- package/dist/models/shared-product-field-class.d.ts +114 -0
- package/dist/models/shared-product-field-class.js +15 -0
- package/dist/models/shared-update-premium-formula-request-dto.d.ts +72 -0
- package/dist/models/{create-claim-request-dto.js → shared-update-premium-formula-request-dto.js} +10 -9
- package/dist/models/store-product-factors-request-dto.d.ts +2 -2
- package/dist/models/store-product-factors-request-dto.js +1 -1
- package/dist/models/store-product-factors-response-class.d.ts +1 -1
- package/dist/models/store-product-factors-response-class.js +1 -1
- 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/terminate-policy-request-dto.d.ts +3 -3
- package/dist/models/terminate-policy-request-dto.js +1 -1
- package/dist/models/terminate-policy-response-class.d.ts +1 -1
- package/dist/models/terminate-policy-response-class.js +1 -1
- package/dist/models/timeslice-class.d.ts +8 -8
- package/dist/models/timeslice-class.js +1 -1
- package/dist/models/update-insured-object-request-dto.d.ts +6 -6
- package/dist/models/update-insured-object-request-dto.js +1 -1
- package/dist/models/update-lead-request-dto.d.ts +8 -14
- package/dist/models/update-lead-request-dto.js +1 -1
- 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-policy-request-dto.d.ts +24 -5
- package/dist/models/update-policy-request-dto.js +8 -1
- package/dist/models/update-policy-response-class.d.ts +1 -1
- package/dist/models/update-policy-response-class.js +1 -1
- package/dist/models/update-premium-formula-request-dto.d.ts +10 -15
- package/dist/models/update-premium-formula-request-dto.js +3 -2
- package/dist/models/update-premium-formula-response-class.d.ts +2 -2
- package/dist/models/update-premium-formula-response-class.js +1 -1
- package/dist/models/update-product-field-request-dto.d.ts +15 -15
- package/dist/models/update-product-field-request-dto.js +1 -1
- package/dist/models/update-product-field-response-class.d.ts +2 -2
- package/dist/models/update-product-field-response-class.js +1 -1
- package/dist/models/update-product-request-dto.d.ts +5 -5
- package/dist/models/update-product-request-dto.js +1 -1
- package/dist/models/update-product-response-class.d.ts +1 -1
- package/dist/models/update-product-response-class.js +1 -1
- package/dist/models/update-product-version-request-dto.d.ts +5 -5
- package/dist/models/update-product-version-request-dto.js +1 -1
- package/dist/models/update-product-version-response-class.d.ts +1 -1
- package/dist/models/update-product-version-response-class.js +1 -1
- package/dist/models/uploaded-document-dto.d.ts +2 -2
- package/dist/models/uploaded-document-dto.js +1 -1
- package/dist/models/validate-product-factors-request-dto.d.ts +2 -2
- package/dist/models/validate-product-factors-request-dto.js +1 -1
- package/dist/models/withdraw-policy-response-class.d.ts +1 -1
- package/dist/models/withdraw-policy-response-class.js +1 -1
- package/index.ts +1 -1
- package/models/calculate-custom-premium-request-dto.ts +3 -3
- package/models/calculate-premium-request-dto.ts +9 -9
- package/models/create-account-request-dto.ts +48 -14
- package/models/create-bank-account-request-dto.ts +3 -3
- package/models/create-custom-application-request-dto.ts +4 -4
- package/models/create-dummy-policy-request-dto.ts +4 -4
- package/models/create-insured-object-request-dto.ts +5 -5
- package/models/create-insured-object-response-class.ts +5 -5
- package/models/create-lead-request-dto.ts +22 -22
- package/models/create-lead-response-class.ts +31 -0
- package/models/create-policy-request-dto.ts +19 -7
- package/models/create-policy-response-class.ts +1 -1
- package/models/create-premium-formula-request-dto.ts +9 -8
- package/models/create-premium-formula-response-class.ts +2 -2
- package/models/create-product-field-request-dto.ts +1 -1
- package/models/create-product-field-response-class.ts +2 -2
- package/models/create-product-request-dto.ts +5 -5
- package/models/create-product-response-class.ts +1 -1
- package/models/csv-product-factor-dto.ts +6 -6
- package/models/delete-request-dto.ts +2 -2
- package/models/{get-insured-object-request-dto.ts → delete-response-class.ts} +7 -7
- package/models/get-insured-object-response-class.ts +2 -2
- package/models/get-lead-response-class.ts +31 -0
- package/models/{grpc-policy-object-dto.ts → get-policy-data-by-date-request-dto.ts} +11 -11
- package/models/get-policy-request-dto.ts +3 -3
- package/models/get-policy-response-class.ts +2 -2
- package/models/get-premium-formula-request-dto.ts +2 -2
- package/models/get-premium-formula-response-class.ts +2 -2
- package/models/get-product-factor-response-class.ts +2 -2
- package/models/get-product-factor-value-request-dto.ts +1 -1
- package/models/get-product-factor-value-response-class.ts +2 -2
- package/models/get-product-factors-for-version-request-dto.ts +4 -4
- package/models/get-product-factors-for-version-response-class.ts +1 -1
- package/models/get-product-field-request-dto.ts +2 -2
- package/models/get-product-field-response-class.ts +2 -2
- package/models/get-product-request-dto.ts +1 -1
- package/models/get-product-response-class.ts +1 -1
- package/models/get-product-version-request-dto.ts +2 -2
- package/models/get-product-version-response-class.ts +1 -1
- package/models/grouped-product-factor-class.ts +4 -4
- package/models/grouped-product-factor-value-class.ts +10 -4
- package/models/grouped-product-factors-response-class.ts +1 -1
- package/models/index.ts +15 -5
- package/models/insured-object-class.ts +13 -13
- package/models/insured-object-type-class.ts +6 -6
- package/models/lead-bank-account-class.ts +36 -0
- package/models/lead-class.ts +111 -0
- package/models/list-insured-object-types-response-class.ts +2 -2
- package/models/list-insured-objects-response-class.ts +5 -4
- package/models/list-leads-response-class.ts +37 -0
- package/models/list-policies-response-class.ts +2 -2
- package/models/list-premium-formulas-response-class.ts +3 -3
- package/models/list-product-factors-response-class.ts +7 -7
- package/models/list-product-field-types-response-class.ts +6 -5
- package/models/list-product-fields-response-class.ts +3 -3
- package/models/list-products-response-class.ts +4 -4
- package/models/list-request-dto.ts +6 -6
- package/models/omit-type-class.ts +66 -0
- package/models/policy-class.ts +34 -16
- package/models/policy-object-class.ts +5 -5
- package/models/policy-object-dto.ts +3 -3
- package/models/policy-premium-class.ts +5 -5
- package/models/policy-premium-item-class.ts +7 -7
- package/models/policy-version-class.ts +6 -6
- package/models/premium-formula-class.ts +10 -17
- package/models/premium-override-dto.ts +6 -5
- package/models/premium-override-request-class.ts +31 -0
- package/models/premium-override-request-dto.ts +2 -2
- package/models/product-class.ts +10 -10
- package/models/product-factor-class.ts +8 -15
- package/models/product-factor-value-class.ts +8 -28
- package/models/product-field-class.ts +13 -13
- package/models/product-field-type-class.ts +54 -0
- package/models/product-version-class.ts +18 -8
- package/models/shared-product-field-class.ts +120 -0
- package/models/shared-update-premium-formula-request-dto.ts +82 -0
- package/models/store-product-factors-request-dto.ts +2 -2
- package/models/store-product-factors-response-class.ts +1 -1
- package/models/suspend-policy-request-dto.ts +30 -0
- package/models/suspend-policy-response-class.ts +31 -0
- package/models/terminate-policy-request-dto.ts +3 -3
- package/models/terminate-policy-response-class.ts +1 -1
- package/models/timeslice-class.ts +8 -8
- package/models/update-insured-object-request-dto.ts +6 -6
- package/models/update-lead-request-dto.ts +7 -13
- package/models/update-lead-response-class.ts +31 -0
- package/models/update-policy-request-dto.ts +27 -5
- package/models/update-policy-response-class.ts +1 -1
- package/models/update-premium-formula-request-dto.ts +9 -14
- package/models/update-premium-formula-response-class.ts +2 -2
- package/models/update-product-field-request-dto.ts +14 -14
- package/models/update-product-field-response-class.ts +2 -2
- package/models/update-product-request-dto.ts +5 -5
- package/models/update-product-response-class.ts +1 -1
- package/models/update-product-version-request-dto.ts +4 -4
- package/models/update-product-version-response-class.ts +1 -1
- package/models/uploaded-document-dto.ts +2 -2
- package/models/validate-product-factors-request-dto.ts +2 -2
- package/models/withdraw-policy-response-class.ts +1 -1
- package/package.json +3 -4
- package/dist/models/create-claim-request-dto.d.ts +0 -83
- package/dist/models/grpc-update-policy-request-dto.d.ts +0 -50
- package/dist/models/to-grpc-create-policy-request-dto.d.ts +0 -44
- package/models/create-claim-request-dto.ts +0 -93
- package/models/grpc-update-policy-request-dto.ts +0 -56
- package/models/to-grpc-create-policy-request-dto.ts +0 -50
|
@@ -0,0 +1,843 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL InsuranceService
|
|
5
|
+
* The EMIL InsuranceService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
17
|
+
import { Configuration } from '../configuration';
|
|
18
|
+
// Some imports not used depending on template conditions
|
|
19
|
+
// @ts-ignore
|
|
20
|
+
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
|
|
21
|
+
// @ts-ignore
|
|
22
|
+
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
|
|
23
|
+
// @ts-ignore
|
|
24
|
+
import { CreateProductFieldRequestDto } from '../models';
|
|
25
|
+
// @ts-ignore
|
|
26
|
+
import { CreateProductFieldResponseClass } from '../models';
|
|
27
|
+
// @ts-ignore
|
|
28
|
+
import { DeleteResponseClass } from '../models';
|
|
29
|
+
// @ts-ignore
|
|
30
|
+
import { GetProductFieldResponseClass } from '../models';
|
|
31
|
+
// @ts-ignore
|
|
32
|
+
import { ListProductFieldTypesResponseClass } from '../models';
|
|
33
|
+
// @ts-ignore
|
|
34
|
+
import { ListProductFieldsResponseClass } from '../models';
|
|
35
|
+
// @ts-ignore
|
|
36
|
+
import { UpdateProductFieldRequestDto } from '../models';
|
|
37
|
+
// @ts-ignore
|
|
38
|
+
import { UpdateProductFieldResponseClass } from '../models';
|
|
39
|
+
// URLSearchParams not necessarily used
|
|
40
|
+
// @ts-ignore
|
|
41
|
+
import { URL, URLSearchParams } from 'url';
|
|
42
|
+
const FormData = require('form-data');
|
|
43
|
+
/**
|
|
44
|
+
* ProductFieldsApi - axios parameter creator
|
|
45
|
+
* @export
|
|
46
|
+
*/
|
|
47
|
+
export const ProductFieldsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
48
|
+
return {
|
|
49
|
+
/**
|
|
50
|
+
* Create a product field in the database.
|
|
51
|
+
* @summary Create the product field
|
|
52
|
+
* @param {CreateProductFieldRequestDto} createProductFieldRequestDto
|
|
53
|
+
* @param {string} [authorization] Bearer Token
|
|
54
|
+
* @param {*} [options] Override http request option.
|
|
55
|
+
* @throws {RequiredError}
|
|
56
|
+
*/
|
|
57
|
+
createProductField: async (createProductFieldRequestDto: CreateProductFieldRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
58
|
+
// verify required parameter 'createProductFieldRequestDto' is not null or undefined
|
|
59
|
+
assertParamExists('createProductField', 'createProductFieldRequestDto', createProductFieldRequestDto)
|
|
60
|
+
const localVarPath = `/insuranceservice/v1/product-fields`;
|
|
61
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
62
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
63
|
+
let baseOptions;
|
|
64
|
+
let baseAccessToken;
|
|
65
|
+
if (configuration) {
|
|
66
|
+
baseOptions = configuration.baseOptions;
|
|
67
|
+
baseAccessToken = configuration.accessToken;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
71
|
+
const localVarHeaderParameter = {} as any;
|
|
72
|
+
const localVarQueryParameter = {} as any;
|
|
73
|
+
|
|
74
|
+
// authentication bearer required
|
|
75
|
+
// http bearer authentication required
|
|
76
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
77
|
+
|
|
78
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
79
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
85
|
+
|
|
86
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
87
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
88
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
89
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createProductFieldRequestDto, localVarRequestOptions, configuration)
|
|
90
|
+
|
|
91
|
+
return {
|
|
92
|
+
url: toPathString(localVarUrlObj),
|
|
93
|
+
options: localVarRequestOptions,
|
|
94
|
+
};
|
|
95
|
+
},
|
|
96
|
+
/**
|
|
97
|
+
* Permanently deletes the product. Supply the unique id that was returned when you created the product and this will delete it.
|
|
98
|
+
* @summary Delete the product
|
|
99
|
+
* @param {string} id
|
|
100
|
+
* @param {string} [authorization] Bearer Token
|
|
101
|
+
* @param {*} [options] Override http request option.
|
|
102
|
+
* @throws {RequiredError}
|
|
103
|
+
*/
|
|
104
|
+
deleteProductField: async (id: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
105
|
+
// verify required parameter 'id' is not null or undefined
|
|
106
|
+
assertParamExists('deleteProductField', 'id', id)
|
|
107
|
+
const localVarPath = `/insuranceservice/v1/product-fields/{id}`
|
|
108
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
109
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
110
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
111
|
+
let baseOptions;
|
|
112
|
+
let baseAccessToken;
|
|
113
|
+
if (configuration) {
|
|
114
|
+
baseOptions = configuration.baseOptions;
|
|
115
|
+
baseAccessToken = configuration.accessToken;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
119
|
+
const localVarHeaderParameter = {} as any;
|
|
120
|
+
const localVarQueryParameter = {} as any;
|
|
121
|
+
|
|
122
|
+
// authentication bearer required
|
|
123
|
+
// http bearer authentication required
|
|
124
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
125
|
+
|
|
126
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
127
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
133
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
134
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
135
|
+
|
|
136
|
+
return {
|
|
137
|
+
url: toPathString(localVarUrlObj),
|
|
138
|
+
options: localVarRequestOptions,
|
|
139
|
+
};
|
|
140
|
+
},
|
|
141
|
+
/**
|
|
142
|
+
* Retrieves the details of the product field that was previously created. Supply the unique product field id that was returned when you created it and Emil Api will return the corresponding product field information.
|
|
143
|
+
* @summary Retrieve the product field
|
|
144
|
+
* @param {string} id
|
|
145
|
+
* @param {string} [authorization] Bearer Token
|
|
146
|
+
* @param {*} [options] Override http request option.
|
|
147
|
+
* @throws {RequiredError}
|
|
148
|
+
*/
|
|
149
|
+
getProductField: async (id: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
150
|
+
// verify required parameter 'id' is not null or undefined
|
|
151
|
+
assertParamExists('getProductField', 'id', id)
|
|
152
|
+
const localVarPath = `/insuranceservice/v1/product-fields/{id}`
|
|
153
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
154
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
155
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
156
|
+
let baseOptions;
|
|
157
|
+
let baseAccessToken;
|
|
158
|
+
if (configuration) {
|
|
159
|
+
baseOptions = configuration.baseOptions;
|
|
160
|
+
baseAccessToken = configuration.accessToken;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
164
|
+
const localVarHeaderParameter = {} as any;
|
|
165
|
+
const localVarQueryParameter = {} as any;
|
|
166
|
+
|
|
167
|
+
// authentication bearer required
|
|
168
|
+
// http bearer authentication required
|
|
169
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
170
|
+
|
|
171
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
172
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
178
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
179
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
180
|
+
|
|
181
|
+
return {
|
|
182
|
+
url: toPathString(localVarUrlObj),
|
|
183
|
+
options: localVarRequestOptions,
|
|
184
|
+
};
|
|
185
|
+
},
|
|
186
|
+
/**
|
|
187
|
+
* Returns a list of product field types you have previously created. The product field types are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
188
|
+
* @summary List product field types
|
|
189
|
+
* @param {string} [authorization] Bearer Token
|
|
190
|
+
* @param {number} [pageSize] Page size.
|
|
191
|
+
* @param {string} [pageToken] Page token.
|
|
192
|
+
* @param {string} [filter] List filter
|
|
193
|
+
* @param {string} [search] Search query.
|
|
194
|
+
* @param {string} [order] Ordering criteria.
|
|
195
|
+
* @param {string} [expand] Extra fields to fetch.
|
|
196
|
+
* @param {*} [options] Override http request option.
|
|
197
|
+
* @throws {RequiredError}
|
|
198
|
+
*/
|
|
199
|
+
listProductFieldTypes: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
200
|
+
const localVarPath = `/insuranceservice/v1/product-fields/types`;
|
|
201
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
202
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
203
|
+
let baseOptions;
|
|
204
|
+
let baseAccessToken;
|
|
205
|
+
if (configuration) {
|
|
206
|
+
baseOptions = configuration.baseOptions;
|
|
207
|
+
baseAccessToken = configuration.accessToken;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
211
|
+
const localVarHeaderParameter = {} as any;
|
|
212
|
+
const localVarQueryParameter = {} as any;
|
|
213
|
+
|
|
214
|
+
// authentication bearer required
|
|
215
|
+
// http bearer authentication required
|
|
216
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
217
|
+
|
|
218
|
+
if (pageSize !== undefined) {
|
|
219
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
if (pageToken !== undefined) {
|
|
223
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
if (filter !== undefined) {
|
|
227
|
+
localVarQueryParameter['filter'] = filter;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
if (search !== undefined) {
|
|
231
|
+
localVarQueryParameter['search'] = search;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
if (order !== undefined) {
|
|
235
|
+
localVarQueryParameter['order'] = order;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
if (expand !== undefined) {
|
|
239
|
+
localVarQueryParameter['expand'] = expand;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
243
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
249
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
250
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
251
|
+
|
|
252
|
+
return {
|
|
253
|
+
url: toPathString(localVarUrlObj),
|
|
254
|
+
options: localVarRequestOptions,
|
|
255
|
+
};
|
|
256
|
+
},
|
|
257
|
+
/**
|
|
258
|
+
* Returns a list of product fields you have previously created. The product fields are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
259
|
+
* @summary List product fields
|
|
260
|
+
* @param {string} [authorization] Bearer Token
|
|
261
|
+
* @param {number} [pageSize] Page size.
|
|
262
|
+
* @param {string} [pageToken] Page token.
|
|
263
|
+
* @param {string} [filter] List filter
|
|
264
|
+
* @param {string} [search] Search query.
|
|
265
|
+
* @param {string} [order] Ordering criteria.
|
|
266
|
+
* @param {string} [expand] Extra fields to fetch.
|
|
267
|
+
* @param {*} [options] Override http request option.
|
|
268
|
+
* @throws {RequiredError}
|
|
269
|
+
*/
|
|
270
|
+
listProductFields: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
271
|
+
const localVarPath = `/insuranceservice/v1/product-fields`;
|
|
272
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
273
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
274
|
+
let baseOptions;
|
|
275
|
+
let baseAccessToken;
|
|
276
|
+
if (configuration) {
|
|
277
|
+
baseOptions = configuration.baseOptions;
|
|
278
|
+
baseAccessToken = configuration.accessToken;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
282
|
+
const localVarHeaderParameter = {} as any;
|
|
283
|
+
const localVarQueryParameter = {} as any;
|
|
284
|
+
|
|
285
|
+
// authentication bearer required
|
|
286
|
+
// http bearer authentication required
|
|
287
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
288
|
+
|
|
289
|
+
if (pageSize !== undefined) {
|
|
290
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
if (pageToken !== undefined) {
|
|
294
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
if (filter !== undefined) {
|
|
298
|
+
localVarQueryParameter['filter'] = filter;
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
if (search !== undefined) {
|
|
302
|
+
localVarQueryParameter['search'] = search;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
if (order !== undefined) {
|
|
306
|
+
localVarQueryParameter['order'] = order;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
if (expand !== undefined) {
|
|
310
|
+
localVarQueryParameter['expand'] = expand;
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
314
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
320
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
321
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
322
|
+
|
|
323
|
+
return {
|
|
324
|
+
url: toPathString(localVarUrlObj),
|
|
325
|
+
options: localVarRequestOptions,
|
|
326
|
+
};
|
|
327
|
+
},
|
|
328
|
+
/**
|
|
329
|
+
* Updates the specified product by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
330
|
+
* @summary Update the product
|
|
331
|
+
* @param {string} id
|
|
332
|
+
* @param {UpdateProductFieldRequestDto} updateProductFieldRequestDto
|
|
333
|
+
* @param {string} [authorization] Bearer Token
|
|
334
|
+
* @param {*} [options] Override http request option.
|
|
335
|
+
* @throws {RequiredError}
|
|
336
|
+
*/
|
|
337
|
+
updateProductField: async (id: string, updateProductFieldRequestDto: UpdateProductFieldRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
338
|
+
// verify required parameter 'id' is not null or undefined
|
|
339
|
+
assertParamExists('updateProductField', 'id', id)
|
|
340
|
+
// verify required parameter 'updateProductFieldRequestDto' is not null or undefined
|
|
341
|
+
assertParamExists('updateProductField', 'updateProductFieldRequestDto', updateProductFieldRequestDto)
|
|
342
|
+
const localVarPath = `/insuranceservice/v1/product-fields/{id}`
|
|
343
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
344
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
345
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
346
|
+
let baseOptions;
|
|
347
|
+
let baseAccessToken;
|
|
348
|
+
if (configuration) {
|
|
349
|
+
baseOptions = configuration.baseOptions;
|
|
350
|
+
baseAccessToken = configuration.accessToken;
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
354
|
+
const localVarHeaderParameter = {} as any;
|
|
355
|
+
const localVarQueryParameter = {} as any;
|
|
356
|
+
|
|
357
|
+
// authentication bearer required
|
|
358
|
+
// http bearer authentication required
|
|
359
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
360
|
+
|
|
361
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
362
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
|
|
366
|
+
|
|
367
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
368
|
+
|
|
369
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
370
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
371
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
372
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateProductFieldRequestDto, localVarRequestOptions, configuration)
|
|
373
|
+
|
|
374
|
+
return {
|
|
375
|
+
url: toPathString(localVarUrlObj),
|
|
376
|
+
options: localVarRequestOptions,
|
|
377
|
+
};
|
|
378
|
+
},
|
|
379
|
+
}
|
|
380
|
+
};
|
|
381
|
+
|
|
382
|
+
/**
|
|
383
|
+
* ProductFieldsApi - functional programming interface
|
|
384
|
+
* @export
|
|
385
|
+
*/
|
|
386
|
+
export const ProductFieldsApiFp = function(configuration?: Configuration) {
|
|
387
|
+
const localVarAxiosParamCreator = ProductFieldsApiAxiosParamCreator(configuration)
|
|
388
|
+
return {
|
|
389
|
+
/**
|
|
390
|
+
* Create a product field in the database.
|
|
391
|
+
* @summary Create the product field
|
|
392
|
+
* @param {CreateProductFieldRequestDto} createProductFieldRequestDto
|
|
393
|
+
* @param {string} [authorization] Bearer Token
|
|
394
|
+
* @param {*} [options] Override http request option.
|
|
395
|
+
* @throws {RequiredError}
|
|
396
|
+
*/
|
|
397
|
+
async createProductField(createProductFieldRequestDto: CreateProductFieldRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateProductFieldResponseClass>> {
|
|
398
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createProductField(createProductFieldRequestDto, authorization, options);
|
|
399
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
400
|
+
},
|
|
401
|
+
/**
|
|
402
|
+
* Permanently deletes the product. Supply the unique id that was returned when you created the product and this will delete it.
|
|
403
|
+
* @summary Delete the product
|
|
404
|
+
* @param {string} id
|
|
405
|
+
* @param {string} [authorization] Bearer Token
|
|
406
|
+
* @param {*} [options] Override http request option.
|
|
407
|
+
* @throws {RequiredError}
|
|
408
|
+
*/
|
|
409
|
+
async deleteProductField(id: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteResponseClass>> {
|
|
410
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteProductField(id, authorization, options);
|
|
411
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
412
|
+
},
|
|
413
|
+
/**
|
|
414
|
+
* Retrieves the details of the product field that was previously created. Supply the unique product field id that was returned when you created it and Emil Api will return the corresponding product field information.
|
|
415
|
+
* @summary Retrieve the product field
|
|
416
|
+
* @param {string} id
|
|
417
|
+
* @param {string} [authorization] Bearer Token
|
|
418
|
+
* @param {*} [options] Override http request option.
|
|
419
|
+
* @throws {RequiredError}
|
|
420
|
+
*/
|
|
421
|
+
async getProductField(id: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetProductFieldResponseClass>> {
|
|
422
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getProductField(id, authorization, options);
|
|
423
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
424
|
+
},
|
|
425
|
+
/**
|
|
426
|
+
* Returns a list of product field types you have previously created. The product field types are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
427
|
+
* @summary List product field types
|
|
428
|
+
* @param {string} [authorization] Bearer Token
|
|
429
|
+
* @param {number} [pageSize] Page size.
|
|
430
|
+
* @param {string} [pageToken] Page token.
|
|
431
|
+
* @param {string} [filter] List filter
|
|
432
|
+
* @param {string} [search] Search query.
|
|
433
|
+
* @param {string} [order] Ordering criteria.
|
|
434
|
+
* @param {string} [expand] Extra fields to fetch.
|
|
435
|
+
* @param {*} [options] Override http request option.
|
|
436
|
+
* @throws {RequiredError}
|
|
437
|
+
*/
|
|
438
|
+
async listProductFieldTypes(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListProductFieldTypesResponseClass>> {
|
|
439
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listProductFieldTypes(authorization, pageSize, pageToken, filter, search, order, expand, options);
|
|
440
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
441
|
+
},
|
|
442
|
+
/**
|
|
443
|
+
* Returns a list of product fields you have previously created. The product fields are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
444
|
+
* @summary List product fields
|
|
445
|
+
* @param {string} [authorization] Bearer Token
|
|
446
|
+
* @param {number} [pageSize] Page size.
|
|
447
|
+
* @param {string} [pageToken] Page token.
|
|
448
|
+
* @param {string} [filter] List filter
|
|
449
|
+
* @param {string} [search] Search query.
|
|
450
|
+
* @param {string} [order] Ordering criteria.
|
|
451
|
+
* @param {string} [expand] Extra fields to fetch.
|
|
452
|
+
* @param {*} [options] Override http request option.
|
|
453
|
+
* @throws {RequiredError}
|
|
454
|
+
*/
|
|
455
|
+
async listProductFields(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListProductFieldsResponseClass>> {
|
|
456
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listProductFields(authorization, pageSize, pageToken, filter, search, order, expand, options);
|
|
457
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
458
|
+
},
|
|
459
|
+
/**
|
|
460
|
+
* Updates the specified product by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
461
|
+
* @summary Update the product
|
|
462
|
+
* @param {string} id
|
|
463
|
+
* @param {UpdateProductFieldRequestDto} updateProductFieldRequestDto
|
|
464
|
+
* @param {string} [authorization] Bearer Token
|
|
465
|
+
* @param {*} [options] Override http request option.
|
|
466
|
+
* @throws {RequiredError}
|
|
467
|
+
*/
|
|
468
|
+
async updateProductField(id: string, updateProductFieldRequestDto: UpdateProductFieldRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateProductFieldResponseClass>> {
|
|
469
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateProductField(id, updateProductFieldRequestDto, authorization, options);
|
|
470
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
471
|
+
},
|
|
472
|
+
}
|
|
473
|
+
};
|
|
474
|
+
|
|
475
|
+
/**
|
|
476
|
+
* ProductFieldsApi - factory interface
|
|
477
|
+
* @export
|
|
478
|
+
*/
|
|
479
|
+
export const ProductFieldsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
480
|
+
const localVarFp = ProductFieldsApiFp(configuration)
|
|
481
|
+
return {
|
|
482
|
+
/**
|
|
483
|
+
* Create a product field in the database.
|
|
484
|
+
* @summary Create the product field
|
|
485
|
+
* @param {CreateProductFieldRequestDto} createProductFieldRequestDto
|
|
486
|
+
* @param {string} [authorization] Bearer Token
|
|
487
|
+
* @param {*} [options] Override http request option.
|
|
488
|
+
* @throws {RequiredError}
|
|
489
|
+
*/
|
|
490
|
+
createProductField(createProductFieldRequestDto: CreateProductFieldRequestDto, authorization?: string, options?: any): AxiosPromise<CreateProductFieldResponseClass> {
|
|
491
|
+
return localVarFp.createProductField(createProductFieldRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
492
|
+
},
|
|
493
|
+
/**
|
|
494
|
+
* Permanently deletes the product. Supply the unique id that was returned when you created the product and this will delete it.
|
|
495
|
+
* @summary Delete the product
|
|
496
|
+
* @param {string} id
|
|
497
|
+
* @param {string} [authorization] Bearer Token
|
|
498
|
+
* @param {*} [options] Override http request option.
|
|
499
|
+
* @throws {RequiredError}
|
|
500
|
+
*/
|
|
501
|
+
deleteProductField(id: string, authorization?: string, options?: any): AxiosPromise<DeleteResponseClass> {
|
|
502
|
+
return localVarFp.deleteProductField(id, authorization, options).then((request) => request(axios, basePath));
|
|
503
|
+
},
|
|
504
|
+
/**
|
|
505
|
+
* Retrieves the details of the product field that was previously created. Supply the unique product field id that was returned when you created it and Emil Api will return the corresponding product field information.
|
|
506
|
+
* @summary Retrieve the product field
|
|
507
|
+
* @param {string} id
|
|
508
|
+
* @param {string} [authorization] Bearer Token
|
|
509
|
+
* @param {*} [options] Override http request option.
|
|
510
|
+
* @throws {RequiredError}
|
|
511
|
+
*/
|
|
512
|
+
getProductField(id: string, authorization?: string, options?: any): AxiosPromise<GetProductFieldResponseClass> {
|
|
513
|
+
return localVarFp.getProductField(id, authorization, options).then((request) => request(axios, basePath));
|
|
514
|
+
},
|
|
515
|
+
/**
|
|
516
|
+
* Returns a list of product field types you have previously created. The product field types are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
517
|
+
* @summary List product field types
|
|
518
|
+
* @param {string} [authorization] Bearer Token
|
|
519
|
+
* @param {number} [pageSize] Page size.
|
|
520
|
+
* @param {string} [pageToken] Page token.
|
|
521
|
+
* @param {string} [filter] List filter
|
|
522
|
+
* @param {string} [search] Search query.
|
|
523
|
+
* @param {string} [order] Ordering criteria.
|
|
524
|
+
* @param {string} [expand] Extra fields to fetch.
|
|
525
|
+
* @param {*} [options] Override http request option.
|
|
526
|
+
* @throws {RequiredError}
|
|
527
|
+
*/
|
|
528
|
+
listProductFieldTypes(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListProductFieldTypesResponseClass> {
|
|
529
|
+
return localVarFp.listProductFieldTypes(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
|
|
530
|
+
},
|
|
531
|
+
/**
|
|
532
|
+
* Returns a list of product fields you have previously created. The product fields are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
533
|
+
* @summary List product fields
|
|
534
|
+
* @param {string} [authorization] Bearer Token
|
|
535
|
+
* @param {number} [pageSize] Page size.
|
|
536
|
+
* @param {string} [pageToken] Page token.
|
|
537
|
+
* @param {string} [filter] List filter
|
|
538
|
+
* @param {string} [search] Search query.
|
|
539
|
+
* @param {string} [order] Ordering criteria.
|
|
540
|
+
* @param {string} [expand] Extra fields to fetch.
|
|
541
|
+
* @param {*} [options] Override http request option.
|
|
542
|
+
* @throws {RequiredError}
|
|
543
|
+
*/
|
|
544
|
+
listProductFields(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListProductFieldsResponseClass> {
|
|
545
|
+
return localVarFp.listProductFields(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
|
|
546
|
+
},
|
|
547
|
+
/**
|
|
548
|
+
* Updates the specified product by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
549
|
+
* @summary Update the product
|
|
550
|
+
* @param {string} id
|
|
551
|
+
* @param {UpdateProductFieldRequestDto} updateProductFieldRequestDto
|
|
552
|
+
* @param {string} [authorization] Bearer Token
|
|
553
|
+
* @param {*} [options] Override http request option.
|
|
554
|
+
* @throws {RequiredError}
|
|
555
|
+
*/
|
|
556
|
+
updateProductField(id: string, updateProductFieldRequestDto: UpdateProductFieldRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateProductFieldResponseClass> {
|
|
557
|
+
return localVarFp.updateProductField(id, updateProductFieldRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
558
|
+
},
|
|
559
|
+
};
|
|
560
|
+
};
|
|
561
|
+
|
|
562
|
+
/**
|
|
563
|
+
* Request parameters for createProductField operation in ProductFieldsApi.
|
|
564
|
+
* @export
|
|
565
|
+
* @interface ProductFieldsApiCreateProductFieldRequest
|
|
566
|
+
*/
|
|
567
|
+
export interface ProductFieldsApiCreateProductFieldRequest {
|
|
568
|
+
/**
|
|
569
|
+
*
|
|
570
|
+
* @type {CreateProductFieldRequestDto}
|
|
571
|
+
* @memberof ProductFieldsApiCreateProductField
|
|
572
|
+
*/
|
|
573
|
+
readonly createProductFieldRequestDto: CreateProductFieldRequestDto
|
|
574
|
+
|
|
575
|
+
/**
|
|
576
|
+
* Bearer Token
|
|
577
|
+
* @type {string}
|
|
578
|
+
* @memberof ProductFieldsApiCreateProductField
|
|
579
|
+
*/
|
|
580
|
+
readonly authorization?: string
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
/**
|
|
584
|
+
* Request parameters for deleteProductField operation in ProductFieldsApi.
|
|
585
|
+
* @export
|
|
586
|
+
* @interface ProductFieldsApiDeleteProductFieldRequest
|
|
587
|
+
*/
|
|
588
|
+
export interface ProductFieldsApiDeleteProductFieldRequest {
|
|
589
|
+
/**
|
|
590
|
+
*
|
|
591
|
+
* @type {string}
|
|
592
|
+
* @memberof ProductFieldsApiDeleteProductField
|
|
593
|
+
*/
|
|
594
|
+
readonly id: string
|
|
595
|
+
|
|
596
|
+
/**
|
|
597
|
+
* Bearer Token
|
|
598
|
+
* @type {string}
|
|
599
|
+
* @memberof ProductFieldsApiDeleteProductField
|
|
600
|
+
*/
|
|
601
|
+
readonly authorization?: string
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
/**
|
|
605
|
+
* Request parameters for getProductField operation in ProductFieldsApi.
|
|
606
|
+
* @export
|
|
607
|
+
* @interface ProductFieldsApiGetProductFieldRequest
|
|
608
|
+
*/
|
|
609
|
+
export interface ProductFieldsApiGetProductFieldRequest {
|
|
610
|
+
/**
|
|
611
|
+
*
|
|
612
|
+
* @type {string}
|
|
613
|
+
* @memberof ProductFieldsApiGetProductField
|
|
614
|
+
*/
|
|
615
|
+
readonly id: string
|
|
616
|
+
|
|
617
|
+
/**
|
|
618
|
+
* Bearer Token
|
|
619
|
+
* @type {string}
|
|
620
|
+
* @memberof ProductFieldsApiGetProductField
|
|
621
|
+
*/
|
|
622
|
+
readonly authorization?: string
|
|
623
|
+
}
|
|
624
|
+
|
|
625
|
+
/**
|
|
626
|
+
* Request parameters for listProductFieldTypes operation in ProductFieldsApi.
|
|
627
|
+
* @export
|
|
628
|
+
* @interface ProductFieldsApiListProductFieldTypesRequest
|
|
629
|
+
*/
|
|
630
|
+
export interface ProductFieldsApiListProductFieldTypesRequest {
|
|
631
|
+
/**
|
|
632
|
+
* Bearer Token
|
|
633
|
+
* @type {string}
|
|
634
|
+
* @memberof ProductFieldsApiListProductFieldTypes
|
|
635
|
+
*/
|
|
636
|
+
readonly authorization?: string
|
|
637
|
+
|
|
638
|
+
/**
|
|
639
|
+
* Page size.
|
|
640
|
+
* @type {number}
|
|
641
|
+
* @memberof ProductFieldsApiListProductFieldTypes
|
|
642
|
+
*/
|
|
643
|
+
readonly pageSize?: number
|
|
644
|
+
|
|
645
|
+
/**
|
|
646
|
+
* Page token.
|
|
647
|
+
* @type {string}
|
|
648
|
+
* @memberof ProductFieldsApiListProductFieldTypes
|
|
649
|
+
*/
|
|
650
|
+
readonly pageToken?: string
|
|
651
|
+
|
|
652
|
+
/**
|
|
653
|
+
* List filter
|
|
654
|
+
* @type {string}
|
|
655
|
+
* @memberof ProductFieldsApiListProductFieldTypes
|
|
656
|
+
*/
|
|
657
|
+
readonly filter?: string
|
|
658
|
+
|
|
659
|
+
/**
|
|
660
|
+
* Search query.
|
|
661
|
+
* @type {string}
|
|
662
|
+
* @memberof ProductFieldsApiListProductFieldTypes
|
|
663
|
+
*/
|
|
664
|
+
readonly search?: string
|
|
665
|
+
|
|
666
|
+
/**
|
|
667
|
+
* Ordering criteria.
|
|
668
|
+
* @type {string}
|
|
669
|
+
* @memberof ProductFieldsApiListProductFieldTypes
|
|
670
|
+
*/
|
|
671
|
+
readonly order?: string
|
|
672
|
+
|
|
673
|
+
/**
|
|
674
|
+
* Extra fields to fetch.
|
|
675
|
+
* @type {string}
|
|
676
|
+
* @memberof ProductFieldsApiListProductFieldTypes
|
|
677
|
+
*/
|
|
678
|
+
readonly expand?: string
|
|
679
|
+
}
|
|
680
|
+
|
|
681
|
+
/**
|
|
682
|
+
* Request parameters for listProductFields operation in ProductFieldsApi.
|
|
683
|
+
* @export
|
|
684
|
+
* @interface ProductFieldsApiListProductFieldsRequest
|
|
685
|
+
*/
|
|
686
|
+
export interface ProductFieldsApiListProductFieldsRequest {
|
|
687
|
+
/**
|
|
688
|
+
* Bearer Token
|
|
689
|
+
* @type {string}
|
|
690
|
+
* @memberof ProductFieldsApiListProductFields
|
|
691
|
+
*/
|
|
692
|
+
readonly authorization?: string
|
|
693
|
+
|
|
694
|
+
/**
|
|
695
|
+
* Page size.
|
|
696
|
+
* @type {number}
|
|
697
|
+
* @memberof ProductFieldsApiListProductFields
|
|
698
|
+
*/
|
|
699
|
+
readonly pageSize?: number
|
|
700
|
+
|
|
701
|
+
/**
|
|
702
|
+
* Page token.
|
|
703
|
+
* @type {string}
|
|
704
|
+
* @memberof ProductFieldsApiListProductFields
|
|
705
|
+
*/
|
|
706
|
+
readonly pageToken?: string
|
|
707
|
+
|
|
708
|
+
/**
|
|
709
|
+
* List filter
|
|
710
|
+
* @type {string}
|
|
711
|
+
* @memberof ProductFieldsApiListProductFields
|
|
712
|
+
*/
|
|
713
|
+
readonly filter?: string
|
|
714
|
+
|
|
715
|
+
/**
|
|
716
|
+
* Search query.
|
|
717
|
+
* @type {string}
|
|
718
|
+
* @memberof ProductFieldsApiListProductFields
|
|
719
|
+
*/
|
|
720
|
+
readonly search?: string
|
|
721
|
+
|
|
722
|
+
/**
|
|
723
|
+
* Ordering criteria.
|
|
724
|
+
* @type {string}
|
|
725
|
+
* @memberof ProductFieldsApiListProductFields
|
|
726
|
+
*/
|
|
727
|
+
readonly order?: string
|
|
728
|
+
|
|
729
|
+
/**
|
|
730
|
+
* Extra fields to fetch.
|
|
731
|
+
* @type {string}
|
|
732
|
+
* @memberof ProductFieldsApiListProductFields
|
|
733
|
+
*/
|
|
734
|
+
readonly expand?: string
|
|
735
|
+
}
|
|
736
|
+
|
|
737
|
+
/**
|
|
738
|
+
* Request parameters for updateProductField operation in ProductFieldsApi.
|
|
739
|
+
* @export
|
|
740
|
+
* @interface ProductFieldsApiUpdateProductFieldRequest
|
|
741
|
+
*/
|
|
742
|
+
export interface ProductFieldsApiUpdateProductFieldRequest {
|
|
743
|
+
/**
|
|
744
|
+
*
|
|
745
|
+
* @type {string}
|
|
746
|
+
* @memberof ProductFieldsApiUpdateProductField
|
|
747
|
+
*/
|
|
748
|
+
readonly id: string
|
|
749
|
+
|
|
750
|
+
/**
|
|
751
|
+
*
|
|
752
|
+
* @type {UpdateProductFieldRequestDto}
|
|
753
|
+
* @memberof ProductFieldsApiUpdateProductField
|
|
754
|
+
*/
|
|
755
|
+
readonly updateProductFieldRequestDto: UpdateProductFieldRequestDto
|
|
756
|
+
|
|
757
|
+
/**
|
|
758
|
+
* Bearer Token
|
|
759
|
+
* @type {string}
|
|
760
|
+
* @memberof ProductFieldsApiUpdateProductField
|
|
761
|
+
*/
|
|
762
|
+
readonly authorization?: string
|
|
763
|
+
}
|
|
764
|
+
|
|
765
|
+
/**
|
|
766
|
+
* ProductFieldsApi - object-oriented interface
|
|
767
|
+
* @export
|
|
768
|
+
* @class ProductFieldsApi
|
|
769
|
+
* @extends {BaseAPI}
|
|
770
|
+
*/
|
|
771
|
+
export class ProductFieldsApi extends BaseAPI {
|
|
772
|
+
/**
|
|
773
|
+
* Create a product field in the database.
|
|
774
|
+
* @summary Create the product field
|
|
775
|
+
* @param {ProductFieldsApiCreateProductFieldRequest} requestParameters Request parameters.
|
|
776
|
+
* @param {*} [options] Override http request option.
|
|
777
|
+
* @throws {RequiredError}
|
|
778
|
+
* @memberof ProductFieldsApi
|
|
779
|
+
*/
|
|
780
|
+
public createProductField(requestParameters: ProductFieldsApiCreateProductFieldRequest, options?: AxiosRequestConfig) {
|
|
781
|
+
return ProductFieldsApiFp(this.configuration).createProductField(requestParameters.createProductFieldRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
782
|
+
}
|
|
783
|
+
|
|
784
|
+
/**
|
|
785
|
+
* Permanently deletes the product. Supply the unique id that was returned when you created the product and this will delete it.
|
|
786
|
+
* @summary Delete the product
|
|
787
|
+
* @param {ProductFieldsApiDeleteProductFieldRequest} requestParameters Request parameters.
|
|
788
|
+
* @param {*} [options] Override http request option.
|
|
789
|
+
* @throws {RequiredError}
|
|
790
|
+
* @memberof ProductFieldsApi
|
|
791
|
+
*/
|
|
792
|
+
public deleteProductField(requestParameters: ProductFieldsApiDeleteProductFieldRequest, options?: AxiosRequestConfig) {
|
|
793
|
+
return ProductFieldsApiFp(this.configuration).deleteProductField(requestParameters.id, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
794
|
+
}
|
|
795
|
+
|
|
796
|
+
/**
|
|
797
|
+
* Retrieves the details of the product field that was previously created. Supply the unique product field id that was returned when you created it and Emil Api will return the corresponding product field information.
|
|
798
|
+
* @summary Retrieve the product field
|
|
799
|
+
* @param {ProductFieldsApiGetProductFieldRequest} requestParameters Request parameters.
|
|
800
|
+
* @param {*} [options] Override http request option.
|
|
801
|
+
* @throws {RequiredError}
|
|
802
|
+
* @memberof ProductFieldsApi
|
|
803
|
+
*/
|
|
804
|
+
public getProductField(requestParameters: ProductFieldsApiGetProductFieldRequest, options?: AxiosRequestConfig) {
|
|
805
|
+
return ProductFieldsApiFp(this.configuration).getProductField(requestParameters.id, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
806
|
+
}
|
|
807
|
+
|
|
808
|
+
/**
|
|
809
|
+
* Returns a list of product field types you have previously created. The product field types are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
810
|
+
* @summary List product field types
|
|
811
|
+
* @param {ProductFieldsApiListProductFieldTypesRequest} requestParameters Request parameters.
|
|
812
|
+
* @param {*} [options] Override http request option.
|
|
813
|
+
* @throws {RequiredError}
|
|
814
|
+
* @memberof ProductFieldsApi
|
|
815
|
+
*/
|
|
816
|
+
public listProductFieldTypes(requestParameters: ProductFieldsApiListProductFieldTypesRequest = {}, options?: AxiosRequestConfig) {
|
|
817
|
+
return ProductFieldsApiFp(this.configuration).listProductFieldTypes(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
818
|
+
}
|
|
819
|
+
|
|
820
|
+
/**
|
|
821
|
+
* Returns a list of product fields you have previously created. The product fields are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
822
|
+
* @summary List product fields
|
|
823
|
+
* @param {ProductFieldsApiListProductFieldsRequest} requestParameters Request parameters.
|
|
824
|
+
* @param {*} [options] Override http request option.
|
|
825
|
+
* @throws {RequiredError}
|
|
826
|
+
* @memberof ProductFieldsApi
|
|
827
|
+
*/
|
|
828
|
+
public listProductFields(requestParameters: ProductFieldsApiListProductFieldsRequest = {}, options?: AxiosRequestConfig) {
|
|
829
|
+
return ProductFieldsApiFp(this.configuration).listProductFields(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
830
|
+
}
|
|
831
|
+
|
|
832
|
+
/**
|
|
833
|
+
* Updates the specified product by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
834
|
+
* @summary Update the product
|
|
835
|
+
* @param {ProductFieldsApiUpdateProductFieldRequest} requestParameters Request parameters.
|
|
836
|
+
* @param {*} [options] Override http request option.
|
|
837
|
+
* @throws {RequiredError}
|
|
838
|
+
* @memberof ProductFieldsApi
|
|
839
|
+
*/
|
|
840
|
+
public updateProductField(requestParameters: ProductFieldsApiUpdateProductFieldRequest, options?: AxiosRequestConfig) {
|
|
841
|
+
return ProductFieldsApiFp(this.configuration).updateProductField(requestParameters.id, requestParameters.updateProductFieldRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
842
|
+
}
|
|
843
|
+
}
|