@emilgroup/claim-sdk 1.35.1-beta.5 → 1.36.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/api/claim-partner-roles-api.js +17 -46
- package/dist/api/claim-partners-api.js +14 -39
- package/dist/api/claim-regulations-api.d.ts +3 -3
- package/dist/api/claim-regulations-api.js +17 -46
- package/dist/api/claim-statuses-api.js +14 -39
- package/dist/api/claims-api.js +23 -60
- package/dist/api/health-check-api.js +5 -18
- package/dist/api/settlements-api.js +17 -46
- package/dist/base.js +5 -5
- package/dist/common.d.ts +1 -1
- package/dist/common.js +2 -2
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
|
|
|
17
17
|
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
npm install @emilgroup/claim-sdk@1.
|
|
20
|
+
npm install @emilgroup/claim-sdk@1.36.0 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/claim-sdk@1.
|
|
24
|
+
yarn add @emilgroup/claim-sdk@1.36.0
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `ClaimsApi`.
|
|
@@ -48,8 +48,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
48
48
|
});
|
|
49
49
|
};
|
|
50
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
|
|
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
53
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
54
54
|
function step(op) {
|
|
55
55
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -74,15 +74,6 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
74
74
|
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
75
75
|
}
|
|
76
76
|
};
|
|
77
|
-
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
78
|
-
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
79
|
-
if (ar || !(i in from)) {
|
|
80
|
-
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
81
|
-
ar[i] = from[i];
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
return to.concat(ar || Array.prototype.slice.call(from));
|
|
85
|
-
};
|
|
86
77
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
87
78
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
88
79
|
};
|
|
@@ -109,14 +100,10 @@ var ClaimPartnerRolesApiAxiosParamCreator = function (configuration) {
|
|
|
109
100
|
* @param {*} [options] Override http request option.
|
|
110
101
|
* @throws {RequiredError}
|
|
111
102
|
*/
|
|
112
|
-
createClaimPartnerRole: function (
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
args_1[_i - 2] = arguments[_i];
|
|
116
|
-
}
|
|
117
|
-
return __awaiter(_this, __spreadArray([createClaimPartnerRoleRequestDto_1, authorization_1], args_1, true), void 0, function (createClaimPartnerRoleRequestDto, authorization, options) {
|
|
103
|
+
createClaimPartnerRole: function (createClaimPartnerRoleRequestDto, authorization, options) {
|
|
104
|
+
if (options === void 0) { options = {}; }
|
|
105
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
118
106
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
119
|
-
if (options === void 0) { options = {}; }
|
|
120
107
|
return __generator(this, function (_a) {
|
|
121
108
|
switch (_a.label) {
|
|
122
109
|
case 0:
|
|
@@ -162,14 +149,10 @@ var ClaimPartnerRolesApiAxiosParamCreator = function (configuration) {
|
|
|
162
149
|
* @param {*} [options] Override http request option.
|
|
163
150
|
* @throws {RequiredError}
|
|
164
151
|
*/
|
|
165
|
-
deleteClaimPartnerRole: function (
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
args_1[_i - 2] = arguments[_i];
|
|
169
|
-
}
|
|
170
|
-
return __awaiter(_this, __spreadArray([code_1, authorization_1], args_1, true), void 0, function (code, authorization, options) {
|
|
152
|
+
deleteClaimPartnerRole: function (code, authorization, options) {
|
|
153
|
+
if (options === void 0) { options = {}; }
|
|
154
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
171
155
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
172
|
-
if (options === void 0) { options = {}; }
|
|
173
156
|
return __generator(this, function (_a) {
|
|
174
157
|
switch (_a.label) {
|
|
175
158
|
case 0:
|
|
@@ -214,14 +197,10 @@ var ClaimPartnerRolesApiAxiosParamCreator = function (configuration) {
|
|
|
214
197
|
* @param {*} [options] Override http request option.
|
|
215
198
|
* @throws {RequiredError}
|
|
216
199
|
*/
|
|
217
|
-
getClaimPartnerRole: function (
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
args_1[_i - 2] = arguments[_i];
|
|
221
|
-
}
|
|
222
|
-
return __awaiter(_this, __spreadArray([code_1, authorization_1], args_1, true), void 0, function (code, authorization, options) {
|
|
200
|
+
getClaimPartnerRole: function (code, authorization, options) {
|
|
201
|
+
if (options === void 0) { options = {}; }
|
|
202
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
223
203
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
224
|
-
if (options === void 0) { options = {}; }
|
|
225
204
|
return __generator(this, function (_a) {
|
|
226
205
|
switch (_a.label) {
|
|
227
206
|
case 0:
|
|
@@ -272,14 +251,10 @@ var ClaimPartnerRolesApiAxiosParamCreator = function (configuration) {
|
|
|
272
251
|
* @param {*} [options] Override http request option.
|
|
273
252
|
* @throws {RequiredError}
|
|
274
253
|
*/
|
|
275
|
-
listClaimPartnerRole: function (
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
args_1[_i - 8] = arguments[_i];
|
|
279
|
-
}
|
|
280
|
-
return __awaiter(_this, __spreadArray([authorization_1, pageSize_1, pageToken_1, filter_1, search_1, order_1, expand_1, filters_1], args_1, true), void 0, function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
254
|
+
listClaimPartnerRole: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
255
|
+
if (options === void 0) { options = {}; }
|
|
256
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
281
257
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
282
|
-
if (options === void 0) { options = {}; }
|
|
283
258
|
return __generator(this, function (_a) {
|
|
284
259
|
switch (_a.label) {
|
|
285
260
|
case 0:
|
|
@@ -343,14 +318,10 @@ var ClaimPartnerRolesApiAxiosParamCreator = function (configuration) {
|
|
|
343
318
|
* @param {*} [options] Override http request option.
|
|
344
319
|
* @throws {RequiredError}
|
|
345
320
|
*/
|
|
346
|
-
updateClaimPartnerRole: function (
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
args_1[_i - 3] = arguments[_i];
|
|
350
|
-
}
|
|
351
|
-
return __awaiter(_this, __spreadArray([code_1, updateClaimPartnerRoleRequestDto_1, authorization_1], args_1, true), void 0, function (code, updateClaimPartnerRoleRequestDto, authorization, options) {
|
|
321
|
+
updateClaimPartnerRole: function (code, updateClaimPartnerRoleRequestDto, authorization, options) {
|
|
322
|
+
if (options === void 0) { options = {}; }
|
|
323
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
352
324
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
353
|
-
if (options === void 0) { options = {}; }
|
|
354
325
|
return __generator(this, function (_a) {
|
|
355
326
|
switch (_a.label) {
|
|
356
327
|
case 0:
|
|
@@ -48,8 +48,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
48
48
|
});
|
|
49
49
|
};
|
|
50
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
|
|
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
53
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
54
54
|
function step(op) {
|
|
55
55
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -74,15 +74,6 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
74
74
|
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
75
75
|
}
|
|
76
76
|
};
|
|
77
|
-
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
78
|
-
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
79
|
-
if (ar || !(i in from)) {
|
|
80
|
-
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
81
|
-
ar[i] = from[i];
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
return to.concat(ar || Array.prototype.slice.call(from));
|
|
85
|
-
};
|
|
86
77
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
87
78
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
88
79
|
};
|
|
@@ -110,14 +101,10 @@ var ClaimPartnersApiAxiosParamCreator = function (configuration) {
|
|
|
110
101
|
* @param {*} [options] Override http request option.
|
|
111
102
|
* @throws {RequiredError}
|
|
112
103
|
*/
|
|
113
|
-
createClaimPartner: function (
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
args_1[_i - 3] = arguments[_i];
|
|
117
|
-
}
|
|
118
|
-
return __awaiter(_this, __spreadArray([claimCode_1, createClaimPartnerRequestDto_1, authorization_1], args_1, true), void 0, function (claimCode, createClaimPartnerRequestDto, authorization, options) {
|
|
104
|
+
createClaimPartner: function (claimCode, createClaimPartnerRequestDto, authorization, options) {
|
|
105
|
+
if (options === void 0) { options = {}; }
|
|
106
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
119
107
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
120
|
-
if (options === void 0) { options = {}; }
|
|
121
108
|
return __generator(this, function (_a) {
|
|
122
109
|
switch (_a.label) {
|
|
123
110
|
case 0:
|
|
@@ -166,14 +153,10 @@ var ClaimPartnersApiAxiosParamCreator = function (configuration) {
|
|
|
166
153
|
* @param {*} [options] Override http request option.
|
|
167
154
|
* @throws {RequiredError}
|
|
168
155
|
*/
|
|
169
|
-
deleteClaimPartner: function (
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
args_1[_i - 2] = arguments[_i];
|
|
173
|
-
}
|
|
174
|
-
return __awaiter(_this, __spreadArray([id_1, authorization_1], args_1, true), void 0, function (id, authorization, options) {
|
|
156
|
+
deleteClaimPartner: function (id, authorization, options) {
|
|
157
|
+
if (options === void 0) { options = {}; }
|
|
158
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
175
159
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
176
|
-
if (options === void 0) { options = {}; }
|
|
177
160
|
return __generator(this, function (_a) {
|
|
178
161
|
switch (_a.label) {
|
|
179
162
|
case 0:
|
|
@@ -218,14 +201,10 @@ var ClaimPartnersApiAxiosParamCreator = function (configuration) {
|
|
|
218
201
|
* @param {*} [options] Override http request option.
|
|
219
202
|
* @throws {RequiredError}
|
|
220
203
|
*/
|
|
221
|
-
getClaimPartner: function (
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
args_1[_i - 2] = arguments[_i];
|
|
225
|
-
}
|
|
226
|
-
return __awaiter(_this, __spreadArray([id_1, authorization_1], args_1, true), void 0, function (id, authorization, options) {
|
|
204
|
+
getClaimPartner: function (id, authorization, options) {
|
|
205
|
+
if (options === void 0) { options = {}; }
|
|
206
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
227
207
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
228
|
-
if (options === void 0) { options = {}; }
|
|
229
208
|
return __generator(this, function (_a) {
|
|
230
209
|
switch (_a.label) {
|
|
231
210
|
case 0:
|
|
@@ -276,14 +255,10 @@ var ClaimPartnersApiAxiosParamCreator = function (configuration) {
|
|
|
276
255
|
* @param {*} [options] Override http request option.
|
|
277
256
|
* @throws {RequiredError}
|
|
278
257
|
*/
|
|
279
|
-
listClaimPartners: function (
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
args_1[_i - 8] = arguments[_i];
|
|
283
|
-
}
|
|
284
|
-
return __awaiter(_this, __spreadArray([authorization_1, pageSize_1, pageToken_1, filter_1, search_1, order_1, expand_1, filters_1], args_1, true), void 0, function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
258
|
+
listClaimPartners: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
259
|
+
if (options === void 0) { options = {}; }
|
|
260
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
285
261
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
286
|
-
if (options === void 0) { options = {}; }
|
|
287
262
|
return __generator(this, function (_a) {
|
|
288
263
|
switch (_a.label) {
|
|
289
264
|
case 0:
|
|
@@ -48,7 +48,7 @@ export declare const ClaimRegulationsApiAxiosParamCreator: (configuration?: Conf
|
|
|
48
48
|
* @param {*} [options] Override http request option.
|
|
49
49
|
* @throws {RequiredError}
|
|
50
50
|
*/
|
|
51
|
-
getClaimRegulation: (code: string, authorization?: string, expand?:
|
|
51
|
+
getClaimRegulation: (code: string, authorization?: string, expand?: 'claim', options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
52
52
|
/**
|
|
53
53
|
* Returns a list of claim regulation items you have previously created. The claim regulation items are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.regulations.view\"
|
|
54
54
|
* @summary List claim regulation items
|
|
@@ -107,7 +107,7 @@ export declare const ClaimRegulationsApiFp: (configuration?: Configuration) => {
|
|
|
107
107
|
* @param {*} [options] Override http request option.
|
|
108
108
|
* @throws {RequiredError}
|
|
109
109
|
*/
|
|
110
|
-
getClaimRegulation(code: string, authorization?: string, expand?:
|
|
110
|
+
getClaimRegulation(code: string, authorization?: string, expand?: 'claim', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegulationItemResponseClass>>;
|
|
111
111
|
/**
|
|
112
112
|
* Returns a list of claim regulation items you have previously created. The claim regulation items are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.regulations.view\"
|
|
113
113
|
* @summary List claim regulation items
|
|
@@ -166,7 +166,7 @@ export declare const ClaimRegulationsApiFactory: (configuration?: Configuration,
|
|
|
166
166
|
* @param {*} [options] Override http request option.
|
|
167
167
|
* @throws {RequiredError}
|
|
168
168
|
*/
|
|
169
|
-
getClaimRegulation(code: string, authorization?: string, expand?:
|
|
169
|
+
getClaimRegulation(code: string, authorization?: string, expand?: 'claim', options?: any): AxiosPromise<RegulationItemResponseClass>;
|
|
170
170
|
/**
|
|
171
171
|
* Returns a list of claim regulation items you have previously created. The claim regulation items are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.regulations.view\"
|
|
172
172
|
* @summary List claim regulation items
|
|
@@ -48,8 +48,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
48
48
|
});
|
|
49
49
|
};
|
|
50
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
|
|
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
53
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
54
54
|
function step(op) {
|
|
55
55
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -74,15 +74,6 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
74
74
|
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
75
75
|
}
|
|
76
76
|
};
|
|
77
|
-
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
78
|
-
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
79
|
-
if (ar || !(i in from)) {
|
|
80
|
-
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
81
|
-
ar[i] = from[i];
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
return to.concat(ar || Array.prototype.slice.call(from));
|
|
85
|
-
};
|
|
86
77
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
87
78
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
88
79
|
};
|
|
@@ -109,14 +100,10 @@ var ClaimRegulationsApiAxiosParamCreator = function (configuration) {
|
|
|
109
100
|
* @param {*} [options] Override http request option.
|
|
110
101
|
* @throws {RequiredError}
|
|
111
102
|
*/
|
|
112
|
-
createClaimRegulation: function (
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
args_1[_i - 2] = arguments[_i];
|
|
116
|
-
}
|
|
117
|
-
return __awaiter(_this, __spreadArray([createRegulationItemRequestDto_1, authorization_1], args_1, true), void 0, function (createRegulationItemRequestDto, authorization, options) {
|
|
103
|
+
createClaimRegulation: function (createRegulationItemRequestDto, authorization, options) {
|
|
104
|
+
if (options === void 0) { options = {}; }
|
|
105
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
118
106
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
119
|
-
if (options === void 0) { options = {}; }
|
|
120
107
|
return __generator(this, function (_a) {
|
|
121
108
|
switch (_a.label) {
|
|
122
109
|
case 0:
|
|
@@ -162,14 +149,10 @@ var ClaimRegulationsApiAxiosParamCreator = function (configuration) {
|
|
|
162
149
|
* @param {*} [options] Override http request option.
|
|
163
150
|
* @throws {RequiredError}
|
|
164
151
|
*/
|
|
165
|
-
deleteClaimRegulations: function (
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
args_1[_i - 2] = arguments[_i];
|
|
169
|
-
}
|
|
170
|
-
return __awaiter(_this, __spreadArray([code_1, authorization_1], args_1, true), void 0, function (code, authorization, options) {
|
|
152
|
+
deleteClaimRegulations: function (code, authorization, options) {
|
|
153
|
+
if (options === void 0) { options = {}; }
|
|
154
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
171
155
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
172
|
-
if (options === void 0) { options = {}; }
|
|
173
156
|
return __generator(this, function (_a) {
|
|
174
157
|
switch (_a.label) {
|
|
175
158
|
case 0:
|
|
@@ -215,14 +198,10 @@ var ClaimRegulationsApiAxiosParamCreator = function (configuration) {
|
|
|
215
198
|
* @param {*} [options] Override http request option.
|
|
216
199
|
* @throws {RequiredError}
|
|
217
200
|
*/
|
|
218
|
-
getClaimRegulation: function (
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
args_1[_i - 3] = arguments[_i];
|
|
222
|
-
}
|
|
223
|
-
return __awaiter(_this, __spreadArray([code_1, authorization_1, expand_1], args_1, true), void 0, function (code, authorization, expand, options) {
|
|
201
|
+
getClaimRegulation: function (code, authorization, expand, options) {
|
|
202
|
+
if (options === void 0) { options = {}; }
|
|
203
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
224
204
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
225
|
-
if (options === void 0) { options = {}; }
|
|
226
205
|
return __generator(this, function (_a) {
|
|
227
206
|
switch (_a.label) {
|
|
228
207
|
case 0:
|
|
@@ -276,14 +255,10 @@ var ClaimRegulationsApiAxiosParamCreator = function (configuration) {
|
|
|
276
255
|
* @param {*} [options] Override http request option.
|
|
277
256
|
* @throws {RequiredError}
|
|
278
257
|
*/
|
|
279
|
-
listClaimRegulations: function (
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
args_1[_i - 8] = arguments[_i];
|
|
283
|
-
}
|
|
284
|
-
return __awaiter(_this, __spreadArray([authorization_1, pageSize_1, pageToken_1, filter_1, search_1, order_1, expand_1, filters_1], args_1, true), void 0, function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
258
|
+
listClaimRegulations: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
259
|
+
if (options === void 0) { options = {}; }
|
|
260
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
285
261
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
286
|
-
if (options === void 0) { options = {}; }
|
|
287
262
|
return __generator(this, function (_a) {
|
|
288
263
|
switch (_a.label) {
|
|
289
264
|
case 0:
|
|
@@ -347,14 +322,10 @@ var ClaimRegulationsApiAxiosParamCreator = function (configuration) {
|
|
|
347
322
|
* @param {*} [options] Override http request option.
|
|
348
323
|
* @throws {RequiredError}
|
|
349
324
|
*/
|
|
350
|
-
updateClaimRegulation: function (
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
args_1[_i - 3] = arguments[_i];
|
|
354
|
-
}
|
|
355
|
-
return __awaiter(_this, __spreadArray([code_1, updateRegulationItemRequestDto_1, authorization_1], args_1, true), void 0, function (code, updateRegulationItemRequestDto, authorization, options) {
|
|
325
|
+
updateClaimRegulation: function (code, updateRegulationItemRequestDto, authorization, options) {
|
|
326
|
+
if (options === void 0) { options = {}; }
|
|
327
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
356
328
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
357
|
-
if (options === void 0) { options = {}; }
|
|
358
329
|
return __generator(this, function (_a) {
|
|
359
330
|
switch (_a.label) {
|
|
360
331
|
case 0:
|
|
@@ -48,8 +48,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
48
48
|
});
|
|
49
49
|
};
|
|
50
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
|
|
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
53
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
54
54
|
function step(op) {
|
|
55
55
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -74,15 +74,6 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
74
74
|
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
75
75
|
}
|
|
76
76
|
};
|
|
77
|
-
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
78
|
-
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
79
|
-
if (ar || !(i in from)) {
|
|
80
|
-
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
81
|
-
ar[i] = from[i];
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
return to.concat(ar || Array.prototype.slice.call(from));
|
|
85
|
-
};
|
|
86
77
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
87
78
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
88
79
|
};
|
|
@@ -109,14 +100,10 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
|
|
|
109
100
|
* @param {*} [options] Override http request option.
|
|
110
101
|
* @throws {RequiredError}
|
|
111
102
|
*/
|
|
112
|
-
createClaimStatus: function (
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
args_1[_i - 2] = arguments[_i];
|
|
116
|
-
}
|
|
117
|
-
return __awaiter(_this, __spreadArray([createClaimStatusRequestDto_1, authorization_1], args_1, true), void 0, function (createClaimStatusRequestDto, authorization, options) {
|
|
103
|
+
createClaimStatus: function (createClaimStatusRequestDto, authorization, options) {
|
|
104
|
+
if (options === void 0) { options = {}; }
|
|
105
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
118
106
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
119
|
-
if (options === void 0) { options = {}; }
|
|
120
107
|
return __generator(this, function (_a) {
|
|
121
108
|
switch (_a.label) {
|
|
122
109
|
case 0:
|
|
@@ -162,14 +149,10 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
|
|
|
162
149
|
* @param {*} [options] Override http request option.
|
|
163
150
|
* @throws {RequiredError}
|
|
164
151
|
*/
|
|
165
|
-
deleteClaimStatus: function (
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
args_1[_i - 2] = arguments[_i];
|
|
169
|
-
}
|
|
170
|
-
return __awaiter(_this, __spreadArray([id_1, authorization_1], args_1, true), void 0, function (id, authorization, options) {
|
|
152
|
+
deleteClaimStatus: function (id, authorization, options) {
|
|
153
|
+
if (options === void 0) { options = {}; }
|
|
154
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
171
155
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
172
|
-
if (options === void 0) { options = {}; }
|
|
173
156
|
return __generator(this, function (_a) {
|
|
174
157
|
switch (_a.label) {
|
|
175
158
|
case 0:
|
|
@@ -214,14 +197,10 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
|
|
|
214
197
|
* @param {*} [options] Override http request option.
|
|
215
198
|
* @throws {RequiredError}
|
|
216
199
|
*/
|
|
217
|
-
getClaimStatus: function (
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
args_1[_i - 2] = arguments[_i];
|
|
221
|
-
}
|
|
222
|
-
return __awaiter(_this, __spreadArray([id_1, authorization_1], args_1, true), void 0, function (id, authorization, options) {
|
|
200
|
+
getClaimStatus: function (id, authorization, options) {
|
|
201
|
+
if (options === void 0) { options = {}; }
|
|
202
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
223
203
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
224
|
-
if (options === void 0) { options = {}; }
|
|
225
204
|
return __generator(this, function (_a) {
|
|
226
205
|
switch (_a.label) {
|
|
227
206
|
case 0:
|
|
@@ -272,14 +251,10 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
|
|
|
272
251
|
* @param {*} [options] Override http request option.
|
|
273
252
|
* @throws {RequiredError}
|
|
274
253
|
*/
|
|
275
|
-
listClaimStatuses: function (
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
args_1[_i - 8] = arguments[_i];
|
|
279
|
-
}
|
|
280
|
-
return __awaiter(_this, __spreadArray([authorization_1, pageSize_1, pageToken_1, filter_1, search_1, order_1, expand_1, filters_1], args_1, true), void 0, function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
254
|
+
listClaimStatuses: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
255
|
+
if (options === void 0) { options = {}; }
|
|
256
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
281
257
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
282
|
-
if (options === void 0) { options = {}; }
|
|
283
258
|
return __generator(this, function (_a) {
|
|
284
259
|
switch (_a.label) {
|
|
285
260
|
case 0:
|
package/dist/api/claims-api.js
CHANGED
|
@@ -48,8 +48,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
48
48
|
});
|
|
49
49
|
};
|
|
50
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
|
|
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
53
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
54
54
|
function step(op) {
|
|
55
55
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -74,15 +74,6 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
74
74
|
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
75
75
|
}
|
|
76
76
|
};
|
|
77
|
-
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
78
|
-
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
79
|
-
if (ar || !(i in from)) {
|
|
80
|
-
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
81
|
-
ar[i] = from[i];
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
return to.concat(ar || Array.prototype.slice.call(from));
|
|
85
|
-
};
|
|
86
77
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
87
78
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
88
79
|
};
|
|
@@ -109,14 +100,10 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
109
100
|
* @param {*} [options] Override http request option.
|
|
110
101
|
* @throws {RequiredError}
|
|
111
102
|
*/
|
|
112
|
-
createClaim: function (
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
args_1[_i - 2] = arguments[_i];
|
|
116
|
-
}
|
|
117
|
-
return __awaiter(_this, __spreadArray([createClaimRequestDto_1, authorization_1], args_1, true), void 0, function (createClaimRequestDto, authorization, options) {
|
|
103
|
+
createClaim: function (createClaimRequestDto, authorization, options) {
|
|
104
|
+
if (options === void 0) { options = {}; }
|
|
105
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
118
106
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
119
|
-
if (options === void 0) { options = {}; }
|
|
120
107
|
return __generator(this, function (_a) {
|
|
121
108
|
switch (_a.label) {
|
|
122
109
|
case 0:
|
|
@@ -162,14 +149,10 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
162
149
|
* @param {*} [options] Override http request option.
|
|
163
150
|
* @throws {RequiredError}
|
|
164
151
|
*/
|
|
165
|
-
deleteClaim: function (
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
args_1[_i - 2] = arguments[_i];
|
|
169
|
-
}
|
|
170
|
-
return __awaiter(_this, __spreadArray([code_1, authorization_1], args_1, true), void 0, function (code, authorization, options) {
|
|
152
|
+
deleteClaim: function (code, authorization, options) {
|
|
153
|
+
if (options === void 0) { options = {}; }
|
|
154
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
171
155
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
172
|
-
if (options === void 0) { options = {}; }
|
|
173
156
|
return __generator(this, function (_a) {
|
|
174
157
|
switch (_a.label) {
|
|
175
158
|
case 0:
|
|
@@ -214,14 +197,10 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
214
197
|
* @param {*} [options] Override http request option.
|
|
215
198
|
* @throws {RequiredError}
|
|
216
199
|
*/
|
|
217
|
-
getClaim: function (
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
args_1[_i - 2] = arguments[_i];
|
|
221
|
-
}
|
|
222
|
-
return __awaiter(_this, __spreadArray([code_1, authorization_1], args_1, true), void 0, function (code, authorization, options) {
|
|
200
|
+
getClaim: function (code, authorization, options) {
|
|
201
|
+
if (options === void 0) { options = {}; }
|
|
202
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
223
203
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
224
|
-
if (options === void 0) { options = {}; }
|
|
225
204
|
return __generator(this, function (_a) {
|
|
226
205
|
switch (_a.label) {
|
|
227
206
|
case 0:
|
|
@@ -266,14 +245,10 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
266
245
|
* @param {*} [options] Override http request option.
|
|
267
246
|
* @throws {RequiredError}
|
|
268
247
|
*/
|
|
269
|
-
getClaimRegulationSummary: function (
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
args_1[_i - 2] = arguments[_i];
|
|
273
|
-
}
|
|
274
|
-
return __awaiter(_this, __spreadArray([code_1, authorization_1], args_1, true), void 0, function (code, authorization, options) {
|
|
248
|
+
getClaimRegulationSummary: function (code, authorization, options) {
|
|
249
|
+
if (options === void 0) { options = {}; }
|
|
250
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
275
251
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
276
|
-
if (options === void 0) { options = {}; }
|
|
277
252
|
return __generator(this, function (_a) {
|
|
278
253
|
switch (_a.label) {
|
|
279
254
|
case 0:
|
|
@@ -324,14 +299,10 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
324
299
|
* @param {*} [options] Override http request option.
|
|
325
300
|
* @throws {RequiredError}
|
|
326
301
|
*/
|
|
327
|
-
listClaims: function (
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
args_1[_i - 8] = arguments[_i];
|
|
331
|
-
}
|
|
332
|
-
return __awaiter(_this, __spreadArray([authorization_1, pageSize_1, pageToken_1, filter_1, search_1, order_1, expand_1, filters_1], args_1, true), void 0, function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
302
|
+
listClaims: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
303
|
+
if (options === void 0) { options = {}; }
|
|
304
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
333
305
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
334
|
-
if (options === void 0) { options = {}; }
|
|
335
306
|
return __generator(this, function (_a) {
|
|
336
307
|
switch (_a.label) {
|
|
337
308
|
case 0:
|
|
@@ -395,14 +366,10 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
395
366
|
* @param {*} [options] Override http request option.
|
|
396
367
|
* @throws {RequiredError}
|
|
397
368
|
*/
|
|
398
|
-
patchClaim: function (
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
args_1[_i - 3] = arguments[_i];
|
|
402
|
-
}
|
|
403
|
-
return __awaiter(_this, __spreadArray([code_1, patchClaimRequestDto_1, authorization_1], args_1, true), void 0, function (code, patchClaimRequestDto, authorization, options) {
|
|
369
|
+
patchClaim: function (code, patchClaimRequestDto, authorization, options) {
|
|
370
|
+
if (options === void 0) { options = {}; }
|
|
371
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
404
372
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
405
|
-
if (options === void 0) { options = {}; }
|
|
406
373
|
return __generator(this, function (_a) {
|
|
407
374
|
switch (_a.label) {
|
|
408
375
|
case 0:
|
|
@@ -452,14 +419,10 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
452
419
|
* @param {*} [options] Override http request option.
|
|
453
420
|
* @throws {RequiredError}
|
|
454
421
|
*/
|
|
455
|
-
updateClaim: function (
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
args_1[_i - 3] = arguments[_i];
|
|
459
|
-
}
|
|
460
|
-
return __awaiter(_this, __spreadArray([code_1, updateClaimRequestDto_1, authorization_1], args_1, true), void 0, function (code, updateClaimRequestDto, authorization, options) {
|
|
422
|
+
updateClaim: function (code, updateClaimRequestDto, authorization, options) {
|
|
423
|
+
if (options === void 0) { options = {}; }
|
|
424
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
461
425
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
462
|
-
if (options === void 0) { options = {}; }
|
|
463
426
|
return __generator(this, function (_a) {
|
|
464
427
|
switch (_a.label) {
|
|
465
428
|
case 0:
|
|
@@ -48,8 +48,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
48
48
|
});
|
|
49
49
|
};
|
|
50
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
|
|
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
53
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
54
54
|
function step(op) {
|
|
55
55
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -74,15 +74,6 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
74
74
|
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
75
75
|
}
|
|
76
76
|
};
|
|
77
|
-
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
78
|
-
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
79
|
-
if (ar || !(i in from)) {
|
|
80
|
-
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
81
|
-
ar[i] = from[i];
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
return to.concat(ar || Array.prototype.slice.call(from));
|
|
85
|
-
};
|
|
86
77
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
87
78
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
88
79
|
};
|
|
@@ -107,14 +98,10 @@ var HealthCheckApiAxiosParamCreator = function (configuration) {
|
|
|
107
98
|
* @param {*} [options] Override http request option.
|
|
108
99
|
* @throws {RequiredError}
|
|
109
100
|
*/
|
|
110
|
-
check: function () {
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
args_1[_i] = arguments[_i];
|
|
114
|
-
}
|
|
115
|
-
return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
|
|
101
|
+
check: function (options) {
|
|
102
|
+
if (options === void 0) { options = {}; }
|
|
103
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
116
104
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
117
|
-
if (options === void 0) { options = {}; }
|
|
118
105
|
return __generator(this, function (_a) {
|
|
119
106
|
localVarPath = "/v1/claims/health";
|
|
120
107
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -48,8 +48,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
48
48
|
});
|
|
49
49
|
};
|
|
50
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
|
|
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
53
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
54
54
|
function step(op) {
|
|
55
55
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -74,15 +74,6 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
74
74
|
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
75
75
|
}
|
|
76
76
|
};
|
|
77
|
-
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
78
|
-
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
79
|
-
if (ar || !(i in from)) {
|
|
80
|
-
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
81
|
-
ar[i] = from[i];
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
return to.concat(ar || Array.prototype.slice.call(from));
|
|
85
|
-
};
|
|
86
77
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
87
78
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
88
79
|
};
|
|
@@ -109,14 +100,10 @@ var SettlementsApiAxiosParamCreator = function (configuration) {
|
|
|
109
100
|
* @param {*} [options] Override http request option.
|
|
110
101
|
* @throws {RequiredError}
|
|
111
102
|
*/
|
|
112
|
-
createSettlement: function (
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
args_1[_i - 2] = arguments[_i];
|
|
116
|
-
}
|
|
117
|
-
return __awaiter(_this, __spreadArray([createSettlementRequestDto_1, authorization_1], args_1, true), void 0, function (createSettlementRequestDto, authorization, options) {
|
|
103
|
+
createSettlement: function (createSettlementRequestDto, authorization, options) {
|
|
104
|
+
if (options === void 0) { options = {}; }
|
|
105
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
118
106
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
119
|
-
if (options === void 0) { options = {}; }
|
|
120
107
|
return __generator(this, function (_a) {
|
|
121
108
|
switch (_a.label) {
|
|
122
109
|
case 0:
|
|
@@ -162,14 +149,10 @@ var SettlementsApiAxiosParamCreator = function (configuration) {
|
|
|
162
149
|
* @param {*} [options] Override http request option.
|
|
163
150
|
* @throws {RequiredError}
|
|
164
151
|
*/
|
|
165
|
-
deleteSettlement: function (
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
args_1[_i - 2] = arguments[_i];
|
|
169
|
-
}
|
|
170
|
-
return __awaiter(_this, __spreadArray([code_1, authorization_1], args_1, true), void 0, function (code, authorization, options) {
|
|
152
|
+
deleteSettlement: function (code, authorization, options) {
|
|
153
|
+
if (options === void 0) { options = {}; }
|
|
154
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
171
155
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
172
|
-
if (options === void 0) { options = {}; }
|
|
173
156
|
return __generator(this, function (_a) {
|
|
174
157
|
switch (_a.label) {
|
|
175
158
|
case 0:
|
|
@@ -214,14 +197,10 @@ var SettlementsApiAxiosParamCreator = function (configuration) {
|
|
|
214
197
|
* @param {*} [options] Override http request option.
|
|
215
198
|
* @throws {RequiredError}
|
|
216
199
|
*/
|
|
217
|
-
getSettlement: function (
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
args_1[_i - 2] = arguments[_i];
|
|
221
|
-
}
|
|
222
|
-
return __awaiter(_this, __spreadArray([code_1, authorization_1], args_1, true), void 0, function (code, authorization, options) {
|
|
200
|
+
getSettlement: function (code, authorization, options) {
|
|
201
|
+
if (options === void 0) { options = {}; }
|
|
202
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
223
203
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
224
|
-
if (options === void 0) { options = {}; }
|
|
225
204
|
return __generator(this, function (_a) {
|
|
226
205
|
switch (_a.label) {
|
|
227
206
|
case 0:
|
|
@@ -272,14 +251,10 @@ var SettlementsApiAxiosParamCreator = function (configuration) {
|
|
|
272
251
|
* @param {*} [options] Override http request option.
|
|
273
252
|
* @throws {RequiredError}
|
|
274
253
|
*/
|
|
275
|
-
listSettlements: function (
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
args_1[_i - 8] = arguments[_i];
|
|
279
|
-
}
|
|
280
|
-
return __awaiter(_this, __spreadArray([authorization_1, pageSize_1, pageToken_1, filter_1, search_1, order_1, expand_1, filters_1], args_1, true), void 0, function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
254
|
+
listSettlements: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
255
|
+
if (options === void 0) { options = {}; }
|
|
256
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
281
257
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
282
|
-
if (options === void 0) { options = {}; }
|
|
283
258
|
return __generator(this, function (_a) {
|
|
284
259
|
switch (_a.label) {
|
|
285
260
|
case 0:
|
|
@@ -343,14 +318,10 @@ var SettlementsApiAxiosParamCreator = function (configuration) {
|
|
|
343
318
|
* @param {*} [options] Override http request option.
|
|
344
319
|
* @throws {RequiredError}
|
|
345
320
|
*/
|
|
346
|
-
updateSettlement: function (
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
args_1[_i - 3] = arguments[_i];
|
|
350
|
-
}
|
|
351
|
-
return __awaiter(_this, __spreadArray([code_1, updateSettlementRequestDto_1, authorization_1], args_1, true), void 0, function (code, updateSettlementRequestDto, authorization, options) {
|
|
321
|
+
updateSettlement: function (code, updateSettlementRequestDto, authorization, options) {
|
|
322
|
+
if (options === void 0) { options = {}; }
|
|
323
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
352
324
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
353
|
-
if (options === void 0) { options = {}; }
|
|
354
325
|
return __generator(this, function (_a) {
|
|
355
326
|
switch (_a.label) {
|
|
356
327
|
case 0:
|
package/dist/base.js
CHANGED
|
@@ -48,8 +48,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
48
48
|
});
|
|
49
49
|
};
|
|
50
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
|
|
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
53
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
54
54
|
function step(op) {
|
|
55
55
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -78,8 +78,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
78
78
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
79
79
|
};
|
|
80
80
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
81
|
-
exports.RequiredError = exports.BaseAPI = exports.Environment = exports.COLLECTION_FORMATS = exports.BASE_PATH = void 0;
|
|
82
|
-
exports.resetRetry = resetRetry;
|
|
81
|
+
exports.RequiredError = exports.BaseAPI = exports.resetRetry = exports.Environment = exports.COLLECTION_FORMATS = exports.BASE_PATH = void 0;
|
|
83
82
|
var configuration_1 = require("./configuration");
|
|
84
83
|
var common_1 = require("./common");
|
|
85
84
|
// Some imports not used depending on template conditions
|
|
@@ -103,12 +102,13 @@ var Environment;
|
|
|
103
102
|
Environment["Staging"] = "https://apiv2-staging.emil.de";
|
|
104
103
|
Environment["Development"] = "https://apiv2-dev.emil.de";
|
|
105
104
|
Environment["ProductionZurich"] = "https://eu-central-2.apiv2.emil.de";
|
|
106
|
-
})(Environment
|
|
105
|
+
})(Environment = exports.Environment || (exports.Environment = {}));
|
|
107
106
|
var _retry_count = 0;
|
|
108
107
|
var _retry = null;
|
|
109
108
|
function resetRetry() {
|
|
110
109
|
_retry_count = 0;
|
|
111
110
|
}
|
|
111
|
+
exports.resetRetry = resetRetry;
|
|
112
112
|
var NETWORK_ERROR_MESSAGE = "Network Error";
|
|
113
113
|
var TOKEN_DATA = 'APP_TOKEN';
|
|
114
114
|
/**
|
package/dist/common.d.ts
CHANGED
|
@@ -62,7 +62,7 @@ export declare const toPathString: (url: URL) => string;
|
|
|
62
62
|
*
|
|
63
63
|
* @export
|
|
64
64
|
*/
|
|
65
|
-
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
|
|
65
|
+
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T, any>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
|
|
66
66
|
/**
|
|
67
67
|
* EMIL ClaimService
|
|
68
68
|
* The EMIL ClaimService API description
|
package/dist/common.js
CHANGED
|
@@ -33,8 +33,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
33
33
|
});
|
|
34
34
|
};
|
|
35
35
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
36
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g
|
|
37
|
-
return g
|
|
36
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
37
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
38
38
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
39
39
|
function step(op) {
|
|
40
40
|
if (f) throw new TypeError("Generator is already executing.");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@emilgroup/claim-sdk",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.36.0",
|
|
4
4
|
"description": "OpenAPI client for @emilgroup/claim-sdk",
|
|
5
5
|
"author": "OpenAPI-Generator Contributors",
|
|
6
6
|
"keywords": [
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"prepare": "npm run build"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"axios": "^
|
|
21
|
+
"axios": "^0.27.2"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"typescript": "^
|
|
24
|
+
"typescript": "^4.0"
|
|
25
25
|
}
|
|
26
26
|
}
|