@emilgroup/insurance-sdk 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 +1 -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@1.
|
|
20
|
+
npm install @emilgroup/insurance-sdk@1.16.0 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/insurance-sdk@1.
|
|
24
|
+
yarn add @emilgroup/insurance-sdk@1.16.0
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `PoliciesApi`.
|
package/api/policies-api.ts
CHANGED
|
@@ -100,11 +100,11 @@ export const PoliciesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
100
100
|
* @summary Retrieve the policy
|
|
101
101
|
* @param {string} code Unique identifier for the object.
|
|
102
102
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
103
|
-
* @param {
|
|
103
|
+
* @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.
|
|
104
104
|
* @param {*} [options] Override http request option.
|
|
105
105
|
* @throws {RequiredError}
|
|
106
106
|
*/
|
|
107
|
-
getPolicy: async (code: string, authorization?: string, expand?:
|
|
107
|
+
getPolicy: async (code: string, authorization?: string, expand?: 'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas', options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
108
108
|
// verify required parameter 'code' is not null or undefined
|
|
109
109
|
assertParamExists('getPolicy', 'code', code)
|
|
110
110
|
const localVarPath = `/insuranceservice/v1/policies/{code}`
|
|
@@ -201,14 +201,14 @@ export const PoliciesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
201
201
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
202
202
|
* @param {number} [pageSize] Page size.
|
|
203
203
|
* @param {string} [pageToken] Page token.
|
|
204
|
-
* @param {
|
|
204
|
+
* @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.
|
|
205
205
|
* @param {string} [search] Search query.
|
|
206
|
-
* @param {
|
|
207
|
-
* @param {
|
|
206
|
+
* @param {'policyNumber' | 'createdAt'} [order] Order allowing you to specify the desired order of entities retrieved from the server.
|
|
207
|
+
* @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.
|
|
208
208
|
* @param {*} [options] Override http request option.
|
|
209
209
|
* @throws {RequiredError}
|
|
210
210
|
*/
|
|
211
|
-
listPolicies: async (authorization?: string, pageSize?: number, pageToken?: string, filter?:
|
|
211
|
+
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> => {
|
|
212
212
|
const localVarPath = `/insuranceservice/v1/policies`;
|
|
213
213
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
214
214
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -497,11 +497,11 @@ export const PoliciesApiFp = function(configuration?: Configuration) {
|
|
|
497
497
|
* @summary Retrieve the policy
|
|
498
498
|
* @param {string} code Unique identifier for the object.
|
|
499
499
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
500
|
-
* @param {
|
|
500
|
+
* @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.
|
|
501
501
|
* @param {*} [options] Override http request option.
|
|
502
502
|
* @throws {RequiredError}
|
|
503
503
|
*/
|
|
504
|
-
async getPolicy(code: string, authorization?: string, expand?:
|
|
504
|
+
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>> {
|
|
505
505
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getPolicy(code, authorization, expand, options);
|
|
506
506
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
507
507
|
},
|
|
@@ -524,14 +524,14 @@ export const PoliciesApiFp = function(configuration?: Configuration) {
|
|
|
524
524
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
525
525
|
* @param {number} [pageSize] Page size.
|
|
526
526
|
* @param {string} [pageToken] Page token.
|
|
527
|
-
* @param {
|
|
527
|
+
* @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.
|
|
528
528
|
* @param {string} [search] Search query.
|
|
529
|
-
* @param {
|
|
530
|
-
* @param {
|
|
529
|
+
* @param {'policyNumber' | 'createdAt'} [order] Order allowing you to specify the desired order of entities retrieved from the server.
|
|
530
|
+
* @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.
|
|
531
531
|
* @param {*} [options] Override http request option.
|
|
532
532
|
* @throws {RequiredError}
|
|
533
533
|
*/
|
|
534
|
-
async listPolicies(authorization?: string, pageSize?: number, pageToken?: string, filter?:
|
|
534
|
+
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>> {
|
|
535
535
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listPolicies(authorization, pageSize, pageToken, filter, search, order, expand, options);
|
|
536
536
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
537
537
|
},
|
|
@@ -613,11 +613,11 @@ export const PoliciesApiFactory = function (configuration?: Configuration, baseP
|
|
|
613
613
|
* @summary Retrieve the policy
|
|
614
614
|
* @param {string} code Unique identifier for the object.
|
|
615
615
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
616
|
-
* @param {
|
|
616
|
+
* @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.
|
|
617
617
|
* @param {*} [options] Override http request option.
|
|
618
618
|
* @throws {RequiredError}
|
|
619
619
|
*/
|
|
620
|
-
getPolicy(code: string, authorization?: string, expand?:
|
|
620
|
+
getPolicy(code: string, authorization?: string, expand?: 'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas', options?: any): AxiosPromise<GetPolicyResponseClass> {
|
|
621
621
|
return localVarFp.getPolicy(code, authorization, expand, options).then((request) => request(axios, basePath));
|
|
622
622
|
},
|
|
623
623
|
/**
|
|
@@ -638,14 +638,14 @@ export const PoliciesApiFactory = function (configuration?: Configuration, baseP
|
|
|
638
638
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
639
639
|
* @param {number} [pageSize] Page size.
|
|
640
640
|
* @param {string} [pageToken] Page token.
|
|
641
|
-
* @param {
|
|
641
|
+
* @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.
|
|
642
642
|
* @param {string} [search] Search query.
|
|
643
|
-
* @param {
|
|
644
|
-
* @param {
|
|
643
|
+
* @param {'policyNumber' | 'createdAt'} [order] Order allowing you to specify the desired order of entities retrieved from the server.
|
|
644
|
+
* @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.
|
|
645
645
|
* @param {*} [options] Override http request option.
|
|
646
646
|
* @throws {RequiredError}
|
|
647
647
|
*/
|
|
648
|
-
listPolicies(authorization?: string, pageSize?: number, pageToken?: string, filter?:
|
|
648
|
+
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> {
|
|
649
649
|
return localVarFp.listPolicies(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
|
|
650
650
|
},
|
|
651
651
|
/**
|
|
@@ -741,11 +741,11 @@ export interface PoliciesApiGetPolicyRequest {
|
|
|
741
741
|
readonly authorization?: string
|
|
742
742
|
|
|
743
743
|
/**
|
|
744
|
-
*
|
|
745
|
-
* @type {
|
|
744
|
+
* You can expand policy in this endpoint. By default, versions will be an empty array.
|
|
745
|
+
* @type {'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas'}
|
|
746
746
|
* @memberof PoliciesApiGetPolicy
|
|
747
747
|
*/
|
|
748
|
-
readonly expand?:
|
|
748
|
+
readonly expand?: 'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas'
|
|
749
749
|
}
|
|
750
750
|
|
|
751
751
|
/**
|
|
@@ -804,11 +804,11 @@ export interface PoliciesApiListPoliciesRequest {
|
|
|
804
804
|
readonly pageToken?: string
|
|
805
805
|
|
|
806
806
|
/**
|
|
807
|
-
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
808
|
-
* @type {
|
|
807
|
+
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
808
|
+
* @type {'code' | 'policyNumber' | 'accountCode' | 'statuses' | 'productName' | 'productType' | 'createdAt' | 'policyStartDate' | 'policyData'}
|
|
809
809
|
* @memberof PoliciesApiListPolicies
|
|
810
810
|
*/
|
|
811
|
-
readonly filter?:
|
|
811
|
+
readonly filter?: 'code' | 'policyNumber' | 'accountCode' | 'statuses' | 'productName' | 'productType' | 'createdAt' | 'policyStartDate' | 'policyData'
|
|
812
812
|
|
|
813
813
|
/**
|
|
814
814
|
* Search query.
|
|
@@ -818,18 +818,18 @@ export interface PoliciesApiListPoliciesRequest {
|
|
|
818
818
|
readonly search?: string
|
|
819
819
|
|
|
820
820
|
/**
|
|
821
|
-
*
|
|
822
|
-
* @type {
|
|
821
|
+
* Order allowing you to specify the desired order of entities retrieved from the server.
|
|
822
|
+
* @type {'policyNumber' | 'createdAt'}
|
|
823
823
|
* @memberof PoliciesApiListPolicies
|
|
824
824
|
*/
|
|
825
|
-
readonly order?:
|
|
825
|
+
readonly order?: 'policyNumber' | 'createdAt'
|
|
826
826
|
|
|
827
827
|
/**
|
|
828
828
|
* You can expand policy versions list in this endpoint. By default, versions will be an empty array.
|
|
829
|
-
* @type {
|
|
829
|
+
* @type {'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas'}
|
|
830
830
|
* @memberof PoliciesApiListPolicies
|
|
831
831
|
*/
|
|
832
|
-
readonly expand?:
|
|
832
|
+
readonly expand?: 'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas'
|
|
833
833
|
}
|
|
834
834
|
|
|
835
835
|
/**
|
|
@@ -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
|
@@ -146,7 +146,7 @@ var PoliciesApiAxiosParamCreator = function (configuration) {
|
|
|
146
146
|
* @summary Retrieve the policy
|
|
147
147
|
* @param {string} code Unique identifier for the object.
|
|
148
148
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
149
|
-
* @param {
|
|
149
|
+
* @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.
|
|
150
150
|
* @param {*} [options] Override http request option.
|
|
151
151
|
* @throws {RequiredError}
|
|
152
152
|
*/
|
|
@@ -251,10 +251,10 @@ var PoliciesApiAxiosParamCreator = function (configuration) {
|
|
|
251
251
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
252
252
|
* @param {number} [pageSize] Page size.
|
|
253
253
|
* @param {string} [pageToken] Page token.
|
|
254
|
-
* @param {
|
|
254
|
+
* @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.
|
|
255
255
|
* @param {string} [search] Search query.
|
|
256
|
-
* @param {
|
|
257
|
-
* @param {
|
|
256
|
+
* @param {'policyNumber' | 'createdAt'} [order] Order allowing you to specify the desired order of entities retrieved from the server.
|
|
257
|
+
* @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.
|
|
258
258
|
* @param {*} [options] Override http request option.
|
|
259
259
|
* @throws {RequiredError}
|
|
260
260
|
*/
|
|
@@ -561,7 +561,7 @@ var PoliciesApiFp = function (configuration) {
|
|
|
561
561
|
* @summary Retrieve the policy
|
|
562
562
|
* @param {string} code Unique identifier for the object.
|
|
563
563
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
564
|
-
* @param {
|
|
564
|
+
* @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.
|
|
565
565
|
* @param {*} [options] Override http request option.
|
|
566
566
|
* @throws {RequiredError}
|
|
567
567
|
*/
|
|
@@ -606,10 +606,10 @@ var PoliciesApiFp = function (configuration) {
|
|
|
606
606
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
607
607
|
* @param {number} [pageSize] Page size.
|
|
608
608
|
* @param {string} [pageToken] Page token.
|
|
609
|
-
* @param {
|
|
609
|
+
* @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.
|
|
610
610
|
* @param {string} [search] Search query.
|
|
611
|
-
* @param {
|
|
612
|
-
* @param {
|
|
611
|
+
* @param {'policyNumber' | 'createdAt'} [order] Order allowing you to specify the desired order of entities retrieved from the server.
|
|
612
|
+
* @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.
|
|
613
613
|
* @param {*} [options] Override http request option.
|
|
614
614
|
* @throws {RequiredError}
|
|
615
615
|
*/
|
|
@@ -740,7 +740,7 @@ var PoliciesApiFactory = function (configuration, basePath, axios) {
|
|
|
740
740
|
* @summary Retrieve the policy
|
|
741
741
|
* @param {string} code Unique identifier for the object.
|
|
742
742
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
743
|
-
* @param {
|
|
743
|
+
* @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.
|
|
744
744
|
* @param {*} [options] Override http request option.
|
|
745
745
|
* @throws {RequiredError}
|
|
746
746
|
*/
|
|
@@ -765,10 +765,10 @@ var PoliciesApiFactory = function (configuration, basePath, axios) {
|
|
|
765
765
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
766
766
|
* @param {number} [pageSize] Page size.
|
|
767
767
|
* @param {string} [pageToken] Page token.
|
|
768
|
-
* @param {
|
|
768
|
+
* @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.
|
|
769
769
|
* @param {string} [search] Search query.
|
|
770
|
-
* @param {
|
|
771
|
-
* @param {
|
|
770
|
+
* @param {'policyNumber' | 'createdAt'} [order] Order allowing you to specify the desired order of entities retrieved from the server.
|
|
771
|
+
* @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.
|
|
772
772
|
* @param {*} [options] Override http request option.
|
|
773
773
|
* @throws {RequiredError}
|
|
774
774
|
*/
|
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",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.16.0",
|
|
4
4
|
"description": "OpenAPI client for @emilgroup/insurance-sdk",
|
|
5
5
|
"author": "OpenAPI-Generator Contributors",
|
|
6
6
|
"keywords": [
|
|
@@ -21,7 +21,6 @@
|
|
|
21
21
|
"axios": "^0.27.2"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
|
|
25
24
|
"typescript": "^4.0"
|
|
26
25
|
}
|
|
27
26
|
}
|
|
@@ -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
|
-
|