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