ch-api-client-typescript2 4.0.5 → 4.0.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/.github/workflows/publish-npm.yml +15 -0
- package/lib/api.d.ts +46 -20
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +63 -28
- package/package.json +1 -1
- package/src/api.ts +78 -32
package/src/api.ts
CHANGED
|
@@ -3307,16 +3307,16 @@ export interface DealModel {
|
|
|
3307
3307
|
'content'?: string | null;
|
|
3308
3308
|
/**
|
|
3309
3309
|
*
|
|
3310
|
-
* @type {
|
|
3310
|
+
* @type {Array<LocalizedUrlModel>}
|
|
3311
3311
|
* @memberof DealModel
|
|
3312
3312
|
*/
|
|
3313
|
-
'
|
|
3313
|
+
'localizedUrls'?: Array<LocalizedUrlModel> | null;
|
|
3314
3314
|
/**
|
|
3315
3315
|
*
|
|
3316
|
-
* @type {
|
|
3316
|
+
* @type {number}
|
|
3317
3317
|
* @memberof DealModel
|
|
3318
3318
|
*/
|
|
3319
|
-
'
|
|
3319
|
+
'serviceDuration'?: number;
|
|
3320
3320
|
}
|
|
3321
3321
|
/**
|
|
3322
3322
|
*
|
|
@@ -3372,6 +3372,12 @@ export interface DealPackageItemModel {
|
|
|
3372
3372
|
* @memberof DealPackageItemModel
|
|
3373
3373
|
*/
|
|
3374
3374
|
'hospitalSlug'?: string | null;
|
|
3375
|
+
/**
|
|
3376
|
+
*
|
|
3377
|
+
* @type {string}
|
|
3378
|
+
* @memberof DealPackageItemModel
|
|
3379
|
+
*/
|
|
3380
|
+
'additionalServices'?: string | null;
|
|
3375
3381
|
/**
|
|
3376
3382
|
*
|
|
3377
3383
|
* @type {RefundPolicy}
|
|
@@ -14326,13 +14332,15 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
14326
14332
|
* @param {string} [countryId]
|
|
14327
14333
|
* @param {string} [hospitalId]
|
|
14328
14334
|
* @param {string} [hospitalName]
|
|
14335
|
+
* @param {string} [languageCode]
|
|
14336
|
+
* @param {boolean} [showHidden]
|
|
14329
14337
|
* @param {number} [page]
|
|
14330
14338
|
* @param {number} [limit]
|
|
14331
14339
|
* @param {Date} [lastRetrieved]
|
|
14332
14340
|
* @param {*} [options] Override http request option.
|
|
14333
14341
|
* @throws {RequiredError}
|
|
14334
14342
|
*/
|
|
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> => {
|
|
14343
|
+
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
14344
|
// verify required parameter 'dealId' is not null or undefined
|
|
14337
14345
|
assertParamExists('apiV2DealsDealIdPackagesGet', 'dealId', dealId)
|
|
14338
14346
|
const localVarPath = `/api/v2/deals/{dealId}/packages`
|
|
@@ -14372,6 +14380,14 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
14372
14380
|
localVarQueryParameter['HospitalName'] = hospitalName;
|
|
14373
14381
|
}
|
|
14374
14382
|
|
|
14383
|
+
if (languageCode !== undefined) {
|
|
14384
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
14385
|
+
}
|
|
14386
|
+
|
|
14387
|
+
if (showHidden !== undefined) {
|
|
14388
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
14389
|
+
}
|
|
14390
|
+
|
|
14375
14391
|
if (page !== undefined) {
|
|
14376
14392
|
localVarQueryParameter['page'] = page;
|
|
14377
14393
|
}
|
|
@@ -14402,10 +14418,11 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
14402
14418
|
* @summary Get DealPackage.
|
|
14403
14419
|
* @param {string} dealId
|
|
14404
14420
|
* @param {string} packageId
|
|
14421
|
+
* @param {string} [languageCode]
|
|
14405
14422
|
* @param {*} [options] Override http request option.
|
|
14406
14423
|
* @throws {RequiredError}
|
|
14407
14424
|
*/
|
|
14408
|
-
apiV2DealsDealIdPackagesPackageIdGet: async (dealId: string, packageId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14425
|
+
apiV2DealsDealIdPackagesPackageIdGet: async (dealId: string, packageId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14409
14426
|
// verify required parameter 'dealId' is not null or undefined
|
|
14410
14427
|
assertParamExists('apiV2DealsDealIdPackagesPackageIdGet', 'dealId', dealId)
|
|
14411
14428
|
// verify required parameter 'packageId' is not null or undefined
|
|
@@ -14424,6 +14441,10 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
14424
14441
|
const localVarHeaderParameter = {} as any;
|
|
14425
14442
|
const localVarQueryParameter = {} as any;
|
|
14426
14443
|
|
|
14444
|
+
if (languageCode !== undefined) {
|
|
14445
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
14446
|
+
}
|
|
14447
|
+
|
|
14427
14448
|
|
|
14428
14449
|
|
|
14429
14450
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -14439,13 +14460,14 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
14439
14460
|
*
|
|
14440
14461
|
* @summary Get all DealService.
|
|
14441
14462
|
* @param {string} dealId
|
|
14463
|
+
* @param {string} [languageCode]
|
|
14442
14464
|
* @param {number} [page]
|
|
14443
14465
|
* @param {number} [limit]
|
|
14444
14466
|
* @param {Date} [lastRetrieved]
|
|
14445
14467
|
* @param {*} [options] Override http request option.
|
|
14446
14468
|
* @throws {RequiredError}
|
|
14447
14469
|
*/
|
|
14448
|
-
apiV2DealsDealIdServicesGet: async (dealId: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14470
|
+
apiV2DealsDealIdServicesGet: async (dealId: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14449
14471
|
// verify required parameter 'dealId' is not null or undefined
|
|
14450
14472
|
assertParamExists('apiV2DealsDealIdServicesGet', 'dealId', dealId)
|
|
14451
14473
|
const localVarPath = `/api/v2/deals/{dealId}/services`
|
|
@@ -14461,6 +14483,10 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
14461
14483
|
const localVarHeaderParameter = {} as any;
|
|
14462
14484
|
const localVarQueryParameter = {} as any;
|
|
14463
14485
|
|
|
14486
|
+
if (languageCode !== undefined) {
|
|
14487
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
14488
|
+
}
|
|
14489
|
+
|
|
14464
14490
|
if (page !== undefined) {
|
|
14465
14491
|
localVarQueryParameter['page'] = page;
|
|
14466
14492
|
}
|
|
@@ -14491,10 +14517,11 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
14491
14517
|
* @summary Get DealService.
|
|
14492
14518
|
* @param {string} dealId
|
|
14493
14519
|
* @param {string} serviceId
|
|
14520
|
+
* @param {string} [languageCode]
|
|
14494
14521
|
* @param {*} [options] Override http request option.
|
|
14495
14522
|
* @throws {RequiredError}
|
|
14496
14523
|
*/
|
|
14497
|
-
apiV2DealsDealIdServicesServiceIdGet: async (dealId: string, serviceId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14524
|
+
apiV2DealsDealIdServicesServiceIdGet: async (dealId: string, serviceId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14498
14525
|
// verify required parameter 'dealId' is not null or undefined
|
|
14499
14526
|
assertParamExists('apiV2DealsDealIdServicesServiceIdGet', 'dealId', dealId)
|
|
14500
14527
|
// verify required parameter 'serviceId' is not null or undefined
|
|
@@ -14513,6 +14540,10 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
14513
14540
|
const localVarHeaderParameter = {} as any;
|
|
14514
14541
|
const localVarQueryParameter = {} as any;
|
|
14515
14542
|
|
|
14543
|
+
if (languageCode !== undefined) {
|
|
14544
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
14545
|
+
}
|
|
14546
|
+
|
|
14516
14547
|
|
|
14517
14548
|
|
|
14518
14549
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -14885,14 +14916,16 @@ export const DealsApiFp = function(configuration?: Configuration) {
|
|
|
14885
14916
|
* @param {string} [countryId]
|
|
14886
14917
|
* @param {string} [hospitalId]
|
|
14887
14918
|
* @param {string} [hospitalName]
|
|
14919
|
+
* @param {string} [languageCode]
|
|
14920
|
+
* @param {boolean} [showHidden]
|
|
14888
14921
|
* @param {number} [page]
|
|
14889
14922
|
* @param {number} [limit]
|
|
14890
14923
|
* @param {Date} [lastRetrieved]
|
|
14891
14924
|
* @param {*} [options] Override http request option.
|
|
14892
14925
|
* @throws {RequiredError}
|
|
14893
14926
|
*/
|
|
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);
|
|
14927
|
+
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>> {
|
|
14928
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DealsDealIdPackagesGet(dealId, relatedDealPackageId, dealName, name, countryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options);
|
|
14896
14929
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
14897
14930
|
},
|
|
14898
14931
|
/**
|
|
@@ -14900,25 +14933,27 @@ export const DealsApiFp = function(configuration?: Configuration) {
|
|
|
14900
14933
|
* @summary Get DealPackage.
|
|
14901
14934
|
* @param {string} dealId
|
|
14902
14935
|
* @param {string} packageId
|
|
14936
|
+
* @param {string} [languageCode]
|
|
14903
14937
|
* @param {*} [options] Override http request option.
|
|
14904
14938
|
* @throws {RequiredError}
|
|
14905
14939
|
*/
|
|
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);
|
|
14940
|
+
async apiV2DealsDealIdPackagesPackageIdGet(dealId: string, packageId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealPackageModel>> {
|
|
14941
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DealsDealIdPackagesPackageIdGet(dealId, packageId, languageCode, options);
|
|
14908
14942
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
14909
14943
|
},
|
|
14910
14944
|
/**
|
|
14911
14945
|
*
|
|
14912
14946
|
* @summary Get all DealService.
|
|
14913
14947
|
* @param {string} dealId
|
|
14948
|
+
* @param {string} [languageCode]
|
|
14914
14949
|
* @param {number} [page]
|
|
14915
14950
|
* @param {number} [limit]
|
|
14916
14951
|
* @param {Date} [lastRetrieved]
|
|
14917
14952
|
* @param {*} [options] Override http request option.
|
|
14918
14953
|
* @throws {RequiredError}
|
|
14919
14954
|
*/
|
|
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);
|
|
14955
|
+
async apiV2DealsDealIdServicesGet(dealId: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealServicesModel>> {
|
|
14956
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DealsDealIdServicesGet(dealId, languageCode, page, limit, lastRetrieved, options);
|
|
14922
14957
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
14923
14958
|
},
|
|
14924
14959
|
/**
|
|
@@ -14926,11 +14961,12 @@ export const DealsApiFp = function(configuration?: Configuration) {
|
|
|
14926
14961
|
* @summary Get DealService.
|
|
14927
14962
|
* @param {string} dealId
|
|
14928
14963
|
* @param {string} serviceId
|
|
14964
|
+
* @param {string} [languageCode]
|
|
14929
14965
|
* @param {*} [options] Override http request option.
|
|
14930
14966
|
* @throws {RequiredError}
|
|
14931
14967
|
*/
|
|
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);
|
|
14968
|
+
async apiV2DealsDealIdServicesServiceIdGet(dealId: string, serviceId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealServiceModel>> {
|
|
14969
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DealsDealIdServicesServiceIdGet(dealId, serviceId, languageCode, options);
|
|
14934
14970
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
14935
14971
|
},
|
|
14936
14972
|
/**
|
|
@@ -15042,49 +15078,54 @@ export const DealsApiFactory = function (configuration?: Configuration, basePath
|
|
|
15042
15078
|
* @param {string} [countryId]
|
|
15043
15079
|
* @param {string} [hospitalId]
|
|
15044
15080
|
* @param {string} [hospitalName]
|
|
15081
|
+
* @param {string} [languageCode]
|
|
15082
|
+
* @param {boolean} [showHidden]
|
|
15045
15083
|
* @param {number} [page]
|
|
15046
15084
|
* @param {number} [limit]
|
|
15047
15085
|
* @param {Date} [lastRetrieved]
|
|
15048
15086
|
* @param {*} [options] Override http request option.
|
|
15049
15087
|
* @throws {RequiredError}
|
|
15050
15088
|
*/
|
|
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));
|
|
15089
|
+
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> {
|
|
15090
|
+
return localVarFp.apiV2DealsDealIdPackagesGet(dealId, relatedDealPackageId, dealName, name, countryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
15053
15091
|
},
|
|
15054
15092
|
/**
|
|
15055
15093
|
*
|
|
15056
15094
|
* @summary Get DealPackage.
|
|
15057
15095
|
* @param {string} dealId
|
|
15058
15096
|
* @param {string} packageId
|
|
15097
|
+
* @param {string} [languageCode]
|
|
15059
15098
|
* @param {*} [options] Override http request option.
|
|
15060
15099
|
* @throws {RequiredError}
|
|
15061
15100
|
*/
|
|
15062
|
-
apiV2DealsDealIdPackagesPackageIdGet(dealId: string, packageId: string, options?: any): AxiosPromise<DealPackageModel> {
|
|
15063
|
-
return localVarFp.apiV2DealsDealIdPackagesPackageIdGet(dealId, packageId, options).then((request) => request(axios, basePath));
|
|
15101
|
+
apiV2DealsDealIdPackagesPackageIdGet(dealId: string, packageId: string, languageCode?: string, options?: any): AxiosPromise<DealPackageModel> {
|
|
15102
|
+
return localVarFp.apiV2DealsDealIdPackagesPackageIdGet(dealId, packageId, languageCode, options).then((request) => request(axios, basePath));
|
|
15064
15103
|
},
|
|
15065
15104
|
/**
|
|
15066
15105
|
*
|
|
15067
15106
|
* @summary Get all DealService.
|
|
15068
15107
|
* @param {string} dealId
|
|
15108
|
+
* @param {string} [languageCode]
|
|
15069
15109
|
* @param {number} [page]
|
|
15070
15110
|
* @param {number} [limit]
|
|
15071
15111
|
* @param {Date} [lastRetrieved]
|
|
15072
15112
|
* @param {*} [options] Override http request option.
|
|
15073
15113
|
* @throws {RequiredError}
|
|
15074
15114
|
*/
|
|
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));
|
|
15115
|
+
apiV2DealsDealIdServicesGet(dealId: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DealServicesModel> {
|
|
15116
|
+
return localVarFp.apiV2DealsDealIdServicesGet(dealId, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
15077
15117
|
},
|
|
15078
15118
|
/**
|
|
15079
15119
|
*
|
|
15080
15120
|
* @summary Get DealService.
|
|
15081
15121
|
* @param {string} dealId
|
|
15082
15122
|
* @param {string} serviceId
|
|
15123
|
+
* @param {string} [languageCode]
|
|
15083
15124
|
* @param {*} [options] Override http request option.
|
|
15084
15125
|
* @throws {RequiredError}
|
|
15085
15126
|
*/
|
|
15086
|
-
apiV2DealsDealIdServicesServiceIdGet(dealId: string, serviceId: string, options?: any): AxiosPromise<DealServiceModel> {
|
|
15087
|
-
return localVarFp.apiV2DealsDealIdServicesServiceIdGet(dealId, serviceId, options).then((request) => request(axios, basePath));
|
|
15127
|
+
apiV2DealsDealIdServicesServiceIdGet(dealId: string, serviceId: string, languageCode?: string, options?: any): AxiosPromise<DealServiceModel> {
|
|
15128
|
+
return localVarFp.apiV2DealsDealIdServicesServiceIdGet(dealId, serviceId, languageCode, options).then((request) => request(axios, basePath));
|
|
15088
15129
|
},
|
|
15089
15130
|
/**
|
|
15090
15131
|
*
|
|
@@ -15194,6 +15235,8 @@ export class DealsApi extends BaseAPI {
|
|
|
15194
15235
|
* @param {string} [countryId]
|
|
15195
15236
|
* @param {string} [hospitalId]
|
|
15196
15237
|
* @param {string} [hospitalName]
|
|
15238
|
+
* @param {string} [languageCode]
|
|
15239
|
+
* @param {boolean} [showHidden]
|
|
15197
15240
|
* @param {number} [page]
|
|
15198
15241
|
* @param {number} [limit]
|
|
15199
15242
|
* @param {Date} [lastRetrieved]
|
|
@@ -15201,8 +15244,8 @@ export class DealsApi extends BaseAPI {
|
|
|
15201
15244
|
* @throws {RequiredError}
|
|
15202
15245
|
* @memberof DealsApi
|
|
15203
15246
|
*/
|
|
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));
|
|
15247
|
+
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) {
|
|
15248
|
+
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
15249
|
}
|
|
15207
15250
|
|
|
15208
15251
|
/**
|
|
@@ -15210,18 +15253,20 @@ export class DealsApi extends BaseAPI {
|
|
|
15210
15253
|
* @summary Get DealPackage.
|
|
15211
15254
|
* @param {string} dealId
|
|
15212
15255
|
* @param {string} packageId
|
|
15256
|
+
* @param {string} [languageCode]
|
|
15213
15257
|
* @param {*} [options] Override http request option.
|
|
15214
15258
|
* @throws {RequiredError}
|
|
15215
15259
|
* @memberof DealsApi
|
|
15216
15260
|
*/
|
|
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));
|
|
15261
|
+
public apiV2DealsDealIdPackagesPackageIdGet(dealId: string, packageId: string, languageCode?: string, options?: AxiosRequestConfig) {
|
|
15262
|
+
return DealsApiFp(this.configuration).apiV2DealsDealIdPackagesPackageIdGet(dealId, packageId, languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
15219
15263
|
}
|
|
15220
15264
|
|
|
15221
15265
|
/**
|
|
15222
15266
|
*
|
|
15223
15267
|
* @summary Get all DealService.
|
|
15224
15268
|
* @param {string} dealId
|
|
15269
|
+
* @param {string} [languageCode]
|
|
15225
15270
|
* @param {number} [page]
|
|
15226
15271
|
* @param {number} [limit]
|
|
15227
15272
|
* @param {Date} [lastRetrieved]
|
|
@@ -15229,8 +15274,8 @@ export class DealsApi extends BaseAPI {
|
|
|
15229
15274
|
* @throws {RequiredError}
|
|
15230
15275
|
* @memberof DealsApi
|
|
15231
15276
|
*/
|
|
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));
|
|
15277
|
+
public apiV2DealsDealIdServicesGet(dealId: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
15278
|
+
return DealsApiFp(this.configuration).apiV2DealsDealIdServicesGet(dealId, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
15234
15279
|
}
|
|
15235
15280
|
|
|
15236
15281
|
/**
|
|
@@ -15238,12 +15283,13 @@ export class DealsApi extends BaseAPI {
|
|
|
15238
15283
|
* @summary Get DealService.
|
|
15239
15284
|
* @param {string} dealId
|
|
15240
15285
|
* @param {string} serviceId
|
|
15286
|
+
* @param {string} [languageCode]
|
|
15241
15287
|
* @param {*} [options] Override http request option.
|
|
15242
15288
|
* @throws {RequiredError}
|
|
15243
15289
|
* @memberof DealsApi
|
|
15244
15290
|
*/
|
|
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));
|
|
15291
|
+
public apiV2DealsDealIdServicesServiceIdGet(dealId: string, serviceId: string, languageCode?: string, options?: AxiosRequestConfig) {
|
|
15292
|
+
return DealsApiFp(this.configuration).apiV2DealsDealIdServicesServiceIdGet(dealId, serviceId, languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
15247
15293
|
}
|
|
15248
15294
|
|
|
15249
15295
|
/**
|