ch-admin-api-client-typescript 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 CHANGED
@@ -3987,6 +3987,12 @@ export interface CreateHospitalServiceCommand {
3987
3987
  * @memberof CreateHospitalServiceCommand
3988
3988
  */
3989
3989
  'photoThumbnail'?: string | null;
3990
+ /**
3991
+ *
3992
+ * @type {Array<MediaModel>}
3993
+ * @memberof CreateHospitalServiceCommand
3994
+ */
3995
+ 'medias'?: Array<MediaModel> | null;
3990
3996
  }
3991
3997
  /**
3992
3998
  *
@@ -4448,6 +4454,12 @@ export interface CreateSpecialtyCommand {
4448
4454
  * @memberof CreateSpecialtyCommand
4449
4455
  */
4450
4456
  'specialtyTypeId'?: string;
4457
+ /**
4458
+ *
4459
+ * @type {Array<MediaModel>}
4460
+ * @memberof CreateSpecialtyCommand
4461
+ */
4462
+ 'medias'?: Array<MediaModel> | null;
4451
4463
  }
4452
4464
  /**
4453
4465
  *
@@ -4724,6 +4736,67 @@ export interface DealItemModel {
4724
4736
  */
4725
4737
  'auditableEntity'?: AuditableEntity;
4726
4738
  }
4739
+ /**
4740
+ *
4741
+ * @export
4742
+ * @interface DealItemSimpleModel
4743
+ */
4744
+ export interface DealItemSimpleModel {
4745
+ /**
4746
+ *
4747
+ * @type {string}
4748
+ * @memberof DealItemSimpleModel
4749
+ */
4750
+ 'id'?: string;
4751
+ /**
4752
+ *
4753
+ * @type {string}
4754
+ * @memberof DealItemSimpleModel
4755
+ */
4756
+ 'name'?: string | null;
4757
+ /**
4758
+ *
4759
+ * @type {string}
4760
+ * @memberof DealItemSimpleModel
4761
+ */
4762
+ 'normalizedName'?: string | null;
4763
+ /**
4764
+ *
4765
+ * @type {string}
4766
+ * @memberof DealItemSimpleModel
4767
+ */
4768
+ 'slug'?: string | null;
4769
+ /**
4770
+ *
4771
+ * @type {string}
4772
+ * @memberof DealItemSimpleModel
4773
+ */
4774
+ 'hospitalId'?: string;
4775
+ /**
4776
+ *
4777
+ * @type {string}
4778
+ * @memberof DealItemSimpleModel
4779
+ */
4780
+ 'hospitalName'?: string | null;
4781
+ /**
4782
+ *
4783
+ * @type {Array<LocalizedUrlModel>}
4784
+ * @memberof DealItemSimpleModel
4785
+ */
4786
+ 'localizedUrls'?: Array<LocalizedUrlModel> | null;
4787
+ /**
4788
+ *
4789
+ * @type {boolean}
4790
+ * @memberof DealItemSimpleModel
4791
+ */
4792
+ 'confirmed'?: boolean;
4793
+ /**
4794
+ *
4795
+ * @type {AuditableEntity}
4796
+ * @memberof DealItemSimpleModel
4797
+ */
4798
+ 'auditableEntity'?: AuditableEntity;
4799
+ }
4727
4800
  /**
4728
4801
  *
4729
4802
  * @export
@@ -5146,6 +5219,25 @@ export interface DealsModel {
5146
5219
  */
5147
5220
  'metaData'?: PagedListMetaData;
5148
5221
  }
5222
+ /**
5223
+ *
5224
+ * @export
5225
+ * @interface DealsSimpleModel
5226
+ */
5227
+ export interface DealsSimpleModel {
5228
+ /**
5229
+ *
5230
+ * @type {Array<DealItemSimpleModel>}
5231
+ * @memberof DealsSimpleModel
5232
+ */
5233
+ 'items'?: Array<DealItemSimpleModel> | null;
5234
+ /**
5235
+ *
5236
+ * @type {PagedListMetaData}
5237
+ * @memberof DealsSimpleModel
5238
+ */
5239
+ 'metaData'?: PagedListMetaData;
5240
+ }
5149
5241
  /**
5150
5242
  *
5151
5243
  * @export
@@ -7344,6 +7436,12 @@ export interface HospitalServiceItemModel {
7344
7436
  * @memberof HospitalServiceItemModel
7345
7437
  */
7346
7438
  'photoThumbnail'?: string | null;
7439
+ /**
7440
+ *
7441
+ * @type {Array<MediaModel>}
7442
+ * @memberof HospitalServiceItemModel
7443
+ */
7444
+ 'medias'?: Array<MediaModel> | null;
7347
7445
  /**
7348
7446
  *
7349
7447
  * @type {AuditableEntity}
@@ -7495,6 +7593,12 @@ export interface HospitalServiceModel {
7495
7593
  * @memberof HospitalServiceModel
7496
7594
  */
7497
7595
  'photoThumbnail'?: string | null;
7596
+ /**
7597
+ *
7598
+ * @type {Array<MediaModel>}
7599
+ * @memberof HospitalServiceModel
7600
+ */
7601
+ 'medias'?: Array<MediaModel> | null;
7498
7602
  /**
7499
7603
  *
7500
7604
  * @type {AuditableEntity}
@@ -9982,6 +10086,12 @@ export interface SpecialtyItemModel {
9982
10086
  * @memberof SpecialtyItemModel
9983
10087
  */
9984
10088
  'auditableEntity'?: AuditableEntity;
10089
+ /**
10090
+ *
10091
+ * @type {Array<MediaModel>}
10092
+ * @memberof SpecialtyItemModel
10093
+ */
10094
+ 'medias'?: Array<MediaModel> | null;
9985
10095
  }
9986
10096
  /**
9987
10097
  *
@@ -10055,6 +10165,12 @@ export interface SpecialtyModel {
10055
10165
  * @memberof SpecialtyModel
10056
10166
  */
10057
10167
  'auditableEntity'?: AuditableEntity;
10168
+ /**
10169
+ *
10170
+ * @type {Array<MediaModel>}
10171
+ * @memberof SpecialtyModel
10172
+ */
10173
+ 'medias'?: Array<MediaModel> | null;
10058
10174
  /**
10059
10175
  *
10060
10176
  * @type {string}
@@ -11701,6 +11817,12 @@ export interface UpdateHospitalServiceCommand {
11701
11817
  * @memberof UpdateHospitalServiceCommand
11702
11818
  */
11703
11819
  'photoThumbnail'?: string | null;
11820
+ /**
11821
+ *
11822
+ * @type {Array<MediaModel>}
11823
+ * @memberof UpdateHospitalServiceCommand
11824
+ */
11825
+ 'medias'?: Array<MediaModel> | null;
11704
11826
  }
11705
11827
  /**
11706
11828
  *
@@ -12248,6 +12370,12 @@ export interface UpdateSpecialtyCommand {
12248
12370
  * @memberof UpdateSpecialtyCommand
12249
12371
  */
12250
12372
  'confirmed'?: boolean;
12373
+ /**
12374
+ *
12375
+ * @type {Array<MediaModel>}
12376
+ * @memberof UpdateSpecialtyCommand
12377
+ */
12378
+ 'medias'?: Array<MediaModel> | null;
12251
12379
  }
12252
12380
  /**
12253
12381
  *
@@ -16481,6 +16609,31 @@ export declare const DealsApiAxiosParamCreator: (configuration?: Configuration |
16481
16609
  * @throws {RequiredError}
16482
16610
  */
16483
16611
  apiV1DealsPost: (createDealCommand?: CreateDealCommand | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
16612
+ /**
16613
+ *
16614
+ * @summary Get all deals.
16615
+ * @param {string} [id]
16616
+ * @param {string} [name]
16617
+ * @param {MarketingType} [marketingType]
16618
+ * @param {string} [countryId]
16619
+ * @param {string} [hospitalId]
16620
+ * @param {string} [hospitalName]
16621
+ * @param {string} [specialtyId]
16622
+ * @param {string} [specialtyTypeId]
16623
+ * @param {string} [serviceId]
16624
+ * @param {string} [exceptHospitalId]
16625
+ * @param {string} [exceptDealId]
16626
+ * @param {Array<string>} [ids]
16627
+ * @param {string} [languageCode]
16628
+ * @param {boolean} [showHidden]
16629
+ * @param {boolean} [returnDefaultValue]
16630
+ * @param {number} [page]
16631
+ * @param {number} [limit]
16632
+ * @param {Date} [lastRetrieved]
16633
+ * @param {*} [options] Override http request option.
16634
+ * @throws {RequiredError}
16635
+ */
16636
+ apiV1DealsSimpleGet: (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>;
16484
16637
  /**
16485
16638
  *
16486
16639
  * @summary Get deal by slug.
@@ -16659,6 +16812,31 @@ export declare const DealsApiFp: (configuration?: Configuration | undefined) =>
16659
16812
  * @throws {RequiredError}
16660
16813
  */
16661
16814
  apiV1DealsPost(createDealCommand?: CreateDealCommand | undefined, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<DealModel>>;
16815
+ /**
16816
+ *
16817
+ * @summary Get all deals.
16818
+ * @param {string} [id]
16819
+ * @param {string} [name]
16820
+ * @param {MarketingType} [marketingType]
16821
+ * @param {string} [countryId]
16822
+ * @param {string} [hospitalId]
16823
+ * @param {string} [hospitalName]
16824
+ * @param {string} [specialtyId]
16825
+ * @param {string} [specialtyTypeId]
16826
+ * @param {string} [serviceId]
16827
+ * @param {string} [exceptHospitalId]
16828
+ * @param {string} [exceptDealId]
16829
+ * @param {Array<string>} [ids]
16830
+ * @param {string} [languageCode]
16831
+ * @param {boolean} [showHidden]
16832
+ * @param {boolean} [returnDefaultValue]
16833
+ * @param {number} [page]
16834
+ * @param {number} [limit]
16835
+ * @param {Date} [lastRetrieved]
16836
+ * @param {*} [options] Override http request option.
16837
+ * @throws {RequiredError}
16838
+ */
16839
+ apiV1DealsSimpleGet(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 | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<DealsSimpleModel>>;
16662
16840
  /**
16663
16841
  *
16664
16842
  * @summary Get deal by slug.
@@ -16837,6 +17015,31 @@ export declare const DealsApiFactory: (configuration?: Configuration | undefined
16837
17015
  * @throws {RequiredError}
16838
17016
  */
16839
17017
  apiV1DealsPost(createDealCommand?: CreateDealCommand | undefined, options?: any): AxiosPromise<DealModel>;
17018
+ /**
17019
+ *
17020
+ * @summary Get all deals.
17021
+ * @param {string} [id]
17022
+ * @param {string} [name]
17023
+ * @param {MarketingType} [marketingType]
17024
+ * @param {string} [countryId]
17025
+ * @param {string} [hospitalId]
17026
+ * @param {string} [hospitalName]
17027
+ * @param {string} [specialtyId]
17028
+ * @param {string} [specialtyTypeId]
17029
+ * @param {string} [serviceId]
17030
+ * @param {string} [exceptHospitalId]
17031
+ * @param {string} [exceptDealId]
17032
+ * @param {Array<string>} [ids]
17033
+ * @param {string} [languageCode]
17034
+ * @param {boolean} [showHidden]
17035
+ * @param {boolean} [returnDefaultValue]
17036
+ * @param {number} [page]
17037
+ * @param {number} [limit]
17038
+ * @param {Date} [lastRetrieved]
17039
+ * @param {*} [options] Override http request option.
17040
+ * @throws {RequiredError}
17041
+ */
17042
+ apiV1DealsSimpleGet(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>;
16840
17043
  /**
16841
17044
  *
16842
17045
  * @summary Get deal by slug.
@@ -17032,6 +17235,32 @@ export declare class DealsApi extends BaseAPI {
17032
17235
  * @memberof DealsApi
17033
17236
  */
17034
17237
  apiV1DealsPost(createDealCommand?: CreateDealCommand, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DealModel>>;
17238
+ /**
17239
+ *
17240
+ * @summary Get all deals.
17241
+ * @param {string} [id]
17242
+ * @param {string} [name]
17243
+ * @param {MarketingType} [marketingType]
17244
+ * @param {string} [countryId]
17245
+ * @param {string} [hospitalId]
17246
+ * @param {string} [hospitalName]
17247
+ * @param {string} [specialtyId]
17248
+ * @param {string} [specialtyTypeId]
17249
+ * @param {string} [serviceId]
17250
+ * @param {string} [exceptHospitalId]
17251
+ * @param {string} [exceptDealId]
17252
+ * @param {Array<string>} [ids]
17253
+ * @param {string} [languageCode]
17254
+ * @param {boolean} [showHidden]
17255
+ * @param {boolean} [returnDefaultValue]
17256
+ * @param {number} [page]
17257
+ * @param {number} [limit]
17258
+ * @param {Date} [lastRetrieved]
17259
+ * @param {*} [options] Override http request option.
17260
+ * @throws {RequiredError}
17261
+ * @memberof DealsApi
17262
+ */
17263
+ apiV1DealsSimpleGet(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>>;
17035
17264
  /**
17036
17265
  *
17037
17266
  * @summary Get deal by slug.