snaptrade-typescript-sdk 8.29.4 → 8.29.6
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 +30 -6
- package/dist/api/transactions-and-reporting-api-generated.d.ts +8 -8
- package/dist/api/transactions-and-reporting-api-generated.js +8 -8
- package/dist/browser.js +1 -1
- package/dist/configuration.js +1 -1
- package/dist/models/account-balance-total.d.ts +19 -0
- package/dist/models/account-balance-total.js +2 -0
- package/dist/models/account-balance.d.ts +14 -0
- package/dist/models/account-balance.js +2 -0
- package/dist/models/account-holdings-account.js +0 -10
- package/dist/models/account-holdings.js +0 -10
- package/dist/models/account-order-record-status.js +0 -10
- package/dist/models/account-order-record.js +0 -10
- package/dist/models/account-simple.js +0 -10
- package/dist/models/account-sync-status.js +0 -10
- package/dist/models/account.d.ts +7 -0
- package/dist/models/account.js +0 -10
- package/dist/models/action.js +0 -10
- package/dist/models/amount.d.ts +19 -0
- package/dist/models/amount.js +2 -0
- package/dist/models/authentication-login-snap-trade-user200-response.js +0 -10
- package/dist/models/balance.js +0 -10
- package/dist/models/brokerage-authorization-type-read-only-brokerage.js +0 -10
- package/dist/models/brokerage-authorization-type-read-only.js +0 -10
- package/dist/models/brokerage-authorization-type.js +0 -10
- package/dist/models/brokerage-authorization.js +0 -10
- package/dist/models/brokerage-symbol-option-symbol.js +0 -10
- package/dist/models/brokerage-symbol-symbol.js +0 -10
- package/dist/models/brokerage-symbol.js +0 -10
- package/dist/models/brokerage-type.js +0 -10
- package/dist/models/brokerage.js +0 -10
- package/dist/models/calculated-trade.js +0 -10
- package/dist/models/cash-restriction.js +0 -10
- package/dist/models/connections-session-events200-response-inner.js +0 -10
- package/dist/models/currency.js +0 -10
- package/dist/models/delete-user-response.js +0 -10
- package/dist/models/dividend-at-date.js +0 -10
- package/dist/models/encrypted-response-encrypted-message-data.js +0 -10
- package/dist/models/encrypted-response.js +0 -10
- package/dist/models/exchange-rate-pairs.js +0 -10
- package/dist/models/exchange.js +0 -10
- package/dist/models/excluded-asset.js +0 -10
- package/dist/models/index.d.ts +3 -0
- package/dist/models/index.js +3 -0
- package/dist/models/jwt.js +0 -10
- package/dist/models/login-redirect-uri.js +0 -10
- package/dist/models/manual-trade-and-impact.js +0 -10
- package/dist/models/manual-trade-balance.js +0 -10
- package/dist/models/manual-trade-form.js +0 -10
- package/dist/models/manual-trade-symbol.js +0 -10
- package/dist/models/manual-trade.js +0 -10
- package/dist/models/model-asset-class-details.js +0 -10
- package/dist/models/model-asset-class-target.js +0 -10
- package/dist/models/model-asset-class.js +0 -10
- package/dist/models/model-portfolio-asset-class.js +0 -10
- package/dist/models/model-portfolio-details.js +0 -10
- package/dist/models/model-portfolio-security.js +0 -10
- package/dist/models/model-portfolio.js +0 -10
- package/dist/models/model400-failed-request-response.js +0 -10
- package/dist/models/model401-failed-request-response.js +0 -10
- package/dist/models/model403-failed-request-response.js +0 -10
- package/dist/models/model404-failed-request-response.js +0 -10
- package/dist/models/model500-unexpected-exception-response.js +0 -10
- package/dist/models/monthly-dividends.js +0 -10
- package/dist/models/net-contributions.js +0 -10
- package/dist/models/net-dividend.js +0 -10
- package/dist/models/option-chain-inner-chain-per-root-inner-chain-per-strike-price-inner.js +0 -10
- package/dist/models/option-chain-inner-chain-per-root-inner.js +0 -10
- package/dist/models/option-chain-inner.js +0 -10
- package/dist/models/option-leg.js +0 -10
- package/dist/models/option-strategy-legs-inner.js +0 -10
- package/dist/models/option-strategy.js +0 -10
- package/dist/models/options-get-option-strategy-request.js +0 -10
- package/dist/models/options-holdings.js +0 -10
- package/dist/models/options-place-option-strategy-request.js +0 -10
- package/dist/models/options-position-currency.js +0 -10
- package/dist/models/options-position.js +0 -10
- package/dist/models/options-symbol.js +0 -10
- package/dist/models/order-type.js +0 -10
- package/dist/models/partner-data.js +0 -10
- package/dist/models/past-value.js +0 -10
- package/dist/models/performance-custom.js +0 -10
- package/dist/models/portfolio-group-info.js +0 -10
- package/dist/models/portfolio-group-position.js +0 -10
- package/dist/models/portfolio-group-settings.js +0 -10
- package/dist/models/portfolio-group.js +0 -10
- package/dist/models/position-symbol.js +0 -10
- package/dist/models/position.js +0 -10
- package/dist/models/redirect-tokenand-pin.js +0 -10
- package/dist/models/security-type.js +0 -10
- package/dist/models/session-event.js +0 -10
- package/dist/models/snap-trade-apidisclaimer-accept-status.js +0 -10
- package/dist/models/snap-trade-holdings-account-account-id.js +0 -10
- package/dist/models/snap-trade-holdings-account.js +0 -10
- package/dist/models/snap-trade-holdings-total-value.js +0 -10
- package/dist/models/snap-trade-login-user-request-body.d.ts +8 -1
- package/dist/models/snap-trade-login-user-request-body.js +0 -10
- package/dist/models/snap-trade-register-user-request-body.js +0 -10
- package/dist/models/status.js +0 -10
- package/dist/models/strategy-impact-legs-inner.js +0 -10
- package/dist/models/strategy-impact.js +0 -10
- package/dist/models/strategy-order-place-orders-inner-legs-inner.js +0 -10
- package/dist/models/strategy-order-place-orders-inner.js +0 -10
- package/dist/models/strategy-order-place.js +0 -10
- package/dist/models/strategy-order-record.js +0 -10
- package/dist/models/strategy-quotes-greek.js +0 -10
- package/dist/models/strategy-quotes.js +0 -10
- package/dist/models/sub-period-return-rate.js +0 -10
- package/dist/models/symbol-query.js +0 -10
- package/dist/models/symbol.js +0 -10
- package/dist/models/symbols-quotes-inner.js +0 -10
- package/dist/models/target-asset.js +0 -10
- package/dist/models/time-in-force.js +0 -10
- package/dist/models/trade-execution-status.js +0 -10
- package/dist/models/trade-impact.js +0 -10
- package/dist/models/trade.js +0 -10
- package/dist/models/trading-cancel-user-account-order-request.js +0 -10
- package/dist/models/trading-place-ocoorder-request.js +0 -10
- package/dist/models/transactions-status.js +0 -10
- package/dist/models/underlying-symbol.js +0 -10
- package/dist/models/universal-activity.js +0 -10
- package/dist/models/universal-symbol-ticker.js +0 -10
- package/dist/models/universal-symbol.js +0 -10
- package/dist/models/user-error-log.js +0 -10
- package/dist/models/user-idand-secret.js +0 -10
- package/dist/models/user-settings.js +0 -10
- package/dist/models/usexchange.js +0 -10
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
Connect brokerage accounts to your app for live positions and trading
|
|
8
8
|
|
|
9
|
-
[](https://www.npmjs.com/package/snaptrade-typescript-sdk/v/8.29.6)
|
|
10
10
|
[](https://snaptrade.com/)
|
|
11
11
|
|
|
12
12
|
</div>
|
|
@@ -558,6 +558,10 @@ const getUserJWTResponse = await snaptrade.authentication.getUserJWT({
|
|
|
558
558
|
|
|
559
559
|
##### userSecret: `string`<a id="usersecret-string"></a>
|
|
560
560
|
|
|
561
|
+
#### 🔄 Return<a id="🔄-return"></a>
|
|
562
|
+
|
|
563
|
+
[EncryptedResponse](./models/encrypted-response.ts)
|
|
564
|
+
|
|
561
565
|
#### 🌐 Endpoint<a id="🌐-endpoint"></a>
|
|
562
566
|
|
|
563
567
|
`/snapTrade/encryptedJWT` `GET`
|
|
@@ -603,6 +607,7 @@ const loginSnapTradeUserResponse =
|
|
|
603
607
|
customRedirect: "https://snaptrade.com",
|
|
604
608
|
reconnect: "8b5f262d-4bb9-365d-888a-202bd3b15fa1",
|
|
605
609
|
connectionType: "read",
|
|
610
|
+
connectionPortalVersion: "v2",
|
|
606
611
|
});
|
|
607
612
|
```
|
|
608
613
|
|
|
@@ -626,12 +631,20 @@ URL to redirect the user to after the user connects their brokerage account
|
|
|
626
631
|
|
|
627
632
|
##### reconnect: `string`<a id="reconnect-string"></a>
|
|
628
633
|
|
|
629
|
-
The UUID of the brokerage connection to be reconnected
|
|
634
|
+
The UUID of the brokerage connection to be reconnected. This parameter should be left empty unless you are reconnecting a disabled connection. See ‘Reconnecting Accounts’ for more information.
|
|
630
635
|
|
|
631
636
|
##### connectionType: `string`<a id="connectiontype-string"></a>
|
|
632
637
|
|
|
633
638
|
Sets whether the connection should be read or trade
|
|
634
639
|
|
|
640
|
+
##### connectionPortalVersion: `string`<a id="connectionportalversion-string"></a>
|
|
641
|
+
|
|
642
|
+
Sets the version of the connection portal to render, with a default to \\\'v2\\\'
|
|
643
|
+
|
|
644
|
+
#### 🔄 Return<a id="🔄-return"></a>
|
|
645
|
+
|
|
646
|
+
[AuthenticationLoginSnapTradeUser200Response](./models/authentication-login-snap-trade-user200-response.ts)
|
|
647
|
+
|
|
635
648
|
#### 🌐 Endpoint<a id="🌐-endpoint"></a>
|
|
636
649
|
|
|
637
650
|
`/snapTrade/login` `POST`
|
|
@@ -806,6 +819,10 @@ Optional comma seperated list of user IDs used to filter the request on specific
|
|
|
806
819
|
|
|
807
820
|
Optional comma seperated list of session IDs used to filter the request on specific users
|
|
808
821
|
|
|
822
|
+
#### 🔄 Return<a id="🔄-return"></a>
|
|
823
|
+
|
|
824
|
+
[ConnectionsSessionEvents200ResponseInner](./models/connections-session-events200-response-inner.ts)
|
|
825
|
+
|
|
809
826
|
#### 🌐 Endpoint<a id="🌐-endpoint"></a>
|
|
810
827
|
|
|
811
828
|
`/sessionEvents` `GET`
|
|
@@ -874,8 +891,7 @@ const getOptionStrategyResponse = await snaptrade.options.getOptionStrategy({
|
|
|
874
891
|
|
|
875
892
|
##### underlying_symbol_id: `string`<a id="underlying_symbol_id-string"></a>
|
|
876
893
|
|
|
877
|
-
##### legs: `OptionLeg
|
|
878
|
-
[`OptionLeg`](./models/option-leg.ts)[]
|
|
894
|
+
##### legs: [`OptionLeg`](./models/option-leg.ts)[]<a id="legs-optionlegmodelsoption-legts"></a>
|
|
879
895
|
|
|
880
896
|
##### strategy_type: `string`<a id="strategy_type-string"></a>
|
|
881
897
|
|
|
@@ -929,6 +945,10 @@ The ID of the account to get the options chain from.
|
|
|
929
945
|
|
|
930
946
|
Universal symbol ID if symbol
|
|
931
947
|
|
|
948
|
+
#### 🔄 Return<a id="🔄-return"></a>
|
|
949
|
+
|
|
950
|
+
[OptionChainInner](./models/option-chain-inner.ts)
|
|
951
|
+
|
|
932
952
|
#### 🌐 Endpoint<a id="🌐-endpoint"></a>
|
|
933
953
|
|
|
934
954
|
`/accounts/{accountId}/optionsChain` `GET`
|
|
@@ -1522,6 +1542,10 @@ The ID of the account to get quotes.
|
|
|
1522
1542
|
|
|
1523
1543
|
Should be set to True if providing tickers.
|
|
1524
1544
|
|
|
1545
|
+
#### 🔄 Return<a id="🔄-return"></a>
|
|
1546
|
+
|
|
1547
|
+
[SymbolsQuotesInner](./models/symbols-quotes-inner.ts)
|
|
1548
|
+
|
|
1525
1549
|
#### 🌐 Endpoint<a id="🌐-endpoint"></a>
|
|
1526
1550
|
|
|
1527
1551
|
`/accounts/{accountId}/quotes` `GET`
|
|
@@ -1671,7 +1695,7 @@ The ID of trade object obtained from trade/impact endpoint
|
|
|
1671
1695
|
|
|
1672
1696
|
### `snaptrade.transactionsAndReporting.getActivities`<a id="snaptradetransactionsandreportinggetactivities"></a>
|
|
1673
1697
|
|
|
1674
|
-
Returns activities (transactions) for a user.
|
|
1698
|
+
Returns activities (transactions) for a user. Specifying start and end date is highly recommended for better performance
|
|
1675
1699
|
|
|
1676
1700
|
#### 🛠️ Usage<a id="🛠️-usage"></a>
|
|
1677
1701
|
|
|
@@ -1727,7 +1751,7 @@ Optional comma seperated list of types to filter activities by. This is not an e
|
|
|
1727
1751
|
|
|
1728
1752
|
### `snaptrade.transactionsAndReporting.getReportingCustomRange`<a id="snaptradetransactionsandreportinggetreportingcustomrange"></a>
|
|
1729
1753
|
|
|
1730
|
-
Returns performance information (contributions, dividends, rate of return, etc) for a specific timeframe. Total Equity Timeframe and Rate of Returns are experimental
|
|
1754
|
+
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.
|
|
1731
1755
|
|
|
1732
1756
|
#### 🛠️ Usage<a id="🛠️-usage"></a>
|
|
1733
1757
|
|
|
@@ -9,7 +9,7 @@ import { UniversalActivity } from '../models';
|
|
|
9
9
|
*/
|
|
10
10
|
export declare const TransactionsAndReportingApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
11
11
|
/**
|
|
12
|
-
* Returns activities (transactions) for a user.
|
|
12
|
+
* Returns activities (transactions) for a user. Specifying start and end date is highly recommended for better performance
|
|
13
13
|
* @summary Get transaction history for a user
|
|
14
14
|
* @param {string} userId
|
|
15
15
|
* @param {string} userSecret
|
|
@@ -23,7 +23,7 @@ export declare const TransactionsAndReportingApiAxiosParamCreator: (configuratio
|
|
|
23
23
|
*/
|
|
24
24
|
getActivities: (userId: string, userSecret: string, startDate?: string | Date, endDate?: string | Date, accounts?: string, brokerageAuthorizations?: string, type?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
25
25
|
/**
|
|
26
|
-
* Returns performance information (contributions, dividends, rate of return, etc) for a specific timeframe. Total Equity Timeframe and Rate of Returns are experimental
|
|
26
|
+
* 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.
|
|
27
27
|
* @summary Get performance information for a specific timeframe
|
|
28
28
|
* @param {string | Date} startDate
|
|
29
29
|
* @param {string | Date} endDate
|
|
@@ -43,7 +43,7 @@ export declare const TransactionsAndReportingApiAxiosParamCreator: (configuratio
|
|
|
43
43
|
*/
|
|
44
44
|
export declare const TransactionsAndReportingApiFp: (configuration?: Configuration) => {
|
|
45
45
|
/**
|
|
46
|
-
* Returns activities (transactions) for a user.
|
|
46
|
+
* Returns activities (transactions) for a user. Specifying start and end date is highly recommended for better performance
|
|
47
47
|
* @summary Get transaction history for a user
|
|
48
48
|
* @param {TransactionsAndReportingApiGetActivitiesRequest} requestParameters Request parameters.
|
|
49
49
|
* @param {*} [options] Override http request option.
|
|
@@ -51,7 +51,7 @@ export declare const TransactionsAndReportingApiFp: (configuration?: Configurati
|
|
|
51
51
|
*/
|
|
52
52
|
getActivities(requestParameters: TransactionsAndReportingApiGetActivitiesRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<UniversalActivity>>>;
|
|
53
53
|
/**
|
|
54
|
-
* Returns performance information (contributions, dividends, rate of return, etc) for a specific timeframe. Total Equity Timeframe and Rate of Returns are experimental
|
|
54
|
+
* 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.
|
|
55
55
|
* @summary Get performance information for a specific timeframe
|
|
56
56
|
* @param {TransactionsAndReportingApiGetReportingCustomRangeRequest} requestParameters Request parameters.
|
|
57
57
|
* @param {*} [options] Override http request option.
|
|
@@ -65,7 +65,7 @@ export declare const TransactionsAndReportingApiFp: (configuration?: Configurati
|
|
|
65
65
|
*/
|
|
66
66
|
export declare const TransactionsAndReportingApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
67
67
|
/**
|
|
68
|
-
* Returns activities (transactions) for a user.
|
|
68
|
+
* Returns activities (transactions) for a user. Specifying start and end date is highly recommended for better performance
|
|
69
69
|
* @summary Get transaction history for a user
|
|
70
70
|
* @param {TransactionsAndReportingApiGetActivitiesRequest} requestParameters Request parameters.
|
|
71
71
|
* @param {*} [options] Override http request option.
|
|
@@ -73,7 +73,7 @@ export declare const TransactionsAndReportingApiFactory: (configuration?: Config
|
|
|
73
73
|
*/
|
|
74
74
|
getActivities(requestParameters: TransactionsAndReportingApiGetActivitiesRequest, options?: AxiosRequestConfig): AxiosPromise<Array<UniversalActivity>>;
|
|
75
75
|
/**
|
|
76
|
-
* Returns performance information (contributions, dividends, rate of return, etc) for a specific timeframe. Total Equity Timeframe and Rate of Returns are experimental
|
|
76
|
+
* 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.
|
|
77
77
|
* @summary Get performance information for a specific timeframe
|
|
78
78
|
* @param {TransactionsAndReportingApiGetReportingCustomRangeRequest} requestParameters Request parameters.
|
|
79
79
|
* @param {*} [options] Override http request option.
|
|
@@ -187,7 +187,7 @@ export type TransactionsAndReportingApiGetReportingCustomRangeRequest = {
|
|
|
187
187
|
*/
|
|
188
188
|
export declare class TransactionsAndReportingApiGenerated extends BaseAPI {
|
|
189
189
|
/**
|
|
190
|
-
* Returns activities (transactions) for a user.
|
|
190
|
+
* Returns activities (transactions) for a user. Specifying start and end date is highly recommended for better performance
|
|
191
191
|
* @summary Get transaction history for a user
|
|
192
192
|
* @param {TransactionsAndReportingApiGetActivitiesRequest} requestParameters Request parameters.
|
|
193
193
|
* @param {*} [options] Override http request option.
|
|
@@ -196,7 +196,7 @@ export declare class TransactionsAndReportingApiGenerated extends BaseAPI {
|
|
|
196
196
|
*/
|
|
197
197
|
getActivities(requestParameters: TransactionsAndReportingApiGetActivitiesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UniversalActivity[], any>>;
|
|
198
198
|
/**
|
|
199
|
-
* Returns performance information (contributions, dividends, rate of return, etc) for a specific timeframe. Total Equity Timeframe and Rate of Returns are experimental
|
|
199
|
+
* 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.
|
|
200
200
|
* @summary Get performance information for a specific timeframe
|
|
201
201
|
* @param {TransactionsAndReportingApiGetReportingCustomRangeRequest} requestParameters Request parameters.
|
|
202
202
|
* @param {*} [options] Override http request option.
|
|
@@ -36,7 +36,7 @@ const requestBeforeHook_1 = require("../requestBeforeHook");
|
|
|
36
36
|
const TransactionsAndReportingApiAxiosParamCreator = function (configuration) {
|
|
37
37
|
return {
|
|
38
38
|
/**
|
|
39
|
-
* Returns activities (transactions) for a user.
|
|
39
|
+
* Returns activities (transactions) for a user. Specifying start and end date is highly recommended for better performance
|
|
40
40
|
* @summary Get transaction history for a user
|
|
41
41
|
* @param {string} userId
|
|
42
42
|
* @param {string} userSecret
|
|
@@ -109,7 +109,7 @@ const TransactionsAndReportingApiAxiosParamCreator = function (configuration) {
|
|
|
109
109
|
};
|
|
110
110
|
}),
|
|
111
111
|
/**
|
|
112
|
-
* Returns performance information (contributions, dividends, rate of return, etc) for a specific timeframe. Total Equity Timeframe and Rate of Returns are experimental
|
|
112
|
+
* 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.
|
|
113
113
|
* @summary Get performance information for a specific timeframe
|
|
114
114
|
* @param {string | Date} startDate
|
|
115
115
|
* @param {string | Date} endDate
|
|
@@ -196,7 +196,7 @@ const TransactionsAndReportingApiFp = function (configuration) {
|
|
|
196
196
|
const localVarAxiosParamCreator = (0, exports.TransactionsAndReportingApiAxiosParamCreator)(configuration);
|
|
197
197
|
return {
|
|
198
198
|
/**
|
|
199
|
-
* Returns activities (transactions) for a user.
|
|
199
|
+
* Returns activities (transactions) for a user. Specifying start and end date is highly recommended for better performance
|
|
200
200
|
* @summary Get transaction history for a user
|
|
201
201
|
* @param {TransactionsAndReportingApiGetActivitiesRequest} requestParameters Request parameters.
|
|
202
202
|
* @param {*} [options] Override http request option.
|
|
@@ -209,7 +209,7 @@ const TransactionsAndReportingApiFp = function (configuration) {
|
|
|
209
209
|
});
|
|
210
210
|
},
|
|
211
211
|
/**
|
|
212
|
-
* Returns performance information (contributions, dividends, rate of return, etc) for a specific timeframe. Total Equity Timeframe and Rate of Returns are experimental
|
|
212
|
+
* 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.
|
|
213
213
|
* @summary Get performance information for a specific timeframe
|
|
214
214
|
* @param {TransactionsAndReportingApiGetReportingCustomRangeRequest} requestParameters Request parameters.
|
|
215
215
|
* @param {*} [options] Override http request option.
|
|
@@ -232,7 +232,7 @@ const TransactionsAndReportingApiFactory = function (configuration, basePath, ax
|
|
|
232
232
|
const localVarFp = (0, exports.TransactionsAndReportingApiFp)(configuration);
|
|
233
233
|
return {
|
|
234
234
|
/**
|
|
235
|
-
* Returns activities (transactions) for a user.
|
|
235
|
+
* Returns activities (transactions) for a user. Specifying start and end date is highly recommended for better performance
|
|
236
236
|
* @summary Get transaction history for a user
|
|
237
237
|
* @param {TransactionsAndReportingApiGetActivitiesRequest} requestParameters Request parameters.
|
|
238
238
|
* @param {*} [options] Override http request option.
|
|
@@ -242,7 +242,7 @@ const TransactionsAndReportingApiFactory = function (configuration, basePath, ax
|
|
|
242
242
|
return localVarFp.getActivities(requestParameters, options).then((request) => request(axios, basePath));
|
|
243
243
|
},
|
|
244
244
|
/**
|
|
245
|
-
* Returns performance information (contributions, dividends, rate of return, etc) for a specific timeframe. Total Equity Timeframe and Rate of Returns are experimental
|
|
245
|
+
* 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.
|
|
246
246
|
* @summary Get performance information for a specific timeframe
|
|
247
247
|
* @param {TransactionsAndReportingApiGetReportingCustomRangeRequest} requestParameters Request parameters.
|
|
248
248
|
* @param {*} [options] Override http request option.
|
|
@@ -262,7 +262,7 @@ exports.TransactionsAndReportingApiFactory = TransactionsAndReportingApiFactory;
|
|
|
262
262
|
*/
|
|
263
263
|
class TransactionsAndReportingApiGenerated extends base_1.BaseAPI {
|
|
264
264
|
/**
|
|
265
|
-
* Returns activities (transactions) for a user.
|
|
265
|
+
* Returns activities (transactions) for a user. Specifying start and end date is highly recommended for better performance
|
|
266
266
|
* @summary Get transaction history for a user
|
|
267
267
|
* @param {TransactionsAndReportingApiGetActivitiesRequest} requestParameters Request parameters.
|
|
268
268
|
* @param {*} [options] Override http request option.
|
|
@@ -273,7 +273,7 @@ class TransactionsAndReportingApiGenerated extends base_1.BaseAPI {
|
|
|
273
273
|
return (0, exports.TransactionsAndReportingApiFp)(this.configuration).getActivities(requestParameters, options).then((request) => request(this.axios, this.basePath));
|
|
274
274
|
}
|
|
275
275
|
/**
|
|
276
|
-
* Returns performance information (contributions, dividends, rate of return, etc) for a specific timeframe. Total Equity Timeframe and Rate of Returns are experimental
|
|
276
|
+
* 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.
|
|
277
277
|
* @summary Get performance information for a specific timeframe
|
|
278
278
|
* @param {TransactionsAndReportingApiGetReportingCustomRangeRequest} requestParameters Request parameters.
|
|
279
279
|
* @param {*} [options] Override http request option.
|