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/lib/api.d.ts
CHANGED
|
@@ -3199,6 +3199,20 @@ export interface CreateServiceReviewCommand {
|
|
|
3199
3199
|
*/
|
|
3200
3200
|
'reviewType'?: ReviewType;
|
|
3201
3201
|
}
|
|
3202
|
+
/**
|
|
3203
|
+
*
|
|
3204
|
+
* @export
|
|
3205
|
+
* @enum {string}
|
|
3206
|
+
*/
|
|
3207
|
+
export declare enum DayOfWeek {
|
|
3208
|
+
Sunday = "Sunday",
|
|
3209
|
+
Monday = "Monday",
|
|
3210
|
+
Tuesday = "Tuesday",
|
|
3211
|
+
Wednesday = "Wednesday",
|
|
3212
|
+
Thursday = "Thursday",
|
|
3213
|
+
Friday = "Friday",
|
|
3214
|
+
Saturday = "Saturday"
|
|
3215
|
+
}
|
|
3202
3216
|
/**
|
|
3203
3217
|
*
|
|
3204
3218
|
* @export
|
|
@@ -5634,6 +5648,12 @@ export interface HeaderNavigationItemModel {
|
|
|
5634
5648
|
* @memberof HeaderNavigationItemModel
|
|
5635
5649
|
*/
|
|
5636
5650
|
'level'?: number;
|
|
5651
|
+
/**
|
|
5652
|
+
*
|
|
5653
|
+
* @type {string}
|
|
5654
|
+
* @memberof HeaderNavigationItemModel
|
|
5655
|
+
*/
|
|
5656
|
+
'parentId'?: string | null;
|
|
5637
5657
|
/**
|
|
5638
5658
|
*
|
|
5639
5659
|
* @type {Array<HeaderNavigationItemModel>}
|
|
@@ -5722,6 +5742,118 @@ export interface HospitalAccreditationsModel {
|
|
|
5722
5742
|
*/
|
|
5723
5743
|
'metaData'?: PagedListMetaData;
|
|
5724
5744
|
}
|
|
5745
|
+
/**
|
|
5746
|
+
*
|
|
5747
|
+
* @export
|
|
5748
|
+
* @interface HospitalConsultationTimetableItemModel
|
|
5749
|
+
*/
|
|
5750
|
+
export interface HospitalConsultationTimetableItemModel {
|
|
5751
|
+
/**
|
|
5752
|
+
*
|
|
5753
|
+
* @type {string}
|
|
5754
|
+
* @memberof HospitalConsultationTimetableItemModel
|
|
5755
|
+
*/
|
|
5756
|
+
'id'?: string;
|
|
5757
|
+
/**
|
|
5758
|
+
*
|
|
5759
|
+
* @type {DayOfWeek}
|
|
5760
|
+
* @memberof HospitalConsultationTimetableItemModel
|
|
5761
|
+
*/
|
|
5762
|
+
'dayOfWeek'?: DayOfWeek;
|
|
5763
|
+
/**
|
|
5764
|
+
*
|
|
5765
|
+
* @type {string}
|
|
5766
|
+
* @memberof HospitalConsultationTimetableItemModel
|
|
5767
|
+
*/
|
|
5768
|
+
'start'?: string | null;
|
|
5769
|
+
/**
|
|
5770
|
+
*
|
|
5771
|
+
* @type {string}
|
|
5772
|
+
* @memberof HospitalConsultationTimetableItemModel
|
|
5773
|
+
*/
|
|
5774
|
+
'end'?: string | null;
|
|
5775
|
+
}
|
|
5776
|
+
/**
|
|
5777
|
+
*
|
|
5778
|
+
* @export
|
|
5779
|
+
* @interface HospitalConsultationTimetableOverrideItemModel
|
|
5780
|
+
*/
|
|
5781
|
+
export interface HospitalConsultationTimetableOverrideItemModel {
|
|
5782
|
+
/**
|
|
5783
|
+
*
|
|
5784
|
+
* @type {string}
|
|
5785
|
+
* @memberof HospitalConsultationTimetableOverrideItemModel
|
|
5786
|
+
*/
|
|
5787
|
+
'id'?: string;
|
|
5788
|
+
/**
|
|
5789
|
+
*
|
|
5790
|
+
* @type {Date}
|
|
5791
|
+
* @memberof HospitalConsultationTimetableOverrideItemModel
|
|
5792
|
+
*/
|
|
5793
|
+
'date'?: Date;
|
|
5794
|
+
/**
|
|
5795
|
+
*
|
|
5796
|
+
* @type {DayOfWeek}
|
|
5797
|
+
* @memberof HospitalConsultationTimetableOverrideItemModel
|
|
5798
|
+
*/
|
|
5799
|
+
'dayOfWeek'?: DayOfWeek;
|
|
5800
|
+
/**
|
|
5801
|
+
*
|
|
5802
|
+
* @type {string}
|
|
5803
|
+
* @memberof HospitalConsultationTimetableOverrideItemModel
|
|
5804
|
+
*/
|
|
5805
|
+
'start'?: string | null;
|
|
5806
|
+
/**
|
|
5807
|
+
*
|
|
5808
|
+
* @type {string}
|
|
5809
|
+
* @memberof HospitalConsultationTimetableOverrideItemModel
|
|
5810
|
+
*/
|
|
5811
|
+
'end'?: string | null;
|
|
5812
|
+
/**
|
|
5813
|
+
*
|
|
5814
|
+
* @type {boolean}
|
|
5815
|
+
* @memberof HospitalConsultationTimetableOverrideItemModel
|
|
5816
|
+
*/
|
|
5817
|
+
'isUnavailable'?: boolean;
|
|
5818
|
+
}
|
|
5819
|
+
/**
|
|
5820
|
+
*
|
|
5821
|
+
* @export
|
|
5822
|
+
* @interface HospitalConsultationTimetableOverridesModel
|
|
5823
|
+
*/
|
|
5824
|
+
export interface HospitalConsultationTimetableOverridesModel {
|
|
5825
|
+
/**
|
|
5826
|
+
*
|
|
5827
|
+
* @type {Array<HospitalConsultationTimetableOverrideItemModel>}
|
|
5828
|
+
* @memberof HospitalConsultationTimetableOverridesModel
|
|
5829
|
+
*/
|
|
5830
|
+
'items'?: Array<HospitalConsultationTimetableOverrideItemModel> | null;
|
|
5831
|
+
/**
|
|
5832
|
+
*
|
|
5833
|
+
* @type {PagedListMetaData}
|
|
5834
|
+
* @memberof HospitalConsultationTimetableOverridesModel
|
|
5835
|
+
*/
|
|
5836
|
+
'metaData'?: PagedListMetaData;
|
|
5837
|
+
}
|
|
5838
|
+
/**
|
|
5839
|
+
*
|
|
5840
|
+
* @export
|
|
5841
|
+
* @interface HospitalConsultationTimetablesModel
|
|
5842
|
+
*/
|
|
5843
|
+
export interface HospitalConsultationTimetablesModel {
|
|
5844
|
+
/**
|
|
5845
|
+
*
|
|
5846
|
+
* @type {Array<HospitalConsultationTimetableItemModel>}
|
|
5847
|
+
* @memberof HospitalConsultationTimetablesModel
|
|
5848
|
+
*/
|
|
5849
|
+
'items'?: Array<HospitalConsultationTimetableItemModel> | null;
|
|
5850
|
+
/**
|
|
5851
|
+
*
|
|
5852
|
+
* @type {PagedListMetaData}
|
|
5853
|
+
* @memberof HospitalConsultationTimetablesModel
|
|
5854
|
+
*/
|
|
5855
|
+
'metaData'?: PagedListMetaData;
|
|
5856
|
+
}
|
|
5725
5857
|
/**
|
|
5726
5858
|
*
|
|
5727
5859
|
* @export
|
|
@@ -17170,6 +17302,160 @@ export declare class HospitalsApi extends BaseAPI {
|
|
|
17170
17302
|
*/
|
|
17171
17303
|
apiV2HospitalsSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<HospitalModel, any>>;
|
|
17172
17304
|
}
|
|
17305
|
+
/**
|
|
17306
|
+
* HospitalsConsultationTimetableOverridesApi - axios parameter creator
|
|
17307
|
+
* @export
|
|
17308
|
+
*/
|
|
17309
|
+
export declare const HospitalsConsultationTimetableOverridesApiAxiosParamCreator: (configuration?: Configuration | undefined) => {
|
|
17310
|
+
/**
|
|
17311
|
+
*
|
|
17312
|
+
* @summary Get hospital consultation timetable overrides by hospitalId
|
|
17313
|
+
* @param {string} hospitalId
|
|
17314
|
+
* @param {boolean} [includesPreviousItems]
|
|
17315
|
+
* @param {Date} [startDate]
|
|
17316
|
+
* @param {Date} [endDate]
|
|
17317
|
+
* @param {number} [page]
|
|
17318
|
+
* @param {number} [limit]
|
|
17319
|
+
* @param {Date} [lastRetrieved]
|
|
17320
|
+
* @param {*} [options] Override http request option.
|
|
17321
|
+
* @throws {RequiredError}
|
|
17322
|
+
*/
|
|
17323
|
+
apiV2HospitalsHospitalIdConsultationtimetableoverridesGet: (hospitalId: string, includesPreviousItems?: boolean | undefined, startDate?: Date | undefined, endDate?: Date | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
17324
|
+
};
|
|
17325
|
+
/**
|
|
17326
|
+
* HospitalsConsultationTimetableOverridesApi - functional programming interface
|
|
17327
|
+
* @export
|
|
17328
|
+
*/
|
|
17329
|
+
export declare const HospitalsConsultationTimetableOverridesApiFp: (configuration?: Configuration | undefined) => {
|
|
17330
|
+
/**
|
|
17331
|
+
*
|
|
17332
|
+
* @summary Get hospital consultation timetable overrides by hospitalId
|
|
17333
|
+
* @param {string} hospitalId
|
|
17334
|
+
* @param {boolean} [includesPreviousItems]
|
|
17335
|
+
* @param {Date} [startDate]
|
|
17336
|
+
* @param {Date} [endDate]
|
|
17337
|
+
* @param {number} [page]
|
|
17338
|
+
* @param {number} [limit]
|
|
17339
|
+
* @param {Date} [lastRetrieved]
|
|
17340
|
+
* @param {*} [options] Override http request option.
|
|
17341
|
+
* @throws {RequiredError}
|
|
17342
|
+
*/
|
|
17343
|
+
apiV2HospitalsHospitalIdConsultationtimetableoverridesGet(hospitalId: string, includesPreviousItems?: boolean | undefined, startDate?: Date | undefined, endDate?: Date | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<HospitalConsultationTimetableOverridesModel>>;
|
|
17344
|
+
};
|
|
17345
|
+
/**
|
|
17346
|
+
* HospitalsConsultationTimetableOverridesApi - factory interface
|
|
17347
|
+
* @export
|
|
17348
|
+
*/
|
|
17349
|
+
export declare const HospitalsConsultationTimetableOverridesApiFactory: (configuration?: Configuration | undefined, basePath?: string | undefined, axios?: AxiosInstance | undefined) => {
|
|
17350
|
+
/**
|
|
17351
|
+
*
|
|
17352
|
+
* @summary Get hospital consultation timetable overrides by hospitalId
|
|
17353
|
+
* @param {string} hospitalId
|
|
17354
|
+
* @param {boolean} [includesPreviousItems]
|
|
17355
|
+
* @param {Date} [startDate]
|
|
17356
|
+
* @param {Date} [endDate]
|
|
17357
|
+
* @param {number} [page]
|
|
17358
|
+
* @param {number} [limit]
|
|
17359
|
+
* @param {Date} [lastRetrieved]
|
|
17360
|
+
* @param {*} [options] Override http request option.
|
|
17361
|
+
* @throws {RequiredError}
|
|
17362
|
+
*/
|
|
17363
|
+
apiV2HospitalsHospitalIdConsultationtimetableoverridesGet(hospitalId: string, includesPreviousItems?: boolean | undefined, startDate?: Date | undefined, endDate?: Date | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: any): AxiosPromise<HospitalConsultationTimetableOverridesModel>;
|
|
17364
|
+
};
|
|
17365
|
+
/**
|
|
17366
|
+
* HospitalsConsultationTimetableOverridesApi - object-oriented interface
|
|
17367
|
+
* @export
|
|
17368
|
+
* @class HospitalsConsultationTimetableOverridesApi
|
|
17369
|
+
* @extends {BaseAPI}
|
|
17370
|
+
*/
|
|
17371
|
+
export declare class HospitalsConsultationTimetableOverridesApi extends BaseAPI {
|
|
17372
|
+
/**
|
|
17373
|
+
*
|
|
17374
|
+
* @summary Get hospital consultation timetable overrides by hospitalId
|
|
17375
|
+
* @param {string} hospitalId
|
|
17376
|
+
* @param {boolean} [includesPreviousItems]
|
|
17377
|
+
* @param {Date} [startDate]
|
|
17378
|
+
* @param {Date} [endDate]
|
|
17379
|
+
* @param {number} [page]
|
|
17380
|
+
* @param {number} [limit]
|
|
17381
|
+
* @param {Date} [lastRetrieved]
|
|
17382
|
+
* @param {*} [options] Override http request option.
|
|
17383
|
+
* @throws {RequiredError}
|
|
17384
|
+
* @memberof HospitalsConsultationTimetableOverridesApi
|
|
17385
|
+
*/
|
|
17386
|
+
apiV2HospitalsHospitalIdConsultationtimetableoverridesGet(hospitalId: string, includesPreviousItems?: boolean, startDate?: Date, endDate?: Date, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<HospitalConsultationTimetableOverridesModel, any>>;
|
|
17387
|
+
}
|
|
17388
|
+
/**
|
|
17389
|
+
* HospitalsConsultationTimetablesApi - axios parameter creator
|
|
17390
|
+
* @export
|
|
17391
|
+
*/
|
|
17392
|
+
export declare const HospitalsConsultationTimetablesApiAxiosParamCreator: (configuration?: Configuration | undefined) => {
|
|
17393
|
+
/**
|
|
17394
|
+
*
|
|
17395
|
+
* @summary Get hospital consultation timetables by hospitalId
|
|
17396
|
+
* @param {string} hospitalId
|
|
17397
|
+
* @param {number} [page]
|
|
17398
|
+
* @param {number} [limit]
|
|
17399
|
+
* @param {Date} [lastRetrieved]
|
|
17400
|
+
* @param {*} [options] Override http request option.
|
|
17401
|
+
* @throws {RequiredError}
|
|
17402
|
+
*/
|
|
17403
|
+
apiV2HospitalsHospitalIdConsultationtimetablesGet: (hospitalId: string, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
17404
|
+
};
|
|
17405
|
+
/**
|
|
17406
|
+
* HospitalsConsultationTimetablesApi - functional programming interface
|
|
17407
|
+
* @export
|
|
17408
|
+
*/
|
|
17409
|
+
export declare const HospitalsConsultationTimetablesApiFp: (configuration?: Configuration | undefined) => {
|
|
17410
|
+
/**
|
|
17411
|
+
*
|
|
17412
|
+
* @summary Get hospital consultation timetables by hospitalId
|
|
17413
|
+
* @param {string} hospitalId
|
|
17414
|
+
* @param {number} [page]
|
|
17415
|
+
* @param {number} [limit]
|
|
17416
|
+
* @param {Date} [lastRetrieved]
|
|
17417
|
+
* @param {*} [options] Override http request option.
|
|
17418
|
+
* @throws {RequiredError}
|
|
17419
|
+
*/
|
|
17420
|
+
apiV2HospitalsHospitalIdConsultationtimetablesGet(hospitalId: string, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<HospitalConsultationTimetablesModel>>;
|
|
17421
|
+
};
|
|
17422
|
+
/**
|
|
17423
|
+
* HospitalsConsultationTimetablesApi - factory interface
|
|
17424
|
+
* @export
|
|
17425
|
+
*/
|
|
17426
|
+
export declare const HospitalsConsultationTimetablesApiFactory: (configuration?: Configuration | undefined, basePath?: string | undefined, axios?: AxiosInstance | undefined) => {
|
|
17427
|
+
/**
|
|
17428
|
+
*
|
|
17429
|
+
* @summary Get hospital consultation timetables by hospitalId
|
|
17430
|
+
* @param {string} hospitalId
|
|
17431
|
+
* @param {number} [page]
|
|
17432
|
+
* @param {number} [limit]
|
|
17433
|
+
* @param {Date} [lastRetrieved]
|
|
17434
|
+
* @param {*} [options] Override http request option.
|
|
17435
|
+
* @throws {RequiredError}
|
|
17436
|
+
*/
|
|
17437
|
+
apiV2HospitalsHospitalIdConsultationtimetablesGet(hospitalId: string, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: any): AxiosPromise<HospitalConsultationTimetablesModel>;
|
|
17438
|
+
};
|
|
17439
|
+
/**
|
|
17440
|
+
* HospitalsConsultationTimetablesApi - object-oriented interface
|
|
17441
|
+
* @export
|
|
17442
|
+
* @class HospitalsConsultationTimetablesApi
|
|
17443
|
+
* @extends {BaseAPI}
|
|
17444
|
+
*/
|
|
17445
|
+
export declare class HospitalsConsultationTimetablesApi extends BaseAPI {
|
|
17446
|
+
/**
|
|
17447
|
+
*
|
|
17448
|
+
* @summary Get hospital consultation timetables by hospitalId
|
|
17449
|
+
* @param {string} hospitalId
|
|
17450
|
+
* @param {number} [page]
|
|
17451
|
+
* @param {number} [limit]
|
|
17452
|
+
* @param {Date} [lastRetrieved]
|
|
17453
|
+
* @param {*} [options] Override http request option.
|
|
17454
|
+
* @throws {RequiredError}
|
|
17455
|
+
* @memberof HospitalsConsultationTimetablesApi
|
|
17456
|
+
*/
|
|
17457
|
+
apiV2HospitalsHospitalIdConsultationtimetablesGet(hospitalId: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<HospitalConsultationTimetablesModel, any>>;
|
|
17458
|
+
}
|
|
17173
17459
|
/**
|
|
17174
17460
|
* ImagesApi - axios parameter creator
|
|
17175
17461
|
* @export
|