ch-admin-api-client-typescript 4.0.3 → 4.0.6
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 +31 -35
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +28 -14
- package/package.json +1 -1
- package/src/api.ts +45 -41
package/lib/api.js
CHANGED
|
@@ -10572,13 +10572,14 @@ exports.DealsApiAxiosParamCreator = function (configuration) {
|
|
|
10572
10572
|
*
|
|
10573
10573
|
* @summary Get all DealService.
|
|
10574
10574
|
* @param {string} dealId
|
|
10575
|
+
* @param {string} [languageCode]
|
|
10575
10576
|
* @param {number} [page]
|
|
10576
10577
|
* @param {number} [limit]
|
|
10577
10578
|
* @param {Date} [lastRetrieved]
|
|
10578
10579
|
* @param {*} [options] Override http request option.
|
|
10579
10580
|
* @throws {RequiredError}
|
|
10580
10581
|
*/
|
|
10581
|
-
apiV1DealsDealIdServicesGet: function (dealId, page, limit, lastRetrieved, options) {
|
|
10582
|
+
apiV1DealsDealIdServicesGet: function (dealId, languageCode, page, limit, lastRetrieved, options) {
|
|
10582
10583
|
if (options === void 0) { options = {}; }
|
|
10583
10584
|
return __awaiter(_this, void 0, void 0, function () {
|
|
10584
10585
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -10603,6 +10604,9 @@ exports.DealsApiAxiosParamCreator = function (configuration) {
|
|
|
10603
10604
|
// authentication oauth2 required
|
|
10604
10605
|
// oauth required
|
|
10605
10606
|
_a.sent();
|
|
10607
|
+
if (languageCode !== undefined) {
|
|
10608
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
10609
|
+
}
|
|
10606
10610
|
if (page !== undefined) {
|
|
10607
10611
|
localVarQueryParameter['page'] = page;
|
|
10608
10612
|
}
|
|
@@ -10723,10 +10727,11 @@ exports.DealsApiAxiosParamCreator = function (configuration) {
|
|
|
10723
10727
|
* @summary Get DealService.
|
|
10724
10728
|
* @param {string} dealId
|
|
10725
10729
|
* @param {string} serviceId
|
|
10730
|
+
* @param {string} [languageCode]
|
|
10726
10731
|
* @param {*} [options] Override http request option.
|
|
10727
10732
|
* @throws {RequiredError}
|
|
10728
10733
|
*/
|
|
10729
|
-
apiV1DealsDealIdServicesServiceIdGet: function (dealId, serviceId, options) {
|
|
10734
|
+
apiV1DealsDealIdServicesServiceIdGet: function (dealId, serviceId, languageCode, options) {
|
|
10730
10735
|
if (options === void 0) { options = {}; }
|
|
10731
10736
|
return __awaiter(_this, void 0, void 0, function () {
|
|
10732
10737
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -10754,6 +10759,9 @@ exports.DealsApiAxiosParamCreator = function (configuration) {
|
|
|
10754
10759
|
// authentication oauth2 required
|
|
10755
10760
|
// oauth required
|
|
10756
10761
|
_a.sent();
|
|
10762
|
+
if (languageCode !== undefined) {
|
|
10763
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
10764
|
+
}
|
|
10757
10765
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10758
10766
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10759
10767
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -11358,18 +11366,19 @@ exports.DealsApiFp = function (configuration) {
|
|
|
11358
11366
|
*
|
|
11359
11367
|
* @summary Get all DealService.
|
|
11360
11368
|
* @param {string} dealId
|
|
11369
|
+
* @param {string} [languageCode]
|
|
11361
11370
|
* @param {number} [page]
|
|
11362
11371
|
* @param {number} [limit]
|
|
11363
11372
|
* @param {Date} [lastRetrieved]
|
|
11364
11373
|
* @param {*} [options] Override http request option.
|
|
11365
11374
|
* @throws {RequiredError}
|
|
11366
11375
|
*/
|
|
11367
|
-
apiV1DealsDealIdServicesGet: function (dealId, page, limit, lastRetrieved, options) {
|
|
11376
|
+
apiV1DealsDealIdServicesGet: function (dealId, languageCode, page, limit, lastRetrieved, options) {
|
|
11368
11377
|
return __awaiter(this, void 0, void 0, function () {
|
|
11369
11378
|
var localVarAxiosArgs;
|
|
11370
11379
|
return __generator(this, function (_a) {
|
|
11371
11380
|
switch (_a.label) {
|
|
11372
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DealsDealIdServicesGet(dealId, page, limit, lastRetrieved, options)];
|
|
11381
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DealsDealIdServicesGet(dealId, languageCode, page, limit, lastRetrieved, options)];
|
|
11373
11382
|
case 1:
|
|
11374
11383
|
localVarAxiosArgs = _a.sent();
|
|
11375
11384
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -11424,15 +11433,16 @@ exports.DealsApiFp = function (configuration) {
|
|
|
11424
11433
|
* @summary Get DealService.
|
|
11425
11434
|
* @param {string} dealId
|
|
11426
11435
|
* @param {string} serviceId
|
|
11436
|
+
* @param {string} [languageCode]
|
|
11427
11437
|
* @param {*} [options] Override http request option.
|
|
11428
11438
|
* @throws {RequiredError}
|
|
11429
11439
|
*/
|
|
11430
|
-
apiV1DealsDealIdServicesServiceIdGet: function (dealId, serviceId, options) {
|
|
11440
|
+
apiV1DealsDealIdServicesServiceIdGet: function (dealId, serviceId, languageCode, options) {
|
|
11431
11441
|
return __awaiter(this, void 0, void 0, function () {
|
|
11432
11442
|
var localVarAxiosArgs;
|
|
11433
11443
|
return __generator(this, function (_a) {
|
|
11434
11444
|
switch (_a.label) {
|
|
11435
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DealsDealIdServicesServiceIdGet(dealId, serviceId, options)];
|
|
11445
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DealsDealIdServicesServiceIdGet(dealId, serviceId, languageCode, options)];
|
|
11436
11446
|
case 1:
|
|
11437
11447
|
localVarAxiosArgs = _a.sent();
|
|
11438
11448
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -11698,14 +11708,15 @@ exports.DealsApiFactory = function (configuration, basePath, axios) {
|
|
|
11698
11708
|
*
|
|
11699
11709
|
* @summary Get all DealService.
|
|
11700
11710
|
* @param {string} dealId
|
|
11711
|
+
* @param {string} [languageCode]
|
|
11701
11712
|
* @param {number} [page]
|
|
11702
11713
|
* @param {number} [limit]
|
|
11703
11714
|
* @param {Date} [lastRetrieved]
|
|
11704
11715
|
* @param {*} [options] Override http request option.
|
|
11705
11716
|
* @throws {RequiredError}
|
|
11706
11717
|
*/
|
|
11707
|
-
apiV1DealsDealIdServicesGet: function (dealId, page, limit, lastRetrieved, options) {
|
|
11708
|
-
return localVarFp.apiV1DealsDealIdServicesGet(dealId, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
11718
|
+
apiV1DealsDealIdServicesGet: function (dealId, languageCode, page, limit, lastRetrieved, options) {
|
|
11719
|
+
return localVarFp.apiV1DealsDealIdServicesGet(dealId, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
11709
11720
|
},
|
|
11710
11721
|
/**
|
|
11711
11722
|
*
|
|
@@ -11734,11 +11745,12 @@ exports.DealsApiFactory = function (configuration, basePath, axios) {
|
|
|
11734
11745
|
* @summary Get DealService.
|
|
11735
11746
|
* @param {string} dealId
|
|
11736
11747
|
* @param {string} serviceId
|
|
11748
|
+
* @param {string} [languageCode]
|
|
11737
11749
|
* @param {*} [options] Override http request option.
|
|
11738
11750
|
* @throws {RequiredError}
|
|
11739
11751
|
*/
|
|
11740
|
-
apiV1DealsDealIdServicesServiceIdGet: function (dealId, serviceId, options) {
|
|
11741
|
-
return localVarFp.apiV1DealsDealIdServicesServiceIdGet(dealId, serviceId, options).then(function (request) { return request(axios, basePath); });
|
|
11752
|
+
apiV1DealsDealIdServicesServiceIdGet: function (dealId, serviceId, languageCode, options) {
|
|
11753
|
+
return localVarFp.apiV1DealsDealIdServicesServiceIdGet(dealId, serviceId, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
11742
11754
|
},
|
|
11743
11755
|
/**
|
|
11744
11756
|
*
|
|
@@ -11968,6 +11980,7 @@ var DealsApi = /** @class */ (function (_super) {
|
|
|
11968
11980
|
*
|
|
11969
11981
|
* @summary Get all DealService.
|
|
11970
11982
|
* @param {string} dealId
|
|
11983
|
+
* @param {string} [languageCode]
|
|
11971
11984
|
* @param {number} [page]
|
|
11972
11985
|
* @param {number} [limit]
|
|
11973
11986
|
* @param {Date} [lastRetrieved]
|
|
@@ -11975,9 +11988,9 @@ var DealsApi = /** @class */ (function (_super) {
|
|
|
11975
11988
|
* @throws {RequiredError}
|
|
11976
11989
|
* @memberof DealsApi
|
|
11977
11990
|
*/
|
|
11978
|
-
DealsApi.prototype.apiV1DealsDealIdServicesGet = function (dealId, page, limit, lastRetrieved, options) {
|
|
11991
|
+
DealsApi.prototype.apiV1DealsDealIdServicesGet = function (dealId, languageCode, page, limit, lastRetrieved, options) {
|
|
11979
11992
|
var _this = this;
|
|
11980
|
-
return exports.DealsApiFp(this.configuration).apiV1DealsDealIdServicesGet(dealId, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
11993
|
+
return exports.DealsApiFp(this.configuration).apiV1DealsDealIdServicesGet(dealId, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
11981
11994
|
};
|
|
11982
11995
|
/**
|
|
11983
11996
|
*
|
|
@@ -12010,13 +12023,14 @@ var DealsApi = /** @class */ (function (_super) {
|
|
|
12010
12023
|
* @summary Get DealService.
|
|
12011
12024
|
* @param {string} dealId
|
|
12012
12025
|
* @param {string} serviceId
|
|
12026
|
+
* @param {string} [languageCode]
|
|
12013
12027
|
* @param {*} [options] Override http request option.
|
|
12014
12028
|
* @throws {RequiredError}
|
|
12015
12029
|
* @memberof DealsApi
|
|
12016
12030
|
*/
|
|
12017
|
-
DealsApi.prototype.apiV1DealsDealIdServicesServiceIdGet = function (dealId, serviceId, options) {
|
|
12031
|
+
DealsApi.prototype.apiV1DealsDealIdServicesServiceIdGet = function (dealId, serviceId, languageCode, options) {
|
|
12018
12032
|
var _this = this;
|
|
12019
|
-
return exports.DealsApiFp(this.configuration).apiV1DealsDealIdServicesServiceIdGet(dealId, serviceId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
12033
|
+
return exports.DealsApiFp(this.configuration).apiV1DealsDealIdServicesServiceIdGet(dealId, serviceId, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
12020
12034
|
};
|
|
12021
12035
|
/**
|
|
12022
12036
|
*
|
package/package.json
CHANGED
package/src/api.ts
CHANGED
|
@@ -5310,6 +5310,12 @@ export interface DealPackageItemModel {
|
|
|
5310
5310
|
* @memberof DealPackageItemModel
|
|
5311
5311
|
*/
|
|
5312
5312
|
'hospitalSlug'?: string | null;
|
|
5313
|
+
/**
|
|
5314
|
+
*
|
|
5315
|
+
* @type {string}
|
|
5316
|
+
* @memberof DealPackageItemModel
|
|
5317
|
+
*/
|
|
5318
|
+
'additionalServices'?: string | null;
|
|
5313
5319
|
/**
|
|
5314
5320
|
*
|
|
5315
5321
|
* @type {RefundPolicy}
|
|
@@ -13358,12 +13364,6 @@ export interface UpdateSpecialtyCommand {
|
|
|
13358
13364
|
* @interface UpdateSpecialtyTypeCommand
|
|
13359
13365
|
*/
|
|
13360
13366
|
export interface UpdateSpecialtyTypeCommand {
|
|
13361
|
-
/**
|
|
13362
|
-
*
|
|
13363
|
-
* @type {string}
|
|
13364
|
-
* @memberof UpdateSpecialtyTypeCommand
|
|
13365
|
-
*/
|
|
13366
|
-
'languageCode'?: string | null;
|
|
13367
13367
|
/**
|
|
13368
13368
|
*
|
|
13369
13369
|
* @type {string}
|
|
@@ -13378,16 +13378,16 @@ export interface UpdateSpecialtyTypeCommand {
|
|
|
13378
13378
|
'slug'?: string | null;
|
|
13379
13379
|
/**
|
|
13380
13380
|
*
|
|
13381
|
-
* @type {
|
|
13381
|
+
* @type {string}
|
|
13382
13382
|
* @memberof UpdateSpecialtyTypeCommand
|
|
13383
13383
|
*/
|
|
13384
|
-
'
|
|
13384
|
+
'description'?: string | null;
|
|
13385
13385
|
/**
|
|
13386
13386
|
*
|
|
13387
13387
|
* @type {string}
|
|
13388
13388
|
* @memberof UpdateSpecialtyTypeCommand
|
|
13389
13389
|
*/
|
|
13390
|
-
'
|
|
13390
|
+
'content'?: string | null;
|
|
13391
13391
|
/**
|
|
13392
13392
|
*
|
|
13393
13393
|
* @type {MarketingType}
|
|
@@ -13396,34 +13396,22 @@ export interface UpdateSpecialtyTypeCommand {
|
|
|
13396
13396
|
'marketingType'?: MarketingType;
|
|
13397
13397
|
/**
|
|
13398
13398
|
*
|
|
13399
|
-
* @type {
|
|
13400
|
-
* @memberof UpdateSpecialtyTypeCommand
|
|
13401
|
-
*/
|
|
13402
|
-
'specialtiesCount'?: number;
|
|
13403
|
-
/**
|
|
13404
|
-
*
|
|
13405
|
-
* @type {Array<MediaModel>}
|
|
13406
|
-
* @memberof UpdateSpecialtyTypeCommand
|
|
13407
|
-
*/
|
|
13408
|
-
'medias'?: Array<MediaModel> | null;
|
|
13409
|
-
/**
|
|
13410
|
-
*
|
|
13411
|
-
* @type {AuditableEntity}
|
|
13399
|
+
* @type {string}
|
|
13412
13400
|
* @memberof UpdateSpecialtyTypeCommand
|
|
13413
13401
|
*/
|
|
13414
|
-
'
|
|
13402
|
+
'languageCode'?: string | null;
|
|
13415
13403
|
/**
|
|
13416
13404
|
*
|
|
13417
|
-
* @type {
|
|
13405
|
+
* @type {boolean}
|
|
13418
13406
|
* @memberof UpdateSpecialtyTypeCommand
|
|
13419
13407
|
*/
|
|
13420
|
-
'
|
|
13408
|
+
'confirmed'?: boolean;
|
|
13421
13409
|
/**
|
|
13422
13410
|
*
|
|
13423
|
-
* @type {
|
|
13411
|
+
* @type {Array<MediaModel>}
|
|
13424
13412
|
* @memberof UpdateSpecialtyTypeCommand
|
|
13425
13413
|
*/
|
|
13426
|
-
'
|
|
13414
|
+
'medias'?: Array<MediaModel> | null;
|
|
13427
13415
|
}
|
|
13428
13416
|
/**
|
|
13429
13417
|
*
|
|
@@ -22825,13 +22813,14 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
22825
22813
|
*
|
|
22826
22814
|
* @summary Get all DealService.
|
|
22827
22815
|
* @param {string} dealId
|
|
22816
|
+
* @param {string} [languageCode]
|
|
22828
22817
|
* @param {number} [page]
|
|
22829
22818
|
* @param {number} [limit]
|
|
22830
22819
|
* @param {Date} [lastRetrieved]
|
|
22831
22820
|
* @param {*} [options] Override http request option.
|
|
22832
22821
|
* @throws {RequiredError}
|
|
22833
22822
|
*/
|
|
22834
|
-
apiV1DealsDealIdServicesGet: async (dealId: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22823
|
+
apiV1DealsDealIdServicesGet: async (dealId: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22835
22824
|
// verify required parameter 'dealId' is not null or undefined
|
|
22836
22825
|
assertParamExists('apiV1DealsDealIdServicesGet', 'dealId', dealId)
|
|
22837
22826
|
const localVarPath = `/api/v1/deals/{dealId}/services`
|
|
@@ -22851,6 +22840,10 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
22851
22840
|
// oauth required
|
|
22852
22841
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
22853
22842
|
|
|
22843
|
+
if (languageCode !== undefined) {
|
|
22844
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
22845
|
+
}
|
|
22846
|
+
|
|
22854
22847
|
if (page !== undefined) {
|
|
22855
22848
|
localVarQueryParameter['page'] = page;
|
|
22856
22849
|
}
|
|
@@ -22965,10 +22958,11 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
22965
22958
|
* @summary Get DealService.
|
|
22966
22959
|
* @param {string} dealId
|
|
22967
22960
|
* @param {string} serviceId
|
|
22961
|
+
* @param {string} [languageCode]
|
|
22968
22962
|
* @param {*} [options] Override http request option.
|
|
22969
22963
|
* @throws {RequiredError}
|
|
22970
22964
|
*/
|
|
22971
|
-
apiV1DealsDealIdServicesServiceIdGet: async (dealId: string, serviceId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22965
|
+
apiV1DealsDealIdServicesServiceIdGet: async (dealId: string, serviceId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22972
22966
|
// verify required parameter 'dealId' is not null or undefined
|
|
22973
22967
|
assertParamExists('apiV1DealsDealIdServicesServiceIdGet', 'dealId', dealId)
|
|
22974
22968
|
// verify required parameter 'serviceId' is not null or undefined
|
|
@@ -22991,6 +22985,10 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
22991
22985
|
// oauth required
|
|
22992
22986
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
22993
22987
|
|
|
22988
|
+
if (languageCode !== undefined) {
|
|
22989
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
22990
|
+
}
|
|
22991
|
+
|
|
22994
22992
|
|
|
22995
22993
|
|
|
22996
22994
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -23547,14 +23545,15 @@ export const DealsApiFp = function(configuration?: Configuration) {
|
|
|
23547
23545
|
*
|
|
23548
23546
|
* @summary Get all DealService.
|
|
23549
23547
|
* @param {string} dealId
|
|
23548
|
+
* @param {string} [languageCode]
|
|
23550
23549
|
* @param {number} [page]
|
|
23551
23550
|
* @param {number} [limit]
|
|
23552
23551
|
* @param {Date} [lastRetrieved]
|
|
23553
23552
|
* @param {*} [options] Override http request option.
|
|
23554
23553
|
* @throws {RequiredError}
|
|
23555
23554
|
*/
|
|
23556
|
-
async apiV1DealsDealIdServicesGet(dealId: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealServicesModel>> {
|
|
23557
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DealsDealIdServicesGet(dealId, page, limit, lastRetrieved, options);
|
|
23555
|
+
async apiV1DealsDealIdServicesGet(dealId: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealServicesModel>> {
|
|
23556
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DealsDealIdServicesGet(dealId, languageCode, page, limit, lastRetrieved, options);
|
|
23558
23557
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
23559
23558
|
},
|
|
23560
23559
|
/**
|
|
@@ -23586,11 +23585,12 @@ export const DealsApiFp = function(configuration?: Configuration) {
|
|
|
23586
23585
|
* @summary Get DealService.
|
|
23587
23586
|
* @param {string} dealId
|
|
23588
23587
|
* @param {string} serviceId
|
|
23588
|
+
* @param {string} [languageCode]
|
|
23589
23589
|
* @param {*} [options] Override http request option.
|
|
23590
23590
|
* @throws {RequiredError}
|
|
23591
23591
|
*/
|
|
23592
|
-
async apiV1DealsDealIdServicesServiceIdGet(dealId: string, serviceId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealServiceModel>> {
|
|
23593
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DealsDealIdServicesServiceIdGet(dealId, serviceId, options);
|
|
23592
|
+
async apiV1DealsDealIdServicesServiceIdGet(dealId: string, serviceId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealServiceModel>> {
|
|
23593
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DealsDealIdServicesServiceIdGet(dealId, serviceId, languageCode, options);
|
|
23594
23594
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
23595
23595
|
},
|
|
23596
23596
|
/**
|
|
@@ -23807,14 +23807,15 @@ export const DealsApiFactory = function (configuration?: Configuration, basePath
|
|
|
23807
23807
|
*
|
|
23808
23808
|
* @summary Get all DealService.
|
|
23809
23809
|
* @param {string} dealId
|
|
23810
|
+
* @param {string} [languageCode]
|
|
23810
23811
|
* @param {number} [page]
|
|
23811
23812
|
* @param {number} [limit]
|
|
23812
23813
|
* @param {Date} [lastRetrieved]
|
|
23813
23814
|
* @param {*} [options] Override http request option.
|
|
23814
23815
|
* @throws {RequiredError}
|
|
23815
23816
|
*/
|
|
23816
|
-
apiV1DealsDealIdServicesGet(dealId: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DealServicesModel> {
|
|
23817
|
-
return localVarFp.apiV1DealsDealIdServicesGet(dealId, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
23817
|
+
apiV1DealsDealIdServicesGet(dealId: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DealServicesModel> {
|
|
23818
|
+
return localVarFp.apiV1DealsDealIdServicesGet(dealId, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
23818
23819
|
},
|
|
23819
23820
|
/**
|
|
23820
23821
|
*
|
|
@@ -23843,11 +23844,12 @@ export const DealsApiFactory = function (configuration?: Configuration, basePath
|
|
|
23843
23844
|
* @summary Get DealService.
|
|
23844
23845
|
* @param {string} dealId
|
|
23845
23846
|
* @param {string} serviceId
|
|
23847
|
+
* @param {string} [languageCode]
|
|
23846
23848
|
* @param {*} [options] Override http request option.
|
|
23847
23849
|
* @throws {RequiredError}
|
|
23848
23850
|
*/
|
|
23849
|
-
apiV1DealsDealIdServicesServiceIdGet(dealId: string, serviceId: string, options?: any): AxiosPromise<DealServiceModel> {
|
|
23850
|
-
return localVarFp.apiV1DealsDealIdServicesServiceIdGet(dealId, serviceId, options).then((request) => request(axios, basePath));
|
|
23851
|
+
apiV1DealsDealIdServicesServiceIdGet(dealId: string, serviceId: string, languageCode?: string, options?: any): AxiosPromise<DealServiceModel> {
|
|
23852
|
+
return localVarFp.apiV1DealsDealIdServicesServiceIdGet(dealId, serviceId, languageCode, options).then((request) => request(axios, basePath));
|
|
23851
23853
|
},
|
|
23852
23854
|
/**
|
|
23853
23855
|
*
|
|
@@ -24074,6 +24076,7 @@ export class DealsApi extends BaseAPI {
|
|
|
24074
24076
|
*
|
|
24075
24077
|
* @summary Get all DealService.
|
|
24076
24078
|
* @param {string} dealId
|
|
24079
|
+
* @param {string} [languageCode]
|
|
24077
24080
|
* @param {number} [page]
|
|
24078
24081
|
* @param {number} [limit]
|
|
24079
24082
|
* @param {Date} [lastRetrieved]
|
|
@@ -24081,8 +24084,8 @@ export class DealsApi extends BaseAPI {
|
|
|
24081
24084
|
* @throws {RequiredError}
|
|
24082
24085
|
* @memberof DealsApi
|
|
24083
24086
|
*/
|
|
24084
|
-
public apiV1DealsDealIdServicesGet(dealId: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
24085
|
-
return DealsApiFp(this.configuration).apiV1DealsDealIdServicesGet(dealId, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
24087
|
+
public apiV1DealsDealIdServicesGet(dealId: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
24088
|
+
return DealsApiFp(this.configuration).apiV1DealsDealIdServicesGet(dealId, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
24086
24089
|
}
|
|
24087
24090
|
|
|
24088
24091
|
/**
|
|
@@ -24116,12 +24119,13 @@ export class DealsApi extends BaseAPI {
|
|
|
24116
24119
|
* @summary Get DealService.
|
|
24117
24120
|
* @param {string} dealId
|
|
24118
24121
|
* @param {string} serviceId
|
|
24122
|
+
* @param {string} [languageCode]
|
|
24119
24123
|
* @param {*} [options] Override http request option.
|
|
24120
24124
|
* @throws {RequiredError}
|
|
24121
24125
|
* @memberof DealsApi
|
|
24122
24126
|
*/
|
|
24123
|
-
public apiV1DealsDealIdServicesServiceIdGet(dealId: string, serviceId: string, options?: AxiosRequestConfig) {
|
|
24124
|
-
return DealsApiFp(this.configuration).apiV1DealsDealIdServicesServiceIdGet(dealId, serviceId, options).then((request) => request(this.axios, this.basePath));
|
|
24127
|
+
public apiV1DealsDealIdServicesServiceIdGet(dealId: string, serviceId: string, languageCode?: string, options?: AxiosRequestConfig) {
|
|
24128
|
+
return DealsApiFp(this.configuration).apiV1DealsDealIdServicesServiceIdGet(dealId, serviceId, languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
24125
24129
|
}
|
|
24126
24130
|
|
|
24127
24131
|
/**
|