Repository navigation
✨ Add initial TypeScript implementation - #1
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds the initial TypeScript implementation for the Toss Securities OpenAPI SDK.
This PR introduces:
TossInvestClientwith flat methods for all pinned operation IDsresultresponses by default, with{ withResponse: true }for raw envelope and HTTP metadata accessScope
Included:
Not included:
Validation
Fresh validation after PR QA updates:
Result:
1.1.1,20 paths6 files,37 testspasseddist/index.js,dist/index.js.map,dist/index.d.ts,package.json, andREADME.mdTestnet Order QA
The SDK was also exercised against Toss OpenAPI credentials that the user confirmed were configured for testnet/mock trading.
Successful flow covered:
035720035720PFE0[]A first run using
252670failed with422 prerequisite-requiredbecause that instrument requires prior education. The SDK correctly surfaced the failure asTossInvestApiErrorwith status, code, requestId, and body, so this was treated as an instrument eligibility issue rather than an SDK defect.Raw QA artifacts are intentionally left under
/tmp/tossinvest-live-order-qaand are not committed because they contain temporary account/order details.Review Notes
21/21operation IDs includingissueOAuth2Token, or20/20business API operations.openapi-typescript --check.