ch-api-client-typescript2 4.4.3 → 4.4.5
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 +188 -0
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +233 -2
- package/package.json +1 -1
- package/src/api.ts +278 -0
package/lib/api.d.ts
CHANGED
|
@@ -5018,6 +5018,37 @@ export interface DoctorsSimpleModel {
|
|
|
5018
5018
|
*/
|
|
5019
5019
|
'metaData'?: PagedListMetaData;
|
|
5020
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
|
+
}
|
|
5021
5052
|
/**
|
|
5022
5053
|
*
|
|
5023
5054
|
* @export
|
|
@@ -5567,6 +5598,49 @@ export declare enum Gender {
|
|
|
5567
5598
|
NonBinary = "NonBinary",
|
|
5568
5599
|
PreferNotToSay = "PreferNotToSay"
|
|
5569
5600
|
}
|
|
5601
|
+
/**
|
|
5602
|
+
*
|
|
5603
|
+
* @export
|
|
5604
|
+
* @interface HeaderNavigationItemModel
|
|
5605
|
+
*/
|
|
5606
|
+
export interface HeaderNavigationItemModel {
|
|
5607
|
+
/**
|
|
5608
|
+
*
|
|
5609
|
+
* @type {string}
|
|
5610
|
+
* @memberof HeaderNavigationItemModel
|
|
5611
|
+
*/
|
|
5612
|
+
'id'?: string;
|
|
5613
|
+
/**
|
|
5614
|
+
*
|
|
5615
|
+
* @type {string}
|
|
5616
|
+
* @memberof HeaderNavigationItemModel
|
|
5617
|
+
*/
|
|
5618
|
+
'name'?: string | null;
|
|
5619
|
+
/**
|
|
5620
|
+
*
|
|
5621
|
+
* @type {string}
|
|
5622
|
+
* @memberof HeaderNavigationItemModel
|
|
5623
|
+
*/
|
|
5624
|
+
'url'?: string | null;
|
|
5625
|
+
/**
|
|
5626
|
+
*
|
|
5627
|
+
* @type {number}
|
|
5628
|
+
* @memberof HeaderNavigationItemModel
|
|
5629
|
+
*/
|
|
5630
|
+
'order'?: number;
|
|
5631
|
+
/**
|
|
5632
|
+
*
|
|
5633
|
+
* @type {number}
|
|
5634
|
+
* @memberof HeaderNavigationItemModel
|
|
5635
|
+
*/
|
|
5636
|
+
'level'?: number;
|
|
5637
|
+
/**
|
|
5638
|
+
*
|
|
5639
|
+
* @type {Array<HeaderNavigationItemModel>}
|
|
5640
|
+
* @memberof HeaderNavigationItemModel
|
|
5641
|
+
*/
|
|
5642
|
+
'subItems'?: Array<HeaderNavigationItemModel> | null;
|
|
5643
|
+
}
|
|
5570
5644
|
/**
|
|
5571
5645
|
*
|
|
5572
5646
|
* @export
|
|
@@ -14605,6 +14679,61 @@ export declare class DoctorsApi extends BaseAPI {
|
|
|
14605
14679
|
*/
|
|
14606
14680
|
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>>;
|
|
14607
14681
|
}
|
|
14682
|
+
/**
|
|
14683
|
+
* ExternalApi - axios parameter creator
|
|
14684
|
+
* @export
|
|
14685
|
+
*/
|
|
14686
|
+
export declare const ExternalApiAxiosParamCreator: (configuration?: Configuration | undefined) => {
|
|
14687
|
+
/**
|
|
14688
|
+
* Sample request: POST /api/v2/external/facebook/deleteUserData { \"signed_request\": \"......\" }
|
|
14689
|
+
* @summary Callback for Facebook user data deletion
|
|
14690
|
+
* @param {*} [options] Override http request option.
|
|
14691
|
+
* @throws {RequiredError}
|
|
14692
|
+
*/
|
|
14693
|
+
apiV2ExternalFacebookDeleteuserdataPost: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
14694
|
+
};
|
|
14695
|
+
/**
|
|
14696
|
+
* ExternalApi - functional programming interface
|
|
14697
|
+
* @export
|
|
14698
|
+
*/
|
|
14699
|
+
export declare const ExternalApiFp: (configuration?: Configuration | undefined) => {
|
|
14700
|
+
/**
|
|
14701
|
+
* Sample request: POST /api/v2/external/facebook/deleteUserData { \"signed_request\": \"......\" }
|
|
14702
|
+
* @summary Callback for Facebook user data deletion
|
|
14703
|
+
* @param {*} [options] Override http request option.
|
|
14704
|
+
* @throws {RequiredError}
|
|
14705
|
+
*/
|
|
14706
|
+
apiV2ExternalFacebookDeleteuserdataPost(options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<FacebookUserDataDeletionResponseModel>>;
|
|
14707
|
+
};
|
|
14708
|
+
/**
|
|
14709
|
+
* ExternalApi - factory interface
|
|
14710
|
+
* @export
|
|
14711
|
+
*/
|
|
14712
|
+
export declare const ExternalApiFactory: (configuration?: Configuration | undefined, basePath?: string | undefined, axios?: AxiosInstance | undefined) => {
|
|
14713
|
+
/**
|
|
14714
|
+
* Sample request: POST /api/v2/external/facebook/deleteUserData { \"signed_request\": \"......\" }
|
|
14715
|
+
* @summary Callback for Facebook user data deletion
|
|
14716
|
+
* @param {*} [options] Override http request option.
|
|
14717
|
+
* @throws {RequiredError}
|
|
14718
|
+
*/
|
|
14719
|
+
apiV2ExternalFacebookDeleteuserdataPost(options?: any): AxiosPromise<FacebookUserDataDeletionResponseModel>;
|
|
14720
|
+
};
|
|
14721
|
+
/**
|
|
14722
|
+
* ExternalApi - object-oriented interface
|
|
14723
|
+
* @export
|
|
14724
|
+
* @class ExternalApi
|
|
14725
|
+
* @extends {BaseAPI}
|
|
14726
|
+
*/
|
|
14727
|
+
export declare class ExternalApi extends BaseAPI {
|
|
14728
|
+
/**
|
|
14729
|
+
* Sample request: POST /api/v2/external/facebook/deleteUserData { \"signed_request\": \"......\" }
|
|
14730
|
+
* @summary Callback for Facebook user data deletion
|
|
14731
|
+
* @param {*} [options] Override http request option.
|
|
14732
|
+
* @throws {RequiredError}
|
|
14733
|
+
* @memberof ExternalApi
|
|
14734
|
+
*/
|
|
14735
|
+
apiV2ExternalFacebookDeleteuserdataPost(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<FacebookUserDataDeletionResponseModel, any>>;
|
|
14736
|
+
}
|
|
14608
14737
|
/**
|
|
14609
14738
|
* FaqCategoriesApi - axios parameter creator
|
|
14610
14739
|
* @export
|
|
@@ -15297,6 +15426,65 @@ export declare class GroupChannelsApi extends BaseAPI {
|
|
|
15297
15426
|
*/
|
|
15298
15427
|
apiV2GroupchannelsHospitalHospitalIdGet(hospitalId: string, isExternal?: boolean, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any>>;
|
|
15299
15428
|
}
|
|
15429
|
+
/**
|
|
15430
|
+
* HeaderNavigationsApi - axios parameter creator
|
|
15431
|
+
* @export
|
|
15432
|
+
*/
|
|
15433
|
+
export declare const HeaderNavigationsApiAxiosParamCreator: (configuration?: Configuration | undefined) => {
|
|
15434
|
+
/**
|
|
15435
|
+
*
|
|
15436
|
+
* @summary Get all HeaderNavigationItems
|
|
15437
|
+
* @param {string} [languageCode]
|
|
15438
|
+
* @param {*} [options] Override http request option.
|
|
15439
|
+
* @throws {RequiredError}
|
|
15440
|
+
*/
|
|
15441
|
+
apiV2HeadernavigationsGet: (languageCode?: string | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
15442
|
+
};
|
|
15443
|
+
/**
|
|
15444
|
+
* HeaderNavigationsApi - functional programming interface
|
|
15445
|
+
* @export
|
|
15446
|
+
*/
|
|
15447
|
+
export declare const HeaderNavigationsApiFp: (configuration?: Configuration | undefined) => {
|
|
15448
|
+
/**
|
|
15449
|
+
*
|
|
15450
|
+
* @summary Get all HeaderNavigationItems
|
|
15451
|
+
* @param {string} [languageCode]
|
|
15452
|
+
* @param {*} [options] Override http request option.
|
|
15453
|
+
* @throws {RequiredError}
|
|
15454
|
+
*/
|
|
15455
|
+
apiV2HeadernavigationsGet(languageCode?: string | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Array<HeaderNavigationItemModel>>>;
|
|
15456
|
+
};
|
|
15457
|
+
/**
|
|
15458
|
+
* HeaderNavigationsApi - factory interface
|
|
15459
|
+
* @export
|
|
15460
|
+
*/
|
|
15461
|
+
export declare const HeaderNavigationsApiFactory: (configuration?: Configuration | undefined, basePath?: string | undefined, axios?: AxiosInstance | undefined) => {
|
|
15462
|
+
/**
|
|
15463
|
+
*
|
|
15464
|
+
* @summary Get all HeaderNavigationItems
|
|
15465
|
+
* @param {string} [languageCode]
|
|
15466
|
+
* @param {*} [options] Override http request option.
|
|
15467
|
+
* @throws {RequiredError}
|
|
15468
|
+
*/
|
|
15469
|
+
apiV2HeadernavigationsGet(languageCode?: string | undefined, options?: any): AxiosPromise<Array<HeaderNavigationItemModel>>;
|
|
15470
|
+
};
|
|
15471
|
+
/**
|
|
15472
|
+
* HeaderNavigationsApi - object-oriented interface
|
|
15473
|
+
* @export
|
|
15474
|
+
* @class HeaderNavigationsApi
|
|
15475
|
+
* @extends {BaseAPI}
|
|
15476
|
+
*/
|
|
15477
|
+
export declare class HeaderNavigationsApi extends BaseAPI {
|
|
15478
|
+
/**
|
|
15479
|
+
*
|
|
15480
|
+
* @summary Get all HeaderNavigationItems
|
|
15481
|
+
* @param {string} [languageCode]
|
|
15482
|
+
* @param {*} [options] Override http request option.
|
|
15483
|
+
* @throws {RequiredError}
|
|
15484
|
+
* @memberof HeaderNavigationsApi
|
|
15485
|
+
*/
|
|
15486
|
+
apiV2HeadernavigationsGet(languageCode?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<HeaderNavigationItemModel[], any>>;
|
|
15487
|
+
}
|
|
15300
15488
|
/**
|
|
15301
15489
|
* HospitalsApi - axios parameter creator
|
|
15302
15490
|
* @export
|