ch-admin-api-client-typescript 3.3.3 → 3.3.4
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 +149 -29
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +170 -0
- package/package.json +1 -1
- package/src/api.ts +225 -29
package/lib/api.js
CHANGED
|
@@ -20947,6 +20947,49 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
20947
20947
|
});
|
|
20948
20948
|
});
|
|
20949
20949
|
},
|
|
20950
|
+
/**
|
|
20951
|
+
*
|
|
20952
|
+
* @summary Delete HospitalSpecialty.
|
|
20953
|
+
* @param {string} hospitalId
|
|
20954
|
+
* @param {*} [options] Override http request option.
|
|
20955
|
+
* @throws {RequiredError}
|
|
20956
|
+
*/
|
|
20957
|
+
apiV1HospitalsHospitalIdReactivePut: function (hospitalId, options) {
|
|
20958
|
+
if (options === void 0) { options = {}; }
|
|
20959
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
20960
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
20961
|
+
return __generator(this, function (_a) {
|
|
20962
|
+
switch (_a.label) {
|
|
20963
|
+
case 0:
|
|
20964
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
20965
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdReactivePut', 'hospitalId', hospitalId);
|
|
20966
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/reactive"
|
|
20967
|
+
.replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)));
|
|
20968
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20969
|
+
if (configuration) {
|
|
20970
|
+
baseOptions = configuration.baseOptions;
|
|
20971
|
+
}
|
|
20972
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
20973
|
+
localVarHeaderParameter = {};
|
|
20974
|
+
localVarQueryParameter = {};
|
|
20975
|
+
// authentication oauth2 required
|
|
20976
|
+
// oauth required
|
|
20977
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
20978
|
+
case 1:
|
|
20979
|
+
// authentication oauth2 required
|
|
20980
|
+
// oauth required
|
|
20981
|
+
_a.sent();
|
|
20982
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
20983
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
20984
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
20985
|
+
return [2 /*return*/, {
|
|
20986
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
20987
|
+
options: localVarRequestOptions,
|
|
20988
|
+
}];
|
|
20989
|
+
}
|
|
20990
|
+
});
|
|
20991
|
+
});
|
|
20992
|
+
},
|
|
20950
20993
|
/**
|
|
20951
20994
|
*
|
|
20952
20995
|
* @summary Get all HospitalSpecialties.
|
|
@@ -22570,6 +22613,49 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
22570
22613
|
});
|
|
22571
22614
|
});
|
|
22572
22615
|
},
|
|
22616
|
+
/**
|
|
22617
|
+
*
|
|
22618
|
+
* @summary Delete HospitalSpecialty.
|
|
22619
|
+
* @param {string} hospitalSpecialtyId
|
|
22620
|
+
* @param {*} [options] Override http request option.
|
|
22621
|
+
* @throws {RequiredError}
|
|
22622
|
+
*/
|
|
22623
|
+
apiV1HospitalsHospitalSpecialtyIdSpecialtiesReactivePut: function (hospitalSpecialtyId, options) {
|
|
22624
|
+
if (options === void 0) { options = {}; }
|
|
22625
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
22626
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
22627
|
+
return __generator(this, function (_a) {
|
|
22628
|
+
switch (_a.label) {
|
|
22629
|
+
case 0:
|
|
22630
|
+
// verify required parameter 'hospitalSpecialtyId' is not null or undefined
|
|
22631
|
+
common_1.assertParamExists('apiV1HospitalsHospitalSpecialtyIdSpecialtiesReactivePut', 'hospitalSpecialtyId', hospitalSpecialtyId);
|
|
22632
|
+
localVarPath = "/api/v1/hospitals/{hospitalSpecialtyId}/specialties/reactive"
|
|
22633
|
+
.replace("{" + "hospitalSpecialtyId" + "}", encodeURIComponent(String(hospitalSpecialtyId)));
|
|
22634
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
22635
|
+
if (configuration) {
|
|
22636
|
+
baseOptions = configuration.baseOptions;
|
|
22637
|
+
}
|
|
22638
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
22639
|
+
localVarHeaderParameter = {};
|
|
22640
|
+
localVarQueryParameter = {};
|
|
22641
|
+
// authentication oauth2 required
|
|
22642
|
+
// oauth required
|
|
22643
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
22644
|
+
case 1:
|
|
22645
|
+
// authentication oauth2 required
|
|
22646
|
+
// oauth required
|
|
22647
|
+
_a.sent();
|
|
22648
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
22649
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
22650
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
22651
|
+
return [2 /*return*/, {
|
|
22652
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
22653
|
+
options: localVarRequestOptions,
|
|
22654
|
+
}];
|
|
22655
|
+
}
|
|
22656
|
+
});
|
|
22657
|
+
});
|
|
22658
|
+
},
|
|
22573
22659
|
/**
|
|
22574
22660
|
*
|
|
22575
22661
|
* @summary Create Hospital.
|
|
@@ -23526,6 +23612,26 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
23526
23612
|
});
|
|
23527
23613
|
});
|
|
23528
23614
|
},
|
|
23615
|
+
/**
|
|
23616
|
+
*
|
|
23617
|
+
* @summary Delete HospitalSpecialty.
|
|
23618
|
+
* @param {string} hospitalId
|
|
23619
|
+
* @param {*} [options] Override http request option.
|
|
23620
|
+
* @throws {RequiredError}
|
|
23621
|
+
*/
|
|
23622
|
+
apiV1HospitalsHospitalIdReactivePut: function (hospitalId, options) {
|
|
23623
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
23624
|
+
var localVarAxiosArgs;
|
|
23625
|
+
return __generator(this, function (_a) {
|
|
23626
|
+
switch (_a.label) {
|
|
23627
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdReactivePut(hospitalId, options)];
|
|
23628
|
+
case 1:
|
|
23629
|
+
localVarAxiosArgs = _a.sent();
|
|
23630
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
23631
|
+
}
|
|
23632
|
+
});
|
|
23633
|
+
});
|
|
23634
|
+
},
|
|
23529
23635
|
/**
|
|
23530
23636
|
*
|
|
23531
23637
|
* @summary Get all HospitalSpecialties.
|
|
@@ -24178,6 +24284,26 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
24178
24284
|
});
|
|
24179
24285
|
});
|
|
24180
24286
|
},
|
|
24287
|
+
/**
|
|
24288
|
+
*
|
|
24289
|
+
* @summary Delete HospitalSpecialty.
|
|
24290
|
+
* @param {string} hospitalSpecialtyId
|
|
24291
|
+
* @param {*} [options] Override http request option.
|
|
24292
|
+
* @throws {RequiredError}
|
|
24293
|
+
*/
|
|
24294
|
+
apiV1HospitalsHospitalSpecialtyIdSpecialtiesReactivePut: function (hospitalSpecialtyId, options) {
|
|
24295
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
24296
|
+
var localVarAxiosArgs;
|
|
24297
|
+
return __generator(this, function (_a) {
|
|
24298
|
+
switch (_a.label) {
|
|
24299
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalSpecialtyIdSpecialtiesReactivePut(hospitalSpecialtyId, options)];
|
|
24300
|
+
case 1:
|
|
24301
|
+
localVarAxiosArgs = _a.sent();
|
|
24302
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
24303
|
+
}
|
|
24304
|
+
});
|
|
24305
|
+
});
|
|
24306
|
+
},
|
|
24181
24307
|
/**
|
|
24182
24308
|
*
|
|
24183
24309
|
* @summary Create Hospital.
|
|
@@ -24681,6 +24807,16 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
24681
24807
|
apiV1HospitalsHospitalIdPut: function (hospitalId, updateHospitalCommand, options) {
|
|
24682
24808
|
return localVarFp.apiV1HospitalsHospitalIdPut(hospitalId, updateHospitalCommand, options).then(function (request) { return request(axios, basePath); });
|
|
24683
24809
|
},
|
|
24810
|
+
/**
|
|
24811
|
+
*
|
|
24812
|
+
* @summary Delete HospitalSpecialty.
|
|
24813
|
+
* @param {string} hospitalId
|
|
24814
|
+
* @param {*} [options] Override http request option.
|
|
24815
|
+
* @throws {RequiredError}
|
|
24816
|
+
*/
|
|
24817
|
+
apiV1HospitalsHospitalIdReactivePut: function (hospitalId, options) {
|
|
24818
|
+
return localVarFp.apiV1HospitalsHospitalIdReactivePut(hospitalId, options).then(function (request) { return request(axios, basePath); });
|
|
24819
|
+
},
|
|
24684
24820
|
/**
|
|
24685
24821
|
*
|
|
24686
24822
|
* @summary Get all HospitalSpecialties.
|
|
@@ -25063,6 +25199,16 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
25063
25199
|
apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdPut: function (hospitalId, workingDayId, updateHospitalWorkingDayCommand, options) {
|
|
25064
25200
|
return localVarFp.apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdPut(hospitalId, workingDayId, updateHospitalWorkingDayCommand, options).then(function (request) { return request(axios, basePath); });
|
|
25065
25201
|
},
|
|
25202
|
+
/**
|
|
25203
|
+
*
|
|
25204
|
+
* @summary Delete HospitalSpecialty.
|
|
25205
|
+
* @param {string} hospitalSpecialtyId
|
|
25206
|
+
* @param {*} [options] Override http request option.
|
|
25207
|
+
* @throws {RequiredError}
|
|
25208
|
+
*/
|
|
25209
|
+
apiV1HospitalsHospitalSpecialtyIdSpecialtiesReactivePut: function (hospitalSpecialtyId, options) {
|
|
25210
|
+
return localVarFp.apiV1HospitalsHospitalSpecialtyIdSpecialtiesReactivePut(hospitalSpecialtyId, options).then(function (request) { return request(axios, basePath); });
|
|
25211
|
+
},
|
|
25066
25212
|
/**
|
|
25067
25213
|
*
|
|
25068
25214
|
* @summary Create Hospital.
|
|
@@ -25606,6 +25752,18 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
25606
25752
|
var _this = this;
|
|
25607
25753
|
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdPut(hospitalId, updateHospitalCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
25608
25754
|
};
|
|
25755
|
+
/**
|
|
25756
|
+
*
|
|
25757
|
+
* @summary Delete HospitalSpecialty.
|
|
25758
|
+
* @param {string} hospitalId
|
|
25759
|
+
* @param {*} [options] Override http request option.
|
|
25760
|
+
* @throws {RequiredError}
|
|
25761
|
+
* @memberof HospitalsApi
|
|
25762
|
+
*/
|
|
25763
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdReactivePut = function (hospitalId, options) {
|
|
25764
|
+
var _this = this;
|
|
25765
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdReactivePut(hospitalId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
25766
|
+
};
|
|
25609
25767
|
/**
|
|
25610
25768
|
*
|
|
25611
25769
|
* @summary Get all HospitalSpecialties.
|
|
@@ -26042,6 +26200,18 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
26042
26200
|
var _this = this;
|
|
26043
26201
|
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdPut(hospitalId, workingDayId, updateHospitalWorkingDayCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
26044
26202
|
};
|
|
26203
|
+
/**
|
|
26204
|
+
*
|
|
26205
|
+
* @summary Delete HospitalSpecialty.
|
|
26206
|
+
* @param {string} hospitalSpecialtyId
|
|
26207
|
+
* @param {*} [options] Override http request option.
|
|
26208
|
+
* @throws {RequiredError}
|
|
26209
|
+
* @memberof HospitalsApi
|
|
26210
|
+
*/
|
|
26211
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalSpecialtyIdSpecialtiesReactivePut = function (hospitalSpecialtyId, options) {
|
|
26212
|
+
var _this = this;
|
|
26213
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalSpecialtyIdSpecialtiesReactivePut(hospitalSpecialtyId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
26214
|
+
};
|
|
26045
26215
|
/**
|
|
26046
26216
|
*
|
|
26047
26217
|
* @summary Create Hospital.
|
package/package.json
CHANGED
package/src/api.ts
CHANGED
|
@@ -8339,40 +8339,46 @@ export interface HospitalSpecialtyItemModel {
|
|
|
8339
8339
|
'slug'?: string | null;
|
|
8340
8340
|
/**
|
|
8341
8341
|
*
|
|
8342
|
-
* @type {
|
|
8342
|
+
* @type {MarketingType}
|
|
8343
8343
|
* @memberof HospitalSpecialtyItemModel
|
|
8344
8344
|
*/
|
|
8345
|
-
'
|
|
8345
|
+
'marketingType'?: MarketingType;
|
|
8346
8346
|
/**
|
|
8347
8347
|
*
|
|
8348
|
-
* @type {
|
|
8348
|
+
* @type {number}
|
|
8349
8349
|
* @memberof HospitalSpecialtyItemModel
|
|
8350
8350
|
*/
|
|
8351
|
-
'
|
|
8351
|
+
'order'?: number;
|
|
8352
8352
|
/**
|
|
8353
8353
|
*
|
|
8354
|
-
* @type {
|
|
8354
|
+
* @type {boolean}
|
|
8355
8355
|
* @memberof HospitalSpecialtyItemModel
|
|
8356
8356
|
*/
|
|
8357
|
-
'
|
|
8357
|
+
'confirmed'?: boolean;
|
|
8358
8358
|
/**
|
|
8359
8359
|
*
|
|
8360
|
-
* @type {
|
|
8360
|
+
* @type {number}
|
|
8361
8361
|
* @memberof HospitalSpecialtyItemModel
|
|
8362
8362
|
*/
|
|
8363
|
-
'
|
|
8363
|
+
'servicesCount'?: number;
|
|
8364
8364
|
/**
|
|
8365
8365
|
*
|
|
8366
|
-
* @type {
|
|
8366
|
+
* @type {string}
|
|
8367
8367
|
* @memberof HospitalSpecialtyItemModel
|
|
8368
8368
|
*/
|
|
8369
|
-
'
|
|
8369
|
+
'specialtyId'?: string;
|
|
8370
8370
|
/**
|
|
8371
8371
|
*
|
|
8372
|
-
* @type {
|
|
8372
|
+
* @type {string}
|
|
8373
8373
|
* @memberof HospitalSpecialtyItemModel
|
|
8374
8374
|
*/
|
|
8375
|
-
'
|
|
8375
|
+
'specialtyName'?: string | null;
|
|
8376
|
+
/**
|
|
8377
|
+
*
|
|
8378
|
+
* @type {string}
|
|
8379
|
+
* @memberof HospitalSpecialtyItemModel
|
|
8380
|
+
*/
|
|
8381
|
+
'specialtySlug'?: string | null;
|
|
8376
8382
|
/**
|
|
8377
8383
|
*
|
|
8378
8384
|
* @type {AuditableEntity}
|
|
@@ -8406,40 +8412,46 @@ export interface HospitalSpecialtyModel {
|
|
|
8406
8412
|
'slug'?: string | null;
|
|
8407
8413
|
/**
|
|
8408
8414
|
*
|
|
8409
|
-
* @type {
|
|
8415
|
+
* @type {MarketingType}
|
|
8410
8416
|
* @memberof HospitalSpecialtyModel
|
|
8411
8417
|
*/
|
|
8412
|
-
'
|
|
8418
|
+
'marketingType'?: MarketingType;
|
|
8413
8419
|
/**
|
|
8414
8420
|
*
|
|
8415
|
-
* @type {
|
|
8421
|
+
* @type {number}
|
|
8416
8422
|
* @memberof HospitalSpecialtyModel
|
|
8417
8423
|
*/
|
|
8418
|
-
'
|
|
8424
|
+
'order'?: number;
|
|
8419
8425
|
/**
|
|
8420
8426
|
*
|
|
8421
|
-
* @type {
|
|
8427
|
+
* @type {boolean}
|
|
8422
8428
|
* @memberof HospitalSpecialtyModel
|
|
8423
8429
|
*/
|
|
8424
|
-
'
|
|
8430
|
+
'confirmed'?: boolean;
|
|
8425
8431
|
/**
|
|
8426
8432
|
*
|
|
8427
|
-
* @type {
|
|
8433
|
+
* @type {number}
|
|
8428
8434
|
* @memberof HospitalSpecialtyModel
|
|
8429
8435
|
*/
|
|
8430
|
-
'
|
|
8436
|
+
'servicesCount'?: number;
|
|
8431
8437
|
/**
|
|
8432
8438
|
*
|
|
8433
|
-
* @type {
|
|
8439
|
+
* @type {string}
|
|
8434
8440
|
* @memberof HospitalSpecialtyModel
|
|
8435
8441
|
*/
|
|
8436
|
-
'
|
|
8442
|
+
'specialtyId'?: string;
|
|
8437
8443
|
/**
|
|
8438
8444
|
*
|
|
8439
|
-
* @type {
|
|
8445
|
+
* @type {string}
|
|
8440
8446
|
* @memberof HospitalSpecialtyModel
|
|
8441
8447
|
*/
|
|
8442
|
-
'
|
|
8448
|
+
'specialtyName'?: string | null;
|
|
8449
|
+
/**
|
|
8450
|
+
*
|
|
8451
|
+
* @type {string}
|
|
8452
|
+
* @memberof HospitalSpecialtyModel
|
|
8453
|
+
*/
|
|
8454
|
+
'specialtySlug'?: string | null;
|
|
8443
8455
|
/**
|
|
8444
8456
|
*
|
|
8445
8457
|
* @type {AuditableEntity}
|
|
@@ -8557,22 +8569,40 @@ export interface HospitalSpecialtySimpleItemModel {
|
|
|
8557
8569
|
'slug'?: string | null;
|
|
8558
8570
|
/**
|
|
8559
8571
|
*
|
|
8560
|
-
* @type {
|
|
8572
|
+
* @type {number}
|
|
8561
8573
|
* @memberof HospitalSpecialtySimpleItemModel
|
|
8562
8574
|
*/
|
|
8563
|
-
'
|
|
8575
|
+
'order'?: number;
|
|
8576
|
+
/**
|
|
8577
|
+
*
|
|
8578
|
+
* @type {boolean}
|
|
8579
|
+
* @memberof HospitalSpecialtySimpleItemModel
|
|
8580
|
+
*/
|
|
8581
|
+
'confirmed'?: boolean;
|
|
8564
8582
|
/**
|
|
8565
8583
|
*
|
|
8566
8584
|
* @type {number}
|
|
8567
8585
|
* @memberof HospitalSpecialtySimpleItemModel
|
|
8568
8586
|
*/
|
|
8569
|
-
'
|
|
8587
|
+
'servicesCount'?: number;
|
|
8570
8588
|
/**
|
|
8571
8589
|
*
|
|
8572
|
-
* @type {
|
|
8590
|
+
* @type {string}
|
|
8573
8591
|
* @memberof HospitalSpecialtySimpleItemModel
|
|
8574
8592
|
*/
|
|
8575
|
-
'
|
|
8593
|
+
'specialtyId'?: string;
|
|
8594
|
+
/**
|
|
8595
|
+
*
|
|
8596
|
+
* @type {string}
|
|
8597
|
+
* @memberof HospitalSpecialtySimpleItemModel
|
|
8598
|
+
*/
|
|
8599
|
+
'specialtyName'?: string | null;
|
|
8600
|
+
/**
|
|
8601
|
+
*
|
|
8602
|
+
* @type {string}
|
|
8603
|
+
* @memberof HospitalSpecialtySimpleItemModel
|
|
8604
|
+
*/
|
|
8605
|
+
'specialtySlug'?: string | null;
|
|
8576
8606
|
}
|
|
8577
8607
|
/**
|
|
8578
8608
|
*
|
|
@@ -11716,6 +11746,12 @@ export interface UpdateCHAdminCommand {
|
|
|
11716
11746
|
* @memberof UpdateCHAdminCommand
|
|
11717
11747
|
*/
|
|
11718
11748
|
'lastName'?: string | null;
|
|
11749
|
+
/**
|
|
11750
|
+
*
|
|
11751
|
+
* @type {string}
|
|
11752
|
+
* @memberof UpdateCHAdminCommand
|
|
11753
|
+
*/
|
|
11754
|
+
'slug'?: string | null;
|
|
11719
11755
|
/**
|
|
11720
11756
|
*
|
|
11721
11757
|
* @type {string}
|
|
@@ -11789,6 +11825,12 @@ export interface UpdateCHManagerCommand {
|
|
|
11789
11825
|
* @memberof UpdateCHManagerCommand
|
|
11790
11826
|
*/
|
|
11791
11827
|
'lastName'?: string | null;
|
|
11828
|
+
/**
|
|
11829
|
+
*
|
|
11830
|
+
* @type {string}
|
|
11831
|
+
* @memberof UpdateCHManagerCommand
|
|
11832
|
+
*/
|
|
11833
|
+
'slug'?: string | null;
|
|
11792
11834
|
/**
|
|
11793
11835
|
*
|
|
11794
11836
|
* @type {string}
|
|
@@ -13027,6 +13069,12 @@ export interface UpdateManagerCommand {
|
|
|
13027
13069
|
* @memberof UpdateManagerCommand
|
|
13028
13070
|
*/
|
|
13029
13071
|
'lastName'?: string | null;
|
|
13072
|
+
/**
|
|
13073
|
+
*
|
|
13074
|
+
* @type {string}
|
|
13075
|
+
* @memberof UpdateManagerCommand
|
|
13076
|
+
*/
|
|
13077
|
+
'slug'?: string | null;
|
|
13030
13078
|
/**
|
|
13031
13079
|
*
|
|
13032
13080
|
* @type {string}
|
|
@@ -13137,6 +13185,12 @@ export interface UpdatePatientCommand {
|
|
|
13137
13185
|
* @memberof UpdatePatientCommand
|
|
13138
13186
|
*/
|
|
13139
13187
|
'lastName'?: string | null;
|
|
13188
|
+
/**
|
|
13189
|
+
*
|
|
13190
|
+
* @type {string}
|
|
13191
|
+
* @memberof UpdatePatientCommand
|
|
13192
|
+
*/
|
|
13193
|
+
'slug'?: string | null;
|
|
13140
13194
|
/**
|
|
13141
13195
|
*
|
|
13142
13196
|
* @type {string}
|
|
@@ -32243,6 +32297,44 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
32243
32297
|
options: localVarRequestOptions,
|
|
32244
32298
|
};
|
|
32245
32299
|
},
|
|
32300
|
+
/**
|
|
32301
|
+
*
|
|
32302
|
+
* @summary Delete HospitalSpecialty.
|
|
32303
|
+
* @param {string} hospitalId
|
|
32304
|
+
* @param {*} [options] Override http request option.
|
|
32305
|
+
* @throws {RequiredError}
|
|
32306
|
+
*/
|
|
32307
|
+
apiV1HospitalsHospitalIdReactivePut: async (hospitalId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32308
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
32309
|
+
assertParamExists('apiV1HospitalsHospitalIdReactivePut', 'hospitalId', hospitalId)
|
|
32310
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/reactive`
|
|
32311
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
|
|
32312
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32313
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
32314
|
+
let baseOptions;
|
|
32315
|
+
if (configuration) {
|
|
32316
|
+
baseOptions = configuration.baseOptions;
|
|
32317
|
+
}
|
|
32318
|
+
|
|
32319
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
32320
|
+
const localVarHeaderParameter = {} as any;
|
|
32321
|
+
const localVarQueryParameter = {} as any;
|
|
32322
|
+
|
|
32323
|
+
// authentication oauth2 required
|
|
32324
|
+
// oauth required
|
|
32325
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
32326
|
+
|
|
32327
|
+
|
|
32328
|
+
|
|
32329
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
32330
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
32331
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
32332
|
+
|
|
32333
|
+
return {
|
|
32334
|
+
url: toPathString(localVarUrlObj),
|
|
32335
|
+
options: localVarRequestOptions,
|
|
32336
|
+
};
|
|
32337
|
+
},
|
|
32246
32338
|
/**
|
|
32247
32339
|
*
|
|
32248
32340
|
* @summary Get all HospitalSpecialties.
|
|
@@ -33809,6 +33901,44 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
33809
33901
|
options: localVarRequestOptions,
|
|
33810
33902
|
};
|
|
33811
33903
|
},
|
|
33904
|
+
/**
|
|
33905
|
+
*
|
|
33906
|
+
* @summary Delete HospitalSpecialty.
|
|
33907
|
+
* @param {string} hospitalSpecialtyId
|
|
33908
|
+
* @param {*} [options] Override http request option.
|
|
33909
|
+
* @throws {RequiredError}
|
|
33910
|
+
*/
|
|
33911
|
+
apiV1HospitalsHospitalSpecialtyIdSpecialtiesReactivePut: async (hospitalSpecialtyId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33912
|
+
// verify required parameter 'hospitalSpecialtyId' is not null or undefined
|
|
33913
|
+
assertParamExists('apiV1HospitalsHospitalSpecialtyIdSpecialtiesReactivePut', 'hospitalSpecialtyId', hospitalSpecialtyId)
|
|
33914
|
+
const localVarPath = `/api/v1/hospitals/{hospitalSpecialtyId}/specialties/reactive`
|
|
33915
|
+
.replace(`{${"hospitalSpecialtyId"}}`, encodeURIComponent(String(hospitalSpecialtyId)));
|
|
33916
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33917
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33918
|
+
let baseOptions;
|
|
33919
|
+
if (configuration) {
|
|
33920
|
+
baseOptions = configuration.baseOptions;
|
|
33921
|
+
}
|
|
33922
|
+
|
|
33923
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
33924
|
+
const localVarHeaderParameter = {} as any;
|
|
33925
|
+
const localVarQueryParameter = {} as any;
|
|
33926
|
+
|
|
33927
|
+
// authentication oauth2 required
|
|
33928
|
+
// oauth required
|
|
33929
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
33930
|
+
|
|
33931
|
+
|
|
33932
|
+
|
|
33933
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
33934
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
33935
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
33936
|
+
|
|
33937
|
+
return {
|
|
33938
|
+
url: toPathString(localVarUrlObj),
|
|
33939
|
+
options: localVarRequestOptions,
|
|
33940
|
+
};
|
|
33941
|
+
},
|
|
33812
33942
|
/**
|
|
33813
33943
|
*
|
|
33814
33944
|
* @summary Create Hospital.
|
|
@@ -34473,6 +34603,17 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
34473
34603
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdPut(hospitalId, updateHospitalCommand, options);
|
|
34474
34604
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34475
34605
|
},
|
|
34606
|
+
/**
|
|
34607
|
+
*
|
|
34608
|
+
* @summary Delete HospitalSpecialty.
|
|
34609
|
+
* @param {string} hospitalId
|
|
34610
|
+
* @param {*} [options] Override http request option.
|
|
34611
|
+
* @throws {RequiredError}
|
|
34612
|
+
*/
|
|
34613
|
+
async apiV1HospitalsHospitalIdReactivePut(hospitalId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
34614
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdReactivePut(hospitalId, options);
|
|
34615
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34616
|
+
},
|
|
34476
34617
|
/**
|
|
34477
34618
|
*
|
|
34478
34619
|
* @summary Get all HospitalSpecialties.
|
|
@@ -34882,6 +35023,17 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
34882
35023
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdPut(hospitalId, workingDayId, updateHospitalWorkingDayCommand, options);
|
|
34883
35024
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34884
35025
|
},
|
|
35026
|
+
/**
|
|
35027
|
+
*
|
|
35028
|
+
* @summary Delete HospitalSpecialty.
|
|
35029
|
+
* @param {string} hospitalSpecialtyId
|
|
35030
|
+
* @param {*} [options] Override http request option.
|
|
35031
|
+
* @throws {RequiredError}
|
|
35032
|
+
*/
|
|
35033
|
+
async apiV1HospitalsHospitalSpecialtyIdSpecialtiesReactivePut(hospitalSpecialtyId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
35034
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalSpecialtyIdSpecialtiesReactivePut(hospitalSpecialtyId, options);
|
|
35035
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
35036
|
+
},
|
|
34885
35037
|
/**
|
|
34886
35038
|
*
|
|
34887
35039
|
* @summary Create Hospital.
|
|
@@ -35359,6 +35511,16 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
35359
35511
|
apiV1HospitalsHospitalIdPut(hospitalId: string, updateHospitalCommand?: UpdateHospitalCommand, options?: any): AxiosPromise<HospitalModel> {
|
|
35360
35512
|
return localVarFp.apiV1HospitalsHospitalIdPut(hospitalId, updateHospitalCommand, options).then((request) => request(axios, basePath));
|
|
35361
35513
|
},
|
|
35514
|
+
/**
|
|
35515
|
+
*
|
|
35516
|
+
* @summary Delete HospitalSpecialty.
|
|
35517
|
+
* @param {string} hospitalId
|
|
35518
|
+
* @param {*} [options] Override http request option.
|
|
35519
|
+
* @throws {RequiredError}
|
|
35520
|
+
*/
|
|
35521
|
+
apiV1HospitalsHospitalIdReactivePut(hospitalId: string, options?: any): AxiosPromise<boolean> {
|
|
35522
|
+
return localVarFp.apiV1HospitalsHospitalIdReactivePut(hospitalId, options).then((request) => request(axios, basePath));
|
|
35523
|
+
},
|
|
35362
35524
|
/**
|
|
35363
35525
|
*
|
|
35364
35526
|
* @summary Get all HospitalSpecialties.
|
|
@@ -35741,6 +35903,16 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
35741
35903
|
apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdPut(hospitalId: string, workingDayId: string, updateHospitalWorkingDayCommand?: UpdateHospitalWorkingDayCommand, options?: any): AxiosPromise<WorkingDayModel> {
|
|
35742
35904
|
return localVarFp.apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdPut(hospitalId, workingDayId, updateHospitalWorkingDayCommand, options).then((request) => request(axios, basePath));
|
|
35743
35905
|
},
|
|
35906
|
+
/**
|
|
35907
|
+
*
|
|
35908
|
+
* @summary Delete HospitalSpecialty.
|
|
35909
|
+
* @param {string} hospitalSpecialtyId
|
|
35910
|
+
* @param {*} [options] Override http request option.
|
|
35911
|
+
* @throws {RequiredError}
|
|
35912
|
+
*/
|
|
35913
|
+
apiV1HospitalsHospitalSpecialtyIdSpecialtiesReactivePut(hospitalSpecialtyId: string, options?: any): AxiosPromise<boolean> {
|
|
35914
|
+
return localVarFp.apiV1HospitalsHospitalSpecialtyIdSpecialtiesReactivePut(hospitalSpecialtyId, options).then((request) => request(axios, basePath));
|
|
35915
|
+
},
|
|
35744
35916
|
/**
|
|
35745
35917
|
*
|
|
35746
35918
|
* @summary Create Hospital.
|
|
@@ -36281,6 +36453,18 @@ export class HospitalsApi extends BaseAPI {
|
|
|
36281
36453
|
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdPut(hospitalId, updateHospitalCommand, options).then((request) => request(this.axios, this.basePath));
|
|
36282
36454
|
}
|
|
36283
36455
|
|
|
36456
|
+
/**
|
|
36457
|
+
*
|
|
36458
|
+
* @summary Delete HospitalSpecialty.
|
|
36459
|
+
* @param {string} hospitalId
|
|
36460
|
+
* @param {*} [options] Override http request option.
|
|
36461
|
+
* @throws {RequiredError}
|
|
36462
|
+
* @memberof HospitalsApi
|
|
36463
|
+
*/
|
|
36464
|
+
public apiV1HospitalsHospitalIdReactivePut(hospitalId: string, options?: AxiosRequestConfig) {
|
|
36465
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdReactivePut(hospitalId, options).then((request) => request(this.axios, this.basePath));
|
|
36466
|
+
}
|
|
36467
|
+
|
|
36284
36468
|
/**
|
|
36285
36469
|
*
|
|
36286
36470
|
* @summary Get all HospitalSpecialties.
|
|
@@ -36717,6 +36901,18 @@ export class HospitalsApi extends BaseAPI {
|
|
|
36717
36901
|
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdWorkingdaysWorkingDayIdPut(hospitalId, workingDayId, updateHospitalWorkingDayCommand, options).then((request) => request(this.axios, this.basePath));
|
|
36718
36902
|
}
|
|
36719
36903
|
|
|
36904
|
+
/**
|
|
36905
|
+
*
|
|
36906
|
+
* @summary Delete HospitalSpecialty.
|
|
36907
|
+
* @param {string} hospitalSpecialtyId
|
|
36908
|
+
* @param {*} [options] Override http request option.
|
|
36909
|
+
* @throws {RequiredError}
|
|
36910
|
+
* @memberof HospitalsApi
|
|
36911
|
+
*/
|
|
36912
|
+
public apiV1HospitalsHospitalSpecialtyIdSpecialtiesReactivePut(hospitalSpecialtyId: string, options?: AxiosRequestConfig) {
|
|
36913
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalSpecialtyIdSpecialtiesReactivePut(hospitalSpecialtyId, options).then((request) => request(this.axios, this.basePath));
|
|
36914
|
+
}
|
|
36915
|
+
|
|
36720
36916
|
/**
|
|
36721
36917
|
*
|
|
36722
36918
|
* @summary Create Hospital.
|