@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.
@@ -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.14.0 --save
20
+ npm install @emilgroup/insurance-sdk@1.16.0 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/insurance-sdk@1.14.0
24
+ yarn add @emilgroup/insurance-sdk@1.16.0
25
25
  ```
26
26
 
27
27
  And then you can import `PoliciesApi`.
@@ -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 {string} [expand] Fields to expand response by.
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?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
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 {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time. Parameters: **code**, **policyNumber**, **accountCode**, **statuses**, **productName**, **productType**, **policyData**, **createdAt**, **policyStartDate**.
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 {string} [order] Ordering criteria.
207
- * @param {string} [expand] You can expand policy versions list in this endpoint. By default, versions will be an empty array.
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?: string, search?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
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 {string} [expand] Fields to expand response by.
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?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPolicyResponseClass>> {
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 {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time. Parameters: **code**, **policyNumber**, **accountCode**, **statuses**, **productName**, **productType**, **policyData**, **createdAt**, **policyStartDate**.
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 {string} [order] Ordering criteria.
530
- * @param {string} [expand] You can expand policy versions list in this endpoint. By default, versions will be an empty array.
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?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPoliciesResponseClass>> {
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 {string} [expand] Fields to expand response by.
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?: string, options?: any): AxiosPromise<GetPolicyResponseClass> {
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 {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time. Parameters: **code**, **policyNumber**, **accountCode**, **statuses**, **productName**, **productType**, **policyData**, **createdAt**, **policyStartDate**.
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 {string} [order] Ordering criteria.
644
- * @param {string} [expand] You can expand policy versions list in this endpoint. By default, versions will be an empty array.
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?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListPoliciesResponseClass> {
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
- * Fields to expand response by.
745
- * @type {string}
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?: string
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. Parameters: **code**, **policyNumber**, **accountCode**, **statuses**, **productName**, **productType**, **policyData**, **createdAt**, **policyStartDate**.
808
- * @type {string}
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?: string
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
- * Ordering criteria.
822
- * @type {string}
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?: string
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 {string}
829
+ * @type {'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas'}
830
830
  * @memberof PoliciesApiListPolicies
831
831
  */
832
- readonly expand?: string
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 {string} [expand] Fields to expand response by.
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?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
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 {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time. Parameters: **code**, **policyNumber**, **accountCode**, **statuses**, **productName**, **productType**, **policyData**, **createdAt**, **policyStartDate**.
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 {string} [order] Ordering criteria.
69
- * @param {string} [expand] You can expand policy versions list in this endpoint. By default, versions will be an empty array.
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?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
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 {string} [expand] Fields to expand response by.
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?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPolicyResponseClass>>;
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 {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time. Parameters: **code**, **policyNumber**, **accountCode**, **statuses**, **productName**, **productType**, **policyData**, **createdAt**, **policyStartDate**.
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 {string} [order] Ordering criteria.
158
- * @param {string} [expand] You can expand policy versions list in this endpoint. By default, versions will be an empty array.
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?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPoliciesResponseClass>>;
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 {string} [expand] Fields to expand response by.
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?: string, options?: any): AxiosPromise<GetPolicyResponseClass>;
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 {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time. Parameters: **code**, **policyNumber**, **accountCode**, **statuses**, **productName**, **productType**, **policyData**, **createdAt**, **policyStartDate**.
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 {string} [order] Ordering criteria.
247
- * @param {string} [expand] You can expand policy versions list in this endpoint. By default, versions will be an empty array.
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?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListPoliciesResponseClass>;
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
- * Fields to expand response by.
332
- * @type {string}
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?: string;
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. Parameters: **code**, **policyNumber**, **accountCode**, **statuses**, **productName**, **productType**, **policyData**, **createdAt**, **policyStartDate**.
388
- * @type {string}
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?: string;
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
- * Ordering criteria.
400
- * @type {string}
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?: string;
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 {string}
406
+ * @type {'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas'}
407
407
  * @memberof PoliciesApiListPolicies
408
408
  */
409
- readonly expand?: string;
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.
@@ -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 {string} [expand] Fields to expand response by.
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 {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time. Parameters: **code**, **policyNumber**, **accountCode**, **statuses**, **productName**, **productType**, **policyData**, **createdAt**, **policyStartDate**.
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 {string} [order] Ordering criteria.
257
- * @param {string} [expand] You can expand policy versions list in this endpoint. By default, versions will be an empty array.
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 {string} [expand] Fields to expand response by.
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 {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time. Parameters: **code**, **policyNumber**, **accountCode**, **statuses**, **productName**, **productType**, **policyData**, **createdAt**, **policyStartDate**.
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 {string} [order] Ordering criteria.
612
- * @param {string} [expand] You can expand policy versions list in this endpoint. By default, versions will be an empty array.
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 {string} [expand] Fields to expand response by.
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 {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time. Parameters: **code**, **policyNumber**, **accountCode**, **statuses**, **productName**, **productType**, **policyData**, **createdAt**, **policyStartDate**.
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 {string} [order] Ordering criteria.
771
- * @param {string} [expand] You can expand policy versions list in this endpoint. By default, versions will be an empty array.
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
  */
@@ -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';
@@ -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);
@@ -34,7 +34,7 @@ export interface LeadClass {
34
34
  */
35
35
  'code'?: string;
36
36
  /**
37
- * ERN of the organization that created the lead.
37
+ * Emil Resources Names (ERN) identifies the most specific owner of a resource.
38
38
  * @type {string}
39
39
  * @memberof LeadClass
40
40
  */
@@ -120,7 +120,7 @@ export interface PolicyClass {
120
120
  */
121
121
  'leadCode'?: string;
122
122
  /**
123
- * ERN of the organization that created the policy.
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}
@@ -27,4 +27,10 @@ export interface PolicyObjectDto {
27
27
  * @memberof PolicyObjectDto
28
28
  */
29
29
  'data': object;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof PolicyObjectDto
34
+ */
35
+ 'code'?: string;
30
36
  }
@@ -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 {CurrencyClass}
130
+ * @type {string}
132
131
  * @memberof SharedInvoiceClass
133
132
  */
134
- 'currency': CurrencyClass;
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';
@@ -39,7 +39,7 @@ export interface LeadClass {
39
39
  */
40
40
  'code'?: string;
41
41
  /**
42
- * ERN of the organization that created the lead.
42
+ * Emil Resources Names (ERN) identifies the most specific owner of a resource.
43
43
  * @type {string}
44
44
  * @memberof LeadClass
45
45
  */
@@ -125,7 +125,7 @@ export interface PolicyClass {
125
125
  */
126
126
  'leadCode'?: string;
127
127
  /**
128
- * ERN of the organization that created the policy.
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}
@@ -32,5 +32,11 @@ export interface PolicyObjectDto {
32
32
  * @memberof PolicyObjectDto
33
33
  */
34
34
  'data': object;
35
+ /**
36
+ *
37
+ * @type {string}
38
+ * @memberof PolicyObjectDto
39
+ */
40
+ 'code'?: string;
35
41
  }
36
42
 
@@ -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 {CurrencyClass}
135
+ * @type {string}
137
136
  * @memberof SharedInvoiceClass
138
137
  */
139
- 'currency': CurrencyClass;
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.14.0",
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 });
@@ -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
-