ch-api-client-typescript2 2.6.2 → 2.6.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/lib/api.d.ts +82 -41
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +87 -49
- package/package.json +1 -1
- package/src/api.ts +125 -64
package/lib/api.js
CHANGED
|
@@ -181,6 +181,9 @@ var MediaType;
|
|
|
181
181
|
MediaType["Video"] = "Video";
|
|
182
182
|
MediaType["Youtube"] = "Youtube";
|
|
183
183
|
MediaType["Document"] = "Document";
|
|
184
|
+
MediaType["Frontal"] = "Frontal";
|
|
185
|
+
MediaType["Diagonal"] = "Diagonal";
|
|
186
|
+
MediaType["Side"] = "Side";
|
|
184
187
|
})(MediaType = exports.MediaType || (exports.MediaType = {}));
|
|
185
188
|
/**
|
|
186
189
|
*
|
|
@@ -4912,10 +4915,12 @@ exports.DealsApiAxiosParamCreator = function (configuration) {
|
|
|
4912
4915
|
*
|
|
4913
4916
|
* @summary Get deal.
|
|
4914
4917
|
* @param {string} dealId
|
|
4918
|
+
* @param {string} [languageCode]
|
|
4919
|
+
* @param {boolean} [returnDefaultValue]
|
|
4915
4920
|
* @param {*} [options] Override http request option.
|
|
4916
4921
|
* @throws {RequiredError}
|
|
4917
4922
|
*/
|
|
4918
|
-
apiV2DealsDealIdGet: function (dealId, options) {
|
|
4923
|
+
apiV2DealsDealIdGet: function (dealId, languageCode, returnDefaultValue, options) {
|
|
4919
4924
|
if (options === void 0) { options = {}; }
|
|
4920
4925
|
return __awaiter(_this, void 0, void 0, function () {
|
|
4921
4926
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -4931,6 +4936,12 @@ exports.DealsApiAxiosParamCreator = function (configuration) {
|
|
|
4931
4936
|
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
4932
4937
|
localVarHeaderParameter = {};
|
|
4933
4938
|
localVarQueryParameter = {};
|
|
4939
|
+
if (languageCode !== undefined) {
|
|
4940
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
4941
|
+
}
|
|
4942
|
+
if (returnDefaultValue !== undefined) {
|
|
4943
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
4944
|
+
}
|
|
4934
4945
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4935
4946
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4936
4947
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -5147,13 +5158,16 @@ exports.DealsApiAxiosParamCreator = function (configuration) {
|
|
|
5147
5158
|
* @param {string} [exceptHospitalId]
|
|
5148
5159
|
* @param {string} [exceptDealId]
|
|
5149
5160
|
* @param {Array<string>} [ids]
|
|
5161
|
+
* @param {string} [languageCode]
|
|
5162
|
+
* @param {boolean} [showHidden]
|
|
5163
|
+
* @param {boolean} [returnDefaultValue]
|
|
5150
5164
|
* @param {number} [page]
|
|
5151
5165
|
* @param {number} [limit]
|
|
5152
5166
|
* @param {Date} [lastRetrieved]
|
|
5153
5167
|
* @param {*} [options] Override http request option.
|
|
5154
5168
|
* @throws {RequiredError}
|
|
5155
5169
|
*/
|
|
5156
|
-
apiV2DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, page, limit, lastRetrieved, options) {
|
|
5170
|
+
apiV2DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
5157
5171
|
if (options === void 0) { options = {}; }
|
|
5158
5172
|
return __awaiter(_this, void 0, void 0, function () {
|
|
5159
5173
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -5199,6 +5213,15 @@ exports.DealsApiAxiosParamCreator = function (configuration) {
|
|
|
5199
5213
|
if (ids) {
|
|
5200
5214
|
localVarQueryParameter['Ids'] = ids;
|
|
5201
5215
|
}
|
|
5216
|
+
if (languageCode !== undefined) {
|
|
5217
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
5218
|
+
}
|
|
5219
|
+
if (showHidden !== undefined) {
|
|
5220
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
5221
|
+
}
|
|
5222
|
+
if (returnDefaultValue !== undefined) {
|
|
5223
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
5224
|
+
}
|
|
5202
5225
|
if (page !== undefined) {
|
|
5203
5226
|
localVarQueryParameter['page'] = page;
|
|
5204
5227
|
}
|
|
@@ -5224,10 +5247,12 @@ exports.DealsApiAxiosParamCreator = function (configuration) {
|
|
|
5224
5247
|
*
|
|
5225
5248
|
* @summary Get deal by slug.
|
|
5226
5249
|
* @param {string} slug
|
|
5250
|
+
* @param {string} [languageCode]
|
|
5251
|
+
* @param {boolean} [returnDefaultValue]
|
|
5227
5252
|
* @param {*} [options] Override http request option.
|
|
5228
5253
|
* @throws {RequiredError}
|
|
5229
5254
|
*/
|
|
5230
|
-
apiV2DealsSlugGet: function (slug, options) {
|
|
5255
|
+
apiV2DealsSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
5231
5256
|
if (options === void 0) { options = {}; }
|
|
5232
5257
|
return __awaiter(_this, void 0, void 0, function () {
|
|
5233
5258
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -5243,6 +5268,12 @@ exports.DealsApiAxiosParamCreator = function (configuration) {
|
|
|
5243
5268
|
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
5244
5269
|
localVarHeaderParameter = {};
|
|
5245
5270
|
localVarQueryParameter = {};
|
|
5271
|
+
if (languageCode !== undefined) {
|
|
5272
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
5273
|
+
}
|
|
5274
|
+
if (returnDefaultValue !== undefined) {
|
|
5275
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
5276
|
+
}
|
|
5246
5277
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5247
5278
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5248
5279
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -5266,15 +5297,17 @@ exports.DealsApiFp = function (configuration) {
|
|
|
5266
5297
|
*
|
|
5267
5298
|
* @summary Get deal.
|
|
5268
5299
|
* @param {string} dealId
|
|
5300
|
+
* @param {string} [languageCode]
|
|
5301
|
+
* @param {boolean} [returnDefaultValue]
|
|
5269
5302
|
* @param {*} [options] Override http request option.
|
|
5270
5303
|
* @throws {RequiredError}
|
|
5271
5304
|
*/
|
|
5272
|
-
apiV2DealsDealIdGet: function (dealId, options) {
|
|
5305
|
+
apiV2DealsDealIdGet: function (dealId, languageCode, returnDefaultValue, options) {
|
|
5273
5306
|
return __awaiter(this, void 0, void 0, function () {
|
|
5274
5307
|
var localVarAxiosArgs;
|
|
5275
5308
|
return __generator(this, function (_a) {
|
|
5276
5309
|
switch (_a.label) {
|
|
5277
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DealsDealIdGet(dealId, options)];
|
|
5310
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DealsDealIdGet(dealId, languageCode, returnDefaultValue, options)];
|
|
5278
5311
|
case 1:
|
|
5279
5312
|
localVarAxiosArgs = _a.sent();
|
|
5280
5313
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -5390,18 +5423,21 @@ exports.DealsApiFp = function (configuration) {
|
|
|
5390
5423
|
* @param {string} [exceptHospitalId]
|
|
5391
5424
|
* @param {string} [exceptDealId]
|
|
5392
5425
|
* @param {Array<string>} [ids]
|
|
5426
|
+
* @param {string} [languageCode]
|
|
5427
|
+
* @param {boolean} [showHidden]
|
|
5428
|
+
* @param {boolean} [returnDefaultValue]
|
|
5393
5429
|
* @param {number} [page]
|
|
5394
5430
|
* @param {number} [limit]
|
|
5395
5431
|
* @param {Date} [lastRetrieved]
|
|
5396
5432
|
* @param {*} [options] Override http request option.
|
|
5397
5433
|
* @throws {RequiredError}
|
|
5398
5434
|
*/
|
|
5399
|
-
apiV2DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, page, limit, lastRetrieved, options) {
|
|
5435
|
+
apiV2DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
5400
5436
|
return __awaiter(this, void 0, void 0, function () {
|
|
5401
5437
|
var localVarAxiosArgs;
|
|
5402
5438
|
return __generator(this, function (_a) {
|
|
5403
5439
|
switch (_a.label) {
|
|
5404
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, page, limit, lastRetrieved, options)];
|
|
5440
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
5405
5441
|
case 1:
|
|
5406
5442
|
localVarAxiosArgs = _a.sent();
|
|
5407
5443
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -5413,15 +5449,17 @@ exports.DealsApiFp = function (configuration) {
|
|
|
5413
5449
|
*
|
|
5414
5450
|
* @summary Get deal by slug.
|
|
5415
5451
|
* @param {string} slug
|
|
5452
|
+
* @param {string} [languageCode]
|
|
5453
|
+
* @param {boolean} [returnDefaultValue]
|
|
5416
5454
|
* @param {*} [options] Override http request option.
|
|
5417
5455
|
* @throws {RequiredError}
|
|
5418
5456
|
*/
|
|
5419
|
-
apiV2DealsSlugGet: function (slug, options) {
|
|
5457
|
+
apiV2DealsSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
5420
5458
|
return __awaiter(this, void 0, void 0, function () {
|
|
5421
5459
|
var localVarAxiosArgs;
|
|
5422
5460
|
return __generator(this, function (_a) {
|
|
5423
5461
|
switch (_a.label) {
|
|
5424
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DealsSlugGet(slug, options)];
|
|
5462
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DealsSlugGet(slug, languageCode, returnDefaultValue, options)];
|
|
5425
5463
|
case 1:
|
|
5426
5464
|
localVarAxiosArgs = _a.sent();
|
|
5427
5465
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -5442,11 +5480,13 @@ exports.DealsApiFactory = function (configuration, basePath, axios) {
|
|
|
5442
5480
|
*
|
|
5443
5481
|
* @summary Get deal.
|
|
5444
5482
|
* @param {string} dealId
|
|
5483
|
+
* @param {string} [languageCode]
|
|
5484
|
+
* @param {boolean} [returnDefaultValue]
|
|
5445
5485
|
* @param {*} [options] Override http request option.
|
|
5446
5486
|
* @throws {RequiredError}
|
|
5447
5487
|
*/
|
|
5448
|
-
apiV2DealsDealIdGet: function (dealId, options) {
|
|
5449
|
-
return localVarFp.apiV2DealsDealIdGet(dealId, options).then(function (request) { return request(axios, basePath); });
|
|
5488
|
+
apiV2DealsDealIdGet: function (dealId, languageCode, returnDefaultValue, options) {
|
|
5489
|
+
return localVarFp.apiV2DealsDealIdGet(dealId, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
|
|
5450
5490
|
},
|
|
5451
5491
|
/**
|
|
5452
5492
|
*
|
|
@@ -5516,24 +5556,29 @@ exports.DealsApiFactory = function (configuration, basePath, axios) {
|
|
|
5516
5556
|
* @param {string} [exceptHospitalId]
|
|
5517
5557
|
* @param {string} [exceptDealId]
|
|
5518
5558
|
* @param {Array<string>} [ids]
|
|
5559
|
+
* @param {string} [languageCode]
|
|
5560
|
+
* @param {boolean} [showHidden]
|
|
5561
|
+
* @param {boolean} [returnDefaultValue]
|
|
5519
5562
|
* @param {number} [page]
|
|
5520
5563
|
* @param {number} [limit]
|
|
5521
5564
|
* @param {Date} [lastRetrieved]
|
|
5522
5565
|
* @param {*} [options] Override http request option.
|
|
5523
5566
|
* @throws {RequiredError}
|
|
5524
5567
|
*/
|
|
5525
|
-
apiV2DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, page, limit, lastRetrieved, options) {
|
|
5526
|
-
return localVarFp.apiV2DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
5568
|
+
apiV2DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
5569
|
+
return localVarFp.apiV2DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
5527
5570
|
},
|
|
5528
5571
|
/**
|
|
5529
5572
|
*
|
|
5530
5573
|
* @summary Get deal by slug.
|
|
5531
5574
|
* @param {string} slug
|
|
5575
|
+
* @param {string} [languageCode]
|
|
5576
|
+
* @param {boolean} [returnDefaultValue]
|
|
5532
5577
|
* @param {*} [options] Override http request option.
|
|
5533
5578
|
* @throws {RequiredError}
|
|
5534
5579
|
*/
|
|
5535
|
-
apiV2DealsSlugGet: function (slug, options) {
|
|
5536
|
-
return localVarFp.apiV2DealsSlugGet(slug, options).then(function (request) { return request(axios, basePath); });
|
|
5580
|
+
apiV2DealsSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
5581
|
+
return localVarFp.apiV2DealsSlugGet(slug, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
|
|
5537
5582
|
},
|
|
5538
5583
|
};
|
|
5539
5584
|
};
|
|
@@ -5552,13 +5597,15 @@ var DealsApi = /** @class */ (function (_super) {
|
|
|
5552
5597
|
*
|
|
5553
5598
|
* @summary Get deal.
|
|
5554
5599
|
* @param {string} dealId
|
|
5600
|
+
* @param {string} [languageCode]
|
|
5601
|
+
* @param {boolean} [returnDefaultValue]
|
|
5555
5602
|
* @param {*} [options] Override http request option.
|
|
5556
5603
|
* @throws {RequiredError}
|
|
5557
5604
|
* @memberof DealsApi
|
|
5558
5605
|
*/
|
|
5559
|
-
DealsApi.prototype.apiV2DealsDealIdGet = function (dealId, options) {
|
|
5606
|
+
DealsApi.prototype.apiV2DealsDealIdGet = function (dealId, languageCode, returnDefaultValue, options) {
|
|
5560
5607
|
var _this = this;
|
|
5561
|
-
return exports.DealsApiFp(this.configuration).apiV2DealsDealIdGet(dealId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
5608
|
+
return exports.DealsApiFp(this.configuration).apiV2DealsDealIdGet(dealId, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
5562
5609
|
};
|
|
5563
5610
|
/**
|
|
5564
5611
|
*
|
|
@@ -5636,6 +5683,9 @@ var DealsApi = /** @class */ (function (_super) {
|
|
|
5636
5683
|
* @param {string} [exceptHospitalId]
|
|
5637
5684
|
* @param {string} [exceptDealId]
|
|
5638
5685
|
* @param {Array<string>} [ids]
|
|
5686
|
+
* @param {string} [languageCode]
|
|
5687
|
+
* @param {boolean} [showHidden]
|
|
5688
|
+
* @param {boolean} [returnDefaultValue]
|
|
5639
5689
|
* @param {number} [page]
|
|
5640
5690
|
* @param {number} [limit]
|
|
5641
5691
|
* @param {Date} [lastRetrieved]
|
|
@@ -5643,21 +5693,23 @@ var DealsApi = /** @class */ (function (_super) {
|
|
|
5643
5693
|
* @throws {RequiredError}
|
|
5644
5694
|
* @memberof DealsApi
|
|
5645
5695
|
*/
|
|
5646
|
-
DealsApi.prototype.apiV2DealsGet = function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, page, limit, lastRetrieved, options) {
|
|
5696
|
+
DealsApi.prototype.apiV2DealsGet = function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
5647
5697
|
var _this = this;
|
|
5648
|
-
return exports.DealsApiFp(this.configuration).apiV2DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
5698
|
+
return exports.DealsApiFp(this.configuration).apiV2DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
5649
5699
|
};
|
|
5650
5700
|
/**
|
|
5651
5701
|
*
|
|
5652
5702
|
* @summary Get deal by slug.
|
|
5653
5703
|
* @param {string} slug
|
|
5704
|
+
* @param {string} [languageCode]
|
|
5705
|
+
* @param {boolean} [returnDefaultValue]
|
|
5654
5706
|
* @param {*} [options] Override http request option.
|
|
5655
5707
|
* @throws {RequiredError}
|
|
5656
5708
|
* @memberof DealsApi
|
|
5657
5709
|
*/
|
|
5658
|
-
DealsApi.prototype.apiV2DealsSlugGet = function (slug, options) {
|
|
5710
|
+
DealsApi.prototype.apiV2DealsSlugGet = function (slug, languageCode, returnDefaultValue, options) {
|
|
5659
5711
|
var _this = this;
|
|
5660
|
-
return exports.DealsApiFp(this.configuration).apiV2DealsSlugGet(slug, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
5712
|
+
return exports.DealsApiFp(this.configuration).apiV2DealsSlugGet(slug, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
5661
5713
|
};
|
|
5662
5714
|
return DealsApi;
|
|
5663
5715
|
}(base_1.BaseAPI));
|
|
@@ -13227,14 +13279,13 @@ exports.ServicesCategoriesApiAxiosParamCreator = function (configuration) {
|
|
|
13227
13279
|
* @param {string} [id]
|
|
13228
13280
|
* @param {string} [name]
|
|
13229
13281
|
* @param {string} [description]
|
|
13230
|
-
* @param {string} [languageCode]
|
|
13231
13282
|
* @param {number} [page]
|
|
13232
13283
|
* @param {number} [limit]
|
|
13233
13284
|
* @param {Date} [lastRetrieved]
|
|
13234
13285
|
* @param {*} [options] Override http request option.
|
|
13235
13286
|
* @throws {RequiredError}
|
|
13236
13287
|
*/
|
|
13237
|
-
apiV2ServicescategoriesGet: function (id, name, description,
|
|
13288
|
+
apiV2ServicescategoriesGet: function (id, name, description, page, limit, lastRetrieved, options) {
|
|
13238
13289
|
if (options === void 0) { options = {}; }
|
|
13239
13290
|
return __awaiter(_this, void 0, void 0, function () {
|
|
13240
13291
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -13256,9 +13307,6 @@ exports.ServicesCategoriesApiAxiosParamCreator = function (configuration) {
|
|
|
13256
13307
|
if (description !== undefined) {
|
|
13257
13308
|
localVarQueryParameter['Description'] = description;
|
|
13258
13309
|
}
|
|
13259
|
-
if (languageCode !== undefined) {
|
|
13260
|
-
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
13261
|
-
}
|
|
13262
13310
|
if (page !== undefined) {
|
|
13263
13311
|
localVarQueryParameter['page'] = page;
|
|
13264
13312
|
}
|
|
@@ -13284,11 +13332,10 @@ exports.ServicesCategoriesApiAxiosParamCreator = function (configuration) {
|
|
|
13284
13332
|
*
|
|
13285
13333
|
* @summary Get ServiceCategory.
|
|
13286
13334
|
* @param {string} serviceCategoryId
|
|
13287
|
-
* @param {string} [languageCode]
|
|
13288
13335
|
* @param {*} [options] Override http request option.
|
|
13289
13336
|
* @throws {RequiredError}
|
|
13290
13337
|
*/
|
|
13291
|
-
apiV2ServicescategoriesServiceCategoryIdGet: function (serviceCategoryId,
|
|
13338
|
+
apiV2ServicescategoriesServiceCategoryIdGet: function (serviceCategoryId, options) {
|
|
13292
13339
|
if (options === void 0) { options = {}; }
|
|
13293
13340
|
return __awaiter(_this, void 0, void 0, function () {
|
|
13294
13341
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -13304,9 +13351,6 @@ exports.ServicesCategoriesApiAxiosParamCreator = function (configuration) {
|
|
|
13304
13351
|
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
13305
13352
|
localVarHeaderParameter = {};
|
|
13306
13353
|
localVarQueryParameter = {};
|
|
13307
|
-
if (languageCode !== undefined) {
|
|
13308
|
-
localVarQueryParameter['languageCode'] = languageCode;
|
|
13309
|
-
}
|
|
13310
13354
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13311
13355
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13312
13356
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -13332,19 +13376,18 @@ exports.ServicesCategoriesApiFp = function (configuration) {
|
|
|
13332
13376
|
* @param {string} [id]
|
|
13333
13377
|
* @param {string} [name]
|
|
13334
13378
|
* @param {string} [description]
|
|
13335
|
-
* @param {string} [languageCode]
|
|
13336
13379
|
* @param {number} [page]
|
|
13337
13380
|
* @param {number} [limit]
|
|
13338
13381
|
* @param {Date} [lastRetrieved]
|
|
13339
13382
|
* @param {*} [options] Override http request option.
|
|
13340
13383
|
* @throws {RequiredError}
|
|
13341
13384
|
*/
|
|
13342
|
-
apiV2ServicescategoriesGet: function (id, name, description,
|
|
13385
|
+
apiV2ServicescategoriesGet: function (id, name, description, page, limit, lastRetrieved, options) {
|
|
13343
13386
|
return __awaiter(this, void 0, void 0, function () {
|
|
13344
13387
|
var localVarAxiosArgs;
|
|
13345
13388
|
return __generator(this, function (_a) {
|
|
13346
13389
|
switch (_a.label) {
|
|
13347
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ServicescategoriesGet(id, name, description,
|
|
13390
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ServicescategoriesGet(id, name, description, page, limit, lastRetrieved, options)];
|
|
13348
13391
|
case 1:
|
|
13349
13392
|
localVarAxiosArgs = _a.sent();
|
|
13350
13393
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -13356,16 +13399,15 @@ exports.ServicesCategoriesApiFp = function (configuration) {
|
|
|
13356
13399
|
*
|
|
13357
13400
|
* @summary Get ServiceCategory.
|
|
13358
13401
|
* @param {string} serviceCategoryId
|
|
13359
|
-
* @param {string} [languageCode]
|
|
13360
13402
|
* @param {*} [options] Override http request option.
|
|
13361
13403
|
* @throws {RequiredError}
|
|
13362
13404
|
*/
|
|
13363
|
-
apiV2ServicescategoriesServiceCategoryIdGet: function (serviceCategoryId,
|
|
13405
|
+
apiV2ServicescategoriesServiceCategoryIdGet: function (serviceCategoryId, options) {
|
|
13364
13406
|
return __awaiter(this, void 0, void 0, function () {
|
|
13365
13407
|
var localVarAxiosArgs;
|
|
13366
13408
|
return __generator(this, function (_a) {
|
|
13367
13409
|
switch (_a.label) {
|
|
13368
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ServicescategoriesServiceCategoryIdGet(serviceCategoryId,
|
|
13410
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ServicescategoriesServiceCategoryIdGet(serviceCategoryId, options)];
|
|
13369
13411
|
case 1:
|
|
13370
13412
|
localVarAxiosArgs = _a.sent();
|
|
13371
13413
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -13388,26 +13430,24 @@ exports.ServicesCategoriesApiFactory = function (configuration, basePath, axios)
|
|
|
13388
13430
|
* @param {string} [id]
|
|
13389
13431
|
* @param {string} [name]
|
|
13390
13432
|
* @param {string} [description]
|
|
13391
|
-
* @param {string} [languageCode]
|
|
13392
13433
|
* @param {number} [page]
|
|
13393
13434
|
* @param {number} [limit]
|
|
13394
13435
|
* @param {Date} [lastRetrieved]
|
|
13395
13436
|
* @param {*} [options] Override http request option.
|
|
13396
13437
|
* @throws {RequiredError}
|
|
13397
13438
|
*/
|
|
13398
|
-
apiV2ServicescategoriesGet: function (id, name, description,
|
|
13399
|
-
return localVarFp.apiV2ServicescategoriesGet(id, name, description,
|
|
13439
|
+
apiV2ServicescategoriesGet: function (id, name, description, page, limit, lastRetrieved, options) {
|
|
13440
|
+
return localVarFp.apiV2ServicescategoriesGet(id, name, description, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
13400
13441
|
},
|
|
13401
13442
|
/**
|
|
13402
13443
|
*
|
|
13403
13444
|
* @summary Get ServiceCategory.
|
|
13404
13445
|
* @param {string} serviceCategoryId
|
|
13405
|
-
* @param {string} [languageCode]
|
|
13406
13446
|
* @param {*} [options] Override http request option.
|
|
13407
13447
|
* @throws {RequiredError}
|
|
13408
13448
|
*/
|
|
13409
|
-
apiV2ServicescategoriesServiceCategoryIdGet: function (serviceCategoryId,
|
|
13410
|
-
return localVarFp.apiV2ServicescategoriesServiceCategoryIdGet(serviceCategoryId,
|
|
13449
|
+
apiV2ServicescategoriesServiceCategoryIdGet: function (serviceCategoryId, options) {
|
|
13450
|
+
return localVarFp.apiV2ServicescategoriesServiceCategoryIdGet(serviceCategoryId, options).then(function (request) { return request(axios, basePath); });
|
|
13411
13451
|
},
|
|
13412
13452
|
};
|
|
13413
13453
|
};
|
|
@@ -13428,7 +13468,6 @@ var ServicesCategoriesApi = /** @class */ (function (_super) {
|
|
|
13428
13468
|
* @param {string} [id]
|
|
13429
13469
|
* @param {string} [name]
|
|
13430
13470
|
* @param {string} [description]
|
|
13431
|
-
* @param {string} [languageCode]
|
|
13432
13471
|
* @param {number} [page]
|
|
13433
13472
|
* @param {number} [limit]
|
|
13434
13473
|
* @param {Date} [lastRetrieved]
|
|
@@ -13436,22 +13475,21 @@ var ServicesCategoriesApi = /** @class */ (function (_super) {
|
|
|
13436
13475
|
* @throws {RequiredError}
|
|
13437
13476
|
* @memberof ServicesCategoriesApi
|
|
13438
13477
|
*/
|
|
13439
|
-
ServicesCategoriesApi.prototype.apiV2ServicescategoriesGet = function (id, name, description,
|
|
13478
|
+
ServicesCategoriesApi.prototype.apiV2ServicescategoriesGet = function (id, name, description, page, limit, lastRetrieved, options) {
|
|
13440
13479
|
var _this = this;
|
|
13441
|
-
return exports.ServicesCategoriesApiFp(this.configuration).apiV2ServicescategoriesGet(id, name, description,
|
|
13480
|
+
return exports.ServicesCategoriesApiFp(this.configuration).apiV2ServicescategoriesGet(id, name, description, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
13442
13481
|
};
|
|
13443
13482
|
/**
|
|
13444
13483
|
*
|
|
13445
13484
|
* @summary Get ServiceCategory.
|
|
13446
13485
|
* @param {string} serviceCategoryId
|
|
13447
|
-
* @param {string} [languageCode]
|
|
13448
13486
|
* @param {*} [options] Override http request option.
|
|
13449
13487
|
* @throws {RequiredError}
|
|
13450
13488
|
* @memberof ServicesCategoriesApi
|
|
13451
13489
|
*/
|
|
13452
|
-
ServicesCategoriesApi.prototype.apiV2ServicescategoriesServiceCategoryIdGet = function (serviceCategoryId,
|
|
13490
|
+
ServicesCategoriesApi.prototype.apiV2ServicescategoriesServiceCategoryIdGet = function (serviceCategoryId, options) {
|
|
13453
13491
|
var _this = this;
|
|
13454
|
-
return exports.ServicesCategoriesApiFp(this.configuration).apiV2ServicescategoriesServiceCategoryIdGet(serviceCategoryId,
|
|
13492
|
+
return exports.ServicesCategoriesApiFp(this.configuration).apiV2ServicescategoriesServiceCategoryIdGet(serviceCategoryId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
13455
13493
|
};
|
|
13456
13494
|
return ServicesCategoriesApi;
|
|
13457
13495
|
}(base_1.BaseAPI));
|