@emilgroup/claim-sdk 1.41.0 → 1.41.1-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +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
|
@@ -49,6 +49,54 @@ export const ClaimPartnerRolesApiAxiosParamCreator = function (configuration?: C
|
|
|
49
49
|
createClaimPartnerRole: async (createClaimPartnerRoleRequestDto: CreateClaimPartnerRoleRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
50
50
|
// verify required parameter 'createClaimPartnerRoleRequestDto' is not null or undefined
|
|
51
51
|
assertParamExists('createClaimPartnerRole', 'createClaimPartnerRoleRequestDto', createClaimPartnerRoleRequestDto)
|
|
52
|
+
const localVarPath = `/claimservice/v1/claim-partner-roles`;
|
|
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(createClaimPartnerRoleRequestDto, localVarRequestOptions, configuration)
|
|
82
|
+
|
|
83
|
+
return {
|
|
84
|
+
url: toPathString(localVarUrlObj),
|
|
85
|
+
options: localVarRequestOptions,
|
|
86
|
+
};
|
|
87
|
+
},
|
|
88
|
+
/**
|
|
89
|
+
* This will create a claim partner role. **Required Permissions** \"claim-management.partner-roles.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 role
|
|
91
|
+
* @param {CreateClaimPartnerRoleRequestDto} createClaimPartnerRoleRequestDto
|
|
92
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
93
|
+
* @param {*} [options] Override http request option.
|
|
94
|
+
* @deprecated
|
|
95
|
+
* @throws {RequiredError}
|
|
96
|
+
*/
|
|
97
|
+
createClaimPartnerRole1: async (createClaimPartnerRoleRequestDto: CreateClaimPartnerRoleRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
98
|
+
// verify required parameter 'createClaimPartnerRoleRequestDto' is not null or undefined
|
|
99
|
+
assertParamExists('createClaimPartnerRole1', 'createClaimPartnerRoleRequestDto', createClaimPartnerRoleRequestDto)
|
|
52
100
|
const localVarPath = `/v1/claim-partner-roles`;
|
|
53
101
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
54
102
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -96,6 +144,52 @@ export const ClaimPartnerRolesApiAxiosParamCreator = function (configuration?: C
|
|
|
96
144
|
deleteClaimPartnerRole: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
97
145
|
// verify required parameter 'code' is not null or undefined
|
|
98
146
|
assertParamExists('deleteClaimPartnerRole', 'code', code)
|
|
147
|
+
const localVarPath = `/claimservice/v1/claim-partner-roles/{code}`
|
|
148
|
+
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
149
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
150
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
151
|
+
let baseOptions;
|
|
152
|
+
let baseAccessToken;
|
|
153
|
+
if (configuration) {
|
|
154
|
+
baseOptions = configuration.baseOptions;
|
|
155
|
+
baseAccessToken = configuration.accessToken;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
159
|
+
const localVarHeaderParameter = {} as any;
|
|
160
|
+
const localVarQueryParameter = {} as any;
|
|
161
|
+
|
|
162
|
+
// authentication bearer required
|
|
163
|
+
// http bearer authentication required
|
|
164
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
165
|
+
|
|
166
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
167
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
173
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
174
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
175
|
+
|
|
176
|
+
return {
|
|
177
|
+
url: toPathString(localVarUrlObj),
|
|
178
|
+
options: localVarRequestOptions,
|
|
179
|
+
};
|
|
180
|
+
},
|
|
181
|
+
/**
|
|
182
|
+
* Permanently deletes the claim partner role. Supply the unique code that was returned when you created the claim partner role and this will delete it. **Required Permissions** \"claim-management.partner-roles.delete\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
183
|
+
* @summary Delete the claim partner role
|
|
184
|
+
* @param {string} code Unique identifier for the object.
|
|
185
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
186
|
+
* @param {*} [options] Override http request option.
|
|
187
|
+
* @deprecated
|
|
188
|
+
* @throws {RequiredError}
|
|
189
|
+
*/
|
|
190
|
+
deleteClaimPartnerRole1: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
191
|
+
// verify required parameter 'code' is not null or undefined
|
|
192
|
+
assertParamExists('deleteClaimPartnerRole1', 'code', code)
|
|
99
193
|
const localVarPath = `/v1/claim-partner-roles/{code}`
|
|
100
194
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
101
195
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -141,6 +235,52 @@ export const ClaimPartnerRolesApiAxiosParamCreator = function (configuration?: C
|
|
|
141
235
|
getClaimPartnerRole: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
142
236
|
// verify required parameter 'code' is not null or undefined
|
|
143
237
|
assertParamExists('getClaimPartnerRole', 'code', code)
|
|
238
|
+
const localVarPath = `/claimservice/v1/claim-partner-roles/{code}`
|
|
239
|
+
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
240
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
241
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
242
|
+
let baseOptions;
|
|
243
|
+
let baseAccessToken;
|
|
244
|
+
if (configuration) {
|
|
245
|
+
baseOptions = configuration.baseOptions;
|
|
246
|
+
baseAccessToken = configuration.accessToken;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
250
|
+
const localVarHeaderParameter = {} as any;
|
|
251
|
+
const localVarQueryParameter = {} as any;
|
|
252
|
+
|
|
253
|
+
// authentication bearer required
|
|
254
|
+
// http bearer authentication required
|
|
255
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
256
|
+
|
|
257
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
258
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
|
|
263
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
264
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
265
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
266
|
+
|
|
267
|
+
return {
|
|
268
|
+
url: toPathString(localVarUrlObj),
|
|
269
|
+
options: localVarRequestOptions,
|
|
270
|
+
};
|
|
271
|
+
},
|
|
272
|
+
/**
|
|
273
|
+
* Retrieves the details of the claim partner role that was previously created. Supply the unique claim partner role code that was returned when you created it and Emil Api will return the corresponding claim partner role information. **Required Permissions** \"claim-management.partner-roles.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
274
|
+
* @summary Retrieve the claim partner role
|
|
275
|
+
* @param {string} code Unique identifier for the object.
|
|
276
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
277
|
+
* @param {*} [options] Override http request option.
|
|
278
|
+
* @deprecated
|
|
279
|
+
* @throws {RequiredError}
|
|
280
|
+
*/
|
|
281
|
+
getClaimPartnerRole1: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
282
|
+
// verify required parameter 'code' is not null or undefined
|
|
283
|
+
assertParamExists('getClaimPartnerRole1', 'code', code)
|
|
144
284
|
const localVarPath = `/v1/claim-partner-roles/{code}`
|
|
145
285
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
146
286
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -190,6 +330,83 @@ export const ClaimPartnerRolesApiAxiosParamCreator = function (configuration?: C
|
|
|
190
330
|
* @throws {RequiredError}
|
|
191
331
|
*/
|
|
192
332
|
listClaimPartnerRole: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
333
|
+
const localVarPath = `/claimservice/v1/claim-partner-roles`;
|
|
334
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
335
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
336
|
+
let baseOptions;
|
|
337
|
+
let baseAccessToken;
|
|
338
|
+
if (configuration) {
|
|
339
|
+
baseOptions = configuration.baseOptions;
|
|
340
|
+
baseAccessToken = configuration.accessToken;
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
344
|
+
const localVarHeaderParameter = {} as any;
|
|
345
|
+
const localVarQueryParameter = {} as any;
|
|
346
|
+
|
|
347
|
+
// authentication bearer required
|
|
348
|
+
// http bearer authentication required
|
|
349
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
350
|
+
|
|
351
|
+
if (pageSize !== undefined) {
|
|
352
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
if (pageToken !== undefined) {
|
|
356
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
if (filter !== undefined) {
|
|
360
|
+
localVarQueryParameter['filter'] = filter;
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
if (search !== undefined) {
|
|
364
|
+
localVarQueryParameter['search'] = search;
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
if (order !== undefined) {
|
|
368
|
+
localVarQueryParameter['order'] = order;
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
if (expand !== undefined) {
|
|
372
|
+
localVarQueryParameter['expand'] = expand;
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
if (filters !== undefined) {
|
|
376
|
+
localVarQueryParameter['filters'] = filters;
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
380
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
|
|
384
|
+
|
|
385
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
386
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
387
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
388
|
+
|
|
389
|
+
return {
|
|
390
|
+
url: toPathString(localVarUrlObj),
|
|
391
|
+
options: localVarRequestOptions,
|
|
392
|
+
};
|
|
393
|
+
},
|
|
394
|
+
/**
|
|
395
|
+
* Returns a list of claim partner roles you have previously created. The claim partner roles are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.partner-roles.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
396
|
+
* @summary List claim partner roles
|
|
397
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
398
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
399
|
+
* @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.
|
|
400
|
+
* @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: name, productSlug</i>
|
|
401
|
+
* @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: name, productSlug</i>
|
|
402
|
+
* @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, name, productSlug, createdAt, updatedAt</i>
|
|
403
|
+
* @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/>
|
|
404
|
+
* @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: name, productSlug</i>
|
|
405
|
+
* @param {*} [options] Override http request option.
|
|
406
|
+
* @deprecated
|
|
407
|
+
* @throws {RequiredError}
|
|
408
|
+
*/
|
|
409
|
+
listClaimPartnerRole1: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
193
410
|
const localVarPath = `/v1/claim-partner-roles`;
|
|
194
411
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
195
412
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -265,6 +482,58 @@ export const ClaimPartnerRolesApiAxiosParamCreator = function (configuration?: C
|
|
|
265
482
|
assertParamExists('updateClaimPartnerRole', 'code', code)
|
|
266
483
|
// verify required parameter 'updateClaimPartnerRoleRequestDto' is not null or undefined
|
|
267
484
|
assertParamExists('updateClaimPartnerRole', 'updateClaimPartnerRoleRequestDto', updateClaimPartnerRoleRequestDto)
|
|
485
|
+
const localVarPath = `/claimservice/v1/claim-partner-roles/{code}`
|
|
486
|
+
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
487
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
488
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
489
|
+
let baseOptions;
|
|
490
|
+
let baseAccessToken;
|
|
491
|
+
if (configuration) {
|
|
492
|
+
baseOptions = configuration.baseOptions;
|
|
493
|
+
baseAccessToken = configuration.accessToken;
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
497
|
+
const localVarHeaderParameter = {} as any;
|
|
498
|
+
const localVarQueryParameter = {} as any;
|
|
499
|
+
|
|
500
|
+
// authentication bearer required
|
|
501
|
+
// http bearer authentication required
|
|
502
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
503
|
+
|
|
504
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
505
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
|
|
509
|
+
|
|
510
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
511
|
+
|
|
512
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
513
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
514
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
515
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateClaimPartnerRoleRequestDto, localVarRequestOptions, configuration)
|
|
516
|
+
|
|
517
|
+
return {
|
|
518
|
+
url: toPathString(localVarUrlObj),
|
|
519
|
+
options: localVarRequestOptions,
|
|
520
|
+
};
|
|
521
|
+
},
|
|
522
|
+
/**
|
|
523
|
+
* Updates the specified claim partner role by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.partner-roles.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
524
|
+
* @summary Update the claim partner role
|
|
525
|
+
* @param {string} code Unique identifier for the object.
|
|
526
|
+
* @param {UpdateClaimPartnerRoleRequestDto} updateClaimPartnerRoleRequestDto
|
|
527
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
528
|
+
* @param {*} [options] Override http request option.
|
|
529
|
+
* @deprecated
|
|
530
|
+
* @throws {RequiredError}
|
|
531
|
+
*/
|
|
532
|
+
updateClaimPartnerRole1: async (code: string, updateClaimPartnerRoleRequestDto: UpdateClaimPartnerRoleRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
533
|
+
// verify required parameter 'code' is not null or undefined
|
|
534
|
+
assertParamExists('updateClaimPartnerRole1', 'code', code)
|
|
535
|
+
// verify required parameter 'updateClaimPartnerRoleRequestDto' is not null or undefined
|
|
536
|
+
assertParamExists('updateClaimPartnerRole1', 'updateClaimPartnerRoleRequestDto', updateClaimPartnerRoleRequestDto)
|
|
268
537
|
const localVarPath = `/v1/claim-partner-roles/{code}`
|
|
269
538
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
270
539
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -324,6 +593,19 @@ export const ClaimPartnerRolesApiFp = function(configuration?: Configuration) {
|
|
|
324
593
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createClaimPartnerRole(createClaimPartnerRoleRequestDto, authorization, options);
|
|
325
594
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
326
595
|
},
|
|
596
|
+
/**
|
|
597
|
+
* This will create a claim partner role. **Required Permissions** \"claim-management.partner-roles.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
598
|
+
* @summary Create the claim partner role
|
|
599
|
+
* @param {CreateClaimPartnerRoleRequestDto} createClaimPartnerRoleRequestDto
|
|
600
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
601
|
+
* @param {*} [options] Override http request option.
|
|
602
|
+
* @deprecated
|
|
603
|
+
* @throws {RequiredError}
|
|
604
|
+
*/
|
|
605
|
+
async createClaimPartnerRole1(createClaimPartnerRoleRequestDto: CreateClaimPartnerRoleRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateClaimPartnerRoleResponseClass>> {
|
|
606
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createClaimPartnerRole1(createClaimPartnerRoleRequestDto, authorization, options);
|
|
607
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
608
|
+
},
|
|
327
609
|
/**
|
|
328
610
|
* Permanently deletes the claim partner role. Supply the unique code that was returned when you created the claim partner role and this will delete it. **Required Permissions** \"claim-management.partner-roles.delete\"
|
|
329
611
|
* @summary Delete the claim partner role
|
|
@@ -336,6 +618,19 @@ export const ClaimPartnerRolesApiFp = function(configuration?: Configuration) {
|
|
|
336
618
|
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteClaimPartnerRole(code, authorization, options);
|
|
337
619
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
338
620
|
},
|
|
621
|
+
/**
|
|
622
|
+
* Permanently deletes the claim partner role. Supply the unique code that was returned when you created the claim partner role and this will delete it. **Required Permissions** \"claim-management.partner-roles.delete\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
623
|
+
* @summary Delete the claim partner role
|
|
624
|
+
* @param {string} code Unique identifier for the object.
|
|
625
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
626
|
+
* @param {*} [options] Override http request option.
|
|
627
|
+
* @deprecated
|
|
628
|
+
* @throws {RequiredError}
|
|
629
|
+
*/
|
|
630
|
+
async deleteClaimPartnerRole1(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
631
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteClaimPartnerRole1(code, authorization, options);
|
|
632
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
633
|
+
},
|
|
339
634
|
/**
|
|
340
635
|
* Retrieves the details of the claim partner role that was previously created. Supply the unique claim partner role code that was returned when you created it and Emil Api will return the corresponding claim partner role information. **Required Permissions** \"claim-management.partner-roles.view\"
|
|
341
636
|
* @summary Retrieve the claim partner role
|
|
@@ -348,6 +643,19 @@ export const ClaimPartnerRolesApiFp = function(configuration?: Configuration) {
|
|
|
348
643
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getClaimPartnerRole(code, authorization, options);
|
|
349
644
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
350
645
|
},
|
|
646
|
+
/**
|
|
647
|
+
* Retrieves the details of the claim partner role that was previously created. Supply the unique claim partner role code that was returned when you created it and Emil Api will return the corresponding claim partner role information. **Required Permissions** \"claim-management.partner-roles.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
648
|
+
* @summary Retrieve the claim partner role
|
|
649
|
+
* @param {string} code Unique identifier for the object.
|
|
650
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
651
|
+
* @param {*} [options] Override http request option.
|
|
652
|
+
* @deprecated
|
|
653
|
+
* @throws {RequiredError}
|
|
654
|
+
*/
|
|
655
|
+
async getClaimPartnerRole1(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClaimPartnerRoleResponseClass>> {
|
|
656
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getClaimPartnerRole1(code, authorization, options);
|
|
657
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
658
|
+
},
|
|
351
659
|
/**
|
|
352
660
|
* Returns a list of claim partner roles you have previously created. The claim partner roles are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.partner-roles.view\"
|
|
353
661
|
* @summary List claim partner roles
|
|
@@ -366,6 +674,25 @@ export const ClaimPartnerRolesApiFp = function(configuration?: Configuration) {
|
|
|
366
674
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listClaimPartnerRole(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
367
675
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
368
676
|
},
|
|
677
|
+
/**
|
|
678
|
+
* Returns a list of claim partner roles you have previously created. The claim partner roles are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.partner-roles.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
679
|
+
* @summary List claim partner roles
|
|
680
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
681
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
682
|
+
* @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.
|
|
683
|
+
* @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: name, productSlug</i>
|
|
684
|
+
* @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: name, productSlug</i>
|
|
685
|
+
* @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, name, productSlug, createdAt, updatedAt</i>
|
|
686
|
+
* @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/>
|
|
687
|
+
* @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: name, productSlug</i>
|
|
688
|
+
* @param {*} [options] Override http request option.
|
|
689
|
+
* @deprecated
|
|
690
|
+
* @throws {RequiredError}
|
|
691
|
+
*/
|
|
692
|
+
async listClaimPartnerRole1(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListClaimPartnerRolesResponseClass>> {
|
|
693
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listClaimPartnerRole1(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
694
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
695
|
+
},
|
|
369
696
|
/**
|
|
370
697
|
* Updates the specified claim partner role by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.partner-roles.update\"
|
|
371
698
|
* @summary Update the claim partner role
|
|
@@ -379,6 +706,20 @@ export const ClaimPartnerRolesApiFp = function(configuration?: Configuration) {
|
|
|
379
706
|
const localVarAxiosArgs = await localVarAxiosParamCreator.updateClaimPartnerRole(code, updateClaimPartnerRoleRequestDto, authorization, options);
|
|
380
707
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
381
708
|
},
|
|
709
|
+
/**
|
|
710
|
+
* Updates the specified claim partner role by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.partner-roles.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
711
|
+
* @summary Update the claim partner role
|
|
712
|
+
* @param {string} code Unique identifier for the object.
|
|
713
|
+
* @param {UpdateClaimPartnerRoleRequestDto} updateClaimPartnerRoleRequestDto
|
|
714
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
715
|
+
* @param {*} [options] Override http request option.
|
|
716
|
+
* @deprecated
|
|
717
|
+
* @throws {RequiredError}
|
|
718
|
+
*/
|
|
719
|
+
async updateClaimPartnerRole1(code: string, updateClaimPartnerRoleRequestDto: UpdateClaimPartnerRoleRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateClaimPartnerRoleResponseClass>> {
|
|
720
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateClaimPartnerRole1(code, updateClaimPartnerRoleRequestDto, authorization, options);
|
|
721
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
722
|
+
},
|
|
382
723
|
}
|
|
383
724
|
};
|
|
384
725
|
|
|
@@ -400,6 +741,18 @@ export const ClaimPartnerRolesApiFactory = function (configuration?: Configurati
|
|
|
400
741
|
createClaimPartnerRole(createClaimPartnerRoleRequestDto: CreateClaimPartnerRoleRequestDto, authorization?: string, options?: any): AxiosPromise<CreateClaimPartnerRoleResponseClass> {
|
|
401
742
|
return localVarFp.createClaimPartnerRole(createClaimPartnerRoleRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
402
743
|
},
|
|
744
|
+
/**
|
|
745
|
+
* This will create a claim partner role. **Required Permissions** \"claim-management.partner-roles.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
746
|
+
* @summary Create the claim partner role
|
|
747
|
+
* @param {CreateClaimPartnerRoleRequestDto} createClaimPartnerRoleRequestDto
|
|
748
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
749
|
+
* @param {*} [options] Override http request option.
|
|
750
|
+
* @deprecated
|
|
751
|
+
* @throws {RequiredError}
|
|
752
|
+
*/
|
|
753
|
+
createClaimPartnerRole1(createClaimPartnerRoleRequestDto: CreateClaimPartnerRoleRequestDto, authorization?: string, options?: any): AxiosPromise<CreateClaimPartnerRoleResponseClass> {
|
|
754
|
+
return localVarFp.createClaimPartnerRole1(createClaimPartnerRoleRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
755
|
+
},
|
|
403
756
|
/**
|
|
404
757
|
* Permanently deletes the claim partner role. Supply the unique code that was returned when you created the claim partner role and this will delete it. **Required Permissions** \"claim-management.partner-roles.delete\"
|
|
405
758
|
* @summary Delete the claim partner role
|
|
@@ -411,6 +764,18 @@ export const ClaimPartnerRolesApiFactory = function (configuration?: Configurati
|
|
|
411
764
|
deleteClaimPartnerRole(code: string, authorization?: string, options?: any): AxiosPromise<void> {
|
|
412
765
|
return localVarFp.deleteClaimPartnerRole(code, authorization, options).then((request) => request(axios, basePath));
|
|
413
766
|
},
|
|
767
|
+
/**
|
|
768
|
+
* Permanently deletes the claim partner role. Supply the unique code that was returned when you created the claim partner role and this will delete it. **Required Permissions** \"claim-management.partner-roles.delete\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
769
|
+
* @summary Delete the claim partner role
|
|
770
|
+
* @param {string} code Unique identifier for the object.
|
|
771
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
772
|
+
* @param {*} [options] Override http request option.
|
|
773
|
+
* @deprecated
|
|
774
|
+
* @throws {RequiredError}
|
|
775
|
+
*/
|
|
776
|
+
deleteClaimPartnerRole1(code: string, authorization?: string, options?: any): AxiosPromise<void> {
|
|
777
|
+
return localVarFp.deleteClaimPartnerRole1(code, authorization, options).then((request) => request(axios, basePath));
|
|
778
|
+
},
|
|
414
779
|
/**
|
|
415
780
|
* Retrieves the details of the claim partner role that was previously created. Supply the unique claim partner role code that was returned when you created it and Emil Api will return the corresponding claim partner role information. **Required Permissions** \"claim-management.partner-roles.view\"
|
|
416
781
|
* @summary Retrieve the claim partner role
|
|
@@ -422,6 +787,18 @@ export const ClaimPartnerRolesApiFactory = function (configuration?: Configurati
|
|
|
422
787
|
getClaimPartnerRole(code: string, authorization?: string, options?: any): AxiosPromise<GetClaimPartnerRoleResponseClass> {
|
|
423
788
|
return localVarFp.getClaimPartnerRole(code, authorization, options).then((request) => request(axios, basePath));
|
|
424
789
|
},
|
|
790
|
+
/**
|
|
791
|
+
* Retrieves the details of the claim partner role that was previously created. Supply the unique claim partner role code that was returned when you created it and Emil Api will return the corresponding claim partner role information. **Required Permissions** \"claim-management.partner-roles.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
792
|
+
* @summary Retrieve the claim partner role
|
|
793
|
+
* @param {string} code Unique identifier for the object.
|
|
794
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
795
|
+
* @param {*} [options] Override http request option.
|
|
796
|
+
* @deprecated
|
|
797
|
+
* @throws {RequiredError}
|
|
798
|
+
*/
|
|
799
|
+
getClaimPartnerRole1(code: string, authorization?: string, options?: any): AxiosPromise<GetClaimPartnerRoleResponseClass> {
|
|
800
|
+
return localVarFp.getClaimPartnerRole1(code, authorization, options).then((request) => request(axios, basePath));
|
|
801
|
+
},
|
|
425
802
|
/**
|
|
426
803
|
* Returns a list of claim partner roles you have previously created. The claim partner roles are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.partner-roles.view\"
|
|
427
804
|
* @summary List claim partner roles
|
|
@@ -439,6 +816,24 @@ export const ClaimPartnerRolesApiFactory = function (configuration?: Configurati
|
|
|
439
816
|
listClaimPartnerRole(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListClaimPartnerRolesResponseClass> {
|
|
440
817
|
return localVarFp.listClaimPartnerRole(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
441
818
|
},
|
|
819
|
+
/**
|
|
820
|
+
* Returns a list of claim partner roles you have previously created. The claim partner roles are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.partner-roles.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
821
|
+
* @summary List claim partner roles
|
|
822
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
823
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
824
|
+
* @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.
|
|
825
|
+
* @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: name, productSlug</i>
|
|
826
|
+
* @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: name, productSlug</i>
|
|
827
|
+
* @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, name, productSlug, createdAt, updatedAt</i>
|
|
828
|
+
* @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/>
|
|
829
|
+
* @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: name, productSlug</i>
|
|
830
|
+
* @param {*} [options] Override http request option.
|
|
831
|
+
* @deprecated
|
|
832
|
+
* @throws {RequiredError}
|
|
833
|
+
*/
|
|
834
|
+
listClaimPartnerRole1(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListClaimPartnerRolesResponseClass> {
|
|
835
|
+
return localVarFp.listClaimPartnerRole1(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
836
|
+
},
|
|
442
837
|
/**
|
|
443
838
|
* Updates the specified claim partner role by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.partner-roles.update\"
|
|
444
839
|
* @summary Update the claim partner role
|
|
@@ -451,6 +846,19 @@ export const ClaimPartnerRolesApiFactory = function (configuration?: Configurati
|
|
|
451
846
|
updateClaimPartnerRole(code: string, updateClaimPartnerRoleRequestDto: UpdateClaimPartnerRoleRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateClaimPartnerRoleResponseClass> {
|
|
452
847
|
return localVarFp.updateClaimPartnerRole(code, updateClaimPartnerRoleRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
453
848
|
},
|
|
849
|
+
/**
|
|
850
|
+
* Updates the specified claim partner role by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.partner-roles.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
851
|
+
* @summary Update the claim partner role
|
|
852
|
+
* @param {string} code Unique identifier for the object.
|
|
853
|
+
* @param {UpdateClaimPartnerRoleRequestDto} updateClaimPartnerRoleRequestDto
|
|
854
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
855
|
+
* @param {*} [options] Override http request option.
|
|
856
|
+
* @deprecated
|
|
857
|
+
* @throws {RequiredError}
|
|
858
|
+
*/
|
|
859
|
+
updateClaimPartnerRole1(code: string, updateClaimPartnerRoleRequestDto: UpdateClaimPartnerRoleRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateClaimPartnerRoleResponseClass> {
|
|
860
|
+
return localVarFp.updateClaimPartnerRole1(code, updateClaimPartnerRoleRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
861
|
+
},
|
|
454
862
|
};
|
|
455
863
|
};
|
|
456
864
|
|
|
@@ -475,6 +883,27 @@ export interface ClaimPartnerRolesApiCreateClaimPartnerRoleRequest {
|
|
|
475
883
|
readonly authorization?: string
|
|
476
884
|
}
|
|
477
885
|
|
|
886
|
+
/**
|
|
887
|
+
* Request parameters for createClaimPartnerRole1 operation in ClaimPartnerRolesApi.
|
|
888
|
+
* @export
|
|
889
|
+
* @interface ClaimPartnerRolesApiCreateClaimPartnerRole1Request
|
|
890
|
+
*/
|
|
891
|
+
export interface ClaimPartnerRolesApiCreateClaimPartnerRole1Request {
|
|
892
|
+
/**
|
|
893
|
+
*
|
|
894
|
+
* @type {CreateClaimPartnerRoleRequestDto}
|
|
895
|
+
* @memberof ClaimPartnerRolesApiCreateClaimPartnerRole1
|
|
896
|
+
*/
|
|
897
|
+
readonly createClaimPartnerRoleRequestDto: CreateClaimPartnerRoleRequestDto
|
|
898
|
+
|
|
899
|
+
/**
|
|
900
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
901
|
+
* @type {string}
|
|
902
|
+
* @memberof ClaimPartnerRolesApiCreateClaimPartnerRole1
|
|
903
|
+
*/
|
|
904
|
+
readonly authorization?: string
|
|
905
|
+
}
|
|
906
|
+
|
|
478
907
|
/**
|
|
479
908
|
* Request parameters for deleteClaimPartnerRole operation in ClaimPartnerRolesApi.
|
|
480
909
|
* @export
|
|
@@ -496,6 +925,27 @@ export interface ClaimPartnerRolesApiDeleteClaimPartnerRoleRequest {
|
|
|
496
925
|
readonly authorization?: string
|
|
497
926
|
}
|
|
498
927
|
|
|
928
|
+
/**
|
|
929
|
+
* Request parameters for deleteClaimPartnerRole1 operation in ClaimPartnerRolesApi.
|
|
930
|
+
* @export
|
|
931
|
+
* @interface ClaimPartnerRolesApiDeleteClaimPartnerRole1Request
|
|
932
|
+
*/
|
|
933
|
+
export interface ClaimPartnerRolesApiDeleteClaimPartnerRole1Request {
|
|
934
|
+
/**
|
|
935
|
+
* Unique identifier for the object.
|
|
936
|
+
* @type {string}
|
|
937
|
+
* @memberof ClaimPartnerRolesApiDeleteClaimPartnerRole1
|
|
938
|
+
*/
|
|
939
|
+
readonly code: string
|
|
940
|
+
|
|
941
|
+
/**
|
|
942
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
943
|
+
* @type {string}
|
|
944
|
+
* @memberof ClaimPartnerRolesApiDeleteClaimPartnerRole1
|
|
945
|
+
*/
|
|
946
|
+
readonly authorization?: string
|
|
947
|
+
}
|
|
948
|
+
|
|
499
949
|
/**
|
|
500
950
|
* Request parameters for getClaimPartnerRole operation in ClaimPartnerRolesApi.
|
|
501
951
|
* @export
|
|
@@ -517,6 +967,27 @@ export interface ClaimPartnerRolesApiGetClaimPartnerRoleRequest {
|
|
|
517
967
|
readonly authorization?: string
|
|
518
968
|
}
|
|
519
969
|
|
|
970
|
+
/**
|
|
971
|
+
* Request parameters for getClaimPartnerRole1 operation in ClaimPartnerRolesApi.
|
|
972
|
+
* @export
|
|
973
|
+
* @interface ClaimPartnerRolesApiGetClaimPartnerRole1Request
|
|
974
|
+
*/
|
|
975
|
+
export interface ClaimPartnerRolesApiGetClaimPartnerRole1Request {
|
|
976
|
+
/**
|
|
977
|
+
* Unique identifier for the object.
|
|
978
|
+
* @type {string}
|
|
979
|
+
* @memberof ClaimPartnerRolesApiGetClaimPartnerRole1
|
|
980
|
+
*/
|
|
981
|
+
readonly code: string
|
|
982
|
+
|
|
983
|
+
/**
|
|
984
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
985
|
+
* @type {string}
|
|
986
|
+
* @memberof ClaimPartnerRolesApiGetClaimPartnerRole1
|
|
987
|
+
*/
|
|
988
|
+
readonly authorization?: string
|
|
989
|
+
}
|
|
990
|
+
|
|
520
991
|
/**
|
|
521
992
|
* Request parameters for listClaimPartnerRole operation in ClaimPartnerRolesApi.
|
|
522
993
|
* @export
|
|
@@ -580,6 +1051,69 @@ export interface ClaimPartnerRolesApiListClaimPartnerRoleRequest {
|
|
|
580
1051
|
readonly filters?: string
|
|
581
1052
|
}
|
|
582
1053
|
|
|
1054
|
+
/**
|
|
1055
|
+
* Request parameters for listClaimPartnerRole1 operation in ClaimPartnerRolesApi.
|
|
1056
|
+
* @export
|
|
1057
|
+
* @interface ClaimPartnerRolesApiListClaimPartnerRole1Request
|
|
1058
|
+
*/
|
|
1059
|
+
export interface ClaimPartnerRolesApiListClaimPartnerRole1Request {
|
|
1060
|
+
/**
|
|
1061
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1062
|
+
* @type {string}
|
|
1063
|
+
* @memberof ClaimPartnerRolesApiListClaimPartnerRole1
|
|
1064
|
+
*/
|
|
1065
|
+
readonly authorization?: string
|
|
1066
|
+
|
|
1067
|
+
/**
|
|
1068
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
1069
|
+
* @type {number}
|
|
1070
|
+
* @memberof ClaimPartnerRolesApiListClaimPartnerRole1
|
|
1071
|
+
*/
|
|
1072
|
+
readonly pageSize?: number
|
|
1073
|
+
|
|
1074
|
+
/**
|
|
1075
|
+
* 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.
|
|
1076
|
+
* @type {string}
|
|
1077
|
+
* @memberof ClaimPartnerRolesApiListClaimPartnerRole1
|
|
1078
|
+
*/
|
|
1079
|
+
readonly pageToken?: string
|
|
1080
|
+
|
|
1081
|
+
/**
|
|
1082
|
+
* 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: name, productSlug</i>
|
|
1083
|
+
* @type {string}
|
|
1084
|
+
* @memberof ClaimPartnerRolesApiListClaimPartnerRole1
|
|
1085
|
+
*/
|
|
1086
|
+
readonly filter?: string
|
|
1087
|
+
|
|
1088
|
+
/**
|
|
1089
|
+
* Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: name, productSlug</i>
|
|
1090
|
+
* @type {string}
|
|
1091
|
+
* @memberof ClaimPartnerRolesApiListClaimPartnerRole1
|
|
1092
|
+
*/
|
|
1093
|
+
readonly search?: string
|
|
1094
|
+
|
|
1095
|
+
/**
|
|
1096
|
+
* 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, name, productSlug, createdAt, updatedAt</i>
|
|
1097
|
+
* @type {string}
|
|
1098
|
+
* @memberof ClaimPartnerRolesApiListClaimPartnerRole1
|
|
1099
|
+
*/
|
|
1100
|
+
readonly order?: string
|
|
1101
|
+
|
|
1102
|
+
/**
|
|
1103
|
+
* 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/>
|
|
1104
|
+
* @type {string}
|
|
1105
|
+
* @memberof ClaimPartnerRolesApiListClaimPartnerRole1
|
|
1106
|
+
*/
|
|
1107
|
+
readonly expand?: string
|
|
1108
|
+
|
|
1109
|
+
/**
|
|
1110
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: name, productSlug</i>
|
|
1111
|
+
* @type {string}
|
|
1112
|
+
* @memberof ClaimPartnerRolesApiListClaimPartnerRole1
|
|
1113
|
+
*/
|
|
1114
|
+
readonly filters?: string
|
|
1115
|
+
}
|
|
1116
|
+
|
|
583
1117
|
/**
|
|
584
1118
|
* Request parameters for updateClaimPartnerRole operation in ClaimPartnerRolesApi.
|
|
585
1119
|
* @export
|
|
@@ -608,6 +1142,34 @@ export interface ClaimPartnerRolesApiUpdateClaimPartnerRoleRequest {
|
|
|
608
1142
|
readonly authorization?: string
|
|
609
1143
|
}
|
|
610
1144
|
|
|
1145
|
+
/**
|
|
1146
|
+
* Request parameters for updateClaimPartnerRole1 operation in ClaimPartnerRolesApi.
|
|
1147
|
+
* @export
|
|
1148
|
+
* @interface ClaimPartnerRolesApiUpdateClaimPartnerRole1Request
|
|
1149
|
+
*/
|
|
1150
|
+
export interface ClaimPartnerRolesApiUpdateClaimPartnerRole1Request {
|
|
1151
|
+
/**
|
|
1152
|
+
* Unique identifier for the object.
|
|
1153
|
+
* @type {string}
|
|
1154
|
+
* @memberof ClaimPartnerRolesApiUpdateClaimPartnerRole1
|
|
1155
|
+
*/
|
|
1156
|
+
readonly code: string
|
|
1157
|
+
|
|
1158
|
+
/**
|
|
1159
|
+
*
|
|
1160
|
+
* @type {UpdateClaimPartnerRoleRequestDto}
|
|
1161
|
+
* @memberof ClaimPartnerRolesApiUpdateClaimPartnerRole1
|
|
1162
|
+
*/
|
|
1163
|
+
readonly updateClaimPartnerRoleRequestDto: UpdateClaimPartnerRoleRequestDto
|
|
1164
|
+
|
|
1165
|
+
/**
|
|
1166
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1167
|
+
* @type {string}
|
|
1168
|
+
* @memberof ClaimPartnerRolesApiUpdateClaimPartnerRole1
|
|
1169
|
+
*/
|
|
1170
|
+
readonly authorization?: string
|
|
1171
|
+
}
|
|
1172
|
+
|
|
611
1173
|
/**
|
|
612
1174
|
* ClaimPartnerRolesApi - object-oriented interface
|
|
613
1175
|
* @export
|
|
@@ -627,6 +1189,19 @@ export class ClaimPartnerRolesApi extends BaseAPI {
|
|
|
627
1189
|
return ClaimPartnerRolesApiFp(this.configuration).createClaimPartnerRole(requestParameters.createClaimPartnerRoleRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
628
1190
|
}
|
|
629
1191
|
|
|
1192
|
+
/**
|
|
1193
|
+
* This will create a claim partner role. **Required Permissions** \"claim-management.partner-roles.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1194
|
+
* @summary Create the claim partner role
|
|
1195
|
+
* @param {ClaimPartnerRolesApiCreateClaimPartnerRole1Request} requestParameters Request parameters.
|
|
1196
|
+
* @param {*} [options] Override http request option.
|
|
1197
|
+
* @deprecated
|
|
1198
|
+
* @throws {RequiredError}
|
|
1199
|
+
* @memberof ClaimPartnerRolesApi
|
|
1200
|
+
*/
|
|
1201
|
+
public createClaimPartnerRole1(requestParameters: ClaimPartnerRolesApiCreateClaimPartnerRole1Request, options?: AxiosRequestConfig) {
|
|
1202
|
+
return ClaimPartnerRolesApiFp(this.configuration).createClaimPartnerRole1(requestParameters.createClaimPartnerRoleRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1203
|
+
}
|
|
1204
|
+
|
|
630
1205
|
/**
|
|
631
1206
|
* Permanently deletes the claim partner role. Supply the unique code that was returned when you created the claim partner role and this will delete it. **Required Permissions** \"claim-management.partner-roles.delete\"
|
|
632
1207
|
* @summary Delete the claim partner role
|
|
@@ -639,6 +1214,19 @@ export class ClaimPartnerRolesApi extends BaseAPI {
|
|
|
639
1214
|
return ClaimPartnerRolesApiFp(this.configuration).deleteClaimPartnerRole(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
640
1215
|
}
|
|
641
1216
|
|
|
1217
|
+
/**
|
|
1218
|
+
* Permanently deletes the claim partner role. Supply the unique code that was returned when you created the claim partner role and this will delete it. **Required Permissions** \"claim-management.partner-roles.delete\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1219
|
+
* @summary Delete the claim partner role
|
|
1220
|
+
* @param {ClaimPartnerRolesApiDeleteClaimPartnerRole1Request} requestParameters Request parameters.
|
|
1221
|
+
* @param {*} [options] Override http request option.
|
|
1222
|
+
* @deprecated
|
|
1223
|
+
* @throws {RequiredError}
|
|
1224
|
+
* @memberof ClaimPartnerRolesApi
|
|
1225
|
+
*/
|
|
1226
|
+
public deleteClaimPartnerRole1(requestParameters: ClaimPartnerRolesApiDeleteClaimPartnerRole1Request, options?: AxiosRequestConfig) {
|
|
1227
|
+
return ClaimPartnerRolesApiFp(this.configuration).deleteClaimPartnerRole1(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1228
|
+
}
|
|
1229
|
+
|
|
642
1230
|
/**
|
|
643
1231
|
* Retrieves the details of the claim partner role that was previously created. Supply the unique claim partner role code that was returned when you created it and Emil Api will return the corresponding claim partner role information. **Required Permissions** \"claim-management.partner-roles.view\"
|
|
644
1232
|
* @summary Retrieve the claim partner role
|
|
@@ -651,6 +1239,19 @@ export class ClaimPartnerRolesApi extends BaseAPI {
|
|
|
651
1239
|
return ClaimPartnerRolesApiFp(this.configuration).getClaimPartnerRole(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
652
1240
|
}
|
|
653
1241
|
|
|
1242
|
+
/**
|
|
1243
|
+
* Retrieves the details of the claim partner role that was previously created. Supply the unique claim partner role code that was returned when you created it and Emil Api will return the corresponding claim partner role information. **Required Permissions** \"claim-management.partner-roles.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1244
|
+
* @summary Retrieve the claim partner role
|
|
1245
|
+
* @param {ClaimPartnerRolesApiGetClaimPartnerRole1Request} requestParameters Request parameters.
|
|
1246
|
+
* @param {*} [options] Override http request option.
|
|
1247
|
+
* @deprecated
|
|
1248
|
+
* @throws {RequiredError}
|
|
1249
|
+
* @memberof ClaimPartnerRolesApi
|
|
1250
|
+
*/
|
|
1251
|
+
public getClaimPartnerRole1(requestParameters: ClaimPartnerRolesApiGetClaimPartnerRole1Request, options?: AxiosRequestConfig) {
|
|
1252
|
+
return ClaimPartnerRolesApiFp(this.configuration).getClaimPartnerRole1(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1253
|
+
}
|
|
1254
|
+
|
|
654
1255
|
/**
|
|
655
1256
|
* Returns a list of claim partner roles you have previously created. The claim partner roles are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.partner-roles.view\"
|
|
656
1257
|
* @summary List claim partner roles
|
|
@@ -663,6 +1264,19 @@ export class ClaimPartnerRolesApi extends BaseAPI {
|
|
|
663
1264
|
return ClaimPartnerRolesApiFp(this.configuration).listClaimPartnerRole(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
664
1265
|
}
|
|
665
1266
|
|
|
1267
|
+
/**
|
|
1268
|
+
* Returns a list of claim partner roles you have previously created. The claim partner roles are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.partner-roles.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1269
|
+
* @summary List claim partner roles
|
|
1270
|
+
* @param {ClaimPartnerRolesApiListClaimPartnerRole1Request} requestParameters Request parameters.
|
|
1271
|
+
* @param {*} [options] Override http request option.
|
|
1272
|
+
* @deprecated
|
|
1273
|
+
* @throws {RequiredError}
|
|
1274
|
+
* @memberof ClaimPartnerRolesApi
|
|
1275
|
+
*/
|
|
1276
|
+
public listClaimPartnerRole1(requestParameters: ClaimPartnerRolesApiListClaimPartnerRole1Request = {}, options?: AxiosRequestConfig) {
|
|
1277
|
+
return ClaimPartnerRolesApiFp(this.configuration).listClaimPartnerRole1(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
1278
|
+
}
|
|
1279
|
+
|
|
666
1280
|
/**
|
|
667
1281
|
* Updates the specified claim partner role by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.partner-roles.update\"
|
|
668
1282
|
* @summary Update the claim partner role
|
|
@@ -674,4 +1288,17 @@ export class ClaimPartnerRolesApi extends BaseAPI {
|
|
|
674
1288
|
public updateClaimPartnerRole(requestParameters: ClaimPartnerRolesApiUpdateClaimPartnerRoleRequest, options?: AxiosRequestConfig) {
|
|
675
1289
|
return ClaimPartnerRolesApiFp(this.configuration).updateClaimPartnerRole(requestParameters.code, requestParameters.updateClaimPartnerRoleRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
676
1290
|
}
|
|
1291
|
+
|
|
1292
|
+
/**
|
|
1293
|
+
* Updates the specified claim partner role by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.partner-roles.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1294
|
+
* @summary Update the claim partner role
|
|
1295
|
+
* @param {ClaimPartnerRolesApiUpdateClaimPartnerRole1Request} requestParameters Request parameters.
|
|
1296
|
+
* @param {*} [options] Override http request option.
|
|
1297
|
+
* @deprecated
|
|
1298
|
+
* @throws {RequiredError}
|
|
1299
|
+
* @memberof ClaimPartnerRolesApi
|
|
1300
|
+
*/
|
|
1301
|
+
public updateClaimPartnerRole1(requestParameters: ClaimPartnerRolesApiUpdateClaimPartnerRole1Request, options?: AxiosRequestConfig) {
|
|
1302
|
+
return ClaimPartnerRolesApiFp(this.configuration).updateClaimPartnerRole1(requestParameters.code, requestParameters.updateClaimPartnerRoleRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1303
|
+
}
|
|
677
1304
|
}
|