snaptrade-typescript-sdk 9.0.37 → 9.0.39

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 CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  Connect brokerage accounts to your app for live positions and trading
8
8
 
9
- [![npm](https://img.shields.io/badge/npm-v9.0.37-blue)](https://www.npmjs.com/package/snaptrade-typescript-sdk/v/9.0.37)
9
+ [![npm](https://img.shields.io/badge/npm-v9.0.39-blue)](https://www.npmjs.com/package/snaptrade-typescript-sdk/v/9.0.39)
10
10
  [![More Info](https://img.shields.io/badge/More%20Info-Click%20Here-orange)](https://snaptrade.com/)
11
11
 
12
12
  </div>
@@ -192,7 +192,7 @@ account.
192
192
  const getAllUserHoldingsResponse =
193
193
  await snaptrade.accountInformation.getAllUserHoldings({
194
194
  userId: "snaptrade-user-123",
195
- userSecret: "USERSECRET123",
195
+ userSecret: "adf2aa34-8219-40f7-a6b3-60156985cc61",
196
196
  brokerageAuthorizations: "917c8734-8470-4a3e-a18f-57c3f2ee6631",
197
197
  });
198
198
  ```
@@ -233,7 +233,7 @@ The data returned here is cached. How long the data is cached for varies by brok
233
233
  const getUserAccountBalanceResponse =
234
234
  await snaptrade.accountInformation.getUserAccountBalance({
235
235
  userId: "snaptrade-user-123",
236
- userSecret: "USERSECRET123",
236
+ userSecret: "adf2aa34-8219-40f7-a6b3-60156985cc61",
237
237
  accountId: "917c8734-8470-4a3e-a18f-57c3f2ee6631",
238
238
  });
239
239
  ```
@@ -272,7 +272,7 @@ The data returned here is always cached and refreshed once a day. **If you need
272
272
  const getUserAccountDetailsResponse =
273
273
  await snaptrade.accountInformation.getUserAccountDetails({
274
274
  userId: "snaptrade-user-123",
275
- userSecret: "USERSECRET123",
275
+ userSecret: "adf2aa34-8219-40f7-a6b3-60156985cc61",
276
276
  accountId: "917c8734-8470-4a3e-a18f-57c3f2ee6631",
277
277
  });
278
278
  ```
@@ -311,7 +311,7 @@ The data returned here is cached. How long the data is cached for varies by brok
311
311
  const getUserAccountOrdersResponse =
312
312
  await snaptrade.accountInformation.getUserAccountOrders({
313
313
  userId: "snaptrade-user-123",
314
- userSecret: "USERSECRET123",
314
+ userSecret: "adf2aa34-8219-40f7-a6b3-60156985cc61",
315
315
  state: "all",
316
316
  days: 30,
317
317
  accountId: "917c8734-8470-4a3e-a18f-57c3f2ee6631",
@@ -360,7 +360,7 @@ The data returned here is cached. How long the data is cached for varies by brok
360
360
  const getUserAccountPositionsResponse =
361
361
  await snaptrade.accountInformation.getUserAccountPositions({
362
362
  userId: "snaptrade-user-123",
363
- userSecret: "USERSECRET123",
363
+ userSecret: "adf2aa34-8219-40f7-a6b3-60156985cc61",
364
364
  accountId: "917c8734-8470-4a3e-a18f-57c3f2ee6631",
365
365
  });
366
366
  ```
@@ -400,7 +400,7 @@ const getUserHoldingsResponse =
400
400
  await snaptrade.accountInformation.getUserHoldings({
401
401
  accountId: "917c8734-8470-4a3e-a18f-57c3f2ee6631",
402
402
  userId: "snaptrade-user-123",
403
- userSecret: "USERSECRET123",
403
+ userSecret: "adf2aa34-8219-40f7-a6b3-60156985cc61",
404
404
  });
405
405
  ```
406
406
 
@@ -427,7 +427,7 @@ const getUserHoldingsResponse =
427
427
 
428
428
  ### `snaptrade.accountInformation.listUserAccounts`<a id="snaptradeaccountinformationlistuseraccounts"></a>
429
429
 
430
- Returns all brokerage accounts known to SnapTrade for the authenticated user.
430
+ Returns all brokerage accounts across all connections known to SnapTrade for the authenticated user.
431
431
 
432
432
  The data returned here is always cached and refreshed once a day. **If you need real-time data, please use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint**.
433
433
 
@@ -438,7 +438,7 @@ The data returned here is always cached and refreshed once a day. **If you need
438
438
  const listUserAccountsResponse =
439
439
  await snaptrade.accountInformation.listUserAccounts({
440
440
  userId: "snaptrade-user-123",
441
- userSecret: "USERSECRET123",
441
+ userSecret: "adf2aa34-8219-40f7-a6b3-60156985cc61",
442
442
  });
443
443
  ```
444
444
 
@@ -471,7 +471,7 @@ Updates various properties of a specified account.
471
471
  const updateUserAccountResponse =
472
472
  await snaptrade.accountInformation.updateUserAccount({
473
473
  userId: "snaptrade-user-123",
474
- userSecret: "USERSECRET123",
474
+ userSecret: "adf2aa34-8219-40f7-a6b3-60156985cc61",
475
475
  accountId: "accountId_example",
476
476
  });
477
477
  ```
@@ -554,7 +554,7 @@ const deleteSnapTradeUserResponse =
554
554
 
555
555
  ### `snaptrade.authentication.listSnapTradeUsers`<a id="snaptradeauthenticationlistsnaptradeusers"></a>
556
556
 
557
- Returns a list of all registered user IDs.
557
+ Returns a list of all registered user IDs. Please note that the response is not currently paginated.
558
558
 
559
559
  #### 🛠️ Usage<a id="🛠️-usage"></a>
560
560
 
@@ -582,7 +582,7 @@ Logs in a SnapTrade user and returns an authenticated connection portal URL for
582
582
  const loginSnapTradeUserResponse =
583
583
  await snaptrade.authentication.loginSnapTradeUser({
584
584
  userId: "snaptrade-user-123",
585
- userSecret: "USERSECRET123",
585
+ userSecret: "adf2aa34-8219-40f7-a6b3-60156985cc61",
586
586
  broker: "ALPACA",
587
587
  immediateRedirect: true,
588
588
  customRedirect: "https://snaptrade.com",
@@ -637,8 +637,8 @@ Sets the version of the connection portal to render.
637
637
 
638
638
  ### `snaptrade.authentication.registerSnapTradeUser`<a id="snaptradeauthenticationregistersnaptradeuser"></a>
639
639
 
640
- Registers a new SnapTrade user under your ClientID. A user secret will be automatically generated for you and must be properly stored in your database.
641
- Most SnapTrade operations require a user ID and user secret to be passed as a parameter.
640
+ Registers a new SnapTrade user under your Client ID. A user secret will be automatically generated for you and must be properly stored in your system.
641
+ Most SnapTrade operations require a user ID and user secret to be passed in as parameters.
642
642
 
643
643
 
644
644
  #### 🛠️ Usage<a id="🛠️-usage"></a>
@@ -680,7 +680,7 @@ Rotates the secret for a SnapTrade user. You might use this if `userSecret` is c
680
680
  const resetSnapTradeUserSecretResponse =
681
681
  await snaptrade.authentication.resetSnapTradeUserSecret({
682
682
  userId: "snaptrade-user-123",
683
- userSecret: "h81@cx1lkalablakwjaltkejraj11=",
683
+ userSecret: "adf2aa34-8219-40f7-a6b3-60156985cc61",
684
684
  });
685
685
  ```
686
686
 
@@ -692,7 +692,7 @@ SnapTrade User ID. This is chosen by the API partner and can be any string that
692
692
 
693
693
  ##### userSecret: `string`<a id="usersecret-string"></a>
694
694
 
695
- SnapTrade User Secret randomly generated by SnapTrade. This is privileged information and if compromised, should be rotated via the [rotate user secret endpoint](/reference/Authentication/Authentication_resetSnapTradeUserSecret)
695
+ SnapTrade User Secret. This is a randomly generated string and should be stored securely. If compromised, please rotate it via the [rotate user secret endpoint](/reference/Authentication/Authentication_resetSnapTradeUserSecret).
696
696
 
697
697
  #### 🔄 Return<a id="🔄-return"></a>
698
698
 
@@ -709,16 +709,16 @@ SnapTrade User Secret randomly generated by SnapTrade. This is privileged inform
709
709
 
710
710
  ### `snaptrade.connections.detailBrokerageAuthorization`<a id="snaptradeconnectionsdetailbrokerageauthorization"></a>
711
711
 
712
- Returns a single brokerage authorization object for the specified ID.
712
+ Returns a single connection for the specified ID.
713
713
 
714
714
  #### 🛠️ Usage<a id="🛠️-usage"></a>
715
715
 
716
716
  ```typescript
717
717
  const detailBrokerageAuthorizationResponse =
718
718
  await snaptrade.connections.detailBrokerageAuthorization({
719
- authorizationId: "2bcd7cc3-e922-4976-bce1-9858296801c3",
719
+ authorizationId: "87b24961-b51e-4db8-9226-f198f6518a89",
720
720
  userId: "snaptrade-user-123",
721
- userSecret: "USERSECRET123",
721
+ userSecret: "adf2aa34-8219-40f7-a6b3-60156985cc61",
722
722
  });
723
723
  ```
724
724
 
@@ -726,8 +726,6 @@ const detailBrokerageAuthorizationResponse =
726
726
 
727
727
  ##### authorizationId: `string`<a id="authorizationid-string"></a>
728
728
 
729
- The ID of a brokerage authorization object.
730
-
731
729
  ##### userId: `string`<a id="userid-string"></a>
732
730
 
733
731
  ##### userSecret: `string`<a id="usersecret-string"></a>
@@ -747,16 +745,20 @@ The ID of a brokerage authorization object.
747
745
 
748
746
  ### `snaptrade.connections.disableBrokerageAuthorization`<a id="snaptradeconnectionsdisablebrokerageauthorization"></a>
749
747
 
750
- Manually disable a connection. This should only be used for testing a reconnect flow, and never used on production connections. Will trigger a disconnect as if it happened naturally, and send a CONNECTION_BROKEN webhook for the connection. Please contact us in order to use this endpoint as it is disabled by default.
748
+ Manually force the specified connection to become disabled. This should only be used for testing a reconnect flow, and never used on production connections.
749
+ Will trigger a disconnect as if it happened naturally, and send a [`CONNECTION_BROKEN` webhook](https://docs.snaptrade.com/docs/webhooks#webhooks-connection_broken) for the connection.
750
+
751
+ *Please contact us in order to use this endpoint as it is disabled by default.*
752
+
751
753
 
752
754
  #### 🛠️ Usage<a id="🛠️-usage"></a>
753
755
 
754
756
  ```typescript
755
757
  const disableBrokerageAuthorizationResponse =
756
758
  await snaptrade.connections.disableBrokerageAuthorization({
757
- authorizationId: "2bcd7cc3-e922-4976-bce1-9858296801c3",
759
+ authorizationId: "87b24961-b51e-4db8-9226-f198f6518a89",
758
760
  userId: "snaptrade-user-123",
759
- userSecret: "USERSECRET123",
761
+ userSecret: "adf2aa34-8219-40f7-a6b3-60156985cc61",
760
762
  });
761
763
  ```
762
764
 
@@ -764,8 +766,6 @@ const disableBrokerageAuthorizationResponse =
764
766
 
765
767
  ##### authorizationId: `string`<a id="authorizationid-string"></a>
766
768
 
767
- The ID of a brokerage authorization object.
768
-
769
769
  ##### userId: `string`<a id="userid-string"></a>
770
770
 
771
771
  ##### userSecret: `string`<a id="usersecret-string"></a>
@@ -785,7 +785,12 @@ The ID of a brokerage authorization object.
785
785
 
786
786
  ### `snaptrade.connections.listBrokerageAuthorizations`<a id="snaptradeconnectionslistbrokerageauthorizations"></a>
787
787
 
788
- Returns a list of Brokerage Authorization objects for the user
788
+ Returns a list of all connections for the specified user. Note that `Connection` and `Brokerage Authorization` are interchangeable, but the term `Connection` is preferred and used in the doc for consistency.
789
+
790
+ A connection is usually tied to a single login at a brokerage. A single connection can contain multiple brokerage accounts.
791
+
792
+ SnapTrade performs de-duping on connections for a given user. If the user has an existing connection with the brokerage, when connecting the brokerage with the same credentials, SnapTrade will return the existing connection instead of creating a new one.
793
+
789
794
 
790
795
  #### 🛠️ Usage<a id="🛠️-usage"></a>
791
796
 
@@ -793,7 +798,7 @@ Returns a list of Brokerage Authorization objects for the user
793
798
  const listBrokerageAuthorizationsResponse =
794
799
  await snaptrade.connections.listBrokerageAuthorizations({
795
800
  userId: "snaptrade-user-123",
796
- userSecret: "USERSECRET123",
801
+ userSecret: "adf2aa34-8219-40f7-a6b3-60156985cc61",
797
802
  });
798
803
  ```
799
804
 
@@ -818,16 +823,19 @@ const listBrokerageAuthorizationsResponse =
818
823
 
819
824
  ### `snaptrade.connections.refreshBrokerageAuthorization`<a id="snaptradeconnectionsrefreshbrokerageauthorization"></a>
820
825
 
821
- Trigger a holdings update for all accounts under this authorization. Updates will be queued asynchronously. ACCOUNT_HOLDINGS_UPDATED webhook will be sent once the sync completes. Please contact support for access as this endpoint is not enabled by default
826
+ Trigger a holdings update for all accounts under this connection. Updates will be queued asynchronously. [`ACCOUNT_HOLDINGS_UPDATED` webhook](https://docs.snaptrade.com/docs/webhooks#webhooks-account_holdings_updated) will be sent once the sync completes for each account under the connection.
827
+
828
+ *Please contact support for access as this endpoint is not enabled by default.*
829
+
822
830
 
823
831
  #### 🛠️ Usage<a id="🛠️-usage"></a>
824
832
 
825
833
  ```typescript
826
834
  const refreshBrokerageAuthorizationResponse =
827
835
  await snaptrade.connections.refreshBrokerageAuthorization({
828
- authorizationId: "2bcd7cc3-e922-4976-bce1-9858296801c3",
836
+ authorizationId: "87b24961-b51e-4db8-9226-f198f6518a89",
829
837
  userId: "snaptrade-user-123",
830
- userSecret: "USERSECRET123",
838
+ userSecret: "adf2aa34-8219-40f7-a6b3-60156985cc61",
831
839
  });
832
840
  ```
833
841
 
@@ -835,8 +843,6 @@ const refreshBrokerageAuthorizationResponse =
835
843
 
836
844
  ##### authorizationId: `string`<a id="authorizationid-string"></a>
837
845
 
838
- The ID of a brokerage authorization object.
839
-
840
846
  ##### userId: `string`<a id="userid-string"></a>
841
847
 
842
848
  ##### userSecret: `string`<a id="usersecret-string"></a>
@@ -856,16 +862,16 @@ The ID of a brokerage authorization object.
856
862
 
857
863
  ### `snaptrade.connections.removeBrokerageAuthorization`<a id="snaptradeconnectionsremovebrokerageauthorization"></a>
858
864
 
859
- Deletes a specified brokerage authorization given by the ID.
865
+ Deletes the connection specified by the ID. This will also delete all accounts and holdings associated with the connection. This action is irreversible. This endpoint is synchronous, a 204 response indicates that the connection has been successfully deleted.
860
866
 
861
867
  #### 🛠️ Usage<a id="🛠️-usage"></a>
862
868
 
863
869
  ```typescript
864
870
  const removeBrokerageAuthorizationResponse =
865
871
  await snaptrade.connections.removeBrokerageAuthorization({
866
- authorizationId: "2bcd7cc3-e922-4976-bce1-9858296801c3",
872
+ authorizationId: "87b24961-b51e-4db8-9226-f198f6518a89",
867
873
  userId: "snaptrade-user-123",
868
- userSecret: "USERSECRET123",
874
+ userSecret: "adf2aa34-8219-40f7-a6b3-60156985cc61",
869
875
  });
870
876
  ```
871
877
 
@@ -873,8 +879,6 @@ const removeBrokerageAuthorizationResponse =
873
879
 
874
880
  ##### authorizationId: `string`<a id="authorizationid-string"></a>
875
881
 
876
- The ID of the Authorization to delete.
877
-
878
882
  ##### userId: `string`<a id="userid-string"></a>
879
883
 
880
884
  ##### userSecret: `string`<a id="usersecret-string"></a>
@@ -939,7 +943,7 @@ Creates an option strategy object that will be used to place an option strategy
939
943
  ```typescript
940
944
  const getOptionStrategyResponse = await snaptrade.options.getOptionStrategy({
941
945
  userId: "snaptrade-user-123",
942
- userSecret: "USERSECRET123",
946
+ userSecret: "adf2aa34-8219-40f7-a6b3-60156985cc61",
943
947
  accountId: "accountId_example",
944
948
  underlying_symbol_id: "2bcd7cc3-e922-4976-bce1-9858296801c3",
945
949
  legs: [
@@ -991,7 +995,7 @@ Returns the option chain for the specified symbol in the specified account.
991
995
  ```typescript
992
996
  const getOptionsChainResponse = await snaptrade.options.getOptionsChain({
993
997
  userId: "snaptrade-user-123",
994
- userSecret: "USERSECRET123",
998
+ userSecret: "adf2aa34-8219-40f7-a6b3-60156985cc61",
995
999
  accountId: "accountId_example",
996
1000
  symbol: "symbol_example",
997
1001
  });
@@ -1035,7 +1039,7 @@ Returns a Strategy Quotes object which has latest market data of the specified o
1035
1039
  const getOptionsStrategyQuoteResponse =
1036
1040
  await snaptrade.options.getOptionsStrategyQuote({
1037
1041
  userId: "snaptrade-user-123",
1038
- userSecret: "USERSECRET123",
1042
+ userSecret: "adf2aa34-8219-40f7-a6b3-60156985cc61",
1039
1043
  accountId: "accountId_example",
1040
1044
  optionStrategyId: "2bcd7cc3-e922-4976-bce1-9858296801c3",
1041
1045
  });
@@ -1080,7 +1084,7 @@ The data returned here is cached. How long the data is cached for varies by brok
1080
1084
  ```typescript
1081
1085
  const listOptionHoldingsResponse = await snaptrade.options.listOptionHoldings({
1082
1086
  userId: "snaptrade-user-123",
1083
- userSecret: "USERSECRET123",
1087
+ userSecret: "adf2aa34-8219-40f7-a6b3-60156985cc61",
1084
1088
  accountId: "917c8734-8470-4a3e-a18f-57c3f2ee6631",
1085
1089
  });
1086
1090
  ```
@@ -1116,7 +1120,7 @@ Places the option strategy order and returns the order record received from the
1116
1120
  const placeOptionStrategyResponse = await snaptrade.options.placeOptionStrategy(
1117
1121
  {
1118
1122
  userId: "snaptrade-user-123",
1119
- userSecret: "USERSECRET123",
1123
+ userSecret: "adf2aa34-8219-40f7-a6b3-60156985cc61",
1120
1124
  accountId: "2bcd7cc3-e922-4976-bce1-9858296801c3",
1121
1125
  optionStrategyId: "2bcd7cc3-e922-4976-bce1-9858296801c3",
1122
1126
  order_type: "Limit",
@@ -1449,7 +1453,7 @@ provided search string, matching on ticker and name.
1449
1453
  const symbolSearchUserAccountResponse =
1450
1454
  await snaptrade.referenceData.symbolSearchUserAccount({
1451
1455
  userId: "snaptrade-user-123",
1452
- userSecret: "USERSECRET123",
1456
+ userSecret: "adf2aa34-8219-40f7-a6b3-60156985cc61",
1453
1457
  accountId: "917c8734-8470-4a3e-a18f-57c3f2ee6631",
1454
1458
  substring: "apple",
1455
1459
  });
@@ -1492,7 +1496,7 @@ This will only work if the order has not yet been executed.
1492
1496
  const cancelUserAccountOrderResponse =
1493
1497
  await snaptrade.trading.cancelUserAccountOrder({
1494
1498
  userId: "snaptrade-user-123",
1495
- userSecret: "USERSECRET123",
1499
+ userSecret: "adf2aa34-8219-40f7-a6b3-60156985cc61",
1496
1500
  accountId: "917c8734-8470-4a3e-a18f-57c3f2ee6631",
1497
1501
  brokerage_order_id: "2bcd7cc3-e922-4976-bce1-9858296801c3",
1498
1502
  });
@@ -1532,7 +1536,7 @@ Return the trade object and it's impact on the account for the specified order.
1532
1536
  ```typescript
1533
1537
  const getOrderImpactResponse = await snaptrade.trading.getOrderImpact({
1534
1538
  userId: "snaptrade-user-123",
1535
- userSecret: "USERSECRET123",
1539
+ userSecret: "adf2aa34-8219-40f7-a6b3-60156985cc61",
1536
1540
  account_id: "2bcd7cc3-e922-4976-bce1-9858296801c3",
1537
1541
  action: "BUY",
1538
1542
  order_type: "Limit",
@@ -1600,7 +1604,7 @@ Returns quote(s) from the brokerage for the specified symbol(s).
1600
1604
  const getUserAccountQuotesResponse =
1601
1605
  await snaptrade.trading.getUserAccountQuotes({
1602
1606
  userId: "snaptrade-user-123",
1603
- userSecret: "USERSECRET123",
1607
+ userSecret: "adf2aa34-8219-40f7-a6b3-60156985cc61",
1604
1608
  symbols: "symbols_example",
1605
1609
  accountId: "917c8734-8470-4a3e-a18f-57c3f2ee6631",
1606
1610
  });
@@ -1646,7 +1650,7 @@ Places a specified trade in the specified account.
1646
1650
  ```typescript
1647
1651
  const placeForceOrderResponse = await snaptrade.trading.placeForceOrder({
1648
1652
  userId: "snaptrade-user-123",
1649
- userSecret: "USERSECRET123",
1653
+ userSecret: "adf2aa34-8219-40f7-a6b3-60156985cc61",
1650
1654
  account_id: "2bcd7cc3-e922-4976-bce1-9858296801c3",
1651
1655
  action: "BUY",
1652
1656
  order_type: "Limit",
@@ -1716,7 +1720,7 @@ returns the status of the order from the brokerage.
1716
1720
  const placeOrderResponse = await snaptrade.trading.placeOrder({
1717
1721
  tradeId: "tradeId_example",
1718
1722
  userId: "snaptrade-user-123",
1719
- userSecret: "USERSECRET123",
1723
+ userSecret: "adf2aa34-8219-40f7-a6b3-60156985cc61",
1720
1724
  wait_to_confirm: true,
1721
1725
  });
1722
1726
  ```
@@ -1770,7 +1774,7 @@ const getActivitiesResponse =
1770
1774
  "917c8734-8470-4a3e-a18f-57c3f2ee6631,65e839a3-9103-4cfb-9b72-2071ef80c5f2",
1771
1775
  type: "BUY,SELL,DIVIDEND",
1772
1776
  userId: "snaptrade-user-123",
1773
- userSecret: "USERSECRET123",
1777
+ userSecret: "adf2aa34-8219-40f7-a6b3-60156985cc61",
1774
1778
  });
1775
1779
  ```
1776
1780
 
@@ -1830,7 +1834,7 @@ const getReportingCustomRangeResponse =
1830
1834
  detailed: true,
1831
1835
  frequency: "monthly",
1832
1836
  userId: "snaptrade-user-123",
1833
- userSecret: "USERSECRET123",
1837
+ userSecret: "adf2aa34-8219-40f7-a6b3-60156985cc61",
1834
1838
  });
1835
1839
  ```
1836
1840
 
@@ -76,7 +76,7 @@ export declare const AccountInformationApiAxiosParamCreator: (configuration?: Co
76
76
  */
77
77
  getUserHoldings: (accountId: string, userId: string, userSecret: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
78
78
  /**
79
- * Returns all brokerage accounts known to SnapTrade for the authenticated user. The data returned here is always cached and refreshed once a day. **If you need real-time data, please use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint**.
79
+ * Returns all brokerage accounts across all connections known to SnapTrade for the authenticated user. The data returned here is always cached and refreshed once a day. **If you need real-time data, please use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint**.
80
80
  * @summary List accounts
81
81
  * @param {string} userId
82
82
  * @param {string} userSecret
@@ -150,7 +150,7 @@ export declare const AccountInformationApiFp: (configuration?: Configuration) =>
150
150
  */
151
151
  getUserHoldings(requestParameters: AccountInformationApiGetUserHoldingsRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountHoldingsAccount>>;
152
152
  /**
153
- * Returns all brokerage accounts known to SnapTrade for the authenticated user. The data returned here is always cached and refreshed once a day. **If you need real-time data, please use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint**.
153
+ * Returns all brokerage accounts across all connections known to SnapTrade for the authenticated user. The data returned here is always cached and refreshed once a day. **If you need real-time data, please use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint**.
154
154
  * @summary List accounts
155
155
  * @param {AccountInformationApiListUserAccountsRequest} requestParameters Request parameters.
156
156
  * @param {*} [options] Override http request option.
@@ -221,7 +221,7 @@ export declare const AccountInformationApiFactory: (configuration?: Configuratio
221
221
  */
222
222
  getUserHoldings(requestParameters: AccountInformationApiGetUserHoldingsRequest, options?: AxiosRequestConfig): AxiosPromise<AccountHoldingsAccount>;
223
223
  /**
224
- * Returns all brokerage accounts known to SnapTrade for the authenticated user. The data returned here is always cached and refreshed once a day. **If you need real-time data, please use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint**.
224
+ * Returns all brokerage accounts across all connections known to SnapTrade for the authenticated user. The data returned here is always cached and refreshed once a day. **If you need real-time data, please use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint**.
225
225
  * @summary List accounts
226
226
  * @param {AccountInformationApiListUserAccountsRequest} requestParameters Request parameters.
227
227
  * @param {*} [options] Override http request option.
@@ -506,7 +506,7 @@ export declare class AccountInformationApiGenerated extends BaseAPI {
506
506
  */
507
507
  getUserHoldings(requestParameters: AccountInformationApiGetUserHoldingsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AccountHoldingsAccount, any>>;
508
508
  /**
509
- * Returns all brokerage accounts known to SnapTrade for the authenticated user. The data returned here is always cached and refreshed once a day. **If you need real-time data, please use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint**.
509
+ * Returns all brokerage accounts across all connections known to SnapTrade for the authenticated user. The data returned here is always cached and refreshed once a day. **If you need real-time data, please use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint**.
510
510
  * @summary List accounts
511
511
  * @param {AccountInformationApiListUserAccountsRequest} requestParameters Request parameters.
512
512
  * @param {*} [options] Override http request option.
@@ -375,7 +375,7 @@ const AccountInformationApiAxiosParamCreator = function (configuration) {
375
375
  };
376
376
  }),
377
377
  /**
378
- * Returns all brokerage accounts known to SnapTrade for the authenticated user. The data returned here is always cached and refreshed once a day. **If you need real-time data, please use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint**.
378
+ * Returns all brokerage accounts across all connections known to SnapTrade for the authenticated user. The data returned here is always cached and refreshed once a day. **If you need real-time data, please use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint**.
379
379
  * @summary List accounts
380
380
  * @param {string} userId
381
381
  * @param {string} userSecret
@@ -570,7 +570,7 @@ const AccountInformationApiFp = function (configuration) {
570
570
  });
571
571
  },
572
572
  /**
573
- * Returns all brokerage accounts known to SnapTrade for the authenticated user. The data returned here is always cached and refreshed once a day. **If you need real-time data, please use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint**.
573
+ * Returns all brokerage accounts across all connections known to SnapTrade for the authenticated user. The data returned here is always cached and refreshed once a day. **If you need real-time data, please use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint**.
574
574
  * @summary List accounts
575
575
  * @param {AccountInformationApiListUserAccountsRequest} requestParameters Request parameters.
576
576
  * @param {*} [options] Override http request option.
@@ -667,7 +667,7 @@ const AccountInformationApiFactory = function (configuration, basePath, axios) {
667
667
  return localVarFp.getUserHoldings(requestParameters, options).then((request) => request(axios, basePath));
668
668
  },
669
669
  /**
670
- * Returns all brokerage accounts known to SnapTrade for the authenticated user. The data returned here is always cached and refreshed once a day. **If you need real-time data, please use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint**.
670
+ * Returns all brokerage accounts across all connections known to SnapTrade for the authenticated user. The data returned here is always cached and refreshed once a day. **If you need real-time data, please use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint**.
671
671
  * @summary List accounts
672
672
  * @param {AccountInformationApiListUserAccountsRequest} requestParameters Request parameters.
673
673
  * @param {*} [options] Override http request option.
@@ -764,7 +764,7 @@ class AccountInformationApiGenerated extends base_1.BaseAPI {
764
764
  return (0, exports.AccountInformationApiFp)(this.configuration).getUserHoldings(requestParameters, options).then((request) => request(this.axios, this.basePath));
765
765
  }
766
766
  /**
767
- * Returns all brokerage accounts known to SnapTrade for the authenticated user. The data returned here is always cached and refreshed once a day. **If you need real-time data, please use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint**.
767
+ * Returns all brokerage accounts across all connections known to SnapTrade for the authenticated user. The data returned here is always cached and refreshed once a day. **If you need real-time data, please use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint**.
768
768
  * @summary List accounts
769
769
  * @param {AccountInformationApiListUserAccountsRequest} requestParameters Request parameters.
770
770
  * @param {*} [options] Override http request option.
@@ -20,7 +20,7 @@ export declare const AuthenticationApiAxiosParamCreator: (configuration?: Config
20
20
  */
21
21
  deleteSnapTradeUser: (userId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
22
22
  /**
23
- * Returns a list of all registered user IDs.
23
+ * Returns a list of all registered user IDs. Please note that the response is not currently paginated.
24
24
  * @summary List all users
25
25
  * @param {*} [options] Override http request option.
26
26
  * @throws {RequiredError}
@@ -37,7 +37,7 @@ export declare const AuthenticationApiAxiosParamCreator: (configuration?: Config
37
37
  */
38
38
  loginSnapTradeUser: (userId: string, userSecret: string, snapTradeLoginUserRequestBody?: SnapTradeLoginUserRequestBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
39
39
  /**
40
- * Registers a new SnapTrade user under your ClientID. A user secret will be automatically generated for you and must be properly stored in your database. Most SnapTrade operations require a user ID and user secret to be passed as a parameter.
40
+ * Registers a new SnapTrade user under your Client ID. A user secret will be automatically generated for you and must be properly stored in your system. Most SnapTrade operations require a user ID and user secret to be passed in as parameters.
41
41
  * @summary Register user
42
42
  * @param {SnapTradeRegisterUserRequestBody} snapTradeRegisterUserRequestBody
43
43
  * @param {*} [options] Override http request option.
@@ -67,7 +67,7 @@ export declare const AuthenticationApiFp: (configuration?: Configuration) => {
67
67
  */
68
68
  deleteSnapTradeUser(requestParameters: AuthenticationApiDeleteSnapTradeUserRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteUserResponse>>;
69
69
  /**
70
- * Returns a list of all registered user IDs.
70
+ * Returns a list of all registered user IDs. Please note that the response is not currently paginated.
71
71
  * @summary List all users
72
72
  * @param {*} [options] Override http request option.
73
73
  * @throws {RequiredError}
@@ -82,7 +82,7 @@ export declare const AuthenticationApiFp: (configuration?: Configuration) => {
82
82
  */
83
83
  loginSnapTradeUser(requestParameters: AuthenticationApiLoginSnapTradeUserRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthenticationLoginSnapTradeUser200Response>>;
84
84
  /**
85
- * Registers a new SnapTrade user under your ClientID. A user secret will be automatically generated for you and must be properly stored in your database. Most SnapTrade operations require a user ID and user secret to be passed as a parameter.
85
+ * Registers a new SnapTrade user under your Client ID. A user secret will be automatically generated for you and must be properly stored in your system. Most SnapTrade operations require a user ID and user secret to be passed in as parameters.
86
86
  * @summary Register user
87
87
  * @param {AuthenticationApiRegisterSnapTradeUserRequest} requestParameters Request parameters.
88
88
  * @param {*} [options] Override http request option.
@@ -112,7 +112,7 @@ export declare const AuthenticationApiFactory: (configuration?: Configuration, b
112
112
  */
113
113
  deleteSnapTradeUser(requestParameters: AuthenticationApiDeleteSnapTradeUserRequest, options?: AxiosRequestConfig): AxiosPromise<DeleteUserResponse>;
114
114
  /**
115
- * Returns a list of all registered user IDs.
115
+ * Returns a list of all registered user IDs. Please note that the response is not currently paginated.
116
116
  * @summary List all users
117
117
  * @param {*} [options] Override http request option.
118
118
  * @throws {RequiredError}
@@ -127,7 +127,7 @@ export declare const AuthenticationApiFactory: (configuration?: Configuration, b
127
127
  */
128
128
  loginSnapTradeUser(requestParameters: AuthenticationApiLoginSnapTradeUserRequest, options?: AxiosRequestConfig): AxiosPromise<AuthenticationLoginSnapTradeUser200Response>;
129
129
  /**
130
- * Registers a new SnapTrade user under your ClientID. A user secret will be automatically generated for you and must be properly stored in your database. Most SnapTrade operations require a user ID and user secret to be passed as a parameter.
130
+ * Registers a new SnapTrade user under your Client ID. A user secret will be automatically generated for you and must be properly stored in your system. Most SnapTrade operations require a user ID and user secret to be passed in as parameters.
131
131
  * @summary Register user
132
132
  * @param {AuthenticationApiRegisterSnapTradeUserRequest} requestParameters Request parameters.
133
133
  * @param {*} [options] Override http request option.
@@ -204,7 +204,7 @@ export declare class AuthenticationApiGenerated extends BaseAPI {
204
204
  */
205
205
  deleteSnapTradeUser(requestParameters: AuthenticationApiDeleteSnapTradeUserRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteUserResponse, any>>;
206
206
  /**
207
- * Returns a list of all registered user IDs.
207
+ * Returns a list of all registered user IDs. Please note that the response is not currently paginated.
208
208
  * @summary List all users
209
209
  * @param {*} [options] Override http request option.
210
210
  * @throws {RequiredError}
@@ -221,7 +221,7 @@ export declare class AuthenticationApiGenerated extends BaseAPI {
221
221
  */
222
222
  loginSnapTradeUser(requestParameters: AuthenticationApiLoginSnapTradeUserRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticationLoginSnapTradeUser200Response, any>>;
223
223
  /**
224
- * Registers a new SnapTrade user under your ClientID. A user secret will be automatically generated for you and must be properly stored in your database. Most SnapTrade operations require a user ID and user secret to be passed as a parameter.
224
+ * Registers a new SnapTrade user under your Client ID. A user secret will be automatically generated for you and must be properly stored in your system. Most SnapTrade operations require a user ID and user secret to be passed in as parameters.
225
225
  * @summary Register user
226
226
  * @param {AuthenticationApiRegisterSnapTradeUserRequest} requestParameters Request parameters.
227
227
  * @param {*} [options] Override http request option.
@@ -81,7 +81,7 @@ const AuthenticationApiAxiosParamCreator = function (configuration) {
81
81
  };
82
82
  }),
83
83
  /**
84
- * Returns a list of all registered user IDs.
84
+ * Returns a list of all registered user IDs. Please note that the response is not currently paginated.
85
85
  * @summary List all users
86
86
  * @param {*} [options] Override http request option.
87
87
  * @throws {RequiredError}
@@ -175,7 +175,7 @@ const AuthenticationApiAxiosParamCreator = function (configuration) {
175
175
  };
176
176
  }),
177
177
  /**
178
- * Registers a new SnapTrade user under your ClientID. A user secret will be automatically generated for you and must be properly stored in your database. Most SnapTrade operations require a user ID and user secret to be passed as a parameter.
178
+ * Registers a new SnapTrade user under your Client ID. A user secret will be automatically generated for you and must be properly stored in your system. Most SnapTrade operations require a user ID and user secret to be passed in as parameters.
179
179
  * @summary Register user
180
180
  * @param {SnapTradeRegisterUserRequestBody} snapTradeRegisterUserRequestBody
181
181
  * @param {*} [options] Override http request option.
@@ -288,7 +288,7 @@ const AuthenticationApiFp = function (configuration) {
288
288
  });
289
289
  },
290
290
  /**
291
- * Returns a list of all registered user IDs.
291
+ * Returns a list of all registered user IDs. Please note that the response is not currently paginated.
292
292
  * @summary List all users
293
293
  * @param {*} [options] Override http request option.
294
294
  * @throws {RequiredError}
@@ -321,7 +321,7 @@ const AuthenticationApiFp = function (configuration) {
321
321
  });
322
322
  },
323
323
  /**
324
- * Registers a new SnapTrade user under your ClientID. A user secret will be automatically generated for you and must be properly stored in your database. Most SnapTrade operations require a user ID and user secret to be passed as a parameter.
324
+ * Registers a new SnapTrade user under your Client ID. A user secret will be automatically generated for you and must be properly stored in your system. Most SnapTrade operations require a user ID and user secret to be passed in as parameters.
325
325
  * @summary Register user
326
326
  * @param {AuthenticationApiRegisterSnapTradeUserRequest} requestParameters Request parameters.
327
327
  * @param {*} [options] Override http request option.
@@ -374,7 +374,7 @@ const AuthenticationApiFactory = function (configuration, basePath, axios) {
374
374
  return localVarFp.deleteSnapTradeUser(requestParameters, options).then((request) => request(axios, basePath));
375
375
  },
376
376
  /**
377
- * Returns a list of all registered user IDs.
377
+ * Returns a list of all registered user IDs. Please note that the response is not currently paginated.
378
378
  * @summary List all users
379
379
  * @param {*} [options] Override http request option.
380
380
  * @throws {RequiredError}
@@ -393,7 +393,7 @@ const AuthenticationApiFactory = function (configuration, basePath, axios) {
393
393
  return localVarFp.loginSnapTradeUser(requestParameters, options).then((request) => request(axios, basePath));
394
394
  },
395
395
  /**
396
- * Registers a new SnapTrade user under your ClientID. A user secret will be automatically generated for you and must be properly stored in your database. Most SnapTrade operations require a user ID and user secret to be passed as a parameter.
396
+ * Registers a new SnapTrade user under your Client ID. A user secret will be automatically generated for you and must be properly stored in your system. Most SnapTrade operations require a user ID and user secret to be passed in as parameters.
397
397
  * @summary Register user
398
398
  * @param {AuthenticationApiRegisterSnapTradeUserRequest} requestParameters Request parameters.
399
399
  * @param {*} [options] Override http request option.
@@ -434,7 +434,7 @@ class AuthenticationApiGenerated extends base_1.BaseAPI {
434
434
  return (0, exports.AuthenticationApiFp)(this.configuration).deleteSnapTradeUser(requestParameters, options).then((request) => request(this.axios, this.basePath));
435
435
  }
436
436
  /**
437
- * Returns a list of all registered user IDs.
437
+ * Returns a list of all registered user IDs. Please note that the response is not currently paginated.
438
438
  * @summary List all users
439
439
  * @param {*} [options] Override http request option.
440
440
  * @throws {RequiredError}
@@ -455,7 +455,7 @@ class AuthenticationApiGenerated extends base_1.BaseAPI {
455
455
  return (0, exports.AuthenticationApiFp)(this.configuration).loginSnapTradeUser(requestParameters, options).then((request) => request(this.axios, this.basePath));
456
456
  }
457
457
  /**
458
- * Registers a new SnapTrade user under your ClientID. A user secret will be automatically generated for you and must be properly stored in your database. Most SnapTrade operations require a user ID and user secret to be passed as a parameter.
458
+ * Registers a new SnapTrade user under your Client ID. A user secret will be automatically generated for you and must be properly stored in your system. Most SnapTrade operations require a user ID and user secret to be passed in as parameters.
459
459
  * @summary Register user
460
460
  * @param {AuthenticationApiRegisterSnapTradeUserRequest} requestParameters Request parameters.
461
461
  * @param {*} [options] Override http request option.