ch-admin-api-client-typescript 4.2.9 → 4.2.10
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 +36 -4
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +21 -7
- package/package.json +1 -1
- package/src/api.ts +47 -7
package/lib/api.js
CHANGED
|
@@ -12913,6 +12913,8 @@ exports.DoctorAffiliationsApiAxiosParamCreator = function (configuration) {
|
|
|
12913
12913
|
* @param {string} [doctorName]
|
|
12914
12914
|
* @param {string} [doctorSlug]
|
|
12915
12915
|
* @param {string} [specialtyId]
|
|
12916
|
+
* @param {MarketingType} [marketingType]
|
|
12917
|
+
* @param {string} [countryId]
|
|
12916
12918
|
* @param {string} [languageCode]
|
|
12917
12919
|
* @param {boolean} [showHidden]
|
|
12918
12920
|
* @param {number} [page]
|
|
@@ -12921,7 +12923,7 @@ exports.DoctorAffiliationsApiAxiosParamCreator = function (configuration) {
|
|
|
12921
12923
|
* @param {*} [options] Override http request option.
|
|
12922
12924
|
* @throws {RequiredError}
|
|
12923
12925
|
*/
|
|
12924
|
-
apiV1DoctoraffiliationsGet: function (hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
12926
|
+
apiV1DoctoraffiliationsGet: function (hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, marketingType, countryId, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
12925
12927
|
if (options === void 0) { options = {}; }
|
|
12926
12928
|
return __awaiter(_this, void 0, void 0, function () {
|
|
12927
12929
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -12961,6 +12963,12 @@ exports.DoctorAffiliationsApiAxiosParamCreator = function (configuration) {
|
|
|
12961
12963
|
if (specialtyId !== undefined) {
|
|
12962
12964
|
localVarQueryParameter['SpecialtyId'] = specialtyId;
|
|
12963
12965
|
}
|
|
12966
|
+
if (marketingType !== undefined) {
|
|
12967
|
+
localVarQueryParameter['MarketingType'] = marketingType;
|
|
12968
|
+
}
|
|
12969
|
+
if (countryId !== undefined) {
|
|
12970
|
+
localVarQueryParameter['CountryId'] = countryId;
|
|
12971
|
+
}
|
|
12964
12972
|
if (languageCode !== undefined) {
|
|
12965
12973
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
12966
12974
|
}
|
|
@@ -13294,6 +13302,8 @@ exports.DoctorAffiliationsApiFp = function (configuration) {
|
|
|
13294
13302
|
* @param {string} [doctorName]
|
|
13295
13303
|
* @param {string} [doctorSlug]
|
|
13296
13304
|
* @param {string} [specialtyId]
|
|
13305
|
+
* @param {MarketingType} [marketingType]
|
|
13306
|
+
* @param {string} [countryId]
|
|
13297
13307
|
* @param {string} [languageCode]
|
|
13298
13308
|
* @param {boolean} [showHidden]
|
|
13299
13309
|
* @param {number} [page]
|
|
@@ -13302,12 +13312,12 @@ exports.DoctorAffiliationsApiFp = function (configuration) {
|
|
|
13302
13312
|
* @param {*} [options] Override http request option.
|
|
13303
13313
|
* @throws {RequiredError}
|
|
13304
13314
|
*/
|
|
13305
|
-
apiV1DoctoraffiliationsGet: function (hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
13315
|
+
apiV1DoctoraffiliationsGet: function (hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, marketingType, countryId, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
13306
13316
|
return __awaiter(this, void 0, void 0, function () {
|
|
13307
13317
|
var localVarAxiosArgs;
|
|
13308
13318
|
return __generator(this, function (_a) {
|
|
13309
13319
|
switch (_a.label) {
|
|
13310
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctoraffiliationsGet(hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, languageCode, showHidden, page, limit, lastRetrieved, options)];
|
|
13320
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctoraffiliationsGet(hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, marketingType, countryId, languageCode, showHidden, page, limit, lastRetrieved, options)];
|
|
13311
13321
|
case 1:
|
|
13312
13322
|
localVarAxiosArgs = _a.sent();
|
|
13313
13323
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -13474,6 +13484,8 @@ exports.DoctorAffiliationsApiFactory = function (configuration, basePath, axios)
|
|
|
13474
13484
|
* @param {string} [doctorName]
|
|
13475
13485
|
* @param {string} [doctorSlug]
|
|
13476
13486
|
* @param {string} [specialtyId]
|
|
13487
|
+
* @param {MarketingType} [marketingType]
|
|
13488
|
+
* @param {string} [countryId]
|
|
13477
13489
|
* @param {string} [languageCode]
|
|
13478
13490
|
* @param {boolean} [showHidden]
|
|
13479
13491
|
* @param {number} [page]
|
|
@@ -13482,8 +13494,8 @@ exports.DoctorAffiliationsApiFactory = function (configuration, basePath, axios)
|
|
|
13482
13494
|
* @param {*} [options] Override http request option.
|
|
13483
13495
|
* @throws {RequiredError}
|
|
13484
13496
|
*/
|
|
13485
|
-
apiV1DoctoraffiliationsGet: function (hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
13486
|
-
return localVarFp.apiV1DoctoraffiliationsGet(hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
13497
|
+
apiV1DoctoraffiliationsGet: function (hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, marketingType, countryId, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
13498
|
+
return localVarFp.apiV1DoctoraffiliationsGet(hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, marketingType, countryId, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
13487
13499
|
},
|
|
13488
13500
|
/**
|
|
13489
13501
|
*
|
|
@@ -13618,6 +13630,8 @@ var DoctorAffiliationsApi = /** @class */ (function (_super) {
|
|
|
13618
13630
|
* @param {string} [doctorName]
|
|
13619
13631
|
* @param {string} [doctorSlug]
|
|
13620
13632
|
* @param {string} [specialtyId]
|
|
13633
|
+
* @param {MarketingType} [marketingType]
|
|
13634
|
+
* @param {string} [countryId]
|
|
13621
13635
|
* @param {string} [languageCode]
|
|
13622
13636
|
* @param {boolean} [showHidden]
|
|
13623
13637
|
* @param {number} [page]
|
|
@@ -13627,9 +13641,9 @@ var DoctorAffiliationsApi = /** @class */ (function (_super) {
|
|
|
13627
13641
|
* @throws {RequiredError}
|
|
13628
13642
|
* @memberof DoctorAffiliationsApi
|
|
13629
13643
|
*/
|
|
13630
|
-
DoctorAffiliationsApi.prototype.apiV1DoctoraffiliationsGet = function (hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
13644
|
+
DoctorAffiliationsApi.prototype.apiV1DoctoraffiliationsGet = function (hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, marketingType, countryId, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
13631
13645
|
var _this = this;
|
|
13632
|
-
return exports.DoctorAffiliationsApiFp(this.configuration).apiV1DoctoraffiliationsGet(hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
13646
|
+
return exports.DoctorAffiliationsApiFp(this.configuration).apiV1DoctoraffiliationsGet(hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, marketingType, countryId, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
13633
13647
|
};
|
|
13634
13648
|
/**
|
|
13635
13649
|
*
|
package/package.json
CHANGED
package/src/api.ts
CHANGED
|
@@ -5822,6 +5822,18 @@ export interface DoctorAffiliationItemModel {
|
|
|
5822
5822
|
* @memberof DoctorAffiliationItemModel
|
|
5823
5823
|
*/
|
|
5824
5824
|
'hospitalSlug'?: string | null;
|
|
5825
|
+
/**
|
|
5826
|
+
*
|
|
5827
|
+
* @type {string}
|
|
5828
|
+
* @memberof DoctorAffiliationItemModel
|
|
5829
|
+
*/
|
|
5830
|
+
'countryId'?: string;
|
|
5831
|
+
/**
|
|
5832
|
+
*
|
|
5833
|
+
* @type {MarketingType}
|
|
5834
|
+
* @memberof DoctorAffiliationItemModel
|
|
5835
|
+
*/
|
|
5836
|
+
'marketingType'?: MarketingType;
|
|
5825
5837
|
/**
|
|
5826
5838
|
*
|
|
5827
5839
|
* @type {string}
|
|
@@ -5919,6 +5931,18 @@ export interface DoctorAffiliationModel {
|
|
|
5919
5931
|
* @memberof DoctorAffiliationModel
|
|
5920
5932
|
*/
|
|
5921
5933
|
'hospitalSlug'?: string | null;
|
|
5934
|
+
/**
|
|
5935
|
+
*
|
|
5936
|
+
* @type {string}
|
|
5937
|
+
* @memberof DoctorAffiliationModel
|
|
5938
|
+
*/
|
|
5939
|
+
'countryId'?: string;
|
|
5940
|
+
/**
|
|
5941
|
+
*
|
|
5942
|
+
* @type {MarketingType}
|
|
5943
|
+
* @memberof DoctorAffiliationModel
|
|
5944
|
+
*/
|
|
5945
|
+
'marketingType'?: MarketingType;
|
|
5922
5946
|
/**
|
|
5923
5947
|
*
|
|
5924
5948
|
* @type {string}
|
|
@@ -25116,6 +25140,8 @@ export const DoctorAffiliationsApiAxiosParamCreator = function (configuration?:
|
|
|
25116
25140
|
* @param {string} [doctorName]
|
|
25117
25141
|
* @param {string} [doctorSlug]
|
|
25118
25142
|
* @param {string} [specialtyId]
|
|
25143
|
+
* @param {MarketingType} [marketingType]
|
|
25144
|
+
* @param {string} [countryId]
|
|
25119
25145
|
* @param {string} [languageCode]
|
|
25120
25146
|
* @param {boolean} [showHidden]
|
|
25121
25147
|
* @param {number} [page]
|
|
@@ -25124,7 +25150,7 @@ export const DoctorAffiliationsApiAxiosParamCreator = function (configuration?:
|
|
|
25124
25150
|
* @param {*} [options] Override http request option.
|
|
25125
25151
|
* @throws {RequiredError}
|
|
25126
25152
|
*/
|
|
25127
|
-
apiV1DoctoraffiliationsGet: async (hospitalId?: string, hospitalName?: string, doctorId?: string, doctorName?: string, doctorSlug?: string, specialtyId?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
25153
|
+
apiV1DoctoraffiliationsGet: async (hospitalId?: string, hospitalName?: string, doctorId?: string, doctorName?: string, doctorSlug?: string, specialtyId?: string, marketingType?: MarketingType, countryId?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
25128
25154
|
const localVarPath = `/api/v1/doctoraffiliations`;
|
|
25129
25155
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
25130
25156
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -25165,6 +25191,14 @@ export const DoctorAffiliationsApiAxiosParamCreator = function (configuration?:
|
|
|
25165
25191
|
localVarQueryParameter['SpecialtyId'] = specialtyId;
|
|
25166
25192
|
}
|
|
25167
25193
|
|
|
25194
|
+
if (marketingType !== undefined) {
|
|
25195
|
+
localVarQueryParameter['MarketingType'] = marketingType;
|
|
25196
|
+
}
|
|
25197
|
+
|
|
25198
|
+
if (countryId !== undefined) {
|
|
25199
|
+
localVarQueryParameter['CountryId'] = countryId;
|
|
25200
|
+
}
|
|
25201
|
+
|
|
25168
25202
|
if (languageCode !== undefined) {
|
|
25169
25203
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
25170
25204
|
}
|
|
@@ -25442,6 +25476,8 @@ export const DoctorAffiliationsApiFp = function(configuration?: Configuration) {
|
|
|
25442
25476
|
* @param {string} [doctorName]
|
|
25443
25477
|
* @param {string} [doctorSlug]
|
|
25444
25478
|
* @param {string} [specialtyId]
|
|
25479
|
+
* @param {MarketingType} [marketingType]
|
|
25480
|
+
* @param {string} [countryId]
|
|
25445
25481
|
* @param {string} [languageCode]
|
|
25446
25482
|
* @param {boolean} [showHidden]
|
|
25447
25483
|
* @param {number} [page]
|
|
@@ -25450,8 +25486,8 @@ export const DoctorAffiliationsApiFp = function(configuration?: Configuration) {
|
|
|
25450
25486
|
* @param {*} [options] Override http request option.
|
|
25451
25487
|
* @throws {RequiredError}
|
|
25452
25488
|
*/
|
|
25453
|
-
async apiV1DoctoraffiliationsGet(hospitalId?: string, hospitalName?: string, doctorId?: string, doctorName?: string, doctorSlug?: string, specialtyId?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorAffiliationsModel>> {
|
|
25454
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctoraffiliationsGet(hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, languageCode, showHidden, page, limit, lastRetrieved, options);
|
|
25489
|
+
async apiV1DoctoraffiliationsGet(hospitalId?: string, hospitalName?: string, doctorId?: string, doctorName?: string, doctorSlug?: string, specialtyId?: string, marketingType?: MarketingType, countryId?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorAffiliationsModel>> {
|
|
25490
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctoraffiliationsGet(hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, marketingType, countryId, languageCode, showHidden, page, limit, lastRetrieved, options);
|
|
25455
25491
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
25456
25492
|
},
|
|
25457
25493
|
/**
|
|
@@ -25578,6 +25614,8 @@ export const DoctorAffiliationsApiFactory = function (configuration?: Configurat
|
|
|
25578
25614
|
* @param {string} [doctorName]
|
|
25579
25615
|
* @param {string} [doctorSlug]
|
|
25580
25616
|
* @param {string} [specialtyId]
|
|
25617
|
+
* @param {MarketingType} [marketingType]
|
|
25618
|
+
* @param {string} [countryId]
|
|
25581
25619
|
* @param {string} [languageCode]
|
|
25582
25620
|
* @param {boolean} [showHidden]
|
|
25583
25621
|
* @param {number} [page]
|
|
@@ -25586,8 +25624,8 @@ export const DoctorAffiliationsApiFactory = function (configuration?: Configurat
|
|
|
25586
25624
|
* @param {*} [options] Override http request option.
|
|
25587
25625
|
* @throws {RequiredError}
|
|
25588
25626
|
*/
|
|
25589
|
-
apiV1DoctoraffiliationsGet(hospitalId?: string, hospitalName?: string, doctorId?: string, doctorName?: string, doctorSlug?: string, specialtyId?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DoctorAffiliationsModel> {
|
|
25590
|
-
return localVarFp.apiV1DoctoraffiliationsGet(hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
25627
|
+
apiV1DoctoraffiliationsGet(hospitalId?: string, hospitalName?: string, doctorId?: string, doctorName?: string, doctorSlug?: string, specialtyId?: string, marketingType?: MarketingType, countryId?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DoctorAffiliationsModel> {
|
|
25628
|
+
return localVarFp.apiV1DoctoraffiliationsGet(hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, marketingType, countryId, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
25591
25629
|
},
|
|
25592
25630
|
/**
|
|
25593
25631
|
*
|
|
@@ -25719,6 +25757,8 @@ export class DoctorAffiliationsApi extends BaseAPI {
|
|
|
25719
25757
|
* @param {string} [doctorName]
|
|
25720
25758
|
* @param {string} [doctorSlug]
|
|
25721
25759
|
* @param {string} [specialtyId]
|
|
25760
|
+
* @param {MarketingType} [marketingType]
|
|
25761
|
+
* @param {string} [countryId]
|
|
25722
25762
|
* @param {string} [languageCode]
|
|
25723
25763
|
* @param {boolean} [showHidden]
|
|
25724
25764
|
* @param {number} [page]
|
|
@@ -25728,8 +25768,8 @@ export class DoctorAffiliationsApi extends BaseAPI {
|
|
|
25728
25768
|
* @throws {RequiredError}
|
|
25729
25769
|
* @memberof DoctorAffiliationsApi
|
|
25730
25770
|
*/
|
|
25731
|
-
public apiV1DoctoraffiliationsGet(hospitalId?: string, hospitalName?: string, doctorId?: string, doctorName?: string, doctorSlug?: string, specialtyId?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
25732
|
-
return DoctorAffiliationsApiFp(this.configuration).apiV1DoctoraffiliationsGet(hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
25771
|
+
public apiV1DoctoraffiliationsGet(hospitalId?: string, hospitalName?: string, doctorId?: string, doctorName?: string, doctorSlug?: string, specialtyId?: string, marketingType?: MarketingType, countryId?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
25772
|
+
return DoctorAffiliationsApiFp(this.configuration).apiV1DoctoraffiliationsGet(hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, marketingType, countryId, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
25733
25773
|
}
|
|
25734
25774
|
|
|
25735
25775
|
/**
|