ch-api-client-typescript2 5.25.8 → 5.25.21
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/deals-api.d.ts +12 -3
- package/lib/api/deals-api.d.ts.map +1 -1
- package/lib/api/deals-api.js +12 -6
- package/lib/api/doctor-affiliations-api.d.ts +12 -3
- package/lib/api/doctor-affiliations-api.d.ts.map +1 -1
- package/lib/api/doctor-affiliations-api.js +12 -6
- package/lib/api/hospitals-api.d.ts +36 -9
- package/lib/api/hospitals-api.d.ts.map +1 -1
- package/lib/api/hospitals-api.js +36 -18
- package/lib/models/payment-method.d.ts +1 -0
- package/lib/models/payment-method.d.ts.map +1 -1
- package/lib/models/payment-method.js +2 -1
- package/package.json +1 -1
- package/src/api/deals-api.ts +20 -6
- package/src/api/doctor-affiliations-api.ts +20 -6
- package/src/api/hospitals-api.ts +60 -18
- package/src/models/payment-method.ts +2 -1
|
@@ -50,10 +50,11 @@ export const DoctorAffiliationsApiAxiosParamCreator = function (configuration?:
|
|
|
50
50
|
* @param {boolean} [isExternal]
|
|
51
51
|
* @param {boolean} [isOnline]
|
|
52
52
|
* @param {string} [appointmentIdExcluded]
|
|
53
|
+
* @param {boolean} [excludeUnavailableTimeSlots]
|
|
53
54
|
* @param {*} [options] Override http request option.
|
|
54
55
|
* @throws {RequiredError}
|
|
55
56
|
*/
|
|
56
|
-
apiV2DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGet: async (doctorAffiliationId: string, year?: number, month?: number, timeZone?: string, isExternal?: boolean, isOnline?: boolean, appointmentIdExcluded?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
57
|
+
apiV2DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGet: async (doctorAffiliationId: string, year?: number, month?: number, timeZone?: string, isExternal?: boolean, isOnline?: boolean, appointmentIdExcluded?: string, excludeUnavailableTimeSlots?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
57
58
|
// verify required parameter 'doctorAffiliationId' is not null or undefined
|
|
58
59
|
assertParamExists('apiV2DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGet', 'doctorAffiliationId', doctorAffiliationId)
|
|
59
60
|
const localVarPath = `/api/v2/doctoraffiliations/{doctorAffiliationId}/appointmenttimetables`
|
|
@@ -97,6 +98,10 @@ export const DoctorAffiliationsApiAxiosParamCreator = function (configuration?:
|
|
|
97
98
|
localVarQueryParameter['AppointmentIdExcluded'] = appointmentIdExcluded;
|
|
98
99
|
}
|
|
99
100
|
|
|
101
|
+
if (excludeUnavailableTimeSlots !== undefined) {
|
|
102
|
+
localVarQueryParameter['ExcludeUnavailableTimeSlots'] = excludeUnavailableTimeSlots;
|
|
103
|
+
}
|
|
104
|
+
|
|
100
105
|
|
|
101
106
|
|
|
102
107
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -412,11 +417,12 @@ export const DoctorAffiliationsApiFp = function(configuration?: Configuration) {
|
|
|
412
417
|
* @param {boolean} [isExternal]
|
|
413
418
|
* @param {boolean} [isOnline]
|
|
414
419
|
* @param {string} [appointmentIdExcluded]
|
|
420
|
+
* @param {boolean} [excludeUnavailableTimeSlots]
|
|
415
421
|
* @param {*} [options] Override http request option.
|
|
416
422
|
* @throws {RequiredError}
|
|
417
423
|
*/
|
|
418
|
-
async apiV2DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGet(doctorAffiliationId: string, year?: number, month?: number, timeZone?: string, isExternal?: boolean, isOnline?: boolean, appointmentIdExcluded?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAppointmentTimetablesResponseModel>> {
|
|
419
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGet(doctorAffiliationId, year, month, timeZone, isExternal, isOnline, appointmentIdExcluded, options);
|
|
424
|
+
async apiV2DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGet(doctorAffiliationId: string, year?: number, month?: number, timeZone?: string, isExternal?: boolean, isOnline?: boolean, appointmentIdExcluded?: string, excludeUnavailableTimeSlots?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAppointmentTimetablesResponseModel>> {
|
|
425
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGet(doctorAffiliationId, year, month, timeZone, isExternal, isOnline, appointmentIdExcluded, excludeUnavailableTimeSlots, options);
|
|
420
426
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
421
427
|
},
|
|
422
428
|
/**
|
|
@@ -516,11 +522,12 @@ export const DoctorAffiliationsApiFactory = function (configuration?: Configurat
|
|
|
516
522
|
* @param {boolean} [isExternal]
|
|
517
523
|
* @param {boolean} [isOnline]
|
|
518
524
|
* @param {string} [appointmentIdExcluded]
|
|
525
|
+
* @param {boolean} [excludeUnavailableTimeSlots]
|
|
519
526
|
* @param {*} [options] Override http request option.
|
|
520
527
|
* @throws {RequiredError}
|
|
521
528
|
*/
|
|
522
|
-
apiV2DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGet(doctorAffiliationId: string, year?: number, month?: number, timeZone?: string, isExternal?: boolean, isOnline?: boolean, appointmentIdExcluded?: string, options?: any): AxiosPromise<GetAppointmentTimetablesResponseModel> {
|
|
523
|
-
return localVarFp.apiV2DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGet(doctorAffiliationId, year, month, timeZone, isExternal, isOnline, appointmentIdExcluded, options).then((request) => request(axios, basePath));
|
|
529
|
+
apiV2DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGet(doctorAffiliationId: string, year?: number, month?: number, timeZone?: string, isExternal?: boolean, isOnline?: boolean, appointmentIdExcluded?: string, excludeUnavailableTimeSlots?: boolean, options?: any): AxiosPromise<GetAppointmentTimetablesResponseModel> {
|
|
530
|
+
return localVarFp.apiV2DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGet(doctorAffiliationId, year, month, timeZone, isExternal, isOnline, appointmentIdExcluded, excludeUnavailableTimeSlots, options).then((request) => request(axios, basePath));
|
|
524
531
|
},
|
|
525
532
|
/**
|
|
526
533
|
*
|
|
@@ -651,6 +658,13 @@ export interface DoctorAffiliationsApiApiV2DoctoraffiliationsDoctorAffiliationId
|
|
|
651
658
|
* @memberof DoctorAffiliationsApiApiV2DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGet
|
|
652
659
|
*/
|
|
653
660
|
readonly appointmentIdExcluded?: string
|
|
661
|
+
|
|
662
|
+
/**
|
|
663
|
+
*
|
|
664
|
+
* @type {boolean}
|
|
665
|
+
* @memberof DoctorAffiliationsApiApiV2DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGet
|
|
666
|
+
*/
|
|
667
|
+
readonly excludeUnavailableTimeSlots?: boolean
|
|
654
668
|
}
|
|
655
669
|
|
|
656
670
|
/**
|
|
@@ -893,7 +907,7 @@ export class DoctorAffiliationsApi extends BaseAPI {
|
|
|
893
907
|
* @memberof DoctorAffiliationsApi
|
|
894
908
|
*/
|
|
895
909
|
public apiV2DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGet(requestParameters: DoctorAffiliationsApiApiV2DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGetRequest, options?: AxiosRequestConfig) {
|
|
896
|
-
return DoctorAffiliationsApiFp(this.configuration).apiV2DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGet(requestParameters.doctorAffiliationId, requestParameters.year, requestParameters.month, requestParameters.timeZone, requestParameters.isExternal, requestParameters.isOnline, requestParameters.appointmentIdExcluded, options).then((request) => request(this.axios, this.basePath));
|
|
910
|
+
return DoctorAffiliationsApiFp(this.configuration).apiV2DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGet(requestParameters.doctorAffiliationId, requestParameters.year, requestParameters.month, requestParameters.timeZone, requestParameters.isExternal, requestParameters.isOnline, requestParameters.appointmentIdExcluded, requestParameters.excludeUnavailableTimeSlots, options).then((request) => request(this.axios, this.basePath));
|
|
897
911
|
}
|
|
898
912
|
|
|
899
913
|
/**
|
package/src/api/hospitals-api.ts
CHANGED
|
@@ -400,10 +400,11 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
400
400
|
* @param {boolean} [isExternal]
|
|
401
401
|
* @param {boolean} [isOnline]
|
|
402
402
|
* @param {string} [appointmentIdExcluded]
|
|
403
|
+
* @param {boolean} [excludeUnavailableTimeSlots]
|
|
403
404
|
* @param {*} [options] Override http request option.
|
|
404
405
|
* @throws {RequiredError}
|
|
405
406
|
*/
|
|
406
|
-
apiV2HospitalsHospitalIdAppointmenttimetablesGet: async (hospitalId: string, year?: number, month?: number, timeZone?: string, isExternal?: boolean, isOnline?: boolean, appointmentIdExcluded?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
407
|
+
apiV2HospitalsHospitalIdAppointmenttimetablesGet: async (hospitalId: string, year?: number, month?: number, timeZone?: string, isExternal?: boolean, isOnline?: boolean, appointmentIdExcluded?: string, excludeUnavailableTimeSlots?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
407
408
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
408
409
|
assertParamExists('apiV2HospitalsHospitalIdAppointmenttimetablesGet', 'hospitalId', hospitalId)
|
|
409
410
|
const localVarPath = `/api/v2/hospitals/{hospitalId}/appointmenttimetables`
|
|
@@ -447,6 +448,10 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
447
448
|
localVarQueryParameter['AppointmentIdExcluded'] = appointmentIdExcluded;
|
|
448
449
|
}
|
|
449
450
|
|
|
451
|
+
if (excludeUnavailableTimeSlots !== undefined) {
|
|
452
|
+
localVarQueryParameter['ExcludeUnavailableTimeSlots'] = excludeUnavailableTimeSlots;
|
|
453
|
+
}
|
|
454
|
+
|
|
450
455
|
|
|
451
456
|
|
|
452
457
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -2342,10 +2347,11 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
2342
2347
|
* @param {boolean} [isExternal]
|
|
2343
2348
|
* @param {boolean} [isOnline]
|
|
2344
2349
|
* @param {string} [appointmentIdExcluded]
|
|
2350
|
+
* @param {boolean} [excludeUnavailableTimeSlots]
|
|
2345
2351
|
* @param {*} [options] Override http request option.
|
|
2346
2352
|
* @throws {RequiredError}
|
|
2347
2353
|
*/
|
|
2348
|
-
apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesGet: async (hospitalId: string, hospitalSpecialtyId: string, year?: number, month?: number, timeZone?: string, isExternal?: boolean, isOnline?: boolean, appointmentIdExcluded?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2354
|
+
apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesGet: async (hospitalId: string, hospitalSpecialtyId: string, year?: number, month?: number, timeZone?: string, isExternal?: boolean, isOnline?: boolean, appointmentIdExcluded?: string, excludeUnavailableTimeSlots?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2349
2355
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
2350
2356
|
assertParamExists('apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesGet', 'hospitalId', hospitalId)
|
|
2351
2357
|
// verify required parameter 'hospitalSpecialtyId' is not null or undefined
|
|
@@ -2392,6 +2398,10 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
2392
2398
|
localVarQueryParameter['AppointmentIdExcluded'] = appointmentIdExcluded;
|
|
2393
2399
|
}
|
|
2394
2400
|
|
|
2401
|
+
if (excludeUnavailableTimeSlots !== undefined) {
|
|
2402
|
+
localVarQueryParameter['ExcludeUnavailableTimeSlots'] = excludeUnavailableTimeSlots;
|
|
2403
|
+
}
|
|
2404
|
+
|
|
2395
2405
|
|
|
2396
2406
|
|
|
2397
2407
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -2831,10 +2841,11 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
2831
2841
|
* @param {boolean} [isExternal]
|
|
2832
2842
|
* @param {boolean} [isOnline]
|
|
2833
2843
|
* @param {string} [appointmentIdExcluded]
|
|
2844
|
+
* @param {boolean} [excludeUnavailableTimeSlots]
|
|
2834
2845
|
* @param {*} [options] Override http request option.
|
|
2835
2846
|
* @throws {RequiredError}
|
|
2836
2847
|
*/
|
|
2837
|
-
apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesGet: async (hospitalId: string, specialtyId: string, serviceId: string, year?: number, month?: number, timeZone?: string, isExternal?: boolean, isOnline?: boolean, appointmentIdExcluded?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2848
|
+
apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesGet: async (hospitalId: string, specialtyId: string, serviceId: string, year?: number, month?: number, timeZone?: string, isExternal?: boolean, isOnline?: boolean, appointmentIdExcluded?: string, excludeUnavailableTimeSlots?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2838
2849
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
2839
2850
|
assertParamExists('apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesGet', 'hospitalId', hospitalId)
|
|
2840
2851
|
// verify required parameter 'specialtyId' is not null or undefined
|
|
@@ -2884,6 +2895,10 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
2884
2895
|
localVarQueryParameter['AppointmentIdExcluded'] = appointmentIdExcluded;
|
|
2885
2896
|
}
|
|
2886
2897
|
|
|
2898
|
+
if (excludeUnavailableTimeSlots !== undefined) {
|
|
2899
|
+
localVarQueryParameter['ExcludeUnavailableTimeSlots'] = excludeUnavailableTimeSlots;
|
|
2900
|
+
}
|
|
2901
|
+
|
|
2887
2902
|
|
|
2888
2903
|
|
|
2889
2904
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -3540,11 +3555,12 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
3540
3555
|
* @param {boolean} [isExternal]
|
|
3541
3556
|
* @param {boolean} [isOnline]
|
|
3542
3557
|
* @param {string} [appointmentIdExcluded]
|
|
3558
|
+
* @param {boolean} [excludeUnavailableTimeSlots]
|
|
3543
3559
|
* @param {*} [options] Override http request option.
|
|
3544
3560
|
* @throws {RequiredError}
|
|
3545
3561
|
*/
|
|
3546
|
-
async apiV2HospitalsHospitalIdAppointmenttimetablesGet(hospitalId: string, year?: number, month?: number, timeZone?: string, isExternal?: boolean, isOnline?: boolean, appointmentIdExcluded?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAppointmentTimetablesResponseModel>> {
|
|
3547
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdAppointmenttimetablesGet(hospitalId, year, month, timeZone, isExternal, isOnline, appointmentIdExcluded, options);
|
|
3562
|
+
async apiV2HospitalsHospitalIdAppointmenttimetablesGet(hospitalId: string, year?: number, month?: number, timeZone?: string, isExternal?: boolean, isOnline?: boolean, appointmentIdExcluded?: string, excludeUnavailableTimeSlots?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAppointmentTimetablesResponseModel>> {
|
|
3563
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdAppointmenttimetablesGet(hospitalId, year, month, timeZone, isExternal, isOnline, appointmentIdExcluded, excludeUnavailableTimeSlots, options);
|
|
3548
3564
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3549
3565
|
},
|
|
3550
3566
|
/**
|
|
@@ -4071,11 +4087,12 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
4071
4087
|
* @param {boolean} [isExternal]
|
|
4072
4088
|
* @param {boolean} [isOnline]
|
|
4073
4089
|
* @param {string} [appointmentIdExcluded]
|
|
4090
|
+
* @param {boolean} [excludeUnavailableTimeSlots]
|
|
4074
4091
|
* @param {*} [options] Override http request option.
|
|
4075
4092
|
* @throws {RequiredError}
|
|
4076
4093
|
*/
|
|
4077
|
-
async apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesGet(hospitalId: string, hospitalSpecialtyId: string, year?: number, month?: number, timeZone?: string, isExternal?: boolean, isOnline?: boolean, appointmentIdExcluded?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAppointmentTimetablesResponseModel>> {
|
|
4078
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesGet(hospitalId, hospitalSpecialtyId, year, month, timeZone, isExternal, isOnline, appointmentIdExcluded, options);
|
|
4094
|
+
async apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesGet(hospitalId: string, hospitalSpecialtyId: string, year?: number, month?: number, timeZone?: string, isExternal?: boolean, isOnline?: boolean, appointmentIdExcluded?: string, excludeUnavailableTimeSlots?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAppointmentTimetablesResponseModel>> {
|
|
4095
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesGet(hospitalId, hospitalSpecialtyId, year, month, timeZone, isExternal, isOnline, appointmentIdExcluded, excludeUnavailableTimeSlots, options);
|
|
4079
4096
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4080
4097
|
},
|
|
4081
4098
|
/**
|
|
@@ -4198,11 +4215,12 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
4198
4215
|
* @param {boolean} [isExternal]
|
|
4199
4216
|
* @param {boolean} [isOnline]
|
|
4200
4217
|
* @param {string} [appointmentIdExcluded]
|
|
4218
|
+
* @param {boolean} [excludeUnavailableTimeSlots]
|
|
4201
4219
|
* @param {*} [options] Override http request option.
|
|
4202
4220
|
* @throws {RequiredError}
|
|
4203
4221
|
*/
|
|
4204
|
-
async apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesGet(hospitalId: string, specialtyId: string, serviceId: string, year?: number, month?: number, timeZone?: string, isExternal?: boolean, isOnline?: boolean, appointmentIdExcluded?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAppointmentTimetablesResponseModel>> {
|
|
4205
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesGet(hospitalId, specialtyId, serviceId, year, month, timeZone, isExternal, isOnline, appointmentIdExcluded, options);
|
|
4222
|
+
async apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesGet(hospitalId: string, specialtyId: string, serviceId: string, year?: number, month?: number, timeZone?: string, isExternal?: boolean, isOnline?: boolean, appointmentIdExcluded?: string, excludeUnavailableTimeSlots?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAppointmentTimetablesResponseModel>> {
|
|
4223
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesGet(hospitalId, specialtyId, serviceId, year, month, timeZone, isExternal, isOnline, appointmentIdExcluded, excludeUnavailableTimeSlots, options);
|
|
4206
4224
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4207
4225
|
},
|
|
4208
4226
|
/**
|
|
@@ -4437,11 +4455,12 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
4437
4455
|
* @param {boolean} [isExternal]
|
|
4438
4456
|
* @param {boolean} [isOnline]
|
|
4439
4457
|
* @param {string} [appointmentIdExcluded]
|
|
4458
|
+
* @param {boolean} [excludeUnavailableTimeSlots]
|
|
4440
4459
|
* @param {*} [options] Override http request option.
|
|
4441
4460
|
* @throws {RequiredError}
|
|
4442
4461
|
*/
|
|
4443
|
-
apiV2HospitalsHospitalIdAppointmenttimetablesGet(hospitalId: string, year?: number, month?: number, timeZone?: string, isExternal?: boolean, isOnline?: boolean, appointmentIdExcluded?: string, options?: any): AxiosPromise<GetAppointmentTimetablesResponseModel> {
|
|
4444
|
-
return localVarFp.apiV2HospitalsHospitalIdAppointmenttimetablesGet(hospitalId, year, month, timeZone, isExternal, isOnline, appointmentIdExcluded, options).then((request) => request(axios, basePath));
|
|
4462
|
+
apiV2HospitalsHospitalIdAppointmenttimetablesGet(hospitalId: string, year?: number, month?: number, timeZone?: string, isExternal?: boolean, isOnline?: boolean, appointmentIdExcluded?: string, excludeUnavailableTimeSlots?: boolean, options?: any): AxiosPromise<GetAppointmentTimetablesResponseModel> {
|
|
4463
|
+
return localVarFp.apiV2HospitalsHospitalIdAppointmenttimetablesGet(hospitalId, year, month, timeZone, isExternal, isOnline, appointmentIdExcluded, excludeUnavailableTimeSlots, options).then((request) => request(axios, basePath));
|
|
4445
4464
|
},
|
|
4446
4465
|
/**
|
|
4447
4466
|
*
|
|
@@ -4933,11 +4952,12 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
4933
4952
|
* @param {boolean} [isExternal]
|
|
4934
4953
|
* @param {boolean} [isOnline]
|
|
4935
4954
|
* @param {string} [appointmentIdExcluded]
|
|
4955
|
+
* @param {boolean} [excludeUnavailableTimeSlots]
|
|
4936
4956
|
* @param {*} [options] Override http request option.
|
|
4937
4957
|
* @throws {RequiredError}
|
|
4938
4958
|
*/
|
|
4939
|
-
apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesGet(hospitalId: string, hospitalSpecialtyId: string, year?: number, month?: number, timeZone?: string, isExternal?: boolean, isOnline?: boolean, appointmentIdExcluded?: string, options?: any): AxiosPromise<GetAppointmentTimetablesResponseModel> {
|
|
4940
|
-
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesGet(hospitalId, hospitalSpecialtyId, year, month, timeZone, isExternal, isOnline, appointmentIdExcluded, options).then((request) => request(axios, basePath));
|
|
4959
|
+
apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesGet(hospitalId: string, hospitalSpecialtyId: string, year?: number, month?: number, timeZone?: string, isExternal?: boolean, isOnline?: boolean, appointmentIdExcluded?: string, excludeUnavailableTimeSlots?: boolean, options?: any): AxiosPromise<GetAppointmentTimetablesResponseModel> {
|
|
4960
|
+
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesGet(hospitalId, hospitalSpecialtyId, year, month, timeZone, isExternal, isOnline, appointmentIdExcluded, excludeUnavailableTimeSlots, options).then((request) => request(axios, basePath));
|
|
4941
4961
|
},
|
|
4942
4962
|
/**
|
|
4943
4963
|
*
|
|
@@ -5053,11 +5073,12 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
5053
5073
|
* @param {boolean} [isExternal]
|
|
5054
5074
|
* @param {boolean} [isOnline]
|
|
5055
5075
|
* @param {string} [appointmentIdExcluded]
|
|
5076
|
+
* @param {boolean} [excludeUnavailableTimeSlots]
|
|
5056
5077
|
* @param {*} [options] Override http request option.
|
|
5057
5078
|
* @throws {RequiredError}
|
|
5058
5079
|
*/
|
|
5059
|
-
apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesGet(hospitalId: string, specialtyId: string, serviceId: string, year?: number, month?: number, timeZone?: string, isExternal?: boolean, isOnline?: boolean, appointmentIdExcluded?: string, options?: any): AxiosPromise<GetAppointmentTimetablesResponseModel> {
|
|
5060
|
-
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesGet(hospitalId, specialtyId, serviceId, year, month, timeZone, isExternal, isOnline, appointmentIdExcluded, options).then((request) => request(axios, basePath));
|
|
5080
|
+
apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesGet(hospitalId: string, specialtyId: string, serviceId: string, year?: number, month?: number, timeZone?: string, isExternal?: boolean, isOnline?: boolean, appointmentIdExcluded?: string, excludeUnavailableTimeSlots?: boolean, options?: any): AxiosPromise<GetAppointmentTimetablesResponseModel> {
|
|
5081
|
+
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesGet(hospitalId, specialtyId, serviceId, year, month, timeZone, isExternal, isOnline, appointmentIdExcluded, excludeUnavailableTimeSlots, options).then((request) => request(axios, basePath));
|
|
5061
5082
|
},
|
|
5062
5083
|
/**
|
|
5063
5084
|
*
|
|
@@ -5486,6 +5507,13 @@ export interface HospitalsApiApiV2HospitalsHospitalIdAppointmenttimetablesGetReq
|
|
|
5486
5507
|
* @memberof HospitalsApiApiV2HospitalsHospitalIdAppointmenttimetablesGet
|
|
5487
5508
|
*/
|
|
5488
5509
|
readonly appointmentIdExcluded?: string
|
|
5510
|
+
|
|
5511
|
+
/**
|
|
5512
|
+
*
|
|
5513
|
+
* @type {boolean}
|
|
5514
|
+
* @memberof HospitalsApiApiV2HospitalsHospitalIdAppointmenttimetablesGet
|
|
5515
|
+
*/
|
|
5516
|
+
readonly excludeUnavailableTimeSlots?: boolean
|
|
5489
5517
|
}
|
|
5490
5518
|
|
|
5491
5519
|
/**
|
|
@@ -6998,6 +7026,13 @@ export interface HospitalsApiApiV2HospitalsHospitalIdSpecialtiesHospitalSpecialt
|
|
|
6998
7026
|
* @memberof HospitalsApiApiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesGet
|
|
6999
7027
|
*/
|
|
7000
7028
|
readonly appointmentIdExcluded?: string
|
|
7029
|
+
|
|
7030
|
+
/**
|
|
7031
|
+
*
|
|
7032
|
+
* @type {boolean}
|
|
7033
|
+
* @memberof HospitalsApiApiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesGet
|
|
7034
|
+
*/
|
|
7035
|
+
readonly excludeUnavailableTimeSlots?: boolean
|
|
7001
7036
|
}
|
|
7002
7037
|
|
|
7003
7038
|
/**
|
|
@@ -7446,6 +7481,13 @@ export interface HospitalsApiApiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServi
|
|
|
7446
7481
|
* @memberof HospitalsApiApiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesGet
|
|
7447
7482
|
*/
|
|
7448
7483
|
readonly appointmentIdExcluded?: string
|
|
7484
|
+
|
|
7485
|
+
/**
|
|
7486
|
+
*
|
|
7487
|
+
* @type {boolean}
|
|
7488
|
+
* @memberof HospitalsApiApiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesGet
|
|
7489
|
+
*/
|
|
7490
|
+
readonly excludeUnavailableTimeSlots?: boolean
|
|
7449
7491
|
}
|
|
7450
7492
|
|
|
7451
7493
|
/**
|
|
@@ -7980,7 +8022,7 @@ export class HospitalsApi extends BaseAPI {
|
|
|
7980
8022
|
* @memberof HospitalsApi
|
|
7981
8023
|
*/
|
|
7982
8024
|
public apiV2HospitalsHospitalIdAppointmenttimetablesGet(requestParameters: HospitalsApiApiV2HospitalsHospitalIdAppointmenttimetablesGetRequest, options?: AxiosRequestConfig) {
|
|
7983
|
-
return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdAppointmenttimetablesGet(requestParameters.hospitalId, requestParameters.year, requestParameters.month, requestParameters.timeZone, requestParameters.isExternal, requestParameters.isOnline, requestParameters.appointmentIdExcluded, options).then((request) => request(this.axios, this.basePath));
|
|
8025
|
+
return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdAppointmenttimetablesGet(requestParameters.hospitalId, requestParameters.year, requestParameters.month, requestParameters.timeZone, requestParameters.isExternal, requestParameters.isOnline, requestParameters.appointmentIdExcluded, requestParameters.excludeUnavailableTimeSlots, options).then((request) => request(this.axios, this.basePath));
|
|
7984
8026
|
}
|
|
7985
8027
|
|
|
7986
8028
|
/**
|
|
@@ -8400,7 +8442,7 @@ export class HospitalsApi extends BaseAPI {
|
|
|
8400
8442
|
* @memberof HospitalsApi
|
|
8401
8443
|
*/
|
|
8402
8444
|
public apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesGet(requestParameters: HospitalsApiApiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesGetRequest, options?: AxiosRequestConfig) {
|
|
8403
|
-
return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesGet(requestParameters.hospitalId, requestParameters.hospitalSpecialtyId, requestParameters.year, requestParameters.month, requestParameters.timeZone, requestParameters.isExternal, requestParameters.isOnline, requestParameters.appointmentIdExcluded, options).then((request) => request(this.axios, this.basePath));
|
|
8445
|
+
return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesGet(requestParameters.hospitalId, requestParameters.hospitalSpecialtyId, requestParameters.year, requestParameters.month, requestParameters.timeZone, requestParameters.isExternal, requestParameters.isOnline, requestParameters.appointmentIdExcluded, requestParameters.excludeUnavailableTimeSlots, options).then((request) => request(this.axios, this.basePath));
|
|
8404
8446
|
}
|
|
8405
8447
|
|
|
8406
8448
|
/**
|
|
@@ -8484,7 +8526,7 @@ export class HospitalsApi extends BaseAPI {
|
|
|
8484
8526
|
* @memberof HospitalsApi
|
|
8485
8527
|
*/
|
|
8486
8528
|
public apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesGet(requestParameters: HospitalsApiApiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesGetRequest, options?: AxiosRequestConfig) {
|
|
8487
|
-
return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesGet(requestParameters.hospitalId, requestParameters.specialtyId, requestParameters.serviceId, requestParameters.year, requestParameters.month, requestParameters.timeZone, requestParameters.isExternal, requestParameters.isOnline, requestParameters.appointmentIdExcluded, options).then((request) => request(this.axios, this.basePath));
|
|
8529
|
+
return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesGet(requestParameters.hospitalId, requestParameters.specialtyId, requestParameters.serviceId, requestParameters.year, requestParameters.month, requestParameters.timeZone, requestParameters.isExternal, requestParameters.isOnline, requestParameters.appointmentIdExcluded, requestParameters.excludeUnavailableTimeSlots, options).then((request) => request(this.axios, this.basePath));
|
|
8488
8530
|
}
|
|
8489
8531
|
|
|
8490
8532
|
/**
|
|
@@ -25,7 +25,8 @@ export const PaymentMethod = {
|
|
|
25
25
|
Paypal: 'Paypal',
|
|
26
26
|
BankTransfer: 'BankTransfer',
|
|
27
27
|
Upi: 'Upi',
|
|
28
|
-
HospitalPaymentGateway: 'HospitalPaymentGateway'
|
|
28
|
+
HospitalPaymentGateway: 'HospitalPaymentGateway',
|
|
29
|
+
Cash: 'Cash'
|
|
29
30
|
} as const;
|
|
30
31
|
|
|
31
32
|
export type PaymentMethod = typeof PaymentMethod[keyof typeof PaymentMethod];
|