@emilgroup/insurance-sdk-node 1.14.0 → 1.16.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 +0 -1
- package/README.md +2 -2
- package/api/policies-api.ts +29 -29
- package/dist/api/policies-api.d.ts +29 -29
- package/dist/api/policies-api.js +12 -12
- package/dist/models/index.d.ts +0 -1
- package/dist/models/index.js +0 -1
- package/dist/models/lead-class.d.ts +1 -1
- package/dist/models/policy-class.d.ts +1 -1
- package/dist/models/policy-object-class.d.ts +6 -0
- package/dist/models/policy-object-dto.d.ts +6 -0
- package/dist/models/policy-premium-class.d.ts +6 -0
- package/dist/models/shared-invoice-class.d.ts +2 -3
- package/models/index.ts +0 -1
- package/models/lead-class.ts +1 -1
- package/models/policy-class.ts +1 -1
- package/models/policy-object-class.ts +6 -0
- package/models/policy-object-dto.ts +6 -0
- package/models/policy-premium-class.ts +6 -0
- package/models/shared-invoice-class.ts +2 -3
- package/package.json +2 -2
- package/dist/models/currency-class.d.ts +0 -48
- package/dist/models/currency-class.js +0 -15
- package/models/currency-class.ts +0 -54
package/.openapi-generator/FILES
CHANGED
|
@@ -40,7 +40,6 @@ models/create-product-field-response-class.ts
|
|
|
40
40
|
models/create-product-request-dto.ts
|
|
41
41
|
models/create-product-response-class.ts
|
|
42
42
|
models/csv-product-factor-dto.ts
|
|
43
|
-
models/currency-class.ts
|
|
44
43
|
models/delete-request-dto.ts
|
|
45
44
|
models/delete-response-class.ts
|
|
46
45
|
models/get-insured-object-response-class.ts
|
package/README.md
CHANGED
|
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
|
|
|
17
17
|
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
npm install @emilgroup/insurance-sdk-node@1.
|
|
20
|
+
npm install @emilgroup/insurance-sdk-node@1.16.0 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/insurance-sdk-node@1.
|
|
24
|
+
yarn add @emilgroup/insurance-sdk-node@1.16.0
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `PoliciesApi`.
|
package/api/policies-api.ts
CHANGED
|
@@ -104,11 +104,11 @@ export const PoliciesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
104
104
|
* @summary Retrieve the policy
|
|
105
105
|
* @param {string} code Unique identifier for the object.
|
|
106
106
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
107
|
-
* @param {
|
|
107
|
+
* @param {'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas'} [expand] You can expand policy in this endpoint. By default, versions will be an empty array.
|
|
108
108
|
* @param {*} [options] Override http request option.
|
|
109
109
|
* @throws {RequiredError}
|
|
110
110
|
*/
|
|
111
|
-
getPolicy: async (code: string, authorization?: string, expand?:
|
|
111
|
+
getPolicy: async (code: string, authorization?: string, expand?: 'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas', options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
112
112
|
// verify required parameter 'code' is not null or undefined
|
|
113
113
|
assertParamExists('getPolicy', 'code', code)
|
|
114
114
|
const localVarPath = `/insuranceservice/v1/policies/{code}`
|
|
@@ -205,14 +205,14 @@ export const PoliciesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
205
205
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
206
206
|
* @param {number} [pageSize] Page size.
|
|
207
207
|
* @param {string} [pageToken] Page token.
|
|
208
|
-
* @param {
|
|
208
|
+
* @param {'code' | 'policyNumber' | 'accountCode' | 'statuses' | 'productName' | 'productType' | 'createdAt' | 'policyStartDate' | 'policyData'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
209
209
|
* @param {string} [search] Search query.
|
|
210
|
-
* @param {
|
|
211
|
-
* @param {
|
|
210
|
+
* @param {'policyNumber' | 'createdAt'} [order] Order allowing you to specify the desired order of entities retrieved from the server.
|
|
211
|
+
* @param {'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas'} [expand] You can expand policy versions list in this endpoint. By default, versions will be an empty array.
|
|
212
212
|
* @param {*} [options] Override http request option.
|
|
213
213
|
* @throws {RequiredError}
|
|
214
214
|
*/
|
|
215
|
-
listPolicies: async (authorization?: string, pageSize?: number, pageToken?: string, filter?:
|
|
215
|
+
listPolicies: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: 'code' | 'policyNumber' | 'accountCode' | 'statuses' | 'productName' | 'productType' | 'createdAt' | 'policyStartDate' | 'policyData', search?: string, order?: 'policyNumber' | 'createdAt', expand?: 'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas', options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
216
216
|
const localVarPath = `/insuranceservice/v1/policies`;
|
|
217
217
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
218
218
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -501,11 +501,11 @@ export const PoliciesApiFp = function(configuration?: Configuration) {
|
|
|
501
501
|
* @summary Retrieve the policy
|
|
502
502
|
* @param {string} code Unique identifier for the object.
|
|
503
503
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
504
|
-
* @param {
|
|
504
|
+
* @param {'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas'} [expand] You can expand policy in this endpoint. By default, versions will be an empty array.
|
|
505
505
|
* @param {*} [options] Override http request option.
|
|
506
506
|
* @throws {RequiredError}
|
|
507
507
|
*/
|
|
508
|
-
async getPolicy(code: string, authorization?: string, expand?:
|
|
508
|
+
async getPolicy(code: string, authorization?: string, expand?: 'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPolicyResponseClass>> {
|
|
509
509
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getPolicy(code, authorization, expand, options);
|
|
510
510
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
511
511
|
},
|
|
@@ -528,14 +528,14 @@ export const PoliciesApiFp = function(configuration?: Configuration) {
|
|
|
528
528
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
529
529
|
* @param {number} [pageSize] Page size.
|
|
530
530
|
* @param {string} [pageToken] Page token.
|
|
531
|
-
* @param {
|
|
531
|
+
* @param {'code' | 'policyNumber' | 'accountCode' | 'statuses' | 'productName' | 'productType' | 'createdAt' | 'policyStartDate' | 'policyData'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
532
532
|
* @param {string} [search] Search query.
|
|
533
|
-
* @param {
|
|
534
|
-
* @param {
|
|
533
|
+
* @param {'policyNumber' | 'createdAt'} [order] Order allowing you to specify the desired order of entities retrieved from the server.
|
|
534
|
+
* @param {'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas'} [expand] You can expand policy versions list in this endpoint. By default, versions will be an empty array.
|
|
535
535
|
* @param {*} [options] Override http request option.
|
|
536
536
|
* @throws {RequiredError}
|
|
537
537
|
*/
|
|
538
|
-
async listPolicies(authorization?: string, pageSize?: number, pageToken?: string, filter?:
|
|
538
|
+
async listPolicies(authorization?: string, pageSize?: number, pageToken?: string, filter?: 'code' | 'policyNumber' | 'accountCode' | 'statuses' | 'productName' | 'productType' | 'createdAt' | 'policyStartDate' | 'policyData', search?: string, order?: 'policyNumber' | 'createdAt', expand?: 'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPoliciesResponseClass>> {
|
|
539
539
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listPolicies(authorization, pageSize, pageToken, filter, search, order, expand, options);
|
|
540
540
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
541
541
|
},
|
|
@@ -617,11 +617,11 @@ export const PoliciesApiFactory = function (configuration?: Configuration, baseP
|
|
|
617
617
|
* @summary Retrieve the policy
|
|
618
618
|
* @param {string} code Unique identifier for the object.
|
|
619
619
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
620
|
-
* @param {
|
|
620
|
+
* @param {'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas'} [expand] You can expand policy in this endpoint. By default, versions will be an empty array.
|
|
621
621
|
* @param {*} [options] Override http request option.
|
|
622
622
|
* @throws {RequiredError}
|
|
623
623
|
*/
|
|
624
|
-
getPolicy(code: string, authorization?: string, expand?:
|
|
624
|
+
getPolicy(code: string, authorization?: string, expand?: 'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas', options?: any): AxiosPromise<GetPolicyResponseClass> {
|
|
625
625
|
return localVarFp.getPolicy(code, authorization, expand, options).then((request) => request(axios, basePath));
|
|
626
626
|
},
|
|
627
627
|
/**
|
|
@@ -642,14 +642,14 @@ export const PoliciesApiFactory = function (configuration?: Configuration, baseP
|
|
|
642
642
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
643
643
|
* @param {number} [pageSize] Page size.
|
|
644
644
|
* @param {string} [pageToken] Page token.
|
|
645
|
-
* @param {
|
|
645
|
+
* @param {'code' | 'policyNumber' | 'accountCode' | 'statuses' | 'productName' | 'productType' | 'createdAt' | 'policyStartDate' | 'policyData'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
646
646
|
* @param {string} [search] Search query.
|
|
647
|
-
* @param {
|
|
648
|
-
* @param {
|
|
647
|
+
* @param {'policyNumber' | 'createdAt'} [order] Order allowing you to specify the desired order of entities retrieved from the server.
|
|
648
|
+
* @param {'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas'} [expand] You can expand policy versions list in this endpoint. By default, versions will be an empty array.
|
|
649
649
|
* @param {*} [options] Override http request option.
|
|
650
650
|
* @throws {RequiredError}
|
|
651
651
|
*/
|
|
652
|
-
listPolicies(authorization?: string, pageSize?: number, pageToken?: string, filter?:
|
|
652
|
+
listPolicies(authorization?: string, pageSize?: number, pageToken?: string, filter?: 'code' | 'policyNumber' | 'accountCode' | 'statuses' | 'productName' | 'productType' | 'createdAt' | 'policyStartDate' | 'policyData', search?: string, order?: 'policyNumber' | 'createdAt', expand?: 'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas', options?: any): AxiosPromise<ListPoliciesResponseClass> {
|
|
653
653
|
return localVarFp.listPolicies(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
|
|
654
654
|
},
|
|
655
655
|
/**
|
|
@@ -745,11 +745,11 @@ export interface PoliciesApiGetPolicyRequest {
|
|
|
745
745
|
readonly authorization?: string
|
|
746
746
|
|
|
747
747
|
/**
|
|
748
|
-
*
|
|
749
|
-
* @type {
|
|
748
|
+
* You can expand policy in this endpoint. By default, versions will be an empty array.
|
|
749
|
+
* @type {'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas'}
|
|
750
750
|
* @memberof PoliciesApiGetPolicy
|
|
751
751
|
*/
|
|
752
|
-
readonly expand?:
|
|
752
|
+
readonly expand?: 'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas'
|
|
753
753
|
}
|
|
754
754
|
|
|
755
755
|
/**
|
|
@@ -808,11 +808,11 @@ export interface PoliciesApiListPoliciesRequest {
|
|
|
808
808
|
readonly pageToken?: string
|
|
809
809
|
|
|
810
810
|
/**
|
|
811
|
-
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
812
|
-
* @type {
|
|
811
|
+
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
812
|
+
* @type {'code' | 'policyNumber' | 'accountCode' | 'statuses' | 'productName' | 'productType' | 'createdAt' | 'policyStartDate' | 'policyData'}
|
|
813
813
|
* @memberof PoliciesApiListPolicies
|
|
814
814
|
*/
|
|
815
|
-
readonly filter?:
|
|
815
|
+
readonly filter?: 'code' | 'policyNumber' | 'accountCode' | 'statuses' | 'productName' | 'productType' | 'createdAt' | 'policyStartDate' | 'policyData'
|
|
816
816
|
|
|
817
817
|
/**
|
|
818
818
|
* Search query.
|
|
@@ -822,18 +822,18 @@ export interface PoliciesApiListPoliciesRequest {
|
|
|
822
822
|
readonly search?: string
|
|
823
823
|
|
|
824
824
|
/**
|
|
825
|
-
*
|
|
826
|
-
* @type {
|
|
825
|
+
* Order allowing you to specify the desired order of entities retrieved from the server.
|
|
826
|
+
* @type {'policyNumber' | 'createdAt'}
|
|
827
827
|
* @memberof PoliciesApiListPolicies
|
|
828
828
|
*/
|
|
829
|
-
readonly order?:
|
|
829
|
+
readonly order?: 'policyNumber' | 'createdAt'
|
|
830
830
|
|
|
831
831
|
/**
|
|
832
832
|
* You can expand policy versions list in this endpoint. By default, versions will be an empty array.
|
|
833
|
-
* @type {
|
|
833
|
+
* @type {'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas'}
|
|
834
834
|
* @memberof PoliciesApiListPolicies
|
|
835
835
|
*/
|
|
836
|
-
readonly expand?:
|
|
836
|
+
readonly expand?: 'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas'
|
|
837
837
|
}
|
|
838
838
|
|
|
839
839
|
/**
|
|
@@ -42,11 +42,11 @@ export declare const PoliciesApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
42
42
|
* @summary Retrieve the policy
|
|
43
43
|
* @param {string} code Unique identifier for the object.
|
|
44
44
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
45
|
-
* @param {
|
|
45
|
+
* @param {'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas'} [expand] You can expand policy in this endpoint. By default, versions will be an empty array.
|
|
46
46
|
* @param {*} [options] Override http request option.
|
|
47
47
|
* @throws {RequiredError}
|
|
48
48
|
*/
|
|
49
|
-
getPolicy: (code: string, authorization?: string, expand?:
|
|
49
|
+
getPolicy: (code: string, authorization?: string, expand?: 'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas', options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
50
50
|
/**
|
|
51
51
|
* This endpoint will return the current version of the policy. It is possible to filter the response by a specific date and the system will return the valid data that was (or will be) at the provided date.
|
|
52
52
|
* @summary Retrieve current policy version
|
|
@@ -63,14 +63,14 @@ export declare const PoliciesApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
63
63
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
64
64
|
* @param {number} [pageSize] Page size.
|
|
65
65
|
* @param {string} [pageToken] Page token.
|
|
66
|
-
* @param {
|
|
66
|
+
* @param {'code' | 'policyNumber' | 'accountCode' | 'statuses' | 'productName' | 'productType' | 'createdAt' | 'policyStartDate' | 'policyData'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
67
67
|
* @param {string} [search] Search query.
|
|
68
|
-
* @param {
|
|
69
|
-
* @param {
|
|
68
|
+
* @param {'policyNumber' | 'createdAt'} [order] Order allowing you to specify the desired order of entities retrieved from the server.
|
|
69
|
+
* @param {'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas'} [expand] You can expand policy versions list in this endpoint. By default, versions will be an empty array.
|
|
70
70
|
* @param {*} [options] Override http request option.
|
|
71
71
|
* @throws {RequiredError}
|
|
72
72
|
*/
|
|
73
|
-
listPolicies: (authorization?: string, pageSize?: number, pageToken?: string, filter?:
|
|
73
|
+
listPolicies: (authorization?: string, pageSize?: number, pageToken?: string, filter?: 'code' | 'policyNumber' | 'accountCode' | 'statuses' | 'productName' | 'productType' | 'createdAt' | 'policyStartDate' | 'policyData', search?: string, order?: 'policyNumber' | 'createdAt', expand?: 'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas', options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
74
74
|
/**
|
|
75
75
|
* Request to suspend an existing policy by tenant.
|
|
76
76
|
* @summary Suspend a policy by tenant
|
|
@@ -131,11 +131,11 @@ export declare const PoliciesApiFp: (configuration?: Configuration) => {
|
|
|
131
131
|
* @summary Retrieve the policy
|
|
132
132
|
* @param {string} code Unique identifier for the object.
|
|
133
133
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
134
|
-
* @param {
|
|
134
|
+
* @param {'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas'} [expand] You can expand policy in this endpoint. By default, versions will be an empty array.
|
|
135
135
|
* @param {*} [options] Override http request option.
|
|
136
136
|
* @throws {RequiredError}
|
|
137
137
|
*/
|
|
138
|
-
getPolicy(code: string, authorization?: string, expand?:
|
|
138
|
+
getPolicy(code: string, authorization?: string, expand?: 'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPolicyResponseClass>>;
|
|
139
139
|
/**
|
|
140
140
|
* This endpoint will return the current version of the policy. It is possible to filter the response by a specific date and the system will return the valid data that was (or will be) at the provided date.
|
|
141
141
|
* @summary Retrieve current policy version
|
|
@@ -152,14 +152,14 @@ export declare const PoliciesApiFp: (configuration?: Configuration) => {
|
|
|
152
152
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
153
153
|
* @param {number} [pageSize] Page size.
|
|
154
154
|
* @param {string} [pageToken] Page token.
|
|
155
|
-
* @param {
|
|
155
|
+
* @param {'code' | 'policyNumber' | 'accountCode' | 'statuses' | 'productName' | 'productType' | 'createdAt' | 'policyStartDate' | 'policyData'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
156
156
|
* @param {string} [search] Search query.
|
|
157
|
-
* @param {
|
|
158
|
-
* @param {
|
|
157
|
+
* @param {'policyNumber' | 'createdAt'} [order] Order allowing you to specify the desired order of entities retrieved from the server.
|
|
158
|
+
* @param {'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas'} [expand] You can expand policy versions list in this endpoint. By default, versions will be an empty array.
|
|
159
159
|
* @param {*} [options] Override http request option.
|
|
160
160
|
* @throws {RequiredError}
|
|
161
161
|
*/
|
|
162
|
-
listPolicies(authorization?: string, pageSize?: number, pageToken?: string, filter?:
|
|
162
|
+
listPolicies(authorization?: string, pageSize?: number, pageToken?: string, filter?: 'code' | 'policyNumber' | 'accountCode' | 'statuses' | 'productName' | 'productType' | 'createdAt' | 'policyStartDate' | 'policyData', search?: string, order?: 'policyNumber' | 'createdAt', expand?: 'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPoliciesResponseClass>>;
|
|
163
163
|
/**
|
|
164
164
|
* Request to suspend an existing policy by tenant.
|
|
165
165
|
* @summary Suspend a policy by tenant
|
|
@@ -220,11 +220,11 @@ export declare const PoliciesApiFactory: (configuration?: Configuration, basePat
|
|
|
220
220
|
* @summary Retrieve the policy
|
|
221
221
|
* @param {string} code Unique identifier for the object.
|
|
222
222
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
223
|
-
* @param {
|
|
223
|
+
* @param {'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas'} [expand] You can expand policy in this endpoint. By default, versions will be an empty array.
|
|
224
224
|
* @param {*} [options] Override http request option.
|
|
225
225
|
* @throws {RequiredError}
|
|
226
226
|
*/
|
|
227
|
-
getPolicy(code: string, authorization?: string, expand?:
|
|
227
|
+
getPolicy(code: string, authorization?: string, expand?: 'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas', options?: any): AxiosPromise<GetPolicyResponseClass>;
|
|
228
228
|
/**
|
|
229
229
|
* This endpoint will return the current version of the policy. It is possible to filter the response by a specific date and the system will return the valid data that was (or will be) at the provided date.
|
|
230
230
|
* @summary Retrieve current policy version
|
|
@@ -241,14 +241,14 @@ export declare const PoliciesApiFactory: (configuration?: Configuration, basePat
|
|
|
241
241
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
242
242
|
* @param {number} [pageSize] Page size.
|
|
243
243
|
* @param {string} [pageToken] Page token.
|
|
244
|
-
* @param {
|
|
244
|
+
* @param {'code' | 'policyNumber' | 'accountCode' | 'statuses' | 'productName' | 'productType' | 'createdAt' | 'policyStartDate' | 'policyData'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
245
245
|
* @param {string} [search] Search query.
|
|
246
|
-
* @param {
|
|
247
|
-
* @param {
|
|
246
|
+
* @param {'policyNumber' | 'createdAt'} [order] Order allowing you to specify the desired order of entities retrieved from the server.
|
|
247
|
+
* @param {'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas'} [expand] You can expand policy versions list in this endpoint. By default, versions will be an empty array.
|
|
248
248
|
* @param {*} [options] Override http request option.
|
|
249
249
|
* @throws {RequiredError}
|
|
250
250
|
*/
|
|
251
|
-
listPolicies(authorization?: string, pageSize?: number, pageToken?: string, filter?:
|
|
251
|
+
listPolicies(authorization?: string, pageSize?: number, pageToken?: string, filter?: 'code' | 'policyNumber' | 'accountCode' | 'statuses' | 'productName' | 'productType' | 'createdAt' | 'policyStartDate' | 'policyData', search?: string, order?: 'policyNumber' | 'createdAt', expand?: 'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas', options?: any): AxiosPromise<ListPoliciesResponseClass>;
|
|
252
252
|
/**
|
|
253
253
|
* Request to suspend an existing policy by tenant.
|
|
254
254
|
* @summary Suspend a policy by tenant
|
|
@@ -328,11 +328,11 @@ export interface PoliciesApiGetPolicyRequest {
|
|
|
328
328
|
*/
|
|
329
329
|
readonly authorization?: string;
|
|
330
330
|
/**
|
|
331
|
-
*
|
|
332
|
-
* @type {
|
|
331
|
+
* You can expand policy in this endpoint. By default, versions will be an empty array.
|
|
332
|
+
* @type {'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas'}
|
|
333
333
|
* @memberof PoliciesApiGetPolicy
|
|
334
334
|
*/
|
|
335
|
-
readonly expand?:
|
|
335
|
+
readonly expand?: 'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas';
|
|
336
336
|
}
|
|
337
337
|
/**
|
|
338
338
|
* Request parameters for getPolicyDataByDate operation in PoliciesApi.
|
|
@@ -384,11 +384,11 @@ export interface PoliciesApiListPoliciesRequest {
|
|
|
384
384
|
*/
|
|
385
385
|
readonly pageToken?: string;
|
|
386
386
|
/**
|
|
387
|
-
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
388
|
-
* @type {
|
|
387
|
+
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
388
|
+
* @type {'code' | 'policyNumber' | 'accountCode' | 'statuses' | 'productName' | 'productType' | 'createdAt' | 'policyStartDate' | 'policyData'}
|
|
389
389
|
* @memberof PoliciesApiListPolicies
|
|
390
390
|
*/
|
|
391
|
-
readonly filter?:
|
|
391
|
+
readonly filter?: 'code' | 'policyNumber' | 'accountCode' | 'statuses' | 'productName' | 'productType' | 'createdAt' | 'policyStartDate' | 'policyData';
|
|
392
392
|
/**
|
|
393
393
|
* Search query.
|
|
394
394
|
* @type {string}
|
|
@@ -396,17 +396,17 @@ export interface PoliciesApiListPoliciesRequest {
|
|
|
396
396
|
*/
|
|
397
397
|
readonly search?: string;
|
|
398
398
|
/**
|
|
399
|
-
*
|
|
400
|
-
* @type {
|
|
399
|
+
* Order allowing you to specify the desired order of entities retrieved from the server.
|
|
400
|
+
* @type {'policyNumber' | 'createdAt'}
|
|
401
401
|
* @memberof PoliciesApiListPolicies
|
|
402
402
|
*/
|
|
403
|
-
readonly order?:
|
|
403
|
+
readonly order?: 'policyNumber' | 'createdAt';
|
|
404
404
|
/**
|
|
405
405
|
* You can expand policy versions list in this endpoint. By default, versions will be an empty array.
|
|
406
|
-
* @type {
|
|
406
|
+
* @type {'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas'}
|
|
407
407
|
* @memberof PoliciesApiListPolicies
|
|
408
408
|
*/
|
|
409
|
-
readonly expand?:
|
|
409
|
+
readonly expand?: 'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas';
|
|
410
410
|
}
|
|
411
411
|
/**
|
|
412
412
|
* Request parameters for suspendPolicy operation in PoliciesApi.
|
package/dist/api/policies-api.js
CHANGED
|
@@ -150,7 +150,7 @@ var PoliciesApiAxiosParamCreator = function (configuration) {
|
|
|
150
150
|
* @summary Retrieve the policy
|
|
151
151
|
* @param {string} code Unique identifier for the object.
|
|
152
152
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
153
|
-
* @param {
|
|
153
|
+
* @param {'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas'} [expand] You can expand policy in this endpoint. By default, versions will be an empty array.
|
|
154
154
|
* @param {*} [options] Override http request option.
|
|
155
155
|
* @throws {RequiredError}
|
|
156
156
|
*/
|
|
@@ -255,10 +255,10 @@ var PoliciesApiAxiosParamCreator = function (configuration) {
|
|
|
255
255
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
256
256
|
* @param {number} [pageSize] Page size.
|
|
257
257
|
* @param {string} [pageToken] Page token.
|
|
258
|
-
* @param {
|
|
258
|
+
* @param {'code' | 'policyNumber' | 'accountCode' | 'statuses' | 'productName' | 'productType' | 'createdAt' | 'policyStartDate' | 'policyData'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
259
259
|
* @param {string} [search] Search query.
|
|
260
|
-
* @param {
|
|
261
|
-
* @param {
|
|
260
|
+
* @param {'policyNumber' | 'createdAt'} [order] Order allowing you to specify the desired order of entities retrieved from the server.
|
|
261
|
+
* @param {'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas'} [expand] You can expand policy versions list in this endpoint. By default, versions will be an empty array.
|
|
262
262
|
* @param {*} [options] Override http request option.
|
|
263
263
|
* @throws {RequiredError}
|
|
264
264
|
*/
|
|
@@ -565,7 +565,7 @@ var PoliciesApiFp = function (configuration) {
|
|
|
565
565
|
* @summary Retrieve the policy
|
|
566
566
|
* @param {string} code Unique identifier for the object.
|
|
567
567
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
568
|
-
* @param {
|
|
568
|
+
* @param {'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas'} [expand] You can expand policy in this endpoint. By default, versions will be an empty array.
|
|
569
569
|
* @param {*} [options] Override http request option.
|
|
570
570
|
* @throws {RequiredError}
|
|
571
571
|
*/
|
|
@@ -610,10 +610,10 @@ var PoliciesApiFp = function (configuration) {
|
|
|
610
610
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
611
611
|
* @param {number} [pageSize] Page size.
|
|
612
612
|
* @param {string} [pageToken] Page token.
|
|
613
|
-
* @param {
|
|
613
|
+
* @param {'code' | 'policyNumber' | 'accountCode' | 'statuses' | 'productName' | 'productType' | 'createdAt' | 'policyStartDate' | 'policyData'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
614
614
|
* @param {string} [search] Search query.
|
|
615
|
-
* @param {
|
|
616
|
-
* @param {
|
|
615
|
+
* @param {'policyNumber' | 'createdAt'} [order] Order allowing you to specify the desired order of entities retrieved from the server.
|
|
616
|
+
* @param {'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas'} [expand] You can expand policy versions list in this endpoint. By default, versions will be an empty array.
|
|
617
617
|
* @param {*} [options] Override http request option.
|
|
618
618
|
* @throws {RequiredError}
|
|
619
619
|
*/
|
|
@@ -744,7 +744,7 @@ var PoliciesApiFactory = function (configuration, basePath, axios) {
|
|
|
744
744
|
* @summary Retrieve the policy
|
|
745
745
|
* @param {string} code Unique identifier for the object.
|
|
746
746
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
747
|
-
* @param {
|
|
747
|
+
* @param {'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas'} [expand] You can expand policy in this endpoint. By default, versions will be an empty array.
|
|
748
748
|
* @param {*} [options] Override http request option.
|
|
749
749
|
* @throws {RequiredError}
|
|
750
750
|
*/
|
|
@@ -769,10 +769,10 @@ var PoliciesApiFactory = function (configuration, basePath, axios) {
|
|
|
769
769
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
770
770
|
* @param {number} [pageSize] Page size.
|
|
771
771
|
* @param {string} [pageToken] Page token.
|
|
772
|
-
* @param {
|
|
772
|
+
* @param {'code' | 'policyNumber' | 'accountCode' | 'statuses' | 'productName' | 'productType' | 'createdAt' | 'policyStartDate' | 'policyData'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
773
773
|
* @param {string} [search] Search query.
|
|
774
|
-
* @param {
|
|
775
|
-
* @param {
|
|
774
|
+
* @param {'policyNumber' | 'createdAt'} [order] Order allowing you to specify the desired order of entities retrieved from the server.
|
|
775
|
+
* @param {'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas'} [expand] You can expand policy versions list in this endpoint. By default, versions will be an empty array.
|
|
776
776
|
* @param {*} [options] Override http request option.
|
|
777
777
|
* @throws {RequiredError}
|
|
778
778
|
*/
|
package/dist/models/index.d.ts
CHANGED
|
@@ -20,7 +20,6 @@ export * from './create-product-field-response-class';
|
|
|
20
20
|
export * from './create-product-request-dto';
|
|
21
21
|
export * from './create-product-response-class';
|
|
22
22
|
export * from './csv-product-factor-dto';
|
|
23
|
-
export * from './currency-class';
|
|
24
23
|
export * from './delete-request-dto';
|
|
25
24
|
export * from './delete-response-class';
|
|
26
25
|
export * from './get-insured-object-response-class';
|
package/dist/models/index.js
CHANGED
|
@@ -36,7 +36,6 @@ __exportStar(require("./create-product-field-response-class"), exports);
|
|
|
36
36
|
__exportStar(require("./create-product-request-dto"), exports);
|
|
37
37
|
__exportStar(require("./create-product-response-class"), exports);
|
|
38
38
|
__exportStar(require("./csv-product-factor-dto"), exports);
|
|
39
|
-
__exportStar(require("./currency-class"), exports);
|
|
40
39
|
__exportStar(require("./delete-request-dto"), exports);
|
|
41
40
|
__exportStar(require("./delete-response-class"), exports);
|
|
42
41
|
__exportStar(require("./get-insured-object-response-class"), exports);
|
|
@@ -120,7 +120,7 @@ export interface PolicyClass {
|
|
|
120
120
|
*/
|
|
121
121
|
'leadCode'?: string;
|
|
122
122
|
/**
|
|
123
|
-
* ERN
|
|
123
|
+
* Emil Resources Names (ERN) identifies the most specific owner of a resource.
|
|
124
124
|
* @type {string}
|
|
125
125
|
* @memberof PolicyClass
|
|
126
126
|
*/
|
|
@@ -21,6 +21,12 @@ export interface PolicyObjectClass {
|
|
|
21
21
|
* @memberof PolicyObjectClass
|
|
22
22
|
*/
|
|
23
23
|
'insuredObjectId': number;
|
|
24
|
+
/**
|
|
25
|
+
* Unique identifier for the object.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PolicyObjectClass
|
|
28
|
+
*/
|
|
29
|
+
'code': string;
|
|
24
30
|
/**
|
|
25
31
|
* Insured object name.
|
|
26
32
|
* @type {string}
|
|
@@ -28,6 +28,12 @@ export interface PolicyPremiumClass {
|
|
|
28
28
|
* @memberof PolicyPremiumClass
|
|
29
29
|
*/
|
|
30
30
|
'grandTotal': number;
|
|
31
|
+
/**
|
|
32
|
+
* Premium policy currency. EUR is used by default.
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof PolicyPremiumClass
|
|
35
|
+
*/
|
|
36
|
+
'currency': string;
|
|
31
37
|
/**
|
|
32
38
|
* Time at which the object was created.
|
|
33
39
|
* @type {string}
|
|
@@ -9,7 +9,6 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { CurrencyClass } from './currency-class';
|
|
13
12
|
import { InvoiceItemClass } from './invoice-item-class';
|
|
14
13
|
import { InvoiceStatusClass } from './invoice-status-class';
|
|
15
14
|
/**
|
|
@@ -128,10 +127,10 @@ export interface SharedInvoiceClass {
|
|
|
128
127
|
'statuses': Array<InvoiceStatusClass>;
|
|
129
128
|
/**
|
|
130
129
|
* Invoice currency. EUR is used by default.
|
|
131
|
-
* @type {
|
|
130
|
+
* @type {string}
|
|
132
131
|
* @memberof SharedInvoiceClass
|
|
133
132
|
*/
|
|
134
|
-
'currency':
|
|
133
|
+
'currency': string;
|
|
135
134
|
}
|
|
136
135
|
export declare const SharedInvoiceClassTypeEnum: {
|
|
137
136
|
readonly Initial: "initial";
|
package/models/index.ts
CHANGED
|
@@ -20,7 +20,6 @@ export * from './create-product-field-response-class';
|
|
|
20
20
|
export * from './create-product-request-dto';
|
|
21
21
|
export * from './create-product-response-class';
|
|
22
22
|
export * from './csv-product-factor-dto';
|
|
23
|
-
export * from './currency-class';
|
|
24
23
|
export * from './delete-request-dto';
|
|
25
24
|
export * from './delete-response-class';
|
|
26
25
|
export * from './get-insured-object-response-class';
|
package/models/lead-class.ts
CHANGED
package/models/policy-class.ts
CHANGED
|
@@ -125,7 +125,7 @@ export interface PolicyClass {
|
|
|
125
125
|
*/
|
|
126
126
|
'leadCode'?: string;
|
|
127
127
|
/**
|
|
128
|
-
* ERN
|
|
128
|
+
* Emil Resources Names (ERN) identifies the most specific owner of a resource.
|
|
129
129
|
* @type {string}
|
|
130
130
|
* @memberof PolicyClass
|
|
131
131
|
*/
|
|
@@ -26,6 +26,12 @@ export interface PolicyObjectClass {
|
|
|
26
26
|
* @memberof PolicyObjectClass
|
|
27
27
|
*/
|
|
28
28
|
'insuredObjectId': number;
|
|
29
|
+
/**
|
|
30
|
+
* Unique identifier for the object.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof PolicyObjectClass
|
|
33
|
+
*/
|
|
34
|
+
'code': string;
|
|
29
35
|
/**
|
|
30
36
|
* Insured object name.
|
|
31
37
|
* @type {string}
|
|
@@ -33,6 +33,12 @@ export interface PolicyPremiumClass {
|
|
|
33
33
|
* @memberof PolicyPremiumClass
|
|
34
34
|
*/
|
|
35
35
|
'grandTotal': number;
|
|
36
|
+
/**
|
|
37
|
+
* Premium policy currency. EUR is used by default.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof PolicyPremiumClass
|
|
40
|
+
*/
|
|
41
|
+
'currency': string;
|
|
36
42
|
/**
|
|
37
43
|
* Time at which the object was created.
|
|
38
44
|
* @type {string}
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
import { CurrencyClass } from './currency-class';
|
|
17
16
|
import { InvoiceItemClass } from './invoice-item-class';
|
|
18
17
|
import { InvoiceStatusClass } from './invoice-status-class';
|
|
19
18
|
|
|
@@ -133,10 +132,10 @@ export interface SharedInvoiceClass {
|
|
|
133
132
|
'statuses': Array<InvoiceStatusClass>;
|
|
134
133
|
/**
|
|
135
134
|
* Invoice currency. EUR is used by default.
|
|
136
|
-
* @type {
|
|
135
|
+
* @type {string}
|
|
137
136
|
* @memberof SharedInvoiceClass
|
|
138
137
|
*/
|
|
139
|
-
'currency':
|
|
138
|
+
'currency': string;
|
|
140
139
|
}
|
|
141
140
|
|
|
142
141
|
export const SharedInvoiceClassTypeEnum = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@emilgroup/insurance-sdk-node",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.16.0",
|
|
4
4
|
"description": "OpenAPI client for @emilgroup/insurance-sdk-node",
|
|
5
5
|
"author": "OpenAPI-Generator Contributors",
|
|
6
6
|
"keywords": [
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"url": "^0.11.0"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
|
|
26
|
+
"@types/node": "^12.11.5",
|
|
27
27
|
"typescript": "^4.0"
|
|
28
28
|
}
|
|
29
29
|
}
|
|
@@ -1,48 +0,0 @@
|
|
|
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
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface CurrencyClass
|
|
16
|
-
*/
|
|
17
|
-
export interface CurrencyClass {
|
|
18
|
-
/**
|
|
19
|
-
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof CurrencyClass
|
|
22
|
-
*/
|
|
23
|
-
'id': number;
|
|
24
|
-
/**
|
|
25
|
-
* Name of currency in English.
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof CurrencyClass
|
|
28
|
-
*/
|
|
29
|
-
'name': string;
|
|
30
|
-
/**
|
|
31
|
-
* Name of currency in native language.
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof CurrencyClass
|
|
34
|
-
*/
|
|
35
|
-
'nativeName': string;
|
|
36
|
-
/**
|
|
37
|
-
* Code defined by ISO 4217 standard.
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof CurrencyClass
|
|
40
|
-
*/
|
|
41
|
-
'code': string;
|
|
42
|
-
/**
|
|
43
|
-
* Currency symbols are graphical representations used to denote a particular currency in written or printed form.
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof CurrencyClass
|
|
46
|
-
*/
|
|
47
|
-
'symbol': string;
|
|
48
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* EMIL InsuranceService
|
|
6
|
-
* The EMIL InsuranceService API description
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0
|
|
9
|
-
* Contact: kontakt@emil.de
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
package/models/currency-class.ts
DELETED
|
@@ -1,54 +0,0 @@
|
|
|
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
|
-
|
|
17
|
-
/**
|
|
18
|
-
*
|
|
19
|
-
* @export
|
|
20
|
-
* @interface CurrencyClass
|
|
21
|
-
*/
|
|
22
|
-
export interface CurrencyClass {
|
|
23
|
-
/**
|
|
24
|
-
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
25
|
-
* @type {number}
|
|
26
|
-
* @memberof CurrencyClass
|
|
27
|
-
*/
|
|
28
|
-
'id': number;
|
|
29
|
-
/**
|
|
30
|
-
* Name of currency in English.
|
|
31
|
-
* @type {string}
|
|
32
|
-
* @memberof CurrencyClass
|
|
33
|
-
*/
|
|
34
|
-
'name': string;
|
|
35
|
-
/**
|
|
36
|
-
* Name of currency in native language.
|
|
37
|
-
* @type {string}
|
|
38
|
-
* @memberof CurrencyClass
|
|
39
|
-
*/
|
|
40
|
-
'nativeName': string;
|
|
41
|
-
/**
|
|
42
|
-
* Code defined by ISO 4217 standard.
|
|
43
|
-
* @type {string}
|
|
44
|
-
* @memberof CurrencyClass
|
|
45
|
-
*/
|
|
46
|
-
'code': string;
|
|
47
|
-
/**
|
|
48
|
-
* Currency symbols are graphical representations used to denote a particular currency in written or printed form.
|
|
49
|
-
* @type {string}
|
|
50
|
-
* @memberof CurrencyClass
|
|
51
|
-
*/
|
|
52
|
-
'symbol': string;
|
|
53
|
-
}
|
|
54
|
-
|