ch-admin-api-client-typescript 4.6.4 → 4.6.6
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 +180 -88
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +312 -154
- package/package.json +1 -1
- package/src/api.ts +334 -154
package/lib/api.js
CHANGED
|
@@ -468,10 +468,11 @@ exports.AboutUsApiAxiosParamCreator = function (configuration) {
|
|
|
468
468
|
*
|
|
469
469
|
* @summary Delete AboutUs.
|
|
470
470
|
* @param {string} hospitalId
|
|
471
|
+
* @param {boolean} [isPermanent]
|
|
471
472
|
* @param {*} [options] Override http request option.
|
|
472
473
|
* @throws {RequiredError}
|
|
473
474
|
*/
|
|
474
|
-
apiV1AboutusHospitalIdDelete: function (hospitalId, options) {
|
|
475
|
+
apiV1AboutusHospitalIdDelete: function (hospitalId, isPermanent, options) {
|
|
475
476
|
if (options === void 0) { options = {}; }
|
|
476
477
|
return __awaiter(_this, void 0, void 0, function () {
|
|
477
478
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -496,6 +497,9 @@ exports.AboutUsApiAxiosParamCreator = function (configuration) {
|
|
|
496
497
|
// authentication oauth2 required
|
|
497
498
|
// oauth required
|
|
498
499
|
_a.sent();
|
|
500
|
+
if (isPermanent !== undefined) {
|
|
501
|
+
localVarQueryParameter['isPermanent'] = isPermanent;
|
|
502
|
+
}
|
|
499
503
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
500
504
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
501
505
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -739,15 +743,16 @@ exports.AboutUsApiFp = function (configuration) {
|
|
|
739
743
|
*
|
|
740
744
|
* @summary Delete AboutUs.
|
|
741
745
|
* @param {string} hospitalId
|
|
746
|
+
* @param {boolean} [isPermanent]
|
|
742
747
|
* @param {*} [options] Override http request option.
|
|
743
748
|
* @throws {RequiredError}
|
|
744
749
|
*/
|
|
745
|
-
apiV1AboutusHospitalIdDelete: function (hospitalId, options) {
|
|
750
|
+
apiV1AboutusHospitalIdDelete: function (hospitalId, isPermanent, options) {
|
|
746
751
|
return __awaiter(this, void 0, void 0, function () {
|
|
747
752
|
var localVarAxiosArgs;
|
|
748
753
|
return __generator(this, function (_a) {
|
|
749
754
|
switch (_a.label) {
|
|
750
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1AboutusHospitalIdDelete(hospitalId, options)];
|
|
755
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1AboutusHospitalIdDelete(hospitalId, isPermanent, options)];
|
|
751
756
|
case 1:
|
|
752
757
|
localVarAxiosArgs = _a.sent();
|
|
753
758
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -872,11 +877,12 @@ exports.AboutUsApiFactory = function (configuration, basePath, axios) {
|
|
|
872
877
|
*
|
|
873
878
|
* @summary Delete AboutUs.
|
|
874
879
|
* @param {string} hospitalId
|
|
880
|
+
* @param {boolean} [isPermanent]
|
|
875
881
|
* @param {*} [options] Override http request option.
|
|
876
882
|
* @throws {RequiredError}
|
|
877
883
|
*/
|
|
878
|
-
apiV1AboutusHospitalIdDelete: function (hospitalId, options) {
|
|
879
|
-
return localVarFp.apiV1AboutusHospitalIdDelete(hospitalId, options).then(function (request) { return request(axios, basePath); });
|
|
884
|
+
apiV1AboutusHospitalIdDelete: function (hospitalId, isPermanent, options) {
|
|
885
|
+
return localVarFp.apiV1AboutusHospitalIdDelete(hospitalId, isPermanent, options).then(function (request) { return request(axios, basePath); });
|
|
880
886
|
},
|
|
881
887
|
/**
|
|
882
888
|
*
|
|
@@ -961,13 +967,14 @@ var AboutUsApi = /** @class */ (function (_super) {
|
|
|
961
967
|
*
|
|
962
968
|
* @summary Delete AboutUs.
|
|
963
969
|
* @param {string} hospitalId
|
|
970
|
+
* @param {boolean} [isPermanent]
|
|
964
971
|
* @param {*} [options] Override http request option.
|
|
965
972
|
* @throws {RequiredError}
|
|
966
973
|
* @memberof AboutUsApi
|
|
967
974
|
*/
|
|
968
|
-
AboutUsApi.prototype.apiV1AboutusHospitalIdDelete = function (hospitalId, options) {
|
|
975
|
+
AboutUsApi.prototype.apiV1AboutusHospitalIdDelete = function (hospitalId, isPermanent, options) {
|
|
969
976
|
var _this = this;
|
|
970
|
-
return exports.AboutUsApiFp(this.configuration).apiV1AboutusHospitalIdDelete(hospitalId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
977
|
+
return exports.AboutUsApiFp(this.configuration).apiV1AboutusHospitalIdDelete(hospitalId, isPermanent, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
971
978
|
};
|
|
972
979
|
/**
|
|
973
980
|
*
|
|
@@ -2319,10 +2326,11 @@ exports.ArticlesApiAxiosParamCreator = function (configuration) {
|
|
|
2319
2326
|
*
|
|
2320
2327
|
* @summary Delete Article.
|
|
2321
2328
|
* @param {string} articleId
|
|
2329
|
+
* @param {boolean} [isPermanent]
|
|
2322
2330
|
* @param {*} [options] Override http request option.
|
|
2323
2331
|
* @throws {RequiredError}
|
|
2324
2332
|
*/
|
|
2325
|
-
apiV1ArticlesArticleIdDelete: function (articleId, options) {
|
|
2333
|
+
apiV1ArticlesArticleIdDelete: function (articleId, isPermanent, options) {
|
|
2326
2334
|
if (options === void 0) { options = {}; }
|
|
2327
2335
|
return __awaiter(_this, void 0, void 0, function () {
|
|
2328
2336
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -2347,6 +2355,9 @@ exports.ArticlesApiAxiosParamCreator = function (configuration) {
|
|
|
2347
2355
|
// authentication oauth2 required
|
|
2348
2356
|
// oauth required
|
|
2349
2357
|
_a.sent();
|
|
2358
|
+
if (isPermanent !== undefined) {
|
|
2359
|
+
localVarQueryParameter['isPermanent'] = isPermanent;
|
|
2360
|
+
}
|
|
2350
2361
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2351
2362
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2352
2363
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -3496,15 +3507,16 @@ exports.ArticlesApiFp = function (configuration) {
|
|
|
3496
3507
|
*
|
|
3497
3508
|
* @summary Delete Article.
|
|
3498
3509
|
* @param {string} articleId
|
|
3510
|
+
* @param {boolean} [isPermanent]
|
|
3499
3511
|
* @param {*} [options] Override http request option.
|
|
3500
3512
|
* @throws {RequiredError}
|
|
3501
3513
|
*/
|
|
3502
|
-
apiV1ArticlesArticleIdDelete: function (articleId, options) {
|
|
3514
|
+
apiV1ArticlesArticleIdDelete: function (articleId, isPermanent, options) {
|
|
3503
3515
|
return __awaiter(this, void 0, void 0, function () {
|
|
3504
3516
|
var localVarAxiosArgs;
|
|
3505
3517
|
return __generator(this, function (_a) {
|
|
3506
3518
|
switch (_a.label) {
|
|
3507
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ArticlesArticleIdDelete(articleId, options)];
|
|
3519
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ArticlesArticleIdDelete(articleId, isPermanent, options)];
|
|
3508
3520
|
case 1:
|
|
3509
3521
|
localVarAxiosArgs = _a.sent();
|
|
3510
3522
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -4019,11 +4031,12 @@ exports.ArticlesApiFactory = function (configuration, basePath, axios) {
|
|
|
4019
4031
|
*
|
|
4020
4032
|
* @summary Delete Article.
|
|
4021
4033
|
* @param {string} articleId
|
|
4034
|
+
* @param {boolean} [isPermanent]
|
|
4022
4035
|
* @param {*} [options] Override http request option.
|
|
4023
4036
|
* @throws {RequiredError}
|
|
4024
4037
|
*/
|
|
4025
|
-
apiV1ArticlesArticleIdDelete: function (articleId, options) {
|
|
4026
|
-
return localVarFp.apiV1ArticlesArticleIdDelete(articleId, options).then(function (request) { return request(axios, basePath); });
|
|
4038
|
+
apiV1ArticlesArticleIdDelete: function (articleId, isPermanent, options) {
|
|
4039
|
+
return localVarFp.apiV1ArticlesArticleIdDelete(articleId, isPermanent, options).then(function (request) { return request(axios, basePath); });
|
|
4027
4040
|
},
|
|
4028
4041
|
/**
|
|
4029
4042
|
*
|
|
@@ -4356,13 +4369,14 @@ var ArticlesApi = /** @class */ (function (_super) {
|
|
|
4356
4369
|
*
|
|
4357
4370
|
* @summary Delete Article.
|
|
4358
4371
|
* @param {string} articleId
|
|
4372
|
+
* @param {boolean} [isPermanent]
|
|
4359
4373
|
* @param {*} [options] Override http request option.
|
|
4360
4374
|
* @throws {RequiredError}
|
|
4361
4375
|
* @memberof ArticlesApi
|
|
4362
4376
|
*/
|
|
4363
|
-
ArticlesApi.prototype.apiV1ArticlesArticleIdDelete = function (articleId, options) {
|
|
4377
|
+
ArticlesApi.prototype.apiV1ArticlesArticleIdDelete = function (articleId, isPermanent, options) {
|
|
4364
4378
|
var _this = this;
|
|
4365
|
-
return exports.ArticlesApiFp(this.configuration).apiV1ArticlesArticleIdDelete(articleId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4379
|
+
return exports.ArticlesApiFp(this.configuration).apiV1ArticlesArticleIdDelete(articleId, isPermanent, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4366
4380
|
};
|
|
4367
4381
|
/**
|
|
4368
4382
|
*
|
|
@@ -5437,10 +5451,11 @@ exports.CHAdminsApiAxiosParamCreator = function (configuration) {
|
|
|
5437
5451
|
*
|
|
5438
5452
|
* @summary Delete CHAdmin.
|
|
5439
5453
|
* @param {string} cHAdminId
|
|
5454
|
+
* @param {boolean} [isPermanent]
|
|
5440
5455
|
* @param {*} [options] Override http request option.
|
|
5441
5456
|
* @throws {RequiredError}
|
|
5442
5457
|
*/
|
|
5443
|
-
apiV1ChadminsCHAdminIdDelete: function (cHAdminId, options) {
|
|
5458
|
+
apiV1ChadminsCHAdminIdDelete: function (cHAdminId, isPermanent, options) {
|
|
5444
5459
|
if (options === void 0) { options = {}; }
|
|
5445
5460
|
return __awaiter(_this, void 0, void 0, function () {
|
|
5446
5461
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -5465,6 +5480,9 @@ exports.CHAdminsApiAxiosParamCreator = function (configuration) {
|
|
|
5465
5480
|
// authentication oauth2 required
|
|
5466
5481
|
// oauth required
|
|
5467
5482
|
_a.sent();
|
|
5483
|
+
if (isPermanent !== undefined) {
|
|
5484
|
+
localVarQueryParameter['isPermanent'] = isPermanent;
|
|
5485
|
+
}
|
|
5468
5486
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5469
5487
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5470
5488
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -5705,15 +5723,16 @@ exports.CHAdminsApiFp = function (configuration) {
|
|
|
5705
5723
|
*
|
|
5706
5724
|
* @summary Delete CHAdmin.
|
|
5707
5725
|
* @param {string} cHAdminId
|
|
5726
|
+
* @param {boolean} [isPermanent]
|
|
5708
5727
|
* @param {*} [options] Override http request option.
|
|
5709
5728
|
* @throws {RequiredError}
|
|
5710
5729
|
*/
|
|
5711
|
-
apiV1ChadminsCHAdminIdDelete: function (cHAdminId, options) {
|
|
5730
|
+
apiV1ChadminsCHAdminIdDelete: function (cHAdminId, isPermanent, options) {
|
|
5712
5731
|
return __awaiter(this, void 0, void 0, function () {
|
|
5713
5732
|
var localVarAxiosArgs;
|
|
5714
5733
|
return __generator(this, function (_a) {
|
|
5715
5734
|
switch (_a.label) {
|
|
5716
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ChadminsCHAdminIdDelete(cHAdminId, options)];
|
|
5735
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ChadminsCHAdminIdDelete(cHAdminId, isPermanent, options)];
|
|
5717
5736
|
case 1:
|
|
5718
5737
|
localVarAxiosArgs = _a.sent();
|
|
5719
5738
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -5824,11 +5843,12 @@ exports.CHAdminsApiFactory = function (configuration, basePath, axios) {
|
|
|
5824
5843
|
*
|
|
5825
5844
|
* @summary Delete CHAdmin.
|
|
5826
5845
|
* @param {string} cHAdminId
|
|
5846
|
+
* @param {boolean} [isPermanent]
|
|
5827
5847
|
* @param {*} [options] Override http request option.
|
|
5828
5848
|
* @throws {RequiredError}
|
|
5829
5849
|
*/
|
|
5830
|
-
apiV1ChadminsCHAdminIdDelete: function (cHAdminId, options) {
|
|
5831
|
-
return localVarFp.apiV1ChadminsCHAdminIdDelete(cHAdminId, options).then(function (request) { return request(axios, basePath); });
|
|
5850
|
+
apiV1ChadminsCHAdminIdDelete: function (cHAdminId, isPermanent, options) {
|
|
5851
|
+
return localVarFp.apiV1ChadminsCHAdminIdDelete(cHAdminId, isPermanent, options).then(function (request) { return request(axios, basePath); });
|
|
5832
5852
|
},
|
|
5833
5853
|
/**
|
|
5834
5854
|
*
|
|
@@ -5897,13 +5917,14 @@ var CHAdminsApi = /** @class */ (function (_super) {
|
|
|
5897
5917
|
*
|
|
5898
5918
|
* @summary Delete CHAdmin.
|
|
5899
5919
|
* @param {string} cHAdminId
|
|
5920
|
+
* @param {boolean} [isPermanent]
|
|
5900
5921
|
* @param {*} [options] Override http request option.
|
|
5901
5922
|
* @throws {RequiredError}
|
|
5902
5923
|
* @memberof CHAdminsApi
|
|
5903
5924
|
*/
|
|
5904
|
-
CHAdminsApi.prototype.apiV1ChadminsCHAdminIdDelete = function (cHAdminId, options) {
|
|
5925
|
+
CHAdminsApi.prototype.apiV1ChadminsCHAdminIdDelete = function (cHAdminId, isPermanent, options) {
|
|
5905
5926
|
var _this = this;
|
|
5906
|
-
return exports.CHAdminsApiFp(this.configuration).apiV1ChadminsCHAdminIdDelete(cHAdminId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
5927
|
+
return exports.CHAdminsApiFp(this.configuration).apiV1ChadminsCHAdminIdDelete(cHAdminId, isPermanent, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
5907
5928
|
};
|
|
5908
5929
|
/**
|
|
5909
5930
|
*
|
|
@@ -5977,10 +5998,11 @@ exports.CHManagersApiAxiosParamCreator = function (configuration) {
|
|
|
5977
5998
|
*
|
|
5978
5999
|
* @summary Delete CHManager.
|
|
5979
6000
|
* @param {string} cHManagerId
|
|
6001
|
+
* @param {boolean} [isPermanent]
|
|
5980
6002
|
* @param {*} [options] Override http request option.
|
|
5981
6003
|
* @throws {RequiredError}
|
|
5982
6004
|
*/
|
|
5983
|
-
apiV1ChmanagersCHManagerIdDelete: function (cHManagerId, options) {
|
|
6005
|
+
apiV1ChmanagersCHManagerIdDelete: function (cHManagerId, isPermanent, options) {
|
|
5984
6006
|
if (options === void 0) { options = {}; }
|
|
5985
6007
|
return __awaiter(_this, void 0, void 0, function () {
|
|
5986
6008
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -6005,6 +6027,9 @@ exports.CHManagersApiAxiosParamCreator = function (configuration) {
|
|
|
6005
6027
|
// authentication oauth2 required
|
|
6006
6028
|
// oauth required
|
|
6007
6029
|
_a.sent();
|
|
6030
|
+
if (isPermanent !== undefined) {
|
|
6031
|
+
localVarQueryParameter['isPermanent'] = isPermanent;
|
|
6032
|
+
}
|
|
6008
6033
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6009
6034
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6010
6035
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -6245,15 +6270,16 @@ exports.CHManagersApiFp = function (configuration) {
|
|
|
6245
6270
|
*
|
|
6246
6271
|
* @summary Delete CHManager.
|
|
6247
6272
|
* @param {string} cHManagerId
|
|
6273
|
+
* @param {boolean} [isPermanent]
|
|
6248
6274
|
* @param {*} [options] Override http request option.
|
|
6249
6275
|
* @throws {RequiredError}
|
|
6250
6276
|
*/
|
|
6251
|
-
apiV1ChmanagersCHManagerIdDelete: function (cHManagerId, options) {
|
|
6277
|
+
apiV1ChmanagersCHManagerIdDelete: function (cHManagerId, isPermanent, options) {
|
|
6252
6278
|
return __awaiter(this, void 0, void 0, function () {
|
|
6253
6279
|
var localVarAxiosArgs;
|
|
6254
6280
|
return __generator(this, function (_a) {
|
|
6255
6281
|
switch (_a.label) {
|
|
6256
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ChmanagersCHManagerIdDelete(cHManagerId, options)];
|
|
6282
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ChmanagersCHManagerIdDelete(cHManagerId, isPermanent, options)];
|
|
6257
6283
|
case 1:
|
|
6258
6284
|
localVarAxiosArgs = _a.sent();
|
|
6259
6285
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -6364,11 +6390,12 @@ exports.CHManagersApiFactory = function (configuration, basePath, axios) {
|
|
|
6364
6390
|
*
|
|
6365
6391
|
* @summary Delete CHManager.
|
|
6366
6392
|
* @param {string} cHManagerId
|
|
6393
|
+
* @param {boolean} [isPermanent]
|
|
6367
6394
|
* @param {*} [options] Override http request option.
|
|
6368
6395
|
* @throws {RequiredError}
|
|
6369
6396
|
*/
|
|
6370
|
-
apiV1ChmanagersCHManagerIdDelete: function (cHManagerId, options) {
|
|
6371
|
-
return localVarFp.apiV1ChmanagersCHManagerIdDelete(cHManagerId, options).then(function (request) { return request(axios, basePath); });
|
|
6397
|
+
apiV1ChmanagersCHManagerIdDelete: function (cHManagerId, isPermanent, options) {
|
|
6398
|
+
return localVarFp.apiV1ChmanagersCHManagerIdDelete(cHManagerId, isPermanent, options).then(function (request) { return request(axios, basePath); });
|
|
6372
6399
|
},
|
|
6373
6400
|
/**
|
|
6374
6401
|
*
|
|
@@ -6437,13 +6464,14 @@ var CHManagersApi = /** @class */ (function (_super) {
|
|
|
6437
6464
|
*
|
|
6438
6465
|
* @summary Delete CHManager.
|
|
6439
6466
|
* @param {string} cHManagerId
|
|
6467
|
+
* @param {boolean} [isPermanent]
|
|
6440
6468
|
* @param {*} [options] Override http request option.
|
|
6441
6469
|
* @throws {RequiredError}
|
|
6442
6470
|
* @memberof CHManagersApi
|
|
6443
6471
|
*/
|
|
6444
|
-
CHManagersApi.prototype.apiV1ChmanagersCHManagerIdDelete = function (cHManagerId, options) {
|
|
6472
|
+
CHManagersApi.prototype.apiV1ChmanagersCHManagerIdDelete = function (cHManagerId, isPermanent, options) {
|
|
6445
6473
|
var _this = this;
|
|
6446
|
-
return exports.CHManagersApiFp(this.configuration).apiV1ChmanagersCHManagerIdDelete(cHManagerId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6474
|
+
return exports.CHManagersApiFp(this.configuration).apiV1ChmanagersCHManagerIdDelete(cHManagerId, isPermanent, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6447
6475
|
};
|
|
6448
6476
|
/**
|
|
6449
6477
|
*
|
|
@@ -8162,10 +8190,11 @@ exports.ContributorsApiAxiosParamCreator = function (configuration) {
|
|
|
8162
8190
|
*
|
|
8163
8191
|
* @summary Delete Contributor.
|
|
8164
8192
|
* @param {string} contributorId
|
|
8193
|
+
* @param {boolean} [isPermanent]
|
|
8165
8194
|
* @param {*} [options] Override http request option.
|
|
8166
8195
|
* @throws {RequiredError}
|
|
8167
8196
|
*/
|
|
8168
|
-
apiV1ContributorsContributorIdDelete: function (contributorId, options) {
|
|
8197
|
+
apiV1ContributorsContributorIdDelete: function (contributorId, isPermanent, options) {
|
|
8169
8198
|
if (options === void 0) { options = {}; }
|
|
8170
8199
|
return __awaiter(_this, void 0, void 0, function () {
|
|
8171
8200
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -8190,6 +8219,9 @@ exports.ContributorsApiAxiosParamCreator = function (configuration) {
|
|
|
8190
8219
|
// authentication oauth2 required
|
|
8191
8220
|
// oauth required
|
|
8192
8221
|
_a.sent();
|
|
8222
|
+
if (isPermanent !== undefined) {
|
|
8223
|
+
localVarQueryParameter['isPermanent'] = isPermanent;
|
|
8224
|
+
}
|
|
8193
8225
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8194
8226
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8195
8227
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -8756,15 +8788,16 @@ exports.ContributorsApiFp = function (configuration) {
|
|
|
8756
8788
|
*
|
|
8757
8789
|
* @summary Delete Contributor.
|
|
8758
8790
|
* @param {string} contributorId
|
|
8791
|
+
* @param {boolean} [isPermanent]
|
|
8759
8792
|
* @param {*} [options] Override http request option.
|
|
8760
8793
|
* @throws {RequiredError}
|
|
8761
8794
|
*/
|
|
8762
|
-
apiV1ContributorsContributorIdDelete: function (contributorId, options) {
|
|
8795
|
+
apiV1ContributorsContributorIdDelete: function (contributorId, isPermanent, options) {
|
|
8763
8796
|
return __awaiter(this, void 0, void 0, function () {
|
|
8764
8797
|
var localVarAxiosArgs;
|
|
8765
8798
|
return __generator(this, function (_a) {
|
|
8766
8799
|
switch (_a.label) {
|
|
8767
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ContributorsContributorIdDelete(contributorId, options)];
|
|
8800
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ContributorsContributorIdDelete(contributorId, isPermanent, options)];
|
|
8768
8801
|
case 1:
|
|
8769
8802
|
localVarAxiosArgs = _a.sent();
|
|
8770
8803
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -9013,11 +9046,12 @@ exports.ContributorsApiFactory = function (configuration, basePath, axios) {
|
|
|
9013
9046
|
*
|
|
9014
9047
|
* @summary Delete Contributor.
|
|
9015
9048
|
* @param {string} contributorId
|
|
9049
|
+
* @param {boolean} [isPermanent]
|
|
9016
9050
|
* @param {*} [options] Override http request option.
|
|
9017
9051
|
* @throws {RequiredError}
|
|
9018
9052
|
*/
|
|
9019
|
-
apiV1ContributorsContributorIdDelete: function (contributorId, options) {
|
|
9020
|
-
return localVarFp.apiV1ContributorsContributorIdDelete(contributorId, options).then(function (request) { return request(axios, basePath); });
|
|
9053
|
+
apiV1ContributorsContributorIdDelete: function (contributorId, isPermanent, options) {
|
|
9054
|
+
return localVarFp.apiV1ContributorsContributorIdDelete(contributorId, isPermanent, options).then(function (request) { return request(axios, basePath); });
|
|
9021
9055
|
},
|
|
9022
9056
|
/**
|
|
9023
9057
|
*
|
|
@@ -9164,13 +9198,14 @@ var ContributorsApi = /** @class */ (function (_super) {
|
|
|
9164
9198
|
*
|
|
9165
9199
|
* @summary Delete Contributor.
|
|
9166
9200
|
* @param {string} contributorId
|
|
9201
|
+
* @param {boolean} [isPermanent]
|
|
9167
9202
|
* @param {*} [options] Override http request option.
|
|
9168
9203
|
* @throws {RequiredError}
|
|
9169
9204
|
* @memberof ContributorsApi
|
|
9170
9205
|
*/
|
|
9171
|
-
ContributorsApi.prototype.apiV1ContributorsContributorIdDelete = function (contributorId, options) {
|
|
9206
|
+
ContributorsApi.prototype.apiV1ContributorsContributorIdDelete = function (contributorId, isPermanent, options) {
|
|
9172
9207
|
var _this = this;
|
|
9173
|
-
return exports.ContributorsApiFp(this.configuration).apiV1ContributorsContributorIdDelete(contributorId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
9208
|
+
return exports.ContributorsApiFp(this.configuration).apiV1ContributorsContributorIdDelete(contributorId, isPermanent, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
9174
9209
|
};
|
|
9175
9210
|
/**
|
|
9176
9211
|
*
|
|
@@ -9334,10 +9369,11 @@ exports.CountriesApiAxiosParamCreator = function (configuration) {
|
|
|
9334
9369
|
*
|
|
9335
9370
|
* @summary Delete country.
|
|
9336
9371
|
* @param {string} countryId
|
|
9372
|
+
* @param {boolean} [isPermanent] Admin only
|
|
9337
9373
|
* @param {*} [options] Override http request option.
|
|
9338
9374
|
* @throws {RequiredError}
|
|
9339
9375
|
*/
|
|
9340
|
-
apiV1CountriesCountryIdDelete: function (countryId, options) {
|
|
9376
|
+
apiV1CountriesCountryIdDelete: function (countryId, isPermanent, options) {
|
|
9341
9377
|
if (options === void 0) { options = {}; }
|
|
9342
9378
|
return __awaiter(_this, void 0, void 0, function () {
|
|
9343
9379
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -9362,6 +9398,9 @@ exports.CountriesApiAxiosParamCreator = function (configuration) {
|
|
|
9362
9398
|
// authentication oauth2 required
|
|
9363
9399
|
// oauth required
|
|
9364
9400
|
_a.sent();
|
|
9401
|
+
if (isPermanent !== undefined) {
|
|
9402
|
+
localVarQueryParameter['isPermanent'] = isPermanent;
|
|
9403
|
+
}
|
|
9365
9404
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9366
9405
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9367
9406
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -9952,15 +9991,16 @@ exports.CountriesApiFp = function (configuration) {
|
|
|
9952
9991
|
*
|
|
9953
9992
|
* @summary Delete country.
|
|
9954
9993
|
* @param {string} countryId
|
|
9994
|
+
* @param {boolean} [isPermanent] Admin only
|
|
9955
9995
|
* @param {*} [options] Override http request option.
|
|
9956
9996
|
* @throws {RequiredError}
|
|
9957
9997
|
*/
|
|
9958
|
-
apiV1CountriesCountryIdDelete: function (countryId, options) {
|
|
9998
|
+
apiV1CountriesCountryIdDelete: function (countryId, isPermanent, options) {
|
|
9959
9999
|
return __awaiter(this, void 0, void 0, function () {
|
|
9960
10000
|
var localVarAxiosArgs;
|
|
9961
10001
|
return __generator(this, function (_a) {
|
|
9962
10002
|
switch (_a.label) {
|
|
9963
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1CountriesCountryIdDelete(countryId, options)];
|
|
10003
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1CountriesCountryIdDelete(countryId, isPermanent, options)];
|
|
9964
10004
|
case 1:
|
|
9965
10005
|
localVarAxiosArgs = _a.sent();
|
|
9966
10006
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -10223,11 +10263,12 @@ exports.CountriesApiFactory = function (configuration, basePath, axios) {
|
|
|
10223
10263
|
*
|
|
10224
10264
|
* @summary Delete country.
|
|
10225
10265
|
* @param {string} countryId
|
|
10266
|
+
* @param {boolean} [isPermanent] Admin only
|
|
10226
10267
|
* @param {*} [options] Override http request option.
|
|
10227
10268
|
* @throws {RequiredError}
|
|
10228
10269
|
*/
|
|
10229
|
-
apiV1CountriesCountryIdDelete: function (countryId, options) {
|
|
10230
|
-
return localVarFp.apiV1CountriesCountryIdDelete(countryId, options).then(function (request) { return request(axios, basePath); });
|
|
10270
|
+
apiV1CountriesCountryIdDelete: function (countryId, isPermanent, options) {
|
|
10271
|
+
return localVarFp.apiV1CountriesCountryIdDelete(countryId, isPermanent, options).then(function (request) { return request(axios, basePath); });
|
|
10231
10272
|
},
|
|
10232
10273
|
/**
|
|
10233
10274
|
*
|
|
@@ -10378,13 +10419,14 @@ var CountriesApi = /** @class */ (function (_super) {
|
|
|
10378
10419
|
*
|
|
10379
10420
|
* @summary Delete country.
|
|
10380
10421
|
* @param {string} countryId
|
|
10422
|
+
* @param {boolean} [isPermanent] Admin only
|
|
10381
10423
|
* @param {*} [options] Override http request option.
|
|
10382
10424
|
* @throws {RequiredError}
|
|
10383
10425
|
* @memberof CountriesApi
|
|
10384
10426
|
*/
|
|
10385
|
-
CountriesApi.prototype.apiV1CountriesCountryIdDelete = function (countryId, options) {
|
|
10427
|
+
CountriesApi.prototype.apiV1CountriesCountryIdDelete = function (countryId, isPermanent, options) {
|
|
10386
10428
|
var _this = this;
|
|
10387
|
-
return exports.CountriesApiFp(this.configuration).apiV1CountriesCountryIdDelete(countryId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
10429
|
+
return exports.CountriesApiFp(this.configuration).apiV1CountriesCountryIdDelete(countryId, isPermanent, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
10388
10430
|
};
|
|
10389
10431
|
/**
|
|
10390
10432
|
*
|
|
@@ -10680,10 +10722,11 @@ exports.DealsApiAxiosParamCreator = function (configuration) {
|
|
|
10680
10722
|
*
|
|
10681
10723
|
* @summary Delete deal.
|
|
10682
10724
|
* @param {string} dealId
|
|
10725
|
+
* @param {boolean} [isPermanent]
|
|
10683
10726
|
* @param {*} [options] Override http request option.
|
|
10684
10727
|
* @throws {RequiredError}
|
|
10685
10728
|
*/
|
|
10686
|
-
apiV1DealsDealIdDelete: function (dealId, options) {
|
|
10729
|
+
apiV1DealsDealIdDelete: function (dealId, isPermanent, options) {
|
|
10687
10730
|
if (options === void 0) { options = {}; }
|
|
10688
10731
|
return __awaiter(_this, void 0, void 0, function () {
|
|
10689
10732
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -10708,6 +10751,9 @@ exports.DealsApiAxiosParamCreator = function (configuration) {
|
|
|
10708
10751
|
// authentication oauth2 required
|
|
10709
10752
|
// oauth required
|
|
10710
10753
|
_a.sent();
|
|
10754
|
+
if (isPermanent !== undefined) {
|
|
10755
|
+
localVarQueryParameter['isPermanent'] = isPermanent;
|
|
10756
|
+
}
|
|
10711
10757
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10712
10758
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10713
10759
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -10860,10 +10906,11 @@ exports.DealsApiAxiosParamCreator = function (configuration) {
|
|
|
10860
10906
|
* @summary Delete DealPackage.
|
|
10861
10907
|
* @param {string} dealId
|
|
10862
10908
|
* @param {string} packageId
|
|
10909
|
+
* @param {boolean} [isPermanent]
|
|
10863
10910
|
* @param {*} [options] Override http request option.
|
|
10864
10911
|
* @throws {RequiredError}
|
|
10865
10912
|
*/
|
|
10866
|
-
apiV1DealsDealIdPackagesPackageIdDelete: function (dealId, packageId, options) {
|
|
10913
|
+
apiV1DealsDealIdPackagesPackageIdDelete: function (dealId, packageId, isPermanent, options) {
|
|
10867
10914
|
if (options === void 0) { options = {}; }
|
|
10868
10915
|
return __awaiter(_this, void 0, void 0, function () {
|
|
10869
10916
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -10891,6 +10938,9 @@ exports.DealsApiAxiosParamCreator = function (configuration) {
|
|
|
10891
10938
|
// authentication oauth2 required
|
|
10892
10939
|
// oauth required
|
|
10893
10940
|
_a.sent();
|
|
10941
|
+
if (isPermanent !== undefined) {
|
|
10942
|
+
localVarQueryParameter['isPermanent'] = isPermanent;
|
|
10943
|
+
}
|
|
10894
10944
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10895
10945
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10896
10946
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -11714,15 +11764,16 @@ exports.DealsApiFp = function (configuration) {
|
|
|
11714
11764
|
*
|
|
11715
11765
|
* @summary Delete deal.
|
|
11716
11766
|
* @param {string} dealId
|
|
11767
|
+
* @param {boolean} [isPermanent]
|
|
11717
11768
|
* @param {*} [options] Override http request option.
|
|
11718
11769
|
* @throws {RequiredError}
|
|
11719
11770
|
*/
|
|
11720
|
-
apiV1DealsDealIdDelete: function (dealId, options) {
|
|
11771
|
+
apiV1DealsDealIdDelete: function (dealId, isPermanent, options) {
|
|
11721
11772
|
return __awaiter(this, void 0, void 0, function () {
|
|
11722
11773
|
var localVarAxiosArgs;
|
|
11723
11774
|
return __generator(this, function (_a) {
|
|
11724
11775
|
switch (_a.label) {
|
|
11725
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DealsDealIdDelete(dealId, options)];
|
|
11776
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DealsDealIdDelete(dealId, isPermanent, options)];
|
|
11726
11777
|
case 1:
|
|
11727
11778
|
localVarAxiosArgs = _a.sent();
|
|
11728
11779
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -11787,15 +11838,16 @@ exports.DealsApiFp = function (configuration) {
|
|
|
11787
11838
|
* @summary Delete DealPackage.
|
|
11788
11839
|
* @param {string} dealId
|
|
11789
11840
|
* @param {string} packageId
|
|
11841
|
+
* @param {boolean} [isPermanent]
|
|
11790
11842
|
* @param {*} [options] Override http request option.
|
|
11791
11843
|
* @throws {RequiredError}
|
|
11792
11844
|
*/
|
|
11793
|
-
apiV1DealsDealIdPackagesPackageIdDelete: function (dealId, packageId, options) {
|
|
11845
|
+
apiV1DealsDealIdPackagesPackageIdDelete: function (dealId, packageId, isPermanent, options) {
|
|
11794
11846
|
return __awaiter(this, void 0, void 0, function () {
|
|
11795
11847
|
var localVarAxiosArgs;
|
|
11796
11848
|
return __generator(this, function (_a) {
|
|
11797
11849
|
switch (_a.label) {
|
|
11798
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DealsDealIdPackagesPackageIdDelete(dealId, packageId, options)];
|
|
11850
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DealsDealIdPackagesPackageIdDelete(dealId, packageId, isPermanent, options)];
|
|
11799
11851
|
case 1:
|
|
11800
11852
|
localVarAxiosArgs = _a.sent();
|
|
11801
11853
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -12136,11 +12188,12 @@ exports.DealsApiFactory = function (configuration, basePath, axios) {
|
|
|
12136
12188
|
*
|
|
12137
12189
|
* @summary Delete deal.
|
|
12138
12190
|
* @param {string} dealId
|
|
12191
|
+
* @param {boolean} [isPermanent]
|
|
12139
12192
|
* @param {*} [options] Override http request option.
|
|
12140
12193
|
* @throws {RequiredError}
|
|
12141
12194
|
*/
|
|
12142
|
-
apiV1DealsDealIdDelete: function (dealId, options) {
|
|
12143
|
-
return localVarFp.apiV1DealsDealIdDelete(dealId, options).then(function (request) { return request(axios, basePath); });
|
|
12195
|
+
apiV1DealsDealIdDelete: function (dealId, isPermanent, options) {
|
|
12196
|
+
return localVarFp.apiV1DealsDealIdDelete(dealId, isPermanent, options).then(function (request) { return request(axios, basePath); });
|
|
12144
12197
|
},
|
|
12145
12198
|
/**
|
|
12146
12199
|
*
|
|
@@ -12179,11 +12232,12 @@ exports.DealsApiFactory = function (configuration, basePath, axios) {
|
|
|
12179
12232
|
* @summary Delete DealPackage.
|
|
12180
12233
|
* @param {string} dealId
|
|
12181
12234
|
* @param {string} packageId
|
|
12235
|
+
* @param {boolean} [isPermanent]
|
|
12182
12236
|
* @param {*} [options] Override http request option.
|
|
12183
12237
|
* @throws {RequiredError}
|
|
12184
12238
|
*/
|
|
12185
|
-
apiV1DealsDealIdPackagesPackageIdDelete: function (dealId, packageId, options) {
|
|
12186
|
-
return localVarFp.apiV1DealsDealIdPackagesPackageIdDelete(dealId, packageId, options).then(function (request) { return request(axios, basePath); });
|
|
12239
|
+
apiV1DealsDealIdPackagesPackageIdDelete: function (dealId, packageId, isPermanent, options) {
|
|
12240
|
+
return localVarFp.apiV1DealsDealIdPackagesPackageIdDelete(dealId, packageId, isPermanent, options).then(function (request) { return request(axios, basePath); });
|
|
12187
12241
|
},
|
|
12188
12242
|
/**
|
|
12189
12243
|
*
|
|
@@ -12392,13 +12446,14 @@ var DealsApi = /** @class */ (function (_super) {
|
|
|
12392
12446
|
*
|
|
12393
12447
|
* @summary Delete deal.
|
|
12394
12448
|
* @param {string} dealId
|
|
12449
|
+
* @param {boolean} [isPermanent]
|
|
12395
12450
|
* @param {*} [options] Override http request option.
|
|
12396
12451
|
* @throws {RequiredError}
|
|
12397
12452
|
* @memberof DealsApi
|
|
12398
12453
|
*/
|
|
12399
|
-
DealsApi.prototype.apiV1DealsDealIdDelete = function (dealId, options) {
|
|
12454
|
+
DealsApi.prototype.apiV1DealsDealIdDelete = function (dealId, isPermanent, options) {
|
|
12400
12455
|
var _this = this;
|
|
12401
|
-
return exports.DealsApiFp(this.configuration).apiV1DealsDealIdDelete(dealId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
12456
|
+
return exports.DealsApiFp(this.configuration).apiV1DealsDealIdDelete(dealId, isPermanent, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
12402
12457
|
};
|
|
12403
12458
|
/**
|
|
12404
12459
|
*
|
|
@@ -12441,13 +12496,14 @@ var DealsApi = /** @class */ (function (_super) {
|
|
|
12441
12496
|
* @summary Delete DealPackage.
|
|
12442
12497
|
* @param {string} dealId
|
|
12443
12498
|
* @param {string} packageId
|
|
12499
|
+
* @param {boolean} [isPermanent]
|
|
12444
12500
|
* @param {*} [options] Override http request option.
|
|
12445
12501
|
* @throws {RequiredError}
|
|
12446
12502
|
* @memberof DealsApi
|
|
12447
12503
|
*/
|
|
12448
|
-
DealsApi.prototype.apiV1DealsDealIdPackagesPackageIdDelete = function (dealId, packageId, options) {
|
|
12504
|
+
DealsApi.prototype.apiV1DealsDealIdPackagesPackageIdDelete = function (dealId, packageId, isPermanent, options) {
|
|
12449
12505
|
var _this = this;
|
|
12450
|
-
return exports.DealsApiFp(this.configuration).apiV1DealsDealIdPackagesPackageIdDelete(dealId, packageId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
12506
|
+
return exports.DealsApiFp(this.configuration).apiV1DealsDealIdPackagesPackageIdDelete(dealId, packageId, isPermanent, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
12451
12507
|
};
|
|
12452
12508
|
/**
|
|
12453
12509
|
*
|
|
@@ -13027,10 +13083,11 @@ exports.DoctorAffiliationsApiAxiosParamCreator = function (configuration) {
|
|
|
13027
13083
|
*
|
|
13028
13084
|
* @summary Delete doctor affiliation.
|
|
13029
13085
|
* @param {string} id
|
|
13086
|
+
* @param {boolean} [isPermanent]
|
|
13030
13087
|
* @param {*} [options] Override http request option.
|
|
13031
13088
|
* @throws {RequiredError}
|
|
13032
13089
|
*/
|
|
13033
|
-
apiV1DoctoraffiliationsIdDelete: function (id, options) {
|
|
13090
|
+
apiV1DoctoraffiliationsIdDelete: function (id, isPermanent, options) {
|
|
13034
13091
|
if (options === void 0) { options = {}; }
|
|
13035
13092
|
return __awaiter(_this, void 0, void 0, function () {
|
|
13036
13093
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -13055,6 +13112,9 @@ exports.DoctorAffiliationsApiAxiosParamCreator = function (configuration) {
|
|
|
13055
13112
|
// authentication oauth2 required
|
|
13056
13113
|
// oauth required
|
|
13057
13114
|
_a.sent();
|
|
13115
|
+
if (isPermanent !== undefined) {
|
|
13116
|
+
localVarQueryParameter['isPermanent'] = isPermanent;
|
|
13117
|
+
}
|
|
13058
13118
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13059
13119
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13060
13120
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -13444,15 +13504,16 @@ exports.DoctorAffiliationsApiFp = function (configuration) {
|
|
|
13444
13504
|
*
|
|
13445
13505
|
* @summary Delete doctor affiliation.
|
|
13446
13506
|
* @param {string} id
|
|
13507
|
+
* @param {boolean} [isPermanent]
|
|
13447
13508
|
* @param {*} [options] Override http request option.
|
|
13448
13509
|
* @throws {RequiredError}
|
|
13449
13510
|
*/
|
|
13450
|
-
apiV1DoctoraffiliationsIdDelete: function (id, options) {
|
|
13511
|
+
apiV1DoctoraffiliationsIdDelete: function (id, isPermanent, options) {
|
|
13451
13512
|
return __awaiter(this, void 0, void 0, function () {
|
|
13452
13513
|
var localVarAxiosArgs;
|
|
13453
13514
|
return __generator(this, function (_a) {
|
|
13454
13515
|
switch (_a.label) {
|
|
13455
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctoraffiliationsIdDelete(id, options)];
|
|
13516
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctoraffiliationsIdDelete(id, isPermanent, options)];
|
|
13456
13517
|
case 1:
|
|
13457
13518
|
localVarAxiosArgs = _a.sent();
|
|
13458
13519
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -13657,11 +13718,12 @@ exports.DoctorAffiliationsApiFactory = function (configuration, basePath, axios)
|
|
|
13657
13718
|
*
|
|
13658
13719
|
* @summary Delete doctor affiliation.
|
|
13659
13720
|
* @param {string} id
|
|
13721
|
+
* @param {boolean} [isPermanent]
|
|
13660
13722
|
* @param {*} [options] Override http request option.
|
|
13661
13723
|
* @throws {RequiredError}
|
|
13662
13724
|
*/
|
|
13663
|
-
apiV1DoctoraffiliationsIdDelete: function (id, options) {
|
|
13664
|
-
return localVarFp.apiV1DoctoraffiliationsIdDelete(id, options).then(function (request) { return request(axios, basePath); });
|
|
13725
|
+
apiV1DoctoraffiliationsIdDelete: function (id, isPermanent, options) {
|
|
13726
|
+
return localVarFp.apiV1DoctoraffiliationsIdDelete(id, isPermanent, options).then(function (request) { return request(axios, basePath); });
|
|
13665
13727
|
},
|
|
13666
13728
|
/**
|
|
13667
13729
|
*
|
|
@@ -13826,13 +13888,14 @@ var DoctorAffiliationsApi = /** @class */ (function (_super) {
|
|
|
13826
13888
|
*
|
|
13827
13889
|
* @summary Delete doctor affiliation.
|
|
13828
13890
|
* @param {string} id
|
|
13891
|
+
* @param {boolean} [isPermanent]
|
|
13829
13892
|
* @param {*} [options] Override http request option.
|
|
13830
13893
|
* @throws {RequiredError}
|
|
13831
13894
|
* @memberof DoctorAffiliationsApi
|
|
13832
13895
|
*/
|
|
13833
|
-
DoctorAffiliationsApi.prototype.apiV1DoctoraffiliationsIdDelete = function (id, options) {
|
|
13896
|
+
DoctorAffiliationsApi.prototype.apiV1DoctoraffiliationsIdDelete = function (id, isPermanent, options) {
|
|
13834
13897
|
var _this = this;
|
|
13835
|
-
return exports.DoctorAffiliationsApiFp(this.configuration).apiV1DoctoraffiliationsIdDelete(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
13898
|
+
return exports.DoctorAffiliationsApiFp(this.configuration).apiV1DoctoraffiliationsIdDelete(id, isPermanent, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
13836
13899
|
};
|
|
13837
13900
|
/**
|
|
13838
13901
|
*
|
|
@@ -14181,10 +14244,11 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
14181
14244
|
*
|
|
14182
14245
|
* @summary Delete Doctor.
|
|
14183
14246
|
* @param {string} doctorId
|
|
14247
|
+
* @param {boolean} [isPermanent]
|
|
14184
14248
|
* @param {*} [options] Override http request option.
|
|
14185
14249
|
* @throws {RequiredError}
|
|
14186
14250
|
*/
|
|
14187
|
-
apiV1DoctorsDoctorIdDelete: function (doctorId, options) {
|
|
14251
|
+
apiV1DoctorsDoctorIdDelete: function (doctorId, isPermanent, options) {
|
|
14188
14252
|
if (options === void 0) { options = {}; }
|
|
14189
14253
|
return __awaiter(_this, void 0, void 0, function () {
|
|
14190
14254
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -14209,6 +14273,9 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
14209
14273
|
// authentication oauth2 required
|
|
14210
14274
|
// oauth required
|
|
14211
14275
|
_a.sent();
|
|
14276
|
+
if (isPermanent !== undefined) {
|
|
14277
|
+
localVarQueryParameter['isPermanent'] = isPermanent;
|
|
14278
|
+
}
|
|
14212
14279
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14213
14280
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14214
14281
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -16026,15 +16093,16 @@ exports.DoctorsApiFp = function (configuration) {
|
|
|
16026
16093
|
*
|
|
16027
16094
|
* @summary Delete Doctor.
|
|
16028
16095
|
* @param {string} doctorId
|
|
16096
|
+
* @param {boolean} [isPermanent]
|
|
16029
16097
|
* @param {*} [options] Override http request option.
|
|
16030
16098
|
* @throws {RequiredError}
|
|
16031
16099
|
*/
|
|
16032
|
-
apiV1DoctorsDoctorIdDelete: function (doctorId, options) {
|
|
16100
|
+
apiV1DoctorsDoctorIdDelete: function (doctorId, isPermanent, options) {
|
|
16033
16101
|
return __awaiter(this, void 0, void 0, function () {
|
|
16034
16102
|
var localVarAxiosArgs;
|
|
16035
16103
|
return __generator(this, function (_a) {
|
|
16036
16104
|
switch (_a.label) {
|
|
16037
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdDelete(doctorId, options)];
|
|
16105
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdDelete(doctorId, isPermanent, options)];
|
|
16038
16106
|
case 1:
|
|
16039
16107
|
localVarAxiosArgs = _a.sent();
|
|
16040
16108
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -16821,11 +16889,12 @@ exports.DoctorsApiFactory = function (configuration, basePath, axios) {
|
|
|
16821
16889
|
*
|
|
16822
16890
|
* @summary Delete Doctor.
|
|
16823
16891
|
* @param {string} doctorId
|
|
16892
|
+
* @param {boolean} [isPermanent]
|
|
16824
16893
|
* @param {*} [options] Override http request option.
|
|
16825
16894
|
* @throws {RequiredError}
|
|
16826
16895
|
*/
|
|
16827
|
-
apiV1DoctorsDoctorIdDelete: function (doctorId, options) {
|
|
16828
|
-
return localVarFp.apiV1DoctorsDoctorIdDelete(doctorId, options).then(function (request) { return request(axios, basePath); });
|
|
16896
|
+
apiV1DoctorsDoctorIdDelete: function (doctorId, isPermanent, options) {
|
|
16897
|
+
return localVarFp.apiV1DoctorsDoctorIdDelete(doctorId, isPermanent, options).then(function (request) { return request(axios, basePath); });
|
|
16829
16898
|
},
|
|
16830
16899
|
/**
|
|
16831
16900
|
*
|
|
@@ -17310,13 +17379,14 @@ var DoctorsApi = /** @class */ (function (_super) {
|
|
|
17310
17379
|
*
|
|
17311
17380
|
* @summary Delete Doctor.
|
|
17312
17381
|
* @param {string} doctorId
|
|
17382
|
+
* @param {boolean} [isPermanent]
|
|
17313
17383
|
* @param {*} [options] Override http request option.
|
|
17314
17384
|
* @throws {RequiredError}
|
|
17315
17385
|
* @memberof DoctorsApi
|
|
17316
17386
|
*/
|
|
17317
|
-
DoctorsApi.prototype.apiV1DoctorsDoctorIdDelete = function (doctorId, options) {
|
|
17387
|
+
DoctorsApi.prototype.apiV1DoctorsDoctorIdDelete = function (doctorId, isPermanent, options) {
|
|
17318
17388
|
var _this = this;
|
|
17319
|
-
return exports.DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdDelete(doctorId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
17389
|
+
return exports.DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdDelete(doctorId, isPermanent, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
17320
17390
|
};
|
|
17321
17391
|
/**
|
|
17322
17392
|
*
|
|
@@ -18366,10 +18436,11 @@ exports.FaqCategoriesApiAxiosParamCreator = function (configuration) {
|
|
|
18366
18436
|
* @summary Delete FaqCategory.
|
|
18367
18437
|
* @param {string} faqCategoryId
|
|
18368
18438
|
* @param {boolean} [forceDelete]
|
|
18439
|
+
* @param {boolean} [isPermanent]
|
|
18369
18440
|
* @param {*} [options] Override http request option.
|
|
18370
18441
|
* @throws {RequiredError}
|
|
18371
18442
|
*/
|
|
18372
|
-
apiV1FaqcategoriesFaqCategoryIdDelete: function (faqCategoryId, forceDelete, options) {
|
|
18443
|
+
apiV1FaqcategoriesFaqCategoryIdDelete: function (faqCategoryId, forceDelete, isPermanent, options) {
|
|
18373
18444
|
if (options === void 0) { options = {}; }
|
|
18374
18445
|
return __awaiter(_this, void 0, void 0, function () {
|
|
18375
18446
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -18397,6 +18468,9 @@ exports.FaqCategoriesApiAxiosParamCreator = function (configuration) {
|
|
|
18397
18468
|
if (forceDelete !== undefined) {
|
|
18398
18469
|
localVarQueryParameter['forceDelete'] = forceDelete;
|
|
18399
18470
|
}
|
|
18471
|
+
if (isPermanent !== undefined) {
|
|
18472
|
+
localVarQueryParameter['isPermanent'] = isPermanent;
|
|
18473
|
+
}
|
|
18400
18474
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18401
18475
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18402
18476
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -18693,15 +18767,16 @@ exports.FaqCategoriesApiFp = function (configuration) {
|
|
|
18693
18767
|
* @summary Delete FaqCategory.
|
|
18694
18768
|
* @param {string} faqCategoryId
|
|
18695
18769
|
* @param {boolean} [forceDelete]
|
|
18770
|
+
* @param {boolean} [isPermanent]
|
|
18696
18771
|
* @param {*} [options] Override http request option.
|
|
18697
18772
|
* @throws {RequiredError}
|
|
18698
18773
|
*/
|
|
18699
|
-
apiV1FaqcategoriesFaqCategoryIdDelete: function (faqCategoryId, forceDelete, options) {
|
|
18774
|
+
apiV1FaqcategoriesFaqCategoryIdDelete: function (faqCategoryId, forceDelete, isPermanent, options) {
|
|
18700
18775
|
return __awaiter(this, void 0, void 0, function () {
|
|
18701
18776
|
var localVarAxiosArgs;
|
|
18702
18777
|
return __generator(this, function (_a) {
|
|
18703
18778
|
switch (_a.label) {
|
|
18704
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1FaqcategoriesFaqCategoryIdDelete(faqCategoryId, forceDelete, options)];
|
|
18779
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1FaqcategoriesFaqCategoryIdDelete(faqCategoryId, forceDelete, isPermanent, options)];
|
|
18705
18780
|
case 1:
|
|
18706
18781
|
localVarAxiosArgs = _a.sent();
|
|
18707
18782
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -18837,11 +18912,12 @@ exports.FaqCategoriesApiFactory = function (configuration, basePath, axios) {
|
|
|
18837
18912
|
* @summary Delete FaqCategory.
|
|
18838
18913
|
* @param {string} faqCategoryId
|
|
18839
18914
|
* @param {boolean} [forceDelete]
|
|
18915
|
+
* @param {boolean} [isPermanent]
|
|
18840
18916
|
* @param {*} [options] Override http request option.
|
|
18841
18917
|
* @throws {RequiredError}
|
|
18842
18918
|
*/
|
|
18843
|
-
apiV1FaqcategoriesFaqCategoryIdDelete: function (faqCategoryId, forceDelete, options) {
|
|
18844
|
-
return localVarFp.apiV1FaqcategoriesFaqCategoryIdDelete(faqCategoryId, forceDelete, options).then(function (request) { return request(axios, basePath); });
|
|
18919
|
+
apiV1FaqcategoriesFaqCategoryIdDelete: function (faqCategoryId, forceDelete, isPermanent, options) {
|
|
18920
|
+
return localVarFp.apiV1FaqcategoriesFaqCategoryIdDelete(faqCategoryId, forceDelete, isPermanent, options).then(function (request) { return request(axios, basePath); });
|
|
18845
18921
|
},
|
|
18846
18922
|
/**
|
|
18847
18923
|
*
|
|
@@ -18925,13 +19001,14 @@ var FaqCategoriesApi = /** @class */ (function (_super) {
|
|
|
18925
19001
|
* @summary Delete FaqCategory.
|
|
18926
19002
|
* @param {string} faqCategoryId
|
|
18927
19003
|
* @param {boolean} [forceDelete]
|
|
19004
|
+
* @param {boolean} [isPermanent]
|
|
18928
19005
|
* @param {*} [options] Override http request option.
|
|
18929
19006
|
* @throws {RequiredError}
|
|
18930
19007
|
* @memberof FaqCategoriesApi
|
|
18931
19008
|
*/
|
|
18932
|
-
FaqCategoriesApi.prototype.apiV1FaqcategoriesFaqCategoryIdDelete = function (faqCategoryId, forceDelete, options) {
|
|
19009
|
+
FaqCategoriesApi.prototype.apiV1FaqcategoriesFaqCategoryIdDelete = function (faqCategoryId, forceDelete, isPermanent, options) {
|
|
18933
19010
|
var _this = this;
|
|
18934
|
-
return exports.FaqCategoriesApiFp(this.configuration).apiV1FaqcategoriesFaqCategoryIdDelete(faqCategoryId, forceDelete, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
19011
|
+
return exports.FaqCategoriesApiFp(this.configuration).apiV1FaqcategoriesFaqCategoryIdDelete(faqCategoryId, forceDelete, isPermanent, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
18935
19012
|
};
|
|
18936
19013
|
/**
|
|
18937
19014
|
*
|
|
@@ -19022,10 +19099,11 @@ exports.FaqsApiAxiosParamCreator = function (configuration) {
|
|
|
19022
19099
|
* @summary Delete faq.
|
|
19023
19100
|
* @param {string} faqId
|
|
19024
19101
|
* @param {boolean} [forceDelete]
|
|
19102
|
+
* @param {boolean} [isPermanent]
|
|
19025
19103
|
* @param {*} [options] Override http request option.
|
|
19026
19104
|
* @throws {RequiredError}
|
|
19027
19105
|
*/
|
|
19028
|
-
apiV1FaqsFaqIdDelete: function (faqId, forceDelete, options) {
|
|
19106
|
+
apiV1FaqsFaqIdDelete: function (faqId, forceDelete, isPermanent, options) {
|
|
19029
19107
|
if (options === void 0) { options = {}; }
|
|
19030
19108
|
return __awaiter(_this, void 0, void 0, function () {
|
|
19031
19109
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -19053,6 +19131,9 @@ exports.FaqsApiAxiosParamCreator = function (configuration) {
|
|
|
19053
19131
|
if (forceDelete !== undefined) {
|
|
19054
19132
|
localVarQueryParameter['forceDelete'] = forceDelete;
|
|
19055
19133
|
}
|
|
19134
|
+
if (isPermanent !== undefined) {
|
|
19135
|
+
localVarQueryParameter['isPermanent'] = isPermanent;
|
|
19136
|
+
}
|
|
19056
19137
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
19057
19138
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
19058
19139
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -19812,15 +19893,16 @@ exports.FaqsApiFp = function (configuration) {
|
|
|
19812
19893
|
* @summary Delete faq.
|
|
19813
19894
|
* @param {string} faqId
|
|
19814
19895
|
* @param {boolean} [forceDelete]
|
|
19896
|
+
* @param {boolean} [isPermanent]
|
|
19815
19897
|
* @param {*} [options] Override http request option.
|
|
19816
19898
|
* @throws {RequiredError}
|
|
19817
19899
|
*/
|
|
19818
|
-
apiV1FaqsFaqIdDelete: function (faqId, forceDelete, options) {
|
|
19900
|
+
apiV1FaqsFaqIdDelete: function (faqId, forceDelete, isPermanent, options) {
|
|
19819
19901
|
return __awaiter(this, void 0, void 0, function () {
|
|
19820
19902
|
var localVarAxiosArgs;
|
|
19821
19903
|
return __generator(this, function (_a) {
|
|
19822
19904
|
switch (_a.label) {
|
|
19823
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1FaqsFaqIdDelete(faqId, forceDelete, options)];
|
|
19905
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1FaqsFaqIdDelete(faqId, forceDelete, isPermanent, options)];
|
|
19824
19906
|
case 1:
|
|
19825
19907
|
localVarAxiosArgs = _a.sent();
|
|
19826
19908
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -20155,11 +20237,12 @@ exports.FaqsApiFactory = function (configuration, basePath, axios) {
|
|
|
20155
20237
|
* @summary Delete faq.
|
|
20156
20238
|
* @param {string} faqId
|
|
20157
20239
|
* @param {boolean} [forceDelete]
|
|
20240
|
+
* @param {boolean} [isPermanent]
|
|
20158
20241
|
* @param {*} [options] Override http request option.
|
|
20159
20242
|
* @throws {RequiredError}
|
|
20160
20243
|
*/
|
|
20161
|
-
apiV1FaqsFaqIdDelete: function (faqId, forceDelete, options) {
|
|
20162
|
-
return localVarFp.apiV1FaqsFaqIdDelete(faqId, forceDelete, options).then(function (request) { return request(axios, basePath); });
|
|
20244
|
+
apiV1FaqsFaqIdDelete: function (faqId, forceDelete, isPermanent, options) {
|
|
20245
|
+
return localVarFp.apiV1FaqsFaqIdDelete(faqId, forceDelete, isPermanent, options).then(function (request) { return request(axios, basePath); });
|
|
20163
20246
|
},
|
|
20164
20247
|
/**
|
|
20165
20248
|
*
|
|
@@ -20352,13 +20435,14 @@ var FaqsApi = /** @class */ (function (_super) {
|
|
|
20352
20435
|
* @summary Delete faq.
|
|
20353
20436
|
* @param {string} faqId
|
|
20354
20437
|
* @param {boolean} [forceDelete]
|
|
20438
|
+
* @param {boolean} [isPermanent]
|
|
20355
20439
|
* @param {*} [options] Override http request option.
|
|
20356
20440
|
* @throws {RequiredError}
|
|
20357
20441
|
* @memberof FaqsApi
|
|
20358
20442
|
*/
|
|
20359
|
-
FaqsApi.prototype.apiV1FaqsFaqIdDelete = function (faqId, forceDelete, options) {
|
|
20443
|
+
FaqsApi.prototype.apiV1FaqsFaqIdDelete = function (faqId, forceDelete, isPermanent, options) {
|
|
20360
20444
|
var _this = this;
|
|
20361
|
-
return exports.FaqsApiFp(this.configuration).apiV1FaqsFaqIdDelete(faqId, forceDelete, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
20445
|
+
return exports.FaqsApiFp(this.configuration).apiV1FaqsFaqIdDelete(faqId, forceDelete, isPermanent, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
20362
20446
|
};
|
|
20363
20447
|
/**
|
|
20364
20448
|
*
|
|
@@ -21512,10 +21596,11 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
21512
21596
|
*
|
|
21513
21597
|
* @summary Delete Hospital.
|
|
21514
21598
|
* @param {string} hospitalId
|
|
21599
|
+
* @param {boolean} [isPermanent]
|
|
21515
21600
|
* @param {*} [options] Override http request option.
|
|
21516
21601
|
* @throws {RequiredError}
|
|
21517
21602
|
*/
|
|
21518
|
-
apiV1HospitalsHospitalIdDelete: function (hospitalId, options) {
|
|
21603
|
+
apiV1HospitalsHospitalIdDelete: function (hospitalId, isPermanent, options) {
|
|
21519
21604
|
if (options === void 0) { options = {}; }
|
|
21520
21605
|
return __awaiter(_this, void 0, void 0, function () {
|
|
21521
21606
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -21540,6 +21625,9 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
21540
21625
|
// authentication oauth2 required
|
|
21541
21626
|
// oauth required
|
|
21542
21627
|
_a.sent();
|
|
21628
|
+
if (isPermanent !== undefined) {
|
|
21629
|
+
localVarQueryParameter['isPermanent'] = isPermanent;
|
|
21630
|
+
}
|
|
21543
21631
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
21544
21632
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21545
21633
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -21556,10 +21644,11 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
21556
21644
|
* @summary Delete HospitalEquipment
|
|
21557
21645
|
* @param {string} hospitalId
|
|
21558
21646
|
* @param {string} equipmentId
|
|
21647
|
+
* @param {boolean} [isPermanent]
|
|
21559
21648
|
* @param {*} [options] Override http request option.
|
|
21560
21649
|
* @throws {RequiredError}
|
|
21561
21650
|
*/
|
|
21562
|
-
apiV1HospitalsHospitalIdEquipmentsEquipmentIdDelete: function (hospitalId, equipmentId, options) {
|
|
21651
|
+
apiV1HospitalsHospitalIdEquipmentsEquipmentIdDelete: function (hospitalId, equipmentId, isPermanent, options) {
|
|
21563
21652
|
if (options === void 0) { options = {}; }
|
|
21564
21653
|
return __awaiter(_this, void 0, void 0, function () {
|
|
21565
21654
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -21587,6 +21676,9 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
21587
21676
|
// authentication oauth2 required
|
|
21588
21677
|
// oauth required
|
|
21589
21678
|
_a.sent();
|
|
21679
|
+
if (isPermanent !== undefined) {
|
|
21680
|
+
localVarQueryParameter['isPermanent'] = isPermanent;
|
|
21681
|
+
}
|
|
21590
21682
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
21591
21683
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21592
21684
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -22747,10 +22839,11 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
22747
22839
|
* @summary Delete Landing.
|
|
22748
22840
|
* @param {string} hospitalId
|
|
22749
22841
|
* @param {string} landingId
|
|
22842
|
+
* @param {boolean} [isPermanent]
|
|
22750
22843
|
* @param {*} [options] Override http request option.
|
|
22751
22844
|
* @throws {RequiredError}
|
|
22752
22845
|
*/
|
|
22753
|
-
apiV1HospitalsHospitalIdLandingsLandingIdDelete: function (hospitalId, landingId, options) {
|
|
22846
|
+
apiV1HospitalsHospitalIdLandingsLandingIdDelete: function (hospitalId, landingId, isPermanent, options) {
|
|
22754
22847
|
if (options === void 0) { options = {}; }
|
|
22755
22848
|
return __awaiter(_this, void 0, void 0, function () {
|
|
22756
22849
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -22778,6 +22871,9 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
22778
22871
|
// authentication oauth2 required
|
|
22779
22872
|
// oauth required
|
|
22780
22873
|
_a.sent();
|
|
22874
|
+
if (isPermanent !== undefined) {
|
|
22875
|
+
localVarQueryParameter['isPermanent'] = isPermanent;
|
|
22876
|
+
}
|
|
22781
22877
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
22782
22878
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
22783
22879
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -23637,10 +23733,11 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
23637
23733
|
* @summary Delete HospitalSpecialty.
|
|
23638
23734
|
* @param {string} hospitalId
|
|
23639
23735
|
* @param {string} hospitalSpecialtyId
|
|
23736
|
+
* @param {boolean} [isPermanent]
|
|
23640
23737
|
* @param {*} [options] Override http request option.
|
|
23641
23738
|
* @throws {RequiredError}
|
|
23642
23739
|
*/
|
|
23643
|
-
apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdDelete: function (hospitalId, hospitalSpecialtyId, options) {
|
|
23740
|
+
apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdDelete: function (hospitalId, hospitalSpecialtyId, isPermanent, options) {
|
|
23644
23741
|
if (options === void 0) { options = {}; }
|
|
23645
23742
|
return __awaiter(_this, void 0, void 0, function () {
|
|
23646
23743
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -23668,6 +23765,9 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
23668
23765
|
// authentication oauth2 required
|
|
23669
23766
|
// oauth required
|
|
23670
23767
|
_a.sent();
|
|
23768
|
+
if (isPermanent !== undefined) {
|
|
23769
|
+
localVarQueryParameter['isPermanent'] = isPermanent;
|
|
23770
|
+
}
|
|
23671
23771
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23672
23772
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23673
23773
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -24408,13 +24508,15 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
24408
24508
|
},
|
|
24409
24509
|
/**
|
|
24410
24510
|
*
|
|
24511
|
+
* @summary Delete HospitalService
|
|
24411
24512
|
* @param {string} hospitalId
|
|
24412
24513
|
* @param {string} specialtyId
|
|
24413
24514
|
* @param {string} serviceId
|
|
24515
|
+
* @param {boolean} [isPermanent]
|
|
24414
24516
|
* @param {*} [options] Override http request option.
|
|
24415
24517
|
* @throws {RequiredError}
|
|
24416
24518
|
*/
|
|
24417
|
-
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdDelete: function (hospitalId, specialtyId, serviceId, options) {
|
|
24519
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdDelete: function (hospitalId, specialtyId, serviceId, isPermanent, options) {
|
|
24418
24520
|
if (options === void 0) { options = {}; }
|
|
24419
24521
|
return __awaiter(_this, void 0, void 0, function () {
|
|
24420
24522
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -24445,6 +24547,9 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
24445
24547
|
// authentication oauth2 required
|
|
24446
24548
|
// oauth required
|
|
24447
24549
|
_a.sent();
|
|
24550
|
+
if (isPermanent !== undefined) {
|
|
24551
|
+
localVarQueryParameter['isPermanent'] = isPermanent;
|
|
24552
|
+
}
|
|
24448
24553
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
24449
24554
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
24450
24555
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -25605,15 +25710,16 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
25605
25710
|
*
|
|
25606
25711
|
* @summary Delete Hospital.
|
|
25607
25712
|
* @param {string} hospitalId
|
|
25713
|
+
* @param {boolean} [isPermanent]
|
|
25608
25714
|
* @param {*} [options] Override http request option.
|
|
25609
25715
|
* @throws {RequiredError}
|
|
25610
25716
|
*/
|
|
25611
|
-
apiV1HospitalsHospitalIdDelete: function (hospitalId, options) {
|
|
25717
|
+
apiV1HospitalsHospitalIdDelete: function (hospitalId, isPermanent, options) {
|
|
25612
25718
|
return __awaiter(this, void 0, void 0, function () {
|
|
25613
25719
|
var localVarAxiosArgs;
|
|
25614
25720
|
return __generator(this, function (_a) {
|
|
25615
25721
|
switch (_a.label) {
|
|
25616
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdDelete(hospitalId, options)];
|
|
25722
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdDelete(hospitalId, isPermanent, options)];
|
|
25617
25723
|
case 1:
|
|
25618
25724
|
localVarAxiosArgs = _a.sent();
|
|
25619
25725
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -25626,15 +25732,16 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
25626
25732
|
* @summary Delete HospitalEquipment
|
|
25627
25733
|
* @param {string} hospitalId
|
|
25628
25734
|
* @param {string} equipmentId
|
|
25735
|
+
* @param {boolean} [isPermanent]
|
|
25629
25736
|
* @param {*} [options] Override http request option.
|
|
25630
25737
|
* @throws {RequiredError}
|
|
25631
25738
|
*/
|
|
25632
|
-
apiV1HospitalsHospitalIdEquipmentsEquipmentIdDelete: function (hospitalId, equipmentId, options) {
|
|
25739
|
+
apiV1HospitalsHospitalIdEquipmentsEquipmentIdDelete: function (hospitalId, equipmentId, isPermanent, options) {
|
|
25633
25740
|
return __awaiter(this, void 0, void 0, function () {
|
|
25634
25741
|
var localVarAxiosArgs;
|
|
25635
25742
|
return __generator(this, function (_a) {
|
|
25636
25743
|
switch (_a.label) {
|
|
25637
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdEquipmentsEquipmentIdDelete(hospitalId, equipmentId, options)];
|
|
25744
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdEquipmentsEquipmentIdDelete(hospitalId, equipmentId, isPermanent, options)];
|
|
25638
25745
|
case 1:
|
|
25639
25746
|
localVarAxiosArgs = _a.sent();
|
|
25640
25747
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -26126,15 +26233,16 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
26126
26233
|
* @summary Delete Landing.
|
|
26127
26234
|
* @param {string} hospitalId
|
|
26128
26235
|
* @param {string} landingId
|
|
26236
|
+
* @param {boolean} [isPermanent]
|
|
26129
26237
|
* @param {*} [options] Override http request option.
|
|
26130
26238
|
* @throws {RequiredError}
|
|
26131
26239
|
*/
|
|
26132
|
-
apiV1HospitalsHospitalIdLandingsLandingIdDelete: function (hospitalId, landingId, options) {
|
|
26240
|
+
apiV1HospitalsHospitalIdLandingsLandingIdDelete: function (hospitalId, landingId, isPermanent, options) {
|
|
26133
26241
|
return __awaiter(this, void 0, void 0, function () {
|
|
26134
26242
|
var localVarAxiosArgs;
|
|
26135
26243
|
return __generator(this, function (_a) {
|
|
26136
26244
|
switch (_a.label) {
|
|
26137
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdLandingsLandingIdDelete(hospitalId, landingId, options)];
|
|
26245
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdLandingsLandingIdDelete(hospitalId, landingId, isPermanent, options)];
|
|
26138
26246
|
case 1:
|
|
26139
26247
|
localVarAxiosArgs = _a.sent();
|
|
26140
26248
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -26506,15 +26614,16 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
26506
26614
|
* @summary Delete HospitalSpecialty.
|
|
26507
26615
|
* @param {string} hospitalId
|
|
26508
26616
|
* @param {string} hospitalSpecialtyId
|
|
26617
|
+
* @param {boolean} [isPermanent]
|
|
26509
26618
|
* @param {*} [options] Override http request option.
|
|
26510
26619
|
* @throws {RequiredError}
|
|
26511
26620
|
*/
|
|
26512
|
-
apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdDelete: function (hospitalId, hospitalSpecialtyId, options) {
|
|
26621
|
+
apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdDelete: function (hospitalId, hospitalSpecialtyId, isPermanent, options) {
|
|
26513
26622
|
return __awaiter(this, void 0, void 0, function () {
|
|
26514
26623
|
var localVarAxiosArgs;
|
|
26515
26624
|
return __generator(this, function (_a) {
|
|
26516
26625
|
switch (_a.label) {
|
|
26517
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdDelete(hospitalId, hospitalSpecialtyId, options)];
|
|
26626
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdDelete(hospitalId, hospitalSpecialtyId, isPermanent, options)];
|
|
26518
26627
|
case 1:
|
|
26519
26628
|
localVarAxiosArgs = _a.sent();
|
|
26520
26629
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -26816,18 +26925,20 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
26816
26925
|
},
|
|
26817
26926
|
/**
|
|
26818
26927
|
*
|
|
26928
|
+
* @summary Delete HospitalService
|
|
26819
26929
|
* @param {string} hospitalId
|
|
26820
26930
|
* @param {string} specialtyId
|
|
26821
26931
|
* @param {string} serviceId
|
|
26932
|
+
* @param {boolean} [isPermanent]
|
|
26822
26933
|
* @param {*} [options] Override http request option.
|
|
26823
26934
|
* @throws {RequiredError}
|
|
26824
26935
|
*/
|
|
26825
|
-
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdDelete: function (hospitalId, specialtyId, serviceId, options) {
|
|
26936
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdDelete: function (hospitalId, specialtyId, serviceId, isPermanent, options) {
|
|
26826
26937
|
return __awaiter(this, void 0, void 0, function () {
|
|
26827
26938
|
var localVarAxiosArgs;
|
|
26828
26939
|
return __generator(this, function (_a) {
|
|
26829
26940
|
switch (_a.label) {
|
|
26830
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdDelete(hospitalId, specialtyId, serviceId, options)];
|
|
26941
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdDelete(hospitalId, specialtyId, serviceId, isPermanent, options)];
|
|
26831
26942
|
case 1:
|
|
26832
26943
|
localVarAxiosArgs = _a.sent();
|
|
26833
26944
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -27338,22 +27449,24 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
27338
27449
|
*
|
|
27339
27450
|
* @summary Delete Hospital.
|
|
27340
27451
|
* @param {string} hospitalId
|
|
27452
|
+
* @param {boolean} [isPermanent]
|
|
27341
27453
|
* @param {*} [options] Override http request option.
|
|
27342
27454
|
* @throws {RequiredError}
|
|
27343
27455
|
*/
|
|
27344
|
-
apiV1HospitalsHospitalIdDelete: function (hospitalId, options) {
|
|
27345
|
-
return localVarFp.apiV1HospitalsHospitalIdDelete(hospitalId, options).then(function (request) { return request(axios, basePath); });
|
|
27456
|
+
apiV1HospitalsHospitalIdDelete: function (hospitalId, isPermanent, options) {
|
|
27457
|
+
return localVarFp.apiV1HospitalsHospitalIdDelete(hospitalId, isPermanent, options).then(function (request) { return request(axios, basePath); });
|
|
27346
27458
|
},
|
|
27347
27459
|
/**
|
|
27348
27460
|
*
|
|
27349
27461
|
* @summary Delete HospitalEquipment
|
|
27350
27462
|
* @param {string} hospitalId
|
|
27351
27463
|
* @param {string} equipmentId
|
|
27464
|
+
* @param {boolean} [isPermanent]
|
|
27352
27465
|
* @param {*} [options] Override http request option.
|
|
27353
27466
|
* @throws {RequiredError}
|
|
27354
27467
|
*/
|
|
27355
|
-
apiV1HospitalsHospitalIdEquipmentsEquipmentIdDelete: function (hospitalId, equipmentId, options) {
|
|
27356
|
-
return localVarFp.apiV1HospitalsHospitalIdEquipmentsEquipmentIdDelete(hospitalId, equipmentId, options).then(function (request) { return request(axios, basePath); });
|
|
27468
|
+
apiV1HospitalsHospitalIdEquipmentsEquipmentIdDelete: function (hospitalId, equipmentId, isPermanent, options) {
|
|
27469
|
+
return localVarFp.apiV1HospitalsHospitalIdEquipmentsEquipmentIdDelete(hospitalId, equipmentId, isPermanent, options).then(function (request) { return request(axios, basePath); });
|
|
27357
27470
|
},
|
|
27358
27471
|
/**
|
|
27359
27472
|
*
|
|
@@ -27629,11 +27742,12 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
27629
27742
|
* @summary Delete Landing.
|
|
27630
27743
|
* @param {string} hospitalId
|
|
27631
27744
|
* @param {string} landingId
|
|
27745
|
+
* @param {boolean} [isPermanent]
|
|
27632
27746
|
* @param {*} [options] Override http request option.
|
|
27633
27747
|
* @throws {RequiredError}
|
|
27634
27748
|
*/
|
|
27635
|
-
apiV1HospitalsHospitalIdLandingsLandingIdDelete: function (hospitalId, landingId, options) {
|
|
27636
|
-
return localVarFp.apiV1HospitalsHospitalIdLandingsLandingIdDelete(hospitalId, landingId, options).then(function (request) { return request(axios, basePath); });
|
|
27749
|
+
apiV1HospitalsHospitalIdLandingsLandingIdDelete: function (hospitalId, landingId, isPermanent, options) {
|
|
27750
|
+
return localVarFp.apiV1HospitalsHospitalIdLandingsLandingIdDelete(hospitalId, landingId, isPermanent, options).then(function (request) { return request(axios, basePath); });
|
|
27637
27751
|
},
|
|
27638
27752
|
/**
|
|
27639
27753
|
*
|
|
@@ -27839,11 +27953,12 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
27839
27953
|
* @summary Delete HospitalSpecialty.
|
|
27840
27954
|
* @param {string} hospitalId
|
|
27841
27955
|
* @param {string} hospitalSpecialtyId
|
|
27956
|
+
* @param {boolean} [isPermanent]
|
|
27842
27957
|
* @param {*} [options] Override http request option.
|
|
27843
27958
|
* @throws {RequiredError}
|
|
27844
27959
|
*/
|
|
27845
|
-
apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdDelete: function (hospitalId, hospitalSpecialtyId, options) {
|
|
27846
|
-
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdDelete(hospitalId, hospitalSpecialtyId, options).then(function (request) { return request(axios, basePath); });
|
|
27960
|
+
apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdDelete: function (hospitalId, hospitalSpecialtyId, isPermanent, options) {
|
|
27961
|
+
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdDelete(hospitalId, hospitalSpecialtyId, isPermanent, options).then(function (request) { return request(axios, basePath); });
|
|
27847
27962
|
},
|
|
27848
27963
|
/**
|
|
27849
27964
|
*
|
|
@@ -28019,14 +28134,16 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
28019
28134
|
},
|
|
28020
28135
|
/**
|
|
28021
28136
|
*
|
|
28137
|
+
* @summary Delete HospitalService
|
|
28022
28138
|
* @param {string} hospitalId
|
|
28023
28139
|
* @param {string} specialtyId
|
|
28024
28140
|
* @param {string} serviceId
|
|
28141
|
+
* @param {boolean} [isPermanent]
|
|
28025
28142
|
* @param {*} [options] Override http request option.
|
|
28026
28143
|
* @throws {RequiredError}
|
|
28027
28144
|
*/
|
|
28028
|
-
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdDelete: function (hospitalId, specialtyId, serviceId, options) {
|
|
28029
|
-
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdDelete(hospitalId, specialtyId, serviceId, options).then(function (request) { return request(axios, basePath); });
|
|
28145
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdDelete: function (hospitalId, specialtyId, serviceId, isPermanent, options) {
|
|
28146
|
+
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdDelete(hospitalId, specialtyId, serviceId, isPermanent, options).then(function (request) { return request(axios, basePath); });
|
|
28030
28147
|
},
|
|
28031
28148
|
/**
|
|
28032
28149
|
*
|
|
@@ -28365,26 +28482,28 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
28365
28482
|
*
|
|
28366
28483
|
* @summary Delete Hospital.
|
|
28367
28484
|
* @param {string} hospitalId
|
|
28485
|
+
* @param {boolean} [isPermanent]
|
|
28368
28486
|
* @param {*} [options] Override http request option.
|
|
28369
28487
|
* @throws {RequiredError}
|
|
28370
28488
|
* @memberof HospitalsApi
|
|
28371
28489
|
*/
|
|
28372
|
-
HospitalsApi.prototype.apiV1HospitalsHospitalIdDelete = function (hospitalId, options) {
|
|
28490
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdDelete = function (hospitalId, isPermanent, options) {
|
|
28373
28491
|
var _this = this;
|
|
28374
|
-
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdDelete(hospitalId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
28492
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdDelete(hospitalId, isPermanent, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
28375
28493
|
};
|
|
28376
28494
|
/**
|
|
28377
28495
|
*
|
|
28378
28496
|
* @summary Delete HospitalEquipment
|
|
28379
28497
|
* @param {string} hospitalId
|
|
28380
28498
|
* @param {string} equipmentId
|
|
28499
|
+
* @param {boolean} [isPermanent]
|
|
28381
28500
|
* @param {*} [options] Override http request option.
|
|
28382
28501
|
* @throws {RequiredError}
|
|
28383
28502
|
* @memberof HospitalsApi
|
|
28384
28503
|
*/
|
|
28385
|
-
HospitalsApi.prototype.apiV1HospitalsHospitalIdEquipmentsEquipmentIdDelete = function (hospitalId, equipmentId, options) {
|
|
28504
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdEquipmentsEquipmentIdDelete = function (hospitalId, equipmentId, isPermanent, options) {
|
|
28386
28505
|
var _this = this;
|
|
28387
|
-
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdEquipmentsEquipmentIdDelete(hospitalId, equipmentId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
28506
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdEquipmentsEquipmentIdDelete(hospitalId, equipmentId, isPermanent, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
28388
28507
|
};
|
|
28389
28508
|
/**
|
|
28390
28509
|
*
|
|
@@ -28702,13 +28821,14 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
28702
28821
|
* @summary Delete Landing.
|
|
28703
28822
|
* @param {string} hospitalId
|
|
28704
28823
|
* @param {string} landingId
|
|
28824
|
+
* @param {boolean} [isPermanent]
|
|
28705
28825
|
* @param {*} [options] Override http request option.
|
|
28706
28826
|
* @throws {RequiredError}
|
|
28707
28827
|
* @memberof HospitalsApi
|
|
28708
28828
|
*/
|
|
28709
|
-
HospitalsApi.prototype.apiV1HospitalsHospitalIdLandingsLandingIdDelete = function (hospitalId, landingId, options) {
|
|
28829
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdLandingsLandingIdDelete = function (hospitalId, landingId, isPermanent, options) {
|
|
28710
28830
|
var _this = this;
|
|
28711
|
-
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdLandingsLandingIdDelete(hospitalId, landingId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
28831
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdLandingsLandingIdDelete(hospitalId, landingId, isPermanent, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
28712
28832
|
};
|
|
28713
28833
|
/**
|
|
28714
28834
|
*
|
|
@@ -28946,13 +29066,14 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
28946
29066
|
* @summary Delete HospitalSpecialty.
|
|
28947
29067
|
* @param {string} hospitalId
|
|
28948
29068
|
* @param {string} hospitalSpecialtyId
|
|
29069
|
+
* @param {boolean} [isPermanent]
|
|
28949
29070
|
* @param {*} [options] Override http request option.
|
|
28950
29071
|
* @throws {RequiredError}
|
|
28951
29072
|
* @memberof HospitalsApi
|
|
28952
29073
|
*/
|
|
28953
|
-
HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdDelete = function (hospitalId, hospitalSpecialtyId, options) {
|
|
29074
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdDelete = function (hospitalId, hospitalSpecialtyId, isPermanent, options) {
|
|
28954
29075
|
var _this = this;
|
|
28955
|
-
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdDelete(hospitalId, hospitalSpecialtyId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
29076
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdDelete(hospitalId, hospitalSpecialtyId, isPermanent, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
28956
29077
|
};
|
|
28957
29078
|
/**
|
|
28958
29079
|
*
|
|
@@ -29152,16 +29273,18 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
29152
29273
|
};
|
|
29153
29274
|
/**
|
|
29154
29275
|
*
|
|
29276
|
+
* @summary Delete HospitalService
|
|
29155
29277
|
* @param {string} hospitalId
|
|
29156
29278
|
* @param {string} specialtyId
|
|
29157
29279
|
* @param {string} serviceId
|
|
29280
|
+
* @param {boolean} [isPermanent]
|
|
29158
29281
|
* @param {*} [options] Override http request option.
|
|
29159
29282
|
* @throws {RequiredError}
|
|
29160
29283
|
* @memberof HospitalsApi
|
|
29161
29284
|
*/
|
|
29162
|
-
HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdDelete = function (hospitalId, specialtyId, serviceId, options) {
|
|
29285
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdDelete = function (hospitalId, specialtyId, serviceId, isPermanent, options) {
|
|
29163
29286
|
var _this = this;
|
|
29164
|
-
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdDelete(hospitalId, specialtyId, serviceId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
29287
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdDelete(hospitalId, specialtyId, serviceId, isPermanent, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
29165
29288
|
};
|
|
29166
29289
|
/**
|
|
29167
29290
|
*
|
|
@@ -31440,10 +31563,11 @@ exports.ManagersApiAxiosParamCreator = function (configuration) {
|
|
|
31440
31563
|
*
|
|
31441
31564
|
* @summary Delete Manager.
|
|
31442
31565
|
* @param {string} managerId
|
|
31566
|
+
* @param {boolean} [isPermanent]
|
|
31443
31567
|
* @param {*} [options] Override http request option.
|
|
31444
31568
|
* @throws {RequiredError}
|
|
31445
31569
|
*/
|
|
31446
|
-
apiV1ManagersManagerIdDelete: function (managerId, options) {
|
|
31570
|
+
apiV1ManagersManagerIdDelete: function (managerId, isPermanent, options) {
|
|
31447
31571
|
if (options === void 0) { options = {}; }
|
|
31448
31572
|
return __awaiter(_this, void 0, void 0, function () {
|
|
31449
31573
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -31468,6 +31592,9 @@ exports.ManagersApiAxiosParamCreator = function (configuration) {
|
|
|
31468
31592
|
// authentication oauth2 required
|
|
31469
31593
|
// oauth required
|
|
31470
31594
|
_a.sent();
|
|
31595
|
+
if (isPermanent !== undefined) {
|
|
31596
|
+
localVarQueryParameter['isPermanent'] = isPermanent;
|
|
31597
|
+
}
|
|
31471
31598
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
31472
31599
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
31473
31600
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -31741,15 +31868,16 @@ exports.ManagersApiFp = function (configuration) {
|
|
|
31741
31868
|
*
|
|
31742
31869
|
* @summary Delete Manager.
|
|
31743
31870
|
* @param {string} managerId
|
|
31871
|
+
* @param {boolean} [isPermanent]
|
|
31744
31872
|
* @param {*} [options] Override http request option.
|
|
31745
31873
|
* @throws {RequiredError}
|
|
31746
31874
|
*/
|
|
31747
|
-
apiV1ManagersManagerIdDelete: function (managerId, options) {
|
|
31875
|
+
apiV1ManagersManagerIdDelete: function (managerId, isPermanent, options) {
|
|
31748
31876
|
return __awaiter(this, void 0, void 0, function () {
|
|
31749
31877
|
var localVarAxiosArgs;
|
|
31750
31878
|
return __generator(this, function (_a) {
|
|
31751
31879
|
switch (_a.label) {
|
|
31752
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ManagersManagerIdDelete(managerId, options)];
|
|
31880
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ManagersManagerIdDelete(managerId, isPermanent, options)];
|
|
31753
31881
|
case 1:
|
|
31754
31882
|
localVarAxiosArgs = _a.sent();
|
|
31755
31883
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -31899,11 +32027,12 @@ exports.ManagersApiFactory = function (configuration, basePath, axios) {
|
|
|
31899
32027
|
*
|
|
31900
32028
|
* @summary Delete Manager.
|
|
31901
32029
|
* @param {string} managerId
|
|
32030
|
+
* @param {boolean} [isPermanent]
|
|
31902
32031
|
* @param {*} [options] Override http request option.
|
|
31903
32032
|
* @throws {RequiredError}
|
|
31904
32033
|
*/
|
|
31905
|
-
apiV1ManagersManagerIdDelete: function (managerId, options) {
|
|
31906
|
-
return localVarFp.apiV1ManagersManagerIdDelete(managerId, options).then(function (request) { return request(axios, basePath); });
|
|
32034
|
+
apiV1ManagersManagerIdDelete: function (managerId, isPermanent, options) {
|
|
32035
|
+
return localVarFp.apiV1ManagersManagerIdDelete(managerId, isPermanent, options).then(function (request) { return request(axios, basePath); });
|
|
31907
32036
|
},
|
|
31908
32037
|
/**
|
|
31909
32038
|
*
|
|
@@ -32031,13 +32160,14 @@ var ManagersApi = /** @class */ (function (_super) {
|
|
|
32031
32160
|
*
|
|
32032
32161
|
* @summary Delete Manager.
|
|
32033
32162
|
* @param {string} managerId
|
|
32163
|
+
* @param {boolean} [isPermanent]
|
|
32034
32164
|
* @param {*} [options] Override http request option.
|
|
32035
32165
|
* @throws {RequiredError}
|
|
32036
32166
|
* @memberof ManagersApi
|
|
32037
32167
|
*/
|
|
32038
|
-
ManagersApi.prototype.apiV1ManagersManagerIdDelete = function (managerId, options) {
|
|
32168
|
+
ManagersApi.prototype.apiV1ManagersManagerIdDelete = function (managerId, isPermanent, options) {
|
|
32039
32169
|
var _this = this;
|
|
32040
|
-
return exports.ManagersApiFp(this.configuration).apiV1ManagersManagerIdDelete(managerId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
32170
|
+
return exports.ManagersApiFp(this.configuration).apiV1ManagersManagerIdDelete(managerId, isPermanent, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
32041
32171
|
};
|
|
32042
32172
|
/**
|
|
32043
32173
|
*
|
|
@@ -32792,10 +32922,11 @@ exports.PatientsApiAxiosParamCreator = function (configuration) {
|
|
|
32792
32922
|
*
|
|
32793
32923
|
* @summary Delete Patient.
|
|
32794
32924
|
* @param {string} patientId
|
|
32925
|
+
* @param {boolean} [isPermanent]
|
|
32795
32926
|
* @param {*} [options] Override http request option.
|
|
32796
32927
|
* @throws {RequiredError}
|
|
32797
32928
|
*/
|
|
32798
|
-
apiV1PatientsPatientIdDelete: function (patientId, options) {
|
|
32929
|
+
apiV1PatientsPatientIdDelete: function (patientId, isPermanent, options) {
|
|
32799
32930
|
if (options === void 0) { options = {}; }
|
|
32800
32931
|
return __awaiter(_this, void 0, void 0, function () {
|
|
32801
32932
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -32820,6 +32951,9 @@ exports.PatientsApiAxiosParamCreator = function (configuration) {
|
|
|
32820
32951
|
// authentication oauth2 required
|
|
32821
32952
|
// oauth required
|
|
32822
32953
|
_a.sent();
|
|
32954
|
+
if (isPermanent !== undefined) {
|
|
32955
|
+
localVarQueryParameter['isPermanent'] = isPermanent;
|
|
32956
|
+
}
|
|
32823
32957
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
32824
32958
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
32825
32959
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -33004,15 +33138,16 @@ exports.PatientsApiFp = function (configuration) {
|
|
|
33004
33138
|
*
|
|
33005
33139
|
* @summary Delete Patient.
|
|
33006
33140
|
* @param {string} patientId
|
|
33141
|
+
* @param {boolean} [isPermanent]
|
|
33007
33142
|
* @param {*} [options] Override http request option.
|
|
33008
33143
|
* @throws {RequiredError}
|
|
33009
33144
|
*/
|
|
33010
|
-
apiV1PatientsPatientIdDelete: function (patientId, options) {
|
|
33145
|
+
apiV1PatientsPatientIdDelete: function (patientId, isPermanent, options) {
|
|
33011
33146
|
return __awaiter(this, void 0, void 0, function () {
|
|
33012
33147
|
var localVarAxiosArgs;
|
|
33013
33148
|
return __generator(this, function (_a) {
|
|
33014
33149
|
switch (_a.label) {
|
|
33015
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1PatientsPatientIdDelete(patientId, options)];
|
|
33150
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1PatientsPatientIdDelete(patientId, isPermanent, options)];
|
|
33016
33151
|
case 1:
|
|
33017
33152
|
localVarAxiosArgs = _a.sent();
|
|
33018
33153
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -33113,11 +33248,12 @@ exports.PatientsApiFactory = function (configuration, basePath, axios) {
|
|
|
33113
33248
|
*
|
|
33114
33249
|
* @summary Delete Patient.
|
|
33115
33250
|
* @param {string} patientId
|
|
33251
|
+
* @param {boolean} [isPermanent]
|
|
33116
33252
|
* @param {*} [options] Override http request option.
|
|
33117
33253
|
* @throws {RequiredError}
|
|
33118
33254
|
*/
|
|
33119
|
-
apiV1PatientsPatientIdDelete: function (patientId, options) {
|
|
33120
|
-
return localVarFp.apiV1PatientsPatientIdDelete(patientId, options).then(function (request) { return request(axios, basePath); });
|
|
33255
|
+
apiV1PatientsPatientIdDelete: function (patientId, isPermanent, options) {
|
|
33256
|
+
return localVarFp.apiV1PatientsPatientIdDelete(patientId, isPermanent, options).then(function (request) { return request(axios, basePath); });
|
|
33121
33257
|
},
|
|
33122
33258
|
/**
|
|
33123
33259
|
*
|
|
@@ -33188,13 +33324,14 @@ var PatientsApi = /** @class */ (function (_super) {
|
|
|
33188
33324
|
*
|
|
33189
33325
|
* @summary Delete Patient.
|
|
33190
33326
|
* @param {string} patientId
|
|
33327
|
+
* @param {boolean} [isPermanent]
|
|
33191
33328
|
* @param {*} [options] Override http request option.
|
|
33192
33329
|
* @throws {RequiredError}
|
|
33193
33330
|
* @memberof PatientsApi
|
|
33194
33331
|
*/
|
|
33195
|
-
PatientsApi.prototype.apiV1PatientsPatientIdDelete = function (patientId, options) {
|
|
33332
|
+
PatientsApi.prototype.apiV1PatientsPatientIdDelete = function (patientId, isPermanent, options) {
|
|
33196
33333
|
var _this = this;
|
|
33197
|
-
return exports.PatientsApiFp(this.configuration).apiV1PatientsPatientIdDelete(patientId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
33334
|
+
return exports.PatientsApiFp(this.configuration).apiV1PatientsPatientIdDelete(patientId, isPermanent, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
33198
33335
|
};
|
|
33199
33336
|
/**
|
|
33200
33337
|
*
|
|
@@ -34984,10 +35121,11 @@ exports.ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
34984
35121
|
*
|
|
34985
35122
|
* @summary Delete ServiceReview.
|
|
34986
35123
|
* @param {string} serviceReviewId
|
|
35124
|
+
* @param {boolean} [isPermanent]
|
|
34987
35125
|
* @param {*} [options] Override http request option.
|
|
34988
35126
|
* @throws {RequiredError}
|
|
34989
35127
|
*/
|
|
34990
|
-
apiV1ServicereviewsServiceReviewIdDelete: function (serviceReviewId, options) {
|
|
35128
|
+
apiV1ServicereviewsServiceReviewIdDelete: function (serviceReviewId, isPermanent, options) {
|
|
34991
35129
|
if (options === void 0) { options = {}; }
|
|
34992
35130
|
return __awaiter(_this, void 0, void 0, function () {
|
|
34993
35131
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -35012,6 +35150,9 @@ exports.ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
35012
35150
|
// authentication oauth2 required
|
|
35013
35151
|
// oauth required
|
|
35014
35152
|
_a.sent();
|
|
35153
|
+
if (isPermanent !== undefined) {
|
|
35154
|
+
localVarQueryParameter['isPermanent'] = isPermanent;
|
|
35155
|
+
}
|
|
35015
35156
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
35016
35157
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
35017
35158
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -35438,15 +35579,16 @@ exports.ServiceReviewsApiFp = function (configuration) {
|
|
|
35438
35579
|
*
|
|
35439
35580
|
* @summary Delete ServiceReview.
|
|
35440
35581
|
* @param {string} serviceReviewId
|
|
35582
|
+
* @param {boolean} [isPermanent]
|
|
35441
35583
|
* @param {*} [options] Override http request option.
|
|
35442
35584
|
* @throws {RequiredError}
|
|
35443
35585
|
*/
|
|
35444
|
-
apiV1ServicereviewsServiceReviewIdDelete: function (serviceReviewId, options) {
|
|
35586
|
+
apiV1ServicereviewsServiceReviewIdDelete: function (serviceReviewId, isPermanent, options) {
|
|
35445
35587
|
return __awaiter(this, void 0, void 0, function () {
|
|
35446
35588
|
var localVarAxiosArgs;
|
|
35447
35589
|
return __generator(this, function (_a) {
|
|
35448
35590
|
switch (_a.label) {
|
|
35449
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicereviewsServiceReviewIdDelete(serviceReviewId, options)];
|
|
35591
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicereviewsServiceReviewIdDelete(serviceReviewId, isPermanent, options)];
|
|
35450
35592
|
case 1:
|
|
35451
35593
|
localVarAxiosArgs = _a.sent();
|
|
35452
35594
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -35653,11 +35795,12 @@ exports.ServiceReviewsApiFactory = function (configuration, basePath, axios) {
|
|
|
35653
35795
|
*
|
|
35654
35796
|
* @summary Delete ServiceReview.
|
|
35655
35797
|
* @param {string} serviceReviewId
|
|
35798
|
+
* @param {boolean} [isPermanent]
|
|
35656
35799
|
* @param {*} [options] Override http request option.
|
|
35657
35800
|
* @throws {RequiredError}
|
|
35658
35801
|
*/
|
|
35659
|
-
apiV1ServicereviewsServiceReviewIdDelete: function (serviceReviewId, options) {
|
|
35660
|
-
return localVarFp.apiV1ServicereviewsServiceReviewIdDelete(serviceReviewId, options).then(function (request) { return request(axios, basePath); });
|
|
35802
|
+
apiV1ServicereviewsServiceReviewIdDelete: function (serviceReviewId, isPermanent, options) {
|
|
35803
|
+
return localVarFp.apiV1ServicereviewsServiceReviewIdDelete(serviceReviewId, isPermanent, options).then(function (request) { return request(axios, basePath); });
|
|
35661
35804
|
},
|
|
35662
35805
|
/**
|
|
35663
35806
|
*
|
|
@@ -35796,13 +35939,14 @@ var ServiceReviewsApi = /** @class */ (function (_super) {
|
|
|
35796
35939
|
*
|
|
35797
35940
|
* @summary Delete ServiceReview.
|
|
35798
35941
|
* @param {string} serviceReviewId
|
|
35942
|
+
* @param {boolean} [isPermanent]
|
|
35799
35943
|
* @param {*} [options] Override http request option.
|
|
35800
35944
|
* @throws {RequiredError}
|
|
35801
35945
|
* @memberof ServiceReviewsApi
|
|
35802
35946
|
*/
|
|
35803
|
-
ServiceReviewsApi.prototype.apiV1ServicereviewsServiceReviewIdDelete = function (serviceReviewId, options) {
|
|
35947
|
+
ServiceReviewsApi.prototype.apiV1ServicereviewsServiceReviewIdDelete = function (serviceReviewId, isPermanent, options) {
|
|
35804
35948
|
var _this = this;
|
|
35805
|
-
return exports.ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsServiceReviewIdDelete(serviceReviewId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
35949
|
+
return exports.ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsServiceReviewIdDelete(serviceReviewId, isPermanent, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
35806
35950
|
};
|
|
35807
35951
|
/**
|
|
35808
35952
|
*
|
|
@@ -37146,10 +37290,11 @@ exports.SpecialtiesApiAxiosParamCreator = function (configuration) {
|
|
|
37146
37290
|
*
|
|
37147
37291
|
* @summary Delete Specialty.
|
|
37148
37292
|
* @param {string} specialtyId
|
|
37293
|
+
* @param {boolean} [isPermanent]
|
|
37149
37294
|
* @param {*} [options] Override http request option.
|
|
37150
37295
|
* @throws {RequiredError}
|
|
37151
37296
|
*/
|
|
37152
|
-
apiV1SpecialtiesSpecialtyIdDelete: function (specialtyId, options) {
|
|
37297
|
+
apiV1SpecialtiesSpecialtyIdDelete: function (specialtyId, isPermanent, options) {
|
|
37153
37298
|
if (options === void 0) { options = {}; }
|
|
37154
37299
|
return __awaiter(_this, void 0, void 0, function () {
|
|
37155
37300
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -37174,6 +37319,9 @@ exports.SpecialtiesApiAxiosParamCreator = function (configuration) {
|
|
|
37174
37319
|
// authentication oauth2 required
|
|
37175
37320
|
// oauth required
|
|
37176
37321
|
_a.sent();
|
|
37322
|
+
if (isPermanent !== undefined) {
|
|
37323
|
+
localVarQueryParameter['isPermanent'] = isPermanent;
|
|
37324
|
+
}
|
|
37177
37325
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
37178
37326
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
37179
37327
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -37700,15 +37848,16 @@ exports.SpecialtiesApiFp = function (configuration) {
|
|
|
37700
37848
|
*
|
|
37701
37849
|
* @summary Delete Specialty.
|
|
37702
37850
|
* @param {string} specialtyId
|
|
37851
|
+
* @param {boolean} [isPermanent]
|
|
37703
37852
|
* @param {*} [options] Override http request option.
|
|
37704
37853
|
* @throws {RequiredError}
|
|
37705
37854
|
*/
|
|
37706
|
-
apiV1SpecialtiesSpecialtyIdDelete: function (specialtyId, options) {
|
|
37855
|
+
apiV1SpecialtiesSpecialtyIdDelete: function (specialtyId, isPermanent, options) {
|
|
37707
37856
|
return __awaiter(this, void 0, void 0, function () {
|
|
37708
37857
|
var localVarAxiosArgs;
|
|
37709
37858
|
return __generator(this, function (_a) {
|
|
37710
37859
|
switch (_a.label) {
|
|
37711
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SpecialtiesSpecialtyIdDelete(specialtyId, options)];
|
|
37860
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SpecialtiesSpecialtyIdDelete(specialtyId, isPermanent, options)];
|
|
37712
37861
|
case 1:
|
|
37713
37862
|
localVarAxiosArgs = _a.sent();
|
|
37714
37863
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -37969,11 +38118,12 @@ exports.SpecialtiesApiFactory = function (configuration, basePath, axios) {
|
|
|
37969
38118
|
*
|
|
37970
38119
|
* @summary Delete Specialty.
|
|
37971
38120
|
* @param {string} specialtyId
|
|
38121
|
+
* @param {boolean} [isPermanent]
|
|
37972
38122
|
* @param {*} [options] Override http request option.
|
|
37973
38123
|
* @throws {RequiredError}
|
|
37974
38124
|
*/
|
|
37975
|
-
apiV1SpecialtiesSpecialtyIdDelete: function (specialtyId, options) {
|
|
37976
|
-
return localVarFp.apiV1SpecialtiesSpecialtyIdDelete(specialtyId, options).then(function (request) { return request(axios, basePath); });
|
|
38125
|
+
apiV1SpecialtiesSpecialtyIdDelete: function (specialtyId, isPermanent, options) {
|
|
38126
|
+
return localVarFp.apiV1SpecialtiesSpecialtyIdDelete(specialtyId, isPermanent, options).then(function (request) { return request(axios, basePath); });
|
|
37977
38127
|
},
|
|
37978
38128
|
/**
|
|
37979
38129
|
*
|
|
@@ -38160,13 +38310,14 @@ var SpecialtiesApi = /** @class */ (function (_super) {
|
|
|
38160
38310
|
*
|
|
38161
38311
|
* @summary Delete Specialty.
|
|
38162
38312
|
* @param {string} specialtyId
|
|
38313
|
+
* @param {boolean} [isPermanent]
|
|
38163
38314
|
* @param {*} [options] Override http request option.
|
|
38164
38315
|
* @throws {RequiredError}
|
|
38165
38316
|
* @memberof SpecialtiesApi
|
|
38166
38317
|
*/
|
|
38167
|
-
SpecialtiesApi.prototype.apiV1SpecialtiesSpecialtyIdDelete = function (specialtyId, options) {
|
|
38318
|
+
SpecialtiesApi.prototype.apiV1SpecialtiesSpecialtyIdDelete = function (specialtyId, isPermanent, options) {
|
|
38168
38319
|
var _this = this;
|
|
38169
|
-
return exports.SpecialtiesApiFp(this.configuration).apiV1SpecialtiesSpecialtyIdDelete(specialtyId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
38320
|
+
return exports.SpecialtiesApiFp(this.configuration).apiV1SpecialtiesSpecialtyIdDelete(specialtyId, isPermanent, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
38170
38321
|
};
|
|
38171
38322
|
/**
|
|
38172
38323
|
*
|
|
@@ -38581,10 +38732,11 @@ exports.SpecialtyTypesApiAxiosParamCreator = function (configuration) {
|
|
|
38581
38732
|
*
|
|
38582
38733
|
* @summary Delete Department.
|
|
38583
38734
|
* @param {string} specialtyTypeId
|
|
38735
|
+
* @param {boolean} [isPermanent]
|
|
38584
38736
|
* @param {*} [options] Override http request option.
|
|
38585
38737
|
* @throws {RequiredError}
|
|
38586
38738
|
*/
|
|
38587
|
-
apiV1SpecialtytypesSpecialtyTypeIdDelete: function (specialtyTypeId, options) {
|
|
38739
|
+
apiV1SpecialtytypesSpecialtyTypeIdDelete: function (specialtyTypeId, isPermanent, options) {
|
|
38588
38740
|
if (options === void 0) { options = {}; }
|
|
38589
38741
|
return __awaiter(_this, void 0, void 0, function () {
|
|
38590
38742
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -38609,6 +38761,9 @@ exports.SpecialtyTypesApiAxiosParamCreator = function (configuration) {
|
|
|
38609
38761
|
// authentication oauth2 required
|
|
38610
38762
|
// oauth required
|
|
38611
38763
|
_a.sent();
|
|
38764
|
+
if (isPermanent !== undefined) {
|
|
38765
|
+
localVarQueryParameter['isPermanent'] = isPermanent;
|
|
38766
|
+
}
|
|
38612
38767
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
38613
38768
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
38614
38769
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -39134,15 +39289,16 @@ exports.SpecialtyTypesApiFp = function (configuration) {
|
|
|
39134
39289
|
*
|
|
39135
39290
|
* @summary Delete Department.
|
|
39136
39291
|
* @param {string} specialtyTypeId
|
|
39292
|
+
* @param {boolean} [isPermanent]
|
|
39137
39293
|
* @param {*} [options] Override http request option.
|
|
39138
39294
|
* @throws {RequiredError}
|
|
39139
39295
|
*/
|
|
39140
|
-
apiV1SpecialtytypesSpecialtyTypeIdDelete: function (specialtyTypeId, options) {
|
|
39296
|
+
apiV1SpecialtytypesSpecialtyTypeIdDelete: function (specialtyTypeId, isPermanent, options) {
|
|
39141
39297
|
return __awaiter(this, void 0, void 0, function () {
|
|
39142
39298
|
var localVarAxiosArgs;
|
|
39143
39299
|
return __generator(this, function (_a) {
|
|
39144
39300
|
switch (_a.label) {
|
|
39145
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SpecialtytypesSpecialtyTypeIdDelete(specialtyTypeId, options)];
|
|
39301
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SpecialtytypesSpecialtyTypeIdDelete(specialtyTypeId, isPermanent, options)];
|
|
39146
39302
|
case 1:
|
|
39147
39303
|
localVarAxiosArgs = _a.sent();
|
|
39148
39304
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -39402,11 +39558,12 @@ exports.SpecialtyTypesApiFactory = function (configuration, basePath, axios) {
|
|
|
39402
39558
|
*
|
|
39403
39559
|
* @summary Delete Department.
|
|
39404
39560
|
* @param {string} specialtyTypeId
|
|
39561
|
+
* @param {boolean} [isPermanent]
|
|
39405
39562
|
* @param {*} [options] Override http request option.
|
|
39406
39563
|
* @throws {RequiredError}
|
|
39407
39564
|
*/
|
|
39408
|
-
apiV1SpecialtytypesSpecialtyTypeIdDelete: function (specialtyTypeId, options) {
|
|
39409
|
-
return localVarFp.apiV1SpecialtytypesSpecialtyTypeIdDelete(specialtyTypeId, options).then(function (request) { return request(axios, basePath); });
|
|
39565
|
+
apiV1SpecialtytypesSpecialtyTypeIdDelete: function (specialtyTypeId, isPermanent, options) {
|
|
39566
|
+
return localVarFp.apiV1SpecialtytypesSpecialtyTypeIdDelete(specialtyTypeId, isPermanent, options).then(function (request) { return request(axios, basePath); });
|
|
39410
39567
|
},
|
|
39411
39568
|
/**
|
|
39412
39569
|
*
|
|
@@ -39592,13 +39749,14 @@ var SpecialtyTypesApi = /** @class */ (function (_super) {
|
|
|
39592
39749
|
*
|
|
39593
39750
|
* @summary Delete Department.
|
|
39594
39751
|
* @param {string} specialtyTypeId
|
|
39752
|
+
* @param {boolean} [isPermanent]
|
|
39595
39753
|
* @param {*} [options] Override http request option.
|
|
39596
39754
|
* @throws {RequiredError}
|
|
39597
39755
|
* @memberof SpecialtyTypesApi
|
|
39598
39756
|
*/
|
|
39599
|
-
SpecialtyTypesApi.prototype.apiV1SpecialtytypesSpecialtyTypeIdDelete = function (specialtyTypeId, options) {
|
|
39757
|
+
SpecialtyTypesApi.prototype.apiV1SpecialtytypesSpecialtyTypeIdDelete = function (specialtyTypeId, isPermanent, options) {
|
|
39600
39758
|
var _this = this;
|
|
39601
|
-
return exports.SpecialtyTypesApiFp(this.configuration).apiV1SpecialtytypesSpecialtyTypeIdDelete(specialtyTypeId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
39759
|
+
return exports.SpecialtyTypesApiFp(this.configuration).apiV1SpecialtytypesSpecialtyTypeIdDelete(specialtyTypeId, isPermanent, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
39602
39760
|
};
|
|
39603
39761
|
/**
|
|
39604
39762
|
*
|