ch-admin-api-client-typescript 5.21.22 → 5.23.2
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 +30 -3
- package/lib/api/appointments-api.d.ts.map +1 -1
- package/lib/api/appointments-api.js +28 -6
- package/lib/api/patient-affiliations-api.d.ts +216 -0
- package/lib/api/patient-affiliations-api.d.ts.map +1 -0
- package/lib/api/patient-affiliations-api.js +358 -0
- package/lib/api/patients-api.d.ts +191 -3
- package/lib/api/patients-api.d.ts.map +1 -1
- package/lib/api/patients-api.js +289 -6
- package/lib/api.d.ts +1 -0
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +1 -0
- package/lib/models/chadmin-item-model.d.ts +3 -3
- package/lib/models/chadmin-item-model.d.ts.map +1 -1
- package/lib/models/chadmin-model.d.ts +3 -3
- package/lib/models/chadmin-model.d.ts.map +1 -1
- package/lib/models/chmanager-item-model.d.ts +3 -3
- package/lib/models/chmanager-item-model.d.ts.map +1 -1
- package/lib/models/chmanager-model.d.ts +3 -3
- package/lib/models/chmanager-model.d.ts.map +1 -1
- package/lib/models/create-article-command.d.ts +6 -0
- package/lib/models/create-article-command.d.ts.map +1 -1
- package/lib/models/create-patient-affiliation-command.d.ts +109 -0
- package/lib/models/create-patient-affiliation-command.d.ts.map +1 -0
- package/lib/models/create-patient-affiliation-command.js +15 -0
- package/lib/models/create-patient-command.d.ts +90 -0
- package/lib/models/create-patient-command.d.ts.map +1 -1
- package/lib/models/doctor-item-model.d.ts +3 -3
- package/lib/models/doctor-item-model.d.ts.map +1 -1
- package/lib/models/doctor-model.d.ts +3 -3
- package/lib/models/doctor-model.d.ts.map +1 -1
- package/lib/models/get-patient-walk-in-query.d.ts +37 -0
- package/lib/models/get-patient-walk-in-query.d.ts.map +1 -0
- package/lib/models/get-patient-walk-in-query.js +15 -0
- package/lib/models/index.d.ts +7 -0
- package/lib/models/index.d.ts.map +1 -1
- package/lib/models/index.js +7 -0
- package/lib/models/manager-item-model.d.ts +3 -3
- package/lib/models/manager-item-model.d.ts.map +1 -1
- package/lib/models/manager-model.d.ts +3 -3
- package/lib/models/manager-model.d.ts.map +1 -1
- package/lib/models/patient-affiliation-item-model.d.ts +153 -0
- package/lib/models/patient-affiliation-item-model.d.ts.map +1 -0
- package/lib/models/patient-affiliation-item-model.js +15 -0
- package/lib/models/patient-affiliation-model.d.ts +153 -0
- package/lib/models/patient-affiliation-model.d.ts.map +1 -0
- package/lib/models/patient-affiliation-model.js +15 -0
- package/lib/models/patient-affiliations-model.d.ts +33 -0
- package/lib/models/patient-affiliations-model.d.ts.map +1 -0
- package/lib/models/patient-affiliations-model.js +15 -0
- package/lib/models/patient-item-model.d.ts +3 -3
- package/lib/models/patient-item-model.d.ts.map +1 -1
- package/lib/models/patient-model.d.ts +3 -3
- package/lib/models/patient-model.d.ts.map +1 -1
- package/lib/models/patient-walk-in-model.d.ts +32 -0
- package/lib/models/patient-walk-in-model.d.ts.map +1 -0
- package/lib/models/patient-walk-in-model.js +15 -0
- package/lib/models/update-article-command.d.ts +6 -0
- package/lib/models/update-article-command.d.ts.map +1 -1
- package/lib/models/update-patient-affiliation-command.d.ts +115 -0
- package/lib/models/update-patient-affiliation-command.d.ts.map +1 -0
- package/lib/models/update-patient-affiliation-command.js +15 -0
- package/lib/models/user-model.d.ts +3 -3
- package/lib/models/user-model.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/.openapi-generator/FILES +8 -0
- package/src/api/appointments-api.ts +52 -6
- package/src/api/patient-affiliations-api.ts +361 -0
- package/src/api/patients-api.ts +337 -6
- package/src/api.ts +1 -0
- package/src/models/chadmin-item-model.ts +3 -3
- package/src/models/chadmin-model.ts +3 -3
- package/src/models/chmanager-item-model.ts +3 -3
- package/src/models/chmanager-model.ts +3 -3
- package/src/models/create-article-command.ts +6 -0
- package/src/models/create-patient-affiliation-command.ts +114 -0
- package/src/models/create-patient-command.ts +90 -0
- package/src/models/doctor-item-model.ts +3 -3
- package/src/models/doctor-model.ts +3 -3
- package/src/models/get-patient-walk-in-query.ts +42 -0
- package/src/models/index.ts +7 -0
- package/src/models/manager-item-model.ts +3 -3
- package/src/models/manager-model.ts +3 -3
- package/src/models/patient-affiliation-item-model.ts +162 -0
- package/src/models/patient-affiliation-model.ts +162 -0
- package/src/models/patient-affiliations-model.ts +42 -0
- package/src/models/patient-item-model.ts +3 -3
- package/src/models/patient-model.ts +3 -3
- package/src/models/patient-walk-in-model.ts +39 -0
- package/src/models/update-article-command.ts +6 -0
- package/src/models/update-patient-affiliation-command.ts +120 -0
- package/src/models/user-model.ts +3 -3
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
12
|
+
import { AuditableEntityModel } from './auditable-entity-model';
|
|
13
13
|
import { Gender } from './gender';
|
|
14
14
|
import { UserLanguageModel } from './user-language-model';
|
|
15
15
|
import { UserLocationModel } from './user-location-model';
|
|
@@ -99,10 +99,10 @@ export interface UserModel {
|
|
|
99
99
|
'communicationUserId'?: string | null;
|
|
100
100
|
/**
|
|
101
101
|
*
|
|
102
|
-
* @type {
|
|
102
|
+
* @type {AuditableEntityModel}
|
|
103
103
|
* @memberof UserModel
|
|
104
104
|
*/
|
|
105
|
-
'auditableEntity'?:
|
|
105
|
+
'auditableEntity'?: AuditableEntityModel;
|
|
106
106
|
/**
|
|
107
107
|
*
|
|
108
108
|
* @type {string}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user-model.d.ts","sourceRoot":"","sources":["../../src/models/user-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"user-model.d.ts","sourceRoot":"","sources":["../../src/models/user-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAGhE,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAGlC,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAG1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE1D;;;;GAIG;AACH,MAAM,WAAW,SAAS;IACtB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,aAAa,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAC5B;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtC;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,oBAAoB,CAAC;IACzC;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B;;;;OAIG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC;IAC9C;;;;OAIG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC;CACjD"}
|
package/package.json
CHANGED
|
@@ -34,6 +34,7 @@ api/languages-api.ts
|
|
|
34
34
|
api/managers-api.ts
|
|
35
35
|
api/memberships-api.ts
|
|
36
36
|
api/notifications-api.ts
|
|
37
|
+
api/patient-affiliations-api.ts
|
|
37
38
|
api/patients-api.ts
|
|
38
39
|
api/payments-api.ts
|
|
39
40
|
api/plans-api.ts
|
|
@@ -206,6 +207,7 @@ models/create-manager-command.ts
|
|
|
206
207
|
models/create-media-command.ts
|
|
207
208
|
models/create-notice-command.ts
|
|
208
209
|
models/create-page-command.ts
|
|
210
|
+
models/create-patient-affiliation-command.ts
|
|
209
211
|
models/create-patient-command.ts
|
|
210
212
|
models/create-plan-command.ts
|
|
211
213
|
models/create-plan-hospital-command.ts
|
|
@@ -283,6 +285,7 @@ models/feature-model.ts
|
|
|
283
285
|
models/footer-navigation-item-model.ts
|
|
284
286
|
models/gender.ts
|
|
285
287
|
models/general-statistics-model.ts
|
|
288
|
+
models/get-patient-walk-in-query.ts
|
|
286
289
|
models/get-transfer-balance-embeded.ts
|
|
287
290
|
models/get-transfer-balance-result.ts
|
|
288
291
|
models/grade-item-model.ts
|
|
@@ -407,8 +410,12 @@ models/page-section-input-model.ts
|
|
|
407
410
|
models/page-section-list-type.ts
|
|
408
411
|
models/page-section-model.ts
|
|
409
412
|
models/paged-list-meta-data.ts
|
|
413
|
+
models/patient-affiliation-item-model.ts
|
|
414
|
+
models/patient-affiliation-model.ts
|
|
415
|
+
models/patient-affiliations-model.ts
|
|
410
416
|
models/patient-item-model.ts
|
|
411
417
|
models/patient-model.ts
|
|
418
|
+
models/patient-walk-in-model.ts
|
|
412
419
|
models/patients-model.ts
|
|
413
420
|
models/payment-method.ts
|
|
414
421
|
models/payment-model.ts
|
|
@@ -594,6 +601,7 @@ models/update-media-command.ts
|
|
|
594
601
|
models/update-notice-command.ts
|
|
595
602
|
models/update-number-command.ts
|
|
596
603
|
models/update-page-command.ts
|
|
604
|
+
models/update-patient-affiliation-command.ts
|
|
597
605
|
models/update-patient-command.ts
|
|
598
606
|
models/update-plan-command.ts
|
|
599
607
|
models/update-plan-hospital-command.ts
|
|
@@ -386,9 +386,12 @@ export const AppointmentsApiAxiosParamCreator = function (configuration?: Config
|
|
|
386
386
|
* @param {string} [serviceId]
|
|
387
387
|
* @param {boolean} [isOpen]
|
|
388
388
|
* @param {boolean} [isCompleted]
|
|
389
|
+
* @param {Date} [start]
|
|
390
|
+
* @param {Date} [end]
|
|
389
391
|
* @param {boolean} [requiresPaymentVerified]
|
|
390
392
|
* @param {boolean} [refundInformationIsReady]
|
|
391
393
|
* @param {AppointmentStatus} [status]
|
|
394
|
+
* @param {Array<AppointmentStatus>} [appointmentStatus]
|
|
392
395
|
* @param {AppointmentType} [appointmentType]
|
|
393
396
|
* @param {SortingOrder} [sortRequestDate]
|
|
394
397
|
* @param {SortingOrder} [sortConfirmedDateStart]
|
|
@@ -403,7 +406,7 @@ export const AppointmentsApiAxiosParamCreator = function (configuration?: Config
|
|
|
403
406
|
* @param {*} [options] Override http request option.
|
|
404
407
|
* @throws {RequiredError}
|
|
405
408
|
*/
|
|
406
|
-
apiV1AppointmentsGet: async (id?: string, userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, doctorId?: string, doctorName?: string, dealId?: string, dealName?: string, dealPackageId?: string, hospitalSpecialtyId?: string, serviceId?: string, isOpen?: boolean, isCompleted?: boolean, requiresPaymentVerified?: boolean, refundInformationIsReady?: boolean, status?: AppointmentStatus, appointmentType?: AppointmentType, sortRequestDate?: SortingOrder, sortConfirmedDateStart?: SortingOrder, paymentEnabled?: boolean, languageCode?: string, showHidden?: boolean, isOnline?: boolean, isExternal?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
409
|
+
apiV1AppointmentsGet: async (id?: string, userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, doctorId?: string, doctorName?: string, dealId?: string, dealName?: string, dealPackageId?: string, hospitalSpecialtyId?: string, serviceId?: string, isOpen?: boolean, isCompleted?: boolean, start?: Date, end?: Date, requiresPaymentVerified?: boolean, refundInformationIsReady?: boolean, status?: AppointmentStatus, appointmentStatus?: Array<AppointmentStatus>, appointmentType?: AppointmentType, sortRequestDate?: SortingOrder, sortConfirmedDateStart?: SortingOrder, paymentEnabled?: boolean, languageCode?: string, showHidden?: boolean, isOnline?: boolean, isExternal?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
407
410
|
const localVarPath = `/api/v1/appointments`;
|
|
408
411
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
409
412
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -476,6 +479,18 @@ export const AppointmentsApiAxiosParamCreator = function (configuration?: Config
|
|
|
476
479
|
localVarQueryParameter['IsCompleted'] = isCompleted;
|
|
477
480
|
}
|
|
478
481
|
|
|
482
|
+
if (start !== undefined) {
|
|
483
|
+
localVarQueryParameter['Start'] = (start as any instanceof Date) ?
|
|
484
|
+
(start as any).toISOString() :
|
|
485
|
+
start;
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
if (end !== undefined) {
|
|
489
|
+
localVarQueryParameter['End'] = (end as any instanceof Date) ?
|
|
490
|
+
(end as any).toISOString() :
|
|
491
|
+
end;
|
|
492
|
+
}
|
|
493
|
+
|
|
479
494
|
if (requiresPaymentVerified !== undefined) {
|
|
480
495
|
localVarQueryParameter['RequiresPaymentVerified'] = requiresPaymentVerified;
|
|
481
496
|
}
|
|
@@ -488,6 +503,10 @@ export const AppointmentsApiAxiosParamCreator = function (configuration?: Config
|
|
|
488
503
|
localVarQueryParameter['Status'] = status;
|
|
489
504
|
}
|
|
490
505
|
|
|
506
|
+
if (appointmentStatus) {
|
|
507
|
+
localVarQueryParameter['AppointmentStatus'] = appointmentStatus;
|
|
508
|
+
}
|
|
509
|
+
|
|
491
510
|
if (appointmentType !== undefined) {
|
|
492
511
|
localVarQueryParameter['AppointmentType'] = appointmentType;
|
|
493
512
|
}
|
|
@@ -665,9 +684,12 @@ export const AppointmentsApiFp = function(configuration?: Configuration) {
|
|
|
665
684
|
* @param {string} [serviceId]
|
|
666
685
|
* @param {boolean} [isOpen]
|
|
667
686
|
* @param {boolean} [isCompleted]
|
|
687
|
+
* @param {Date} [start]
|
|
688
|
+
* @param {Date} [end]
|
|
668
689
|
* @param {boolean} [requiresPaymentVerified]
|
|
669
690
|
* @param {boolean} [refundInformationIsReady]
|
|
670
691
|
* @param {AppointmentStatus} [status]
|
|
692
|
+
* @param {Array<AppointmentStatus>} [appointmentStatus]
|
|
671
693
|
* @param {AppointmentType} [appointmentType]
|
|
672
694
|
* @param {SortingOrder} [sortRequestDate]
|
|
673
695
|
* @param {SortingOrder} [sortConfirmedDateStart]
|
|
@@ -682,8 +704,8 @@ export const AppointmentsApiFp = function(configuration?: Configuration) {
|
|
|
682
704
|
* @param {*} [options] Override http request option.
|
|
683
705
|
* @throws {RequiredError}
|
|
684
706
|
*/
|
|
685
|
-
async apiV1AppointmentsGet(id?: string, userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, doctorId?: string, doctorName?: string, dealId?: string, dealName?: string, dealPackageId?: string, hospitalSpecialtyId?: string, serviceId?: string, isOpen?: boolean, isCompleted?: boolean, requiresPaymentVerified?: boolean, refundInformationIsReady?: boolean, status?: AppointmentStatus, appointmentType?: AppointmentType, sortRequestDate?: SortingOrder, sortConfirmedDateStart?: SortingOrder, paymentEnabled?: boolean, languageCode?: string, showHidden?: boolean, isOnline?: boolean, isExternal?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AppointmentsModel>> {
|
|
686
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1AppointmentsGet(id, userId, userName, hospitalId, hospitalName, doctorId, doctorName, dealId, dealName, dealPackageId, hospitalSpecialtyId, serviceId, isOpen, isCompleted, requiresPaymentVerified, refundInformationIsReady, status, appointmentType, sortRequestDate, sortConfirmedDateStart, paymentEnabled, languageCode, showHidden, isOnline, isExternal, page, limit, lastRetrieved, options);
|
|
707
|
+
async apiV1AppointmentsGet(id?: string, userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, doctorId?: string, doctorName?: string, dealId?: string, dealName?: string, dealPackageId?: string, hospitalSpecialtyId?: string, serviceId?: string, isOpen?: boolean, isCompleted?: boolean, start?: Date, end?: Date, requiresPaymentVerified?: boolean, refundInformationIsReady?: boolean, status?: AppointmentStatus, appointmentStatus?: Array<AppointmentStatus>, appointmentType?: AppointmentType, sortRequestDate?: SortingOrder, sortConfirmedDateStart?: SortingOrder, paymentEnabled?: boolean, languageCode?: string, showHidden?: boolean, isOnline?: boolean, isExternal?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AppointmentsModel>> {
|
|
708
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1AppointmentsGet(id, userId, userName, hospitalId, hospitalName, doctorId, doctorName, dealId, dealName, dealPackageId, hospitalSpecialtyId, serviceId, isOpen, isCompleted, start, end, requiresPaymentVerified, refundInformationIsReady, status, appointmentStatus, appointmentType, sortRequestDate, sortConfirmedDateStart, paymentEnabled, languageCode, showHidden, isOnline, isExternal, page, limit, lastRetrieved, options);
|
|
687
709
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
688
710
|
},
|
|
689
711
|
}
|
|
@@ -798,9 +820,12 @@ export const AppointmentsApiFactory = function (configuration?: Configuration, b
|
|
|
798
820
|
* @param {string} [serviceId]
|
|
799
821
|
* @param {boolean} [isOpen]
|
|
800
822
|
* @param {boolean} [isCompleted]
|
|
823
|
+
* @param {Date} [start]
|
|
824
|
+
* @param {Date} [end]
|
|
801
825
|
* @param {boolean} [requiresPaymentVerified]
|
|
802
826
|
* @param {boolean} [refundInformationIsReady]
|
|
803
827
|
* @param {AppointmentStatus} [status]
|
|
828
|
+
* @param {Array<AppointmentStatus>} [appointmentStatus]
|
|
804
829
|
* @param {AppointmentType} [appointmentType]
|
|
805
830
|
* @param {SortingOrder} [sortRequestDate]
|
|
806
831
|
* @param {SortingOrder} [sortConfirmedDateStart]
|
|
@@ -815,8 +840,8 @@ export const AppointmentsApiFactory = function (configuration?: Configuration, b
|
|
|
815
840
|
* @param {*} [options] Override http request option.
|
|
816
841
|
* @throws {RequiredError}
|
|
817
842
|
*/
|
|
818
|
-
apiV1AppointmentsGet(id?: string, userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, doctorId?: string, doctorName?: string, dealId?: string, dealName?: string, dealPackageId?: string, hospitalSpecialtyId?: string, serviceId?: string, isOpen?: boolean, isCompleted?: boolean, requiresPaymentVerified?: boolean, refundInformationIsReady?: boolean, status?: AppointmentStatus, appointmentType?: AppointmentType, sortRequestDate?: SortingOrder, sortConfirmedDateStart?: SortingOrder, paymentEnabled?: boolean, languageCode?: string, showHidden?: boolean, isOnline?: boolean, isExternal?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<AppointmentsModel> {
|
|
819
|
-
return localVarFp.apiV1AppointmentsGet(id, userId, userName, hospitalId, hospitalName, doctorId, doctorName, dealId, dealName, dealPackageId, hospitalSpecialtyId, serviceId, isOpen, isCompleted, requiresPaymentVerified, refundInformationIsReady, status, appointmentType, sortRequestDate, sortConfirmedDateStart, paymentEnabled, languageCode, showHidden, isOnline, isExternal, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
843
|
+
apiV1AppointmentsGet(id?: string, userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, doctorId?: string, doctorName?: string, dealId?: string, dealName?: string, dealPackageId?: string, hospitalSpecialtyId?: string, serviceId?: string, isOpen?: boolean, isCompleted?: boolean, start?: Date, end?: Date, requiresPaymentVerified?: boolean, refundInformationIsReady?: boolean, status?: AppointmentStatus, appointmentStatus?: Array<AppointmentStatus>, appointmentType?: AppointmentType, sortRequestDate?: SortingOrder, sortConfirmedDateStart?: SortingOrder, paymentEnabled?: boolean, languageCode?: string, showHidden?: boolean, isOnline?: boolean, isExternal?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<AppointmentsModel> {
|
|
844
|
+
return localVarFp.apiV1AppointmentsGet(id, userId, userName, hospitalId, hospitalName, doctorId, doctorName, dealId, dealName, dealPackageId, hospitalSpecialtyId, serviceId, isOpen, isCompleted, start, end, requiresPaymentVerified, refundInformationIsReady, status, appointmentStatus, appointmentType, sortRequestDate, sortConfirmedDateStart, paymentEnabled, languageCode, showHidden, isOnline, isExternal, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
820
845
|
},
|
|
821
846
|
};
|
|
822
847
|
};
|
|
@@ -1072,6 +1097,20 @@ export interface AppointmentsApiApiV1AppointmentsGetRequest {
|
|
|
1072
1097
|
*/
|
|
1073
1098
|
readonly isCompleted?: boolean
|
|
1074
1099
|
|
|
1100
|
+
/**
|
|
1101
|
+
*
|
|
1102
|
+
* @type {Date}
|
|
1103
|
+
* @memberof AppointmentsApiApiV1AppointmentsGet
|
|
1104
|
+
*/
|
|
1105
|
+
readonly start?: Date
|
|
1106
|
+
|
|
1107
|
+
/**
|
|
1108
|
+
*
|
|
1109
|
+
* @type {Date}
|
|
1110
|
+
* @memberof AppointmentsApiApiV1AppointmentsGet
|
|
1111
|
+
*/
|
|
1112
|
+
readonly end?: Date
|
|
1113
|
+
|
|
1075
1114
|
/**
|
|
1076
1115
|
*
|
|
1077
1116
|
* @type {boolean}
|
|
@@ -1093,6 +1132,13 @@ export interface AppointmentsApiApiV1AppointmentsGetRequest {
|
|
|
1093
1132
|
*/
|
|
1094
1133
|
readonly status?: AppointmentStatus
|
|
1095
1134
|
|
|
1135
|
+
/**
|
|
1136
|
+
*
|
|
1137
|
+
* @type {Array<AppointmentStatus>}
|
|
1138
|
+
* @memberof AppointmentsApiApiV1AppointmentsGet
|
|
1139
|
+
*/
|
|
1140
|
+
readonly appointmentStatus?: Array<AppointmentStatus>
|
|
1141
|
+
|
|
1096
1142
|
/**
|
|
1097
1143
|
*
|
|
1098
1144
|
* @type {AppointmentType}
|
|
@@ -1283,6 +1329,6 @@ export class AppointmentsApi extends BaseAPI {
|
|
|
1283
1329
|
* @memberof AppointmentsApi
|
|
1284
1330
|
*/
|
|
1285
1331
|
public apiV1AppointmentsGet(requestParameters: AppointmentsApiApiV1AppointmentsGetRequest = {}, options?: AxiosRequestConfig) {
|
|
1286
|
-
return AppointmentsApiFp(this.configuration).apiV1AppointmentsGet(requestParameters.id, requestParameters.userId, requestParameters.userName, requestParameters.hospitalId, requestParameters.hospitalName, requestParameters.doctorId, requestParameters.doctorName, requestParameters.dealId, requestParameters.dealName, requestParameters.dealPackageId, requestParameters.hospitalSpecialtyId, requestParameters.serviceId, requestParameters.isOpen, requestParameters.isCompleted, requestParameters.requiresPaymentVerified, requestParameters.refundInformationIsReady, requestParameters.status, requestParameters.appointmentType, requestParameters.sortRequestDate, requestParameters.sortConfirmedDateStart, requestParameters.paymentEnabled, requestParameters.languageCode, requestParameters.showHidden, requestParameters.isOnline, requestParameters.isExternal, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
1332
|
+
return AppointmentsApiFp(this.configuration).apiV1AppointmentsGet(requestParameters.id, requestParameters.userId, requestParameters.userName, requestParameters.hospitalId, requestParameters.hospitalName, requestParameters.doctorId, requestParameters.doctorName, requestParameters.dealId, requestParameters.dealName, requestParameters.dealPackageId, requestParameters.hospitalSpecialtyId, requestParameters.serviceId, requestParameters.isOpen, requestParameters.isCompleted, requestParameters.start, requestParameters.end, requestParameters.requiresPaymentVerified, requestParameters.refundInformationIsReady, requestParameters.status, requestParameters.appointmentStatus, requestParameters.appointmentType, requestParameters.sortRequestDate, requestParameters.sortConfirmedDateStart, requestParameters.paymentEnabled, requestParameters.languageCode, requestParameters.showHidden, requestParameters.isOnline, requestParameters.isExternal, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
1287
1333
|
}
|
|
1288
1334
|
}
|
|
@@ -0,0 +1,361 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Swagger UI - Cloud Hospital Admin Api-INT
|
|
5
|
+
* Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1
|
|
8
|
+
* Contact: hyounoosung@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
|
+
import globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
17
|
+
import { Configuration } from '../configuration';
|
|
18
|
+
// Some imports not used depending on template conditions
|
|
19
|
+
// @ts-ignore
|
|
20
|
+
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
|
|
21
|
+
// @ts-ignore
|
|
22
|
+
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
|
|
23
|
+
// @ts-ignore
|
|
24
|
+
import { PatientAffiliationModel } from '../models';
|
|
25
|
+
// @ts-ignore
|
|
26
|
+
import { PatientAffiliationsModel } from '../models';
|
|
27
|
+
/**
|
|
28
|
+
* PatientAffiliationsApi - axios parameter creator
|
|
29
|
+
* @export
|
|
30
|
+
*/
|
|
31
|
+
export const PatientAffiliationsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
32
|
+
return {
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @summary Get all patientAffiliations
|
|
36
|
+
* @param {string} [languageCode]
|
|
37
|
+
* @param {string} [hospitalId]
|
|
38
|
+
* @param {string} [patientId]
|
|
39
|
+
* @param {string} [patientName]
|
|
40
|
+
* @param {string} [patientPhoneNumber]
|
|
41
|
+
* @param {boolean} [showHidden]
|
|
42
|
+
* @param {number} [page]
|
|
43
|
+
* @param {number} [limit]
|
|
44
|
+
* @param {Date} [lastRetrieved]
|
|
45
|
+
* @param {*} [options] Override http request option.
|
|
46
|
+
* @throws {RequiredError}
|
|
47
|
+
*/
|
|
48
|
+
apiV1PatientaffiliationsGet: async (languageCode?: string, hospitalId?: string, patientId?: string, patientName?: string, patientPhoneNumber?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
49
|
+
const localVarPath = `/api/v1/patientaffiliations`;
|
|
50
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
51
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
52
|
+
let baseOptions;
|
|
53
|
+
if (configuration) {
|
|
54
|
+
baseOptions = configuration.baseOptions;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
58
|
+
const localVarHeaderParameter = {} as any;
|
|
59
|
+
const localVarQueryParameter = {} as any;
|
|
60
|
+
|
|
61
|
+
// authentication oauth2 required
|
|
62
|
+
// oauth required
|
|
63
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
64
|
+
|
|
65
|
+
if (languageCode !== undefined) {
|
|
66
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
if (hospitalId !== undefined) {
|
|
70
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
if (patientId !== undefined) {
|
|
74
|
+
localVarQueryParameter['PatientId'] = patientId;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
if (patientName !== undefined) {
|
|
78
|
+
localVarQueryParameter['PatientName'] = patientName;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
if (patientPhoneNumber !== undefined) {
|
|
82
|
+
localVarQueryParameter['PatientPhoneNumber'] = patientPhoneNumber;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
if (showHidden !== undefined) {
|
|
86
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
if (page !== undefined) {
|
|
90
|
+
localVarQueryParameter['page'] = page;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
if (limit !== undefined) {
|
|
94
|
+
localVarQueryParameter['limit'] = limit;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
if (lastRetrieved !== undefined) {
|
|
98
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
99
|
+
(lastRetrieved as any).toISOString() :
|
|
100
|
+
lastRetrieved;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
106
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
107
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
108
|
+
|
|
109
|
+
return {
|
|
110
|
+
url: toPathString(localVarUrlObj),
|
|
111
|
+
options: localVarRequestOptions,
|
|
112
|
+
};
|
|
113
|
+
},
|
|
114
|
+
/**
|
|
115
|
+
*
|
|
116
|
+
* @summary Get patientAffiliation by id
|
|
117
|
+
* @param {string} patientAffiliationId
|
|
118
|
+
* @param {string} [languageCode]
|
|
119
|
+
* @param {*} [options] Override http request option.
|
|
120
|
+
* @throws {RequiredError}
|
|
121
|
+
*/
|
|
122
|
+
apiV1PatientaffiliationsPatientAffiliationIdGet: async (patientAffiliationId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
123
|
+
// verify required parameter 'patientAffiliationId' is not null or undefined
|
|
124
|
+
assertParamExists('apiV1PatientaffiliationsPatientAffiliationIdGet', 'patientAffiliationId', patientAffiliationId)
|
|
125
|
+
const localVarPath = `/api/v1/patientaffiliations/{patientAffiliationId}`
|
|
126
|
+
.replace(`{${"patientAffiliationId"}}`, encodeURIComponent(String(patientAffiliationId)));
|
|
127
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
128
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
129
|
+
let baseOptions;
|
|
130
|
+
if (configuration) {
|
|
131
|
+
baseOptions = configuration.baseOptions;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
135
|
+
const localVarHeaderParameter = {} as any;
|
|
136
|
+
const localVarQueryParameter = {} as any;
|
|
137
|
+
|
|
138
|
+
// authentication oauth2 required
|
|
139
|
+
// oauth required
|
|
140
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
141
|
+
|
|
142
|
+
if (languageCode !== undefined) {
|
|
143
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
149
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
150
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
151
|
+
|
|
152
|
+
return {
|
|
153
|
+
url: toPathString(localVarUrlObj),
|
|
154
|
+
options: localVarRequestOptions,
|
|
155
|
+
};
|
|
156
|
+
},
|
|
157
|
+
}
|
|
158
|
+
};
|
|
159
|
+
|
|
160
|
+
/**
|
|
161
|
+
* PatientAffiliationsApi - functional programming interface
|
|
162
|
+
* @export
|
|
163
|
+
*/
|
|
164
|
+
export const PatientAffiliationsApiFp = function(configuration?: Configuration) {
|
|
165
|
+
const localVarAxiosParamCreator = PatientAffiliationsApiAxiosParamCreator(configuration)
|
|
166
|
+
return {
|
|
167
|
+
/**
|
|
168
|
+
*
|
|
169
|
+
* @summary Get all patientAffiliations
|
|
170
|
+
* @param {string} [languageCode]
|
|
171
|
+
* @param {string} [hospitalId]
|
|
172
|
+
* @param {string} [patientId]
|
|
173
|
+
* @param {string} [patientName]
|
|
174
|
+
* @param {string} [patientPhoneNumber]
|
|
175
|
+
* @param {boolean} [showHidden]
|
|
176
|
+
* @param {number} [page]
|
|
177
|
+
* @param {number} [limit]
|
|
178
|
+
* @param {Date} [lastRetrieved]
|
|
179
|
+
* @param {*} [options] Override http request option.
|
|
180
|
+
* @throws {RequiredError}
|
|
181
|
+
*/
|
|
182
|
+
async apiV1PatientaffiliationsGet(languageCode?: string, hospitalId?: string, patientId?: string, patientName?: string, patientPhoneNumber?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatientAffiliationsModel>> {
|
|
183
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1PatientaffiliationsGet(languageCode, hospitalId, patientId, patientName, patientPhoneNumber, showHidden, page, limit, lastRetrieved, options);
|
|
184
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
185
|
+
},
|
|
186
|
+
/**
|
|
187
|
+
*
|
|
188
|
+
* @summary Get patientAffiliation by id
|
|
189
|
+
* @param {string} patientAffiliationId
|
|
190
|
+
* @param {string} [languageCode]
|
|
191
|
+
* @param {*} [options] Override http request option.
|
|
192
|
+
* @throws {RequiredError}
|
|
193
|
+
*/
|
|
194
|
+
async apiV1PatientaffiliationsPatientAffiliationIdGet(patientAffiliationId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatientAffiliationModel>> {
|
|
195
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1PatientaffiliationsPatientAffiliationIdGet(patientAffiliationId, languageCode, options);
|
|
196
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
197
|
+
},
|
|
198
|
+
}
|
|
199
|
+
};
|
|
200
|
+
|
|
201
|
+
/**
|
|
202
|
+
* PatientAffiliationsApi - factory interface
|
|
203
|
+
* @export
|
|
204
|
+
*/
|
|
205
|
+
export const PatientAffiliationsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
206
|
+
const localVarFp = PatientAffiliationsApiFp(configuration)
|
|
207
|
+
return {
|
|
208
|
+
/**
|
|
209
|
+
*
|
|
210
|
+
* @summary Get all patientAffiliations
|
|
211
|
+
* @param {string} [languageCode]
|
|
212
|
+
* @param {string} [hospitalId]
|
|
213
|
+
* @param {string} [patientId]
|
|
214
|
+
* @param {string} [patientName]
|
|
215
|
+
* @param {string} [patientPhoneNumber]
|
|
216
|
+
* @param {boolean} [showHidden]
|
|
217
|
+
* @param {number} [page]
|
|
218
|
+
* @param {number} [limit]
|
|
219
|
+
* @param {Date} [lastRetrieved]
|
|
220
|
+
* @param {*} [options] Override http request option.
|
|
221
|
+
* @throws {RequiredError}
|
|
222
|
+
*/
|
|
223
|
+
apiV1PatientaffiliationsGet(languageCode?: string, hospitalId?: string, patientId?: string, patientName?: string, patientPhoneNumber?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<PatientAffiliationsModel> {
|
|
224
|
+
return localVarFp.apiV1PatientaffiliationsGet(languageCode, hospitalId, patientId, patientName, patientPhoneNumber, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
225
|
+
},
|
|
226
|
+
/**
|
|
227
|
+
*
|
|
228
|
+
* @summary Get patientAffiliation by id
|
|
229
|
+
* @param {string} patientAffiliationId
|
|
230
|
+
* @param {string} [languageCode]
|
|
231
|
+
* @param {*} [options] Override http request option.
|
|
232
|
+
* @throws {RequiredError}
|
|
233
|
+
*/
|
|
234
|
+
apiV1PatientaffiliationsPatientAffiliationIdGet(patientAffiliationId: string, languageCode?: string, options?: any): AxiosPromise<PatientAffiliationModel> {
|
|
235
|
+
return localVarFp.apiV1PatientaffiliationsPatientAffiliationIdGet(patientAffiliationId, languageCode, options).then((request) => request(axios, basePath));
|
|
236
|
+
},
|
|
237
|
+
};
|
|
238
|
+
};
|
|
239
|
+
|
|
240
|
+
/**
|
|
241
|
+
* Request parameters for apiV1PatientaffiliationsGet operation in PatientAffiliationsApi.
|
|
242
|
+
* @export
|
|
243
|
+
* @interface PatientAffiliationsApiApiV1PatientaffiliationsGetRequest
|
|
244
|
+
*/
|
|
245
|
+
export interface PatientAffiliationsApiApiV1PatientaffiliationsGetRequest {
|
|
246
|
+
/**
|
|
247
|
+
*
|
|
248
|
+
* @type {string}
|
|
249
|
+
* @memberof PatientAffiliationsApiApiV1PatientaffiliationsGet
|
|
250
|
+
*/
|
|
251
|
+
readonly languageCode?: string
|
|
252
|
+
|
|
253
|
+
/**
|
|
254
|
+
*
|
|
255
|
+
* @type {string}
|
|
256
|
+
* @memberof PatientAffiliationsApiApiV1PatientaffiliationsGet
|
|
257
|
+
*/
|
|
258
|
+
readonly hospitalId?: string
|
|
259
|
+
|
|
260
|
+
/**
|
|
261
|
+
*
|
|
262
|
+
* @type {string}
|
|
263
|
+
* @memberof PatientAffiliationsApiApiV1PatientaffiliationsGet
|
|
264
|
+
*/
|
|
265
|
+
readonly patientId?: string
|
|
266
|
+
|
|
267
|
+
/**
|
|
268
|
+
*
|
|
269
|
+
* @type {string}
|
|
270
|
+
* @memberof PatientAffiliationsApiApiV1PatientaffiliationsGet
|
|
271
|
+
*/
|
|
272
|
+
readonly patientName?: string
|
|
273
|
+
|
|
274
|
+
/**
|
|
275
|
+
*
|
|
276
|
+
* @type {string}
|
|
277
|
+
* @memberof PatientAffiliationsApiApiV1PatientaffiliationsGet
|
|
278
|
+
*/
|
|
279
|
+
readonly patientPhoneNumber?: string
|
|
280
|
+
|
|
281
|
+
/**
|
|
282
|
+
*
|
|
283
|
+
* @type {boolean}
|
|
284
|
+
* @memberof PatientAffiliationsApiApiV1PatientaffiliationsGet
|
|
285
|
+
*/
|
|
286
|
+
readonly showHidden?: boolean
|
|
287
|
+
|
|
288
|
+
/**
|
|
289
|
+
*
|
|
290
|
+
* @type {number}
|
|
291
|
+
* @memberof PatientAffiliationsApiApiV1PatientaffiliationsGet
|
|
292
|
+
*/
|
|
293
|
+
readonly page?: number
|
|
294
|
+
|
|
295
|
+
/**
|
|
296
|
+
*
|
|
297
|
+
* @type {number}
|
|
298
|
+
* @memberof PatientAffiliationsApiApiV1PatientaffiliationsGet
|
|
299
|
+
*/
|
|
300
|
+
readonly limit?: number
|
|
301
|
+
|
|
302
|
+
/**
|
|
303
|
+
*
|
|
304
|
+
* @type {Date}
|
|
305
|
+
* @memberof PatientAffiliationsApiApiV1PatientaffiliationsGet
|
|
306
|
+
*/
|
|
307
|
+
readonly lastRetrieved?: Date
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
/**
|
|
311
|
+
* Request parameters for apiV1PatientaffiliationsPatientAffiliationIdGet operation in PatientAffiliationsApi.
|
|
312
|
+
* @export
|
|
313
|
+
* @interface PatientAffiliationsApiApiV1PatientaffiliationsPatientAffiliationIdGetRequest
|
|
314
|
+
*/
|
|
315
|
+
export interface PatientAffiliationsApiApiV1PatientaffiliationsPatientAffiliationIdGetRequest {
|
|
316
|
+
/**
|
|
317
|
+
*
|
|
318
|
+
* @type {string}
|
|
319
|
+
* @memberof PatientAffiliationsApiApiV1PatientaffiliationsPatientAffiliationIdGet
|
|
320
|
+
*/
|
|
321
|
+
readonly patientAffiliationId: string
|
|
322
|
+
|
|
323
|
+
/**
|
|
324
|
+
*
|
|
325
|
+
* @type {string}
|
|
326
|
+
* @memberof PatientAffiliationsApiApiV1PatientaffiliationsPatientAffiliationIdGet
|
|
327
|
+
*/
|
|
328
|
+
readonly languageCode?: string
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
/**
|
|
332
|
+
* PatientAffiliationsApi - object-oriented interface
|
|
333
|
+
* @export
|
|
334
|
+
* @class PatientAffiliationsApi
|
|
335
|
+
* @extends {BaseAPI}
|
|
336
|
+
*/
|
|
337
|
+
export class PatientAffiliationsApi extends BaseAPI {
|
|
338
|
+
/**
|
|
339
|
+
*
|
|
340
|
+
* @summary Get all patientAffiliations
|
|
341
|
+
* @param {PatientAffiliationsApiApiV1PatientaffiliationsGetRequest} requestParameters Request parameters.
|
|
342
|
+
* @param {*} [options] Override http request option.
|
|
343
|
+
* @throws {RequiredError}
|
|
344
|
+
* @memberof PatientAffiliationsApi
|
|
345
|
+
*/
|
|
346
|
+
public apiV1PatientaffiliationsGet(requestParameters: PatientAffiliationsApiApiV1PatientaffiliationsGetRequest = {}, options?: AxiosRequestConfig) {
|
|
347
|
+
return PatientAffiliationsApiFp(this.configuration).apiV1PatientaffiliationsGet(requestParameters.languageCode, requestParameters.hospitalId, requestParameters.patientId, requestParameters.patientName, requestParameters.patientPhoneNumber, requestParameters.showHidden, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
/**
|
|
351
|
+
*
|
|
352
|
+
* @summary Get patientAffiliation by id
|
|
353
|
+
* @param {PatientAffiliationsApiApiV1PatientaffiliationsPatientAffiliationIdGetRequest} requestParameters Request parameters.
|
|
354
|
+
* @param {*} [options] Override http request option.
|
|
355
|
+
* @throws {RequiredError}
|
|
356
|
+
* @memberof PatientAffiliationsApi
|
|
357
|
+
*/
|
|
358
|
+
public apiV1PatientaffiliationsPatientAffiliationIdGet(requestParameters: PatientAffiliationsApiApiV1PatientaffiliationsPatientAffiliationIdGetRequest, options?: AxiosRequestConfig) {
|
|
359
|
+
return PatientAffiliationsApiFp(this.configuration).apiV1PatientaffiliationsPatientAffiliationIdGet(requestParameters.patientAffiliationId, requestParameters.languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
360
|
+
}
|
|
361
|
+
}
|