ch-admin-api-client-typescript 2.6.2 → 2.6.3
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 +28 -12
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +14 -7
- package/package.json +1 -1
- package/src/api.ts +34 -14
package/lib/api.js
CHANGED
|
@@ -26101,13 +26101,14 @@ exports.ServicesCategoriesApiAxiosParamCreator = function (configuration) {
|
|
|
26101
26101
|
* @param {string} [name]
|
|
26102
26102
|
* @param {string} [description]
|
|
26103
26103
|
* @param {string} [languageCode]
|
|
26104
|
+
* @param {boolean} [returnDefaultValue]
|
|
26104
26105
|
* @param {number} [page]
|
|
26105
26106
|
* @param {number} [limit]
|
|
26106
26107
|
* @param {Date} [lastRetrieved]
|
|
26107
26108
|
* @param {*} [options] Override http request option.
|
|
26108
26109
|
* @throws {RequiredError}
|
|
26109
26110
|
*/
|
|
26110
|
-
apiV1ServicescategoriesGet: function (id, name, description, languageCode, page, limit, lastRetrieved, options) {
|
|
26111
|
+
apiV1ServicescategoriesGet: function (id, name, description, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
26111
26112
|
if (options === void 0) { options = {}; }
|
|
26112
26113
|
return __awaiter(_this, void 0, void 0, function () {
|
|
26113
26114
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -26141,6 +26142,9 @@ exports.ServicesCategoriesApiAxiosParamCreator = function (configuration) {
|
|
|
26141
26142
|
if (languageCode !== undefined) {
|
|
26142
26143
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
26143
26144
|
}
|
|
26145
|
+
if (returnDefaultValue !== undefined) {
|
|
26146
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
26147
|
+
}
|
|
26144
26148
|
if (page !== undefined) {
|
|
26145
26149
|
localVarQueryParameter['page'] = page;
|
|
26146
26150
|
}
|
|
@@ -26356,18 +26360,19 @@ exports.ServicesCategoriesApiFp = function (configuration) {
|
|
|
26356
26360
|
* @param {string} [name]
|
|
26357
26361
|
* @param {string} [description]
|
|
26358
26362
|
* @param {string} [languageCode]
|
|
26363
|
+
* @param {boolean} [returnDefaultValue]
|
|
26359
26364
|
* @param {number} [page]
|
|
26360
26365
|
* @param {number} [limit]
|
|
26361
26366
|
* @param {Date} [lastRetrieved]
|
|
26362
26367
|
* @param {*} [options] Override http request option.
|
|
26363
26368
|
* @throws {RequiredError}
|
|
26364
26369
|
*/
|
|
26365
|
-
apiV1ServicescategoriesGet: function (id, name, description, languageCode, page, limit, lastRetrieved, options) {
|
|
26370
|
+
apiV1ServicescategoriesGet: function (id, name, description, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
26366
26371
|
return __awaiter(this, void 0, void 0, function () {
|
|
26367
26372
|
var localVarAxiosArgs;
|
|
26368
26373
|
return __generator(this, function (_a) {
|
|
26369
26374
|
switch (_a.label) {
|
|
26370
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicescategoriesGet(id, name, description, languageCode, page, limit, lastRetrieved, options)];
|
|
26375
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicescategoriesGet(id, name, description, languageCode, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
26371
26376
|
case 1:
|
|
26372
26377
|
localVarAxiosArgs = _a.sent();
|
|
26373
26378
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -26472,14 +26477,15 @@ exports.ServicesCategoriesApiFactory = function (configuration, basePath, axios)
|
|
|
26472
26477
|
* @param {string} [name]
|
|
26473
26478
|
* @param {string} [description]
|
|
26474
26479
|
* @param {string} [languageCode]
|
|
26480
|
+
* @param {boolean} [returnDefaultValue]
|
|
26475
26481
|
* @param {number} [page]
|
|
26476
26482
|
* @param {number} [limit]
|
|
26477
26483
|
* @param {Date} [lastRetrieved]
|
|
26478
26484
|
* @param {*} [options] Override http request option.
|
|
26479
26485
|
* @throws {RequiredError}
|
|
26480
26486
|
*/
|
|
26481
|
-
apiV1ServicescategoriesGet: function (id, name, description, languageCode, page, limit, lastRetrieved, options) {
|
|
26482
|
-
return localVarFp.apiV1ServicescategoriesGet(id, name, description, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
26487
|
+
apiV1ServicescategoriesGet: function (id, name, description, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
26488
|
+
return localVarFp.apiV1ServicescategoriesGet(id, name, description, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
26483
26489
|
},
|
|
26484
26490
|
/**
|
|
26485
26491
|
*
|
|
@@ -26542,6 +26548,7 @@ var ServicesCategoriesApi = /** @class */ (function (_super) {
|
|
|
26542
26548
|
* @param {string} [name]
|
|
26543
26549
|
* @param {string} [description]
|
|
26544
26550
|
* @param {string} [languageCode]
|
|
26551
|
+
* @param {boolean} [returnDefaultValue]
|
|
26545
26552
|
* @param {number} [page]
|
|
26546
26553
|
* @param {number} [limit]
|
|
26547
26554
|
* @param {Date} [lastRetrieved]
|
|
@@ -26549,9 +26556,9 @@ var ServicesCategoriesApi = /** @class */ (function (_super) {
|
|
|
26549
26556
|
* @throws {RequiredError}
|
|
26550
26557
|
* @memberof ServicesCategoriesApi
|
|
26551
26558
|
*/
|
|
26552
|
-
ServicesCategoriesApi.prototype.apiV1ServicescategoriesGet = function (id, name, description, languageCode, page, limit, lastRetrieved, options) {
|
|
26559
|
+
ServicesCategoriesApi.prototype.apiV1ServicescategoriesGet = function (id, name, description, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
26553
26560
|
var _this = this;
|
|
26554
|
-
return exports.ServicesCategoriesApiFp(this.configuration).apiV1ServicescategoriesGet(id, name, description, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
26561
|
+
return exports.ServicesCategoriesApiFp(this.configuration).apiV1ServicescategoriesGet(id, name, description, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
26555
26562
|
};
|
|
26556
26563
|
/**
|
|
26557
26564
|
*
|
package/package.json
CHANGED
package/src/api.ts
CHANGED
|
@@ -3319,10 +3319,10 @@ export interface CreateCountryCommand {
|
|
|
3319
3319
|
'content'?: string | null;
|
|
3320
3320
|
/**
|
|
3321
3321
|
*
|
|
3322
|
-
* @type {
|
|
3322
|
+
* @type {string}
|
|
3323
3323
|
* @memberof CreateCountryCommand
|
|
3324
3324
|
*/
|
|
3325
|
-
'
|
|
3325
|
+
'logo'?: string | null;
|
|
3326
3326
|
}
|
|
3327
3327
|
/**
|
|
3328
3328
|
*
|
|
@@ -9032,6 +9032,12 @@ export interface ServiceCategoryModel {
|
|
|
9032
9032
|
* @memberof ServiceCategoryModel
|
|
9033
9033
|
*/
|
|
9034
9034
|
'services'?: Array<HospitalServiceItemModel> | null;
|
|
9035
|
+
/**
|
|
9036
|
+
*
|
|
9037
|
+
* @type {string}
|
|
9038
|
+
* @memberof ServiceCategoryModel
|
|
9039
|
+
*/
|
|
9040
|
+
'languageCode'?: string | null;
|
|
9035
9041
|
}
|
|
9036
9042
|
/**
|
|
9037
9043
|
*
|
|
@@ -10176,6 +10182,12 @@ export interface UpdateCountryCommand {
|
|
|
10176
10182
|
* @memberof UpdateCountryCommand
|
|
10177
10183
|
*/
|
|
10178
10184
|
'slug'?: string | null;
|
|
10185
|
+
/**
|
|
10186
|
+
*
|
|
10187
|
+
* @type {string}
|
|
10188
|
+
* @memberof UpdateCountryCommand
|
|
10189
|
+
*/
|
|
10190
|
+
'logo'?: string | null;
|
|
10179
10191
|
/**
|
|
10180
10192
|
*
|
|
10181
10193
|
* @type {string}
|
|
@@ -10812,19 +10824,19 @@ export interface UpdateHospitalServiceCommand {
|
|
|
10812
10824
|
* @type {number}
|
|
10813
10825
|
* @memberof UpdateHospitalServiceCommand
|
|
10814
10826
|
*/
|
|
10815
|
-
'minPrice'?: number;
|
|
10827
|
+
'minPrice'?: number | null;
|
|
10816
10828
|
/**
|
|
10817
10829
|
*
|
|
10818
10830
|
* @type {number}
|
|
10819
10831
|
* @memberof UpdateHospitalServiceCommand
|
|
10820
10832
|
*/
|
|
10821
|
-
'maxPrice'?: number;
|
|
10833
|
+
'maxPrice'?: number | null;
|
|
10822
10834
|
/**
|
|
10823
10835
|
*
|
|
10824
10836
|
* @type {boolean}
|
|
10825
10837
|
* @memberof UpdateHospitalServiceCommand
|
|
10826
10838
|
*/
|
|
10827
|
-
'priceReuqest'?: boolean;
|
|
10839
|
+
'priceReuqest'?: boolean | null;
|
|
10828
10840
|
/**
|
|
10829
10841
|
*
|
|
10830
10842
|
* @type {Procedure}
|
|
@@ -22495,7 +22507,7 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
|
|
|
22495
22507
|
* @param {*} [options] Override http request option.
|
|
22496
22508
|
* @throws {RequiredError}
|
|
22497
22509
|
*/
|
|
22498
|
-
async apiV1DoctorsDoctorIdAffiliationsPost(doctorId: string, createDoctorAffiliationCommand?: CreateDoctorAffiliationCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
22510
|
+
async apiV1DoctorsDoctorIdAffiliationsPost(doctorId: string, createDoctorAffiliationCommand?: CreateDoctorAffiliationCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorAffiliationModel>> {
|
|
22499
22511
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsDoctorIdAffiliationsPost(doctorId, createDoctorAffiliationCommand, options);
|
|
22500
22512
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
22501
22513
|
},
|
|
@@ -22966,7 +22978,7 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
|
|
|
22966
22978
|
* @param {*} [options] Override http request option.
|
|
22967
22979
|
* @throws {RequiredError}
|
|
22968
22980
|
*/
|
|
22969
|
-
apiV1DoctorsDoctorIdAffiliationsPost(doctorId: string, createDoctorAffiliationCommand?: CreateDoctorAffiliationCommand, options?: any): AxiosPromise<
|
|
22981
|
+
apiV1DoctorsDoctorIdAffiliationsPost(doctorId: string, createDoctorAffiliationCommand?: CreateDoctorAffiliationCommand, options?: any): AxiosPromise<DoctorAffiliationModel> {
|
|
22970
22982
|
return localVarFp.apiV1DoctorsDoctorIdAffiliationsPost(doctorId, createDoctorAffiliationCommand, options).then((request) => request(axios, basePath));
|
|
22971
22983
|
},
|
|
22972
22984
|
/**
|
|
@@ -34412,13 +34424,14 @@ export const ServicesCategoriesApiAxiosParamCreator = function (configuration?:
|
|
|
34412
34424
|
* @param {string} [name]
|
|
34413
34425
|
* @param {string} [description]
|
|
34414
34426
|
* @param {string} [languageCode]
|
|
34427
|
+
* @param {boolean} [returnDefaultValue]
|
|
34415
34428
|
* @param {number} [page]
|
|
34416
34429
|
* @param {number} [limit]
|
|
34417
34430
|
* @param {Date} [lastRetrieved]
|
|
34418
34431
|
* @param {*} [options] Override http request option.
|
|
34419
34432
|
* @throws {RequiredError}
|
|
34420
34433
|
*/
|
|
34421
|
-
apiV1ServicescategoriesGet: async (id?: string, name?: string, description?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
34434
|
+
apiV1ServicescategoriesGet: async (id?: string, name?: string, description?: string, languageCode?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
34422
34435
|
const localVarPath = `/api/v1/servicescategories`;
|
|
34423
34436
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34424
34437
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -34451,6 +34464,10 @@ export const ServicesCategoriesApiAxiosParamCreator = function (configuration?:
|
|
|
34451
34464
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
34452
34465
|
}
|
|
34453
34466
|
|
|
34467
|
+
if (returnDefaultValue !== undefined) {
|
|
34468
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
34469
|
+
}
|
|
34470
|
+
|
|
34454
34471
|
if (page !== undefined) {
|
|
34455
34472
|
localVarQueryParameter['page'] = page;
|
|
34456
34473
|
}
|
|
@@ -34653,14 +34670,15 @@ export const ServicesCategoriesApiFp = function(configuration?: Configuration) {
|
|
|
34653
34670
|
* @param {string} [name]
|
|
34654
34671
|
* @param {string} [description]
|
|
34655
34672
|
* @param {string} [languageCode]
|
|
34673
|
+
* @param {boolean} [returnDefaultValue]
|
|
34656
34674
|
* @param {number} [page]
|
|
34657
34675
|
* @param {number} [limit]
|
|
34658
34676
|
* @param {Date} [lastRetrieved]
|
|
34659
34677
|
* @param {*} [options] Override http request option.
|
|
34660
34678
|
* @throws {RequiredError}
|
|
34661
34679
|
*/
|
|
34662
|
-
async apiV1ServicescategoriesGet(id?: string, name?: string, description?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceCategoriesModel>> {
|
|
34663
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicescategoriesGet(id, name, description, languageCode, page, limit, lastRetrieved, options);
|
|
34680
|
+
async apiV1ServicescategoriesGet(id?: string, name?: string, description?: string, languageCode?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceCategoriesModel>> {
|
|
34681
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicescategoriesGet(id, name, description, languageCode, returnDefaultValue, page, limit, lastRetrieved, options);
|
|
34664
34682
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34665
34683
|
},
|
|
34666
34684
|
/**
|
|
@@ -34725,14 +34743,15 @@ export const ServicesCategoriesApiFactory = function (configuration?: Configurat
|
|
|
34725
34743
|
* @param {string} [name]
|
|
34726
34744
|
* @param {string} [description]
|
|
34727
34745
|
* @param {string} [languageCode]
|
|
34746
|
+
* @param {boolean} [returnDefaultValue]
|
|
34728
34747
|
* @param {number} [page]
|
|
34729
34748
|
* @param {number} [limit]
|
|
34730
34749
|
* @param {Date} [lastRetrieved]
|
|
34731
34750
|
* @param {*} [options] Override http request option.
|
|
34732
34751
|
* @throws {RequiredError}
|
|
34733
34752
|
*/
|
|
34734
|
-
apiV1ServicescategoriesGet(id?: string, name?: string, description?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ServiceCategoriesModel> {
|
|
34735
|
-
return localVarFp.apiV1ServicescategoriesGet(id, name, description, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
34753
|
+
apiV1ServicescategoriesGet(id?: string, name?: string, description?: string, languageCode?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ServiceCategoriesModel> {
|
|
34754
|
+
return localVarFp.apiV1ServicescategoriesGet(id, name, description, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
34736
34755
|
},
|
|
34737
34756
|
/**
|
|
34738
34757
|
*
|
|
@@ -34792,6 +34811,7 @@ export class ServicesCategoriesApi extends BaseAPI {
|
|
|
34792
34811
|
* @param {string} [name]
|
|
34793
34812
|
* @param {string} [description]
|
|
34794
34813
|
* @param {string} [languageCode]
|
|
34814
|
+
* @param {boolean} [returnDefaultValue]
|
|
34795
34815
|
* @param {number} [page]
|
|
34796
34816
|
* @param {number} [limit]
|
|
34797
34817
|
* @param {Date} [lastRetrieved]
|
|
@@ -34799,8 +34819,8 @@ export class ServicesCategoriesApi extends BaseAPI {
|
|
|
34799
34819
|
* @throws {RequiredError}
|
|
34800
34820
|
* @memberof ServicesCategoriesApi
|
|
34801
34821
|
*/
|
|
34802
|
-
public apiV1ServicescategoriesGet(id?: string, name?: string, description?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
34803
|
-
return ServicesCategoriesApiFp(this.configuration).apiV1ServicescategoriesGet(id, name, description, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
34822
|
+
public apiV1ServicescategoriesGet(id?: string, name?: string, description?: string, languageCode?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
34823
|
+
return ServicesCategoriesApiFp(this.configuration).apiV1ServicescategoriesGet(id, name, description, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
34804
34824
|
}
|
|
34805
34825
|
|
|
34806
34826
|
/**
|