ch-api-client-typescript2 4.4.0 → 4.4.4
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 +130 -2
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +114 -2
- package/package.json +1 -1
- package/src/api.ts +173 -2
package/lib/api.d.ts
CHANGED
|
@@ -641,6 +641,12 @@ export interface ArticleItemModel {
|
|
|
641
641
|
* @memberof ArticleItemModel
|
|
642
642
|
*/
|
|
643
643
|
'hospitalSlug'?: string | null;
|
|
644
|
+
/**
|
|
645
|
+
*
|
|
646
|
+
* @type {string}
|
|
647
|
+
* @memberof ArticleItemModel
|
|
648
|
+
*/
|
|
649
|
+
'hospitalLogo'?: string | null;
|
|
644
650
|
/**
|
|
645
651
|
*
|
|
646
652
|
* @type {string}
|
|
@@ -768,6 +774,12 @@ export interface ArticleModel {
|
|
|
768
774
|
* @memberof ArticleModel
|
|
769
775
|
*/
|
|
770
776
|
'hospitalSlug'?: string | null;
|
|
777
|
+
/**
|
|
778
|
+
*
|
|
779
|
+
* @type {string}
|
|
780
|
+
* @memberof ArticleModel
|
|
781
|
+
*/
|
|
782
|
+
'hospitalLogo'?: string | null;
|
|
771
783
|
/**
|
|
772
784
|
*
|
|
773
785
|
* @type {string}
|
|
@@ -834,6 +846,12 @@ export interface ArticleModel {
|
|
|
834
846
|
* @memberof ArticleModel
|
|
835
847
|
*/
|
|
836
848
|
'localizedUrls'?: Array<LocalizedUrlModel> | null;
|
|
849
|
+
/**
|
|
850
|
+
*
|
|
851
|
+
* @type {string}
|
|
852
|
+
* @memberof ArticleModel
|
|
853
|
+
*/
|
|
854
|
+
'customStyle'?: string | null;
|
|
837
855
|
}
|
|
838
856
|
/**
|
|
839
857
|
*
|
|
@@ -2692,6 +2710,12 @@ export interface CountryModel {
|
|
|
2692
2710
|
* @memberof CountryModel
|
|
2693
2711
|
*/
|
|
2694
2712
|
'localizedUrls'?: Array<LocalizedUrlModel> | null;
|
|
2713
|
+
/**
|
|
2714
|
+
*
|
|
2715
|
+
* @type {string}
|
|
2716
|
+
* @memberof CountryModel
|
|
2717
|
+
*/
|
|
2718
|
+
'customStyle'?: string | null;
|
|
2695
2719
|
/**
|
|
2696
2720
|
*
|
|
2697
2721
|
* @type {Array<MediaModel>}
|
|
@@ -4994,6 +5018,37 @@ export interface DoctorsSimpleModel {
|
|
|
4994
5018
|
*/
|
|
4995
5019
|
'metaData'?: PagedListMetaData;
|
|
4996
5020
|
}
|
|
5021
|
+
/**
|
|
5022
|
+
*
|
|
5023
|
+
* @export
|
|
5024
|
+
* @interface FacebookUserDataDeletionResponseModel
|
|
5025
|
+
*/
|
|
5026
|
+
export interface FacebookUserDataDeletionResponseModel {
|
|
5027
|
+
/**
|
|
5028
|
+
*
|
|
5029
|
+
* @type {string}
|
|
5030
|
+
* @memberof FacebookUserDataDeletionResponseModel
|
|
5031
|
+
*/
|
|
5032
|
+
'userId'?: string | null;
|
|
5033
|
+
/**
|
|
5034
|
+
*
|
|
5035
|
+
* @type {boolean}
|
|
5036
|
+
* @memberof FacebookUserDataDeletionResponseModel
|
|
5037
|
+
*/
|
|
5038
|
+
'isLockout'?: boolean;
|
|
5039
|
+
/**
|
|
5040
|
+
*
|
|
5041
|
+
* @type {string}
|
|
5042
|
+
* @memberof FacebookUserDataDeletionResponseModel
|
|
5043
|
+
*/
|
|
5044
|
+
'provider'?: string | null;
|
|
5045
|
+
/**
|
|
5046
|
+
*
|
|
5047
|
+
* @type {string}
|
|
5048
|
+
* @memberof FacebookUserDataDeletionResponseModel
|
|
5049
|
+
*/
|
|
5050
|
+
'providerKey'?: string | null;
|
|
5051
|
+
}
|
|
4997
5052
|
/**
|
|
4998
5053
|
*
|
|
4999
5054
|
* @export
|
|
@@ -5284,7 +5339,7 @@ export interface FaqItemModel {
|
|
|
5284
5339
|
* @type {string}
|
|
5285
5340
|
* @memberof FaqItemModel
|
|
5286
5341
|
*/
|
|
5287
|
-
'faqCategoryId'?: string;
|
|
5342
|
+
'faqCategoryId'?: string | null;
|
|
5288
5343
|
/**
|
|
5289
5344
|
*
|
|
5290
5345
|
* @type {string}
|
|
@@ -5387,7 +5442,7 @@ export interface FaqModel {
|
|
|
5387
5442
|
* @type {string}
|
|
5388
5443
|
* @memberof FaqModel
|
|
5389
5444
|
*/
|
|
5390
|
-
'faqCategoryId'?: string;
|
|
5445
|
+
'faqCategoryId'?: string | null;
|
|
5391
5446
|
/**
|
|
5392
5447
|
*
|
|
5393
5448
|
* @type {string}
|
|
@@ -5436,6 +5491,12 @@ export interface FaqModel {
|
|
|
5436
5491
|
* @memberof FaqModel
|
|
5437
5492
|
*/
|
|
5438
5493
|
'localizedUrls'?: Array<LocalizedUrlModel> | null;
|
|
5494
|
+
/**
|
|
5495
|
+
*
|
|
5496
|
+
* @type {string}
|
|
5497
|
+
* @memberof FaqModel
|
|
5498
|
+
*/
|
|
5499
|
+
'customStyle'?: string | null;
|
|
5439
5500
|
}
|
|
5440
5501
|
/**
|
|
5441
5502
|
*
|
|
@@ -9181,6 +9242,12 @@ export interface SpecialtyModel {
|
|
|
9181
9242
|
* @memberof SpecialtyModel
|
|
9182
9243
|
*/
|
|
9183
9244
|
'localizedUrls'?: Array<LocalizedUrlModel> | null;
|
|
9245
|
+
/**
|
|
9246
|
+
*
|
|
9247
|
+
* @type {string}
|
|
9248
|
+
* @memberof SpecialtyModel
|
|
9249
|
+
*/
|
|
9250
|
+
'customStyle'?: string | null;
|
|
9184
9251
|
}
|
|
9185
9252
|
/**
|
|
9186
9253
|
*
|
|
@@ -9375,6 +9442,12 @@ export interface SpecialtyTypeModel {
|
|
|
9375
9442
|
* @memberof SpecialtyTypeModel
|
|
9376
9443
|
*/
|
|
9377
9444
|
'localizedUrls'?: Array<LocalizedUrlModel> | null;
|
|
9445
|
+
/**
|
|
9446
|
+
*
|
|
9447
|
+
* @type {string}
|
|
9448
|
+
* @memberof SpecialtyTypeModel
|
|
9449
|
+
*/
|
|
9450
|
+
'customStyle'?: string | null;
|
|
9378
9451
|
}
|
|
9379
9452
|
/**
|
|
9380
9453
|
*
|
|
@@ -14563,6 +14636,61 @@ export declare class DoctorsApi extends BaseAPI {
|
|
|
14563
14636
|
*/
|
|
14564
14637
|
apiV2DoctorsSimpleGet(hospitalId?: string, hospitalName?: string, ids?: Array<string>, specialtyId?: string, consultationEnabled?: boolean, languageCode?: string, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DoctorsSimpleModel, any>>;
|
|
14565
14638
|
}
|
|
14639
|
+
/**
|
|
14640
|
+
* ExternalApi - axios parameter creator
|
|
14641
|
+
* @export
|
|
14642
|
+
*/
|
|
14643
|
+
export declare const ExternalApiAxiosParamCreator: (configuration?: Configuration | undefined) => {
|
|
14644
|
+
/**
|
|
14645
|
+
* Sample request: POST /api/v2/external/facebook/deleteUserData { \"signed_request\": \"......\" }
|
|
14646
|
+
* @summary Callback for Facebook user data deletion
|
|
14647
|
+
* @param {*} [options] Override http request option.
|
|
14648
|
+
* @throws {RequiredError}
|
|
14649
|
+
*/
|
|
14650
|
+
apiV2ExternalFacebookDeleteuserdataPost: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
14651
|
+
};
|
|
14652
|
+
/**
|
|
14653
|
+
* ExternalApi - functional programming interface
|
|
14654
|
+
* @export
|
|
14655
|
+
*/
|
|
14656
|
+
export declare const ExternalApiFp: (configuration?: Configuration | undefined) => {
|
|
14657
|
+
/**
|
|
14658
|
+
* Sample request: POST /api/v2/external/facebook/deleteUserData { \"signed_request\": \"......\" }
|
|
14659
|
+
* @summary Callback for Facebook user data deletion
|
|
14660
|
+
* @param {*} [options] Override http request option.
|
|
14661
|
+
* @throws {RequiredError}
|
|
14662
|
+
*/
|
|
14663
|
+
apiV2ExternalFacebookDeleteuserdataPost(options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<FacebookUserDataDeletionResponseModel>>;
|
|
14664
|
+
};
|
|
14665
|
+
/**
|
|
14666
|
+
* ExternalApi - factory interface
|
|
14667
|
+
* @export
|
|
14668
|
+
*/
|
|
14669
|
+
export declare const ExternalApiFactory: (configuration?: Configuration | undefined, basePath?: string | undefined, axios?: AxiosInstance | undefined) => {
|
|
14670
|
+
/**
|
|
14671
|
+
* Sample request: POST /api/v2/external/facebook/deleteUserData { \"signed_request\": \"......\" }
|
|
14672
|
+
* @summary Callback for Facebook user data deletion
|
|
14673
|
+
* @param {*} [options] Override http request option.
|
|
14674
|
+
* @throws {RequiredError}
|
|
14675
|
+
*/
|
|
14676
|
+
apiV2ExternalFacebookDeleteuserdataPost(options?: any): AxiosPromise<FacebookUserDataDeletionResponseModel>;
|
|
14677
|
+
};
|
|
14678
|
+
/**
|
|
14679
|
+
* ExternalApi - object-oriented interface
|
|
14680
|
+
* @export
|
|
14681
|
+
* @class ExternalApi
|
|
14682
|
+
* @extends {BaseAPI}
|
|
14683
|
+
*/
|
|
14684
|
+
export declare class ExternalApi extends BaseAPI {
|
|
14685
|
+
/**
|
|
14686
|
+
* Sample request: POST /api/v2/external/facebook/deleteUserData { \"signed_request\": \"......\" }
|
|
14687
|
+
* @summary Callback for Facebook user data deletion
|
|
14688
|
+
* @param {*} [options] Override http request option.
|
|
14689
|
+
* @throws {RequiredError}
|
|
14690
|
+
* @memberof ExternalApi
|
|
14691
|
+
*/
|
|
14692
|
+
apiV2ExternalFacebookDeleteuserdataPost(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<FacebookUserDataDeletionResponseModel, any>>;
|
|
14693
|
+
}
|
|
14566
14694
|
/**
|
|
14567
14695
|
* FaqCategoriesApi - axios parameter creator
|
|
14568
14696
|
* @export
|