ch-api-client-typescript2 2.8.6 → 2.8.9
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 +205 -0
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +196 -0
- package/package.json +1 -1
- package/src/api.ts +310 -0
package/lib/api.d.ts
CHANGED
|
@@ -3044,6 +3044,67 @@ export interface DealItemModel {
|
|
|
3044
3044
|
*/
|
|
3045
3045
|
'auditableEntity'?: AuditableEntity;
|
|
3046
3046
|
}
|
|
3047
|
+
/**
|
|
3048
|
+
*
|
|
3049
|
+
* @export
|
|
3050
|
+
* @interface DealItemSimpleModel
|
|
3051
|
+
*/
|
|
3052
|
+
export interface DealItemSimpleModel {
|
|
3053
|
+
/**
|
|
3054
|
+
*
|
|
3055
|
+
* @type {string}
|
|
3056
|
+
* @memberof DealItemSimpleModel
|
|
3057
|
+
*/
|
|
3058
|
+
'id'?: string;
|
|
3059
|
+
/**
|
|
3060
|
+
*
|
|
3061
|
+
* @type {string}
|
|
3062
|
+
* @memberof DealItemSimpleModel
|
|
3063
|
+
*/
|
|
3064
|
+
'name'?: string | null;
|
|
3065
|
+
/**
|
|
3066
|
+
*
|
|
3067
|
+
* @type {string}
|
|
3068
|
+
* @memberof DealItemSimpleModel
|
|
3069
|
+
*/
|
|
3070
|
+
'normalizedName'?: string | null;
|
|
3071
|
+
/**
|
|
3072
|
+
*
|
|
3073
|
+
* @type {string}
|
|
3074
|
+
* @memberof DealItemSimpleModel
|
|
3075
|
+
*/
|
|
3076
|
+
'slug'?: string | null;
|
|
3077
|
+
/**
|
|
3078
|
+
*
|
|
3079
|
+
* @type {string}
|
|
3080
|
+
* @memberof DealItemSimpleModel
|
|
3081
|
+
*/
|
|
3082
|
+
'hospitalId'?: string;
|
|
3083
|
+
/**
|
|
3084
|
+
*
|
|
3085
|
+
* @type {string}
|
|
3086
|
+
* @memberof DealItemSimpleModel
|
|
3087
|
+
*/
|
|
3088
|
+
'hospitalName'?: string | null;
|
|
3089
|
+
/**
|
|
3090
|
+
*
|
|
3091
|
+
* @type {Array<LocalizedUrlModel>}
|
|
3092
|
+
* @memberof DealItemSimpleModel
|
|
3093
|
+
*/
|
|
3094
|
+
'localizedUrls'?: Array<LocalizedUrlModel> | null;
|
|
3095
|
+
/**
|
|
3096
|
+
*
|
|
3097
|
+
* @type {boolean}
|
|
3098
|
+
* @memberof DealItemSimpleModel
|
|
3099
|
+
*/
|
|
3100
|
+
'confirmed'?: boolean;
|
|
3101
|
+
/**
|
|
3102
|
+
*
|
|
3103
|
+
* @type {AuditableEntity}
|
|
3104
|
+
* @memberof DealItemSimpleModel
|
|
3105
|
+
*/
|
|
3106
|
+
'auditableEntity'?: AuditableEntity;
|
|
3107
|
+
}
|
|
3047
3108
|
/**
|
|
3048
3109
|
*
|
|
3049
3110
|
* @export
|
|
@@ -3466,6 +3527,25 @@ export interface DealsModel {
|
|
|
3466
3527
|
*/
|
|
3467
3528
|
'metaData'?: PagedListMetaData;
|
|
3468
3529
|
}
|
|
3530
|
+
/**
|
|
3531
|
+
*
|
|
3532
|
+
* @export
|
|
3533
|
+
* @interface DealsSimpleModel
|
|
3534
|
+
*/
|
|
3535
|
+
export interface DealsSimpleModel {
|
|
3536
|
+
/**
|
|
3537
|
+
*
|
|
3538
|
+
* @type {Array<DealItemSimpleModel>}
|
|
3539
|
+
* @memberof DealsSimpleModel
|
|
3540
|
+
*/
|
|
3541
|
+
'items'?: Array<DealItemSimpleModel> | null;
|
|
3542
|
+
/**
|
|
3543
|
+
*
|
|
3544
|
+
* @type {PagedListMetaData}
|
|
3545
|
+
* @memberof DealsSimpleModel
|
|
3546
|
+
*/
|
|
3547
|
+
'metaData'?: PagedListMetaData;
|
|
3548
|
+
}
|
|
3469
3549
|
/**
|
|
3470
3550
|
*
|
|
3471
3551
|
* @export
|
|
@@ -5942,6 +6022,12 @@ export interface HospitalServiceItemModel {
|
|
|
5942
6022
|
* @memberof HospitalServiceItemModel
|
|
5943
6023
|
*/
|
|
5944
6024
|
'photoThumbnail'?: string | null;
|
|
6025
|
+
/**
|
|
6026
|
+
*
|
|
6027
|
+
* @type {Array<MediaModel>}
|
|
6028
|
+
* @memberof HospitalServiceItemModel
|
|
6029
|
+
*/
|
|
6030
|
+
'medias'?: Array<MediaModel> | null;
|
|
5945
6031
|
/**
|
|
5946
6032
|
*
|
|
5947
6033
|
* @type {AuditableEntity}
|
|
@@ -6093,6 +6179,12 @@ export interface HospitalServiceModel {
|
|
|
6093
6179
|
* @memberof HospitalServiceModel
|
|
6094
6180
|
*/
|
|
6095
6181
|
'photoThumbnail'?: string | null;
|
|
6182
|
+
/**
|
|
6183
|
+
*
|
|
6184
|
+
* @type {Array<MediaModel>}
|
|
6185
|
+
* @memberof HospitalServiceModel
|
|
6186
|
+
*/
|
|
6187
|
+
'medias'?: Array<MediaModel> | null;
|
|
6096
6188
|
/**
|
|
6097
6189
|
*
|
|
6098
6190
|
* @type {AuditableEntity}
|
|
@@ -8156,6 +8248,12 @@ export interface SpecialtyItemModel {
|
|
|
8156
8248
|
* @memberof SpecialtyItemModel
|
|
8157
8249
|
*/
|
|
8158
8250
|
'returnDefaultValue'?: boolean | null;
|
|
8251
|
+
/**
|
|
8252
|
+
*
|
|
8253
|
+
* @type {Array<MediaModel>}
|
|
8254
|
+
* @memberof SpecialtyItemModel
|
|
8255
|
+
*/
|
|
8256
|
+
'medias'?: Array<MediaModel> | null;
|
|
8159
8257
|
}
|
|
8160
8258
|
/**
|
|
8161
8259
|
*
|
|
@@ -8235,6 +8333,12 @@ export interface SpecialtyModel {
|
|
|
8235
8333
|
* @memberof SpecialtyModel
|
|
8236
8334
|
*/
|
|
8237
8335
|
'returnDefaultValue'?: boolean | null;
|
|
8336
|
+
/**
|
|
8337
|
+
*
|
|
8338
|
+
* @type {Array<MediaModel>}
|
|
8339
|
+
* @memberof SpecialtyModel
|
|
8340
|
+
*/
|
|
8341
|
+
'medias'?: Array<MediaModel> | null;
|
|
8238
8342
|
/**
|
|
8239
8343
|
*
|
|
8240
8344
|
* @type {string}
|
|
@@ -11577,6 +11681,31 @@ export declare const DealsApiAxiosParamCreator: (configuration?: Configuration |
|
|
|
11577
11681
|
* @throws {RequiredError}
|
|
11578
11682
|
*/
|
|
11579
11683
|
apiV2DealsGet: (id?: string | undefined, name?: string | undefined, marketingType?: MarketingType | undefined, countryId?: string | undefined, hospitalId?: string | undefined, hospitalName?: string | undefined, specialtyId?: string | undefined, specialtyTypeId?: string | undefined, serviceId?: string | undefined, exceptHospitalId?: string | undefined, exceptDealId?: string | undefined, ids?: string[] | undefined, languageCode?: string | undefined, showHidden?: boolean | undefined, returnDefaultValue?: boolean | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
11684
|
+
/**
|
|
11685
|
+
*
|
|
11686
|
+
* @summary Get all deals.
|
|
11687
|
+
* @param {string} [id]
|
|
11688
|
+
* @param {string} [name]
|
|
11689
|
+
* @param {MarketingType} [marketingType]
|
|
11690
|
+
* @param {string} [countryId]
|
|
11691
|
+
* @param {string} [hospitalId]
|
|
11692
|
+
* @param {string} [hospitalName]
|
|
11693
|
+
* @param {string} [specialtyId]
|
|
11694
|
+
* @param {string} [specialtyTypeId]
|
|
11695
|
+
* @param {string} [serviceId]
|
|
11696
|
+
* @param {string} [exceptHospitalId]
|
|
11697
|
+
* @param {string} [exceptDealId]
|
|
11698
|
+
* @param {Array<string>} [ids]
|
|
11699
|
+
* @param {string} [languageCode]
|
|
11700
|
+
* @param {boolean} [showHidden]
|
|
11701
|
+
* @param {boolean} [returnDefaultValue]
|
|
11702
|
+
* @param {number} [page]
|
|
11703
|
+
* @param {number} [limit]
|
|
11704
|
+
* @param {Date} [lastRetrieved]
|
|
11705
|
+
* @param {*} [options] Override http request option.
|
|
11706
|
+
* @throws {RequiredError}
|
|
11707
|
+
*/
|
|
11708
|
+
apiV2DealsSimpleGet: (id?: string | undefined, name?: string | undefined, marketingType?: MarketingType | undefined, countryId?: string | undefined, hospitalId?: string | undefined, hospitalName?: string | undefined, specialtyId?: string | undefined, specialtyTypeId?: string | undefined, serviceId?: string | undefined, exceptHospitalId?: string | undefined, exceptDealId?: string | undefined, ids?: string[] | undefined, languageCode?: string | undefined, showHidden?: boolean | undefined, returnDefaultValue?: boolean | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
11580
11709
|
/**
|
|
11581
11710
|
*
|
|
11582
11711
|
* @summary Get deal by slug.
|
|
@@ -11674,6 +11803,31 @@ export declare const DealsApiFp: (configuration?: Configuration | undefined) =>
|
|
|
11674
11803
|
* @throws {RequiredError}
|
|
11675
11804
|
*/
|
|
11676
11805
|
apiV2DealsGet(id?: string | undefined, name?: string | undefined, marketingType?: MarketingType | undefined, countryId?: string | undefined, hospitalId?: string | undefined, hospitalName?: string | undefined, specialtyId?: string | undefined, specialtyTypeId?: string | undefined, serviceId?: string | undefined, exceptHospitalId?: string | undefined, exceptDealId?: string | undefined, ids?: string[] | undefined, languageCode?: string | undefined, showHidden?: boolean | undefined, returnDefaultValue?: boolean | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<DealsModel>>;
|
|
11806
|
+
/**
|
|
11807
|
+
*
|
|
11808
|
+
* @summary Get all deals.
|
|
11809
|
+
* @param {string} [id]
|
|
11810
|
+
* @param {string} [name]
|
|
11811
|
+
* @param {MarketingType} [marketingType]
|
|
11812
|
+
* @param {string} [countryId]
|
|
11813
|
+
* @param {string} [hospitalId]
|
|
11814
|
+
* @param {string} [hospitalName]
|
|
11815
|
+
* @param {string} [specialtyId]
|
|
11816
|
+
* @param {string} [specialtyTypeId]
|
|
11817
|
+
* @param {string} [serviceId]
|
|
11818
|
+
* @param {string} [exceptHospitalId]
|
|
11819
|
+
* @param {string} [exceptDealId]
|
|
11820
|
+
* @param {Array<string>} [ids]
|
|
11821
|
+
* @param {string} [languageCode]
|
|
11822
|
+
* @param {boolean} [showHidden]
|
|
11823
|
+
* @param {boolean} [returnDefaultValue]
|
|
11824
|
+
* @param {number} [page]
|
|
11825
|
+
* @param {number} [limit]
|
|
11826
|
+
* @param {Date} [lastRetrieved]
|
|
11827
|
+
* @param {*} [options] Override http request option.
|
|
11828
|
+
* @throws {RequiredError}
|
|
11829
|
+
*/
|
|
11830
|
+
apiV2DealsSimpleGet(id?: string | undefined, name?: string | undefined, marketingType?: MarketingType | undefined, countryId?: string | undefined, hospitalId?: string | undefined, hospitalName?: string | undefined, specialtyId?: string | undefined, specialtyTypeId?: string | undefined, serviceId?: string | undefined, exceptHospitalId?: string | undefined, exceptDealId?: string | undefined, ids?: string[] | undefined, languageCode?: string | undefined, showHidden?: boolean | undefined, returnDefaultValue?: boolean | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<DealsSimpleModel>>;
|
|
11677
11831
|
/**
|
|
11678
11832
|
*
|
|
11679
11833
|
* @summary Get deal by slug.
|
|
@@ -11771,6 +11925,31 @@ export declare const DealsApiFactory: (configuration?: Configuration | undefined
|
|
|
11771
11925
|
* @throws {RequiredError}
|
|
11772
11926
|
*/
|
|
11773
11927
|
apiV2DealsGet(id?: string | undefined, name?: string | undefined, marketingType?: MarketingType | undefined, countryId?: string | undefined, hospitalId?: string | undefined, hospitalName?: string | undefined, specialtyId?: string | undefined, specialtyTypeId?: string | undefined, serviceId?: string | undefined, exceptHospitalId?: string | undefined, exceptDealId?: string | undefined, ids?: string[] | undefined, languageCode?: string | undefined, showHidden?: boolean | undefined, returnDefaultValue?: boolean | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: any): AxiosPromise<DealsModel>;
|
|
11928
|
+
/**
|
|
11929
|
+
*
|
|
11930
|
+
* @summary Get all deals.
|
|
11931
|
+
* @param {string} [id]
|
|
11932
|
+
* @param {string} [name]
|
|
11933
|
+
* @param {MarketingType} [marketingType]
|
|
11934
|
+
* @param {string} [countryId]
|
|
11935
|
+
* @param {string} [hospitalId]
|
|
11936
|
+
* @param {string} [hospitalName]
|
|
11937
|
+
* @param {string} [specialtyId]
|
|
11938
|
+
* @param {string} [specialtyTypeId]
|
|
11939
|
+
* @param {string} [serviceId]
|
|
11940
|
+
* @param {string} [exceptHospitalId]
|
|
11941
|
+
* @param {string} [exceptDealId]
|
|
11942
|
+
* @param {Array<string>} [ids]
|
|
11943
|
+
* @param {string} [languageCode]
|
|
11944
|
+
* @param {boolean} [showHidden]
|
|
11945
|
+
* @param {boolean} [returnDefaultValue]
|
|
11946
|
+
* @param {number} [page]
|
|
11947
|
+
* @param {number} [limit]
|
|
11948
|
+
* @param {Date} [lastRetrieved]
|
|
11949
|
+
* @param {*} [options] Override http request option.
|
|
11950
|
+
* @throws {RequiredError}
|
|
11951
|
+
*/
|
|
11952
|
+
apiV2DealsSimpleGet(id?: string | undefined, name?: string | undefined, marketingType?: MarketingType | undefined, countryId?: string | undefined, hospitalId?: string | undefined, hospitalName?: string | undefined, specialtyId?: string | undefined, specialtyTypeId?: string | undefined, serviceId?: string | undefined, exceptHospitalId?: string | undefined, exceptDealId?: string | undefined, ids?: string[] | undefined, languageCode?: string | undefined, showHidden?: boolean | undefined, returnDefaultValue?: boolean | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: any): AxiosPromise<DealsSimpleModel>;
|
|
11774
11953
|
/**
|
|
11775
11954
|
*
|
|
11776
11955
|
* @summary Get deal by slug.
|
|
@@ -11876,6 +12055,32 @@ export declare class DealsApi extends BaseAPI {
|
|
|
11876
12055
|
* @memberof DealsApi
|
|
11877
12056
|
*/
|
|
11878
12057
|
apiV2DealsGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, serviceId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DealsModel, any>>;
|
|
12058
|
+
/**
|
|
12059
|
+
*
|
|
12060
|
+
* @summary Get all deals.
|
|
12061
|
+
* @param {string} [id]
|
|
12062
|
+
* @param {string} [name]
|
|
12063
|
+
* @param {MarketingType} [marketingType]
|
|
12064
|
+
* @param {string} [countryId]
|
|
12065
|
+
* @param {string} [hospitalId]
|
|
12066
|
+
* @param {string} [hospitalName]
|
|
12067
|
+
* @param {string} [specialtyId]
|
|
12068
|
+
* @param {string} [specialtyTypeId]
|
|
12069
|
+
* @param {string} [serviceId]
|
|
12070
|
+
* @param {string} [exceptHospitalId]
|
|
12071
|
+
* @param {string} [exceptDealId]
|
|
12072
|
+
* @param {Array<string>} [ids]
|
|
12073
|
+
* @param {string} [languageCode]
|
|
12074
|
+
* @param {boolean} [showHidden]
|
|
12075
|
+
* @param {boolean} [returnDefaultValue]
|
|
12076
|
+
* @param {number} [page]
|
|
12077
|
+
* @param {number} [limit]
|
|
12078
|
+
* @param {Date} [lastRetrieved]
|
|
12079
|
+
* @param {*} [options] Override http request option.
|
|
12080
|
+
* @throws {RequiredError}
|
|
12081
|
+
* @memberof DealsApi
|
|
12082
|
+
*/
|
|
12083
|
+
apiV2DealsSimpleGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, serviceId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DealsSimpleModel, any>>;
|
|
11879
12084
|
/**
|
|
11880
12085
|
*
|
|
11881
12086
|
* @summary Get deal by slug.
|