ch-api-client-typescript2 2.8.7 → 2.8.10

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 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
@@ -5466,6 +5546,12 @@ export interface HospitalItemModel {
5466
5546
  * @memberof HospitalItemModel
5467
5547
  */
5468
5548
  'timeZone'?: string | null;
5549
+ /**
5550
+ *
5551
+ * @type {string}
5552
+ * @memberof HospitalItemModel
5553
+ */
5554
+ 'websiteUrl'?: string | null;
5469
5555
  /**
5470
5556
  *
5471
5557
  * @type {number}
@@ -5683,6 +5769,12 @@ export interface HospitalModel {
5683
5769
  * @memberof HospitalModel
5684
5770
  */
5685
5771
  'timeZone'?: string | null;
5772
+ /**
5773
+ *
5774
+ * @type {string}
5775
+ * @memberof HospitalModel
5776
+ */
5777
+ 'websiteUrl'?: string | null;
5686
5778
  /**
5687
5779
  *
5688
5780
  * @type {number}
@@ -5942,6 +6034,12 @@ export interface HospitalServiceItemModel {
5942
6034
  * @memberof HospitalServiceItemModel
5943
6035
  */
5944
6036
  'photoThumbnail'?: string | null;
6037
+ /**
6038
+ *
6039
+ * @type {Array<MediaModel>}
6040
+ * @memberof HospitalServiceItemModel
6041
+ */
6042
+ 'medias'?: Array<MediaModel> | null;
5945
6043
  /**
5946
6044
  *
5947
6045
  * @type {AuditableEntity}
@@ -6093,6 +6191,12 @@ export interface HospitalServiceModel {
6093
6191
  * @memberof HospitalServiceModel
6094
6192
  */
6095
6193
  'photoThumbnail'?: string | null;
6194
+ /**
6195
+ *
6196
+ * @type {Array<MediaModel>}
6197
+ * @memberof HospitalServiceModel
6198
+ */
6199
+ 'medias'?: Array<MediaModel> | null;
6096
6200
  /**
6097
6201
  *
6098
6202
  * @type {AuditableEntity}
@@ -6496,6 +6600,12 @@ export interface HospitalSpecialtySimpleItemModel {
6496
6600
  * @memberof HospitalSpecialtySimpleItemModel
6497
6601
  */
6498
6602
  'id'?: string;
6603
+ /**
6604
+ *
6605
+ * @type {string}
6606
+ * @memberof HospitalSpecialtySimpleItemModel
6607
+ */
6608
+ 'title'?: string | null;
6499
6609
  /**
6500
6610
  *
6501
6611
  * @type {string}
@@ -8156,6 +8266,12 @@ export interface SpecialtyItemModel {
8156
8266
  * @memberof SpecialtyItemModel
8157
8267
  */
8158
8268
  'returnDefaultValue'?: boolean | null;
8269
+ /**
8270
+ *
8271
+ * @type {Array<MediaModel>}
8272
+ * @memberof SpecialtyItemModel
8273
+ */
8274
+ 'medias'?: Array<MediaModel> | null;
8159
8275
  }
8160
8276
  /**
8161
8277
  *
@@ -8235,6 +8351,12 @@ export interface SpecialtyModel {
8235
8351
  * @memberof SpecialtyModel
8236
8352
  */
8237
8353
  'returnDefaultValue'?: boolean | null;
8354
+ /**
8355
+ *
8356
+ * @type {Array<MediaModel>}
8357
+ * @memberof SpecialtyModel
8358
+ */
8359
+ 'medias'?: Array<MediaModel> | null;
8238
8360
  /**
8239
8361
  *
8240
8362
  * @type {string}
@@ -11577,6 +11699,31 @@ export declare const DealsApiAxiosParamCreator: (configuration?: Configuration |
11577
11699
  * @throws {RequiredError}
11578
11700
  */
11579
11701
  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>;
11702
+ /**
11703
+ *
11704
+ * @summary Get all deals.
11705
+ * @param {string} [id]
11706
+ * @param {string} [name]
11707
+ * @param {MarketingType} [marketingType]
11708
+ * @param {string} [countryId]
11709
+ * @param {string} [hospitalId]
11710
+ * @param {string} [hospitalName]
11711
+ * @param {string} [specialtyId]
11712
+ * @param {string} [specialtyTypeId]
11713
+ * @param {string} [serviceId]
11714
+ * @param {string} [exceptHospitalId]
11715
+ * @param {string} [exceptDealId]
11716
+ * @param {Array<string>} [ids]
11717
+ * @param {string} [languageCode]
11718
+ * @param {boolean} [showHidden]
11719
+ * @param {boolean} [returnDefaultValue]
11720
+ * @param {number} [page]
11721
+ * @param {number} [limit]
11722
+ * @param {Date} [lastRetrieved]
11723
+ * @param {*} [options] Override http request option.
11724
+ * @throws {RequiredError}
11725
+ */
11726
+ 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
11727
  /**
11581
11728
  *
11582
11729
  * @summary Get deal by slug.
@@ -11674,6 +11821,31 @@ export declare const DealsApiFp: (configuration?: Configuration | undefined) =>
11674
11821
  * @throws {RequiredError}
11675
11822
  */
11676
11823
  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>>;
11824
+ /**
11825
+ *
11826
+ * @summary Get all deals.
11827
+ * @param {string} [id]
11828
+ * @param {string} [name]
11829
+ * @param {MarketingType} [marketingType]
11830
+ * @param {string} [countryId]
11831
+ * @param {string} [hospitalId]
11832
+ * @param {string} [hospitalName]
11833
+ * @param {string} [specialtyId]
11834
+ * @param {string} [specialtyTypeId]
11835
+ * @param {string} [serviceId]
11836
+ * @param {string} [exceptHospitalId]
11837
+ * @param {string} [exceptDealId]
11838
+ * @param {Array<string>} [ids]
11839
+ * @param {string} [languageCode]
11840
+ * @param {boolean} [showHidden]
11841
+ * @param {boolean} [returnDefaultValue]
11842
+ * @param {number} [page]
11843
+ * @param {number} [limit]
11844
+ * @param {Date} [lastRetrieved]
11845
+ * @param {*} [options] Override http request option.
11846
+ * @throws {RequiredError}
11847
+ */
11848
+ 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
11849
  /**
11678
11850
  *
11679
11851
  * @summary Get deal by slug.
@@ -11771,6 +11943,31 @@ export declare const DealsApiFactory: (configuration?: Configuration | undefined
11771
11943
  * @throws {RequiredError}
11772
11944
  */
11773
11945
  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>;
11946
+ /**
11947
+ *
11948
+ * @summary Get all deals.
11949
+ * @param {string} [id]
11950
+ * @param {string} [name]
11951
+ * @param {MarketingType} [marketingType]
11952
+ * @param {string} [countryId]
11953
+ * @param {string} [hospitalId]
11954
+ * @param {string} [hospitalName]
11955
+ * @param {string} [specialtyId]
11956
+ * @param {string} [specialtyTypeId]
11957
+ * @param {string} [serviceId]
11958
+ * @param {string} [exceptHospitalId]
11959
+ * @param {string} [exceptDealId]
11960
+ * @param {Array<string>} [ids]
11961
+ * @param {string} [languageCode]
11962
+ * @param {boolean} [showHidden]
11963
+ * @param {boolean} [returnDefaultValue]
11964
+ * @param {number} [page]
11965
+ * @param {number} [limit]
11966
+ * @param {Date} [lastRetrieved]
11967
+ * @param {*} [options] Override http request option.
11968
+ * @throws {RequiredError}
11969
+ */
11970
+ 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
11971
  /**
11775
11972
  *
11776
11973
  * @summary Get deal by slug.
@@ -11876,6 +12073,32 @@ export declare class DealsApi extends BaseAPI {
11876
12073
  * @memberof DealsApi
11877
12074
  */
11878
12075
  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>>;
12076
+ /**
12077
+ *
12078
+ * @summary Get all deals.
12079
+ * @param {string} [id]
12080
+ * @param {string} [name]
12081
+ * @param {MarketingType} [marketingType]
12082
+ * @param {string} [countryId]
12083
+ * @param {string} [hospitalId]
12084
+ * @param {string} [hospitalName]
12085
+ * @param {string} [specialtyId]
12086
+ * @param {string} [specialtyTypeId]
12087
+ * @param {string} [serviceId]
12088
+ * @param {string} [exceptHospitalId]
12089
+ * @param {string} [exceptDealId]
12090
+ * @param {Array<string>} [ids]
12091
+ * @param {string} [languageCode]
12092
+ * @param {boolean} [showHidden]
12093
+ * @param {boolean} [returnDefaultValue]
12094
+ * @param {number} [page]
12095
+ * @param {number} [limit]
12096
+ * @param {Date} [lastRetrieved]
12097
+ * @param {*} [options] Override http request option.
12098
+ * @throws {RequiredError}
12099
+ * @memberof DealsApi
12100
+ */
12101
+ 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
12102
  /**
11880
12103
  *
11881
12104
  * @summary Get deal by slug.