ch-api-client-typescript2 4.4.9 → 4.5.0
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 +136 -196
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +62 -218
- package/package.json +1 -1
- package/src/api.ts +148 -284
package/lib/api.d.ts
CHANGED
|
@@ -2275,6 +2275,114 @@ export declare enum ConsultationStatus {
|
|
|
2275
2275
|
RefundRequested = "RefundRequested",
|
|
2276
2276
|
Refunded = "Refunded"
|
|
2277
2277
|
}
|
|
2278
|
+
/**
|
|
2279
|
+
*
|
|
2280
|
+
* @export
|
|
2281
|
+
* @interface ConsultationTimetableDateModel
|
|
2282
|
+
*/
|
|
2283
|
+
export interface ConsultationTimetableDateModel {
|
|
2284
|
+
/**
|
|
2285
|
+
*
|
|
2286
|
+
* @type {Date}
|
|
2287
|
+
* @memberof ConsultationTimetableDateModel
|
|
2288
|
+
*/
|
|
2289
|
+
'date'?: Date;
|
|
2290
|
+
/**
|
|
2291
|
+
*
|
|
2292
|
+
* @type {DayOfWeek}
|
|
2293
|
+
* @memberof ConsultationTimetableDateModel
|
|
2294
|
+
*/
|
|
2295
|
+
'dayOfWeek'?: DayOfWeek;
|
|
2296
|
+
/**
|
|
2297
|
+
*
|
|
2298
|
+
* @type {ConsultationTimetableStatus}
|
|
2299
|
+
* @memberof ConsultationTimetableDateModel
|
|
2300
|
+
*/
|
|
2301
|
+
'status'?: ConsultationTimetableStatus;
|
|
2302
|
+
/**
|
|
2303
|
+
*
|
|
2304
|
+
* @type {boolean}
|
|
2305
|
+
* @memberof ConsultationTimetableDateModel
|
|
2306
|
+
*/
|
|
2307
|
+
'isAvailable'?: boolean;
|
|
2308
|
+
/**
|
|
2309
|
+
*
|
|
2310
|
+
* @type {Array<ConsultationTimetableTimeSlotModel>}
|
|
2311
|
+
* @memberof ConsultationTimetableDateModel
|
|
2312
|
+
*/
|
|
2313
|
+
'slots'?: Array<ConsultationTimetableTimeSlotModel> | null;
|
|
2314
|
+
/**
|
|
2315
|
+
*
|
|
2316
|
+
* @type {boolean}
|
|
2317
|
+
* @memberof ConsultationTimetableDateModel
|
|
2318
|
+
*/
|
|
2319
|
+
'hasTimeSlotItems'?: boolean;
|
|
2320
|
+
}
|
|
2321
|
+
/**
|
|
2322
|
+
*
|
|
2323
|
+
* @export
|
|
2324
|
+
* @interface ConsultationTimetableModel
|
|
2325
|
+
*/
|
|
2326
|
+
export interface ConsultationTimetableModel {
|
|
2327
|
+
/**
|
|
2328
|
+
*
|
|
2329
|
+
* @type {string}
|
|
2330
|
+
* @memberof ConsultationTimetableModel
|
|
2331
|
+
*/
|
|
2332
|
+
'hospitalTimeZone'?: string | null;
|
|
2333
|
+
/**
|
|
2334
|
+
*
|
|
2335
|
+
* @type {Date}
|
|
2336
|
+
* @memberof ConsultationTimetableModel
|
|
2337
|
+
*/
|
|
2338
|
+
'today'?: Date;
|
|
2339
|
+
/**
|
|
2340
|
+
*
|
|
2341
|
+
* @type {Array<ConsultationTimetableDateModel>}
|
|
2342
|
+
* @memberof ConsultationTimetableModel
|
|
2343
|
+
*/
|
|
2344
|
+
'days'?: Array<ConsultationTimetableDateModel> | null;
|
|
2345
|
+
}
|
|
2346
|
+
/**
|
|
2347
|
+
*
|
|
2348
|
+
* @export
|
|
2349
|
+
* @enum {string}
|
|
2350
|
+
*/
|
|
2351
|
+
export declare enum ConsultationTimetableStatus {
|
|
2352
|
+
Available = "Available",
|
|
2353
|
+
Unavailable = "Unavailable"
|
|
2354
|
+
}
|
|
2355
|
+
/**
|
|
2356
|
+
*
|
|
2357
|
+
* @export
|
|
2358
|
+
* @interface ConsultationTimetableTimeSlotModel
|
|
2359
|
+
*/
|
|
2360
|
+
export interface ConsultationTimetableTimeSlotModel {
|
|
2361
|
+
/**
|
|
2362
|
+
*
|
|
2363
|
+
* @type {Date}
|
|
2364
|
+
* @memberof ConsultationTimetableTimeSlotModel
|
|
2365
|
+
*/
|
|
2366
|
+
'startTime'?: Date;
|
|
2367
|
+
/**
|
|
2368
|
+
*
|
|
2369
|
+
* @type {Date}
|
|
2370
|
+
* @memberof ConsultationTimetableTimeSlotModel
|
|
2371
|
+
*/
|
|
2372
|
+
'endTime'?: Date;
|
|
2373
|
+
/**
|
|
2374
|
+
*
|
|
2375
|
+
* @type {ConsultationTimetableStatus}
|
|
2376
|
+
* @memberof ConsultationTimetableTimeSlotModel
|
|
2377
|
+
*/
|
|
2378
|
+
'status'?: ConsultationTimetableStatus;
|
|
2379
|
+
/**
|
|
2380
|
+
*
|
|
2381
|
+
* @type {boolean}
|
|
2382
|
+
* @memberof ConsultationTimetableTimeSlotModel
|
|
2383
|
+
*/
|
|
2384
|
+
'isAvailable'?: boolean;
|
|
2385
|
+
}
|
|
2278
2386
|
/**
|
|
2279
2387
|
*
|
|
2280
2388
|
* @export
|
|
@@ -5745,114 +5853,27 @@ export interface HospitalAccreditationsModel {
|
|
|
5745
5853
|
/**
|
|
5746
5854
|
*
|
|
5747
5855
|
* @export
|
|
5748
|
-
* @interface
|
|
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
|
|
5856
|
+
* @interface HospitalConsultationOptionModel
|
|
5780
5857
|
*/
|
|
5781
|
-
export interface
|
|
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;
|
|
5858
|
+
export interface HospitalConsultationOptionModel {
|
|
5812
5859
|
/**
|
|
5813
5860
|
*
|
|
5814
5861
|
* @type {boolean}
|
|
5815
|
-
* @memberof
|
|
5862
|
+
* @memberof HospitalConsultationOptionModel
|
|
5816
5863
|
*/
|
|
5817
|
-
'
|
|
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 {
|
|
5864
|
+
'useTimetable'?: boolean;
|
|
5844
5865
|
/**
|
|
5845
5866
|
*
|
|
5846
|
-
* @type {
|
|
5847
|
-
* @memberof
|
|
5867
|
+
* @type {number}
|
|
5868
|
+
* @memberof HospitalConsultationOptionModel
|
|
5848
5869
|
*/
|
|
5849
|
-
'
|
|
5870
|
+
'beforeEventBufferMinutes'?: number | null;
|
|
5850
5871
|
/**
|
|
5851
5872
|
*
|
|
5852
|
-
* @type {
|
|
5853
|
-
* @memberof
|
|
5873
|
+
* @type {number}
|
|
5874
|
+
* @memberof HospitalConsultationOptionModel
|
|
5854
5875
|
*/
|
|
5855
|
-
'
|
|
5876
|
+
'afterEventBufferMinutes'?: number | null;
|
|
5856
5877
|
}
|
|
5857
5878
|
/**
|
|
5858
5879
|
*
|
|
@@ -6378,6 +6399,12 @@ export interface HospitalModel {
|
|
|
6378
6399
|
* @memberof HospitalModel
|
|
6379
6400
|
*/
|
|
6380
6401
|
'awards'?: Array<AwardModel> | null;
|
|
6402
|
+
/**
|
|
6403
|
+
*
|
|
6404
|
+
* @type {HospitalConsultationOptionModel}
|
|
6405
|
+
* @memberof HospitalModel
|
|
6406
|
+
*/
|
|
6407
|
+
'consultationOption'?: HospitalConsultationOptionModel;
|
|
6381
6408
|
}
|
|
6382
6409
|
/**
|
|
6383
6410
|
*
|
|
@@ -17302,89 +17329,6 @@ export declare class HospitalsApi extends BaseAPI {
|
|
|
17302
17329
|
*/
|
|
17303
17330
|
apiV2HospitalsSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<HospitalModel, any>>;
|
|
17304
17331
|
}
|
|
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
17332
|
/**
|
|
17389
17333
|
* HospitalsConsultationTimetablesApi - axios parameter creator
|
|
17390
17334
|
* @export
|
|
@@ -17394,13 +17338,12 @@ export declare const HospitalsConsultationTimetablesApiAxiosParamCreator: (confi
|
|
|
17394
17338
|
*
|
|
17395
17339
|
* @summary Get hospital consultation timetables by hospitalId
|
|
17396
17340
|
* @param {string} hospitalId
|
|
17397
|
-
* @param {number} [
|
|
17398
|
-
* @param {number} [
|
|
17399
|
-
* @param {Date} [lastRetrieved]
|
|
17341
|
+
* @param {number} [year]
|
|
17342
|
+
* @param {number} [month]
|
|
17400
17343
|
* @param {*} [options] Override http request option.
|
|
17401
17344
|
* @throws {RequiredError}
|
|
17402
17345
|
*/
|
|
17403
|
-
apiV2HospitalsHospitalIdConsultationtimetablesGet: (hospitalId: string,
|
|
17346
|
+
apiV2HospitalsHospitalIdConsultationtimetablesGet: (hospitalId: string, year?: number | undefined, month?: number | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
17404
17347
|
};
|
|
17405
17348
|
/**
|
|
17406
17349
|
* HospitalsConsultationTimetablesApi - functional programming interface
|
|
@@ -17411,13 +17354,12 @@ export declare const HospitalsConsultationTimetablesApiFp: (configuration?: Conf
|
|
|
17411
17354
|
*
|
|
17412
17355
|
* @summary Get hospital consultation timetables by hospitalId
|
|
17413
17356
|
* @param {string} hospitalId
|
|
17414
|
-
* @param {number} [
|
|
17415
|
-
* @param {number} [
|
|
17416
|
-
* @param {Date} [lastRetrieved]
|
|
17357
|
+
* @param {number} [year]
|
|
17358
|
+
* @param {number} [month]
|
|
17417
17359
|
* @param {*} [options] Override http request option.
|
|
17418
17360
|
* @throws {RequiredError}
|
|
17419
17361
|
*/
|
|
17420
|
-
apiV2HospitalsHospitalIdConsultationtimetablesGet(hospitalId: string,
|
|
17362
|
+
apiV2HospitalsHospitalIdConsultationtimetablesGet(hospitalId: string, year?: number | undefined, month?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<ConsultationTimetableModel>>;
|
|
17421
17363
|
};
|
|
17422
17364
|
/**
|
|
17423
17365
|
* HospitalsConsultationTimetablesApi - factory interface
|
|
@@ -17428,13 +17370,12 @@ export declare const HospitalsConsultationTimetablesApiFactory: (configuration?:
|
|
|
17428
17370
|
*
|
|
17429
17371
|
* @summary Get hospital consultation timetables by hospitalId
|
|
17430
17372
|
* @param {string} hospitalId
|
|
17431
|
-
* @param {number} [
|
|
17432
|
-
* @param {number} [
|
|
17433
|
-
* @param {Date} [lastRetrieved]
|
|
17373
|
+
* @param {number} [year]
|
|
17374
|
+
* @param {number} [month]
|
|
17434
17375
|
* @param {*} [options] Override http request option.
|
|
17435
17376
|
* @throws {RequiredError}
|
|
17436
17377
|
*/
|
|
17437
|
-
apiV2HospitalsHospitalIdConsultationtimetablesGet(hospitalId: string,
|
|
17378
|
+
apiV2HospitalsHospitalIdConsultationtimetablesGet(hospitalId: string, year?: number | undefined, month?: number | undefined, options?: any): AxiosPromise<ConsultationTimetableModel>;
|
|
17438
17379
|
};
|
|
17439
17380
|
/**
|
|
17440
17381
|
* HospitalsConsultationTimetablesApi - object-oriented interface
|
|
@@ -17447,14 +17388,13 @@ export declare class HospitalsConsultationTimetablesApi extends BaseAPI {
|
|
|
17447
17388
|
*
|
|
17448
17389
|
* @summary Get hospital consultation timetables by hospitalId
|
|
17449
17390
|
* @param {string} hospitalId
|
|
17450
|
-
* @param {number} [
|
|
17451
|
-
* @param {number} [
|
|
17452
|
-
* @param {Date} [lastRetrieved]
|
|
17391
|
+
* @param {number} [year]
|
|
17392
|
+
* @param {number} [month]
|
|
17453
17393
|
* @param {*} [options] Override http request option.
|
|
17454
17394
|
* @throws {RequiredError}
|
|
17455
17395
|
* @memberof HospitalsConsultationTimetablesApi
|
|
17456
17396
|
*/
|
|
17457
|
-
apiV2HospitalsHospitalIdConsultationtimetablesGet(hospitalId: string,
|
|
17397
|
+
apiV2HospitalsHospitalIdConsultationtimetablesGet(hospitalId: string, year?: number, month?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ConsultationTimetableModel, any>>;
|
|
17458
17398
|
}
|
|
17459
17399
|
/**
|
|
17460
17400
|
* ImagesApi - axios parameter creator
|