@emilgroup/claim-sdk 1.41.0 → 1.41.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 +644 -0
- package/api/claim-partner-roles-api.ts +627 -0
- package/api/claim-partners-api.ts +520 -0
- package/api/claim-positions-api.ts +1336 -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 +581 -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 +1177 -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
|
@@ -48,6 +48,58 @@ export const ClaimPartnersApiAxiosParamCreator = function (configuration?: Confi
|
|
|
48
48
|
assertParamExists('createClaimPartner', 'claimCode', claimCode)
|
|
49
49
|
// verify required parameter 'createClaimPartnerRequestDto' is not null or undefined
|
|
50
50
|
assertParamExists('createClaimPartner', 'createClaimPartnerRequestDto', createClaimPartnerRequestDto)
|
|
51
|
+
const localVarPath = `/claimservice/v1/claims/{claimCode}/partner`
|
|
52
|
+
.replace(`{${"claimCode"}}`, encodeURIComponent(String(claimCode)));
|
|
53
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
54
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
55
|
+
let baseOptions;
|
|
56
|
+
let baseAccessToken;
|
|
57
|
+
if (configuration) {
|
|
58
|
+
baseOptions = configuration.baseOptions;
|
|
59
|
+
baseAccessToken = configuration.accessToken;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
63
|
+
const localVarHeaderParameter = {} as any;
|
|
64
|
+
const localVarQueryParameter = {} as any;
|
|
65
|
+
|
|
66
|
+
// authentication bearer required
|
|
67
|
+
// http bearer authentication required
|
|
68
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
69
|
+
|
|
70
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
71
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
77
|
+
|
|
78
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
79
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
80
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
81
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createClaimPartnerRequestDto, localVarRequestOptions, configuration)
|
|
82
|
+
|
|
83
|
+
return {
|
|
84
|
+
url: toPathString(localVarUrlObj),
|
|
85
|
+
options: localVarRequestOptions,
|
|
86
|
+
};
|
|
87
|
+
},
|
|
88
|
+
/**
|
|
89
|
+
* 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.
|
|
90
|
+
* @summary Create the claim partner
|
|
91
|
+
* @param {string} claimCode Unique identifier for the claim object.
|
|
92
|
+
* @param {CreateClaimPartnerRequestDto} createClaimPartnerRequestDto
|
|
93
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
94
|
+
* @param {*} [options] Override http request option.
|
|
95
|
+
* @deprecated
|
|
96
|
+
* @throws {RequiredError}
|
|
97
|
+
*/
|
|
98
|
+
createClaimPartner1: async (claimCode: string, createClaimPartnerRequestDto: CreateClaimPartnerRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
99
|
+
// verify required parameter 'claimCode' is not null or undefined
|
|
100
|
+
assertParamExists('createClaimPartner1', 'claimCode', claimCode)
|
|
101
|
+
// verify required parameter 'createClaimPartnerRequestDto' is not null or undefined
|
|
102
|
+
assertParamExists('createClaimPartner1', 'createClaimPartnerRequestDto', createClaimPartnerRequestDto)
|
|
51
103
|
const localVarPath = `/v1/claims/{claimCode}/partner`
|
|
52
104
|
.replace(`{${"claimCode"}}`, encodeURIComponent(String(claimCode)));
|
|
53
105
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -96,6 +148,52 @@ export const ClaimPartnersApiAxiosParamCreator = function (configuration?: Confi
|
|
|
96
148
|
deleteClaimPartner: async (id: number, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
97
149
|
// verify required parameter 'id' is not null or undefined
|
|
98
150
|
assertParamExists('deleteClaimPartner', 'id', id)
|
|
151
|
+
const localVarPath = `/claimservice/v1/claim-partners/{id}`
|
|
152
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
153
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
154
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
155
|
+
let baseOptions;
|
|
156
|
+
let baseAccessToken;
|
|
157
|
+
if (configuration) {
|
|
158
|
+
baseOptions = configuration.baseOptions;
|
|
159
|
+
baseAccessToken = configuration.accessToken;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
163
|
+
const localVarHeaderParameter = {} as any;
|
|
164
|
+
const localVarQueryParameter = {} as any;
|
|
165
|
+
|
|
166
|
+
// authentication bearer required
|
|
167
|
+
// http bearer authentication required
|
|
168
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
169
|
+
|
|
170
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
171
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
177
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
178
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
179
|
+
|
|
180
|
+
return {
|
|
181
|
+
url: toPathString(localVarUrlObj),
|
|
182
|
+
options: localVarRequestOptions,
|
|
183
|
+
};
|
|
184
|
+
},
|
|
185
|
+
/**
|
|
186
|
+
* 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.
|
|
187
|
+
* @summary Delete the claim partner
|
|
188
|
+
* @param {number} id
|
|
189
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
190
|
+
* @param {*} [options] Override http request option.
|
|
191
|
+
* @deprecated
|
|
192
|
+
* @throws {RequiredError}
|
|
193
|
+
*/
|
|
194
|
+
deleteClaimPartner1: async (id: number, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
195
|
+
// verify required parameter 'id' is not null or undefined
|
|
196
|
+
assertParamExists('deleteClaimPartner1', 'id', id)
|
|
99
197
|
const localVarPath = `/v1/claim-partners/{id}`
|
|
100
198
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
101
199
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -141,6 +239,52 @@ export const ClaimPartnersApiAxiosParamCreator = function (configuration?: Confi
|
|
|
141
239
|
getClaimPartner: async (id: number, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
142
240
|
// verify required parameter 'id' is not null or undefined
|
|
143
241
|
assertParamExists('getClaimPartner', 'id', id)
|
|
242
|
+
const localVarPath = `/claimservice/v1/claim-partners/{id}`
|
|
243
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
244
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
245
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
246
|
+
let baseOptions;
|
|
247
|
+
let baseAccessToken;
|
|
248
|
+
if (configuration) {
|
|
249
|
+
baseOptions = configuration.baseOptions;
|
|
250
|
+
baseAccessToken = configuration.accessToken;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
254
|
+
const localVarHeaderParameter = {} as any;
|
|
255
|
+
const localVarQueryParameter = {} as any;
|
|
256
|
+
|
|
257
|
+
// authentication bearer required
|
|
258
|
+
// http bearer authentication required
|
|
259
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
260
|
+
|
|
261
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
262
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
268
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
269
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
270
|
+
|
|
271
|
+
return {
|
|
272
|
+
url: toPathString(localVarUrlObj),
|
|
273
|
+
options: localVarRequestOptions,
|
|
274
|
+
};
|
|
275
|
+
},
|
|
276
|
+
/**
|
|
277
|
+
* 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.
|
|
278
|
+
* @summary Retrieve the claim partner
|
|
279
|
+
* @param {number} id
|
|
280
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
281
|
+
* @param {*} [options] Override http request option.
|
|
282
|
+
* @deprecated
|
|
283
|
+
* @throws {RequiredError}
|
|
284
|
+
*/
|
|
285
|
+
getClaimPartner1: async (id: number, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
286
|
+
// verify required parameter 'id' is not null or undefined
|
|
287
|
+
assertParamExists('getClaimPartner1', 'id', id)
|
|
144
288
|
const localVarPath = `/v1/claim-partners/{id}`
|
|
145
289
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
146
290
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -190,6 +334,83 @@ export const ClaimPartnersApiAxiosParamCreator = function (configuration?: Confi
|
|
|
190
334
|
* @throws {RequiredError}
|
|
191
335
|
*/
|
|
192
336
|
listClaimPartners: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
337
|
+
const localVarPath = `/claimservice/v1/claim-partners`;
|
|
338
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
339
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
340
|
+
let baseOptions;
|
|
341
|
+
let baseAccessToken;
|
|
342
|
+
if (configuration) {
|
|
343
|
+
baseOptions = configuration.baseOptions;
|
|
344
|
+
baseAccessToken = configuration.accessToken;
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
348
|
+
const localVarHeaderParameter = {} as any;
|
|
349
|
+
const localVarQueryParameter = {} as any;
|
|
350
|
+
|
|
351
|
+
// authentication bearer required
|
|
352
|
+
// http bearer authentication required
|
|
353
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
354
|
+
|
|
355
|
+
if (pageSize !== undefined) {
|
|
356
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
if (pageToken !== undefined) {
|
|
360
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
if (filter !== undefined) {
|
|
364
|
+
localVarQueryParameter['filter'] = filter;
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
if (search !== undefined) {
|
|
368
|
+
localVarQueryParameter['search'] = search;
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
if (order !== undefined) {
|
|
372
|
+
localVarQueryParameter['order'] = order;
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
if (expand !== undefined) {
|
|
376
|
+
localVarQueryParameter['expand'] = expand;
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
if (filters !== undefined) {
|
|
380
|
+
localVarQueryParameter['filters'] = filters;
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
384
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
|
|
388
|
+
|
|
389
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
390
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
391
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
392
|
+
|
|
393
|
+
return {
|
|
394
|
+
url: toPathString(localVarUrlObj),
|
|
395
|
+
options: localVarRequestOptions,
|
|
396
|
+
};
|
|
397
|
+
},
|
|
398
|
+
/**
|
|
399
|
+
* 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.
|
|
400
|
+
* @summary List claim partners
|
|
401
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
402
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
403
|
+
* @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.
|
|
404
|
+
* @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>
|
|
405
|
+
* @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>
|
|
406
|
+
* @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>
|
|
407
|
+
* @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>
|
|
408
|
+
* @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>
|
|
409
|
+
* @param {*} [options] Override http request option.
|
|
410
|
+
* @deprecated
|
|
411
|
+
* @throws {RequiredError}
|
|
412
|
+
*/
|
|
413
|
+
listClaimPartners1: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
193
414
|
const localVarPath = `/v1/claim-partners`;
|
|
194
415
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
195
416
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -274,6 +495,20 @@ export const ClaimPartnersApiFp = function(configuration?: Configuration) {
|
|
|
274
495
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createClaimPartner(claimCode, createClaimPartnerRequestDto, authorization, options);
|
|
275
496
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
276
497
|
},
|
|
498
|
+
/**
|
|
499
|
+
* 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.
|
|
500
|
+
* @summary Create the claim partner
|
|
501
|
+
* @param {string} claimCode Unique identifier for the claim object.
|
|
502
|
+
* @param {CreateClaimPartnerRequestDto} createClaimPartnerRequestDto
|
|
503
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
504
|
+
* @param {*} [options] Override http request option.
|
|
505
|
+
* @deprecated
|
|
506
|
+
* @throws {RequiredError}
|
|
507
|
+
*/
|
|
508
|
+
async createClaimPartner1(claimCode: string, createClaimPartnerRequestDto: CreateClaimPartnerRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateClaimPartnerResponseClass>> {
|
|
509
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createClaimPartner1(claimCode, createClaimPartnerRequestDto, authorization, options);
|
|
510
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
511
|
+
},
|
|
277
512
|
/**
|
|
278
513
|
* 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\"
|
|
279
514
|
* @summary Delete the claim partner
|
|
@@ -286,6 +521,19 @@ export const ClaimPartnersApiFp = function(configuration?: Configuration) {
|
|
|
286
521
|
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteClaimPartner(id, authorization, options);
|
|
287
522
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
288
523
|
},
|
|
524
|
+
/**
|
|
525
|
+
* 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.
|
|
526
|
+
* @summary Delete the claim partner
|
|
527
|
+
* @param {number} id
|
|
528
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
529
|
+
* @param {*} [options] Override http request option.
|
|
530
|
+
* @deprecated
|
|
531
|
+
* @throws {RequiredError}
|
|
532
|
+
*/
|
|
533
|
+
async deleteClaimPartner1(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
534
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteClaimPartner1(id, authorization, options);
|
|
535
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
536
|
+
},
|
|
289
537
|
/**
|
|
290
538
|
* 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\"
|
|
291
539
|
* @summary Retrieve the claim partner
|
|
@@ -298,6 +546,19 @@ export const ClaimPartnersApiFp = function(configuration?: Configuration) {
|
|
|
298
546
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getClaimPartner(id, authorization, options);
|
|
299
547
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
300
548
|
},
|
|
549
|
+
/**
|
|
550
|
+
* 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.
|
|
551
|
+
* @summary Retrieve the claim partner
|
|
552
|
+
* @param {number} id
|
|
553
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
554
|
+
* @param {*} [options] Override http request option.
|
|
555
|
+
* @deprecated
|
|
556
|
+
* @throws {RequiredError}
|
|
557
|
+
*/
|
|
558
|
+
async getClaimPartner1(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClaimPartnerResponseClass>> {
|
|
559
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getClaimPartner1(id, authorization, options);
|
|
560
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
561
|
+
},
|
|
301
562
|
/**
|
|
302
563
|
* 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\"
|
|
303
564
|
* @summary List claim partners
|
|
@@ -316,6 +577,25 @@ export const ClaimPartnersApiFp = function(configuration?: Configuration) {
|
|
|
316
577
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listClaimPartners(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
317
578
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
318
579
|
},
|
|
580
|
+
/**
|
|
581
|
+
* 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.
|
|
582
|
+
* @summary List claim partners
|
|
583
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
584
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
585
|
+
* @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.
|
|
586
|
+
* @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>
|
|
587
|
+
* @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>
|
|
588
|
+
* @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>
|
|
589
|
+
* @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>
|
|
590
|
+
* @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>
|
|
591
|
+
* @param {*} [options] Override http request option.
|
|
592
|
+
* @deprecated
|
|
593
|
+
* @throws {RequiredError}
|
|
594
|
+
*/
|
|
595
|
+
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>> {
|
|
596
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listClaimPartners1(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
597
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
598
|
+
},
|
|
319
599
|
}
|
|
320
600
|
};
|
|
321
601
|
|
|
@@ -338,6 +618,19 @@ export const ClaimPartnersApiFactory = function (configuration?: Configuration,
|
|
|
338
618
|
createClaimPartner(claimCode: string, createClaimPartnerRequestDto: CreateClaimPartnerRequestDto, authorization?: string, options?: any): AxiosPromise<CreateClaimPartnerResponseClass> {
|
|
339
619
|
return localVarFp.createClaimPartner(claimCode, createClaimPartnerRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
340
620
|
},
|
|
621
|
+
/**
|
|
622
|
+
* 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.
|
|
623
|
+
* @summary Create the claim partner
|
|
624
|
+
* @param {string} claimCode Unique identifier for the claim object.
|
|
625
|
+
* @param {CreateClaimPartnerRequestDto} createClaimPartnerRequestDto
|
|
626
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
627
|
+
* @param {*} [options] Override http request option.
|
|
628
|
+
* @deprecated
|
|
629
|
+
* @throws {RequiredError}
|
|
630
|
+
*/
|
|
631
|
+
createClaimPartner1(claimCode: string, createClaimPartnerRequestDto: CreateClaimPartnerRequestDto, authorization?: string, options?: any): AxiosPromise<CreateClaimPartnerResponseClass> {
|
|
632
|
+
return localVarFp.createClaimPartner1(claimCode, createClaimPartnerRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
633
|
+
},
|
|
341
634
|
/**
|
|
342
635
|
* 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\"
|
|
343
636
|
* @summary Delete the claim partner
|
|
@@ -349,6 +642,18 @@ export const ClaimPartnersApiFactory = function (configuration?: Configuration,
|
|
|
349
642
|
deleteClaimPartner(id: number, authorization?: string, options?: any): AxiosPromise<void> {
|
|
350
643
|
return localVarFp.deleteClaimPartner(id, authorization, options).then((request) => request(axios, basePath));
|
|
351
644
|
},
|
|
645
|
+
/**
|
|
646
|
+
* 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.
|
|
647
|
+
* @summary Delete the claim partner
|
|
648
|
+
* @param {number} id
|
|
649
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
650
|
+
* @param {*} [options] Override http request option.
|
|
651
|
+
* @deprecated
|
|
652
|
+
* @throws {RequiredError}
|
|
653
|
+
*/
|
|
654
|
+
deleteClaimPartner1(id: number, authorization?: string, options?: any): AxiosPromise<void> {
|
|
655
|
+
return localVarFp.deleteClaimPartner1(id, authorization, options).then((request) => request(axios, basePath));
|
|
656
|
+
},
|
|
352
657
|
/**
|
|
353
658
|
* 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\"
|
|
354
659
|
* @summary Retrieve the claim partner
|
|
@@ -360,6 +665,18 @@ export const ClaimPartnersApiFactory = function (configuration?: Configuration,
|
|
|
360
665
|
getClaimPartner(id: number, authorization?: string, options?: any): AxiosPromise<GetClaimPartnerResponseClass> {
|
|
361
666
|
return localVarFp.getClaimPartner(id, authorization, options).then((request) => request(axios, basePath));
|
|
362
667
|
},
|
|
668
|
+
/**
|
|
669
|
+
* 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.
|
|
670
|
+
* @summary Retrieve the claim partner
|
|
671
|
+
* @param {number} id
|
|
672
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
673
|
+
* @param {*} [options] Override http request option.
|
|
674
|
+
* @deprecated
|
|
675
|
+
* @throws {RequiredError}
|
|
676
|
+
*/
|
|
677
|
+
getClaimPartner1(id: number, authorization?: string, options?: any): AxiosPromise<GetClaimPartnerResponseClass> {
|
|
678
|
+
return localVarFp.getClaimPartner1(id, authorization, options).then((request) => request(axios, basePath));
|
|
679
|
+
},
|
|
363
680
|
/**
|
|
364
681
|
* 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\"
|
|
365
682
|
* @summary List claim partners
|
|
@@ -377,6 +694,24 @@ export const ClaimPartnersApiFactory = function (configuration?: Configuration,
|
|
|
377
694
|
listClaimPartners(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListClaimPartnersResponseClass> {
|
|
378
695
|
return localVarFp.listClaimPartners(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
379
696
|
},
|
|
697
|
+
/**
|
|
698
|
+
* 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.
|
|
699
|
+
* @summary List claim partners
|
|
700
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
701
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
702
|
+
* @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.
|
|
703
|
+
* @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>
|
|
704
|
+
* @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>
|
|
705
|
+
* @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>
|
|
706
|
+
* @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>
|
|
707
|
+
* @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>
|
|
708
|
+
* @param {*} [options] Override http request option.
|
|
709
|
+
* @deprecated
|
|
710
|
+
* @throws {RequiredError}
|
|
711
|
+
*/
|
|
712
|
+
listClaimPartners1(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListClaimPartnersResponseClass> {
|
|
713
|
+
return localVarFp.listClaimPartners1(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
714
|
+
},
|
|
380
715
|
};
|
|
381
716
|
};
|
|
382
717
|
|
|
@@ -408,6 +743,34 @@ export interface ClaimPartnersApiCreateClaimPartnerRequest {
|
|
|
408
743
|
readonly authorization?: string
|
|
409
744
|
}
|
|
410
745
|
|
|
746
|
+
/**
|
|
747
|
+
* Request parameters for createClaimPartner1 operation in ClaimPartnersApi.
|
|
748
|
+
* @export
|
|
749
|
+
* @interface ClaimPartnersApiCreateClaimPartner1Request
|
|
750
|
+
*/
|
|
751
|
+
export interface ClaimPartnersApiCreateClaimPartner1Request {
|
|
752
|
+
/**
|
|
753
|
+
* Unique identifier for the claim object.
|
|
754
|
+
* @type {string}
|
|
755
|
+
* @memberof ClaimPartnersApiCreateClaimPartner1
|
|
756
|
+
*/
|
|
757
|
+
readonly claimCode: string
|
|
758
|
+
|
|
759
|
+
/**
|
|
760
|
+
*
|
|
761
|
+
* @type {CreateClaimPartnerRequestDto}
|
|
762
|
+
* @memberof ClaimPartnersApiCreateClaimPartner1
|
|
763
|
+
*/
|
|
764
|
+
readonly createClaimPartnerRequestDto: CreateClaimPartnerRequestDto
|
|
765
|
+
|
|
766
|
+
/**
|
|
767
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
768
|
+
* @type {string}
|
|
769
|
+
* @memberof ClaimPartnersApiCreateClaimPartner1
|
|
770
|
+
*/
|
|
771
|
+
readonly authorization?: string
|
|
772
|
+
}
|
|
773
|
+
|
|
411
774
|
/**
|
|
412
775
|
* Request parameters for deleteClaimPartner operation in ClaimPartnersApi.
|
|
413
776
|
* @export
|
|
@@ -429,6 +792,27 @@ export interface ClaimPartnersApiDeleteClaimPartnerRequest {
|
|
|
429
792
|
readonly authorization?: string
|
|
430
793
|
}
|
|
431
794
|
|
|
795
|
+
/**
|
|
796
|
+
* Request parameters for deleteClaimPartner1 operation in ClaimPartnersApi.
|
|
797
|
+
* @export
|
|
798
|
+
* @interface ClaimPartnersApiDeleteClaimPartner1Request
|
|
799
|
+
*/
|
|
800
|
+
export interface ClaimPartnersApiDeleteClaimPartner1Request {
|
|
801
|
+
/**
|
|
802
|
+
*
|
|
803
|
+
* @type {number}
|
|
804
|
+
* @memberof ClaimPartnersApiDeleteClaimPartner1
|
|
805
|
+
*/
|
|
806
|
+
readonly id: number
|
|
807
|
+
|
|
808
|
+
/**
|
|
809
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
810
|
+
* @type {string}
|
|
811
|
+
* @memberof ClaimPartnersApiDeleteClaimPartner1
|
|
812
|
+
*/
|
|
813
|
+
readonly authorization?: string
|
|
814
|
+
}
|
|
815
|
+
|
|
432
816
|
/**
|
|
433
817
|
* Request parameters for getClaimPartner operation in ClaimPartnersApi.
|
|
434
818
|
* @export
|
|
@@ -450,6 +834,27 @@ export interface ClaimPartnersApiGetClaimPartnerRequest {
|
|
|
450
834
|
readonly authorization?: string
|
|
451
835
|
}
|
|
452
836
|
|
|
837
|
+
/**
|
|
838
|
+
* Request parameters for getClaimPartner1 operation in ClaimPartnersApi.
|
|
839
|
+
* @export
|
|
840
|
+
* @interface ClaimPartnersApiGetClaimPartner1Request
|
|
841
|
+
*/
|
|
842
|
+
export interface ClaimPartnersApiGetClaimPartner1Request {
|
|
843
|
+
/**
|
|
844
|
+
*
|
|
845
|
+
* @type {number}
|
|
846
|
+
* @memberof ClaimPartnersApiGetClaimPartner1
|
|
847
|
+
*/
|
|
848
|
+
readonly id: number
|
|
849
|
+
|
|
850
|
+
/**
|
|
851
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
852
|
+
* @type {string}
|
|
853
|
+
* @memberof ClaimPartnersApiGetClaimPartner1
|
|
854
|
+
*/
|
|
855
|
+
readonly authorization?: string
|
|
856
|
+
}
|
|
857
|
+
|
|
453
858
|
/**
|
|
454
859
|
* Request parameters for listClaimPartners operation in ClaimPartnersApi.
|
|
455
860
|
* @export
|
|
@@ -513,6 +918,69 @@ export interface ClaimPartnersApiListClaimPartnersRequest {
|
|
|
513
918
|
readonly filters?: string
|
|
514
919
|
}
|
|
515
920
|
|
|
921
|
+
/**
|
|
922
|
+
* Request parameters for listClaimPartners1 operation in ClaimPartnersApi.
|
|
923
|
+
* @export
|
|
924
|
+
* @interface ClaimPartnersApiListClaimPartners1Request
|
|
925
|
+
*/
|
|
926
|
+
export interface ClaimPartnersApiListClaimPartners1Request {
|
|
927
|
+
/**
|
|
928
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
929
|
+
* @type {string}
|
|
930
|
+
* @memberof ClaimPartnersApiListClaimPartners1
|
|
931
|
+
*/
|
|
932
|
+
readonly authorization?: string
|
|
933
|
+
|
|
934
|
+
/**
|
|
935
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
936
|
+
* @type {number}
|
|
937
|
+
* @memberof ClaimPartnersApiListClaimPartners1
|
|
938
|
+
*/
|
|
939
|
+
readonly pageSize?: number
|
|
940
|
+
|
|
941
|
+
/**
|
|
942
|
+
* 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.
|
|
943
|
+
* @type {string}
|
|
944
|
+
* @memberof ClaimPartnersApiListClaimPartners1
|
|
945
|
+
*/
|
|
946
|
+
readonly pageToken?: string
|
|
947
|
+
|
|
948
|
+
/**
|
|
949
|
+
* 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>
|
|
950
|
+
* @type {string}
|
|
951
|
+
* @memberof ClaimPartnersApiListClaimPartners1
|
|
952
|
+
*/
|
|
953
|
+
readonly filter?: string
|
|
954
|
+
|
|
955
|
+
/**
|
|
956
|
+
* 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>
|
|
957
|
+
* @type {string}
|
|
958
|
+
* @memberof ClaimPartnersApiListClaimPartners1
|
|
959
|
+
*/
|
|
960
|
+
readonly search?: string
|
|
961
|
+
|
|
962
|
+
/**
|
|
963
|
+
* 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>
|
|
964
|
+
* @type {string}
|
|
965
|
+
* @memberof ClaimPartnersApiListClaimPartners1
|
|
966
|
+
*/
|
|
967
|
+
readonly order?: string
|
|
968
|
+
|
|
969
|
+
/**
|
|
970
|
+
* 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>
|
|
971
|
+
* @type {string}
|
|
972
|
+
* @memberof ClaimPartnersApiListClaimPartners1
|
|
973
|
+
*/
|
|
974
|
+
readonly expand?: string
|
|
975
|
+
|
|
976
|
+
/**
|
|
977
|
+
* 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>
|
|
978
|
+
* @type {string}
|
|
979
|
+
* @memberof ClaimPartnersApiListClaimPartners1
|
|
980
|
+
*/
|
|
981
|
+
readonly filters?: string
|
|
982
|
+
}
|
|
983
|
+
|
|
516
984
|
/**
|
|
517
985
|
* ClaimPartnersApi - object-oriented interface
|
|
518
986
|
* @export
|
|
@@ -532,6 +1000,19 @@ export class ClaimPartnersApi extends BaseAPI {
|
|
|
532
1000
|
return ClaimPartnersApiFp(this.configuration).createClaimPartner(requestParameters.claimCode, requestParameters.createClaimPartnerRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
533
1001
|
}
|
|
534
1002
|
|
|
1003
|
+
/**
|
|
1004
|
+
* 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.
|
|
1005
|
+
* @summary Create the claim partner
|
|
1006
|
+
* @param {ClaimPartnersApiCreateClaimPartner1Request} requestParameters Request parameters.
|
|
1007
|
+
* @param {*} [options] Override http request option.
|
|
1008
|
+
* @deprecated
|
|
1009
|
+
* @throws {RequiredError}
|
|
1010
|
+
* @memberof ClaimPartnersApi
|
|
1011
|
+
*/
|
|
1012
|
+
public createClaimPartner1(requestParameters: ClaimPartnersApiCreateClaimPartner1Request, options?: AxiosRequestConfig) {
|
|
1013
|
+
return ClaimPartnersApiFp(this.configuration).createClaimPartner1(requestParameters.claimCode, requestParameters.createClaimPartnerRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1014
|
+
}
|
|
1015
|
+
|
|
535
1016
|
/**
|
|
536
1017
|
* 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\"
|
|
537
1018
|
* @summary Delete the claim partner
|
|
@@ -544,6 +1025,19 @@ export class ClaimPartnersApi extends BaseAPI {
|
|
|
544
1025
|
return ClaimPartnersApiFp(this.configuration).deleteClaimPartner(requestParameters.id, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
545
1026
|
}
|
|
546
1027
|
|
|
1028
|
+
/**
|
|
1029
|
+
* 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.
|
|
1030
|
+
* @summary Delete the claim partner
|
|
1031
|
+
* @param {ClaimPartnersApiDeleteClaimPartner1Request} requestParameters Request parameters.
|
|
1032
|
+
* @param {*} [options] Override http request option.
|
|
1033
|
+
* @deprecated
|
|
1034
|
+
* @throws {RequiredError}
|
|
1035
|
+
* @memberof ClaimPartnersApi
|
|
1036
|
+
*/
|
|
1037
|
+
public deleteClaimPartner1(requestParameters: ClaimPartnersApiDeleteClaimPartner1Request, options?: AxiosRequestConfig) {
|
|
1038
|
+
return ClaimPartnersApiFp(this.configuration).deleteClaimPartner1(requestParameters.id, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1039
|
+
}
|
|
1040
|
+
|
|
547
1041
|
/**
|
|
548
1042
|
* 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\"
|
|
549
1043
|
* @summary Retrieve the claim partner
|
|
@@ -556,6 +1050,19 @@ export class ClaimPartnersApi extends BaseAPI {
|
|
|
556
1050
|
return ClaimPartnersApiFp(this.configuration).getClaimPartner(requestParameters.id, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
557
1051
|
}
|
|
558
1052
|
|
|
1053
|
+
/**
|
|
1054
|
+
* 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.
|
|
1055
|
+
* @summary Retrieve the claim partner
|
|
1056
|
+
* @param {ClaimPartnersApiGetClaimPartner1Request} requestParameters Request parameters.
|
|
1057
|
+
* @param {*} [options] Override http request option.
|
|
1058
|
+
* @deprecated
|
|
1059
|
+
* @throws {RequiredError}
|
|
1060
|
+
* @memberof ClaimPartnersApi
|
|
1061
|
+
*/
|
|
1062
|
+
public getClaimPartner1(requestParameters: ClaimPartnersApiGetClaimPartner1Request, options?: AxiosRequestConfig) {
|
|
1063
|
+
return ClaimPartnersApiFp(this.configuration).getClaimPartner1(requestParameters.id, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1064
|
+
}
|
|
1065
|
+
|
|
559
1066
|
/**
|
|
560
1067
|
* 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\"
|
|
561
1068
|
* @summary List claim partners
|
|
@@ -567,4 +1074,17 @@ export class ClaimPartnersApi extends BaseAPI {
|
|
|
567
1074
|
public listClaimPartners(requestParameters: ClaimPartnersApiListClaimPartnersRequest = {}, options?: AxiosRequestConfig) {
|
|
568
1075
|
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));
|
|
569
1076
|
}
|
|
1077
|
+
|
|
1078
|
+
/**
|
|
1079
|
+
* 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.
|
|
1080
|
+
* @summary List claim partners
|
|
1081
|
+
* @param {ClaimPartnersApiListClaimPartners1Request} requestParameters Request parameters.
|
|
1082
|
+
* @param {*} [options] Override http request option.
|
|
1083
|
+
* @deprecated
|
|
1084
|
+
* @throws {RequiredError}
|
|
1085
|
+
* @memberof ClaimPartnersApi
|
|
1086
|
+
*/
|
|
1087
|
+
public listClaimPartners1(requestParameters: ClaimPartnersApiListClaimPartners1Request = {}, options?: AxiosRequestConfig) {
|
|
1088
|
+
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));
|
|
1089
|
+
}
|
|
570
1090
|
}
|