ch-api-client-typescript2 4.0.4 → 4.0.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/.github/workflows/publish-npm.yml +15 -0
- package/lib/api.d.ts +48 -34
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +63 -28
- package/package.json +1 -1
- package/src/api.ts +80 -46
package/src/api.ts
CHANGED
|
@@ -3081,12 +3081,6 @@ export interface DealItemModel {
|
|
|
3081
3081
|
* @memberof DealItemModel
|
|
3082
3082
|
*/
|
|
3083
3083
|
'slug'?: string | null;
|
|
3084
|
-
/**
|
|
3085
|
-
*
|
|
3086
|
-
* @type {string}
|
|
3087
|
-
* @memberof DealItemModel
|
|
3088
|
-
*/
|
|
3089
|
-
'description'?: string | null;
|
|
3090
3084
|
/**
|
|
3091
3085
|
*
|
|
3092
3086
|
* @type {boolean}
|
|
@@ -3221,12 +3215,6 @@ export interface DealModel {
|
|
|
3221
3215
|
* @memberof DealModel
|
|
3222
3216
|
*/
|
|
3223
3217
|
'slug'?: string | null;
|
|
3224
|
-
/**
|
|
3225
|
-
*
|
|
3226
|
-
* @type {string}
|
|
3227
|
-
* @memberof DealModel
|
|
3228
|
-
*/
|
|
3229
|
-
'description'?: string | null;
|
|
3230
3218
|
/**
|
|
3231
3219
|
*
|
|
3232
3220
|
* @type {boolean}
|
|
@@ -3298,25 +3286,25 @@ export interface DealModel {
|
|
|
3298
3286
|
* @type {string}
|
|
3299
3287
|
* @memberof DealModel
|
|
3300
3288
|
*/
|
|
3301
|
-
'
|
|
3289
|
+
'description'?: string | null;
|
|
3302
3290
|
/**
|
|
3303
3291
|
*
|
|
3304
3292
|
* @type {string}
|
|
3305
3293
|
* @memberof DealModel
|
|
3306
3294
|
*/
|
|
3307
|
-
'
|
|
3295
|
+
'overview'?: string | null;
|
|
3308
3296
|
/**
|
|
3309
3297
|
*
|
|
3310
|
-
* @type {
|
|
3298
|
+
* @type {string}
|
|
3311
3299
|
* @memberof DealModel
|
|
3312
3300
|
*/
|
|
3313
|
-
'
|
|
3301
|
+
'content'?: string | null;
|
|
3314
3302
|
/**
|
|
3315
3303
|
*
|
|
3316
|
-
* @type {
|
|
3304
|
+
* @type {number}
|
|
3317
3305
|
* @memberof DealModel
|
|
3318
3306
|
*/
|
|
3319
|
-
'
|
|
3307
|
+
'serviceDuration'?: number;
|
|
3320
3308
|
}
|
|
3321
3309
|
/**
|
|
3322
3310
|
*
|
|
@@ -3372,6 +3360,12 @@ export interface DealPackageItemModel {
|
|
|
3372
3360
|
* @memberof DealPackageItemModel
|
|
3373
3361
|
*/
|
|
3374
3362
|
'hospitalSlug'?: string | null;
|
|
3363
|
+
/**
|
|
3364
|
+
*
|
|
3365
|
+
* @type {string}
|
|
3366
|
+
* @memberof DealPackageItemModel
|
|
3367
|
+
*/
|
|
3368
|
+
'additionalServices'?: string | null;
|
|
3375
3369
|
/**
|
|
3376
3370
|
*
|
|
3377
3371
|
* @type {RefundPolicy}
|
|
@@ -14326,13 +14320,15 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
14326
14320
|
* @param {string} [countryId]
|
|
14327
14321
|
* @param {string} [hospitalId]
|
|
14328
14322
|
* @param {string} [hospitalName]
|
|
14323
|
+
* @param {string} [languageCode]
|
|
14324
|
+
* @param {boolean} [showHidden]
|
|
14329
14325
|
* @param {number} [page]
|
|
14330
14326
|
* @param {number} [limit]
|
|
14331
14327
|
* @param {Date} [lastRetrieved]
|
|
14332
14328
|
* @param {*} [options] Override http request option.
|
|
14333
14329
|
* @throws {RequiredError}
|
|
14334
14330
|
*/
|
|
14335
|
-
apiV2DealsDealIdPackagesGet: async (dealId: string, relatedDealPackageId?: string, dealName?: string, name?: string, countryId?: string, hospitalId?: string, hospitalName?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14331
|
+
apiV2DealsDealIdPackagesGet: async (dealId: string, relatedDealPackageId?: string, dealName?: string, name?: string, countryId?: string, hospitalId?: string, hospitalName?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14336
14332
|
// verify required parameter 'dealId' is not null or undefined
|
|
14337
14333
|
assertParamExists('apiV2DealsDealIdPackagesGet', 'dealId', dealId)
|
|
14338
14334
|
const localVarPath = `/api/v2/deals/{dealId}/packages`
|
|
@@ -14372,6 +14368,14 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
14372
14368
|
localVarQueryParameter['HospitalName'] = hospitalName;
|
|
14373
14369
|
}
|
|
14374
14370
|
|
|
14371
|
+
if (languageCode !== undefined) {
|
|
14372
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
14373
|
+
}
|
|
14374
|
+
|
|
14375
|
+
if (showHidden !== undefined) {
|
|
14376
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
14377
|
+
}
|
|
14378
|
+
|
|
14375
14379
|
if (page !== undefined) {
|
|
14376
14380
|
localVarQueryParameter['page'] = page;
|
|
14377
14381
|
}
|
|
@@ -14402,10 +14406,11 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
14402
14406
|
* @summary Get DealPackage.
|
|
14403
14407
|
* @param {string} dealId
|
|
14404
14408
|
* @param {string} packageId
|
|
14409
|
+
* @param {string} [languageCode]
|
|
14405
14410
|
* @param {*} [options] Override http request option.
|
|
14406
14411
|
* @throws {RequiredError}
|
|
14407
14412
|
*/
|
|
14408
|
-
apiV2DealsDealIdPackagesPackageIdGet: async (dealId: string, packageId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14413
|
+
apiV2DealsDealIdPackagesPackageIdGet: async (dealId: string, packageId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14409
14414
|
// verify required parameter 'dealId' is not null or undefined
|
|
14410
14415
|
assertParamExists('apiV2DealsDealIdPackagesPackageIdGet', 'dealId', dealId)
|
|
14411
14416
|
// verify required parameter 'packageId' is not null or undefined
|
|
@@ -14424,6 +14429,10 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
14424
14429
|
const localVarHeaderParameter = {} as any;
|
|
14425
14430
|
const localVarQueryParameter = {} as any;
|
|
14426
14431
|
|
|
14432
|
+
if (languageCode !== undefined) {
|
|
14433
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
14434
|
+
}
|
|
14435
|
+
|
|
14427
14436
|
|
|
14428
14437
|
|
|
14429
14438
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -14439,13 +14448,14 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
14439
14448
|
*
|
|
14440
14449
|
* @summary Get all DealService.
|
|
14441
14450
|
* @param {string} dealId
|
|
14451
|
+
* @param {string} [languageCode]
|
|
14442
14452
|
* @param {number} [page]
|
|
14443
14453
|
* @param {number} [limit]
|
|
14444
14454
|
* @param {Date} [lastRetrieved]
|
|
14445
14455
|
* @param {*} [options] Override http request option.
|
|
14446
14456
|
* @throws {RequiredError}
|
|
14447
14457
|
*/
|
|
14448
|
-
apiV2DealsDealIdServicesGet: async (dealId: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14458
|
+
apiV2DealsDealIdServicesGet: async (dealId: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14449
14459
|
// verify required parameter 'dealId' is not null or undefined
|
|
14450
14460
|
assertParamExists('apiV2DealsDealIdServicesGet', 'dealId', dealId)
|
|
14451
14461
|
const localVarPath = `/api/v2/deals/{dealId}/services`
|
|
@@ -14461,6 +14471,10 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
14461
14471
|
const localVarHeaderParameter = {} as any;
|
|
14462
14472
|
const localVarQueryParameter = {} as any;
|
|
14463
14473
|
|
|
14474
|
+
if (languageCode !== undefined) {
|
|
14475
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
14476
|
+
}
|
|
14477
|
+
|
|
14464
14478
|
if (page !== undefined) {
|
|
14465
14479
|
localVarQueryParameter['page'] = page;
|
|
14466
14480
|
}
|
|
@@ -14491,10 +14505,11 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
14491
14505
|
* @summary Get DealService.
|
|
14492
14506
|
* @param {string} dealId
|
|
14493
14507
|
* @param {string} serviceId
|
|
14508
|
+
* @param {string} [languageCode]
|
|
14494
14509
|
* @param {*} [options] Override http request option.
|
|
14495
14510
|
* @throws {RequiredError}
|
|
14496
14511
|
*/
|
|
14497
|
-
apiV2DealsDealIdServicesServiceIdGet: async (dealId: string, serviceId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14512
|
+
apiV2DealsDealIdServicesServiceIdGet: async (dealId: string, serviceId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14498
14513
|
// verify required parameter 'dealId' is not null or undefined
|
|
14499
14514
|
assertParamExists('apiV2DealsDealIdServicesServiceIdGet', 'dealId', dealId)
|
|
14500
14515
|
// verify required parameter 'serviceId' is not null or undefined
|
|
@@ -14513,6 +14528,10 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
14513
14528
|
const localVarHeaderParameter = {} as any;
|
|
14514
14529
|
const localVarQueryParameter = {} as any;
|
|
14515
14530
|
|
|
14531
|
+
if (languageCode !== undefined) {
|
|
14532
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
14533
|
+
}
|
|
14534
|
+
|
|
14516
14535
|
|
|
14517
14536
|
|
|
14518
14537
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -14885,14 +14904,16 @@ export const DealsApiFp = function(configuration?: Configuration) {
|
|
|
14885
14904
|
* @param {string} [countryId]
|
|
14886
14905
|
* @param {string} [hospitalId]
|
|
14887
14906
|
* @param {string} [hospitalName]
|
|
14907
|
+
* @param {string} [languageCode]
|
|
14908
|
+
* @param {boolean} [showHidden]
|
|
14888
14909
|
* @param {number} [page]
|
|
14889
14910
|
* @param {number} [limit]
|
|
14890
14911
|
* @param {Date} [lastRetrieved]
|
|
14891
14912
|
* @param {*} [options] Override http request option.
|
|
14892
14913
|
* @throws {RequiredError}
|
|
14893
14914
|
*/
|
|
14894
|
-
async apiV2DealsDealIdPackagesGet(dealId: string, relatedDealPackageId?: string, dealName?: string, name?: string, countryId?: string, hospitalId?: string, hospitalName?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealPackagesModel>> {
|
|
14895
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DealsDealIdPackagesGet(dealId, relatedDealPackageId, dealName, name, countryId, hospitalId, hospitalName, page, limit, lastRetrieved, options);
|
|
14915
|
+
async apiV2DealsDealIdPackagesGet(dealId: string, relatedDealPackageId?: string, dealName?: string, name?: string, countryId?: string, hospitalId?: string, hospitalName?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealPackagesModel>> {
|
|
14916
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DealsDealIdPackagesGet(dealId, relatedDealPackageId, dealName, name, countryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options);
|
|
14896
14917
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
14897
14918
|
},
|
|
14898
14919
|
/**
|
|
@@ -14900,25 +14921,27 @@ export const DealsApiFp = function(configuration?: Configuration) {
|
|
|
14900
14921
|
* @summary Get DealPackage.
|
|
14901
14922
|
* @param {string} dealId
|
|
14902
14923
|
* @param {string} packageId
|
|
14924
|
+
* @param {string} [languageCode]
|
|
14903
14925
|
* @param {*} [options] Override http request option.
|
|
14904
14926
|
* @throws {RequiredError}
|
|
14905
14927
|
*/
|
|
14906
|
-
async apiV2DealsDealIdPackagesPackageIdGet(dealId: string, packageId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealPackageModel>> {
|
|
14907
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DealsDealIdPackagesPackageIdGet(dealId, packageId, options);
|
|
14928
|
+
async apiV2DealsDealIdPackagesPackageIdGet(dealId: string, packageId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealPackageModel>> {
|
|
14929
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DealsDealIdPackagesPackageIdGet(dealId, packageId, languageCode, options);
|
|
14908
14930
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
14909
14931
|
},
|
|
14910
14932
|
/**
|
|
14911
14933
|
*
|
|
14912
14934
|
* @summary Get all DealService.
|
|
14913
14935
|
* @param {string} dealId
|
|
14936
|
+
* @param {string} [languageCode]
|
|
14914
14937
|
* @param {number} [page]
|
|
14915
14938
|
* @param {number} [limit]
|
|
14916
14939
|
* @param {Date} [lastRetrieved]
|
|
14917
14940
|
* @param {*} [options] Override http request option.
|
|
14918
14941
|
* @throws {RequiredError}
|
|
14919
14942
|
*/
|
|
14920
|
-
async apiV2DealsDealIdServicesGet(dealId: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealServicesModel>> {
|
|
14921
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DealsDealIdServicesGet(dealId, page, limit, lastRetrieved, options);
|
|
14943
|
+
async apiV2DealsDealIdServicesGet(dealId: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealServicesModel>> {
|
|
14944
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DealsDealIdServicesGet(dealId, languageCode, page, limit, lastRetrieved, options);
|
|
14922
14945
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
14923
14946
|
},
|
|
14924
14947
|
/**
|
|
@@ -14926,11 +14949,12 @@ export const DealsApiFp = function(configuration?: Configuration) {
|
|
|
14926
14949
|
* @summary Get DealService.
|
|
14927
14950
|
* @param {string} dealId
|
|
14928
14951
|
* @param {string} serviceId
|
|
14952
|
+
* @param {string} [languageCode]
|
|
14929
14953
|
* @param {*} [options] Override http request option.
|
|
14930
14954
|
* @throws {RequiredError}
|
|
14931
14955
|
*/
|
|
14932
|
-
async apiV2DealsDealIdServicesServiceIdGet(dealId: string, serviceId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealServiceModel>> {
|
|
14933
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DealsDealIdServicesServiceIdGet(dealId, serviceId, options);
|
|
14956
|
+
async apiV2DealsDealIdServicesServiceIdGet(dealId: string, serviceId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealServiceModel>> {
|
|
14957
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DealsDealIdServicesServiceIdGet(dealId, serviceId, languageCode, options);
|
|
14934
14958
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
14935
14959
|
},
|
|
14936
14960
|
/**
|
|
@@ -15042,49 +15066,54 @@ export const DealsApiFactory = function (configuration?: Configuration, basePath
|
|
|
15042
15066
|
* @param {string} [countryId]
|
|
15043
15067
|
* @param {string} [hospitalId]
|
|
15044
15068
|
* @param {string} [hospitalName]
|
|
15069
|
+
* @param {string} [languageCode]
|
|
15070
|
+
* @param {boolean} [showHidden]
|
|
15045
15071
|
* @param {number} [page]
|
|
15046
15072
|
* @param {number} [limit]
|
|
15047
15073
|
* @param {Date} [lastRetrieved]
|
|
15048
15074
|
* @param {*} [options] Override http request option.
|
|
15049
15075
|
* @throws {RequiredError}
|
|
15050
15076
|
*/
|
|
15051
|
-
apiV2DealsDealIdPackagesGet(dealId: string, relatedDealPackageId?: string, dealName?: string, name?: string, countryId?: string, hospitalId?: string, hospitalName?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DealPackagesModel> {
|
|
15052
|
-
return localVarFp.apiV2DealsDealIdPackagesGet(dealId, relatedDealPackageId, dealName, name, countryId, hospitalId, hospitalName, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
15077
|
+
apiV2DealsDealIdPackagesGet(dealId: string, relatedDealPackageId?: string, dealName?: string, name?: string, countryId?: string, hospitalId?: string, hospitalName?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DealPackagesModel> {
|
|
15078
|
+
return localVarFp.apiV2DealsDealIdPackagesGet(dealId, relatedDealPackageId, dealName, name, countryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
15053
15079
|
},
|
|
15054
15080
|
/**
|
|
15055
15081
|
*
|
|
15056
15082
|
* @summary Get DealPackage.
|
|
15057
15083
|
* @param {string} dealId
|
|
15058
15084
|
* @param {string} packageId
|
|
15085
|
+
* @param {string} [languageCode]
|
|
15059
15086
|
* @param {*} [options] Override http request option.
|
|
15060
15087
|
* @throws {RequiredError}
|
|
15061
15088
|
*/
|
|
15062
|
-
apiV2DealsDealIdPackagesPackageIdGet(dealId: string, packageId: string, options?: any): AxiosPromise<DealPackageModel> {
|
|
15063
|
-
return localVarFp.apiV2DealsDealIdPackagesPackageIdGet(dealId, packageId, options).then((request) => request(axios, basePath));
|
|
15089
|
+
apiV2DealsDealIdPackagesPackageIdGet(dealId: string, packageId: string, languageCode?: string, options?: any): AxiosPromise<DealPackageModel> {
|
|
15090
|
+
return localVarFp.apiV2DealsDealIdPackagesPackageIdGet(dealId, packageId, languageCode, options).then((request) => request(axios, basePath));
|
|
15064
15091
|
},
|
|
15065
15092
|
/**
|
|
15066
15093
|
*
|
|
15067
15094
|
* @summary Get all DealService.
|
|
15068
15095
|
* @param {string} dealId
|
|
15096
|
+
* @param {string} [languageCode]
|
|
15069
15097
|
* @param {number} [page]
|
|
15070
15098
|
* @param {number} [limit]
|
|
15071
15099
|
* @param {Date} [lastRetrieved]
|
|
15072
15100
|
* @param {*} [options] Override http request option.
|
|
15073
15101
|
* @throws {RequiredError}
|
|
15074
15102
|
*/
|
|
15075
|
-
apiV2DealsDealIdServicesGet(dealId: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DealServicesModel> {
|
|
15076
|
-
return localVarFp.apiV2DealsDealIdServicesGet(dealId, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
15103
|
+
apiV2DealsDealIdServicesGet(dealId: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DealServicesModel> {
|
|
15104
|
+
return localVarFp.apiV2DealsDealIdServicesGet(dealId, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
15077
15105
|
},
|
|
15078
15106
|
/**
|
|
15079
15107
|
*
|
|
15080
15108
|
* @summary Get DealService.
|
|
15081
15109
|
* @param {string} dealId
|
|
15082
15110
|
* @param {string} serviceId
|
|
15111
|
+
* @param {string} [languageCode]
|
|
15083
15112
|
* @param {*} [options] Override http request option.
|
|
15084
15113
|
* @throws {RequiredError}
|
|
15085
15114
|
*/
|
|
15086
|
-
apiV2DealsDealIdServicesServiceIdGet(dealId: string, serviceId: string, options?: any): AxiosPromise<DealServiceModel> {
|
|
15087
|
-
return localVarFp.apiV2DealsDealIdServicesServiceIdGet(dealId, serviceId, options).then((request) => request(axios, basePath));
|
|
15115
|
+
apiV2DealsDealIdServicesServiceIdGet(dealId: string, serviceId: string, languageCode?: string, options?: any): AxiosPromise<DealServiceModel> {
|
|
15116
|
+
return localVarFp.apiV2DealsDealIdServicesServiceIdGet(dealId, serviceId, languageCode, options).then((request) => request(axios, basePath));
|
|
15088
15117
|
},
|
|
15089
15118
|
/**
|
|
15090
15119
|
*
|
|
@@ -15194,6 +15223,8 @@ export class DealsApi extends BaseAPI {
|
|
|
15194
15223
|
* @param {string} [countryId]
|
|
15195
15224
|
* @param {string} [hospitalId]
|
|
15196
15225
|
* @param {string} [hospitalName]
|
|
15226
|
+
* @param {string} [languageCode]
|
|
15227
|
+
* @param {boolean} [showHidden]
|
|
15197
15228
|
* @param {number} [page]
|
|
15198
15229
|
* @param {number} [limit]
|
|
15199
15230
|
* @param {Date} [lastRetrieved]
|
|
@@ -15201,8 +15232,8 @@ export class DealsApi extends BaseAPI {
|
|
|
15201
15232
|
* @throws {RequiredError}
|
|
15202
15233
|
* @memberof DealsApi
|
|
15203
15234
|
*/
|
|
15204
|
-
public apiV2DealsDealIdPackagesGet(dealId: string, relatedDealPackageId?: string, dealName?: string, name?: string, countryId?: string, hospitalId?: string, hospitalName?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
15205
|
-
return DealsApiFp(this.configuration).apiV2DealsDealIdPackagesGet(dealId, relatedDealPackageId, dealName, name, countryId, hospitalId, hospitalName, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
15235
|
+
public apiV2DealsDealIdPackagesGet(dealId: string, relatedDealPackageId?: string, dealName?: string, name?: string, countryId?: string, hospitalId?: string, hospitalName?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
15236
|
+
return DealsApiFp(this.configuration).apiV2DealsDealIdPackagesGet(dealId, relatedDealPackageId, dealName, name, countryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
15206
15237
|
}
|
|
15207
15238
|
|
|
15208
15239
|
/**
|
|
@@ -15210,18 +15241,20 @@ export class DealsApi extends BaseAPI {
|
|
|
15210
15241
|
* @summary Get DealPackage.
|
|
15211
15242
|
* @param {string} dealId
|
|
15212
15243
|
* @param {string} packageId
|
|
15244
|
+
* @param {string} [languageCode]
|
|
15213
15245
|
* @param {*} [options] Override http request option.
|
|
15214
15246
|
* @throws {RequiredError}
|
|
15215
15247
|
* @memberof DealsApi
|
|
15216
15248
|
*/
|
|
15217
|
-
public apiV2DealsDealIdPackagesPackageIdGet(dealId: string, packageId: string, options?: AxiosRequestConfig) {
|
|
15218
|
-
return DealsApiFp(this.configuration).apiV2DealsDealIdPackagesPackageIdGet(dealId, packageId, options).then((request) => request(this.axios, this.basePath));
|
|
15249
|
+
public apiV2DealsDealIdPackagesPackageIdGet(dealId: string, packageId: string, languageCode?: string, options?: AxiosRequestConfig) {
|
|
15250
|
+
return DealsApiFp(this.configuration).apiV2DealsDealIdPackagesPackageIdGet(dealId, packageId, languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
15219
15251
|
}
|
|
15220
15252
|
|
|
15221
15253
|
/**
|
|
15222
15254
|
*
|
|
15223
15255
|
* @summary Get all DealService.
|
|
15224
15256
|
* @param {string} dealId
|
|
15257
|
+
* @param {string} [languageCode]
|
|
15225
15258
|
* @param {number} [page]
|
|
15226
15259
|
* @param {number} [limit]
|
|
15227
15260
|
* @param {Date} [lastRetrieved]
|
|
@@ -15229,8 +15262,8 @@ export class DealsApi extends BaseAPI {
|
|
|
15229
15262
|
* @throws {RequiredError}
|
|
15230
15263
|
* @memberof DealsApi
|
|
15231
15264
|
*/
|
|
15232
|
-
public apiV2DealsDealIdServicesGet(dealId: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
15233
|
-
return DealsApiFp(this.configuration).apiV2DealsDealIdServicesGet(dealId, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
15265
|
+
public apiV2DealsDealIdServicesGet(dealId: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
15266
|
+
return DealsApiFp(this.configuration).apiV2DealsDealIdServicesGet(dealId, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
15234
15267
|
}
|
|
15235
15268
|
|
|
15236
15269
|
/**
|
|
@@ -15238,12 +15271,13 @@ export class DealsApi extends BaseAPI {
|
|
|
15238
15271
|
* @summary Get DealService.
|
|
15239
15272
|
* @param {string} dealId
|
|
15240
15273
|
* @param {string} serviceId
|
|
15274
|
+
* @param {string} [languageCode]
|
|
15241
15275
|
* @param {*} [options] Override http request option.
|
|
15242
15276
|
* @throws {RequiredError}
|
|
15243
15277
|
* @memberof DealsApi
|
|
15244
15278
|
*/
|
|
15245
|
-
public apiV2DealsDealIdServicesServiceIdGet(dealId: string, serviceId: string, options?: AxiosRequestConfig) {
|
|
15246
|
-
return DealsApiFp(this.configuration).apiV2DealsDealIdServicesServiceIdGet(dealId, serviceId, options).then((request) => request(this.axios, this.basePath));
|
|
15279
|
+
public apiV2DealsDealIdServicesServiceIdGet(dealId: string, serviceId: string, languageCode?: string, options?: AxiosRequestConfig) {
|
|
15280
|
+
return DealsApiFp(this.configuration).apiV2DealsDealIdServicesServiceIdGet(dealId, serviceId, languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
15247
15281
|
}
|
|
15248
15282
|
|
|
15249
15283
|
/**
|