ch-api-client-typescript2 4.2.9 → 4.3.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 +180 -4
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +21 -7
- package/package.json +1 -1
- package/src/api.ts +191 -7
package/lib/api.d.ts
CHANGED
|
@@ -647,6 +647,30 @@ export interface ArticleItemModel {
|
|
|
647
647
|
* @memberof ArticleItemModel
|
|
648
648
|
*/
|
|
649
649
|
'youtubeUrl'?: string | null;
|
|
650
|
+
/**
|
|
651
|
+
*
|
|
652
|
+
* @type {string}
|
|
653
|
+
* @memberof ArticleItemModel
|
|
654
|
+
*/
|
|
655
|
+
'photo'?: string | null;
|
|
656
|
+
/**
|
|
657
|
+
*
|
|
658
|
+
* @type {string}
|
|
659
|
+
* @memberof ArticleItemModel
|
|
660
|
+
*/
|
|
661
|
+
'photoThumbnail'?: string | null;
|
|
662
|
+
/**
|
|
663
|
+
*
|
|
664
|
+
* @type {string}
|
|
665
|
+
* @memberof ArticleItemModel
|
|
666
|
+
*/
|
|
667
|
+
'background'?: string | null;
|
|
668
|
+
/**
|
|
669
|
+
*
|
|
670
|
+
* @type {string}
|
|
671
|
+
* @memberof ArticleItemModel
|
|
672
|
+
*/
|
|
673
|
+
'backgroundThumbnail'?: string | null;
|
|
650
674
|
/**
|
|
651
675
|
*
|
|
652
676
|
* @type {Array<ArticleTagItemModel>}
|
|
@@ -750,6 +774,30 @@ export interface ArticleModel {
|
|
|
750
774
|
* @memberof ArticleModel
|
|
751
775
|
*/
|
|
752
776
|
'youtubeUrl'?: string | null;
|
|
777
|
+
/**
|
|
778
|
+
*
|
|
779
|
+
* @type {string}
|
|
780
|
+
* @memberof ArticleModel
|
|
781
|
+
*/
|
|
782
|
+
'photo'?: string | null;
|
|
783
|
+
/**
|
|
784
|
+
*
|
|
785
|
+
* @type {string}
|
|
786
|
+
* @memberof ArticleModel
|
|
787
|
+
*/
|
|
788
|
+
'photoThumbnail'?: string | null;
|
|
789
|
+
/**
|
|
790
|
+
*
|
|
791
|
+
* @type {string}
|
|
792
|
+
* @memberof ArticleModel
|
|
793
|
+
*/
|
|
794
|
+
'background'?: string | null;
|
|
795
|
+
/**
|
|
796
|
+
*
|
|
797
|
+
* @type {string}
|
|
798
|
+
* @memberof ArticleModel
|
|
799
|
+
*/
|
|
800
|
+
'backgroundThumbnail'?: string | null;
|
|
753
801
|
/**
|
|
754
802
|
*
|
|
755
803
|
* @type {Array<ArticleTagItemModel>}
|
|
@@ -3909,6 +3957,18 @@ export interface DoctorAffiliationItemModel {
|
|
|
3909
3957
|
* @memberof DoctorAffiliationItemModel
|
|
3910
3958
|
*/
|
|
3911
3959
|
'hospitalSlug'?: string | null;
|
|
3960
|
+
/**
|
|
3961
|
+
*
|
|
3962
|
+
* @type {string}
|
|
3963
|
+
* @memberof DoctorAffiliationItemModel
|
|
3964
|
+
*/
|
|
3965
|
+
'countryId'?: string;
|
|
3966
|
+
/**
|
|
3967
|
+
*
|
|
3968
|
+
* @type {MarketingType}
|
|
3969
|
+
* @memberof DoctorAffiliationItemModel
|
|
3970
|
+
*/
|
|
3971
|
+
'marketingType'?: MarketingType;
|
|
3912
3972
|
/**
|
|
3913
3973
|
*
|
|
3914
3974
|
* @type {string}
|
|
@@ -4006,6 +4066,18 @@ export interface DoctorAffiliationModel {
|
|
|
4006
4066
|
* @memberof DoctorAffiliationModel
|
|
4007
4067
|
*/
|
|
4008
4068
|
'hospitalSlug'?: string | null;
|
|
4069
|
+
/**
|
|
4070
|
+
*
|
|
4071
|
+
* @type {string}
|
|
4072
|
+
* @memberof DoctorAffiliationModel
|
|
4073
|
+
*/
|
|
4074
|
+
'countryId'?: string;
|
|
4075
|
+
/**
|
|
4076
|
+
*
|
|
4077
|
+
* @type {MarketingType}
|
|
4078
|
+
* @memberof DoctorAffiliationModel
|
|
4079
|
+
*/
|
|
4080
|
+
'marketingType'?: MarketingType;
|
|
4009
4081
|
/**
|
|
4010
4082
|
*
|
|
4011
4083
|
* @type {string}
|
|
@@ -8704,6 +8776,30 @@ export interface SpecialtyItemModel {
|
|
|
8704
8776
|
* @memberof SpecialtyItemModel
|
|
8705
8777
|
*/
|
|
8706
8778
|
'confirmed'?: boolean;
|
|
8779
|
+
/**
|
|
8780
|
+
*
|
|
8781
|
+
* @type {string}
|
|
8782
|
+
* @memberof SpecialtyItemModel
|
|
8783
|
+
*/
|
|
8784
|
+
'photo'?: string | null;
|
|
8785
|
+
/**
|
|
8786
|
+
*
|
|
8787
|
+
* @type {string}
|
|
8788
|
+
* @memberof SpecialtyItemModel
|
|
8789
|
+
*/
|
|
8790
|
+
'photoThumbnail'?: string | null;
|
|
8791
|
+
/**
|
|
8792
|
+
*
|
|
8793
|
+
* @type {string}
|
|
8794
|
+
* @memberof SpecialtyItemModel
|
|
8795
|
+
*/
|
|
8796
|
+
'background'?: string | null;
|
|
8797
|
+
/**
|
|
8798
|
+
*
|
|
8799
|
+
* @type {string}
|
|
8800
|
+
* @memberof SpecialtyItemModel
|
|
8801
|
+
*/
|
|
8802
|
+
'backgroundThumbnail'?: string | null;
|
|
8707
8803
|
/**
|
|
8708
8804
|
*
|
|
8709
8805
|
* @type {string}
|
|
@@ -8814,6 +8910,30 @@ export interface SpecialtyModel {
|
|
|
8814
8910
|
* @memberof SpecialtyModel
|
|
8815
8911
|
*/
|
|
8816
8912
|
'confirmed'?: boolean;
|
|
8913
|
+
/**
|
|
8914
|
+
*
|
|
8915
|
+
* @type {string}
|
|
8916
|
+
* @memberof SpecialtyModel
|
|
8917
|
+
*/
|
|
8918
|
+
'photo'?: string | null;
|
|
8919
|
+
/**
|
|
8920
|
+
*
|
|
8921
|
+
* @type {string}
|
|
8922
|
+
* @memberof SpecialtyModel
|
|
8923
|
+
*/
|
|
8924
|
+
'photoThumbnail'?: string | null;
|
|
8925
|
+
/**
|
|
8926
|
+
*
|
|
8927
|
+
* @type {string}
|
|
8928
|
+
* @memberof SpecialtyModel
|
|
8929
|
+
*/
|
|
8930
|
+
'background'?: string | null;
|
|
8931
|
+
/**
|
|
8932
|
+
*
|
|
8933
|
+
* @type {string}
|
|
8934
|
+
* @memberof SpecialtyModel
|
|
8935
|
+
*/
|
|
8936
|
+
'backgroundThumbnail'?: string | null;
|
|
8817
8937
|
/**
|
|
8818
8938
|
*
|
|
8819
8939
|
* @type {string}
|
|
@@ -8905,6 +9025,30 @@ export interface SpecialtyTypeItemModel {
|
|
|
8905
9025
|
* @memberof SpecialtyTypeItemModel
|
|
8906
9026
|
*/
|
|
8907
9027
|
'confirmed'?: boolean;
|
|
9028
|
+
/**
|
|
9029
|
+
*
|
|
9030
|
+
* @type {string}
|
|
9031
|
+
* @memberof SpecialtyTypeItemModel
|
|
9032
|
+
*/
|
|
9033
|
+
'photo'?: string | null;
|
|
9034
|
+
/**
|
|
9035
|
+
*
|
|
9036
|
+
* @type {string}
|
|
9037
|
+
* @memberof SpecialtyTypeItemModel
|
|
9038
|
+
*/
|
|
9039
|
+
'photoThumbnail'?: string | null;
|
|
9040
|
+
/**
|
|
9041
|
+
*
|
|
9042
|
+
* @type {string}
|
|
9043
|
+
* @memberof SpecialtyTypeItemModel
|
|
9044
|
+
*/
|
|
9045
|
+
'background'?: string | null;
|
|
9046
|
+
/**
|
|
9047
|
+
*
|
|
9048
|
+
* @type {string}
|
|
9049
|
+
* @memberof SpecialtyTypeItemModel
|
|
9050
|
+
*/
|
|
9051
|
+
'backgroundThumbnail'?: string | null;
|
|
8908
9052
|
/**
|
|
8909
9053
|
*
|
|
8910
9054
|
* @type {string}
|
|
@@ -8972,6 +9116,30 @@ export interface SpecialtyTypeModel {
|
|
|
8972
9116
|
* @memberof SpecialtyTypeModel
|
|
8973
9117
|
*/
|
|
8974
9118
|
'confirmed'?: boolean;
|
|
9119
|
+
/**
|
|
9120
|
+
*
|
|
9121
|
+
* @type {string}
|
|
9122
|
+
* @memberof SpecialtyTypeModel
|
|
9123
|
+
*/
|
|
9124
|
+
'photo'?: string | null;
|
|
9125
|
+
/**
|
|
9126
|
+
*
|
|
9127
|
+
* @type {string}
|
|
9128
|
+
* @memberof SpecialtyTypeModel
|
|
9129
|
+
*/
|
|
9130
|
+
'photoThumbnail'?: string | null;
|
|
9131
|
+
/**
|
|
9132
|
+
*
|
|
9133
|
+
* @type {string}
|
|
9134
|
+
* @memberof SpecialtyTypeModel
|
|
9135
|
+
*/
|
|
9136
|
+
'background'?: string | null;
|
|
9137
|
+
/**
|
|
9138
|
+
*
|
|
9139
|
+
* @type {string}
|
|
9140
|
+
* @memberof SpecialtyTypeModel
|
|
9141
|
+
*/
|
|
9142
|
+
'backgroundThumbnail'?: string | null;
|
|
8975
9143
|
/**
|
|
8976
9144
|
*
|
|
8977
9145
|
* @type {string}
|
|
@@ -13150,6 +13318,8 @@ export declare const DoctorAffiliationsApiAxiosParamCreator: (configuration?: Co
|
|
|
13150
13318
|
* @param {string} [doctorName]
|
|
13151
13319
|
* @param {string} [doctorSlug]
|
|
13152
13320
|
* @param {string} [specialtyId]
|
|
13321
|
+
* @param {MarketingType} [marketingType]
|
|
13322
|
+
* @param {string} [countryId]
|
|
13153
13323
|
* @param {string} [exceptDoctorId]
|
|
13154
13324
|
* @param {boolean} [consultationEnabled]
|
|
13155
13325
|
* @param {string} [languageCode]
|
|
@@ -13159,7 +13329,7 @@ export declare const DoctorAffiliationsApiAxiosParamCreator: (configuration?: Co
|
|
|
13159
13329
|
* @param {*} [options] Override http request option.
|
|
13160
13330
|
* @throws {RequiredError}
|
|
13161
13331
|
*/
|
|
13162
|
-
apiV2DoctoraffiliationsGet: (hospitalId?: string | undefined, hospitalName?: string | undefined, doctorId?: string | undefined, doctorName?: string | undefined, doctorSlug?: string | undefined, specialtyId?: string | undefined, exceptDoctorId?: string | undefined, consultationEnabled?: boolean | undefined, languageCode?: string | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
13332
|
+
apiV2DoctoraffiliationsGet: (hospitalId?: string | undefined, hospitalName?: string | undefined, doctorId?: string | undefined, doctorName?: string | undefined, doctorSlug?: string | undefined, specialtyId?: string | undefined, marketingType?: MarketingType | undefined, countryId?: string | undefined, exceptDoctorId?: string | undefined, consultationEnabled?: boolean | undefined, languageCode?: string | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
13163
13333
|
/**
|
|
13164
13334
|
*
|
|
13165
13335
|
* @summary Get doctor affiliation.
|
|
@@ -13214,6 +13384,8 @@ export declare const DoctorAffiliationsApiFp: (configuration?: Configuration | u
|
|
|
13214
13384
|
* @param {string} [doctorName]
|
|
13215
13385
|
* @param {string} [doctorSlug]
|
|
13216
13386
|
* @param {string} [specialtyId]
|
|
13387
|
+
* @param {MarketingType} [marketingType]
|
|
13388
|
+
* @param {string} [countryId]
|
|
13217
13389
|
* @param {string} [exceptDoctorId]
|
|
13218
13390
|
* @param {boolean} [consultationEnabled]
|
|
13219
13391
|
* @param {string} [languageCode]
|
|
@@ -13223,7 +13395,7 @@ export declare const DoctorAffiliationsApiFp: (configuration?: Configuration | u
|
|
|
13223
13395
|
* @param {*} [options] Override http request option.
|
|
13224
13396
|
* @throws {RequiredError}
|
|
13225
13397
|
*/
|
|
13226
|
-
apiV2DoctoraffiliationsGet(hospitalId?: string | undefined, hospitalName?: string | undefined, doctorId?: string | undefined, doctorName?: string | undefined, doctorSlug?: string | undefined, specialtyId?: string | undefined, exceptDoctorId?: string | undefined, consultationEnabled?: boolean | undefined, languageCode?: string | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<DoctorAffiliationsModel>>;
|
|
13398
|
+
apiV2DoctoraffiliationsGet(hospitalId?: string | undefined, hospitalName?: string | undefined, doctorId?: string | undefined, doctorName?: string | undefined, doctorSlug?: string | undefined, specialtyId?: string | undefined, marketingType?: MarketingType | undefined, countryId?: string | undefined, exceptDoctorId?: string | undefined, consultationEnabled?: boolean | undefined, languageCode?: string | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<DoctorAffiliationsModel>>;
|
|
13227
13399
|
/**
|
|
13228
13400
|
*
|
|
13229
13401
|
* @summary Get doctor affiliation.
|
|
@@ -13278,6 +13450,8 @@ export declare const DoctorAffiliationsApiFactory: (configuration?: Configuratio
|
|
|
13278
13450
|
* @param {string} [doctorName]
|
|
13279
13451
|
* @param {string} [doctorSlug]
|
|
13280
13452
|
* @param {string} [specialtyId]
|
|
13453
|
+
* @param {MarketingType} [marketingType]
|
|
13454
|
+
* @param {string} [countryId]
|
|
13281
13455
|
* @param {string} [exceptDoctorId]
|
|
13282
13456
|
* @param {boolean} [consultationEnabled]
|
|
13283
13457
|
* @param {string} [languageCode]
|
|
@@ -13287,7 +13461,7 @@ export declare const DoctorAffiliationsApiFactory: (configuration?: Configuratio
|
|
|
13287
13461
|
* @param {*} [options] Override http request option.
|
|
13288
13462
|
* @throws {RequiredError}
|
|
13289
13463
|
*/
|
|
13290
|
-
apiV2DoctoraffiliationsGet(hospitalId?: string | undefined, hospitalName?: string | undefined, doctorId?: string | undefined, doctorName?: string | undefined, doctorSlug?: string | undefined, specialtyId?: string | undefined, exceptDoctorId?: string | undefined, consultationEnabled?: boolean | undefined, languageCode?: string | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: any): AxiosPromise<DoctorAffiliationsModel>;
|
|
13464
|
+
apiV2DoctoraffiliationsGet(hospitalId?: string | undefined, hospitalName?: string | undefined, doctorId?: string | undefined, doctorName?: string | undefined, doctorSlug?: string | undefined, specialtyId?: string | undefined, marketingType?: MarketingType | undefined, countryId?: string | undefined, exceptDoctorId?: string | undefined, consultationEnabled?: boolean | undefined, languageCode?: string | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: any): AxiosPromise<DoctorAffiliationsModel>;
|
|
13291
13465
|
/**
|
|
13292
13466
|
*
|
|
13293
13467
|
* @summary Get doctor affiliation.
|
|
@@ -13346,6 +13520,8 @@ export declare class DoctorAffiliationsApi extends BaseAPI {
|
|
|
13346
13520
|
* @param {string} [doctorName]
|
|
13347
13521
|
* @param {string} [doctorSlug]
|
|
13348
13522
|
* @param {string} [specialtyId]
|
|
13523
|
+
* @param {MarketingType} [marketingType]
|
|
13524
|
+
* @param {string} [countryId]
|
|
13349
13525
|
* @param {string} [exceptDoctorId]
|
|
13350
13526
|
* @param {boolean} [consultationEnabled]
|
|
13351
13527
|
* @param {string} [languageCode]
|
|
@@ -13356,7 +13532,7 @@ export declare class DoctorAffiliationsApi extends BaseAPI {
|
|
|
13356
13532
|
* @throws {RequiredError}
|
|
13357
13533
|
* @memberof DoctorAffiliationsApi
|
|
13358
13534
|
*/
|
|
13359
|
-
apiV2DoctoraffiliationsGet(hospitalId?: string, hospitalName?: string, doctorId?: string, doctorName?: string, doctorSlug?: string, specialtyId?: string, exceptDoctorId?: string, consultationEnabled?: boolean, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DoctorAffiliationsModel, any>>;
|
|
13535
|
+
apiV2DoctoraffiliationsGet(hospitalId?: string, hospitalName?: string, doctorId?: string, doctorName?: string, doctorSlug?: string, specialtyId?: string, marketingType?: MarketingType, countryId?: string, exceptDoctorId?: string, consultationEnabled?: boolean, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DoctorAffiliationsModel, any>>;
|
|
13360
13536
|
/**
|
|
13361
13537
|
*
|
|
13362
13538
|
* @summary Get doctor affiliation.
|