ch-api-client-typescript2 4.6.1 → 4.6.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 +67 -77
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +108 -145
- package/package.json +1 -1
- package/src/api.ts +119 -137
package/lib/api.d.ts
CHANGED
|
@@ -2757,6 +2757,12 @@ export interface CountryItemModel {
|
|
|
2757
2757
|
* @memberof CountryItemModel
|
|
2758
2758
|
*/
|
|
2759
2759
|
'logo'?: string | null;
|
|
2760
|
+
/**
|
|
2761
|
+
*
|
|
2762
|
+
* @type {Array<LocalizedUrlModel>}
|
|
2763
|
+
* @memberof CountryItemModel
|
|
2764
|
+
*/
|
|
2765
|
+
'localizedUrls'?: Array<LocalizedUrlModel> | null;
|
|
2760
2766
|
/**
|
|
2761
2767
|
*
|
|
2762
2768
|
* @type {AuditableEntity}
|
|
@@ -2806,6 +2812,12 @@ export interface CountryModel {
|
|
|
2806
2812
|
* @memberof CountryModel
|
|
2807
2813
|
*/
|
|
2808
2814
|
'logo'?: string | null;
|
|
2815
|
+
/**
|
|
2816
|
+
*
|
|
2817
|
+
* @type {Array<LocalizedUrlModel>}
|
|
2818
|
+
* @memberof CountryModel
|
|
2819
|
+
*/
|
|
2820
|
+
'localizedUrls'?: Array<LocalizedUrlModel> | null;
|
|
2809
2821
|
/**
|
|
2810
2822
|
*
|
|
2811
2823
|
* @type {AuditableEntity}
|
|
@@ -2830,12 +2842,6 @@ export interface CountryModel {
|
|
|
2830
2842
|
* @memberof CountryModel
|
|
2831
2843
|
*/
|
|
2832
2844
|
'content'?: string | null;
|
|
2833
|
-
/**
|
|
2834
|
-
*
|
|
2835
|
-
* @type {Array<LocalizedUrlModel>}
|
|
2836
|
-
* @memberof CountryModel
|
|
2837
|
-
*/
|
|
2838
|
-
'localizedUrls'?: Array<LocalizedUrlModel> | null;
|
|
2839
2845
|
/**
|
|
2840
2846
|
*
|
|
2841
2847
|
* @type {string}
|
|
@@ -6224,6 +6230,12 @@ export interface HospitalLanguageItemModel {
|
|
|
6224
6230
|
* @memberof HospitalLanguageItemModel
|
|
6225
6231
|
*/
|
|
6226
6232
|
'order'?: number;
|
|
6233
|
+
/**
|
|
6234
|
+
*
|
|
6235
|
+
* @type {boolean}
|
|
6236
|
+
* @memberof HospitalLanguageItemModel
|
|
6237
|
+
*/
|
|
6238
|
+
'isPrimary'?: boolean;
|
|
6227
6239
|
}
|
|
6228
6240
|
/**
|
|
6229
6241
|
*
|
|
@@ -15699,77 +15711,6 @@ export declare class HeaderNavigationsApi extends BaseAPI {
|
|
|
15699
15711
|
*/
|
|
15700
15712
|
apiV2HeadernavigationsLanguageCodeGet(languageCode: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<HeaderNavigationItemModel[], any>>;
|
|
15701
15713
|
}
|
|
15702
|
-
/**
|
|
15703
|
-
* HospitalLanguagesApi - axios parameter creator
|
|
15704
|
-
* @export
|
|
15705
|
-
*/
|
|
15706
|
-
export declare const HospitalLanguagesApiAxiosParamCreator: (configuration?: Configuration | undefined) => {
|
|
15707
|
-
/**
|
|
15708
|
-
*
|
|
15709
|
-
* @summary Get hospitalLanguages
|
|
15710
|
-
* @param {string} hospitalId
|
|
15711
|
-
* @param {number} [page]
|
|
15712
|
-
* @param {number} [limit]
|
|
15713
|
-
* @param {Date} [lastRetrieved]
|
|
15714
|
-
* @param {*} [options] Override http request option.
|
|
15715
|
-
* @throws {RequiredError}
|
|
15716
|
-
*/
|
|
15717
|
-
apiV2HospitalsHospitalIdLanguagesGet: (hospitalId: string, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
15718
|
-
};
|
|
15719
|
-
/**
|
|
15720
|
-
* HospitalLanguagesApi - functional programming interface
|
|
15721
|
-
* @export
|
|
15722
|
-
*/
|
|
15723
|
-
export declare const HospitalLanguagesApiFp: (configuration?: Configuration | undefined) => {
|
|
15724
|
-
/**
|
|
15725
|
-
*
|
|
15726
|
-
* @summary Get hospitalLanguages
|
|
15727
|
-
* @param {string} hospitalId
|
|
15728
|
-
* @param {number} [page]
|
|
15729
|
-
* @param {number} [limit]
|
|
15730
|
-
* @param {Date} [lastRetrieved]
|
|
15731
|
-
* @param {*} [options] Override http request option.
|
|
15732
|
-
* @throws {RequiredError}
|
|
15733
|
-
*/
|
|
15734
|
-
apiV2HospitalsHospitalIdLanguagesGet(hospitalId: string, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<HospitalLanguagesModel>>;
|
|
15735
|
-
};
|
|
15736
|
-
/**
|
|
15737
|
-
* HospitalLanguagesApi - factory interface
|
|
15738
|
-
* @export
|
|
15739
|
-
*/
|
|
15740
|
-
export declare const HospitalLanguagesApiFactory: (configuration?: Configuration | undefined, basePath?: string | undefined, axios?: AxiosInstance | undefined) => {
|
|
15741
|
-
/**
|
|
15742
|
-
*
|
|
15743
|
-
* @summary Get hospitalLanguages
|
|
15744
|
-
* @param {string} hospitalId
|
|
15745
|
-
* @param {number} [page]
|
|
15746
|
-
* @param {number} [limit]
|
|
15747
|
-
* @param {Date} [lastRetrieved]
|
|
15748
|
-
* @param {*} [options] Override http request option.
|
|
15749
|
-
* @throws {RequiredError}
|
|
15750
|
-
*/
|
|
15751
|
-
apiV2HospitalsHospitalIdLanguagesGet(hospitalId: string, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: any): AxiosPromise<HospitalLanguagesModel>;
|
|
15752
|
-
};
|
|
15753
|
-
/**
|
|
15754
|
-
* HospitalLanguagesApi - object-oriented interface
|
|
15755
|
-
* @export
|
|
15756
|
-
* @class HospitalLanguagesApi
|
|
15757
|
-
* @extends {BaseAPI}
|
|
15758
|
-
*/
|
|
15759
|
-
export declare class HospitalLanguagesApi extends BaseAPI {
|
|
15760
|
-
/**
|
|
15761
|
-
*
|
|
15762
|
-
* @summary Get hospitalLanguages
|
|
15763
|
-
* @param {string} hospitalId
|
|
15764
|
-
* @param {number} [page]
|
|
15765
|
-
* @param {number} [limit]
|
|
15766
|
-
* @param {Date} [lastRetrieved]
|
|
15767
|
-
* @param {*} [options] Override http request option.
|
|
15768
|
-
* @throws {RequiredError}
|
|
15769
|
-
* @memberof HospitalLanguagesApi
|
|
15770
|
-
*/
|
|
15771
|
-
apiV2HospitalsHospitalIdLanguagesGet(hospitalId: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<HospitalLanguagesModel, any>>;
|
|
15772
|
-
}
|
|
15773
15714
|
/**
|
|
15774
15715
|
* HospitalsApi - axios parameter creator
|
|
15775
15716
|
* @export
|
|
@@ -15958,6 +15899,18 @@ export declare const HospitalsApiAxiosParamCreator: (configuration?: Configurati
|
|
|
15958
15899
|
* @throws {RequiredError}
|
|
15959
15900
|
*/
|
|
15960
15901
|
apiV2HospitalsHospitalIdLandingsSlugGet: (slug: string, hospitalId: string, languageCode?: string | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
15902
|
+
/**
|
|
15903
|
+
*
|
|
15904
|
+
* @summary Get hospitalLanguages
|
|
15905
|
+
* @param {string} hospitalId
|
|
15906
|
+
* @param {boolean} [showHidden]
|
|
15907
|
+
* @param {number} [page]
|
|
15908
|
+
* @param {number} [limit]
|
|
15909
|
+
* @param {Date} [lastRetrieved]
|
|
15910
|
+
* @param {*} [options] Override http request option.
|
|
15911
|
+
* @throws {RequiredError}
|
|
15912
|
+
*/
|
|
15913
|
+
apiV2HospitalsHospitalIdLanguagesGet: (hospitalId: string, showHidden?: boolean | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
15961
15914
|
/**
|
|
15962
15915
|
*
|
|
15963
15916
|
* @summary Get all HospitalMedias.
|
|
@@ -16371,6 +16324,18 @@ export declare const HospitalsApiFp: (configuration?: Configuration | undefined)
|
|
|
16371
16324
|
* @throws {RequiredError}
|
|
16372
16325
|
*/
|
|
16373
16326
|
apiV2HospitalsHospitalIdLandingsSlugGet(slug: string, hospitalId: string, languageCode?: string | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<LandingModel>>;
|
|
16327
|
+
/**
|
|
16328
|
+
*
|
|
16329
|
+
* @summary Get hospitalLanguages
|
|
16330
|
+
* @param {string} hospitalId
|
|
16331
|
+
* @param {boolean} [showHidden]
|
|
16332
|
+
* @param {number} [page]
|
|
16333
|
+
* @param {number} [limit]
|
|
16334
|
+
* @param {Date} [lastRetrieved]
|
|
16335
|
+
* @param {*} [options] Override http request option.
|
|
16336
|
+
* @throws {RequiredError}
|
|
16337
|
+
*/
|
|
16338
|
+
apiV2HospitalsHospitalIdLanguagesGet(hospitalId: string, showHidden?: boolean | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<HospitalLanguagesModel>>;
|
|
16374
16339
|
/**
|
|
16375
16340
|
*
|
|
16376
16341
|
* @summary Get all HospitalMedias.
|
|
@@ -16784,6 +16749,18 @@ export declare const HospitalsApiFactory: (configuration?: Configuration | undef
|
|
|
16784
16749
|
* @throws {RequiredError}
|
|
16785
16750
|
*/
|
|
16786
16751
|
apiV2HospitalsHospitalIdLandingsSlugGet(slug: string, hospitalId: string, languageCode?: string | undefined, options?: any): AxiosPromise<LandingModel>;
|
|
16752
|
+
/**
|
|
16753
|
+
*
|
|
16754
|
+
* @summary Get hospitalLanguages
|
|
16755
|
+
* @param {string} hospitalId
|
|
16756
|
+
* @param {boolean} [showHidden]
|
|
16757
|
+
* @param {number} [page]
|
|
16758
|
+
* @param {number} [limit]
|
|
16759
|
+
* @param {Date} [lastRetrieved]
|
|
16760
|
+
* @param {*} [options] Override http request option.
|
|
16761
|
+
* @throws {RequiredError}
|
|
16762
|
+
*/
|
|
16763
|
+
apiV2HospitalsHospitalIdLanguagesGet(hospitalId: string, showHidden?: boolean | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: any): AxiosPromise<HospitalLanguagesModel>;
|
|
16787
16764
|
/**
|
|
16788
16765
|
*
|
|
16789
16766
|
* @summary Get all HospitalMedias.
|
|
@@ -17214,6 +17191,19 @@ export declare class HospitalsApi extends BaseAPI {
|
|
|
17214
17191
|
* @memberof HospitalsApi
|
|
17215
17192
|
*/
|
|
17216
17193
|
apiV2HospitalsHospitalIdLandingsSlugGet(slug: string, hospitalId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LandingModel, any>>;
|
|
17194
|
+
/**
|
|
17195
|
+
*
|
|
17196
|
+
* @summary Get hospitalLanguages
|
|
17197
|
+
* @param {string} hospitalId
|
|
17198
|
+
* @param {boolean} [showHidden]
|
|
17199
|
+
* @param {number} [page]
|
|
17200
|
+
* @param {number} [limit]
|
|
17201
|
+
* @param {Date} [lastRetrieved]
|
|
17202
|
+
* @param {*} [options] Override http request option.
|
|
17203
|
+
* @throws {RequiredError}
|
|
17204
|
+
* @memberof HospitalsApi
|
|
17205
|
+
*/
|
|
17206
|
+
apiV2HospitalsHospitalIdLanguagesGet(hospitalId: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<HospitalLanguagesModel, any>>;
|
|
17217
17207
|
/**
|
|
17218
17208
|
*
|
|
17219
17209
|
* @summary Get all HospitalMedias.
|