snaptrade-typescript-sdk 9.0.39 → 9.0.41

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.
Files changed (30) hide show
  1. package/README.md +79 -63
  2. package/dist/api/authentication-api-generated.d.ts +8 -8
  3. package/dist/api/authentication-api-generated.js +8 -8
  4. package/dist/api/connections-api-generated.d.ts +8 -8
  5. package/dist/api/connections-api-generated.js +8 -8
  6. package/dist/api/trading-api-generated.d.ts +47 -47
  7. package/dist/api/trading-api-generated.js +46 -46
  8. package/dist/browser.js +1 -1
  9. package/dist/configuration.js +1 -1
  10. package/dist/models/action-strict.d.ts +1 -1
  11. package/dist/models/brokerage-authorization.d.ts +1 -1
  12. package/dist/models/index.d.ts +1 -0
  13. package/dist/models/index.js +1 -0
  14. package/dist/models/manual-trade-and-impact.d.ts +5 -4
  15. package/dist/models/manual-trade-balance.d.ts +5 -5
  16. package/dist/models/manual-trade-form.d.ts +21 -21
  17. package/dist/models/manual-trade-impact.d.ts +38 -0
  18. package/dist/models/manual-trade-impact.js +2 -0
  19. package/dist/models/manual-trade-symbol.d.ts +10 -6
  20. package/dist/models/manual-trade.d.ts +9 -8
  21. package/dist/models/notional-value.d.ts +1 -1
  22. package/dist/models/options-place-option-strategy-request.d.ts +2 -2
  23. package/dist/models/order-type-strict.d.ts +1 -1
  24. package/dist/models/snap-trade-login-user-request-body.d.ts +3 -3
  25. package/dist/models/symbols-quotes-inner.d.ts +8 -8
  26. package/dist/models/time-in-force-strict.d.ts +1 -1
  27. package/dist/models/trading-cancel-user-account-order-request.d.ts +1 -1
  28. package/dist/models/validated-trade-body.d.ts +2 -2
  29. package/dist/operationParameterMap.js +20 -20
  30. package/package.json +1 -1
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.39-blue)](https://www.npmjs.com/package/snaptrade-typescript-sdk/v/9.0.39)
9
+ [![npm](https://img.shields.io/badge/npm-v9.0.41-blue)](https://www.npmjs.com/package/snaptrade-typescript-sdk/v/9.0.41)
10
10
  [![More Info](https://img.shields.io/badge/More%20Info-Click%20Here-orange)](https://snaptrade.com/)
11
11
 
12
12
  </div>
@@ -574,7 +574,10 @@ const listSnapTradeUsersResponse =
574
574
 
575
575
  ### `snaptrade.authentication.loginSnapTradeUser`<a id="snaptradeauthenticationloginsnaptradeuser"></a>
576
576
 
577
- Logs in a SnapTrade user and returns an authenticated connection portal URL for them to use to connect a brokerage account.
577
+ Authenticates a SnapTrade user and returns the Connection Portal URL used for connecting brokerage accounts. Please check [this guide](/docs/implement-connection-portal) for how to integrate the Connection Portal into your app.
578
+
579
+ Please note that the returned URL expires in 5 minutes.
580
+
578
581
 
579
582
  #### 🛠️ Usage<a id="🛠️-usage"></a>
580
583
 
@@ -604,15 +607,15 @@ Slug of the brokerage to connect the user to. See [the integrations page](https:
604
607
 
605
608
  ##### immediateRedirect: `boolean`<a id="immediateredirect-boolean"></a>
606
609
 
607
- When set to `true`, user will be redirected back to the partner\\\'s site instead of the connection portal. This parameter is ignored if the connection portal is loaded inside an iframe. See the [guide on ways to integrate the connection portal](https://docs.snaptrade.com/docs/implement-connection-portal) for more information.
610
+ When set to `true`, user will be redirected back to the partner\\\'s site instead of the connection portal. This parameter is ignored if the connection portal is loaded inside an iframe. See the [guide on ways to integrate the connection portal](/docs/implement-connection-portal) for more information.
608
611
 
609
612
  ##### customRedirect: `string`<a id="customredirect-string"></a>
610
613
 
611
- URL to redirect the user to after the user connects their brokerage account. This parameter is ignored if the connection portal is loaded inside an iframe. See the [guide on ways to integrate the connection portal](https://docs.snaptrade.com/docs/implement-connection-portal) for more information.
614
+ URL to redirect the user to after the user connects their brokerage account. This parameter is ignored if the connection portal is loaded inside an iframe. See the [guide on ways to integrate the connection portal](/docs/implement-connection-portal) for more information.
612
615
 
613
616
  ##### reconnect: `string`<a id="reconnect-string"></a>
614
617
 
615
- The UUID of the brokerage connection to be reconnected. This parameter should be left empty unless you are reconnecting a disabled connection. See the [guide on fixing broken connections](https://docs.snaptrade.com/docs/fix-broken-connections) for more information.
618
+ The UUID of the brokerage connection to be reconnected. This parameter should be left empty unless you are reconnecting a disabled connection. See the [guide on fixing broken connections](/docs/fix-broken-connections) for more information.
616
619
 
617
620
  ##### connectionType: `string`<a id="connectiontype-string"></a>
618
621
 
@@ -746,7 +749,7 @@ const detailBrokerageAuthorizationResponse =
746
749
  ### `snaptrade.connections.disableBrokerageAuthorization`<a id="snaptradeconnectionsdisablebrokerageauthorization"></a>
747
750
 
748
751
  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.
752
+ Will trigger a disconnect as if it happened naturally, and send a [`CONNECTION_BROKEN` webhook](/docs/webhooks#webhooks-connection_broken) for the connection.
750
753
 
751
754
  *Please contact us in order to use this endpoint as it is disabled by default.*
752
755
 
@@ -823,7 +826,7 @@ const listBrokerageAuthorizationsResponse =
823
826
 
824
827
  ### `snaptrade.connections.refreshBrokerageAuthorization`<a id="snaptradeconnectionsrefreshbrokerageauthorization"></a>
825
828
 
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.
829
+ Trigger a holdings update for all accounts under this connection. Updates will be queued asynchronously. [`ACCOUNT_HOLDINGS_UPDATED` webhook](/docs/webhooks#webhooks-account_holdings_updated) will be sent once the sync completes for each account under the connection.
827
830
 
828
831
  *Please contact support for access as this endpoint is not enabled by default.*
829
832
 
@@ -1123,7 +1126,7 @@ const placeOptionStrategyResponse = await snaptrade.options.placeOptionStrategy(
1123
1126
  userSecret: "adf2aa34-8219-40f7-a6b3-60156985cc61",
1124
1127
  accountId: "2bcd7cc3-e922-4976-bce1-9858296801c3",
1125
1128
  optionStrategyId: "2bcd7cc3-e922-4976-bce1-9858296801c3",
1126
- order_type: "Limit",
1129
+ order_type: "Market",
1127
1130
  time_in_force: "FOK",
1128
1131
  price: 31.33,
1129
1132
  }
@@ -1134,11 +1137,11 @@ const placeOptionStrategyResponse = await snaptrade.options.placeOptionStrategy(
1134
1137
 
1135
1138
  ##### order_type: [`OrderTypeStrict`](./models/order-type-strict.ts)<a id="order_type-ordertypestrictmodelsorder-type-strictts"></a>
1136
1139
 
1137
- Order Type
1140
+ The type of order to place. - For `Limit` and `StopLimit` orders, the `price` field is required. - For `Stop` and `StopLimit` orders, the `stop` field is required.
1138
1141
 
1139
1142
  ##### time_in_force: [`TimeInForceStrict`](./models/time-in-force-strict.ts)<a id="time_in_force-timeinforcestrictmodelstime-in-force-strictts"></a>
1140
1143
 
1141
- Trade time in force examples: * FOK - Fill Or Kill * Day - Day * GTC - Good Til Canceled
1144
+ The Time in Force type for the order. This field indicates how long the order will remain active before it is executed or expires. Here are the supported values: - `Day` - Day. The order is valid only for the trading day on which it is placed. - `GTC` - Good Til Canceled. The order is valid until it is executed or canceled. - `FOK` - Fill Or Kill. The order must be executed in its entirety immediately or be canceled completely.
1142
1145
 
1143
1146
  ##### userId: `string`<a id="userid-string"></a>
1144
1147
 
@@ -1486,8 +1489,7 @@ The ID of the account to search for symbols within.
1486
1489
 
1487
1490
  ### `snaptrade.trading.cancelUserAccountOrder`<a id="snaptradetradingcanceluseraccountorder"></a>
1488
1491
 
1489
- Sends a signal to the brokerage to cancel the specified order.
1490
- This will only work if the order has not yet been executed.
1492
+ Attempts to cancel an open order with the brokerage. If the order is no longer cancellable, the request will be rejected.
1491
1493
 
1492
1494
 
1493
1495
  #### 🛠️ Usage<a id="🛠️-usage"></a>
@@ -1498,7 +1500,7 @@ const cancelUserAccountOrderResponse =
1498
1500
  userId: "snaptrade-user-123",
1499
1501
  userSecret: "adf2aa34-8219-40f7-a6b3-60156985cc61",
1500
1502
  accountId: "917c8734-8470-4a3e-a18f-57c3f2ee6631",
1501
- brokerage_order_id: "2bcd7cc3-e922-4976-bce1-9858296801c3",
1503
+ brokerage_order_id: "66a033fa-da74-4fcf-b527-feefdec9257e",
1502
1504
  });
1503
1505
  ```
1504
1506
 
@@ -1510,10 +1512,10 @@ const cancelUserAccountOrderResponse =
1510
1512
 
1511
1513
  ##### accountId: `string`<a id="accountid-string"></a>
1512
1514
 
1513
- The ID of the account to cancel the order in.
1514
-
1515
1515
  ##### brokerage_order_id: `string`<a id="brokerage_order_id-string"></a>
1516
1516
 
1517
+ Order ID returned by brokerage. This is the unique identifier for the order in the brokerage system.
1518
+
1517
1519
  #### 🔄 Return<a id="🔄-return"></a>
1518
1520
 
1519
1521
  [AccountOrderRecord](./models/account-order-record.ts)
@@ -1529,7 +1531,7 @@ The ID of the account to cancel the order in.
1529
1531
 
1530
1532
  ### `snaptrade.trading.getOrderImpact`<a id="snaptradetradinggetorderimpact"></a>
1531
1533
 
1532
- Return the trade object and it's impact on the account for the specified order.
1534
+ Simulates an order and its impact on the account. This endpoint does not place the order with the brokerage. If successful, it returns a `Trade` object and the ID of the object can be used to place the order with the brokerage using the [place checked order endpoint](/reference/Trading/Trading_placeOrder). Please note that the `Trade` object returned expires after 5 minutes. Any order placed using an expired `Trade` will be rejected.
1533
1535
 
1534
1536
  #### 🛠️ Usage<a id="🛠️-usage"></a>
1535
1537
 
@@ -1537,47 +1539,52 @@ Return the trade object and it's impact on the account for the specified order.
1537
1539
  const getOrderImpactResponse = await snaptrade.trading.getOrderImpact({
1538
1540
  userId: "snaptrade-user-123",
1539
1541
  userSecret: "adf2aa34-8219-40f7-a6b3-60156985cc61",
1540
- account_id: "2bcd7cc3-e922-4976-bce1-9858296801c3",
1542
+ account_id: "917c8734-8470-4a3e-a18f-57c3f2ee6631",
1541
1543
  action: "BUY",
1542
- order_type: "Limit",
1544
+ universal_symbol_id: "2bcd7cc3-e922-4976-bce1-9858296801c3",
1545
+ order_type: "Market",
1546
+ time_in_force: "FOK",
1543
1547
  price: 31.33,
1544
1548
  stop: 31.33,
1545
- time_in_force: "FOK",
1546
- universal_symbol_id: "2bcd7cc3-e922-4976-bce1-9858296801c3",
1549
+ units: 10.5,
1547
1550
  });
1548
1551
  ```
1549
1552
 
1550
1553
  #### ⚙️ Parameters<a id="⚙️-parameters"></a>
1551
1554
 
1552
- ##### userId: `string`<a id="userid-string"></a>
1553
-
1554
- ##### userSecret: `string`<a id="usersecret-string"></a>
1555
-
1556
1555
  ##### account_id: `string`<a id="account_id-string"></a>
1557
1556
 
1557
+ Unique identifier for the connected brokerage account. This is the UUID used to reference the account in SnapTrade.
1558
+
1558
1559
  ##### action: [`ActionStrict`](./models/action-strict.ts)<a id="action-actionstrictmodelsaction-strictts"></a>
1559
1560
 
1560
- Trade Action
1561
+ The action describes the intent or side of a trade. This is either `BUY` or `SELL`
1562
+
1563
+ ##### universal_symbol_id: `string`<a id="universal_symbol_id-string"></a>
1564
+
1565
+ Unique identifier for the symbol within SnapTrade. This is the ID used to reference the symbol in SnapTrade API calls.
1561
1566
 
1562
1567
  ##### order_type: [`OrderTypeStrict`](./models/order-type-strict.ts)<a id="order_type-ordertypestrictmodelsorder-type-strictts"></a>
1563
1568
 
1564
- Order Type
1569
+ The type of order to place. - For `Limit` and `StopLimit` orders, the `price` field is required. - For `Stop` and `StopLimit` orders, the `stop` field is required.
1565
1570
 
1566
- ##### price: `number`<a id="price-number"></a>
1571
+ ##### time_in_force: [`TimeInForceStrict`](./models/time-in-force-strict.ts)<a id="time_in_force-timeinforcestrictmodelstime-in-force-strictts"></a>
1567
1572
 
1568
- Trade Price if limit or stop limit order
1573
+ The Time in Force type for the order. This field indicates how long the order will remain active before it is executed or expires. Here are the supported values: - `Day` - Day. The order is valid only for the trading day on which it is placed. - `GTC` - Good Til Canceled. The order is valid until it is executed or canceled. - `FOK` - Fill Or Kill. The order must be executed in its entirety immediately or be canceled completely.
1569
1574
 
1570
- ##### stop: `number`<a id="stop-number"></a>
1575
+ ##### userId: `string`<a id="userid-string"></a>
1571
1576
 
1572
- Stop Price. If stop loss or stop limit order, the price to trigger the stop
1577
+ ##### userSecret: `string`<a id="usersecret-string"></a>
1573
1578
 
1574
- ##### time_in_force: [`TimeInForceStrict`](./models/time-in-force-strict.ts)<a id="time_in_force-timeinforcestrictmodelstime-in-force-strictts"></a>
1579
+ ##### price: `number`<a id="price-number"></a>
1575
1580
 
1576
- Trade time in force examples: * FOK - Fill Or Kill * Day - Day * GTC - Good Til Canceled
1581
+ The limit price for `Limit` and `StopLimit` orders.
1577
1582
 
1578
- ##### units: [`number`](./models/number.ts)<a id="units-numbermodelsnumberts"></a>
1583
+ ##### stop: `number`<a id="stop-number"></a>
1579
1584
 
1580
- ##### universal_symbol_id: `string`<a id="universal_symbol_id-string"></a>
1585
+ The price at which a stop order is triggered for `Stop` and `StopLimit` orders.
1586
+
1587
+ ##### units: [`number`](./models/number.ts)<a id="units-numbermodelsnumberts"></a>
1581
1588
 
1582
1589
  ##### notional_value: [`ManualTradeFormNotionalValue`](./models/manual-trade-form-notional-value.ts)<a id="notional_value-manualtradeformnotionalvaluemodelsmanual-trade-form-notional-valuets"></a>
1583
1590
 
@@ -1596,7 +1603,7 @@ Trade time in force examples: * FOK - Fill Or Kill * Day - Day * GTC - Goo
1596
1603
 
1597
1604
  ### `snaptrade.trading.getUserAccountQuotes`<a id="snaptradetradinggetuseraccountquotes"></a>
1598
1605
 
1599
- Returns quote(s) from the brokerage for the specified symbol(s).
1606
+ Returns quotes from the brokerage for the specified symbols and account. The quotes returned can be delayed depending on the brokerage the account belongs to. It is highly recommended that you use your own market data provider for real-time quotes instead of relying on this endpoint. This endpoint does not work for options quotes.
1600
1607
 
1601
1608
  #### 🛠️ Usage<a id="🛠️-usage"></a>
1602
1609
 
@@ -1618,15 +1625,13 @@ const getUserAccountQuotesResponse =
1618
1625
 
1619
1626
  ##### symbols: `string`<a id="symbols-string"></a>
1620
1627
 
1621
- List of universal_symbol_id or tickers to get quotes for.
1628
+ List of Universal Symbol IDs or tickers to get quotes for.
1622
1629
 
1623
1630
  ##### accountId: `string`<a id="accountid-string"></a>
1624
1631
 
1625
- The ID of the account to get quotes.
1626
-
1627
1632
  ##### useTicker: `boolean`<a id="useticker-boolean"></a>
1628
1633
 
1629
- Should be set to True if providing tickers.
1634
+ Should be set to `True` if `symbols` are comprised of tickers. Defaults to `False` if not provided.
1630
1635
 
1631
1636
  #### 🔄 Return<a id="🔄-return"></a>
1632
1637
 
@@ -1643,7 +1648,12 @@ Should be set to True if providing tickers.
1643
1648
 
1644
1649
  ### `snaptrade.trading.placeForceOrder`<a id="snaptradetradingplaceforceorder"></a>
1645
1650
 
1646
- Places a specified trade in the specified account.
1651
+ Places a brokerage order in the specified account. The order could be rejected by the brokerage if it is invalid or if the account does not have sufficient funds.
1652
+
1653
+ This endpoint does not compute the impact to the account balance from the order and any potential commissions before submitting the order to the brokerage. If that is desired, you can use the [check order impact endpoint](/reference/Trading/Trading_getOrderImpact).
1654
+
1655
+ It's recommended to trigger a manual refresh of the account after placing an order to ensure the account is up to date. You can use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint for this.
1656
+
1647
1657
 
1648
1658
  #### 🛠️ Usage<a id="🛠️-usage"></a>
1649
1659
 
@@ -1651,47 +1661,52 @@ Places a specified trade in the specified account.
1651
1661
  const placeForceOrderResponse = await snaptrade.trading.placeForceOrder({
1652
1662
  userId: "snaptrade-user-123",
1653
1663
  userSecret: "adf2aa34-8219-40f7-a6b3-60156985cc61",
1654
- account_id: "2bcd7cc3-e922-4976-bce1-9858296801c3",
1664
+ account_id: "917c8734-8470-4a3e-a18f-57c3f2ee6631",
1655
1665
  action: "BUY",
1656
- order_type: "Limit",
1666
+ universal_symbol_id: "2bcd7cc3-e922-4976-bce1-9858296801c3",
1667
+ order_type: "Market",
1668
+ time_in_force: "FOK",
1657
1669
  price: 31.33,
1658
1670
  stop: 31.33,
1659
- time_in_force: "FOK",
1660
- universal_symbol_id: "2bcd7cc3-e922-4976-bce1-9858296801c3",
1671
+ units: 10.5,
1661
1672
  });
1662
1673
  ```
1663
1674
 
1664
1675
  #### ⚙️ Parameters<a id="⚙️-parameters"></a>
1665
1676
 
1666
- ##### userId: `string`<a id="userid-string"></a>
1667
-
1668
- ##### userSecret: `string`<a id="usersecret-string"></a>
1669
-
1670
1677
  ##### account_id: `string`<a id="account_id-string"></a>
1671
1678
 
1679
+ Unique identifier for the connected brokerage account. This is the UUID used to reference the account in SnapTrade.
1680
+
1672
1681
  ##### action: [`ActionStrict`](./models/action-strict.ts)<a id="action-actionstrictmodelsaction-strictts"></a>
1673
1682
 
1674
- Trade Action
1683
+ The action describes the intent or side of a trade. This is either `BUY` or `SELL`
1684
+
1685
+ ##### universal_symbol_id: `string`<a id="universal_symbol_id-string"></a>
1686
+
1687
+ Unique identifier for the symbol within SnapTrade. This is the ID used to reference the symbol in SnapTrade API calls.
1675
1688
 
1676
1689
  ##### order_type: [`OrderTypeStrict`](./models/order-type-strict.ts)<a id="order_type-ordertypestrictmodelsorder-type-strictts"></a>
1677
1690
 
1678
- Order Type
1691
+ The type of order to place. - For `Limit` and `StopLimit` orders, the `price` field is required. - For `Stop` and `StopLimit` orders, the `stop` field is required.
1679
1692
 
1680
- ##### price: `number`<a id="price-number"></a>
1693
+ ##### time_in_force: [`TimeInForceStrict`](./models/time-in-force-strict.ts)<a id="time_in_force-timeinforcestrictmodelstime-in-force-strictts"></a>
1681
1694
 
1682
- Trade Price if limit or stop limit order
1695
+ The Time in Force type for the order. This field indicates how long the order will remain active before it is executed or expires. Here are the supported values: - `Day` - Day. The order is valid only for the trading day on which it is placed. - `GTC` - Good Til Canceled. The order is valid until it is executed or canceled. - `FOK` - Fill Or Kill. The order must be executed in its entirety immediately or be canceled completely.
1683
1696
 
1684
- ##### stop: `number`<a id="stop-number"></a>
1697
+ ##### userId: `string`<a id="userid-string"></a>
1685
1698
 
1686
- Stop Price. If stop loss or stop limit order, the price to trigger the stop
1699
+ ##### userSecret: `string`<a id="usersecret-string"></a>
1687
1700
 
1688
- ##### time_in_force: [`TimeInForceStrict`](./models/time-in-force-strict.ts)<a id="time_in_force-timeinforcestrictmodelstime-in-force-strictts"></a>
1701
+ ##### price: `number`<a id="price-number"></a>
1689
1702
 
1690
- Trade time in force examples: * FOK - Fill Or Kill * Day - Day * GTC - Good Til Canceled
1703
+ The limit price for `Limit` and `StopLimit` orders.
1691
1704
 
1692
- ##### units: [`number`](./models/number.ts)<a id="units-numbermodelsnumberts"></a>
1705
+ ##### stop: `number`<a id="stop-number"></a>
1693
1706
 
1694
- ##### universal_symbol_id: `string`<a id="universal_symbol_id-string"></a>
1707
+ The price at which a stop order is triggered for `Stop` and `StopLimit` orders.
1708
+
1709
+ ##### units: [`number`](./models/number.ts)<a id="units-numbermodelsnumberts"></a>
1695
1710
 
1696
1711
  ##### notional_value: [`ManualTradeFormNotionalValue`](./models/manual-trade-form-notional-value.ts)<a id="notional_value-manualtradeformnotionalvaluemodelsmanual-trade-form-notional-valuets"></a>
1697
1712
 
@@ -1710,15 +1725,16 @@ Trade time in force examples: * FOK - Fill Or Kill * Day - Day * GTC - Goo
1710
1725
 
1711
1726
  ### `snaptrade.trading.placeOrder`<a id="snaptradetradingplaceorder"></a>
1712
1727
 
1713
- Places the specified trade object. This places the order in the account and
1714
- returns the status of the order from the brokerage.
1728
+ Places the previously checked order with the brokerage. The `tradeId` is obtained from the [check order impact endpoint](/reference/Trading/Trading_getOrderImpact). If you prefer to place the order without checking for impact first, you can use the [place order endpoint](/reference/Trading/Trading_placeForceOrder).
1729
+
1730
+ It's recommended to trigger a manual refresh of the account after placing an order to ensure the account is up to date. You can use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint for this.
1715
1731
 
1716
1732
 
1717
1733
  #### 🛠️ Usage<a id="🛠️-usage"></a>
1718
1734
 
1719
1735
  ```typescript
1720
1736
  const placeOrderResponse = await snaptrade.trading.placeOrder({
1721
- tradeId: "tradeId_example",
1737
+ tradeId: "139e307a-82f7-4402-b39e-4da7baa87758",
1722
1738
  userId: "snaptrade-user-123",
1723
1739
  userSecret: "adf2aa34-8219-40f7-a6b3-60156985cc61",
1724
1740
  wait_to_confirm: true,
@@ -1729,7 +1745,7 @@ const placeOrderResponse = await snaptrade.trading.placeOrder({
1729
1745
 
1730
1746
  ##### tradeId: `string`<a id="tradeid-string"></a>
1731
1747
 
1732
- The ID of trade object obtained from trade/impact endpoint
1748
+ Obtained from calling the [check order impact endpoint](/reference/Trading/Trading_getOrderImpact)
1733
1749
 
1734
1750
  ##### userId: `string`<a id="userid-string"></a>
1735
1751
 
@@ -1737,7 +1753,7 @@ The ID of trade object obtained from trade/impact endpoint
1737
1753
 
1738
1754
  ##### wait_to_confirm: `boolean`<a id="wait_to_confirm-boolean"></a>
1739
1755
 
1740
- Optional, defaults to true. Determines if a wait is performed to check on order status. If false, latency will be reduced but orders returned will be more likely to be of status PENDING as we will not wait to check on the status before responding to the request
1756
+ Optional, defaults to true. Determines if a wait is performed to check on order status. If false, latency will be reduced but orders returned will be more likely to be of status `PENDING` as we will not wait to check on the status before responding to the request.
1741
1757
 
1742
1758
  #### 🔄 Return<a id="🔄-return"></a>
1743
1759
 
@@ -27,8 +27,8 @@ export declare const AuthenticationApiAxiosParamCreator: (configuration?: Config
27
27
  */
28
28
  listSnapTradeUsers: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
29
29
  /**
30
- * Logs in a SnapTrade user and returns an authenticated connection portal URL for them to use to connect a brokerage account.
31
- * @summary Login user & generate connection link
30
+ * Authenticates a SnapTrade user and returns the Connection Portal URL used for connecting brokerage accounts. Please check [this guide](/docs/implement-connection-portal) for how to integrate the Connection Portal into your app. Please note that the returned URL expires in 5 minutes.
31
+ * @summary Generate Connection Portal URL
32
32
  * @param {string} userId
33
33
  * @param {string} userSecret
34
34
  * @param {SnapTradeLoginUserRequestBody} [snapTradeLoginUserRequestBody]
@@ -74,8 +74,8 @@ export declare const AuthenticationApiFp: (configuration?: Configuration) => {
74
74
  */
75
75
  listSnapTradeUsers(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<string>>>;
76
76
  /**
77
- * Logs in a SnapTrade user and returns an authenticated connection portal URL for them to use to connect a brokerage account.
78
- * @summary Login user & generate connection link
77
+ * Authenticates a SnapTrade user and returns the Connection Portal URL used for connecting brokerage accounts. Please check [this guide](/docs/implement-connection-portal) for how to integrate the Connection Portal into your app. Please note that the returned URL expires in 5 minutes.
78
+ * @summary Generate Connection Portal URL
79
79
  * @param {AuthenticationApiLoginSnapTradeUserRequest} requestParameters Request parameters.
80
80
  * @param {*} [options] Override http request option.
81
81
  * @throws {RequiredError}
@@ -119,8 +119,8 @@ export declare const AuthenticationApiFactory: (configuration?: Configuration, b
119
119
  */
120
120
  listSnapTradeUsers(options?: AxiosRequestConfig): AxiosPromise<Array<string>>;
121
121
  /**
122
- * Logs in a SnapTrade user and returns an authenticated connection portal URL for them to use to connect a brokerage account.
123
- * @summary Login user & generate connection link
122
+ * Authenticates a SnapTrade user and returns the Connection Portal URL used for connecting brokerage accounts. Please check [this guide](/docs/implement-connection-portal) for how to integrate the Connection Portal into your app. Please note that the returned URL expires in 5 minutes.
123
+ * @summary Generate Connection Portal URL
124
124
  * @param {AuthenticationApiLoginSnapTradeUserRequest} requestParameters Request parameters.
125
125
  * @param {*} [options] Override http request option.
126
126
  * @throws {RequiredError}
@@ -212,8 +212,8 @@ export declare class AuthenticationApiGenerated extends BaseAPI {
212
212
  */
213
213
  listSnapTradeUsers(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<string[], any>>;
214
214
  /**
215
- * Logs in a SnapTrade user and returns an authenticated connection portal URL for them to use to connect a brokerage account.
216
- * @summary Login user & generate connection link
215
+ * Authenticates a SnapTrade user and returns the Connection Portal URL used for connecting brokerage accounts. Please check [this guide](/docs/implement-connection-portal) for how to integrate the Connection Portal into your app. Please note that the returned URL expires in 5 minutes.
216
+ * @summary Generate Connection Portal URL
217
217
  * @param {AuthenticationApiLoginSnapTradeUserRequest} requestParameters Request parameters.
218
218
  * @param {*} [options] Override http request option.
219
219
  * @throws {RequiredError}
@@ -120,8 +120,8 @@ const AuthenticationApiAxiosParamCreator = function (configuration) {
120
120
  };
121
121
  }),
122
122
  /**
123
- * Logs in a SnapTrade user and returns an authenticated connection portal URL for them to use to connect a brokerage account.
124
- * @summary Login user & generate connection link
123
+ * Authenticates a SnapTrade user and returns the Connection Portal URL used for connecting brokerage accounts. Please check [this guide](/docs/implement-connection-portal) for how to integrate the Connection Portal into your app. Please note that the returned URL expires in 5 minutes.
124
+ * @summary Generate Connection Portal URL
125
125
  * @param {string} userId
126
126
  * @param {string} userSecret
127
127
  * @param {SnapTradeLoginUserRequestBody} [snapTradeLoginUserRequestBody]
@@ -300,8 +300,8 @@ const AuthenticationApiFp = function (configuration) {
300
300
  });
301
301
  },
302
302
  /**
303
- * Logs in a SnapTrade user and returns an authenticated connection portal URL for them to use to connect a brokerage account.
304
- * @summary Login user & generate connection link
303
+ * Authenticates a SnapTrade user and returns the Connection Portal URL used for connecting brokerage accounts. Please check [this guide](/docs/implement-connection-portal) for how to integrate the Connection Portal into your app. Please note that the returned URL expires in 5 minutes.
304
+ * @summary Generate Connection Portal URL
305
305
  * @param {AuthenticationApiLoginSnapTradeUserRequest} requestParameters Request parameters.
306
306
  * @param {*} [options] Override http request option.
307
307
  * @throws {RequiredError}
@@ -383,8 +383,8 @@ const AuthenticationApiFactory = function (configuration, basePath, axios) {
383
383
  return localVarFp.listSnapTradeUsers(options).then((request) => request(axios, basePath));
384
384
  },
385
385
  /**
386
- * Logs in a SnapTrade user and returns an authenticated connection portal URL for them to use to connect a brokerage account.
387
- * @summary Login user & generate connection link
386
+ * Authenticates a SnapTrade user and returns the Connection Portal URL used for connecting brokerage accounts. Please check [this guide](/docs/implement-connection-portal) for how to integrate the Connection Portal into your app. Please note that the returned URL expires in 5 minutes.
387
+ * @summary Generate Connection Portal URL
388
388
  * @param {AuthenticationApiLoginSnapTradeUserRequest} requestParameters Request parameters.
389
389
  * @param {*} [options] Override http request option.
390
390
  * @throws {RequiredError}
@@ -444,8 +444,8 @@ class AuthenticationApiGenerated extends base_1.BaseAPI {
444
444
  return (0, exports.AuthenticationApiFp)(this.configuration).listSnapTradeUsers(options).then((request) => request(this.axios, this.basePath));
445
445
  }
446
446
  /**
447
- * Logs in a SnapTrade user and returns an authenticated connection portal URL for them to use to connect a brokerage account.
448
- * @summary Login user & generate connection link
447
+ * Authenticates a SnapTrade user and returns the Connection Portal URL used for connecting brokerage accounts. Please check [this guide](/docs/implement-connection-portal) for how to integrate the Connection Portal into your app. Please note that the returned URL expires in 5 minutes.
448
+ * @summary Generate Connection Portal URL
449
449
  * @param {AuthenticationApiLoginSnapTradeUserRequest} requestParameters Request parameters.
450
450
  * @param {*} [options] Override http request option.
451
451
  * @throws {RequiredError}
@@ -21,7 +21,7 @@ export declare const ConnectionsApiAxiosParamCreator: (configuration?: Configura
21
21
  */
22
22
  detailBrokerageAuthorization: (authorizationId: string, userId: string, userSecret: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
23
23
  /**
24
- * Manually force the specified connection to become disabled. 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](https://docs.snaptrade.com/docs/webhooks#webhooks-connection_broken) for the connection. *Please contact us in order to use this endpoint as it is disabled by default.*
24
+ * Manually force the specified connection to become disabled. 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](/docs/webhooks#webhooks-connection_broken) for the connection. *Please contact us in order to use this endpoint as it is disabled by default.*
25
25
  * @summary Force disable connection
26
26
  * @param {string} authorizationId
27
27
  * @param {string} userId
@@ -40,7 +40,7 @@ export declare const ConnectionsApiAxiosParamCreator: (configuration?: Configura
40
40
  */
41
41
  listBrokerageAuthorizations: (userId: string, userSecret: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
42
42
  /**
43
- * 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. *Please contact support for access as this endpoint is not enabled by default.*
43
+ * Trigger a holdings update for all accounts under this connection. Updates will be queued asynchronously. [`ACCOUNT_HOLDINGS_UPDATED` webhook](/docs/webhooks#webhooks-account_holdings_updated) will be sent once the sync completes for each account under the connection. *Please contact support for access as this endpoint is not enabled by default.*
44
44
  * @summary Refresh holdings for a connection
45
45
  * @param {string} authorizationId
46
46
  * @param {string} userId
@@ -84,7 +84,7 @@ export declare const ConnectionsApiFp: (configuration?: Configuration) => {
84
84
  */
85
85
  detailBrokerageAuthorization(requestParameters: ConnectionsApiDetailBrokerageAuthorizationRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BrokerageAuthorization>>;
86
86
  /**
87
- * Manually force the specified connection to become disabled. 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](https://docs.snaptrade.com/docs/webhooks#webhooks-connection_broken) for the connection. *Please contact us in order to use this endpoint as it is disabled by default.*
87
+ * Manually force the specified connection to become disabled. 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](/docs/webhooks#webhooks-connection_broken) for the connection. *Please contact us in order to use this endpoint as it is disabled by default.*
88
88
  * @summary Force disable connection
89
89
  * @param {ConnectionsApiDisableBrokerageAuthorizationRequest} requestParameters Request parameters.
90
90
  * @param {*} [options] Override http request option.
@@ -100,7 +100,7 @@ export declare const ConnectionsApiFp: (configuration?: Configuration) => {
100
100
  */
101
101
  listBrokerageAuthorizations(requestParameters: ConnectionsApiListBrokerageAuthorizationsRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BrokerageAuthorization>>>;
102
102
  /**
103
- * 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. *Please contact support for access as this endpoint is not enabled by default.*
103
+ * Trigger a holdings update for all accounts under this connection. Updates will be queued asynchronously. [`ACCOUNT_HOLDINGS_UPDATED` webhook](/docs/webhooks#webhooks-account_holdings_updated) will be sent once the sync completes for each account under the connection. *Please contact support for access as this endpoint is not enabled by default.*
104
104
  * @summary Refresh holdings for a connection
105
105
  * @param {ConnectionsApiRefreshBrokerageAuthorizationRequest} requestParameters Request parameters.
106
106
  * @param {*} [options] Override http request option.
@@ -138,7 +138,7 @@ export declare const ConnectionsApiFactory: (configuration?: Configuration, base
138
138
  */
139
139
  detailBrokerageAuthorization(requestParameters: ConnectionsApiDetailBrokerageAuthorizationRequest, options?: AxiosRequestConfig): AxiosPromise<BrokerageAuthorization>;
140
140
  /**
141
- * Manually force the specified connection to become disabled. 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](https://docs.snaptrade.com/docs/webhooks#webhooks-connection_broken) for the connection. *Please contact us in order to use this endpoint as it is disabled by default.*
141
+ * Manually force the specified connection to become disabled. 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](/docs/webhooks#webhooks-connection_broken) for the connection. *Please contact us in order to use this endpoint as it is disabled by default.*
142
142
  * @summary Force disable connection
143
143
  * @param {ConnectionsApiDisableBrokerageAuthorizationRequest} requestParameters Request parameters.
144
144
  * @param {*} [options] Override http request option.
@@ -154,7 +154,7 @@ export declare const ConnectionsApiFactory: (configuration?: Configuration, base
154
154
  */
155
155
  listBrokerageAuthorizations(requestParameters: ConnectionsApiListBrokerageAuthorizationsRequest, options?: AxiosRequestConfig): AxiosPromise<Array<BrokerageAuthorization>>;
156
156
  /**
157
- * 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. *Please contact support for access as this endpoint is not enabled by default.*
157
+ * Trigger a holdings update for all accounts under this connection. Updates will be queued asynchronously. [`ACCOUNT_HOLDINGS_UPDATED` webhook](/docs/webhooks#webhooks-account_holdings_updated) will be sent once the sync completes for each account under the connection. *Please contact support for access as this endpoint is not enabled by default.*
158
158
  * @summary Refresh holdings for a connection
159
159
  * @param {ConnectionsApiRefreshBrokerageAuthorizationRequest} requestParameters Request parameters.
160
160
  * @param {*} [options] Override http request option.
@@ -339,7 +339,7 @@ export declare class ConnectionsApiGenerated extends BaseAPI {
339
339
  */
340
340
  detailBrokerageAuthorization(requestParameters: ConnectionsApiDetailBrokerageAuthorizationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<BrokerageAuthorization, any>>;
341
341
  /**
342
- * Manually force the specified connection to become disabled. 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](https://docs.snaptrade.com/docs/webhooks#webhooks-connection_broken) for the connection. *Please contact us in order to use this endpoint as it is disabled by default.*
342
+ * Manually force the specified connection to become disabled. 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](/docs/webhooks#webhooks-connection_broken) for the connection. *Please contact us in order to use this endpoint as it is disabled by default.*
343
343
  * @summary Force disable connection
344
344
  * @param {ConnectionsApiDisableBrokerageAuthorizationRequest} requestParameters Request parameters.
345
345
  * @param {*} [options] Override http request option.
@@ -357,7 +357,7 @@ export declare class ConnectionsApiGenerated extends BaseAPI {
357
357
  */
358
358
  listBrokerageAuthorizations(requestParameters: ConnectionsApiListBrokerageAuthorizationsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<BrokerageAuthorization[], any>>;
359
359
  /**
360
- * 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. *Please contact support for access as this endpoint is not enabled by default.*
360
+ * Trigger a holdings update for all accounts under this connection. Updates will be queued asynchronously. [`ACCOUNT_HOLDINGS_UPDATED` webhook](/docs/webhooks#webhooks-account_holdings_updated) will be sent once the sync completes for each account under the connection. *Please contact support for access as this endpoint is not enabled by default.*
361
361
  * @summary Refresh holdings for a connection
362
362
  * @param {ConnectionsApiRefreshBrokerageAuthorizationRequest} requestParameters Request parameters.
363
363
  * @param {*} [options] Override http request option.
@@ -91,7 +91,7 @@ const ConnectionsApiAxiosParamCreator = function (configuration) {
91
91
  };
92
92
  }),
93
93
  /**
94
- * Manually force the specified connection to become disabled. 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](https://docs.snaptrade.com/docs/webhooks#webhooks-connection_broken) for the connection. *Please contact us in order to use this endpoint as it is disabled by default.*
94
+ * Manually force the specified connection to become disabled. 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](/docs/webhooks#webhooks-connection_broken) for the connection. *Please contact us in order to use this endpoint as it is disabled by default.*
95
95
  * @summary Force disable connection
96
96
  * @param {string} authorizationId
97
97
  * @param {string} userId
@@ -197,7 +197,7 @@ const ConnectionsApiAxiosParamCreator = function (configuration) {
197
197
  };
198
198
  }),
199
199
  /**
200
- * 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. *Please contact support for access as this endpoint is not enabled by default.*
200
+ * Trigger a holdings update for all accounts under this connection. Updates will be queued asynchronously. [`ACCOUNT_HOLDINGS_UPDATED` webhook](/docs/webhooks#webhooks-account_holdings_updated) will be sent once the sync completes for each account under the connection. *Please contact support for access as this endpoint is not enabled by default.*
201
201
  * @summary Refresh holdings for a connection
202
202
  * @param {string} authorizationId
203
203
  * @param {string} userId
@@ -383,7 +383,7 @@ const ConnectionsApiFp = function (configuration) {
383
383
  });
384
384
  },
385
385
  /**
386
- * Manually force the specified connection to become disabled. 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](https://docs.snaptrade.com/docs/webhooks#webhooks-connection_broken) for the connection. *Please contact us in order to use this endpoint as it is disabled by default.*
386
+ * Manually force the specified connection to become disabled. 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](/docs/webhooks#webhooks-connection_broken) for the connection. *Please contact us in order to use this endpoint as it is disabled by default.*
387
387
  * @summary Force disable connection
388
388
  * @param {ConnectionsApiDisableBrokerageAuthorizationRequest} requestParameters Request parameters.
389
389
  * @param {*} [options] Override http request option.
@@ -409,7 +409,7 @@ const ConnectionsApiFp = function (configuration) {
409
409
  });
410
410
  },
411
411
  /**
412
- * 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. *Please contact support for access as this endpoint is not enabled by default.*
412
+ * Trigger a holdings update for all accounts under this connection. Updates will be queued asynchronously. [`ACCOUNT_HOLDINGS_UPDATED` webhook](/docs/webhooks#webhooks-account_holdings_updated) will be sent once the sync completes for each account under the connection. *Please contact support for access as this endpoint is not enabled by default.*
413
413
  * @summary Refresh holdings for a connection
414
414
  * @param {ConnectionsApiRefreshBrokerageAuthorizationRequest} requestParameters Request parameters.
415
415
  * @param {*} [options] Override http request option.
@@ -468,7 +468,7 @@ const ConnectionsApiFactory = function (configuration, basePath, axios) {
468
468
  return localVarFp.detailBrokerageAuthorization(requestParameters, options).then((request) => request(axios, basePath));
469
469
  },
470
470
  /**
471
- * Manually force the specified connection to become disabled. 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](https://docs.snaptrade.com/docs/webhooks#webhooks-connection_broken) for the connection. *Please contact us in order to use this endpoint as it is disabled by default.*
471
+ * Manually force the specified connection to become disabled. 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](/docs/webhooks#webhooks-connection_broken) for the connection. *Please contact us in order to use this endpoint as it is disabled by default.*
472
472
  * @summary Force disable connection
473
473
  * @param {ConnectionsApiDisableBrokerageAuthorizationRequest} requestParameters Request parameters.
474
474
  * @param {*} [options] Override http request option.
@@ -488,7 +488,7 @@ const ConnectionsApiFactory = function (configuration, basePath, axios) {
488
488
  return localVarFp.listBrokerageAuthorizations(requestParameters, options).then((request) => request(axios, basePath));
489
489
  },
490
490
  /**
491
- * 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. *Please contact support for access as this endpoint is not enabled by default.*
491
+ * Trigger a holdings update for all accounts under this connection. Updates will be queued asynchronously. [`ACCOUNT_HOLDINGS_UPDATED` webhook](/docs/webhooks#webhooks-account_holdings_updated) will be sent once the sync completes for each account under the connection. *Please contact support for access as this endpoint is not enabled by default.*
492
492
  * @summary Refresh holdings for a connection
493
493
  * @param {ConnectionsApiRefreshBrokerageAuthorizationRequest} requestParameters Request parameters.
494
494
  * @param {*} [options] Override http request option.
@@ -539,7 +539,7 @@ class ConnectionsApiGenerated extends base_1.BaseAPI {
539
539
  return (0, exports.ConnectionsApiFp)(this.configuration).detailBrokerageAuthorization(requestParameters, options).then((request) => request(this.axios, this.basePath));
540
540
  }
541
541
  /**
542
- * Manually force the specified connection to become disabled. 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](https://docs.snaptrade.com/docs/webhooks#webhooks-connection_broken) for the connection. *Please contact us in order to use this endpoint as it is disabled by default.*
542
+ * Manually force the specified connection to become disabled. 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](/docs/webhooks#webhooks-connection_broken) for the connection. *Please contact us in order to use this endpoint as it is disabled by default.*
543
543
  * @summary Force disable connection
544
544
  * @param {ConnectionsApiDisableBrokerageAuthorizationRequest} requestParameters Request parameters.
545
545
  * @param {*} [options] Override http request option.
@@ -561,7 +561,7 @@ class ConnectionsApiGenerated extends base_1.BaseAPI {
561
561
  return (0, exports.ConnectionsApiFp)(this.configuration).listBrokerageAuthorizations(requestParameters, options).then((request) => request(this.axios, this.basePath));
562
562
  }
563
563
  /**
564
- * 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. *Please contact support for access as this endpoint is not enabled by default.*
564
+ * Trigger a holdings update for all accounts under this connection. Updates will be queued asynchronously. [`ACCOUNT_HOLDINGS_UPDATED` webhook](/docs/webhooks#webhooks-account_holdings_updated) will be sent once the sync completes for each account under the connection. *Please contact support for access as this endpoint is not enabled by default.*
565
565
  * @summary Refresh holdings for a connection
566
566
  * @param {ConnectionsApiRefreshBrokerageAuthorizationRequest} requestParameters Request parameters.
567
567
  * @param {*} [options] Override http request option.