snaptrade-typescript-sdk 9.0.200 → 10.0.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.
- package/README.md +40 -2
- package/dist/chunk-e9Ob2GDo.mjs +26 -0
- package/dist/index.cjs +6594 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +1 -0
- package/dist/index.d.mts +10422 -0
- package/dist/index.d.ts +1 -5
- package/dist/index.mjs +6527 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +27 -13
- package/dist/api/account-information-api-generated.d.ts +0 -950
- package/dist/api/account-information-api-generated.js +0 -1372
- package/dist/api/account-information-api.d.ts +0 -4
- package/dist/api/account-information-api.js +0 -22
- package/dist/api/api-status-api-generated.d.ts +0 -59
- package/dist/api/api-status-api-generated.js +0 -133
- package/dist/api/api-status-api.d.ts +0 -4
- package/dist/api/api-status-api.js +0 -22
- package/dist/api/authentication-api-generated.d.ts +0 -241
- package/dist/api/authentication-api-generated.js +0 -482
- package/dist/api/authentication-api.d.ts +0 -4
- package/dist/api/authentication-api.js +0 -22
- package/dist/api/connections-api-generated.d.ts +0 -576
- package/dist/api/connections-api-generated.js +0 -868
- package/dist/api/connections-api.d.ts +0 -4
- package/dist/api/connections-api.js +0 -22
- package/dist/api/options-api-generated.d.ts +0 -90
- package/dist/api/options-api-generated.js +0 -158
- package/dist/api/options-api.d.ts +0 -4
- package/dist/api/options-api.js +0 -22
- package/dist/api/reference-data-api-generated.d.ts +0 -497
- package/dist/api/reference-data-api-generated.js +0 -973
- package/dist/api/reference-data-api.d.ts +0 -4
- package/dist/api/reference-data-api.js +0 -22
- package/dist/api/trading-api-generated.d.ts +0 -1058
- package/dist/api/trading-api-generated.js +0 -1688
- package/dist/api/trading-api.d.ts +0 -4
- package/dist/api/trading-api.js +0 -22
- package/dist/api/transactions-and-reporting-api-generated.d.ts +0 -215
- package/dist/api/transactions-and-reporting-api-generated.js +0 -299
- package/dist/api/transactions-and-reporting-api.d.ts +0 -4
- package/dist/api/transactions-and-reporting-api.js +0 -22
- package/dist/api.d.ts +0 -8
- package/dist/api.js +0 -36
- package/dist/base.d.ts +0 -44
- package/dist/base.js +0 -60
- package/dist/browser.js +0 -2
- package/dist/browser.js.LICENSE.txt +0 -1
- package/dist/client-custom.d.ts +0 -4
- package/dist/client-custom.js +0 -7
- package/dist/client.d.ts +0 -14
- package/dist/client.js +0 -31
- package/dist/common.d.ts +0 -61
- package/dist/common.js +0 -220
- package/dist/configuration.d.ts +0 -98
- package/dist/configuration.js +0 -53
- package/dist/error.d.ts +0 -46
- package/dist/error.js +0 -105
- package/dist/index.js +0 -33
- package/dist/jest.config.d.ts +0 -3
- package/dist/jest.config.js +0 -13
- package/dist/mock.test.d.ts +0 -1
- package/dist/mock.test.js +0 -29
- package/dist/models/account-balance-total.d.ts +0 -19
- package/dist/models/account-balance-total.js +0 -2
- package/dist/models/account-balance.d.ts +0 -14
- package/dist/models/account-balance.js +0 -2
- package/dist/models/account-holdings-account.d.ts +0 -51
- package/dist/models/account-holdings-account.js +0 -2
- package/dist/models/account-holdings.d.ts +0 -37
- package/dist/models/account-holdings.js +0 -2
- package/dist/models/account-information-get-user-account-order-detail-request.d.ts +0 -13
- package/dist/models/account-information-get-user-account-order-detail-request.js +0 -2
- package/dist/models/account-order-record-child-brokerage-order-ids.d.ts +0 -19
- package/dist/models/account-order-record-child-brokerage-order-ids.js +0 -2
- package/dist/models/account-order-record-leg-instrument.d.ts +0 -38
- package/dist/models/account-order-record-leg-instrument.js +0 -2
- package/dist/models/account-order-record-leg.d.ts +0 -58
- package/dist/models/account-order-record-leg.js +0 -2
- package/dist/models/account-order-record-option-symbol.d.ts +0 -52
- package/dist/models/account-order-record-option-symbol.js +0 -2
- package/dist/models/account-order-record-quote-currency.d.ts +0 -25
- package/dist/models/account-order-record-quote-currency.js +0 -2
- package/dist/models/account-order-record-quote-universal-symbol.d.ts +0 -73
- package/dist/models/account-order-record-quote-universal-symbol.js +0 -2
- package/dist/models/account-order-record-status-v2.d.ts +0 -6
- package/dist/models/account-order-record-status-v2.js +0 -2
- package/dist/models/account-order-record-status.d.ts +0 -6
- package/dist/models/account-order-record-status.js +0 -2
- package/dist/models/account-order-record-trailing-stop.d.ts +0 -21
- package/dist/models/account-order-record-trailing-stop.js +0 -2
- package/dist/models/account-order-record-universal-symbol.d.ts +0 -73
- package/dist/models/account-order-record-universal-symbol.js +0 -2
- package/dist/models/account-order-record-v2.d.ts +0 -97
- package/dist/models/account-order-record-v2.js +0 -2
- package/dist/models/account-order-record.d.ts +0 -168
- package/dist/models/account-order-record.js +0 -2
- package/dist/models/account-orders-v2-response.d.ts +0 -15
- package/dist/models/account-orders-v2-response.js +0 -2
- package/dist/models/account-position.d.ts +0 -52
- package/dist/models/account-position.js +0 -2
- package/dist/models/account-simple.d.ts +0 -39
- package/dist/models/account-simple.js +0 -2
- package/dist/models/account-sync-status.d.ts +0 -21
- package/dist/models/account-sync-status.js +0 -2
- package/dist/models/account-universal-activity-currency.d.ts +0 -25
- package/dist/models/account-universal-activity-currency.js +0 -2
- package/dist/models/account-universal-activity-option-symbol.d.ts +0 -52
- package/dist/models/account-universal-activity-option-symbol.js +0 -2
- package/dist/models/account-universal-activity-symbol.d.ts +0 -65
- package/dist/models/account-universal-activity-symbol.js +0 -2
- package/dist/models/account-universal-activity.d.ts +0 -107
- package/dist/models/account-universal-activity.js +0 -2
- package/dist/models/account-value-history-item.d.ts +0 -20
- package/dist/models/account-value-history-item.js +0 -2
- package/dist/models/account-value-history-response.d.ts +0 -21
- package/dist/models/account-value-history-response.js +0 -2
- package/dist/models/account.d.ts +0 -126
- package/dist/models/account.js +0 -2
- package/dist/models/action-strict-with-options.d.ts +0 -6
- package/dist/models/action-strict-with-options.js +0 -2
- package/dist/models/action-strict.d.ts +0 -6
- package/dist/models/action-strict.js +0 -2
- package/dist/models/adr-instrument.d.ts +0 -59
- package/dist/models/adr-instrument.js +0 -2
- package/dist/models/all-account-positions-response.d.ts +0 -15
- package/dist/models/all-account-positions-response.js +0 -2
- package/dist/models/authentication-login-snap-trade-user200-response.d.ts +0 -7
- package/dist/models/authentication-login-snap-trade-user200-response.js +0 -2
- package/dist/models/balance-currency.d.ts +0 -25
- package/dist/models/balance-currency.js +0 -2
- package/dist/models/balance.d.ts +0 -27
- package/dist/models/balance.js +0 -2
- package/dist/models/brokerage-authorization-disabled-confirmation.d.ts +0 -14
- package/dist/models/brokerage-authorization-disabled-confirmation.js +0 -2
- package/dist/models/brokerage-authorization-refresh-confirmation.d.ts +0 -14
- package/dist/models/brokerage-authorization-refresh-confirmation.js +0 -2
- package/dist/models/brokerage-authorization-transactions-sync-confirmation.d.ts +0 -14
- package/dist/models/brokerage-authorization-transactions-sync-confirmation.js +0 -2
- package/dist/models/brokerage-authorization-type-read-only-brokerage.d.ts +0 -26
- package/dist/models/brokerage-authorization-type-read-only-brokerage.js +0 -2
- package/dist/models/brokerage-authorization-type-read-only.d.ts +0 -36
- package/dist/models/brokerage-authorization-type-read-only.js +0 -2
- package/dist/models/brokerage-authorization.d.ts +0 -73
- package/dist/models/brokerage-authorization.js +0 -2
- package/dist/models/brokerage-instrument.d.ts +0 -38
- package/dist/models/brokerage-instrument.js +0 -2
- package/dist/models/brokerage-instruments-response.d.ts +0 -15
- package/dist/models/brokerage-instruments-response.js +0 -2
- package/dist/models/brokerage-type.d.ts +0 -20
- package/dist/models/brokerage-type.js +0 -2
- package/dist/models/brokerage.d.ts +0 -122
- package/dist/models/brokerage.js +0 -2
- package/dist/models/cancel-order-response.d.ts +0 -22
- package/dist/models/cancel-order-response.js +0 -2
- package/dist/models/cef-instrument.d.ts +0 -59
- package/dist/models/cef-instrument.js +0 -2
- package/dist/models/child-brokerage-order-ids.d.ts +0 -20
- package/dist/models/child-brokerage-order-ids.js +0 -2
- package/dist/models/complex-order-leg.d.ts +0 -62
- package/dist/models/complex-order-leg.js +0 -2
- package/dist/models/complex-order-response.d.ts +0 -22
- package/dist/models/complex-order-response.js +0 -2
- package/dist/models/connections-session-events200-response-inner.d.ts +0 -6
- package/dist/models/connections-session-events200-response-inner.js +0 -2
- package/dist/models/crypto-instrument.d.ts +0 -59
- package/dist/models/crypto-instrument.js +0 -2
- package/dist/models/crypto-order-form.d.ts +0 -66
- package/dist/models/crypto-order-form.js +0 -2
- package/dist/models/crypto-order-preview-estimated-fee.d.ts +0 -20
- package/dist/models/crypto-order-preview-estimated-fee.js +0 -2
- package/dist/models/crypto-order-preview.d.ts +0 -15
- package/dist/models/crypto-order-preview.js +0 -2
- package/dist/models/crypto-trading-instrument.d.ts +0 -22
- package/dist/models/crypto-trading-instrument.js +0 -2
- package/dist/models/cryptocurrency-pair-quote.d.ts +0 -32
- package/dist/models/cryptocurrency-pair-quote.js +0 -2
- package/dist/models/cryptocurrency-pair.d.ts +0 -32
- package/dist/models/cryptocurrency-pair.js +0 -2
- package/dist/models/currency.d.ts +0 -26
- package/dist/models/currency.js +0 -2
- package/dist/models/delete-connection-confirmation.d.ts +0 -20
- package/dist/models/delete-connection-confirmation.js +0 -2
- package/dist/models/delete-user-response.d.ts +0 -26
- package/dist/models/delete-user-response.js +0 -2
- package/dist/models/dividend-at-date.d.ts +0 -26
- package/dist/models/dividend-at-date.js +0 -2
- package/dist/models/encrypted-response-encrypted-message-data.d.ts +0 -26
- package/dist/models/encrypted-response-encrypted-message-data.js +0 -2
- package/dist/models/encrypted-response.d.ts +0 -20
- package/dist/models/encrypted-response.js +0 -2
- package/dist/models/etf-instrument.d.ts +0 -59
- package/dist/models/etf-instrument.js +0 -2
- package/dist/models/exchange-rate-pairs.d.ts +0 -27
- package/dist/models/exchange-rate-pairs.js +0 -2
- package/dist/models/exchange.d.ts +0 -56
- package/dist/models/exchange.js +0 -2
- package/dist/models/figi-instrument.d.ts +0 -20
- package/dist/models/figi-instrument.js +0 -2
- package/dist/models/future-instrument.d.ts +0 -64
- package/dist/models/future-instrument.js +0 -2
- package/dist/models/holdings-status.d.ts +0 -19
- package/dist/models/holdings-status.js +0 -2
- package/dist/models/index.d.ts +0 -173
- package/dist/models/index.js +0 -189
- package/dist/models/instrument.d.ts +0 -33
- package/dist/models/instrument.js +0 -2
- package/dist/models/login-redirect-uri.d.ts +0 -19
- package/dist/models/login-redirect-uri.js +0 -2
- package/dist/models/manual-trade-and-impact.d.ts +0 -29
- package/dist/models/manual-trade-and-impact.js +0 -2
- package/dist/models/manual-trade-balance.d.ts +0 -28
- package/dist/models/manual-trade-balance.js +0 -2
- package/dist/models/manual-trade-form-bracket.d.ts +0 -67
- package/dist/models/manual-trade-form-bracket.js +0 -2
- package/dist/models/manual-trade-form-complex.d.ts +0 -28
- package/dist/models/manual-trade-form-complex.js +0 -2
- package/dist/models/manual-trade-form-notional-value.d.ts +0 -6
- package/dist/models/manual-trade-form-notional-value.js +0 -2
- package/dist/models/manual-trade-form-with-options.d.ts +0 -78
- package/dist/models/manual-trade-form-with-options.js +0 -2
- package/dist/models/manual-trade-form.d.ts +0 -65
- package/dist/models/manual-trade-form.js +0 -2
- package/dist/models/manual-trade-impact.d.ts +0 -38
- package/dist/models/manual-trade-impact.js +0 -2
- package/dist/models/manual-trade-replace-form.d.ts +0 -58
- package/dist/models/manual-trade-replace-form.js +0 -2
- package/dist/models/manual-trade-symbol.d.ts +0 -49
- package/dist/models/manual-trade-symbol.js +0 -2
- package/dist/models/manual-trade.d.ts +0 -60
- package/dist/models/manual-trade.js +0 -2
- package/dist/models/mleg-action-strict.d.ts +0 -6
- package/dist/models/mleg-action-strict.js +0 -2
- package/dist/models/mleg-instrument-type.d.ts +0 -6
- package/dist/models/mleg-instrument-type.js +0 -2
- package/dist/models/mleg-leg.d.ts +0 -28
- package/dist/models/mleg-leg.js +0 -2
- package/dist/models/mleg-order-response.d.ts +0 -21
- package/dist/models/mleg-order-response.js +0 -2
- package/dist/models/mleg-order-type-strict.d.ts +0 -6
- package/dist/models/mleg-order-type-strict.js +0 -2
- package/dist/models/mleg-price-effect-strict.d.ts +0 -6
- package/dist/models/mleg-price-effect-strict.js +0 -2
- package/dist/models/mleg-trade-form.d.ts +0 -47
- package/dist/models/mleg-trade-form.js +0 -2
- package/dist/models/mleg-trading-instrument.d.ts +0 -21
- package/dist/models/mleg-trading-instrument.js +0 -2
- package/dist/models/model400-failed-request-response.d.ts +0 -20
- package/dist/models/model400-failed-request-response.js +0 -2
- package/dist/models/model401-failed-request-response.d.ts +0 -20
- package/dist/models/model401-failed-request-response.js +0 -2
- package/dist/models/model402-brokerage-auth-already-disabled-exception.d.ts +0 -20
- package/dist/models/model402-brokerage-auth-already-disabled-exception.js +0 -2
- package/dist/models/model402-brokerage-auth-disabled-response.d.ts +0 -20
- package/dist/models/model402-brokerage-auth-disabled-response.js +0 -2
- package/dist/models/model403-failed-request-response.d.ts +0 -20
- package/dist/models/model403-failed-request-response.js +0 -2
- package/dist/models/model403-feature-not-enabled-response.d.ts +0 -20
- package/dist/models/model403-feature-not-enabled-response.js +0 -2
- package/dist/models/model404-failed-request-response.d.ts +0 -20
- package/dist/models/model404-failed-request-response.js +0 -2
- package/dist/models/model425-failed-request-response.d.ts +0 -20
- package/dist/models/model425-failed-request-response.js +0 -2
- package/dist/models/model500-unexpected-exception-response.d.ts +0 -26
- package/dist/models/model500-unexpected-exception-response.js +0 -2
- package/dist/models/monthly-dividends.d.ts +0 -21
- package/dist/models/monthly-dividends.js +0 -2
- package/dist/models/mutual-fund-instrument.d.ts +0 -59
- package/dist/models/mutual-fund-instrument.js +0 -2
- package/dist/models/net-contributions.d.ts +0 -26
- package/dist/models/net-contributions.js +0 -2
- package/dist/models/net-dividend.d.ts +0 -27
- package/dist/models/net-dividend.js +0 -2
- package/dist/models/notional-value.d.ts +0 -6
- package/dist/models/notional-value.js +0 -2
- package/dist/models/option-brokerage-symbol.d.ts +0 -29
- package/dist/models/option-brokerage-symbol.js +0 -2
- package/dist/models/option-chain-inner-chain-per-root-inner-chain-per-strike-price-inner.d.ts +0 -26
- package/dist/models/option-chain-inner-chain-per-root-inner-chain-per-strike-price-inner.js +0 -2
- package/dist/models/option-chain-inner-chain-per-root-inner.d.ts +0 -27
- package/dist/models/option-chain-inner-chain-per-root-inner.js +0 -2
- package/dist/models/option-chain-inner.d.ts +0 -39
- package/dist/models/option-chain-inner.js +0 -2
- package/dist/models/option-impact.d.ts +0 -28
- package/dist/models/option-impact.js +0 -2
- package/dist/models/option-instrument.d.ts +0 -60
- package/dist/models/option-instrument.js +0 -2
- package/dist/models/option-leg.d.ts +0 -28
- package/dist/models/option-leg.js +0 -2
- package/dist/models/option-quote-greeks.d.ts +0 -32
- package/dist/models/option-quote-greeks.js +0 -2
- package/dist/models/option-quote.d.ts +0 -39
- package/dist/models/option-quote.js +0 -2
- package/dist/models/option-strategy-legs-inner.d.ts +0 -31
- package/dist/models/option-strategy-legs-inner.js +0 -2
- package/dist/models/option-strategy.d.ts +0 -40
- package/dist/models/option-strategy.js +0 -2
- package/dist/models/options-position-currency.d.ts +0 -25
- package/dist/models/options-position-currency.js +0 -2
- package/dist/models/options-position.d.ts +0 -41
- package/dist/models/options-position.js +0 -2
- package/dist/models/options-symbol.d.ts +0 -53
- package/dist/models/options-symbol.js +0 -2
- package/dist/models/order-type-strict.d.ts +0 -6
- package/dist/models/order-type-strict.js +0 -2
- package/dist/models/order-updated-response-order.d.ts +0 -167
- package/dist/models/order-updated-response-order.js +0 -2
- package/dist/models/order-updated-response.d.ts +0 -21
- package/dist/models/order-updated-response.js +0 -2
- package/dist/models/other-instrument.d.ts +0 -59
- package/dist/models/other-instrument.js +0 -2
- package/dist/models/paginated-universal-activity.d.ts +0 -22
- package/dist/models/paginated-universal-activity.js +0 -2
- package/dist/models/pagination-details.d.ts +0 -26
- package/dist/models/pagination-details.js +0 -2
- package/dist/models/partner-data.d.ts +0 -82
- package/dist/models/partner-data.js +0 -2
- package/dist/models/past-value.d.ts +0 -26
- package/dist/models/past-value.js +0 -2
- package/dist/models/performance-custom.d.ts +0 -127
- package/dist/models/performance-custom.js +0 -2
- package/dist/models/position-currency.d.ts +0 -25
- package/dist/models/position-currency.js +0 -2
- package/dist/models/position-symbol.d.ts +0 -50
- package/dist/models/position-symbol.js +0 -2
- package/dist/models/position.d.ts +0 -66
- package/dist/models/position.js +0 -2
- package/dist/models/rate-of-return-object.d.ts +0 -28
- package/dist/models/rate-of-return-object.js +0 -2
- package/dist/models/rate-of-return-response.d.ts +0 -15
- package/dist/models/rate-of-return-response.js +0 -2
- package/dist/models/recent-orders-response.d.ts +0 -15
- package/dist/models/recent-orders-response.js +0 -2
- package/dist/models/security-type.d.ts +0 -33
- package/dist/models/security-type.js +0 -2
- package/dist/models/session-event.d.ts +0 -52
- package/dist/models/session-event.js +0 -2
- package/dist/models/simple-order-form.d.ts +0 -67
- package/dist/models/simple-order-form.js +0 -2
- package/dist/models/snap-trade-holdings-account.d.ts +0 -60
- package/dist/models/snap-trade-holdings-account.js +0 -2
- package/dist/models/snap-trade-holdings-total-value.d.ts +0 -20
- package/dist/models/snap-trade-holdings-total-value.js +0 -2
- package/dist/models/snap-trade-login-user-request-body.d.ts +0 -58
- package/dist/models/snap-trade-login-user-request-body.js +0 -2
- package/dist/models/snap-trade-register-user-request-body.d.ts +0 -13
- package/dist/models/snap-trade-register-user-request-body.js +0 -2
- package/dist/models/status.d.ts +0 -26
- package/dist/models/status.js +0 -2
- package/dist/models/stock-instrument-figi-instrument.d.ts +0 -19
- package/dist/models/stock-instrument-figi-instrument.js +0 -2
- package/dist/models/stock-instrument.d.ts +0 -59
- package/dist/models/stock-instrument.js +0 -2
- package/dist/models/stop-loss.d.ts +0 -20
- package/dist/models/stop-loss.js +0 -2
- package/dist/models/strategy-order-record.d.ts +0 -77
- package/dist/models/strategy-order-record.js +0 -2
- package/dist/models/strategy-quotes-greek.d.ts +0 -38
- package/dist/models/strategy-quotes-greek.js +0 -2
- package/dist/models/strategy-quotes.d.ts +0 -46
- package/dist/models/strategy-quotes.js +0 -2
- package/dist/models/sub-period-return-rate.d.ts +0 -26
- package/dist/models/sub-period-return-rate.js +0 -2
- package/dist/models/symbol-currency.d.ts +0 -25
- package/dist/models/symbol-currency.js +0 -2
- package/dist/models/symbol-exchange.d.ts +0 -55
- package/dist/models/symbol-exchange.js +0 -2
- package/dist/models/symbol-query.d.ts +0 -13
- package/dist/models/symbol-query.js +0 -2
- package/dist/models/symbol.d.ts +0 -66
- package/dist/models/symbol.js +0 -2
- package/dist/models/symbols-quotes-inner.d.ts +0 -44
- package/dist/models/symbols-quotes-inner.js +0 -2
- package/dist/models/take-profit.d.ts +0 -14
- package/dist/models/take-profit.js +0 -2
- package/dist/models/tax-lot.d.ts +0 -50
- package/dist/models/tax-lot.js +0 -2
- package/dist/models/time-in-force-strict.d.ts +0 -6
- package/dist/models/time-in-force-strict.js +0 -2
- package/dist/models/trade-detection-cancel-subscription-response.d.ts +0 -14
- package/dist/models/trade-detection-cancel-subscription-response.js +0 -2
- package/dist/models/trade-detection-subscription.d.ts +0 -26
- package/dist/models/trade-detection-subscription.js +0 -2
- package/dist/models/trading-instrument.d.ts +0 -22
- package/dist/models/trading-instrument.js +0 -2
- package/dist/models/trading-search-cryptocurrency-pair-instruments200-response.d.ts +0 -15
- package/dist/models/trading-search-cryptocurrency-pair-instruments200-response.js +0 -2
- package/dist/models/trading-session.d.ts +0 -6
- package/dist/models/trading-session.js +0 -2
- package/dist/models/trailing-stop.d.ts +0 -22
- package/dist/models/trailing-stop.js +0 -2
- package/dist/models/transactions-status.d.ts +0 -25
- package/dist/models/transactions-status.js +0 -2
- package/dist/models/underlying-option-instrument.d.ts +0 -27
- package/dist/models/underlying-option-instrument.js +0 -2
- package/dist/models/underlying-symbol-exchange.d.ts +0 -61
- package/dist/models/underlying-symbol-exchange.js +0 -2
- package/dist/models/underlying-symbol-type.d.ts +0 -32
- package/dist/models/underlying-symbol-type.js +0 -2
- package/dist/models/underlying-symbol.d.ts +0 -74
- package/dist/models/underlying-symbol.js +0 -2
- package/dist/models/universal-activity.d.ts +0 -114
- package/dist/models/universal-activity.js +0 -2
- package/dist/models/universal-symbol.d.ts +0 -74
- package/dist/models/universal-symbol.js +0 -2
- package/dist/models/user-idand-secret.d.ts +0 -19
- package/dist/models/user-idand-secret.js +0 -2
- package/dist/models/usexchange.d.ts +0 -62
- package/dist/models/usexchange.js +0 -2
- package/dist/models/validated-trade-body.d.ts +0 -13
- package/dist/models/validated-trade-body.js +0 -2
- package/dist/operationParameterMap.d.ts +0 -8
- package/dist/operationParameterMap.js +0 -966
- package/dist/pagination/page-types.d.ts +0 -16
- package/dist/pagination/page-types.js +0 -12
- package/dist/pagination/page.d.ts +0 -25
- package/dist/pagination/page.js +0 -32
- package/dist/pagination/pageable.d.ts +0 -47
- package/dist/pagination/pageable.js +0 -70
- package/dist/pagination/paginate.d.ts +0 -6
- package/dist/pagination/paginate.js +0 -39
- package/dist/requestAfterHook.d.ts +0 -8
- package/dist/requestAfterHook.js +0 -82
- package/dist/requestBeforeHook.d.ts +0 -10
- package/dist/requestBeforeHook.js +0 -8
- package/dist/requestBeforeUrlHook.d.ts +0 -7
- package/dist/requestBeforeUrlHook.js +0 -5
package/dist/api/trading-api.js
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
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
|
-
exports.TradingApi = void 0;
|
|
18
|
-
const trading_api_generated_1 = require("./trading-api-generated");
|
|
19
|
-
__exportStar(require("./trading-api-generated"), exports);
|
|
20
|
-
class TradingApi extends trading_api_generated_1.TradingApiGenerated {
|
|
21
|
-
}
|
|
22
|
-
exports.TradingApi = TradingApi;
|
|
@@ -1,215 +0,0 @@
|
|
|
1
|
-
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
2
|
-
import { Configuration } from '../configuration';
|
|
3
|
-
import { RequestArgs, BaseAPI } from '../base';
|
|
4
|
-
import { PerformanceCustom } from '../models';
|
|
5
|
-
import { UniversalActivity } from '../models';
|
|
6
|
-
/**
|
|
7
|
-
* TransactionsAndReportingApi - axios parameter creator
|
|
8
|
-
* @export
|
|
9
|
-
*/
|
|
10
|
-
export declare const TransactionsAndReportingApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
11
|
-
/**
|
|
12
|
-
* This endpoint is being deprecated but will continue to be available for use via SDKs, please use [the account level endpoint](/reference/Account%20Information/AccountInformation_getAccountActivities) if possible Returns all historical transactions for the specified user and filtering criteria. It\'s recommended to use `startDate` and `endDate` to paginate through the data, as the response may be very large for accounts with a long history and/or a lot of activity. There\'s a max number of 10000 transactions returned per request. There is no guarantee to the ordering of the transactions returned. Please sort the transactions based on the `trade_date` field if you need them in a specific order. This endpoint returns Daily data. Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. **Note:** This endpoint will return HTTP 410 Gone for all customers that sign up after April 25, 2026.
|
|
13
|
-
* @summary Get transaction history for a user
|
|
14
|
-
* @param {string} userId
|
|
15
|
-
* @param {string} userSecret
|
|
16
|
-
* @param {string | Date} [startDate] The start date (inclusive) of the transaction history to retrieve. If not provided, the default is the first transaction known to SnapTrade based on `trade_date`.
|
|
17
|
-
* @param {string | Date} [endDate] The end date (inclusive) of the transaction history to retrieve. If not provided, the default is the last transaction known to SnapTrade based on `trade_date`.
|
|
18
|
-
* @param {string} [accounts] Optional comma separated list of SnapTrade Account IDs used to filter the request to specific accounts. If not provided, the default is all known brokerage accounts for the user. The `brokerageAuthorizations` parameter takes precedence over this parameter.
|
|
19
|
-
* @param {string} [brokerageAuthorizations] Optional comma separated list of SnapTrade Connection (Brokerage Authorization) IDs used to filter the request to only accounts that belong to those connections. If not provided, the default is all connections for the user. This parameter takes precedence over the `accounts` parameter.
|
|
20
|
-
* @param {string} [type] Optional comma separated list of transaction types to filter by. SnapTrade does a best effort to categorize brokerage transaction types into a common set of values. Here are some of the most popular values: - `BUY` - Asset bought. - `SELL` - Asset sold. - `DIVIDEND` - Dividend payout. - `CONTRIBUTION` - Cash contribution. - `WITHDRAWAL` - Cash withdrawal. - `REI` - Dividend reinvestment. - `INTEREST` - Interest deposited into the account. - `FEE` - Fee withdrawn from the account. - `OPTIONEXPIRATION` - Option expiration event. - `OPTIONASSIGNMENT` - Option assignment event. - `OPTIONEXERCISE` - Option exercise event. - `TRANSFER` - Transfer of assets from one account to another
|
|
21
|
-
* @param {*} [options] Override http request option.
|
|
22
|
-
* @deprecated
|
|
23
|
-
* @throws {RequiredError}
|
|
24
|
-
*/
|
|
25
|
-
getActivities: (userId: string, userSecret: string, startDate?: string | Date, endDate?: string | Date, accounts?: string, brokerageAuthorizations?: string, type?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
26
|
-
/**
|
|
27
|
-
* Returns performance information (contributions, dividends, rate of return, etc) for a specific timeframe. Please note that Total Equity Timeframe and Rate of Returns are experimental features. Please contact support@snaptrade.com if you notice any inconsistencies.
|
|
28
|
-
* @summary Get performance information for a specific timeframe
|
|
29
|
-
* @param {string | Date} startDate
|
|
30
|
-
* @param {string | Date} endDate
|
|
31
|
-
* @param {string} userId
|
|
32
|
-
* @param {string} userSecret
|
|
33
|
-
* @param {string} [accounts] Optional comma separated list of account IDs used to filter the request on specific accounts
|
|
34
|
-
* @param {boolean} [detailed] Optional, increases frequency of data points for the total value and contribution charts if set to true
|
|
35
|
-
* @param {string} [frequency] Optional frequency for the rate of return chart (defaults to monthly). Possible values are daily, weekly, monthly, quarterly, yearly.
|
|
36
|
-
* @param {*} [options] Override http request option.
|
|
37
|
-
* @deprecated
|
|
38
|
-
* @throws {RequiredError}
|
|
39
|
-
*/
|
|
40
|
-
getReportingCustomRange: (startDate: string | Date, endDate: string | Date, userId: string, userSecret: string, accounts?: string, detailed?: boolean, frequency?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
41
|
-
};
|
|
42
|
-
/**
|
|
43
|
-
* TransactionsAndReportingApi - functional programming interface
|
|
44
|
-
* @export
|
|
45
|
-
*/
|
|
46
|
-
export declare const TransactionsAndReportingApiFp: (configuration?: Configuration) => {
|
|
47
|
-
/**
|
|
48
|
-
* This endpoint is being deprecated but will continue to be available for use via SDKs, please use [the account level endpoint](/reference/Account%20Information/AccountInformation_getAccountActivities) if possible Returns all historical transactions for the specified user and filtering criteria. It\'s recommended to use `startDate` and `endDate` to paginate through the data, as the response may be very large for accounts with a long history and/or a lot of activity. There\'s a max number of 10000 transactions returned per request. There is no guarantee to the ordering of the transactions returned. Please sort the transactions based on the `trade_date` field if you need them in a specific order. This endpoint returns Daily data. Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. **Note:** This endpoint will return HTTP 410 Gone for all customers that sign up after April 25, 2026.
|
|
49
|
-
* @summary Get transaction history for a user
|
|
50
|
-
* @param {TransactionsAndReportingApiGetActivitiesRequest} requestParameters Request parameters.
|
|
51
|
-
* @param {*} [options] Override http request option.
|
|
52
|
-
* @deprecated
|
|
53
|
-
* @throws {RequiredError}
|
|
54
|
-
*/
|
|
55
|
-
getActivities(requestParameters: TransactionsAndReportingApiGetActivitiesRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<UniversalActivity>>>;
|
|
56
|
-
/**
|
|
57
|
-
* Returns performance information (contributions, dividends, rate of return, etc) for a specific timeframe. Please note that Total Equity Timeframe and Rate of Returns are experimental features. Please contact support@snaptrade.com if you notice any inconsistencies.
|
|
58
|
-
* @summary Get performance information for a specific timeframe
|
|
59
|
-
* @param {TransactionsAndReportingApiGetReportingCustomRangeRequest} requestParameters Request parameters.
|
|
60
|
-
* @param {*} [options] Override http request option.
|
|
61
|
-
* @deprecated
|
|
62
|
-
* @throws {RequiredError}
|
|
63
|
-
*/
|
|
64
|
-
getReportingCustomRange(requestParameters: TransactionsAndReportingApiGetReportingCustomRangeRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PerformanceCustom>>;
|
|
65
|
-
};
|
|
66
|
-
/**
|
|
67
|
-
* TransactionsAndReportingApi - factory interface
|
|
68
|
-
* @export
|
|
69
|
-
*/
|
|
70
|
-
export declare const TransactionsAndReportingApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
71
|
-
/**
|
|
72
|
-
* This endpoint is being deprecated but will continue to be available for use via SDKs, please use [the account level endpoint](/reference/Account%20Information/AccountInformation_getAccountActivities) if possible Returns all historical transactions for the specified user and filtering criteria. It\'s recommended to use `startDate` and `endDate` to paginate through the data, as the response may be very large for accounts with a long history and/or a lot of activity. There\'s a max number of 10000 transactions returned per request. There is no guarantee to the ordering of the transactions returned. Please sort the transactions based on the `trade_date` field if you need them in a specific order. This endpoint returns Daily data. Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. **Note:** This endpoint will return HTTP 410 Gone for all customers that sign up after April 25, 2026.
|
|
73
|
-
* @summary Get transaction history for a user
|
|
74
|
-
* @param {TransactionsAndReportingApiGetActivitiesRequest} requestParameters Request parameters.
|
|
75
|
-
* @param {*} [options] Override http request option.
|
|
76
|
-
* @deprecated
|
|
77
|
-
* @throws {RequiredError}
|
|
78
|
-
*/
|
|
79
|
-
getActivities(requestParameters: TransactionsAndReportingApiGetActivitiesRequest, options?: AxiosRequestConfig): AxiosPromise<Array<UniversalActivity>>;
|
|
80
|
-
/**
|
|
81
|
-
* Returns performance information (contributions, dividends, rate of return, etc) for a specific timeframe. Please note that Total Equity Timeframe and Rate of Returns are experimental features. Please contact support@snaptrade.com if you notice any inconsistencies.
|
|
82
|
-
* @summary Get performance information for a specific timeframe
|
|
83
|
-
* @param {TransactionsAndReportingApiGetReportingCustomRangeRequest} requestParameters Request parameters.
|
|
84
|
-
* @param {*} [options] Override http request option.
|
|
85
|
-
* @deprecated
|
|
86
|
-
* @throws {RequiredError}
|
|
87
|
-
*/
|
|
88
|
-
getReportingCustomRange(requestParameters: TransactionsAndReportingApiGetReportingCustomRangeRequest, options?: AxiosRequestConfig): AxiosPromise<PerformanceCustom>;
|
|
89
|
-
};
|
|
90
|
-
/**
|
|
91
|
-
* Request parameters for getActivities operation in TransactionsAndReportingApi.
|
|
92
|
-
* @export
|
|
93
|
-
* @interface TransactionsAndReportingApiGetActivitiesRequest
|
|
94
|
-
*/
|
|
95
|
-
export type TransactionsAndReportingApiGetActivitiesRequest = {
|
|
96
|
-
/**
|
|
97
|
-
*
|
|
98
|
-
* @type {string}
|
|
99
|
-
* @memberof TransactionsAndReportingApiGetActivities
|
|
100
|
-
*/
|
|
101
|
-
readonly userId: string;
|
|
102
|
-
/**
|
|
103
|
-
*
|
|
104
|
-
* @type {string}
|
|
105
|
-
* @memberof TransactionsAndReportingApiGetActivities
|
|
106
|
-
*/
|
|
107
|
-
readonly userSecret: string;
|
|
108
|
-
/**
|
|
109
|
-
* The start date (inclusive) of the transaction history to retrieve. If not provided, the default is the first transaction known to SnapTrade based on `trade_date`.
|
|
110
|
-
* @type {string | Date}
|
|
111
|
-
* @memberof TransactionsAndReportingApiGetActivities
|
|
112
|
-
*/
|
|
113
|
-
readonly startDate?: string | Date;
|
|
114
|
-
/**
|
|
115
|
-
* The end date (inclusive) of the transaction history to retrieve. If not provided, the default is the last transaction known to SnapTrade based on `trade_date`.
|
|
116
|
-
* @type {string | Date}
|
|
117
|
-
* @memberof TransactionsAndReportingApiGetActivities
|
|
118
|
-
*/
|
|
119
|
-
readonly endDate?: string | Date;
|
|
120
|
-
/**
|
|
121
|
-
* Optional comma separated list of SnapTrade Account IDs used to filter the request to specific accounts. If not provided, the default is all known brokerage accounts for the user. The `brokerageAuthorizations` parameter takes precedence over this parameter.
|
|
122
|
-
* @type {string}
|
|
123
|
-
* @memberof TransactionsAndReportingApiGetActivities
|
|
124
|
-
*/
|
|
125
|
-
readonly accounts?: string;
|
|
126
|
-
/**
|
|
127
|
-
* Optional comma separated list of SnapTrade Connection (Brokerage Authorization) IDs used to filter the request to only accounts that belong to those connections. If not provided, the default is all connections for the user. This parameter takes precedence over the `accounts` parameter.
|
|
128
|
-
* @type {string}
|
|
129
|
-
* @memberof TransactionsAndReportingApiGetActivities
|
|
130
|
-
*/
|
|
131
|
-
readonly brokerageAuthorizations?: string;
|
|
132
|
-
/**
|
|
133
|
-
* Optional comma separated list of transaction types to filter by. SnapTrade does a best effort to categorize brokerage transaction types into a common set of values. Here are some of the most popular values: - `BUY` - Asset bought. - `SELL` - Asset sold. - `DIVIDEND` - Dividend payout. - `CONTRIBUTION` - Cash contribution. - `WITHDRAWAL` - Cash withdrawal. - `REI` - Dividend reinvestment. - `INTEREST` - Interest deposited into the account. - `FEE` - Fee withdrawn from the account. - `OPTIONEXPIRATION` - Option expiration event. - `OPTIONASSIGNMENT` - Option assignment event. - `OPTIONEXERCISE` - Option exercise event. - `TRANSFER` - Transfer of assets from one account to another
|
|
134
|
-
* @type {string}
|
|
135
|
-
* @memberof TransactionsAndReportingApiGetActivities
|
|
136
|
-
*/
|
|
137
|
-
readonly type?: string;
|
|
138
|
-
};
|
|
139
|
-
/**
|
|
140
|
-
* Request parameters for getReportingCustomRange operation in TransactionsAndReportingApi.
|
|
141
|
-
* @export
|
|
142
|
-
* @interface TransactionsAndReportingApiGetReportingCustomRangeRequest
|
|
143
|
-
*/
|
|
144
|
-
export type TransactionsAndReportingApiGetReportingCustomRangeRequest = {
|
|
145
|
-
/**
|
|
146
|
-
*
|
|
147
|
-
* @type {string | Date}
|
|
148
|
-
* @memberof TransactionsAndReportingApiGetReportingCustomRange
|
|
149
|
-
*/
|
|
150
|
-
readonly startDate: string | Date;
|
|
151
|
-
/**
|
|
152
|
-
*
|
|
153
|
-
* @type {string | Date}
|
|
154
|
-
* @memberof TransactionsAndReportingApiGetReportingCustomRange
|
|
155
|
-
*/
|
|
156
|
-
readonly endDate: string | Date;
|
|
157
|
-
/**
|
|
158
|
-
*
|
|
159
|
-
* @type {string}
|
|
160
|
-
* @memberof TransactionsAndReportingApiGetReportingCustomRange
|
|
161
|
-
*/
|
|
162
|
-
readonly userId: string;
|
|
163
|
-
/**
|
|
164
|
-
*
|
|
165
|
-
* @type {string}
|
|
166
|
-
* @memberof TransactionsAndReportingApiGetReportingCustomRange
|
|
167
|
-
*/
|
|
168
|
-
readonly userSecret: string;
|
|
169
|
-
/**
|
|
170
|
-
* Optional comma separated list of account IDs used to filter the request on specific accounts
|
|
171
|
-
* @type {string}
|
|
172
|
-
* @memberof TransactionsAndReportingApiGetReportingCustomRange
|
|
173
|
-
*/
|
|
174
|
-
readonly accounts?: string;
|
|
175
|
-
/**
|
|
176
|
-
* Optional, increases frequency of data points for the total value and contribution charts if set to true
|
|
177
|
-
* @type {boolean}
|
|
178
|
-
* @memberof TransactionsAndReportingApiGetReportingCustomRange
|
|
179
|
-
*/
|
|
180
|
-
readonly detailed?: boolean;
|
|
181
|
-
/**
|
|
182
|
-
* Optional frequency for the rate of return chart (defaults to monthly). Possible values are daily, weekly, monthly, quarterly, yearly.
|
|
183
|
-
* @type {string}
|
|
184
|
-
* @memberof TransactionsAndReportingApiGetReportingCustomRange
|
|
185
|
-
*/
|
|
186
|
-
readonly frequency?: string;
|
|
187
|
-
};
|
|
188
|
-
/**
|
|
189
|
-
* TransactionsAndReportingApiGenerated - object-oriented interface
|
|
190
|
-
* @export
|
|
191
|
-
* @class TransactionsAndReportingApiGenerated
|
|
192
|
-
* @extends {BaseAPI}
|
|
193
|
-
*/
|
|
194
|
-
export declare class TransactionsAndReportingApiGenerated extends BaseAPI {
|
|
195
|
-
/**
|
|
196
|
-
* This endpoint is being deprecated but will continue to be available for use via SDKs, please use [the account level endpoint](/reference/Account%20Information/AccountInformation_getAccountActivities) if possible Returns all historical transactions for the specified user and filtering criteria. It\'s recommended to use `startDate` and `endDate` to paginate through the data, as the response may be very large for accounts with a long history and/or a lot of activity. There\'s a max number of 10000 transactions returned per request. There is no guarantee to the ordering of the transactions returned. Please sort the transactions based on the `trade_date` field if you need them in a specific order. This endpoint returns Daily data. Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. **Note:** This endpoint will return HTTP 410 Gone for all customers that sign up after April 25, 2026.
|
|
197
|
-
* @summary Get transaction history for a user
|
|
198
|
-
* @param {TransactionsAndReportingApiGetActivitiesRequest} requestParameters Request parameters.
|
|
199
|
-
* @param {*} [options] Override http request option.
|
|
200
|
-
* @deprecated
|
|
201
|
-
* @throws {RequiredError}
|
|
202
|
-
* @memberof TransactionsAndReportingApiGenerated
|
|
203
|
-
*/
|
|
204
|
-
getActivities(requestParameters: TransactionsAndReportingApiGetActivitiesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UniversalActivity[], any, {}>>;
|
|
205
|
-
/**
|
|
206
|
-
* Returns performance information (contributions, dividends, rate of return, etc) for a specific timeframe. Please note that Total Equity Timeframe and Rate of Returns are experimental features. Please contact support@snaptrade.com if you notice any inconsistencies.
|
|
207
|
-
* @summary Get performance information for a specific timeframe
|
|
208
|
-
* @param {TransactionsAndReportingApiGetReportingCustomRangeRequest} requestParameters Request parameters.
|
|
209
|
-
* @param {*} [options] Override http request option.
|
|
210
|
-
* @deprecated
|
|
211
|
-
* @throws {RequiredError}
|
|
212
|
-
* @memberof TransactionsAndReportingApiGenerated
|
|
213
|
-
*/
|
|
214
|
-
getReportingCustomRange(requestParameters: TransactionsAndReportingApiGetReportingCustomRangeRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PerformanceCustom, any, {}>>;
|
|
215
|
-
}
|
|
@@ -1,299 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/*
|
|
5
|
-
SnapTrade
|
|
6
|
-
|
|
7
|
-
Connect brokerage accounts to your app for live positions and trading
|
|
8
|
-
|
|
9
|
-
The version of the OpenAPI document: 1.0.0
|
|
10
|
-
Contact: api@snaptrade.com
|
|
11
|
-
|
|
12
|
-
NOTE: This file is auto generated by Konfig (https://konfigthis.com).
|
|
13
|
-
*/
|
|
14
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
15
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
16
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
17
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
18
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
19
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
20
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
21
|
-
});
|
|
22
|
-
};
|
|
23
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24
|
-
exports.TransactionsAndReportingApiGenerated = exports.TransactionsAndReportingApiFactory = exports.TransactionsAndReportingApiFp = exports.TransactionsAndReportingApiAxiosParamCreator = void 0;
|
|
25
|
-
const axios_1 = require("axios");
|
|
26
|
-
// Some imports not used depending on template conditions
|
|
27
|
-
// @ts-ignore
|
|
28
|
-
const common_1 = require("../common");
|
|
29
|
-
// @ts-ignore
|
|
30
|
-
const base_1 = require("../base");
|
|
31
|
-
const requestBeforeHook_1 = require("../requestBeforeHook");
|
|
32
|
-
/**
|
|
33
|
-
* TransactionsAndReportingApi - axios parameter creator
|
|
34
|
-
* @export
|
|
35
|
-
*/
|
|
36
|
-
const TransactionsAndReportingApiAxiosParamCreator = function (configuration) {
|
|
37
|
-
return {
|
|
38
|
-
/**
|
|
39
|
-
* This endpoint is being deprecated but will continue to be available for use via SDKs, please use [the account level endpoint](/reference/Account%20Information/AccountInformation_getAccountActivities) if possible Returns all historical transactions for the specified user and filtering criteria. It\'s recommended to use `startDate` and `endDate` to paginate through the data, as the response may be very large for accounts with a long history and/or a lot of activity. There\'s a max number of 10000 transactions returned per request. There is no guarantee to the ordering of the transactions returned. Please sort the transactions based on the `trade_date` field if you need them in a specific order. This endpoint returns Daily data. Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. **Note:** This endpoint will return HTTP 410 Gone for all customers that sign up after April 25, 2026.
|
|
40
|
-
* @summary Get transaction history for a user
|
|
41
|
-
* @param {string} userId
|
|
42
|
-
* @param {string} userSecret
|
|
43
|
-
* @param {string | Date} [startDate] The start date (inclusive) of the transaction history to retrieve. If not provided, the default is the first transaction known to SnapTrade based on `trade_date`.
|
|
44
|
-
* @param {string | Date} [endDate] The end date (inclusive) of the transaction history to retrieve. If not provided, the default is the last transaction known to SnapTrade based on `trade_date`.
|
|
45
|
-
* @param {string} [accounts] Optional comma separated list of SnapTrade Account IDs used to filter the request to specific accounts. If not provided, the default is all known brokerage accounts for the user. The `brokerageAuthorizations` parameter takes precedence over this parameter.
|
|
46
|
-
* @param {string} [brokerageAuthorizations] Optional comma separated list of SnapTrade Connection (Brokerage Authorization) IDs used to filter the request to only accounts that belong to those connections. If not provided, the default is all connections for the user. This parameter takes precedence over the `accounts` parameter.
|
|
47
|
-
* @param {string} [type] Optional comma separated list of transaction types to filter by. SnapTrade does a best effort to categorize brokerage transaction types into a common set of values. Here are some of the most popular values: - `BUY` - Asset bought. - `SELL` - Asset sold. - `DIVIDEND` - Dividend payout. - `CONTRIBUTION` - Cash contribution. - `WITHDRAWAL` - Cash withdrawal. - `REI` - Dividend reinvestment. - `INTEREST` - Interest deposited into the account. - `FEE` - Fee withdrawn from the account. - `OPTIONEXPIRATION` - Option expiration event. - `OPTIONASSIGNMENT` - Option assignment event. - `OPTIONEXERCISE` - Option exercise event. - `TRANSFER` - Transfer of assets from one account to another
|
|
48
|
-
* @param {*} [options] Override http request option.
|
|
49
|
-
* @deprecated
|
|
50
|
-
* @throws {RequiredError}
|
|
51
|
-
*/
|
|
52
|
-
getActivities: (userId, userSecret, startDate, endDate, accounts, brokerageAuthorizations, type, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
53
|
-
// verify required parameter 'userId' is not null or undefined
|
|
54
|
-
(0, common_1.assertParamExists)('getActivities', 'userId', userId);
|
|
55
|
-
// verify required parameter 'userSecret' is not null or undefined
|
|
56
|
-
(0, common_1.assertParamExists)('getActivities', 'userSecret', userSecret);
|
|
57
|
-
const localVarPath = `/activities`;
|
|
58
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
59
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
60
|
-
let baseOptions;
|
|
61
|
-
if (configuration) {
|
|
62
|
-
baseOptions = configuration.baseOptions;
|
|
63
|
-
}
|
|
64
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
65
|
-
const localVarHeaderParameter = configuration && !(0, common_1.isBrowser)() ? { "User-Agent": configuration.userAgent } : {};
|
|
66
|
-
const localVarQueryParameter = {};
|
|
67
|
-
// authentication PartnerClientId required
|
|
68
|
-
yield (0, common_1.setApiKeyToObject)({ object: localVarQueryParameter, key: "clientId", keyParamName: "clientId", configuration });
|
|
69
|
-
// authentication PartnerSignature required
|
|
70
|
-
yield (0, common_1.setApiKeyToObject)({ object: localVarHeaderParameter, key: "Signature", keyParamName: "signature", configuration });
|
|
71
|
-
// authentication PartnerTimestamp required
|
|
72
|
-
yield (0, common_1.setApiKeyToObject)({ object: localVarQueryParameter, key: "timestamp", keyParamName: "timestamp", configuration });
|
|
73
|
-
if (startDate !== undefined) {
|
|
74
|
-
localVarQueryParameter['startDate'] = (startDate instanceof Date) ?
|
|
75
|
-
startDate.toISOString().substr(0, 10) :
|
|
76
|
-
startDate;
|
|
77
|
-
}
|
|
78
|
-
if (endDate !== undefined) {
|
|
79
|
-
localVarQueryParameter['endDate'] = (endDate instanceof Date) ?
|
|
80
|
-
endDate.toISOString().substr(0, 10) :
|
|
81
|
-
endDate;
|
|
82
|
-
}
|
|
83
|
-
if (accounts !== undefined) {
|
|
84
|
-
localVarQueryParameter['accounts'] = accounts;
|
|
85
|
-
}
|
|
86
|
-
if (brokerageAuthorizations !== undefined) {
|
|
87
|
-
localVarQueryParameter['brokerageAuthorizations'] = brokerageAuthorizations;
|
|
88
|
-
}
|
|
89
|
-
if (type !== undefined) {
|
|
90
|
-
localVarQueryParameter['type'] = type;
|
|
91
|
-
}
|
|
92
|
-
if (userId !== undefined) {
|
|
93
|
-
localVarQueryParameter['userId'] = userId;
|
|
94
|
-
}
|
|
95
|
-
if (userSecret !== undefined) {
|
|
96
|
-
localVarQueryParameter['userSecret'] = userSecret;
|
|
97
|
-
}
|
|
98
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
99
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
100
|
-
(0, requestBeforeHook_1.requestBeforeHook)({
|
|
101
|
-
queryParameters: localVarQueryParameter,
|
|
102
|
-
requestConfig: localVarRequestOptions,
|
|
103
|
-
path: localVarPath,
|
|
104
|
-
configuration,
|
|
105
|
-
pathTemplate: '/activities',
|
|
106
|
-
httpMethod: 'GET'
|
|
107
|
-
});
|
|
108
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
109
|
-
return {
|
|
110
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
111
|
-
options: localVarRequestOptions,
|
|
112
|
-
};
|
|
113
|
-
}),
|
|
114
|
-
/**
|
|
115
|
-
* Returns performance information (contributions, dividends, rate of return, etc) for a specific timeframe. Please note that Total Equity Timeframe and Rate of Returns are experimental features. Please contact support@snaptrade.com if you notice any inconsistencies.
|
|
116
|
-
* @summary Get performance information for a specific timeframe
|
|
117
|
-
* @param {string | Date} startDate
|
|
118
|
-
* @param {string | Date} endDate
|
|
119
|
-
* @param {string} userId
|
|
120
|
-
* @param {string} userSecret
|
|
121
|
-
* @param {string} [accounts] Optional comma separated list of account IDs used to filter the request on specific accounts
|
|
122
|
-
* @param {boolean} [detailed] Optional, increases frequency of data points for the total value and contribution charts if set to true
|
|
123
|
-
* @param {string} [frequency] Optional frequency for the rate of return chart (defaults to monthly). Possible values are daily, weekly, monthly, quarterly, yearly.
|
|
124
|
-
* @param {*} [options] Override http request option.
|
|
125
|
-
* @deprecated
|
|
126
|
-
* @throws {RequiredError}
|
|
127
|
-
*/
|
|
128
|
-
getReportingCustomRange: (startDate, endDate, userId, userSecret, accounts, detailed, frequency, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
129
|
-
// verify required parameter 'startDate' is not null or undefined
|
|
130
|
-
(0, common_1.assertParamExists)('getReportingCustomRange', 'startDate', startDate);
|
|
131
|
-
// verify required parameter 'endDate' is not null or undefined
|
|
132
|
-
(0, common_1.assertParamExists)('getReportingCustomRange', 'endDate', endDate);
|
|
133
|
-
// verify required parameter 'userId' is not null or undefined
|
|
134
|
-
(0, common_1.assertParamExists)('getReportingCustomRange', 'userId', userId);
|
|
135
|
-
// verify required parameter 'userSecret' is not null or undefined
|
|
136
|
-
(0, common_1.assertParamExists)('getReportingCustomRange', 'userSecret', userSecret);
|
|
137
|
-
const localVarPath = `/performance/custom`;
|
|
138
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
139
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
140
|
-
let baseOptions;
|
|
141
|
-
if (configuration) {
|
|
142
|
-
baseOptions = configuration.baseOptions;
|
|
143
|
-
}
|
|
144
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
145
|
-
const localVarHeaderParameter = configuration && !(0, common_1.isBrowser)() ? { "User-Agent": configuration.userAgent } : {};
|
|
146
|
-
const localVarQueryParameter = {};
|
|
147
|
-
// authentication PartnerClientId required
|
|
148
|
-
yield (0, common_1.setApiKeyToObject)({ object: localVarQueryParameter, key: "clientId", keyParamName: "clientId", configuration });
|
|
149
|
-
// authentication PartnerSignature required
|
|
150
|
-
yield (0, common_1.setApiKeyToObject)({ object: localVarHeaderParameter, key: "Signature", keyParamName: "signature", configuration });
|
|
151
|
-
// authentication PartnerTimestamp required
|
|
152
|
-
yield (0, common_1.setApiKeyToObject)({ object: localVarQueryParameter, key: "timestamp", keyParamName: "timestamp", configuration });
|
|
153
|
-
if (startDate !== undefined) {
|
|
154
|
-
localVarQueryParameter['startDate'] = (startDate instanceof Date) ?
|
|
155
|
-
startDate.toISOString().substr(0, 10) :
|
|
156
|
-
startDate;
|
|
157
|
-
}
|
|
158
|
-
if (endDate !== undefined) {
|
|
159
|
-
localVarQueryParameter['endDate'] = (endDate instanceof Date) ?
|
|
160
|
-
endDate.toISOString().substr(0, 10) :
|
|
161
|
-
endDate;
|
|
162
|
-
}
|
|
163
|
-
if (accounts !== undefined) {
|
|
164
|
-
localVarQueryParameter['accounts'] = accounts;
|
|
165
|
-
}
|
|
166
|
-
if (detailed !== undefined) {
|
|
167
|
-
localVarQueryParameter['detailed'] = detailed;
|
|
168
|
-
}
|
|
169
|
-
if (frequency !== undefined) {
|
|
170
|
-
localVarQueryParameter['frequency'] = frequency;
|
|
171
|
-
}
|
|
172
|
-
if (userId !== undefined) {
|
|
173
|
-
localVarQueryParameter['userId'] = userId;
|
|
174
|
-
}
|
|
175
|
-
if (userSecret !== undefined) {
|
|
176
|
-
localVarQueryParameter['userSecret'] = userSecret;
|
|
177
|
-
}
|
|
178
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
179
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
180
|
-
(0, requestBeforeHook_1.requestBeforeHook)({
|
|
181
|
-
queryParameters: localVarQueryParameter,
|
|
182
|
-
requestConfig: localVarRequestOptions,
|
|
183
|
-
path: localVarPath,
|
|
184
|
-
configuration,
|
|
185
|
-
pathTemplate: '/performance/custom',
|
|
186
|
-
httpMethod: 'GET'
|
|
187
|
-
});
|
|
188
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
189
|
-
return {
|
|
190
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
191
|
-
options: localVarRequestOptions,
|
|
192
|
-
};
|
|
193
|
-
}),
|
|
194
|
-
};
|
|
195
|
-
};
|
|
196
|
-
exports.TransactionsAndReportingApiAxiosParamCreator = TransactionsAndReportingApiAxiosParamCreator;
|
|
197
|
-
/**
|
|
198
|
-
* TransactionsAndReportingApi - functional programming interface
|
|
199
|
-
* @export
|
|
200
|
-
*/
|
|
201
|
-
const TransactionsAndReportingApiFp = function (configuration) {
|
|
202
|
-
const localVarAxiosParamCreator = (0, exports.TransactionsAndReportingApiAxiosParamCreator)(configuration);
|
|
203
|
-
return {
|
|
204
|
-
/**
|
|
205
|
-
* This endpoint is being deprecated but will continue to be available for use via SDKs, please use [the account level endpoint](/reference/Account%20Information/AccountInformation_getAccountActivities) if possible Returns all historical transactions for the specified user and filtering criteria. It\'s recommended to use `startDate` and `endDate` to paginate through the data, as the response may be very large for accounts with a long history and/or a lot of activity. There\'s a max number of 10000 transactions returned per request. There is no guarantee to the ordering of the transactions returned. Please sort the transactions based on the `trade_date` field if you need them in a specific order. This endpoint returns Daily data. Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. **Note:** This endpoint will return HTTP 410 Gone for all customers that sign up after April 25, 2026.
|
|
206
|
-
* @summary Get transaction history for a user
|
|
207
|
-
* @param {TransactionsAndReportingApiGetActivitiesRequest} requestParameters Request parameters.
|
|
208
|
-
* @param {*} [options] Override http request option.
|
|
209
|
-
* @deprecated
|
|
210
|
-
* @throws {RequiredError}
|
|
211
|
-
*/
|
|
212
|
-
getActivities(requestParameters, options) {
|
|
213
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
214
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getActivities(requestParameters.userId, requestParameters.userSecret, requestParameters.startDate, requestParameters.endDate, requestParameters.accounts, requestParameters.brokerageAuthorizations, requestParameters.type, options);
|
|
215
|
-
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
216
|
-
});
|
|
217
|
-
},
|
|
218
|
-
/**
|
|
219
|
-
* Returns performance information (contributions, dividends, rate of return, etc) for a specific timeframe. Please note that Total Equity Timeframe and Rate of Returns are experimental features. Please contact support@snaptrade.com if you notice any inconsistencies.
|
|
220
|
-
* @summary Get performance information for a specific timeframe
|
|
221
|
-
* @param {TransactionsAndReportingApiGetReportingCustomRangeRequest} requestParameters Request parameters.
|
|
222
|
-
* @param {*} [options] Override http request option.
|
|
223
|
-
* @deprecated
|
|
224
|
-
* @throws {RequiredError}
|
|
225
|
-
*/
|
|
226
|
-
getReportingCustomRange(requestParameters, options) {
|
|
227
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
228
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getReportingCustomRange(requestParameters.startDate, requestParameters.endDate, requestParameters.userId, requestParameters.userSecret, requestParameters.accounts, requestParameters.detailed, requestParameters.frequency, options);
|
|
229
|
-
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
230
|
-
});
|
|
231
|
-
},
|
|
232
|
-
};
|
|
233
|
-
};
|
|
234
|
-
exports.TransactionsAndReportingApiFp = TransactionsAndReportingApiFp;
|
|
235
|
-
/**
|
|
236
|
-
* TransactionsAndReportingApi - factory interface
|
|
237
|
-
* @export
|
|
238
|
-
*/
|
|
239
|
-
const TransactionsAndReportingApiFactory = function (configuration, basePath, axios) {
|
|
240
|
-
const localVarFp = (0, exports.TransactionsAndReportingApiFp)(configuration);
|
|
241
|
-
return {
|
|
242
|
-
/**
|
|
243
|
-
* This endpoint is being deprecated but will continue to be available for use via SDKs, please use [the account level endpoint](/reference/Account%20Information/AccountInformation_getAccountActivities) if possible Returns all historical transactions for the specified user and filtering criteria. It\'s recommended to use `startDate` and `endDate` to paginate through the data, as the response may be very large for accounts with a long history and/or a lot of activity. There\'s a max number of 10000 transactions returned per request. There is no guarantee to the ordering of the transactions returned. Please sort the transactions based on the `trade_date` field if you need them in a specific order. This endpoint returns Daily data. Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. **Note:** This endpoint will return HTTP 410 Gone for all customers that sign up after April 25, 2026.
|
|
244
|
-
* @summary Get transaction history for a user
|
|
245
|
-
* @param {TransactionsAndReportingApiGetActivitiesRequest} requestParameters Request parameters.
|
|
246
|
-
* @param {*} [options] Override http request option.
|
|
247
|
-
* @deprecated
|
|
248
|
-
* @throws {RequiredError}
|
|
249
|
-
*/
|
|
250
|
-
getActivities(requestParameters, options) {
|
|
251
|
-
return localVarFp.getActivities(requestParameters, options).then((request) => request(axios, basePath));
|
|
252
|
-
},
|
|
253
|
-
/**
|
|
254
|
-
* Returns performance information (contributions, dividends, rate of return, etc) for a specific timeframe. Please note that Total Equity Timeframe and Rate of Returns are experimental features. Please contact support@snaptrade.com if you notice any inconsistencies.
|
|
255
|
-
* @summary Get performance information for a specific timeframe
|
|
256
|
-
* @param {TransactionsAndReportingApiGetReportingCustomRangeRequest} requestParameters Request parameters.
|
|
257
|
-
* @param {*} [options] Override http request option.
|
|
258
|
-
* @deprecated
|
|
259
|
-
* @throws {RequiredError}
|
|
260
|
-
*/
|
|
261
|
-
getReportingCustomRange(requestParameters, options) {
|
|
262
|
-
return localVarFp.getReportingCustomRange(requestParameters, options).then((request) => request(axios, basePath));
|
|
263
|
-
},
|
|
264
|
-
};
|
|
265
|
-
};
|
|
266
|
-
exports.TransactionsAndReportingApiFactory = TransactionsAndReportingApiFactory;
|
|
267
|
-
/**
|
|
268
|
-
* TransactionsAndReportingApiGenerated - object-oriented interface
|
|
269
|
-
* @export
|
|
270
|
-
* @class TransactionsAndReportingApiGenerated
|
|
271
|
-
* @extends {BaseAPI}
|
|
272
|
-
*/
|
|
273
|
-
class TransactionsAndReportingApiGenerated extends base_1.BaseAPI {
|
|
274
|
-
/**
|
|
275
|
-
* This endpoint is being deprecated but will continue to be available for use via SDKs, please use [the account level endpoint](/reference/Account%20Information/AccountInformation_getAccountActivities) if possible Returns all historical transactions for the specified user and filtering criteria. It\'s recommended to use `startDate` and `endDate` to paginate through the data, as the response may be very large for accounts with a long history and/or a lot of activity. There\'s a max number of 10000 transactions returned per request. There is no guarantee to the ordering of the transactions returned. Please sort the transactions based on the `trade_date` field if you need them in a specific order. This endpoint returns Daily data. Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. **Note:** This endpoint will return HTTP 410 Gone for all customers that sign up after April 25, 2026.
|
|
276
|
-
* @summary Get transaction history for a user
|
|
277
|
-
* @param {TransactionsAndReportingApiGetActivitiesRequest} requestParameters Request parameters.
|
|
278
|
-
* @param {*} [options] Override http request option.
|
|
279
|
-
* @deprecated
|
|
280
|
-
* @throws {RequiredError}
|
|
281
|
-
* @memberof TransactionsAndReportingApiGenerated
|
|
282
|
-
*/
|
|
283
|
-
getActivities(requestParameters, options) {
|
|
284
|
-
return (0, exports.TransactionsAndReportingApiFp)(this.configuration).getActivities(requestParameters, options).then((request) => request(this.axios, this.basePath));
|
|
285
|
-
}
|
|
286
|
-
/**
|
|
287
|
-
* Returns performance information (contributions, dividends, rate of return, etc) for a specific timeframe. Please note that Total Equity Timeframe and Rate of Returns are experimental features. Please contact support@snaptrade.com if you notice any inconsistencies.
|
|
288
|
-
* @summary Get performance information for a specific timeframe
|
|
289
|
-
* @param {TransactionsAndReportingApiGetReportingCustomRangeRequest} requestParameters Request parameters.
|
|
290
|
-
* @param {*} [options] Override http request option.
|
|
291
|
-
* @deprecated
|
|
292
|
-
* @throws {RequiredError}
|
|
293
|
-
* @memberof TransactionsAndReportingApiGenerated
|
|
294
|
-
*/
|
|
295
|
-
getReportingCustomRange(requestParameters, options) {
|
|
296
|
-
return (0, exports.TransactionsAndReportingApiFp)(this.configuration).getReportingCustomRange(requestParameters, options).then((request) => request(this.axios, this.basePath));
|
|
297
|
-
}
|
|
298
|
-
}
|
|
299
|
-
exports.TransactionsAndReportingApiGenerated = TransactionsAndReportingApiGenerated;
|
|
@@ -1,22 +0,0 @@
|
|
|
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
|
-
exports.TransactionsAndReportingApi = void 0;
|
|
18
|
-
const transactions_and_reporting_api_generated_1 = require("./transactions-and-reporting-api-generated");
|
|
19
|
-
__exportStar(require("./transactions-and-reporting-api-generated"), exports);
|
|
20
|
-
class TransactionsAndReportingApi extends transactions_and_reporting_api_generated_1.TransactionsAndReportingApiGenerated {
|
|
21
|
-
}
|
|
22
|
-
exports.TransactionsAndReportingApi = TransactionsAndReportingApi;
|
package/dist/api.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export * from './api/account-information-api';
|
|
2
|
-
export * from './api/api-status-api';
|
|
3
|
-
export * from './api/authentication-api';
|
|
4
|
-
export * from './api/connections-api';
|
|
5
|
-
export * from './api/options-api';
|
|
6
|
-
export * from './api/reference-data-api';
|
|
7
|
-
export * from './api/trading-api';
|
|
8
|
-
export * from './api/transactions-and-reporting-api';
|
package/dist/api.js
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/*
|
|
5
|
-
SnapTrade
|
|
6
|
-
|
|
7
|
-
Connect brokerage accounts to your app for live positions and trading
|
|
8
|
-
|
|
9
|
-
The version of the OpenAPI document: 1.0.0
|
|
10
|
-
Contact: api@snaptrade.com
|
|
11
|
-
|
|
12
|
-
NOTE: This file is auto generated by Konfig (https://konfigthis.com).
|
|
13
|
-
*/
|
|
14
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
15
|
-
if (k2 === undefined) k2 = k;
|
|
16
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
17
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
18
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
19
|
-
}
|
|
20
|
-
Object.defineProperty(o, k2, desc);
|
|
21
|
-
}) : (function(o, m, k, k2) {
|
|
22
|
-
if (k2 === undefined) k2 = k;
|
|
23
|
-
o[k2] = m[k];
|
|
24
|
-
}));
|
|
25
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
26
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
27
|
-
};
|
|
28
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
__exportStar(require("./api/account-information-api"), exports);
|
|
30
|
-
__exportStar(require("./api/api-status-api"), exports);
|
|
31
|
-
__exportStar(require("./api/authentication-api"), exports);
|
|
32
|
-
__exportStar(require("./api/connections-api"), exports);
|
|
33
|
-
__exportStar(require("./api/options-api"), exports);
|
|
34
|
-
__exportStar(require("./api/reference-data-api"), exports);
|
|
35
|
-
__exportStar(require("./api/trading-api"), exports);
|
|
36
|
-
__exportStar(require("./api/transactions-and-reporting-api"), exports);
|