ch-admin-api-client-typescript 2.8.6 → 2.8.7

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
@@ -4724,6 +4724,67 @@ export interface DealItemModel {
4724
4724
  */
4725
4725
  'auditableEntity'?: AuditableEntity;
4726
4726
  }
4727
+ /**
4728
+ *
4729
+ * @export
4730
+ * @interface DealItemSimpleModel
4731
+ */
4732
+ export interface DealItemSimpleModel {
4733
+ /**
4734
+ *
4735
+ * @type {string}
4736
+ * @memberof DealItemSimpleModel
4737
+ */
4738
+ 'id'?: string;
4739
+ /**
4740
+ *
4741
+ * @type {string}
4742
+ * @memberof DealItemSimpleModel
4743
+ */
4744
+ 'name'?: string | null;
4745
+ /**
4746
+ *
4747
+ * @type {string}
4748
+ * @memberof DealItemSimpleModel
4749
+ */
4750
+ 'normalizedName'?: string | null;
4751
+ /**
4752
+ *
4753
+ * @type {string}
4754
+ * @memberof DealItemSimpleModel
4755
+ */
4756
+ 'slug'?: string | null;
4757
+ /**
4758
+ *
4759
+ * @type {string}
4760
+ * @memberof DealItemSimpleModel
4761
+ */
4762
+ 'hospitalId'?: string;
4763
+ /**
4764
+ *
4765
+ * @type {string}
4766
+ * @memberof DealItemSimpleModel
4767
+ */
4768
+ 'hospitalName'?: string | null;
4769
+ /**
4770
+ *
4771
+ * @type {Array<LocalizedUrlModel>}
4772
+ * @memberof DealItemSimpleModel
4773
+ */
4774
+ 'localizedUrls'?: Array<LocalizedUrlModel> | null;
4775
+ /**
4776
+ *
4777
+ * @type {boolean}
4778
+ * @memberof DealItemSimpleModel
4779
+ */
4780
+ 'confirmed'?: boolean;
4781
+ /**
4782
+ *
4783
+ * @type {AuditableEntity}
4784
+ * @memberof DealItemSimpleModel
4785
+ */
4786
+ 'auditableEntity'?: AuditableEntity;
4787
+ }
4727
4788
  /**
4728
4789
  *
4729
4790
  * @export
@@ -5146,6 +5207,25 @@ export interface DealsModel {
5146
5207
  */
5147
5208
  'metaData'?: PagedListMetaData;
5148
5209
  }
5210
+ /**
5211
+ *
5212
+ * @export
5213
+ * @interface DealsSimpleModel
5214
+ */
5215
+ export interface DealsSimpleModel {
5216
+ /**
5217
+ *
5218
+ * @type {Array<DealItemSimpleModel>}
5219
+ * @memberof DealsSimpleModel
5220
+ */
5221
+ 'items'?: Array<DealItemSimpleModel> | null;
5222
+ /**
5223
+ *
5224
+ * @type {PagedListMetaData}
5225
+ * @memberof DealsSimpleModel
5226
+ */
5227
+ 'metaData'?: PagedListMetaData;
5228
+ }
5149
5229
  /**
5150
5230
  *
5151
5231
  * @export
@@ -16481,6 +16561,31 @@ export declare const DealsApiAxiosParamCreator: (configuration?: Configuration |
16481
16561
  * @throws {RequiredError}
16482
16562
  */
16483
16563
  apiV1DealsPost: (createDealCommand?: CreateDealCommand | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
16564
+ /**
16565
+ *
16566
+ * @summary Get all deals.
16567
+ * @param {string} [id]
16568
+ * @param {string} [name]
16569
+ * @param {MarketingType} [marketingType]
16570
+ * @param {string} [countryId]
16571
+ * @param {string} [hospitalId]
16572
+ * @param {string} [hospitalName]
16573
+ * @param {string} [specialtyId]
16574
+ * @param {string} [specialtyTypeId]
16575
+ * @param {string} [serviceId]
16576
+ * @param {string} [exceptHospitalId]
16577
+ * @param {string} [exceptDealId]
16578
+ * @param {Array<string>} [ids]
16579
+ * @param {string} [languageCode]
16580
+ * @param {boolean} [showHidden]
16581
+ * @param {boolean} [returnDefaultValue]
16582
+ * @param {number} [page]
16583
+ * @param {number} [limit]
16584
+ * @param {Date} [lastRetrieved]
16585
+ * @param {*} [options] Override http request option.
16586
+ * @throws {RequiredError}
16587
+ */
16588
+ 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
16589
  /**
16485
16590
  *
16486
16591
  * @summary Get deal by slug.
@@ -16659,6 +16764,31 @@ export declare const DealsApiFp: (configuration?: Configuration | undefined) =>
16659
16764
  * @throws {RequiredError}
16660
16765
  */
16661
16766
  apiV1DealsPost(createDealCommand?: CreateDealCommand | undefined, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<DealModel>>;
16767
+ /**
16768
+ *
16769
+ * @summary Get all deals.
16770
+ * @param {string} [id]
16771
+ * @param {string} [name]
16772
+ * @param {MarketingType} [marketingType]
16773
+ * @param {string} [countryId]
16774
+ * @param {string} [hospitalId]
16775
+ * @param {string} [hospitalName]
16776
+ * @param {string} [specialtyId]
16777
+ * @param {string} [specialtyTypeId]
16778
+ * @param {string} [serviceId]
16779
+ * @param {string} [exceptHospitalId]
16780
+ * @param {string} [exceptDealId]
16781
+ * @param {Array<string>} [ids]
16782
+ * @param {string} [languageCode]
16783
+ * @param {boolean} [showHidden]
16784
+ * @param {boolean} [returnDefaultValue]
16785
+ * @param {number} [page]
16786
+ * @param {number} [limit]
16787
+ * @param {Date} [lastRetrieved]
16788
+ * @param {*} [options] Override http request option.
16789
+ * @throws {RequiredError}
16790
+ */
16791
+ 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
16792
  /**
16663
16793
  *
16664
16794
  * @summary Get deal by slug.
@@ -16837,6 +16967,31 @@ export declare const DealsApiFactory: (configuration?: Configuration | undefined
16837
16967
  * @throws {RequiredError}
16838
16968
  */
16839
16969
  apiV1DealsPost(createDealCommand?: CreateDealCommand | undefined, options?: any): AxiosPromise<DealModel>;
16970
+ /**
16971
+ *
16972
+ * @summary Get all deals.
16973
+ * @param {string} [id]
16974
+ * @param {string} [name]
16975
+ * @param {MarketingType} [marketingType]
16976
+ * @param {string} [countryId]
16977
+ * @param {string} [hospitalId]
16978
+ * @param {string} [hospitalName]
16979
+ * @param {string} [specialtyId]
16980
+ * @param {string} [specialtyTypeId]
16981
+ * @param {string} [serviceId]
16982
+ * @param {string} [exceptHospitalId]
16983
+ * @param {string} [exceptDealId]
16984
+ * @param {Array<string>} [ids]
16985
+ * @param {string} [languageCode]
16986
+ * @param {boolean} [showHidden]
16987
+ * @param {boolean} [returnDefaultValue]
16988
+ * @param {number} [page]
16989
+ * @param {number} [limit]
16990
+ * @param {Date} [lastRetrieved]
16991
+ * @param {*} [options] Override http request option.
16992
+ * @throws {RequiredError}
16993
+ */
16994
+ 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
16995
  /**
16841
16996
  *
16842
16997
  * @summary Get deal by slug.
@@ -17032,6 +17187,32 @@ export declare class DealsApi extends BaseAPI {
17032
17187
  * @memberof DealsApi
17033
17188
  */
17034
17189
  apiV1DealsPost(createDealCommand?: CreateDealCommand, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DealModel>>;
17190
+ /**
17191
+ *
17192
+ * @summary Get all deals.
17193
+ * @param {string} [id]
17194
+ * @param {string} [name]
17195
+ * @param {MarketingType} [marketingType]
17196
+ * @param {string} [countryId]
17197
+ * @param {string} [hospitalId]
17198
+ * @param {string} [hospitalName]
17199
+ * @param {string} [specialtyId]
17200
+ * @param {string} [specialtyTypeId]
17201
+ * @param {string} [serviceId]
17202
+ * @param {string} [exceptHospitalId]
17203
+ * @param {string} [exceptDealId]
17204
+ * @param {Array<string>} [ids]
17205
+ * @param {string} [languageCode]
17206
+ * @param {boolean} [showHidden]
17207
+ * @param {boolean} [returnDefaultValue]
17208
+ * @param {number} [page]
17209
+ * @param {number} [limit]
17210
+ * @param {Date} [lastRetrieved]
17211
+ * @param {*} [options] Override http request option.
17212
+ * @throws {RequiredError}
17213
+ * @memberof DealsApi
17214
+ */
17215
+ 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
17216
  /**
17036
17217
  *
17037
17218
  * @summary Get deal by slug.