ch-api-client-typescript2 3.5.8 → 4.0.2
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 +38 -108
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +20 -90
- package/package.json +1 -1
- package/src/api.ts +51 -149
package/lib/api.d.ts
CHANGED
|
@@ -4334,6 +4334,12 @@ export interface DoctorModel {
|
|
|
4334
4334
|
* @memberof DoctorModel
|
|
4335
4335
|
*/
|
|
4336
4336
|
'photoThumbnail'?: string | null;
|
|
4337
|
+
/**
|
|
4338
|
+
*
|
|
4339
|
+
* @type {string}
|
|
4340
|
+
* @memberof DoctorModel
|
|
4341
|
+
*/
|
|
4342
|
+
'timeZone'?: string | null;
|
|
4337
4343
|
/**
|
|
4338
4344
|
*
|
|
4339
4345
|
* @type {AuditableEntity}
|
|
@@ -4364,12 +4370,6 @@ export interface DoctorModel {
|
|
|
4364
4370
|
* @memberof DoctorModel
|
|
4365
4371
|
*/
|
|
4366
4372
|
'dateOfBirth'?: Date | null;
|
|
4367
|
-
/**
|
|
4368
|
-
*
|
|
4369
|
-
* @type {string}
|
|
4370
|
-
* @memberof DoctorModel
|
|
4371
|
-
*/
|
|
4372
|
-
'timeZone'?: string | null;
|
|
4373
4373
|
/**
|
|
4374
4374
|
*
|
|
4375
4375
|
* @type {string}
|
|
@@ -4705,43 +4705,6 @@ export interface FaqCategoriesModel {
|
|
|
4705
4705
|
*/
|
|
4706
4706
|
'metaData'?: PagedListMetaData;
|
|
4707
4707
|
}
|
|
4708
|
-
/**
|
|
4709
|
-
*
|
|
4710
|
-
* @export
|
|
4711
|
-
* @interface FaqCategoryBreadCrumbModel
|
|
4712
|
-
*/
|
|
4713
|
-
export interface FaqCategoryBreadCrumbModel {
|
|
4714
|
-
/**
|
|
4715
|
-
*
|
|
4716
|
-
* @type {string}
|
|
4717
|
-
* @memberof FaqCategoryBreadCrumbModel
|
|
4718
|
-
*/
|
|
4719
|
-
'id'?: string;
|
|
4720
|
-
/**
|
|
4721
|
-
*
|
|
4722
|
-
* @type {string}
|
|
4723
|
-
* @memberof FaqCategoryBreadCrumbModel
|
|
4724
|
-
*/
|
|
4725
|
-
'name'?: string | null;
|
|
4726
|
-
/**
|
|
4727
|
-
*
|
|
4728
|
-
* @type {string}
|
|
4729
|
-
* @memberof FaqCategoryBreadCrumbModel
|
|
4730
|
-
*/
|
|
4731
|
-
'slug'?: string | null;
|
|
4732
|
-
/**
|
|
4733
|
-
*
|
|
4734
|
-
* @type {string}
|
|
4735
|
-
* @memberof FaqCategoryBreadCrumbModel
|
|
4736
|
-
*/
|
|
4737
|
-
'parentId'?: string | null;
|
|
4738
|
-
/**
|
|
4739
|
-
*
|
|
4740
|
-
* @type {boolean}
|
|
4741
|
-
* @memberof FaqCategoryBreadCrumbModel
|
|
4742
|
-
*/
|
|
4743
|
-
'confirmed'?: boolean;
|
|
4744
|
-
}
|
|
4745
4708
|
/**
|
|
4746
4709
|
*
|
|
4747
4710
|
* @export
|
|
@@ -5981,6 +5944,18 @@ export interface HospitalServiceModel {
|
|
|
5981
5944
|
* @memberof HospitalServiceModel
|
|
5982
5945
|
*/
|
|
5983
5946
|
'confirmed'?: boolean;
|
|
5947
|
+
/**
|
|
5948
|
+
*
|
|
5949
|
+
* @type {string}
|
|
5950
|
+
* @memberof HospitalServiceModel
|
|
5951
|
+
*/
|
|
5952
|
+
'hospitalSpecialtyName'?: string | null;
|
|
5953
|
+
/**
|
|
5954
|
+
*
|
|
5955
|
+
* @type {string}
|
|
5956
|
+
* @memberof HospitalServiceModel
|
|
5957
|
+
*/
|
|
5958
|
+
'hospitalSpecialtySlug'?: string | null;
|
|
5984
5959
|
/**
|
|
5985
5960
|
*
|
|
5986
5961
|
* @type {number}
|
|
@@ -6047,18 +6022,6 @@ export interface HospitalServiceModel {
|
|
|
6047
6022
|
* @memberof HospitalServiceModel
|
|
6048
6023
|
*/
|
|
6049
6024
|
'specialtyName'?: string | null;
|
|
6050
|
-
/**
|
|
6051
|
-
*
|
|
6052
|
-
* @type {string}
|
|
6053
|
-
* @memberof HospitalServiceModel
|
|
6054
|
-
*/
|
|
6055
|
-
'hospitalSpecialtyName'?: string | null;
|
|
6056
|
-
/**
|
|
6057
|
-
*
|
|
6058
|
-
* @type {string}
|
|
6059
|
-
* @memberof HospitalServiceModel
|
|
6060
|
-
*/
|
|
6061
|
-
'hospitalSpecialtySlug'?: string | null;
|
|
6062
6025
|
/**
|
|
6063
6026
|
*
|
|
6064
6027
|
* @type {string}
|
|
@@ -7289,6 +7252,12 @@ export interface PatientModel {
|
|
|
7289
7252
|
* @memberof PatientModel
|
|
7290
7253
|
*/
|
|
7291
7254
|
'photoThumbnail'?: string | null;
|
|
7255
|
+
/**
|
|
7256
|
+
*
|
|
7257
|
+
* @type {string}
|
|
7258
|
+
* @memberof PatientModel
|
|
7259
|
+
*/
|
|
7260
|
+
'timeZone'?: string | null;
|
|
7292
7261
|
/**
|
|
7293
7262
|
*
|
|
7294
7263
|
* @type {AuditableEntity}
|
|
@@ -7319,12 +7288,6 @@ export interface PatientModel {
|
|
|
7319
7288
|
* @memberof PatientModel
|
|
7320
7289
|
*/
|
|
7321
7290
|
'dateOfBirth'?: Date | null;
|
|
7322
|
-
/**
|
|
7323
|
-
*
|
|
7324
|
-
* @type {string}
|
|
7325
|
-
* @memberof PatientModel
|
|
7326
|
-
*/
|
|
7327
|
-
'timeZone'?: string | null;
|
|
7328
7291
|
/**
|
|
7329
7292
|
*
|
|
7330
7293
|
* @type {string}
|
|
@@ -9479,6 +9442,12 @@ export interface UserModel {
|
|
|
9479
9442
|
* @memberof UserModel
|
|
9480
9443
|
*/
|
|
9481
9444
|
'photoThumbnail'?: string | null;
|
|
9445
|
+
/**
|
|
9446
|
+
*
|
|
9447
|
+
* @type {string}
|
|
9448
|
+
* @memberof UserModel
|
|
9449
|
+
*/
|
|
9450
|
+
'timeZone'?: string | null;
|
|
9482
9451
|
/**
|
|
9483
9452
|
*
|
|
9484
9453
|
* @type {AuditableEntity}
|
|
@@ -9509,12 +9478,6 @@ export interface UserModel {
|
|
|
9509
9478
|
* @memberof UserModel
|
|
9510
9479
|
*/
|
|
9511
9480
|
'dateOfBirth'?: Date | null;
|
|
9512
|
-
/**
|
|
9513
|
-
*
|
|
9514
|
-
* @type {string}
|
|
9515
|
-
* @memberof UserModel
|
|
9516
|
-
*/
|
|
9517
|
-
'timeZone'?: string | null;
|
|
9518
9481
|
/**
|
|
9519
9482
|
*
|
|
9520
9483
|
* @type {string}
|
|
@@ -13464,15 +13427,6 @@ export declare class DoctorsApi extends BaseAPI {
|
|
|
13464
13427
|
* @export
|
|
13465
13428
|
*/
|
|
13466
13429
|
export declare const FaqCategoriesApiAxiosParamCreator: (configuration?: Configuration | undefined) => {
|
|
13467
|
-
/**
|
|
13468
|
-
*
|
|
13469
|
-
* @summary Get BreadCrumbs.
|
|
13470
|
-
* @param {string} faqId
|
|
13471
|
-
* @param {string} [languageCode]
|
|
13472
|
-
* @param {*} [options] Override http request option.
|
|
13473
|
-
* @throws {RequiredError}
|
|
13474
|
-
*/
|
|
13475
|
-
apiV2FaqcategoriesBreadcrumbsFaqIdGet: (faqId: string, languageCode?: string | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
13476
13430
|
/**
|
|
13477
13431
|
*
|
|
13478
13432
|
* @summary Get FaqCategory.
|
|
@@ -13515,15 +13469,6 @@ export declare const FaqCategoriesApiAxiosParamCreator: (configuration?: Configu
|
|
|
13515
13469
|
* @export
|
|
13516
13470
|
*/
|
|
13517
13471
|
export declare const FaqCategoriesApiFp: (configuration?: Configuration | undefined) => {
|
|
13518
|
-
/**
|
|
13519
|
-
*
|
|
13520
|
-
* @summary Get BreadCrumbs.
|
|
13521
|
-
* @param {string} faqId
|
|
13522
|
-
* @param {string} [languageCode]
|
|
13523
|
-
* @param {*} [options] Override http request option.
|
|
13524
|
-
* @throws {RequiredError}
|
|
13525
|
-
*/
|
|
13526
|
-
apiV2FaqcategoriesBreadcrumbsFaqIdGet(faqId: string, languageCode?: string | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Array<FaqCategoryBreadCrumbModel>>>;
|
|
13527
13472
|
/**
|
|
13528
13473
|
*
|
|
13529
13474
|
* @summary Get FaqCategory.
|
|
@@ -13566,15 +13511,6 @@ export declare const FaqCategoriesApiFp: (configuration?: Configuration | undefi
|
|
|
13566
13511
|
* @export
|
|
13567
13512
|
*/
|
|
13568
13513
|
export declare const FaqCategoriesApiFactory: (configuration?: Configuration | undefined, basePath?: string | undefined, axios?: AxiosInstance | undefined) => {
|
|
13569
|
-
/**
|
|
13570
|
-
*
|
|
13571
|
-
* @summary Get BreadCrumbs.
|
|
13572
|
-
* @param {string} faqId
|
|
13573
|
-
* @param {string} [languageCode]
|
|
13574
|
-
* @param {*} [options] Override http request option.
|
|
13575
|
-
* @throws {RequiredError}
|
|
13576
|
-
*/
|
|
13577
|
-
apiV2FaqcategoriesBreadcrumbsFaqIdGet(faqId: string, languageCode?: string | undefined, options?: any): AxiosPromise<Array<FaqCategoryBreadCrumbModel>>;
|
|
13578
13514
|
/**
|
|
13579
13515
|
*
|
|
13580
13516
|
* @summary Get FaqCategory.
|
|
@@ -13619,16 +13555,6 @@ export declare const FaqCategoriesApiFactory: (configuration?: Configuration | u
|
|
|
13619
13555
|
* @extends {BaseAPI}
|
|
13620
13556
|
*/
|
|
13621
13557
|
export declare class FaqCategoriesApi extends BaseAPI {
|
|
13622
|
-
/**
|
|
13623
|
-
*
|
|
13624
|
-
* @summary Get BreadCrumbs.
|
|
13625
|
-
* @param {string} faqId
|
|
13626
|
-
* @param {string} [languageCode]
|
|
13627
|
-
* @param {*} [options] Override http request option.
|
|
13628
|
-
* @throws {RequiredError}
|
|
13629
|
-
* @memberof FaqCategoriesApi
|
|
13630
|
-
*/
|
|
13631
|
-
apiV2FaqcategoriesBreadcrumbsFaqIdGet(faqId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<FaqCategoryBreadCrumbModel[], any>>;
|
|
13632
13558
|
/**
|
|
13633
13559
|
*
|
|
13634
13560
|
* @summary Get FaqCategory.
|
|
@@ -15729,10 +15655,11 @@ export declare class HospitalsApi extends BaseAPI {
|
|
|
15729
15655
|
export declare const ImagesApiAxiosParamCreator: (configuration?: Configuration | undefined) => {
|
|
15730
15656
|
/**
|
|
15731
15657
|
*
|
|
15658
|
+
* @param {Array<any>} [files]
|
|
15732
15659
|
* @param {*} [options] Override http request option.
|
|
15733
15660
|
* @throws {RequiredError}
|
|
15734
15661
|
*/
|
|
15735
|
-
apiV2ImagesPost: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
15662
|
+
apiV2ImagesPost: (files?: any[] | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
15736
15663
|
};
|
|
15737
15664
|
/**
|
|
15738
15665
|
* ImagesApi - functional programming interface
|
|
@@ -15741,10 +15668,11 @@ export declare const ImagesApiAxiosParamCreator: (configuration?: Configuration
|
|
|
15741
15668
|
export declare const ImagesApiFp: (configuration?: Configuration | undefined) => {
|
|
15742
15669
|
/**
|
|
15743
15670
|
*
|
|
15671
|
+
* @param {Array<any>} [files]
|
|
15744
15672
|
* @param {*} [options] Override http request option.
|
|
15745
15673
|
* @throws {RequiredError}
|
|
15746
15674
|
*/
|
|
15747
|
-
apiV2ImagesPost(options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Array<MediaModel>>>;
|
|
15675
|
+
apiV2ImagesPost(files?: any[] | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Array<MediaModel>>>;
|
|
15748
15676
|
};
|
|
15749
15677
|
/**
|
|
15750
15678
|
* ImagesApi - factory interface
|
|
@@ -15753,10 +15681,11 @@ export declare const ImagesApiFp: (configuration?: Configuration | undefined) =>
|
|
|
15753
15681
|
export declare const ImagesApiFactory: (configuration?: Configuration | undefined, basePath?: string | undefined, axios?: AxiosInstance | undefined) => {
|
|
15754
15682
|
/**
|
|
15755
15683
|
*
|
|
15684
|
+
* @param {Array<any>} [files]
|
|
15756
15685
|
* @param {*} [options] Override http request option.
|
|
15757
15686
|
* @throws {RequiredError}
|
|
15758
15687
|
*/
|
|
15759
|
-
apiV2ImagesPost(options?: any): AxiosPromise<Array<MediaModel>>;
|
|
15688
|
+
apiV2ImagesPost(files?: any[] | undefined, options?: any): AxiosPromise<Array<MediaModel>>;
|
|
15760
15689
|
};
|
|
15761
15690
|
/**
|
|
15762
15691
|
* ImagesApi - object-oriented interface
|
|
@@ -15767,11 +15696,12 @@ export declare const ImagesApiFactory: (configuration?: Configuration | undefine
|
|
|
15767
15696
|
export declare class ImagesApi extends BaseAPI {
|
|
15768
15697
|
/**
|
|
15769
15698
|
*
|
|
15699
|
+
* @param {Array<any>} [files]
|
|
15770
15700
|
* @param {*} [options] Override http request option.
|
|
15771
15701
|
* @throws {RequiredError}
|
|
15772
15702
|
* @memberof ImagesApi
|
|
15773
15703
|
*/
|
|
15774
|
-
apiV2ImagesPost(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MediaModel[], any>>;
|
|
15704
|
+
apiV2ImagesPost(files?: Array<any>, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MediaModel[], any>>;
|
|
15775
15705
|
}
|
|
15776
15706
|
/**
|
|
15777
15707
|
* LanguagesApi - axios parameter creator
|