snaptrade-typescript-sdk 12.2.8 → 12.2.9

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/dist/index.mjs CHANGED
@@ -1066,7 +1066,7 @@ const AccountInformationApiAxiosParamCreator = function(configuration) {
1066
1066
  },
1067
1067
  /**
1068
1068
  * Returns all brokerage accounts across all connections known to SnapTrade for the authenticated user. This endpoint returns Daily data regardless of the customer\'s plan. Daily data is cached and refreshed once a day, which makes this endpoint fast and well-suited to listing accounts across all of a user\'s connections in a single call. Exact refresh timing may vary by brokerage. To get real-time data on Pay as you Go / Real-time, use the [list accounts for a connection endpoint](/reference/Connections/Connections_listBrokerageAuthorizationAccounts). Customers on Pay as you Go / Daily can force a refresh with the [manual refresh endpoint](/reference/Connections/Connections_refreshBrokerageAuthorization).
1069
- * @summary List accounts
1069
+ * @summary List user accounts
1070
1070
  * @param {string} [userId]
1071
1071
  * @param {string} [userSecret]
1072
1072
  * @param {*} [options] Override http request option.
@@ -1451,7 +1451,7 @@ const AccountInformationApiFp = function(configuration) {
1451
1451
  },
1452
1452
  /**
1453
1453
  * Returns all brokerage accounts across all connections known to SnapTrade for the authenticated user. This endpoint returns Daily data regardless of the customer\'s plan. Daily data is cached and refreshed once a day, which makes this endpoint fast and well-suited to listing accounts across all of a user\'s connections in a single call. Exact refresh timing may vary by brokerage. To get real-time data on Pay as you Go / Real-time, use the [list accounts for a connection endpoint](/reference/Connections/Connections_listBrokerageAuthorizationAccounts). Customers on Pay as you Go / Daily can force a refresh with the [manual refresh endpoint](/reference/Connections/Connections_refreshBrokerageAuthorization).
1454
- * @summary List accounts
1454
+ * @summary List user accounts
1455
1455
  * @param {AccountInformationApiListUserAccountsRequest<TAuth>} requestParameters Request parameters.
1456
1456
  * @param {*} [options] Override http request option.
1457
1457
  * @throws {RequiredError}
@@ -1607,7 +1607,7 @@ const AccountInformationApiFactory = function(configuration, basePath, axios) {
1607
1607
  },
1608
1608
  /**
1609
1609
  * Returns all brokerage accounts across all connections known to SnapTrade for the authenticated user. This endpoint returns Daily data regardless of the customer\'s plan. Daily data is cached and refreshed once a day, which makes this endpoint fast and well-suited to listing accounts across all of a user\'s connections in a single call. Exact refresh timing may vary by brokerage. To get real-time data on Pay as you Go / Real-time, use the [list accounts for a connection endpoint](/reference/Connections/Connections_listBrokerageAuthorizationAccounts). Customers on Pay as you Go / Daily can force a refresh with the [manual refresh endpoint](/reference/Connections/Connections_refreshBrokerageAuthorization).
1610
- * @summary List accounts
1610
+ * @summary List user accounts
1611
1611
  * @param {AccountInformationApiListUserAccountsRequest<TAuth>} requestParameters Request parameters.
1612
1612
  * @param {*} [options] Override http request option.
1613
1613
  * @throws {RequiredError}
@@ -1747,7 +1747,7 @@ var AccountInformationApiGenerated = class extends BaseAPI {
1747
1747
  }
1748
1748
  /**
1749
1749
  * Returns all brokerage accounts across all connections known to SnapTrade for the authenticated user. This endpoint returns Daily data regardless of the customer\'s plan. Daily data is cached and refreshed once a day, which makes this endpoint fast and well-suited to listing accounts across all of a user\'s connections in a single call. Exact refresh timing may vary by brokerage. To get real-time data on Pay as you Go / Real-time, use the [list accounts for a connection endpoint](/reference/Connections/Connections_listBrokerageAuthorizationAccounts). Customers on Pay as you Go / Daily can force a refresh with the [manual refresh endpoint](/reference/Connections/Connections_refreshBrokerageAuthorization).
1750
- * @summary List accounts
1750
+ * @summary List user accounts
1751
1751
  * @param {AccountInformationApiListUserAccountsRequest<TAuth>} requestParameters Request parameters.
1752
1752
  * @param {*} [options] Override http request option.
1753
1753
  * @throws {RequiredError}
@@ -2799,8 +2799,8 @@ const ConnectionsApiAxiosParamCreator = function(configuration) {
2799
2799
  };
2800
2800
  },
2801
2801
  /**
2802
- * Returns the accounts that belong to the specified connection for the authenticated user, using the `kind`-discriminated account shape. Each item in the response carries a `kind` field (`investment`, `deposit`, and `line_of_credit` are implemented) that determines which additional fields are present -- see the `ConnectionAccount` schema. On Pay as you Go / Real-time, this endpoint refreshes each account\'s opening date and total net value (`net_value`) live from the institution on each call, along with funding date for `investment` accounts. On Pay as you Go / Daily, this endpoint returns Daily data. Daily data is cached and refreshed once a day. Exact refresh timing may vary by institution. To force a refresh, use the [manual refresh endpoint](/reference/Connections/Connections_refreshBrokerageAuthorization). Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see whether your plan includes real-time data.
2803
- * @summary List accounts for a connection (discriminated union)
2802
+ * Returns all accounts that belong to the specified connection for the authenticated user. The `results` list can contain multiple account kinds in the same response, including investment, deposit, and line of credit accounts. Use the `kind` discriminator to determine the shape for each account. On Pay as you Go / Real-time, this endpoint refreshes each account\'s opening date and total net value (`net_value`) live from the institution on each call, along with funding date for `investment` accounts. On Pay as you Go / Daily, this endpoint returns Daily data. Daily data is cached and refreshed once a day. Exact refresh timing may vary by institution. To force a refresh, use the [manual refresh endpoint](/reference/Connections/Connections_refreshBrokerageAuthorization). Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see whether your plan includes real-time data.
2803
+ * @summary List accounts
2804
2804
  * @param {string} connectionId
2805
2805
  * @param {string} [userId]
2806
2806
  * @param {string} [userSecret]
@@ -3217,8 +3217,8 @@ const ConnectionsApiFp = function(configuration) {
3217
3217
  });
3218
3218
  },
3219
3219
  /**
3220
- * Returns the accounts that belong to the specified connection for the authenticated user, using the `kind`-discriminated account shape. Each item in the response carries a `kind` field (`investment`, `deposit`, and `line_of_credit` are implemented) that determines which additional fields are present -- see the `ConnectionAccount` schema. On Pay as you Go / Real-time, this endpoint refreshes each account\'s opening date and total net value (`net_value`) live from the institution on each call, along with funding date for `investment` accounts. On Pay as you Go / Daily, this endpoint returns Daily data. Daily data is cached and refreshed once a day. Exact refresh timing may vary by institution. To force a refresh, use the [manual refresh endpoint](/reference/Connections/Connections_refreshBrokerageAuthorization). Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see whether your plan includes real-time data.
3221
- * @summary List accounts for a connection (discriminated union)
3220
+ * Returns all accounts that belong to the specified connection for the authenticated user. The `results` list can contain multiple account kinds in the same response, including investment, deposit, and line of credit accounts. Use the `kind` discriminator to determine the shape for each account. On Pay as you Go / Real-time, this endpoint refreshes each account\'s opening date and total net value (`net_value`) live from the institution on each call, along with funding date for `investment` accounts. On Pay as you Go / Daily, this endpoint returns Daily data. Daily data is cached and refreshed once a day. Exact refresh timing may vary by institution. To force a refresh, use the [manual refresh endpoint](/reference/Connections/Connections_refreshBrokerageAuthorization). Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see whether your plan includes real-time data.
3221
+ * @summary List accounts
3222
3222
  * @param {ConnectionsApiListConnectionAccountsRequest<TAuth>} requestParameters Request parameters.
3223
3223
  * @param {*} [options] Override http request option.
3224
3224
  * @throws {RequiredError}
@@ -3368,8 +3368,8 @@ const ConnectionsApiFactory = function(configuration, basePath, axios) {
3368
3368
  return localVarFp.listBrokerageAuthorizations(...args).then((request) => request(axios, basePath));
3369
3369
  },
3370
3370
  /**
3371
- * Returns the accounts that belong to the specified connection for the authenticated user, using the `kind`-discriminated account shape. Each item in the response carries a `kind` field (`investment`, `deposit`, and `line_of_credit` are implemented) that determines which additional fields are present -- see the `ConnectionAccount` schema. On Pay as you Go / Real-time, this endpoint refreshes each account\'s opening date and total net value (`net_value`) live from the institution on each call, along with funding date for `investment` accounts. On Pay as you Go / Daily, this endpoint returns Daily data. Daily data is cached and refreshed once a day. Exact refresh timing may vary by institution. To force a refresh, use the [manual refresh endpoint](/reference/Connections/Connections_refreshBrokerageAuthorization). Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see whether your plan includes real-time data.
3372
- * @summary List accounts for a connection (discriminated union)
3371
+ * Returns all accounts that belong to the specified connection for the authenticated user. The `results` list can contain multiple account kinds in the same response, including investment, deposit, and line of credit accounts. Use the `kind` discriminator to determine the shape for each account. On Pay as you Go / Real-time, this endpoint refreshes each account\'s opening date and total net value (`net_value`) live from the institution on each call, along with funding date for `investment` accounts. On Pay as you Go / Daily, this endpoint returns Daily data. Daily data is cached and refreshed once a day. Exact refresh timing may vary by institution. To force a refresh, use the [manual refresh endpoint](/reference/Connections/Connections_refreshBrokerageAuthorization). Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see whether your plan includes real-time data.
3372
+ * @summary List accounts
3373
3373
  * @param {ConnectionsApiListConnectionAccountsRequest<TAuth>} requestParameters Request parameters.
3374
3374
  * @param {*} [options] Override http request option.
3375
3375
  * @throws {RequiredError}
@@ -3472,8 +3472,8 @@ var ConnectionsApiGenerated = class extends BaseAPI {
3472
3472
  return ConnectionsApiFp(this.configuration).listBrokerageAuthorizations(...args).then((request) => request(this.axios, this.basePath));
3473
3473
  }
3474
3474
  /**
3475
- * Returns the accounts that belong to the specified connection for the authenticated user, using the `kind`-discriminated account shape. Each item in the response carries a `kind` field (`investment`, `deposit`, and `line_of_credit` are implemented) that determines which additional fields are present -- see the `ConnectionAccount` schema. On Pay as you Go / Real-time, this endpoint refreshes each account\'s opening date and total net value (`net_value`) live from the institution on each call, along with funding date for `investment` accounts. On Pay as you Go / Daily, this endpoint returns Daily data. Daily data is cached and refreshed once a day. Exact refresh timing may vary by institution. To force a refresh, use the [manual refresh endpoint](/reference/Connections/Connections_refreshBrokerageAuthorization). Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see whether your plan includes real-time data.
3476
- * @summary List accounts for a connection (discriminated union)
3475
+ * Returns all accounts that belong to the specified connection for the authenticated user. The `results` list can contain multiple account kinds in the same response, including investment, deposit, and line of credit accounts. Use the `kind` discriminator to determine the shape for each account. On Pay as you Go / Real-time, this endpoint refreshes each account\'s opening date and total net value (`net_value`) live from the institution on each call, along with funding date for `investment` accounts. On Pay as you Go / Daily, this endpoint returns Daily data. Daily data is cached and refreshed once a day. Exact refresh timing may vary by institution. To force a refresh, use the [manual refresh endpoint](/reference/Connections/Connections_refreshBrokerageAuthorization). Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see whether your plan includes real-time data.
3476
+ * @summary List accounts
3477
3477
  * @param {ConnectionsApiListConnectionAccountsRequest<TAuth>} requestParameters Request parameters.
3478
3478
  * @param {*} [options] Override http request option.
3479
3479
  * @throws {RequiredError}
@@ -7056,7 +7056,7 @@ var Configuration = class {
7056
7056
  }
7057
7057
  this.basePath = param.basePath;
7058
7058
  this.baseOptions = param.baseOptions ?? {};
7059
- this.userAgent = param.userAgent === void 0 ? "Konfig/12.2.8/typescript" : param.userAgent;
7059
+ this.userAgent = param.userAgent === void 0 ? "Konfig/12.2.9/typescript" : param.userAgent;
7060
7060
  this.formDataCtor = param.formDataCtor;
7061
7061
  }
7062
7062
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "snaptrade-typescript-sdk",
3
- "version": "12.2.8",
3
+ "version": "12.2.9",
4
4
  "description": "Client for SnapTrade",
5
5
  "author": "Konfig",
6
6
  "engines": {