@emilgroup/claim-sdk 1.40.1-beta.8 → 1.41.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 +0 -10
- package/README.md +2 -2
- package/api/claim-partner-roles-api.ts +0 -627
- package/api/claim-partners-api.ts +0 -520
- package/api/claim-regulations-api.ts +5 -646
- package/api/claim-statuses-api.ts +6 -753
- package/api/claims-api.ts +6 -858
- package/api/health-check-api.ts +0 -66
- package/api/settlements-api.ts +0 -627
- package/api.ts +0 -2
- package/dist/api/claim-partner-roles-api.d.ts +0 -358
- package/dist/api/claim-partner-roles-api.js +0 -525
- package/dist/api/claim-partners-api.d.ts +0 -299
- package/dist/api/claim-partners-api.js +0 -428
- package/dist/api/claim-regulations-api.d.ts +0 -367
- package/dist/api/claim-regulations-api.js +0 -531
- package/dist/api/claim-statuses-api.d.ts +0 -426
- package/dist/api/claim-statuses-api.js +14 -642
- package/dist/api/claims-api.d.ts +0 -485
- package/dist/api/claims-api.js +1 -725
- package/dist/api/health-check-api.d.ts +0 -33
- package/dist/api/health-check-api.js +0 -73
- package/dist/api/settlements-api.d.ts +0 -358
- package/dist/api/settlements-api.js +0 -525
- package/dist/api.d.ts +0 -1
- package/dist/api.js +0 -1
- package/dist/models/claim-class.d.ts +0 -6
- package/dist/models/index.d.ts +0 -9
- package/dist/models/index.js +0 -9
- package/dist/models/list-claim-partner-roles-response-class.d.ts +0 -12
- package/dist/models/list-claim-partners-response-class.d.ts +0 -12
- package/dist/models/list-claim-statuses-response-class.d.ts +1 -13
- package/dist/models/list-claims-response-class.d.ts +0 -12
- package/dist/models/list-regulations-response-class.d.ts +0 -12
- package/models/claim-class.ts +0 -6
- package/models/index.ts +0 -9
- package/models/list-claim-partner-roles-response-class.ts +0 -12
- package/models/list-claim-partners-response-class.ts +0 -12
- package/models/list-claim-statuses-response-class.ts +1 -13
- package/models/list-claims-response-class.ts +0 -12
- package/models/list-regulations-response-class.ts +0 -12
- package/package.json +1 -1
- package/api/claim-positions-api.ts +0 -1336
- package/dist/api/claim-positions-api.d.ts +0 -760
- package/dist/api/claim-positions-api.js +0 -1177
- package/dist/models/claim-position-class.d.ts +0 -121
- package/dist/models/claim-position-class.js +0 -15
- package/dist/models/coverage-class.d.ts +0 -72
- package/dist/models/coverage-class.js +0 -21
- package/dist/models/coverage-request-dto.d.ts +0 -41
- package/dist/models/coverage-request-dto.js +0 -20
- package/dist/models/create-claim-position-request-dto.d.ts +0 -73
- package/dist/models/create-claim-position-request-dto.js +0 -15
- package/dist/models/create-claim-position-response-class.d.ts +0 -25
- package/dist/models/create-claim-position-response-class.js +0 -15
- package/dist/models/get-claim-position-response-class.d.ts +0 -25
- package/dist/models/get-claim-position-response-class.js +0 -15
- package/dist/models/list-claim-positions-response-class.d.ts +0 -43
- package/dist/models/list-claim-positions-response-class.js +0 -15
- package/dist/models/update-claim-position-request-dto.d.ts +0 -73
- package/dist/models/update-claim-position-request-dto.js +0 -15
- package/dist/models/update-claim-position-response-class.d.ts +0 -25
- package/dist/models/update-claim-position-response-class.js +0 -15
- package/models/claim-position-class.ts +0 -127
- package/models/coverage-class.ts +0 -81
- package/models/coverage-request-dto.ts +0 -50
- package/models/create-claim-position-request-dto.ts +0 -79
- package/models/create-claim-position-response-class.ts +0 -31
- package/models/get-claim-position-response-class.ts +0 -31
- package/models/list-claim-positions-response-class.ts +0 -49
- package/models/update-claim-position-request-dto.ts +0 -79
- package/models/update-claim-position-response-class.ts +0 -31
|
@@ -49,54 +49,6 @@ 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)
|
|
100
52
|
const localVarPath = `/v1/claim-partner-roles`;
|
|
101
53
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
102
54
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -144,52 +96,6 @@ export const ClaimPartnerRolesApiAxiosParamCreator = function (configuration?: C
|
|
|
144
96
|
deleteClaimPartnerRole: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
145
97
|
// verify required parameter 'code' is not null or undefined
|
|
146
98
|
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)
|
|
193
99
|
const localVarPath = `/v1/claim-partner-roles/{code}`
|
|
194
100
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
195
101
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -235,52 +141,6 @@ export const ClaimPartnerRolesApiAxiosParamCreator = function (configuration?: C
|
|
|
235
141
|
getClaimPartnerRole: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
236
142
|
// verify required parameter 'code' is not null or undefined
|
|
237
143
|
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)
|
|
284
144
|
const localVarPath = `/v1/claim-partner-roles/{code}`
|
|
285
145
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
286
146
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -330,83 +190,6 @@ export const ClaimPartnerRolesApiAxiosParamCreator = function (configuration?: C
|
|
|
330
190
|
* @throws {RequiredError}
|
|
331
191
|
*/
|
|
332
192
|
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> => {
|
|
410
193
|
const localVarPath = `/v1/claim-partner-roles`;
|
|
411
194
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
412
195
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -482,58 +265,6 @@ export const ClaimPartnerRolesApiAxiosParamCreator = function (configuration?: C
|
|
|
482
265
|
assertParamExists('updateClaimPartnerRole', 'code', code)
|
|
483
266
|
// verify required parameter 'updateClaimPartnerRoleRequestDto' is not null or undefined
|
|
484
267
|
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)
|
|
537
268
|
const localVarPath = `/v1/claim-partner-roles/{code}`
|
|
538
269
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
539
270
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -593,19 +324,6 @@ export const ClaimPartnerRolesApiFp = function(configuration?: Configuration) {
|
|
|
593
324
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createClaimPartnerRole(createClaimPartnerRoleRequestDto, authorization, options);
|
|
594
325
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
595
326
|
},
|
|
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
|
-
},
|
|
609
327
|
/**
|
|
610
328
|
* 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\"
|
|
611
329
|
* @summary Delete the claim partner role
|
|
@@ -618,19 +336,6 @@ export const ClaimPartnerRolesApiFp = function(configuration?: Configuration) {
|
|
|
618
336
|
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteClaimPartnerRole(code, authorization, options);
|
|
619
337
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
620
338
|
},
|
|
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
|
-
},
|
|
634
339
|
/**
|
|
635
340
|
* 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\"
|
|
636
341
|
* @summary Retrieve the claim partner role
|
|
@@ -643,19 +348,6 @@ export const ClaimPartnerRolesApiFp = function(configuration?: Configuration) {
|
|
|
643
348
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getClaimPartnerRole(code, authorization, options);
|
|
644
349
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
645
350
|
},
|
|
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
|
-
},
|
|
659
351
|
/**
|
|
660
352
|
* 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\"
|
|
661
353
|
* @summary List claim partner roles
|
|
@@ -674,25 +366,6 @@ export const ClaimPartnerRolesApiFp = function(configuration?: Configuration) {
|
|
|
674
366
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listClaimPartnerRole(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
675
367
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
676
368
|
},
|
|
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
|
-
},
|
|
696
369
|
/**
|
|
697
370
|
* 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\"
|
|
698
371
|
* @summary Update the claim partner role
|
|
@@ -706,20 +379,6 @@ export const ClaimPartnerRolesApiFp = function(configuration?: Configuration) {
|
|
|
706
379
|
const localVarAxiosArgs = await localVarAxiosParamCreator.updateClaimPartnerRole(code, updateClaimPartnerRoleRequestDto, authorization, options);
|
|
707
380
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
708
381
|
},
|
|
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
|
-
},
|
|
723
382
|
}
|
|
724
383
|
};
|
|
725
384
|
|
|
@@ -741,18 +400,6 @@ export const ClaimPartnerRolesApiFactory = function (configuration?: Configurati
|
|
|
741
400
|
createClaimPartnerRole(createClaimPartnerRoleRequestDto: CreateClaimPartnerRoleRequestDto, authorization?: string, options?: any): AxiosPromise<CreateClaimPartnerRoleResponseClass> {
|
|
742
401
|
return localVarFp.createClaimPartnerRole(createClaimPartnerRoleRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
743
402
|
},
|
|
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
|
-
},
|
|
756
403
|
/**
|
|
757
404
|
* 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\"
|
|
758
405
|
* @summary Delete the claim partner role
|
|
@@ -764,18 +411,6 @@ export const ClaimPartnerRolesApiFactory = function (configuration?: Configurati
|
|
|
764
411
|
deleteClaimPartnerRole(code: string, authorization?: string, options?: any): AxiosPromise<void> {
|
|
765
412
|
return localVarFp.deleteClaimPartnerRole(code, authorization, options).then((request) => request(axios, basePath));
|
|
766
413
|
},
|
|
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
|
-
},
|
|
779
414
|
/**
|
|
780
415
|
* 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\"
|
|
781
416
|
* @summary Retrieve the claim partner role
|
|
@@ -787,18 +422,6 @@ export const ClaimPartnerRolesApiFactory = function (configuration?: Configurati
|
|
|
787
422
|
getClaimPartnerRole(code: string, authorization?: string, options?: any): AxiosPromise<GetClaimPartnerRoleResponseClass> {
|
|
788
423
|
return localVarFp.getClaimPartnerRole(code, authorization, options).then((request) => request(axios, basePath));
|
|
789
424
|
},
|
|
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
|
-
},
|
|
802
425
|
/**
|
|
803
426
|
* 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\"
|
|
804
427
|
* @summary List claim partner roles
|
|
@@ -816,24 +439,6 @@ export const ClaimPartnerRolesApiFactory = function (configuration?: Configurati
|
|
|
816
439
|
listClaimPartnerRole(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListClaimPartnerRolesResponseClass> {
|
|
817
440
|
return localVarFp.listClaimPartnerRole(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
818
441
|
},
|
|
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
|
-
},
|
|
837
442
|
/**
|
|
838
443
|
* 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\"
|
|
839
444
|
* @summary Update the claim partner role
|
|
@@ -846,19 +451,6 @@ export const ClaimPartnerRolesApiFactory = function (configuration?: Configurati
|
|
|
846
451
|
updateClaimPartnerRole(code: string, updateClaimPartnerRoleRequestDto: UpdateClaimPartnerRoleRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateClaimPartnerRoleResponseClass> {
|
|
847
452
|
return localVarFp.updateClaimPartnerRole(code, updateClaimPartnerRoleRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
848
453
|
},
|
|
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
|
-
},
|
|
862
454
|
};
|
|
863
455
|
};
|
|
864
456
|
|
|
@@ -883,27 +475,6 @@ export interface ClaimPartnerRolesApiCreateClaimPartnerRoleRequest {
|
|
|
883
475
|
readonly authorization?: string
|
|
884
476
|
}
|
|
885
477
|
|
|
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
|
-
|
|
907
478
|
/**
|
|
908
479
|
* Request parameters for deleteClaimPartnerRole operation in ClaimPartnerRolesApi.
|
|
909
480
|
* @export
|
|
@@ -925,27 +496,6 @@ export interface ClaimPartnerRolesApiDeleteClaimPartnerRoleRequest {
|
|
|
925
496
|
readonly authorization?: string
|
|
926
497
|
}
|
|
927
498
|
|
|
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
|
-
|
|
949
499
|
/**
|
|
950
500
|
* Request parameters for getClaimPartnerRole operation in ClaimPartnerRolesApi.
|
|
951
501
|
* @export
|
|
@@ -967,27 +517,6 @@ export interface ClaimPartnerRolesApiGetClaimPartnerRoleRequest {
|
|
|
967
517
|
readonly authorization?: string
|
|
968
518
|
}
|
|
969
519
|
|
|
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
|
-
|
|
991
520
|
/**
|
|
992
521
|
* Request parameters for listClaimPartnerRole operation in ClaimPartnerRolesApi.
|
|
993
522
|
* @export
|
|
@@ -1051,69 +580,6 @@ export interface ClaimPartnerRolesApiListClaimPartnerRoleRequest {
|
|
|
1051
580
|
readonly filters?: string
|
|
1052
581
|
}
|
|
1053
582
|
|
|
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
|
-
|
|
1117
583
|
/**
|
|
1118
584
|
* Request parameters for updateClaimPartnerRole operation in ClaimPartnerRolesApi.
|
|
1119
585
|
* @export
|
|
@@ -1142,34 +608,6 @@ export interface ClaimPartnerRolesApiUpdateClaimPartnerRoleRequest {
|
|
|
1142
608
|
readonly authorization?: string
|
|
1143
609
|
}
|
|
1144
610
|
|
|
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
|
-
|
|
1173
611
|
/**
|
|
1174
612
|
* ClaimPartnerRolesApi - object-oriented interface
|
|
1175
613
|
* @export
|
|
@@ -1189,19 +627,6 @@ export class ClaimPartnerRolesApi extends BaseAPI {
|
|
|
1189
627
|
return ClaimPartnerRolesApiFp(this.configuration).createClaimPartnerRole(requestParameters.createClaimPartnerRoleRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1190
628
|
}
|
|
1191
629
|
|
|
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
|
-
|
|
1205
630
|
/**
|
|
1206
631
|
* 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\"
|
|
1207
632
|
* @summary Delete the claim partner role
|
|
@@ -1214,19 +639,6 @@ export class ClaimPartnerRolesApi extends BaseAPI {
|
|
|
1214
639
|
return ClaimPartnerRolesApiFp(this.configuration).deleteClaimPartnerRole(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1215
640
|
}
|
|
1216
641
|
|
|
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
|
-
|
|
1230
642
|
/**
|
|
1231
643
|
* 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\"
|
|
1232
644
|
* @summary Retrieve the claim partner role
|
|
@@ -1239,19 +651,6 @@ export class ClaimPartnerRolesApi extends BaseAPI {
|
|
|
1239
651
|
return ClaimPartnerRolesApiFp(this.configuration).getClaimPartnerRole(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1240
652
|
}
|
|
1241
653
|
|
|
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
|
-
|
|
1255
654
|
/**
|
|
1256
655
|
* 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\"
|
|
1257
656
|
* @summary List claim partner roles
|
|
@@ -1264,19 +663,6 @@ export class ClaimPartnerRolesApi extends BaseAPI {
|
|
|
1264
663
|
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));
|
|
1265
664
|
}
|
|
1266
665
|
|
|
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
|
-
|
|
1280
666
|
/**
|
|
1281
667
|
* 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\"
|
|
1282
668
|
* @summary Update the claim partner role
|
|
@@ -1288,17 +674,4 @@ export class ClaimPartnerRolesApi extends BaseAPI {
|
|
|
1288
674
|
public updateClaimPartnerRole(requestParameters: ClaimPartnerRolesApiUpdateClaimPartnerRoleRequest, options?: AxiosRequestConfig) {
|
|
1289
675
|
return ClaimPartnerRolesApiFp(this.configuration).updateClaimPartnerRole(requestParameters.code, requestParameters.updateClaimPartnerRoleRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1290
676
|
}
|
|
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
|
-
}
|
|
1304
677
|
}
|