ch-admin-api-client-typescript 4.0.2 → 4.0.5
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 +68 -36
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +29 -15
- package/package.json +1 -1
- package/src/api.ts +82 -42
package/lib/api.js
CHANGED
|
@@ -289,7 +289,7 @@ var ReviewType;
|
|
|
289
289
|
var SearchIndexType;
|
|
290
290
|
(function (SearchIndexType) {
|
|
291
291
|
SearchIndexType["Hospitals"] = "hospitals";
|
|
292
|
-
SearchIndexType["
|
|
292
|
+
SearchIndexType["Departments"] = "departments";
|
|
293
293
|
SearchIndexType["Specialties"] = "specialties";
|
|
294
294
|
SearchIndexType["Hospitalspecialies"] = "hospitalspecialies";
|
|
295
295
|
SearchIndexType["Doctors"] = "doctors";
|
|
@@ -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
|
@@ -3961,6 +3961,12 @@ export interface CreateFaqCategoryCommand {
|
|
|
3961
3961
|
* @memberof CreateFaqCategoryCommand
|
|
3962
3962
|
*/
|
|
3963
3963
|
'description'?: string | null;
|
|
3964
|
+
/**
|
|
3965
|
+
*
|
|
3966
|
+
* @type {string}
|
|
3967
|
+
* @memberof CreateFaqCategoryCommand
|
|
3968
|
+
*/
|
|
3969
|
+
'overview'?: string | null;
|
|
3964
3970
|
/**
|
|
3965
3971
|
*
|
|
3966
3972
|
* @type {number}
|
|
@@ -5304,6 +5310,12 @@ export interface DealPackageItemModel {
|
|
|
5304
5310
|
* @memberof DealPackageItemModel
|
|
5305
5311
|
*/
|
|
5306
5312
|
'hospitalSlug'?: string | null;
|
|
5313
|
+
/**
|
|
5314
|
+
*
|
|
5315
|
+
* @type {string}
|
|
5316
|
+
* @memberof DealPackageItemModel
|
|
5317
|
+
*/
|
|
5318
|
+
'additionalServices'?: string | null;
|
|
5307
5319
|
/**
|
|
5308
5320
|
*
|
|
5309
5321
|
* @type {RefundPolicy}
|
|
@@ -5728,6 +5740,12 @@ export interface DoctorAffiliationItemModel {
|
|
|
5728
5740
|
* @memberof DoctorAffiliationItemModel
|
|
5729
5741
|
*/
|
|
5730
5742
|
'order'?: number;
|
|
5743
|
+
/**
|
|
5744
|
+
*
|
|
5745
|
+
* @type {AuditableEntity}
|
|
5746
|
+
* @memberof DoctorAffiliationItemModel
|
|
5747
|
+
*/
|
|
5748
|
+
'auditableEntity'?: AuditableEntity;
|
|
5731
5749
|
}
|
|
5732
5750
|
/**
|
|
5733
5751
|
*
|
|
@@ -5819,6 +5837,12 @@ export interface DoctorAffiliationModel {
|
|
|
5819
5837
|
* @memberof DoctorAffiliationModel
|
|
5820
5838
|
*/
|
|
5821
5839
|
'order'?: number;
|
|
5840
|
+
/**
|
|
5841
|
+
*
|
|
5842
|
+
* @type {AuditableEntity}
|
|
5843
|
+
* @memberof DoctorAffiliationModel
|
|
5844
|
+
*/
|
|
5845
|
+
'auditableEntity'?: AuditableEntity;
|
|
5822
5846
|
/**
|
|
5823
5847
|
*
|
|
5824
5848
|
* @type {string}
|
|
@@ -8303,6 +8327,12 @@ export interface HospitalSpecialtyItemModel {
|
|
|
8303
8327
|
* @memberof HospitalSpecialtyItemModel
|
|
8304
8328
|
*/
|
|
8305
8329
|
'marketingType'?: MarketingType;
|
|
8330
|
+
/**
|
|
8331
|
+
*
|
|
8332
|
+
* @type {AuditableEntity}
|
|
8333
|
+
* @memberof HospitalSpecialtyItemModel
|
|
8334
|
+
*/
|
|
8335
|
+
'auditableEntity'?: AuditableEntity;
|
|
8306
8336
|
}
|
|
8307
8337
|
/**
|
|
8308
8338
|
*
|
|
@@ -8406,6 +8436,12 @@ export interface HospitalSpecialtyModel {
|
|
|
8406
8436
|
* @memberof HospitalSpecialtyModel
|
|
8407
8437
|
*/
|
|
8408
8438
|
'marketingType'?: MarketingType;
|
|
8439
|
+
/**
|
|
8440
|
+
*
|
|
8441
|
+
* @type {AuditableEntity}
|
|
8442
|
+
* @memberof HospitalSpecialtyModel
|
|
8443
|
+
*/
|
|
8444
|
+
'auditableEntity'?: AuditableEntity;
|
|
8409
8445
|
/**
|
|
8410
8446
|
*
|
|
8411
8447
|
* @type {string}
|
|
@@ -10167,7 +10203,7 @@ export enum ReviewType {
|
|
|
10167
10203
|
|
|
10168
10204
|
export enum SearchIndexType {
|
|
10169
10205
|
Hospitals = 'hospitals',
|
|
10170
|
-
|
|
10206
|
+
Departments = 'departments',
|
|
10171
10207
|
Specialties = 'specialties',
|
|
10172
10208
|
Hospitalspecialies = 'hospitalspecialies',
|
|
10173
10209
|
Doctors = 'doctors',
|
|
@@ -12325,6 +12361,12 @@ export interface UpdateFaqCategoryCommand {
|
|
|
12325
12361
|
* @memberof UpdateFaqCategoryCommand
|
|
12326
12362
|
*/
|
|
12327
12363
|
'description'?: string | null;
|
|
12364
|
+
/**
|
|
12365
|
+
*
|
|
12366
|
+
* @type {string}
|
|
12367
|
+
* @memberof UpdateFaqCategoryCommand
|
|
12368
|
+
*/
|
|
12369
|
+
'overview'?: string | null;
|
|
12328
12370
|
/**
|
|
12329
12371
|
*
|
|
12330
12372
|
* @type {number}
|
|
@@ -13322,12 +13364,6 @@ export interface UpdateSpecialtyCommand {
|
|
|
13322
13364
|
* @interface UpdateSpecialtyTypeCommand
|
|
13323
13365
|
*/
|
|
13324
13366
|
export interface UpdateSpecialtyTypeCommand {
|
|
13325
|
-
/**
|
|
13326
|
-
*
|
|
13327
|
-
* @type {string}
|
|
13328
|
-
* @memberof UpdateSpecialtyTypeCommand
|
|
13329
|
-
*/
|
|
13330
|
-
'languageCode'?: string | null;
|
|
13331
13367
|
/**
|
|
13332
13368
|
*
|
|
13333
13369
|
* @type {string}
|
|
@@ -13342,16 +13378,16 @@ export interface UpdateSpecialtyTypeCommand {
|
|
|
13342
13378
|
'slug'?: string | null;
|
|
13343
13379
|
/**
|
|
13344
13380
|
*
|
|
13345
|
-
* @type {
|
|
13381
|
+
* @type {string}
|
|
13346
13382
|
* @memberof UpdateSpecialtyTypeCommand
|
|
13347
13383
|
*/
|
|
13348
|
-
'
|
|
13384
|
+
'description'?: string | null;
|
|
13349
13385
|
/**
|
|
13350
13386
|
*
|
|
13351
13387
|
* @type {string}
|
|
13352
13388
|
* @memberof UpdateSpecialtyTypeCommand
|
|
13353
13389
|
*/
|
|
13354
|
-
'
|
|
13390
|
+
'content'?: string | null;
|
|
13355
13391
|
/**
|
|
13356
13392
|
*
|
|
13357
13393
|
* @type {MarketingType}
|
|
@@ -13360,34 +13396,22 @@ export interface UpdateSpecialtyTypeCommand {
|
|
|
13360
13396
|
'marketingType'?: MarketingType;
|
|
13361
13397
|
/**
|
|
13362
13398
|
*
|
|
13363
|
-
* @type {
|
|
13364
|
-
* @memberof UpdateSpecialtyTypeCommand
|
|
13365
|
-
*/
|
|
13366
|
-
'specialtiesCount'?: number;
|
|
13367
|
-
/**
|
|
13368
|
-
*
|
|
13369
|
-
* @type {Array<MediaModel>}
|
|
13370
|
-
* @memberof UpdateSpecialtyTypeCommand
|
|
13371
|
-
*/
|
|
13372
|
-
'medias'?: Array<MediaModel> | null;
|
|
13373
|
-
/**
|
|
13374
|
-
*
|
|
13375
|
-
* @type {AuditableEntity}
|
|
13399
|
+
* @type {string}
|
|
13376
13400
|
* @memberof UpdateSpecialtyTypeCommand
|
|
13377
13401
|
*/
|
|
13378
|
-
'
|
|
13402
|
+
'languageCode'?: string | null;
|
|
13379
13403
|
/**
|
|
13380
13404
|
*
|
|
13381
|
-
* @type {
|
|
13405
|
+
* @type {boolean}
|
|
13382
13406
|
* @memberof UpdateSpecialtyTypeCommand
|
|
13383
13407
|
*/
|
|
13384
|
-
'
|
|
13408
|
+
'confirmed'?: boolean;
|
|
13385
13409
|
/**
|
|
13386
13410
|
*
|
|
13387
|
-
* @type {
|
|
13411
|
+
* @type {Array<MediaModel>}
|
|
13388
13412
|
* @memberof UpdateSpecialtyTypeCommand
|
|
13389
13413
|
*/
|
|
13390
|
-
'
|
|
13414
|
+
'medias'?: Array<MediaModel> | null;
|
|
13391
13415
|
}
|
|
13392
13416
|
/**
|
|
13393
13417
|
*
|
|
@@ -22789,13 +22813,14 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
22789
22813
|
*
|
|
22790
22814
|
* @summary Get all DealService.
|
|
22791
22815
|
* @param {string} dealId
|
|
22816
|
+
* @param {string} [languageCode]
|
|
22792
22817
|
* @param {number} [page]
|
|
22793
22818
|
* @param {number} [limit]
|
|
22794
22819
|
* @param {Date} [lastRetrieved]
|
|
22795
22820
|
* @param {*} [options] Override http request option.
|
|
22796
22821
|
* @throws {RequiredError}
|
|
22797
22822
|
*/
|
|
22798
|
-
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> => {
|
|
22799
22824
|
// verify required parameter 'dealId' is not null or undefined
|
|
22800
22825
|
assertParamExists('apiV1DealsDealIdServicesGet', 'dealId', dealId)
|
|
22801
22826
|
const localVarPath = `/api/v1/deals/{dealId}/services`
|
|
@@ -22815,6 +22840,10 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
22815
22840
|
// oauth required
|
|
22816
22841
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
22817
22842
|
|
|
22843
|
+
if (languageCode !== undefined) {
|
|
22844
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
22845
|
+
}
|
|
22846
|
+
|
|
22818
22847
|
if (page !== undefined) {
|
|
22819
22848
|
localVarQueryParameter['page'] = page;
|
|
22820
22849
|
}
|
|
@@ -22929,10 +22958,11 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
22929
22958
|
* @summary Get DealService.
|
|
22930
22959
|
* @param {string} dealId
|
|
22931
22960
|
* @param {string} serviceId
|
|
22961
|
+
* @param {string} [languageCode]
|
|
22932
22962
|
* @param {*} [options] Override http request option.
|
|
22933
22963
|
* @throws {RequiredError}
|
|
22934
22964
|
*/
|
|
22935
|
-
apiV1DealsDealIdServicesServiceIdGet: async (dealId: string, serviceId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22965
|
+
apiV1DealsDealIdServicesServiceIdGet: async (dealId: string, serviceId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22936
22966
|
// verify required parameter 'dealId' is not null or undefined
|
|
22937
22967
|
assertParamExists('apiV1DealsDealIdServicesServiceIdGet', 'dealId', dealId)
|
|
22938
22968
|
// verify required parameter 'serviceId' is not null or undefined
|
|
@@ -22955,6 +22985,10 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
22955
22985
|
// oauth required
|
|
22956
22986
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
22957
22987
|
|
|
22988
|
+
if (languageCode !== undefined) {
|
|
22989
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
22990
|
+
}
|
|
22991
|
+
|
|
22958
22992
|
|
|
22959
22993
|
|
|
22960
22994
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -23511,14 +23545,15 @@ export const DealsApiFp = function(configuration?: Configuration) {
|
|
|
23511
23545
|
*
|
|
23512
23546
|
* @summary Get all DealService.
|
|
23513
23547
|
* @param {string} dealId
|
|
23548
|
+
* @param {string} [languageCode]
|
|
23514
23549
|
* @param {number} [page]
|
|
23515
23550
|
* @param {number} [limit]
|
|
23516
23551
|
* @param {Date} [lastRetrieved]
|
|
23517
23552
|
* @param {*} [options] Override http request option.
|
|
23518
23553
|
* @throws {RequiredError}
|
|
23519
23554
|
*/
|
|
23520
|
-
async apiV1DealsDealIdServicesGet(dealId: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealServicesModel>> {
|
|
23521
|
-
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);
|
|
23522
23557
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
23523
23558
|
},
|
|
23524
23559
|
/**
|
|
@@ -23550,11 +23585,12 @@ export const DealsApiFp = function(configuration?: Configuration) {
|
|
|
23550
23585
|
* @summary Get DealService.
|
|
23551
23586
|
* @param {string} dealId
|
|
23552
23587
|
* @param {string} serviceId
|
|
23588
|
+
* @param {string} [languageCode]
|
|
23553
23589
|
* @param {*} [options] Override http request option.
|
|
23554
23590
|
* @throws {RequiredError}
|
|
23555
23591
|
*/
|
|
23556
|
-
async apiV1DealsDealIdServicesServiceIdGet(dealId: string, serviceId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealServiceModel>> {
|
|
23557
|
-
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);
|
|
23558
23594
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
23559
23595
|
},
|
|
23560
23596
|
/**
|
|
@@ -23771,14 +23807,15 @@ export const DealsApiFactory = function (configuration?: Configuration, basePath
|
|
|
23771
23807
|
*
|
|
23772
23808
|
* @summary Get all DealService.
|
|
23773
23809
|
* @param {string} dealId
|
|
23810
|
+
* @param {string} [languageCode]
|
|
23774
23811
|
* @param {number} [page]
|
|
23775
23812
|
* @param {number} [limit]
|
|
23776
23813
|
* @param {Date} [lastRetrieved]
|
|
23777
23814
|
* @param {*} [options] Override http request option.
|
|
23778
23815
|
* @throws {RequiredError}
|
|
23779
23816
|
*/
|
|
23780
|
-
apiV1DealsDealIdServicesGet(dealId: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DealServicesModel> {
|
|
23781
|
-
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));
|
|
23782
23819
|
},
|
|
23783
23820
|
/**
|
|
23784
23821
|
*
|
|
@@ -23807,11 +23844,12 @@ export const DealsApiFactory = function (configuration?: Configuration, basePath
|
|
|
23807
23844
|
* @summary Get DealService.
|
|
23808
23845
|
* @param {string} dealId
|
|
23809
23846
|
* @param {string} serviceId
|
|
23847
|
+
* @param {string} [languageCode]
|
|
23810
23848
|
* @param {*} [options] Override http request option.
|
|
23811
23849
|
* @throws {RequiredError}
|
|
23812
23850
|
*/
|
|
23813
|
-
apiV1DealsDealIdServicesServiceIdGet(dealId: string, serviceId: string, options?: any): AxiosPromise<DealServiceModel> {
|
|
23814
|
-
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));
|
|
23815
23853
|
},
|
|
23816
23854
|
/**
|
|
23817
23855
|
*
|
|
@@ -24038,6 +24076,7 @@ export class DealsApi extends BaseAPI {
|
|
|
24038
24076
|
*
|
|
24039
24077
|
* @summary Get all DealService.
|
|
24040
24078
|
* @param {string} dealId
|
|
24079
|
+
* @param {string} [languageCode]
|
|
24041
24080
|
* @param {number} [page]
|
|
24042
24081
|
* @param {number} [limit]
|
|
24043
24082
|
* @param {Date} [lastRetrieved]
|
|
@@ -24045,8 +24084,8 @@ export class DealsApi extends BaseAPI {
|
|
|
24045
24084
|
* @throws {RequiredError}
|
|
24046
24085
|
* @memberof DealsApi
|
|
24047
24086
|
*/
|
|
24048
|
-
public apiV1DealsDealIdServicesGet(dealId: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
24049
|
-
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));
|
|
24050
24089
|
}
|
|
24051
24090
|
|
|
24052
24091
|
/**
|
|
@@ -24080,12 +24119,13 @@ export class DealsApi extends BaseAPI {
|
|
|
24080
24119
|
* @summary Get DealService.
|
|
24081
24120
|
* @param {string} dealId
|
|
24082
24121
|
* @param {string} serviceId
|
|
24122
|
+
* @param {string} [languageCode]
|
|
24083
24123
|
* @param {*} [options] Override http request option.
|
|
24084
24124
|
* @throws {RequiredError}
|
|
24085
24125
|
* @memberof DealsApi
|
|
24086
24126
|
*/
|
|
24087
|
-
public apiV1DealsDealIdServicesServiceIdGet(dealId: string, serviceId: string, options?: AxiosRequestConfig) {
|
|
24088
|
-
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));
|
|
24089
24129
|
}
|
|
24090
24130
|
|
|
24091
24131
|
/**
|