ch-admin-api-client-typescript 5.1.8 → 5.2.0
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/contributors-api.d.ts +3 -12
- package/lib/api/contributors-api.d.ts.map +1 -1
- package/lib/api/contributors-api.js +6 -12
- package/lib/api/grades-api.d.ts +339 -0
- package/lib/api/grades-api.d.ts.map +1 -0
- package/lib/api/grades-api.js +600 -0
- package/lib/api/hospitals-api.d.ts +333 -0
- package/lib/api/hospitals-api.d.ts.map +1 -1
- package/lib/api/hospitals-api.js +491 -0
- package/lib/api/survey-results-api.d.ts +12 -3
- package/lib/api/survey-results-api.d.ts.map +1 -1
- package/lib/api/survey-results-api.js +12 -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/create-grade-command.d.ts +44 -0
- package/lib/models/create-grade-command.d.ts.map +1 -0
- package/lib/models/create-hospital-command.d.ts +6 -0
- package/lib/models/create-hospital-command.d.ts.map +1 -1
- package/lib/models/create-hospital-contact-command.d.ts +55 -0
- package/lib/models/create-hospital-contact-command.d.ts.map +1 -0
- package/lib/models/create-hospital-contact-command.js +15 -0
- package/lib/models/create-survey-form-command.d.ts +6 -0
- package/lib/models/create-survey-form-command.d.ts.map +1 -1
- package/lib/models/grade-item-model.d.ts +57 -0
- package/lib/models/grade-item-model.d.ts.map +1 -0
- package/lib/models/grade-item-model.js +15 -0
- package/lib/models/grade-model.d.ts +57 -0
- package/lib/models/grade-model.d.ts.map +1 -0
- package/lib/models/grade-model.js +15 -0
- package/lib/models/grade-targets.d.ts +22 -0
- package/lib/models/grade-targets.d.ts.map +1 -0
- package/lib/models/grade-targets.js +25 -0
- package/lib/models/grades-model.d.ts +33 -0
- package/lib/models/grades-model.d.ts.map +1 -0
- package/lib/models/grades-model.js +15 -0
- package/lib/models/{survey-result-item-model.d.ts → hospital-contact-item-model.d.ts} +18 -25
- package/lib/models/hospital-contact-item-model.d.ts.map +1 -0
- package/lib/models/hospital-contact-item-model.js +15 -0
- package/lib/models/hospital-contact-model.d.ts +67 -0
- package/lib/models/hospital-contact-model.d.ts.map +1 -0
- package/lib/models/hospital-contact-model.js +15 -0
- package/lib/models/hospital-contacts-model.d.ts +33 -0
- package/lib/models/hospital-contacts-model.d.ts.map +1 -0
- package/lib/models/hospital-contacts-model.js +15 -0
- package/lib/models/hospital-item-model.d.ts +13 -0
- package/lib/models/hospital-item-model.d.ts.map +1 -1
- package/lib/models/hospital-model.d.ts +13 -0
- package/lib/models/hospital-model.d.ts.map +1 -1
- package/lib/models/index.d.ts +11 -1
- package/lib/models/index.d.ts.map +1 -1
- package/lib/models/index.js +11 -1
- package/lib/models/survey-form-item-model.d.ts +6 -0
- package/lib/models/survey-form-item-model.d.ts.map +1 -1
- package/lib/models/survey-form-model.d.ts +6 -0
- package/lib/models/survey-form-model.d.ts.map +1 -1
- package/lib/models/survey-results-model.d.ts +3 -3
- package/lib/models/survey-results-model.d.ts.map +1 -1
- package/lib/models/update-grade-command.d.ts +37 -0
- package/lib/models/update-grade-command.d.ts.map +1 -0
- package/lib/models/update-grade-command.js +15 -0
- package/lib/models/update-hospital-command.d.ts +6 -0
- package/lib/models/update-hospital-command.d.ts.map +1 -1
- package/lib/models/update-hospital-contact-command.d.ts +55 -0
- package/lib/models/update-hospital-contact-command.d.ts.map +1 -0
- package/lib/models/update-hospital-contact-command.js +15 -0
- package/lib/models/update-survey-form-command.d.ts +6 -0
- package/lib/models/update-survey-form-command.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/.openapi-generator/FILES +12 -1
- package/src/api/contributors-api.ts +6 -20
- package/src/api/grades-api.ts +595 -0
- package/src/api/hospitals-api.ts +584 -0
- package/src/api/survey-results-api.ts +20 -6
- package/src/api.ts +1 -0
- package/src/models/create-grade-command.ts +51 -0
- package/src/models/create-hospital-command.ts +6 -0
- package/src/models/create-hospital-contact-command.ts +60 -0
- package/src/models/create-survey-form-command.ts +6 -0
- package/src/models/grade-item-model.ts +66 -0
- package/src/models/grade-model.ts +66 -0
- package/src/models/grade-targets.ts +31 -0
- package/src/models/grades-model.ts +42 -0
- package/src/models/{survey-result-item-model.ts → hospital-contact-item-model.ts} +17 -26
- package/src/models/hospital-contact-model.ts +72 -0
- package/src/models/hospital-contacts-model.ts +42 -0
- package/src/models/hospital-item-model.ts +15 -0
- package/src/models/hospital-model.ts +15 -0
- package/src/models/index.ts +11 -1
- package/src/models/survey-form-item-model.ts +6 -0
- package/src/models/survey-form-model.ts +6 -0
- package/src/models/survey-results-model.ts +3 -3
- package/src/models/update-grade-command.ts +42 -0
- package/src/models/update-hospital-command.ts +6 -0
- package/src/models/update-hospital-contact-command.ts +60 -0
- package/src/models/update-survey-form-command.ts +6 -0
- package/lib/models/survey-result-item-model.d.ts.map +0 -1
- /package/lib/models/{survey-result-item-model.js → create-grade-command.js} +0 -0
package/src/api/hospitals-api.ts
CHANGED
|
@@ -37,6 +37,8 @@ import { CreateHospitalAccreditationCommand } from '../models';
|
|
|
37
37
|
// @ts-ignore
|
|
38
38
|
import { CreateHospitalCommand } from '../models';
|
|
39
39
|
// @ts-ignore
|
|
40
|
+
import { CreateHospitalContactCommand } from '../models';
|
|
41
|
+
// @ts-ignore
|
|
40
42
|
import { CreateHospitalEquipmentCommand } from '../models';
|
|
41
43
|
// @ts-ignore
|
|
42
44
|
import { CreateHospitalEvaluationCommand } from '../models';
|
|
@@ -61,6 +63,10 @@ import { HospitalAccreditationModel } from '../models';
|
|
|
61
63
|
// @ts-ignore
|
|
62
64
|
import { HospitalAccreditationsModel } from '../models';
|
|
63
65
|
// @ts-ignore
|
|
66
|
+
import { HospitalContactModel } from '../models';
|
|
67
|
+
// @ts-ignore
|
|
68
|
+
import { HospitalContactsModel } from '../models';
|
|
69
|
+
// @ts-ignore
|
|
64
70
|
import { HospitalEquipmentModel } from '../models';
|
|
65
71
|
// @ts-ignore
|
|
66
72
|
import { HospitalEquipmentsModel } from '../models';
|
|
@@ -121,6 +127,8 @@ import { TranslateHospitalCommand } from '../models';
|
|
|
121
127
|
// @ts-ignore
|
|
122
128
|
import { UpdateHospitalCommand } from '../models';
|
|
123
129
|
// @ts-ignore
|
|
130
|
+
import { UpdateHospitalContactCommand } from '../models';
|
|
131
|
+
// @ts-ignore
|
|
124
132
|
import { UpdateHospitalEquipmentCommand } from '../models';
|
|
125
133
|
// @ts-ignore
|
|
126
134
|
import { UpdateHospitalLanguageCommand } from '../models';
|
|
@@ -678,6 +686,248 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
678
686
|
options: localVarRequestOptions,
|
|
679
687
|
};
|
|
680
688
|
},
|
|
689
|
+
/**
|
|
690
|
+
*
|
|
691
|
+
* @summary Delete hospital contact
|
|
692
|
+
* @param {string} hospitalId
|
|
693
|
+
* @param {string} contactId
|
|
694
|
+
* @param {*} [options] Override http request option.
|
|
695
|
+
* @throws {RequiredError}
|
|
696
|
+
*/
|
|
697
|
+
apiV1HospitalsHospitalIdContactsContactIdDelete: async (hospitalId: string, contactId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
698
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
699
|
+
assertParamExists('apiV1HospitalsHospitalIdContactsContactIdDelete', 'hospitalId', hospitalId)
|
|
700
|
+
// verify required parameter 'contactId' is not null or undefined
|
|
701
|
+
assertParamExists('apiV1HospitalsHospitalIdContactsContactIdDelete', 'contactId', contactId)
|
|
702
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/contacts/{contactId}`
|
|
703
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
704
|
+
.replace(`{${"contactId"}}`, encodeURIComponent(String(contactId)));
|
|
705
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
706
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
707
|
+
let baseOptions;
|
|
708
|
+
if (configuration) {
|
|
709
|
+
baseOptions = configuration.baseOptions;
|
|
710
|
+
}
|
|
711
|
+
|
|
712
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
713
|
+
const localVarHeaderParameter = {} as any;
|
|
714
|
+
const localVarQueryParameter = {} as any;
|
|
715
|
+
|
|
716
|
+
// authentication oauth2 required
|
|
717
|
+
// oauth required
|
|
718
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
719
|
+
|
|
720
|
+
|
|
721
|
+
|
|
722
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
723
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
724
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
725
|
+
|
|
726
|
+
return {
|
|
727
|
+
url: toPathString(localVarUrlObj),
|
|
728
|
+
options: localVarRequestOptions,
|
|
729
|
+
};
|
|
730
|
+
},
|
|
731
|
+
/**
|
|
732
|
+
*
|
|
733
|
+
* @summary Get hospital contact
|
|
734
|
+
* @param {string} hospitalId
|
|
735
|
+
* @param {string} contactId
|
|
736
|
+
* @param {*} [options] Override http request option.
|
|
737
|
+
* @throws {RequiredError}
|
|
738
|
+
*/
|
|
739
|
+
apiV1HospitalsHospitalIdContactsContactIdGet: async (hospitalId: string, contactId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
740
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
741
|
+
assertParamExists('apiV1HospitalsHospitalIdContactsContactIdGet', 'hospitalId', hospitalId)
|
|
742
|
+
// verify required parameter 'contactId' is not null or undefined
|
|
743
|
+
assertParamExists('apiV1HospitalsHospitalIdContactsContactIdGet', 'contactId', contactId)
|
|
744
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/contacts/{contactId}`
|
|
745
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
746
|
+
.replace(`{${"contactId"}}`, encodeURIComponent(String(contactId)));
|
|
747
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
748
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
749
|
+
let baseOptions;
|
|
750
|
+
if (configuration) {
|
|
751
|
+
baseOptions = configuration.baseOptions;
|
|
752
|
+
}
|
|
753
|
+
|
|
754
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
755
|
+
const localVarHeaderParameter = {} as any;
|
|
756
|
+
const localVarQueryParameter = {} as any;
|
|
757
|
+
|
|
758
|
+
// authentication oauth2 required
|
|
759
|
+
// oauth required
|
|
760
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
761
|
+
|
|
762
|
+
|
|
763
|
+
|
|
764
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
765
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
766
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
767
|
+
|
|
768
|
+
return {
|
|
769
|
+
url: toPathString(localVarUrlObj),
|
|
770
|
+
options: localVarRequestOptions,
|
|
771
|
+
};
|
|
772
|
+
},
|
|
773
|
+
/**
|
|
774
|
+
*
|
|
775
|
+
* @summary Update hospital contact
|
|
776
|
+
* @param {string} hospitalId
|
|
777
|
+
* @param {string} contactId
|
|
778
|
+
* @param {UpdateHospitalContactCommand} [updateHospitalContactCommand]
|
|
779
|
+
* @param {*} [options] Override http request option.
|
|
780
|
+
* @throws {RequiredError}
|
|
781
|
+
*/
|
|
782
|
+
apiV1HospitalsHospitalIdContactsContactIdPut: async (hospitalId: string, contactId: string, updateHospitalContactCommand?: UpdateHospitalContactCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
783
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
784
|
+
assertParamExists('apiV1HospitalsHospitalIdContactsContactIdPut', 'hospitalId', hospitalId)
|
|
785
|
+
// verify required parameter 'contactId' is not null or undefined
|
|
786
|
+
assertParamExists('apiV1HospitalsHospitalIdContactsContactIdPut', 'contactId', contactId)
|
|
787
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/contacts/{contactId}`
|
|
788
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
789
|
+
.replace(`{${"contactId"}}`, encodeURIComponent(String(contactId)));
|
|
790
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
791
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
792
|
+
let baseOptions;
|
|
793
|
+
if (configuration) {
|
|
794
|
+
baseOptions = configuration.baseOptions;
|
|
795
|
+
}
|
|
796
|
+
|
|
797
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
798
|
+
const localVarHeaderParameter = {} as any;
|
|
799
|
+
const localVarQueryParameter = {} as any;
|
|
800
|
+
|
|
801
|
+
// authentication oauth2 required
|
|
802
|
+
// oauth required
|
|
803
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
804
|
+
|
|
805
|
+
|
|
806
|
+
|
|
807
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
808
|
+
|
|
809
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
810
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
811
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
812
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateHospitalContactCommand, localVarRequestOptions, configuration)
|
|
813
|
+
|
|
814
|
+
return {
|
|
815
|
+
url: toPathString(localVarUrlObj),
|
|
816
|
+
options: localVarRequestOptions,
|
|
817
|
+
};
|
|
818
|
+
},
|
|
819
|
+
/**
|
|
820
|
+
*
|
|
821
|
+
* @summary Get hospital contacts
|
|
822
|
+
* @param {string} hospitalId
|
|
823
|
+
* @param {string} [contactId]
|
|
824
|
+
* @param {string} [name]
|
|
825
|
+
* @param {string} [languageCode]
|
|
826
|
+
* @param {number} [page]
|
|
827
|
+
* @param {number} [limit]
|
|
828
|
+
* @param {Date} [lastRetrieved]
|
|
829
|
+
* @param {*} [options] Override http request option.
|
|
830
|
+
* @throws {RequiredError}
|
|
831
|
+
*/
|
|
832
|
+
apiV1HospitalsHospitalIdContactsGet: async (hospitalId: string, contactId?: string, name?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
833
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
834
|
+
assertParamExists('apiV1HospitalsHospitalIdContactsGet', 'hospitalId', hospitalId)
|
|
835
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/contacts`
|
|
836
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
|
|
837
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
838
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
839
|
+
let baseOptions;
|
|
840
|
+
if (configuration) {
|
|
841
|
+
baseOptions = configuration.baseOptions;
|
|
842
|
+
}
|
|
843
|
+
|
|
844
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
845
|
+
const localVarHeaderParameter = {} as any;
|
|
846
|
+
const localVarQueryParameter = {} as any;
|
|
847
|
+
|
|
848
|
+
// authentication oauth2 required
|
|
849
|
+
// oauth required
|
|
850
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
851
|
+
|
|
852
|
+
if (contactId !== undefined) {
|
|
853
|
+
localVarQueryParameter['ContactId'] = contactId;
|
|
854
|
+
}
|
|
855
|
+
|
|
856
|
+
if (name !== undefined) {
|
|
857
|
+
localVarQueryParameter['Name'] = name;
|
|
858
|
+
}
|
|
859
|
+
|
|
860
|
+
if (languageCode !== undefined) {
|
|
861
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
862
|
+
}
|
|
863
|
+
|
|
864
|
+
if (page !== undefined) {
|
|
865
|
+
localVarQueryParameter['page'] = page;
|
|
866
|
+
}
|
|
867
|
+
|
|
868
|
+
if (limit !== undefined) {
|
|
869
|
+
localVarQueryParameter['limit'] = limit;
|
|
870
|
+
}
|
|
871
|
+
|
|
872
|
+
if (lastRetrieved !== undefined) {
|
|
873
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
874
|
+
(lastRetrieved as any).toISOString() :
|
|
875
|
+
lastRetrieved;
|
|
876
|
+
}
|
|
877
|
+
|
|
878
|
+
|
|
879
|
+
|
|
880
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
881
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
882
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
883
|
+
|
|
884
|
+
return {
|
|
885
|
+
url: toPathString(localVarUrlObj),
|
|
886
|
+
options: localVarRequestOptions,
|
|
887
|
+
};
|
|
888
|
+
},
|
|
889
|
+
/**
|
|
890
|
+
*
|
|
891
|
+
* @summary Create hospital contact
|
|
892
|
+
* @param {string} hospitalId
|
|
893
|
+
* @param {CreateHospitalContactCommand} [createHospitalContactCommand]
|
|
894
|
+
* @param {*} [options] Override http request option.
|
|
895
|
+
* @throws {RequiredError}
|
|
896
|
+
*/
|
|
897
|
+
apiV1HospitalsHospitalIdContactsPost: async (hospitalId: string, createHospitalContactCommand?: CreateHospitalContactCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
898
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
899
|
+
assertParamExists('apiV1HospitalsHospitalIdContactsPost', 'hospitalId', hospitalId)
|
|
900
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/contacts`
|
|
901
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
|
|
902
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
903
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
904
|
+
let baseOptions;
|
|
905
|
+
if (configuration) {
|
|
906
|
+
baseOptions = configuration.baseOptions;
|
|
907
|
+
}
|
|
908
|
+
|
|
909
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
910
|
+
const localVarHeaderParameter = {} as any;
|
|
911
|
+
const localVarQueryParameter = {} as any;
|
|
912
|
+
|
|
913
|
+
// authentication oauth2 required
|
|
914
|
+
// oauth required
|
|
915
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
916
|
+
|
|
917
|
+
|
|
918
|
+
|
|
919
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
920
|
+
|
|
921
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
922
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
923
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
924
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createHospitalContactCommand, localVarRequestOptions, configuration)
|
|
925
|
+
|
|
926
|
+
return {
|
|
927
|
+
url: toPathString(localVarUrlObj),
|
|
928
|
+
options: localVarRequestOptions,
|
|
929
|
+
};
|
|
930
|
+
},
|
|
681
931
|
/**
|
|
682
932
|
*
|
|
683
933
|
* @summary Delete Hospital.
|
|
@@ -5286,6 +5536,72 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
5286
5536
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdAppointmenttimetablesGet(hospitalId, dayOfWeek, page, limit, lastRetrieved, options);
|
|
5287
5537
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5288
5538
|
},
|
|
5539
|
+
/**
|
|
5540
|
+
*
|
|
5541
|
+
* @summary Delete hospital contact
|
|
5542
|
+
* @param {string} hospitalId
|
|
5543
|
+
* @param {string} contactId
|
|
5544
|
+
* @param {*} [options] Override http request option.
|
|
5545
|
+
* @throws {RequiredError}
|
|
5546
|
+
*/
|
|
5547
|
+
async apiV1HospitalsHospitalIdContactsContactIdDelete(hospitalId: string, contactId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
5548
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdContactsContactIdDelete(hospitalId, contactId, options);
|
|
5549
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5550
|
+
},
|
|
5551
|
+
/**
|
|
5552
|
+
*
|
|
5553
|
+
* @summary Get hospital contact
|
|
5554
|
+
* @param {string} hospitalId
|
|
5555
|
+
* @param {string} contactId
|
|
5556
|
+
* @param {*} [options] Override http request option.
|
|
5557
|
+
* @throws {RequiredError}
|
|
5558
|
+
*/
|
|
5559
|
+
async apiV1HospitalsHospitalIdContactsContactIdGet(hospitalId: string, contactId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalContactModel>> {
|
|
5560
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdContactsContactIdGet(hospitalId, contactId, options);
|
|
5561
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5562
|
+
},
|
|
5563
|
+
/**
|
|
5564
|
+
*
|
|
5565
|
+
* @summary Update hospital contact
|
|
5566
|
+
* @param {string} hospitalId
|
|
5567
|
+
* @param {string} contactId
|
|
5568
|
+
* @param {UpdateHospitalContactCommand} [updateHospitalContactCommand]
|
|
5569
|
+
* @param {*} [options] Override http request option.
|
|
5570
|
+
* @throws {RequiredError}
|
|
5571
|
+
*/
|
|
5572
|
+
async apiV1HospitalsHospitalIdContactsContactIdPut(hospitalId: string, contactId: string, updateHospitalContactCommand?: UpdateHospitalContactCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalContactModel>> {
|
|
5573
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdContactsContactIdPut(hospitalId, contactId, updateHospitalContactCommand, options);
|
|
5574
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5575
|
+
},
|
|
5576
|
+
/**
|
|
5577
|
+
*
|
|
5578
|
+
* @summary Get hospital contacts
|
|
5579
|
+
* @param {string} hospitalId
|
|
5580
|
+
* @param {string} [contactId]
|
|
5581
|
+
* @param {string} [name]
|
|
5582
|
+
* @param {string} [languageCode]
|
|
5583
|
+
* @param {number} [page]
|
|
5584
|
+
* @param {number} [limit]
|
|
5585
|
+
* @param {Date} [lastRetrieved]
|
|
5586
|
+
* @param {*} [options] Override http request option.
|
|
5587
|
+
* @throws {RequiredError}
|
|
5588
|
+
*/
|
|
5589
|
+
async apiV1HospitalsHospitalIdContactsGet(hospitalId: string, contactId?: string, name?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalContactsModel>> {
|
|
5590
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdContactsGet(hospitalId, contactId, name, languageCode, page, limit, lastRetrieved, options);
|
|
5591
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5592
|
+
},
|
|
5593
|
+
/**
|
|
5594
|
+
*
|
|
5595
|
+
* @summary Create hospital contact
|
|
5596
|
+
* @param {string} hospitalId
|
|
5597
|
+
* @param {CreateHospitalContactCommand} [createHospitalContactCommand]
|
|
5598
|
+
* @param {*} [options] Override http request option.
|
|
5599
|
+
* @throws {RequiredError}
|
|
5600
|
+
*/
|
|
5601
|
+
async apiV1HospitalsHospitalIdContactsPost(hospitalId: string, createHospitalContactCommand?: CreateHospitalContactCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalContactModel>> {
|
|
5602
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdContactsPost(hospitalId, createHospitalContactCommand, options);
|
|
5603
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5604
|
+
},
|
|
5289
5605
|
/**
|
|
5290
5606
|
*
|
|
5291
5607
|
* @summary Delete Hospital.
|
|
@@ -6611,6 +6927,67 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
6611
6927
|
apiV1HospitalsHospitalIdAppointmenttimetablesGet(hospitalId: string, dayOfWeek?: DayOfWeek, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<AppointmentTimetablesModel> {
|
|
6612
6928
|
return localVarFp.apiV1HospitalsHospitalIdAppointmenttimetablesGet(hospitalId, dayOfWeek, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
6613
6929
|
},
|
|
6930
|
+
/**
|
|
6931
|
+
*
|
|
6932
|
+
* @summary Delete hospital contact
|
|
6933
|
+
* @param {string} hospitalId
|
|
6934
|
+
* @param {string} contactId
|
|
6935
|
+
* @param {*} [options] Override http request option.
|
|
6936
|
+
* @throws {RequiredError}
|
|
6937
|
+
*/
|
|
6938
|
+
apiV1HospitalsHospitalIdContactsContactIdDelete(hospitalId: string, contactId: string, options?: any): AxiosPromise<boolean> {
|
|
6939
|
+
return localVarFp.apiV1HospitalsHospitalIdContactsContactIdDelete(hospitalId, contactId, options).then((request) => request(axios, basePath));
|
|
6940
|
+
},
|
|
6941
|
+
/**
|
|
6942
|
+
*
|
|
6943
|
+
* @summary Get hospital contact
|
|
6944
|
+
* @param {string} hospitalId
|
|
6945
|
+
* @param {string} contactId
|
|
6946
|
+
* @param {*} [options] Override http request option.
|
|
6947
|
+
* @throws {RequiredError}
|
|
6948
|
+
*/
|
|
6949
|
+
apiV1HospitalsHospitalIdContactsContactIdGet(hospitalId: string, contactId: string, options?: any): AxiosPromise<HospitalContactModel> {
|
|
6950
|
+
return localVarFp.apiV1HospitalsHospitalIdContactsContactIdGet(hospitalId, contactId, options).then((request) => request(axios, basePath));
|
|
6951
|
+
},
|
|
6952
|
+
/**
|
|
6953
|
+
*
|
|
6954
|
+
* @summary Update hospital contact
|
|
6955
|
+
* @param {string} hospitalId
|
|
6956
|
+
* @param {string} contactId
|
|
6957
|
+
* @param {UpdateHospitalContactCommand} [updateHospitalContactCommand]
|
|
6958
|
+
* @param {*} [options] Override http request option.
|
|
6959
|
+
* @throws {RequiredError}
|
|
6960
|
+
*/
|
|
6961
|
+
apiV1HospitalsHospitalIdContactsContactIdPut(hospitalId: string, contactId: string, updateHospitalContactCommand?: UpdateHospitalContactCommand, options?: any): AxiosPromise<HospitalContactModel> {
|
|
6962
|
+
return localVarFp.apiV1HospitalsHospitalIdContactsContactIdPut(hospitalId, contactId, updateHospitalContactCommand, options).then((request) => request(axios, basePath));
|
|
6963
|
+
},
|
|
6964
|
+
/**
|
|
6965
|
+
*
|
|
6966
|
+
* @summary Get hospital contacts
|
|
6967
|
+
* @param {string} hospitalId
|
|
6968
|
+
* @param {string} [contactId]
|
|
6969
|
+
* @param {string} [name]
|
|
6970
|
+
* @param {string} [languageCode]
|
|
6971
|
+
* @param {number} [page]
|
|
6972
|
+
* @param {number} [limit]
|
|
6973
|
+
* @param {Date} [lastRetrieved]
|
|
6974
|
+
* @param {*} [options] Override http request option.
|
|
6975
|
+
* @throws {RequiredError}
|
|
6976
|
+
*/
|
|
6977
|
+
apiV1HospitalsHospitalIdContactsGet(hospitalId: string, contactId?: string, name?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalContactsModel> {
|
|
6978
|
+
return localVarFp.apiV1HospitalsHospitalIdContactsGet(hospitalId, contactId, name, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
6979
|
+
},
|
|
6980
|
+
/**
|
|
6981
|
+
*
|
|
6982
|
+
* @summary Create hospital contact
|
|
6983
|
+
* @param {string} hospitalId
|
|
6984
|
+
* @param {CreateHospitalContactCommand} [createHospitalContactCommand]
|
|
6985
|
+
* @param {*} [options] Override http request option.
|
|
6986
|
+
* @throws {RequiredError}
|
|
6987
|
+
*/
|
|
6988
|
+
apiV1HospitalsHospitalIdContactsPost(hospitalId: string, createHospitalContactCommand?: CreateHospitalContactCommand, options?: any): AxiosPromise<HospitalContactModel> {
|
|
6989
|
+
return localVarFp.apiV1HospitalsHospitalIdContactsPost(hospitalId, createHospitalContactCommand, options).then((request) => request(axios, basePath));
|
|
6990
|
+
},
|
|
6614
6991
|
/**
|
|
6615
6992
|
*
|
|
6616
6993
|
* @summary Delete Hospital.
|
|
@@ -8097,6 +8474,153 @@ export interface HospitalsApiApiV1HospitalsHospitalIdAppointmenttimetablesGetReq
|
|
|
8097
8474
|
readonly lastRetrieved?: Date
|
|
8098
8475
|
}
|
|
8099
8476
|
|
|
8477
|
+
/**
|
|
8478
|
+
* Request parameters for apiV1HospitalsHospitalIdContactsContactIdDelete operation in HospitalsApi.
|
|
8479
|
+
* @export
|
|
8480
|
+
* @interface HospitalsApiApiV1HospitalsHospitalIdContactsContactIdDeleteRequest
|
|
8481
|
+
*/
|
|
8482
|
+
export interface HospitalsApiApiV1HospitalsHospitalIdContactsContactIdDeleteRequest {
|
|
8483
|
+
/**
|
|
8484
|
+
*
|
|
8485
|
+
* @type {string}
|
|
8486
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdContactsContactIdDelete
|
|
8487
|
+
*/
|
|
8488
|
+
readonly hospitalId: string
|
|
8489
|
+
|
|
8490
|
+
/**
|
|
8491
|
+
*
|
|
8492
|
+
* @type {string}
|
|
8493
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdContactsContactIdDelete
|
|
8494
|
+
*/
|
|
8495
|
+
readonly contactId: string
|
|
8496
|
+
}
|
|
8497
|
+
|
|
8498
|
+
/**
|
|
8499
|
+
* Request parameters for apiV1HospitalsHospitalIdContactsContactIdGet operation in HospitalsApi.
|
|
8500
|
+
* @export
|
|
8501
|
+
* @interface HospitalsApiApiV1HospitalsHospitalIdContactsContactIdGetRequest
|
|
8502
|
+
*/
|
|
8503
|
+
export interface HospitalsApiApiV1HospitalsHospitalIdContactsContactIdGetRequest {
|
|
8504
|
+
/**
|
|
8505
|
+
*
|
|
8506
|
+
* @type {string}
|
|
8507
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdContactsContactIdGet
|
|
8508
|
+
*/
|
|
8509
|
+
readonly hospitalId: string
|
|
8510
|
+
|
|
8511
|
+
/**
|
|
8512
|
+
*
|
|
8513
|
+
* @type {string}
|
|
8514
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdContactsContactIdGet
|
|
8515
|
+
*/
|
|
8516
|
+
readonly contactId: string
|
|
8517
|
+
}
|
|
8518
|
+
|
|
8519
|
+
/**
|
|
8520
|
+
* Request parameters for apiV1HospitalsHospitalIdContactsContactIdPut operation in HospitalsApi.
|
|
8521
|
+
* @export
|
|
8522
|
+
* @interface HospitalsApiApiV1HospitalsHospitalIdContactsContactIdPutRequest
|
|
8523
|
+
*/
|
|
8524
|
+
export interface HospitalsApiApiV1HospitalsHospitalIdContactsContactIdPutRequest {
|
|
8525
|
+
/**
|
|
8526
|
+
*
|
|
8527
|
+
* @type {string}
|
|
8528
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdContactsContactIdPut
|
|
8529
|
+
*/
|
|
8530
|
+
readonly hospitalId: string
|
|
8531
|
+
|
|
8532
|
+
/**
|
|
8533
|
+
*
|
|
8534
|
+
* @type {string}
|
|
8535
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdContactsContactIdPut
|
|
8536
|
+
*/
|
|
8537
|
+
readonly contactId: string
|
|
8538
|
+
|
|
8539
|
+
/**
|
|
8540
|
+
*
|
|
8541
|
+
* @type {UpdateHospitalContactCommand}
|
|
8542
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdContactsContactIdPut
|
|
8543
|
+
*/
|
|
8544
|
+
readonly updateHospitalContactCommand?: UpdateHospitalContactCommand
|
|
8545
|
+
}
|
|
8546
|
+
|
|
8547
|
+
/**
|
|
8548
|
+
* Request parameters for apiV1HospitalsHospitalIdContactsGet operation in HospitalsApi.
|
|
8549
|
+
* @export
|
|
8550
|
+
* @interface HospitalsApiApiV1HospitalsHospitalIdContactsGetRequest
|
|
8551
|
+
*/
|
|
8552
|
+
export interface HospitalsApiApiV1HospitalsHospitalIdContactsGetRequest {
|
|
8553
|
+
/**
|
|
8554
|
+
*
|
|
8555
|
+
* @type {string}
|
|
8556
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdContactsGet
|
|
8557
|
+
*/
|
|
8558
|
+
readonly hospitalId: string
|
|
8559
|
+
|
|
8560
|
+
/**
|
|
8561
|
+
*
|
|
8562
|
+
* @type {string}
|
|
8563
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdContactsGet
|
|
8564
|
+
*/
|
|
8565
|
+
readonly contactId?: string
|
|
8566
|
+
|
|
8567
|
+
/**
|
|
8568
|
+
*
|
|
8569
|
+
* @type {string}
|
|
8570
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdContactsGet
|
|
8571
|
+
*/
|
|
8572
|
+
readonly name?: string
|
|
8573
|
+
|
|
8574
|
+
/**
|
|
8575
|
+
*
|
|
8576
|
+
* @type {string}
|
|
8577
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdContactsGet
|
|
8578
|
+
*/
|
|
8579
|
+
readonly languageCode?: string
|
|
8580
|
+
|
|
8581
|
+
/**
|
|
8582
|
+
*
|
|
8583
|
+
* @type {number}
|
|
8584
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdContactsGet
|
|
8585
|
+
*/
|
|
8586
|
+
readonly page?: number
|
|
8587
|
+
|
|
8588
|
+
/**
|
|
8589
|
+
*
|
|
8590
|
+
* @type {number}
|
|
8591
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdContactsGet
|
|
8592
|
+
*/
|
|
8593
|
+
readonly limit?: number
|
|
8594
|
+
|
|
8595
|
+
/**
|
|
8596
|
+
*
|
|
8597
|
+
* @type {Date}
|
|
8598
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdContactsGet
|
|
8599
|
+
*/
|
|
8600
|
+
readonly lastRetrieved?: Date
|
|
8601
|
+
}
|
|
8602
|
+
|
|
8603
|
+
/**
|
|
8604
|
+
* Request parameters for apiV1HospitalsHospitalIdContactsPost operation in HospitalsApi.
|
|
8605
|
+
* @export
|
|
8606
|
+
* @interface HospitalsApiApiV1HospitalsHospitalIdContactsPostRequest
|
|
8607
|
+
*/
|
|
8608
|
+
export interface HospitalsApiApiV1HospitalsHospitalIdContactsPostRequest {
|
|
8609
|
+
/**
|
|
8610
|
+
*
|
|
8611
|
+
* @type {string}
|
|
8612
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdContactsPost
|
|
8613
|
+
*/
|
|
8614
|
+
readonly hospitalId: string
|
|
8615
|
+
|
|
8616
|
+
/**
|
|
8617
|
+
*
|
|
8618
|
+
* @type {CreateHospitalContactCommand}
|
|
8619
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdContactsPost
|
|
8620
|
+
*/
|
|
8621
|
+
readonly createHospitalContactCommand?: CreateHospitalContactCommand
|
|
8622
|
+
}
|
|
8623
|
+
|
|
8100
8624
|
/**
|
|
8101
8625
|
* Request parameters for apiV1HospitalsHospitalIdDelete operation in HospitalsApi.
|
|
8102
8626
|
* @export
|
|
@@ -11243,6 +11767,66 @@ export class HospitalsApi extends BaseAPI {
|
|
|
11243
11767
|
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdAppointmenttimetablesGet(requestParameters.hospitalId, requestParameters.dayOfWeek, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
11244
11768
|
}
|
|
11245
11769
|
|
|
11770
|
+
/**
|
|
11771
|
+
*
|
|
11772
|
+
* @summary Delete hospital contact
|
|
11773
|
+
* @param {HospitalsApiApiV1HospitalsHospitalIdContactsContactIdDeleteRequest} requestParameters Request parameters.
|
|
11774
|
+
* @param {*} [options] Override http request option.
|
|
11775
|
+
* @throws {RequiredError}
|
|
11776
|
+
* @memberof HospitalsApi
|
|
11777
|
+
*/
|
|
11778
|
+
public apiV1HospitalsHospitalIdContactsContactIdDelete(requestParameters: HospitalsApiApiV1HospitalsHospitalIdContactsContactIdDeleteRequest, options?: AxiosRequestConfig) {
|
|
11779
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdContactsContactIdDelete(requestParameters.hospitalId, requestParameters.contactId, options).then((request) => request(this.axios, this.basePath));
|
|
11780
|
+
}
|
|
11781
|
+
|
|
11782
|
+
/**
|
|
11783
|
+
*
|
|
11784
|
+
* @summary Get hospital contact
|
|
11785
|
+
* @param {HospitalsApiApiV1HospitalsHospitalIdContactsContactIdGetRequest} requestParameters Request parameters.
|
|
11786
|
+
* @param {*} [options] Override http request option.
|
|
11787
|
+
* @throws {RequiredError}
|
|
11788
|
+
* @memberof HospitalsApi
|
|
11789
|
+
*/
|
|
11790
|
+
public apiV1HospitalsHospitalIdContactsContactIdGet(requestParameters: HospitalsApiApiV1HospitalsHospitalIdContactsContactIdGetRequest, options?: AxiosRequestConfig) {
|
|
11791
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdContactsContactIdGet(requestParameters.hospitalId, requestParameters.contactId, options).then((request) => request(this.axios, this.basePath));
|
|
11792
|
+
}
|
|
11793
|
+
|
|
11794
|
+
/**
|
|
11795
|
+
*
|
|
11796
|
+
* @summary Update hospital contact
|
|
11797
|
+
* @param {HospitalsApiApiV1HospitalsHospitalIdContactsContactIdPutRequest} requestParameters Request parameters.
|
|
11798
|
+
* @param {*} [options] Override http request option.
|
|
11799
|
+
* @throws {RequiredError}
|
|
11800
|
+
* @memberof HospitalsApi
|
|
11801
|
+
*/
|
|
11802
|
+
public apiV1HospitalsHospitalIdContactsContactIdPut(requestParameters: HospitalsApiApiV1HospitalsHospitalIdContactsContactIdPutRequest, options?: AxiosRequestConfig) {
|
|
11803
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdContactsContactIdPut(requestParameters.hospitalId, requestParameters.contactId, requestParameters.updateHospitalContactCommand, options).then((request) => request(this.axios, this.basePath));
|
|
11804
|
+
}
|
|
11805
|
+
|
|
11806
|
+
/**
|
|
11807
|
+
*
|
|
11808
|
+
* @summary Get hospital contacts
|
|
11809
|
+
* @param {HospitalsApiApiV1HospitalsHospitalIdContactsGetRequest} requestParameters Request parameters.
|
|
11810
|
+
* @param {*} [options] Override http request option.
|
|
11811
|
+
* @throws {RequiredError}
|
|
11812
|
+
* @memberof HospitalsApi
|
|
11813
|
+
*/
|
|
11814
|
+
public apiV1HospitalsHospitalIdContactsGet(requestParameters: HospitalsApiApiV1HospitalsHospitalIdContactsGetRequest, options?: AxiosRequestConfig) {
|
|
11815
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdContactsGet(requestParameters.hospitalId, requestParameters.contactId, requestParameters.name, requestParameters.languageCode, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
11816
|
+
}
|
|
11817
|
+
|
|
11818
|
+
/**
|
|
11819
|
+
*
|
|
11820
|
+
* @summary Create hospital contact
|
|
11821
|
+
* @param {HospitalsApiApiV1HospitalsHospitalIdContactsPostRequest} requestParameters Request parameters.
|
|
11822
|
+
* @param {*} [options] Override http request option.
|
|
11823
|
+
* @throws {RequiredError}
|
|
11824
|
+
* @memberof HospitalsApi
|
|
11825
|
+
*/
|
|
11826
|
+
public apiV1HospitalsHospitalIdContactsPost(requestParameters: HospitalsApiApiV1HospitalsHospitalIdContactsPostRequest, options?: AxiosRequestConfig) {
|
|
11827
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdContactsPost(requestParameters.hospitalId, requestParameters.createHospitalContactCommand, options).then((request) => request(this.axios, this.basePath));
|
|
11828
|
+
}
|
|
11829
|
+
|
|
11246
11830
|
/**
|
|
11247
11831
|
*
|
|
11248
11832
|
* @summary Delete Hospital.
|