@emilgroup/claim-sdk-node 1.39.0 → 1.39.1-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +15 -0
- package/README.md +2 -2
- package/api/claim-limit-usages-api.ts +648 -0
- package/api/claim-partner-roles-api.ts +627 -0
- package/api/claim-partners-api.ts +520 -0
- package/api/claim-positions-api.ts +1340 -0
- package/api/claim-regulations-api.ts +644 -3
- package/api/claim-statuses-api.ts +752 -5
- package/api/claims-api.ts +863 -11
- package/api/health-check-api.ts +66 -0
- package/api/settlements-api.ts +627 -0
- package/api.ts +4 -0
- package/dist/api/claim-limit-usages-api.d.ts +378 -0
- package/dist/api/claim-limit-usages-api.js +585 -0
- package/dist/api/claim-partner-roles-api.d.ts +358 -0
- package/dist/api/claim-partner-roles-api.js +525 -0
- package/dist/api/claim-partners-api.d.ts +299 -0
- package/dist/api/claim-partners-api.js +428 -0
- package/dist/api/claim-positions-api.d.ts +760 -0
- package/dist/api/claim-positions-api.js +1181 -0
- package/dist/api/claim-regulations-api.d.ts +367 -0
- package/dist/api/claim-regulations-api.js +531 -0
- package/dist/api/claim-statuses-api.d.ts +426 -0
- package/dist/api/claim-statuses-api.js +642 -14
- package/dist/api/claims-api.d.ts +493 -8
- package/dist/api/claims-api.js +734 -10
- package/dist/api/health-check-api.d.ts +33 -0
- package/dist/api/health-check-api.js +73 -0
- package/dist/api/settlements-api.d.ts +358 -0
- package/dist/api/settlements-api.js +525 -0
- package/dist/api.d.ts +2 -0
- package/dist/api.js +2 -0
- package/dist/models/calculation-step-result-class.d.ts +72 -0
- package/dist/models/calculation-step-result-class.js +21 -0
- package/dist/models/claim-applied-deductible-class.d.ts +95 -0
- package/dist/models/claim-applied-deductible-class.js +20 -0
- package/dist/models/claim-class.d.ts +25 -0
- package/dist/models/claim-limit-usage-class.d.ts +143 -0
- package/dist/models/claim-limit-usage-class.js +30 -0
- package/dist/models/claim-limit-usage-result-class.d.ts +48 -0
- package/dist/models/claim-limit-usage-result-class.js +21 -0
- package/dist/models/claim-position-class.d.ts +151 -0
- package/dist/models/claim-position-class.js +20 -0
- package/dist/models/create-claim-position-request-dto.d.ts +66 -0
- package/dist/models/create-claim-position-request-dto.js +15 -0
- package/dist/models/create-claim-position-response-class.d.ts +25 -0
- package/dist/models/create-claim-position-response-class.js +15 -0
- package/dist/models/create-claim-request-dto.d.ts +6 -0
- package/dist/models/create-regulation-item-request-dto.d.ts +26 -3
- package/dist/models/create-regulation-item-request-dto.js +5 -1
- package/dist/models/get-claim-limit-usage-response-class.d.ts +25 -0
- package/dist/models/get-claim-limit-usage-response-class.js +15 -0
- package/dist/models/get-claim-position-response-class.d.ts +25 -0
- package/dist/models/get-claim-position-response-class.js +15 -0
- package/dist/models/index.d.ts +13 -0
- package/dist/models/index.js +13 -0
- package/dist/models/list-claim-limit-usages-response-class.d.ts +43 -0
- package/dist/models/list-claim-limit-usages-response-class.js +15 -0
- package/dist/models/list-claim-partner-roles-response-class.d.ts +12 -0
- package/dist/models/list-claim-partners-response-class.d.ts +12 -0
- package/dist/models/list-claim-positions-response-class.d.ts +43 -0
- package/dist/models/list-claim-positions-response-class.js +15 -0
- package/dist/models/list-claim-statuses-response-class.d.ts +13 -1
- package/dist/models/list-claims-response-class.d.ts +12 -0
- package/dist/models/list-regulations-response-class.d.ts +12 -0
- package/dist/models/patch-claim-request-dto.d.ts +39 -33
- package/dist/models/regulation-item-class.d.ts +35 -0
- package/dist/models/regulation-item-class.js +10 -1
- package/dist/models/update-claim-position-request-dto.d.ts +60 -0
- package/dist/models/update-claim-position-request-dto.js +15 -0
- package/dist/models/update-claim-position-response-class.d.ts +25 -0
- package/dist/models/update-claim-position-response-class.js +15 -0
- package/dist/models/update-claim-request-dto.d.ts +39 -33
- package/dist/models/update-regulation-item-request-dto.d.ts +12 -0
- package/dist/models/update-regulation-item-request-dto.js +6 -1
- package/models/calculation-step-result-class.ts +81 -0
- package/models/claim-applied-deductible-class.ts +104 -0
- package/models/claim-class.ts +25 -0
- package/models/claim-limit-usage-class.ts +154 -0
- package/models/claim-limit-usage-result-class.ts +57 -0
- package/models/claim-position-class.ts +160 -0
- package/models/create-claim-position-request-dto.ts +72 -0
- package/models/create-claim-position-response-class.ts +31 -0
- package/models/create-claim-request-dto.ts +6 -0
- package/models/create-regulation-item-request-dto.ts +27 -3
- package/models/get-claim-limit-usage-response-class.ts +31 -0
- package/models/get-claim-position-response-class.ts +31 -0
- package/models/index.ts +13 -0
- package/models/list-claim-limit-usages-response-class.ts +49 -0
- package/models/list-claim-partner-roles-response-class.ts +12 -0
- package/models/list-claim-partners-response-class.ts +12 -0
- package/models/list-claim-positions-response-class.ts +49 -0
- package/models/list-claim-statuses-response-class.ts +13 -1
- package/models/list-claims-response-class.ts +12 -0
- package/models/list-regulations-response-class.ts +12 -0
- package/models/patch-claim-request-dto.ts +39 -33
- package/models/regulation-item-class.ts +37 -0
- package/models/update-claim-position-request-dto.ts +66 -0
- package/models/update-claim-position-response-class.ts +31 -0
- package/models/update-claim-request-dto.ts +39 -33
- package/models/update-regulation-item-request-dto.ts +13 -0
- package/package.json +1 -1
|
@@ -113,6 +113,56 @@ var ClaimPartnerRolesApiAxiosParamCreator = function (configuration) {
|
|
|
113
113
|
case 0:
|
|
114
114
|
// verify required parameter 'createClaimPartnerRoleRequestDto' is not null or undefined
|
|
115
115
|
(0, common_1.assertParamExists)('createClaimPartnerRole', 'createClaimPartnerRoleRequestDto', createClaimPartnerRoleRequestDto);
|
|
116
|
+
localVarPath = "/claimservice/v1/claim-partner-roles";
|
|
117
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
118
|
+
if (configuration) {
|
|
119
|
+
baseOptions = configuration.baseOptions;
|
|
120
|
+
baseAccessToken = configuration.accessToken;
|
|
121
|
+
}
|
|
122
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
123
|
+
localVarHeaderParameter = {};
|
|
124
|
+
localVarQueryParameter = {};
|
|
125
|
+
// authentication bearer required
|
|
126
|
+
// http bearer authentication required
|
|
127
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
128
|
+
case 1:
|
|
129
|
+
// authentication bearer required
|
|
130
|
+
// http bearer authentication required
|
|
131
|
+
_a.sent();
|
|
132
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
133
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
134
|
+
}
|
|
135
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
136
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
137
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
138
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
139
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createClaimPartnerRoleRequestDto, localVarRequestOptions, configuration);
|
|
140
|
+
return [2 /*return*/, {
|
|
141
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
142
|
+
options: localVarRequestOptions,
|
|
143
|
+
}];
|
|
144
|
+
}
|
|
145
|
+
});
|
|
146
|
+
});
|
|
147
|
+
},
|
|
148
|
+
/**
|
|
149
|
+
* 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.
|
|
150
|
+
* @summary Create the claim partner role
|
|
151
|
+
* @param {CreateClaimPartnerRoleRequestDto} createClaimPartnerRoleRequestDto
|
|
152
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
153
|
+
* @param {*} [options] Override http request option.
|
|
154
|
+
* @deprecated
|
|
155
|
+
* @throws {RequiredError}
|
|
156
|
+
*/
|
|
157
|
+
createClaimPartnerRole1: function (createClaimPartnerRoleRequestDto, authorization, options) {
|
|
158
|
+
if (options === void 0) { options = {}; }
|
|
159
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
160
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
161
|
+
return __generator(this, function (_a) {
|
|
162
|
+
switch (_a.label) {
|
|
163
|
+
case 0:
|
|
164
|
+
// verify required parameter 'createClaimPartnerRoleRequestDto' is not null or undefined
|
|
165
|
+
(0, common_1.assertParamExists)('createClaimPartnerRole1', 'createClaimPartnerRoleRequestDto', createClaimPartnerRoleRequestDto);
|
|
116
166
|
localVarPath = "/v1/claim-partner-roles";
|
|
117
167
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
118
168
|
if (configuration) {
|
|
@@ -162,6 +212,55 @@ var ClaimPartnerRolesApiAxiosParamCreator = function (configuration) {
|
|
|
162
212
|
case 0:
|
|
163
213
|
// verify required parameter 'code' is not null or undefined
|
|
164
214
|
(0, common_1.assertParamExists)('deleteClaimPartnerRole', 'code', code);
|
|
215
|
+
localVarPath = "/claimservice/v1/claim-partner-roles/{code}"
|
|
216
|
+
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
217
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
218
|
+
if (configuration) {
|
|
219
|
+
baseOptions = configuration.baseOptions;
|
|
220
|
+
baseAccessToken = configuration.accessToken;
|
|
221
|
+
}
|
|
222
|
+
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
|
|
223
|
+
localVarHeaderParameter = {};
|
|
224
|
+
localVarQueryParameter = {};
|
|
225
|
+
// authentication bearer required
|
|
226
|
+
// http bearer authentication required
|
|
227
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
228
|
+
case 1:
|
|
229
|
+
// authentication bearer required
|
|
230
|
+
// http bearer authentication required
|
|
231
|
+
_a.sent();
|
|
232
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
233
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
234
|
+
}
|
|
235
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
236
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
237
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
238
|
+
return [2 /*return*/, {
|
|
239
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
240
|
+
options: localVarRequestOptions,
|
|
241
|
+
}];
|
|
242
|
+
}
|
|
243
|
+
});
|
|
244
|
+
});
|
|
245
|
+
},
|
|
246
|
+
/**
|
|
247
|
+
* 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.
|
|
248
|
+
* @summary Delete the claim partner role
|
|
249
|
+
* @param {string} code Unique identifier for the object.
|
|
250
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
251
|
+
* @param {*} [options] Override http request option.
|
|
252
|
+
* @deprecated
|
|
253
|
+
* @throws {RequiredError}
|
|
254
|
+
*/
|
|
255
|
+
deleteClaimPartnerRole1: function (code, authorization, options) {
|
|
256
|
+
if (options === void 0) { options = {}; }
|
|
257
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
258
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
259
|
+
return __generator(this, function (_a) {
|
|
260
|
+
switch (_a.label) {
|
|
261
|
+
case 0:
|
|
262
|
+
// verify required parameter 'code' is not null or undefined
|
|
263
|
+
(0, common_1.assertParamExists)('deleteClaimPartnerRole1', 'code', code);
|
|
165
264
|
localVarPath = "/v1/claim-partner-roles/{code}"
|
|
166
265
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
167
266
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -210,6 +309,55 @@ var ClaimPartnerRolesApiAxiosParamCreator = function (configuration) {
|
|
|
210
309
|
case 0:
|
|
211
310
|
// verify required parameter 'code' is not null or undefined
|
|
212
311
|
(0, common_1.assertParamExists)('getClaimPartnerRole', 'code', code);
|
|
312
|
+
localVarPath = "/claimservice/v1/claim-partner-roles/{code}"
|
|
313
|
+
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
314
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
315
|
+
if (configuration) {
|
|
316
|
+
baseOptions = configuration.baseOptions;
|
|
317
|
+
baseAccessToken = configuration.accessToken;
|
|
318
|
+
}
|
|
319
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
320
|
+
localVarHeaderParameter = {};
|
|
321
|
+
localVarQueryParameter = {};
|
|
322
|
+
// authentication bearer required
|
|
323
|
+
// http bearer authentication required
|
|
324
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
325
|
+
case 1:
|
|
326
|
+
// authentication bearer required
|
|
327
|
+
// http bearer authentication required
|
|
328
|
+
_a.sent();
|
|
329
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
330
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
331
|
+
}
|
|
332
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
333
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
334
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
335
|
+
return [2 /*return*/, {
|
|
336
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
337
|
+
options: localVarRequestOptions,
|
|
338
|
+
}];
|
|
339
|
+
}
|
|
340
|
+
});
|
|
341
|
+
});
|
|
342
|
+
},
|
|
343
|
+
/**
|
|
344
|
+
* 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.
|
|
345
|
+
* @summary Retrieve the claim partner role
|
|
346
|
+
* @param {string} code Unique identifier for the object.
|
|
347
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
348
|
+
* @param {*} [options] Override http request option.
|
|
349
|
+
* @deprecated
|
|
350
|
+
* @throws {RequiredError}
|
|
351
|
+
*/
|
|
352
|
+
getClaimPartnerRole1: function (code, authorization, options) {
|
|
353
|
+
if (options === void 0) { options = {}; }
|
|
354
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
355
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
356
|
+
return __generator(this, function (_a) {
|
|
357
|
+
switch (_a.label) {
|
|
358
|
+
case 0:
|
|
359
|
+
// verify required parameter 'code' is not null or undefined
|
|
360
|
+
(0, common_1.assertParamExists)('getClaimPartnerRole1', 'code', code);
|
|
213
361
|
localVarPath = "/v1/claim-partner-roles/{code}"
|
|
214
362
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
215
363
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -256,6 +404,79 @@ var ClaimPartnerRolesApiAxiosParamCreator = function (configuration) {
|
|
|
256
404
|
* @throws {RequiredError}
|
|
257
405
|
*/
|
|
258
406
|
listClaimPartnerRole: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
407
|
+
if (options === void 0) { options = {}; }
|
|
408
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
409
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
410
|
+
return __generator(this, function (_a) {
|
|
411
|
+
switch (_a.label) {
|
|
412
|
+
case 0:
|
|
413
|
+
localVarPath = "/claimservice/v1/claim-partner-roles";
|
|
414
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
415
|
+
if (configuration) {
|
|
416
|
+
baseOptions = configuration.baseOptions;
|
|
417
|
+
baseAccessToken = configuration.accessToken;
|
|
418
|
+
}
|
|
419
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
420
|
+
localVarHeaderParameter = {};
|
|
421
|
+
localVarQueryParameter = {};
|
|
422
|
+
// authentication bearer required
|
|
423
|
+
// http bearer authentication required
|
|
424
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
425
|
+
case 1:
|
|
426
|
+
// authentication bearer required
|
|
427
|
+
// http bearer authentication required
|
|
428
|
+
_a.sent();
|
|
429
|
+
if (pageSize !== undefined) {
|
|
430
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
431
|
+
}
|
|
432
|
+
if (pageToken !== undefined) {
|
|
433
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
434
|
+
}
|
|
435
|
+
if (filter !== undefined) {
|
|
436
|
+
localVarQueryParameter['filter'] = filter;
|
|
437
|
+
}
|
|
438
|
+
if (search !== undefined) {
|
|
439
|
+
localVarQueryParameter['search'] = search;
|
|
440
|
+
}
|
|
441
|
+
if (order !== undefined) {
|
|
442
|
+
localVarQueryParameter['order'] = order;
|
|
443
|
+
}
|
|
444
|
+
if (expand !== undefined) {
|
|
445
|
+
localVarQueryParameter['expand'] = expand;
|
|
446
|
+
}
|
|
447
|
+
if (filters !== undefined) {
|
|
448
|
+
localVarQueryParameter['filters'] = filters;
|
|
449
|
+
}
|
|
450
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
451
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
452
|
+
}
|
|
453
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
454
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
455
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
456
|
+
return [2 /*return*/, {
|
|
457
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
458
|
+
options: localVarRequestOptions,
|
|
459
|
+
}];
|
|
460
|
+
}
|
|
461
|
+
});
|
|
462
|
+
});
|
|
463
|
+
},
|
|
464
|
+
/**
|
|
465
|
+
* 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.
|
|
466
|
+
* @summary List claim partner roles
|
|
467
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
468
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
469
|
+
* @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.
|
|
470
|
+
* @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>
|
|
471
|
+
* @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>
|
|
472
|
+
* @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>
|
|
473
|
+
* @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/>
|
|
474
|
+
* @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>
|
|
475
|
+
* @param {*} [options] Override http request option.
|
|
476
|
+
* @deprecated
|
|
477
|
+
* @throws {RequiredError}
|
|
478
|
+
*/
|
|
479
|
+
listClaimPartnerRole1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
259
480
|
if (options === void 0) { options = {}; }
|
|
260
481
|
return __awaiter(_this, void 0, void 0, function () {
|
|
261
482
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -333,6 +554,60 @@ var ClaimPartnerRolesApiAxiosParamCreator = function (configuration) {
|
|
|
333
554
|
(0, common_1.assertParamExists)('updateClaimPartnerRole', 'code', code);
|
|
334
555
|
// verify required parameter 'updateClaimPartnerRoleRequestDto' is not null or undefined
|
|
335
556
|
(0, common_1.assertParamExists)('updateClaimPartnerRole', 'updateClaimPartnerRoleRequestDto', updateClaimPartnerRoleRequestDto);
|
|
557
|
+
localVarPath = "/claimservice/v1/claim-partner-roles/{code}"
|
|
558
|
+
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
559
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
560
|
+
if (configuration) {
|
|
561
|
+
baseOptions = configuration.baseOptions;
|
|
562
|
+
baseAccessToken = configuration.accessToken;
|
|
563
|
+
}
|
|
564
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
565
|
+
localVarHeaderParameter = {};
|
|
566
|
+
localVarQueryParameter = {};
|
|
567
|
+
// authentication bearer required
|
|
568
|
+
// http bearer authentication required
|
|
569
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
570
|
+
case 1:
|
|
571
|
+
// authentication bearer required
|
|
572
|
+
// http bearer authentication required
|
|
573
|
+
_a.sent();
|
|
574
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
575
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
576
|
+
}
|
|
577
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
578
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
579
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
580
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
581
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateClaimPartnerRoleRequestDto, localVarRequestOptions, configuration);
|
|
582
|
+
return [2 /*return*/, {
|
|
583
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
584
|
+
options: localVarRequestOptions,
|
|
585
|
+
}];
|
|
586
|
+
}
|
|
587
|
+
});
|
|
588
|
+
});
|
|
589
|
+
},
|
|
590
|
+
/**
|
|
591
|
+
* 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.
|
|
592
|
+
* @summary Update the claim partner role
|
|
593
|
+
* @param {string} code Unique identifier for the object.
|
|
594
|
+
* @param {UpdateClaimPartnerRoleRequestDto} updateClaimPartnerRoleRequestDto
|
|
595
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
596
|
+
* @param {*} [options] Override http request option.
|
|
597
|
+
* @deprecated
|
|
598
|
+
* @throws {RequiredError}
|
|
599
|
+
*/
|
|
600
|
+
updateClaimPartnerRole1: function (code, updateClaimPartnerRoleRequestDto, authorization, options) {
|
|
601
|
+
if (options === void 0) { options = {}; }
|
|
602
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
603
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
604
|
+
return __generator(this, function (_a) {
|
|
605
|
+
switch (_a.label) {
|
|
606
|
+
case 0:
|
|
607
|
+
// verify required parameter 'code' is not null or undefined
|
|
608
|
+
(0, common_1.assertParamExists)('updateClaimPartnerRole1', 'code', code);
|
|
609
|
+
// verify required parameter 'updateClaimPartnerRoleRequestDto' is not null or undefined
|
|
610
|
+
(0, common_1.assertParamExists)('updateClaimPartnerRole1', 'updateClaimPartnerRoleRequestDto', updateClaimPartnerRoleRequestDto);
|
|
336
611
|
localVarPath = "/v1/claim-partner-roles/{code}"
|
|
337
612
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
338
613
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -397,6 +672,28 @@ var ClaimPartnerRolesApiFp = function (configuration) {
|
|
|
397
672
|
});
|
|
398
673
|
});
|
|
399
674
|
},
|
|
675
|
+
/**
|
|
676
|
+
* 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.
|
|
677
|
+
* @summary Create the claim partner role
|
|
678
|
+
* @param {CreateClaimPartnerRoleRequestDto} createClaimPartnerRoleRequestDto
|
|
679
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
680
|
+
* @param {*} [options] Override http request option.
|
|
681
|
+
* @deprecated
|
|
682
|
+
* @throws {RequiredError}
|
|
683
|
+
*/
|
|
684
|
+
createClaimPartnerRole1: function (createClaimPartnerRoleRequestDto, authorization, options) {
|
|
685
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
686
|
+
var localVarAxiosArgs;
|
|
687
|
+
return __generator(this, function (_a) {
|
|
688
|
+
switch (_a.label) {
|
|
689
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createClaimPartnerRole1(createClaimPartnerRoleRequestDto, authorization, options)];
|
|
690
|
+
case 1:
|
|
691
|
+
localVarAxiosArgs = _a.sent();
|
|
692
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
693
|
+
}
|
|
694
|
+
});
|
|
695
|
+
});
|
|
696
|
+
},
|
|
400
697
|
/**
|
|
401
698
|
* 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\"
|
|
402
699
|
* @summary Delete the claim partner role
|
|
@@ -418,6 +715,28 @@ var ClaimPartnerRolesApiFp = function (configuration) {
|
|
|
418
715
|
});
|
|
419
716
|
});
|
|
420
717
|
},
|
|
718
|
+
/**
|
|
719
|
+
* 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.
|
|
720
|
+
* @summary Delete the claim partner role
|
|
721
|
+
* @param {string} code Unique identifier for the object.
|
|
722
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
723
|
+
* @param {*} [options] Override http request option.
|
|
724
|
+
* @deprecated
|
|
725
|
+
* @throws {RequiredError}
|
|
726
|
+
*/
|
|
727
|
+
deleteClaimPartnerRole1: function (code, authorization, options) {
|
|
728
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
729
|
+
var localVarAxiosArgs;
|
|
730
|
+
return __generator(this, function (_a) {
|
|
731
|
+
switch (_a.label) {
|
|
732
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteClaimPartnerRole1(code, authorization, options)];
|
|
733
|
+
case 1:
|
|
734
|
+
localVarAxiosArgs = _a.sent();
|
|
735
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
736
|
+
}
|
|
737
|
+
});
|
|
738
|
+
});
|
|
739
|
+
},
|
|
421
740
|
/**
|
|
422
741
|
* 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\"
|
|
423
742
|
* @summary Retrieve the claim partner role
|
|
@@ -439,6 +758,28 @@ var ClaimPartnerRolesApiFp = function (configuration) {
|
|
|
439
758
|
});
|
|
440
759
|
});
|
|
441
760
|
},
|
|
761
|
+
/**
|
|
762
|
+
* 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.
|
|
763
|
+
* @summary Retrieve the claim partner role
|
|
764
|
+
* @param {string} code Unique identifier for the object.
|
|
765
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
766
|
+
* @param {*} [options] Override http request option.
|
|
767
|
+
* @deprecated
|
|
768
|
+
* @throws {RequiredError}
|
|
769
|
+
*/
|
|
770
|
+
getClaimPartnerRole1: function (code, authorization, options) {
|
|
771
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
772
|
+
var localVarAxiosArgs;
|
|
773
|
+
return __generator(this, function (_a) {
|
|
774
|
+
switch (_a.label) {
|
|
775
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getClaimPartnerRole1(code, authorization, options)];
|
|
776
|
+
case 1:
|
|
777
|
+
localVarAxiosArgs = _a.sent();
|
|
778
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
779
|
+
}
|
|
780
|
+
});
|
|
781
|
+
});
|
|
782
|
+
},
|
|
442
783
|
/**
|
|
443
784
|
* 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\"
|
|
444
785
|
* @summary List claim partner roles
|
|
@@ -466,6 +807,34 @@ var ClaimPartnerRolesApiFp = function (configuration) {
|
|
|
466
807
|
});
|
|
467
808
|
});
|
|
468
809
|
},
|
|
810
|
+
/**
|
|
811
|
+
* 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.
|
|
812
|
+
* @summary List claim partner roles
|
|
813
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
814
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
815
|
+
* @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.
|
|
816
|
+
* @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>
|
|
817
|
+
* @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>
|
|
818
|
+
* @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>
|
|
819
|
+
* @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/>
|
|
820
|
+
* @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>
|
|
821
|
+
* @param {*} [options] Override http request option.
|
|
822
|
+
* @deprecated
|
|
823
|
+
* @throws {RequiredError}
|
|
824
|
+
*/
|
|
825
|
+
listClaimPartnerRole1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
826
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
827
|
+
var localVarAxiosArgs;
|
|
828
|
+
return __generator(this, function (_a) {
|
|
829
|
+
switch (_a.label) {
|
|
830
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listClaimPartnerRole1(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
831
|
+
case 1:
|
|
832
|
+
localVarAxiosArgs = _a.sent();
|
|
833
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
834
|
+
}
|
|
835
|
+
});
|
|
836
|
+
});
|
|
837
|
+
},
|
|
469
838
|
/**
|
|
470
839
|
* 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\"
|
|
471
840
|
* @summary Update the claim partner role
|
|
@@ -488,6 +857,29 @@ var ClaimPartnerRolesApiFp = function (configuration) {
|
|
|
488
857
|
});
|
|
489
858
|
});
|
|
490
859
|
},
|
|
860
|
+
/**
|
|
861
|
+
* 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.
|
|
862
|
+
* @summary Update the claim partner role
|
|
863
|
+
* @param {string} code Unique identifier for the object.
|
|
864
|
+
* @param {UpdateClaimPartnerRoleRequestDto} updateClaimPartnerRoleRequestDto
|
|
865
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
866
|
+
* @param {*} [options] Override http request option.
|
|
867
|
+
* @deprecated
|
|
868
|
+
* @throws {RequiredError}
|
|
869
|
+
*/
|
|
870
|
+
updateClaimPartnerRole1: function (code, updateClaimPartnerRoleRequestDto, authorization, options) {
|
|
871
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
872
|
+
var localVarAxiosArgs;
|
|
873
|
+
return __generator(this, function (_a) {
|
|
874
|
+
switch (_a.label) {
|
|
875
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateClaimPartnerRole1(code, updateClaimPartnerRoleRequestDto, authorization, options)];
|
|
876
|
+
case 1:
|
|
877
|
+
localVarAxiosArgs = _a.sent();
|
|
878
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
879
|
+
}
|
|
880
|
+
});
|
|
881
|
+
});
|
|
882
|
+
},
|
|
491
883
|
};
|
|
492
884
|
};
|
|
493
885
|
exports.ClaimPartnerRolesApiFp = ClaimPartnerRolesApiFp;
|
|
@@ -509,6 +901,18 @@ var ClaimPartnerRolesApiFactory = function (configuration, basePath, axios) {
|
|
|
509
901
|
createClaimPartnerRole: function (createClaimPartnerRoleRequestDto, authorization, options) {
|
|
510
902
|
return localVarFp.createClaimPartnerRole(createClaimPartnerRoleRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
511
903
|
},
|
|
904
|
+
/**
|
|
905
|
+
* 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.
|
|
906
|
+
* @summary Create the claim partner role
|
|
907
|
+
* @param {CreateClaimPartnerRoleRequestDto} createClaimPartnerRoleRequestDto
|
|
908
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
909
|
+
* @param {*} [options] Override http request option.
|
|
910
|
+
* @deprecated
|
|
911
|
+
* @throws {RequiredError}
|
|
912
|
+
*/
|
|
913
|
+
createClaimPartnerRole1: function (createClaimPartnerRoleRequestDto, authorization, options) {
|
|
914
|
+
return localVarFp.createClaimPartnerRole1(createClaimPartnerRoleRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
915
|
+
},
|
|
512
916
|
/**
|
|
513
917
|
* 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\"
|
|
514
918
|
* @summary Delete the claim partner role
|
|
@@ -520,6 +924,18 @@ var ClaimPartnerRolesApiFactory = function (configuration, basePath, axios) {
|
|
|
520
924
|
deleteClaimPartnerRole: function (code, authorization, options) {
|
|
521
925
|
return localVarFp.deleteClaimPartnerRole(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
522
926
|
},
|
|
927
|
+
/**
|
|
928
|
+
* 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.
|
|
929
|
+
* @summary Delete the claim partner role
|
|
930
|
+
* @param {string} code Unique identifier for the object.
|
|
931
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
932
|
+
* @param {*} [options] Override http request option.
|
|
933
|
+
* @deprecated
|
|
934
|
+
* @throws {RequiredError}
|
|
935
|
+
*/
|
|
936
|
+
deleteClaimPartnerRole1: function (code, authorization, options) {
|
|
937
|
+
return localVarFp.deleteClaimPartnerRole1(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
938
|
+
},
|
|
523
939
|
/**
|
|
524
940
|
* 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\"
|
|
525
941
|
* @summary Retrieve the claim partner role
|
|
@@ -531,6 +947,18 @@ var ClaimPartnerRolesApiFactory = function (configuration, basePath, axios) {
|
|
|
531
947
|
getClaimPartnerRole: function (code, authorization, options) {
|
|
532
948
|
return localVarFp.getClaimPartnerRole(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
533
949
|
},
|
|
950
|
+
/**
|
|
951
|
+
* 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.
|
|
952
|
+
* @summary Retrieve the claim partner role
|
|
953
|
+
* @param {string} code Unique identifier for the object.
|
|
954
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
955
|
+
* @param {*} [options] Override http request option.
|
|
956
|
+
* @deprecated
|
|
957
|
+
* @throws {RequiredError}
|
|
958
|
+
*/
|
|
959
|
+
getClaimPartnerRole1: function (code, authorization, options) {
|
|
960
|
+
return localVarFp.getClaimPartnerRole1(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
961
|
+
},
|
|
534
962
|
/**
|
|
535
963
|
* 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\"
|
|
536
964
|
* @summary List claim partner roles
|
|
@@ -548,6 +976,24 @@ var ClaimPartnerRolesApiFactory = function (configuration, basePath, axios) {
|
|
|
548
976
|
listClaimPartnerRole: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
549
977
|
return localVarFp.listClaimPartnerRole(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
550
978
|
},
|
|
979
|
+
/**
|
|
980
|
+
* 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.
|
|
981
|
+
* @summary List claim partner roles
|
|
982
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
983
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
984
|
+
* @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.
|
|
985
|
+
* @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>
|
|
986
|
+
* @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>
|
|
987
|
+
* @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>
|
|
988
|
+
* @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/>
|
|
989
|
+
* @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>
|
|
990
|
+
* @param {*} [options] Override http request option.
|
|
991
|
+
* @deprecated
|
|
992
|
+
* @throws {RequiredError}
|
|
993
|
+
*/
|
|
994
|
+
listClaimPartnerRole1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
995
|
+
return localVarFp.listClaimPartnerRole1(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
996
|
+
},
|
|
551
997
|
/**
|
|
552
998
|
* 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\"
|
|
553
999
|
* @summary Update the claim partner role
|
|
@@ -560,6 +1006,19 @@ var ClaimPartnerRolesApiFactory = function (configuration, basePath, axios) {
|
|
|
560
1006
|
updateClaimPartnerRole: function (code, updateClaimPartnerRoleRequestDto, authorization, options) {
|
|
561
1007
|
return localVarFp.updateClaimPartnerRole(code, updateClaimPartnerRoleRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
562
1008
|
},
|
|
1009
|
+
/**
|
|
1010
|
+
* 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.
|
|
1011
|
+
* @summary Update the claim partner role
|
|
1012
|
+
* @param {string} code Unique identifier for the object.
|
|
1013
|
+
* @param {UpdateClaimPartnerRoleRequestDto} updateClaimPartnerRoleRequestDto
|
|
1014
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1015
|
+
* @param {*} [options] Override http request option.
|
|
1016
|
+
* @deprecated
|
|
1017
|
+
* @throws {RequiredError}
|
|
1018
|
+
*/
|
|
1019
|
+
updateClaimPartnerRole1: function (code, updateClaimPartnerRoleRequestDto, authorization, options) {
|
|
1020
|
+
return localVarFp.updateClaimPartnerRole1(code, updateClaimPartnerRoleRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1021
|
+
},
|
|
563
1022
|
};
|
|
564
1023
|
};
|
|
565
1024
|
exports.ClaimPartnerRolesApiFactory = ClaimPartnerRolesApiFactory;
|
|
@@ -586,6 +1045,19 @@ var ClaimPartnerRolesApi = /** @class */ (function (_super) {
|
|
|
586
1045
|
var _this = this;
|
|
587
1046
|
return (0, exports.ClaimPartnerRolesApiFp)(this.configuration).createClaimPartnerRole(requestParameters.createClaimPartnerRoleRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
588
1047
|
};
|
|
1048
|
+
/**
|
|
1049
|
+
* 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.
|
|
1050
|
+
* @summary Create the claim partner role
|
|
1051
|
+
* @param {ClaimPartnerRolesApiCreateClaimPartnerRole1Request} requestParameters Request parameters.
|
|
1052
|
+
* @param {*} [options] Override http request option.
|
|
1053
|
+
* @deprecated
|
|
1054
|
+
* @throws {RequiredError}
|
|
1055
|
+
* @memberof ClaimPartnerRolesApi
|
|
1056
|
+
*/
|
|
1057
|
+
ClaimPartnerRolesApi.prototype.createClaimPartnerRole1 = function (requestParameters, options) {
|
|
1058
|
+
var _this = this;
|
|
1059
|
+
return (0, exports.ClaimPartnerRolesApiFp)(this.configuration).createClaimPartnerRole1(requestParameters.createClaimPartnerRoleRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1060
|
+
};
|
|
589
1061
|
/**
|
|
590
1062
|
* 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\"
|
|
591
1063
|
* @summary Delete the claim partner role
|
|
@@ -598,6 +1070,19 @@ var ClaimPartnerRolesApi = /** @class */ (function (_super) {
|
|
|
598
1070
|
var _this = this;
|
|
599
1071
|
return (0, exports.ClaimPartnerRolesApiFp)(this.configuration).deleteClaimPartnerRole(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
600
1072
|
};
|
|
1073
|
+
/**
|
|
1074
|
+
* 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.
|
|
1075
|
+
* @summary Delete the claim partner role
|
|
1076
|
+
* @param {ClaimPartnerRolesApiDeleteClaimPartnerRole1Request} requestParameters Request parameters.
|
|
1077
|
+
* @param {*} [options] Override http request option.
|
|
1078
|
+
* @deprecated
|
|
1079
|
+
* @throws {RequiredError}
|
|
1080
|
+
* @memberof ClaimPartnerRolesApi
|
|
1081
|
+
*/
|
|
1082
|
+
ClaimPartnerRolesApi.prototype.deleteClaimPartnerRole1 = function (requestParameters, options) {
|
|
1083
|
+
var _this = this;
|
|
1084
|
+
return (0, exports.ClaimPartnerRolesApiFp)(this.configuration).deleteClaimPartnerRole1(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1085
|
+
};
|
|
601
1086
|
/**
|
|
602
1087
|
* 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\"
|
|
603
1088
|
* @summary Retrieve the claim partner role
|
|
@@ -610,6 +1095,19 @@ var ClaimPartnerRolesApi = /** @class */ (function (_super) {
|
|
|
610
1095
|
var _this = this;
|
|
611
1096
|
return (0, exports.ClaimPartnerRolesApiFp)(this.configuration).getClaimPartnerRole(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
612
1097
|
};
|
|
1098
|
+
/**
|
|
1099
|
+
* 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.
|
|
1100
|
+
* @summary Retrieve the claim partner role
|
|
1101
|
+
* @param {ClaimPartnerRolesApiGetClaimPartnerRole1Request} requestParameters Request parameters.
|
|
1102
|
+
* @param {*} [options] Override http request option.
|
|
1103
|
+
* @deprecated
|
|
1104
|
+
* @throws {RequiredError}
|
|
1105
|
+
* @memberof ClaimPartnerRolesApi
|
|
1106
|
+
*/
|
|
1107
|
+
ClaimPartnerRolesApi.prototype.getClaimPartnerRole1 = function (requestParameters, options) {
|
|
1108
|
+
var _this = this;
|
|
1109
|
+
return (0, exports.ClaimPartnerRolesApiFp)(this.configuration).getClaimPartnerRole1(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1110
|
+
};
|
|
613
1111
|
/**
|
|
614
1112
|
* 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\"
|
|
615
1113
|
* @summary List claim partner roles
|
|
@@ -623,6 +1121,20 @@ var ClaimPartnerRolesApi = /** @class */ (function (_super) {
|
|
|
623
1121
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
624
1122
|
return (0, exports.ClaimPartnerRolesApiFp)(this.configuration).listClaimPartnerRole(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
625
1123
|
};
|
|
1124
|
+
/**
|
|
1125
|
+
* 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.
|
|
1126
|
+
* @summary List claim partner roles
|
|
1127
|
+
* @param {ClaimPartnerRolesApiListClaimPartnerRole1Request} requestParameters Request parameters.
|
|
1128
|
+
* @param {*} [options] Override http request option.
|
|
1129
|
+
* @deprecated
|
|
1130
|
+
* @throws {RequiredError}
|
|
1131
|
+
* @memberof ClaimPartnerRolesApi
|
|
1132
|
+
*/
|
|
1133
|
+
ClaimPartnerRolesApi.prototype.listClaimPartnerRole1 = function (requestParameters, options) {
|
|
1134
|
+
var _this = this;
|
|
1135
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
1136
|
+
return (0, exports.ClaimPartnerRolesApiFp)(this.configuration).listClaimPartnerRole1(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1137
|
+
};
|
|
626
1138
|
/**
|
|
627
1139
|
* 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\"
|
|
628
1140
|
* @summary Update the claim partner role
|
|
@@ -635,6 +1147,19 @@ var ClaimPartnerRolesApi = /** @class */ (function (_super) {
|
|
|
635
1147
|
var _this = this;
|
|
636
1148
|
return (0, exports.ClaimPartnerRolesApiFp)(this.configuration).updateClaimPartnerRole(requestParameters.code, requestParameters.updateClaimPartnerRoleRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
637
1149
|
};
|
|
1150
|
+
/**
|
|
1151
|
+
* 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.
|
|
1152
|
+
* @summary Update the claim partner role
|
|
1153
|
+
* @param {ClaimPartnerRolesApiUpdateClaimPartnerRole1Request} requestParameters Request parameters.
|
|
1154
|
+
* @param {*} [options] Override http request option.
|
|
1155
|
+
* @deprecated
|
|
1156
|
+
* @throws {RequiredError}
|
|
1157
|
+
* @memberof ClaimPartnerRolesApi
|
|
1158
|
+
*/
|
|
1159
|
+
ClaimPartnerRolesApi.prototype.updateClaimPartnerRole1 = function (requestParameters, options) {
|
|
1160
|
+
var _this = this;
|
|
1161
|
+
return (0, exports.ClaimPartnerRolesApiFp)(this.configuration).updateClaimPartnerRole1(requestParameters.code, requestParameters.updateClaimPartnerRoleRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1162
|
+
};
|
|
638
1163
|
return ClaimPartnerRolesApi;
|
|
639
1164
|
}(base_1.BaseAPI));
|
|
640
1165
|
exports.ClaimPartnerRolesApi = ClaimPartnerRolesApi;
|