ch-admin-api-client-typescript 4.4.5 → 4.4.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/api.d.ts +215 -4
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +116 -7
- package/package.json +1 -1
- package/src/api.ts +272 -7
package/lib/api.js
CHANGED
|
@@ -20601,6 +20601,48 @@ exports.GroupChannelsApi = GroupChannelsApi;
|
|
|
20601
20601
|
exports.HeaderNavigationsApiAxiosParamCreator = function (configuration) {
|
|
20602
20602
|
var _this = this;
|
|
20603
20603
|
return {
|
|
20604
|
+
/**
|
|
20605
|
+
*
|
|
20606
|
+
* @summary Batch HeaderNavigationItems; Do Add, update, delete at one request
|
|
20607
|
+
* @param {BatchHeaderNavigationItemsCommand} [batchHeaderNavigationItemsCommand]
|
|
20608
|
+
* @param {*} [options] Override http request option.
|
|
20609
|
+
* @throws {RequiredError}
|
|
20610
|
+
*/
|
|
20611
|
+
apiV1HeadernavigationsBatchPost: function (batchHeaderNavigationItemsCommand, options) {
|
|
20612
|
+
if (options === void 0) { options = {}; }
|
|
20613
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
20614
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
20615
|
+
return __generator(this, function (_a) {
|
|
20616
|
+
switch (_a.label) {
|
|
20617
|
+
case 0:
|
|
20618
|
+
localVarPath = "/api/v1/headernavigations/batch";
|
|
20619
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20620
|
+
if (configuration) {
|
|
20621
|
+
baseOptions = configuration.baseOptions;
|
|
20622
|
+
}
|
|
20623
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
20624
|
+
localVarHeaderParameter = {};
|
|
20625
|
+
localVarQueryParameter = {};
|
|
20626
|
+
// authentication oauth2 required
|
|
20627
|
+
// oauth required
|
|
20628
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
20629
|
+
case 1:
|
|
20630
|
+
// authentication oauth2 required
|
|
20631
|
+
// oauth required
|
|
20632
|
+
_a.sent();
|
|
20633
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
20634
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
20635
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
20636
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
20637
|
+
localVarRequestOptions.data = common_1.serializeDataIfNeeded(batchHeaderNavigationItemsCommand, localVarRequestOptions, configuration);
|
|
20638
|
+
return [2 /*return*/, {
|
|
20639
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
20640
|
+
options: localVarRequestOptions,
|
|
20641
|
+
}];
|
|
20642
|
+
}
|
|
20643
|
+
});
|
|
20644
|
+
});
|
|
20645
|
+
},
|
|
20604
20646
|
/**
|
|
20605
20647
|
*
|
|
20606
20648
|
* @summary Get all HeaderNavigationItems
|
|
@@ -20870,6 +20912,26 @@ exports.HeaderNavigationsApiAxiosParamCreator = function (configuration) {
|
|
|
20870
20912
|
exports.HeaderNavigationsApiFp = function (configuration) {
|
|
20871
20913
|
var localVarAxiosParamCreator = exports.HeaderNavigationsApiAxiosParamCreator(configuration);
|
|
20872
20914
|
return {
|
|
20915
|
+
/**
|
|
20916
|
+
*
|
|
20917
|
+
* @summary Batch HeaderNavigationItems; Do Add, update, delete at one request
|
|
20918
|
+
* @param {BatchHeaderNavigationItemsCommand} [batchHeaderNavigationItemsCommand]
|
|
20919
|
+
* @param {*} [options] Override http request option.
|
|
20920
|
+
* @throws {RequiredError}
|
|
20921
|
+
*/
|
|
20922
|
+
apiV1HeadernavigationsBatchPost: function (batchHeaderNavigationItemsCommand, options) {
|
|
20923
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
20924
|
+
var localVarAxiosArgs;
|
|
20925
|
+
return __generator(this, function (_a) {
|
|
20926
|
+
switch (_a.label) {
|
|
20927
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HeadernavigationsBatchPost(batchHeaderNavigationItemsCommand, options)];
|
|
20928
|
+
case 1:
|
|
20929
|
+
localVarAxiosArgs = _a.sent();
|
|
20930
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
20931
|
+
}
|
|
20932
|
+
});
|
|
20933
|
+
});
|
|
20934
|
+
},
|
|
20873
20935
|
/**
|
|
20874
20936
|
*
|
|
20875
20937
|
* @summary Get all HeaderNavigationItems
|
|
@@ -21000,6 +21062,16 @@ exports.HeaderNavigationsApiFp = function (configuration) {
|
|
|
21000
21062
|
exports.HeaderNavigationsApiFactory = function (configuration, basePath, axios) {
|
|
21001
21063
|
var localVarFp = exports.HeaderNavigationsApiFp(configuration);
|
|
21002
21064
|
return {
|
|
21065
|
+
/**
|
|
21066
|
+
*
|
|
21067
|
+
* @summary Batch HeaderNavigationItems; Do Add, update, delete at one request
|
|
21068
|
+
* @param {BatchHeaderNavigationItemsCommand} [batchHeaderNavigationItemsCommand]
|
|
21069
|
+
* @param {*} [options] Override http request option.
|
|
21070
|
+
* @throws {RequiredError}
|
|
21071
|
+
*/
|
|
21072
|
+
apiV1HeadernavigationsBatchPost: function (batchHeaderNavigationItemsCommand, options) {
|
|
21073
|
+
return localVarFp.apiV1HeadernavigationsBatchPost(batchHeaderNavigationItemsCommand, options).then(function (request) { return request(axios, basePath); });
|
|
21074
|
+
},
|
|
21003
21075
|
/**
|
|
21004
21076
|
*
|
|
21005
21077
|
* @summary Get all HeaderNavigationItems
|
|
@@ -21074,6 +21146,18 @@ var HeaderNavigationsApi = /** @class */ (function (_super) {
|
|
|
21074
21146
|
function HeaderNavigationsApi() {
|
|
21075
21147
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
21076
21148
|
}
|
|
21149
|
+
/**
|
|
21150
|
+
*
|
|
21151
|
+
* @summary Batch HeaderNavigationItems; Do Add, update, delete at one request
|
|
21152
|
+
* @param {BatchHeaderNavigationItemsCommand} [batchHeaderNavigationItemsCommand]
|
|
21153
|
+
* @param {*} [options] Override http request option.
|
|
21154
|
+
* @throws {RequiredError}
|
|
21155
|
+
* @memberof HeaderNavigationsApi
|
|
21156
|
+
*/
|
|
21157
|
+
HeaderNavigationsApi.prototype.apiV1HeadernavigationsBatchPost = function (batchHeaderNavigationItemsCommand, options) {
|
|
21158
|
+
var _this = this;
|
|
21159
|
+
return exports.HeaderNavigationsApiFp(this.configuration).apiV1HeadernavigationsBatchPost(batchHeaderNavigationItemsCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
21160
|
+
};
|
|
21077
21161
|
/**
|
|
21078
21162
|
*
|
|
21079
21163
|
* @summary Get all HeaderNavigationItems
|
|
@@ -29261,13 +29345,16 @@ exports.HospitalsConsultationTimetableOverridesApiAxiosParamCreator = function (
|
|
|
29261
29345
|
*
|
|
29262
29346
|
* @summary Get consultation timetable override items
|
|
29263
29347
|
* @param {string} hospitalId
|
|
29348
|
+
* @param {boolean} [includesPreviousItems]
|
|
29349
|
+
* @param {Date} [startDate]
|
|
29350
|
+
* @param {Date} [endDate]
|
|
29264
29351
|
* @param {number} [page]
|
|
29265
29352
|
* @param {number} [limit]
|
|
29266
29353
|
* @param {Date} [lastRetrieved]
|
|
29267
29354
|
* @param {*} [options] Override http request option.
|
|
29268
29355
|
* @throws {RequiredError}
|
|
29269
29356
|
*/
|
|
29270
|
-
apiV1HospitalsHospitalIdConsultationtimetableoverridesGet: function (hospitalId, page, limit, lastRetrieved, options) {
|
|
29357
|
+
apiV1HospitalsHospitalIdConsultationtimetableoverridesGet: function (hospitalId, includesPreviousItems, startDate, endDate, page, limit, lastRetrieved, options) {
|
|
29271
29358
|
if (options === void 0) { options = {}; }
|
|
29272
29359
|
return __awaiter(_this, void 0, void 0, function () {
|
|
29273
29360
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -29292,6 +29379,19 @@ exports.HospitalsConsultationTimetableOverridesApiAxiosParamCreator = function (
|
|
|
29292
29379
|
// authentication oauth2 required
|
|
29293
29380
|
// oauth required
|
|
29294
29381
|
_a.sent();
|
|
29382
|
+
if (includesPreviousItems !== undefined) {
|
|
29383
|
+
localVarQueryParameter['IncludesPreviousItems'] = includesPreviousItems;
|
|
29384
|
+
}
|
|
29385
|
+
if (startDate !== undefined) {
|
|
29386
|
+
localVarQueryParameter['StartDate'] = (startDate instanceof Date) ?
|
|
29387
|
+
startDate.toISOString() :
|
|
29388
|
+
startDate;
|
|
29389
|
+
}
|
|
29390
|
+
if (endDate !== undefined) {
|
|
29391
|
+
localVarQueryParameter['EndDate'] = (endDate instanceof Date) ?
|
|
29392
|
+
endDate.toISOString() :
|
|
29393
|
+
endDate;
|
|
29394
|
+
}
|
|
29295
29395
|
if (page !== undefined) {
|
|
29296
29396
|
localVarQueryParameter['page'] = page;
|
|
29297
29397
|
}
|
|
@@ -29538,18 +29638,21 @@ exports.HospitalsConsultationTimetableOverridesApiFp = function (configuration)
|
|
|
29538
29638
|
*
|
|
29539
29639
|
* @summary Get consultation timetable override items
|
|
29540
29640
|
* @param {string} hospitalId
|
|
29641
|
+
* @param {boolean} [includesPreviousItems]
|
|
29642
|
+
* @param {Date} [startDate]
|
|
29643
|
+
* @param {Date} [endDate]
|
|
29541
29644
|
* @param {number} [page]
|
|
29542
29645
|
* @param {number} [limit]
|
|
29543
29646
|
* @param {Date} [lastRetrieved]
|
|
29544
29647
|
* @param {*} [options] Override http request option.
|
|
29545
29648
|
* @throws {RequiredError}
|
|
29546
29649
|
*/
|
|
29547
|
-
apiV1HospitalsHospitalIdConsultationtimetableoverridesGet: function (hospitalId, page, limit, lastRetrieved, options) {
|
|
29650
|
+
apiV1HospitalsHospitalIdConsultationtimetableoverridesGet: function (hospitalId, includesPreviousItems, startDate, endDate, page, limit, lastRetrieved, options) {
|
|
29548
29651
|
return __awaiter(this, void 0, void 0, function () {
|
|
29549
29652
|
var localVarAxiosArgs;
|
|
29550
29653
|
return __generator(this, function (_a) {
|
|
29551
29654
|
switch (_a.label) {
|
|
29552
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdConsultationtimetableoverridesGet(hospitalId, page, limit, lastRetrieved, options)];
|
|
29655
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdConsultationtimetableoverridesGet(hospitalId, includesPreviousItems, startDate, endDate, page, limit, lastRetrieved, options)];
|
|
29553
29656
|
case 1:
|
|
29554
29657
|
localVarAxiosArgs = _a.sent();
|
|
29555
29658
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -29666,14 +29769,17 @@ exports.HospitalsConsultationTimetableOverridesApiFactory = function (configurat
|
|
|
29666
29769
|
*
|
|
29667
29770
|
* @summary Get consultation timetable override items
|
|
29668
29771
|
* @param {string} hospitalId
|
|
29772
|
+
* @param {boolean} [includesPreviousItems]
|
|
29773
|
+
* @param {Date} [startDate]
|
|
29774
|
+
* @param {Date} [endDate]
|
|
29669
29775
|
* @param {number} [page]
|
|
29670
29776
|
* @param {number} [limit]
|
|
29671
29777
|
* @param {Date} [lastRetrieved]
|
|
29672
29778
|
* @param {*} [options] Override http request option.
|
|
29673
29779
|
* @throws {RequiredError}
|
|
29674
29780
|
*/
|
|
29675
|
-
apiV1HospitalsHospitalIdConsultationtimetableoverridesGet: function (hospitalId, page, limit, lastRetrieved, options) {
|
|
29676
|
-
return localVarFp.apiV1HospitalsHospitalIdConsultationtimetableoverridesGet(hospitalId, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
29781
|
+
apiV1HospitalsHospitalIdConsultationtimetableoverridesGet: function (hospitalId, includesPreviousItems, startDate, endDate, page, limit, lastRetrieved, options) {
|
|
29782
|
+
return localVarFp.apiV1HospitalsHospitalIdConsultationtimetableoverridesGet(hospitalId, includesPreviousItems, startDate, endDate, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
29677
29783
|
},
|
|
29678
29784
|
/**
|
|
29679
29785
|
*
|
|
@@ -29750,6 +29856,9 @@ var HospitalsConsultationTimetableOverridesApi = /** @class */ (function (_super
|
|
|
29750
29856
|
*
|
|
29751
29857
|
* @summary Get consultation timetable override items
|
|
29752
29858
|
* @param {string} hospitalId
|
|
29859
|
+
* @param {boolean} [includesPreviousItems]
|
|
29860
|
+
* @param {Date} [startDate]
|
|
29861
|
+
* @param {Date} [endDate]
|
|
29753
29862
|
* @param {number} [page]
|
|
29754
29863
|
* @param {number} [limit]
|
|
29755
29864
|
* @param {Date} [lastRetrieved]
|
|
@@ -29757,9 +29866,9 @@ var HospitalsConsultationTimetableOverridesApi = /** @class */ (function (_super
|
|
|
29757
29866
|
* @throws {RequiredError}
|
|
29758
29867
|
* @memberof HospitalsConsultationTimetableOverridesApi
|
|
29759
29868
|
*/
|
|
29760
|
-
HospitalsConsultationTimetableOverridesApi.prototype.apiV1HospitalsHospitalIdConsultationtimetableoverridesGet = function (hospitalId, page, limit, lastRetrieved, options) {
|
|
29869
|
+
HospitalsConsultationTimetableOverridesApi.prototype.apiV1HospitalsHospitalIdConsultationtimetableoverridesGet = function (hospitalId, includesPreviousItems, startDate, endDate, page, limit, lastRetrieved, options) {
|
|
29761
29870
|
var _this = this;
|
|
29762
|
-
return exports.HospitalsConsultationTimetableOverridesApiFp(this.configuration).apiV1HospitalsHospitalIdConsultationtimetableoverridesGet(hospitalId, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
29871
|
+
return exports.HospitalsConsultationTimetableOverridesApiFp(this.configuration).apiV1HospitalsHospitalIdConsultationtimetableoverridesGet(hospitalId, includesPreviousItems, startDate, endDate, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
29763
29872
|
};
|
|
29764
29873
|
/**
|
|
29765
29874
|
*
|
package/package.json
CHANGED
package/src/api.ts
CHANGED
|
@@ -1155,6 +1155,62 @@ export interface BatchAddHospitalConsultationTimetableOverrideModel {
|
|
|
1155
1155
|
* @memberof BatchAddHospitalConsultationTimetableOverrideModel
|
|
1156
1156
|
*/
|
|
1157
1157
|
'end'?: string | null;
|
|
1158
|
+
/**
|
|
1159
|
+
*
|
|
1160
|
+
* @type {boolean}
|
|
1161
|
+
* @memberof BatchAddHospitalConsultationTimetableOverrideModel
|
|
1162
|
+
*/
|
|
1163
|
+
'isUnavailable'?: boolean | null;
|
|
1164
|
+
}
|
|
1165
|
+
/**
|
|
1166
|
+
*
|
|
1167
|
+
* @export
|
|
1168
|
+
* @interface BatchHeaderNavigationItemResultModel
|
|
1169
|
+
*/
|
|
1170
|
+
export interface BatchHeaderNavigationItemResultModel {
|
|
1171
|
+
/**
|
|
1172
|
+
*
|
|
1173
|
+
* @type {Array<HeaderNavigationItemModel>}
|
|
1174
|
+
* @memberof BatchHeaderNavigationItemResultModel
|
|
1175
|
+
*/
|
|
1176
|
+
'added'?: Array<HeaderNavigationItemModel> | null;
|
|
1177
|
+
/**
|
|
1178
|
+
*
|
|
1179
|
+
* @type {Array<HeaderNavigationItemModel>}
|
|
1180
|
+
* @memberof BatchHeaderNavigationItemResultModel
|
|
1181
|
+
*/
|
|
1182
|
+
'updated'?: Array<HeaderNavigationItemModel> | null;
|
|
1183
|
+
/**
|
|
1184
|
+
*
|
|
1185
|
+
* @type {Array<string>}
|
|
1186
|
+
* @memberof BatchHeaderNavigationItemResultModel
|
|
1187
|
+
*/
|
|
1188
|
+
'deleted'?: Array<string> | null;
|
|
1189
|
+
}
|
|
1190
|
+
/**
|
|
1191
|
+
*
|
|
1192
|
+
* @export
|
|
1193
|
+
* @interface BatchHeaderNavigationItemsCommand
|
|
1194
|
+
*/
|
|
1195
|
+
export interface BatchHeaderNavigationItemsCommand {
|
|
1196
|
+
/**
|
|
1197
|
+
*
|
|
1198
|
+
* @type {Array<CreateHeaderNavigationItemModel>}
|
|
1199
|
+
* @memberof BatchHeaderNavigationItemsCommand
|
|
1200
|
+
*/
|
|
1201
|
+
'adds'?: Array<CreateHeaderNavigationItemModel> | null;
|
|
1202
|
+
/**
|
|
1203
|
+
*
|
|
1204
|
+
* @type {Array<UpdateHeaderNavigationItemModel>}
|
|
1205
|
+
* @memberof BatchHeaderNavigationItemsCommand
|
|
1206
|
+
*/
|
|
1207
|
+
'updates'?: Array<UpdateHeaderNavigationItemModel> | null;
|
|
1208
|
+
/**
|
|
1209
|
+
*
|
|
1210
|
+
* @type {Array<string>}
|
|
1211
|
+
* @memberof BatchHeaderNavigationItemsCommand
|
|
1212
|
+
*/
|
|
1213
|
+
'deletes'?: Array<string> | null;
|
|
1158
1214
|
}
|
|
1159
1215
|
/**
|
|
1160
1216
|
*
|
|
@@ -1311,6 +1367,12 @@ export interface BatchUpdateHospitalConsultationTimetableOverrideModel {
|
|
|
1311
1367
|
* @memberof BatchUpdateHospitalConsultationTimetableOverrideModel
|
|
1312
1368
|
*/
|
|
1313
1369
|
'end'?: string | null;
|
|
1370
|
+
/**
|
|
1371
|
+
*
|
|
1372
|
+
* @type {boolean}
|
|
1373
|
+
* @memberof BatchUpdateHospitalConsultationTimetableOverrideModel
|
|
1374
|
+
*/
|
|
1375
|
+
'isUnavailable'?: boolean | null;
|
|
1314
1376
|
/**
|
|
1315
1377
|
*
|
|
1316
1378
|
* @type {string}
|
|
@@ -4584,6 +4646,43 @@ export interface CreateHeaderNavigationItemCommand {
|
|
|
4584
4646
|
*/
|
|
4585
4647
|
'parentId'?: string | null;
|
|
4586
4648
|
}
|
|
4649
|
+
/**
|
|
4650
|
+
*
|
|
4651
|
+
* @export
|
|
4652
|
+
* @interface CreateHeaderNavigationItemModel
|
|
4653
|
+
*/
|
|
4654
|
+
export interface CreateHeaderNavigationItemModel {
|
|
4655
|
+
/**
|
|
4656
|
+
*
|
|
4657
|
+
* @type {string}
|
|
4658
|
+
* @memberof CreateHeaderNavigationItemModel
|
|
4659
|
+
*/
|
|
4660
|
+
'languageCode'?: string | null;
|
|
4661
|
+
/**
|
|
4662
|
+
*
|
|
4663
|
+
* @type {string}
|
|
4664
|
+
* @memberof CreateHeaderNavigationItemModel
|
|
4665
|
+
*/
|
|
4666
|
+
'name'?: string | null;
|
|
4667
|
+
/**
|
|
4668
|
+
*
|
|
4669
|
+
* @type {string}
|
|
4670
|
+
* @memberof CreateHeaderNavigationItemModel
|
|
4671
|
+
*/
|
|
4672
|
+
'url'?: string | null;
|
|
4673
|
+
/**
|
|
4674
|
+
*
|
|
4675
|
+
* @type {number}
|
|
4676
|
+
* @memberof CreateHeaderNavigationItemModel
|
|
4677
|
+
*/
|
|
4678
|
+
'order'?: number;
|
|
4679
|
+
/**
|
|
4680
|
+
*
|
|
4681
|
+
* @type {string}
|
|
4682
|
+
* @memberof CreateHeaderNavigationItemModel
|
|
4683
|
+
*/
|
|
4684
|
+
'parentId'?: string | null;
|
|
4685
|
+
}
|
|
4587
4686
|
/**
|
|
4588
4687
|
*
|
|
4589
4688
|
* @export
|
|
@@ -4779,6 +4878,12 @@ export interface CreateHospitalConsultationTimetableOverrideCommand {
|
|
|
4779
4878
|
* @memberof CreateHospitalConsultationTimetableOverrideCommand
|
|
4780
4879
|
*/
|
|
4781
4880
|
'end'?: string | null;
|
|
4881
|
+
/**
|
|
4882
|
+
*
|
|
4883
|
+
* @type {boolean}
|
|
4884
|
+
* @memberof CreateHospitalConsultationTimetableOverrideCommand
|
|
4885
|
+
*/
|
|
4886
|
+
'isUnavailable'?: boolean | null;
|
|
4782
4887
|
}
|
|
4783
4888
|
/**
|
|
4784
4889
|
*
|
|
@@ -8233,6 +8338,12 @@ export interface HospitalConsultationTimetableOverrideItemModel {
|
|
|
8233
8338
|
* @memberof HospitalConsultationTimetableOverrideItemModel
|
|
8234
8339
|
*/
|
|
8235
8340
|
'end'?: string | null;
|
|
8341
|
+
/**
|
|
8342
|
+
*
|
|
8343
|
+
* @type {boolean}
|
|
8344
|
+
* @memberof HospitalConsultationTimetableOverrideItemModel
|
|
8345
|
+
*/
|
|
8346
|
+
'isUnavailable'?: boolean;
|
|
8236
8347
|
}
|
|
8237
8348
|
/**
|
|
8238
8349
|
*
|
|
@@ -8264,6 +8375,12 @@ export interface HospitalConsultationTimetableOverrideModel {
|
|
|
8264
8375
|
* @memberof HospitalConsultationTimetableOverrideModel
|
|
8265
8376
|
*/
|
|
8266
8377
|
'end'?: string | null;
|
|
8378
|
+
/**
|
|
8379
|
+
*
|
|
8380
|
+
* @type {boolean}
|
|
8381
|
+
* @memberof HospitalConsultationTimetableOverrideModel
|
|
8382
|
+
*/
|
|
8383
|
+
'isUnavailable'?: boolean;
|
|
8267
8384
|
}
|
|
8268
8385
|
/**
|
|
8269
8386
|
*
|
|
@@ -14202,6 +14319,49 @@ export interface UpdateHeaderNavigationItemCommand {
|
|
|
14202
14319
|
*/
|
|
14203
14320
|
'parentId'?: string | null;
|
|
14204
14321
|
}
|
|
14322
|
+
/**
|
|
14323
|
+
*
|
|
14324
|
+
* @export
|
|
14325
|
+
* @interface UpdateHeaderNavigationItemModel
|
|
14326
|
+
*/
|
|
14327
|
+
export interface UpdateHeaderNavigationItemModel {
|
|
14328
|
+
/**
|
|
14329
|
+
*
|
|
14330
|
+
* @type {string}
|
|
14331
|
+
* @memberof UpdateHeaderNavigationItemModel
|
|
14332
|
+
*/
|
|
14333
|
+
'languageCode'?: string | null;
|
|
14334
|
+
/**
|
|
14335
|
+
*
|
|
14336
|
+
* @type {string}
|
|
14337
|
+
* @memberof UpdateHeaderNavigationItemModel
|
|
14338
|
+
*/
|
|
14339
|
+
'name'?: string | null;
|
|
14340
|
+
/**
|
|
14341
|
+
*
|
|
14342
|
+
* @type {string}
|
|
14343
|
+
* @memberof UpdateHeaderNavigationItemModel
|
|
14344
|
+
*/
|
|
14345
|
+
'url'?: string | null;
|
|
14346
|
+
/**
|
|
14347
|
+
*
|
|
14348
|
+
* @type {number}
|
|
14349
|
+
* @memberof UpdateHeaderNavigationItemModel
|
|
14350
|
+
*/
|
|
14351
|
+
'order'?: number;
|
|
14352
|
+
/**
|
|
14353
|
+
*
|
|
14354
|
+
* @type {string}
|
|
14355
|
+
* @memberof UpdateHeaderNavigationItemModel
|
|
14356
|
+
*/
|
|
14357
|
+
'parentId'?: string | null;
|
|
14358
|
+
/**
|
|
14359
|
+
*
|
|
14360
|
+
* @type {string}
|
|
14361
|
+
* @memberof UpdateHeaderNavigationItemModel
|
|
14362
|
+
*/
|
|
14363
|
+
'id'?: string;
|
|
14364
|
+
}
|
|
14205
14365
|
/**
|
|
14206
14366
|
*
|
|
14207
14367
|
* @export
|
|
@@ -14408,6 +14568,12 @@ export interface UpdateHospitalConsultationTimetableOverrideCommand {
|
|
|
14408
14568
|
* @memberof UpdateHospitalConsultationTimetableOverrideCommand
|
|
14409
14569
|
*/
|
|
14410
14570
|
'end'?: string | null;
|
|
14571
|
+
/**
|
|
14572
|
+
*
|
|
14573
|
+
* @type {boolean}
|
|
14574
|
+
* @memberof UpdateHospitalConsultationTimetableOverrideCommand
|
|
14575
|
+
*/
|
|
14576
|
+
'isUnavailable'?: boolean | null;
|
|
14411
14577
|
}
|
|
14412
14578
|
/**
|
|
14413
14579
|
*
|
|
@@ -33608,6 +33774,44 @@ export class GroupChannelsApi extends BaseAPI {
|
|
|
33608
33774
|
*/
|
|
33609
33775
|
export const HeaderNavigationsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
33610
33776
|
return {
|
|
33777
|
+
/**
|
|
33778
|
+
*
|
|
33779
|
+
* @summary Batch HeaderNavigationItems; Do Add, update, delete at one request
|
|
33780
|
+
* @param {BatchHeaderNavigationItemsCommand} [batchHeaderNavigationItemsCommand]
|
|
33781
|
+
* @param {*} [options] Override http request option.
|
|
33782
|
+
* @throws {RequiredError}
|
|
33783
|
+
*/
|
|
33784
|
+
apiV1HeadernavigationsBatchPost: async (batchHeaderNavigationItemsCommand?: BatchHeaderNavigationItemsCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33785
|
+
const localVarPath = `/api/v1/headernavigations/batch`;
|
|
33786
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33787
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33788
|
+
let baseOptions;
|
|
33789
|
+
if (configuration) {
|
|
33790
|
+
baseOptions = configuration.baseOptions;
|
|
33791
|
+
}
|
|
33792
|
+
|
|
33793
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
33794
|
+
const localVarHeaderParameter = {} as any;
|
|
33795
|
+
const localVarQueryParameter = {} as any;
|
|
33796
|
+
|
|
33797
|
+
// authentication oauth2 required
|
|
33798
|
+
// oauth required
|
|
33799
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
33800
|
+
|
|
33801
|
+
|
|
33802
|
+
|
|
33803
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
33804
|
+
|
|
33805
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
33806
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
33807
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
33808
|
+
localVarRequestOptions.data = serializeDataIfNeeded(batchHeaderNavigationItemsCommand, localVarRequestOptions, configuration)
|
|
33809
|
+
|
|
33810
|
+
return {
|
|
33811
|
+
url: toPathString(localVarUrlObj),
|
|
33812
|
+
options: localVarRequestOptions,
|
|
33813
|
+
};
|
|
33814
|
+
},
|
|
33611
33815
|
/**
|
|
33612
33816
|
*
|
|
33613
33817
|
* @summary Get all HeaderNavigationItems
|
|
@@ -33851,6 +34055,17 @@ export const HeaderNavigationsApiAxiosParamCreator = function (configuration?: C
|
|
|
33851
34055
|
export const HeaderNavigationsApiFp = function(configuration?: Configuration) {
|
|
33852
34056
|
const localVarAxiosParamCreator = HeaderNavigationsApiAxiosParamCreator(configuration)
|
|
33853
34057
|
return {
|
|
34058
|
+
/**
|
|
34059
|
+
*
|
|
34060
|
+
* @summary Batch HeaderNavigationItems; Do Add, update, delete at one request
|
|
34061
|
+
* @param {BatchHeaderNavigationItemsCommand} [batchHeaderNavigationItemsCommand]
|
|
34062
|
+
* @param {*} [options] Override http request option.
|
|
34063
|
+
* @throws {RequiredError}
|
|
34064
|
+
*/
|
|
34065
|
+
async apiV1HeadernavigationsBatchPost(batchHeaderNavigationItemsCommand?: BatchHeaderNavigationItemsCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BatchHeaderNavigationItemResultModel>> {
|
|
34066
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HeadernavigationsBatchPost(batchHeaderNavigationItemsCommand, options);
|
|
34067
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34068
|
+
},
|
|
33854
34069
|
/**
|
|
33855
34070
|
*
|
|
33856
34071
|
* @summary Get all HeaderNavigationItems
|
|
@@ -33928,6 +34143,16 @@ export const HeaderNavigationsApiFp = function(configuration?: Configuration) {
|
|
|
33928
34143
|
export const HeaderNavigationsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
33929
34144
|
const localVarFp = HeaderNavigationsApiFp(configuration)
|
|
33930
34145
|
return {
|
|
34146
|
+
/**
|
|
34147
|
+
*
|
|
34148
|
+
* @summary Batch HeaderNavigationItems; Do Add, update, delete at one request
|
|
34149
|
+
* @param {BatchHeaderNavigationItemsCommand} [batchHeaderNavigationItemsCommand]
|
|
34150
|
+
* @param {*} [options] Override http request option.
|
|
34151
|
+
* @throws {RequiredError}
|
|
34152
|
+
*/
|
|
34153
|
+
apiV1HeadernavigationsBatchPost(batchHeaderNavigationItemsCommand?: BatchHeaderNavigationItemsCommand, options?: any): AxiosPromise<BatchHeaderNavigationItemResultModel> {
|
|
34154
|
+
return localVarFp.apiV1HeadernavigationsBatchPost(batchHeaderNavigationItemsCommand, options).then((request) => request(axios, basePath));
|
|
34155
|
+
},
|
|
33931
34156
|
/**
|
|
33932
34157
|
*
|
|
33933
34158
|
* @summary Get all HeaderNavigationItems
|
|
@@ -33999,6 +34224,18 @@ export const HeaderNavigationsApiFactory = function (configuration?: Configurati
|
|
|
33999
34224
|
* @extends {BaseAPI}
|
|
34000
34225
|
*/
|
|
34001
34226
|
export class HeaderNavigationsApi extends BaseAPI {
|
|
34227
|
+
/**
|
|
34228
|
+
*
|
|
34229
|
+
* @summary Batch HeaderNavigationItems; Do Add, update, delete at one request
|
|
34230
|
+
* @param {BatchHeaderNavigationItemsCommand} [batchHeaderNavigationItemsCommand]
|
|
34231
|
+
* @param {*} [options] Override http request option.
|
|
34232
|
+
* @throws {RequiredError}
|
|
34233
|
+
* @memberof HeaderNavigationsApi
|
|
34234
|
+
*/
|
|
34235
|
+
public apiV1HeadernavigationsBatchPost(batchHeaderNavigationItemsCommand?: BatchHeaderNavigationItemsCommand, options?: AxiosRequestConfig) {
|
|
34236
|
+
return HeaderNavigationsApiFp(this.configuration).apiV1HeadernavigationsBatchPost(batchHeaderNavigationItemsCommand, options).then((request) => request(this.axios, this.basePath));
|
|
34237
|
+
}
|
|
34238
|
+
|
|
34002
34239
|
/**
|
|
34003
34240
|
*
|
|
34004
34241
|
* @summary Get all HeaderNavigationItems
|
|
@@ -41298,13 +41535,16 @@ export const HospitalsConsultationTimetableOverridesApiAxiosParamCreator = funct
|
|
|
41298
41535
|
*
|
|
41299
41536
|
* @summary Get consultation timetable override items
|
|
41300
41537
|
* @param {string} hospitalId
|
|
41538
|
+
* @param {boolean} [includesPreviousItems]
|
|
41539
|
+
* @param {Date} [startDate]
|
|
41540
|
+
* @param {Date} [endDate]
|
|
41301
41541
|
* @param {number} [page]
|
|
41302
41542
|
* @param {number} [limit]
|
|
41303
41543
|
* @param {Date} [lastRetrieved]
|
|
41304
41544
|
* @param {*} [options] Override http request option.
|
|
41305
41545
|
* @throws {RequiredError}
|
|
41306
41546
|
*/
|
|
41307
|
-
apiV1HospitalsHospitalIdConsultationtimetableoverridesGet: async (hospitalId: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
41547
|
+
apiV1HospitalsHospitalIdConsultationtimetableoverridesGet: async (hospitalId: string, includesPreviousItems?: boolean, startDate?: Date, endDate?: Date, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
41308
41548
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
41309
41549
|
assertParamExists('apiV1HospitalsHospitalIdConsultationtimetableoverridesGet', 'hospitalId', hospitalId)
|
|
41310
41550
|
const localVarPath = `/api/v1/hospitals/{hospitalId}/consultationtimetableoverrides`
|
|
@@ -41324,6 +41564,22 @@ export const HospitalsConsultationTimetableOverridesApiAxiosParamCreator = funct
|
|
|
41324
41564
|
// oauth required
|
|
41325
41565
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
41326
41566
|
|
|
41567
|
+
if (includesPreviousItems !== undefined) {
|
|
41568
|
+
localVarQueryParameter['IncludesPreviousItems'] = includesPreviousItems;
|
|
41569
|
+
}
|
|
41570
|
+
|
|
41571
|
+
if (startDate !== undefined) {
|
|
41572
|
+
localVarQueryParameter['StartDate'] = (startDate as any instanceof Date) ?
|
|
41573
|
+
(startDate as any).toISOString() :
|
|
41574
|
+
startDate;
|
|
41575
|
+
}
|
|
41576
|
+
|
|
41577
|
+
if (endDate !== undefined) {
|
|
41578
|
+
localVarQueryParameter['EndDate'] = (endDate as any instanceof Date) ?
|
|
41579
|
+
(endDate as any).toISOString() :
|
|
41580
|
+
endDate;
|
|
41581
|
+
}
|
|
41582
|
+
|
|
41327
41583
|
if (page !== undefined) {
|
|
41328
41584
|
localVarQueryParameter['page'] = page;
|
|
41329
41585
|
}
|
|
@@ -41547,14 +41803,17 @@ export const HospitalsConsultationTimetableOverridesApiFp = function(configurati
|
|
|
41547
41803
|
*
|
|
41548
41804
|
* @summary Get consultation timetable override items
|
|
41549
41805
|
* @param {string} hospitalId
|
|
41806
|
+
* @param {boolean} [includesPreviousItems]
|
|
41807
|
+
* @param {Date} [startDate]
|
|
41808
|
+
* @param {Date} [endDate]
|
|
41550
41809
|
* @param {number} [page]
|
|
41551
41810
|
* @param {number} [limit]
|
|
41552
41811
|
* @param {Date} [lastRetrieved]
|
|
41553
41812
|
* @param {*} [options] Override http request option.
|
|
41554
41813
|
* @throws {RequiredError}
|
|
41555
41814
|
*/
|
|
41556
|
-
async apiV1HospitalsHospitalIdConsultationtimetableoverridesGet(hospitalId: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalConsultationTimetableOverridesModel>> {
|
|
41557
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdConsultationtimetableoverridesGet(hospitalId, page, limit, lastRetrieved, options);
|
|
41815
|
+
async apiV1HospitalsHospitalIdConsultationtimetableoverridesGet(hospitalId: string, includesPreviousItems?: boolean, startDate?: Date, endDate?: Date, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalConsultationTimetableOverridesModel>> {
|
|
41816
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdConsultationtimetableoverridesGet(hospitalId, includesPreviousItems, startDate, endDate, page, limit, lastRetrieved, options);
|
|
41558
41817
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
41559
41818
|
},
|
|
41560
41819
|
/**
|
|
@@ -41631,14 +41890,17 @@ export const HospitalsConsultationTimetableOverridesApiFactory = function (confi
|
|
|
41631
41890
|
*
|
|
41632
41891
|
* @summary Get consultation timetable override items
|
|
41633
41892
|
* @param {string} hospitalId
|
|
41893
|
+
* @param {boolean} [includesPreviousItems]
|
|
41894
|
+
* @param {Date} [startDate]
|
|
41895
|
+
* @param {Date} [endDate]
|
|
41634
41896
|
* @param {number} [page]
|
|
41635
41897
|
* @param {number} [limit]
|
|
41636
41898
|
* @param {Date} [lastRetrieved]
|
|
41637
41899
|
* @param {*} [options] Override http request option.
|
|
41638
41900
|
* @throws {RequiredError}
|
|
41639
41901
|
*/
|
|
41640
|
-
apiV1HospitalsHospitalIdConsultationtimetableoverridesGet(hospitalId: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalConsultationTimetableOverridesModel> {
|
|
41641
|
-
return localVarFp.apiV1HospitalsHospitalIdConsultationtimetableoverridesGet(hospitalId, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
41902
|
+
apiV1HospitalsHospitalIdConsultationtimetableoverridesGet(hospitalId: string, includesPreviousItems?: boolean, startDate?: Date, endDate?: Date, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalConsultationTimetableOverridesModel> {
|
|
41903
|
+
return localVarFp.apiV1HospitalsHospitalIdConsultationtimetableoverridesGet(hospitalId, includesPreviousItems, startDate, endDate, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
41642
41904
|
},
|
|
41643
41905
|
/**
|
|
41644
41906
|
*
|
|
@@ -41712,6 +41974,9 @@ export class HospitalsConsultationTimetableOverridesApi extends BaseAPI {
|
|
|
41712
41974
|
*
|
|
41713
41975
|
* @summary Get consultation timetable override items
|
|
41714
41976
|
* @param {string} hospitalId
|
|
41977
|
+
* @param {boolean} [includesPreviousItems]
|
|
41978
|
+
* @param {Date} [startDate]
|
|
41979
|
+
* @param {Date} [endDate]
|
|
41715
41980
|
* @param {number} [page]
|
|
41716
41981
|
* @param {number} [limit]
|
|
41717
41982
|
* @param {Date} [lastRetrieved]
|
|
@@ -41719,8 +41984,8 @@ export class HospitalsConsultationTimetableOverridesApi extends BaseAPI {
|
|
|
41719
41984
|
* @throws {RequiredError}
|
|
41720
41985
|
* @memberof HospitalsConsultationTimetableOverridesApi
|
|
41721
41986
|
*/
|
|
41722
|
-
public apiV1HospitalsHospitalIdConsultationtimetableoverridesGet(hospitalId: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
41723
|
-
return HospitalsConsultationTimetableOverridesApiFp(this.configuration).apiV1HospitalsHospitalIdConsultationtimetableoverridesGet(hospitalId, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
41987
|
+
public apiV1HospitalsHospitalIdConsultationtimetableoverridesGet(hospitalId: string, includesPreviousItems?: boolean, startDate?: Date, endDate?: Date, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
41988
|
+
return HospitalsConsultationTimetableOverridesApiFp(this.configuration).apiV1HospitalsHospitalIdConsultationtimetableoverridesGet(hospitalId, includesPreviousItems, startDate, endDate, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
41724
41989
|
}
|
|
41725
41990
|
|
|
41726
41991
|
/**
|