ch-api-client-typescript2 3.2.4 → 3.2.7
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 +0 -66
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +0 -170
- package/package.json +1 -1
- package/src/api.ts +0 -142
package/lib/api.js
CHANGED
|
@@ -2218,49 +2218,6 @@ var BookingsApiAxiosParamCreator = function (configuration) {
|
|
|
2218
2218
|
});
|
|
2219
2219
|
});
|
|
2220
2220
|
},
|
|
2221
|
-
/**
|
|
2222
|
-
*
|
|
2223
|
-
* @summary Mark as Paid booking.
|
|
2224
|
-
* @param {string} bookingId
|
|
2225
|
-
* @param {*} [options] Override http request option.
|
|
2226
|
-
* @throws {RequiredError}
|
|
2227
|
-
*/
|
|
2228
|
-
apiV2BookingsBookingIdPaidPost: function (bookingId, options) {
|
|
2229
|
-
if (options === void 0) { options = {}; }
|
|
2230
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
2231
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
2232
|
-
return __generator(this, function (_a) {
|
|
2233
|
-
switch (_a.label) {
|
|
2234
|
-
case 0:
|
|
2235
|
-
// verify required parameter 'bookingId' is not null or undefined
|
|
2236
|
-
(0, common_1.assertParamExists)('apiV2BookingsBookingIdPaidPost', 'bookingId', bookingId);
|
|
2237
|
-
localVarPath = "/api/v2/bookings/{bookingId}/paid"
|
|
2238
|
-
.replace("{".concat("bookingId", "}"), encodeURIComponent(String(bookingId)));
|
|
2239
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2240
|
-
if (configuration) {
|
|
2241
|
-
baseOptions = configuration.baseOptions;
|
|
2242
|
-
}
|
|
2243
|
-
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
2244
|
-
localVarHeaderParameter = {};
|
|
2245
|
-
localVarQueryParameter = {};
|
|
2246
|
-
// authentication oauth2 required
|
|
2247
|
-
// oauth required
|
|
2248
|
-
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)];
|
|
2249
|
-
case 1:
|
|
2250
|
-
// authentication oauth2 required
|
|
2251
|
-
// oauth required
|
|
2252
|
-
_a.sent();
|
|
2253
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2254
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2255
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2256
|
-
return [2 /*return*/, {
|
|
2257
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2258
|
-
options: localVarRequestOptions,
|
|
2259
|
-
}];
|
|
2260
|
-
}
|
|
2261
|
-
});
|
|
2262
|
-
});
|
|
2263
|
-
},
|
|
2264
2221
|
/**
|
|
2265
2222
|
*
|
|
2266
2223
|
* @summary Pay booking.
|
|
@@ -2503,26 +2460,6 @@ var BookingsApiFp = function (configuration) {
|
|
|
2503
2460
|
});
|
|
2504
2461
|
});
|
|
2505
2462
|
},
|
|
2506
|
-
/**
|
|
2507
|
-
*
|
|
2508
|
-
* @summary Mark as Paid booking.
|
|
2509
|
-
* @param {string} bookingId
|
|
2510
|
-
* @param {*} [options] Override http request option.
|
|
2511
|
-
* @throws {RequiredError}
|
|
2512
|
-
*/
|
|
2513
|
-
apiV2BookingsBookingIdPaidPost: function (bookingId, options) {
|
|
2514
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
2515
|
-
var localVarAxiosArgs;
|
|
2516
|
-
return __generator(this, function (_a) {
|
|
2517
|
-
switch (_a.label) {
|
|
2518
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2BookingsBookingIdPaidPost(bookingId, options)];
|
|
2519
|
-
case 1:
|
|
2520
|
-
localVarAxiosArgs = _a.sent();
|
|
2521
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
2522
|
-
}
|
|
2523
|
-
});
|
|
2524
|
-
});
|
|
2525
|
-
},
|
|
2526
2463
|
/**
|
|
2527
2464
|
*
|
|
2528
2465
|
* @summary Pay booking.
|
|
@@ -2633,16 +2570,6 @@ var BookingsApiFactory = function (configuration, basePath, axios) {
|
|
|
2633
2570
|
apiV2BookingsBookingIdGet: function (bookingId, options) {
|
|
2634
2571
|
return localVarFp.apiV2BookingsBookingIdGet(bookingId, options).then(function (request) { return request(axios, basePath); });
|
|
2635
2572
|
},
|
|
2636
|
-
/**
|
|
2637
|
-
*
|
|
2638
|
-
* @summary Mark as Paid booking.
|
|
2639
|
-
* @param {string} bookingId
|
|
2640
|
-
* @param {*} [options] Override http request option.
|
|
2641
|
-
* @throws {RequiredError}
|
|
2642
|
-
*/
|
|
2643
|
-
apiV2BookingsBookingIdPaidPost: function (bookingId, options) {
|
|
2644
|
-
return localVarFp.apiV2BookingsBookingIdPaidPost(bookingId, options).then(function (request) { return request(axios, basePath); });
|
|
2645
|
-
},
|
|
2646
2573
|
/**
|
|
2647
2574
|
*
|
|
2648
2575
|
* @summary Pay booking.
|
|
@@ -2719,18 +2646,6 @@ var BookingsApi = /** @class */ (function (_super) {
|
|
|
2719
2646
|
var _this = this;
|
|
2720
2647
|
return (0, exports.BookingsApiFp)(this.configuration).apiV2BookingsBookingIdGet(bookingId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2721
2648
|
};
|
|
2722
|
-
/**
|
|
2723
|
-
*
|
|
2724
|
-
* @summary Mark as Paid booking.
|
|
2725
|
-
* @param {string} bookingId
|
|
2726
|
-
* @param {*} [options] Override http request option.
|
|
2727
|
-
* @throws {RequiredError}
|
|
2728
|
-
* @memberof BookingsApi
|
|
2729
|
-
*/
|
|
2730
|
-
BookingsApi.prototype.apiV2BookingsBookingIdPaidPost = function (bookingId, options) {
|
|
2731
|
-
var _this = this;
|
|
2732
|
-
return (0, exports.BookingsApiFp)(this.configuration).apiV2BookingsBookingIdPaidPost(bookingId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2733
|
-
};
|
|
2734
2649
|
/**
|
|
2735
2650
|
*
|
|
2736
2651
|
* @summary Pay booking.
|
|
@@ -3696,49 +3611,6 @@ var ConsultationsApiAxiosParamCreator = function (configuration) {
|
|
|
3696
3611
|
});
|
|
3697
3612
|
});
|
|
3698
3613
|
},
|
|
3699
|
-
/**
|
|
3700
|
-
*
|
|
3701
|
-
* @summary Mark as Paid booking.
|
|
3702
|
-
* @param {string} consultationId
|
|
3703
|
-
* @param {*} [options] Override http request option.
|
|
3704
|
-
* @throws {RequiredError}
|
|
3705
|
-
*/
|
|
3706
|
-
apiV2ConsultationsConsultationIdPaidPost: function (consultationId, options) {
|
|
3707
|
-
if (options === void 0) { options = {}; }
|
|
3708
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
3709
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
3710
|
-
return __generator(this, function (_a) {
|
|
3711
|
-
switch (_a.label) {
|
|
3712
|
-
case 0:
|
|
3713
|
-
// verify required parameter 'consultationId' is not null or undefined
|
|
3714
|
-
(0, common_1.assertParamExists)('apiV2ConsultationsConsultationIdPaidPost', 'consultationId', consultationId);
|
|
3715
|
-
localVarPath = "/api/v2/consultations/{consultationId}/paid"
|
|
3716
|
-
.replace("{".concat("consultationId", "}"), encodeURIComponent(String(consultationId)));
|
|
3717
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3718
|
-
if (configuration) {
|
|
3719
|
-
baseOptions = configuration.baseOptions;
|
|
3720
|
-
}
|
|
3721
|
-
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
3722
|
-
localVarHeaderParameter = {};
|
|
3723
|
-
localVarQueryParameter = {};
|
|
3724
|
-
// authentication oauth2 required
|
|
3725
|
-
// oauth required
|
|
3726
|
-
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)];
|
|
3727
|
-
case 1:
|
|
3728
|
-
// authentication oauth2 required
|
|
3729
|
-
// oauth required
|
|
3730
|
-
_a.sent();
|
|
3731
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3732
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3733
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3734
|
-
return [2 /*return*/, {
|
|
3735
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
3736
|
-
options: localVarRequestOptions,
|
|
3737
|
-
}];
|
|
3738
|
-
}
|
|
3739
|
-
});
|
|
3740
|
-
});
|
|
3741
|
-
},
|
|
3742
3614
|
/**
|
|
3743
3615
|
*
|
|
3744
3616
|
* @summary Pay consultation.
|
|
@@ -3981,26 +3853,6 @@ var ConsultationsApiFp = function (configuration) {
|
|
|
3981
3853
|
});
|
|
3982
3854
|
});
|
|
3983
3855
|
},
|
|
3984
|
-
/**
|
|
3985
|
-
*
|
|
3986
|
-
* @summary Mark as Paid booking.
|
|
3987
|
-
* @param {string} consultationId
|
|
3988
|
-
* @param {*} [options] Override http request option.
|
|
3989
|
-
* @throws {RequiredError}
|
|
3990
|
-
*/
|
|
3991
|
-
apiV2ConsultationsConsultationIdPaidPost: function (consultationId, options) {
|
|
3992
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
3993
|
-
var localVarAxiosArgs;
|
|
3994
|
-
return __generator(this, function (_a) {
|
|
3995
|
-
switch (_a.label) {
|
|
3996
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ConsultationsConsultationIdPaidPost(consultationId, options)];
|
|
3997
|
-
case 1:
|
|
3998
|
-
localVarAxiosArgs = _a.sent();
|
|
3999
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
4000
|
-
}
|
|
4001
|
-
});
|
|
4002
|
-
});
|
|
4003
|
-
},
|
|
4004
3856
|
/**
|
|
4005
3857
|
*
|
|
4006
3858
|
* @summary Pay consultation.
|
|
@@ -4111,16 +3963,6 @@ var ConsultationsApiFactory = function (configuration, basePath, axios) {
|
|
|
4111
3963
|
apiV2ConsultationsConsultationIdGet: function (consultationId, options) {
|
|
4112
3964
|
return localVarFp.apiV2ConsultationsConsultationIdGet(consultationId, options).then(function (request) { return request(axios, basePath); });
|
|
4113
3965
|
},
|
|
4114
|
-
/**
|
|
4115
|
-
*
|
|
4116
|
-
* @summary Mark as Paid booking.
|
|
4117
|
-
* @param {string} consultationId
|
|
4118
|
-
* @param {*} [options] Override http request option.
|
|
4119
|
-
* @throws {RequiredError}
|
|
4120
|
-
*/
|
|
4121
|
-
apiV2ConsultationsConsultationIdPaidPost: function (consultationId, options) {
|
|
4122
|
-
return localVarFp.apiV2ConsultationsConsultationIdPaidPost(consultationId, options).then(function (request) { return request(axios, basePath); });
|
|
4123
|
-
},
|
|
4124
3966
|
/**
|
|
4125
3967
|
*
|
|
4126
3968
|
* @summary Pay consultation.
|
|
@@ -4197,18 +4039,6 @@ var ConsultationsApi = /** @class */ (function (_super) {
|
|
|
4197
4039
|
var _this = this;
|
|
4198
4040
|
return (0, exports.ConsultationsApiFp)(this.configuration).apiV2ConsultationsConsultationIdGet(consultationId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4199
4041
|
};
|
|
4200
|
-
/**
|
|
4201
|
-
*
|
|
4202
|
-
* @summary Mark as Paid booking.
|
|
4203
|
-
* @param {string} consultationId
|
|
4204
|
-
* @param {*} [options] Override http request option.
|
|
4205
|
-
* @throws {RequiredError}
|
|
4206
|
-
* @memberof ConsultationsApi
|
|
4207
|
-
*/
|
|
4208
|
-
ConsultationsApi.prototype.apiV2ConsultationsConsultationIdPaidPost = function (consultationId, options) {
|
|
4209
|
-
var _this = this;
|
|
4210
|
-
return (0, exports.ConsultationsApiFp)(this.configuration).apiV2ConsultationsConsultationIdPaidPost(consultationId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4211
|
-
};
|
|
4212
4042
|
/**
|
|
4213
4043
|
*
|
|
4214
4044
|
* @summary Pay consultation.
|
package/package.json
CHANGED
package/src/api.ts
CHANGED
|
@@ -12128,44 +12128,6 @@ export const BookingsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
12128
12128
|
|
|
12129
12129
|
|
|
12130
12130
|
|
|
12131
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12132
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12133
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12134
|
-
|
|
12135
|
-
return {
|
|
12136
|
-
url: toPathString(localVarUrlObj),
|
|
12137
|
-
options: localVarRequestOptions,
|
|
12138
|
-
};
|
|
12139
|
-
},
|
|
12140
|
-
/**
|
|
12141
|
-
*
|
|
12142
|
-
* @summary Mark as Paid booking.
|
|
12143
|
-
* @param {string} bookingId
|
|
12144
|
-
* @param {*} [options] Override http request option.
|
|
12145
|
-
* @throws {RequiredError}
|
|
12146
|
-
*/
|
|
12147
|
-
apiV2BookingsBookingIdPaidPost: async (bookingId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12148
|
-
// verify required parameter 'bookingId' is not null or undefined
|
|
12149
|
-
assertParamExists('apiV2BookingsBookingIdPaidPost', 'bookingId', bookingId)
|
|
12150
|
-
const localVarPath = `/api/v2/bookings/{bookingId}/paid`
|
|
12151
|
-
.replace(`{${"bookingId"}}`, encodeURIComponent(String(bookingId)));
|
|
12152
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12153
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12154
|
-
let baseOptions;
|
|
12155
|
-
if (configuration) {
|
|
12156
|
-
baseOptions = configuration.baseOptions;
|
|
12157
|
-
}
|
|
12158
|
-
|
|
12159
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
12160
|
-
const localVarHeaderParameter = {} as any;
|
|
12161
|
-
const localVarQueryParameter = {} as any;
|
|
12162
|
-
|
|
12163
|
-
// authentication oauth2 required
|
|
12164
|
-
// oauth required
|
|
12165
|
-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)
|
|
12166
|
-
|
|
12167
|
-
|
|
12168
|
-
|
|
12169
12131
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12170
12132
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12171
12133
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -12399,17 +12361,6 @@ export const BookingsApiFp = function(configuration?: Configuration) {
|
|
|
12399
12361
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2BookingsBookingIdGet(bookingId, options);
|
|
12400
12362
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
12401
12363
|
},
|
|
12402
|
-
/**
|
|
12403
|
-
*
|
|
12404
|
-
* @summary Mark as Paid booking.
|
|
12405
|
-
* @param {string} bookingId
|
|
12406
|
-
* @param {*} [options] Override http request option.
|
|
12407
|
-
* @throws {RequiredError}
|
|
12408
|
-
*/
|
|
12409
|
-
async apiV2BookingsBookingIdPaidPost(bookingId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
|
|
12410
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2BookingsBookingIdPaidPost(bookingId, options);
|
|
12411
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
12412
|
-
},
|
|
12413
12364
|
/**
|
|
12414
12365
|
*
|
|
12415
12366
|
* @summary Pay booking.
|
|
@@ -12484,16 +12435,6 @@ export const BookingsApiFactory = function (configuration?: Configuration, baseP
|
|
|
12484
12435
|
apiV2BookingsBookingIdGet(bookingId: string, options?: any): AxiosPromise<BookingModel> {
|
|
12485
12436
|
return localVarFp.apiV2BookingsBookingIdGet(bookingId, options).then((request) => request(axios, basePath));
|
|
12486
12437
|
},
|
|
12487
|
-
/**
|
|
12488
|
-
*
|
|
12489
|
-
* @summary Mark as Paid booking.
|
|
12490
|
-
* @param {string} bookingId
|
|
12491
|
-
* @param {*} [options] Override http request option.
|
|
12492
|
-
* @throws {RequiredError}
|
|
12493
|
-
*/
|
|
12494
|
-
apiV2BookingsBookingIdPaidPost(bookingId: string, options?: any): AxiosPromise<string> {
|
|
12495
|
-
return localVarFp.apiV2BookingsBookingIdPaidPost(bookingId, options).then((request) => request(axios, basePath));
|
|
12496
|
-
},
|
|
12497
12438
|
/**
|
|
12498
12439
|
*
|
|
12499
12440
|
* @summary Pay booking.
|
|
@@ -12566,18 +12507,6 @@ export class BookingsApi extends BaseAPI {
|
|
|
12566
12507
|
return BookingsApiFp(this.configuration).apiV2BookingsBookingIdGet(bookingId, options).then((request) => request(this.axios, this.basePath));
|
|
12567
12508
|
}
|
|
12568
12509
|
|
|
12569
|
-
/**
|
|
12570
|
-
*
|
|
12571
|
-
* @summary Mark as Paid booking.
|
|
12572
|
-
* @param {string} bookingId
|
|
12573
|
-
* @param {*} [options] Override http request option.
|
|
12574
|
-
* @throws {RequiredError}
|
|
12575
|
-
* @memberof BookingsApi
|
|
12576
|
-
*/
|
|
12577
|
-
public apiV2BookingsBookingIdPaidPost(bookingId: string, options?: AxiosRequestConfig) {
|
|
12578
|
-
return BookingsApiFp(this.configuration).apiV2BookingsBookingIdPaidPost(bookingId, options).then((request) => request(this.axios, this.basePath));
|
|
12579
|
-
}
|
|
12580
|
-
|
|
12581
12510
|
/**
|
|
12582
12511
|
*
|
|
12583
12512
|
* @summary Pay booking.
|
|
@@ -13396,44 +13325,6 @@ export const ConsultationsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
13396
13325
|
|
|
13397
13326
|
|
|
13398
13327
|
|
|
13399
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13400
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13401
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
13402
|
-
|
|
13403
|
-
return {
|
|
13404
|
-
url: toPathString(localVarUrlObj),
|
|
13405
|
-
options: localVarRequestOptions,
|
|
13406
|
-
};
|
|
13407
|
-
},
|
|
13408
|
-
/**
|
|
13409
|
-
*
|
|
13410
|
-
* @summary Mark as Paid booking.
|
|
13411
|
-
* @param {string} consultationId
|
|
13412
|
-
* @param {*} [options] Override http request option.
|
|
13413
|
-
* @throws {RequiredError}
|
|
13414
|
-
*/
|
|
13415
|
-
apiV2ConsultationsConsultationIdPaidPost: async (consultationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
13416
|
-
// verify required parameter 'consultationId' is not null or undefined
|
|
13417
|
-
assertParamExists('apiV2ConsultationsConsultationIdPaidPost', 'consultationId', consultationId)
|
|
13418
|
-
const localVarPath = `/api/v2/consultations/{consultationId}/paid`
|
|
13419
|
-
.replace(`{${"consultationId"}}`, encodeURIComponent(String(consultationId)));
|
|
13420
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13421
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
13422
|
-
let baseOptions;
|
|
13423
|
-
if (configuration) {
|
|
13424
|
-
baseOptions = configuration.baseOptions;
|
|
13425
|
-
}
|
|
13426
|
-
|
|
13427
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
13428
|
-
const localVarHeaderParameter = {} as any;
|
|
13429
|
-
const localVarQueryParameter = {} as any;
|
|
13430
|
-
|
|
13431
|
-
// authentication oauth2 required
|
|
13432
|
-
// oauth required
|
|
13433
|
-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)
|
|
13434
|
-
|
|
13435
|
-
|
|
13436
|
-
|
|
13437
13328
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13438
13329
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13439
13330
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -13667,17 +13558,6 @@ export const ConsultationsApiFp = function(configuration?: Configuration) {
|
|
|
13667
13558
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ConsultationsConsultationIdGet(consultationId, options);
|
|
13668
13559
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
13669
13560
|
},
|
|
13670
|
-
/**
|
|
13671
|
-
*
|
|
13672
|
-
* @summary Mark as Paid booking.
|
|
13673
|
-
* @param {string} consultationId
|
|
13674
|
-
* @param {*} [options] Override http request option.
|
|
13675
|
-
* @throws {RequiredError}
|
|
13676
|
-
*/
|
|
13677
|
-
async apiV2ConsultationsConsultationIdPaidPost(consultationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
|
|
13678
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ConsultationsConsultationIdPaidPost(consultationId, options);
|
|
13679
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
13680
|
-
},
|
|
13681
13561
|
/**
|
|
13682
13562
|
*
|
|
13683
13563
|
* @summary Pay consultation.
|
|
@@ -13752,16 +13632,6 @@ export const ConsultationsApiFactory = function (configuration?: Configuration,
|
|
|
13752
13632
|
apiV2ConsultationsConsultationIdGet(consultationId: string, options?: any): AxiosPromise<ConsultationModel> {
|
|
13753
13633
|
return localVarFp.apiV2ConsultationsConsultationIdGet(consultationId, options).then((request) => request(axios, basePath));
|
|
13754
13634
|
},
|
|
13755
|
-
/**
|
|
13756
|
-
*
|
|
13757
|
-
* @summary Mark as Paid booking.
|
|
13758
|
-
* @param {string} consultationId
|
|
13759
|
-
* @param {*} [options] Override http request option.
|
|
13760
|
-
* @throws {RequiredError}
|
|
13761
|
-
*/
|
|
13762
|
-
apiV2ConsultationsConsultationIdPaidPost(consultationId: string, options?: any): AxiosPromise<string> {
|
|
13763
|
-
return localVarFp.apiV2ConsultationsConsultationIdPaidPost(consultationId, options).then((request) => request(axios, basePath));
|
|
13764
|
-
},
|
|
13765
13635
|
/**
|
|
13766
13636
|
*
|
|
13767
13637
|
* @summary Pay consultation.
|
|
@@ -13834,18 +13704,6 @@ export class ConsultationsApi extends BaseAPI {
|
|
|
13834
13704
|
return ConsultationsApiFp(this.configuration).apiV2ConsultationsConsultationIdGet(consultationId, options).then((request) => request(this.axios, this.basePath));
|
|
13835
13705
|
}
|
|
13836
13706
|
|
|
13837
|
-
/**
|
|
13838
|
-
*
|
|
13839
|
-
* @summary Mark as Paid booking.
|
|
13840
|
-
* @param {string} consultationId
|
|
13841
|
-
* @param {*} [options] Override http request option.
|
|
13842
|
-
* @throws {RequiredError}
|
|
13843
|
-
* @memberof ConsultationsApi
|
|
13844
|
-
*/
|
|
13845
|
-
public apiV2ConsultationsConsultationIdPaidPost(consultationId: string, options?: AxiosRequestConfig) {
|
|
13846
|
-
return ConsultationsApiFp(this.configuration).apiV2ConsultationsConsultationIdPaidPost(consultationId, options).then((request) => request(this.axios, this.basePath));
|
|
13847
|
-
}
|
|
13848
|
-
|
|
13849
13707
|
/**
|
|
13850
13708
|
*
|
|
13851
13709
|
* @summary Pay consultation.
|