nest-wrapper-kiwoom 0.41.0 → 0.42.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.
@@ -1,6 +1,6 @@
1
1
  import { HttpService } from '@nestjs/axios';
2
2
  import { Oauth2 } from '@services/oauth2.service';
3
- import { KA10008Param, KA10008Response, KA10009Param, KA10009Response } from '@src/types';
3
+ import { KA10008Param, KA10008Response, KA10009Param, KA10009Response, KA10131Param, KA10131Response } from '@src/types';
4
4
  export declare class ForeignInstitutionalService {
5
5
  private readonly httpService;
6
6
  private readonly oauth2;
@@ -11,4 +11,5 @@ export declare class ForeignInstitutionalService {
11
11
  private executeApiCall;
12
12
  ka10008(ka10008Param: KA10008Param): Promise<KA10008Response>;
13
13
  ka10009(ka10009Param: KA10009Param): Promise<KA10009Response>;
14
+ ka10131(ka10131Param: KA10131Param): Promise<KA10131Response>;
14
15
  }
@@ -111,6 +111,13 @@ var ForeignInstitutionalService = (function () {
111
111
  });
112
112
  });
113
113
  };
114
+ ForeignInstitutionalService.prototype.ka10131 = function (ka10131Param) {
115
+ return __awaiter(this, void 0, void 0, function () {
116
+ return __generator(this, function (_a) {
117
+ return [2, this.executeApiCall('ka10131', ka10131Param)];
118
+ });
119
+ });
120
+ };
114
121
  ForeignInstitutionalService = __decorate([
115
122
  (0, common_1.Injectable)(),
116
123
  __metadata("design:paramtypes", [axios_1.HttpService,
@@ -1 +1 @@
1
- {"version":3,"file":"foreign-institutional.service.js","sourceRoot":"","sources":["../../src/services/foreign-institutional.service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAA4C;AAC5C,yCAA0E;AAC1E,2DAAkD;AAIlD;IAKC,qCACkB,WAAwB,EACxB,MAAc;QADd,gBAAW,GAAX,WAAW,CAAa;QACxB,WAAM,GAAN,MAAM,CAAQ;QANf,WAAM,GAAW,wBAAwB,CAAC;QAC1C,QAAG,GAAW,qBAAqB,CAAC;QAOpD,IAAI,CAAC,WAAW,GAAG;YAClB,cAAc,EAAE,gCAAgC;YAChD,SAAS,EAAE,GAAG;YACd,UAAU,EAAE,GAAG;SACf,CAAC;IACH,CAAC;IAEa,oDAAc,GAA5B,UAAgD,KAAa,EAAE,MAAc;;;;;;;;2CAGvE,IAAI,CAAC,WAAW;+BACnB,QAAQ,EAAE,KAAK;wBACA,WAAM,IAAI,CAAC,MAAM,CAAC,cAAc,EAAE,EAAA;;wBAH5C,OAAO,sCAGZ,gBAAa,GAAE,SAAkC,QACjD;wBACgB,WAAM,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,UAAG,IAAI,CAAC,MAAM,SAAG,IAAI,CAAC,GAAG,CAAE,eAAO,MAAM,GAAI,EAAE,OAAO,SAAA,EAAE,CAAC,EAAA;;wBAAxG,QAAQ,GAAG,SAA6F;wBAC9G,WAAO,QAAQ,CAAC,IAAiB,EAAC;;;wBAElC,MAAM,IAAI,qCAA4B,CAAC,GAAC,CAAC,OAAO,CAAC,CAAC;;;;;KAEnD;IAEK,6CAAO,GAAb,UAAc,YAA0B;;;gBACvC,WAAO,IAAI,CAAC,cAAc,CAAgC,SAAS,EAAE,YAAY,CAAC,EAAC;;;KACnF;IAEK,6CAAO,GAAb,UAAc,YAA0B;;;gBACvC,WAAO,IAAI,CAAC,cAAc,CAAgC,SAAS,EAAE,YAAY,CAAC,EAAC;;;KACnF;IApCW,2BAA2B;QADvC,IAAA,mBAAU,GAAE;yCAOmB,mBAAW;YAChB,uBAAM;OAPpB,2BAA2B,CAqCvC;IAAD,kCAAC;CAAA,AAtCD,IAsCC;AArCY,kEAA2B"}
1
+ {"version":3,"file":"foreign-institutional.service.js","sourceRoot":"","sources":["../../src/services/foreign-institutional.service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAA4C;AAC5C,yC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BAAW;YAChB,uBAAM;OAPpB,2BAA2B,CAyCvC;IAAD,kCAAC;CAAA,AA1CD,IA0CC;AAzCY,kEAA2B"}
@@ -1,2 +1,3 @@
1
1
  export * from './ka10008';
2
2
  export * from './ka10009';
3
+ export * from './ka10131';
@@ -16,4 +16,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./ka10008"), exports);
18
18
  __exportStar(require("./ka10009"), exports);
19
+ __exportStar(require("./ka10131"), exports);
19
20
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/foreign-institutional/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,4CAA0B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/foreign-institutional/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,4CAA0B;AAC1B,4CAA0B"}
@@ -0,0 +1,37 @@
1
+ export interface KA10131Param {
2
+ dt: string;
3
+ strt_dt: string;
4
+ end_dt: string;
5
+ mrkt_tp: string;
6
+ netslmt_tp: string;
7
+ stk_inds_tp: string;
8
+ amt_qty_tp: string;
9
+ stex_tp: string;
10
+ }
11
+ interface OrgnFrgnrContTrdePrst {
12
+ rank: string;
13
+ stk_cd: string;
14
+ stk_nm: string;
15
+ prid_stkpc_flu_rt: string;
16
+ orgn_nettrde_amt: string;
17
+ orgn_nettrde_qty: string;
18
+ orgn_cont_netprps_dys: string;
19
+ orgn_cont_netprps_qty: string;
20
+ orgn_cont_netprps_amt: string;
21
+ frgnr_nettrde_qty: string;
22
+ frgnr_nettrde_amt: string;
23
+ frgnr_cont_netprps_dys: string;
24
+ frgnr_cont_netprps_qty: string;
25
+ frgnr_cont_netprps_amt: string;
26
+ nettrde_qty: string;
27
+ nettrde_amt: string;
28
+ tot_cont_netprps_dys: string;
29
+ tot_cont_nettrde_qty: string;
30
+ tot_cont_netprps_amt: string;
31
+ }
32
+ export interface KA10131Response {
33
+ orgn_frgnr_cont_trde_prst: OrgnFrgnrContTrdePrst[];
34
+ return_code: number;
35
+ return_msg: string;
36
+ }
37
+ export {};
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ka10131.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ka10131.js","sourceRoot":"","sources":["../../../src/types/foreign-institutional/ka10131.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nest-wrapper-kiwoom",
3
- "version": "0.41.0",
3
+ "version": "0.42.0",
4
4
  "homepage": "https://github.com/gong-yeongbin/nest-wrapper-kiwoom",
5
5
  "description": "A Nest module wrapper for 키움 REST API",
6
6
  "main": "dist/index.js",