ch-api-client-typescript2 2.8.7 → 2.8.8
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 +181 -0
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +196 -0
- package/package.json +1 -1
- package/src/api.ts +286 -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
|
|
@@ -11577,6 +11657,31 @@ export declare const DealsApiAxiosParamCreator: (configuration?: Configuration |
|
|
|
11577
11657
|
* @throws {RequiredError}
|
|
11578
11658
|
*/
|
|
11579
11659
|
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>;
|
|
11660
|
+
/**
|
|
11661
|
+
*
|
|
11662
|
+
* @summary Get all deals.
|
|
11663
|
+
* @param {string} [id]
|
|
11664
|
+
* @param {string} [name]
|
|
11665
|
+
* @param {MarketingType} [marketingType]
|
|
11666
|
+
* @param {string} [countryId]
|
|
11667
|
+
* @param {string} [hospitalId]
|
|
11668
|
+
* @param {string} [hospitalName]
|
|
11669
|
+
* @param {string} [specialtyId]
|
|
11670
|
+
* @param {string} [specialtyTypeId]
|
|
11671
|
+
* @param {string} [serviceId]
|
|
11672
|
+
* @param {string} [exceptHospitalId]
|
|
11673
|
+
* @param {string} [exceptDealId]
|
|
11674
|
+
* @param {Array<string>} [ids]
|
|
11675
|
+
* @param {string} [languageCode]
|
|
11676
|
+
* @param {boolean} [showHidden]
|
|
11677
|
+
* @param {boolean} [returnDefaultValue]
|
|
11678
|
+
* @param {number} [page]
|
|
11679
|
+
* @param {number} [limit]
|
|
11680
|
+
* @param {Date} [lastRetrieved]
|
|
11681
|
+
* @param {*} [options] Override http request option.
|
|
11682
|
+
* @throws {RequiredError}
|
|
11683
|
+
*/
|
|
11684
|
+
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
11685
|
/**
|
|
11581
11686
|
*
|
|
11582
11687
|
* @summary Get deal by slug.
|
|
@@ -11674,6 +11779,31 @@ export declare const DealsApiFp: (configuration?: Configuration | undefined) =>
|
|
|
11674
11779
|
* @throws {RequiredError}
|
|
11675
11780
|
*/
|
|
11676
11781
|
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>>;
|
|
11782
|
+
/**
|
|
11783
|
+
*
|
|
11784
|
+
* @summary Get all deals.
|
|
11785
|
+
* @param {string} [id]
|
|
11786
|
+
* @param {string} [name]
|
|
11787
|
+
* @param {MarketingType} [marketingType]
|
|
11788
|
+
* @param {string} [countryId]
|
|
11789
|
+
* @param {string} [hospitalId]
|
|
11790
|
+
* @param {string} [hospitalName]
|
|
11791
|
+
* @param {string} [specialtyId]
|
|
11792
|
+
* @param {string} [specialtyTypeId]
|
|
11793
|
+
* @param {string} [serviceId]
|
|
11794
|
+
* @param {string} [exceptHospitalId]
|
|
11795
|
+
* @param {string} [exceptDealId]
|
|
11796
|
+
* @param {Array<string>} [ids]
|
|
11797
|
+
* @param {string} [languageCode]
|
|
11798
|
+
* @param {boolean} [showHidden]
|
|
11799
|
+
* @param {boolean} [returnDefaultValue]
|
|
11800
|
+
* @param {number} [page]
|
|
11801
|
+
* @param {number} [limit]
|
|
11802
|
+
* @param {Date} [lastRetrieved]
|
|
11803
|
+
* @param {*} [options] Override http request option.
|
|
11804
|
+
* @throws {RequiredError}
|
|
11805
|
+
*/
|
|
11806
|
+
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
11807
|
/**
|
|
11678
11808
|
*
|
|
11679
11809
|
* @summary Get deal by slug.
|
|
@@ -11771,6 +11901,31 @@ export declare const DealsApiFactory: (configuration?: Configuration | undefined
|
|
|
11771
11901
|
* @throws {RequiredError}
|
|
11772
11902
|
*/
|
|
11773
11903
|
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>;
|
|
11904
|
+
/**
|
|
11905
|
+
*
|
|
11906
|
+
* @summary Get all deals.
|
|
11907
|
+
* @param {string} [id]
|
|
11908
|
+
* @param {string} [name]
|
|
11909
|
+
* @param {MarketingType} [marketingType]
|
|
11910
|
+
* @param {string} [countryId]
|
|
11911
|
+
* @param {string} [hospitalId]
|
|
11912
|
+
* @param {string} [hospitalName]
|
|
11913
|
+
* @param {string} [specialtyId]
|
|
11914
|
+
* @param {string} [specialtyTypeId]
|
|
11915
|
+
* @param {string} [serviceId]
|
|
11916
|
+
* @param {string} [exceptHospitalId]
|
|
11917
|
+
* @param {string} [exceptDealId]
|
|
11918
|
+
* @param {Array<string>} [ids]
|
|
11919
|
+
* @param {string} [languageCode]
|
|
11920
|
+
* @param {boolean} [showHidden]
|
|
11921
|
+
* @param {boolean} [returnDefaultValue]
|
|
11922
|
+
* @param {number} [page]
|
|
11923
|
+
* @param {number} [limit]
|
|
11924
|
+
* @param {Date} [lastRetrieved]
|
|
11925
|
+
* @param {*} [options] Override http request option.
|
|
11926
|
+
* @throws {RequiredError}
|
|
11927
|
+
*/
|
|
11928
|
+
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
11929
|
/**
|
|
11775
11930
|
*
|
|
11776
11931
|
* @summary Get deal by slug.
|
|
@@ -11876,6 +12031,32 @@ export declare class DealsApi extends BaseAPI {
|
|
|
11876
12031
|
* @memberof DealsApi
|
|
11877
12032
|
*/
|
|
11878
12033
|
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>>;
|
|
12034
|
+
/**
|
|
12035
|
+
*
|
|
12036
|
+
* @summary Get all deals.
|
|
12037
|
+
* @param {string} [id]
|
|
12038
|
+
* @param {string} [name]
|
|
12039
|
+
* @param {MarketingType} [marketingType]
|
|
12040
|
+
* @param {string} [countryId]
|
|
12041
|
+
* @param {string} [hospitalId]
|
|
12042
|
+
* @param {string} [hospitalName]
|
|
12043
|
+
* @param {string} [specialtyId]
|
|
12044
|
+
* @param {string} [specialtyTypeId]
|
|
12045
|
+
* @param {string} [serviceId]
|
|
12046
|
+
* @param {string} [exceptHospitalId]
|
|
12047
|
+
* @param {string} [exceptDealId]
|
|
12048
|
+
* @param {Array<string>} [ids]
|
|
12049
|
+
* @param {string} [languageCode]
|
|
12050
|
+
* @param {boolean} [showHidden]
|
|
12051
|
+
* @param {boolean} [returnDefaultValue]
|
|
12052
|
+
* @param {number} [page]
|
|
12053
|
+
* @param {number} [limit]
|
|
12054
|
+
* @param {Date} [lastRetrieved]
|
|
12055
|
+
* @param {*} [options] Override http request option.
|
|
12056
|
+
* @throws {RequiredError}
|
|
12057
|
+
* @memberof DealsApi
|
|
12058
|
+
*/
|
|
12059
|
+
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
12060
|
/**
|
|
11880
12061
|
*
|
|
11881
12062
|
* @summary Get deal by slug.
|