ch-api-client-typescript2 3.1.0 → 3.1.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 +179 -24
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +229 -42
- package/package.json +1 -1
- package/src/api.ts +288 -44
package/src/api.ts
CHANGED
|
@@ -4456,6 +4456,75 @@ export interface DoctorItemSimpleModel {
|
|
|
4456
4456
|
*/
|
|
4457
4457
|
'confirmed'?: boolean;
|
|
4458
4458
|
}
|
|
4459
|
+
/**
|
|
4460
|
+
*
|
|
4461
|
+
* @export
|
|
4462
|
+
* @interface DoctorLanguageItemModel
|
|
4463
|
+
*/
|
|
4464
|
+
export interface DoctorLanguageItemModel {
|
|
4465
|
+
/**
|
|
4466
|
+
*
|
|
4467
|
+
* @type {string}
|
|
4468
|
+
* @memberof DoctorLanguageItemModel
|
|
4469
|
+
*/
|
|
4470
|
+
'id'?: string;
|
|
4471
|
+
/**
|
|
4472
|
+
*
|
|
4473
|
+
* @type {string}
|
|
4474
|
+
* @memberof DoctorLanguageItemModel
|
|
4475
|
+
*/
|
|
4476
|
+
'language'?: string | null;
|
|
4477
|
+
/**
|
|
4478
|
+
*
|
|
4479
|
+
* @type {string}
|
|
4480
|
+
* @memberof DoctorLanguageItemModel
|
|
4481
|
+
*/
|
|
4482
|
+
'userId'?: string;
|
|
4483
|
+
}
|
|
4484
|
+
/**
|
|
4485
|
+
*
|
|
4486
|
+
* @export
|
|
4487
|
+
* @interface DoctorLanguageModel
|
|
4488
|
+
*/
|
|
4489
|
+
export interface DoctorLanguageModel {
|
|
4490
|
+
/**
|
|
4491
|
+
*
|
|
4492
|
+
* @type {string}
|
|
4493
|
+
* @memberof DoctorLanguageModel
|
|
4494
|
+
*/
|
|
4495
|
+
'id'?: string;
|
|
4496
|
+
/**
|
|
4497
|
+
*
|
|
4498
|
+
* @type {string}
|
|
4499
|
+
* @memberof DoctorLanguageModel
|
|
4500
|
+
*/
|
|
4501
|
+
'language'?: string | null;
|
|
4502
|
+
/**
|
|
4503
|
+
*
|
|
4504
|
+
* @type {string}
|
|
4505
|
+
* @memberof DoctorLanguageModel
|
|
4506
|
+
*/
|
|
4507
|
+
'userId'?: string;
|
|
4508
|
+
}
|
|
4509
|
+
/**
|
|
4510
|
+
*
|
|
4511
|
+
* @export
|
|
4512
|
+
* @interface DoctorLanguagesModel
|
|
4513
|
+
*/
|
|
4514
|
+
export interface DoctorLanguagesModel {
|
|
4515
|
+
/**
|
|
4516
|
+
*
|
|
4517
|
+
* @type {Array<DoctorLanguageItemModel>}
|
|
4518
|
+
* @memberof DoctorLanguagesModel
|
|
4519
|
+
*/
|
|
4520
|
+
'items'?: Array<DoctorLanguageItemModel> | null;
|
|
4521
|
+
/**
|
|
4522
|
+
*
|
|
4523
|
+
* @type {PagedListMetaData}
|
|
4524
|
+
* @memberof DoctorLanguagesModel
|
|
4525
|
+
*/
|
|
4526
|
+
'metaData'?: PagedListMetaData;
|
|
4527
|
+
}
|
|
4459
4528
|
/**
|
|
4460
4529
|
*
|
|
4461
4530
|
* @export
|
|
@@ -14937,6 +15006,7 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
14937
15006
|
* @param {string} [exceptHospitalId]
|
|
14938
15007
|
* @param {string} [exceptDealId]
|
|
14939
15008
|
* @param {Array<string>} [ids]
|
|
15009
|
+
* @param {number} [serviceDuration]
|
|
14940
15010
|
* @param {string} [languageCode]
|
|
14941
15011
|
* @param {boolean} [showHidden]
|
|
14942
15012
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -14946,7 +15016,7 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
14946
15016
|
* @param {*} [options] Override http request option.
|
|
14947
15017
|
* @throws {RequiredError}
|
|
14948
15018
|
*/
|
|
14949
|
-
apiV2DealsGet: async (id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, serviceId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15019
|
+
apiV2DealsGet: async (id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, serviceId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, serviceDuration?: number, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14950
15020
|
const localVarPath = `/api/v2/deals`;
|
|
14951
15021
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14952
15022
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -15007,6 +15077,10 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
15007
15077
|
localVarQueryParameter['Ids'] = ids;
|
|
15008
15078
|
}
|
|
15009
15079
|
|
|
15080
|
+
if (serviceDuration !== undefined) {
|
|
15081
|
+
localVarQueryParameter['ServiceDuration'] = serviceDuration;
|
|
15082
|
+
}
|
|
15083
|
+
|
|
15010
15084
|
if (languageCode !== undefined) {
|
|
15011
15085
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
15012
15086
|
}
|
|
@@ -15059,6 +15133,7 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
15059
15133
|
* @param {string} [exceptHospitalId]
|
|
15060
15134
|
* @param {string} [exceptDealId]
|
|
15061
15135
|
* @param {Array<string>} [ids]
|
|
15136
|
+
* @param {number} [serviceDuration]
|
|
15062
15137
|
* @param {string} [languageCode]
|
|
15063
15138
|
* @param {boolean} [showHidden]
|
|
15064
15139
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -15068,7 +15143,7 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
15068
15143
|
* @param {*} [options] Override http request option.
|
|
15069
15144
|
* @throws {RequiredError}
|
|
15070
15145
|
*/
|
|
15071
|
-
apiV2DealsSimpleGet: async (id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, serviceId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15146
|
+
apiV2DealsSimpleGet: async (id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, serviceId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, serviceDuration?: number, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15072
15147
|
const localVarPath = `/api/v2/deals/simple`;
|
|
15073
15148
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15074
15149
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -15129,6 +15204,10 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
15129
15204
|
localVarQueryParameter['Ids'] = ids;
|
|
15130
15205
|
}
|
|
15131
15206
|
|
|
15207
|
+
if (serviceDuration !== undefined) {
|
|
15208
|
+
localVarQueryParameter['ServiceDuration'] = serviceDuration;
|
|
15209
|
+
}
|
|
15210
|
+
|
|
15132
15211
|
if (languageCode !== undefined) {
|
|
15133
15212
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
15134
15213
|
}
|
|
@@ -15306,6 +15385,7 @@ export const DealsApiFp = function(configuration?: Configuration) {
|
|
|
15306
15385
|
* @param {string} [exceptHospitalId]
|
|
15307
15386
|
* @param {string} [exceptDealId]
|
|
15308
15387
|
* @param {Array<string>} [ids]
|
|
15388
|
+
* @param {number} [serviceDuration]
|
|
15309
15389
|
* @param {string} [languageCode]
|
|
15310
15390
|
* @param {boolean} [showHidden]
|
|
15311
15391
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -15315,8 +15395,8 @@ export const DealsApiFp = function(configuration?: Configuration) {
|
|
|
15315
15395
|
* @param {*} [options] Override http request option.
|
|
15316
15396
|
* @throws {RequiredError}
|
|
15317
15397
|
*/
|
|
15318
|
-
async apiV2DealsGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, serviceId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealsModel>> {
|
|
15319
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options);
|
|
15398
|
+
async apiV2DealsGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, serviceId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, serviceDuration?: number, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealsModel>> {
|
|
15399
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options);
|
|
15320
15400
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
15321
15401
|
},
|
|
15322
15402
|
/**
|
|
@@ -15334,6 +15414,7 @@ export const DealsApiFp = function(configuration?: Configuration) {
|
|
|
15334
15414
|
* @param {string} [exceptHospitalId]
|
|
15335
15415
|
* @param {string} [exceptDealId]
|
|
15336
15416
|
* @param {Array<string>} [ids]
|
|
15417
|
+
* @param {number} [serviceDuration]
|
|
15337
15418
|
* @param {string} [languageCode]
|
|
15338
15419
|
* @param {boolean} [showHidden]
|
|
15339
15420
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -15343,8 +15424,8 @@ export const DealsApiFp = function(configuration?: Configuration) {
|
|
|
15343
15424
|
* @param {*} [options] Override http request option.
|
|
15344
15425
|
* @throws {RequiredError}
|
|
15345
15426
|
*/
|
|
15346
|
-
async apiV2DealsSimpleGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, serviceId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealsSimpleModel>> {
|
|
15347
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DealsSimpleGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options);
|
|
15427
|
+
async apiV2DealsSimpleGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, serviceId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, serviceDuration?: number, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealsSimpleModel>> {
|
|
15428
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DealsSimpleGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options);
|
|
15348
15429
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
15349
15430
|
},
|
|
15350
15431
|
/**
|
|
@@ -15451,6 +15532,7 @@ export const DealsApiFactory = function (configuration?: Configuration, basePath
|
|
|
15451
15532
|
* @param {string} [exceptHospitalId]
|
|
15452
15533
|
* @param {string} [exceptDealId]
|
|
15453
15534
|
* @param {Array<string>} [ids]
|
|
15535
|
+
* @param {number} [serviceDuration]
|
|
15454
15536
|
* @param {string} [languageCode]
|
|
15455
15537
|
* @param {boolean} [showHidden]
|
|
15456
15538
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -15460,8 +15542,8 @@ export const DealsApiFactory = function (configuration?: Configuration, basePath
|
|
|
15460
15542
|
* @param {*} [options] Override http request option.
|
|
15461
15543
|
* @throws {RequiredError}
|
|
15462
15544
|
*/
|
|
15463
|
-
apiV2DealsGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, serviceId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DealsModel> {
|
|
15464
|
-
return localVarFp.apiV2DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
15545
|
+
apiV2DealsGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, serviceId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, serviceDuration?: number, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DealsModel> {
|
|
15546
|
+
return localVarFp.apiV2DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
15465
15547
|
},
|
|
15466
15548
|
/**
|
|
15467
15549
|
*
|
|
@@ -15478,6 +15560,7 @@ export const DealsApiFactory = function (configuration?: Configuration, basePath
|
|
|
15478
15560
|
* @param {string} [exceptHospitalId]
|
|
15479
15561
|
* @param {string} [exceptDealId]
|
|
15480
15562
|
* @param {Array<string>} [ids]
|
|
15563
|
+
* @param {number} [serviceDuration]
|
|
15481
15564
|
* @param {string} [languageCode]
|
|
15482
15565
|
* @param {boolean} [showHidden]
|
|
15483
15566
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -15487,8 +15570,8 @@ export const DealsApiFactory = function (configuration?: Configuration, basePath
|
|
|
15487
15570
|
* @param {*} [options] Override http request option.
|
|
15488
15571
|
* @throws {RequiredError}
|
|
15489
15572
|
*/
|
|
15490
|
-
apiV2DealsSimpleGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, serviceId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DealsSimpleModel> {
|
|
15491
|
-
return localVarFp.apiV2DealsSimpleGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
15573
|
+
apiV2DealsSimpleGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, serviceId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, serviceDuration?: number, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DealsSimpleModel> {
|
|
15574
|
+
return localVarFp.apiV2DealsSimpleGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
15492
15575
|
},
|
|
15493
15576
|
/**
|
|
15494
15577
|
*
|
|
@@ -15603,6 +15686,7 @@ export class DealsApi extends BaseAPI {
|
|
|
15603
15686
|
* @param {string} [exceptHospitalId]
|
|
15604
15687
|
* @param {string} [exceptDealId]
|
|
15605
15688
|
* @param {Array<string>} [ids]
|
|
15689
|
+
* @param {number} [serviceDuration]
|
|
15606
15690
|
* @param {string} [languageCode]
|
|
15607
15691
|
* @param {boolean} [showHidden]
|
|
15608
15692
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -15613,8 +15697,8 @@ export class DealsApi extends BaseAPI {
|
|
|
15613
15697
|
* @throws {RequiredError}
|
|
15614
15698
|
* @memberof DealsApi
|
|
15615
15699
|
*/
|
|
15616
|
-
public apiV2DealsGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, serviceId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
15617
|
-
return DealsApiFp(this.configuration).apiV2DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
15700
|
+
public apiV2DealsGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, serviceId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, serviceDuration?: number, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
15701
|
+
return DealsApiFp(this.configuration).apiV2DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
15618
15702
|
}
|
|
15619
15703
|
|
|
15620
15704
|
/**
|
|
@@ -15632,6 +15716,7 @@ export class DealsApi extends BaseAPI {
|
|
|
15632
15716
|
* @param {string} [exceptHospitalId]
|
|
15633
15717
|
* @param {string} [exceptDealId]
|
|
15634
15718
|
* @param {Array<string>} [ids]
|
|
15719
|
+
* @param {number} [serviceDuration]
|
|
15635
15720
|
* @param {string} [languageCode]
|
|
15636
15721
|
* @param {boolean} [showHidden]
|
|
15637
15722
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -15642,8 +15727,8 @@ export class DealsApi extends BaseAPI {
|
|
|
15642
15727
|
* @throws {RequiredError}
|
|
15643
15728
|
* @memberof DealsApi
|
|
15644
15729
|
*/
|
|
15645
|
-
public apiV2DealsSimpleGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, serviceId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
15646
|
-
return DealsApiFp(this.configuration).apiV2DealsSimpleGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
15730
|
+
public apiV2DealsSimpleGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, serviceId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, serviceDuration?: number, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
15731
|
+
return DealsApiFp(this.configuration).apiV2DealsSimpleGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
15647
15732
|
}
|
|
15648
15733
|
|
|
15649
15734
|
/**
|
|
@@ -16030,6 +16115,100 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
16030
16115
|
|
|
16031
16116
|
|
|
16032
16117
|
|
|
16118
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16119
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16120
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
16121
|
+
|
|
16122
|
+
return {
|
|
16123
|
+
url: toPathString(localVarUrlObj),
|
|
16124
|
+
options: localVarRequestOptions,
|
|
16125
|
+
};
|
|
16126
|
+
},
|
|
16127
|
+
/**
|
|
16128
|
+
*
|
|
16129
|
+
* @summary Get all DoctorLanguages.
|
|
16130
|
+
* @param {string} doctorId
|
|
16131
|
+
* @param {string} [language]
|
|
16132
|
+
* @param {number} [page]
|
|
16133
|
+
* @param {number} [limit]
|
|
16134
|
+
* @param {Date} [lastRetrieved]
|
|
16135
|
+
* @param {*} [options] Override http request option.
|
|
16136
|
+
* @throws {RequiredError}
|
|
16137
|
+
*/
|
|
16138
|
+
apiV2DoctorsDoctorIdLanguagesGet: async (doctorId: string, language?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16139
|
+
// verify required parameter 'doctorId' is not null or undefined
|
|
16140
|
+
assertParamExists('apiV2DoctorsDoctorIdLanguagesGet', 'doctorId', doctorId)
|
|
16141
|
+
const localVarPath = `/api/v2/doctors/{doctorId}/languages`
|
|
16142
|
+
.replace(`{${"doctorId"}}`, encodeURIComponent(String(doctorId)));
|
|
16143
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16144
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16145
|
+
let baseOptions;
|
|
16146
|
+
if (configuration) {
|
|
16147
|
+
baseOptions = configuration.baseOptions;
|
|
16148
|
+
}
|
|
16149
|
+
|
|
16150
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
16151
|
+
const localVarHeaderParameter = {} as any;
|
|
16152
|
+
const localVarQueryParameter = {} as any;
|
|
16153
|
+
|
|
16154
|
+
if (language !== undefined) {
|
|
16155
|
+
localVarQueryParameter['Language'] = language;
|
|
16156
|
+
}
|
|
16157
|
+
|
|
16158
|
+
if (page !== undefined) {
|
|
16159
|
+
localVarQueryParameter['page'] = page;
|
|
16160
|
+
}
|
|
16161
|
+
|
|
16162
|
+
if (limit !== undefined) {
|
|
16163
|
+
localVarQueryParameter['limit'] = limit;
|
|
16164
|
+
}
|
|
16165
|
+
|
|
16166
|
+
if (lastRetrieved !== undefined) {
|
|
16167
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
16168
|
+
(lastRetrieved as any).toISOString() :
|
|
16169
|
+
lastRetrieved;
|
|
16170
|
+
}
|
|
16171
|
+
|
|
16172
|
+
|
|
16173
|
+
|
|
16174
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16175
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16176
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
16177
|
+
|
|
16178
|
+
return {
|
|
16179
|
+
url: toPathString(localVarUrlObj),
|
|
16180
|
+
options: localVarRequestOptions,
|
|
16181
|
+
};
|
|
16182
|
+
},
|
|
16183
|
+
/**
|
|
16184
|
+
*
|
|
16185
|
+
* @summary Get DoctorLanguage.
|
|
16186
|
+
* @param {string} doctorId
|
|
16187
|
+
* @param {string} languageId
|
|
16188
|
+
* @param {*} [options] Override http request option.
|
|
16189
|
+
* @throws {RequiredError}
|
|
16190
|
+
*/
|
|
16191
|
+
apiV2DoctorsDoctorIdLanguagesLanguageIdGet: async (doctorId: string, languageId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16192
|
+
// verify required parameter 'doctorId' is not null or undefined
|
|
16193
|
+
assertParamExists('apiV2DoctorsDoctorIdLanguagesLanguageIdGet', 'doctorId', doctorId)
|
|
16194
|
+
// verify required parameter 'languageId' is not null or undefined
|
|
16195
|
+
assertParamExists('apiV2DoctorsDoctorIdLanguagesLanguageIdGet', 'languageId', languageId)
|
|
16196
|
+
const localVarPath = `/api/v2/doctors/{doctorId}/languages/{languageId}`
|
|
16197
|
+
.replace(`{${"doctorId"}}`, encodeURIComponent(String(doctorId)))
|
|
16198
|
+
.replace(`{${"languageId"}}`, encodeURIComponent(String(languageId)));
|
|
16199
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16200
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16201
|
+
let baseOptions;
|
|
16202
|
+
if (configuration) {
|
|
16203
|
+
baseOptions = configuration.baseOptions;
|
|
16204
|
+
}
|
|
16205
|
+
|
|
16206
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
16207
|
+
const localVarHeaderParameter = {} as any;
|
|
16208
|
+
const localVarQueryParameter = {} as any;
|
|
16209
|
+
|
|
16210
|
+
|
|
16211
|
+
|
|
16033
16212
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16034
16213
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16035
16214
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -16732,6 +16911,33 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
|
|
|
16732
16911
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DoctorsDoctorIdGet(doctorId, languageCode, returnDefaultValue, options);
|
|
16733
16912
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
16734
16913
|
},
|
|
16914
|
+
/**
|
|
16915
|
+
*
|
|
16916
|
+
* @summary Get all DoctorLanguages.
|
|
16917
|
+
* @param {string} doctorId
|
|
16918
|
+
* @param {string} [language]
|
|
16919
|
+
* @param {number} [page]
|
|
16920
|
+
* @param {number} [limit]
|
|
16921
|
+
* @param {Date} [lastRetrieved]
|
|
16922
|
+
* @param {*} [options] Override http request option.
|
|
16923
|
+
* @throws {RequiredError}
|
|
16924
|
+
*/
|
|
16925
|
+
async apiV2DoctorsDoctorIdLanguagesGet(doctorId: string, language?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorLanguagesModel>> {
|
|
16926
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DoctorsDoctorIdLanguagesGet(doctorId, language, page, limit, lastRetrieved, options);
|
|
16927
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
16928
|
+
},
|
|
16929
|
+
/**
|
|
16930
|
+
*
|
|
16931
|
+
* @summary Get DoctorLanguage.
|
|
16932
|
+
* @param {string} doctorId
|
|
16933
|
+
* @param {string} languageId
|
|
16934
|
+
* @param {*} [options] Override http request option.
|
|
16935
|
+
* @throws {RequiredError}
|
|
16936
|
+
*/
|
|
16937
|
+
async apiV2DoctorsDoctorIdLanguagesLanguageIdGet(doctorId: string, languageId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorLanguageModel>> {
|
|
16938
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DoctorsDoctorIdLanguagesLanguageIdGet(doctorId, languageId, options);
|
|
16939
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
16940
|
+
},
|
|
16735
16941
|
/**
|
|
16736
16942
|
*
|
|
16737
16943
|
* @summary Get all DoctorMedias.
|
|
@@ -16986,6 +17192,31 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
|
|
|
16986
17192
|
apiV2DoctorsDoctorIdGet(doctorId: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<DoctorModel> {
|
|
16987
17193
|
return localVarFp.apiV2DoctorsDoctorIdGet(doctorId, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
16988
17194
|
},
|
|
17195
|
+
/**
|
|
17196
|
+
*
|
|
17197
|
+
* @summary Get all DoctorLanguages.
|
|
17198
|
+
* @param {string} doctorId
|
|
17199
|
+
* @param {string} [language]
|
|
17200
|
+
* @param {number} [page]
|
|
17201
|
+
* @param {number} [limit]
|
|
17202
|
+
* @param {Date} [lastRetrieved]
|
|
17203
|
+
* @param {*} [options] Override http request option.
|
|
17204
|
+
* @throws {RequiredError}
|
|
17205
|
+
*/
|
|
17206
|
+
apiV2DoctorsDoctorIdLanguagesGet(doctorId: string, language?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DoctorLanguagesModel> {
|
|
17207
|
+
return localVarFp.apiV2DoctorsDoctorIdLanguagesGet(doctorId, language, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
17208
|
+
},
|
|
17209
|
+
/**
|
|
17210
|
+
*
|
|
17211
|
+
* @summary Get DoctorLanguage.
|
|
17212
|
+
* @param {string} doctorId
|
|
17213
|
+
* @param {string} languageId
|
|
17214
|
+
* @param {*} [options] Override http request option.
|
|
17215
|
+
* @throws {RequiredError}
|
|
17216
|
+
*/
|
|
17217
|
+
apiV2DoctorsDoctorIdLanguagesLanguageIdGet(doctorId: string, languageId: string, options?: any): AxiosPromise<DoctorLanguageModel> {
|
|
17218
|
+
return localVarFp.apiV2DoctorsDoctorIdLanguagesLanguageIdGet(doctorId, languageId, options).then((request) => request(axios, basePath));
|
|
17219
|
+
},
|
|
16989
17220
|
/**
|
|
16990
17221
|
*
|
|
16991
17222
|
* @summary Get all DoctorMedias.
|
|
@@ -17245,6 +17476,35 @@ export class DoctorsApi extends BaseAPI {
|
|
|
17245
17476
|
return DoctorsApiFp(this.configuration).apiV2DoctorsDoctorIdGet(doctorId, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
17246
17477
|
}
|
|
17247
17478
|
|
|
17479
|
+
/**
|
|
17480
|
+
*
|
|
17481
|
+
* @summary Get all DoctorLanguages.
|
|
17482
|
+
* @param {string} doctorId
|
|
17483
|
+
* @param {string} [language]
|
|
17484
|
+
* @param {number} [page]
|
|
17485
|
+
* @param {number} [limit]
|
|
17486
|
+
* @param {Date} [lastRetrieved]
|
|
17487
|
+
* @param {*} [options] Override http request option.
|
|
17488
|
+
* @throws {RequiredError}
|
|
17489
|
+
* @memberof DoctorsApi
|
|
17490
|
+
*/
|
|
17491
|
+
public apiV2DoctorsDoctorIdLanguagesGet(doctorId: string, language?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
17492
|
+
return DoctorsApiFp(this.configuration).apiV2DoctorsDoctorIdLanguagesGet(doctorId, language, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
17493
|
+
}
|
|
17494
|
+
|
|
17495
|
+
/**
|
|
17496
|
+
*
|
|
17497
|
+
* @summary Get DoctorLanguage.
|
|
17498
|
+
* @param {string} doctorId
|
|
17499
|
+
* @param {string} languageId
|
|
17500
|
+
* @param {*} [options] Override http request option.
|
|
17501
|
+
* @throws {RequiredError}
|
|
17502
|
+
* @memberof DoctorsApi
|
|
17503
|
+
*/
|
|
17504
|
+
public apiV2DoctorsDoctorIdLanguagesLanguageIdGet(doctorId: string, languageId: string, options?: AxiosRequestConfig) {
|
|
17505
|
+
return DoctorsApiFp(this.configuration).apiV2DoctorsDoctorIdLanguagesLanguageIdGet(doctorId, languageId, options).then((request) => request(this.axios, this.basePath));
|
|
17506
|
+
}
|
|
17507
|
+
|
|
17248
17508
|
/**
|
|
17249
17509
|
*
|
|
17250
17510
|
* @summary Get all DoctorMedias.
|
|
@@ -19248,7 +19508,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
19248
19508
|
*
|
|
19249
19509
|
* @summary Get all HospitalHandles.
|
|
19250
19510
|
* @param {string} hospitalId
|
|
19251
|
-
* @param {string} [hospitalId2]
|
|
19252
19511
|
* @param {string} [id]
|
|
19253
19512
|
* @param {SnsType} [snsType]
|
|
19254
19513
|
* @param {string} [handle]
|
|
@@ -19258,7 +19517,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
19258
19517
|
* @param {*} [options] Override http request option.
|
|
19259
19518
|
* @throws {RequiredError}
|
|
19260
19519
|
*/
|
|
19261
|
-
apiV2HospitalsHospitalIdHandlesGet: async (hospitalId: string,
|
|
19520
|
+
apiV2HospitalsHospitalIdHandlesGet: async (hospitalId: string, id?: string, snsType?: SnsType, handle?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
19262
19521
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
19263
19522
|
assertParamExists('apiV2HospitalsHospitalIdHandlesGet', 'hospitalId', hospitalId)
|
|
19264
19523
|
const localVarPath = `/api/v2/hospitals/{hospitalId}/handles`
|
|
@@ -19274,10 +19533,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
19274
19533
|
const localVarHeaderParameter = {} as any;
|
|
19275
19534
|
const localVarQueryParameter = {} as any;
|
|
19276
19535
|
|
|
19277
|
-
if (hospitalId2 !== undefined) {
|
|
19278
|
-
localVarQueryParameter['HospitalId'] = hospitalId2;
|
|
19279
|
-
}
|
|
19280
|
-
|
|
19281
19536
|
if (id !== undefined) {
|
|
19282
19537
|
localVarQueryParameter['Id'] = id;
|
|
19283
19538
|
}
|
|
@@ -20025,7 +20280,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
20025
20280
|
*
|
|
20026
20281
|
* @summary Get all HospitalWorkingDays.
|
|
20027
20282
|
* @param {string} hospitalId
|
|
20028
|
-
* @param {string} [hospitalId2]
|
|
20029
20283
|
* @param {string} [id]
|
|
20030
20284
|
* @param {string} [dayOfWeek]
|
|
20031
20285
|
* @param {Date} [timeFrom]
|
|
@@ -20037,7 +20291,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
20037
20291
|
* @param {*} [options] Override http request option.
|
|
20038
20292
|
* @throws {RequiredError}
|
|
20039
20293
|
*/
|
|
20040
|
-
apiV2HospitalsHospitalIdWorkingdaysGet: async (hospitalId: string,
|
|
20294
|
+
apiV2HospitalsHospitalIdWorkingdaysGet: async (hospitalId: string, id?: string, dayOfWeek?: string, timeFrom?: Date, timeTo?: Date, checkHoliday?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
20041
20295
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
20042
20296
|
assertParamExists('apiV2HospitalsHospitalIdWorkingdaysGet', 'hospitalId', hospitalId)
|
|
20043
20297
|
const localVarPath = `/api/v2/hospitals/{hospitalId}/workingdays`
|
|
@@ -20053,10 +20307,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
20053
20307
|
const localVarHeaderParameter = {} as any;
|
|
20054
20308
|
const localVarQueryParameter = {} as any;
|
|
20055
20309
|
|
|
20056
|
-
if (hospitalId2 !== undefined) {
|
|
20057
|
-
localVarQueryParameter['HospitalId'] = hospitalId2;
|
|
20058
|
-
}
|
|
20059
|
-
|
|
20060
20310
|
if (id !== undefined) {
|
|
20061
20311
|
localVarQueryParameter['Id'] = id;
|
|
20062
20312
|
}
|
|
@@ -20473,7 +20723,6 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
20473
20723
|
*
|
|
20474
20724
|
* @summary Get all HospitalHandles.
|
|
20475
20725
|
* @param {string} hospitalId
|
|
20476
|
-
* @param {string} [hospitalId2]
|
|
20477
20726
|
* @param {string} [id]
|
|
20478
20727
|
* @param {SnsType} [snsType]
|
|
20479
20728
|
* @param {string} [handle]
|
|
@@ -20483,8 +20732,8 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
20483
20732
|
* @param {*} [options] Override http request option.
|
|
20484
20733
|
* @throws {RequiredError}
|
|
20485
20734
|
*/
|
|
20486
|
-
async apiV2HospitalsHospitalIdHandlesGet(hospitalId: string,
|
|
20487
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdHandlesGet(hospitalId,
|
|
20735
|
+
async apiV2HospitalsHospitalIdHandlesGet(hospitalId: string, id?: string, snsType?: SnsType, handle?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSnsHandlesModel>> {
|
|
20736
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdHandlesGet(hospitalId, id, snsType, handle, page, limit, lastRetrieved, options);
|
|
20488
20737
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
20489
20738
|
},
|
|
20490
20739
|
/**
|
|
@@ -20674,7 +20923,6 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
20674
20923
|
*
|
|
20675
20924
|
* @summary Get all HospitalWorkingDays.
|
|
20676
20925
|
* @param {string} hospitalId
|
|
20677
|
-
* @param {string} [hospitalId2]
|
|
20678
20926
|
* @param {string} [id]
|
|
20679
20927
|
* @param {string} [dayOfWeek]
|
|
20680
20928
|
* @param {Date} [timeFrom]
|
|
@@ -20686,8 +20934,8 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
20686
20934
|
* @param {*} [options] Override http request option.
|
|
20687
20935
|
* @throws {RequiredError}
|
|
20688
20936
|
*/
|
|
20689
|
-
async apiV2HospitalsHospitalIdWorkingdaysGet(hospitalId: string,
|
|
20690
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdWorkingdaysGet(hospitalId,
|
|
20937
|
+
async apiV2HospitalsHospitalIdWorkingdaysGet(hospitalId: string, id?: string, dayOfWeek?: string, timeFrom?: Date, timeTo?: Date, checkHoliday?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WorkingDaysModel>> {
|
|
20938
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdWorkingdaysGet(hospitalId, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options);
|
|
20691
20939
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
20692
20940
|
},
|
|
20693
20941
|
/**
|
|
@@ -20902,7 +21150,6 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
20902
21150
|
*
|
|
20903
21151
|
* @summary Get all HospitalHandles.
|
|
20904
21152
|
* @param {string} hospitalId
|
|
20905
|
-
* @param {string} [hospitalId2]
|
|
20906
21153
|
* @param {string} [id]
|
|
20907
21154
|
* @param {SnsType} [snsType]
|
|
20908
21155
|
* @param {string} [handle]
|
|
@@ -20912,8 +21159,8 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
20912
21159
|
* @param {*} [options] Override http request option.
|
|
20913
21160
|
* @throws {RequiredError}
|
|
20914
21161
|
*/
|
|
20915
|
-
apiV2HospitalsHospitalIdHandlesGet(hospitalId: string,
|
|
20916
|
-
return localVarFp.apiV2HospitalsHospitalIdHandlesGet(hospitalId,
|
|
21162
|
+
apiV2HospitalsHospitalIdHandlesGet(hospitalId: string, id?: string, snsType?: SnsType, handle?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalSnsHandlesModel> {
|
|
21163
|
+
return localVarFp.apiV2HospitalsHospitalIdHandlesGet(hospitalId, id, snsType, handle, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
20917
21164
|
},
|
|
20918
21165
|
/**
|
|
20919
21166
|
*
|
|
@@ -21092,7 +21339,6 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
21092
21339
|
*
|
|
21093
21340
|
* @summary Get all HospitalWorkingDays.
|
|
21094
21341
|
* @param {string} hospitalId
|
|
21095
|
-
* @param {string} [hospitalId2]
|
|
21096
21342
|
* @param {string} [id]
|
|
21097
21343
|
* @param {string} [dayOfWeek]
|
|
21098
21344
|
* @param {Date} [timeFrom]
|
|
@@ -21104,8 +21350,8 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
21104
21350
|
* @param {*} [options] Override http request option.
|
|
21105
21351
|
* @throws {RequiredError}
|
|
21106
21352
|
*/
|
|
21107
|
-
apiV2HospitalsHospitalIdWorkingdaysGet(hospitalId: string,
|
|
21108
|
-
return localVarFp.apiV2HospitalsHospitalIdWorkingdaysGet(hospitalId,
|
|
21353
|
+
apiV2HospitalsHospitalIdWorkingdaysGet(hospitalId: string, id?: string, dayOfWeek?: string, timeFrom?: Date, timeTo?: Date, checkHoliday?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<WorkingDaysModel> {
|
|
21354
|
+
return localVarFp.apiV2HospitalsHospitalIdWorkingdaysGet(hospitalId, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
21109
21355
|
},
|
|
21110
21356
|
/**
|
|
21111
21357
|
*
|
|
@@ -21336,7 +21582,6 @@ export class HospitalsApi extends BaseAPI {
|
|
|
21336
21582
|
*
|
|
21337
21583
|
* @summary Get all HospitalHandles.
|
|
21338
21584
|
* @param {string} hospitalId
|
|
21339
|
-
* @param {string} [hospitalId2]
|
|
21340
21585
|
* @param {string} [id]
|
|
21341
21586
|
* @param {SnsType} [snsType]
|
|
21342
21587
|
* @param {string} [handle]
|
|
@@ -21347,8 +21592,8 @@ export class HospitalsApi extends BaseAPI {
|
|
|
21347
21592
|
* @throws {RequiredError}
|
|
21348
21593
|
* @memberof HospitalsApi
|
|
21349
21594
|
*/
|
|
21350
|
-
public apiV2HospitalsHospitalIdHandlesGet(hospitalId: string,
|
|
21351
|
-
return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdHandlesGet(hospitalId,
|
|
21595
|
+
public apiV2HospitalsHospitalIdHandlesGet(hospitalId: string, id?: string, snsType?: SnsType, handle?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
21596
|
+
return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdHandlesGet(hospitalId, id, snsType, handle, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
21352
21597
|
}
|
|
21353
21598
|
|
|
21354
21599
|
/**
|
|
@@ -21548,7 +21793,6 @@ export class HospitalsApi extends BaseAPI {
|
|
|
21548
21793
|
*
|
|
21549
21794
|
* @summary Get all HospitalWorkingDays.
|
|
21550
21795
|
* @param {string} hospitalId
|
|
21551
|
-
* @param {string} [hospitalId2]
|
|
21552
21796
|
* @param {string} [id]
|
|
21553
21797
|
* @param {string} [dayOfWeek]
|
|
21554
21798
|
* @param {Date} [timeFrom]
|
|
@@ -21561,8 +21805,8 @@ export class HospitalsApi extends BaseAPI {
|
|
|
21561
21805
|
* @throws {RequiredError}
|
|
21562
21806
|
* @memberof HospitalsApi
|
|
21563
21807
|
*/
|
|
21564
|
-
public apiV2HospitalsHospitalIdWorkingdaysGet(hospitalId: string,
|
|
21565
|
-
return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdWorkingdaysGet(hospitalId,
|
|
21808
|
+
public apiV2HospitalsHospitalIdWorkingdaysGet(hospitalId: string, id?: string, dayOfWeek?: string, timeFrom?: Date, timeTo?: Date, checkHoliday?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
21809
|
+
return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdWorkingdaysGet(hospitalId, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
21566
21810
|
}
|
|
21567
21811
|
|
|
21568
21812
|
/**
|