ch-admin-api-client-typescript 5.23.2 → 5.23.8
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/appointments-api.d.ts +47 -0
- package/lib/api/appointments-api.d.ts.map +1 -1
- package/lib/api/appointments-api.js +85 -0
- package/lib/api/deals-api.d.ts +110 -0
- package/lib/api/deals-api.d.ts.map +1 -1
- package/lib/api/deals-api.js +127 -0
- package/lib/api/doctor-affiliations-api.d.ts +101 -0
- package/lib/api/doctor-affiliations-api.d.ts.map +1 -1
- package/lib/api/doctor-affiliations-api.js +121 -0
- package/lib/api/hospitals-api.d.ts +328 -0
- package/lib/api/hospitals-api.d.ts.map +1 -1
- package/lib/api/hospitals-api.js +381 -0
- package/lib/api/prescriptions-api.d.ts +447 -0
- package/lib/api/prescriptions-api.d.ts.map +1 -0
- package/lib/api/prescriptions-api.js +727 -0
- package/lib/api.d.ts +1 -0
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +1 -0
- package/lib/models/appointment-timetable-date-model.d.ts +58 -0
- package/lib/models/appointment-timetable-date-model.d.ts.map +1 -0
- package/lib/models/appointment-timetable-date-model.js +15 -0
- package/lib/models/appointment-timetable-status.d.ts +22 -0
- package/lib/models/appointment-timetable-status.d.ts.map +1 -0
- package/lib/models/appointment-timetable-status.js +25 -0
- package/lib/models/appointment-timetable-time-slot-model.d.ts +74 -0
- package/lib/models/appointment-timetable-time-slot-model.d.ts.map +1 -0
- package/lib/models/appointment-timetable-time-slot-model.js +15 -0
- package/lib/models/create-doctor-affiliation-command.d.ts +6 -0
- package/lib/models/create-doctor-affiliation-command.d.ts.map +1 -1
- package/lib/models/create-hospital-command.d.ts +24 -0
- package/lib/models/create-hospital-command.d.ts.map +1 -1
- package/lib/models/create-prescription-command.d.ts +184 -0
- package/lib/models/create-prescription-command.d.ts.map +1 -0
- package/lib/models/create-prescription-command.js +15 -0
- package/lib/models/create-walk-in-appointment-command.d.ts +154 -0
- package/lib/models/create-walk-in-appointment-command.d.ts.map +1 -0
- package/lib/models/create-walk-in-appointment-command.js +15 -0
- package/lib/models/doctor-affiliation-item-model.d.ts +3 -3
- package/lib/models/doctor-affiliation-item-model.d.ts.map +1 -1
- package/lib/models/doctor-affiliation-model.d.ts +9 -3
- package/lib/models/doctor-affiliation-model.d.ts.map +1 -1
- package/lib/models/get-appointment-timetables-response-model.d.ts +44 -0
- package/lib/models/get-appointment-timetables-response-model.d.ts.map +1 -0
- package/lib/models/get-appointment-timetables-response-model.js +15 -0
- package/lib/models/hospital-model.d.ts +24 -0
- package/lib/models/hospital-model.d.ts.map +1 -1
- package/lib/models/index.d.ts +16 -0
- package/lib/models/index.d.ts.map +1 -1
- package/lib/models/index.js +16 -0
- package/lib/models/prescription-diagnosis-input-model.d.ts +37 -0
- package/lib/models/prescription-diagnosis-input-model.d.ts.map +1 -0
- package/lib/models/prescription-diagnosis-input-model.js +15 -0
- package/lib/models/prescription-diagnosis-item-model.d.ts +37 -0
- package/lib/models/prescription-diagnosis-item-model.d.ts.map +1 -0
- package/lib/models/prescription-diagnosis-item-model.js +15 -0
- package/lib/models/prescription-item-model.d.ts +164 -0
- package/lib/models/prescription-item-model.d.ts.map +1 -0
- package/lib/models/prescription-item-model.js +15 -0
- package/lib/models/prescription-medication-input-model.d.ts +79 -0
- package/lib/models/prescription-medication-input-model.d.ts.map +1 -0
- package/lib/models/prescription-medication-input-model.js +15 -0
- package/lib/models/prescription-medication-item-model.d.ts +79 -0
- package/lib/models/prescription-medication-item-model.d.ts.map +1 -0
- package/lib/models/prescription-medication-item-model.js +15 -0
- package/lib/models/prescription-model.d.ts +185 -0
- package/lib/models/prescription-model.d.ts.map +1 -0
- package/lib/models/prescription-model.js +15 -0
- package/lib/models/prescription-symptom-input-model.d.ts +49 -0
- package/lib/models/prescription-symptom-input-model.d.ts.map +1 -0
- package/lib/models/prescription-symptom-input-model.js +15 -0
- package/lib/models/prescription-symptom-item-model.d.ts +49 -0
- package/lib/models/prescription-symptom-item-model.d.ts.map +1 -0
- package/lib/models/prescription-symptom-item-model.js +15 -0
- package/lib/models/prescriptions-model.d.ts +33 -0
- package/lib/models/prescriptions-model.d.ts.map +1 -0
- package/lib/models/prescriptions-model.js +15 -0
- package/lib/models/update-doctor-affiliation-command.d.ts +6 -0
- package/lib/models/update-doctor-affiliation-command.d.ts.map +1 -1
- package/lib/models/update-hospital-command.d.ts +24 -0
- package/lib/models/update-hospital-command.d.ts.map +1 -1
- package/lib/models/update-prescription-command.d.ts +154 -0
- package/lib/models/update-prescription-command.d.ts.map +1 -0
- package/lib/models/update-prescription-command.js +15 -0
- package/package.json +1 -1
- package/src/.openapi-generator/FILES +17 -0
- package/src/api/appointments-api.ts +87 -0
- package/src/api/deals-api.ts +184 -0
- package/src/api/doctor-affiliations-api.ts +171 -0
- package/src/api/hospitals-api.ts +548 -0
- package/src/api/prescriptions-api.ts +776 -0
- package/src/api.ts +1 -0
- package/src/models/appointment-timetable-date-model.ts +69 -0
- package/src/models/appointment-timetable-status.ts +31 -0
- package/src/models/appointment-timetable-time-slot-model.ts +81 -0
- package/src/models/create-doctor-affiliation-command.ts +6 -0
- package/src/models/create-hospital-command.ts +24 -0
- package/src/models/create-prescription-command.ts +195 -0
- package/src/models/create-walk-in-appointment-command.ts +165 -0
- package/src/models/doctor-affiliation-item-model.ts +3 -3
- package/src/models/doctor-affiliation-model.ts +9 -3
- package/src/models/get-appointment-timetables-response-model.ts +51 -0
- package/src/models/hospital-model.ts +24 -0
- package/src/models/index.ts +16 -0
- package/src/models/prescription-diagnosis-input-model.ts +42 -0
- package/src/models/prescription-diagnosis-item-model.ts +42 -0
- package/src/models/prescription-item-model.ts +171 -0
- package/src/models/prescription-medication-input-model.ts +84 -0
- package/src/models/prescription-medication-item-model.ts +84 -0
- package/src/models/prescription-model.ts +198 -0
- package/src/models/prescription-symptom-input-model.ts +54 -0
- package/src/models/prescription-symptom-item-model.ts +54 -0
- package/src/models/prescriptions-model.ts +42 -0
- package/src/models/update-doctor-affiliation-command.ts +6 -0
- package/src/models/update-hospital-command.ts +24 -0
- package/src/models/update-prescription-command.ts +165 -0
package/src/api/deals-api.ts
CHANGED
|
@@ -53,6 +53,8 @@ import { DealsSimpleModel } from '../models';
|
|
|
53
53
|
// @ts-ignore
|
|
54
54
|
import { DeleteDealPackageAppointmentTimetableOverridesCommand } from '../models';
|
|
55
55
|
// @ts-ignore
|
|
56
|
+
import { GetAppointmentTimetablesResponseModel } from '../models';
|
|
57
|
+
// @ts-ignore
|
|
56
58
|
import { MarketingType } from '../models';
|
|
57
59
|
// @ts-ignore
|
|
58
60
|
import { ProblemDetails } from '../models';
|
|
@@ -430,6 +432,78 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
430
432
|
options: localVarRequestOptions,
|
|
431
433
|
};
|
|
432
434
|
},
|
|
435
|
+
/**
|
|
436
|
+
*
|
|
437
|
+
* @summary Get DealPackage appointment timetables for application
|
|
438
|
+
* @param {string} dealId
|
|
439
|
+
* @param {string} packageId
|
|
440
|
+
* @param {number} [year]
|
|
441
|
+
* @param {number} [month]
|
|
442
|
+
* @param {string} [timeZone]
|
|
443
|
+
* @param {boolean} [isExternal]
|
|
444
|
+
* @param {boolean} [isOnline]
|
|
445
|
+
* @param {string} [appointmentIdExcluded]
|
|
446
|
+
* @param {*} [options] Override http request option.
|
|
447
|
+
* @throws {RequiredError}
|
|
448
|
+
*/
|
|
449
|
+
apiV1DealsDealIdPackagesPackageIdAppointmenttimetablesApplicationGet: async (dealId: string, packageId: string, year?: number, month?: number, timeZone?: string, isExternal?: boolean, isOnline?: boolean, appointmentIdExcluded?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
450
|
+
// verify required parameter 'dealId' is not null or undefined
|
|
451
|
+
assertParamExists('apiV1DealsDealIdPackagesPackageIdAppointmenttimetablesApplicationGet', 'dealId', dealId)
|
|
452
|
+
// verify required parameter 'packageId' is not null or undefined
|
|
453
|
+
assertParamExists('apiV1DealsDealIdPackagesPackageIdAppointmenttimetablesApplicationGet', 'packageId', packageId)
|
|
454
|
+
const localVarPath = `/api/v1/deals/{dealId}/packages/{packageId}/appointmenttimetables/application`
|
|
455
|
+
.replace(`{${"dealId"}}`, encodeURIComponent(String(dealId)))
|
|
456
|
+
.replace(`{${"packageId"}}`, encodeURIComponent(String(packageId)));
|
|
457
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
458
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
459
|
+
let baseOptions;
|
|
460
|
+
if (configuration) {
|
|
461
|
+
baseOptions = configuration.baseOptions;
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
465
|
+
const localVarHeaderParameter = {} as any;
|
|
466
|
+
const localVarQueryParameter = {} as any;
|
|
467
|
+
|
|
468
|
+
// authentication oauth2 required
|
|
469
|
+
// oauth required
|
|
470
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
471
|
+
|
|
472
|
+
if (year !== undefined) {
|
|
473
|
+
localVarQueryParameter['Year'] = year;
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
if (month !== undefined) {
|
|
477
|
+
localVarQueryParameter['Month'] = month;
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
if (timeZone !== undefined) {
|
|
481
|
+
localVarQueryParameter['TimeZone'] = timeZone;
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
if (isExternal !== undefined) {
|
|
485
|
+
localVarQueryParameter['IsExternal'] = isExternal;
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
if (isOnline !== undefined) {
|
|
489
|
+
localVarQueryParameter['IsOnline'] = isOnline;
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
if (appointmentIdExcluded !== undefined) {
|
|
493
|
+
localVarQueryParameter['AppointmentIdExcluded'] = appointmentIdExcluded;
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
|
|
497
|
+
|
|
498
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
499
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
500
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
501
|
+
|
|
502
|
+
return {
|
|
503
|
+
url: toPathString(localVarUrlObj),
|
|
504
|
+
options: localVarRequestOptions,
|
|
505
|
+
};
|
|
506
|
+
},
|
|
433
507
|
/**
|
|
434
508
|
*
|
|
435
509
|
* @summary Add, update and delete DealPackage appointment timetable
|
|
@@ -1565,6 +1639,24 @@ export const DealsApiFp = function(configuration?: Configuration) {
|
|
|
1565
1639
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DealsDealIdPackagesPackageIdAppointmenttimetableoverridesPost(dealId, packageId, saveDealPackageAppointmentTimetableOverridesCommand, options);
|
|
1566
1640
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1567
1641
|
},
|
|
1642
|
+
/**
|
|
1643
|
+
*
|
|
1644
|
+
* @summary Get DealPackage appointment timetables for application
|
|
1645
|
+
* @param {string} dealId
|
|
1646
|
+
* @param {string} packageId
|
|
1647
|
+
* @param {number} [year]
|
|
1648
|
+
* @param {number} [month]
|
|
1649
|
+
* @param {string} [timeZone]
|
|
1650
|
+
* @param {boolean} [isExternal]
|
|
1651
|
+
* @param {boolean} [isOnline]
|
|
1652
|
+
* @param {string} [appointmentIdExcluded]
|
|
1653
|
+
* @param {*} [options] Override http request option.
|
|
1654
|
+
* @throws {RequiredError}
|
|
1655
|
+
*/
|
|
1656
|
+
async apiV1DealsDealIdPackagesPackageIdAppointmenttimetablesApplicationGet(dealId: string, packageId: string, year?: number, month?: number, timeZone?: string, isExternal?: boolean, isOnline?: boolean, appointmentIdExcluded?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAppointmentTimetablesResponseModel>> {
|
|
1657
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DealsDealIdPackagesPackageIdAppointmenttimetablesApplicationGet(dealId, packageId, year, month, timeZone, isExternal, isOnline, appointmentIdExcluded, options);
|
|
1658
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1659
|
+
},
|
|
1568
1660
|
/**
|
|
1569
1661
|
*
|
|
1570
1662
|
* @summary Add, update and delete DealPackage appointment timetable
|
|
@@ -1929,6 +2021,23 @@ export const DealsApiFactory = function (configuration?: Configuration, basePath
|
|
|
1929
2021
|
apiV1DealsDealIdPackagesPackageIdAppointmenttimetableoverridesPost(dealId: string, packageId: string, saveDealPackageAppointmentTimetableOverridesCommand?: SaveDealPackageAppointmentTimetableOverridesCommand, options?: any): AxiosPromise<SaveAppointmentTimetableOverridesResultModel> {
|
|
1930
2022
|
return localVarFp.apiV1DealsDealIdPackagesPackageIdAppointmenttimetableoverridesPost(dealId, packageId, saveDealPackageAppointmentTimetableOverridesCommand, options).then((request) => request(axios, basePath));
|
|
1931
2023
|
},
|
|
2024
|
+
/**
|
|
2025
|
+
*
|
|
2026
|
+
* @summary Get DealPackage appointment timetables for application
|
|
2027
|
+
* @param {string} dealId
|
|
2028
|
+
* @param {string} packageId
|
|
2029
|
+
* @param {number} [year]
|
|
2030
|
+
* @param {number} [month]
|
|
2031
|
+
* @param {string} [timeZone]
|
|
2032
|
+
* @param {boolean} [isExternal]
|
|
2033
|
+
* @param {boolean} [isOnline]
|
|
2034
|
+
* @param {string} [appointmentIdExcluded]
|
|
2035
|
+
* @param {*} [options] Override http request option.
|
|
2036
|
+
* @throws {RequiredError}
|
|
2037
|
+
*/
|
|
2038
|
+
apiV1DealsDealIdPackagesPackageIdAppointmenttimetablesApplicationGet(dealId: string, packageId: string, year?: number, month?: number, timeZone?: string, isExternal?: boolean, isOnline?: boolean, appointmentIdExcluded?: string, options?: any): AxiosPromise<GetAppointmentTimetablesResponseModel> {
|
|
2039
|
+
return localVarFp.apiV1DealsDealIdPackagesPackageIdAppointmenttimetablesApplicationGet(dealId, packageId, year, month, timeZone, isExternal, isOnline, appointmentIdExcluded, options).then((request) => request(axios, basePath));
|
|
2040
|
+
},
|
|
1932
2041
|
/**
|
|
1933
2042
|
*
|
|
1934
2043
|
* @summary Add, update and delete DealPackage appointment timetable
|
|
@@ -2442,6 +2551,69 @@ export interface DealsApiApiV1DealsDealIdPackagesPackageIdAppointmenttimetableov
|
|
|
2442
2551
|
readonly saveDealPackageAppointmentTimetableOverridesCommand?: SaveDealPackageAppointmentTimetableOverridesCommand
|
|
2443
2552
|
}
|
|
2444
2553
|
|
|
2554
|
+
/**
|
|
2555
|
+
* Request parameters for apiV1DealsDealIdPackagesPackageIdAppointmenttimetablesApplicationGet operation in DealsApi.
|
|
2556
|
+
* @export
|
|
2557
|
+
* @interface DealsApiApiV1DealsDealIdPackagesPackageIdAppointmenttimetablesApplicationGetRequest
|
|
2558
|
+
*/
|
|
2559
|
+
export interface DealsApiApiV1DealsDealIdPackagesPackageIdAppointmenttimetablesApplicationGetRequest {
|
|
2560
|
+
/**
|
|
2561
|
+
*
|
|
2562
|
+
* @type {string}
|
|
2563
|
+
* @memberof DealsApiApiV1DealsDealIdPackagesPackageIdAppointmenttimetablesApplicationGet
|
|
2564
|
+
*/
|
|
2565
|
+
readonly dealId: string
|
|
2566
|
+
|
|
2567
|
+
/**
|
|
2568
|
+
*
|
|
2569
|
+
* @type {string}
|
|
2570
|
+
* @memberof DealsApiApiV1DealsDealIdPackagesPackageIdAppointmenttimetablesApplicationGet
|
|
2571
|
+
*/
|
|
2572
|
+
readonly packageId: string
|
|
2573
|
+
|
|
2574
|
+
/**
|
|
2575
|
+
*
|
|
2576
|
+
* @type {number}
|
|
2577
|
+
* @memberof DealsApiApiV1DealsDealIdPackagesPackageIdAppointmenttimetablesApplicationGet
|
|
2578
|
+
*/
|
|
2579
|
+
readonly year?: number
|
|
2580
|
+
|
|
2581
|
+
/**
|
|
2582
|
+
*
|
|
2583
|
+
* @type {number}
|
|
2584
|
+
* @memberof DealsApiApiV1DealsDealIdPackagesPackageIdAppointmenttimetablesApplicationGet
|
|
2585
|
+
*/
|
|
2586
|
+
readonly month?: number
|
|
2587
|
+
|
|
2588
|
+
/**
|
|
2589
|
+
*
|
|
2590
|
+
* @type {string}
|
|
2591
|
+
* @memberof DealsApiApiV1DealsDealIdPackagesPackageIdAppointmenttimetablesApplicationGet
|
|
2592
|
+
*/
|
|
2593
|
+
readonly timeZone?: string
|
|
2594
|
+
|
|
2595
|
+
/**
|
|
2596
|
+
*
|
|
2597
|
+
* @type {boolean}
|
|
2598
|
+
* @memberof DealsApiApiV1DealsDealIdPackagesPackageIdAppointmenttimetablesApplicationGet
|
|
2599
|
+
*/
|
|
2600
|
+
readonly isExternal?: boolean
|
|
2601
|
+
|
|
2602
|
+
/**
|
|
2603
|
+
*
|
|
2604
|
+
* @type {boolean}
|
|
2605
|
+
* @memberof DealsApiApiV1DealsDealIdPackagesPackageIdAppointmenttimetablesApplicationGet
|
|
2606
|
+
*/
|
|
2607
|
+
readonly isOnline?: boolean
|
|
2608
|
+
|
|
2609
|
+
/**
|
|
2610
|
+
*
|
|
2611
|
+
* @type {string}
|
|
2612
|
+
* @memberof DealsApiApiV1DealsDealIdPackagesPackageIdAppointmenttimetablesApplicationGet
|
|
2613
|
+
*/
|
|
2614
|
+
readonly appointmentIdExcluded?: string
|
|
2615
|
+
}
|
|
2616
|
+
|
|
2445
2617
|
/**
|
|
2446
2618
|
* Request parameters for apiV1DealsDealIdPackagesPackageIdAppointmenttimetablesBatchPost operation in DealsApi.
|
|
2447
2619
|
* @export
|
|
@@ -3270,6 +3442,18 @@ export class DealsApi extends BaseAPI {
|
|
|
3270
3442
|
return DealsApiFp(this.configuration).apiV1DealsDealIdPackagesPackageIdAppointmenttimetableoverridesPost(requestParameters.dealId, requestParameters.packageId, requestParameters.saveDealPackageAppointmentTimetableOverridesCommand, options).then((request) => request(this.axios, this.basePath));
|
|
3271
3443
|
}
|
|
3272
3444
|
|
|
3445
|
+
/**
|
|
3446
|
+
*
|
|
3447
|
+
* @summary Get DealPackage appointment timetables for application
|
|
3448
|
+
* @param {DealsApiApiV1DealsDealIdPackagesPackageIdAppointmenttimetablesApplicationGetRequest} requestParameters Request parameters.
|
|
3449
|
+
* @param {*} [options] Override http request option.
|
|
3450
|
+
* @throws {RequiredError}
|
|
3451
|
+
* @memberof DealsApi
|
|
3452
|
+
*/
|
|
3453
|
+
public apiV1DealsDealIdPackagesPackageIdAppointmenttimetablesApplicationGet(requestParameters: DealsApiApiV1DealsDealIdPackagesPackageIdAppointmenttimetablesApplicationGetRequest, options?: AxiosRequestConfig) {
|
|
3454
|
+
return DealsApiFp(this.configuration).apiV1DealsDealIdPackagesPackageIdAppointmenttimetablesApplicationGet(requestParameters.dealId, requestParameters.packageId, requestParameters.year, requestParameters.month, requestParameters.timeZone, requestParameters.isExternal, requestParameters.isOnline, requestParameters.appointmentIdExcluded, options).then((request) => request(this.axios, this.basePath));
|
|
3455
|
+
}
|
|
3456
|
+
|
|
3273
3457
|
/**
|
|
3274
3458
|
*
|
|
3275
3459
|
* @summary Add, update and delete DealPackage appointment timetable
|
|
@@ -41,6 +41,8 @@ import { DoctorAffiliationModel } from '../models';
|
|
|
41
41
|
// @ts-ignore
|
|
42
42
|
import { DoctorAffiliationsModel } from '../models';
|
|
43
43
|
// @ts-ignore
|
|
44
|
+
import { GetAppointmentTimetablesResponseModel } from '../models';
|
|
45
|
+
// @ts-ignore
|
|
44
46
|
import { MarketingType } from '../models';
|
|
45
47
|
// @ts-ignore
|
|
46
48
|
import { MediaModel } from '../models';
|
|
@@ -229,6 +231,74 @@ export const DoctorAffiliationsApiAxiosParamCreator = function (configuration?:
|
|
|
229
231
|
options: localVarRequestOptions,
|
|
230
232
|
};
|
|
231
233
|
},
|
|
234
|
+
/**
|
|
235
|
+
*
|
|
236
|
+
* @summary Get DoctorAffiliation appointment timetables for application
|
|
237
|
+
* @param {string} doctorAffiliationId
|
|
238
|
+
* @param {number} [year]
|
|
239
|
+
* @param {number} [month]
|
|
240
|
+
* @param {string} [timeZone]
|
|
241
|
+
* @param {boolean} [isExternal]
|
|
242
|
+
* @param {boolean} [isOnline]
|
|
243
|
+
* @param {string} [appointmentIdExcluded]
|
|
244
|
+
* @param {*} [options] Override http request option.
|
|
245
|
+
* @throws {RequiredError}
|
|
246
|
+
*/
|
|
247
|
+
apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesApplicationGet: async (doctorAffiliationId: string, year?: number, month?: number, timeZone?: string, isExternal?: boolean, isOnline?: boolean, appointmentIdExcluded?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
248
|
+
// verify required parameter 'doctorAffiliationId' is not null or undefined
|
|
249
|
+
assertParamExists('apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesApplicationGet', 'doctorAffiliationId', doctorAffiliationId)
|
|
250
|
+
const localVarPath = `/api/v1/doctoraffiliations/{doctorAffiliationId}/appointmenttimetables/application`
|
|
251
|
+
.replace(`{${"doctorAffiliationId"}}`, encodeURIComponent(String(doctorAffiliationId)));
|
|
252
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
253
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
254
|
+
let baseOptions;
|
|
255
|
+
if (configuration) {
|
|
256
|
+
baseOptions = configuration.baseOptions;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
260
|
+
const localVarHeaderParameter = {} as any;
|
|
261
|
+
const localVarQueryParameter = {} as any;
|
|
262
|
+
|
|
263
|
+
// authentication oauth2 required
|
|
264
|
+
// oauth required
|
|
265
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
266
|
+
|
|
267
|
+
if (year !== undefined) {
|
|
268
|
+
localVarQueryParameter['Year'] = year;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
if (month !== undefined) {
|
|
272
|
+
localVarQueryParameter['Month'] = month;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
if (timeZone !== undefined) {
|
|
276
|
+
localVarQueryParameter['TimeZone'] = timeZone;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
if (isExternal !== undefined) {
|
|
280
|
+
localVarQueryParameter['IsExternal'] = isExternal;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
if (isOnline !== undefined) {
|
|
284
|
+
localVarQueryParameter['IsOnline'] = isOnline;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
if (appointmentIdExcluded !== undefined) {
|
|
288
|
+
localVarQueryParameter['AppointmentIdExcluded'] = appointmentIdExcluded;
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
294
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
295
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
296
|
+
|
|
297
|
+
return {
|
|
298
|
+
url: toPathString(localVarUrlObj),
|
|
299
|
+
options: localVarRequestOptions,
|
|
300
|
+
};
|
|
301
|
+
},
|
|
232
302
|
/**
|
|
233
303
|
*
|
|
234
304
|
* @summary Add, update and delete DoctorAffiliationAppointmentTimetables
|
|
@@ -1009,6 +1079,23 @@ export const DoctorAffiliationsApiFp = function(configuration?: Configuration) {
|
|
|
1009
1079
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesPost(doctorAffiliationId, saveDoctorAffiliationAppointmentTimetableOverridesCommand, options);
|
|
1010
1080
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1011
1081
|
},
|
|
1082
|
+
/**
|
|
1083
|
+
*
|
|
1084
|
+
* @summary Get DoctorAffiliation appointment timetables for application
|
|
1085
|
+
* @param {string} doctorAffiliationId
|
|
1086
|
+
* @param {number} [year]
|
|
1087
|
+
* @param {number} [month]
|
|
1088
|
+
* @param {string} [timeZone]
|
|
1089
|
+
* @param {boolean} [isExternal]
|
|
1090
|
+
* @param {boolean} [isOnline]
|
|
1091
|
+
* @param {string} [appointmentIdExcluded]
|
|
1092
|
+
* @param {*} [options] Override http request option.
|
|
1093
|
+
* @throws {RequiredError}
|
|
1094
|
+
*/
|
|
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);
|
|
1097
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1098
|
+
},
|
|
1012
1099
|
/**
|
|
1013
1100
|
*
|
|
1014
1101
|
* @summary Add, update and delete DoctorAffiliationAppointmentTimetables
|
|
@@ -1254,6 +1341,22 @@ export const DoctorAffiliationsApiFactory = function (configuration?: Configurat
|
|
|
1254
1341
|
apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesPost(doctorAffiliationId: string, saveDoctorAffiliationAppointmentTimetableOverridesCommand?: SaveDoctorAffiliationAppointmentTimetableOverridesCommand, options?: any): AxiosPromise<SaveAppointmentTimetableOverridesResultModel> {
|
|
1255
1342
|
return localVarFp.apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesPost(doctorAffiliationId, saveDoctorAffiliationAppointmentTimetableOverridesCommand, options).then((request) => request(axios, basePath));
|
|
1256
1343
|
},
|
|
1344
|
+
/**
|
|
1345
|
+
*
|
|
1346
|
+
* @summary Get DoctorAffiliation appointment timetables for application
|
|
1347
|
+
* @param {string} doctorAffiliationId
|
|
1348
|
+
* @param {number} [year]
|
|
1349
|
+
* @param {number} [month]
|
|
1350
|
+
* @param {string} [timeZone]
|
|
1351
|
+
* @param {boolean} [isExternal]
|
|
1352
|
+
* @param {boolean} [isOnline]
|
|
1353
|
+
* @param {string} [appointmentIdExcluded]
|
|
1354
|
+
* @param {*} [options] Override http request option.
|
|
1355
|
+
* @throws {RequiredError}
|
|
1356
|
+
*/
|
|
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));
|
|
1359
|
+
},
|
|
1257
1360
|
/**
|
|
1258
1361
|
*
|
|
1259
1362
|
* @summary Add, update and delete DoctorAffiliationAppointmentTimetables
|
|
@@ -1543,6 +1646,62 @@ export interface DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationId
|
|
|
1543
1646
|
readonly saveDoctorAffiliationAppointmentTimetableOverridesCommand?: SaveDoctorAffiliationAppointmentTimetableOverridesCommand
|
|
1544
1647
|
}
|
|
1545
1648
|
|
|
1649
|
+
/**
|
|
1650
|
+
* Request parameters for apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesApplicationGet operation in DoctorAffiliationsApi.
|
|
1651
|
+
* @export
|
|
1652
|
+
* @interface DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesApplicationGetRequest
|
|
1653
|
+
*/
|
|
1654
|
+
export interface DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesApplicationGetRequest {
|
|
1655
|
+
/**
|
|
1656
|
+
*
|
|
1657
|
+
* @type {string}
|
|
1658
|
+
* @memberof DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesApplicationGet
|
|
1659
|
+
*/
|
|
1660
|
+
readonly doctorAffiliationId: string
|
|
1661
|
+
|
|
1662
|
+
/**
|
|
1663
|
+
*
|
|
1664
|
+
* @type {number}
|
|
1665
|
+
* @memberof DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesApplicationGet
|
|
1666
|
+
*/
|
|
1667
|
+
readonly year?: number
|
|
1668
|
+
|
|
1669
|
+
/**
|
|
1670
|
+
*
|
|
1671
|
+
* @type {number}
|
|
1672
|
+
* @memberof DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesApplicationGet
|
|
1673
|
+
*/
|
|
1674
|
+
readonly month?: number
|
|
1675
|
+
|
|
1676
|
+
/**
|
|
1677
|
+
*
|
|
1678
|
+
* @type {string}
|
|
1679
|
+
* @memberof DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesApplicationGet
|
|
1680
|
+
*/
|
|
1681
|
+
readonly timeZone?: string
|
|
1682
|
+
|
|
1683
|
+
/**
|
|
1684
|
+
*
|
|
1685
|
+
* @type {boolean}
|
|
1686
|
+
* @memberof DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesApplicationGet
|
|
1687
|
+
*/
|
|
1688
|
+
readonly isExternal?: boolean
|
|
1689
|
+
|
|
1690
|
+
/**
|
|
1691
|
+
*
|
|
1692
|
+
* @type {boolean}
|
|
1693
|
+
* @memberof DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesApplicationGet
|
|
1694
|
+
*/
|
|
1695
|
+
readonly isOnline?: boolean
|
|
1696
|
+
|
|
1697
|
+
/**
|
|
1698
|
+
*
|
|
1699
|
+
* @type {string}
|
|
1700
|
+
* @memberof DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesApplicationGet
|
|
1701
|
+
*/
|
|
1702
|
+
readonly appointmentIdExcluded?: string
|
|
1703
|
+
}
|
|
1704
|
+
|
|
1546
1705
|
/**
|
|
1547
1706
|
* Request parameters for apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesBatchPost operation in DoctorAffiliationsApi.
|
|
1548
1707
|
* @export
|
|
@@ -2020,6 +2179,18 @@ export class DoctorAffiliationsApi extends BaseAPI {
|
|
|
2020
2179
|
return DoctorAffiliationsApiFp(this.configuration).apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesPost(requestParameters.doctorAffiliationId, requestParameters.saveDoctorAffiliationAppointmentTimetableOverridesCommand, options).then((request) => request(this.axios, this.basePath));
|
|
2021
2180
|
}
|
|
2022
2181
|
|
|
2182
|
+
/**
|
|
2183
|
+
*
|
|
2184
|
+
* @summary Get DoctorAffiliation appointment timetables for application
|
|
2185
|
+
* @param {DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesApplicationGetRequest} requestParameters Request parameters.
|
|
2186
|
+
* @param {*} [options] Override http request option.
|
|
2187
|
+
* @throws {RequiredError}
|
|
2188
|
+
* @memberof DoctorAffiliationsApi
|
|
2189
|
+
*/
|
|
2190
|
+
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));
|
|
2192
|
+
}
|
|
2193
|
+
|
|
2023
2194
|
/**
|
|
2024
2195
|
*
|
|
2025
2196
|
* @summary Add, update and delete DoctorAffiliationAppointmentTimetables
|