ch-api-client-typescript2 4.4.5 → 4.4.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 +274 -0
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +328 -3
- package/package.json +1 -1
- package/src/api.ts +412 -0
package/src/api.ts
CHANGED
|
@@ -3216,6 +3216,22 @@ export interface CreateServiceReviewCommand {
|
|
|
3216
3216
|
*/
|
|
3217
3217
|
'reviewType'?: ReviewType;
|
|
3218
3218
|
}
|
|
3219
|
+
/**
|
|
3220
|
+
*
|
|
3221
|
+
* @export
|
|
3222
|
+
* @enum {string}
|
|
3223
|
+
*/
|
|
3224
|
+
|
|
3225
|
+
export enum DayOfWeek {
|
|
3226
|
+
Sunday = 'Sunday',
|
|
3227
|
+
Monday = 'Monday',
|
|
3228
|
+
Tuesday = 'Tuesday',
|
|
3229
|
+
Wednesday = 'Wednesday',
|
|
3230
|
+
Thursday = 'Thursday',
|
|
3231
|
+
Friday = 'Friday',
|
|
3232
|
+
Saturday = 'Saturday'
|
|
3233
|
+
}
|
|
3234
|
+
|
|
3219
3235
|
/**
|
|
3220
3236
|
*
|
|
3221
3237
|
* @export
|
|
@@ -5741,6 +5757,112 @@ export interface HospitalAccreditationsModel {
|
|
|
5741
5757
|
*/
|
|
5742
5758
|
'metaData'?: PagedListMetaData;
|
|
5743
5759
|
}
|
|
5760
|
+
/**
|
|
5761
|
+
*
|
|
5762
|
+
* @export
|
|
5763
|
+
* @interface HospitalConsultationTimetableItemModel
|
|
5764
|
+
*/
|
|
5765
|
+
export interface HospitalConsultationTimetableItemModel {
|
|
5766
|
+
/**
|
|
5767
|
+
*
|
|
5768
|
+
* @type {string}
|
|
5769
|
+
* @memberof HospitalConsultationTimetableItemModel
|
|
5770
|
+
*/
|
|
5771
|
+
'id'?: string;
|
|
5772
|
+
/**
|
|
5773
|
+
*
|
|
5774
|
+
* @type {DayOfWeek}
|
|
5775
|
+
* @memberof HospitalConsultationTimetableItemModel
|
|
5776
|
+
*/
|
|
5777
|
+
'dayOfWeek'?: DayOfWeek;
|
|
5778
|
+
/**
|
|
5779
|
+
*
|
|
5780
|
+
* @type {string}
|
|
5781
|
+
* @memberof HospitalConsultationTimetableItemModel
|
|
5782
|
+
*/
|
|
5783
|
+
'start'?: string | null;
|
|
5784
|
+
/**
|
|
5785
|
+
*
|
|
5786
|
+
* @type {string}
|
|
5787
|
+
* @memberof HospitalConsultationTimetableItemModel
|
|
5788
|
+
*/
|
|
5789
|
+
'end'?: string | null;
|
|
5790
|
+
}
|
|
5791
|
+
/**
|
|
5792
|
+
*
|
|
5793
|
+
* @export
|
|
5794
|
+
* @interface HospitalConsultationTimetableOverrideItemModel
|
|
5795
|
+
*/
|
|
5796
|
+
export interface HospitalConsultationTimetableOverrideItemModel {
|
|
5797
|
+
/**
|
|
5798
|
+
*
|
|
5799
|
+
* @type {string}
|
|
5800
|
+
* @memberof HospitalConsultationTimetableOverrideItemModel
|
|
5801
|
+
*/
|
|
5802
|
+
'id'?: string;
|
|
5803
|
+
/**
|
|
5804
|
+
*
|
|
5805
|
+
* @type {Date}
|
|
5806
|
+
* @memberof HospitalConsultationTimetableOverrideItemModel
|
|
5807
|
+
*/
|
|
5808
|
+
'date'?: Date;
|
|
5809
|
+
/**
|
|
5810
|
+
*
|
|
5811
|
+
* @type {string}
|
|
5812
|
+
* @memberof HospitalConsultationTimetableOverrideItemModel
|
|
5813
|
+
*/
|
|
5814
|
+
'start'?: string | null;
|
|
5815
|
+
/**
|
|
5816
|
+
*
|
|
5817
|
+
* @type {string}
|
|
5818
|
+
* @memberof HospitalConsultationTimetableOverrideItemModel
|
|
5819
|
+
*/
|
|
5820
|
+
'end'?: string | null;
|
|
5821
|
+
/**
|
|
5822
|
+
*
|
|
5823
|
+
* @type {boolean}
|
|
5824
|
+
* @memberof HospitalConsultationTimetableOverrideItemModel
|
|
5825
|
+
*/
|
|
5826
|
+
'isUnavailable'?: boolean;
|
|
5827
|
+
}
|
|
5828
|
+
/**
|
|
5829
|
+
*
|
|
5830
|
+
* @export
|
|
5831
|
+
* @interface HospitalConsultationTimetableOverridesModel
|
|
5832
|
+
*/
|
|
5833
|
+
export interface HospitalConsultationTimetableOverridesModel {
|
|
5834
|
+
/**
|
|
5835
|
+
*
|
|
5836
|
+
* @type {Array<HospitalConsultationTimetableOverrideItemModel>}
|
|
5837
|
+
* @memberof HospitalConsultationTimetableOverridesModel
|
|
5838
|
+
*/
|
|
5839
|
+
'items'?: Array<HospitalConsultationTimetableOverrideItemModel> | null;
|
|
5840
|
+
/**
|
|
5841
|
+
*
|
|
5842
|
+
* @type {PagedListMetaData}
|
|
5843
|
+
* @memberof HospitalConsultationTimetableOverridesModel
|
|
5844
|
+
*/
|
|
5845
|
+
'metaData'?: PagedListMetaData;
|
|
5846
|
+
}
|
|
5847
|
+
/**
|
|
5848
|
+
*
|
|
5849
|
+
* @export
|
|
5850
|
+
* @interface HospitalConsultationTimetablesModel
|
|
5851
|
+
*/
|
|
5852
|
+
export interface HospitalConsultationTimetablesModel {
|
|
5853
|
+
/**
|
|
5854
|
+
*
|
|
5855
|
+
* @type {Array<HospitalConsultationTimetableItemModel>}
|
|
5856
|
+
* @memberof HospitalConsultationTimetablesModel
|
|
5857
|
+
*/
|
|
5858
|
+
'items'?: Array<HospitalConsultationTimetableItemModel> | null;
|
|
5859
|
+
/**
|
|
5860
|
+
*
|
|
5861
|
+
* @type {PagedListMetaData}
|
|
5862
|
+
* @memberof HospitalConsultationTimetablesModel
|
|
5863
|
+
*/
|
|
5864
|
+
'metaData'?: PagedListMetaData;
|
|
5865
|
+
}
|
|
5744
5866
|
/**
|
|
5745
5867
|
*
|
|
5746
5868
|
* @export
|
|
@@ -24055,6 +24177,296 @@ export class HospitalsApi extends BaseAPI {
|
|
|
24055
24177
|
}
|
|
24056
24178
|
|
|
24057
24179
|
|
|
24180
|
+
/**
|
|
24181
|
+
* HospitalsConsultationTimetableOverridesApi - axios parameter creator
|
|
24182
|
+
* @export
|
|
24183
|
+
*/
|
|
24184
|
+
export const HospitalsConsultationTimetableOverridesApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
24185
|
+
return {
|
|
24186
|
+
/**
|
|
24187
|
+
*
|
|
24188
|
+
* @summary Get hospital consultation timetable overrides by hospitalId
|
|
24189
|
+
* @param {string} hospitalId
|
|
24190
|
+
* @param {boolean} [includesPreviousItems]
|
|
24191
|
+
* @param {Date} [startDate]
|
|
24192
|
+
* @param {Date} [endDate]
|
|
24193
|
+
* @param {number} [page]
|
|
24194
|
+
* @param {number} [limit]
|
|
24195
|
+
* @param {Date} [lastRetrieved]
|
|
24196
|
+
* @param {*} [options] Override http request option.
|
|
24197
|
+
* @throws {RequiredError}
|
|
24198
|
+
*/
|
|
24199
|
+
apiV2HospitalsHospitalIdConsultationtimetableoverridesGet: async (hospitalId: string, includesPreviousItems?: boolean, startDate?: Date, endDate?: Date, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
24200
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
24201
|
+
assertParamExists('apiV2HospitalsHospitalIdConsultationtimetableoverridesGet', 'hospitalId', hospitalId)
|
|
24202
|
+
const localVarPath = `/api/v2/hospitals/{hospitalId}/consultationtimetableoverrides`
|
|
24203
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
|
|
24204
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
24205
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
24206
|
+
let baseOptions;
|
|
24207
|
+
if (configuration) {
|
|
24208
|
+
baseOptions = configuration.baseOptions;
|
|
24209
|
+
}
|
|
24210
|
+
|
|
24211
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
24212
|
+
const localVarHeaderParameter = {} as any;
|
|
24213
|
+
const localVarQueryParameter = {} as any;
|
|
24214
|
+
|
|
24215
|
+
if (includesPreviousItems !== undefined) {
|
|
24216
|
+
localVarQueryParameter['IncludesPreviousItems'] = includesPreviousItems;
|
|
24217
|
+
}
|
|
24218
|
+
|
|
24219
|
+
if (startDate !== undefined) {
|
|
24220
|
+
localVarQueryParameter['StartDate'] = (startDate as any instanceof Date) ?
|
|
24221
|
+
(startDate as any).toISOString() :
|
|
24222
|
+
startDate;
|
|
24223
|
+
}
|
|
24224
|
+
|
|
24225
|
+
if (endDate !== undefined) {
|
|
24226
|
+
localVarQueryParameter['EndDate'] = (endDate as any instanceof Date) ?
|
|
24227
|
+
(endDate as any).toISOString() :
|
|
24228
|
+
endDate;
|
|
24229
|
+
}
|
|
24230
|
+
|
|
24231
|
+
if (page !== undefined) {
|
|
24232
|
+
localVarQueryParameter['page'] = page;
|
|
24233
|
+
}
|
|
24234
|
+
|
|
24235
|
+
if (limit !== undefined) {
|
|
24236
|
+
localVarQueryParameter['limit'] = limit;
|
|
24237
|
+
}
|
|
24238
|
+
|
|
24239
|
+
if (lastRetrieved !== undefined) {
|
|
24240
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
24241
|
+
(lastRetrieved as any).toISOString() :
|
|
24242
|
+
lastRetrieved;
|
|
24243
|
+
}
|
|
24244
|
+
|
|
24245
|
+
|
|
24246
|
+
|
|
24247
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
24248
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
24249
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
24250
|
+
|
|
24251
|
+
return {
|
|
24252
|
+
url: toPathString(localVarUrlObj),
|
|
24253
|
+
options: localVarRequestOptions,
|
|
24254
|
+
};
|
|
24255
|
+
},
|
|
24256
|
+
}
|
|
24257
|
+
};
|
|
24258
|
+
|
|
24259
|
+
/**
|
|
24260
|
+
* HospitalsConsultationTimetableOverridesApi - functional programming interface
|
|
24261
|
+
* @export
|
|
24262
|
+
*/
|
|
24263
|
+
export const HospitalsConsultationTimetableOverridesApiFp = function(configuration?: Configuration) {
|
|
24264
|
+
const localVarAxiosParamCreator = HospitalsConsultationTimetableOverridesApiAxiosParamCreator(configuration)
|
|
24265
|
+
return {
|
|
24266
|
+
/**
|
|
24267
|
+
*
|
|
24268
|
+
* @summary Get hospital consultation timetable overrides by hospitalId
|
|
24269
|
+
* @param {string} hospitalId
|
|
24270
|
+
* @param {boolean} [includesPreviousItems]
|
|
24271
|
+
* @param {Date} [startDate]
|
|
24272
|
+
* @param {Date} [endDate]
|
|
24273
|
+
* @param {number} [page]
|
|
24274
|
+
* @param {number} [limit]
|
|
24275
|
+
* @param {Date} [lastRetrieved]
|
|
24276
|
+
* @param {*} [options] Override http request option.
|
|
24277
|
+
* @throws {RequiredError}
|
|
24278
|
+
*/
|
|
24279
|
+
async apiV2HospitalsHospitalIdConsultationtimetableoverridesGet(hospitalId: string, includesPreviousItems?: boolean, startDate?: Date, endDate?: Date, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalConsultationTimetableOverridesModel>> {
|
|
24280
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdConsultationtimetableoverridesGet(hospitalId, includesPreviousItems, startDate, endDate, page, limit, lastRetrieved, options);
|
|
24281
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
24282
|
+
},
|
|
24283
|
+
}
|
|
24284
|
+
};
|
|
24285
|
+
|
|
24286
|
+
/**
|
|
24287
|
+
* HospitalsConsultationTimetableOverridesApi - factory interface
|
|
24288
|
+
* @export
|
|
24289
|
+
*/
|
|
24290
|
+
export const HospitalsConsultationTimetableOverridesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
24291
|
+
const localVarFp = HospitalsConsultationTimetableOverridesApiFp(configuration)
|
|
24292
|
+
return {
|
|
24293
|
+
/**
|
|
24294
|
+
*
|
|
24295
|
+
* @summary Get hospital consultation timetable overrides by hospitalId
|
|
24296
|
+
* @param {string} hospitalId
|
|
24297
|
+
* @param {boolean} [includesPreviousItems]
|
|
24298
|
+
* @param {Date} [startDate]
|
|
24299
|
+
* @param {Date} [endDate]
|
|
24300
|
+
* @param {number} [page]
|
|
24301
|
+
* @param {number} [limit]
|
|
24302
|
+
* @param {Date} [lastRetrieved]
|
|
24303
|
+
* @param {*} [options] Override http request option.
|
|
24304
|
+
* @throws {RequiredError}
|
|
24305
|
+
*/
|
|
24306
|
+
apiV2HospitalsHospitalIdConsultationtimetableoverridesGet(hospitalId: string, includesPreviousItems?: boolean, startDate?: Date, endDate?: Date, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalConsultationTimetableOverridesModel> {
|
|
24307
|
+
return localVarFp.apiV2HospitalsHospitalIdConsultationtimetableoverridesGet(hospitalId, includesPreviousItems, startDate, endDate, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
24308
|
+
},
|
|
24309
|
+
};
|
|
24310
|
+
};
|
|
24311
|
+
|
|
24312
|
+
/**
|
|
24313
|
+
* HospitalsConsultationTimetableOverridesApi - object-oriented interface
|
|
24314
|
+
* @export
|
|
24315
|
+
* @class HospitalsConsultationTimetableOverridesApi
|
|
24316
|
+
* @extends {BaseAPI}
|
|
24317
|
+
*/
|
|
24318
|
+
export class HospitalsConsultationTimetableOverridesApi extends BaseAPI {
|
|
24319
|
+
/**
|
|
24320
|
+
*
|
|
24321
|
+
* @summary Get hospital consultation timetable overrides by hospitalId
|
|
24322
|
+
* @param {string} hospitalId
|
|
24323
|
+
* @param {boolean} [includesPreviousItems]
|
|
24324
|
+
* @param {Date} [startDate]
|
|
24325
|
+
* @param {Date} [endDate]
|
|
24326
|
+
* @param {number} [page]
|
|
24327
|
+
* @param {number} [limit]
|
|
24328
|
+
* @param {Date} [lastRetrieved]
|
|
24329
|
+
* @param {*} [options] Override http request option.
|
|
24330
|
+
* @throws {RequiredError}
|
|
24331
|
+
* @memberof HospitalsConsultationTimetableOverridesApi
|
|
24332
|
+
*/
|
|
24333
|
+
public apiV2HospitalsHospitalIdConsultationtimetableoverridesGet(hospitalId: string, includesPreviousItems?: boolean, startDate?: Date, endDate?: Date, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
24334
|
+
return HospitalsConsultationTimetableOverridesApiFp(this.configuration).apiV2HospitalsHospitalIdConsultationtimetableoverridesGet(hospitalId, includesPreviousItems, startDate, endDate, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
24335
|
+
}
|
|
24336
|
+
}
|
|
24337
|
+
|
|
24338
|
+
|
|
24339
|
+
/**
|
|
24340
|
+
* HospitalsConsultationTimetablesApi - axios parameter creator
|
|
24341
|
+
* @export
|
|
24342
|
+
*/
|
|
24343
|
+
export const HospitalsConsultationTimetablesApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
24344
|
+
return {
|
|
24345
|
+
/**
|
|
24346
|
+
*
|
|
24347
|
+
* @summary Get hospital consultation timetables by hospitalId
|
|
24348
|
+
* @param {string} hospitalId
|
|
24349
|
+
* @param {number} [page]
|
|
24350
|
+
* @param {number} [limit]
|
|
24351
|
+
* @param {Date} [lastRetrieved]
|
|
24352
|
+
* @param {*} [options] Override http request option.
|
|
24353
|
+
* @throws {RequiredError}
|
|
24354
|
+
*/
|
|
24355
|
+
apiV2HospitalsHospitalIdConsultationtimetablesGet: async (hospitalId: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
24356
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
24357
|
+
assertParamExists('apiV2HospitalsHospitalIdConsultationtimetablesGet', 'hospitalId', hospitalId)
|
|
24358
|
+
const localVarPath = `/api/v2/hospitals/{hospitalId}/consultationtimetables`
|
|
24359
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
|
|
24360
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
24361
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
24362
|
+
let baseOptions;
|
|
24363
|
+
if (configuration) {
|
|
24364
|
+
baseOptions = configuration.baseOptions;
|
|
24365
|
+
}
|
|
24366
|
+
|
|
24367
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
24368
|
+
const localVarHeaderParameter = {} as any;
|
|
24369
|
+
const localVarQueryParameter = {} as any;
|
|
24370
|
+
|
|
24371
|
+
if (page !== undefined) {
|
|
24372
|
+
localVarQueryParameter['page'] = page;
|
|
24373
|
+
}
|
|
24374
|
+
|
|
24375
|
+
if (limit !== undefined) {
|
|
24376
|
+
localVarQueryParameter['limit'] = limit;
|
|
24377
|
+
}
|
|
24378
|
+
|
|
24379
|
+
if (lastRetrieved !== undefined) {
|
|
24380
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
24381
|
+
(lastRetrieved as any).toISOString() :
|
|
24382
|
+
lastRetrieved;
|
|
24383
|
+
}
|
|
24384
|
+
|
|
24385
|
+
|
|
24386
|
+
|
|
24387
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
24388
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
24389
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
24390
|
+
|
|
24391
|
+
return {
|
|
24392
|
+
url: toPathString(localVarUrlObj),
|
|
24393
|
+
options: localVarRequestOptions,
|
|
24394
|
+
};
|
|
24395
|
+
},
|
|
24396
|
+
}
|
|
24397
|
+
};
|
|
24398
|
+
|
|
24399
|
+
/**
|
|
24400
|
+
* HospitalsConsultationTimetablesApi - functional programming interface
|
|
24401
|
+
* @export
|
|
24402
|
+
*/
|
|
24403
|
+
export const HospitalsConsultationTimetablesApiFp = function(configuration?: Configuration) {
|
|
24404
|
+
const localVarAxiosParamCreator = HospitalsConsultationTimetablesApiAxiosParamCreator(configuration)
|
|
24405
|
+
return {
|
|
24406
|
+
/**
|
|
24407
|
+
*
|
|
24408
|
+
* @summary Get hospital consultation timetables by hospitalId
|
|
24409
|
+
* @param {string} hospitalId
|
|
24410
|
+
* @param {number} [page]
|
|
24411
|
+
* @param {number} [limit]
|
|
24412
|
+
* @param {Date} [lastRetrieved]
|
|
24413
|
+
* @param {*} [options] Override http request option.
|
|
24414
|
+
* @throws {RequiredError}
|
|
24415
|
+
*/
|
|
24416
|
+
async apiV2HospitalsHospitalIdConsultationtimetablesGet(hospitalId: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalConsultationTimetablesModel>> {
|
|
24417
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdConsultationtimetablesGet(hospitalId, page, limit, lastRetrieved, options);
|
|
24418
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
24419
|
+
},
|
|
24420
|
+
}
|
|
24421
|
+
};
|
|
24422
|
+
|
|
24423
|
+
/**
|
|
24424
|
+
* HospitalsConsultationTimetablesApi - factory interface
|
|
24425
|
+
* @export
|
|
24426
|
+
*/
|
|
24427
|
+
export const HospitalsConsultationTimetablesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
24428
|
+
const localVarFp = HospitalsConsultationTimetablesApiFp(configuration)
|
|
24429
|
+
return {
|
|
24430
|
+
/**
|
|
24431
|
+
*
|
|
24432
|
+
* @summary Get hospital consultation timetables by hospitalId
|
|
24433
|
+
* @param {string} hospitalId
|
|
24434
|
+
* @param {number} [page]
|
|
24435
|
+
* @param {number} [limit]
|
|
24436
|
+
* @param {Date} [lastRetrieved]
|
|
24437
|
+
* @param {*} [options] Override http request option.
|
|
24438
|
+
* @throws {RequiredError}
|
|
24439
|
+
*/
|
|
24440
|
+
apiV2HospitalsHospitalIdConsultationtimetablesGet(hospitalId: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalConsultationTimetablesModel> {
|
|
24441
|
+
return localVarFp.apiV2HospitalsHospitalIdConsultationtimetablesGet(hospitalId, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
24442
|
+
},
|
|
24443
|
+
};
|
|
24444
|
+
};
|
|
24445
|
+
|
|
24446
|
+
/**
|
|
24447
|
+
* HospitalsConsultationTimetablesApi - object-oriented interface
|
|
24448
|
+
* @export
|
|
24449
|
+
* @class HospitalsConsultationTimetablesApi
|
|
24450
|
+
* @extends {BaseAPI}
|
|
24451
|
+
*/
|
|
24452
|
+
export class HospitalsConsultationTimetablesApi extends BaseAPI {
|
|
24453
|
+
/**
|
|
24454
|
+
*
|
|
24455
|
+
* @summary Get hospital consultation timetables by hospitalId
|
|
24456
|
+
* @param {string} hospitalId
|
|
24457
|
+
* @param {number} [page]
|
|
24458
|
+
* @param {number} [limit]
|
|
24459
|
+
* @param {Date} [lastRetrieved]
|
|
24460
|
+
* @param {*} [options] Override http request option.
|
|
24461
|
+
* @throws {RequiredError}
|
|
24462
|
+
* @memberof HospitalsConsultationTimetablesApi
|
|
24463
|
+
*/
|
|
24464
|
+
public apiV2HospitalsHospitalIdConsultationtimetablesGet(hospitalId: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
24465
|
+
return HospitalsConsultationTimetablesApiFp(this.configuration).apiV2HospitalsHospitalIdConsultationtimetablesGet(hospitalId, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
24466
|
+
}
|
|
24467
|
+
}
|
|
24468
|
+
|
|
24469
|
+
|
|
24058
24470
|
/**
|
|
24059
24471
|
* ImagesApi - axios parameter creator
|
|
24060
24472
|
* @export
|