nest-wrapper-kiwoom 0.80.0 → 0.82.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/README.md +4 -4
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/interfaces/index.d.ts +1 -0
- package/dist/interfaces/index.d.ts.map +1 -0
- package/dist/interfaces/kiwoom-async-options.interface.d.ts +1 -0
- package/dist/interfaces/kiwoom-async-options.interface.d.ts.map +1 -0
- package/dist/interfaces/kiwoom-options.interface.d.ts +1 -0
- package/dist/interfaces/kiwoom-options.interface.d.ts.map +1 -0
- package/dist/kiwoom.constants.d.ts +1 -0
- package/dist/kiwoom.constants.d.ts.map +1 -0
- package/dist/kiwoom.module.d.ts +1 -0
- package/dist/kiwoom.module.d.ts.map +1 -0
- package/dist/kiwoom.module.js +16 -20
- package/dist/kiwoom.module.js.map +1 -1
- package/dist/services/account.service.d.ts +1 -0
- package/dist/services/account.service.d.ts.map +1 -0
- package/dist/services/account.service.js +121 -308
- package/dist/services/account.service.js.map +1 -1
- package/dist/services/credit-order.service.d.ts +17 -0
- package/dist/services/credit-order.service.d.ts.map +1 -0
- package/dist/services/credit-order.service.js +61 -0
- package/dist/services/credit-order.service.js.map +1 -0
- package/dist/services/etf.service.d.ts +1 -0
- package/dist/services/etf.service.d.ts.map +1 -0
- package/dist/services/etf.service.js +120 -294
- package/dist/services/etf.service.js.map +1 -1
- package/dist/services/foreign-institutional.service.d.ts +1 -0
- package/dist/services/foreign-institutional.service.d.ts.map +1 -0
- package/dist/services/foreign-institutional.service.js +37 -112
- package/dist/services/foreign-institutional.service.js.map +1 -1
- package/dist/services/index.d.ts +4 -0
- package/dist/services/index.d.ts.map +1 -0
- package/dist/services/index.js +3 -0
- package/dist/services/index.js.map +1 -1
- package/dist/services/market-condition.service.d.ts +17 -1
- package/dist/services/market-condition.service.d.ts.map +1 -0
- package/dist/services/market-condition.service.js +100 -154
- package/dist/services/market-condition.service.js.map +1 -1
- package/dist/services/oauth2.service.d.ts +1 -0
- package/dist/services/oauth2.service.d.ts.map +1 -0
- package/dist/services/oauth2.service.js +49 -110
- package/dist/services/oauth2.service.js.map +1 -1
- package/dist/services/order.service.d.ts +1 -0
- package/dist/services/order.service.d.ts.map +1 -0
- package/dist/services/order.service.js +25 -96
- package/dist/services/order.service.js.map +1 -1
- package/dist/services/rank-info.service.d.ts +1 -0
- package/dist/services/rank-info.service.d.ts.map +1 -0
- package/dist/services/rank-info.service.js +94 -245
- package/dist/services/rank-info.service.js.map +1 -1
- package/dist/services/sector.service.d.ts +19 -0
- package/dist/services/sector.service.d.ts.map +1 -0
- package/dist/services/sector.service.js +67 -0
- package/dist/services/sector.service.js.map +1 -0
- package/dist/services/securities-lending-borrowing.service.d.ts +1 -0
- package/dist/services/securities-lending-borrowing.service.d.ts.map +1 -0
- package/dist/services/securities-lending-borrowing.service.js +37 -112
- package/dist/services/securities-lending-borrowing.service.js.map +1 -1
- package/dist/services/shortSale.service.d.ts +1 -0
- package/dist/services/shortSale.service.d.ts.map +1 -0
- package/dist/services/shortSale.service.js +28 -91
- package/dist/services/shortSale.service.js.map +1 -1
- package/dist/services/stock-info.service.d.ts +22 -0
- package/dist/services/stock-info.service.d.ts.map +1 -0
- package/dist/services/stock-info.service.js +76 -0
- package/dist/services/stock-info.service.js.map +1 -0
- package/dist/types/account/index.d.ts +1 -0
- package/dist/types/account/index.d.ts.map +1 -0
- package/dist/types/account/ka01690.d.ts +1 -0
- package/dist/types/account/ka01690.d.ts.map +1 -0
- package/dist/types/account/ka10072.d.ts +1 -0
- package/dist/types/account/ka10072.d.ts.map +1 -0
- package/dist/types/account/ka10073.d.ts +1 -0
- package/dist/types/account/ka10073.d.ts.map +1 -0
- package/dist/types/account/ka10074.d.ts +1 -0
- package/dist/types/account/ka10074.d.ts.map +1 -0
- package/dist/types/account/ka10075.d.ts +1 -0
- package/dist/types/account/ka10075.d.ts.map +1 -0
- package/dist/types/account/ka10076.d.ts +1 -0
- package/dist/types/account/ka10076.d.ts.map +1 -0
- package/dist/types/account/ka10077.d.ts +1 -0
- package/dist/types/account/ka10077.d.ts.map +1 -0
- package/dist/types/account/ka10085.d.ts +1 -0
- package/dist/types/account/ka10085.d.ts.map +1 -0
- package/dist/types/account/ka10088.d.ts +1 -0
- package/dist/types/account/ka10088.d.ts.map +1 -0
- package/dist/types/account/ka10170.d.ts +1 -0
- package/dist/types/account/ka10170.d.ts.map +1 -0
- package/dist/types/account/kt00001.d.ts +1 -0
- package/dist/types/account/kt00001.d.ts.map +1 -0
- package/dist/types/account/kt00002.d.ts +1 -0
- package/dist/types/account/kt00002.d.ts.map +1 -0
- package/dist/types/account/kt00003.d.ts +1 -0
- package/dist/types/account/kt00003.d.ts.map +1 -0
- package/dist/types/account/kt00004.d.ts +1 -0
- package/dist/types/account/kt00004.d.ts.map +1 -0
- package/dist/types/account/kt00005.d.ts +1 -0
- package/dist/types/account/kt00005.d.ts.map +1 -0
- package/dist/types/account/kt00007.d.ts +1 -0
- package/dist/types/account/kt00007.d.ts.map +1 -0
- package/dist/types/account/kt00008.d.ts +1 -0
- package/dist/types/account/kt00008.d.ts.map +1 -0
- package/dist/types/account/kt00009.d.ts +1 -0
- package/dist/types/account/kt00009.d.ts.map +1 -0
- package/dist/types/account/kt00010.d.ts +1 -0
- package/dist/types/account/kt00010.d.ts.map +1 -0
- package/dist/types/account/kt00011.d.ts +1 -0
- package/dist/types/account/kt00011.d.ts.map +1 -0
- package/dist/types/account/kt00012.d.ts +1 -0
- package/dist/types/account/kt00012.d.ts.map +1 -0
- package/dist/types/account/kt00013.d.ts +1 -0
- package/dist/types/account/kt00013.d.ts.map +1 -0
- package/dist/types/account/kt00015.d.ts +1 -0
- package/dist/types/account/kt00015.d.ts.map +1 -0
- package/dist/types/account/kt00016.d.ts +1 -0
- package/dist/types/account/kt00016.d.ts.map +1 -0
- package/dist/types/account/kt00017.d.ts +1 -0
- package/dist/types/account/kt00017.d.ts.map +1 -0
- package/dist/types/account/kt00018.d.ts +1 -0
- package/dist/types/account/kt00018.d.ts.map +1 -0
- package/dist/types/account/kt50020.d.ts +1 -0
- package/dist/types/account/kt50020.d.ts.map +1 -0
- package/dist/types/account/kt50021.d.ts +1 -0
- package/dist/types/account/kt50021.d.ts.map +1 -0
- package/dist/types/account/kt50030.d.ts +1 -0
- package/dist/types/account/kt50030.d.ts.map +1 -0
- package/dist/types/account/kt50031.d.ts +1 -0
- package/dist/types/account/kt50031.d.ts.map +1 -0
- package/dist/types/account/kt50032.d.ts +1 -0
- package/dist/types/account/kt50032.d.ts.map +1 -0
- package/dist/types/account/kt50075.d.ts +1 -0
- package/dist/types/account/kt50075.d.ts.map +1 -0
- package/dist/types/credit-order/index.d.ts +5 -0
- package/dist/types/credit-order/index.d.ts.map +1 -0
- package/dist/types/credit-order/index.js +21 -0
- package/dist/types/credit-order/index.js.map +1 -0
- package/dist/types/credit-order/kt10006.d.ts +15 -0
- package/dist/types/credit-order/kt10006.d.ts.map +1 -0
- package/dist/types/credit-order/kt10006.js +3 -0
- package/dist/types/credit-order/kt10006.js.map +1 -0
- package/dist/types/credit-order/kt10007.d.ts +17 -0
- package/dist/types/credit-order/kt10007.d.ts.map +1 -0
- package/dist/types/credit-order/kt10007.js +3 -0
- package/dist/types/credit-order/kt10007.js.map +1 -0
- package/dist/types/credit-order/kt10008.d.ts +17 -0
- package/dist/types/credit-order/kt10008.d.ts.map +1 -0
- package/dist/types/credit-order/kt10008.js +3 -0
- package/dist/types/credit-order/kt10008.js.map +1 -0
- package/dist/types/credit-order/kt10009.d.ts +14 -0
- package/dist/types/credit-order/kt10009.d.ts.map +1 -0
- package/dist/types/credit-order/kt10009.js +3 -0
- package/dist/types/credit-order/kt10009.js.map +1 -0
- package/dist/types/etf/index.d.ts +1 -0
- package/dist/types/etf/index.d.ts.map +1 -0
- package/dist/types/etf/ka40001.d.ts +1 -0
- package/dist/types/etf/ka40001.d.ts.map +1 -0
- package/dist/types/etf/ka40002.d.ts +1 -0
- package/dist/types/etf/ka40002.d.ts.map +1 -0
- package/dist/types/etf/ka40003.d.ts +1 -0
- package/dist/types/etf/ka40003.d.ts.map +1 -0
- package/dist/types/etf/ka40004.d.ts +1 -0
- package/dist/types/etf/ka40004.d.ts.map +1 -0
- package/dist/types/etf/ka40006.d.ts +1 -0
- package/dist/types/etf/ka40006.d.ts.map +1 -0
- package/dist/types/etf/ka40007.d.ts +1 -0
- package/dist/types/etf/ka40007.d.ts.map +1 -0
- package/dist/types/etf/ka40008.d.ts +1 -0
- package/dist/types/etf/ka40008.d.ts.map +1 -0
- package/dist/types/etf/ka40009.d.ts +1 -0
- package/dist/types/etf/ka40009.d.ts.map +1 -0
- package/dist/types/etf/ka40010.d.ts +1 -0
- package/dist/types/etf/ka40010.d.ts.map +1 -0
- package/dist/types/foreign-institutional/index.d.ts +1 -0
- package/dist/types/foreign-institutional/index.d.ts.map +1 -0
- package/dist/types/foreign-institutional/ka10008.d.ts +1 -0
- package/dist/types/foreign-institutional/ka10008.d.ts.map +1 -0
- package/dist/types/foreign-institutional/ka10009.d.ts +1 -0
- package/dist/types/foreign-institutional/ka10009.d.ts.map +1 -0
- package/dist/types/foreign-institutional/ka10131.d.ts +1 -0
- package/dist/types/foreign-institutional/ka10131.d.ts.map +1 -0
- package/dist/types/foreign-institutional/ka52301.d.ts +1 -0
- package/dist/types/foreign-institutional/ka52301.d.ts.map +1 -0
- package/dist/types/index.d.ts +4 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/index.js +3 -0
- package/dist/types/index.js.map +1 -1
- package/dist/types/market-condition/index.d.ts +16 -0
- package/dist/types/market-condition/index.d.ts.map +1 -0
- package/dist/types/market-condition/index.js +15 -0
- package/dist/types/market-condition/index.js.map +1 -1
- package/dist/types/market-condition/ka10004.d.ts +1 -0
- package/dist/types/market-condition/ka10004.d.ts.map +1 -0
- package/dist/types/market-condition/ka10005.d.ts +1 -0
- package/dist/types/market-condition/ka10005.d.ts.map +1 -0
- package/dist/types/market-condition/ka10006.d.ts +1 -0
- package/dist/types/market-condition/ka10006.d.ts.map +1 -0
- package/dist/types/market-condition/ka10007.d.ts +1 -0
- package/dist/types/market-condition/ka10007.d.ts.map +1 -0
- package/dist/types/market-condition/ka10011.d.ts +1 -0
- package/dist/types/market-condition/ka10011.d.ts.map +1 -0
- package/dist/types/market-condition/ka10044.d.ts +1 -0
- package/dist/types/market-condition/ka10044.d.ts.map +1 -0
- package/dist/types/market-condition/ka10045.d.ts +1 -0
- package/dist/types/market-condition/ka10045.d.ts.map +1 -0
- package/dist/types/market-condition/ka10046.d.ts +1 -0
- package/dist/types/market-condition/ka10046.d.ts.map +1 -0
- package/dist/types/market-condition/ka10047.d.ts +1 -0
- package/dist/types/market-condition/ka10047.d.ts.map +1 -0
- package/dist/types/market-condition/ka10063.d.ts +1 -0
- package/dist/types/market-condition/ka10063.d.ts.map +1 -0
- package/dist/types/market-condition/ka10066.d.ts +34 -0
- package/dist/types/market-condition/ka10066.d.ts.map +1 -0
- package/dist/types/market-condition/ka10066.js +3 -0
- package/dist/types/market-condition/ka10066.js.map +1 -0
- package/dist/types/market-condition/ka10078.d.ts +24 -0
- package/dist/types/market-condition/ka10078.d.ts.map +1 -0
- package/dist/types/market-condition/ka10078.js +3 -0
- package/dist/types/market-condition/ka10078.js.map +1 -0
- package/dist/types/market-condition/ka10086.d.ts +36 -0
- package/dist/types/market-condition/ka10086.d.ts.map +1 -0
- package/dist/types/market-condition/ka10086.js +3 -0
- package/dist/types/market-condition/ka10086.js.map +1 -0
- package/dist/types/market-condition/ka10087.d.ts +54 -0
- package/dist/types/market-condition/ka10087.d.ts.map +1 -0
- package/dist/types/market-condition/ka10087.js +3 -0
- package/dist/types/market-condition/ka10087.js.map +1 -0
- package/dist/types/market-condition/ka50010.d.ts +25 -0
- package/dist/types/market-condition/ka50010.d.ts.map +1 -0
- package/dist/types/market-condition/ka50010.js +3 -0
- package/dist/types/market-condition/ka50010.js.map +1 -0
- package/dist/types/market-condition/ka50012.d.ts +26 -0
- package/dist/types/market-condition/ka50012.d.ts.map +1 -0
- package/dist/types/market-condition/ka50012.js +3 -0
- package/dist/types/market-condition/ka50012.js.map +1 -0
- package/dist/types/market-condition/ka50087.d.ts +20 -0
- package/dist/types/market-condition/ka50087.d.ts.map +1 -0
- package/dist/types/market-condition/ka50087.js +3 -0
- package/dist/types/market-condition/ka50087.js.map +1 -0
- package/dist/types/market-condition/ka50100.d.ts +19 -0
- package/dist/types/market-condition/ka50100.d.ts.map +1 -0
- package/dist/types/market-condition/ka50100.js +3 -0
- package/dist/types/market-condition/ka50100.js.map +1 -0
- package/dist/types/market-condition/ka50101.d.ts +28 -0
- package/dist/types/market-condition/ka50101.d.ts.map +1 -0
- package/dist/types/market-condition/ka50101.js +3 -0
- package/dist/types/market-condition/ka50101.js.map +1 -0
- package/dist/types/market-condition/ka90005.d.ts +34 -0
- package/dist/types/market-condition/ka90005.d.ts.map +1 -0
- package/dist/types/market-condition/ka90005.js +3 -0
- package/dist/types/market-condition/ka90005.js.map +1 -0
- package/dist/types/market-condition/ka90006.d.ts +20 -0
- package/dist/types/market-condition/ka90006.d.ts.map +1 -0
- package/dist/types/market-condition/ka90006.js +3 -0
- package/dist/types/market-condition/ka90006.js.map +1 -0
- package/dist/types/market-condition/ka90007.d.ts +24 -0
- package/dist/types/market-condition/ka90007.d.ts.map +1 -0
- package/dist/types/market-condition/ka90007.js +3 -0
- package/dist/types/market-condition/ka90007.js.map +1 -0
- package/dist/types/market-condition/ka90008.d.ts +32 -0
- package/dist/types/market-condition/ka90008.d.ts.map +1 -0
- package/dist/types/market-condition/ka90008.js +3 -0
- package/dist/types/market-condition/ka90008.js.map +1 -0
- package/dist/types/market-condition/ka90010.d.ts +34 -0
- package/dist/types/market-condition/ka90010.d.ts.map +1 -0
- package/dist/types/market-condition/ka90010.js +3 -0
- package/dist/types/market-condition/ka90010.js.map +1 -0
- package/dist/types/market-condition/ka90013.d.ts +32 -0
- package/dist/types/market-condition/ka90013.d.ts.map +1 -0
- package/dist/types/market-condition/ka90013.js +3 -0
- package/dist/types/market-condition/ka90013.js.map +1 -0
- package/dist/types/oauth2/au10001.d.ts +1 -0
- package/dist/types/oauth2/au10001.d.ts.map +1 -0
- package/dist/types/oauth2/index.d.ts +1 -0
- package/dist/types/oauth2/index.d.ts.map +1 -0
- package/dist/types/order/index.d.ts +1 -0
- package/dist/types/order/index.d.ts.map +1 -0
- package/dist/types/order/kt10000.d.ts +1 -0
- package/dist/types/order/kt10000.d.ts.map +1 -0
- package/dist/types/rank-info/index.d.ts +1 -0
- package/dist/types/rank-info/index.d.ts.map +1 -0
- package/dist/types/rank-info/ka10020.d.ts +1 -0
- package/dist/types/rank-info/ka10020.d.ts.map +1 -0
- package/dist/types/rank-info/ka10021.d.ts +1 -0
- package/dist/types/rank-info/ka10021.d.ts.map +1 -0
- package/dist/types/rank-info/ka10022.d.ts +1 -0
- package/dist/types/rank-info/ka10022.d.ts.map +1 -0
- package/dist/types/rank-info/ka10023.d.ts +1 -0
- package/dist/types/rank-info/ka10023.d.ts.map +1 -0
- package/dist/types/rank-info/ka10027.d.ts +1 -0
- package/dist/types/rank-info/ka10027.d.ts.map +1 -0
- package/dist/types/rank-info/ka10029.d.ts +1 -0
- package/dist/types/rank-info/ka10029.d.ts.map +1 -0
- package/dist/types/rank-info/ka10030.d.ts +1 -0
- package/dist/types/rank-info/ka10030.d.ts.map +1 -0
- package/dist/types/rank-info/ka10031.d.ts +1 -0
- package/dist/types/rank-info/ka10031.d.ts.map +1 -0
- package/dist/types/rank-info/ka10032.d.ts +1 -0
- package/dist/types/rank-info/ka10032.d.ts.map +1 -0
- package/dist/types/rank-info/ka10033.d.ts +1 -0
- package/dist/types/rank-info/ka10033.d.ts.map +1 -0
- package/dist/types/rank-info/ka10034.d.ts +1 -0
- package/dist/types/rank-info/ka10034.d.ts.map +1 -0
- package/dist/types/rank-info/ka10035.d.ts +1 -0
- package/dist/types/rank-info/ka10035.d.ts.map +1 -0
- package/dist/types/rank-info/ka10036.d.ts +1 -0
- package/dist/types/rank-info/ka10036.d.ts.map +1 -0
- package/dist/types/rank-info/ka10037.d.ts +1 -0
- package/dist/types/rank-info/ka10037.d.ts.map +1 -0
- package/dist/types/rank-info/ka10038.d.ts +1 -0
- package/dist/types/rank-info/ka10038.d.ts.map +1 -0
- package/dist/types/rank-info/ka10039.d.ts +1 -0
- package/dist/types/rank-info/ka10039.d.ts.map +1 -0
- package/dist/types/rank-info/ka10040.d.ts +1 -0
- package/dist/types/rank-info/ka10040.d.ts.map +1 -0
- package/dist/types/rank-info/ka10042.d.ts +1 -0
- package/dist/types/rank-info/ka10042.d.ts.map +1 -0
- package/dist/types/rank-info/ka10053.d.ts +1 -0
- package/dist/types/rank-info/ka10053.d.ts.map +1 -0
- package/dist/types/rank-info/ka10062.d.ts +1 -0
- package/dist/types/rank-info/ka10062.d.ts.map +1 -0
- package/dist/types/rank-info/ka10065.d.ts +1 -0
- package/dist/types/rank-info/ka10065.d.ts.map +1 -0
- package/dist/types/rank-info/ka10098.d.ts +1 -0
- package/dist/types/rank-info/ka10098.d.ts.map +1 -0
- package/dist/types/rank-info/ka90009.d.ts +1 -0
- package/dist/types/rank-info/ka90009.d.ts.map +1 -0
- package/dist/types/sector/index.d.ts +7 -0
- package/dist/types/sector/index.d.ts.map +1 -0
- package/dist/types/sector/index.js +23 -0
- package/dist/types/sector/index.js.map +1 -0
- package/dist/types/sector/ka10010.d.ts +26 -0
- package/dist/types/sector/ka10010.d.ts.map +1 -0
- package/dist/types/sector/ka10010.js +3 -0
- package/dist/types/sector/ka10010.js.map +1 -0
- package/dist/types/sector/ka10051.d.ts +35 -0
- package/dist/types/sector/ka10051.d.ts.map +1 -0
- package/dist/types/sector/ka10051.js +3 -0
- package/dist/types/sector/ka10051.js.map +1 -0
- package/dist/types/sector/ka20001.d.ts +43 -0
- package/dist/types/sector/ka20001.d.ts.map +1 -0
- package/dist/types/sector/ka20001.js +3 -0
- package/dist/types/sector/ka20001.js.map +1 -0
- package/dist/types/sector/ka20002.d.ts +26 -0
- package/dist/types/sector/ka20002.d.ts.map +1 -0
- package/dist/types/sector/ka20002.js +3 -0
- package/dist/types/sector/ka20002.js.map +1 -0
- package/dist/types/sector/ka20003.d.ts +27 -0
- package/dist/types/sector/ka20003.d.ts.map +1 -0
- package/dist/types/sector/ka20003.js +3 -0
- package/dist/types/sector/ka20003.js.map +1 -0
- package/dist/types/sector/ka20009.d.ts +41 -0
- package/dist/types/sector/ka20009.d.ts.map +1 -0
- package/dist/types/sector/ka20009.js +3 -0
- package/dist/types/sector/ka20009.js.map +1 -0
- package/dist/types/securities-lending-borrowing/index.d.ts +1 -0
- package/dist/types/securities-lending-borrowing/index.d.ts.map +1 -0
- package/dist/types/securities-lending-borrowing/ka10068.d.ts +1 -0
- package/dist/types/securities-lending-borrowing/ka10068.d.ts.map +1 -0
- package/dist/types/securities-lending-borrowing/ka10069.d.ts +1 -0
- package/dist/types/securities-lending-borrowing/ka10069.d.ts.map +1 -0
- package/dist/types/securities-lending-borrowing/ka20068.d.ts +1 -0
- package/dist/types/securities-lending-borrowing/ka20068.d.ts.map +1 -0
- package/dist/types/securities-lending-borrowing/ka90012.d.ts +1 -0
- package/dist/types/securities-lending-borrowing/ka90012.d.ts.map +1 -0
- package/dist/types/shortSale/index.d.ts +1 -0
- package/dist/types/shortSale/index.d.ts.map +1 -0
- package/dist/types/shortSale/ka10014.d.ts +1 -0
- package/dist/types/shortSale/ka10014.d.ts.map +1 -0
- package/dist/types/stock-info/index.d.ts +10 -0
- package/dist/types/stock-info/index.d.ts.map +1 -0
- package/dist/types/stock-info/index.js +26 -0
- package/dist/types/stock-info/index.js.map +1 -0
- package/dist/types/stock-info/ka00198.d.ts +24 -0
- package/dist/types/stock-info/ka00198.d.ts.map +1 -0
- package/dist/types/stock-info/ka00198.js +3 -0
- package/dist/types/stock-info/ka00198.js.map +1 -0
- package/dist/types/stock-info/ka10001.d.ts +53 -0
- package/dist/types/stock-info/ka10001.d.ts.map +1 -0
- package/dist/types/stock-info/ka10001.js +3 -0
- package/dist/types/stock-info/ka10001.js.map +1 -0
- package/dist/types/stock-info/ka10002.d.ts +45 -0
- package/dist/types/stock-info/ka10002.d.ts.map +1 -0
- package/dist/types/stock-info/ka10002.js +3 -0
- package/dist/types/stock-info/ka10002.js.map +1 -0
- package/dist/types/stock-info/ka10003.d.ts +24 -0
- package/dist/types/stock-info/ka10003.d.ts.map +1 -0
- package/dist/types/stock-info/ka10003.js +3 -0
- package/dist/types/stock-info/ka10003.js.map +1 -0
- package/dist/types/stock-info/ka10013.d.ts +26 -0
- package/dist/types/stock-info/ka10013.d.ts.map +1 -0
- package/dist/types/stock-info/ka10013.js +3 -0
- package/dist/types/stock-info/ka10013.js.map +1 -0
- package/dist/types/stock-info/ka10015.d.ts +43 -0
- package/dist/types/stock-info/ka10015.d.ts.map +1 -0
- package/dist/types/stock-info/ka10015.js +3 -0
- package/dist/types/stock-info/ka10015.js.map +1 -0
- package/dist/types/stock-info/ka10016.d.ts +32 -0
- package/dist/types/stock-info/ka10016.d.ts.map +1 -0
- package/dist/types/stock-info/ka10016.js +3 -0
- package/dist/types/stock-info/ka10016.js.map +1 -0
- package/dist/types/stock-info/ka10017.d.ts +33 -0
- package/dist/types/stock-info/ka10017.d.ts.map +1 -0
- package/dist/types/stock-info/ka10017.js +3 -0
- package/dist/types/stock-info/ka10017.js.map +1 -0
- package/dist/types/stock-info/ka10018.d.ts +29 -0
- package/dist/types/stock-info/ka10018.d.ts.map +1 -0
- package/dist/types/stock-info/ka10018.js +3 -0
- package/dist/types/stock-info/ka10018.js.map +1 -0
- package/package.json +4 -2
package/README.md
CHANGED
|
@@ -20,11 +20,11 @@ npm install nest-wrapper-kiwoom
|
|
|
20
20
|
- 대차거래
|
|
21
21
|
- 순위정보
|
|
22
22
|
- 시세
|
|
23
|
-
- 신용주문
|
|
23
|
+
- 신용주문
|
|
24
24
|
- 실시간시세 (추후 지원 예정)
|
|
25
|
-
- 업종
|
|
25
|
+
- 업종
|
|
26
26
|
- 조건검색 (추후 지원 예정)
|
|
27
|
-
- 종목정보
|
|
27
|
+
- 종목정보
|
|
28
28
|
- 주문 (추후 지원 예정)
|
|
29
29
|
- 차트 (추후 지원 예정)
|
|
30
30
|
- 테마 (추후 지원 예정)
|
|
@@ -40,7 +40,7 @@ npm install nest-wrapper-kiwoom
|
|
|
40
40
|
|
|
41
41
|
## 참고 자료
|
|
42
42
|
|
|
43
|
-
-
|
|
43
|
+
- 키움 API 명세서 : ./키움 REST API 문서.xlsx
|
|
44
44
|
|
|
45
45
|
## 라이선스
|
|
46
46
|
|
package/dist/index.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,2BAA2B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/interfaces/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC;AAC3C,cAAc,kCAAkC,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { FactoryProvider, ModuleMetadata } from '@nestjs/common';
|
|
2
2
|
import { KiwoomOptions } from '@interfaces/kiwoom-options.interface';
|
|
3
3
|
export type KiwoomAsyncOptions = Pick<ModuleMetadata, 'imports'> & Pick<FactoryProvider<KiwoomOptions>, 'useFactory' | 'inject'>;
|
|
4
|
+
//# sourceMappingURL=kiwoom-async-options.interface.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"kiwoom-async-options.interface.d.ts","sourceRoot":"","sources":["../../src/interfaces/kiwoom-async-options.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AACjE,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AAErE,MAAM,MAAM,kBAAkB,GAAG,IAAI,CAAC,cAAc,EAAE,SAAS,CAAC,GAAG,IAAI,CAAC,eAAe,CAAC,aAAa,CAAC,EAAE,YAAY,GAAG,QAAQ,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"kiwoom-options.interface.d.ts","sourceRoot":"","sources":["../../src/interfaces/kiwoom-options.interface.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,aAAa;IAC7B,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;CAClB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"kiwoom.constants.d.ts","sourceRoot":"","sources":["../src/kiwoom.constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,qBAAqB,eAAkC,CAAC"}
|
package/dist/kiwoom.module.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"kiwoom.module.d.ts","sourceRoot":"","sources":["../src/kiwoom.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAU,MAAM,gBAAgB,CAAC;AACvD,OAAO,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAKjE,qBAGa,YAAY;IACxB,MAAM,CAAC,QAAQ,CAAC,OAAO,EAAE,aAAa,GAAG,aAAa;IAkBtD,MAAM,CAAC,aAAa,CAAC,OAAO,EAAE,kBAAkB,GAAG,aAAa;CAiBhE"}
|
package/dist/kiwoom.module.js
CHANGED
|
@@ -5,17 +5,15 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
5
5
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
6
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
7
|
};
|
|
8
|
+
var KiwoomModule_1;
|
|
8
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
10
|
exports.KiwoomModule = void 0;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
17
|
-
KiwoomModule_1 = KiwoomModule;
|
|
18
|
-
KiwoomModule.register = function (options) {
|
|
11
|
+
const common_1 = require("@nestjs/common");
|
|
12
|
+
const kiwoom_constants_1 = require("./kiwoom.constants");
|
|
13
|
+
const axios_1 = require("@nestjs/axios");
|
|
14
|
+
const services_1 = require("@src/services");
|
|
15
|
+
let KiwoomModule = KiwoomModule_1 = class KiwoomModule {
|
|
16
|
+
static register(options) {
|
|
19
17
|
return {
|
|
20
18
|
module: KiwoomModule_1,
|
|
21
19
|
imports: [axios_1.HttpModule],
|
|
@@ -31,8 +29,8 @@ var KiwoomModule = (function () {
|
|
|
31
29
|
],
|
|
32
30
|
exports: [services_1.ETFService, services_1.OrderService, services_1.AccountService, services_1.ShortSaleService, services_1.ForeignInstitutionalService, services_1.RankInfoService],
|
|
33
31
|
};
|
|
34
|
-
}
|
|
35
|
-
|
|
32
|
+
}
|
|
33
|
+
static registerAsync(options) {
|
|
36
34
|
return {
|
|
37
35
|
module: KiwoomModule_1,
|
|
38
36
|
imports: [axios_1.HttpModule],
|
|
@@ -48,14 +46,12 @@ var KiwoomModule = (function () {
|
|
|
48
46
|
],
|
|
49
47
|
exports: [services_1.ETFService, services_1.OrderService, services_1.AccountService, services_1.ShortSaleService, services_1.ForeignInstitutionalService, services_1.RankInfoService],
|
|
50
48
|
};
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
KiwoomModule = KiwoomModule_1 = __decorate([
|
|
54
|
-
(0, common_1.Module)({
|
|
55
|
-
imports: [axios_1.HttpModule],
|
|
56
|
-
})
|
|
57
|
-
], KiwoomModule);
|
|
58
|
-
return KiwoomModule;
|
|
59
|
-
}());
|
|
49
|
+
}
|
|
50
|
+
};
|
|
60
51
|
exports.KiwoomModule = KiwoomModule;
|
|
52
|
+
exports.KiwoomModule = KiwoomModule = KiwoomModule_1 = __decorate([
|
|
53
|
+
(0, common_1.Module)({
|
|
54
|
+
imports: [axios_1.HttpModule],
|
|
55
|
+
})
|
|
56
|
+
], KiwoomModule);
|
|
61
57
|
//# sourceMappingURL=kiwoom.module.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kiwoom.module.js","sourceRoot":"","sources":["../src/kiwoom.module.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"kiwoom.module.js","sourceRoot":"","sources":["../src/kiwoom.module.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,2CAAuD;AAEvD,yDAA2D;AAC3D,yCAA2C;AAC3C,4CAAiJ;AAK1I,IAAM,YAAY,oBAAlB,MAAM,YAAY;IACxB,MAAM,CAAC,QAAQ,CAAC,OAAsB;QACrC,OAAO;YACN,MAAM,EAAE,cAAY;YACpB,OAAO,EAAE,CAAC,kBAAU,CAAC;YACrB,SAAS,EAAE;gBACV,EAAE,OAAO,EAAE,wCAAqB,EAAE,QAAQ,EAAE,OAAO,EAAE;gBACrD,iBAAM;gBACN,uBAAY;gBACZ,qBAAU;gBACV,yBAAc;gBACd,2BAAgB;gBAChB,sCAA2B;gBAC3B,0BAAe;aACf;YACD,OAAO,EAAE,CAAC,qBAAU,EAAE,uBAAY,EAAE,yBAAc,EAAE,2BAAgB,EAAE,sCAA2B,EAAE,0BAAe,CAAC;SACnH,CAAC;IACH,CAAC;IAED,MAAM,CAAC,aAAa,CAAC,OAA2B;QAC/C,OAAO;YACN,MAAM,EAAE,cAAY;YACpB,OAAO,EAAE,CAAC,kBAAU,CAAC;YACrB,SAAS,EAAE;gBACV,EAAE,OAAO,EAAE,wCAAqB,EAAE,UAAU,EAAE,OAAO,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,MAAM,EAAE;gBAC1F,iBAAM;gBACN,uBAAY;gBACZ,qBAAU;gBACV,yBAAc;gBACd,2BAAgB;gBAChB,sCAA2B;gBAC3B,0BAAe;aACf;YACD,OAAO,EAAE,CAAC,qBAAU,EAAE,uBAAY,EAAE,yBAAc,EAAE,2BAAgB,EAAE,sCAA2B,EAAE,0BAAe,CAAC;SACnH,CAAC;IACH,CAAC;CACD,CAAA;AApCY,oCAAY;uBAAZ,YAAY;IAHxB,IAAA,eAAM,EAAC;QACP,OAAO,EAAE,CAAC,kBAAU,CAAC;KACrB,CAAC;GACW,YAAY,CAoCxB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"account.service.d.ts","sourceRoot":"","sources":["../../src/services/account.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAClD,OAAO,EACN,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,eAAe,EACf,eAAe,EACf,eAAe,EACf,eAAe,EACf,eAAe,EACf,eAAe,EACf,eAAe,EACf,eAAe,EACf,eAAe,EACf,eAAe,EACf,eAAe,EACf,eAAe,EACf,eAAe,EACf,eAAe,EACf,eAAe,EACf,eAAe,EACf,eAAe,EACf,eAAe,EACf,eAAe,EACf,eAAe,EACf,eAAe,EACf,eAAe,EACf,eAAe,EACf,eAAe,EACf,eAAe,EACf,eAAe,EACf,eAAe,EACf,eAAe,EACf,eAAe,EACf,eAAe,EACf,eAAe,EACf,eAAe,EACf,MAAM,YAAY,CAAC;AAEpB,qBACa,cAAc;IAMzB,OAAO,CAAC,QAAQ,CAAC,WAAW;IAC5B,OAAO,CAAC,QAAQ,CAAC,MAAM;IANxB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAoC;IAC3D,OAAO,CAAC,QAAQ,CAAC,GAAG,CAA6B;IACjD,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAyB;gBAGnC,WAAW,EAAE,WAAW,EACxB,MAAM,EAAE,MAAM;YASlB,cAAc;IActB,OAAO,CAAC,YAAY,EAAE,YAAY,GAAG,OAAO,CAAC,eAAe,CAAC;IAI7D,OAAO,CAAC,YAAY,EAAE,YAAY,GAAG,OAAO,CAAC,eAAe,CAAC;IAI7D,OAAO,CAAC,YAAY,EAAE,YAAY,GAAG,OAAO,CAAC,eAAe,CAAC;IAI7D,OAAO,CAAC,YAAY,EAAE,YAAY,GAAG,OAAO,CAAC,eAAe,CAAC;IAI7D,OAAO,CAAC,YAAY,EAAE,YAAY,GAAG,OAAO,CAAC,eAAe,CAAC;IAI7D,OAAO,CAAC,YAAY,EAAE,YAAY,GAAG,OAAO,CAAC,eAAe,CAAC;IAI7D,OAAO,CAAC,YAAY,EAAE,YAAY,GAAG,OAAO,CAAC,eAAe,CAAC;IAI7D,OAAO,CAAC,YAAY,EAAE,YAAY,GAAG,OAAO,CAAC,eAAe,CAAC;IAI7D,OAAO,CAAC,YAAY,EAAE,YAAY,GAAG,OAAO,CAAC,eAAe,CAAC;IAI7D,OAAO,CAAC,YAAY,EAAE,YAAY,GAAG,OAAO,CAAC,eAAe,CAAC;IAI7D,OAAO,CAAC,YAAY,EAAE,YAAY,GAAG,OAAO,CAAC,eAAe,CAAC;IAI7D,OAAO,CAAC,YAAY,EAAE,YAAY,GAAG,OAAO,CAAC,eAAe,CAAC;IAI7D,OAAO,CAAC,YAAY,EAAE,YAAY,GAAG,OAAO,CAAC,eAAe,CAAC;IAI7D,OAAO,CAAC,YAAY,EAAE,YAAY,GAAG,OAAO,CAAC,eAAe,CAAC;IAI7D,OAAO,CAAC,YAAY,EAAE,YAAY,GAAG,OAAO,CAAC,eAAe,CAAC;IAI7D,OAAO,CAAC,YAAY,EAAE,YAAY,GAAG,OAAO,CAAC,eAAe,CAAC;IAI7D,OAAO,CAAC,YAAY,EAAE,YAAY,GAAG,OAAO,CAAC,eAAe,CAAC;IAI7D,OAAO,CAAC,YAAY,EAAE,YAAY,GAAG,OAAO,CAAC,eAAe,CAAC;IAI7D,OAAO,CAAC,YAAY,EAAE,YAAY,GAAG,OAAO,CAAC,eAAe,CAAC;IAI7D,OAAO,CAAC,YAAY,EAAE,YAAY,GAAG,OAAO,CAAC,eAAe,CAAC;IAI7D,OAAO,CAAC,YAAY,EAAE,YAAY,GAAG,OAAO,CAAC,eAAe,CAAC;IAI7D,OAAO,CAAC,YAAY,EAAE,YAAY,GAAG,OAAO,CAAC,eAAe,CAAC;IAI7D,OAAO,CAAC,YAAY,EAAE,YAAY,GAAG,OAAO,CAAC,eAAe,CAAC;IAI7D,OAAO,CAAC,YAAY,EAAE,YAAY,GAAG,OAAO,CAAC,eAAe,CAAC;IAI7D,OAAO,CAAC,YAAY,EAAE,YAAY,GAAG,OAAO,CAAC,eAAe,CAAC;IAI7D,OAAO,CAAC,YAAY,EAAE,YAAY,GAAG,OAAO,CAAC,eAAe,CAAC;IAI7D,OAAO,CAAC,YAAY,EAAE,YAAY,GAAG,OAAO,CAAC,eAAe,CAAC;IAI7D,OAAO,CAAC,YAAY,EAAE,YAAY,GAAG,OAAO,CAAC,eAAe,CAAC;IAI7D,OAAO,CAAC,YAAY,EAAE,YAAY,GAAG,OAAO,CAAC,eAAe,CAAC;IAI7D,OAAO,CAAC,YAAY,EAAE,YAAY,GAAG,OAAO,CAAC,eAAe,CAAC;IAI7D,OAAO,CAAC,YAAY,EAAE,YAAY,GAAG,OAAO,CAAC,eAAe,CAAC;IAI7D,OAAO,CAAC,YAAY,EAAE,YAAY,GAAG,OAAO,CAAC,eAAe,CAAC;CAGnE"}
|
|
@@ -1,15 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __assign = (this && this.__assign) || function () {
|
|
3
|
-
__assign = Object.assign || function(t) {
|
|
4
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
-
s = arguments[i];
|
|
6
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
-
t[p] = s[p];
|
|
8
|
-
}
|
|
9
|
-
return t;
|
|
10
|
-
};
|
|
11
|
-
return __assign.apply(this, arguments);
|
|
12
|
-
};
|
|
13
2
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
14
3
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
15
4
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -19,49 +8,13 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
19
8
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
20
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
21
10
|
};
|
|
22
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
23
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
24
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
25
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
26
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
27
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
28
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
29
|
-
});
|
|
30
|
-
};
|
|
31
|
-
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
32
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
33
|
-
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
34
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
35
|
-
function step(op) {
|
|
36
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
37
|
-
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
38
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
39
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
40
|
-
switch (op[0]) {
|
|
41
|
-
case 0: case 1: t = op; break;
|
|
42
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
43
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
44
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
45
|
-
default:
|
|
46
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
47
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
48
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
49
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
50
|
-
if (t[2]) _.ops.pop();
|
|
51
|
-
_.trys.pop(); continue;
|
|
52
|
-
}
|
|
53
|
-
op = body.call(thisArg, _);
|
|
54
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
55
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
56
|
-
}
|
|
57
|
-
};
|
|
58
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
59
12
|
exports.AccountService = void 0;
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
13
|
+
const common_1 = require("@nestjs/common");
|
|
14
|
+
const axios_1 = require("@nestjs/axios");
|
|
15
|
+
const oauth2_service_1 = require("@services/oauth2.service");
|
|
16
|
+
let AccountService = class AccountService {
|
|
17
|
+
constructor(httpService, oauth2) {
|
|
65
18
|
this.httpService = httpService;
|
|
66
19
|
this.oauth2 = oauth2;
|
|
67
20
|
this.domain = 'https://api.kiwoom.com';
|
|
@@ -72,261 +25,121 @@ var AccountService = (function () {
|
|
|
72
25
|
'next-key': 'N',
|
|
73
26
|
};
|
|
74
27
|
}
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
return
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
return
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
return
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
return
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
return __generator(this, function (_a) {
|
|
187
|
-
return [2, this.executeApiCall('kt00003', kt00003Param)];
|
|
188
|
-
});
|
|
189
|
-
});
|
|
190
|
-
};
|
|
191
|
-
AccountService.prototype.kt00004 = function (kt00004Param) {
|
|
192
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
193
|
-
return __generator(this, function (_a) {
|
|
194
|
-
return [2, this.executeApiCall('kt00004', kt00004Param)];
|
|
195
|
-
});
|
|
196
|
-
});
|
|
197
|
-
};
|
|
198
|
-
AccountService.prototype.kt00005 = function (kt00005Param) {
|
|
199
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
200
|
-
return __generator(this, function (_a) {
|
|
201
|
-
return [2, this.executeApiCall('kt00005', kt00005Param)];
|
|
202
|
-
});
|
|
203
|
-
});
|
|
204
|
-
};
|
|
205
|
-
AccountService.prototype.kt00007 = function (kt00007Param) {
|
|
206
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
207
|
-
return __generator(this, function (_a) {
|
|
208
|
-
return [2, this.executeApiCall('kt00007', kt00007Param)];
|
|
209
|
-
});
|
|
210
|
-
});
|
|
211
|
-
};
|
|
212
|
-
AccountService.prototype.kt00008 = function (kt00008Param) {
|
|
213
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
214
|
-
return __generator(this, function (_a) {
|
|
215
|
-
return [2, this.executeApiCall('kt00008', kt00008Param)];
|
|
216
|
-
});
|
|
217
|
-
});
|
|
218
|
-
};
|
|
219
|
-
AccountService.prototype.kt00009 = function (kt00009Param) {
|
|
220
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
221
|
-
return __generator(this, function (_a) {
|
|
222
|
-
return [2, this.executeApiCall('kt00009', kt00009Param)];
|
|
223
|
-
});
|
|
224
|
-
});
|
|
225
|
-
};
|
|
226
|
-
AccountService.prototype.kt00010 = function (kt00010Param) {
|
|
227
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
228
|
-
return __generator(this, function (_a) {
|
|
229
|
-
return [2, this.executeApiCall('kt00010', kt00010Param)];
|
|
230
|
-
});
|
|
231
|
-
});
|
|
232
|
-
};
|
|
233
|
-
AccountService.prototype.kt00011 = function (kt00011Param) {
|
|
234
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
235
|
-
return __generator(this, function (_a) {
|
|
236
|
-
return [2, this.executeApiCall('kt00011', kt00011Param)];
|
|
237
|
-
});
|
|
238
|
-
});
|
|
239
|
-
};
|
|
240
|
-
AccountService.prototype.kt00012 = function (kt00012Param) {
|
|
241
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
242
|
-
return __generator(this, function (_a) {
|
|
243
|
-
return [2, this.executeApiCall('kt00012', kt00012Param)];
|
|
244
|
-
});
|
|
245
|
-
});
|
|
246
|
-
};
|
|
247
|
-
AccountService.prototype.kt00013 = function (kt00013Param) {
|
|
248
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
249
|
-
return __generator(this, function (_a) {
|
|
250
|
-
return [2, this.executeApiCall('kt00013', kt00013Param)];
|
|
251
|
-
});
|
|
252
|
-
});
|
|
253
|
-
};
|
|
254
|
-
AccountService.prototype.kt00015 = function (kt00015Param) {
|
|
255
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
256
|
-
return __generator(this, function (_a) {
|
|
257
|
-
return [2, this.executeApiCall('kt00015', kt00015Param)];
|
|
258
|
-
});
|
|
259
|
-
});
|
|
260
|
-
};
|
|
261
|
-
AccountService.prototype.kt00016 = function (kt00016Param) {
|
|
262
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
263
|
-
return __generator(this, function (_a) {
|
|
264
|
-
return [2, this.executeApiCall('kt00016', kt00016Param)];
|
|
265
|
-
});
|
|
266
|
-
});
|
|
267
|
-
};
|
|
268
|
-
AccountService.prototype.kt00017 = function (kt00017Param) {
|
|
269
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
270
|
-
return __generator(this, function (_a) {
|
|
271
|
-
return [2, this.executeApiCall('kt00017', kt00017Param)];
|
|
272
|
-
});
|
|
273
|
-
});
|
|
274
|
-
};
|
|
275
|
-
AccountService.prototype.kt00018 = function (kt00018Param) {
|
|
276
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
277
|
-
return __generator(this, function (_a) {
|
|
278
|
-
return [2, this.executeApiCall('kt00018', kt00018Param)];
|
|
279
|
-
});
|
|
280
|
-
});
|
|
281
|
-
};
|
|
282
|
-
AccountService.prototype.kt50020 = function (kt50020Param) {
|
|
283
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
284
|
-
return __generator(this, function (_a) {
|
|
285
|
-
return [2, this.executeApiCall('kt50020', kt50020Param)];
|
|
286
|
-
});
|
|
287
|
-
});
|
|
288
|
-
};
|
|
289
|
-
AccountService.prototype.kt50021 = function (kt50021Param) {
|
|
290
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
291
|
-
return __generator(this, function (_a) {
|
|
292
|
-
return [2, this.executeApiCall('kt50021', kt50021Param)];
|
|
293
|
-
});
|
|
294
|
-
});
|
|
295
|
-
};
|
|
296
|
-
AccountService.prototype.kt50030 = function (kt50030Param) {
|
|
297
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
298
|
-
return __generator(this, function (_a) {
|
|
299
|
-
return [2, this.executeApiCall('kt50030', kt50030Param)];
|
|
300
|
-
});
|
|
301
|
-
});
|
|
302
|
-
};
|
|
303
|
-
AccountService.prototype.kt50031 = function (kt50031Param) {
|
|
304
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
305
|
-
return __generator(this, function (_a) {
|
|
306
|
-
return [2, this.executeApiCall('kt50031', kt50031Param)];
|
|
307
|
-
});
|
|
308
|
-
});
|
|
309
|
-
};
|
|
310
|
-
AccountService.prototype.kt50032 = function (kt50032Param) {
|
|
311
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
312
|
-
return __generator(this, function (_a) {
|
|
313
|
-
return [2, this.executeApiCall('kt50032', kt50032Param)];
|
|
314
|
-
});
|
|
315
|
-
});
|
|
316
|
-
};
|
|
317
|
-
AccountService.prototype.kt50075 = function (kt50075Param) {
|
|
318
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
319
|
-
return __generator(this, function (_a) {
|
|
320
|
-
return [2, this.executeApiCall('kt50075', kt50075Param)];
|
|
321
|
-
});
|
|
322
|
-
});
|
|
323
|
-
};
|
|
324
|
-
AccountService = __decorate([
|
|
325
|
-
(0, common_1.Injectable)(),
|
|
326
|
-
__metadata("design:paramtypes", [axios_1.HttpService,
|
|
327
|
-
oauth2_service_1.Oauth2])
|
|
328
|
-
], AccountService);
|
|
329
|
-
return AccountService;
|
|
330
|
-
}());
|
|
28
|
+
async executeApiCall(apiId, params) {
|
|
29
|
+
try {
|
|
30
|
+
const headers = {
|
|
31
|
+
...this.baseHeaders,
|
|
32
|
+
'api-id': apiId,
|
|
33
|
+
authorization: await this.oauth2.getBearerToken(),
|
|
34
|
+
};
|
|
35
|
+
const response = await this.httpService.axiosRef.post(`${this.domain}${this.url}`, { ...params }, { headers });
|
|
36
|
+
return response.data;
|
|
37
|
+
}
|
|
38
|
+
catch (e) {
|
|
39
|
+
throw new common_1.InternalServerErrorException(e.message);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
async ka01690(ka01690Param) {
|
|
43
|
+
return this.executeApiCall('ka01690', ka01690Param);
|
|
44
|
+
}
|
|
45
|
+
async ka10072(ka10072Param) {
|
|
46
|
+
return this.executeApiCall('ka10072', ka10072Param);
|
|
47
|
+
}
|
|
48
|
+
async ka10073(ka10073Param) {
|
|
49
|
+
return this.executeApiCall('ka10073', ka10073Param);
|
|
50
|
+
}
|
|
51
|
+
async ka10074(ka10074Param) {
|
|
52
|
+
return this.executeApiCall('ka10074', ka10074Param);
|
|
53
|
+
}
|
|
54
|
+
async ka10075(ka10075Param) {
|
|
55
|
+
return this.executeApiCall('ka10075', ka10075Param);
|
|
56
|
+
}
|
|
57
|
+
async ka10076(ka10076Param) {
|
|
58
|
+
return this.executeApiCall('ka10076', ka10076Param);
|
|
59
|
+
}
|
|
60
|
+
async ka10077(ka10077Param) {
|
|
61
|
+
return this.executeApiCall('ka10077', ka10077Param);
|
|
62
|
+
}
|
|
63
|
+
async ka10085(ka10085Param) {
|
|
64
|
+
return this.executeApiCall('ka10085', ka10085Param);
|
|
65
|
+
}
|
|
66
|
+
async ka10088(ka10088Param) {
|
|
67
|
+
return this.executeApiCall('ka10088', ka10088Param);
|
|
68
|
+
}
|
|
69
|
+
async ka10170(ka10170Param) {
|
|
70
|
+
return this.executeApiCall('ka10170', ka10170Param);
|
|
71
|
+
}
|
|
72
|
+
async kt00001(kt00001Param) {
|
|
73
|
+
return this.executeApiCall('kt00001', kt00001Param);
|
|
74
|
+
}
|
|
75
|
+
async kt00002(kt00002Param) {
|
|
76
|
+
return this.executeApiCall('kt00002', kt00002Param);
|
|
77
|
+
}
|
|
78
|
+
async kt00003(kt00003Param) {
|
|
79
|
+
return this.executeApiCall('kt00003', kt00003Param);
|
|
80
|
+
}
|
|
81
|
+
async kt00004(kt00004Param) {
|
|
82
|
+
return this.executeApiCall('kt00004', kt00004Param);
|
|
83
|
+
}
|
|
84
|
+
async kt00005(kt00005Param) {
|
|
85
|
+
return this.executeApiCall('kt00005', kt00005Param);
|
|
86
|
+
}
|
|
87
|
+
async kt00007(kt00007Param) {
|
|
88
|
+
return this.executeApiCall('kt00007', kt00007Param);
|
|
89
|
+
}
|
|
90
|
+
async kt00008(kt00008Param) {
|
|
91
|
+
return this.executeApiCall('kt00008', kt00008Param);
|
|
92
|
+
}
|
|
93
|
+
async kt00009(kt00009Param) {
|
|
94
|
+
return this.executeApiCall('kt00009', kt00009Param);
|
|
95
|
+
}
|
|
96
|
+
async kt00010(kt00010Param) {
|
|
97
|
+
return this.executeApiCall('kt00010', kt00010Param);
|
|
98
|
+
}
|
|
99
|
+
async kt00011(kt00011Param) {
|
|
100
|
+
return this.executeApiCall('kt00011', kt00011Param);
|
|
101
|
+
}
|
|
102
|
+
async kt00012(kt00012Param) {
|
|
103
|
+
return this.executeApiCall('kt00012', kt00012Param);
|
|
104
|
+
}
|
|
105
|
+
async kt00013(kt00013Param) {
|
|
106
|
+
return this.executeApiCall('kt00013', kt00013Param);
|
|
107
|
+
}
|
|
108
|
+
async kt00015(kt00015Param) {
|
|
109
|
+
return this.executeApiCall('kt00015', kt00015Param);
|
|
110
|
+
}
|
|
111
|
+
async kt00016(kt00016Param) {
|
|
112
|
+
return this.executeApiCall('kt00016', kt00016Param);
|
|
113
|
+
}
|
|
114
|
+
async kt00017(kt00017Param) {
|
|
115
|
+
return this.executeApiCall('kt00017', kt00017Param);
|
|
116
|
+
}
|
|
117
|
+
async kt00018(kt00018Param) {
|
|
118
|
+
return this.executeApiCall('kt00018', kt00018Param);
|
|
119
|
+
}
|
|
120
|
+
async kt50020(kt50020Param) {
|
|
121
|
+
return this.executeApiCall('kt50020', kt50020Param);
|
|
122
|
+
}
|
|
123
|
+
async kt50021(kt50021Param) {
|
|
124
|
+
return this.executeApiCall('kt50021', kt50021Param);
|
|
125
|
+
}
|
|
126
|
+
async kt50030(kt50030Param) {
|
|
127
|
+
return this.executeApiCall('kt50030', kt50030Param);
|
|
128
|
+
}
|
|
129
|
+
async kt50031(kt50031Param) {
|
|
130
|
+
return this.executeApiCall('kt50031', kt50031Param);
|
|
131
|
+
}
|
|
132
|
+
async kt50032(kt50032Param) {
|
|
133
|
+
return this.executeApiCall('kt50032', kt50032Param);
|
|
134
|
+
}
|
|
135
|
+
async kt50075(kt50075Param) {
|
|
136
|
+
return this.executeApiCall('kt50075', kt50075Param);
|
|
137
|
+
}
|
|
138
|
+
};
|
|
331
139
|
exports.AccountService = AccountService;
|
|
140
|
+
exports.AccountService = AccountService = __decorate([
|
|
141
|
+
(0, common_1.Injectable)(),
|
|
142
|
+
__metadata("design:paramtypes", [axios_1.HttpService,
|
|
143
|
+
oauth2_service_1.Oauth2])
|
|
144
|
+
], AccountService);
|
|
332
145
|
//# sourceMappingURL=account.service.js.map
|