ch-admin-api-client-typescript 5.25.21 → 5.26.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/api/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/create-doctor-affiliation-command.d.ts +7 -0
- package/lib/models/create-doctor-affiliation-command.d.ts.map +1 -1
- package/lib/models/doctor-affiliation-item-model.d.ts +7 -0
- package/lib/models/doctor-affiliation-item-model.d.ts.map +1 -1
- package/lib/models/doctor-affiliation-model.d.ts +7 -0
- package/lib/models/doctor-affiliation-model.d.ts.map +1 -1
- package/lib/models/doctor-prefix.d.ts +22 -0
- package/lib/models/doctor-prefix.d.ts.map +1 -0
- package/lib/models/doctor-prefix.js +25 -0
- package/lib/models/index.d.ts +1 -0
- package/lib/models/index.d.ts.map +1 -1
- package/lib/models/index.js +1 -0
- 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/lib/models/update-doctor-affiliation-command.d.ts +7 -0
- package/lib/models/update-doctor-affiliation-command.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/.openapi-generator/FILES +1 -0
- 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/create-doctor-affiliation-command.ts +9 -0
- package/src/models/doctor-affiliation-item-model.ts +9 -0
- package/src/models/doctor-affiliation-model.ts +9 -0
- package/src/models/doctor-prefix.ts +31 -0
- package/src/models/index.ts +1 -0
- package/src/models/payment-method.ts +2 -1
- package/src/models/update-doctor-affiliation-command.ts +9 -0
|
@@ -241,10 +241,11 @@ export const DoctorAffiliationsApiAxiosParamCreator = function (configuration?:
|
|
|
241
241
|
* @param {boolean} [isExternal]
|
|
242
242
|
* @param {boolean} [isOnline]
|
|
243
243
|
* @param {string} [appointmentIdExcluded]
|
|
244
|
+
* @param {boolean} [excludeUnavailableTimeSlots]
|
|
244
245
|
* @param {*} [options] Override http request option.
|
|
245
246
|
* @throws {RequiredError}
|
|
246
247
|
*/
|
|
247
|
-
apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesApplicationGet: async (doctorAffiliationId: string, year?: number, month?: number, timeZone?: string, isExternal?: boolean, isOnline?: boolean, appointmentIdExcluded?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
248
|
+
apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesApplicationGet: async (doctorAffiliationId: string, year?: number, month?: number, timeZone?: string, isExternal?: boolean, isOnline?: boolean, appointmentIdExcluded?: string, excludeUnavailableTimeSlots?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
248
249
|
// verify required parameter 'doctorAffiliationId' is not null or undefined
|
|
249
250
|
assertParamExists('apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesApplicationGet', 'doctorAffiliationId', doctorAffiliationId)
|
|
250
251
|
const localVarPath = `/api/v1/doctoraffiliations/{doctorAffiliationId}/appointmenttimetables/application`
|
|
@@ -288,6 +289,10 @@ export const DoctorAffiliationsApiAxiosParamCreator = function (configuration?:
|
|
|
288
289
|
localVarQueryParameter['AppointmentIdExcluded'] = appointmentIdExcluded;
|
|
289
290
|
}
|
|
290
291
|
|
|
292
|
+
if (excludeUnavailableTimeSlots !== undefined) {
|
|
293
|
+
localVarQueryParameter['ExcludeUnavailableTimeSlots'] = excludeUnavailableTimeSlots;
|
|
294
|
+
}
|
|
295
|
+
|
|
291
296
|
|
|
292
297
|
|
|
293
298
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -1089,11 +1094,12 @@ export const DoctorAffiliationsApiFp = function(configuration?: Configuration) {
|
|
|
1089
1094
|
* @param {boolean} [isExternal]
|
|
1090
1095
|
* @param {boolean} [isOnline]
|
|
1091
1096
|
* @param {string} [appointmentIdExcluded]
|
|
1097
|
+
* @param {boolean} [excludeUnavailableTimeSlots]
|
|
1092
1098
|
* @param {*} [options] Override http request option.
|
|
1093
1099
|
* @throws {RequiredError}
|
|
1094
1100
|
*/
|
|
1095
|
-
async apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesApplicationGet(doctorAffiliationId: string, year?: number, month?: number, timeZone?: string, isExternal?: boolean, isOnline?: boolean, appointmentIdExcluded?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAppointmentTimetablesResponseModel>> {
|
|
1096
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesApplicationGet(doctorAffiliationId, year, month, timeZone, isExternal, isOnline, appointmentIdExcluded, options);
|
|
1101
|
+
async apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesApplicationGet(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>> {
|
|
1102
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesApplicationGet(doctorAffiliationId, year, month, timeZone, isExternal, isOnline, appointmentIdExcluded, excludeUnavailableTimeSlots, options);
|
|
1097
1103
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1098
1104
|
},
|
|
1099
1105
|
/**
|
|
@@ -1351,11 +1357,12 @@ export const DoctorAffiliationsApiFactory = function (configuration?: Configurat
|
|
|
1351
1357
|
* @param {boolean} [isExternal]
|
|
1352
1358
|
* @param {boolean} [isOnline]
|
|
1353
1359
|
* @param {string} [appointmentIdExcluded]
|
|
1360
|
+
* @param {boolean} [excludeUnavailableTimeSlots]
|
|
1354
1361
|
* @param {*} [options] Override http request option.
|
|
1355
1362
|
* @throws {RequiredError}
|
|
1356
1363
|
*/
|
|
1357
|
-
apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesApplicationGet(doctorAffiliationId: string, year?: number, month?: number, timeZone?: string, isExternal?: boolean, isOnline?: boolean, appointmentIdExcluded?: string, options?: any): AxiosPromise<GetAppointmentTimetablesResponseModel> {
|
|
1358
|
-
return localVarFp.apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesApplicationGet(doctorAffiliationId, year, month, timeZone, isExternal, isOnline, appointmentIdExcluded, options).then((request) => request(axios, basePath));
|
|
1364
|
+
apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesApplicationGet(doctorAffiliationId: string, year?: number, month?: number, timeZone?: string, isExternal?: boolean, isOnline?: boolean, appointmentIdExcluded?: string, excludeUnavailableTimeSlots?: boolean, options?: any): AxiosPromise<GetAppointmentTimetablesResponseModel> {
|
|
1365
|
+
return localVarFp.apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesApplicationGet(doctorAffiliationId, year, month, timeZone, isExternal, isOnline, appointmentIdExcluded, excludeUnavailableTimeSlots, options).then((request) => request(axios, basePath));
|
|
1359
1366
|
},
|
|
1360
1367
|
/**
|
|
1361
1368
|
*
|
|
@@ -1700,6 +1707,13 @@ export interface DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationId
|
|
|
1700
1707
|
* @memberof DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesApplicationGet
|
|
1701
1708
|
*/
|
|
1702
1709
|
readonly appointmentIdExcluded?: string
|
|
1710
|
+
|
|
1711
|
+
/**
|
|
1712
|
+
*
|
|
1713
|
+
* @type {boolean}
|
|
1714
|
+
* @memberof DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesApplicationGet
|
|
1715
|
+
*/
|
|
1716
|
+
readonly excludeUnavailableTimeSlots?: boolean
|
|
1703
1717
|
}
|
|
1704
1718
|
|
|
1705
1719
|
/**
|
|
@@ -2188,7 +2202,7 @@ export class DoctorAffiliationsApi extends BaseAPI {
|
|
|
2188
2202
|
* @memberof DoctorAffiliationsApi
|
|
2189
2203
|
*/
|
|
2190
2204
|
public apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesApplicationGet(requestParameters: DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesApplicationGetRequest, options?: AxiosRequestConfig) {
|
|
2191
|
-
return DoctorAffiliationsApiFp(this.configuration).apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesApplicationGet(requestParameters.doctorAffiliationId, requestParameters.year, requestParameters.month, requestParameters.timeZone, requestParameters.isExternal, requestParameters.isOnline, requestParameters.appointmentIdExcluded, options).then((request) => request(this.axios, this.basePath));
|
|
2205
|
+
return DoctorAffiliationsApiFp(this.configuration).apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesApplicationGet(requestParameters.doctorAffiliationId, requestParameters.year, requestParameters.month, requestParameters.timeZone, requestParameters.isExternal, requestParameters.isOnline, requestParameters.appointmentIdExcluded, requestParameters.excludeUnavailableTimeSlots, options).then((request) => request(this.axios, this.basePath));
|
|
2192
2206
|
}
|
|
2193
2207
|
|
|
2194
2208
|
/**
|
package/src/api/hospitals-api.ts
CHANGED
|
@@ -752,10 +752,11 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
752
752
|
* @param {boolean} [isExternal]
|
|
753
753
|
* @param {boolean} [isOnline]
|
|
754
754
|
* @param {string} [appointmentIdExcluded]
|
|
755
|
+
* @param {boolean} [excludeUnavailableTimeSlots]
|
|
755
756
|
* @param {*} [options] Override http request option.
|
|
756
757
|
* @throws {RequiredError}
|
|
757
758
|
*/
|
|
758
|
-
apiV1HospitalsHospitalIdAppointmenttimetablesApplicationGet: async (hospitalId: string, year?: number, month?: number, timeZone?: string, isExternal?: boolean, isOnline?: boolean, appointmentIdExcluded?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
759
|
+
apiV1HospitalsHospitalIdAppointmenttimetablesApplicationGet: async (hospitalId: string, year?: number, month?: number, timeZone?: string, isExternal?: boolean, isOnline?: boolean, appointmentIdExcluded?: string, excludeUnavailableTimeSlots?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
759
760
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
760
761
|
assertParamExists('apiV1HospitalsHospitalIdAppointmenttimetablesApplicationGet', 'hospitalId', hospitalId)
|
|
761
762
|
const localVarPath = `/api/v1/hospitals/{hospitalId}/appointmenttimetables/application`
|
|
@@ -799,6 +800,10 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
799
800
|
localVarQueryParameter['AppointmentIdExcluded'] = appointmentIdExcluded;
|
|
800
801
|
}
|
|
801
802
|
|
|
803
|
+
if (excludeUnavailableTimeSlots !== undefined) {
|
|
804
|
+
localVarQueryParameter['ExcludeUnavailableTimeSlots'] = excludeUnavailableTimeSlots;
|
|
805
|
+
}
|
|
806
|
+
|
|
802
807
|
|
|
803
808
|
|
|
804
809
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -6482,10 +6487,11 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
6482
6487
|
* @param {boolean} [isExternal]
|
|
6483
6488
|
* @param {boolean} [isOnline]
|
|
6484
6489
|
* @param {string} [appointmentIdExcluded]
|
|
6490
|
+
* @param {boolean} [excludeUnavailableTimeSlots]
|
|
6485
6491
|
* @param {*} [options] Override http request option.
|
|
6486
6492
|
* @throws {RequiredError}
|
|
6487
6493
|
*/
|
|
6488
|
-
apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesApplicationGet: async (hospitalId: string, hospitalSpecialtyId: string, year?: number, month?: number, timeZone?: string, isExternal?: boolean, isOnline?: boolean, appointmentIdExcluded?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
6494
|
+
apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesApplicationGet: async (hospitalId: string, hospitalSpecialtyId: string, year?: number, month?: number, timeZone?: string, isExternal?: boolean, isOnline?: boolean, appointmentIdExcluded?: string, excludeUnavailableTimeSlots?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
6489
6495
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
6490
6496
|
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesApplicationGet', 'hospitalId', hospitalId)
|
|
6491
6497
|
// verify required parameter 'hospitalSpecialtyId' is not null or undefined
|
|
@@ -6532,6 +6538,10 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
6532
6538
|
localVarQueryParameter['AppointmentIdExcluded'] = appointmentIdExcluded;
|
|
6533
6539
|
}
|
|
6534
6540
|
|
|
6541
|
+
if (excludeUnavailableTimeSlots !== undefined) {
|
|
6542
|
+
localVarQueryParameter['ExcludeUnavailableTimeSlots'] = excludeUnavailableTimeSlots;
|
|
6543
|
+
}
|
|
6544
|
+
|
|
6535
6545
|
|
|
6536
6546
|
|
|
6537
6547
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -7740,10 +7750,11 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
7740
7750
|
* @param {boolean} [isExternal]
|
|
7741
7751
|
* @param {boolean} [isOnline]
|
|
7742
7752
|
* @param {string} [appointmentIdExcluded]
|
|
7753
|
+
* @param {boolean} [excludeUnavailableTimeSlots]
|
|
7743
7754
|
* @param {*} [options] Override http request option.
|
|
7744
7755
|
* @throws {RequiredError}
|
|
7745
7756
|
*/
|
|
7746
|
-
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesApplicationGet: async (hospitalId: string, specialtyId: string, serviceId: string, year?: number, month?: number, timeZone?: string, isExternal?: boolean, isOnline?: boolean, appointmentIdExcluded?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
7757
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesApplicationGet: 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> => {
|
|
7747
7758
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
7748
7759
|
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesApplicationGet', 'hospitalId', hospitalId)
|
|
7749
7760
|
// verify required parameter 'specialtyId' is not null or undefined
|
|
@@ -7793,6 +7804,10 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
7793
7804
|
localVarQueryParameter['AppointmentIdExcluded'] = appointmentIdExcluded;
|
|
7794
7805
|
}
|
|
7795
7806
|
|
|
7807
|
+
if (excludeUnavailableTimeSlots !== undefined) {
|
|
7808
|
+
localVarQueryParameter['ExcludeUnavailableTimeSlots'] = excludeUnavailableTimeSlots;
|
|
7809
|
+
}
|
|
7810
|
+
|
|
7796
7811
|
|
|
7797
7812
|
|
|
7798
7813
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -9368,11 +9383,12 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
9368
9383
|
* @param {boolean} [isExternal]
|
|
9369
9384
|
* @param {boolean} [isOnline]
|
|
9370
9385
|
* @param {string} [appointmentIdExcluded]
|
|
9386
|
+
* @param {boolean} [excludeUnavailableTimeSlots]
|
|
9371
9387
|
* @param {*} [options] Override http request option.
|
|
9372
9388
|
* @throws {RequiredError}
|
|
9373
9389
|
*/
|
|
9374
|
-
async apiV1HospitalsHospitalIdAppointmenttimetablesApplicationGet(hospitalId: string, year?: number, month?: number, timeZone?: string, isExternal?: boolean, isOnline?: boolean, appointmentIdExcluded?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAppointmentTimetablesResponseModel>> {
|
|
9375
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdAppointmenttimetablesApplicationGet(hospitalId, year, month, timeZone, isExternal, isOnline, appointmentIdExcluded, options);
|
|
9390
|
+
async apiV1HospitalsHospitalIdAppointmenttimetablesApplicationGet(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>> {
|
|
9391
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdAppointmenttimetablesApplicationGet(hospitalId, year, month, timeZone, isExternal, isOnline, appointmentIdExcluded, excludeUnavailableTimeSlots, options);
|
|
9376
9392
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
9377
9393
|
},
|
|
9378
9394
|
/**
|
|
@@ -10919,11 +10935,12 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
10919
10935
|
* @param {boolean} [isExternal]
|
|
10920
10936
|
* @param {boolean} [isOnline]
|
|
10921
10937
|
* @param {string} [appointmentIdExcluded]
|
|
10938
|
+
* @param {boolean} [excludeUnavailableTimeSlots]
|
|
10922
10939
|
* @param {*} [options] Override http request option.
|
|
10923
10940
|
* @throws {RequiredError}
|
|
10924
10941
|
*/
|
|
10925
|
-
async apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesApplicationGet(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>> {
|
|
10926
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesApplicationGet(hospitalId, hospitalSpecialtyId, year, month, timeZone, isExternal, isOnline, appointmentIdExcluded, options);
|
|
10942
|
+
async apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesApplicationGet(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>> {
|
|
10943
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesApplicationGet(hospitalId, hospitalSpecialtyId, year, month, timeZone, isExternal, isOnline, appointmentIdExcluded, excludeUnavailableTimeSlots, options);
|
|
10927
10944
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
10928
10945
|
},
|
|
10929
10946
|
/**
|
|
@@ -11250,11 +11267,12 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
11250
11267
|
* @param {boolean} [isExternal]
|
|
11251
11268
|
* @param {boolean} [isOnline]
|
|
11252
11269
|
* @param {string} [appointmentIdExcluded]
|
|
11270
|
+
* @param {boolean} [excludeUnavailableTimeSlots]
|
|
11253
11271
|
* @param {*} [options] Override http request option.
|
|
11254
11272
|
* @throws {RequiredError}
|
|
11255
11273
|
*/
|
|
11256
|
-
async apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesApplicationGet(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>> {
|
|
11257
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesApplicationGet(hospitalId, specialtyId, serviceId, year, month, timeZone, isExternal, isOnline, appointmentIdExcluded, options);
|
|
11274
|
+
async apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesApplicationGet(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>> {
|
|
11275
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesApplicationGet(hospitalId, specialtyId, serviceId, year, month, timeZone, isExternal, isOnline, appointmentIdExcluded, excludeUnavailableTimeSlots, options);
|
|
11258
11276
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
11259
11277
|
},
|
|
11260
11278
|
/**
|
|
@@ -11771,11 +11789,12 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
11771
11789
|
* @param {boolean} [isExternal]
|
|
11772
11790
|
* @param {boolean} [isOnline]
|
|
11773
11791
|
* @param {string} [appointmentIdExcluded]
|
|
11792
|
+
* @param {boolean} [excludeUnavailableTimeSlots]
|
|
11774
11793
|
* @param {*} [options] Override http request option.
|
|
11775
11794
|
* @throws {RequiredError}
|
|
11776
11795
|
*/
|
|
11777
|
-
apiV1HospitalsHospitalIdAppointmenttimetablesApplicationGet(hospitalId: string, year?: number, month?: number, timeZone?: string, isExternal?: boolean, isOnline?: boolean, appointmentIdExcluded?: string, options?: any): AxiosPromise<GetAppointmentTimetablesResponseModel> {
|
|
11778
|
-
return localVarFp.apiV1HospitalsHospitalIdAppointmenttimetablesApplicationGet(hospitalId, year, month, timeZone, isExternal, isOnline, appointmentIdExcluded, options).then((request) => request(axios, basePath));
|
|
11796
|
+
apiV1HospitalsHospitalIdAppointmenttimetablesApplicationGet(hospitalId: string, year?: number, month?: number, timeZone?: string, isExternal?: boolean, isOnline?: boolean, appointmentIdExcluded?: string, excludeUnavailableTimeSlots?: boolean, options?: any): AxiosPromise<GetAppointmentTimetablesResponseModel> {
|
|
11797
|
+
return localVarFp.apiV1HospitalsHospitalIdAppointmenttimetablesApplicationGet(hospitalId, year, month, timeZone, isExternal, isOnline, appointmentIdExcluded, excludeUnavailableTimeSlots, options).then((request) => request(axios, basePath));
|
|
11779
11798
|
},
|
|
11780
11799
|
/**
|
|
11781
11800
|
*
|
|
@@ -13207,11 +13226,12 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
13207
13226
|
* @param {boolean} [isExternal]
|
|
13208
13227
|
* @param {boolean} [isOnline]
|
|
13209
13228
|
* @param {string} [appointmentIdExcluded]
|
|
13229
|
+
* @param {boolean} [excludeUnavailableTimeSlots]
|
|
13210
13230
|
* @param {*} [options] Override http request option.
|
|
13211
13231
|
* @throws {RequiredError}
|
|
13212
13232
|
*/
|
|
13213
|
-
apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesApplicationGet(hospitalId: string, hospitalSpecialtyId: string, year?: number, month?: number, timeZone?: string, isExternal?: boolean, isOnline?: boolean, appointmentIdExcluded?: string, options?: any): AxiosPromise<GetAppointmentTimetablesResponseModel> {
|
|
13214
|
-
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesApplicationGet(hospitalId, hospitalSpecialtyId, year, month, timeZone, isExternal, isOnline, appointmentIdExcluded, options).then((request) => request(axios, basePath));
|
|
13233
|
+
apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesApplicationGet(hospitalId: string, hospitalSpecialtyId: string, year?: number, month?: number, timeZone?: string, isExternal?: boolean, isOnline?: boolean, appointmentIdExcluded?: string, excludeUnavailableTimeSlots?: boolean, options?: any): AxiosPromise<GetAppointmentTimetablesResponseModel> {
|
|
13234
|
+
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesApplicationGet(hospitalId, hospitalSpecialtyId, year, month, timeZone, isExternal, isOnline, appointmentIdExcluded, excludeUnavailableTimeSlots, options).then((request) => request(axios, basePath));
|
|
13215
13235
|
},
|
|
13216
13236
|
/**
|
|
13217
13237
|
*
|
|
@@ -13516,11 +13536,12 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
13516
13536
|
* @param {boolean} [isExternal]
|
|
13517
13537
|
* @param {boolean} [isOnline]
|
|
13518
13538
|
* @param {string} [appointmentIdExcluded]
|
|
13539
|
+
* @param {boolean} [excludeUnavailableTimeSlots]
|
|
13519
13540
|
* @param {*} [options] Override http request option.
|
|
13520
13541
|
* @throws {RequiredError}
|
|
13521
13542
|
*/
|
|
13522
|
-
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesApplicationGet(hospitalId: string, specialtyId: string, serviceId: string, year?: number, month?: number, timeZone?: string, isExternal?: boolean, isOnline?: boolean, appointmentIdExcluded?: string, options?: any): AxiosPromise<GetAppointmentTimetablesResponseModel> {
|
|
13523
|
-
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesApplicationGet(hospitalId, specialtyId, serviceId, year, month, timeZone, isExternal, isOnline, appointmentIdExcluded, options).then((request) => request(axios, basePath));
|
|
13543
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesApplicationGet(hospitalId: string, specialtyId: string, serviceId: string, year?: number, month?: number, timeZone?: string, isExternal?: boolean, isOnline?: boolean, appointmentIdExcluded?: string, excludeUnavailableTimeSlots?: boolean, options?: any): AxiosPromise<GetAppointmentTimetablesResponseModel> {
|
|
13544
|
+
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesApplicationGet(hospitalId, specialtyId, serviceId, year, month, timeZone, isExternal, isOnline, appointmentIdExcluded, excludeUnavailableTimeSlots, options).then((request) => request(axios, basePath));
|
|
13524
13545
|
},
|
|
13525
13546
|
/**
|
|
13526
13547
|
*
|
|
@@ -14270,6 +14291,13 @@ export interface HospitalsApiApiV1HospitalsHospitalIdAppointmenttimetablesApplic
|
|
|
14270
14291
|
* @memberof HospitalsApiApiV1HospitalsHospitalIdAppointmenttimetablesApplicationGet
|
|
14271
14292
|
*/
|
|
14272
14293
|
readonly appointmentIdExcluded?: string
|
|
14294
|
+
|
|
14295
|
+
/**
|
|
14296
|
+
*
|
|
14297
|
+
* @type {boolean}
|
|
14298
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdAppointmenttimetablesApplicationGet
|
|
14299
|
+
*/
|
|
14300
|
+
readonly excludeUnavailableTimeSlots?: boolean
|
|
14273
14301
|
}
|
|
14274
14302
|
|
|
14275
14303
|
/**
|
|
@@ -17882,6 +17910,13 @@ export interface HospitalsApiApiV1HospitalsHospitalIdSpecialtiesHospitalSpecialt
|
|
|
17882
17910
|
* @memberof HospitalsApiApiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesApplicationGet
|
|
17883
17911
|
*/
|
|
17884
17912
|
readonly appointmentIdExcluded?: string
|
|
17913
|
+
|
|
17914
|
+
/**
|
|
17915
|
+
*
|
|
17916
|
+
* @type {boolean}
|
|
17917
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesApplicationGet
|
|
17918
|
+
*/
|
|
17919
|
+
readonly excludeUnavailableTimeSlots?: boolean
|
|
17885
17920
|
}
|
|
17886
17921
|
|
|
17887
17922
|
/**
|
|
@@ -18813,6 +18848,13 @@ export interface HospitalsApiApiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServi
|
|
|
18813
18848
|
* @memberof HospitalsApiApiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesApplicationGet
|
|
18814
18849
|
*/
|
|
18815
18850
|
readonly appointmentIdExcluded?: string
|
|
18851
|
+
|
|
18852
|
+
/**
|
|
18853
|
+
*
|
|
18854
|
+
* @type {boolean}
|
|
18855
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesApplicationGet
|
|
18856
|
+
*/
|
|
18857
|
+
readonly excludeUnavailableTimeSlots?: boolean
|
|
18816
18858
|
}
|
|
18817
18859
|
|
|
18818
18860
|
/**
|
|
@@ -19900,7 +19942,7 @@ export class HospitalsApi extends BaseAPI {
|
|
|
19900
19942
|
* @memberof HospitalsApi
|
|
19901
19943
|
*/
|
|
19902
19944
|
public apiV1HospitalsHospitalIdAppointmenttimetablesApplicationGet(requestParameters: HospitalsApiApiV1HospitalsHospitalIdAppointmenttimetablesApplicationGetRequest, options?: AxiosRequestConfig) {
|
|
19903
|
-
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdAppointmenttimetablesApplicationGet(requestParameters.hospitalId, requestParameters.year, requestParameters.month, requestParameters.timeZone, requestParameters.isExternal, requestParameters.isOnline, requestParameters.appointmentIdExcluded, options).then((request) => request(this.axios, this.basePath));
|
|
19945
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdAppointmenttimetablesApplicationGet(requestParameters.hospitalId, requestParameters.year, requestParameters.month, requestParameters.timeZone, requestParameters.isExternal, requestParameters.isOnline, requestParameters.appointmentIdExcluded, requestParameters.excludeUnavailableTimeSlots, options).then((request) => request(this.axios, this.basePath));
|
|
19904
19946
|
}
|
|
19905
19947
|
|
|
19906
19948
|
/**
|
|
@@ -21280,7 +21322,7 @@ export class HospitalsApi extends BaseAPI {
|
|
|
21280
21322
|
* @memberof HospitalsApi
|
|
21281
21323
|
*/
|
|
21282
21324
|
public apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesApplicationGet(requestParameters: HospitalsApiApiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesApplicationGetRequest, options?: AxiosRequestConfig) {
|
|
21283
|
-
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesApplicationGet(requestParameters.hospitalId, requestParameters.hospitalSpecialtyId, requestParameters.year, requestParameters.month, requestParameters.timeZone, requestParameters.isExternal, requestParameters.isOnline, requestParameters.appointmentIdExcluded, options).then((request) => request(this.axios, this.basePath));
|
|
21325
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesApplicationGet(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));
|
|
21284
21326
|
}
|
|
21285
21327
|
|
|
21286
21328
|
/**
|
|
@@ -21544,7 +21586,7 @@ export class HospitalsApi extends BaseAPI {
|
|
|
21544
21586
|
* @memberof HospitalsApi
|
|
21545
21587
|
*/
|
|
21546
21588
|
public apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesApplicationGet(requestParameters: HospitalsApiApiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesApplicationGetRequest, options?: AxiosRequestConfig) {
|
|
21547
|
-
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesApplicationGet(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));
|
|
21589
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesApplicationGet(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));
|
|
21548
21590
|
}
|
|
21549
21591
|
|
|
21550
21592
|
/**
|
|
@@ -18,6 +18,9 @@
|
|
|
18
18
|
import { AppointmentOptionModel } from './appointment-option-model';
|
|
19
19
|
// May contain unused imports in some cases
|
|
20
20
|
// @ts-ignore
|
|
21
|
+
import { DoctorPrefix } from './doctor-prefix';
|
|
22
|
+
// May contain unused imports in some cases
|
|
23
|
+
// @ts-ignore
|
|
21
24
|
import { FeatureInputModel } from './feature-input-model';
|
|
22
25
|
// May contain unused imports in some cases
|
|
23
26
|
// @ts-ignore
|
|
@@ -143,6 +146,12 @@ export interface CreateDoctorAffiliationCommand {
|
|
|
143
146
|
* @memberof CreateDoctorAffiliationCommand
|
|
144
147
|
*/
|
|
145
148
|
'jobPosition'?: string | null;
|
|
149
|
+
/**
|
|
150
|
+
*
|
|
151
|
+
* @type {DoctorPrefix}
|
|
152
|
+
* @memberof CreateDoctorAffiliationCommand
|
|
153
|
+
*/
|
|
154
|
+
'prefix'?: DoctorPrefix;
|
|
146
155
|
/**
|
|
147
156
|
*
|
|
148
157
|
* @type {Array<MediaModel>}
|
|
@@ -21,6 +21,9 @@ import { AppointmentOptionModel } from './appointment-option-model';
|
|
|
21
21
|
import { AuditableEntityModel } from './auditable-entity-model';
|
|
22
22
|
// May contain unused imports in some cases
|
|
23
23
|
// @ts-ignore
|
|
24
|
+
import { DoctorPrefix } from './doctor-prefix';
|
|
25
|
+
// May contain unused imports in some cases
|
|
26
|
+
// @ts-ignore
|
|
24
27
|
import { MarketingType } from './marketing-type';
|
|
25
28
|
|
|
26
29
|
/**
|
|
@@ -41,6 +44,12 @@ export interface DoctorAffiliationItemModel {
|
|
|
41
44
|
* @memberof DoctorAffiliationItemModel
|
|
42
45
|
*/
|
|
43
46
|
'languageCode'?: string | null;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {DoctorPrefix}
|
|
50
|
+
* @memberof DoctorAffiliationItemModel
|
|
51
|
+
*/
|
|
52
|
+
'prefix'?: DoctorPrefix;
|
|
44
53
|
/**
|
|
45
54
|
*
|
|
46
55
|
* @type {string}
|
|
@@ -21,6 +21,9 @@ import { AppointmentOptionModel } from './appointment-option-model';
|
|
|
21
21
|
import { AuditableEntityModel } from './auditable-entity-model';
|
|
22
22
|
// May contain unused imports in some cases
|
|
23
23
|
// @ts-ignore
|
|
24
|
+
import { DoctorPrefix } from './doctor-prefix';
|
|
25
|
+
// May contain unused imports in some cases
|
|
26
|
+
// @ts-ignore
|
|
24
27
|
import { FeatureModel } from './feature-model';
|
|
25
28
|
// May contain unused imports in some cases
|
|
26
29
|
// @ts-ignore
|
|
@@ -47,6 +50,12 @@ export interface DoctorAffiliationModel {
|
|
|
47
50
|
* @memberof DoctorAffiliationModel
|
|
48
51
|
*/
|
|
49
52
|
'languageCode'?: string | null;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {DoctorPrefix}
|
|
56
|
+
* @memberof DoctorAffiliationModel
|
|
57
|
+
*/
|
|
58
|
+
'prefix'?: DoctorPrefix;
|
|
50
59
|
/**
|
|
51
60
|
*
|
|
52
61
|
* @type {string}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* CloudHospital Admin Api
|
|
5
|
+
* CloudHospital application with Swagger, Swashbuckle, and API versioning.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1
|
|
8
|
+
* Contact: developer@icloudhospital.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @enum {string}
|
|
21
|
+
*/
|
|
22
|
+
|
|
23
|
+
export const DoctorPrefix = {
|
|
24
|
+
None: 'None',
|
|
25
|
+
Dr: 'Dr'
|
|
26
|
+
} as const;
|
|
27
|
+
|
|
28
|
+
export type DoctorPrefix = typeof DoctorPrefix[keyof typeof DoctorPrefix];
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
package/src/models/index.ts
CHANGED
|
@@ -195,6 +195,7 @@ export * from './doctor-model';
|
|
|
195
195
|
export * from './doctor-portfolio-item-model';
|
|
196
196
|
export * from './doctor-portfolio-model';
|
|
197
197
|
export * from './doctor-portfolios-model';
|
|
198
|
+
export * from './doctor-prefix';
|
|
198
199
|
export * from './doctor-simple-item-model';
|
|
199
200
|
export * from './doctor-specialties-model';
|
|
200
201
|
export * from './doctor-specialty-model';
|
|
@@ -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];
|
|
@@ -18,6 +18,9 @@
|
|
|
18
18
|
import { AppointmentOptionInputModel } from './appointment-option-input-model';
|
|
19
19
|
// May contain unused imports in some cases
|
|
20
20
|
// @ts-ignore
|
|
21
|
+
import { DoctorPrefix } from './doctor-prefix';
|
|
22
|
+
// May contain unused imports in some cases
|
|
23
|
+
// @ts-ignore
|
|
21
24
|
import { FeatureInputModel } from './feature-input-model';
|
|
22
25
|
// May contain unused imports in some cases
|
|
23
26
|
// @ts-ignore
|
|
@@ -131,6 +134,12 @@ export interface UpdateDoctorAffiliationCommand {
|
|
|
131
134
|
* @memberof UpdateDoctorAffiliationCommand
|
|
132
135
|
*/
|
|
133
136
|
'jobPosition'?: string | null;
|
|
137
|
+
/**
|
|
138
|
+
*
|
|
139
|
+
* @type {DoctorPrefix}
|
|
140
|
+
* @memberof UpdateDoctorAffiliationCommand
|
|
141
|
+
*/
|
|
142
|
+
'prefix'?: DoctorPrefix;
|
|
134
143
|
/**
|
|
135
144
|
*
|
|
136
145
|
* @type {Array<MediaModel>}
|