ch-admin-api-client-typescript 2.5.8 → 2.5.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
@@ -4443,6 +4443,18 @@ export interface DealItemModel {
4443
4443
  * @memberof DealItemModel
4444
4444
  */
4445
4445
  'auditableEntity'?: AuditableEntity;
4446
+ /**
4447
+ *
4448
+ * @type {Array<LocalizedUrlModel>}
4449
+ * @memberof DealItemModel
4450
+ */
4451
+ 'localizedUrls'?: Array<LocalizedUrlModel> | null;
4452
+ /**
4453
+ *
4454
+ * @type {boolean}
4455
+ * @memberof DealItemModel
4456
+ */
4457
+ 'confirmed'?: boolean;
4446
4458
  }
4447
4459
  /**
4448
4460
  *
@@ -4534,6 +4546,24 @@ export interface DealModel {
4534
4546
  * @memberof DealModel
4535
4547
  */
4536
4548
  'auditableEntity'?: AuditableEntity;
4549
+ /**
4550
+ *
4551
+ * @type {Array<LocalizedUrlModel>}
4552
+ * @memberof DealModel
4553
+ */
4554
+ 'localizedUrls'?: Array<LocalizedUrlModel> | null;
4555
+ /**
4556
+ *
4557
+ * @type {boolean}
4558
+ * @memberof DealModel
4559
+ */
4560
+ 'confirmed'?: boolean;
4561
+ /**
4562
+ *
4563
+ * @type {string}
4564
+ * @memberof DealModel
4565
+ */
4566
+ 'languageCode'?: string | null;
4537
4567
  }
4538
4568
  /**
4539
4569
  *
@@ -10181,6 +10211,18 @@ export interface UpdateDealCommand {
10181
10211
  * @memberof UpdateDealCommand
10182
10212
  */
10183
10213
  'photoThumbnail'?: string | null;
10214
+ /**
10215
+ *
10216
+ * @type {string}
10217
+ * @memberof UpdateDealCommand
10218
+ */
10219
+ 'languageCode'?: string | null;
10220
+ /**
10221
+ *
10222
+ * @type {boolean}
10223
+ * @memberof UpdateDealCommand
10224
+ */
10225
+ 'confirmed'?: boolean;
10184
10226
  }
10185
10227
  /**
10186
10228
  *
@@ -15165,10 +15207,12 @@ export declare const DealsApiAxiosParamCreator: (configuration?: Configuration |
15165
15207
  *
15166
15208
  * @summary Get deal.
15167
15209
  * @param {string} dealId
15210
+ * @param {string} [languageCode]
15211
+ * @param {boolean} [returnDefaultValue]
15168
15212
  * @param {*} [options] Override http request option.
15169
15213
  * @throws {RequiredError}
15170
15214
  */
15171
- apiV1DealsDealIdGet: (dealId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
15215
+ apiV1DealsDealIdGet: (dealId: string, languageCode?: string | undefined, returnDefaultValue?: boolean | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
15172
15216
  /**
15173
15217
  *
15174
15218
  * @summary Get all DealPackage.
@@ -15294,13 +15338,16 @@ export declare const DealsApiAxiosParamCreator: (configuration?: Configuration |
15294
15338
  * @param {string} [exceptHospitalId]
15295
15339
  * @param {string} [exceptDealId]
15296
15340
  * @param {Array<string>} [ids]
15341
+ * @param {string} [languageCode]
15342
+ * @param {boolean} [showHidden]
15343
+ * @param {boolean} [returnDefaultValue]
15297
15344
  * @param {number} [page]
15298
15345
  * @param {number} [limit]
15299
15346
  * @param {Date} [lastRetrieved]
15300
15347
  * @param {*} [options] Override http request option.
15301
15348
  * @throws {RequiredError}
15302
15349
  */
15303
- apiV1DealsGet: (id?: string | undefined, name?: string | undefined, marketingType?: MarketingType | undefined, countryId?: string | undefined, hospitalId?: string | undefined, hospitalName?: string | undefined, specialtyId?: string | undefined, specialtyTypeId?: string | undefined, exceptHospitalId?: string | undefined, exceptDealId?: string | undefined, ids?: string[] | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
15350
+ apiV1DealsGet: (id?: string | undefined, name?: string | undefined, marketingType?: MarketingType | undefined, countryId?: string | undefined, hospitalId?: string | undefined, hospitalName?: string | undefined, specialtyId?: string | undefined, specialtyTypeId?: 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>;
15304
15351
  /**
15305
15352
  *
15306
15353
  * @summary Create a deal.
@@ -15313,10 +15360,12 @@ export declare const DealsApiAxiosParamCreator: (configuration?: Configuration |
15313
15360
  *
15314
15361
  * @summary Get deal by slug.
15315
15362
  * @param {string} slug
15363
+ * @param {string} [languageCode]
15364
+ * @param {boolean} [returnDefaultValue]
15316
15365
  * @param {*} [options] Override http request option.
15317
15366
  * @throws {RequiredError}
15318
15367
  */
15319
- apiV1DealsSlugGet: (slug: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
15368
+ apiV1DealsSlugGet: (slug: string, languageCode?: string | undefined, returnDefaultValue?: boolean | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
15320
15369
  };
15321
15370
  /**
15322
15371
  * DealsApi - functional programming interface
@@ -15335,10 +15384,12 @@ export declare const DealsApiFp: (configuration?: Configuration | undefined) =>
15335
15384
  *
15336
15385
  * @summary Get deal.
15337
15386
  * @param {string} dealId
15387
+ * @param {string} [languageCode]
15388
+ * @param {boolean} [returnDefaultValue]
15338
15389
  * @param {*} [options] Override http request option.
15339
15390
  * @throws {RequiredError}
15340
15391
  */
15341
- apiV1DealsDealIdGet(dealId: string, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<DealModel>>;
15392
+ apiV1DealsDealIdGet(dealId: string, languageCode?: string | undefined, returnDefaultValue?: boolean | undefined, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<DealModel>>;
15342
15393
  /**
15343
15394
  *
15344
15395
  * @summary Get all DealPackage.
@@ -15464,13 +15515,16 @@ export declare const DealsApiFp: (configuration?: Configuration | undefined) =>
15464
15515
  * @param {string} [exceptHospitalId]
15465
15516
  * @param {string} [exceptDealId]
15466
15517
  * @param {Array<string>} [ids]
15518
+ * @param {string} [languageCode]
15519
+ * @param {boolean} [showHidden]
15520
+ * @param {boolean} [returnDefaultValue]
15467
15521
  * @param {number} [page]
15468
15522
  * @param {number} [limit]
15469
15523
  * @param {Date} [lastRetrieved]
15470
15524
  * @param {*} [options] Override http request option.
15471
15525
  * @throws {RequiredError}
15472
15526
  */
15473
- apiV1DealsGet(id?: string | undefined, name?: string | undefined, marketingType?: MarketingType | undefined, countryId?: string | undefined, hospitalId?: string | undefined, hospitalName?: string | undefined, specialtyId?: string | undefined, specialtyTypeId?: string | undefined, exceptHospitalId?: string | undefined, exceptDealId?: string | undefined, ids?: string[] | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<DealsModel>>;
15527
+ apiV1DealsGet(id?: string | undefined, name?: string | undefined, marketingType?: MarketingType | undefined, countryId?: string | undefined, hospitalId?: string | undefined, hospitalName?: string | undefined, specialtyId?: string | undefined, specialtyTypeId?: 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<DealsModel>>;
15474
15528
  /**
15475
15529
  *
15476
15530
  * @summary Create a deal.
@@ -15483,10 +15537,12 @@ export declare const DealsApiFp: (configuration?: Configuration | undefined) =>
15483
15537
  *
15484
15538
  * @summary Get deal by slug.
15485
15539
  * @param {string} slug
15540
+ * @param {string} [languageCode]
15541
+ * @param {boolean} [returnDefaultValue]
15486
15542
  * @param {*} [options] Override http request option.
15487
15543
  * @throws {RequiredError}
15488
15544
  */
15489
- apiV1DealsSlugGet(slug: string, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<DealModel>>;
15545
+ apiV1DealsSlugGet(slug: string, languageCode?: string | undefined, returnDefaultValue?: boolean | undefined, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<DealModel>>;
15490
15546
  };
15491
15547
  /**
15492
15548
  * DealsApi - factory interface
@@ -15505,10 +15561,12 @@ export declare const DealsApiFactory: (configuration?: Configuration | undefined
15505
15561
  *
15506
15562
  * @summary Get deal.
15507
15563
  * @param {string} dealId
15564
+ * @param {string} [languageCode]
15565
+ * @param {boolean} [returnDefaultValue]
15508
15566
  * @param {*} [options] Override http request option.
15509
15567
  * @throws {RequiredError}
15510
15568
  */
15511
- apiV1DealsDealIdGet(dealId: string, options?: any): AxiosPromise<DealModel>;
15569
+ apiV1DealsDealIdGet(dealId: string, languageCode?: string | undefined, returnDefaultValue?: boolean | undefined, options?: any): AxiosPromise<DealModel>;
15512
15570
  /**
15513
15571
  *
15514
15572
  * @summary Get all DealPackage.
@@ -15634,13 +15692,16 @@ export declare const DealsApiFactory: (configuration?: Configuration | undefined
15634
15692
  * @param {string} [exceptHospitalId]
15635
15693
  * @param {string} [exceptDealId]
15636
15694
  * @param {Array<string>} [ids]
15695
+ * @param {string} [languageCode]
15696
+ * @param {boolean} [showHidden]
15697
+ * @param {boolean} [returnDefaultValue]
15637
15698
  * @param {number} [page]
15638
15699
  * @param {number} [limit]
15639
15700
  * @param {Date} [lastRetrieved]
15640
15701
  * @param {*} [options] Override http request option.
15641
15702
  * @throws {RequiredError}
15642
15703
  */
15643
- apiV1DealsGet(id?: string | undefined, name?: string | undefined, marketingType?: MarketingType | undefined, countryId?: string | undefined, hospitalId?: string | undefined, hospitalName?: string | undefined, specialtyId?: string | undefined, specialtyTypeId?: string | undefined, exceptHospitalId?: string | undefined, exceptDealId?: string | undefined, ids?: string[] | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: any): AxiosPromise<DealsModel>;
15704
+ apiV1DealsGet(id?: string | undefined, name?: string | undefined, marketingType?: MarketingType | undefined, countryId?: string | undefined, hospitalId?: string | undefined, hospitalName?: string | undefined, specialtyId?: string | undefined, specialtyTypeId?: 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>;
15644
15705
  /**
15645
15706
  *
15646
15707
  * @summary Create a deal.
@@ -15653,10 +15714,12 @@ export declare const DealsApiFactory: (configuration?: Configuration | undefined
15653
15714
  *
15654
15715
  * @summary Get deal by slug.
15655
15716
  * @param {string} slug
15717
+ * @param {string} [languageCode]
15718
+ * @param {boolean} [returnDefaultValue]
15656
15719
  * @param {*} [options] Override http request option.
15657
15720
  * @throws {RequiredError}
15658
15721
  */
15659
- apiV1DealsSlugGet(slug: string, options?: any): AxiosPromise<DealModel>;
15722
+ apiV1DealsSlugGet(slug: string, languageCode?: string | undefined, returnDefaultValue?: boolean | undefined, options?: any): AxiosPromise<DealModel>;
15660
15723
  };
15661
15724
  /**
15662
15725
  * DealsApi - object-oriented interface
@@ -15678,11 +15741,13 @@ export declare class DealsApi extends BaseAPI {
15678
15741
  *
15679
15742
  * @summary Get deal.
15680
15743
  * @param {string} dealId
15744
+ * @param {string} [languageCode]
15745
+ * @param {boolean} [returnDefaultValue]
15681
15746
  * @param {*} [options] Override http request option.
15682
15747
  * @throws {RequiredError}
15683
15748
  * @memberof DealsApi
15684
15749
  */
15685
- apiV1DealsDealIdGet(dealId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DealModel>>;
15750
+ apiV1DealsDealIdGet(dealId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DealModel>>;
15686
15751
  /**
15687
15752
  *
15688
15753
  * @summary Get all DealPackage.
@@ -15819,6 +15884,9 @@ export declare class DealsApi extends BaseAPI {
15819
15884
  * @param {string} [exceptHospitalId]
15820
15885
  * @param {string} [exceptDealId]
15821
15886
  * @param {Array<string>} [ids]
15887
+ * @param {string} [languageCode]
15888
+ * @param {boolean} [showHidden]
15889
+ * @param {boolean} [returnDefaultValue]
15822
15890
  * @param {number} [page]
15823
15891
  * @param {number} [limit]
15824
15892
  * @param {Date} [lastRetrieved]
@@ -15826,7 +15894,7 @@ export declare class DealsApi extends BaseAPI {
15826
15894
  * @throws {RequiredError}
15827
15895
  * @memberof DealsApi
15828
15896
  */
15829
- apiV1DealsGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DealsModel>>;
15897
+ apiV1DealsGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: 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>>;
15830
15898
  /**
15831
15899
  *
15832
15900
  * @summary Create a deal.
@@ -15840,11 +15908,13 @@ export declare class DealsApi extends BaseAPI {
15840
15908
  *
15841
15909
  * @summary Get deal by slug.
15842
15910
  * @param {string} slug
15911
+ * @param {string} [languageCode]
15912
+ * @param {boolean} [returnDefaultValue]
15843
15913
  * @param {*} [options] Override http request option.
15844
15914
  * @throws {RequiredError}
15845
15915
  * @memberof DealsApi
15846
15916
  */
15847
- apiV1DealsSlugGet(slug: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DealModel>>;
15917
+ apiV1DealsSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DealModel>>;
15848
15918
  }
15849
15919
  /**
15850
15920
  * DoctorsApi - axios parameter creator