ch-api-client-typescript2 4.1.9 → 4.2.4
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 +66 -8
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +28 -14
- package/package.json +1 -1
- package/src/api.ts +81 -14
package/lib/api.js
CHANGED
|
@@ -18049,6 +18049,7 @@ var SpecialtiesApiAxiosParamCreator = function (configuration) {
|
|
|
18049
18049
|
* @param {string} [name]
|
|
18050
18050
|
* @param {string} [description]
|
|
18051
18051
|
* @param {string} [specialtyTypeId]
|
|
18052
|
+
* @param {MarketingType} [marketingType]
|
|
18052
18053
|
* @param {string} [hospitalId]
|
|
18053
18054
|
* @param {Date} [created]
|
|
18054
18055
|
* @param {string} [languageCode]
|
|
@@ -18060,7 +18061,7 @@ var SpecialtiesApiAxiosParamCreator = function (configuration) {
|
|
|
18060
18061
|
* @param {*} [options] Override http request option.
|
|
18061
18062
|
* @throws {RequiredError}
|
|
18062
18063
|
*/
|
|
18063
|
-
apiV2SpecialtiesGet: function (id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
18064
|
+
apiV2SpecialtiesGet: function (id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
18064
18065
|
if (options === void 0) { options = {}; }
|
|
18065
18066
|
return __awaiter(_this, void 0, void 0, function () {
|
|
18066
18067
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -18085,6 +18086,9 @@ var SpecialtiesApiAxiosParamCreator = function (configuration) {
|
|
|
18085
18086
|
if (specialtyTypeId !== undefined) {
|
|
18086
18087
|
localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
|
|
18087
18088
|
}
|
|
18089
|
+
if (marketingType !== undefined) {
|
|
18090
|
+
localVarQueryParameter['MarketingType'] = marketingType;
|
|
18091
|
+
}
|
|
18088
18092
|
if (hospitalId !== undefined) {
|
|
18089
18093
|
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
18090
18094
|
}
|
|
@@ -18130,6 +18134,7 @@ var SpecialtiesApiAxiosParamCreator = function (configuration) {
|
|
|
18130
18134
|
* @param {string} [name]
|
|
18131
18135
|
* @param {string} [description]
|
|
18132
18136
|
* @param {string} [specialtyTypeId]
|
|
18137
|
+
* @param {MarketingType} [marketingType]
|
|
18133
18138
|
* @param {string} [hospitalId]
|
|
18134
18139
|
* @param {Date} [created]
|
|
18135
18140
|
* @param {string} [languageCode]
|
|
@@ -18141,7 +18146,7 @@ var SpecialtiesApiAxiosParamCreator = function (configuration) {
|
|
|
18141
18146
|
* @param {*} [options] Override http request option.
|
|
18142
18147
|
* @throws {RequiredError}
|
|
18143
18148
|
*/
|
|
18144
|
-
apiV2SpecialtiesSimpleGet: function (id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
18149
|
+
apiV2SpecialtiesSimpleGet: function (id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
18145
18150
|
if (options === void 0) { options = {}; }
|
|
18146
18151
|
return __awaiter(_this, void 0, void 0, function () {
|
|
18147
18152
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -18166,6 +18171,9 @@ var SpecialtiesApiAxiosParamCreator = function (configuration) {
|
|
|
18166
18171
|
if (specialtyTypeId !== undefined) {
|
|
18167
18172
|
localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
|
|
18168
18173
|
}
|
|
18174
|
+
if (marketingType !== undefined) {
|
|
18175
|
+
localVarQueryParameter['MarketingType'] = marketingType;
|
|
18176
|
+
}
|
|
18169
18177
|
if (hospitalId !== undefined) {
|
|
18170
18178
|
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
18171
18179
|
}
|
|
@@ -18393,6 +18401,7 @@ var SpecialtiesApiFp = function (configuration) {
|
|
|
18393
18401
|
* @param {string} [name]
|
|
18394
18402
|
* @param {string} [description]
|
|
18395
18403
|
* @param {string} [specialtyTypeId]
|
|
18404
|
+
* @param {MarketingType} [marketingType]
|
|
18396
18405
|
* @param {string} [hospitalId]
|
|
18397
18406
|
* @param {Date} [created]
|
|
18398
18407
|
* @param {string} [languageCode]
|
|
@@ -18404,12 +18413,12 @@ var SpecialtiesApiFp = function (configuration) {
|
|
|
18404
18413
|
* @param {*} [options] Override http request option.
|
|
18405
18414
|
* @throws {RequiredError}
|
|
18406
18415
|
*/
|
|
18407
|
-
apiV2SpecialtiesGet: function (id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
18416
|
+
apiV2SpecialtiesGet: function (id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
18408
18417
|
return __awaiter(this, void 0, void 0, function () {
|
|
18409
18418
|
var localVarAxiosArgs;
|
|
18410
18419
|
return __generator(this, function (_a) {
|
|
18411
18420
|
switch (_a.label) {
|
|
18412
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2SpecialtiesGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
18421
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2SpecialtiesGet(id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
18413
18422
|
case 1:
|
|
18414
18423
|
localVarAxiosArgs = _a.sent();
|
|
18415
18424
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -18424,6 +18433,7 @@ var SpecialtiesApiFp = function (configuration) {
|
|
|
18424
18433
|
* @param {string} [name]
|
|
18425
18434
|
* @param {string} [description]
|
|
18426
18435
|
* @param {string} [specialtyTypeId]
|
|
18436
|
+
* @param {MarketingType} [marketingType]
|
|
18427
18437
|
* @param {string} [hospitalId]
|
|
18428
18438
|
* @param {Date} [created]
|
|
18429
18439
|
* @param {string} [languageCode]
|
|
@@ -18435,12 +18445,12 @@ var SpecialtiesApiFp = function (configuration) {
|
|
|
18435
18445
|
* @param {*} [options] Override http request option.
|
|
18436
18446
|
* @throws {RequiredError}
|
|
18437
18447
|
*/
|
|
18438
|
-
apiV2SpecialtiesSimpleGet: function (id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
18448
|
+
apiV2SpecialtiesSimpleGet: function (id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
18439
18449
|
return __awaiter(this, void 0, void 0, function () {
|
|
18440
18450
|
var localVarAxiosArgs;
|
|
18441
18451
|
return __generator(this, function (_a) {
|
|
18442
18452
|
switch (_a.label) {
|
|
18443
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2SpecialtiesSimpleGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
18453
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2SpecialtiesSimpleGet(id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
18444
18454
|
case 1:
|
|
18445
18455
|
localVarAxiosArgs = _a.sent();
|
|
18446
18456
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -18553,6 +18563,7 @@ var SpecialtiesApiFactory = function (configuration, basePath, axios) {
|
|
|
18553
18563
|
* @param {string} [name]
|
|
18554
18564
|
* @param {string} [description]
|
|
18555
18565
|
* @param {string} [specialtyTypeId]
|
|
18566
|
+
* @param {MarketingType} [marketingType]
|
|
18556
18567
|
* @param {string} [hospitalId]
|
|
18557
18568
|
* @param {Date} [created]
|
|
18558
18569
|
* @param {string} [languageCode]
|
|
@@ -18564,8 +18575,8 @@ var SpecialtiesApiFactory = function (configuration, basePath, axios) {
|
|
|
18564
18575
|
* @param {*} [options] Override http request option.
|
|
18565
18576
|
* @throws {RequiredError}
|
|
18566
18577
|
*/
|
|
18567
|
-
apiV2SpecialtiesGet: function (id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
18568
|
-
return localVarFp.apiV2SpecialtiesGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
18578
|
+
apiV2SpecialtiesGet: function (id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
18579
|
+
return localVarFp.apiV2SpecialtiesGet(id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
18569
18580
|
},
|
|
18570
18581
|
/**
|
|
18571
18582
|
*
|
|
@@ -18574,6 +18585,7 @@ var SpecialtiesApiFactory = function (configuration, basePath, axios) {
|
|
|
18574
18585
|
* @param {string} [name]
|
|
18575
18586
|
* @param {string} [description]
|
|
18576
18587
|
* @param {string} [specialtyTypeId]
|
|
18588
|
+
* @param {MarketingType} [marketingType]
|
|
18577
18589
|
* @param {string} [hospitalId]
|
|
18578
18590
|
* @param {Date} [created]
|
|
18579
18591
|
* @param {string} [languageCode]
|
|
@@ -18585,8 +18597,8 @@ var SpecialtiesApiFactory = function (configuration, basePath, axios) {
|
|
|
18585
18597
|
* @param {*} [options] Override http request option.
|
|
18586
18598
|
* @throws {RequiredError}
|
|
18587
18599
|
*/
|
|
18588
|
-
apiV2SpecialtiesSimpleGet: function (id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
18589
|
-
return localVarFp.apiV2SpecialtiesSimpleGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
18600
|
+
apiV2SpecialtiesSimpleGet: function (id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
18601
|
+
return localVarFp.apiV2SpecialtiesSimpleGet(id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
18590
18602
|
},
|
|
18591
18603
|
/**
|
|
18592
18604
|
*
|
|
@@ -18657,6 +18669,7 @@ var SpecialtiesApi = /** @class */ (function (_super) {
|
|
|
18657
18669
|
* @param {string} [name]
|
|
18658
18670
|
* @param {string} [description]
|
|
18659
18671
|
* @param {string} [specialtyTypeId]
|
|
18672
|
+
* @param {MarketingType} [marketingType]
|
|
18660
18673
|
* @param {string} [hospitalId]
|
|
18661
18674
|
* @param {Date} [created]
|
|
18662
18675
|
* @param {string} [languageCode]
|
|
@@ -18669,9 +18682,9 @@ var SpecialtiesApi = /** @class */ (function (_super) {
|
|
|
18669
18682
|
* @throws {RequiredError}
|
|
18670
18683
|
* @memberof SpecialtiesApi
|
|
18671
18684
|
*/
|
|
18672
|
-
SpecialtiesApi.prototype.apiV2SpecialtiesGet = function (id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
18685
|
+
SpecialtiesApi.prototype.apiV2SpecialtiesGet = function (id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
18673
18686
|
var _this = this;
|
|
18674
|
-
return (0, exports.SpecialtiesApiFp)(this.configuration).apiV2SpecialtiesGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
18687
|
+
return (0, exports.SpecialtiesApiFp)(this.configuration).apiV2SpecialtiesGet(id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
18675
18688
|
};
|
|
18676
18689
|
/**
|
|
18677
18690
|
*
|
|
@@ -18680,6 +18693,7 @@ var SpecialtiesApi = /** @class */ (function (_super) {
|
|
|
18680
18693
|
* @param {string} [name]
|
|
18681
18694
|
* @param {string} [description]
|
|
18682
18695
|
* @param {string} [specialtyTypeId]
|
|
18696
|
+
* @param {MarketingType} [marketingType]
|
|
18683
18697
|
* @param {string} [hospitalId]
|
|
18684
18698
|
* @param {Date} [created]
|
|
18685
18699
|
* @param {string} [languageCode]
|
|
@@ -18692,9 +18706,9 @@ var SpecialtiesApi = /** @class */ (function (_super) {
|
|
|
18692
18706
|
* @throws {RequiredError}
|
|
18693
18707
|
* @memberof SpecialtiesApi
|
|
18694
18708
|
*/
|
|
18695
|
-
SpecialtiesApi.prototype.apiV2SpecialtiesSimpleGet = function (id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
18709
|
+
SpecialtiesApi.prototype.apiV2SpecialtiesSimpleGet = function (id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
18696
18710
|
var _this = this;
|
|
18697
|
-
return (0, exports.SpecialtiesApiFp)(this.configuration).apiV2SpecialtiesSimpleGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
18711
|
+
return (0, exports.SpecialtiesApiFp)(this.configuration).apiV2SpecialtiesSimpleGet(id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
18698
18712
|
};
|
|
18699
18713
|
/**
|
|
18700
18714
|
*
|
package/package.json
CHANGED
package/src/api.ts
CHANGED
|
@@ -7856,6 +7856,45 @@ export enum Platform {
|
|
|
7856
7856
|
Android = 'Android'
|
|
7857
7857
|
}
|
|
7858
7858
|
|
|
7859
|
+
/**
|
|
7860
|
+
*
|
|
7861
|
+
* @export
|
|
7862
|
+
* @interface ProblemDetails
|
|
7863
|
+
*/
|
|
7864
|
+
export interface ProblemDetails {
|
|
7865
|
+
[key: string]: any | any;
|
|
7866
|
+
|
|
7867
|
+
/**
|
|
7868
|
+
*
|
|
7869
|
+
* @type {string}
|
|
7870
|
+
* @memberof ProblemDetails
|
|
7871
|
+
*/
|
|
7872
|
+
'type'?: string | null;
|
|
7873
|
+
/**
|
|
7874
|
+
*
|
|
7875
|
+
* @type {string}
|
|
7876
|
+
* @memberof ProblemDetails
|
|
7877
|
+
*/
|
|
7878
|
+
'title'?: string | null;
|
|
7879
|
+
/**
|
|
7880
|
+
*
|
|
7881
|
+
* @type {number}
|
|
7882
|
+
* @memberof ProblemDetails
|
|
7883
|
+
*/
|
|
7884
|
+
'status'?: number | null;
|
|
7885
|
+
/**
|
|
7886
|
+
*
|
|
7887
|
+
* @type {string}
|
|
7888
|
+
* @memberof ProblemDetails
|
|
7889
|
+
*/
|
|
7890
|
+
'detail'?: string | null;
|
|
7891
|
+
/**
|
|
7892
|
+
*
|
|
7893
|
+
* @type {string}
|
|
7894
|
+
* @memberof ProblemDetails
|
|
7895
|
+
*/
|
|
7896
|
+
'instance'?: string | null;
|
|
7897
|
+
}
|
|
7859
7898
|
/**
|
|
7860
7899
|
*
|
|
7861
7900
|
* @export
|
|
@@ -8719,6 +8758,12 @@ export interface SpecialtyItemModel {
|
|
|
8719
8758
|
* @memberof SpecialtyItemModel
|
|
8720
8759
|
*/
|
|
8721
8760
|
'specialtyTypeName'?: string | null;
|
|
8761
|
+
/**
|
|
8762
|
+
*
|
|
8763
|
+
* @type {MarketingType}
|
|
8764
|
+
* @memberof SpecialtyItemModel
|
|
8765
|
+
*/
|
|
8766
|
+
'marketingType'?: MarketingType;
|
|
8722
8767
|
/**
|
|
8723
8768
|
*
|
|
8724
8769
|
* @type {Array<MediaModel>}
|
|
@@ -8823,6 +8868,12 @@ export interface SpecialtyModel {
|
|
|
8823
8868
|
* @memberof SpecialtyModel
|
|
8824
8869
|
*/
|
|
8825
8870
|
'specialtyTypeName'?: string | null;
|
|
8871
|
+
/**
|
|
8872
|
+
*
|
|
8873
|
+
* @type {MarketingType}
|
|
8874
|
+
* @memberof SpecialtyModel
|
|
8875
|
+
*/
|
|
8876
|
+
'marketingType'?: MarketingType;
|
|
8826
8877
|
/**
|
|
8827
8878
|
*
|
|
8828
8879
|
* @type {Array<MediaModel>}
|
|
@@ -26577,6 +26628,7 @@ export const SpecialtiesApiAxiosParamCreator = function (configuration?: Configu
|
|
|
26577
26628
|
* @param {string} [name]
|
|
26578
26629
|
* @param {string} [description]
|
|
26579
26630
|
* @param {string} [specialtyTypeId]
|
|
26631
|
+
* @param {MarketingType} [marketingType]
|
|
26580
26632
|
* @param {string} [hospitalId]
|
|
26581
26633
|
* @param {Date} [created]
|
|
26582
26634
|
* @param {string} [languageCode]
|
|
@@ -26588,7 +26640,7 @@ export const SpecialtiesApiAxiosParamCreator = function (configuration?: Configu
|
|
|
26588
26640
|
* @param {*} [options] Override http request option.
|
|
26589
26641
|
* @throws {RequiredError}
|
|
26590
26642
|
*/
|
|
26591
|
-
apiV2SpecialtiesGet: async (id?: string, name?: string, description?: string, specialtyTypeId?: string, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26643
|
+
apiV2SpecialtiesGet: async (id?: string, name?: string, description?: string, specialtyTypeId?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26592
26644
|
const localVarPath = `/api/v2/specialties`;
|
|
26593
26645
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26594
26646
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -26617,6 +26669,10 @@ export const SpecialtiesApiAxiosParamCreator = function (configuration?: Configu
|
|
|
26617
26669
|
localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
|
|
26618
26670
|
}
|
|
26619
26671
|
|
|
26672
|
+
if (marketingType !== undefined) {
|
|
26673
|
+
localVarQueryParameter['MarketingType'] = marketingType;
|
|
26674
|
+
}
|
|
26675
|
+
|
|
26620
26676
|
if (hospitalId !== undefined) {
|
|
26621
26677
|
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
26622
26678
|
}
|
|
@@ -26671,6 +26727,7 @@ export const SpecialtiesApiAxiosParamCreator = function (configuration?: Configu
|
|
|
26671
26727
|
* @param {string} [name]
|
|
26672
26728
|
* @param {string} [description]
|
|
26673
26729
|
* @param {string} [specialtyTypeId]
|
|
26730
|
+
* @param {MarketingType} [marketingType]
|
|
26674
26731
|
* @param {string} [hospitalId]
|
|
26675
26732
|
* @param {Date} [created]
|
|
26676
26733
|
* @param {string} [languageCode]
|
|
@@ -26682,7 +26739,7 @@ export const SpecialtiesApiAxiosParamCreator = function (configuration?: Configu
|
|
|
26682
26739
|
* @param {*} [options] Override http request option.
|
|
26683
26740
|
* @throws {RequiredError}
|
|
26684
26741
|
*/
|
|
26685
|
-
apiV2SpecialtiesSimpleGet: async (id?: string, name?: string, description?: string, specialtyTypeId?: string, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26742
|
+
apiV2SpecialtiesSimpleGet: async (id?: string, name?: string, description?: string, specialtyTypeId?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26686
26743
|
const localVarPath = `/api/v2/specialties/simple`;
|
|
26687
26744
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26688
26745
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -26711,6 +26768,10 @@ export const SpecialtiesApiAxiosParamCreator = function (configuration?: Configu
|
|
|
26711
26768
|
localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
|
|
26712
26769
|
}
|
|
26713
26770
|
|
|
26771
|
+
if (marketingType !== undefined) {
|
|
26772
|
+
localVarQueryParameter['MarketingType'] = marketingType;
|
|
26773
|
+
}
|
|
26774
|
+
|
|
26714
26775
|
if (hospitalId !== undefined) {
|
|
26715
26776
|
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
26716
26777
|
}
|
|
@@ -26960,6 +27021,7 @@ export const SpecialtiesApiFp = function(configuration?: Configuration) {
|
|
|
26960
27021
|
* @param {string} [name]
|
|
26961
27022
|
* @param {string} [description]
|
|
26962
27023
|
* @param {string} [specialtyTypeId]
|
|
27024
|
+
* @param {MarketingType} [marketingType]
|
|
26963
27025
|
* @param {string} [hospitalId]
|
|
26964
27026
|
* @param {Date} [created]
|
|
26965
27027
|
* @param {string} [languageCode]
|
|
@@ -26971,8 +27033,8 @@ export const SpecialtiesApiFp = function(configuration?: Configuration) {
|
|
|
26971
27033
|
* @param {*} [options] Override http request option.
|
|
26972
27034
|
* @throws {RequiredError}
|
|
26973
27035
|
*/
|
|
26974
|
-
async apiV2SpecialtiesGet(id?: string, name?: string, description?: string, specialtyTypeId?: string, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtiesModel>> {
|
|
26975
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2SpecialtiesGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options);
|
|
27036
|
+
async apiV2SpecialtiesGet(id?: string, name?: string, description?: string, specialtyTypeId?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtiesModel>> {
|
|
27037
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2SpecialtiesGet(id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options);
|
|
26976
27038
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
26977
27039
|
},
|
|
26978
27040
|
/**
|
|
@@ -26982,6 +27044,7 @@ export const SpecialtiesApiFp = function(configuration?: Configuration) {
|
|
|
26982
27044
|
* @param {string} [name]
|
|
26983
27045
|
* @param {string} [description]
|
|
26984
27046
|
* @param {string} [specialtyTypeId]
|
|
27047
|
+
* @param {MarketingType} [marketingType]
|
|
26985
27048
|
* @param {string} [hospitalId]
|
|
26986
27049
|
* @param {Date} [created]
|
|
26987
27050
|
* @param {string} [languageCode]
|
|
@@ -26993,8 +27056,8 @@ export const SpecialtiesApiFp = function(configuration?: Configuration) {
|
|
|
26993
27056
|
* @param {*} [options] Override http request option.
|
|
26994
27057
|
* @throws {RequiredError}
|
|
26995
27058
|
*/
|
|
26996
|
-
async apiV2SpecialtiesSimpleGet(id?: string, name?: string, description?: string, specialtyTypeId?: string, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtiesSimpleModel>> {
|
|
26997
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2SpecialtiesSimpleGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options);
|
|
27059
|
+
async apiV2SpecialtiesSimpleGet(id?: string, name?: string, description?: string, specialtyTypeId?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtiesSimpleModel>> {
|
|
27060
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2SpecialtiesSimpleGet(id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options);
|
|
26998
27061
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
26999
27062
|
},
|
|
27000
27063
|
/**
|
|
@@ -27066,6 +27129,7 @@ export const SpecialtiesApiFactory = function (configuration?: Configuration, ba
|
|
|
27066
27129
|
* @param {string} [name]
|
|
27067
27130
|
* @param {string} [description]
|
|
27068
27131
|
* @param {string} [specialtyTypeId]
|
|
27132
|
+
* @param {MarketingType} [marketingType]
|
|
27069
27133
|
* @param {string} [hospitalId]
|
|
27070
27134
|
* @param {Date} [created]
|
|
27071
27135
|
* @param {string} [languageCode]
|
|
@@ -27077,8 +27141,8 @@ export const SpecialtiesApiFactory = function (configuration?: Configuration, ba
|
|
|
27077
27141
|
* @param {*} [options] Override http request option.
|
|
27078
27142
|
* @throws {RequiredError}
|
|
27079
27143
|
*/
|
|
27080
|
-
apiV2SpecialtiesGet(id?: string, name?: string, description?: string, specialtyTypeId?: string, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<SpecialtiesModel> {
|
|
27081
|
-
return localVarFp.apiV2SpecialtiesGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
27144
|
+
apiV2SpecialtiesGet(id?: string, name?: string, description?: string, specialtyTypeId?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<SpecialtiesModel> {
|
|
27145
|
+
return localVarFp.apiV2SpecialtiesGet(id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
27082
27146
|
},
|
|
27083
27147
|
/**
|
|
27084
27148
|
*
|
|
@@ -27087,6 +27151,7 @@ export const SpecialtiesApiFactory = function (configuration?: Configuration, ba
|
|
|
27087
27151
|
* @param {string} [name]
|
|
27088
27152
|
* @param {string} [description]
|
|
27089
27153
|
* @param {string} [specialtyTypeId]
|
|
27154
|
+
* @param {MarketingType} [marketingType]
|
|
27090
27155
|
* @param {string} [hospitalId]
|
|
27091
27156
|
* @param {Date} [created]
|
|
27092
27157
|
* @param {string} [languageCode]
|
|
@@ -27098,8 +27163,8 @@ export const SpecialtiesApiFactory = function (configuration?: Configuration, ba
|
|
|
27098
27163
|
* @param {*} [options] Override http request option.
|
|
27099
27164
|
* @throws {RequiredError}
|
|
27100
27165
|
*/
|
|
27101
|
-
apiV2SpecialtiesSimpleGet(id?: string, name?: string, description?: string, specialtyTypeId?: string, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<SpecialtiesSimpleModel> {
|
|
27102
|
-
return localVarFp.apiV2SpecialtiesSimpleGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
27166
|
+
apiV2SpecialtiesSimpleGet(id?: string, name?: string, description?: string, specialtyTypeId?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<SpecialtiesSimpleModel> {
|
|
27167
|
+
return localVarFp.apiV2SpecialtiesSimpleGet(id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
27103
27168
|
},
|
|
27104
27169
|
/**
|
|
27105
27170
|
*
|
|
@@ -27166,6 +27231,7 @@ export class SpecialtiesApi extends BaseAPI {
|
|
|
27166
27231
|
* @param {string} [name]
|
|
27167
27232
|
* @param {string} [description]
|
|
27168
27233
|
* @param {string} [specialtyTypeId]
|
|
27234
|
+
* @param {MarketingType} [marketingType]
|
|
27169
27235
|
* @param {string} [hospitalId]
|
|
27170
27236
|
* @param {Date} [created]
|
|
27171
27237
|
* @param {string} [languageCode]
|
|
@@ -27178,8 +27244,8 @@ export class SpecialtiesApi extends BaseAPI {
|
|
|
27178
27244
|
* @throws {RequiredError}
|
|
27179
27245
|
* @memberof SpecialtiesApi
|
|
27180
27246
|
*/
|
|
27181
|
-
public apiV2SpecialtiesGet(id?: string, name?: string, description?: string, specialtyTypeId?: string, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
27182
|
-
return SpecialtiesApiFp(this.configuration).apiV2SpecialtiesGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
27247
|
+
public apiV2SpecialtiesGet(id?: string, name?: string, description?: string, specialtyTypeId?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
27248
|
+
return SpecialtiesApiFp(this.configuration).apiV2SpecialtiesGet(id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
27183
27249
|
}
|
|
27184
27250
|
|
|
27185
27251
|
/**
|
|
@@ -27189,6 +27255,7 @@ export class SpecialtiesApi extends BaseAPI {
|
|
|
27189
27255
|
* @param {string} [name]
|
|
27190
27256
|
* @param {string} [description]
|
|
27191
27257
|
* @param {string} [specialtyTypeId]
|
|
27258
|
+
* @param {MarketingType} [marketingType]
|
|
27192
27259
|
* @param {string} [hospitalId]
|
|
27193
27260
|
* @param {Date} [created]
|
|
27194
27261
|
* @param {string} [languageCode]
|
|
@@ -27201,8 +27268,8 @@ export class SpecialtiesApi extends BaseAPI {
|
|
|
27201
27268
|
* @throws {RequiredError}
|
|
27202
27269
|
* @memberof SpecialtiesApi
|
|
27203
27270
|
*/
|
|
27204
|
-
public apiV2SpecialtiesSimpleGet(id?: string, name?: string, description?: string, specialtyTypeId?: string, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
27205
|
-
return SpecialtiesApiFp(this.configuration).apiV2SpecialtiesSimpleGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
27271
|
+
public apiV2SpecialtiesSimpleGet(id?: string, name?: string, description?: string, specialtyTypeId?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
27272
|
+
return SpecialtiesApiFp(this.configuration).apiV2SpecialtiesSimpleGet(id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
27206
27273
|
}
|
|
27207
27274
|
|
|
27208
27275
|
/**
|