ch-admin-api-client-typescript 2.5.1 → 2.5.2
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 +88 -24
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +34 -27
- package/package.json +1 -1
- package/src/api.ts +95 -27
package/lib/api.js
CHANGED
|
@@ -11266,10 +11266,11 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
11266
11266
|
*
|
|
11267
11267
|
* @summary Get Doctor.
|
|
11268
11268
|
* @param {string} doctorId
|
|
11269
|
+
* @param {string} [languageCode]
|
|
11269
11270
|
* @param {*} [options] Override http request option.
|
|
11270
11271
|
* @throws {RequiredError}
|
|
11271
11272
|
*/
|
|
11272
|
-
apiV1DoctorsDoctorIdGet: function (doctorId, options) {
|
|
11273
|
+
apiV1DoctorsDoctorIdGet: function (doctorId, languageCode, options) {
|
|
11273
11274
|
if (options === void 0) { options = {}; }
|
|
11274
11275
|
return __awaiter(_this, void 0, void 0, function () {
|
|
11275
11276
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -11294,6 +11295,9 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
11294
11295
|
// authentication oauth2 required
|
|
11295
11296
|
// oauth required
|
|
11296
11297
|
_a.sent();
|
|
11298
|
+
if (languageCode !== undefined) {
|
|
11299
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
11300
|
+
}
|
|
11297
11301
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11298
11302
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11299
11303
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -12651,15 +12655,16 @@ exports.DoctorsApiFp = function (configuration) {
|
|
|
12651
12655
|
*
|
|
12652
12656
|
* @summary Get Doctor.
|
|
12653
12657
|
* @param {string} doctorId
|
|
12658
|
+
* @param {string} [languageCode]
|
|
12654
12659
|
* @param {*} [options] Override http request option.
|
|
12655
12660
|
* @throws {RequiredError}
|
|
12656
12661
|
*/
|
|
12657
|
-
apiV1DoctorsDoctorIdGet: function (doctorId, options) {
|
|
12662
|
+
apiV1DoctorsDoctorIdGet: function (doctorId, languageCode, options) {
|
|
12658
12663
|
return __awaiter(this, void 0, void 0, function () {
|
|
12659
12664
|
var localVarAxiosArgs;
|
|
12660
12665
|
return __generator(this, function (_a) {
|
|
12661
12666
|
switch (_a.label) {
|
|
12662
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdGet(doctorId, options)];
|
|
12667
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdGet(doctorId, languageCode, options)];
|
|
12663
12668
|
case 1:
|
|
12664
12669
|
localVarAxiosArgs = _a.sent();
|
|
12665
12670
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -13287,11 +13292,12 @@ exports.DoctorsApiFactory = function (configuration, basePath, axios) {
|
|
|
13287
13292
|
*
|
|
13288
13293
|
* @summary Get Doctor.
|
|
13289
13294
|
* @param {string} doctorId
|
|
13295
|
+
* @param {string} [languageCode]
|
|
13290
13296
|
* @param {*} [options] Override http request option.
|
|
13291
13297
|
* @throws {RequiredError}
|
|
13292
13298
|
*/
|
|
13293
|
-
apiV1DoctorsDoctorIdGet: function (doctorId, options) {
|
|
13294
|
-
return localVarFp.apiV1DoctorsDoctorIdGet(doctorId, options).then(function (request) { return request(axios, basePath); });
|
|
13299
|
+
apiV1DoctorsDoctorIdGet: function (doctorId, languageCode, options) {
|
|
13300
|
+
return localVarFp.apiV1DoctorsDoctorIdGet(doctorId, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
13295
13301
|
},
|
|
13296
13302
|
/**
|
|
13297
13303
|
*
|
|
@@ -13757,13 +13763,14 @@ var DoctorsApi = /** @class */ (function (_super) {
|
|
|
13757
13763
|
*
|
|
13758
13764
|
* @summary Get Doctor.
|
|
13759
13765
|
* @param {string} doctorId
|
|
13766
|
+
* @param {string} [languageCode]
|
|
13760
13767
|
* @param {*} [options] Override http request option.
|
|
13761
13768
|
* @throws {RequiredError}
|
|
13762
13769
|
* @memberof DoctorsApi
|
|
13763
13770
|
*/
|
|
13764
|
-
DoctorsApi.prototype.apiV1DoctorsDoctorIdGet = function (doctorId, options) {
|
|
13771
|
+
DoctorsApi.prototype.apiV1DoctorsDoctorIdGet = function (doctorId, languageCode, options) {
|
|
13765
13772
|
var _this = this;
|
|
13766
|
-
return exports.DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdGet(doctorId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
13773
|
+
return exports.DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdGet(doctorId, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
13767
13774
|
};
|
|
13768
13775
|
/**
|
|
13769
13776
|
*
|
|
@@ -14097,7 +14104,7 @@ exports.FaqCategoriesApiAxiosParamCreator = function (configuration) {
|
|
|
14097
14104
|
},
|
|
14098
14105
|
/**
|
|
14099
14106
|
*
|
|
14100
|
-
* @summary Delete
|
|
14107
|
+
* @summary Delete FaqCategory.
|
|
14101
14108
|
* @param {string} faqCategoryId
|
|
14102
14109
|
* @param {boolean} [forceDelete]
|
|
14103
14110
|
* @param {*} [options] Override http request option.
|
|
@@ -14144,7 +14151,7 @@ exports.FaqCategoriesApiAxiosParamCreator = function (configuration) {
|
|
|
14144
14151
|
},
|
|
14145
14152
|
/**
|
|
14146
14153
|
*
|
|
14147
|
-
* @summary Get
|
|
14154
|
+
* @summary Get FaqCategory.
|
|
14148
14155
|
* @param {string} faqCategoryId
|
|
14149
14156
|
* @param {string} [languageCode]
|
|
14150
14157
|
* @param {*} [options] Override http request option.
|
|
@@ -14191,7 +14198,7 @@ exports.FaqCategoriesApiAxiosParamCreator = function (configuration) {
|
|
|
14191
14198
|
},
|
|
14192
14199
|
/**
|
|
14193
14200
|
*
|
|
14194
|
-
* @summary Update
|
|
14201
|
+
* @summary Update FaqCategory.
|
|
14195
14202
|
* @param {string} faqCategoryId
|
|
14196
14203
|
* @param {UpdateFaqCategoryCommand} [updateFaqCategoryCommand]
|
|
14197
14204
|
* @param {*} [options] Override http request option.
|
|
@@ -14310,7 +14317,7 @@ exports.FaqCategoriesApiAxiosParamCreator = function (configuration) {
|
|
|
14310
14317
|
},
|
|
14311
14318
|
/**
|
|
14312
14319
|
*
|
|
14313
|
-
* @summary Create a
|
|
14320
|
+
* @summary Create a FaqCategory.
|
|
14314
14321
|
* @param {CreateFaqCategoryCommand} [createFaqCategoryCommand]
|
|
14315
14322
|
* @param {*} [options] Override http request option.
|
|
14316
14323
|
* @throws {RequiredError}
|
|
@@ -14352,7 +14359,7 @@ exports.FaqCategoriesApiAxiosParamCreator = function (configuration) {
|
|
|
14352
14359
|
},
|
|
14353
14360
|
/**
|
|
14354
14361
|
*
|
|
14355
|
-
* @summary Get
|
|
14362
|
+
* @summary Get FaqCategory by slug.
|
|
14356
14363
|
* @param {string} slug
|
|
14357
14364
|
* @param {string} [languageCode]
|
|
14358
14365
|
* @param {*} [options] Override http request option.
|
|
@@ -14429,7 +14436,7 @@ exports.FaqCategoriesApiFp = function (configuration) {
|
|
|
14429
14436
|
},
|
|
14430
14437
|
/**
|
|
14431
14438
|
*
|
|
14432
|
-
* @summary Delete
|
|
14439
|
+
* @summary Delete FaqCategory.
|
|
14433
14440
|
* @param {string} faqCategoryId
|
|
14434
14441
|
* @param {boolean} [forceDelete]
|
|
14435
14442
|
* @param {*} [options] Override http request option.
|
|
@@ -14450,7 +14457,7 @@ exports.FaqCategoriesApiFp = function (configuration) {
|
|
|
14450
14457
|
},
|
|
14451
14458
|
/**
|
|
14452
14459
|
*
|
|
14453
|
-
* @summary Get
|
|
14460
|
+
* @summary Get FaqCategory.
|
|
14454
14461
|
* @param {string} faqCategoryId
|
|
14455
14462
|
* @param {string} [languageCode]
|
|
14456
14463
|
* @param {*} [options] Override http request option.
|
|
@@ -14471,7 +14478,7 @@ exports.FaqCategoriesApiFp = function (configuration) {
|
|
|
14471
14478
|
},
|
|
14472
14479
|
/**
|
|
14473
14480
|
*
|
|
14474
|
-
* @summary Update
|
|
14481
|
+
* @summary Update FaqCategory.
|
|
14475
14482
|
* @param {string} faqCategoryId
|
|
14476
14483
|
* @param {UpdateFaqCategoryCommand} [updateFaqCategoryCommand]
|
|
14477
14484
|
* @param {*} [options] Override http request option.
|
|
@@ -14519,7 +14526,7 @@ exports.FaqCategoriesApiFp = function (configuration) {
|
|
|
14519
14526
|
},
|
|
14520
14527
|
/**
|
|
14521
14528
|
*
|
|
14522
|
-
* @summary Create a
|
|
14529
|
+
* @summary Create a FaqCategory.
|
|
14523
14530
|
* @param {CreateFaqCategoryCommand} [createFaqCategoryCommand]
|
|
14524
14531
|
* @param {*} [options] Override http request option.
|
|
14525
14532
|
* @throws {RequiredError}
|
|
@@ -14539,7 +14546,7 @@ exports.FaqCategoriesApiFp = function (configuration) {
|
|
|
14539
14546
|
},
|
|
14540
14547
|
/**
|
|
14541
14548
|
*
|
|
14542
|
-
* @summary Get
|
|
14549
|
+
* @summary Get FaqCategory by slug.
|
|
14543
14550
|
* @param {string} slug
|
|
14544
14551
|
* @param {string} [languageCode]
|
|
14545
14552
|
* @param {*} [options] Override http request option.
|
|
@@ -14580,7 +14587,7 @@ exports.FaqCategoriesApiFactory = function (configuration, basePath, axios) {
|
|
|
14580
14587
|
},
|
|
14581
14588
|
/**
|
|
14582
14589
|
*
|
|
14583
|
-
* @summary Delete
|
|
14590
|
+
* @summary Delete FaqCategory.
|
|
14584
14591
|
* @param {string} faqCategoryId
|
|
14585
14592
|
* @param {boolean} [forceDelete]
|
|
14586
14593
|
* @param {*} [options] Override http request option.
|
|
@@ -14591,7 +14598,7 @@ exports.FaqCategoriesApiFactory = function (configuration, basePath, axios) {
|
|
|
14591
14598
|
},
|
|
14592
14599
|
/**
|
|
14593
14600
|
*
|
|
14594
|
-
* @summary Get
|
|
14601
|
+
* @summary Get FaqCategory.
|
|
14595
14602
|
* @param {string} faqCategoryId
|
|
14596
14603
|
* @param {string} [languageCode]
|
|
14597
14604
|
* @param {*} [options] Override http request option.
|
|
@@ -14602,7 +14609,7 @@ exports.FaqCategoriesApiFactory = function (configuration, basePath, axios) {
|
|
|
14602
14609
|
},
|
|
14603
14610
|
/**
|
|
14604
14611
|
*
|
|
14605
|
-
* @summary Update
|
|
14612
|
+
* @summary Update FaqCategory.
|
|
14606
14613
|
* @param {string} faqCategoryId
|
|
14607
14614
|
* @param {UpdateFaqCategoryCommand} [updateFaqCategoryCommand]
|
|
14608
14615
|
* @param {*} [options] Override http request option.
|
|
@@ -14630,7 +14637,7 @@ exports.FaqCategoriesApiFactory = function (configuration, basePath, axios) {
|
|
|
14630
14637
|
},
|
|
14631
14638
|
/**
|
|
14632
14639
|
*
|
|
14633
|
-
* @summary Create a
|
|
14640
|
+
* @summary Create a FaqCategory.
|
|
14634
14641
|
* @param {CreateFaqCategoryCommand} [createFaqCategoryCommand]
|
|
14635
14642
|
* @param {*} [options] Override http request option.
|
|
14636
14643
|
* @throws {RequiredError}
|
|
@@ -14640,7 +14647,7 @@ exports.FaqCategoriesApiFactory = function (configuration, basePath, axios) {
|
|
|
14640
14647
|
},
|
|
14641
14648
|
/**
|
|
14642
14649
|
*
|
|
14643
|
-
* @summary Get
|
|
14650
|
+
* @summary Get FaqCategory by slug.
|
|
14644
14651
|
* @param {string} slug
|
|
14645
14652
|
* @param {string} [languageCode]
|
|
14646
14653
|
* @param {*} [options] Override http request option.
|
|
@@ -14677,7 +14684,7 @@ var FaqCategoriesApi = /** @class */ (function (_super) {
|
|
|
14677
14684
|
};
|
|
14678
14685
|
/**
|
|
14679
14686
|
*
|
|
14680
|
-
* @summary Delete
|
|
14687
|
+
* @summary Delete FaqCategory.
|
|
14681
14688
|
* @param {string} faqCategoryId
|
|
14682
14689
|
* @param {boolean} [forceDelete]
|
|
14683
14690
|
* @param {*} [options] Override http request option.
|
|
@@ -14690,7 +14697,7 @@ var FaqCategoriesApi = /** @class */ (function (_super) {
|
|
|
14690
14697
|
};
|
|
14691
14698
|
/**
|
|
14692
14699
|
*
|
|
14693
|
-
* @summary Get
|
|
14700
|
+
* @summary Get FaqCategory.
|
|
14694
14701
|
* @param {string} faqCategoryId
|
|
14695
14702
|
* @param {string} [languageCode]
|
|
14696
14703
|
* @param {*} [options] Override http request option.
|
|
@@ -14703,7 +14710,7 @@ var FaqCategoriesApi = /** @class */ (function (_super) {
|
|
|
14703
14710
|
};
|
|
14704
14711
|
/**
|
|
14705
14712
|
*
|
|
14706
|
-
* @summary Update
|
|
14713
|
+
* @summary Update FaqCategory.
|
|
14707
14714
|
* @param {string} faqCategoryId
|
|
14708
14715
|
* @param {UpdateFaqCategoryCommand} [updateFaqCategoryCommand]
|
|
14709
14716
|
* @param {*} [options] Override http request option.
|
|
@@ -14735,7 +14742,7 @@ var FaqCategoriesApi = /** @class */ (function (_super) {
|
|
|
14735
14742
|
};
|
|
14736
14743
|
/**
|
|
14737
14744
|
*
|
|
14738
|
-
* @summary Create a
|
|
14745
|
+
* @summary Create a FaqCategory.
|
|
14739
14746
|
* @param {CreateFaqCategoryCommand} [createFaqCategoryCommand]
|
|
14740
14747
|
* @param {*} [options] Override http request option.
|
|
14741
14748
|
* @throws {RequiredError}
|
|
@@ -14747,7 +14754,7 @@ var FaqCategoriesApi = /** @class */ (function (_super) {
|
|
|
14747
14754
|
};
|
|
14748
14755
|
/**
|
|
14749
14756
|
*
|
|
14750
|
-
* @summary Get
|
|
14757
|
+
* @summary Get FaqCategory by slug.
|
|
14751
14758
|
* @param {string} slug
|
|
14752
14759
|
* @param {string} [languageCode]
|
|
14753
14760
|
* @param {*} [options] Override http request option.
|
package/package.json
CHANGED
package/src/api.ts
CHANGED
|
@@ -5331,6 +5331,12 @@ export interface DoctorModel {
|
|
|
5331
5331
|
* @memberof DoctorModel
|
|
5332
5332
|
*/
|
|
5333
5333
|
'confirmed'?: boolean;
|
|
5334
|
+
/**
|
|
5335
|
+
*
|
|
5336
|
+
* @type {string}
|
|
5337
|
+
* @memberof DoctorModel
|
|
5338
|
+
*/
|
|
5339
|
+
'languageCode'?: string | null;
|
|
5334
5340
|
}
|
|
5335
5341
|
/**
|
|
5336
5342
|
*
|
|
@@ -9765,6 +9771,18 @@ export interface UpdateCountryCommand {
|
|
|
9765
9771
|
* @memberof UpdateCountryCommand
|
|
9766
9772
|
*/
|
|
9767
9773
|
'content'?: string | null;
|
|
9774
|
+
/**
|
|
9775
|
+
*
|
|
9776
|
+
* @type {string}
|
|
9777
|
+
* @memberof UpdateCountryCommand
|
|
9778
|
+
*/
|
|
9779
|
+
'languageCode'?: string | null;
|
|
9780
|
+
/**
|
|
9781
|
+
*
|
|
9782
|
+
* @type {boolean}
|
|
9783
|
+
* @memberof UpdateCountryCommand
|
|
9784
|
+
*/
|
|
9785
|
+
'confirmed'?: boolean;
|
|
9768
9786
|
/**
|
|
9769
9787
|
*
|
|
9770
9788
|
* @type {Array<MediaModel>}
|
|
@@ -10004,6 +10022,18 @@ export interface UpdateDoctorCommand {
|
|
|
10004
10022
|
* @memberof UpdateDoctorCommand
|
|
10005
10023
|
*/
|
|
10006
10024
|
'hospitalId'?: string | null;
|
|
10025
|
+
/**
|
|
10026
|
+
*
|
|
10027
|
+
* @type {string}
|
|
10028
|
+
* @memberof UpdateDoctorCommand
|
|
10029
|
+
*/
|
|
10030
|
+
'languageCode'?: string | null;
|
|
10031
|
+
/**
|
|
10032
|
+
*
|
|
10033
|
+
* @type {boolean}
|
|
10034
|
+
* @memberof UpdateDoctorCommand
|
|
10035
|
+
*/
|
|
10036
|
+
'confirmed'?: boolean;
|
|
10007
10037
|
}
|
|
10008
10038
|
/**
|
|
10009
10039
|
*
|
|
@@ -10402,6 +10432,18 @@ export interface UpdateHospitalServiceCommand {
|
|
|
10402
10432
|
* @memberof UpdateHospitalServiceCommand
|
|
10403
10433
|
*/
|
|
10404
10434
|
'order'?: number;
|
|
10435
|
+
/**
|
|
10436
|
+
*
|
|
10437
|
+
* @type {string}
|
|
10438
|
+
* @memberof UpdateHospitalServiceCommand
|
|
10439
|
+
*/
|
|
10440
|
+
'languageCode'?: string | null;
|
|
10441
|
+
/**
|
|
10442
|
+
*
|
|
10443
|
+
* @type {boolean}
|
|
10444
|
+
* @memberof UpdateHospitalServiceCommand
|
|
10445
|
+
*/
|
|
10446
|
+
'confirmed'?: boolean;
|
|
10405
10447
|
}
|
|
10406
10448
|
/**
|
|
10407
10449
|
*
|
|
@@ -10771,12 +10813,24 @@ export interface UpdateSpecialtyCommand {
|
|
|
10771
10813
|
* @memberof UpdateSpecialtyCommand
|
|
10772
10814
|
*/
|
|
10773
10815
|
'content'?: string | null;
|
|
10816
|
+
/**
|
|
10817
|
+
*
|
|
10818
|
+
* @type {string}
|
|
10819
|
+
* @memberof UpdateSpecialtyCommand
|
|
10820
|
+
*/
|
|
10821
|
+
'languageCode'?: string | null;
|
|
10774
10822
|
/**
|
|
10775
10823
|
*
|
|
10776
10824
|
* @type {string}
|
|
10777
10825
|
* @memberof UpdateSpecialtyCommand
|
|
10778
10826
|
*/
|
|
10779
10827
|
'specialtyTypeId'?: string;
|
|
10828
|
+
/**
|
|
10829
|
+
*
|
|
10830
|
+
* @type {boolean}
|
|
10831
|
+
* @memberof UpdateSpecialtyCommand
|
|
10832
|
+
*/
|
|
10833
|
+
'confirmed'?: boolean;
|
|
10780
10834
|
}
|
|
10781
10835
|
/**
|
|
10782
10836
|
*
|
|
@@ -10844,6 +10898,12 @@ export interface UpdateSpecialtyTypeCommand {
|
|
|
10844
10898
|
* @memberof UpdateSpecialtyTypeCommand
|
|
10845
10899
|
*/
|
|
10846
10900
|
'confirmed'?: boolean;
|
|
10901
|
+
/**
|
|
10902
|
+
*
|
|
10903
|
+
* @type {string}
|
|
10904
|
+
* @memberof UpdateSpecialtyTypeCommand
|
|
10905
|
+
*/
|
|
10906
|
+
'languageCode'?: string | null;
|
|
10847
10907
|
}
|
|
10848
10908
|
/**
|
|
10849
10909
|
*
|
|
@@ -20785,10 +20845,11 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
20785
20845
|
*
|
|
20786
20846
|
* @summary Get Doctor.
|
|
20787
20847
|
* @param {string} doctorId
|
|
20848
|
+
* @param {string} [languageCode]
|
|
20788
20849
|
* @param {*} [options] Override http request option.
|
|
20789
20850
|
* @throws {RequiredError}
|
|
20790
20851
|
*/
|
|
20791
|
-
apiV1DoctorsDoctorIdGet: async (doctorId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
20852
|
+
apiV1DoctorsDoctorIdGet: async (doctorId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
20792
20853
|
// verify required parameter 'doctorId' is not null or undefined
|
|
20793
20854
|
assertParamExists('apiV1DoctorsDoctorIdGet', 'doctorId', doctorId)
|
|
20794
20855
|
const localVarPath = `/api/v1/doctors/{doctorId}`
|
|
@@ -20808,6 +20869,10 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
20808
20869
|
// oauth required
|
|
20809
20870
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
20810
20871
|
|
|
20872
|
+
if (languageCode !== undefined) {
|
|
20873
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
20874
|
+
}
|
|
20875
|
+
|
|
20811
20876
|
|
|
20812
20877
|
|
|
20813
20878
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -21974,11 +22039,12 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
|
|
|
21974
22039
|
*
|
|
21975
22040
|
* @summary Get Doctor.
|
|
21976
22041
|
* @param {string} doctorId
|
|
22042
|
+
* @param {string} [languageCode]
|
|
21977
22043
|
* @param {*} [options] Override http request option.
|
|
21978
22044
|
* @throws {RequiredError}
|
|
21979
22045
|
*/
|
|
21980
|
-
async apiV1DoctorsDoctorIdGet(doctorId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorModel>> {
|
|
21981
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsDoctorIdGet(doctorId, options);
|
|
22046
|
+
async apiV1DoctorsDoctorIdGet(doctorId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorModel>> {
|
|
22047
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsDoctorIdGet(doctorId, languageCode, options);
|
|
21982
22048
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
21983
22049
|
},
|
|
21984
22050
|
/**
|
|
@@ -22431,11 +22497,12 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
|
|
|
22431
22497
|
*
|
|
22432
22498
|
* @summary Get Doctor.
|
|
22433
22499
|
* @param {string} doctorId
|
|
22500
|
+
* @param {string} [languageCode]
|
|
22434
22501
|
* @param {*} [options] Override http request option.
|
|
22435
22502
|
* @throws {RequiredError}
|
|
22436
22503
|
*/
|
|
22437
|
-
apiV1DoctorsDoctorIdGet(doctorId: string, options?: any): AxiosPromise<DoctorModel> {
|
|
22438
|
-
return localVarFp.apiV1DoctorsDoctorIdGet(doctorId, options).then((request) => request(axios, basePath));
|
|
22504
|
+
apiV1DoctorsDoctorIdGet(doctorId: string, languageCode?: string, options?: any): AxiosPromise<DoctorModel> {
|
|
22505
|
+
return localVarFp.apiV1DoctorsDoctorIdGet(doctorId, languageCode, options).then((request) => request(axios, basePath));
|
|
22439
22506
|
},
|
|
22440
22507
|
/**
|
|
22441
22508
|
*
|
|
@@ -22898,12 +22965,13 @@ export class DoctorsApi extends BaseAPI {
|
|
|
22898
22965
|
*
|
|
22899
22966
|
* @summary Get Doctor.
|
|
22900
22967
|
* @param {string} doctorId
|
|
22968
|
+
* @param {string} [languageCode]
|
|
22901
22969
|
* @param {*} [options] Override http request option.
|
|
22902
22970
|
* @throws {RequiredError}
|
|
22903
22971
|
* @memberof DoctorsApi
|
|
22904
22972
|
*/
|
|
22905
|
-
public apiV1DoctorsDoctorIdGet(doctorId: string, options?: AxiosRequestConfig) {
|
|
22906
|
-
return DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdGet(doctorId, options).then((request) => request(this.axios, this.basePath));
|
|
22973
|
+
public apiV1DoctorsDoctorIdGet(doctorId: string, languageCode?: string, options?: AxiosRequestConfig) {
|
|
22974
|
+
return DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdGet(doctorId, languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
22907
22975
|
}
|
|
22908
22976
|
|
|
22909
22977
|
/**
|
|
@@ -23232,7 +23300,7 @@ export const FaqCategoriesApiAxiosParamCreator = function (configuration?: Confi
|
|
|
23232
23300
|
},
|
|
23233
23301
|
/**
|
|
23234
23302
|
*
|
|
23235
|
-
* @summary Delete
|
|
23303
|
+
* @summary Delete FaqCategory.
|
|
23236
23304
|
* @param {string} faqCategoryId
|
|
23237
23305
|
* @param {boolean} [forceDelete]
|
|
23238
23306
|
* @param {*} [options] Override http request option.
|
|
@@ -23275,7 +23343,7 @@ export const FaqCategoriesApiAxiosParamCreator = function (configuration?: Confi
|
|
|
23275
23343
|
},
|
|
23276
23344
|
/**
|
|
23277
23345
|
*
|
|
23278
|
-
* @summary Get
|
|
23346
|
+
* @summary Get FaqCategory.
|
|
23279
23347
|
* @param {string} faqCategoryId
|
|
23280
23348
|
* @param {string} [languageCode]
|
|
23281
23349
|
* @param {*} [options] Override http request option.
|
|
@@ -23318,7 +23386,7 @@ export const FaqCategoriesApiAxiosParamCreator = function (configuration?: Confi
|
|
|
23318
23386
|
},
|
|
23319
23387
|
/**
|
|
23320
23388
|
*
|
|
23321
|
-
* @summary Update
|
|
23389
|
+
* @summary Update FaqCategory.
|
|
23322
23390
|
* @param {string} faqCategoryId
|
|
23323
23391
|
* @param {UpdateFaqCategoryCommand} [updateFaqCategoryCommand]
|
|
23324
23392
|
* @param {*} [options] Override http request option.
|
|
@@ -23436,7 +23504,7 @@ export const FaqCategoriesApiAxiosParamCreator = function (configuration?: Confi
|
|
|
23436
23504
|
},
|
|
23437
23505
|
/**
|
|
23438
23506
|
*
|
|
23439
|
-
* @summary Create a
|
|
23507
|
+
* @summary Create a FaqCategory.
|
|
23440
23508
|
* @param {CreateFaqCategoryCommand} [createFaqCategoryCommand]
|
|
23441
23509
|
* @param {*} [options] Override http request option.
|
|
23442
23510
|
* @throws {RequiredError}
|
|
@@ -23474,7 +23542,7 @@ export const FaqCategoriesApiAxiosParamCreator = function (configuration?: Confi
|
|
|
23474
23542
|
},
|
|
23475
23543
|
/**
|
|
23476
23544
|
*
|
|
23477
|
-
* @summary Get
|
|
23545
|
+
* @summary Get FaqCategory by slug.
|
|
23478
23546
|
* @param {string} slug
|
|
23479
23547
|
* @param {string} [languageCode]
|
|
23480
23548
|
* @param {*} [options] Override http request option.
|
|
@@ -23539,7 +23607,7 @@ export const FaqCategoriesApiFp = function(configuration?: Configuration) {
|
|
|
23539
23607
|
},
|
|
23540
23608
|
/**
|
|
23541
23609
|
*
|
|
23542
|
-
* @summary Delete
|
|
23610
|
+
* @summary Delete FaqCategory.
|
|
23543
23611
|
* @param {string} faqCategoryId
|
|
23544
23612
|
* @param {boolean} [forceDelete]
|
|
23545
23613
|
* @param {*} [options] Override http request option.
|
|
@@ -23551,7 +23619,7 @@ export const FaqCategoriesApiFp = function(configuration?: Configuration) {
|
|
|
23551
23619
|
},
|
|
23552
23620
|
/**
|
|
23553
23621
|
*
|
|
23554
|
-
* @summary Get
|
|
23622
|
+
* @summary Get FaqCategory.
|
|
23555
23623
|
* @param {string} faqCategoryId
|
|
23556
23624
|
* @param {string} [languageCode]
|
|
23557
23625
|
* @param {*} [options] Override http request option.
|
|
@@ -23563,7 +23631,7 @@ export const FaqCategoriesApiFp = function(configuration?: Configuration) {
|
|
|
23563
23631
|
},
|
|
23564
23632
|
/**
|
|
23565
23633
|
*
|
|
23566
|
-
* @summary Update
|
|
23634
|
+
* @summary Update FaqCategory.
|
|
23567
23635
|
* @param {string} faqCategoryId
|
|
23568
23636
|
* @param {UpdateFaqCategoryCommand} [updateFaqCategoryCommand]
|
|
23569
23637
|
* @param {*} [options] Override http request option.
|
|
@@ -23593,7 +23661,7 @@ export const FaqCategoriesApiFp = function(configuration?: Configuration) {
|
|
|
23593
23661
|
},
|
|
23594
23662
|
/**
|
|
23595
23663
|
*
|
|
23596
|
-
* @summary Create a
|
|
23664
|
+
* @summary Create a FaqCategory.
|
|
23597
23665
|
* @param {CreateFaqCategoryCommand} [createFaqCategoryCommand]
|
|
23598
23666
|
* @param {*} [options] Override http request option.
|
|
23599
23667
|
* @throws {RequiredError}
|
|
@@ -23604,7 +23672,7 @@ export const FaqCategoriesApiFp = function(configuration?: Configuration) {
|
|
|
23604
23672
|
},
|
|
23605
23673
|
/**
|
|
23606
23674
|
*
|
|
23607
|
-
* @summary Get
|
|
23675
|
+
* @summary Get FaqCategory by slug.
|
|
23608
23676
|
* @param {string} slug
|
|
23609
23677
|
* @param {string} [languageCode]
|
|
23610
23678
|
* @param {*} [options] Override http request option.
|
|
@@ -23637,7 +23705,7 @@ export const FaqCategoriesApiFactory = function (configuration?: Configuration,
|
|
|
23637
23705
|
},
|
|
23638
23706
|
/**
|
|
23639
23707
|
*
|
|
23640
|
-
* @summary Delete
|
|
23708
|
+
* @summary Delete FaqCategory.
|
|
23641
23709
|
* @param {string} faqCategoryId
|
|
23642
23710
|
* @param {boolean} [forceDelete]
|
|
23643
23711
|
* @param {*} [options] Override http request option.
|
|
@@ -23648,7 +23716,7 @@ export const FaqCategoriesApiFactory = function (configuration?: Configuration,
|
|
|
23648
23716
|
},
|
|
23649
23717
|
/**
|
|
23650
23718
|
*
|
|
23651
|
-
* @summary Get
|
|
23719
|
+
* @summary Get FaqCategory.
|
|
23652
23720
|
* @param {string} faqCategoryId
|
|
23653
23721
|
* @param {string} [languageCode]
|
|
23654
23722
|
* @param {*} [options] Override http request option.
|
|
@@ -23659,7 +23727,7 @@ export const FaqCategoriesApiFactory = function (configuration?: Configuration,
|
|
|
23659
23727
|
},
|
|
23660
23728
|
/**
|
|
23661
23729
|
*
|
|
23662
|
-
* @summary Update
|
|
23730
|
+
* @summary Update FaqCategory.
|
|
23663
23731
|
* @param {string} faqCategoryId
|
|
23664
23732
|
* @param {UpdateFaqCategoryCommand} [updateFaqCategoryCommand]
|
|
23665
23733
|
* @param {*} [options] Override http request option.
|
|
@@ -23687,7 +23755,7 @@ export const FaqCategoriesApiFactory = function (configuration?: Configuration,
|
|
|
23687
23755
|
},
|
|
23688
23756
|
/**
|
|
23689
23757
|
*
|
|
23690
|
-
* @summary Create a
|
|
23758
|
+
* @summary Create a FaqCategory.
|
|
23691
23759
|
* @param {CreateFaqCategoryCommand} [createFaqCategoryCommand]
|
|
23692
23760
|
* @param {*} [options] Override http request option.
|
|
23693
23761
|
* @throws {RequiredError}
|
|
@@ -23697,7 +23765,7 @@ export const FaqCategoriesApiFactory = function (configuration?: Configuration,
|
|
|
23697
23765
|
},
|
|
23698
23766
|
/**
|
|
23699
23767
|
*
|
|
23700
|
-
* @summary Get
|
|
23768
|
+
* @summary Get FaqCategory by slug.
|
|
23701
23769
|
* @param {string} slug
|
|
23702
23770
|
* @param {string} [languageCode]
|
|
23703
23771
|
* @param {*} [options] Override http request option.
|
|
@@ -23731,7 +23799,7 @@ export class FaqCategoriesApi extends BaseAPI {
|
|
|
23731
23799
|
|
|
23732
23800
|
/**
|
|
23733
23801
|
*
|
|
23734
|
-
* @summary Delete
|
|
23802
|
+
* @summary Delete FaqCategory.
|
|
23735
23803
|
* @param {string} faqCategoryId
|
|
23736
23804
|
* @param {boolean} [forceDelete]
|
|
23737
23805
|
* @param {*} [options] Override http request option.
|
|
@@ -23744,7 +23812,7 @@ export class FaqCategoriesApi extends BaseAPI {
|
|
|
23744
23812
|
|
|
23745
23813
|
/**
|
|
23746
23814
|
*
|
|
23747
|
-
* @summary Get
|
|
23815
|
+
* @summary Get FaqCategory.
|
|
23748
23816
|
* @param {string} faqCategoryId
|
|
23749
23817
|
* @param {string} [languageCode]
|
|
23750
23818
|
* @param {*} [options] Override http request option.
|
|
@@ -23757,7 +23825,7 @@ export class FaqCategoriesApi extends BaseAPI {
|
|
|
23757
23825
|
|
|
23758
23826
|
/**
|
|
23759
23827
|
*
|
|
23760
|
-
* @summary Update
|
|
23828
|
+
* @summary Update FaqCategory.
|
|
23761
23829
|
* @param {string} faqCategoryId
|
|
23762
23830
|
* @param {UpdateFaqCategoryCommand} [updateFaqCategoryCommand]
|
|
23763
23831
|
* @param {*} [options] Override http request option.
|
|
@@ -23789,7 +23857,7 @@ export class FaqCategoriesApi extends BaseAPI {
|
|
|
23789
23857
|
|
|
23790
23858
|
/**
|
|
23791
23859
|
*
|
|
23792
|
-
* @summary Create a
|
|
23860
|
+
* @summary Create a FaqCategory.
|
|
23793
23861
|
* @param {CreateFaqCategoryCommand} [createFaqCategoryCommand]
|
|
23794
23862
|
* @param {*} [options] Override http request option.
|
|
23795
23863
|
* @throws {RequiredError}
|
|
@@ -23801,7 +23869,7 @@ export class FaqCategoriesApi extends BaseAPI {
|
|
|
23801
23869
|
|
|
23802
23870
|
/**
|
|
23803
23871
|
*
|
|
23804
|
-
* @summary Get
|
|
23872
|
+
* @summary Get FaqCategory by slug.
|
|
23805
23873
|
* @param {string} slug
|
|
23806
23874
|
* @param {string} [languageCode]
|
|
23807
23875
|
* @param {*} [options] Override http request option.
|