ch-admin-api-client-typescript 5.5.14 → 5.6.1

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.
Files changed (55) hide show
  1. package/lib/api/hospitals-api.d.ts +324 -0
  2. package/lib/api/hospitals-api.d.ts.map +1 -1
  3. package/lib/api/hospitals-api.js +485 -0
  4. package/lib/models/appointment-option-model.d.ts +7 -1
  5. package/lib/models/appointment-option-model.d.ts.map +1 -1
  6. package/lib/models/bank-account-info-item-model.d.ts +73 -0
  7. package/lib/models/bank-account-info-item-model.d.ts.map +1 -0
  8. package/lib/models/bank-account-info-item-model.js +15 -0
  9. package/lib/models/bank-account-info-model.d.ts +73 -0
  10. package/lib/models/bank-account-info-model.d.ts.map +1 -0
  11. package/lib/models/bank-account-info-model.js +15 -0
  12. package/lib/models/bank-account-infos-model.d.ts +33 -0
  13. package/lib/models/bank-account-infos-model.d.ts.map +1 -0
  14. package/lib/models/bank-account-infos-model.js +15 -0
  15. package/lib/models/create-hospital-bank-account-info-command.d.ts +61 -0
  16. package/lib/models/create-hospital-bank-account-info-command.d.ts.map +1 -0
  17. package/lib/models/create-hospital-bank-account-info-command.js +15 -0
  18. package/lib/models/create-hospital-command.d.ts +13 -0
  19. package/lib/models/create-hospital-command.d.ts.map +1 -1
  20. package/lib/models/hospital-item-model.d.ts +13 -0
  21. package/lib/models/hospital-item-model.d.ts.map +1 -1
  22. package/lib/models/hospital-model.d.ts +13 -0
  23. package/lib/models/hospital-model.d.ts.map +1 -1
  24. package/lib/models/index.d.ts +6 -0
  25. package/lib/models/index.d.ts.map +1 -1
  26. package/lib/models/index.js +6 -0
  27. package/lib/models/payment-method.d.ts +23 -0
  28. package/lib/models/payment-method.d.ts.map +1 -0
  29. package/lib/models/payment-method.js +26 -0
  30. package/lib/models/search-curation-item-input-model.d.ts +6 -0
  31. package/lib/models/search-curation-item-input-model.d.ts.map +1 -1
  32. package/lib/models/search-curation-item-model.d.ts +6 -0
  33. package/lib/models/search-curation-item-model.d.ts.map +1 -1
  34. package/lib/models/update-hospital-bank-account-info-command.d.ts +61 -0
  35. package/lib/models/update-hospital-bank-account-info-command.d.ts.map +1 -0
  36. package/lib/models/update-hospital-bank-account-info-command.js +15 -0
  37. package/lib/models/update-hospital-command.d.ts +13 -0
  38. package/lib/models/update-hospital-command.d.ts.map +1 -1
  39. package/package.json +1 -1
  40. package/src/.openapi-generator/FILES +6 -0
  41. package/src/api/hospitals-api.ts +570 -0
  42. package/src/models/appointment-option-model.ts +7 -1
  43. package/src/models/bank-account-info-item-model.ts +78 -0
  44. package/src/models/bank-account-info-model.ts +78 -0
  45. package/src/models/bank-account-infos-model.ts +42 -0
  46. package/src/models/create-hospital-bank-account-info-command.ts +66 -0
  47. package/src/models/create-hospital-command.ts +15 -0
  48. package/src/models/hospital-item-model.ts +15 -0
  49. package/src/models/hospital-model.ts +15 -0
  50. package/src/models/index.ts +6 -0
  51. package/src/models/payment-method.ts +32 -0
  52. package/src/models/search-curation-item-input-model.ts +6 -0
  53. package/src/models/search-curation-item-model.ts +6 -0
  54. package/src/models/update-hospital-bank-account-info-command.ts +66 -0
  55. package/src/models/update-hospital-command.ts +15 -0
@@ -25,6 +25,10 @@ import { AppointmentTimetableOverridesModel } from '../models';
25
25
  // @ts-ignore
26
26
  import { AppointmentTimetablesModel } from '../models';
27
27
  // @ts-ignore
28
+ import { BankAccountInfoModel } from '../models';
29
+ // @ts-ignore
30
+ import { BankAccountInfosModel } from '../models';
31
+ // @ts-ignore
28
32
  import { BatchAppointmentTimetablesResultModel } from '../models';
29
33
  // @ts-ignore
30
34
  import { BatchHospitalAppointmentTimetablesCommand } from '../models';
@@ -35,6 +39,8 @@ import { BatchServiceAppointmentTimetablesCommand } from '../models';
35
39
  // @ts-ignore
36
40
  import { CreateHospitalAccreditationCommand } from '../models';
37
41
  // @ts-ignore
42
+ import { CreateHospitalBankAccountInfoCommand } from '../models';
43
+ // @ts-ignore
38
44
  import { CreateHospitalCommand } from '../models';
39
45
  // @ts-ignore
40
46
  import { CreateHospitalContactCommand } from '../models';
@@ -163,6 +169,8 @@ import { TranslateHospitalServiceCommand } from '../models';
163
169
  // @ts-ignore
164
170
  import { TranslateHospitalSpecialtyCommand } from '../models';
165
171
  // @ts-ignore
172
+ import { UpdateHospitalBankAccountInfoCommand } from '../models';
173
+ // @ts-ignore
166
174
  import { UpdateHospitalCommand } from '../models';
167
175
  // @ts-ignore
168
176
  import { UpdateHospitalContactCommand } from '../models';
@@ -770,6 +778,243 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
770
778
  options: localVarRequestOptions,
771
779
  };
772
780
  },
781
+ /**
782
+ *
783
+ * @summary Delete bankAccountInfo
784
+ * @param {string} hospitalId
785
+ * @param {string} bankAccountInfoId
786
+ * @param {*} [options] Override http request option.
787
+ * @throws {RequiredError}
788
+ */
789
+ apiV1HospitalsHospitalIdBankaccountinfosBankAccountInfoIdDelete: async (hospitalId: string, bankAccountInfoId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
790
+ // verify required parameter 'hospitalId' is not null or undefined
791
+ assertParamExists('apiV1HospitalsHospitalIdBankaccountinfosBankAccountInfoIdDelete', 'hospitalId', hospitalId)
792
+ // verify required parameter 'bankAccountInfoId' is not null or undefined
793
+ assertParamExists('apiV1HospitalsHospitalIdBankaccountinfosBankAccountInfoIdDelete', 'bankAccountInfoId', bankAccountInfoId)
794
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/bankaccountinfos/{bankAccountInfoId}`
795
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
796
+ .replace(`{${"bankAccountInfoId"}}`, encodeURIComponent(String(bankAccountInfoId)));
797
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
798
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
799
+ let baseOptions;
800
+ if (configuration) {
801
+ baseOptions = configuration.baseOptions;
802
+ }
803
+
804
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
805
+ const localVarHeaderParameter = {} as any;
806
+ const localVarQueryParameter = {} as any;
807
+
808
+ // authentication oauth2 required
809
+ // oauth required
810
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
811
+
812
+
813
+
814
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
815
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
816
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
817
+
818
+ return {
819
+ url: toPathString(localVarUrlObj),
820
+ options: localVarRequestOptions,
821
+ };
822
+ },
823
+ /**
824
+ *
825
+ * @summary Get bankAccountInfo
826
+ * @param {string} hospitalId
827
+ * @param {string} bankAccountInfoId
828
+ * @param {*} [options] Override http request option.
829
+ * @throws {RequiredError}
830
+ */
831
+ apiV1HospitalsHospitalIdBankaccountinfosBankAccountInfoIdGet: async (hospitalId: string, bankAccountInfoId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
832
+ // verify required parameter 'hospitalId' is not null or undefined
833
+ assertParamExists('apiV1HospitalsHospitalIdBankaccountinfosBankAccountInfoIdGet', 'hospitalId', hospitalId)
834
+ // verify required parameter 'bankAccountInfoId' is not null or undefined
835
+ assertParamExists('apiV1HospitalsHospitalIdBankaccountinfosBankAccountInfoIdGet', 'bankAccountInfoId', bankAccountInfoId)
836
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/bankaccountinfos/{bankAccountInfoId}`
837
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
838
+ .replace(`{${"bankAccountInfoId"}}`, encodeURIComponent(String(bankAccountInfoId)));
839
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
840
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
841
+ let baseOptions;
842
+ if (configuration) {
843
+ baseOptions = configuration.baseOptions;
844
+ }
845
+
846
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
847
+ const localVarHeaderParameter = {} as any;
848
+ const localVarQueryParameter = {} as any;
849
+
850
+ // authentication oauth2 required
851
+ // oauth required
852
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
853
+
854
+
855
+
856
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
857
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
858
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
859
+
860
+ return {
861
+ url: toPathString(localVarUrlObj),
862
+ options: localVarRequestOptions,
863
+ };
864
+ },
865
+ /**
866
+ *
867
+ * @summary Update bankAccountInfo
868
+ * @param {string} hospitalId
869
+ * @param {string} bankAccountInfoId
870
+ * @param {UpdateHospitalBankAccountInfoCommand} [updateHospitalBankAccountInfoCommand]
871
+ * @param {*} [options] Override http request option.
872
+ * @throws {RequiredError}
873
+ */
874
+ apiV1HospitalsHospitalIdBankaccountinfosBankAccountInfoIdPut: async (hospitalId: string, bankAccountInfoId: string, updateHospitalBankAccountInfoCommand?: UpdateHospitalBankAccountInfoCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
875
+ // verify required parameter 'hospitalId' is not null or undefined
876
+ assertParamExists('apiV1HospitalsHospitalIdBankaccountinfosBankAccountInfoIdPut', 'hospitalId', hospitalId)
877
+ // verify required parameter 'bankAccountInfoId' is not null or undefined
878
+ assertParamExists('apiV1HospitalsHospitalIdBankaccountinfosBankAccountInfoIdPut', 'bankAccountInfoId', bankAccountInfoId)
879
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/bankaccountinfos/{bankAccountInfoId}`
880
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
881
+ .replace(`{${"bankAccountInfoId"}}`, encodeURIComponent(String(bankAccountInfoId)));
882
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
883
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
884
+ let baseOptions;
885
+ if (configuration) {
886
+ baseOptions = configuration.baseOptions;
887
+ }
888
+
889
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
890
+ const localVarHeaderParameter = {} as any;
891
+ const localVarQueryParameter = {} as any;
892
+
893
+ // authentication oauth2 required
894
+ // oauth required
895
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
896
+
897
+
898
+
899
+ localVarHeaderParameter['Content-Type'] = 'application/json';
900
+
901
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
902
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
903
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
904
+ localVarRequestOptions.data = serializeDataIfNeeded(updateHospitalBankAccountInfoCommand, localVarRequestOptions, configuration)
905
+
906
+ return {
907
+ url: toPathString(localVarUrlObj),
908
+ options: localVarRequestOptions,
909
+ };
910
+ },
911
+ /**
912
+ *
913
+ * @summary Get all bankAccountInfos
914
+ * @param {string} hospitalId
915
+ * @param {string} [bank]
916
+ * @param {boolean} [isEnabled]
917
+ * @param {number} [page]
918
+ * @param {number} [limit]
919
+ * @param {Date} [lastRetrieved]
920
+ * @param {*} [options] Override http request option.
921
+ * @throws {RequiredError}
922
+ */
923
+ apiV1HospitalsHospitalIdBankaccountinfosGet: async (hospitalId: string, bank?: string, isEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
924
+ // verify required parameter 'hospitalId' is not null or undefined
925
+ assertParamExists('apiV1HospitalsHospitalIdBankaccountinfosGet', 'hospitalId', hospitalId)
926
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/bankaccountinfos`
927
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
928
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
929
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
930
+ let baseOptions;
931
+ if (configuration) {
932
+ baseOptions = configuration.baseOptions;
933
+ }
934
+
935
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
936
+ const localVarHeaderParameter = {} as any;
937
+ const localVarQueryParameter = {} as any;
938
+
939
+ // authentication oauth2 required
940
+ // oauth required
941
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
942
+
943
+ if (bank !== undefined) {
944
+ localVarQueryParameter['Bank'] = bank;
945
+ }
946
+
947
+ if (isEnabled !== undefined) {
948
+ localVarQueryParameter['IsEnabled'] = isEnabled;
949
+ }
950
+
951
+ if (page !== undefined) {
952
+ localVarQueryParameter['page'] = page;
953
+ }
954
+
955
+ if (limit !== undefined) {
956
+ localVarQueryParameter['limit'] = limit;
957
+ }
958
+
959
+ if (lastRetrieved !== undefined) {
960
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
961
+ (lastRetrieved as any).toISOString() :
962
+ lastRetrieved;
963
+ }
964
+
965
+
966
+
967
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
968
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
969
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
970
+
971
+ return {
972
+ url: toPathString(localVarUrlObj),
973
+ options: localVarRequestOptions,
974
+ };
975
+ },
976
+ /**
977
+ *
978
+ * @summary Create bankAccountInfo
979
+ * @param {string} hospitalId
980
+ * @param {CreateHospitalBankAccountInfoCommand} [createHospitalBankAccountInfoCommand]
981
+ * @param {*} [options] Override http request option.
982
+ * @throws {RequiredError}
983
+ */
984
+ apiV1HospitalsHospitalIdBankaccountinfosPost: async (hospitalId: string, createHospitalBankAccountInfoCommand?: CreateHospitalBankAccountInfoCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
985
+ // verify required parameter 'hospitalId' is not null or undefined
986
+ assertParamExists('apiV1HospitalsHospitalIdBankaccountinfosPost', 'hospitalId', hospitalId)
987
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/bankaccountinfos`
988
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
989
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
990
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
991
+ let baseOptions;
992
+ if (configuration) {
993
+ baseOptions = configuration.baseOptions;
994
+ }
995
+
996
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
997
+ const localVarHeaderParameter = {} as any;
998
+ const localVarQueryParameter = {} as any;
999
+
1000
+ // authentication oauth2 required
1001
+ // oauth required
1002
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
1003
+
1004
+
1005
+
1006
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1007
+
1008
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1009
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1010
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1011
+ localVarRequestOptions.data = serializeDataIfNeeded(createHospitalBankAccountInfoCommand, localVarRequestOptions, configuration)
1012
+
1013
+ return {
1014
+ url: toPathString(localVarUrlObj),
1015
+ options: localVarRequestOptions,
1016
+ };
1017
+ },
773
1018
  /**
774
1019
  *
775
1020
  * @summary Delete hospital contact
@@ -7295,6 +7540,71 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
7295
7540
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdAppointmenttimetablesGet(hospitalId, dayOfWeek, page, limit, lastRetrieved, options);
7296
7541
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
7297
7542
  },
7543
+ /**
7544
+ *
7545
+ * @summary Delete bankAccountInfo
7546
+ * @param {string} hospitalId
7547
+ * @param {string} bankAccountInfoId
7548
+ * @param {*} [options] Override http request option.
7549
+ * @throws {RequiredError}
7550
+ */
7551
+ async apiV1HospitalsHospitalIdBankaccountinfosBankAccountInfoIdDelete(hospitalId: string, bankAccountInfoId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
7552
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdBankaccountinfosBankAccountInfoIdDelete(hospitalId, bankAccountInfoId, options);
7553
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
7554
+ },
7555
+ /**
7556
+ *
7557
+ * @summary Get bankAccountInfo
7558
+ * @param {string} hospitalId
7559
+ * @param {string} bankAccountInfoId
7560
+ * @param {*} [options] Override http request option.
7561
+ * @throws {RequiredError}
7562
+ */
7563
+ async apiV1HospitalsHospitalIdBankaccountinfosBankAccountInfoIdGet(hospitalId: string, bankAccountInfoId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BankAccountInfoModel>> {
7564
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdBankaccountinfosBankAccountInfoIdGet(hospitalId, bankAccountInfoId, options);
7565
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
7566
+ },
7567
+ /**
7568
+ *
7569
+ * @summary Update bankAccountInfo
7570
+ * @param {string} hospitalId
7571
+ * @param {string} bankAccountInfoId
7572
+ * @param {UpdateHospitalBankAccountInfoCommand} [updateHospitalBankAccountInfoCommand]
7573
+ * @param {*} [options] Override http request option.
7574
+ * @throws {RequiredError}
7575
+ */
7576
+ async apiV1HospitalsHospitalIdBankaccountinfosBankAccountInfoIdPut(hospitalId: string, bankAccountInfoId: string, updateHospitalBankAccountInfoCommand?: UpdateHospitalBankAccountInfoCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BankAccountInfoModel>> {
7577
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdBankaccountinfosBankAccountInfoIdPut(hospitalId, bankAccountInfoId, updateHospitalBankAccountInfoCommand, options);
7578
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
7579
+ },
7580
+ /**
7581
+ *
7582
+ * @summary Get all bankAccountInfos
7583
+ * @param {string} hospitalId
7584
+ * @param {string} [bank]
7585
+ * @param {boolean} [isEnabled]
7586
+ * @param {number} [page]
7587
+ * @param {number} [limit]
7588
+ * @param {Date} [lastRetrieved]
7589
+ * @param {*} [options] Override http request option.
7590
+ * @throws {RequiredError}
7591
+ */
7592
+ async apiV1HospitalsHospitalIdBankaccountinfosGet(hospitalId: string, bank?: string, isEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BankAccountInfosModel>> {
7593
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdBankaccountinfosGet(hospitalId, bank, isEnabled, page, limit, lastRetrieved, options);
7594
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
7595
+ },
7596
+ /**
7597
+ *
7598
+ * @summary Create bankAccountInfo
7599
+ * @param {string} hospitalId
7600
+ * @param {CreateHospitalBankAccountInfoCommand} [createHospitalBankAccountInfoCommand]
7601
+ * @param {*} [options] Override http request option.
7602
+ * @throws {RequiredError}
7603
+ */
7604
+ async apiV1HospitalsHospitalIdBankaccountinfosPost(hospitalId: string, createHospitalBankAccountInfoCommand?: CreateHospitalBankAccountInfoCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BankAccountInfoModel>> {
7605
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdBankaccountinfosPost(hospitalId, createHospitalBankAccountInfoCommand, options);
7606
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
7607
+ },
7298
7608
  /**
7299
7609
  *
7300
7610
  * @summary Delete hospital contact
@@ -9151,6 +9461,66 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
9151
9461
  apiV1HospitalsHospitalIdAppointmenttimetablesGet(hospitalId: string, dayOfWeek?: DayOfWeek, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<AppointmentTimetablesModel> {
9152
9462
  return localVarFp.apiV1HospitalsHospitalIdAppointmenttimetablesGet(hospitalId, dayOfWeek, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
9153
9463
  },
9464
+ /**
9465
+ *
9466
+ * @summary Delete bankAccountInfo
9467
+ * @param {string} hospitalId
9468
+ * @param {string} bankAccountInfoId
9469
+ * @param {*} [options] Override http request option.
9470
+ * @throws {RequiredError}
9471
+ */
9472
+ apiV1HospitalsHospitalIdBankaccountinfosBankAccountInfoIdDelete(hospitalId: string, bankAccountInfoId: string, options?: any): AxiosPromise<boolean> {
9473
+ return localVarFp.apiV1HospitalsHospitalIdBankaccountinfosBankAccountInfoIdDelete(hospitalId, bankAccountInfoId, options).then((request) => request(axios, basePath));
9474
+ },
9475
+ /**
9476
+ *
9477
+ * @summary Get bankAccountInfo
9478
+ * @param {string} hospitalId
9479
+ * @param {string} bankAccountInfoId
9480
+ * @param {*} [options] Override http request option.
9481
+ * @throws {RequiredError}
9482
+ */
9483
+ apiV1HospitalsHospitalIdBankaccountinfosBankAccountInfoIdGet(hospitalId: string, bankAccountInfoId: string, options?: any): AxiosPromise<BankAccountInfoModel> {
9484
+ return localVarFp.apiV1HospitalsHospitalIdBankaccountinfosBankAccountInfoIdGet(hospitalId, bankAccountInfoId, options).then((request) => request(axios, basePath));
9485
+ },
9486
+ /**
9487
+ *
9488
+ * @summary Update bankAccountInfo
9489
+ * @param {string} hospitalId
9490
+ * @param {string} bankAccountInfoId
9491
+ * @param {UpdateHospitalBankAccountInfoCommand} [updateHospitalBankAccountInfoCommand]
9492
+ * @param {*} [options] Override http request option.
9493
+ * @throws {RequiredError}
9494
+ */
9495
+ apiV1HospitalsHospitalIdBankaccountinfosBankAccountInfoIdPut(hospitalId: string, bankAccountInfoId: string, updateHospitalBankAccountInfoCommand?: UpdateHospitalBankAccountInfoCommand, options?: any): AxiosPromise<BankAccountInfoModel> {
9496
+ return localVarFp.apiV1HospitalsHospitalIdBankaccountinfosBankAccountInfoIdPut(hospitalId, bankAccountInfoId, updateHospitalBankAccountInfoCommand, options).then((request) => request(axios, basePath));
9497
+ },
9498
+ /**
9499
+ *
9500
+ * @summary Get all bankAccountInfos
9501
+ * @param {string} hospitalId
9502
+ * @param {string} [bank]
9503
+ * @param {boolean} [isEnabled]
9504
+ * @param {number} [page]
9505
+ * @param {number} [limit]
9506
+ * @param {Date} [lastRetrieved]
9507
+ * @param {*} [options] Override http request option.
9508
+ * @throws {RequiredError}
9509
+ */
9510
+ apiV1HospitalsHospitalIdBankaccountinfosGet(hospitalId: string, bank?: string, isEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<BankAccountInfosModel> {
9511
+ return localVarFp.apiV1HospitalsHospitalIdBankaccountinfosGet(hospitalId, bank, isEnabled, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
9512
+ },
9513
+ /**
9514
+ *
9515
+ * @summary Create bankAccountInfo
9516
+ * @param {string} hospitalId
9517
+ * @param {CreateHospitalBankAccountInfoCommand} [createHospitalBankAccountInfoCommand]
9518
+ * @param {*} [options] Override http request option.
9519
+ * @throws {RequiredError}
9520
+ */
9521
+ apiV1HospitalsHospitalIdBankaccountinfosPost(hospitalId: string, createHospitalBankAccountInfoCommand?: CreateHospitalBankAccountInfoCommand, options?: any): AxiosPromise<BankAccountInfoModel> {
9522
+ return localVarFp.apiV1HospitalsHospitalIdBankaccountinfosPost(hospitalId, createHospitalBankAccountInfoCommand, options).then((request) => request(axios, basePath));
9523
+ },
9154
9524
  /**
9155
9525
  *
9156
9526
  * @summary Delete hospital contact
@@ -11139,6 +11509,146 @@ export interface HospitalsApiApiV1HospitalsHospitalIdAppointmenttimetablesGetReq
11139
11509
  readonly lastRetrieved?: Date
11140
11510
  }
11141
11511
 
11512
+ /**
11513
+ * Request parameters for apiV1HospitalsHospitalIdBankaccountinfosBankAccountInfoIdDelete operation in HospitalsApi.
11514
+ * @export
11515
+ * @interface HospitalsApiApiV1HospitalsHospitalIdBankaccountinfosBankAccountInfoIdDeleteRequest
11516
+ */
11517
+ export interface HospitalsApiApiV1HospitalsHospitalIdBankaccountinfosBankAccountInfoIdDeleteRequest {
11518
+ /**
11519
+ *
11520
+ * @type {string}
11521
+ * @memberof HospitalsApiApiV1HospitalsHospitalIdBankaccountinfosBankAccountInfoIdDelete
11522
+ */
11523
+ readonly hospitalId: string
11524
+
11525
+ /**
11526
+ *
11527
+ * @type {string}
11528
+ * @memberof HospitalsApiApiV1HospitalsHospitalIdBankaccountinfosBankAccountInfoIdDelete
11529
+ */
11530
+ readonly bankAccountInfoId: string
11531
+ }
11532
+
11533
+ /**
11534
+ * Request parameters for apiV1HospitalsHospitalIdBankaccountinfosBankAccountInfoIdGet operation in HospitalsApi.
11535
+ * @export
11536
+ * @interface HospitalsApiApiV1HospitalsHospitalIdBankaccountinfosBankAccountInfoIdGetRequest
11537
+ */
11538
+ export interface HospitalsApiApiV1HospitalsHospitalIdBankaccountinfosBankAccountInfoIdGetRequest {
11539
+ /**
11540
+ *
11541
+ * @type {string}
11542
+ * @memberof HospitalsApiApiV1HospitalsHospitalIdBankaccountinfosBankAccountInfoIdGet
11543
+ */
11544
+ readonly hospitalId: string
11545
+
11546
+ /**
11547
+ *
11548
+ * @type {string}
11549
+ * @memberof HospitalsApiApiV1HospitalsHospitalIdBankaccountinfosBankAccountInfoIdGet
11550
+ */
11551
+ readonly bankAccountInfoId: string
11552
+ }
11553
+
11554
+ /**
11555
+ * Request parameters for apiV1HospitalsHospitalIdBankaccountinfosBankAccountInfoIdPut operation in HospitalsApi.
11556
+ * @export
11557
+ * @interface HospitalsApiApiV1HospitalsHospitalIdBankaccountinfosBankAccountInfoIdPutRequest
11558
+ */
11559
+ export interface HospitalsApiApiV1HospitalsHospitalIdBankaccountinfosBankAccountInfoIdPutRequest {
11560
+ /**
11561
+ *
11562
+ * @type {string}
11563
+ * @memberof HospitalsApiApiV1HospitalsHospitalIdBankaccountinfosBankAccountInfoIdPut
11564
+ */
11565
+ readonly hospitalId: string
11566
+
11567
+ /**
11568
+ *
11569
+ * @type {string}
11570
+ * @memberof HospitalsApiApiV1HospitalsHospitalIdBankaccountinfosBankAccountInfoIdPut
11571
+ */
11572
+ readonly bankAccountInfoId: string
11573
+
11574
+ /**
11575
+ *
11576
+ * @type {UpdateHospitalBankAccountInfoCommand}
11577
+ * @memberof HospitalsApiApiV1HospitalsHospitalIdBankaccountinfosBankAccountInfoIdPut
11578
+ */
11579
+ readonly updateHospitalBankAccountInfoCommand?: UpdateHospitalBankAccountInfoCommand
11580
+ }
11581
+
11582
+ /**
11583
+ * Request parameters for apiV1HospitalsHospitalIdBankaccountinfosGet operation in HospitalsApi.
11584
+ * @export
11585
+ * @interface HospitalsApiApiV1HospitalsHospitalIdBankaccountinfosGetRequest
11586
+ */
11587
+ export interface HospitalsApiApiV1HospitalsHospitalIdBankaccountinfosGetRequest {
11588
+ /**
11589
+ *
11590
+ * @type {string}
11591
+ * @memberof HospitalsApiApiV1HospitalsHospitalIdBankaccountinfosGet
11592
+ */
11593
+ readonly hospitalId: string
11594
+
11595
+ /**
11596
+ *
11597
+ * @type {string}
11598
+ * @memberof HospitalsApiApiV1HospitalsHospitalIdBankaccountinfosGet
11599
+ */
11600
+ readonly bank?: string
11601
+
11602
+ /**
11603
+ *
11604
+ * @type {boolean}
11605
+ * @memberof HospitalsApiApiV1HospitalsHospitalIdBankaccountinfosGet
11606
+ */
11607
+ readonly isEnabled?: boolean
11608
+
11609
+ /**
11610
+ *
11611
+ * @type {number}
11612
+ * @memberof HospitalsApiApiV1HospitalsHospitalIdBankaccountinfosGet
11613
+ */
11614
+ readonly page?: number
11615
+
11616
+ /**
11617
+ *
11618
+ * @type {number}
11619
+ * @memberof HospitalsApiApiV1HospitalsHospitalIdBankaccountinfosGet
11620
+ */
11621
+ readonly limit?: number
11622
+
11623
+ /**
11624
+ *
11625
+ * @type {Date}
11626
+ * @memberof HospitalsApiApiV1HospitalsHospitalIdBankaccountinfosGet
11627
+ */
11628
+ readonly lastRetrieved?: Date
11629
+ }
11630
+
11631
+ /**
11632
+ * Request parameters for apiV1HospitalsHospitalIdBankaccountinfosPost operation in HospitalsApi.
11633
+ * @export
11634
+ * @interface HospitalsApiApiV1HospitalsHospitalIdBankaccountinfosPostRequest
11635
+ */
11636
+ export interface HospitalsApiApiV1HospitalsHospitalIdBankaccountinfosPostRequest {
11637
+ /**
11638
+ *
11639
+ * @type {string}
11640
+ * @memberof HospitalsApiApiV1HospitalsHospitalIdBankaccountinfosPost
11641
+ */
11642
+ readonly hospitalId: string
11643
+
11644
+ /**
11645
+ *
11646
+ * @type {CreateHospitalBankAccountInfoCommand}
11647
+ * @memberof HospitalsApiApiV1HospitalsHospitalIdBankaccountinfosPost
11648
+ */
11649
+ readonly createHospitalBankAccountInfoCommand?: CreateHospitalBankAccountInfoCommand
11650
+ }
11651
+
11142
11652
  /**
11143
11653
  * Request parameters for apiV1HospitalsHospitalIdContactsContactIdDelete operation in HospitalsApi.
11144
11654
  * @export
@@ -15480,6 +15990,66 @@ export class HospitalsApi extends BaseAPI {
15480
15990
  return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdAppointmenttimetablesGet(requestParameters.hospitalId, requestParameters.dayOfWeek, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
15481
15991
  }
15482
15992
 
15993
+ /**
15994
+ *
15995
+ * @summary Delete bankAccountInfo
15996
+ * @param {HospitalsApiApiV1HospitalsHospitalIdBankaccountinfosBankAccountInfoIdDeleteRequest} requestParameters Request parameters.
15997
+ * @param {*} [options] Override http request option.
15998
+ * @throws {RequiredError}
15999
+ * @memberof HospitalsApi
16000
+ */
16001
+ public apiV1HospitalsHospitalIdBankaccountinfosBankAccountInfoIdDelete(requestParameters: HospitalsApiApiV1HospitalsHospitalIdBankaccountinfosBankAccountInfoIdDeleteRequest, options?: AxiosRequestConfig) {
16002
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdBankaccountinfosBankAccountInfoIdDelete(requestParameters.hospitalId, requestParameters.bankAccountInfoId, options).then((request) => request(this.axios, this.basePath));
16003
+ }
16004
+
16005
+ /**
16006
+ *
16007
+ * @summary Get bankAccountInfo
16008
+ * @param {HospitalsApiApiV1HospitalsHospitalIdBankaccountinfosBankAccountInfoIdGetRequest} requestParameters Request parameters.
16009
+ * @param {*} [options] Override http request option.
16010
+ * @throws {RequiredError}
16011
+ * @memberof HospitalsApi
16012
+ */
16013
+ public apiV1HospitalsHospitalIdBankaccountinfosBankAccountInfoIdGet(requestParameters: HospitalsApiApiV1HospitalsHospitalIdBankaccountinfosBankAccountInfoIdGetRequest, options?: AxiosRequestConfig) {
16014
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdBankaccountinfosBankAccountInfoIdGet(requestParameters.hospitalId, requestParameters.bankAccountInfoId, options).then((request) => request(this.axios, this.basePath));
16015
+ }
16016
+
16017
+ /**
16018
+ *
16019
+ * @summary Update bankAccountInfo
16020
+ * @param {HospitalsApiApiV1HospitalsHospitalIdBankaccountinfosBankAccountInfoIdPutRequest} requestParameters Request parameters.
16021
+ * @param {*} [options] Override http request option.
16022
+ * @throws {RequiredError}
16023
+ * @memberof HospitalsApi
16024
+ */
16025
+ public apiV1HospitalsHospitalIdBankaccountinfosBankAccountInfoIdPut(requestParameters: HospitalsApiApiV1HospitalsHospitalIdBankaccountinfosBankAccountInfoIdPutRequest, options?: AxiosRequestConfig) {
16026
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdBankaccountinfosBankAccountInfoIdPut(requestParameters.hospitalId, requestParameters.bankAccountInfoId, requestParameters.updateHospitalBankAccountInfoCommand, options).then((request) => request(this.axios, this.basePath));
16027
+ }
16028
+
16029
+ /**
16030
+ *
16031
+ * @summary Get all bankAccountInfos
16032
+ * @param {HospitalsApiApiV1HospitalsHospitalIdBankaccountinfosGetRequest} requestParameters Request parameters.
16033
+ * @param {*} [options] Override http request option.
16034
+ * @throws {RequiredError}
16035
+ * @memberof HospitalsApi
16036
+ */
16037
+ public apiV1HospitalsHospitalIdBankaccountinfosGet(requestParameters: HospitalsApiApiV1HospitalsHospitalIdBankaccountinfosGetRequest, options?: AxiosRequestConfig) {
16038
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdBankaccountinfosGet(requestParameters.hospitalId, requestParameters.bank, requestParameters.isEnabled, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
16039
+ }
16040
+
16041
+ /**
16042
+ *
16043
+ * @summary Create bankAccountInfo
16044
+ * @param {HospitalsApiApiV1HospitalsHospitalIdBankaccountinfosPostRequest} requestParameters Request parameters.
16045
+ * @param {*} [options] Override http request option.
16046
+ * @throws {RequiredError}
16047
+ * @memberof HospitalsApi
16048
+ */
16049
+ public apiV1HospitalsHospitalIdBankaccountinfosPost(requestParameters: HospitalsApiApiV1HospitalsHospitalIdBankaccountinfosPostRequest, options?: AxiosRequestConfig) {
16050
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdBankaccountinfosPost(requestParameters.hospitalId, requestParameters.createHospitalBankAccountInfoCommand, options).then((request) => request(this.axios, this.basePath));
16051
+ }
16052
+
15483
16053
  /**
15484
16054
  *
15485
16055
  * @summary Delete hospital contact
@@ -37,7 +37,13 @@ export interface AppointmentOptionModel {
37
37
  * @type {number}
38
38
  * @memberof AppointmentOptionModel
39
39
  */
40
- 'appointmentFee'?: number | null;
40
+ 'onlineFee'?: number | null;
41
+ /**
42
+ *
43
+ * @type {number}
44
+ * @memberof AppointmentOptionModel
45
+ */
46
+ 'offlineFee'?: number | null;
41
47
  /**
42
48
  *
43
49
  * @type {boolean}