@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
|
@@ -0,0 +1,585 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL ClaimService
|
|
6
|
+
* The EMIL ClaimService API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
var __extends = (this && this.__extends) || (function () {
|
|
16
|
+
var extendStatics = function (d, b) {
|
|
17
|
+
extendStatics = Object.setPrototypeOf ||
|
|
18
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
19
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
20
|
+
return extendStatics(d, b);
|
|
21
|
+
};
|
|
22
|
+
return function (d, b) {
|
|
23
|
+
if (typeof b !== "function" && b !== null)
|
|
24
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
25
|
+
extendStatics(d, b);
|
|
26
|
+
function __() { this.constructor = d; }
|
|
27
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
28
|
+
};
|
|
29
|
+
})();
|
|
30
|
+
var __assign = (this && this.__assign) || function () {
|
|
31
|
+
__assign = Object.assign || function(t) {
|
|
32
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
33
|
+
s = arguments[i];
|
|
34
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
35
|
+
t[p] = s[p];
|
|
36
|
+
}
|
|
37
|
+
return t;
|
|
38
|
+
};
|
|
39
|
+
return __assign.apply(this, arguments);
|
|
40
|
+
};
|
|
41
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
42
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
43
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
44
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
45
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
46
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
47
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
48
|
+
});
|
|
49
|
+
};
|
|
50
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
51
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
52
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
53
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
54
|
+
function step(op) {
|
|
55
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
56
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
57
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
58
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
59
|
+
switch (op[0]) {
|
|
60
|
+
case 0: case 1: t = op; break;
|
|
61
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
62
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
63
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
64
|
+
default:
|
|
65
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
66
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
67
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
68
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
69
|
+
if (t[2]) _.ops.pop();
|
|
70
|
+
_.trys.pop(); continue;
|
|
71
|
+
}
|
|
72
|
+
op = body.call(thisArg, _);
|
|
73
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
74
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
75
|
+
}
|
|
76
|
+
};
|
|
77
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
78
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
79
|
+
};
|
|
80
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
81
|
+
exports.ClaimLimitUsagesApi = exports.ClaimLimitUsagesApiFactory = exports.ClaimLimitUsagesApiFp = exports.ClaimLimitUsagesApiAxiosParamCreator = void 0;
|
|
82
|
+
var axios_1 = __importDefault(require("axios"));
|
|
83
|
+
// Some imports not used depending on template conditions
|
|
84
|
+
// @ts-ignore
|
|
85
|
+
var common_1 = require("../common");
|
|
86
|
+
// @ts-ignore
|
|
87
|
+
var base_1 = require("../base");
|
|
88
|
+
// URLSearchParams not necessarily used
|
|
89
|
+
// @ts-ignore
|
|
90
|
+
var url_1 = require("url");
|
|
91
|
+
var FormData = require('form-data');
|
|
92
|
+
/**
|
|
93
|
+
* ClaimLimitUsagesApi - axios parameter creator
|
|
94
|
+
* @export
|
|
95
|
+
*/
|
|
96
|
+
var ClaimLimitUsagesApiAxiosParamCreator = function (configuration) {
|
|
97
|
+
var _this = this;
|
|
98
|
+
return {
|
|
99
|
+
/**
|
|
100
|
+
* This will get claim limit usage. **Required Permissions** \"claim-management.claims.view\"
|
|
101
|
+
* @summary Retrieve the claim limit usage
|
|
102
|
+
* @param {string} code
|
|
103
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
104
|
+
* @param {*} [options] Override http request option.
|
|
105
|
+
* @throws {RequiredError}
|
|
106
|
+
*/
|
|
107
|
+
getClaimLimitUsage: function (code, authorization, options) {
|
|
108
|
+
if (options === void 0) { options = {}; }
|
|
109
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
110
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
111
|
+
return __generator(this, function (_a) {
|
|
112
|
+
switch (_a.label) {
|
|
113
|
+
case 0:
|
|
114
|
+
// verify required parameter 'code' is not null or undefined
|
|
115
|
+
(0, common_1.assertParamExists)('getClaimLimitUsage', 'code', code);
|
|
116
|
+
localVarPath = "/claimservice/v1/claim-limit-usages/{code}"
|
|
117
|
+
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
118
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
119
|
+
if (configuration) {
|
|
120
|
+
baseOptions = configuration.baseOptions;
|
|
121
|
+
baseAccessToken = configuration.accessToken;
|
|
122
|
+
}
|
|
123
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
124
|
+
localVarHeaderParameter = {};
|
|
125
|
+
localVarQueryParameter = {};
|
|
126
|
+
// authentication bearer required
|
|
127
|
+
// http bearer authentication required
|
|
128
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
129
|
+
case 1:
|
|
130
|
+
// authentication bearer required
|
|
131
|
+
// http bearer authentication required
|
|
132
|
+
_a.sent();
|
|
133
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
134
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
135
|
+
}
|
|
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
|
+
return [2 /*return*/, {
|
|
140
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
141
|
+
options: localVarRequestOptions,
|
|
142
|
+
}];
|
|
143
|
+
}
|
|
144
|
+
});
|
|
145
|
+
});
|
|
146
|
+
},
|
|
147
|
+
/**
|
|
148
|
+
* This will get claim limit usage. **Required Permissions** \"claim-management.claims.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
149
|
+
* @summary Retrieve the claim limit usage
|
|
150
|
+
* @param {string} code
|
|
151
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
152
|
+
* @param {*} [options] Override http request option.
|
|
153
|
+
* @deprecated
|
|
154
|
+
* @throws {RequiredError}
|
|
155
|
+
*/
|
|
156
|
+
getClaimLimitUsage1: function (code, authorization, options) {
|
|
157
|
+
if (options === void 0) { options = {}; }
|
|
158
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
159
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
160
|
+
return __generator(this, function (_a) {
|
|
161
|
+
switch (_a.label) {
|
|
162
|
+
case 0:
|
|
163
|
+
// verify required parameter 'code' is not null or undefined
|
|
164
|
+
(0, common_1.assertParamExists)('getClaimLimitUsage1', 'code', code);
|
|
165
|
+
localVarPath = "/v1/claim-limit-usages/{code}"
|
|
166
|
+
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
167
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
168
|
+
if (configuration) {
|
|
169
|
+
baseOptions = configuration.baseOptions;
|
|
170
|
+
baseAccessToken = configuration.accessToken;
|
|
171
|
+
}
|
|
172
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
173
|
+
localVarHeaderParameter = {};
|
|
174
|
+
localVarQueryParameter = {};
|
|
175
|
+
// authentication bearer required
|
|
176
|
+
// http bearer authentication required
|
|
177
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
178
|
+
case 1:
|
|
179
|
+
// authentication bearer required
|
|
180
|
+
// http bearer authentication required
|
|
181
|
+
_a.sent();
|
|
182
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
183
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
184
|
+
}
|
|
185
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
186
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
187
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
188
|
+
return [2 /*return*/, {
|
|
189
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
190
|
+
options: localVarRequestOptions,
|
|
191
|
+
}];
|
|
192
|
+
}
|
|
193
|
+
});
|
|
194
|
+
});
|
|
195
|
+
},
|
|
196
|
+
/**
|
|
197
|
+
* Retrieves a list of claim limit usages. **Required Permissions** \"claim-management.claims.view\"
|
|
198
|
+
* @summary List claim limit usages
|
|
199
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
200
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
201
|
+
* @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.
|
|
202
|
+
* @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: id, code, policyCode, type, tariffKey, categoryKey, period, claimCode, deductibleKey, periodStart, periodEnd, createdAt, updatedAt</i>
|
|
203
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
204
|
+
* @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, code, createdAt, updatedAt, periodStart, periodEnd, remainingAmount</i>
|
|
205
|
+
* @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/>
|
|
206
|
+
* @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: id, code, policyCode, type, tariffKey, categoryKey, period, claimCode, deductibleKey, periodStart, periodEnd, createdAt, updatedAt</i>
|
|
207
|
+
* @param {*} [options] Override http request option.
|
|
208
|
+
* @throws {RequiredError}
|
|
209
|
+
*/
|
|
210
|
+
listClaimLimitUsages: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
211
|
+
if (options === void 0) { options = {}; }
|
|
212
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
213
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
214
|
+
return __generator(this, function (_a) {
|
|
215
|
+
switch (_a.label) {
|
|
216
|
+
case 0:
|
|
217
|
+
localVarPath = "/claimservice/v1/claim-limit-usages";
|
|
218
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
219
|
+
if (configuration) {
|
|
220
|
+
baseOptions = configuration.baseOptions;
|
|
221
|
+
baseAccessToken = configuration.accessToken;
|
|
222
|
+
}
|
|
223
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
224
|
+
localVarHeaderParameter = {};
|
|
225
|
+
localVarQueryParameter = {};
|
|
226
|
+
// authentication bearer required
|
|
227
|
+
// http bearer authentication required
|
|
228
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
229
|
+
case 1:
|
|
230
|
+
// authentication bearer required
|
|
231
|
+
// http bearer authentication required
|
|
232
|
+
_a.sent();
|
|
233
|
+
if (pageSize !== undefined) {
|
|
234
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
235
|
+
}
|
|
236
|
+
if (pageToken !== undefined) {
|
|
237
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
238
|
+
}
|
|
239
|
+
if (filter !== undefined) {
|
|
240
|
+
localVarQueryParameter['filter'] = filter;
|
|
241
|
+
}
|
|
242
|
+
if (search !== undefined) {
|
|
243
|
+
localVarQueryParameter['search'] = search;
|
|
244
|
+
}
|
|
245
|
+
if (order !== undefined) {
|
|
246
|
+
localVarQueryParameter['order'] = order;
|
|
247
|
+
}
|
|
248
|
+
if (expand !== undefined) {
|
|
249
|
+
localVarQueryParameter['expand'] = expand;
|
|
250
|
+
}
|
|
251
|
+
if (filters !== undefined) {
|
|
252
|
+
localVarQueryParameter['filters'] = filters;
|
|
253
|
+
}
|
|
254
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
255
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
256
|
+
}
|
|
257
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
258
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
259
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
260
|
+
return [2 /*return*/, {
|
|
261
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
262
|
+
options: localVarRequestOptions,
|
|
263
|
+
}];
|
|
264
|
+
}
|
|
265
|
+
});
|
|
266
|
+
});
|
|
267
|
+
},
|
|
268
|
+
/**
|
|
269
|
+
* Retrieves a list of claim limit usages. **Required Permissions** \"claim-management.claims.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
270
|
+
* @summary List claim limit usages
|
|
271
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
272
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
273
|
+
* @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.
|
|
274
|
+
* @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: id, code, policyCode, type, tariffKey, categoryKey, period, claimCode, deductibleKey, periodStart, periodEnd, createdAt, updatedAt</i>
|
|
275
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
276
|
+
* @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, code, createdAt, updatedAt, periodStart, periodEnd, remainingAmount</i>
|
|
277
|
+
* @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/>
|
|
278
|
+
* @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: id, code, policyCode, type, tariffKey, categoryKey, period, claimCode, deductibleKey, periodStart, periodEnd, createdAt, updatedAt</i>
|
|
279
|
+
* @param {*} [options] Override http request option.
|
|
280
|
+
* @deprecated
|
|
281
|
+
* @throws {RequiredError}
|
|
282
|
+
*/
|
|
283
|
+
listClaimLimitUsages1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
284
|
+
if (options === void 0) { options = {}; }
|
|
285
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
286
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
287
|
+
return __generator(this, function (_a) {
|
|
288
|
+
switch (_a.label) {
|
|
289
|
+
case 0:
|
|
290
|
+
localVarPath = "/v1/claim-limit-usages";
|
|
291
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
292
|
+
if (configuration) {
|
|
293
|
+
baseOptions = configuration.baseOptions;
|
|
294
|
+
baseAccessToken = configuration.accessToken;
|
|
295
|
+
}
|
|
296
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
297
|
+
localVarHeaderParameter = {};
|
|
298
|
+
localVarQueryParameter = {};
|
|
299
|
+
// authentication bearer required
|
|
300
|
+
// http bearer authentication required
|
|
301
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
302
|
+
case 1:
|
|
303
|
+
// authentication bearer required
|
|
304
|
+
// http bearer authentication required
|
|
305
|
+
_a.sent();
|
|
306
|
+
if (pageSize !== undefined) {
|
|
307
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
308
|
+
}
|
|
309
|
+
if (pageToken !== undefined) {
|
|
310
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
311
|
+
}
|
|
312
|
+
if (filter !== undefined) {
|
|
313
|
+
localVarQueryParameter['filter'] = filter;
|
|
314
|
+
}
|
|
315
|
+
if (search !== undefined) {
|
|
316
|
+
localVarQueryParameter['search'] = search;
|
|
317
|
+
}
|
|
318
|
+
if (order !== undefined) {
|
|
319
|
+
localVarQueryParameter['order'] = order;
|
|
320
|
+
}
|
|
321
|
+
if (expand !== undefined) {
|
|
322
|
+
localVarQueryParameter['expand'] = expand;
|
|
323
|
+
}
|
|
324
|
+
if (filters !== undefined) {
|
|
325
|
+
localVarQueryParameter['filters'] = filters;
|
|
326
|
+
}
|
|
327
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
328
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
329
|
+
}
|
|
330
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
331
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
332
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
333
|
+
return [2 /*return*/, {
|
|
334
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
335
|
+
options: localVarRequestOptions,
|
|
336
|
+
}];
|
|
337
|
+
}
|
|
338
|
+
});
|
|
339
|
+
});
|
|
340
|
+
},
|
|
341
|
+
};
|
|
342
|
+
};
|
|
343
|
+
exports.ClaimLimitUsagesApiAxiosParamCreator = ClaimLimitUsagesApiAxiosParamCreator;
|
|
344
|
+
/**
|
|
345
|
+
* ClaimLimitUsagesApi - functional programming interface
|
|
346
|
+
* @export
|
|
347
|
+
*/
|
|
348
|
+
var ClaimLimitUsagesApiFp = function (configuration) {
|
|
349
|
+
var localVarAxiosParamCreator = (0, exports.ClaimLimitUsagesApiAxiosParamCreator)(configuration);
|
|
350
|
+
return {
|
|
351
|
+
/**
|
|
352
|
+
* This will get claim limit usage. **Required Permissions** \"claim-management.claims.view\"
|
|
353
|
+
* @summary Retrieve the claim limit usage
|
|
354
|
+
* @param {string} code
|
|
355
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
356
|
+
* @param {*} [options] Override http request option.
|
|
357
|
+
* @throws {RequiredError}
|
|
358
|
+
*/
|
|
359
|
+
getClaimLimitUsage: function (code, authorization, options) {
|
|
360
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
361
|
+
var localVarAxiosArgs;
|
|
362
|
+
return __generator(this, function (_a) {
|
|
363
|
+
switch (_a.label) {
|
|
364
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getClaimLimitUsage(code, authorization, options)];
|
|
365
|
+
case 1:
|
|
366
|
+
localVarAxiosArgs = _a.sent();
|
|
367
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
368
|
+
}
|
|
369
|
+
});
|
|
370
|
+
});
|
|
371
|
+
},
|
|
372
|
+
/**
|
|
373
|
+
* This will get claim limit usage. **Required Permissions** \"claim-management.claims.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
374
|
+
* @summary Retrieve the claim limit usage
|
|
375
|
+
* @param {string} code
|
|
376
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
377
|
+
* @param {*} [options] Override http request option.
|
|
378
|
+
* @deprecated
|
|
379
|
+
* @throws {RequiredError}
|
|
380
|
+
*/
|
|
381
|
+
getClaimLimitUsage1: function (code, authorization, options) {
|
|
382
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
383
|
+
var localVarAxiosArgs;
|
|
384
|
+
return __generator(this, function (_a) {
|
|
385
|
+
switch (_a.label) {
|
|
386
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getClaimLimitUsage1(code, authorization, options)];
|
|
387
|
+
case 1:
|
|
388
|
+
localVarAxiosArgs = _a.sent();
|
|
389
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
390
|
+
}
|
|
391
|
+
});
|
|
392
|
+
});
|
|
393
|
+
},
|
|
394
|
+
/**
|
|
395
|
+
* Retrieves a list of claim limit usages. **Required Permissions** \"claim-management.claims.view\"
|
|
396
|
+
* @summary List claim limit usages
|
|
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: id, code, policyCode, type, tariffKey, categoryKey, period, claimCode, deductibleKey, periodStart, periodEnd, createdAt, updatedAt</i>
|
|
401
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
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, code, createdAt, updatedAt, periodStart, periodEnd, remainingAmount</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: id, code, policyCode, type, tariffKey, categoryKey, period, claimCode, deductibleKey, periodStart, periodEnd, createdAt, updatedAt</i>
|
|
405
|
+
* @param {*} [options] Override http request option.
|
|
406
|
+
* @throws {RequiredError}
|
|
407
|
+
*/
|
|
408
|
+
listClaimLimitUsages: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
409
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
410
|
+
var localVarAxiosArgs;
|
|
411
|
+
return __generator(this, function (_a) {
|
|
412
|
+
switch (_a.label) {
|
|
413
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listClaimLimitUsages(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
414
|
+
case 1:
|
|
415
|
+
localVarAxiosArgs = _a.sent();
|
|
416
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
417
|
+
}
|
|
418
|
+
});
|
|
419
|
+
});
|
|
420
|
+
},
|
|
421
|
+
/**
|
|
422
|
+
* Retrieves a list of claim limit usages. **Required Permissions** \"claim-management.claims.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
423
|
+
* @summary List claim limit usages
|
|
424
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
425
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
426
|
+
* @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.
|
|
427
|
+
* @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: id, code, policyCode, type, tariffKey, categoryKey, period, claimCode, deductibleKey, periodStart, periodEnd, createdAt, updatedAt</i>
|
|
428
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
429
|
+
* @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, code, createdAt, updatedAt, periodStart, periodEnd, remainingAmount</i>
|
|
430
|
+
* @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/>
|
|
431
|
+
* @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: id, code, policyCode, type, tariffKey, categoryKey, period, claimCode, deductibleKey, periodStart, periodEnd, createdAt, updatedAt</i>
|
|
432
|
+
* @param {*} [options] Override http request option.
|
|
433
|
+
* @deprecated
|
|
434
|
+
* @throws {RequiredError}
|
|
435
|
+
*/
|
|
436
|
+
listClaimLimitUsages1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
437
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
438
|
+
var localVarAxiosArgs;
|
|
439
|
+
return __generator(this, function (_a) {
|
|
440
|
+
switch (_a.label) {
|
|
441
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listClaimLimitUsages1(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
442
|
+
case 1:
|
|
443
|
+
localVarAxiosArgs = _a.sent();
|
|
444
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
445
|
+
}
|
|
446
|
+
});
|
|
447
|
+
});
|
|
448
|
+
},
|
|
449
|
+
};
|
|
450
|
+
};
|
|
451
|
+
exports.ClaimLimitUsagesApiFp = ClaimLimitUsagesApiFp;
|
|
452
|
+
/**
|
|
453
|
+
* ClaimLimitUsagesApi - factory interface
|
|
454
|
+
* @export
|
|
455
|
+
*/
|
|
456
|
+
var ClaimLimitUsagesApiFactory = function (configuration, basePath, axios) {
|
|
457
|
+
var localVarFp = (0, exports.ClaimLimitUsagesApiFp)(configuration);
|
|
458
|
+
return {
|
|
459
|
+
/**
|
|
460
|
+
* This will get claim limit usage. **Required Permissions** \"claim-management.claims.view\"
|
|
461
|
+
* @summary Retrieve the claim limit usage
|
|
462
|
+
* @param {string} code
|
|
463
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
464
|
+
* @param {*} [options] Override http request option.
|
|
465
|
+
* @throws {RequiredError}
|
|
466
|
+
*/
|
|
467
|
+
getClaimLimitUsage: function (code, authorization, options) {
|
|
468
|
+
return localVarFp.getClaimLimitUsage(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
469
|
+
},
|
|
470
|
+
/**
|
|
471
|
+
* This will get claim limit usage. **Required Permissions** \"claim-management.claims.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
472
|
+
* @summary Retrieve the claim limit usage
|
|
473
|
+
* @param {string} code
|
|
474
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
475
|
+
* @param {*} [options] Override http request option.
|
|
476
|
+
* @deprecated
|
|
477
|
+
* @throws {RequiredError}
|
|
478
|
+
*/
|
|
479
|
+
getClaimLimitUsage1: function (code, authorization, options) {
|
|
480
|
+
return localVarFp.getClaimLimitUsage1(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
481
|
+
},
|
|
482
|
+
/**
|
|
483
|
+
* Retrieves a list of claim limit usages. **Required Permissions** \"claim-management.claims.view\"
|
|
484
|
+
* @summary List claim limit usages
|
|
485
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
486
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
487
|
+
* @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.
|
|
488
|
+
* @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: id, code, policyCode, type, tariffKey, categoryKey, period, claimCode, deductibleKey, periodStart, periodEnd, createdAt, updatedAt</i>
|
|
489
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
490
|
+
* @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, code, createdAt, updatedAt, periodStart, periodEnd, remainingAmount</i>
|
|
491
|
+
* @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/>
|
|
492
|
+
* @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: id, code, policyCode, type, tariffKey, categoryKey, period, claimCode, deductibleKey, periodStart, periodEnd, createdAt, updatedAt</i>
|
|
493
|
+
* @param {*} [options] Override http request option.
|
|
494
|
+
* @throws {RequiredError}
|
|
495
|
+
*/
|
|
496
|
+
listClaimLimitUsages: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
497
|
+
return localVarFp.listClaimLimitUsages(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
498
|
+
},
|
|
499
|
+
/**
|
|
500
|
+
* Retrieves a list of claim limit usages. **Required Permissions** \"claim-management.claims.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
501
|
+
* @summary List claim limit usages
|
|
502
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
503
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
504
|
+
* @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.
|
|
505
|
+
* @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: id, code, policyCode, type, tariffKey, categoryKey, period, claimCode, deductibleKey, periodStart, periodEnd, createdAt, updatedAt</i>
|
|
506
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
507
|
+
* @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, code, createdAt, updatedAt, periodStart, periodEnd, remainingAmount</i>
|
|
508
|
+
* @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/>
|
|
509
|
+
* @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: id, code, policyCode, type, tariffKey, categoryKey, period, claimCode, deductibleKey, periodStart, periodEnd, createdAt, updatedAt</i>
|
|
510
|
+
* @param {*} [options] Override http request option.
|
|
511
|
+
* @deprecated
|
|
512
|
+
* @throws {RequiredError}
|
|
513
|
+
*/
|
|
514
|
+
listClaimLimitUsages1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
515
|
+
return localVarFp.listClaimLimitUsages1(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
516
|
+
},
|
|
517
|
+
};
|
|
518
|
+
};
|
|
519
|
+
exports.ClaimLimitUsagesApiFactory = ClaimLimitUsagesApiFactory;
|
|
520
|
+
/**
|
|
521
|
+
* ClaimLimitUsagesApi - object-oriented interface
|
|
522
|
+
* @export
|
|
523
|
+
* @class ClaimLimitUsagesApi
|
|
524
|
+
* @extends {BaseAPI}
|
|
525
|
+
*/
|
|
526
|
+
var ClaimLimitUsagesApi = /** @class */ (function (_super) {
|
|
527
|
+
__extends(ClaimLimitUsagesApi, _super);
|
|
528
|
+
function ClaimLimitUsagesApi() {
|
|
529
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
530
|
+
}
|
|
531
|
+
/**
|
|
532
|
+
* This will get claim limit usage. **Required Permissions** \"claim-management.claims.view\"
|
|
533
|
+
* @summary Retrieve the claim limit usage
|
|
534
|
+
* @param {ClaimLimitUsagesApiGetClaimLimitUsageRequest} requestParameters Request parameters.
|
|
535
|
+
* @param {*} [options] Override http request option.
|
|
536
|
+
* @throws {RequiredError}
|
|
537
|
+
* @memberof ClaimLimitUsagesApi
|
|
538
|
+
*/
|
|
539
|
+
ClaimLimitUsagesApi.prototype.getClaimLimitUsage = function (requestParameters, options) {
|
|
540
|
+
var _this = this;
|
|
541
|
+
return (0, exports.ClaimLimitUsagesApiFp)(this.configuration).getClaimLimitUsage(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
542
|
+
};
|
|
543
|
+
/**
|
|
544
|
+
* This will get claim limit usage. **Required Permissions** \"claim-management.claims.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
545
|
+
* @summary Retrieve the claim limit usage
|
|
546
|
+
* @param {ClaimLimitUsagesApiGetClaimLimitUsage1Request} requestParameters Request parameters.
|
|
547
|
+
* @param {*} [options] Override http request option.
|
|
548
|
+
* @deprecated
|
|
549
|
+
* @throws {RequiredError}
|
|
550
|
+
* @memberof ClaimLimitUsagesApi
|
|
551
|
+
*/
|
|
552
|
+
ClaimLimitUsagesApi.prototype.getClaimLimitUsage1 = function (requestParameters, options) {
|
|
553
|
+
var _this = this;
|
|
554
|
+
return (0, exports.ClaimLimitUsagesApiFp)(this.configuration).getClaimLimitUsage1(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
555
|
+
};
|
|
556
|
+
/**
|
|
557
|
+
* Retrieves a list of claim limit usages. **Required Permissions** \"claim-management.claims.view\"
|
|
558
|
+
* @summary List claim limit usages
|
|
559
|
+
* @param {ClaimLimitUsagesApiListClaimLimitUsagesRequest} requestParameters Request parameters.
|
|
560
|
+
* @param {*} [options] Override http request option.
|
|
561
|
+
* @throws {RequiredError}
|
|
562
|
+
* @memberof ClaimLimitUsagesApi
|
|
563
|
+
*/
|
|
564
|
+
ClaimLimitUsagesApi.prototype.listClaimLimitUsages = function (requestParameters, options) {
|
|
565
|
+
var _this = this;
|
|
566
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
567
|
+
return (0, exports.ClaimLimitUsagesApiFp)(this.configuration).listClaimLimitUsages(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); });
|
|
568
|
+
};
|
|
569
|
+
/**
|
|
570
|
+
* Retrieves a list of claim limit usages. **Required Permissions** \"claim-management.claims.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
571
|
+
* @summary List claim limit usages
|
|
572
|
+
* @param {ClaimLimitUsagesApiListClaimLimitUsages1Request} requestParameters Request parameters.
|
|
573
|
+
* @param {*} [options] Override http request option.
|
|
574
|
+
* @deprecated
|
|
575
|
+
* @throws {RequiredError}
|
|
576
|
+
* @memberof ClaimLimitUsagesApi
|
|
577
|
+
*/
|
|
578
|
+
ClaimLimitUsagesApi.prototype.listClaimLimitUsages1 = function (requestParameters, options) {
|
|
579
|
+
var _this = this;
|
|
580
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
581
|
+
return (0, exports.ClaimLimitUsagesApiFp)(this.configuration).listClaimLimitUsages1(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); });
|
|
582
|
+
};
|
|
583
|
+
return ClaimLimitUsagesApi;
|
|
584
|
+
}(base_1.BaseAPI));
|
|
585
|
+
exports.ClaimLimitUsagesApi = ClaimLimitUsagesApi;
|