nest-wrapper-kiwoom 0.110.0 → 0.112.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 +2 -2
- package/dist/services/elw.service.d.ts +18 -0
- package/dist/services/elw.service.d.ts.map +1 -0
- package/dist/services/elw.service.js +59 -0
- package/dist/services/elw.service.js.map +1 -0
- package/dist/services/index.d.ts +2 -0
- package/dist/services/index.d.ts.map +1 -1
- package/dist/services/index.js +2 -0
- package/dist/services/index.js.map +1 -1
- package/dist/services/theme.service.d.ts +15 -0
- package/dist/services/theme.service.d.ts.map +1 -0
- package/dist/services/theme.service.js +56 -0
- package/dist/services/theme.service.js.map +1 -0
- package/dist/types/elw/index.d.ts +4 -0
- package/dist/types/elw/index.d.ts.map +1 -0
- package/dist/types/elw/index.js +20 -0
- package/dist/types/elw/index.js.map +1 -0
- package/dist/types/elw/ka10048.d.ts +20 -0
- package/dist/types/elw/ka10048.d.ts.map +1 -0
- package/dist/types/elw/ka10048.js +4 -0
- package/dist/types/elw/ka10048.js.map +1 -0
- package/dist/types/elw/ka10050.d.ts +22 -0
- package/dist/types/elw/ka10050.d.ts.map +1 -0
- package/dist/types/elw/ka10050.js +4 -0
- package/dist/types/elw/ka10050.js.map +1 -0
- package/dist/types/elw/ka30001.d.ts +31 -0
- package/dist/types/elw/ka30001.d.ts.map +1 -0
- package/dist/types/elw/ka30001.js +4 -0
- package/dist/types/elw/ka30001.js.map +1 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +2 -0
- package/dist/types/index.js.map +1 -1
- package/dist/types/theme/index.d.ts +3 -0
- package/dist/types/theme/index.d.ts.map +1 -0
- package/dist/types/theme/index.js +19 -0
- package/dist/types/theme/index.js.map +1 -0
- package/dist/types/theme/ka90001.d.ts +26 -0
- package/dist/types/theme/ka90001.d.ts.map +1 -0
- package/dist/types/theme/ka90001.js +4 -0
- package/dist/types/theme/ka90001.js.map +1 -0
- package/dist/types/theme/ka90002.d.ts +28 -0
- package/dist/types/theme/ka90002.d.ts.map +1 -0
- package/dist/types/theme/ka90002.js +4 -0
- package/dist/types/theme/ka90002.js.map +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { OnModuleInit } from '@nestjs/common';
|
|
2
|
+
import { HttpService } from '@nestjs/axios';
|
|
3
|
+
import { KA10048Param, KA10048Response, KA10050Param, KA10050Response, KA30001Param, KA30001Response } from '@src/types';
|
|
4
|
+
import { Oauth2 } from '@services/oauth2.service';
|
|
5
|
+
export declare class ElwService implements OnModuleInit {
|
|
6
|
+
private readonly httpService;
|
|
7
|
+
private readonly oauth2;
|
|
8
|
+
private readonly domain;
|
|
9
|
+
private readonly url;
|
|
10
|
+
private readonly baseHeaders;
|
|
11
|
+
constructor(httpService: HttpService, oauth2: Oauth2);
|
|
12
|
+
onModuleInit(): Promise<void>;
|
|
13
|
+
private executeApiCall;
|
|
14
|
+
ka10048(params: KA10048Param): Promise<KA10048Response>;
|
|
15
|
+
ka10050(params: KA10050Param): Promise<KA10050Response>;
|
|
16
|
+
ka30001(params: KA30001Param): Promise<KA30001Response>;
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=elw.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"elw.service.d.ts","sourceRoot":"","sources":["../../src/services/elw.service.ts"],"names":[],"mappings":"AACA,OAAO,EAA4C,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACxF,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,YAAY,EAAE,eAAe,EAAE,YAAY,EAAE,eAAe,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AACzH,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAElD,qBACa,UAAW,YAAW,YAAY;IAU7C,OAAO,CAAC,QAAQ,CAAC,WAAW;IAC5B,OAAO,CAAC,QAAQ,CAAC,MAAM;IAVxB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA4B;IACnD,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAoB;IACxC,OAAO,CAAC,QAAQ,CAAC,WAAW,CAI1B;gBAGgB,WAAW,EAAE,WAAW,EACxB,MAAM,EAAE,MAAM;IAG1B,YAAY;YAIJ,cAAc;IAWtB,OAAO,CAAC,MAAM,EAAE,YAAY,GAAG,OAAO,CAAC,eAAe,CAAC;IAIvD,OAAO,CAAC,MAAM,EAAE,YAAY,GAAG,OAAO,CAAC,eAAe,CAAC;IAIvD,OAAO,CAAC,MAAM,EAAE,YAAY,GAAG,OAAO,CAAC,eAAe,CAAC;CAG7D"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
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
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.ElwService = void 0;
|
|
13
|
+
// ELW 관련 API를 처리하는 서비스
|
|
14
|
+
const common_1 = require("@nestjs/common");
|
|
15
|
+
const axios_1 = require("@nestjs/axios");
|
|
16
|
+
const oauth2_service_1 = require("@services/oauth2.service");
|
|
17
|
+
let ElwService = class ElwService {
|
|
18
|
+
constructor(httpService, oauth2) {
|
|
19
|
+
this.httpService = httpService;
|
|
20
|
+
this.oauth2 = oauth2;
|
|
21
|
+
this.domain = 'https://api.kiwoom.com';
|
|
22
|
+
this.url = '/api/dostk/elw';
|
|
23
|
+
this.baseHeaders = {
|
|
24
|
+
'Content-Type': 'application/json;charset=UTF-8',
|
|
25
|
+
'cont-yn': 'N',
|
|
26
|
+
'next-key': 'N',
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
async onModuleInit() {
|
|
30
|
+
this.baseHeaders['authorization'] = await this.oauth2.getBearerToken();
|
|
31
|
+
}
|
|
32
|
+
async executeApiCall(apiId, params) {
|
|
33
|
+
try {
|
|
34
|
+
const response = await this.httpService.axiosRef.post(`${this.domain}${this.url}`, params, {
|
|
35
|
+
headers: { ...this.baseHeaders, 'api-id': apiId },
|
|
36
|
+
});
|
|
37
|
+
return response.data;
|
|
38
|
+
}
|
|
39
|
+
catch (e) {
|
|
40
|
+
throw new common_1.InternalServerErrorException(e.message);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
async ka10048(params) {
|
|
44
|
+
return this.executeApiCall('ka10048', params);
|
|
45
|
+
}
|
|
46
|
+
async ka10050(params) {
|
|
47
|
+
return this.executeApiCall('ka10050', params);
|
|
48
|
+
}
|
|
49
|
+
async ka30001(params) {
|
|
50
|
+
return this.executeApiCall('ka30001', params);
|
|
51
|
+
}
|
|
52
|
+
};
|
|
53
|
+
exports.ElwService = ElwService;
|
|
54
|
+
exports.ElwService = ElwService = __decorate([
|
|
55
|
+
(0, common_1.Injectable)(),
|
|
56
|
+
__metadata("design:paramtypes", [axios_1.HttpService,
|
|
57
|
+
oauth2_service_1.Oauth2])
|
|
58
|
+
], ElwService);
|
|
59
|
+
//# sourceMappingURL=elw.service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"elw.service.js","sourceRoot":"","sources":["../../src/services/elw.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,uBAAuB;AACvB,2CAAwF;AACxF,yCAA4C;AAE5C,6DAAkD;AAG3C,IAAM,UAAU,GAAhB,MAAM,UAAU;IAStB,YACkB,WAAwB,EACxB,MAAc;QADd,gBAAW,GAAX,WAAW,CAAa;QACxB,WAAM,GAAN,MAAM,CAAQ;QAVf,WAAM,GAAG,wBAAwB,CAAC;QAClC,QAAG,GAAG,gBAAgB,CAAC;QACvB,gBAAW,GAA2B;YACtD,cAAc,EAAE,gCAAgC;YAChD,SAAS,EAAE,GAAG;YACd,UAAU,EAAE,GAAG;SACf,CAAC;IAKC,CAAC;IAEJ,KAAK,CAAC,YAAY;QACjB,IAAI,CAAC,WAAW,CAAC,eAAe,CAAC,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,cAAc,EAAE,CAAC;IACxE,CAAC;IAEO,KAAK,CAAC,cAAc,CAAoB,KAAa,EAAE,MAAc;QAC5E,IAAI,CAAC;YACJ,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAY,GAAG,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,GAAG,EAAE,EAAE,MAAM,EAAE;gBACrG,OAAO,EAAE,EAAE,GAAG,IAAI,CAAC,WAAW,EAAE,QAAQ,EAAE,KAAK,EAAE;aACjD,CAAC,CAAC;YACH,OAAO,QAAQ,CAAC,IAAI,CAAC;QACtB,CAAC;QAAC,OAAO,CAAC,EAAE,CAAC;YACZ,MAAM,IAAI,qCAA4B,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC;QACnD,CAAC;IACF,CAAC;IAED,KAAK,CAAC,OAAO,CAAC,MAAoB;QACjC,OAAO,IAAI,CAAC,cAAc,CAAgC,SAAS,EAAE,MAAM,CAAC,CAAC;IAC9E,CAAC;IAED,KAAK,CAAC,OAAO,CAAC,MAAoB;QACjC,OAAO,IAAI,CAAC,cAAc,CAAgC,SAAS,EAAE,MAAM,CAAC,CAAC;IAC9E,CAAC;IAED,KAAK,CAAC,OAAO,CAAC,MAAoB;QACjC,OAAO,IAAI,CAAC,cAAc,CAAgC,SAAS,EAAE,MAAM,CAAC,CAAC;IAC9E,CAAC;CACD,CAAA;AAxCY,gCAAU;qBAAV,UAAU;IADtB,IAAA,mBAAU,GAAE;qCAWmB,mBAAW;QAChB,uBAAM;GAXpB,UAAU,CAwCtB"}
|
package/dist/services/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/services/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,iCAAiC,CAAC;AAChD,cAAc,wCAAwC,CAAC;AACvD,cAAc,qBAAqB,CAAC;AACpC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,iBAAiB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/services/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,iCAAiC,CAAC;AAChD,cAAc,wCAAwC,CAAC;AACvD,cAAc,qBAAqB,CAAC;AACpC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC"}
|
package/dist/services/index.js
CHANGED
|
@@ -27,4 +27,6 @@ __exportStar(require("./credit-order.service"), exports);
|
|
|
27
27
|
__exportStar(require("./sector.service"), exports);
|
|
28
28
|
__exportStar(require("./stock-info.service"), exports);
|
|
29
29
|
__exportStar(require("./chart.service"), exports);
|
|
30
|
+
__exportStar(require("./theme.service"), exports);
|
|
31
|
+
__exportStar(require("./elw.service"), exports);
|
|
30
32
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/services/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mDAAiC;AACjC,gDAA8B;AAC9B,kDAAgC;AAChC,oDAAkC;AAClC,sDAAoC;AACpC,kEAAgD;AAChD,yEAAuD;AACvD,sDAAoC;AACpC,6DAA2C;AAC3C,yDAAuC;AACvC,mDAAiC;AACjC,uDAAqC;AACrC,kDAAgC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/services/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mDAAiC;AACjC,gDAA8B;AAC9B,kDAAgC;AAChC,oDAAkC;AAClC,sDAAoC;AACpC,kEAAgD;AAChD,yEAAuD;AACvD,sDAAoC;AACpC,6DAA2C;AAC3C,yDAAuC;AACvC,mDAAiC;AACjC,uDAAqC;AACrC,kDAAgC;AAChC,kDAAgC;AAChC,gDAA8B"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { HttpService } from '@nestjs/axios';
|
|
2
|
+
import { Oauth2 } from '@services/oauth2.service';
|
|
3
|
+
import { KA90001Param, KA90001Response, KA90002Param, KA90002Response } from '@src/types';
|
|
4
|
+
export declare class ThemeService {
|
|
5
|
+
private readonly httpService;
|
|
6
|
+
private readonly oauth2;
|
|
7
|
+
private readonly domain;
|
|
8
|
+
private readonly url;
|
|
9
|
+
private readonly baseHeaders;
|
|
10
|
+
constructor(httpService: HttpService, oauth2: Oauth2);
|
|
11
|
+
private executeApiCall;
|
|
12
|
+
ka90001(ka90001Param: KA90001Param): Promise<KA90001Response>;
|
|
13
|
+
ka90002(ka90002Param: KA90002Param): Promise<KA90002Response>;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=theme.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theme.service.d.ts","sourceRoot":"","sources":["../../src/services/theme.service.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,WAAW,EAAC,MAAM,eAAe,CAAC;AAC1C,OAAO,EAAC,MAAM,EAAC,MAAM,0BAA0B,CAAC;AAChD,OAAO,EAAC,YAAY,EAAE,eAAe,EAAE,YAAY,EAAE,eAAe,EAAC,MAAM,YAAY,CAAC;AAExF,qBACa,YAAY;IAMvB,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;CAGnE"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
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
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.ThemeService = void 0;
|
|
13
|
+
// 테마 관련 API를 처리하는 서비스
|
|
14
|
+
const common_1 = require("@nestjs/common");
|
|
15
|
+
const axios_1 = require("@nestjs/axios");
|
|
16
|
+
const oauth2_service_1 = require("@services/oauth2.service");
|
|
17
|
+
let ThemeService = class ThemeService {
|
|
18
|
+
constructor(httpService, oauth2) {
|
|
19
|
+
this.httpService = httpService;
|
|
20
|
+
this.oauth2 = oauth2;
|
|
21
|
+
this.domain = 'https://api.kiwoom.com';
|
|
22
|
+
this.url = '/api/dostk/thme';
|
|
23
|
+
this.baseHeaders = {
|
|
24
|
+
'Content-Type': 'application/json;charset=UTF-8',
|
|
25
|
+
'cont-yn': 'N',
|
|
26
|
+
'next-key': 'N',
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
async executeApiCall(apiId, params) {
|
|
30
|
+
try {
|
|
31
|
+
const headers = {
|
|
32
|
+
...this.baseHeaders,
|
|
33
|
+
'api-id': apiId,
|
|
34
|
+
authorization: await this.oauth2.getBearerToken(),
|
|
35
|
+
};
|
|
36
|
+
const response = await this.httpService.axiosRef.post(`${this.domain}${this.url}`, { ...params }, { headers });
|
|
37
|
+
return response.data;
|
|
38
|
+
}
|
|
39
|
+
catch (e) {
|
|
40
|
+
throw new common_1.InternalServerErrorException(e.message);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
async ka90001(ka90001Param) {
|
|
44
|
+
return this.executeApiCall('ka90001', ka90001Param);
|
|
45
|
+
}
|
|
46
|
+
async ka90002(ka90002Param) {
|
|
47
|
+
return this.executeApiCall('ka90002', ka90002Param);
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
exports.ThemeService = ThemeService;
|
|
51
|
+
exports.ThemeService = ThemeService = __decorate([
|
|
52
|
+
(0, common_1.Injectable)(),
|
|
53
|
+
__metadata("design:paramtypes", [axios_1.HttpService,
|
|
54
|
+
oauth2_service_1.Oauth2])
|
|
55
|
+
], ThemeService);
|
|
56
|
+
//# sourceMappingURL=theme.service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theme.service.js","sourceRoot":"","sources":["../../src/services/theme.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,sBAAsB;AACtB,2CAAwE;AACxE,yCAA0C;AAC1C,6DAAgD;AAIzC,IAAM,YAAY,GAAlB,MAAM,YAAY;IAKxB,YACkB,WAAwB,EACxB,MAAc;QADd,gBAAW,GAAX,WAAW,CAAa;QACxB,WAAM,GAAN,MAAM,CAAQ;QANf,WAAM,GAAW,wBAAwB,CAAC;QAC1C,QAAG,GAAW,iBAAiB,CAAC;QAOhD,IAAI,CAAC,WAAW,GAAG;YAClB,cAAc,EAAE,gCAAgC;YAChD,SAAS,EAAE,GAAG;YACd,UAAU,EAAE,GAAG;SACf,CAAC;IACH,CAAC;IAEO,KAAK,CAAC,cAAc,CAAoB,KAAa,EAAE,MAAc;QAC5E,IAAI,CAAC;YACJ,MAAM,OAAO,GAAG;gBACf,GAAG,IAAI,CAAC,WAAW;gBACnB,QAAQ,EAAE,KAAK;gBACf,aAAa,EAAE,MAAM,IAAI,CAAC,MAAM,CAAC,cAAc,EAAE;aACjD,CAAC;YACF,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,GAAG,EAAE,EAAE,EAAE,GAAG,MAAM,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,CAAC;YAC/G,OAAO,QAAQ,CAAC,IAAiB,CAAC;QACnC,CAAC;QAAC,OAAO,CAAC,EAAE,CAAC;YACZ,MAAM,IAAI,qCAA4B,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC;QACnD,CAAC;IACF,CAAC;IAED,KAAK,CAAC,OAAO,CAAC,YAA0B;QACvC,OAAO,IAAI,CAAC,cAAc,CAAgC,SAAS,EAAE,YAAY,CAAC,CAAC;IACpF,CAAC;IAED,KAAK,CAAC,OAAO,CAAC,YAA0B;QACvC,OAAO,IAAI,CAAC,cAAc,CAAgC,SAAS,EAAE,YAAY,CAAC,CAAC;IACpF,CAAC;CACD,CAAA;AArCY,oCAAY;uBAAZ,YAAY;IADxB,IAAA,mBAAU,GAAE;qCAOmB,mBAAW;QAChB,uBAAM;GAPpB,YAAY,CAqCxB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/elw/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./ka10048"), exports);
|
|
18
|
+
__exportStar(require("./ka10050"), exports);
|
|
19
|
+
__exportStar(require("./ka30001"), exports);
|
|
20
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/elw/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,4CAA0B;AAC1B,4CAA0B"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export interface KA10048Param {
|
|
2
|
+
stk_cd: string;
|
|
3
|
+
}
|
|
4
|
+
interface ElwdalySnstIx {
|
|
5
|
+
dt: string;
|
|
6
|
+
iv: string;
|
|
7
|
+
delta: string;
|
|
8
|
+
gam: string;
|
|
9
|
+
theta: string;
|
|
10
|
+
vega: string;
|
|
11
|
+
law: string;
|
|
12
|
+
lp: string;
|
|
13
|
+
}
|
|
14
|
+
export interface KA10048Response {
|
|
15
|
+
elwdaly_snst_ix: ElwdalySnstIx[];
|
|
16
|
+
return_code: number;
|
|
17
|
+
return_msg: string;
|
|
18
|
+
}
|
|
19
|
+
export {};
|
|
20
|
+
//# sourceMappingURL=ka10048.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ka10048.d.ts","sourceRoot":"","sources":["../../../src/types/elw/ka10048.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,YAAY;IAC5B,MAAM,EAAE,MAAM,CAAC;CACf;AAED,UAAU,aAAa;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,EAAE,EAAE,MAAM,CAAC;CACX;AAED,MAAM,WAAW,eAAe;IAC/B,eAAe,EAAE,aAAa,EAAE,CAAC;IACjC,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;CACnB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ka10048.js","sourceRoot":"","sources":["../../../src/types/elw/ka10048.ts"],"names":[],"mappings":";AAAA,qBAAqB"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export interface KA10050Param {
|
|
2
|
+
stk_cd: string;
|
|
3
|
+
}
|
|
4
|
+
interface ElwsnstIxArray {
|
|
5
|
+
cntr_tm: string;
|
|
6
|
+
cur_prc: string;
|
|
7
|
+
elwtheory_pric: string;
|
|
8
|
+
iv: string;
|
|
9
|
+
delta: string;
|
|
10
|
+
gam: string;
|
|
11
|
+
theta: string;
|
|
12
|
+
vega: string;
|
|
13
|
+
law: string;
|
|
14
|
+
lp: string;
|
|
15
|
+
}
|
|
16
|
+
export interface KA10050Response {
|
|
17
|
+
elwsnst_ix_array: ElwsnstIxArray[];
|
|
18
|
+
return_code: number;
|
|
19
|
+
return_msg: string;
|
|
20
|
+
}
|
|
21
|
+
export {};
|
|
22
|
+
//# sourceMappingURL=ka10050.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ka10050.d.ts","sourceRoot":"","sources":["../../../src/types/elw/ka10050.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,YAAY;IAC5B,MAAM,EAAE,MAAM,CAAC;CACf;AAED,UAAU,cAAc;IACvB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,EAAE,MAAM,CAAC;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,EAAE,EAAE,MAAM,CAAC;CACX;AAED,MAAM,WAAW,eAAe;IAC/B,gBAAgB,EAAE,cAAc,EAAE,CAAC;IACnC,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;CACnB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ka10050.js","sourceRoot":"","sources":["../../../src/types/elw/ka10050.ts"],"names":[],"mappings":";AAAA,mBAAmB"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export interface KA30001Param {
|
|
2
|
+
flu_tp: string;
|
|
3
|
+
tm_tp: string;
|
|
4
|
+
tm: string;
|
|
5
|
+
trde_qty_tp: string;
|
|
6
|
+
isscomp_cd: string;
|
|
7
|
+
bsis_aset_cd: string;
|
|
8
|
+
rght_tp: string;
|
|
9
|
+
lpcd: string;
|
|
10
|
+
trde_end_elwskip: string;
|
|
11
|
+
}
|
|
12
|
+
interface ElwpricJmpflu {
|
|
13
|
+
stk_cd: string;
|
|
14
|
+
rank: string;
|
|
15
|
+
stk_nm: string;
|
|
16
|
+
pre_sig: string;
|
|
17
|
+
pred_pre: string;
|
|
18
|
+
trde_end_elwbase_pric: string;
|
|
19
|
+
cur_prc: string;
|
|
20
|
+
base_pre: string;
|
|
21
|
+
trde_qty: string;
|
|
22
|
+
jmp_rt: string;
|
|
23
|
+
}
|
|
24
|
+
export interface KA30001Response {
|
|
25
|
+
base_pric_tm: string;
|
|
26
|
+
elwpric_jmpflu: ElwpricJmpflu[];
|
|
27
|
+
return_code: number;
|
|
28
|
+
return_msg: string;
|
|
29
|
+
}
|
|
30
|
+
export {};
|
|
31
|
+
//# sourceMappingURL=ka30001.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ka30001.d.ts","sourceRoot":"","sources":["../../../src/types/elw/ka30001.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,YAAY;IAC5B,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,gBAAgB,EAAE,MAAM,CAAC;CACzB;AAED,UAAU,aAAa;IACtB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,qBAAqB,EAAE,MAAM,CAAC;IAC9B,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,eAAe;IAC/B,YAAY,EAAE,MAAM,CAAC;IACrB,cAAc,EAAE,aAAa,EAAE,CAAC;IAChC,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;CACnB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ka30001.js","sourceRoot":"","sources":["../../../src/types/elw/ka30001.ts"],"names":[],"mappings":";AAAA,mBAAmB"}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,OAAO,CAAC;AACtB,cAAc,yBAAyB,CAAC;AACxC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,aAAa,CAAC;AAC5B,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,OAAO,CAAC;AACtB,cAAc,yBAAyB,CAAC;AACxC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,aAAa,CAAC;AAC5B,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,OAAO,CAAC"}
|
package/dist/types/index.js
CHANGED
|
@@ -26,4 +26,6 @@ __exportStar(require("./credit-order"), exports);
|
|
|
26
26
|
__exportStar(require("./sector"), exports);
|
|
27
27
|
__exportStar(require("./stock-info"), exports);
|
|
28
28
|
__exportStar(require("./chart"), exports);
|
|
29
|
+
__exportStar(require("./theme"), exports);
|
|
30
|
+
__exportStar(require("./elw"), exports);
|
|
29
31
|
//# sourceMappingURL=index.js.map
|
package/dist/types/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,0CAAwB;AACxB,4CAA0B;AAC1B,wCAAsB;AACtB,0DAAwC;AACxC,iEAA+C;AAC/C,8CAA4B;AAC5B,qDAAmC;AACnC,iDAA+B;AAC/B,2CAAyB;AACzB,+CAA6B;AAC7B,0CAAwB"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,0CAAwB;AACxB,4CAA0B;AAC1B,wCAAsB;AACtB,0DAAwC;AACxC,iEAA+C;AAC/C,8CAA4B;AAC5B,qDAAmC;AACnC,iDAA+B;AAC/B,2CAAyB;AACzB,+CAA6B;AAC7B,0CAAwB;AACxB,0CAAwB;AACxB,wCAAsB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/theme/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./ka90001"), exports);
|
|
18
|
+
__exportStar(require("./ka90002"), exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/theme/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,4CAA0B"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export interface KA90001Param {
|
|
2
|
+
qry_tp: string;
|
|
3
|
+
stk_cd: string;
|
|
4
|
+
date_tp: string;
|
|
5
|
+
thema_nm: string;
|
|
6
|
+
flu_pl_amt_tp: string;
|
|
7
|
+
stex_tp: string;
|
|
8
|
+
}
|
|
9
|
+
interface ThemaGrp {
|
|
10
|
+
thema_grp_cd: string;
|
|
11
|
+
thema_nm: string;
|
|
12
|
+
stk_num: string;
|
|
13
|
+
flu_sig: string;
|
|
14
|
+
flu_rt: string;
|
|
15
|
+
rising_stk_num: string;
|
|
16
|
+
fall_stk_num: string;
|
|
17
|
+
dt_prft_rt: string;
|
|
18
|
+
main_stk: string;
|
|
19
|
+
}
|
|
20
|
+
export interface KA90001Response {
|
|
21
|
+
thema_grp: ThemaGrp[];
|
|
22
|
+
return_code: number;
|
|
23
|
+
return_msg: string;
|
|
24
|
+
}
|
|
25
|
+
export {};
|
|
26
|
+
//# sourceMappingURL=ka90001.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ka90001.d.ts","sourceRoot":"","sources":["../../../src/types/theme/ka90001.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,YAAY;IAC5B,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,MAAM,CAAC;IACtB,OAAO,EAAE,MAAM,CAAC;CAChB;AAED,UAAU,QAAQ;IACjB,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,cAAc,EAAE,MAAM,CAAC;IACvB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,eAAe;IAC/B,SAAS,EAAE,QAAQ,EAAE,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;CACnB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ka90001.js","sourceRoot":"","sources":["../../../src/types/theme/ka90001.ts"],"names":[],"mappings":";AAAA,iBAAiB"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export interface KA90002Param {
|
|
2
|
+
date_tp: string;
|
|
3
|
+
thema_grp_cd: string;
|
|
4
|
+
stex_tp: string;
|
|
5
|
+
}
|
|
6
|
+
interface ThemaCompStk {
|
|
7
|
+
stk_cd: string;
|
|
8
|
+
stk_nm: string;
|
|
9
|
+
cur_prc: string;
|
|
10
|
+
flu_sig: string;
|
|
11
|
+
pred_pre: string;
|
|
12
|
+
flu_rt: string;
|
|
13
|
+
acc_trde_qty: string;
|
|
14
|
+
sel_bid: string;
|
|
15
|
+
sel_req: string;
|
|
16
|
+
buy_bid: string;
|
|
17
|
+
buy_req: string;
|
|
18
|
+
dt_prft_rt_n: string;
|
|
19
|
+
}
|
|
20
|
+
export interface KA90002Response {
|
|
21
|
+
flu_rt: string;
|
|
22
|
+
dt_prft_rt: string;
|
|
23
|
+
thema_comp_stk: ThemaCompStk[];
|
|
24
|
+
return_code: number;
|
|
25
|
+
return_msg: string;
|
|
26
|
+
}
|
|
27
|
+
export {};
|
|
28
|
+
//# sourceMappingURL=ka90002.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ka90002.d.ts","sourceRoot":"","sources":["../../../src/types/theme/ka90002.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,YAAY;IAC5B,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,MAAM,CAAC;CAChB;AAED,UAAU,YAAY;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,eAAe;IAC/B,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,YAAY,EAAE,CAAC;IAC/B,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;CACnB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ka90002.js","sourceRoot":"","sources":["../../../src/types/theme/ka90002.ts"],"names":[],"mappings":";AAAA,kBAAkB"}
|