@emilgroup/claim-sdk 1.43.1-beta.0 → 1.43.1-beta.2
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/README.md +2 -2
- package/api/claim-limit-usages-api.ts +53 -45
- package/api/claim-partner-roles-api.ts +127 -107
- package/api/claim-partners-api.ts +103 -87
- package/api/claim-positions-api.ts +181 -153
- package/api/claim-regulations-api.ts +128 -108
- package/api/claim-statuses-api.ts +153 -129
- package/api/claims-api.ts +177 -149
- package/api/health-check-api.ts +46 -38
- package/api/settlements-api.ts +127 -107
- package/dist/api/claim-limit-usages-api.d.ts +42 -34
- package/dist/api/claim-limit-usages-api.js +37 -29
- package/dist/api/claim-partner-roles-api.d.ts +97 -77
- package/dist/api/claim-partner-roles-api.js +95 -75
- package/dist/api/claim-partners-api.d.ts +79 -63
- package/dist/api/claim-partners-api.js +76 -60
- package/dist/api/claim-positions-api.d.ts +136 -108
- package/dist/api/claim-positions-api.js +136 -108
- package/dist/api/claim-regulations-api.d.ts +98 -78
- package/dist/api/claim-regulations-api.js +95 -75
- package/dist/api/claim-statuses-api.d.ts +116 -92
- package/dist/api/claim-statuses-api.js +115 -91
- package/dist/api/claims-api.d.ts +134 -106
- package/dist/api/claims-api.js +134 -106
- package/dist/api/health-check-api.d.ts +32 -24
- package/dist/api/health-check-api.js +46 -38
- package/dist/api/settlements-api.d.ts +97 -77
- package/dist/api/settlements-api.js +95 -75
- package/package.json +1 -1
|
@@ -27,13 +27,14 @@ export declare const ClaimLimitUsagesApiAxiosParamCreator: (configuration?: Conf
|
|
|
27
27
|
* @param {*} [options] Override http request option.
|
|
28
28
|
* @throws {RequiredError}
|
|
29
29
|
*/
|
|
30
|
-
|
|
30
|
+
getClaimLimitUsage: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
31
31
|
/**
|
|
32
|
-
* This will get claim limit usage. **Required Permissions** \"claim-management.claims.view\"
|
|
32
|
+
* This will get claim limit usage. **Required Permissions** \"claim-management.claims.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
33
33
|
* @summary Retrieve the claim limit usage
|
|
34
34
|
* @param {string} code
|
|
35
35
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
36
36
|
* @param {*} [options] Override http request option.
|
|
37
|
+
* @deprecated
|
|
37
38
|
* @throws {RequiredError}
|
|
38
39
|
*/
|
|
39
40
|
getClaimLimitUsage1: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
@@ -51,9 +52,9 @@ export declare const ClaimLimitUsagesApiAxiosParamCreator: (configuration?: Conf
|
|
|
51
52
|
* @param {*} [options] Override http request option.
|
|
52
53
|
* @throws {RequiredError}
|
|
53
54
|
*/
|
|
54
|
-
|
|
55
|
+
listClaimLimitUsages: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
55
56
|
/**
|
|
56
|
-
* Retrieves a list of claim limit usages. **Required Permissions** \"claim-management.claims.view\"
|
|
57
|
+
* Retrieves a list of claim limit usages. **Required Permissions** \"claim-management.claims.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
57
58
|
* @summary List claim limit usages
|
|
58
59
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
59
60
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -64,6 +65,7 @@ export declare const ClaimLimitUsagesApiAxiosParamCreator: (configuration?: Conf
|
|
|
64
65
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
65
66
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, policyCode, type, tariffKey, categoryKey, period, claimCode, deductibleKey, periodStart, periodEnd, createdAt, updatedAt</i>
|
|
66
67
|
* @param {*} [options] Override http request option.
|
|
68
|
+
* @deprecated
|
|
67
69
|
* @throws {RequiredError}
|
|
68
70
|
*/
|
|
69
71
|
listClaimLimitUsages1: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
@@ -81,13 +83,14 @@ export declare const ClaimLimitUsagesApiFp: (configuration?: Configuration) => {
|
|
|
81
83
|
* @param {*} [options] Override http request option.
|
|
82
84
|
* @throws {RequiredError}
|
|
83
85
|
*/
|
|
84
|
-
|
|
86
|
+
getClaimLimitUsage(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClaimLimitUsageResponseClass>>;
|
|
85
87
|
/**
|
|
86
|
-
* This will get claim limit usage. **Required Permissions** \"claim-management.claims.view\"
|
|
88
|
+
* This will get claim limit usage. **Required Permissions** \"claim-management.claims.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
87
89
|
* @summary Retrieve the claim limit usage
|
|
88
90
|
* @param {string} code
|
|
89
91
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
90
92
|
* @param {*} [options] Override http request option.
|
|
93
|
+
* @deprecated
|
|
91
94
|
* @throws {RequiredError}
|
|
92
95
|
*/
|
|
93
96
|
getClaimLimitUsage1(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClaimLimitUsageResponseClass>>;
|
|
@@ -105,9 +108,9 @@ export declare const ClaimLimitUsagesApiFp: (configuration?: Configuration) => {
|
|
|
105
108
|
* @param {*} [options] Override http request option.
|
|
106
109
|
* @throws {RequiredError}
|
|
107
110
|
*/
|
|
108
|
-
|
|
111
|
+
listClaimLimitUsages(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListClaimLimitUsagesResponseClass>>;
|
|
109
112
|
/**
|
|
110
|
-
* Retrieves a list of claim limit usages. **Required Permissions** \"claim-management.claims.view\"
|
|
113
|
+
* Retrieves a list of claim limit usages. **Required Permissions** \"claim-management.claims.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
111
114
|
* @summary List claim limit usages
|
|
112
115
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
113
116
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -118,6 +121,7 @@ export declare const ClaimLimitUsagesApiFp: (configuration?: Configuration) => {
|
|
|
118
121
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
119
122
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, policyCode, type, tariffKey, categoryKey, period, claimCode, deductibleKey, periodStart, periodEnd, createdAt, updatedAt</i>
|
|
120
123
|
* @param {*} [options] Override http request option.
|
|
124
|
+
* @deprecated
|
|
121
125
|
* @throws {RequiredError}
|
|
122
126
|
*/
|
|
123
127
|
listClaimLimitUsages1(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListClaimLimitUsagesResponseClass>>;
|
|
@@ -135,13 +139,14 @@ export declare const ClaimLimitUsagesApiFactory: (configuration?: Configuration,
|
|
|
135
139
|
* @param {*} [options] Override http request option.
|
|
136
140
|
* @throws {RequiredError}
|
|
137
141
|
*/
|
|
138
|
-
|
|
142
|
+
getClaimLimitUsage(code: string, authorization?: string, options?: any): AxiosPromise<GetClaimLimitUsageResponseClass>;
|
|
139
143
|
/**
|
|
140
|
-
* This will get claim limit usage. **Required Permissions** \"claim-management.claims.view\"
|
|
144
|
+
* This will get claim limit usage. **Required Permissions** \"claim-management.claims.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
141
145
|
* @summary Retrieve the claim limit usage
|
|
142
146
|
* @param {string} code
|
|
143
147
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
144
148
|
* @param {*} [options] Override http request option.
|
|
149
|
+
* @deprecated
|
|
145
150
|
* @throws {RequiredError}
|
|
146
151
|
*/
|
|
147
152
|
getClaimLimitUsage1(code: string, authorization?: string, options?: any): AxiosPromise<GetClaimLimitUsageResponseClass>;
|
|
@@ -159,9 +164,9 @@ export declare const ClaimLimitUsagesApiFactory: (configuration?: Configuration,
|
|
|
159
164
|
* @param {*} [options] Override http request option.
|
|
160
165
|
* @throws {RequiredError}
|
|
161
166
|
*/
|
|
162
|
-
|
|
167
|
+
listClaimLimitUsages(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListClaimLimitUsagesResponseClass>;
|
|
163
168
|
/**
|
|
164
|
-
* Retrieves a list of claim limit usages. **Required Permissions** \"claim-management.claims.view\"
|
|
169
|
+
* Retrieves a list of claim limit usages. **Required Permissions** \"claim-management.claims.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
165
170
|
* @summary List claim limit usages
|
|
166
171
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
167
172
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -172,26 +177,27 @@ export declare const ClaimLimitUsagesApiFactory: (configuration?: Configuration,
|
|
|
172
177
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
173
178
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, policyCode, type, tariffKey, categoryKey, period, claimCode, deductibleKey, periodStart, periodEnd, createdAt, updatedAt</i>
|
|
174
179
|
* @param {*} [options] Override http request option.
|
|
180
|
+
* @deprecated
|
|
175
181
|
* @throws {RequiredError}
|
|
176
182
|
*/
|
|
177
183
|
listClaimLimitUsages1(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListClaimLimitUsagesResponseClass>;
|
|
178
184
|
};
|
|
179
185
|
/**
|
|
180
|
-
* Request parameters for
|
|
186
|
+
* Request parameters for getClaimLimitUsage operation in ClaimLimitUsagesApi.
|
|
181
187
|
* @export
|
|
182
|
-
* @interface
|
|
188
|
+
* @interface ClaimLimitUsagesApiGetClaimLimitUsageRequest
|
|
183
189
|
*/
|
|
184
|
-
export interface
|
|
190
|
+
export interface ClaimLimitUsagesApiGetClaimLimitUsageRequest {
|
|
185
191
|
/**
|
|
186
192
|
*
|
|
187
193
|
* @type {string}
|
|
188
|
-
* @memberof
|
|
194
|
+
* @memberof ClaimLimitUsagesApiGetClaimLimitUsage
|
|
189
195
|
*/
|
|
190
196
|
readonly code: string;
|
|
191
197
|
/**
|
|
192
198
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
193
199
|
* @type {string}
|
|
194
|
-
* @memberof
|
|
200
|
+
* @memberof ClaimLimitUsagesApiGetClaimLimitUsage
|
|
195
201
|
*/
|
|
196
202
|
readonly authorization?: string;
|
|
197
203
|
}
|
|
@@ -215,57 +221,57 @@ export interface ClaimLimitUsagesApiGetClaimLimitUsage1Request {
|
|
|
215
221
|
readonly authorization?: string;
|
|
216
222
|
}
|
|
217
223
|
/**
|
|
218
|
-
* Request parameters for
|
|
224
|
+
* Request parameters for listClaimLimitUsages operation in ClaimLimitUsagesApi.
|
|
219
225
|
* @export
|
|
220
|
-
* @interface
|
|
226
|
+
* @interface ClaimLimitUsagesApiListClaimLimitUsagesRequest
|
|
221
227
|
*/
|
|
222
|
-
export interface
|
|
228
|
+
export interface ClaimLimitUsagesApiListClaimLimitUsagesRequest {
|
|
223
229
|
/**
|
|
224
230
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
225
231
|
* @type {string}
|
|
226
|
-
* @memberof
|
|
232
|
+
* @memberof ClaimLimitUsagesApiListClaimLimitUsages
|
|
227
233
|
*/
|
|
228
234
|
readonly authorization?: string;
|
|
229
235
|
/**
|
|
230
236
|
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
231
237
|
* @type {number}
|
|
232
|
-
* @memberof
|
|
238
|
+
* @memberof ClaimLimitUsagesApiListClaimLimitUsages
|
|
233
239
|
*/
|
|
234
240
|
readonly pageSize?: number;
|
|
235
241
|
/**
|
|
236
242
|
* A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
237
243
|
* @type {string}
|
|
238
|
-
* @memberof
|
|
244
|
+
* @memberof ClaimLimitUsagesApiListClaimLimitUsages
|
|
239
245
|
*/
|
|
240
246
|
readonly pageToken?: string;
|
|
241
247
|
/**
|
|
242
248
|
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, policyCode, type, tariffKey, categoryKey, period, claimCode, deductibleKey, periodStart, periodEnd, createdAt, updatedAt</i>
|
|
243
249
|
* @type {string}
|
|
244
|
-
* @memberof
|
|
250
|
+
* @memberof ClaimLimitUsagesApiListClaimLimitUsages
|
|
245
251
|
*/
|
|
246
252
|
readonly filter?: string;
|
|
247
253
|
/**
|
|
248
254
|
* To search the list by any field, pass search=xxx to fetch the result.
|
|
249
255
|
* @type {string}
|
|
250
|
-
* @memberof
|
|
256
|
+
* @memberof ClaimLimitUsagesApiListClaimLimitUsages
|
|
251
257
|
*/
|
|
252
258
|
readonly search?: string;
|
|
253
259
|
/**
|
|
254
260
|
* Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, createdAt, updatedAt, periodStart, periodEnd, remainingAmount, initialAmount</i>
|
|
255
261
|
* @type {string}
|
|
256
|
-
* @memberof
|
|
262
|
+
* @memberof ClaimLimitUsagesApiListClaimLimitUsages
|
|
257
263
|
*/
|
|
258
264
|
readonly order?: string;
|
|
259
265
|
/**
|
|
260
266
|
* Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
261
267
|
* @type {string}
|
|
262
|
-
* @memberof
|
|
268
|
+
* @memberof ClaimLimitUsagesApiListClaimLimitUsages
|
|
263
269
|
*/
|
|
264
270
|
readonly expand?: string;
|
|
265
271
|
/**
|
|
266
272
|
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, policyCode, type, tariffKey, categoryKey, period, claimCode, deductibleKey, periodStart, periodEnd, createdAt, updatedAt</i>
|
|
267
273
|
* @type {string}
|
|
268
|
-
* @memberof
|
|
274
|
+
* @memberof ClaimLimitUsagesApiListClaimLimitUsages
|
|
269
275
|
*/
|
|
270
276
|
readonly filters?: string;
|
|
271
277
|
}
|
|
@@ -334,17 +340,18 @@ export declare class ClaimLimitUsagesApi extends BaseAPI {
|
|
|
334
340
|
/**
|
|
335
341
|
* This will get claim limit usage. **Required Permissions** \"claim-management.claims.view\"
|
|
336
342
|
* @summary Retrieve the claim limit usage
|
|
337
|
-
* @param {
|
|
343
|
+
* @param {ClaimLimitUsagesApiGetClaimLimitUsageRequest} requestParameters Request parameters.
|
|
338
344
|
* @param {*} [options] Override http request option.
|
|
339
345
|
* @throws {RequiredError}
|
|
340
346
|
* @memberof ClaimLimitUsagesApi
|
|
341
347
|
*/
|
|
342
|
-
|
|
348
|
+
getClaimLimitUsage(requestParameters: ClaimLimitUsagesApiGetClaimLimitUsageRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetClaimLimitUsageResponseClass, any, {}>>;
|
|
343
349
|
/**
|
|
344
|
-
* This will get claim limit usage. **Required Permissions** \"claim-management.claims.view\"
|
|
350
|
+
* This will get claim limit usage. **Required Permissions** \"claim-management.claims.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
345
351
|
* @summary Retrieve the claim limit usage
|
|
346
352
|
* @param {ClaimLimitUsagesApiGetClaimLimitUsage1Request} requestParameters Request parameters.
|
|
347
353
|
* @param {*} [options] Override http request option.
|
|
354
|
+
* @deprecated
|
|
348
355
|
* @throws {RequiredError}
|
|
349
356
|
* @memberof ClaimLimitUsagesApi
|
|
350
357
|
*/
|
|
@@ -352,17 +359,18 @@ export declare class ClaimLimitUsagesApi extends BaseAPI {
|
|
|
352
359
|
/**
|
|
353
360
|
* Retrieves a list of claim limit usages. **Required Permissions** \"claim-management.claims.view\"
|
|
354
361
|
* @summary List claim limit usages
|
|
355
|
-
* @param {
|
|
362
|
+
* @param {ClaimLimitUsagesApiListClaimLimitUsagesRequest} requestParameters Request parameters.
|
|
356
363
|
* @param {*} [options] Override http request option.
|
|
357
364
|
* @throws {RequiredError}
|
|
358
365
|
* @memberof ClaimLimitUsagesApi
|
|
359
366
|
*/
|
|
360
|
-
|
|
367
|
+
listClaimLimitUsages(requestParameters?: ClaimLimitUsagesApiListClaimLimitUsagesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListClaimLimitUsagesResponseClass, any, {}>>;
|
|
361
368
|
/**
|
|
362
|
-
* Retrieves a list of claim limit usages. **Required Permissions** \"claim-management.claims.view\"
|
|
369
|
+
* Retrieves a list of claim limit usages. **Required Permissions** \"claim-management.claims.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
363
370
|
* @summary List claim limit usages
|
|
364
371
|
* @param {ClaimLimitUsagesApiListClaimLimitUsages1Request} requestParameters Request parameters.
|
|
365
372
|
* @param {*} [options] Override http request option.
|
|
373
|
+
* @deprecated
|
|
366
374
|
* @throws {RequiredError}
|
|
367
375
|
* @memberof ClaimLimitUsagesApi
|
|
368
376
|
*/
|
|
@@ -100,7 +100,7 @@ var ClaimLimitUsagesApiAxiosParamCreator = function (configuration) {
|
|
|
100
100
|
* @param {*} [options] Override http request option.
|
|
101
101
|
* @throws {RequiredError}
|
|
102
102
|
*/
|
|
103
|
-
|
|
103
|
+
getClaimLimitUsage: function (code, authorization, options) {
|
|
104
104
|
if (options === void 0) { options = {}; }
|
|
105
105
|
return __awaiter(_this, void 0, void 0, function () {
|
|
106
106
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -108,8 +108,8 @@ var ClaimLimitUsagesApiAxiosParamCreator = function (configuration) {
|
|
|
108
108
|
switch (_a.label) {
|
|
109
109
|
case 0:
|
|
110
110
|
// verify required parameter 'code' is not null or undefined
|
|
111
|
-
(0, common_1.assertParamExists)('
|
|
112
|
-
localVarPath = "/v1/claim-limit-usages/{code}"
|
|
111
|
+
(0, common_1.assertParamExists)('getClaimLimitUsage', 'code', code);
|
|
112
|
+
localVarPath = "/claimservice/v1/claim-limit-usages/{code}"
|
|
113
113
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
114
114
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
115
115
|
if (configuration) {
|
|
@@ -141,11 +141,12 @@ var ClaimLimitUsagesApiAxiosParamCreator = function (configuration) {
|
|
|
141
141
|
});
|
|
142
142
|
},
|
|
143
143
|
/**
|
|
144
|
-
* This will get claim limit usage. **Required Permissions** \"claim-management.claims.view\"
|
|
144
|
+
* This will get claim limit usage. **Required Permissions** \"claim-management.claims.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
145
145
|
* @summary Retrieve the claim limit usage
|
|
146
146
|
* @param {string} code
|
|
147
147
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
148
148
|
* @param {*} [options] Override http request option.
|
|
149
|
+
* @deprecated
|
|
149
150
|
* @throws {RequiredError}
|
|
150
151
|
*/
|
|
151
152
|
getClaimLimitUsage1: function (code, authorization, options) {
|
|
@@ -157,7 +158,7 @@ var ClaimLimitUsagesApiAxiosParamCreator = function (configuration) {
|
|
|
157
158
|
case 0:
|
|
158
159
|
// verify required parameter 'code' is not null or undefined
|
|
159
160
|
(0, common_1.assertParamExists)('getClaimLimitUsage1', 'code', code);
|
|
160
|
-
localVarPath = "/
|
|
161
|
+
localVarPath = "/v1/claim-limit-usages/{code}"
|
|
161
162
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
162
163
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
163
164
|
if (configuration) {
|
|
@@ -202,14 +203,14 @@ var ClaimLimitUsagesApiAxiosParamCreator = function (configuration) {
|
|
|
202
203
|
* @param {*} [options] Override http request option.
|
|
203
204
|
* @throws {RequiredError}
|
|
204
205
|
*/
|
|
205
|
-
|
|
206
|
+
listClaimLimitUsages: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
206
207
|
if (options === void 0) { options = {}; }
|
|
207
208
|
return __awaiter(_this, void 0, void 0, function () {
|
|
208
209
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
209
210
|
return __generator(this, function (_a) {
|
|
210
211
|
switch (_a.label) {
|
|
211
212
|
case 0:
|
|
212
|
-
localVarPath = "/v1/claim-limit-usages";
|
|
213
|
+
localVarPath = "/claimservice/v1/claim-limit-usages";
|
|
213
214
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
214
215
|
if (configuration) {
|
|
215
216
|
baseOptions = configuration.baseOptions;
|
|
@@ -261,7 +262,7 @@ var ClaimLimitUsagesApiAxiosParamCreator = function (configuration) {
|
|
|
261
262
|
});
|
|
262
263
|
},
|
|
263
264
|
/**
|
|
264
|
-
* Retrieves a list of claim limit usages. **Required Permissions** \"claim-management.claims.view\"
|
|
265
|
+
* Retrieves a list of claim limit usages. **Required Permissions** \"claim-management.claims.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
265
266
|
* @summary List claim limit usages
|
|
266
267
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
267
268
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -272,6 +273,7 @@ var ClaimLimitUsagesApiAxiosParamCreator = function (configuration) {
|
|
|
272
273
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
273
274
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, policyCode, type, tariffKey, categoryKey, period, claimCode, deductibleKey, periodStart, periodEnd, createdAt, updatedAt</i>
|
|
274
275
|
* @param {*} [options] Override http request option.
|
|
276
|
+
* @deprecated
|
|
275
277
|
* @throws {RequiredError}
|
|
276
278
|
*/
|
|
277
279
|
listClaimLimitUsages1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
@@ -281,7 +283,7 @@ var ClaimLimitUsagesApiAxiosParamCreator = function (configuration) {
|
|
|
281
283
|
return __generator(this, function (_a) {
|
|
282
284
|
switch (_a.label) {
|
|
283
285
|
case 0:
|
|
284
|
-
localVarPath = "/
|
|
286
|
+
localVarPath = "/v1/claim-limit-usages";
|
|
285
287
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
286
288
|
if (configuration) {
|
|
287
289
|
baseOptions = configuration.baseOptions;
|
|
@@ -350,12 +352,12 @@ var ClaimLimitUsagesApiFp = function (configuration) {
|
|
|
350
352
|
* @param {*} [options] Override http request option.
|
|
351
353
|
* @throws {RequiredError}
|
|
352
354
|
*/
|
|
353
|
-
|
|
355
|
+
getClaimLimitUsage: function (code, authorization, options) {
|
|
354
356
|
return __awaiter(this, void 0, void 0, function () {
|
|
355
357
|
var localVarAxiosArgs;
|
|
356
358
|
return __generator(this, function (_a) {
|
|
357
359
|
switch (_a.label) {
|
|
358
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
360
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getClaimLimitUsage(code, authorization, options)];
|
|
359
361
|
case 1:
|
|
360
362
|
localVarAxiosArgs = _a.sent();
|
|
361
363
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -364,11 +366,12 @@ var ClaimLimitUsagesApiFp = function (configuration) {
|
|
|
364
366
|
});
|
|
365
367
|
},
|
|
366
368
|
/**
|
|
367
|
-
* This will get claim limit usage. **Required Permissions** \"claim-management.claims.view\"
|
|
369
|
+
* This will get claim limit usage. **Required Permissions** \"claim-management.claims.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
368
370
|
* @summary Retrieve the claim limit usage
|
|
369
371
|
* @param {string} code
|
|
370
372
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
371
373
|
* @param {*} [options] Override http request option.
|
|
374
|
+
* @deprecated
|
|
372
375
|
* @throws {RequiredError}
|
|
373
376
|
*/
|
|
374
377
|
getClaimLimitUsage1: function (code, authorization, options) {
|
|
@@ -398,12 +401,12 @@ var ClaimLimitUsagesApiFp = function (configuration) {
|
|
|
398
401
|
* @param {*} [options] Override http request option.
|
|
399
402
|
* @throws {RequiredError}
|
|
400
403
|
*/
|
|
401
|
-
|
|
404
|
+
listClaimLimitUsages: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
402
405
|
return __awaiter(this, void 0, void 0, function () {
|
|
403
406
|
var localVarAxiosArgs;
|
|
404
407
|
return __generator(this, function (_a) {
|
|
405
408
|
switch (_a.label) {
|
|
406
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
409
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listClaimLimitUsages(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
407
410
|
case 1:
|
|
408
411
|
localVarAxiosArgs = _a.sent();
|
|
409
412
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -412,7 +415,7 @@ var ClaimLimitUsagesApiFp = function (configuration) {
|
|
|
412
415
|
});
|
|
413
416
|
},
|
|
414
417
|
/**
|
|
415
|
-
* Retrieves a list of claim limit usages. **Required Permissions** \"claim-management.claims.view\"
|
|
418
|
+
* Retrieves a list of claim limit usages. **Required Permissions** \"claim-management.claims.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
416
419
|
* @summary List claim limit usages
|
|
417
420
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
418
421
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -423,6 +426,7 @@ var ClaimLimitUsagesApiFp = function (configuration) {
|
|
|
423
426
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
424
427
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, policyCode, type, tariffKey, categoryKey, period, claimCode, deductibleKey, periodStart, periodEnd, createdAt, updatedAt</i>
|
|
425
428
|
* @param {*} [options] Override http request option.
|
|
429
|
+
* @deprecated
|
|
426
430
|
* @throws {RequiredError}
|
|
427
431
|
*/
|
|
428
432
|
listClaimLimitUsages1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
@@ -456,15 +460,16 @@ var ClaimLimitUsagesApiFactory = function (configuration, basePath, axios) {
|
|
|
456
460
|
* @param {*} [options] Override http request option.
|
|
457
461
|
* @throws {RequiredError}
|
|
458
462
|
*/
|
|
459
|
-
|
|
460
|
-
return localVarFp.
|
|
463
|
+
getClaimLimitUsage: function (code, authorization, options) {
|
|
464
|
+
return localVarFp.getClaimLimitUsage(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
461
465
|
},
|
|
462
466
|
/**
|
|
463
|
-
* This will get claim limit usage. **Required Permissions** \"claim-management.claims.view\"
|
|
467
|
+
* This will get claim limit usage. **Required Permissions** \"claim-management.claims.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
464
468
|
* @summary Retrieve the claim limit usage
|
|
465
469
|
* @param {string} code
|
|
466
470
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
467
471
|
* @param {*} [options] Override http request option.
|
|
472
|
+
* @deprecated
|
|
468
473
|
* @throws {RequiredError}
|
|
469
474
|
*/
|
|
470
475
|
getClaimLimitUsage1: function (code, authorization, options) {
|
|
@@ -484,11 +489,11 @@ var ClaimLimitUsagesApiFactory = function (configuration, basePath, axios) {
|
|
|
484
489
|
* @param {*} [options] Override http request option.
|
|
485
490
|
* @throws {RequiredError}
|
|
486
491
|
*/
|
|
487
|
-
|
|
488
|
-
return localVarFp.
|
|
492
|
+
listClaimLimitUsages: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
493
|
+
return localVarFp.listClaimLimitUsages(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
489
494
|
},
|
|
490
495
|
/**
|
|
491
|
-
* Retrieves a list of claim limit usages. **Required Permissions** \"claim-management.claims.view\"
|
|
496
|
+
* Retrieves a list of claim limit usages. **Required Permissions** \"claim-management.claims.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
492
497
|
* @summary List claim limit usages
|
|
493
498
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
494
499
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -499,6 +504,7 @@ var ClaimLimitUsagesApiFactory = function (configuration, basePath, axios) {
|
|
|
499
504
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
500
505
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, policyCode, type, tariffKey, categoryKey, period, claimCode, deductibleKey, periodStart, periodEnd, createdAt, updatedAt</i>
|
|
501
506
|
* @param {*} [options] Override http request option.
|
|
507
|
+
* @deprecated
|
|
502
508
|
* @throws {RequiredError}
|
|
503
509
|
*/
|
|
504
510
|
listClaimLimitUsages1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
@@ -521,20 +527,21 @@ var ClaimLimitUsagesApi = /** @class */ (function (_super) {
|
|
|
521
527
|
/**
|
|
522
528
|
* This will get claim limit usage. **Required Permissions** \"claim-management.claims.view\"
|
|
523
529
|
* @summary Retrieve the claim limit usage
|
|
524
|
-
* @param {
|
|
530
|
+
* @param {ClaimLimitUsagesApiGetClaimLimitUsageRequest} requestParameters Request parameters.
|
|
525
531
|
* @param {*} [options] Override http request option.
|
|
526
532
|
* @throws {RequiredError}
|
|
527
533
|
* @memberof ClaimLimitUsagesApi
|
|
528
534
|
*/
|
|
529
|
-
ClaimLimitUsagesApi.prototype.
|
|
535
|
+
ClaimLimitUsagesApi.prototype.getClaimLimitUsage = function (requestParameters, options) {
|
|
530
536
|
var _this = this;
|
|
531
|
-
return (0, exports.ClaimLimitUsagesApiFp)(this.configuration).
|
|
537
|
+
return (0, exports.ClaimLimitUsagesApiFp)(this.configuration).getClaimLimitUsage(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
532
538
|
};
|
|
533
539
|
/**
|
|
534
|
-
* This will get claim limit usage. **Required Permissions** \"claim-management.claims.view\"
|
|
540
|
+
* This will get claim limit usage. **Required Permissions** \"claim-management.claims.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
535
541
|
* @summary Retrieve the claim limit usage
|
|
536
542
|
* @param {ClaimLimitUsagesApiGetClaimLimitUsage1Request} requestParameters Request parameters.
|
|
537
543
|
* @param {*} [options] Override http request option.
|
|
544
|
+
* @deprecated
|
|
538
545
|
* @throws {RequiredError}
|
|
539
546
|
* @memberof ClaimLimitUsagesApi
|
|
540
547
|
*/
|
|
@@ -545,21 +552,22 @@ var ClaimLimitUsagesApi = /** @class */ (function (_super) {
|
|
|
545
552
|
/**
|
|
546
553
|
* Retrieves a list of claim limit usages. **Required Permissions** \"claim-management.claims.view\"
|
|
547
554
|
* @summary List claim limit usages
|
|
548
|
-
* @param {
|
|
555
|
+
* @param {ClaimLimitUsagesApiListClaimLimitUsagesRequest} requestParameters Request parameters.
|
|
549
556
|
* @param {*} [options] Override http request option.
|
|
550
557
|
* @throws {RequiredError}
|
|
551
558
|
* @memberof ClaimLimitUsagesApi
|
|
552
559
|
*/
|
|
553
|
-
ClaimLimitUsagesApi.prototype.
|
|
560
|
+
ClaimLimitUsagesApi.prototype.listClaimLimitUsages = function (requestParameters, options) {
|
|
554
561
|
var _this = this;
|
|
555
562
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
556
|
-
return (0, exports.ClaimLimitUsagesApiFp)(this.configuration).
|
|
563
|
+
return (0, exports.ClaimLimitUsagesApiFp)(this.configuration).listClaimLimitUsages(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
557
564
|
};
|
|
558
565
|
/**
|
|
559
|
-
* Retrieves a list of claim limit usages. **Required Permissions** \"claim-management.claims.view\"
|
|
566
|
+
* Retrieves a list of claim limit usages. **Required Permissions** \"claim-management.claims.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
560
567
|
* @summary List claim limit usages
|
|
561
568
|
* @param {ClaimLimitUsagesApiListClaimLimitUsages1Request} requestParameters Request parameters.
|
|
562
569
|
* @param {*} [options] Override http request option.
|
|
570
|
+
* @deprecated
|
|
563
571
|
* @throws {RequiredError}
|
|
564
572
|
* @memberof ClaimLimitUsagesApi
|
|
565
573
|
*/
|