@emilgroup/claim-sdk-node 1.34.1-beta.4 → 1.35.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 +15 -25
- package/dist/common.d.ts +1 -1
- package/dist/common.js +2 -2
- package/package.json +4 -4
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-node@1.
|
|
20
|
+
npm install @emilgroup/claim-sdk-node@1.35.0 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/claim-sdk-node@1.
|
|
24
|
+
yarn add @emilgroup/claim-sdk-node@1.35.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
|
};
|
|
@@ -113,14 +104,10 @@ var ClaimPartnerRolesApiAxiosParamCreator = function (configuration) {
|
|
|
113
104
|
* @param {*} [options] Override http request option.
|
|
114
105
|
* @throws {RequiredError}
|
|
115
106
|
*/
|
|
116
|
-
createClaimPartnerRole: function (
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
args_1[_i - 2] = arguments[_i];
|
|
120
|
-
}
|
|
121
|
-
return __awaiter(_this, __spreadArray([createClaimPartnerRoleRequestDto_1, authorization_1], args_1, true), void 0, function (createClaimPartnerRoleRequestDto, authorization, options) {
|
|
107
|
+
createClaimPartnerRole: function (createClaimPartnerRoleRequestDto, authorization, options) {
|
|
108
|
+
if (options === void 0) { options = {}; }
|
|
109
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
122
110
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
123
|
-
if (options === void 0) { options = {}; }
|
|
124
111
|
return __generator(this, function (_a) {
|
|
125
112
|
switch (_a.label) {
|
|
126
113
|
case 0:
|
|
@@ -166,14 +153,10 @@ var ClaimPartnerRolesApiAxiosParamCreator = function (configuration) {
|
|
|
166
153
|
* @param {*} [options] Override http request option.
|
|
167
154
|
* @throws {RequiredError}
|
|
168
155
|
*/
|
|
169
|
-
deleteClaimPartnerRole: function (
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
args_1[_i - 2] = arguments[_i];
|
|
173
|
-
}
|
|
174
|
-
return __awaiter(_this, __spreadArray([code_1, authorization_1], args_1, true), void 0, function (code, authorization, options) {
|
|
156
|
+
deleteClaimPartnerRole: function (code, 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 ClaimPartnerRolesApiAxiosParamCreator = function (configuration) {
|
|
|
218
201
|
* @param {*} [options] Override http request option.
|
|
219
202
|
* @throws {RequiredError}
|
|
220
203
|
*/
|
|
221
|
-
getClaimPartnerRole: function (
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
args_1[_i - 2] = arguments[_i];
|
|
225
|
-
}
|
|
226
|
-
return __awaiter(_this, __spreadArray([code_1, authorization_1], args_1, true), void 0, function (code, authorization, options) {
|
|
204
|
+
getClaimPartnerRole: function (code, 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 ClaimPartnerRolesApiAxiosParamCreator = function (configuration) {
|
|
|
276
255
|
* @param {*} [options] Override http request option.
|
|
277
256
|
* @throws {RequiredError}
|
|
278
257
|
*/
|
|
279
|
-
listClaimPartnerRole: 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
|
+
listClaimPartnerRole: 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 ClaimPartnerRolesApiAxiosParamCreator = function (configuration) {
|
|
|
347
322
|
* @param {*} [options] Override http request option.
|
|
348
323
|
* @throws {RequiredError}
|
|
349
324
|
*/
|
|
350
|
-
updateClaimPartnerRole: function (
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
args_1[_i - 3] = arguments[_i];
|
|
354
|
-
}
|
|
355
|
-
return __awaiter(_this, __spreadArray([code_1, updateClaimPartnerRoleRequestDto_1, authorization_1], args_1, true), void 0, function (code, updateClaimPartnerRoleRequestDto, authorization, options) {
|
|
325
|
+
updateClaimPartnerRole: function (code, updateClaimPartnerRoleRequestDto, 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
|
};
|
|
@@ -114,14 +105,10 @@ var ClaimPartnersApiAxiosParamCreator = function (configuration) {
|
|
|
114
105
|
* @param {*} [options] Override http request option.
|
|
115
106
|
* @throws {RequiredError}
|
|
116
107
|
*/
|
|
117
|
-
createClaimPartner: function (
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
args_1[_i - 3] = arguments[_i];
|
|
121
|
-
}
|
|
122
|
-
return __awaiter(_this, __spreadArray([claimCode_1, createClaimPartnerRequestDto_1, authorization_1], args_1, true), void 0, function (claimCode, createClaimPartnerRequestDto, authorization, options) {
|
|
108
|
+
createClaimPartner: function (claimCode, createClaimPartnerRequestDto, authorization, options) {
|
|
109
|
+
if (options === void 0) { options = {}; }
|
|
110
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
123
111
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
124
|
-
if (options === void 0) { options = {}; }
|
|
125
112
|
return __generator(this, function (_a) {
|
|
126
113
|
switch (_a.label) {
|
|
127
114
|
case 0:
|
|
@@ -170,14 +157,10 @@ var ClaimPartnersApiAxiosParamCreator = function (configuration) {
|
|
|
170
157
|
* @param {*} [options] Override http request option.
|
|
171
158
|
* @throws {RequiredError}
|
|
172
159
|
*/
|
|
173
|
-
deleteClaimPartner: function (
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
args_1[_i - 2] = arguments[_i];
|
|
177
|
-
}
|
|
178
|
-
return __awaiter(_this, __spreadArray([id_1, authorization_1], args_1, true), void 0, function (id, authorization, options) {
|
|
160
|
+
deleteClaimPartner: function (id, authorization, options) {
|
|
161
|
+
if (options === void 0) { options = {}; }
|
|
162
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
179
163
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
180
|
-
if (options === void 0) { options = {}; }
|
|
181
164
|
return __generator(this, function (_a) {
|
|
182
165
|
switch (_a.label) {
|
|
183
166
|
case 0:
|
|
@@ -222,14 +205,10 @@ var ClaimPartnersApiAxiosParamCreator = function (configuration) {
|
|
|
222
205
|
* @param {*} [options] Override http request option.
|
|
223
206
|
* @throws {RequiredError}
|
|
224
207
|
*/
|
|
225
|
-
getClaimPartner: function (
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
args_1[_i - 2] = arguments[_i];
|
|
229
|
-
}
|
|
230
|
-
return __awaiter(_this, __spreadArray([id_1, authorization_1], args_1, true), void 0, function (id, authorization, options) {
|
|
208
|
+
getClaimPartner: function (id, authorization, options) {
|
|
209
|
+
if (options === void 0) { options = {}; }
|
|
210
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
231
211
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
232
|
-
if (options === void 0) { options = {}; }
|
|
233
212
|
return __generator(this, function (_a) {
|
|
234
213
|
switch (_a.label) {
|
|
235
214
|
case 0:
|
|
@@ -280,14 +259,10 @@ var ClaimPartnersApiAxiosParamCreator = function (configuration) {
|
|
|
280
259
|
* @param {*} [options] Override http request option.
|
|
281
260
|
* @throws {RequiredError}
|
|
282
261
|
*/
|
|
283
|
-
listClaimPartners: function (
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
args_1[_i - 8] = arguments[_i];
|
|
287
|
-
}
|
|
288
|
-
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) {
|
|
262
|
+
listClaimPartners: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
263
|
+
if (options === void 0) { options = {}; }
|
|
264
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
289
265
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
290
|
-
if (options === void 0) { options = {}; }
|
|
291
266
|
return __generator(this, function (_a) {
|
|
292
267
|
switch (_a.label) {
|
|
293
268
|
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
|
};
|
|
@@ -113,14 +104,10 @@ var ClaimRegulationsApiAxiosParamCreator = function (configuration) {
|
|
|
113
104
|
* @param {*} [options] Override http request option.
|
|
114
105
|
* @throws {RequiredError}
|
|
115
106
|
*/
|
|
116
|
-
createClaimRegulation: function (
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
args_1[_i - 2] = arguments[_i];
|
|
120
|
-
}
|
|
121
|
-
return __awaiter(_this, __spreadArray([createRegulationItemRequestDto_1, authorization_1], args_1, true), void 0, function (createRegulationItemRequestDto, authorization, options) {
|
|
107
|
+
createClaimRegulation: function (createRegulationItemRequestDto, authorization, options) {
|
|
108
|
+
if (options === void 0) { options = {}; }
|
|
109
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
122
110
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
123
|
-
if (options === void 0) { options = {}; }
|
|
124
111
|
return __generator(this, function (_a) {
|
|
125
112
|
switch (_a.label) {
|
|
126
113
|
case 0:
|
|
@@ -166,14 +153,10 @@ var ClaimRegulationsApiAxiosParamCreator = function (configuration) {
|
|
|
166
153
|
* @param {*} [options] Override http request option.
|
|
167
154
|
* @throws {RequiredError}
|
|
168
155
|
*/
|
|
169
|
-
deleteClaimRegulations: function (
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
args_1[_i - 2] = arguments[_i];
|
|
173
|
-
}
|
|
174
|
-
return __awaiter(_this, __spreadArray([code_1, authorization_1], args_1, true), void 0, function (code, authorization, options) {
|
|
156
|
+
deleteClaimRegulations: function (code, 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:
|
|
@@ -219,14 +202,10 @@ var ClaimRegulationsApiAxiosParamCreator = function (configuration) {
|
|
|
219
202
|
* @param {*} [options] Override http request option.
|
|
220
203
|
* @throws {RequiredError}
|
|
221
204
|
*/
|
|
222
|
-
getClaimRegulation: function (
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
args_1[_i - 3] = arguments[_i];
|
|
226
|
-
}
|
|
227
|
-
return __awaiter(_this, __spreadArray([code_1, authorization_1, expand_1], args_1, true), void 0, function (code, authorization, expand, options) {
|
|
205
|
+
getClaimRegulation: function (code, authorization, expand, options) {
|
|
206
|
+
if (options === void 0) { options = {}; }
|
|
207
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
228
208
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
229
|
-
if (options === void 0) { options = {}; }
|
|
230
209
|
return __generator(this, function (_a) {
|
|
231
210
|
switch (_a.label) {
|
|
232
211
|
case 0:
|
|
@@ -280,14 +259,10 @@ var ClaimRegulationsApiAxiosParamCreator = function (configuration) {
|
|
|
280
259
|
* @param {*} [options] Override http request option.
|
|
281
260
|
* @throws {RequiredError}
|
|
282
261
|
*/
|
|
283
|
-
listClaimRegulations: function (
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
args_1[_i - 8] = arguments[_i];
|
|
287
|
-
}
|
|
288
|
-
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) {
|
|
262
|
+
listClaimRegulations: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
263
|
+
if (options === void 0) { options = {}; }
|
|
264
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
289
265
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
290
|
-
if (options === void 0) { options = {}; }
|
|
291
266
|
return __generator(this, function (_a) {
|
|
292
267
|
switch (_a.label) {
|
|
293
268
|
case 0:
|
|
@@ -351,14 +326,10 @@ var ClaimRegulationsApiAxiosParamCreator = function (configuration) {
|
|
|
351
326
|
* @param {*} [options] Override http request option.
|
|
352
327
|
* @throws {RequiredError}
|
|
353
328
|
*/
|
|
354
|
-
updateClaimRegulation: function (
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
args_1[_i - 3] = arguments[_i];
|
|
358
|
-
}
|
|
359
|
-
return __awaiter(_this, __spreadArray([code_1, updateRegulationItemRequestDto_1, authorization_1], args_1, true), void 0, function (code, updateRegulationItemRequestDto, authorization, options) {
|
|
329
|
+
updateClaimRegulation: function (code, updateRegulationItemRequestDto, authorization, options) {
|
|
330
|
+
if (options === void 0) { options = {}; }
|
|
331
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
360
332
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
361
|
-
if (options === void 0) { options = {}; }
|
|
362
333
|
return __generator(this, function (_a) {
|
|
363
334
|
switch (_a.label) {
|
|
364
335
|
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
|
};
|
|
@@ -113,14 +104,10 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
|
|
|
113
104
|
* @param {*} [options] Override http request option.
|
|
114
105
|
* @throws {RequiredError}
|
|
115
106
|
*/
|
|
116
|
-
createClaimStatus: function (
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
args_1[_i - 2] = arguments[_i];
|
|
120
|
-
}
|
|
121
|
-
return __awaiter(_this, __spreadArray([createClaimStatusRequestDto_1, authorization_1], args_1, true), void 0, function (createClaimStatusRequestDto, authorization, options) {
|
|
107
|
+
createClaimStatus: function (createClaimStatusRequestDto, authorization, options) {
|
|
108
|
+
if (options === void 0) { options = {}; }
|
|
109
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
122
110
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
123
|
-
if (options === void 0) { options = {}; }
|
|
124
111
|
return __generator(this, function (_a) {
|
|
125
112
|
switch (_a.label) {
|
|
126
113
|
case 0:
|
|
@@ -166,14 +153,10 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
|
|
|
166
153
|
* @param {*} [options] Override http request option.
|
|
167
154
|
* @throws {RequiredError}
|
|
168
155
|
*/
|
|
169
|
-
deleteClaimStatus: 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
|
+
deleteClaimStatus: 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 ClaimStatusesApiAxiosParamCreator = function (configuration) {
|
|
|
218
201
|
* @param {*} [options] Override http request option.
|
|
219
202
|
* @throws {RequiredError}
|
|
220
203
|
*/
|
|
221
|
-
getClaimStatus: 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
|
+
getClaimStatus: 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 ClaimStatusesApiAxiosParamCreator = function (configuration) {
|
|
|
276
255
|
* @param {*} [options] Override http request option.
|
|
277
256
|
* @throws {RequiredError}
|
|
278
257
|
*/
|
|
279
|
-
listClaimStatuses: 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
|
+
listClaimStatuses: 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:
|
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
|
};
|
|
@@ -113,14 +104,10 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
113
104
|
* @param {*} [options] Override http request option.
|
|
114
105
|
* @throws {RequiredError}
|
|
115
106
|
*/
|
|
116
|
-
createClaim: function (
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
args_1[_i - 2] = arguments[_i];
|
|
120
|
-
}
|
|
121
|
-
return __awaiter(_this, __spreadArray([createClaimRequestDto_1, authorization_1], args_1, true), void 0, function (createClaimRequestDto, authorization, options) {
|
|
107
|
+
createClaim: function (createClaimRequestDto, authorization, options) {
|
|
108
|
+
if (options === void 0) { options = {}; }
|
|
109
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
122
110
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
123
|
-
if (options === void 0) { options = {}; }
|
|
124
111
|
return __generator(this, function (_a) {
|
|
125
112
|
switch (_a.label) {
|
|
126
113
|
case 0:
|
|
@@ -166,14 +153,10 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
166
153
|
* @param {*} [options] Override http request option.
|
|
167
154
|
* @throws {RequiredError}
|
|
168
155
|
*/
|
|
169
|
-
deleteClaim: function (
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
args_1[_i - 2] = arguments[_i];
|
|
173
|
-
}
|
|
174
|
-
return __awaiter(_this, __spreadArray([code_1, authorization_1], args_1, true), void 0, function (code, authorization, options) {
|
|
156
|
+
deleteClaim: function (code, 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 ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
218
201
|
* @param {*} [options] Override http request option.
|
|
219
202
|
* @throws {RequiredError}
|
|
220
203
|
*/
|
|
221
|
-
getClaim: function (
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
args_1[_i - 2] = arguments[_i];
|
|
225
|
-
}
|
|
226
|
-
return __awaiter(_this, __spreadArray([code_1, authorization_1], args_1, true), void 0, function (code, authorization, options) {
|
|
204
|
+
getClaim: function (code, 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:
|
|
@@ -270,14 +249,10 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
270
249
|
* @param {*} [options] Override http request option.
|
|
271
250
|
* @throws {RequiredError}
|
|
272
251
|
*/
|
|
273
|
-
getClaimRegulationSummary: function (
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
args_1[_i - 2] = arguments[_i];
|
|
277
|
-
}
|
|
278
|
-
return __awaiter(_this, __spreadArray([code_1, authorization_1], args_1, true), void 0, function (code, authorization, options) {
|
|
252
|
+
getClaimRegulationSummary: function (code, authorization, options) {
|
|
253
|
+
if (options === void 0) { options = {}; }
|
|
254
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
279
255
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
280
|
-
if (options === void 0) { options = {}; }
|
|
281
256
|
return __generator(this, function (_a) {
|
|
282
257
|
switch (_a.label) {
|
|
283
258
|
case 0:
|
|
@@ -328,14 +303,10 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
328
303
|
* @param {*} [options] Override http request option.
|
|
329
304
|
* @throws {RequiredError}
|
|
330
305
|
*/
|
|
331
|
-
listClaims: function (
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
args_1[_i - 8] = arguments[_i];
|
|
335
|
-
}
|
|
336
|
-
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) {
|
|
306
|
+
listClaims: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
307
|
+
if (options === void 0) { options = {}; }
|
|
308
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
337
309
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
338
|
-
if (options === void 0) { options = {}; }
|
|
339
310
|
return __generator(this, function (_a) {
|
|
340
311
|
switch (_a.label) {
|
|
341
312
|
case 0:
|
|
@@ -399,14 +370,10 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
399
370
|
* @param {*} [options] Override http request option.
|
|
400
371
|
* @throws {RequiredError}
|
|
401
372
|
*/
|
|
402
|
-
patchClaim: function (
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
args_1[_i - 3] = arguments[_i];
|
|
406
|
-
}
|
|
407
|
-
return __awaiter(_this, __spreadArray([code_1, patchClaimRequestDto_1, authorization_1], args_1, true), void 0, function (code, patchClaimRequestDto, authorization, options) {
|
|
373
|
+
patchClaim: function (code, patchClaimRequestDto, authorization, options) {
|
|
374
|
+
if (options === void 0) { options = {}; }
|
|
375
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
408
376
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
409
|
-
if (options === void 0) { options = {}; }
|
|
410
377
|
return __generator(this, function (_a) {
|
|
411
378
|
switch (_a.label) {
|
|
412
379
|
case 0:
|
|
@@ -456,14 +423,10 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
456
423
|
* @param {*} [options] Override http request option.
|
|
457
424
|
* @throws {RequiredError}
|
|
458
425
|
*/
|
|
459
|
-
updateClaim: function (
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
args_1[_i - 3] = arguments[_i];
|
|
463
|
-
}
|
|
464
|
-
return __awaiter(_this, __spreadArray([code_1, updateClaimRequestDto_1, authorization_1], args_1, true), void 0, function (code, updateClaimRequestDto, authorization, options) {
|
|
426
|
+
updateClaim: function (code, updateClaimRequestDto, authorization, options) {
|
|
427
|
+
if (options === void 0) { options = {}; }
|
|
428
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
465
429
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
466
|
-
if (options === void 0) { options = {}; }
|
|
467
430
|
return __generator(this, function (_a) {
|
|
468
431
|
switch (_a.label) {
|
|
469
432
|
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
|
};
|
|
@@ -111,14 +102,10 @@ var HealthCheckApiAxiosParamCreator = function (configuration) {
|
|
|
111
102
|
* @param {*} [options] Override http request option.
|
|
112
103
|
* @throws {RequiredError}
|
|
113
104
|
*/
|
|
114
|
-
check: function () {
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
args_1[_i] = arguments[_i];
|
|
118
|
-
}
|
|
119
|
-
return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
|
|
105
|
+
check: function (options) {
|
|
106
|
+
if (options === void 0) { options = {}; }
|
|
107
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
120
108
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
121
|
-
if (options === void 0) { options = {}; }
|
|
122
109
|
return __generator(this, function (_a) {
|
|
123
110
|
localVarPath = "/v1/claims/health";
|
|
124
111
|
localVarUrlObj = new url_1.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
|
};
|
|
@@ -113,14 +104,10 @@ var SettlementsApiAxiosParamCreator = function (configuration) {
|
|
|
113
104
|
* @param {*} [options] Override http request option.
|
|
114
105
|
* @throws {RequiredError}
|
|
115
106
|
*/
|
|
116
|
-
createSettlement: function (
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
args_1[_i - 2] = arguments[_i];
|
|
120
|
-
}
|
|
121
|
-
return __awaiter(_this, __spreadArray([createSettlementRequestDto_1, authorization_1], args_1, true), void 0, function (createSettlementRequestDto, authorization, options) {
|
|
107
|
+
createSettlement: function (createSettlementRequestDto, authorization, options) {
|
|
108
|
+
if (options === void 0) { options = {}; }
|
|
109
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
122
110
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
123
|
-
if (options === void 0) { options = {}; }
|
|
124
111
|
return __generator(this, function (_a) {
|
|
125
112
|
switch (_a.label) {
|
|
126
113
|
case 0:
|
|
@@ -166,14 +153,10 @@ var SettlementsApiAxiosParamCreator = function (configuration) {
|
|
|
166
153
|
* @param {*} [options] Override http request option.
|
|
167
154
|
* @throws {RequiredError}
|
|
168
155
|
*/
|
|
169
|
-
deleteSettlement: function (
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
args_1[_i - 2] = arguments[_i];
|
|
173
|
-
}
|
|
174
|
-
return __awaiter(_this, __spreadArray([code_1, authorization_1], args_1, true), void 0, function (code, authorization, options) {
|
|
156
|
+
deleteSettlement: function (code, 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 SettlementsApiAxiosParamCreator = function (configuration) {
|
|
|
218
201
|
* @param {*} [options] Override http request option.
|
|
219
202
|
* @throws {RequiredError}
|
|
220
203
|
*/
|
|
221
|
-
getSettlement: function (
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
args_1[_i - 2] = arguments[_i];
|
|
225
|
-
}
|
|
226
|
-
return __awaiter(_this, __spreadArray([code_1, authorization_1], args_1, true), void 0, function (code, authorization, options) {
|
|
204
|
+
getSettlement: function (code, 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 SettlementsApiAxiosParamCreator = function (configuration) {
|
|
|
276
255
|
* @param {*} [options] Override http request option.
|
|
277
256
|
* @throws {RequiredError}
|
|
278
257
|
*/
|
|
279
|
-
listSettlements: 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
|
+
listSettlements: 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 SettlementsApiAxiosParamCreator = function (configuration) {
|
|
|
347
322
|
* @param {*} [options] Override http request option.
|
|
348
323
|
* @throws {RequiredError}
|
|
349
324
|
*/
|
|
350
|
-
updateSettlement: function (
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
args_1[_i - 3] = arguments[_i];
|
|
354
|
-
}
|
|
355
|
-
return __awaiter(_this, __spreadArray([code_1, updateSettlementRequestDto_1, authorization_1], args_1, true), void 0, function (code, updateSettlementRequestDto, authorization, options) {
|
|
325
|
+
updateSettlement: function (code, updateSettlementRequestDto, 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:
|
package/dist/base.js
CHANGED
|
@@ -54,23 +54,13 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
54
54
|
}) : function(o, v) {
|
|
55
55
|
o["default"] = v;
|
|
56
56
|
});
|
|
57
|
-
var __importStar = (this && this.__importStar) ||
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
return ownKeys(o);
|
|
65
|
-
};
|
|
66
|
-
return function (mod) {
|
|
67
|
-
if (mod && mod.__esModule) return mod;
|
|
68
|
-
var result = {};
|
|
69
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
70
|
-
__setModuleDefault(result, mod);
|
|
71
|
-
return result;
|
|
72
|
-
};
|
|
73
|
-
})();
|
|
57
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
58
|
+
if (mod && mod.__esModule) return mod;
|
|
59
|
+
var result = {};
|
|
60
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
61
|
+
__setModuleDefault(result, mod);
|
|
62
|
+
return result;
|
|
63
|
+
};
|
|
74
64
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
75
65
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
76
66
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -81,8 +71,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
81
71
|
});
|
|
82
72
|
};
|
|
83
73
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
84
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g
|
|
85
|
-
return g
|
|
74
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
75
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
86
76
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
87
77
|
function step(op) {
|
|
88
78
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -111,8 +101,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
111
101
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
112
102
|
};
|
|
113
103
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
114
|
-
exports.RequiredError = exports.BaseAPI = exports.Environment = exports.COLLECTION_FORMATS = exports.BASE_PATH = void 0;
|
|
115
|
-
exports.resetRetry = resetRetry;
|
|
104
|
+
exports.RequiredError = exports.BaseAPI = exports.resetRetry = exports.Environment = exports.COLLECTION_FORMATS = exports.BASE_PATH = void 0;
|
|
116
105
|
var configuration_1 = require("./configuration");
|
|
117
106
|
// Some imports not used depending on template conditions
|
|
118
107
|
// @ts-ignore
|
|
@@ -143,12 +132,13 @@ var Environment;
|
|
|
143
132
|
Environment["Staging"] = "https://apiv2-staging.emil.de";
|
|
144
133
|
Environment["Development"] = "https://apiv2-dev.emil.de";
|
|
145
134
|
Environment["ProductionZurich"] = "https://eu-central-2.apiv2.emil.de";
|
|
146
|
-
})(Environment
|
|
135
|
+
})(Environment = exports.Environment || (exports.Environment = {}));
|
|
147
136
|
var _retry_count = 0;
|
|
148
137
|
var _retry = null;
|
|
149
138
|
function resetRetry() {
|
|
150
139
|
_retry_count = 0;
|
|
151
140
|
}
|
|
141
|
+
exports.resetRetry = resetRetry;
|
|
152
142
|
var NETWORK_ERROR_MESSAGE = "Network Error";
|
|
153
143
|
/**
|
|
154
144
|
*
|
|
@@ -172,9 +162,9 @@ var BaseAPI = /** @class */ (function () {
|
|
|
172
162
|
}
|
|
173
163
|
this.attachInterceptor(axios);
|
|
174
164
|
}
|
|
175
|
-
BaseAPI.prototype.initialize = function () {
|
|
176
|
-
|
|
177
|
-
|
|
165
|
+
BaseAPI.prototype.initialize = function (env) {
|
|
166
|
+
if (env === void 0) { env = Environment.Production; }
|
|
167
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
178
168
|
return __generator(this, function (_a) {
|
|
179
169
|
switch (_a.label) {
|
|
180
170
|
case 0:
|
package/dist/common.d.ts
CHANGED
|
@@ -63,7 +63,7 @@ export declare const toPathString: (url: URL) => string;
|
|
|
63
63
|
*
|
|
64
64
|
* @export
|
|
65
65
|
*/
|
|
66
|
-
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
|
|
66
|
+
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>;
|
|
67
67
|
/**
|
|
68
68
|
* EMIL ClaimService
|
|
69
69
|
* 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-node",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.35.0",
|
|
4
4
|
"description": "OpenAPI client for @emilgroup/claim-sdk-node",
|
|
5
5
|
"author": "OpenAPI-Generator Contributors",
|
|
6
6
|
"keywords": [
|
|
@@ -18,12 +18,12 @@
|
|
|
18
18
|
"prepare": "npm run build"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"axios": "^
|
|
21
|
+
"axios": "^0.27.2",
|
|
22
22
|
"form-data": "^4.0.0",
|
|
23
23
|
"url": "^0.11.0"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@types/node": "^
|
|
27
|
-
"typescript": "^
|
|
26
|
+
"@types/node": "^12.11.5",
|
|
27
|
+
"typescript": "^4.0"
|
|
28
28
|
}
|
|
29
29
|
}
|