ch-api-client-typescript2 2.9.7 → 3.0.2
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/lib/api.d.ts +36 -413
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +85 -874
- package/package.json +1 -1
- package/src/api.ts +131 -862
package/lib/api.js
CHANGED
|
@@ -2174,138 +2174,6 @@ exports.ArticlesApi = ArticlesApi;
|
|
|
2174
2174
|
var BookingsApiAxiosParamCreator = function (configuration) {
|
|
2175
2175
|
var _this = this;
|
|
2176
2176
|
return {
|
|
2177
|
-
/**
|
|
2178
|
-
*
|
|
2179
|
-
* @summary Approve booking.
|
|
2180
|
-
* @param {string} bookingId
|
|
2181
|
-
* @param {ApproveBookingCommand} [approveBookingCommand]
|
|
2182
|
-
* @param {*} [options] Override http request option.
|
|
2183
|
-
* @throws {RequiredError}
|
|
2184
|
-
*/
|
|
2185
|
-
apiV2BookingsBookingIdApprovePut: function (bookingId, approveBookingCommand, options) {
|
|
2186
|
-
if (options === void 0) { options = {}; }
|
|
2187
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
2188
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
2189
|
-
return __generator(this, function (_a) {
|
|
2190
|
-
switch (_a.label) {
|
|
2191
|
-
case 0:
|
|
2192
|
-
// verify required parameter 'bookingId' is not null or undefined
|
|
2193
|
-
(0, common_1.assertParamExists)('apiV2BookingsBookingIdApprovePut', 'bookingId', bookingId);
|
|
2194
|
-
localVarPath = "/api/v2/bookings/{bookingId}/approve"
|
|
2195
|
-
.replace("{".concat("bookingId", "}"), encodeURIComponent(String(bookingId)));
|
|
2196
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2197
|
-
if (configuration) {
|
|
2198
|
-
baseOptions = configuration.baseOptions;
|
|
2199
|
-
}
|
|
2200
|
-
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
2201
|
-
localVarHeaderParameter = {};
|
|
2202
|
-
localVarQueryParameter = {};
|
|
2203
|
-
// authentication oauth2 required
|
|
2204
|
-
// oauth required
|
|
2205
|
-
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)];
|
|
2206
|
-
case 1:
|
|
2207
|
-
// authentication oauth2 required
|
|
2208
|
-
// oauth required
|
|
2209
|
-
_a.sent();
|
|
2210
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2211
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2212
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2213
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2214
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(approveBookingCommand, localVarRequestOptions, configuration);
|
|
2215
|
-
return [2 /*return*/, {
|
|
2216
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2217
|
-
options: localVarRequestOptions,
|
|
2218
|
-
}];
|
|
2219
|
-
}
|
|
2220
|
-
});
|
|
2221
|
-
});
|
|
2222
|
-
},
|
|
2223
|
-
/**
|
|
2224
|
-
*
|
|
2225
|
-
* @summary Cancel booking.
|
|
2226
|
-
* @param {string} bookingId
|
|
2227
|
-
* @param {*} [options] Override http request option.
|
|
2228
|
-
* @throws {RequiredError}
|
|
2229
|
-
*/
|
|
2230
|
-
apiV2BookingsBookingIdCancelPut: function (bookingId, options) {
|
|
2231
|
-
if (options === void 0) { options = {}; }
|
|
2232
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
2233
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
2234
|
-
return __generator(this, function (_a) {
|
|
2235
|
-
switch (_a.label) {
|
|
2236
|
-
case 0:
|
|
2237
|
-
// verify required parameter 'bookingId' is not null or undefined
|
|
2238
|
-
(0, common_1.assertParamExists)('apiV2BookingsBookingIdCancelPut', 'bookingId', bookingId);
|
|
2239
|
-
localVarPath = "/api/v2/bookings/{bookingId}/cancel"
|
|
2240
|
-
.replace("{".concat("bookingId", "}"), encodeURIComponent(String(bookingId)));
|
|
2241
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2242
|
-
if (configuration) {
|
|
2243
|
-
baseOptions = configuration.baseOptions;
|
|
2244
|
-
}
|
|
2245
|
-
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
2246
|
-
localVarHeaderParameter = {};
|
|
2247
|
-
localVarQueryParameter = {};
|
|
2248
|
-
// authentication oauth2 required
|
|
2249
|
-
// oauth required
|
|
2250
|
-
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)];
|
|
2251
|
-
case 1:
|
|
2252
|
-
// authentication oauth2 required
|
|
2253
|
-
// oauth required
|
|
2254
|
-
_a.sent();
|
|
2255
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2256
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2257
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2258
|
-
return [2 /*return*/, {
|
|
2259
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2260
|
-
options: localVarRequestOptions,
|
|
2261
|
-
}];
|
|
2262
|
-
}
|
|
2263
|
-
});
|
|
2264
|
-
});
|
|
2265
|
-
},
|
|
2266
|
-
/**
|
|
2267
|
-
*
|
|
2268
|
-
* @summary Delete booking.
|
|
2269
|
-
* @param {string} bookingId
|
|
2270
|
-
* @param {*} [options] Override http request option.
|
|
2271
|
-
* @throws {RequiredError}
|
|
2272
|
-
*/
|
|
2273
|
-
apiV2BookingsBookingIdDelete: function (bookingId, options) {
|
|
2274
|
-
if (options === void 0) { options = {}; }
|
|
2275
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
2276
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
2277
|
-
return __generator(this, function (_a) {
|
|
2278
|
-
switch (_a.label) {
|
|
2279
|
-
case 0:
|
|
2280
|
-
// verify required parameter 'bookingId' is not null or undefined
|
|
2281
|
-
(0, common_1.assertParamExists)('apiV2BookingsBookingIdDelete', 'bookingId', bookingId);
|
|
2282
|
-
localVarPath = "/api/v2/bookings/{bookingId}"
|
|
2283
|
-
.replace("{".concat("bookingId", "}"), encodeURIComponent(String(bookingId)));
|
|
2284
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2285
|
-
if (configuration) {
|
|
2286
|
-
baseOptions = configuration.baseOptions;
|
|
2287
|
-
}
|
|
2288
|
-
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
|
|
2289
|
-
localVarHeaderParameter = {};
|
|
2290
|
-
localVarQueryParameter = {};
|
|
2291
|
-
// authentication oauth2 required
|
|
2292
|
-
// oauth required
|
|
2293
|
-
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)];
|
|
2294
|
-
case 1:
|
|
2295
|
-
// authentication oauth2 required
|
|
2296
|
-
// oauth required
|
|
2297
|
-
_a.sent();
|
|
2298
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2299
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2300
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2301
|
-
return [2 /*return*/, {
|
|
2302
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2303
|
-
options: localVarRequestOptions,
|
|
2304
|
-
}];
|
|
2305
|
-
}
|
|
2306
|
-
});
|
|
2307
|
-
});
|
|
2308
|
-
},
|
|
2309
2177
|
/**
|
|
2310
2178
|
*
|
|
2311
2179
|
* @summary Get booking.
|
|
@@ -2349,49 +2217,6 @@ var BookingsApiAxiosParamCreator = function (configuration) {
|
|
|
2349
2217
|
});
|
|
2350
2218
|
});
|
|
2351
2219
|
},
|
|
2352
|
-
/**
|
|
2353
|
-
*
|
|
2354
|
-
* @summary Mark as Paid booking.
|
|
2355
|
-
* @param {string} bookingId
|
|
2356
|
-
* @param {*} [options] Override http request option.
|
|
2357
|
-
* @throws {RequiredError}
|
|
2358
|
-
*/
|
|
2359
|
-
apiV2BookingsBookingIdPaidPost: function (bookingId, options) {
|
|
2360
|
-
if (options === void 0) { options = {}; }
|
|
2361
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
2362
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
2363
|
-
return __generator(this, function (_a) {
|
|
2364
|
-
switch (_a.label) {
|
|
2365
|
-
case 0:
|
|
2366
|
-
// verify required parameter 'bookingId' is not null or undefined
|
|
2367
|
-
(0, common_1.assertParamExists)('apiV2BookingsBookingIdPaidPost', 'bookingId', bookingId);
|
|
2368
|
-
localVarPath = "/api/v2/bookings/{bookingId}/paid"
|
|
2369
|
-
.replace("{".concat("bookingId", "}"), encodeURIComponent(String(bookingId)));
|
|
2370
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2371
|
-
if (configuration) {
|
|
2372
|
-
baseOptions = configuration.baseOptions;
|
|
2373
|
-
}
|
|
2374
|
-
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
2375
|
-
localVarHeaderParameter = {};
|
|
2376
|
-
localVarQueryParameter = {};
|
|
2377
|
-
// authentication oauth2 required
|
|
2378
|
-
// oauth required
|
|
2379
|
-
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)];
|
|
2380
|
-
case 1:
|
|
2381
|
-
// authentication oauth2 required
|
|
2382
|
-
// oauth required
|
|
2383
|
-
_a.sent();
|
|
2384
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2385
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2386
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2387
|
-
return [2 /*return*/, {
|
|
2388
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2389
|
-
options: localVarRequestOptions,
|
|
2390
|
-
}];
|
|
2391
|
-
}
|
|
2392
|
-
});
|
|
2393
|
-
});
|
|
2394
|
-
},
|
|
2395
2220
|
/**
|
|
2396
2221
|
*
|
|
2397
2222
|
* @summary Pay booking.
|
|
@@ -2481,52 +2306,6 @@ var BookingsApiAxiosParamCreator = function (configuration) {
|
|
|
2481
2306
|
});
|
|
2482
2307
|
});
|
|
2483
2308
|
},
|
|
2484
|
-
/**
|
|
2485
|
-
*
|
|
2486
|
-
* @summary Reject booking.
|
|
2487
|
-
* @param {string} bookingId
|
|
2488
|
-
* @param {RejectBookingCommand} [rejectBookingCommand]
|
|
2489
|
-
* @param {*} [options] Override http request option.
|
|
2490
|
-
* @throws {RequiredError}
|
|
2491
|
-
*/
|
|
2492
|
-
apiV2BookingsBookingIdRejectPut: function (bookingId, rejectBookingCommand, options) {
|
|
2493
|
-
if (options === void 0) { options = {}; }
|
|
2494
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
2495
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
2496
|
-
return __generator(this, function (_a) {
|
|
2497
|
-
switch (_a.label) {
|
|
2498
|
-
case 0:
|
|
2499
|
-
// verify required parameter 'bookingId' is not null or undefined
|
|
2500
|
-
(0, common_1.assertParamExists)('apiV2BookingsBookingIdRejectPut', 'bookingId', bookingId);
|
|
2501
|
-
localVarPath = "/api/v2/bookings/{bookingId}/reject"
|
|
2502
|
-
.replace("{".concat("bookingId", "}"), encodeURIComponent(String(bookingId)));
|
|
2503
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2504
|
-
if (configuration) {
|
|
2505
|
-
baseOptions = configuration.baseOptions;
|
|
2506
|
-
}
|
|
2507
|
-
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
2508
|
-
localVarHeaderParameter = {};
|
|
2509
|
-
localVarQueryParameter = {};
|
|
2510
|
-
// authentication oauth2 required
|
|
2511
|
-
// oauth required
|
|
2512
|
-
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)];
|
|
2513
|
-
case 1:
|
|
2514
|
-
// authentication oauth2 required
|
|
2515
|
-
// oauth required
|
|
2516
|
-
_a.sent();
|
|
2517
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2518
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2519
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2520
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2521
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(rejectBookingCommand, localVarRequestOptions, configuration);
|
|
2522
|
-
return [2 /*return*/, {
|
|
2523
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2524
|
-
options: localVarRequestOptions,
|
|
2525
|
-
}];
|
|
2526
|
-
}
|
|
2527
|
-
});
|
|
2528
|
-
});
|
|
2529
|
-
},
|
|
2530
2309
|
/**
|
|
2531
2310
|
*
|
|
2532
2311
|
* @summary Get all bookings.
|
|
@@ -2660,67 +2439,6 @@ exports.BookingsApiAxiosParamCreator = BookingsApiAxiosParamCreator;
|
|
|
2660
2439
|
var BookingsApiFp = function (configuration) {
|
|
2661
2440
|
var localVarAxiosParamCreator = (0, exports.BookingsApiAxiosParamCreator)(configuration);
|
|
2662
2441
|
return {
|
|
2663
|
-
/**
|
|
2664
|
-
*
|
|
2665
|
-
* @summary Approve booking.
|
|
2666
|
-
* @param {string} bookingId
|
|
2667
|
-
* @param {ApproveBookingCommand} [approveBookingCommand]
|
|
2668
|
-
* @param {*} [options] Override http request option.
|
|
2669
|
-
* @throws {RequiredError}
|
|
2670
|
-
*/
|
|
2671
|
-
apiV2BookingsBookingIdApprovePut: function (bookingId, approveBookingCommand, options) {
|
|
2672
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
2673
|
-
var localVarAxiosArgs;
|
|
2674
|
-
return __generator(this, function (_a) {
|
|
2675
|
-
switch (_a.label) {
|
|
2676
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2BookingsBookingIdApprovePut(bookingId, approveBookingCommand, options)];
|
|
2677
|
-
case 1:
|
|
2678
|
-
localVarAxiosArgs = _a.sent();
|
|
2679
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
2680
|
-
}
|
|
2681
|
-
});
|
|
2682
|
-
});
|
|
2683
|
-
},
|
|
2684
|
-
/**
|
|
2685
|
-
*
|
|
2686
|
-
* @summary Cancel booking.
|
|
2687
|
-
* @param {string} bookingId
|
|
2688
|
-
* @param {*} [options] Override http request option.
|
|
2689
|
-
* @throws {RequiredError}
|
|
2690
|
-
*/
|
|
2691
|
-
apiV2BookingsBookingIdCancelPut: function (bookingId, options) {
|
|
2692
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
2693
|
-
var localVarAxiosArgs;
|
|
2694
|
-
return __generator(this, function (_a) {
|
|
2695
|
-
switch (_a.label) {
|
|
2696
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2BookingsBookingIdCancelPut(bookingId, options)];
|
|
2697
|
-
case 1:
|
|
2698
|
-
localVarAxiosArgs = _a.sent();
|
|
2699
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
2700
|
-
}
|
|
2701
|
-
});
|
|
2702
|
-
});
|
|
2703
|
-
},
|
|
2704
|
-
/**
|
|
2705
|
-
*
|
|
2706
|
-
* @summary Delete booking.
|
|
2707
|
-
* @param {string} bookingId
|
|
2708
|
-
* @param {*} [options] Override http request option.
|
|
2709
|
-
* @throws {RequiredError}
|
|
2710
|
-
*/
|
|
2711
|
-
apiV2BookingsBookingIdDelete: function (bookingId, options) {
|
|
2712
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
2713
|
-
var localVarAxiosArgs;
|
|
2714
|
-
return __generator(this, function (_a) {
|
|
2715
|
-
switch (_a.label) {
|
|
2716
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2BookingsBookingIdDelete(bookingId, options)];
|
|
2717
|
-
case 1:
|
|
2718
|
-
localVarAxiosArgs = _a.sent();
|
|
2719
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
2720
|
-
}
|
|
2721
|
-
});
|
|
2722
|
-
});
|
|
2723
|
-
},
|
|
2724
2442
|
/**
|
|
2725
2443
|
*
|
|
2726
2444
|
* @summary Get booking.
|
|
@@ -2741,26 +2459,6 @@ var BookingsApiFp = function (configuration) {
|
|
|
2741
2459
|
});
|
|
2742
2460
|
});
|
|
2743
2461
|
},
|
|
2744
|
-
/**
|
|
2745
|
-
*
|
|
2746
|
-
* @summary Mark as Paid booking.
|
|
2747
|
-
* @param {string} bookingId
|
|
2748
|
-
* @param {*} [options] Override http request option.
|
|
2749
|
-
* @throws {RequiredError}
|
|
2750
|
-
*/
|
|
2751
|
-
apiV2BookingsBookingIdPaidPost: function (bookingId, options) {
|
|
2752
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
2753
|
-
var localVarAxiosArgs;
|
|
2754
|
-
return __generator(this, function (_a) {
|
|
2755
|
-
switch (_a.label) {
|
|
2756
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2BookingsBookingIdPaidPost(bookingId, options)];
|
|
2757
|
-
case 1:
|
|
2758
|
-
localVarAxiosArgs = _a.sent();
|
|
2759
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
2760
|
-
}
|
|
2761
|
-
});
|
|
2762
|
-
});
|
|
2763
|
-
},
|
|
2764
2462
|
/**
|
|
2765
2463
|
*
|
|
2766
2464
|
* @summary Pay booking.
|
|
@@ -2802,27 +2500,6 @@ var BookingsApiFp = function (configuration) {
|
|
|
2802
2500
|
});
|
|
2803
2501
|
});
|
|
2804
2502
|
},
|
|
2805
|
-
/**
|
|
2806
|
-
*
|
|
2807
|
-
* @summary Reject booking.
|
|
2808
|
-
* @param {string} bookingId
|
|
2809
|
-
* @param {RejectBookingCommand} [rejectBookingCommand]
|
|
2810
|
-
* @param {*} [options] Override http request option.
|
|
2811
|
-
* @throws {RequiredError}
|
|
2812
|
-
*/
|
|
2813
|
-
apiV2BookingsBookingIdRejectPut: function (bookingId, rejectBookingCommand, options) {
|
|
2814
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
2815
|
-
var localVarAxiosArgs;
|
|
2816
|
-
return __generator(this, function (_a) {
|
|
2817
|
-
switch (_a.label) {
|
|
2818
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2BookingsBookingIdRejectPut(bookingId, rejectBookingCommand, options)];
|
|
2819
|
-
case 1:
|
|
2820
|
-
localVarAxiosArgs = _a.sent();
|
|
2821
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
2822
|
-
}
|
|
2823
|
-
});
|
|
2824
|
-
});
|
|
2825
|
-
},
|
|
2826
2503
|
/**
|
|
2827
2504
|
*
|
|
2828
2505
|
* @summary Get all bookings.
|
|
@@ -2882,37 +2559,6 @@ exports.BookingsApiFp = BookingsApiFp;
|
|
|
2882
2559
|
var BookingsApiFactory = function (configuration, basePath, axios) {
|
|
2883
2560
|
var localVarFp = (0, exports.BookingsApiFp)(configuration);
|
|
2884
2561
|
return {
|
|
2885
|
-
/**
|
|
2886
|
-
*
|
|
2887
|
-
* @summary Approve booking.
|
|
2888
|
-
* @param {string} bookingId
|
|
2889
|
-
* @param {ApproveBookingCommand} [approveBookingCommand]
|
|
2890
|
-
* @param {*} [options] Override http request option.
|
|
2891
|
-
* @throws {RequiredError}
|
|
2892
|
-
*/
|
|
2893
|
-
apiV2BookingsBookingIdApprovePut: function (bookingId, approveBookingCommand, options) {
|
|
2894
|
-
return localVarFp.apiV2BookingsBookingIdApprovePut(bookingId, approveBookingCommand, options).then(function (request) { return request(axios, basePath); });
|
|
2895
|
-
},
|
|
2896
|
-
/**
|
|
2897
|
-
*
|
|
2898
|
-
* @summary Cancel booking.
|
|
2899
|
-
* @param {string} bookingId
|
|
2900
|
-
* @param {*} [options] Override http request option.
|
|
2901
|
-
* @throws {RequiredError}
|
|
2902
|
-
*/
|
|
2903
|
-
apiV2BookingsBookingIdCancelPut: function (bookingId, options) {
|
|
2904
|
-
return localVarFp.apiV2BookingsBookingIdCancelPut(bookingId, options).then(function (request) { return request(axios, basePath); });
|
|
2905
|
-
},
|
|
2906
|
-
/**
|
|
2907
|
-
*
|
|
2908
|
-
* @summary Delete booking.
|
|
2909
|
-
* @param {string} bookingId
|
|
2910
|
-
* @param {*} [options] Override http request option.
|
|
2911
|
-
* @throws {RequiredError}
|
|
2912
|
-
*/
|
|
2913
|
-
apiV2BookingsBookingIdDelete: function (bookingId, options) {
|
|
2914
|
-
return localVarFp.apiV2BookingsBookingIdDelete(bookingId, options).then(function (request) { return request(axios, basePath); });
|
|
2915
|
-
},
|
|
2916
2562
|
/**
|
|
2917
2563
|
*
|
|
2918
2564
|
* @summary Get booking.
|
|
@@ -2921,17 +2567,7 @@ var BookingsApiFactory = function (configuration, basePath, axios) {
|
|
|
2921
2567
|
* @throws {RequiredError}
|
|
2922
2568
|
*/
|
|
2923
2569
|
apiV2BookingsBookingIdGet: function (bookingId, options) {
|
|
2924
|
-
return localVarFp.apiV2BookingsBookingIdGet(bookingId, options).then(function (request) { return request(axios, basePath); });
|
|
2925
|
-
},
|
|
2926
|
-
/**
|
|
2927
|
-
*
|
|
2928
|
-
* @summary Mark as Paid booking.
|
|
2929
|
-
* @param {string} bookingId
|
|
2930
|
-
* @param {*} [options] Override http request option.
|
|
2931
|
-
* @throws {RequiredError}
|
|
2932
|
-
*/
|
|
2933
|
-
apiV2BookingsBookingIdPaidPost: function (bookingId, options) {
|
|
2934
|
-
return localVarFp.apiV2BookingsBookingIdPaidPost(bookingId, options).then(function (request) { return request(axios, basePath); });
|
|
2570
|
+
return localVarFp.apiV2BookingsBookingIdGet(bookingId, options).then(function (request) { return request(axios, basePath); });
|
|
2935
2571
|
},
|
|
2936
2572
|
/**
|
|
2937
2573
|
*
|
|
@@ -2954,17 +2590,6 @@ var BookingsApiFactory = function (configuration, basePath, axios) {
|
|
|
2954
2590
|
apiV2BookingsBookingIdPut: function (bookingId, updateBookingCommand, options) {
|
|
2955
2591
|
return localVarFp.apiV2BookingsBookingIdPut(bookingId, updateBookingCommand, options).then(function (request) { return request(axios, basePath); });
|
|
2956
2592
|
},
|
|
2957
|
-
/**
|
|
2958
|
-
*
|
|
2959
|
-
* @summary Reject booking.
|
|
2960
|
-
* @param {string} bookingId
|
|
2961
|
-
* @param {RejectBookingCommand} [rejectBookingCommand]
|
|
2962
|
-
* @param {*} [options] Override http request option.
|
|
2963
|
-
* @throws {RequiredError}
|
|
2964
|
-
*/
|
|
2965
|
-
apiV2BookingsBookingIdRejectPut: function (bookingId, rejectBookingCommand, options) {
|
|
2966
|
-
return localVarFp.apiV2BookingsBookingIdRejectPut(bookingId, rejectBookingCommand, options).then(function (request) { return request(axios, basePath); });
|
|
2967
|
-
},
|
|
2968
2593
|
/**
|
|
2969
2594
|
*
|
|
2970
2595
|
* @summary Get all bookings.
|
|
@@ -3008,43 +2633,6 @@ var BookingsApi = /** @class */ (function (_super) {
|
|
|
3008
2633
|
function BookingsApi() {
|
|
3009
2634
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
3010
2635
|
}
|
|
3011
|
-
/**
|
|
3012
|
-
*
|
|
3013
|
-
* @summary Approve booking.
|
|
3014
|
-
* @param {string} bookingId
|
|
3015
|
-
* @param {ApproveBookingCommand} [approveBookingCommand]
|
|
3016
|
-
* @param {*} [options] Override http request option.
|
|
3017
|
-
* @throws {RequiredError}
|
|
3018
|
-
* @memberof BookingsApi
|
|
3019
|
-
*/
|
|
3020
|
-
BookingsApi.prototype.apiV2BookingsBookingIdApprovePut = function (bookingId, approveBookingCommand, options) {
|
|
3021
|
-
var _this = this;
|
|
3022
|
-
return (0, exports.BookingsApiFp)(this.configuration).apiV2BookingsBookingIdApprovePut(bookingId, approveBookingCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3023
|
-
};
|
|
3024
|
-
/**
|
|
3025
|
-
*
|
|
3026
|
-
* @summary Cancel booking.
|
|
3027
|
-
* @param {string} bookingId
|
|
3028
|
-
* @param {*} [options] Override http request option.
|
|
3029
|
-
* @throws {RequiredError}
|
|
3030
|
-
* @memberof BookingsApi
|
|
3031
|
-
*/
|
|
3032
|
-
BookingsApi.prototype.apiV2BookingsBookingIdCancelPut = function (bookingId, options) {
|
|
3033
|
-
var _this = this;
|
|
3034
|
-
return (0, exports.BookingsApiFp)(this.configuration).apiV2BookingsBookingIdCancelPut(bookingId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3035
|
-
};
|
|
3036
|
-
/**
|
|
3037
|
-
*
|
|
3038
|
-
* @summary Delete booking.
|
|
3039
|
-
* @param {string} bookingId
|
|
3040
|
-
* @param {*} [options] Override http request option.
|
|
3041
|
-
* @throws {RequiredError}
|
|
3042
|
-
* @memberof BookingsApi
|
|
3043
|
-
*/
|
|
3044
|
-
BookingsApi.prototype.apiV2BookingsBookingIdDelete = function (bookingId, options) {
|
|
3045
|
-
var _this = this;
|
|
3046
|
-
return (0, exports.BookingsApiFp)(this.configuration).apiV2BookingsBookingIdDelete(bookingId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3047
|
-
};
|
|
3048
2636
|
/**
|
|
3049
2637
|
*
|
|
3050
2638
|
* @summary Get booking.
|
|
@@ -3057,18 +2645,6 @@ var BookingsApi = /** @class */ (function (_super) {
|
|
|
3057
2645
|
var _this = this;
|
|
3058
2646
|
return (0, exports.BookingsApiFp)(this.configuration).apiV2BookingsBookingIdGet(bookingId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3059
2647
|
};
|
|
3060
|
-
/**
|
|
3061
|
-
*
|
|
3062
|
-
* @summary Mark as Paid booking.
|
|
3063
|
-
* @param {string} bookingId
|
|
3064
|
-
* @param {*} [options] Override http request option.
|
|
3065
|
-
* @throws {RequiredError}
|
|
3066
|
-
* @memberof BookingsApi
|
|
3067
|
-
*/
|
|
3068
|
-
BookingsApi.prototype.apiV2BookingsBookingIdPaidPost = function (bookingId, options) {
|
|
3069
|
-
var _this = this;
|
|
3070
|
-
return (0, exports.BookingsApiFp)(this.configuration).apiV2BookingsBookingIdPaidPost(bookingId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3071
|
-
};
|
|
3072
2648
|
/**
|
|
3073
2649
|
*
|
|
3074
2650
|
* @summary Pay booking.
|
|
@@ -3094,19 +2670,6 @@ var BookingsApi = /** @class */ (function (_super) {
|
|
|
3094
2670
|
var _this = this;
|
|
3095
2671
|
return (0, exports.BookingsApiFp)(this.configuration).apiV2BookingsBookingIdPut(bookingId, updateBookingCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3096
2672
|
};
|
|
3097
|
-
/**
|
|
3098
|
-
*
|
|
3099
|
-
* @summary Reject booking.
|
|
3100
|
-
* @param {string} bookingId
|
|
3101
|
-
* @param {RejectBookingCommand} [rejectBookingCommand]
|
|
3102
|
-
* @param {*} [options] Override http request option.
|
|
3103
|
-
* @throws {RequiredError}
|
|
3104
|
-
* @memberof BookingsApi
|
|
3105
|
-
*/
|
|
3106
|
-
BookingsApi.prototype.apiV2BookingsBookingIdRejectPut = function (bookingId, rejectBookingCommand, options) {
|
|
3107
|
-
var _this = this;
|
|
3108
|
-
return (0, exports.BookingsApiFp)(this.configuration).apiV2BookingsBookingIdRejectPut(bookingId, rejectBookingCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3109
|
-
};
|
|
3110
2673
|
/**
|
|
3111
2674
|
*
|
|
3112
2675
|
* @summary Get all bookings.
|
|
@@ -3919,223 +3482,91 @@ exports.CommunicationsApiFp = CommunicationsApiFp;
|
|
|
3919
3482
|
*/
|
|
3920
3483
|
var CommunicationsApiFactory = function (configuration, basePath, axios) {
|
|
3921
3484
|
var localVarFp = (0, exports.CommunicationsApiFp)(configuration);
|
|
3922
|
-
return {
|
|
3923
|
-
/**
|
|
3924
|
-
*
|
|
3925
|
-
* @summary Delete CommunicationUser.
|
|
3926
|
-
* @param {*} [options] Override http request option.
|
|
3927
|
-
* @throws {RequiredError}
|
|
3928
|
-
*/
|
|
3929
|
-
apiV2CommunicationsDelete: function (options) {
|
|
3930
|
-
return localVarFp.apiV2CommunicationsDelete(options).then(function (request) { return request(axios, basePath); });
|
|
3931
|
-
},
|
|
3932
|
-
/**
|
|
3933
|
-
*
|
|
3934
|
-
* @summary Get CommunicationUser.
|
|
3935
|
-
* @param {*} [options] Override http request option.
|
|
3936
|
-
* @throws {RequiredError}
|
|
3937
|
-
*/
|
|
3938
|
-
apiV2CommunicationsGet: function (options) {
|
|
3939
|
-
return localVarFp.apiV2CommunicationsGet(options).then(function (request) { return request(axios, basePath); });
|
|
3940
|
-
},
|
|
3941
|
-
/**
|
|
3942
|
-
*
|
|
3943
|
-
* @summary Revoke CommunicationUser.
|
|
3944
|
-
* @param {*} [options] Override http request option.
|
|
3945
|
-
* @throws {RequiredError}
|
|
3946
|
-
*/
|
|
3947
|
-
apiV2CommunicationsPut: function (options) {
|
|
3948
|
-
return localVarFp.apiV2CommunicationsPut(options).then(function (request) { return request(axios, basePath); });
|
|
3949
|
-
},
|
|
3950
|
-
};
|
|
3951
|
-
};
|
|
3952
|
-
exports.CommunicationsApiFactory = CommunicationsApiFactory;
|
|
3953
|
-
/**
|
|
3954
|
-
* CommunicationsApi - object-oriented interface
|
|
3955
|
-
* @export
|
|
3956
|
-
* @class CommunicationsApi
|
|
3957
|
-
* @extends {BaseAPI}
|
|
3958
|
-
*/
|
|
3959
|
-
var CommunicationsApi = /** @class */ (function (_super) {
|
|
3960
|
-
__extends(CommunicationsApi, _super);
|
|
3961
|
-
function CommunicationsApi() {
|
|
3962
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
3963
|
-
}
|
|
3964
|
-
/**
|
|
3965
|
-
*
|
|
3966
|
-
* @summary Delete CommunicationUser.
|
|
3967
|
-
* @param {*} [options] Override http request option.
|
|
3968
|
-
* @throws {RequiredError}
|
|
3969
|
-
* @memberof CommunicationsApi
|
|
3970
|
-
*/
|
|
3971
|
-
CommunicationsApi.prototype.apiV2CommunicationsDelete = function (options) {
|
|
3972
|
-
var _this = this;
|
|
3973
|
-
return (0, exports.CommunicationsApiFp)(this.configuration).apiV2CommunicationsDelete(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3974
|
-
};
|
|
3975
|
-
/**
|
|
3976
|
-
*
|
|
3977
|
-
* @summary Get CommunicationUser.
|
|
3978
|
-
* @param {*} [options] Override http request option.
|
|
3979
|
-
* @throws {RequiredError}
|
|
3980
|
-
* @memberof CommunicationsApi
|
|
3981
|
-
*/
|
|
3982
|
-
CommunicationsApi.prototype.apiV2CommunicationsGet = function (options) {
|
|
3983
|
-
var _this = this;
|
|
3984
|
-
return (0, exports.CommunicationsApiFp)(this.configuration).apiV2CommunicationsGet(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3985
|
-
};
|
|
3986
|
-
/**
|
|
3987
|
-
*
|
|
3988
|
-
* @summary Revoke CommunicationUser.
|
|
3989
|
-
* @param {*} [options] Override http request option.
|
|
3990
|
-
* @throws {RequiredError}
|
|
3991
|
-
* @memberof CommunicationsApi
|
|
3992
|
-
*/
|
|
3993
|
-
CommunicationsApi.prototype.apiV2CommunicationsPut = function (options) {
|
|
3994
|
-
var _this = this;
|
|
3995
|
-
return (0, exports.CommunicationsApiFp)(this.configuration).apiV2CommunicationsPut(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3996
|
-
};
|
|
3997
|
-
return CommunicationsApi;
|
|
3998
|
-
}(base_1.BaseAPI));
|
|
3999
|
-
exports.CommunicationsApi = CommunicationsApi;
|
|
4000
|
-
/**
|
|
4001
|
-
* ConsultationsApi - axios parameter creator
|
|
4002
|
-
* @export
|
|
4003
|
-
*/
|
|
4004
|
-
var ConsultationsApiAxiosParamCreator = function (configuration) {
|
|
4005
|
-
var _this = this;
|
|
4006
|
-
return {
|
|
4007
|
-
/**
|
|
4008
|
-
*
|
|
4009
|
-
* @summary Approve consultation.
|
|
4010
|
-
* @param {string} consultationId
|
|
4011
|
-
* @param {ApproveConsultationCommand} [approveConsultationCommand]
|
|
4012
|
-
* @param {*} [options] Override http request option.
|
|
4013
|
-
* @throws {RequiredError}
|
|
4014
|
-
*/
|
|
4015
|
-
apiV2ConsultationsConsultationIdApprovePut: function (consultationId, approveConsultationCommand, options) {
|
|
4016
|
-
if (options === void 0) { options = {}; }
|
|
4017
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
4018
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
4019
|
-
return __generator(this, function (_a) {
|
|
4020
|
-
switch (_a.label) {
|
|
4021
|
-
case 0:
|
|
4022
|
-
// verify required parameter 'consultationId' is not null or undefined
|
|
4023
|
-
(0, common_1.assertParamExists)('apiV2ConsultationsConsultationIdApprovePut', 'consultationId', consultationId);
|
|
4024
|
-
localVarPath = "/api/v2/consultations/{consultationId}/approve"
|
|
4025
|
-
.replace("{".concat("consultationId", "}"), encodeURIComponent(String(consultationId)));
|
|
4026
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4027
|
-
if (configuration) {
|
|
4028
|
-
baseOptions = configuration.baseOptions;
|
|
4029
|
-
}
|
|
4030
|
-
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
4031
|
-
localVarHeaderParameter = {};
|
|
4032
|
-
localVarQueryParameter = {};
|
|
4033
|
-
// authentication oauth2 required
|
|
4034
|
-
// oauth required
|
|
4035
|
-
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)];
|
|
4036
|
-
case 1:
|
|
4037
|
-
// authentication oauth2 required
|
|
4038
|
-
// oauth required
|
|
4039
|
-
_a.sent();
|
|
4040
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4041
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4042
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4043
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4044
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(approveConsultationCommand, localVarRequestOptions, configuration);
|
|
4045
|
-
return [2 /*return*/, {
|
|
4046
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4047
|
-
options: localVarRequestOptions,
|
|
4048
|
-
}];
|
|
4049
|
-
}
|
|
4050
|
-
});
|
|
4051
|
-
});
|
|
4052
|
-
},
|
|
4053
|
-
/**
|
|
4054
|
-
*
|
|
4055
|
-
* @summary Cancel consultation.
|
|
4056
|
-
* @param {string} consultationId
|
|
4057
|
-
* @param {*} [options] Override http request option.
|
|
4058
|
-
* @throws {RequiredError}
|
|
4059
|
-
*/
|
|
4060
|
-
apiV2ConsultationsConsultationIdCancelPut: function (consultationId, options) {
|
|
4061
|
-
if (options === void 0) { options = {}; }
|
|
4062
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
4063
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
4064
|
-
return __generator(this, function (_a) {
|
|
4065
|
-
switch (_a.label) {
|
|
4066
|
-
case 0:
|
|
4067
|
-
// verify required parameter 'consultationId' is not null or undefined
|
|
4068
|
-
(0, common_1.assertParamExists)('apiV2ConsultationsConsultationIdCancelPut', 'consultationId', consultationId);
|
|
4069
|
-
localVarPath = "/api/v2/consultations/{consultationId}/cancel"
|
|
4070
|
-
.replace("{".concat("consultationId", "}"), encodeURIComponent(String(consultationId)));
|
|
4071
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4072
|
-
if (configuration) {
|
|
4073
|
-
baseOptions = configuration.baseOptions;
|
|
4074
|
-
}
|
|
4075
|
-
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
4076
|
-
localVarHeaderParameter = {};
|
|
4077
|
-
localVarQueryParameter = {};
|
|
4078
|
-
// authentication oauth2 required
|
|
4079
|
-
// oauth required
|
|
4080
|
-
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)];
|
|
4081
|
-
case 1:
|
|
4082
|
-
// authentication oauth2 required
|
|
4083
|
-
// oauth required
|
|
4084
|
-
_a.sent();
|
|
4085
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4086
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4087
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4088
|
-
return [2 /*return*/, {
|
|
4089
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4090
|
-
options: localVarRequestOptions,
|
|
4091
|
-
}];
|
|
4092
|
-
}
|
|
4093
|
-
});
|
|
4094
|
-
});
|
|
4095
|
-
},
|
|
4096
|
-
/**
|
|
4097
|
-
*
|
|
4098
|
-
* @summary Delete consultation.
|
|
4099
|
-
* @param {string} consultationId
|
|
4100
|
-
* @param {*} [options] Override http request option.
|
|
4101
|
-
* @throws {RequiredError}
|
|
4102
|
-
*/
|
|
4103
|
-
apiV2ConsultationsConsultationIdDelete: function (consultationId, options) {
|
|
4104
|
-
if (options === void 0) { options = {}; }
|
|
4105
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
4106
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
4107
|
-
return __generator(this, function (_a) {
|
|
4108
|
-
switch (_a.label) {
|
|
4109
|
-
case 0:
|
|
4110
|
-
// verify required parameter 'consultationId' is not null or undefined
|
|
4111
|
-
(0, common_1.assertParamExists)('apiV2ConsultationsConsultationIdDelete', 'consultationId', consultationId);
|
|
4112
|
-
localVarPath = "/api/v2/consultations/{consultationId}"
|
|
4113
|
-
.replace("{".concat("consultationId", "}"), encodeURIComponent(String(consultationId)));
|
|
4114
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4115
|
-
if (configuration) {
|
|
4116
|
-
baseOptions = configuration.baseOptions;
|
|
4117
|
-
}
|
|
4118
|
-
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
|
|
4119
|
-
localVarHeaderParameter = {};
|
|
4120
|
-
localVarQueryParameter = {};
|
|
4121
|
-
// authentication oauth2 required
|
|
4122
|
-
// oauth required
|
|
4123
|
-
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)];
|
|
4124
|
-
case 1:
|
|
4125
|
-
// authentication oauth2 required
|
|
4126
|
-
// oauth required
|
|
4127
|
-
_a.sent();
|
|
4128
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4129
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4130
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4131
|
-
return [2 /*return*/, {
|
|
4132
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4133
|
-
options: localVarRequestOptions,
|
|
4134
|
-
}];
|
|
4135
|
-
}
|
|
4136
|
-
});
|
|
4137
|
-
});
|
|
3485
|
+
return {
|
|
3486
|
+
/**
|
|
3487
|
+
*
|
|
3488
|
+
* @summary Delete CommunicationUser.
|
|
3489
|
+
* @param {*} [options] Override http request option.
|
|
3490
|
+
* @throws {RequiredError}
|
|
3491
|
+
*/
|
|
3492
|
+
apiV2CommunicationsDelete: function (options) {
|
|
3493
|
+
return localVarFp.apiV2CommunicationsDelete(options).then(function (request) { return request(axios, basePath); });
|
|
3494
|
+
},
|
|
3495
|
+
/**
|
|
3496
|
+
*
|
|
3497
|
+
* @summary Get CommunicationUser.
|
|
3498
|
+
* @param {*} [options] Override http request option.
|
|
3499
|
+
* @throws {RequiredError}
|
|
3500
|
+
*/
|
|
3501
|
+
apiV2CommunicationsGet: function (options) {
|
|
3502
|
+
return localVarFp.apiV2CommunicationsGet(options).then(function (request) { return request(axios, basePath); });
|
|
3503
|
+
},
|
|
3504
|
+
/**
|
|
3505
|
+
*
|
|
3506
|
+
* @summary Revoke CommunicationUser.
|
|
3507
|
+
* @param {*} [options] Override http request option.
|
|
3508
|
+
* @throws {RequiredError}
|
|
3509
|
+
*/
|
|
3510
|
+
apiV2CommunicationsPut: function (options) {
|
|
3511
|
+
return localVarFp.apiV2CommunicationsPut(options).then(function (request) { return request(axios, basePath); });
|
|
4138
3512
|
},
|
|
3513
|
+
};
|
|
3514
|
+
};
|
|
3515
|
+
exports.CommunicationsApiFactory = CommunicationsApiFactory;
|
|
3516
|
+
/**
|
|
3517
|
+
* CommunicationsApi - object-oriented interface
|
|
3518
|
+
* @export
|
|
3519
|
+
* @class CommunicationsApi
|
|
3520
|
+
* @extends {BaseAPI}
|
|
3521
|
+
*/
|
|
3522
|
+
var CommunicationsApi = /** @class */ (function (_super) {
|
|
3523
|
+
__extends(CommunicationsApi, _super);
|
|
3524
|
+
function CommunicationsApi() {
|
|
3525
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
3526
|
+
}
|
|
3527
|
+
/**
|
|
3528
|
+
*
|
|
3529
|
+
* @summary Delete CommunicationUser.
|
|
3530
|
+
* @param {*} [options] Override http request option.
|
|
3531
|
+
* @throws {RequiredError}
|
|
3532
|
+
* @memberof CommunicationsApi
|
|
3533
|
+
*/
|
|
3534
|
+
CommunicationsApi.prototype.apiV2CommunicationsDelete = function (options) {
|
|
3535
|
+
var _this = this;
|
|
3536
|
+
return (0, exports.CommunicationsApiFp)(this.configuration).apiV2CommunicationsDelete(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3537
|
+
};
|
|
3538
|
+
/**
|
|
3539
|
+
*
|
|
3540
|
+
* @summary Get CommunicationUser.
|
|
3541
|
+
* @param {*} [options] Override http request option.
|
|
3542
|
+
* @throws {RequiredError}
|
|
3543
|
+
* @memberof CommunicationsApi
|
|
3544
|
+
*/
|
|
3545
|
+
CommunicationsApi.prototype.apiV2CommunicationsGet = function (options) {
|
|
3546
|
+
var _this = this;
|
|
3547
|
+
return (0, exports.CommunicationsApiFp)(this.configuration).apiV2CommunicationsGet(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3548
|
+
};
|
|
3549
|
+
/**
|
|
3550
|
+
*
|
|
3551
|
+
* @summary Revoke CommunicationUser.
|
|
3552
|
+
* @param {*} [options] Override http request option.
|
|
3553
|
+
* @throws {RequiredError}
|
|
3554
|
+
* @memberof CommunicationsApi
|
|
3555
|
+
*/
|
|
3556
|
+
CommunicationsApi.prototype.apiV2CommunicationsPut = function (options) {
|
|
3557
|
+
var _this = this;
|
|
3558
|
+
return (0, exports.CommunicationsApiFp)(this.configuration).apiV2CommunicationsPut(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3559
|
+
};
|
|
3560
|
+
return CommunicationsApi;
|
|
3561
|
+
}(base_1.BaseAPI));
|
|
3562
|
+
exports.CommunicationsApi = CommunicationsApi;
|
|
3563
|
+
/**
|
|
3564
|
+
* ConsultationsApi - axios parameter creator
|
|
3565
|
+
* @export
|
|
3566
|
+
*/
|
|
3567
|
+
var ConsultationsApiAxiosParamCreator = function (configuration) {
|
|
3568
|
+
var _this = this;
|
|
3569
|
+
return {
|
|
4139
3570
|
/**
|
|
4140
3571
|
*
|
|
4141
3572
|
* @summary Get consultation.
|
|
@@ -4268,52 +3699,6 @@ var ConsultationsApiAxiosParamCreator = function (configuration) {
|
|
|
4268
3699
|
});
|
|
4269
3700
|
});
|
|
4270
3701
|
},
|
|
4271
|
-
/**
|
|
4272
|
-
*
|
|
4273
|
-
* @summary Reject consultation.
|
|
4274
|
-
* @param {string} consultationId
|
|
4275
|
-
* @param {RejectConsultationCommand} [rejectConsultationCommand]
|
|
4276
|
-
* @param {*} [options] Override http request option.
|
|
4277
|
-
* @throws {RequiredError}
|
|
4278
|
-
*/
|
|
4279
|
-
apiV2ConsultationsConsultationIdRejectPut: function (consultationId, rejectConsultationCommand, options) {
|
|
4280
|
-
if (options === void 0) { options = {}; }
|
|
4281
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
4282
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
4283
|
-
return __generator(this, function (_a) {
|
|
4284
|
-
switch (_a.label) {
|
|
4285
|
-
case 0:
|
|
4286
|
-
// verify required parameter 'consultationId' is not null or undefined
|
|
4287
|
-
(0, common_1.assertParamExists)('apiV2ConsultationsConsultationIdRejectPut', 'consultationId', consultationId);
|
|
4288
|
-
localVarPath = "/api/v2/consultations/{consultationId}/reject"
|
|
4289
|
-
.replace("{".concat("consultationId", "}"), encodeURIComponent(String(consultationId)));
|
|
4290
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4291
|
-
if (configuration) {
|
|
4292
|
-
baseOptions = configuration.baseOptions;
|
|
4293
|
-
}
|
|
4294
|
-
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
4295
|
-
localVarHeaderParameter = {};
|
|
4296
|
-
localVarQueryParameter = {};
|
|
4297
|
-
// authentication oauth2 required
|
|
4298
|
-
// oauth required
|
|
4299
|
-
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)];
|
|
4300
|
-
case 1:
|
|
4301
|
-
// authentication oauth2 required
|
|
4302
|
-
// oauth required
|
|
4303
|
-
_a.sent();
|
|
4304
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4305
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4306
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4307
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4308
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(rejectConsultationCommand, localVarRequestOptions, configuration);
|
|
4309
|
-
return [2 /*return*/, {
|
|
4310
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4311
|
-
options: localVarRequestOptions,
|
|
4312
|
-
}];
|
|
4313
|
-
}
|
|
4314
|
-
});
|
|
4315
|
-
});
|
|
4316
|
-
},
|
|
4317
3702
|
/**
|
|
4318
3703
|
*
|
|
4319
3704
|
* @summary Get all consultations.
|
|
@@ -4447,67 +3832,6 @@ exports.ConsultationsApiAxiosParamCreator = ConsultationsApiAxiosParamCreator;
|
|
|
4447
3832
|
var ConsultationsApiFp = function (configuration) {
|
|
4448
3833
|
var localVarAxiosParamCreator = (0, exports.ConsultationsApiAxiosParamCreator)(configuration);
|
|
4449
3834
|
return {
|
|
4450
|
-
/**
|
|
4451
|
-
*
|
|
4452
|
-
* @summary Approve consultation.
|
|
4453
|
-
* @param {string} consultationId
|
|
4454
|
-
* @param {ApproveConsultationCommand} [approveConsultationCommand]
|
|
4455
|
-
* @param {*} [options] Override http request option.
|
|
4456
|
-
* @throws {RequiredError}
|
|
4457
|
-
*/
|
|
4458
|
-
apiV2ConsultationsConsultationIdApprovePut: function (consultationId, approveConsultationCommand, options) {
|
|
4459
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
4460
|
-
var localVarAxiosArgs;
|
|
4461
|
-
return __generator(this, function (_a) {
|
|
4462
|
-
switch (_a.label) {
|
|
4463
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ConsultationsConsultationIdApprovePut(consultationId, approveConsultationCommand, options)];
|
|
4464
|
-
case 1:
|
|
4465
|
-
localVarAxiosArgs = _a.sent();
|
|
4466
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
4467
|
-
}
|
|
4468
|
-
});
|
|
4469
|
-
});
|
|
4470
|
-
},
|
|
4471
|
-
/**
|
|
4472
|
-
*
|
|
4473
|
-
* @summary Cancel consultation.
|
|
4474
|
-
* @param {string} consultationId
|
|
4475
|
-
* @param {*} [options] Override http request option.
|
|
4476
|
-
* @throws {RequiredError}
|
|
4477
|
-
*/
|
|
4478
|
-
apiV2ConsultationsConsultationIdCancelPut: function (consultationId, options) {
|
|
4479
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
4480
|
-
var localVarAxiosArgs;
|
|
4481
|
-
return __generator(this, function (_a) {
|
|
4482
|
-
switch (_a.label) {
|
|
4483
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ConsultationsConsultationIdCancelPut(consultationId, options)];
|
|
4484
|
-
case 1:
|
|
4485
|
-
localVarAxiosArgs = _a.sent();
|
|
4486
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
4487
|
-
}
|
|
4488
|
-
});
|
|
4489
|
-
});
|
|
4490
|
-
},
|
|
4491
|
-
/**
|
|
4492
|
-
*
|
|
4493
|
-
* @summary Delete consultation.
|
|
4494
|
-
* @param {string} consultationId
|
|
4495
|
-
* @param {*} [options] Override http request option.
|
|
4496
|
-
* @throws {RequiredError}
|
|
4497
|
-
*/
|
|
4498
|
-
apiV2ConsultationsConsultationIdDelete: function (consultationId, options) {
|
|
4499
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
4500
|
-
var localVarAxiosArgs;
|
|
4501
|
-
return __generator(this, function (_a) {
|
|
4502
|
-
switch (_a.label) {
|
|
4503
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ConsultationsConsultationIdDelete(consultationId, options)];
|
|
4504
|
-
case 1:
|
|
4505
|
-
localVarAxiosArgs = _a.sent();
|
|
4506
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
4507
|
-
}
|
|
4508
|
-
});
|
|
4509
|
-
});
|
|
4510
|
-
},
|
|
4511
3835
|
/**
|
|
4512
3836
|
*
|
|
4513
3837
|
* @summary Get consultation.
|
|
@@ -4569,27 +3893,6 @@ var ConsultationsApiFp = function (configuration) {
|
|
|
4569
3893
|
});
|
|
4570
3894
|
});
|
|
4571
3895
|
},
|
|
4572
|
-
/**
|
|
4573
|
-
*
|
|
4574
|
-
* @summary Reject consultation.
|
|
4575
|
-
* @param {string} consultationId
|
|
4576
|
-
* @param {RejectConsultationCommand} [rejectConsultationCommand]
|
|
4577
|
-
* @param {*} [options] Override http request option.
|
|
4578
|
-
* @throws {RequiredError}
|
|
4579
|
-
*/
|
|
4580
|
-
apiV2ConsultationsConsultationIdRejectPut: function (consultationId, rejectConsultationCommand, options) {
|
|
4581
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
4582
|
-
var localVarAxiosArgs;
|
|
4583
|
-
return __generator(this, function (_a) {
|
|
4584
|
-
switch (_a.label) {
|
|
4585
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ConsultationsConsultationIdRejectPut(consultationId, rejectConsultationCommand, options)];
|
|
4586
|
-
case 1:
|
|
4587
|
-
localVarAxiosArgs = _a.sent();
|
|
4588
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
4589
|
-
}
|
|
4590
|
-
});
|
|
4591
|
-
});
|
|
4592
|
-
},
|
|
4593
3896
|
/**
|
|
4594
3897
|
*
|
|
4595
3898
|
* @summary Get all consultations.
|
|
@@ -4649,37 +3952,6 @@ exports.ConsultationsApiFp = ConsultationsApiFp;
|
|
|
4649
3952
|
var ConsultationsApiFactory = function (configuration, basePath, axios) {
|
|
4650
3953
|
var localVarFp = (0, exports.ConsultationsApiFp)(configuration);
|
|
4651
3954
|
return {
|
|
4652
|
-
/**
|
|
4653
|
-
*
|
|
4654
|
-
* @summary Approve consultation.
|
|
4655
|
-
* @param {string} consultationId
|
|
4656
|
-
* @param {ApproveConsultationCommand} [approveConsultationCommand]
|
|
4657
|
-
* @param {*} [options] Override http request option.
|
|
4658
|
-
* @throws {RequiredError}
|
|
4659
|
-
*/
|
|
4660
|
-
apiV2ConsultationsConsultationIdApprovePut: function (consultationId, approveConsultationCommand, options) {
|
|
4661
|
-
return localVarFp.apiV2ConsultationsConsultationIdApprovePut(consultationId, approveConsultationCommand, options).then(function (request) { return request(axios, basePath); });
|
|
4662
|
-
},
|
|
4663
|
-
/**
|
|
4664
|
-
*
|
|
4665
|
-
* @summary Cancel consultation.
|
|
4666
|
-
* @param {string} consultationId
|
|
4667
|
-
* @param {*} [options] Override http request option.
|
|
4668
|
-
* @throws {RequiredError}
|
|
4669
|
-
*/
|
|
4670
|
-
apiV2ConsultationsConsultationIdCancelPut: function (consultationId, options) {
|
|
4671
|
-
return localVarFp.apiV2ConsultationsConsultationIdCancelPut(consultationId, options).then(function (request) { return request(axios, basePath); });
|
|
4672
|
-
},
|
|
4673
|
-
/**
|
|
4674
|
-
*
|
|
4675
|
-
* @summary Delete consultation.
|
|
4676
|
-
* @param {string} consultationId
|
|
4677
|
-
* @param {*} [options] Override http request option.
|
|
4678
|
-
* @throws {RequiredError}
|
|
4679
|
-
*/
|
|
4680
|
-
apiV2ConsultationsConsultationIdDelete: function (consultationId, options) {
|
|
4681
|
-
return localVarFp.apiV2ConsultationsConsultationIdDelete(consultationId, options).then(function (request) { return request(axios, basePath); });
|
|
4682
|
-
},
|
|
4683
3955
|
/**
|
|
4684
3956
|
*
|
|
4685
3957
|
* @summary Get consultation.
|
|
@@ -4711,17 +3983,6 @@ var ConsultationsApiFactory = function (configuration, basePath, axios) {
|
|
|
4711
3983
|
apiV2ConsultationsConsultationIdPut: function (consultationId, updateConsultationCommand, options) {
|
|
4712
3984
|
return localVarFp.apiV2ConsultationsConsultationIdPut(consultationId, updateConsultationCommand, options).then(function (request) { return request(axios, basePath); });
|
|
4713
3985
|
},
|
|
4714
|
-
/**
|
|
4715
|
-
*
|
|
4716
|
-
* @summary Reject consultation.
|
|
4717
|
-
* @param {string} consultationId
|
|
4718
|
-
* @param {RejectConsultationCommand} [rejectConsultationCommand]
|
|
4719
|
-
* @param {*} [options] Override http request option.
|
|
4720
|
-
* @throws {RequiredError}
|
|
4721
|
-
*/
|
|
4722
|
-
apiV2ConsultationsConsultationIdRejectPut: function (consultationId, rejectConsultationCommand, options) {
|
|
4723
|
-
return localVarFp.apiV2ConsultationsConsultationIdRejectPut(consultationId, rejectConsultationCommand, options).then(function (request) { return request(axios, basePath); });
|
|
4724
|
-
},
|
|
4725
3986
|
/**
|
|
4726
3987
|
*
|
|
4727
3988
|
* @summary Get all consultations.
|
|
@@ -4765,43 +4026,6 @@ var ConsultationsApi = /** @class */ (function (_super) {
|
|
|
4765
4026
|
function ConsultationsApi() {
|
|
4766
4027
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
4767
4028
|
}
|
|
4768
|
-
/**
|
|
4769
|
-
*
|
|
4770
|
-
* @summary Approve consultation.
|
|
4771
|
-
* @param {string} consultationId
|
|
4772
|
-
* @param {ApproveConsultationCommand} [approveConsultationCommand]
|
|
4773
|
-
* @param {*} [options] Override http request option.
|
|
4774
|
-
* @throws {RequiredError}
|
|
4775
|
-
* @memberof ConsultationsApi
|
|
4776
|
-
*/
|
|
4777
|
-
ConsultationsApi.prototype.apiV2ConsultationsConsultationIdApprovePut = function (consultationId, approveConsultationCommand, options) {
|
|
4778
|
-
var _this = this;
|
|
4779
|
-
return (0, exports.ConsultationsApiFp)(this.configuration).apiV2ConsultationsConsultationIdApprovePut(consultationId, approveConsultationCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4780
|
-
};
|
|
4781
|
-
/**
|
|
4782
|
-
*
|
|
4783
|
-
* @summary Cancel consultation.
|
|
4784
|
-
* @param {string} consultationId
|
|
4785
|
-
* @param {*} [options] Override http request option.
|
|
4786
|
-
* @throws {RequiredError}
|
|
4787
|
-
* @memberof ConsultationsApi
|
|
4788
|
-
*/
|
|
4789
|
-
ConsultationsApi.prototype.apiV2ConsultationsConsultationIdCancelPut = function (consultationId, options) {
|
|
4790
|
-
var _this = this;
|
|
4791
|
-
return (0, exports.ConsultationsApiFp)(this.configuration).apiV2ConsultationsConsultationIdCancelPut(consultationId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4792
|
-
};
|
|
4793
|
-
/**
|
|
4794
|
-
*
|
|
4795
|
-
* @summary Delete consultation.
|
|
4796
|
-
* @param {string} consultationId
|
|
4797
|
-
* @param {*} [options] Override http request option.
|
|
4798
|
-
* @throws {RequiredError}
|
|
4799
|
-
* @memberof ConsultationsApi
|
|
4800
|
-
*/
|
|
4801
|
-
ConsultationsApi.prototype.apiV2ConsultationsConsultationIdDelete = function (consultationId, options) {
|
|
4802
|
-
var _this = this;
|
|
4803
|
-
return (0, exports.ConsultationsApiFp)(this.configuration).apiV2ConsultationsConsultationIdDelete(consultationId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4804
|
-
};
|
|
4805
4029
|
/**
|
|
4806
4030
|
*
|
|
4807
4031
|
* @summary Get consultation.
|
|
@@ -4839,19 +4063,6 @@ var ConsultationsApi = /** @class */ (function (_super) {
|
|
|
4839
4063
|
var _this = this;
|
|
4840
4064
|
return (0, exports.ConsultationsApiFp)(this.configuration).apiV2ConsultationsConsultationIdPut(consultationId, updateConsultationCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4841
4065
|
};
|
|
4842
|
-
/**
|
|
4843
|
-
*
|
|
4844
|
-
* @summary Reject consultation.
|
|
4845
|
-
* @param {string} consultationId
|
|
4846
|
-
* @param {RejectConsultationCommand} [rejectConsultationCommand]
|
|
4847
|
-
* @param {*} [options] Override http request option.
|
|
4848
|
-
* @throws {RequiredError}
|
|
4849
|
-
* @memberof ConsultationsApi
|
|
4850
|
-
*/
|
|
4851
|
-
ConsultationsApi.prototype.apiV2ConsultationsConsultationIdRejectPut = function (consultationId, rejectConsultationCommand, options) {
|
|
4852
|
-
var _this = this;
|
|
4853
|
-
return (0, exports.ConsultationsApiFp)(this.configuration).apiV2ConsultationsConsultationIdRejectPut(consultationId, rejectConsultationCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4854
|
-
};
|
|
4855
4066
|
/**
|
|
4856
4067
|
*
|
|
4857
4068
|
* @summary Get all consultations.
|