@emilgroup/claim-sdk-node 1.39.0 → 1.39.1-beta.1
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 +15 -0
- package/README.md +2 -2
- package/api/claim-limit-usages-api.ts +648 -0
- package/api/claim-partner-roles-api.ts +627 -0
- package/api/claim-partners-api.ts +520 -0
- package/api/claim-positions-api.ts +1340 -0
- package/api/claim-regulations-api.ts +644 -3
- package/api/claim-statuses-api.ts +752 -5
- package/api/claims-api.ts +863 -11
- package/api/health-check-api.ts +66 -0
- package/api/settlements-api.ts +627 -0
- package/api.ts +4 -0
- package/dist/api/claim-limit-usages-api.d.ts +378 -0
- package/dist/api/claim-limit-usages-api.js +585 -0
- package/dist/api/claim-partner-roles-api.d.ts +358 -0
- package/dist/api/claim-partner-roles-api.js +525 -0
- package/dist/api/claim-partners-api.d.ts +299 -0
- package/dist/api/claim-partners-api.js +428 -0
- package/dist/api/claim-positions-api.d.ts +760 -0
- package/dist/api/claim-positions-api.js +1181 -0
- package/dist/api/claim-regulations-api.d.ts +367 -0
- package/dist/api/claim-regulations-api.js +531 -0
- package/dist/api/claim-statuses-api.d.ts +426 -0
- package/dist/api/claim-statuses-api.js +642 -14
- package/dist/api/claims-api.d.ts +493 -8
- package/dist/api/claims-api.js +734 -10
- package/dist/api/health-check-api.d.ts +33 -0
- package/dist/api/health-check-api.js +73 -0
- package/dist/api/settlements-api.d.ts +358 -0
- package/dist/api/settlements-api.js +525 -0
- package/dist/api.d.ts +2 -0
- package/dist/api.js +2 -0
- package/dist/models/calculation-step-result-class.d.ts +72 -0
- package/dist/models/calculation-step-result-class.js +21 -0
- package/dist/models/claim-applied-deductible-class.d.ts +95 -0
- package/dist/models/claim-applied-deductible-class.js +20 -0
- package/dist/models/claim-class.d.ts +25 -0
- package/dist/models/claim-limit-usage-class.d.ts +143 -0
- package/dist/models/claim-limit-usage-class.js +30 -0
- package/dist/models/claim-limit-usage-result-class.d.ts +48 -0
- package/dist/models/claim-limit-usage-result-class.js +21 -0
- package/dist/models/claim-position-class.d.ts +151 -0
- package/dist/models/claim-position-class.js +20 -0
- package/dist/models/create-claim-position-request-dto.d.ts +66 -0
- package/dist/models/create-claim-position-request-dto.js +15 -0
- package/dist/models/create-claim-position-response-class.d.ts +25 -0
- package/dist/models/create-claim-position-response-class.js +15 -0
- package/dist/models/create-claim-request-dto.d.ts +6 -0
- package/dist/models/create-regulation-item-request-dto.d.ts +26 -3
- package/dist/models/create-regulation-item-request-dto.js +5 -1
- package/dist/models/get-claim-limit-usage-response-class.d.ts +25 -0
- package/dist/models/get-claim-limit-usage-response-class.js +15 -0
- package/dist/models/get-claim-position-response-class.d.ts +25 -0
- package/dist/models/get-claim-position-response-class.js +15 -0
- package/dist/models/index.d.ts +13 -0
- package/dist/models/index.js +13 -0
- package/dist/models/list-claim-limit-usages-response-class.d.ts +43 -0
- package/dist/models/list-claim-limit-usages-response-class.js +15 -0
- package/dist/models/list-claim-partner-roles-response-class.d.ts +12 -0
- package/dist/models/list-claim-partners-response-class.d.ts +12 -0
- package/dist/models/list-claim-positions-response-class.d.ts +43 -0
- package/dist/models/list-claim-positions-response-class.js +15 -0
- package/dist/models/list-claim-statuses-response-class.d.ts +13 -1
- package/dist/models/list-claims-response-class.d.ts +12 -0
- package/dist/models/list-regulations-response-class.d.ts +12 -0
- package/dist/models/patch-claim-request-dto.d.ts +39 -33
- package/dist/models/regulation-item-class.d.ts +35 -0
- package/dist/models/regulation-item-class.js +10 -1
- package/dist/models/update-claim-position-request-dto.d.ts +60 -0
- package/dist/models/update-claim-position-request-dto.js +15 -0
- package/dist/models/update-claim-position-response-class.d.ts +25 -0
- package/dist/models/update-claim-position-response-class.js +15 -0
- package/dist/models/update-claim-request-dto.d.ts +39 -33
- package/dist/models/update-regulation-item-request-dto.d.ts +12 -0
- package/dist/models/update-regulation-item-request-dto.js +6 -1
- package/models/calculation-step-result-class.ts +81 -0
- package/models/claim-applied-deductible-class.ts +104 -0
- package/models/claim-class.ts +25 -0
- package/models/claim-limit-usage-class.ts +154 -0
- package/models/claim-limit-usage-result-class.ts +57 -0
- package/models/claim-position-class.ts +160 -0
- package/models/create-claim-position-request-dto.ts +72 -0
- package/models/create-claim-position-response-class.ts +31 -0
- package/models/create-claim-request-dto.ts +6 -0
- package/models/create-regulation-item-request-dto.ts +27 -3
- package/models/get-claim-limit-usage-response-class.ts +31 -0
- package/models/get-claim-position-response-class.ts +31 -0
- package/models/index.ts +13 -0
- package/models/list-claim-limit-usages-response-class.ts +49 -0
- package/models/list-claim-partner-roles-response-class.ts +12 -0
- package/models/list-claim-partners-response-class.ts +12 -0
- package/models/list-claim-positions-response-class.ts +49 -0
- package/models/list-claim-statuses-response-class.ts +13 -1
- package/models/list-claims-response-class.ts +12 -0
- package/models/list-regulations-response-class.ts +12 -0
- package/models/patch-claim-request-dto.ts +39 -33
- package/models/regulation-item-class.ts +37 -0
- package/models/update-claim-position-request-dto.ts +66 -0
- package/models/update-claim-position-response-class.ts +31 -0
- package/models/update-claim-request-dto.ts +39 -33
- package/models/update-regulation-item-request-dto.ts +13 -0
- package/package.json +1 -1
|
@@ -52,6 +52,58 @@ export const ClaimPartnersApiAxiosParamCreator = function (configuration?: Confi
|
|
|
52
52
|
assertParamExists('createClaimPartner', 'claimCode', claimCode)
|
|
53
53
|
// verify required parameter 'createClaimPartnerRequestDto' is not null or undefined
|
|
54
54
|
assertParamExists('createClaimPartner', 'createClaimPartnerRequestDto', createClaimPartnerRequestDto)
|
|
55
|
+
const localVarPath = `/claimservice/v1/claims/{claimCode}/partner`
|
|
56
|
+
.replace(`{${"claimCode"}}`, encodeURIComponent(String(claimCode)));
|
|
57
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
58
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
59
|
+
let baseOptions;
|
|
60
|
+
let baseAccessToken;
|
|
61
|
+
if (configuration) {
|
|
62
|
+
baseOptions = configuration.baseOptions;
|
|
63
|
+
baseAccessToken = configuration.accessToken;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
67
|
+
const localVarHeaderParameter = {} as any;
|
|
68
|
+
const localVarQueryParameter = {} as any;
|
|
69
|
+
|
|
70
|
+
// authentication bearer required
|
|
71
|
+
// http bearer authentication required
|
|
72
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
73
|
+
|
|
74
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
75
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
81
|
+
|
|
82
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
83
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
84
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
85
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createClaimPartnerRequestDto, localVarRequestOptions, configuration)
|
|
86
|
+
|
|
87
|
+
return {
|
|
88
|
+
url: toPathString(localVarUrlObj),
|
|
89
|
+
options: localVarRequestOptions,
|
|
90
|
+
};
|
|
91
|
+
},
|
|
92
|
+
/**
|
|
93
|
+
* This will create a claim partner. **Required Permissions** \"claim-management.partners.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
94
|
+
* @summary Create the claim partner
|
|
95
|
+
* @param {string} claimCode Unique identifier for the claim object.
|
|
96
|
+
* @param {CreateClaimPartnerRequestDto} createClaimPartnerRequestDto
|
|
97
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
98
|
+
* @param {*} [options] Override http request option.
|
|
99
|
+
* @deprecated
|
|
100
|
+
* @throws {RequiredError}
|
|
101
|
+
*/
|
|
102
|
+
createClaimPartner1: async (claimCode: string, createClaimPartnerRequestDto: CreateClaimPartnerRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
103
|
+
// verify required parameter 'claimCode' is not null or undefined
|
|
104
|
+
assertParamExists('createClaimPartner1', 'claimCode', claimCode)
|
|
105
|
+
// verify required parameter 'createClaimPartnerRequestDto' is not null or undefined
|
|
106
|
+
assertParamExists('createClaimPartner1', 'createClaimPartnerRequestDto', createClaimPartnerRequestDto)
|
|
55
107
|
const localVarPath = `/v1/claims/{claimCode}/partner`
|
|
56
108
|
.replace(`{${"claimCode"}}`, encodeURIComponent(String(claimCode)));
|
|
57
109
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -100,6 +152,52 @@ export const ClaimPartnersApiAxiosParamCreator = function (configuration?: Confi
|
|
|
100
152
|
deleteClaimPartner: async (id: number, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
101
153
|
// verify required parameter 'id' is not null or undefined
|
|
102
154
|
assertParamExists('deleteClaimPartner', 'id', id)
|
|
155
|
+
const localVarPath = `/claimservice/v1/claim-partners/{id}`
|
|
156
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
157
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
158
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
159
|
+
let baseOptions;
|
|
160
|
+
let baseAccessToken;
|
|
161
|
+
if (configuration) {
|
|
162
|
+
baseOptions = configuration.baseOptions;
|
|
163
|
+
baseAccessToken = configuration.accessToken;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
167
|
+
const localVarHeaderParameter = {} as any;
|
|
168
|
+
const localVarQueryParameter = {} as any;
|
|
169
|
+
|
|
170
|
+
// authentication bearer required
|
|
171
|
+
// http bearer authentication required
|
|
172
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
173
|
+
|
|
174
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
175
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
181
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
182
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
183
|
+
|
|
184
|
+
return {
|
|
185
|
+
url: toPathString(localVarUrlObj),
|
|
186
|
+
options: localVarRequestOptions,
|
|
187
|
+
};
|
|
188
|
+
},
|
|
189
|
+
/**
|
|
190
|
+
* Permanently deletes the claim partner. Supply the unique id that was returned when you created the claim partner and this will delete it. **Required Permissions** \"claim-management.partners.delete\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
191
|
+
* @summary Delete the claim partner
|
|
192
|
+
* @param {number} id
|
|
193
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
194
|
+
* @param {*} [options] Override http request option.
|
|
195
|
+
* @deprecated
|
|
196
|
+
* @throws {RequiredError}
|
|
197
|
+
*/
|
|
198
|
+
deleteClaimPartner1: async (id: number, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
199
|
+
// verify required parameter 'id' is not null or undefined
|
|
200
|
+
assertParamExists('deleteClaimPartner1', 'id', id)
|
|
103
201
|
const localVarPath = `/v1/claim-partners/{id}`
|
|
104
202
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
105
203
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -145,6 +243,52 @@ export const ClaimPartnersApiAxiosParamCreator = function (configuration?: Confi
|
|
|
145
243
|
getClaimPartner: async (id: number, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
146
244
|
// verify required parameter 'id' is not null or undefined
|
|
147
245
|
assertParamExists('getClaimPartner', 'id', id)
|
|
246
|
+
const localVarPath = `/claimservice/v1/claim-partners/{id}`
|
|
247
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
248
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
249
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
250
|
+
let baseOptions;
|
|
251
|
+
let baseAccessToken;
|
|
252
|
+
if (configuration) {
|
|
253
|
+
baseOptions = configuration.baseOptions;
|
|
254
|
+
baseAccessToken = configuration.accessToken;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
258
|
+
const localVarHeaderParameter = {} as any;
|
|
259
|
+
const localVarQueryParameter = {} as any;
|
|
260
|
+
|
|
261
|
+
// authentication bearer required
|
|
262
|
+
// http bearer authentication required
|
|
263
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
264
|
+
|
|
265
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
266
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
272
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
273
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
274
|
+
|
|
275
|
+
return {
|
|
276
|
+
url: toPathString(localVarUrlObj),
|
|
277
|
+
options: localVarRequestOptions,
|
|
278
|
+
};
|
|
279
|
+
},
|
|
280
|
+
/**
|
|
281
|
+
* Retrieves the details of the claim partner that was previously created. Supply the unique claim partner id that was returned when you created it and Emil Api will return the corresponding claim partner information. **Required Permissions** \"claim-management.partners.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
282
|
+
* @summary Retrieve the claim partner
|
|
283
|
+
* @param {number} id
|
|
284
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
285
|
+
* @param {*} [options] Override http request option.
|
|
286
|
+
* @deprecated
|
|
287
|
+
* @throws {RequiredError}
|
|
288
|
+
*/
|
|
289
|
+
getClaimPartner1: async (id: number, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
290
|
+
// verify required parameter 'id' is not null or undefined
|
|
291
|
+
assertParamExists('getClaimPartner1', 'id', id)
|
|
148
292
|
const localVarPath = `/v1/claim-partners/{id}`
|
|
149
293
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
150
294
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -194,6 +338,83 @@ export const ClaimPartnersApiAxiosParamCreator = function (configuration?: Confi
|
|
|
194
338
|
* @throws {RequiredError}
|
|
195
339
|
*/
|
|
196
340
|
listClaimPartners: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
341
|
+
const localVarPath = `/claimservice/v1/claim-partners`;
|
|
342
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
343
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
344
|
+
let baseOptions;
|
|
345
|
+
let baseAccessToken;
|
|
346
|
+
if (configuration) {
|
|
347
|
+
baseOptions = configuration.baseOptions;
|
|
348
|
+
baseAccessToken = configuration.accessToken;
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
352
|
+
const localVarHeaderParameter = {} as any;
|
|
353
|
+
const localVarQueryParameter = {} as any;
|
|
354
|
+
|
|
355
|
+
// authentication bearer required
|
|
356
|
+
// http bearer authentication required
|
|
357
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
358
|
+
|
|
359
|
+
if (pageSize !== undefined) {
|
|
360
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
if (pageToken !== undefined) {
|
|
364
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
if (filter !== undefined) {
|
|
368
|
+
localVarQueryParameter['filter'] = filter;
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
if (search !== undefined) {
|
|
372
|
+
localVarQueryParameter['search'] = search;
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
if (order !== undefined) {
|
|
376
|
+
localVarQueryParameter['order'] = order;
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
if (expand !== undefined) {
|
|
380
|
+
localVarQueryParameter['expand'] = expand;
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
if (filters !== undefined) {
|
|
384
|
+
localVarQueryParameter['filters'] = filters;
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
388
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
|
|
392
|
+
|
|
393
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
394
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
395
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
396
|
+
|
|
397
|
+
return {
|
|
398
|
+
url: toPathString(localVarUrlObj),
|
|
399
|
+
options: localVarRequestOptions,
|
|
400
|
+
};
|
|
401
|
+
},
|
|
402
|
+
/**
|
|
403
|
+
* Returns a list of claim partners you have previously created. The claim partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.partners.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
404
|
+
* @summary List claim partners
|
|
405
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
406
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
407
|
+
* @param {string} [pageToken] 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.
|
|
408
|
+
* @param {string} [filter] 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: partnerCode, claimPartnerRoleCode, claimCode</i>
|
|
409
|
+
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: partnerCode, claimPartnerRoleCode, claimCode</i>
|
|
410
|
+
* @param {string} [order] 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, createdAt, updatedAt</i>
|
|
411
|
+
* @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/> <i>Allowed values: role, partner<i>
|
|
412
|
+
* @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: partnerCode, claimPartnerRoleCode, claimCode</i>
|
|
413
|
+
* @param {*} [options] Override http request option.
|
|
414
|
+
* @deprecated
|
|
415
|
+
* @throws {RequiredError}
|
|
416
|
+
*/
|
|
417
|
+
listClaimPartners1: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
197
418
|
const localVarPath = `/v1/claim-partners`;
|
|
198
419
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
199
420
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -278,6 +499,20 @@ export const ClaimPartnersApiFp = function(configuration?: Configuration) {
|
|
|
278
499
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createClaimPartner(claimCode, createClaimPartnerRequestDto, authorization, options);
|
|
279
500
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
280
501
|
},
|
|
502
|
+
/**
|
|
503
|
+
* This will create a claim partner. **Required Permissions** \"claim-management.partners.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
504
|
+
* @summary Create the claim partner
|
|
505
|
+
* @param {string} claimCode Unique identifier for the claim object.
|
|
506
|
+
* @param {CreateClaimPartnerRequestDto} createClaimPartnerRequestDto
|
|
507
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
508
|
+
* @param {*} [options] Override http request option.
|
|
509
|
+
* @deprecated
|
|
510
|
+
* @throws {RequiredError}
|
|
511
|
+
*/
|
|
512
|
+
async createClaimPartner1(claimCode: string, createClaimPartnerRequestDto: CreateClaimPartnerRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateClaimPartnerResponseClass>> {
|
|
513
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createClaimPartner1(claimCode, createClaimPartnerRequestDto, authorization, options);
|
|
514
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
515
|
+
},
|
|
281
516
|
/**
|
|
282
517
|
* Permanently deletes the claim partner. Supply the unique id that was returned when you created the claim partner and this will delete it. **Required Permissions** \"claim-management.partners.delete\"
|
|
283
518
|
* @summary Delete the claim partner
|
|
@@ -290,6 +525,19 @@ export const ClaimPartnersApiFp = function(configuration?: Configuration) {
|
|
|
290
525
|
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteClaimPartner(id, authorization, options);
|
|
291
526
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
292
527
|
},
|
|
528
|
+
/**
|
|
529
|
+
* Permanently deletes the claim partner. Supply the unique id that was returned when you created the claim partner and this will delete it. **Required Permissions** \"claim-management.partners.delete\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
530
|
+
* @summary Delete the claim partner
|
|
531
|
+
* @param {number} id
|
|
532
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
533
|
+
* @param {*} [options] Override http request option.
|
|
534
|
+
* @deprecated
|
|
535
|
+
* @throws {RequiredError}
|
|
536
|
+
*/
|
|
537
|
+
async deleteClaimPartner1(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
538
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteClaimPartner1(id, authorization, options);
|
|
539
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
540
|
+
},
|
|
293
541
|
/**
|
|
294
542
|
* Retrieves the details of the claim partner that was previously created. Supply the unique claim partner id that was returned when you created it and Emil Api will return the corresponding claim partner information. **Required Permissions** \"claim-management.partners.view\"
|
|
295
543
|
* @summary Retrieve the claim partner
|
|
@@ -302,6 +550,19 @@ export const ClaimPartnersApiFp = function(configuration?: Configuration) {
|
|
|
302
550
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getClaimPartner(id, authorization, options);
|
|
303
551
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
304
552
|
},
|
|
553
|
+
/**
|
|
554
|
+
* Retrieves the details of the claim partner that was previously created. Supply the unique claim partner id that was returned when you created it and Emil Api will return the corresponding claim partner information. **Required Permissions** \"claim-management.partners.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
555
|
+
* @summary Retrieve the claim partner
|
|
556
|
+
* @param {number} id
|
|
557
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
558
|
+
* @param {*} [options] Override http request option.
|
|
559
|
+
* @deprecated
|
|
560
|
+
* @throws {RequiredError}
|
|
561
|
+
*/
|
|
562
|
+
async getClaimPartner1(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClaimPartnerResponseClass>> {
|
|
563
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getClaimPartner1(id, authorization, options);
|
|
564
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
565
|
+
},
|
|
305
566
|
/**
|
|
306
567
|
* Returns a list of claim partners you have previously created. The claim partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.partners.view\"
|
|
307
568
|
* @summary List claim partners
|
|
@@ -320,6 +581,25 @@ export const ClaimPartnersApiFp = function(configuration?: Configuration) {
|
|
|
320
581
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listClaimPartners(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
321
582
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
322
583
|
},
|
|
584
|
+
/**
|
|
585
|
+
* Returns a list of claim partners you have previously created. The claim partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.partners.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
586
|
+
* @summary List claim partners
|
|
587
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
588
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
589
|
+
* @param {string} [pageToken] 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.
|
|
590
|
+
* @param {string} [filter] 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: partnerCode, claimPartnerRoleCode, claimCode</i>
|
|
591
|
+
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: partnerCode, claimPartnerRoleCode, claimCode</i>
|
|
592
|
+
* @param {string} [order] 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, createdAt, updatedAt</i>
|
|
593
|
+
* @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/> <i>Allowed values: role, partner<i>
|
|
594
|
+
* @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: partnerCode, claimPartnerRoleCode, claimCode</i>
|
|
595
|
+
* @param {*} [options] Override http request option.
|
|
596
|
+
* @deprecated
|
|
597
|
+
* @throws {RequiredError}
|
|
598
|
+
*/
|
|
599
|
+
async listClaimPartners1(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListClaimPartnersResponseClass>> {
|
|
600
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listClaimPartners1(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
601
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
602
|
+
},
|
|
323
603
|
}
|
|
324
604
|
};
|
|
325
605
|
|
|
@@ -342,6 +622,19 @@ export const ClaimPartnersApiFactory = function (configuration?: Configuration,
|
|
|
342
622
|
createClaimPartner(claimCode: string, createClaimPartnerRequestDto: CreateClaimPartnerRequestDto, authorization?: string, options?: any): AxiosPromise<CreateClaimPartnerResponseClass> {
|
|
343
623
|
return localVarFp.createClaimPartner(claimCode, createClaimPartnerRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
344
624
|
},
|
|
625
|
+
/**
|
|
626
|
+
* This will create a claim partner. **Required Permissions** \"claim-management.partners.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
627
|
+
* @summary Create the claim partner
|
|
628
|
+
* @param {string} claimCode Unique identifier for the claim object.
|
|
629
|
+
* @param {CreateClaimPartnerRequestDto} createClaimPartnerRequestDto
|
|
630
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
631
|
+
* @param {*} [options] Override http request option.
|
|
632
|
+
* @deprecated
|
|
633
|
+
* @throws {RequiredError}
|
|
634
|
+
*/
|
|
635
|
+
createClaimPartner1(claimCode: string, createClaimPartnerRequestDto: CreateClaimPartnerRequestDto, authorization?: string, options?: any): AxiosPromise<CreateClaimPartnerResponseClass> {
|
|
636
|
+
return localVarFp.createClaimPartner1(claimCode, createClaimPartnerRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
637
|
+
},
|
|
345
638
|
/**
|
|
346
639
|
* Permanently deletes the claim partner. Supply the unique id that was returned when you created the claim partner and this will delete it. **Required Permissions** \"claim-management.partners.delete\"
|
|
347
640
|
* @summary Delete the claim partner
|
|
@@ -353,6 +646,18 @@ export const ClaimPartnersApiFactory = function (configuration?: Configuration,
|
|
|
353
646
|
deleteClaimPartner(id: number, authorization?: string, options?: any): AxiosPromise<void> {
|
|
354
647
|
return localVarFp.deleteClaimPartner(id, authorization, options).then((request) => request(axios, basePath));
|
|
355
648
|
},
|
|
649
|
+
/**
|
|
650
|
+
* Permanently deletes the claim partner. Supply the unique id that was returned when you created the claim partner and this will delete it. **Required Permissions** \"claim-management.partners.delete\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
651
|
+
* @summary Delete the claim partner
|
|
652
|
+
* @param {number} id
|
|
653
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
654
|
+
* @param {*} [options] Override http request option.
|
|
655
|
+
* @deprecated
|
|
656
|
+
* @throws {RequiredError}
|
|
657
|
+
*/
|
|
658
|
+
deleteClaimPartner1(id: number, authorization?: string, options?: any): AxiosPromise<void> {
|
|
659
|
+
return localVarFp.deleteClaimPartner1(id, authorization, options).then((request) => request(axios, basePath));
|
|
660
|
+
},
|
|
356
661
|
/**
|
|
357
662
|
* Retrieves the details of the claim partner that was previously created. Supply the unique claim partner id that was returned when you created it and Emil Api will return the corresponding claim partner information. **Required Permissions** \"claim-management.partners.view\"
|
|
358
663
|
* @summary Retrieve the claim partner
|
|
@@ -364,6 +669,18 @@ export const ClaimPartnersApiFactory = function (configuration?: Configuration,
|
|
|
364
669
|
getClaimPartner(id: number, authorization?: string, options?: any): AxiosPromise<GetClaimPartnerResponseClass> {
|
|
365
670
|
return localVarFp.getClaimPartner(id, authorization, options).then((request) => request(axios, basePath));
|
|
366
671
|
},
|
|
672
|
+
/**
|
|
673
|
+
* Retrieves the details of the claim partner that was previously created. Supply the unique claim partner id that was returned when you created it and Emil Api will return the corresponding claim partner information. **Required Permissions** \"claim-management.partners.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
674
|
+
* @summary Retrieve the claim partner
|
|
675
|
+
* @param {number} id
|
|
676
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
677
|
+
* @param {*} [options] Override http request option.
|
|
678
|
+
* @deprecated
|
|
679
|
+
* @throws {RequiredError}
|
|
680
|
+
*/
|
|
681
|
+
getClaimPartner1(id: number, authorization?: string, options?: any): AxiosPromise<GetClaimPartnerResponseClass> {
|
|
682
|
+
return localVarFp.getClaimPartner1(id, authorization, options).then((request) => request(axios, basePath));
|
|
683
|
+
},
|
|
367
684
|
/**
|
|
368
685
|
* Returns a list of claim partners you have previously created. The claim partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.partners.view\"
|
|
369
686
|
* @summary List claim partners
|
|
@@ -381,6 +698,24 @@ export const ClaimPartnersApiFactory = function (configuration?: Configuration,
|
|
|
381
698
|
listClaimPartners(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListClaimPartnersResponseClass> {
|
|
382
699
|
return localVarFp.listClaimPartners(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
383
700
|
},
|
|
701
|
+
/**
|
|
702
|
+
* Returns a list of claim partners you have previously created. The claim partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.partners.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
703
|
+
* @summary List claim partners
|
|
704
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
705
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
706
|
+
* @param {string} [pageToken] 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.
|
|
707
|
+
* @param {string} [filter] 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: partnerCode, claimPartnerRoleCode, claimCode</i>
|
|
708
|
+
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: partnerCode, claimPartnerRoleCode, claimCode</i>
|
|
709
|
+
* @param {string} [order] 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, createdAt, updatedAt</i>
|
|
710
|
+
* @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/> <i>Allowed values: role, partner<i>
|
|
711
|
+
* @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: partnerCode, claimPartnerRoleCode, claimCode</i>
|
|
712
|
+
* @param {*} [options] Override http request option.
|
|
713
|
+
* @deprecated
|
|
714
|
+
* @throws {RequiredError}
|
|
715
|
+
*/
|
|
716
|
+
listClaimPartners1(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListClaimPartnersResponseClass> {
|
|
717
|
+
return localVarFp.listClaimPartners1(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
718
|
+
},
|
|
384
719
|
};
|
|
385
720
|
};
|
|
386
721
|
|
|
@@ -412,6 +747,34 @@ export interface ClaimPartnersApiCreateClaimPartnerRequest {
|
|
|
412
747
|
readonly authorization?: string
|
|
413
748
|
}
|
|
414
749
|
|
|
750
|
+
/**
|
|
751
|
+
* Request parameters for createClaimPartner1 operation in ClaimPartnersApi.
|
|
752
|
+
* @export
|
|
753
|
+
* @interface ClaimPartnersApiCreateClaimPartner1Request
|
|
754
|
+
*/
|
|
755
|
+
export interface ClaimPartnersApiCreateClaimPartner1Request {
|
|
756
|
+
/**
|
|
757
|
+
* Unique identifier for the claim object.
|
|
758
|
+
* @type {string}
|
|
759
|
+
* @memberof ClaimPartnersApiCreateClaimPartner1
|
|
760
|
+
*/
|
|
761
|
+
readonly claimCode: string
|
|
762
|
+
|
|
763
|
+
/**
|
|
764
|
+
*
|
|
765
|
+
* @type {CreateClaimPartnerRequestDto}
|
|
766
|
+
* @memberof ClaimPartnersApiCreateClaimPartner1
|
|
767
|
+
*/
|
|
768
|
+
readonly createClaimPartnerRequestDto: CreateClaimPartnerRequestDto
|
|
769
|
+
|
|
770
|
+
/**
|
|
771
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
772
|
+
* @type {string}
|
|
773
|
+
* @memberof ClaimPartnersApiCreateClaimPartner1
|
|
774
|
+
*/
|
|
775
|
+
readonly authorization?: string
|
|
776
|
+
}
|
|
777
|
+
|
|
415
778
|
/**
|
|
416
779
|
* Request parameters for deleteClaimPartner operation in ClaimPartnersApi.
|
|
417
780
|
* @export
|
|
@@ -433,6 +796,27 @@ export interface ClaimPartnersApiDeleteClaimPartnerRequest {
|
|
|
433
796
|
readonly authorization?: string
|
|
434
797
|
}
|
|
435
798
|
|
|
799
|
+
/**
|
|
800
|
+
* Request parameters for deleteClaimPartner1 operation in ClaimPartnersApi.
|
|
801
|
+
* @export
|
|
802
|
+
* @interface ClaimPartnersApiDeleteClaimPartner1Request
|
|
803
|
+
*/
|
|
804
|
+
export interface ClaimPartnersApiDeleteClaimPartner1Request {
|
|
805
|
+
/**
|
|
806
|
+
*
|
|
807
|
+
* @type {number}
|
|
808
|
+
* @memberof ClaimPartnersApiDeleteClaimPartner1
|
|
809
|
+
*/
|
|
810
|
+
readonly id: number
|
|
811
|
+
|
|
812
|
+
/**
|
|
813
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
814
|
+
* @type {string}
|
|
815
|
+
* @memberof ClaimPartnersApiDeleteClaimPartner1
|
|
816
|
+
*/
|
|
817
|
+
readonly authorization?: string
|
|
818
|
+
}
|
|
819
|
+
|
|
436
820
|
/**
|
|
437
821
|
* Request parameters for getClaimPartner operation in ClaimPartnersApi.
|
|
438
822
|
* @export
|
|
@@ -454,6 +838,27 @@ export interface ClaimPartnersApiGetClaimPartnerRequest {
|
|
|
454
838
|
readonly authorization?: string
|
|
455
839
|
}
|
|
456
840
|
|
|
841
|
+
/**
|
|
842
|
+
* Request parameters for getClaimPartner1 operation in ClaimPartnersApi.
|
|
843
|
+
* @export
|
|
844
|
+
* @interface ClaimPartnersApiGetClaimPartner1Request
|
|
845
|
+
*/
|
|
846
|
+
export interface ClaimPartnersApiGetClaimPartner1Request {
|
|
847
|
+
/**
|
|
848
|
+
*
|
|
849
|
+
* @type {number}
|
|
850
|
+
* @memberof ClaimPartnersApiGetClaimPartner1
|
|
851
|
+
*/
|
|
852
|
+
readonly id: number
|
|
853
|
+
|
|
854
|
+
/**
|
|
855
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
856
|
+
* @type {string}
|
|
857
|
+
* @memberof ClaimPartnersApiGetClaimPartner1
|
|
858
|
+
*/
|
|
859
|
+
readonly authorization?: string
|
|
860
|
+
}
|
|
861
|
+
|
|
457
862
|
/**
|
|
458
863
|
* Request parameters for listClaimPartners operation in ClaimPartnersApi.
|
|
459
864
|
* @export
|
|
@@ -517,6 +922,69 @@ export interface ClaimPartnersApiListClaimPartnersRequest {
|
|
|
517
922
|
readonly filters?: string
|
|
518
923
|
}
|
|
519
924
|
|
|
925
|
+
/**
|
|
926
|
+
* Request parameters for listClaimPartners1 operation in ClaimPartnersApi.
|
|
927
|
+
* @export
|
|
928
|
+
* @interface ClaimPartnersApiListClaimPartners1Request
|
|
929
|
+
*/
|
|
930
|
+
export interface ClaimPartnersApiListClaimPartners1Request {
|
|
931
|
+
/**
|
|
932
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
933
|
+
* @type {string}
|
|
934
|
+
* @memberof ClaimPartnersApiListClaimPartners1
|
|
935
|
+
*/
|
|
936
|
+
readonly authorization?: string
|
|
937
|
+
|
|
938
|
+
/**
|
|
939
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
940
|
+
* @type {number}
|
|
941
|
+
* @memberof ClaimPartnersApiListClaimPartners1
|
|
942
|
+
*/
|
|
943
|
+
readonly pageSize?: number
|
|
944
|
+
|
|
945
|
+
/**
|
|
946
|
+
* 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.
|
|
947
|
+
* @type {string}
|
|
948
|
+
* @memberof ClaimPartnersApiListClaimPartners1
|
|
949
|
+
*/
|
|
950
|
+
readonly pageToken?: string
|
|
951
|
+
|
|
952
|
+
/**
|
|
953
|
+
* 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: partnerCode, claimPartnerRoleCode, claimCode</i>
|
|
954
|
+
* @type {string}
|
|
955
|
+
* @memberof ClaimPartnersApiListClaimPartners1
|
|
956
|
+
*/
|
|
957
|
+
readonly filter?: string
|
|
958
|
+
|
|
959
|
+
/**
|
|
960
|
+
* Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: partnerCode, claimPartnerRoleCode, claimCode</i>
|
|
961
|
+
* @type {string}
|
|
962
|
+
* @memberof ClaimPartnersApiListClaimPartners1
|
|
963
|
+
*/
|
|
964
|
+
readonly search?: string
|
|
965
|
+
|
|
966
|
+
/**
|
|
967
|
+
* 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, createdAt, updatedAt</i>
|
|
968
|
+
* @type {string}
|
|
969
|
+
* @memberof ClaimPartnersApiListClaimPartners1
|
|
970
|
+
*/
|
|
971
|
+
readonly order?: string
|
|
972
|
+
|
|
973
|
+
/**
|
|
974
|
+
* 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/> <i>Allowed values: role, partner<i>
|
|
975
|
+
* @type {string}
|
|
976
|
+
* @memberof ClaimPartnersApiListClaimPartners1
|
|
977
|
+
*/
|
|
978
|
+
readonly expand?: string
|
|
979
|
+
|
|
980
|
+
/**
|
|
981
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: partnerCode, claimPartnerRoleCode, claimCode</i>
|
|
982
|
+
* @type {string}
|
|
983
|
+
* @memberof ClaimPartnersApiListClaimPartners1
|
|
984
|
+
*/
|
|
985
|
+
readonly filters?: string
|
|
986
|
+
}
|
|
987
|
+
|
|
520
988
|
/**
|
|
521
989
|
* ClaimPartnersApi - object-oriented interface
|
|
522
990
|
* @export
|
|
@@ -536,6 +1004,19 @@ export class ClaimPartnersApi extends BaseAPI {
|
|
|
536
1004
|
return ClaimPartnersApiFp(this.configuration).createClaimPartner(requestParameters.claimCode, requestParameters.createClaimPartnerRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
537
1005
|
}
|
|
538
1006
|
|
|
1007
|
+
/**
|
|
1008
|
+
* This will create a claim partner. **Required Permissions** \"claim-management.partners.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1009
|
+
* @summary Create the claim partner
|
|
1010
|
+
* @param {ClaimPartnersApiCreateClaimPartner1Request} requestParameters Request parameters.
|
|
1011
|
+
* @param {*} [options] Override http request option.
|
|
1012
|
+
* @deprecated
|
|
1013
|
+
* @throws {RequiredError}
|
|
1014
|
+
* @memberof ClaimPartnersApi
|
|
1015
|
+
*/
|
|
1016
|
+
public createClaimPartner1(requestParameters: ClaimPartnersApiCreateClaimPartner1Request, options?: AxiosRequestConfig) {
|
|
1017
|
+
return ClaimPartnersApiFp(this.configuration).createClaimPartner1(requestParameters.claimCode, requestParameters.createClaimPartnerRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1018
|
+
}
|
|
1019
|
+
|
|
539
1020
|
/**
|
|
540
1021
|
* Permanently deletes the claim partner. Supply the unique id that was returned when you created the claim partner and this will delete it. **Required Permissions** \"claim-management.partners.delete\"
|
|
541
1022
|
* @summary Delete the claim partner
|
|
@@ -548,6 +1029,19 @@ export class ClaimPartnersApi extends BaseAPI {
|
|
|
548
1029
|
return ClaimPartnersApiFp(this.configuration).deleteClaimPartner(requestParameters.id, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
549
1030
|
}
|
|
550
1031
|
|
|
1032
|
+
/**
|
|
1033
|
+
* Permanently deletes the claim partner. Supply the unique id that was returned when you created the claim partner and this will delete it. **Required Permissions** \"claim-management.partners.delete\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1034
|
+
* @summary Delete the claim partner
|
|
1035
|
+
* @param {ClaimPartnersApiDeleteClaimPartner1Request} requestParameters Request parameters.
|
|
1036
|
+
* @param {*} [options] Override http request option.
|
|
1037
|
+
* @deprecated
|
|
1038
|
+
* @throws {RequiredError}
|
|
1039
|
+
* @memberof ClaimPartnersApi
|
|
1040
|
+
*/
|
|
1041
|
+
public deleteClaimPartner1(requestParameters: ClaimPartnersApiDeleteClaimPartner1Request, options?: AxiosRequestConfig) {
|
|
1042
|
+
return ClaimPartnersApiFp(this.configuration).deleteClaimPartner1(requestParameters.id, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1043
|
+
}
|
|
1044
|
+
|
|
551
1045
|
/**
|
|
552
1046
|
* Retrieves the details of the claim partner that was previously created. Supply the unique claim partner id that was returned when you created it and Emil Api will return the corresponding claim partner information. **Required Permissions** \"claim-management.partners.view\"
|
|
553
1047
|
* @summary Retrieve the claim partner
|
|
@@ -560,6 +1054,19 @@ export class ClaimPartnersApi extends BaseAPI {
|
|
|
560
1054
|
return ClaimPartnersApiFp(this.configuration).getClaimPartner(requestParameters.id, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
561
1055
|
}
|
|
562
1056
|
|
|
1057
|
+
/**
|
|
1058
|
+
* Retrieves the details of the claim partner that was previously created. Supply the unique claim partner id that was returned when you created it and Emil Api will return the corresponding claim partner information. **Required Permissions** \"claim-management.partners.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1059
|
+
* @summary Retrieve the claim partner
|
|
1060
|
+
* @param {ClaimPartnersApiGetClaimPartner1Request} requestParameters Request parameters.
|
|
1061
|
+
* @param {*} [options] Override http request option.
|
|
1062
|
+
* @deprecated
|
|
1063
|
+
* @throws {RequiredError}
|
|
1064
|
+
* @memberof ClaimPartnersApi
|
|
1065
|
+
*/
|
|
1066
|
+
public getClaimPartner1(requestParameters: ClaimPartnersApiGetClaimPartner1Request, options?: AxiosRequestConfig) {
|
|
1067
|
+
return ClaimPartnersApiFp(this.configuration).getClaimPartner1(requestParameters.id, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1068
|
+
}
|
|
1069
|
+
|
|
563
1070
|
/**
|
|
564
1071
|
* Returns a list of claim partners you have previously created. The claim partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.partners.view\"
|
|
565
1072
|
* @summary List claim partners
|
|
@@ -571,4 +1078,17 @@ export class ClaimPartnersApi extends BaseAPI {
|
|
|
571
1078
|
public listClaimPartners(requestParameters: ClaimPartnersApiListClaimPartnersRequest = {}, options?: AxiosRequestConfig) {
|
|
572
1079
|
return ClaimPartnersApiFp(this.configuration).listClaimPartners(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
573
1080
|
}
|
|
1081
|
+
|
|
1082
|
+
/**
|
|
1083
|
+
* Returns a list of claim partners you have previously created. The claim partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.partners.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1084
|
+
* @summary List claim partners
|
|
1085
|
+
* @param {ClaimPartnersApiListClaimPartners1Request} requestParameters Request parameters.
|
|
1086
|
+
* @param {*} [options] Override http request option.
|
|
1087
|
+
* @deprecated
|
|
1088
|
+
* @throws {RequiredError}
|
|
1089
|
+
* @memberof ClaimPartnersApi
|
|
1090
|
+
*/
|
|
1091
|
+
public listClaimPartners1(requestParameters: ClaimPartnersApiListClaimPartners1Request = {}, options?: AxiosRequestConfig) {
|
|
1092
|
+
return ClaimPartnersApiFp(this.configuration).listClaimPartners1(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
1093
|
+
}
|
|
574
1094
|
}
|