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
@@ -680,6 +680,261 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
680
680
  });
681
681
  });
682
682
  },
683
+ /**
684
+ *
685
+ * @summary Delete bankAccountInfo
686
+ * @param {string} hospitalId
687
+ * @param {string} bankAccountInfoId
688
+ * @param {*} [options] Override http request option.
689
+ * @throws {RequiredError}
690
+ */
691
+ apiV1HospitalsHospitalIdBankaccountinfosBankAccountInfoIdDelete: function (hospitalId, bankAccountInfoId, options) {
692
+ if (options === void 0) { options = {}; }
693
+ return __awaiter(_this, void 0, void 0, function () {
694
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
695
+ return __generator(this, function (_a) {
696
+ switch (_a.label) {
697
+ case 0:
698
+ // verify required parameter 'hospitalId' is not null or undefined
699
+ (0, common_1.assertParamExists)('apiV1HospitalsHospitalIdBankaccountinfosBankAccountInfoIdDelete', 'hospitalId', hospitalId);
700
+ // verify required parameter 'bankAccountInfoId' is not null or undefined
701
+ (0, common_1.assertParamExists)('apiV1HospitalsHospitalIdBankaccountinfosBankAccountInfoIdDelete', 'bankAccountInfoId', bankAccountInfoId);
702
+ localVarPath = "/api/v1/hospitals/{hospitalId}/bankaccountinfos/{bankAccountInfoId}"
703
+ .replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)))
704
+ .replace("{".concat("bankAccountInfoId", "}"), encodeURIComponent(String(bankAccountInfoId)));
705
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
706
+ if (configuration) {
707
+ baseOptions = configuration.baseOptions;
708
+ }
709
+ localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
710
+ localVarHeaderParameter = {};
711
+ localVarQueryParameter = {};
712
+ // authentication oauth2 required
713
+ // oauth required
714
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
715
+ case 1:
716
+ // authentication oauth2 required
717
+ // oauth required
718
+ _a.sent();
719
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
720
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
721
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
722
+ return [2 /*return*/, {
723
+ url: (0, common_1.toPathString)(localVarUrlObj),
724
+ options: localVarRequestOptions,
725
+ }];
726
+ }
727
+ });
728
+ });
729
+ },
730
+ /**
731
+ *
732
+ * @summary Get bankAccountInfo
733
+ * @param {string} hospitalId
734
+ * @param {string} bankAccountInfoId
735
+ * @param {*} [options] Override http request option.
736
+ * @throws {RequiredError}
737
+ */
738
+ apiV1HospitalsHospitalIdBankaccountinfosBankAccountInfoIdGet: function (hospitalId, bankAccountInfoId, options) {
739
+ if (options === void 0) { options = {}; }
740
+ return __awaiter(_this, void 0, void 0, function () {
741
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
742
+ return __generator(this, function (_a) {
743
+ switch (_a.label) {
744
+ case 0:
745
+ // verify required parameter 'hospitalId' is not null or undefined
746
+ (0, common_1.assertParamExists)('apiV1HospitalsHospitalIdBankaccountinfosBankAccountInfoIdGet', 'hospitalId', hospitalId);
747
+ // verify required parameter 'bankAccountInfoId' is not null or undefined
748
+ (0, common_1.assertParamExists)('apiV1HospitalsHospitalIdBankaccountinfosBankAccountInfoIdGet', 'bankAccountInfoId', bankAccountInfoId);
749
+ localVarPath = "/api/v1/hospitals/{hospitalId}/bankaccountinfos/{bankAccountInfoId}"
750
+ .replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)))
751
+ .replace("{".concat("bankAccountInfoId", "}"), encodeURIComponent(String(bankAccountInfoId)));
752
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
753
+ if (configuration) {
754
+ baseOptions = configuration.baseOptions;
755
+ }
756
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
757
+ localVarHeaderParameter = {};
758
+ localVarQueryParameter = {};
759
+ // authentication oauth2 required
760
+ // oauth required
761
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
762
+ case 1:
763
+ // authentication oauth2 required
764
+ // oauth required
765
+ _a.sent();
766
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
767
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
768
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
769
+ return [2 /*return*/, {
770
+ url: (0, common_1.toPathString)(localVarUrlObj),
771
+ options: localVarRequestOptions,
772
+ }];
773
+ }
774
+ });
775
+ });
776
+ },
777
+ /**
778
+ *
779
+ * @summary Update bankAccountInfo
780
+ * @param {string} hospitalId
781
+ * @param {string} bankAccountInfoId
782
+ * @param {UpdateHospitalBankAccountInfoCommand} [updateHospitalBankAccountInfoCommand]
783
+ * @param {*} [options] Override http request option.
784
+ * @throws {RequiredError}
785
+ */
786
+ apiV1HospitalsHospitalIdBankaccountinfosBankAccountInfoIdPut: function (hospitalId, bankAccountInfoId, updateHospitalBankAccountInfoCommand, options) {
787
+ if (options === void 0) { options = {}; }
788
+ return __awaiter(_this, void 0, void 0, function () {
789
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
790
+ return __generator(this, function (_a) {
791
+ switch (_a.label) {
792
+ case 0:
793
+ // verify required parameter 'hospitalId' is not null or undefined
794
+ (0, common_1.assertParamExists)('apiV1HospitalsHospitalIdBankaccountinfosBankAccountInfoIdPut', 'hospitalId', hospitalId);
795
+ // verify required parameter 'bankAccountInfoId' is not null or undefined
796
+ (0, common_1.assertParamExists)('apiV1HospitalsHospitalIdBankaccountinfosBankAccountInfoIdPut', 'bankAccountInfoId', bankAccountInfoId);
797
+ localVarPath = "/api/v1/hospitals/{hospitalId}/bankaccountinfos/{bankAccountInfoId}"
798
+ .replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)))
799
+ .replace("{".concat("bankAccountInfoId", "}"), encodeURIComponent(String(bankAccountInfoId)));
800
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
801
+ if (configuration) {
802
+ baseOptions = configuration.baseOptions;
803
+ }
804
+ localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
805
+ localVarHeaderParameter = {};
806
+ localVarQueryParameter = {};
807
+ // authentication oauth2 required
808
+ // oauth required
809
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
810
+ case 1:
811
+ // authentication oauth2 required
812
+ // oauth required
813
+ _a.sent();
814
+ localVarHeaderParameter['Content-Type'] = 'application/json';
815
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
816
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
817
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
818
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateHospitalBankAccountInfoCommand, localVarRequestOptions, configuration);
819
+ return [2 /*return*/, {
820
+ url: (0, common_1.toPathString)(localVarUrlObj),
821
+ options: localVarRequestOptions,
822
+ }];
823
+ }
824
+ });
825
+ });
826
+ },
827
+ /**
828
+ *
829
+ * @summary Get all bankAccountInfos
830
+ * @param {string} hospitalId
831
+ * @param {string} [bank]
832
+ * @param {boolean} [isEnabled]
833
+ * @param {number} [page]
834
+ * @param {number} [limit]
835
+ * @param {Date} [lastRetrieved]
836
+ * @param {*} [options] Override http request option.
837
+ * @throws {RequiredError}
838
+ */
839
+ apiV1HospitalsHospitalIdBankaccountinfosGet: function (hospitalId, bank, isEnabled, page, limit, lastRetrieved, options) {
840
+ if (options === void 0) { options = {}; }
841
+ return __awaiter(_this, void 0, void 0, function () {
842
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
843
+ return __generator(this, function (_a) {
844
+ switch (_a.label) {
845
+ case 0:
846
+ // verify required parameter 'hospitalId' is not null or undefined
847
+ (0, common_1.assertParamExists)('apiV1HospitalsHospitalIdBankaccountinfosGet', 'hospitalId', hospitalId);
848
+ localVarPath = "/api/v1/hospitals/{hospitalId}/bankaccountinfos"
849
+ .replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)));
850
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
851
+ if (configuration) {
852
+ baseOptions = configuration.baseOptions;
853
+ }
854
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
855
+ localVarHeaderParameter = {};
856
+ localVarQueryParameter = {};
857
+ // authentication oauth2 required
858
+ // oauth required
859
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
860
+ case 1:
861
+ // authentication oauth2 required
862
+ // oauth required
863
+ _a.sent();
864
+ if (bank !== undefined) {
865
+ localVarQueryParameter['Bank'] = bank;
866
+ }
867
+ if (isEnabled !== undefined) {
868
+ localVarQueryParameter['IsEnabled'] = isEnabled;
869
+ }
870
+ if (page !== undefined) {
871
+ localVarQueryParameter['page'] = page;
872
+ }
873
+ if (limit !== undefined) {
874
+ localVarQueryParameter['limit'] = limit;
875
+ }
876
+ if (lastRetrieved !== undefined) {
877
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
878
+ lastRetrieved.toISOString() :
879
+ lastRetrieved;
880
+ }
881
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
882
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
883
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
884
+ return [2 /*return*/, {
885
+ url: (0, common_1.toPathString)(localVarUrlObj),
886
+ options: localVarRequestOptions,
887
+ }];
888
+ }
889
+ });
890
+ });
891
+ },
892
+ /**
893
+ *
894
+ * @summary Create bankAccountInfo
895
+ * @param {string} hospitalId
896
+ * @param {CreateHospitalBankAccountInfoCommand} [createHospitalBankAccountInfoCommand]
897
+ * @param {*} [options] Override http request option.
898
+ * @throws {RequiredError}
899
+ */
900
+ apiV1HospitalsHospitalIdBankaccountinfosPost: function (hospitalId, createHospitalBankAccountInfoCommand, options) {
901
+ if (options === void 0) { options = {}; }
902
+ return __awaiter(_this, void 0, void 0, function () {
903
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
904
+ return __generator(this, function (_a) {
905
+ switch (_a.label) {
906
+ case 0:
907
+ // verify required parameter 'hospitalId' is not null or undefined
908
+ (0, common_1.assertParamExists)('apiV1HospitalsHospitalIdBankaccountinfosPost', 'hospitalId', hospitalId);
909
+ localVarPath = "/api/v1/hospitals/{hospitalId}/bankaccountinfos"
910
+ .replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)));
911
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
912
+ if (configuration) {
913
+ baseOptions = configuration.baseOptions;
914
+ }
915
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
916
+ localVarHeaderParameter = {};
917
+ localVarQueryParameter = {};
918
+ // authentication oauth2 required
919
+ // oauth required
920
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
921
+ case 1:
922
+ // authentication oauth2 required
923
+ // oauth required
924
+ _a.sent();
925
+ localVarHeaderParameter['Content-Type'] = 'application/json';
926
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
927
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
928
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
929
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createHospitalBankAccountInfoCommand, localVarRequestOptions, configuration);
930
+ return [2 /*return*/, {
931
+ url: (0, common_1.toPathString)(localVarUrlObj),
932
+ options: localVarRequestOptions,
933
+ }];
934
+ }
935
+ });
936
+ });
937
+ },
683
938
  /**
684
939
  *
685
940
  * @summary Delete hospital contact
@@ -7666,6 +7921,116 @@ var HospitalsApiFp = function (configuration) {
7666
7921
  });
7667
7922
  });
7668
7923
  },
7924
+ /**
7925
+ *
7926
+ * @summary Delete bankAccountInfo
7927
+ * @param {string} hospitalId
7928
+ * @param {string} bankAccountInfoId
7929
+ * @param {*} [options] Override http request option.
7930
+ * @throws {RequiredError}
7931
+ */
7932
+ apiV1HospitalsHospitalIdBankaccountinfosBankAccountInfoIdDelete: function (hospitalId, bankAccountInfoId, options) {
7933
+ return __awaiter(this, void 0, void 0, function () {
7934
+ var localVarAxiosArgs;
7935
+ return __generator(this, function (_a) {
7936
+ switch (_a.label) {
7937
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdBankaccountinfosBankAccountInfoIdDelete(hospitalId, bankAccountInfoId, options)];
7938
+ case 1:
7939
+ localVarAxiosArgs = _a.sent();
7940
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
7941
+ }
7942
+ });
7943
+ });
7944
+ },
7945
+ /**
7946
+ *
7947
+ * @summary Get bankAccountInfo
7948
+ * @param {string} hospitalId
7949
+ * @param {string} bankAccountInfoId
7950
+ * @param {*} [options] Override http request option.
7951
+ * @throws {RequiredError}
7952
+ */
7953
+ apiV1HospitalsHospitalIdBankaccountinfosBankAccountInfoIdGet: function (hospitalId, bankAccountInfoId, options) {
7954
+ return __awaiter(this, void 0, void 0, function () {
7955
+ var localVarAxiosArgs;
7956
+ return __generator(this, function (_a) {
7957
+ switch (_a.label) {
7958
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdBankaccountinfosBankAccountInfoIdGet(hospitalId, bankAccountInfoId, options)];
7959
+ case 1:
7960
+ localVarAxiosArgs = _a.sent();
7961
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
7962
+ }
7963
+ });
7964
+ });
7965
+ },
7966
+ /**
7967
+ *
7968
+ * @summary Update bankAccountInfo
7969
+ * @param {string} hospitalId
7970
+ * @param {string} bankAccountInfoId
7971
+ * @param {UpdateHospitalBankAccountInfoCommand} [updateHospitalBankAccountInfoCommand]
7972
+ * @param {*} [options] Override http request option.
7973
+ * @throws {RequiredError}
7974
+ */
7975
+ apiV1HospitalsHospitalIdBankaccountinfosBankAccountInfoIdPut: function (hospitalId, bankAccountInfoId, updateHospitalBankAccountInfoCommand, options) {
7976
+ return __awaiter(this, void 0, void 0, function () {
7977
+ var localVarAxiosArgs;
7978
+ return __generator(this, function (_a) {
7979
+ switch (_a.label) {
7980
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdBankaccountinfosBankAccountInfoIdPut(hospitalId, bankAccountInfoId, updateHospitalBankAccountInfoCommand, options)];
7981
+ case 1:
7982
+ localVarAxiosArgs = _a.sent();
7983
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
7984
+ }
7985
+ });
7986
+ });
7987
+ },
7988
+ /**
7989
+ *
7990
+ * @summary Get all bankAccountInfos
7991
+ * @param {string} hospitalId
7992
+ * @param {string} [bank]
7993
+ * @param {boolean} [isEnabled]
7994
+ * @param {number} [page]
7995
+ * @param {number} [limit]
7996
+ * @param {Date} [lastRetrieved]
7997
+ * @param {*} [options] Override http request option.
7998
+ * @throws {RequiredError}
7999
+ */
8000
+ apiV1HospitalsHospitalIdBankaccountinfosGet: function (hospitalId, bank, isEnabled, page, limit, lastRetrieved, options) {
8001
+ return __awaiter(this, void 0, void 0, function () {
8002
+ var localVarAxiosArgs;
8003
+ return __generator(this, function (_a) {
8004
+ switch (_a.label) {
8005
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdBankaccountinfosGet(hospitalId, bank, isEnabled, page, limit, lastRetrieved, options)];
8006
+ case 1:
8007
+ localVarAxiosArgs = _a.sent();
8008
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
8009
+ }
8010
+ });
8011
+ });
8012
+ },
8013
+ /**
8014
+ *
8015
+ * @summary Create bankAccountInfo
8016
+ * @param {string} hospitalId
8017
+ * @param {CreateHospitalBankAccountInfoCommand} [createHospitalBankAccountInfoCommand]
8018
+ * @param {*} [options] Override http request option.
8019
+ * @throws {RequiredError}
8020
+ */
8021
+ apiV1HospitalsHospitalIdBankaccountinfosPost: function (hospitalId, createHospitalBankAccountInfoCommand, options) {
8022
+ return __awaiter(this, void 0, void 0, function () {
8023
+ var localVarAxiosArgs;
8024
+ return __generator(this, function (_a) {
8025
+ switch (_a.label) {
8026
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdBankaccountinfosPost(hospitalId, createHospitalBankAccountInfoCommand, options)];
8027
+ case 1:
8028
+ localVarAxiosArgs = _a.sent();
8029
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
8030
+ }
8031
+ });
8032
+ });
8033
+ },
7669
8034
  /**
7670
8035
  *
7671
8036
  * @summary Delete hospital contact
@@ -10629,6 +10994,66 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
10629
10994
  apiV1HospitalsHospitalIdAppointmenttimetablesGet: function (hospitalId, dayOfWeek, page, limit, lastRetrieved, options) {
10630
10995
  return localVarFp.apiV1HospitalsHospitalIdAppointmenttimetablesGet(hospitalId, dayOfWeek, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
10631
10996
  },
10997
+ /**
10998
+ *
10999
+ * @summary Delete bankAccountInfo
11000
+ * @param {string} hospitalId
11001
+ * @param {string} bankAccountInfoId
11002
+ * @param {*} [options] Override http request option.
11003
+ * @throws {RequiredError}
11004
+ */
11005
+ apiV1HospitalsHospitalIdBankaccountinfosBankAccountInfoIdDelete: function (hospitalId, bankAccountInfoId, options) {
11006
+ return localVarFp.apiV1HospitalsHospitalIdBankaccountinfosBankAccountInfoIdDelete(hospitalId, bankAccountInfoId, options).then(function (request) { return request(axios, basePath); });
11007
+ },
11008
+ /**
11009
+ *
11010
+ * @summary Get bankAccountInfo
11011
+ * @param {string} hospitalId
11012
+ * @param {string} bankAccountInfoId
11013
+ * @param {*} [options] Override http request option.
11014
+ * @throws {RequiredError}
11015
+ */
11016
+ apiV1HospitalsHospitalIdBankaccountinfosBankAccountInfoIdGet: function (hospitalId, bankAccountInfoId, options) {
11017
+ return localVarFp.apiV1HospitalsHospitalIdBankaccountinfosBankAccountInfoIdGet(hospitalId, bankAccountInfoId, options).then(function (request) { return request(axios, basePath); });
11018
+ },
11019
+ /**
11020
+ *
11021
+ * @summary Update bankAccountInfo
11022
+ * @param {string} hospitalId
11023
+ * @param {string} bankAccountInfoId
11024
+ * @param {UpdateHospitalBankAccountInfoCommand} [updateHospitalBankAccountInfoCommand]
11025
+ * @param {*} [options] Override http request option.
11026
+ * @throws {RequiredError}
11027
+ */
11028
+ apiV1HospitalsHospitalIdBankaccountinfosBankAccountInfoIdPut: function (hospitalId, bankAccountInfoId, updateHospitalBankAccountInfoCommand, options) {
11029
+ return localVarFp.apiV1HospitalsHospitalIdBankaccountinfosBankAccountInfoIdPut(hospitalId, bankAccountInfoId, updateHospitalBankAccountInfoCommand, options).then(function (request) { return request(axios, basePath); });
11030
+ },
11031
+ /**
11032
+ *
11033
+ * @summary Get all bankAccountInfos
11034
+ * @param {string} hospitalId
11035
+ * @param {string} [bank]
11036
+ * @param {boolean} [isEnabled]
11037
+ * @param {number} [page]
11038
+ * @param {number} [limit]
11039
+ * @param {Date} [lastRetrieved]
11040
+ * @param {*} [options] Override http request option.
11041
+ * @throws {RequiredError}
11042
+ */
11043
+ apiV1HospitalsHospitalIdBankaccountinfosGet: function (hospitalId, bank, isEnabled, page, limit, lastRetrieved, options) {
11044
+ return localVarFp.apiV1HospitalsHospitalIdBankaccountinfosGet(hospitalId, bank, isEnabled, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
11045
+ },
11046
+ /**
11047
+ *
11048
+ * @summary Create bankAccountInfo
11049
+ * @param {string} hospitalId
11050
+ * @param {CreateHospitalBankAccountInfoCommand} [createHospitalBankAccountInfoCommand]
11051
+ * @param {*} [options] Override http request option.
11052
+ * @throws {RequiredError}
11053
+ */
11054
+ apiV1HospitalsHospitalIdBankaccountinfosPost: function (hospitalId, createHospitalBankAccountInfoCommand, options) {
11055
+ return localVarFp.apiV1HospitalsHospitalIdBankaccountinfosPost(hospitalId, createHospitalBankAccountInfoCommand, options).then(function (request) { return request(axios, basePath); });
11056
+ },
10632
11057
  /**
10633
11058
  *
10634
11059
  * @summary Delete hospital contact
@@ -12350,6 +12775,66 @@ var HospitalsApi = /** @class */ (function (_super) {
12350
12775
  var _this = this;
12351
12776
  return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdAppointmenttimetablesGet(requestParameters.hospitalId, requestParameters.dayOfWeek, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
12352
12777
  };
12778
+ /**
12779
+ *
12780
+ * @summary Delete bankAccountInfo
12781
+ * @param {HospitalsApiApiV1HospitalsHospitalIdBankaccountinfosBankAccountInfoIdDeleteRequest} requestParameters Request parameters.
12782
+ * @param {*} [options] Override http request option.
12783
+ * @throws {RequiredError}
12784
+ * @memberof HospitalsApi
12785
+ */
12786
+ HospitalsApi.prototype.apiV1HospitalsHospitalIdBankaccountinfosBankAccountInfoIdDelete = function (requestParameters, options) {
12787
+ var _this = this;
12788
+ return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdBankaccountinfosBankAccountInfoIdDelete(requestParameters.hospitalId, requestParameters.bankAccountInfoId, options).then(function (request) { return request(_this.axios, _this.basePath); });
12789
+ };
12790
+ /**
12791
+ *
12792
+ * @summary Get bankAccountInfo
12793
+ * @param {HospitalsApiApiV1HospitalsHospitalIdBankaccountinfosBankAccountInfoIdGetRequest} requestParameters Request parameters.
12794
+ * @param {*} [options] Override http request option.
12795
+ * @throws {RequiredError}
12796
+ * @memberof HospitalsApi
12797
+ */
12798
+ HospitalsApi.prototype.apiV1HospitalsHospitalIdBankaccountinfosBankAccountInfoIdGet = function (requestParameters, options) {
12799
+ var _this = this;
12800
+ return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdBankaccountinfosBankAccountInfoIdGet(requestParameters.hospitalId, requestParameters.bankAccountInfoId, options).then(function (request) { return request(_this.axios, _this.basePath); });
12801
+ };
12802
+ /**
12803
+ *
12804
+ * @summary Update bankAccountInfo
12805
+ * @param {HospitalsApiApiV1HospitalsHospitalIdBankaccountinfosBankAccountInfoIdPutRequest} requestParameters Request parameters.
12806
+ * @param {*} [options] Override http request option.
12807
+ * @throws {RequiredError}
12808
+ * @memberof HospitalsApi
12809
+ */
12810
+ HospitalsApi.prototype.apiV1HospitalsHospitalIdBankaccountinfosBankAccountInfoIdPut = function (requestParameters, options) {
12811
+ var _this = this;
12812
+ return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdBankaccountinfosBankAccountInfoIdPut(requestParameters.hospitalId, requestParameters.bankAccountInfoId, requestParameters.updateHospitalBankAccountInfoCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
12813
+ };
12814
+ /**
12815
+ *
12816
+ * @summary Get all bankAccountInfos
12817
+ * @param {HospitalsApiApiV1HospitalsHospitalIdBankaccountinfosGetRequest} requestParameters Request parameters.
12818
+ * @param {*} [options] Override http request option.
12819
+ * @throws {RequiredError}
12820
+ * @memberof HospitalsApi
12821
+ */
12822
+ HospitalsApi.prototype.apiV1HospitalsHospitalIdBankaccountinfosGet = function (requestParameters, options) {
12823
+ var _this = this;
12824
+ return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdBankaccountinfosGet(requestParameters.hospitalId, requestParameters.bank, requestParameters.isEnabled, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
12825
+ };
12826
+ /**
12827
+ *
12828
+ * @summary Create bankAccountInfo
12829
+ * @param {HospitalsApiApiV1HospitalsHospitalIdBankaccountinfosPostRequest} requestParameters Request parameters.
12830
+ * @param {*} [options] Override http request option.
12831
+ * @throws {RequiredError}
12832
+ * @memberof HospitalsApi
12833
+ */
12834
+ HospitalsApi.prototype.apiV1HospitalsHospitalIdBankaccountinfosPost = function (requestParameters, options) {
12835
+ var _this = this;
12836
+ return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdBankaccountinfosPost(requestParameters.hospitalId, requestParameters.createHospitalBankAccountInfoCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
12837
+ };
12353
12838
  /**
12354
12839
  *
12355
12840
  * @summary Delete hospital contact
@@ -28,7 +28,13 @@ export interface AppointmentOptionModel {
28
28
  * @type {number}
29
29
  * @memberof AppointmentOptionModel
30
30
  */
31
- 'appointmentFee'?: number | null;
31
+ 'onlineFee'?: number | null;
32
+ /**
33
+ *
34
+ * @type {number}
35
+ * @memberof AppointmentOptionModel
36
+ */
37
+ 'offlineFee'?: number | null;
32
38
  /**
33
39
  *
34
40
  * @type {boolean}
@@ -1 +1 @@
1
- {"version":3,"file":"appointment-option-model.d.ts","sourceRoot":"","sources":["../../src/models/appointment-option-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,EAAE,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;AAG1E,OAAO,EAAE,iCAAiC,EAAE,MAAM,wCAAwC,CAAC;AAE3F;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACnC;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC;;;;OAIG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB;;;;OAIG;IACH,0BAA0B,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3C;;;;OAIG;IACH,yBAAyB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1C;;;;OAIG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,yBAAyB,CAAC,GAAG,IAAI,CAAC;IACvD;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,KAAK,CAAC,iCAAiC,CAAC,GAAG,IAAI,CAAC;CAC1E"}
1
+ {"version":3,"file":"appointment-option-model.d.ts","sourceRoot":"","sources":["../../src/models/appointment-option-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,EAAE,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;AAG1E,OAAO,EAAE,iCAAiC,EAAE,MAAM,wCAAwC,CAAC;AAE3F;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACnC;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B;;;;OAIG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB;;;;OAIG;IACH,0BAA0B,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3C;;;;OAIG;IACH,yBAAyB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1C;;;;OAIG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,yBAAyB,CAAC,GAAG,IAAI,CAAC;IACvD;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,KAAK,CAAC,iCAAiC,CAAC,GAAG,IAAI,CAAC;CAC1E"}
@@ -0,0 +1,73 @@
1
+ /**
2
+ * Swagger UI - Cloud Hospital Admin Api-INT
3
+ * Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
4
+ *
5
+ * The version of the OpenAPI document: 1
6
+ * Contact: hyounoosung@icloudhospital.com
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface BankAccountInfoItemModel
16
+ */
17
+ export interface BankAccountInfoItemModel {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof BankAccountInfoItemModel
22
+ */
23
+ 'id'?: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof BankAccountInfoItemModel
28
+ */
29
+ 'hospitalId'?: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof BankAccountInfoItemModel
34
+ */
35
+ 'bank'?: string | null;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof BankAccountInfoItemModel
40
+ */
41
+ 'accountNumber'?: string | null;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof BankAccountInfoItemModel
46
+ */
47
+ 'depositor'?: string | null;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof BankAccountInfoItemModel
52
+ */
53
+ 'swiftCode'?: string | null;
54
+ /**
55
+ *
56
+ * @type {string}
57
+ * @memberof BankAccountInfoItemModel
58
+ */
59
+ 'additionalNote'?: string | null;
60
+ /**
61
+ *
62
+ * @type {boolean}
63
+ * @memberof BankAccountInfoItemModel
64
+ */
65
+ 'isEnabled'?: boolean;
66
+ /**
67
+ *
68
+ * @type {number}
69
+ * @memberof BankAccountInfoItemModel
70
+ */
71
+ 'order'?: number;
72
+ }
73
+ //# sourceMappingURL=bank-account-info-item-model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bank-account-info-item-model.d.ts","sourceRoot":"","sources":["../../src/models/bank-account-info-item-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,wBAAwB;IACrC;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB"}
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Swagger UI - Cloud Hospital Admin Api-INT
6
+ * Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
7
+ *
8
+ * The version of the OpenAPI document: 1
9
+ * Contact: hyounoosung@icloudhospital.com
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });