snaptrade-typescript-sdk 12.2.15 → 12.2.17

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.cjs CHANGED
@@ -3698,6 +3698,79 @@ const ExperimentalEndpointsApiAxiosParamCreator = function(configuration) {
3698
3698
  };
3699
3699
  },
3700
3700
  /**
3701
+ * Experimental and subject to change without notice. Returns the specified account for the authenticated user, using the `kind`-discriminated account shape. Use the `kind` discriminator to determine the shape of the account, which can be an investment, deposit, or line of credit account. On Pay as you Go / Real-time, this endpoint refreshes the 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. If the connection has become disabled, it can no longer access the latest data from the institution, but will continue to return the last available cached state. Please see [this guide](/docs/fix-broken-connections) on how to fix a disabled connection.
3702
+ * @summary Get account details
3703
+ * @param {string} accountId
3704
+ * @param {string} [userId]
3705
+ * @param {string} [userSecret]
3706
+ * @param {*} [options] Override http request option.
3707
+ * @throws {RequiredError}
3708
+ */
3709
+ getAccountDetails: async (accountId, userId, userSecret, options = {}) => {
3710
+ assertParamExists("getAccountDetails", "accountId", accountId);
3711
+ const localVarPath = `/accounts/{accountId}/details`.replace(`{accountId}`, encodeURIComponent(String(accountId !== void 0 ? accountId : `-accountId-`)));
3712
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3713
+ let baseOptions;
3714
+ if (configuration) baseOptions = configuration.baseOptions;
3715
+ const localVarRequestOptions = {
3716
+ method: "GET",
3717
+ ...baseOptions,
3718
+ ...options
3719
+ };
3720
+ const localVarHeaderParameter = configuration && !isBrowser() ? { "User-Agent": configuration.userAgent } : {};
3721
+ const localVarQueryParameter = {};
3722
+ if (configuration?.authMode === "commercialApiKey") {
3723
+ await setApiKeyToObject({
3724
+ object: localVarQueryParameter,
3725
+ key: "clientId",
3726
+ keyParamName: "clientId",
3727
+ configuration
3728
+ });
3729
+ if (userId !== void 0) localVarQueryParameter["userId"] = userId;
3730
+ if (userSecret !== void 0) localVarQueryParameter["userSecret"] = userSecret;
3731
+ }
3732
+ if (configuration?.authMode === "personalApiKey") await setApiKeyToObject({
3733
+ object: localVarQueryParameter,
3734
+ key: "clientId",
3735
+ keyParamName: "clientId",
3736
+ configuration
3737
+ });
3738
+ const localVarOperationAuth = {
3739
+ authModes: ["commercialApiKey", "personalApiKey"],
3740
+ requestSigningByAuthMode: {
3741
+ "commercialApiKey": {
3742
+ secretParameter: "consumerKey",
3743
+ signedSecuritySchemes: ["PartnerSignature", "PartnerTimestamp"]
3744
+ },
3745
+ "personalApiKey": {
3746
+ secretParameter: "consumerKey",
3747
+ signedSecuritySchemes: ["PersonalSignature", "PersonalTimestamp"]
3748
+ }
3749
+ },
3750
+ selectedAuthMode: configuration?.authMode
3751
+ };
3752
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3753
+ localVarRequestOptions.headers = {
3754
+ ...localVarHeaderParameter,
3755
+ ...headersFromBaseOptions,
3756
+ ...options.headers
3757
+ };
3758
+ requestBeforeHook({
3759
+ queryParameters: localVarQueryParameter,
3760
+ requestConfig: localVarRequestOptions,
3761
+ path: localVarPath,
3762
+ configuration,
3763
+ pathTemplate: "/accounts/{accountId}/details",
3764
+ httpMethod: "GET",
3765
+ operationAuth: localVarOperationAuth
3766
+ });
3767
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3768
+ return {
3769
+ url: toPathString(localVarUrlObj),
3770
+ options: localVarRequestOptions
3771
+ };
3772
+ },
3773
+ /**
3701
3774
  * Returns the detail of a single order using the brokerage order ID provided as a path parameter. The V2 order response format includes all legs of the order in the `legs` list field. If the order is single legged, `legs` will be a list of one leg. This endpoint is always realtime and does not rely on cached data. This endpoint only returns orders placed through SnapTrade. In other words, orders placed outside of the SnapTrade network are not returned by this endpoint.
3702
3775
  * @summary Get account order detail (V2)
3703
3776
  * @param {string} accountId
@@ -3925,6 +3998,77 @@ const ExperimentalEndpointsApiAxiosParamCreator = function(configuration) {
3925
3998
  };
3926
3999
  },
3927
4000
  /**
4001
+ * Experimental and subject to change without notice. Returns all accounts across all connections known to SnapTrade 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. 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 institution. To get real-time data on Pay as you Go / Real-time, use the [list accounts for a connection endpoint](/reference/Connections/Connections_listConnectionAccounts). Customers on Pay as you Go / Daily can force a refresh with the [manual refresh endpoint](/reference/Connections/Connections_refreshBrokerageAuthorization).
4002
+ * @summary List all user accounts
4003
+ * @param {string} [userId]
4004
+ * @param {string} [userSecret]
4005
+ * @param {*} [options] Override http request option.
4006
+ * @throws {RequiredError}
4007
+ */
4008
+ listAllUserAccounts: async (userId, userSecret, options = {}) => {
4009
+ const localVarPath = `/accounts/all`;
4010
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4011
+ let baseOptions;
4012
+ if (configuration) baseOptions = configuration.baseOptions;
4013
+ const localVarRequestOptions = {
4014
+ method: "GET",
4015
+ ...baseOptions,
4016
+ ...options
4017
+ };
4018
+ const localVarHeaderParameter = configuration && !isBrowser() ? { "User-Agent": configuration.userAgent } : {};
4019
+ const localVarQueryParameter = {};
4020
+ if (configuration?.authMode === "commercialApiKey") {
4021
+ await setApiKeyToObject({
4022
+ object: localVarQueryParameter,
4023
+ key: "clientId",
4024
+ keyParamName: "clientId",
4025
+ configuration
4026
+ });
4027
+ if (userId !== void 0) localVarQueryParameter["userId"] = userId;
4028
+ if (userSecret !== void 0) localVarQueryParameter["userSecret"] = userSecret;
4029
+ }
4030
+ if (configuration?.authMode === "personalApiKey") await setApiKeyToObject({
4031
+ object: localVarQueryParameter,
4032
+ key: "clientId",
4033
+ keyParamName: "clientId",
4034
+ configuration
4035
+ });
4036
+ const localVarOperationAuth = {
4037
+ authModes: ["commercialApiKey", "personalApiKey"],
4038
+ requestSigningByAuthMode: {
4039
+ "commercialApiKey": {
4040
+ secretParameter: "consumerKey",
4041
+ signedSecuritySchemes: ["PartnerSignature", "PartnerTimestamp"]
4042
+ },
4043
+ "personalApiKey": {
4044
+ secretParameter: "consumerKey",
4045
+ signedSecuritySchemes: ["PersonalSignature", "PersonalTimestamp"]
4046
+ }
4047
+ },
4048
+ selectedAuthMode: configuration?.authMode
4049
+ };
4050
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4051
+ localVarRequestOptions.headers = {
4052
+ ...localVarHeaderParameter,
4053
+ ...headersFromBaseOptions,
4054
+ ...options.headers
4055
+ };
4056
+ requestBeforeHook({
4057
+ queryParameters: localVarQueryParameter,
4058
+ requestConfig: localVarRequestOptions,
4059
+ path: localVarPath,
4060
+ configuration,
4061
+ pathTemplate: "/accounts/all",
4062
+ httpMethod: "GET",
4063
+ operationAuth: localVarOperationAuth
4064
+ });
4065
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4066
+ return {
4067
+ url: toPathString(localVarUrlObj),
4068
+ options: localVarRequestOptions
4069
+ };
4070
+ },
4071
+ /**
3928
4072
  * Returns active Trade Detection subscriptions for your Client ID. Cancelled subscriptions are not returned.
3929
4073
  * @summary List active Trade Detection subscriptions
3930
4074
  * @param {*} [options] Override http request option.
@@ -4050,6 +4194,29 @@ const ExperimentalEndpointsApiFp = function(configuration) {
4050
4194
  });
4051
4195
  },
4052
4196
  /**
4197
+ * Experimental and subject to change without notice. Returns the specified account for the authenticated user, using the `kind`-discriminated account shape. Use the `kind` discriminator to determine the shape of the account, which can be an investment, deposit, or line of credit account. On Pay as you Go / Real-time, this endpoint refreshes the 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. If the connection has become disabled, it can no longer access the latest data from the institution, but will continue to return the last available cached state. Please see [this guide](/docs/fix-broken-connections) on how to fix a disabled connection.
4198
+ * @summary Get account details
4199
+ * @param {ExperimentalEndpointsApiGetAccountDetailsRequest<TAuth>} requestParameters Request parameters.
4200
+ * @param {*} [options] Override http request option.
4201
+ * @throws {RequiredError}
4202
+ */
4203
+ async getAccountDetails(...args) {
4204
+ const [requestParameters = {}, options] = args;
4205
+ return createRequestFunction(await localVarAxiosParamCreator.getAccountDetails(requestParameters.accountId, requestParameters.userId, requestParameters.userSecret, options), axios.default, BASE_PATH, configuration, {
4206
+ authModes: ["commercialApiKey", "personalApiKey"],
4207
+ requestSigningByAuthMode: {
4208
+ "commercialApiKey": {
4209
+ secretParameter: "consumerKey",
4210
+ signedSecuritySchemes: ["PartnerSignature", "PartnerTimestamp"]
4211
+ },
4212
+ "personalApiKey": {
4213
+ secretParameter: "consumerKey",
4214
+ signedSecuritySchemes: ["PersonalSignature", "PersonalTimestamp"]
4215
+ }
4216
+ }
4217
+ });
4218
+ },
4219
+ /**
4053
4220
  * Returns the detail of a single order using the brokerage order ID provided as a path parameter. The V2 order response format includes all legs of the order in the `legs` list field. If the order is single legged, `legs` will be a list of one leg. This endpoint is always realtime and does not rely on cached data. This endpoint only returns orders placed through SnapTrade. In other words, orders placed outside of the SnapTrade network are not returned by this endpoint.
4054
4221
  * @summary Get account order detail (V2)
4055
4222
  * @param {ExperimentalEndpointsApiGetUserAccountOrderDetailV2Request<TAuth>} requestParameters Request parameters.
@@ -4119,6 +4286,29 @@ const ExperimentalEndpointsApiFp = function(configuration) {
4119
4286
  });
4120
4287
  },
4121
4288
  /**
4289
+ * Experimental and subject to change without notice. Returns all accounts across all connections known to SnapTrade 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. 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 institution. To get real-time data on Pay as you Go / Real-time, use the [list accounts for a connection endpoint](/reference/Connections/Connections_listConnectionAccounts). Customers on Pay as you Go / Daily can force a refresh with the [manual refresh endpoint](/reference/Connections/Connections_refreshBrokerageAuthorization).
4290
+ * @summary List all user accounts
4291
+ * @param {ExperimentalEndpointsApiListAllUserAccountsRequest<TAuth>} requestParameters Request parameters.
4292
+ * @param {*} [options] Override http request option.
4293
+ * @throws {RequiredError}
4294
+ */
4295
+ async listAllUserAccounts(...args) {
4296
+ const [requestParameters = {}, options] = args;
4297
+ return createRequestFunction(await localVarAxiosParamCreator.listAllUserAccounts(requestParameters.userId, requestParameters.userSecret, options), axios.default, BASE_PATH, configuration, {
4298
+ authModes: ["commercialApiKey", "personalApiKey"],
4299
+ requestSigningByAuthMode: {
4300
+ "commercialApiKey": {
4301
+ secretParameter: "consumerKey",
4302
+ signedSecuritySchemes: ["PartnerSignature", "PartnerTimestamp"]
4303
+ },
4304
+ "personalApiKey": {
4305
+ secretParameter: "consumerKey",
4306
+ signedSecuritySchemes: ["PersonalSignature", "PersonalTimestamp"]
4307
+ }
4308
+ }
4309
+ });
4310
+ },
4311
+ /**
4122
4312
  * Returns active Trade Detection subscriptions for your Client ID. Cancelled subscriptions are not returned.
4123
4313
  * @summary List active Trade Detection subscriptions
4124
4314
  * @param {*} [options] Override http request option.
@@ -4170,6 +4360,16 @@ const ExperimentalEndpointsApiFactory = function(configuration, basePath, axios$
4170
4360
  return localVarFp.cancelSubscription(...args).then((request) => request(axios$4, basePath));
4171
4361
  },
4172
4362
  /**
4363
+ * Experimental and subject to change without notice. Returns the specified account for the authenticated user, using the `kind`-discriminated account shape. Use the `kind` discriminator to determine the shape of the account, which can be an investment, deposit, or line of credit account. On Pay as you Go / Real-time, this endpoint refreshes the 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. If the connection has become disabled, it can no longer access the latest data from the institution, but will continue to return the last available cached state. Please see [this guide](/docs/fix-broken-connections) on how to fix a disabled connection.
4364
+ * @summary Get account details
4365
+ * @param {ExperimentalEndpointsApiGetAccountDetailsRequest<TAuth>} requestParameters Request parameters.
4366
+ * @param {*} [options] Override http request option.
4367
+ * @throws {RequiredError}
4368
+ */
4369
+ getAccountDetails(...args) {
4370
+ return localVarFp.getAccountDetails(...args).then((request) => request(axios$4, basePath));
4371
+ },
4372
+ /**
4173
4373
  * Returns the detail of a single order using the brokerage order ID provided as a path parameter. The V2 order response format includes all legs of the order in the `legs` list field. If the order is single legged, `legs` will be a list of one leg. This endpoint is always realtime and does not rely on cached data. This endpoint only returns orders placed through SnapTrade. In other words, orders placed outside of the SnapTrade network are not returned by this endpoint.
4174
4374
  * @summary Get account order detail (V2)
4175
4375
  * @param {ExperimentalEndpointsApiGetUserAccountOrderDetailV2Request<TAuth>} requestParameters Request parameters.
@@ -4200,6 +4400,16 @@ const ExperimentalEndpointsApiFactory = function(configuration, basePath, axios$
4200
4400
  return localVarFp.getUserAccountRecentOrdersV2(...args).then((request) => request(axios$4, basePath));
4201
4401
  },
4202
4402
  /**
4403
+ * Experimental and subject to change without notice. Returns all accounts across all connections known to SnapTrade 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. 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 institution. To get real-time data on Pay as you Go / Real-time, use the [list accounts for a connection endpoint](/reference/Connections/Connections_listConnectionAccounts). Customers on Pay as you Go / Daily can force a refresh with the [manual refresh endpoint](/reference/Connections/Connections_refreshBrokerageAuthorization).
4404
+ * @summary List all user accounts
4405
+ * @param {ExperimentalEndpointsApiListAllUserAccountsRequest<TAuth>} requestParameters Request parameters.
4406
+ * @param {*} [options] Override http request option.
4407
+ * @throws {RequiredError}
4408
+ */
4409
+ listAllUserAccounts(...args) {
4410
+ return localVarFp.listAllUserAccounts(...args).then((request) => request(axios$4, basePath));
4411
+ },
4412
+ /**
4203
4413
  * Returns active Trade Detection subscriptions for your Client ID. Cancelled subscriptions are not returned.
4204
4414
  * @summary List active Trade Detection subscriptions
4205
4415
  * @param {*} [options] Override http request option.
@@ -4240,6 +4450,17 @@ var ExperimentalEndpointsApiGenerated = class extends BaseAPI {
4240
4450
  return ExperimentalEndpointsApiFp(this.configuration).cancelSubscription(...args).then((request) => request(this.axios, this.basePath));
4241
4451
  }
4242
4452
  /**
4453
+ * Experimental and subject to change without notice. Returns the specified account for the authenticated user, using the `kind`-discriminated account shape. Use the `kind` discriminator to determine the shape of the account, which can be an investment, deposit, or line of credit account. On Pay as you Go / Real-time, this endpoint refreshes the 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. If the connection has become disabled, it can no longer access the latest data from the institution, but will continue to return the last available cached state. Please see [this guide](/docs/fix-broken-connections) on how to fix a disabled connection.
4454
+ * @summary Get account details
4455
+ * @param {ExperimentalEndpointsApiGetAccountDetailsRequest<TAuth>} requestParameters Request parameters.
4456
+ * @param {*} [options] Override http request option.
4457
+ * @throws {RequiredError}
4458
+ * @memberof ExperimentalEndpointsApiGenerated
4459
+ */
4460
+ getAccountDetails(...args) {
4461
+ return ExperimentalEndpointsApiFp(this.configuration).getAccountDetails(...args).then((request) => request(this.axios, this.basePath));
4462
+ }
4463
+ /**
4243
4464
  * Returns the detail of a single order using the brokerage order ID provided as a path parameter. The V2 order response format includes all legs of the order in the `legs` list field. If the order is single legged, `legs` will be a list of one leg. This endpoint is always realtime and does not rely on cached data. This endpoint only returns orders placed through SnapTrade. In other words, orders placed outside of the SnapTrade network are not returned by this endpoint.
4244
4465
  * @summary Get account order detail (V2)
4245
4466
  * @param {ExperimentalEndpointsApiGetUserAccountOrderDetailV2Request<TAuth>} requestParameters Request parameters.
@@ -4273,6 +4494,17 @@ var ExperimentalEndpointsApiGenerated = class extends BaseAPI {
4273
4494
  return ExperimentalEndpointsApiFp(this.configuration).getUserAccountRecentOrdersV2(...args).then((request) => request(this.axios, this.basePath));
4274
4495
  }
4275
4496
  /**
4497
+ * Experimental and subject to change without notice. Returns all accounts across all connections known to SnapTrade 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. 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 institution. To get real-time data on Pay as you Go / Real-time, use the [list accounts for a connection endpoint](/reference/Connections/Connections_listConnectionAccounts). Customers on Pay as you Go / Daily can force a refresh with the [manual refresh endpoint](/reference/Connections/Connections_refreshBrokerageAuthorization).
4498
+ * @summary List all user accounts
4499
+ * @param {ExperimentalEndpointsApiListAllUserAccountsRequest<TAuth>} requestParameters Request parameters.
4500
+ * @param {*} [options] Override http request option.
4501
+ * @throws {RequiredError}
4502
+ * @memberof ExperimentalEndpointsApiGenerated
4503
+ */
4504
+ listAllUserAccounts(...args) {
4505
+ return ExperimentalEndpointsApiFp(this.configuration).listAllUserAccounts(...args).then((request) => request(this.axios, this.basePath));
4506
+ }
4507
+ /**
4276
4508
  * Returns active Trade Detection subscriptions for your Client ID. Cancelled subscriptions are not returned.
4277
4509
  * @summary List active Trade Detection subscriptions
4278
4510
  * @param {*} [options] Override http request option.
@@ -5599,7 +5831,7 @@ const TradingApiAxiosParamCreator = function(configuration) {
5599
5831
  };
5600
5832
  },
5601
5833
  /**
5602
- * Returns a quote for a single option contract. The option contract is specified using in the 21 character OCC format. For example `AAPL 251114C00240000` represents a call option on AAPL expiring on 2025-11-14 with a strike price of $240. For more information on the OCC format, see [here](https://en.wikipedia.org/wiki/Option_symbol#OCC_format) **Note:** These are derived values and are not suitable for trading purposes. **This Endpoint is deprecated and will cease to return data as of October 1, 2026**
5834
+ * **Deprecated.** This endpoint was sunset on October 1, 2026 and now always returns `410 Gone`. Returns a quote for a single option contract. The option contract is specified using in the 21 character OCC format. For example `AAPL 251114C00240000` represents a call option on AAPL expiring on 2025-11-14 with a strike price of $240. For more information on the OCC format, see [here](https://en.wikipedia.org/wiki/Option_symbol#OCC_format) **Note:** These are derived values and are not suitable for trading purposes.
5603
5835
  * @summary Get option quote
5604
5836
  * @param {string} accountId
5605
5837
  * @param {string} symbol The OCC-formatted option symbol.
@@ -6495,7 +6727,7 @@ const TradingApiFp = function(configuration) {
6495
6727
  });
6496
6728
  },
6497
6729
  /**
6498
- * Returns a quote for a single option contract. The option contract is specified using in the 21 character OCC format. For example `AAPL 251114C00240000` represents a call option on AAPL expiring on 2025-11-14 with a strike price of $240. For more information on the OCC format, see [here](https://en.wikipedia.org/wiki/Option_symbol#OCC_format) **Note:** These are derived values and are not suitable for trading purposes. **This Endpoint is deprecated and will cease to return data as of October 1, 2026**
6730
+ * **Deprecated.** This endpoint was sunset on October 1, 2026 and now always returns `410 Gone`. Returns a quote for a single option contract. The option contract is specified using in the 21 character OCC format. For example `AAPL 251114C00240000` represents a call option on AAPL expiring on 2025-11-14 with a strike price of $240. For more information on the OCC format, see [here](https://en.wikipedia.org/wiki/Option_symbol#OCC_format) **Note:** These are derived values and are not suitable for trading purposes.
6499
6731
  * @summary Get option quote
6500
6732
  * @param {TradingApiGetUserAccountOptionQuotesRequest<TAuth>} requestParameters Request parameters.
6501
6733
  * @param {*} [options] Override http request option.
@@ -6836,7 +7068,7 @@ const TradingApiFactory = function(configuration, basePath, axios$2) {
6836
7068
  return localVarFp.getOrderImpact(...args).then((request) => request(axios$2, basePath));
6837
7069
  },
6838
7070
  /**
6839
- * Returns a quote for a single option contract. The option contract is specified using in the 21 character OCC format. For example `AAPL 251114C00240000` represents a call option on AAPL expiring on 2025-11-14 with a strike price of $240. For more information on the OCC format, see [here](https://en.wikipedia.org/wiki/Option_symbol#OCC_format) **Note:** These are derived values and are not suitable for trading purposes. **This Endpoint is deprecated and will cease to return data as of October 1, 2026**
7071
+ * **Deprecated.** This endpoint was sunset on October 1, 2026 and now always returns `410 Gone`. Returns a quote for a single option contract. The option contract is specified using in the 21 character OCC format. For example `AAPL 251114C00240000` represents a call option on AAPL expiring on 2025-11-14 with a strike price of $240. For more information on the OCC format, see [here](https://en.wikipedia.org/wiki/Option_symbol#OCC_format) **Note:** These are derived values and are not suitable for trading purposes.
6840
7072
  * @summary Get option quote
6841
7073
  * @param {TradingApiGetUserAccountOptionQuotesRequest<TAuth>} requestParameters Request parameters.
6842
7074
  * @param {*} [options] Override http request option.
@@ -6990,7 +7222,7 @@ var TradingApiGenerated = class extends BaseAPI {
6990
7222
  return TradingApiFp(this.configuration).getOrderImpact(...args).then((request) => request(this.axios, this.basePath));
6991
7223
  }
6992
7224
  /**
6993
- * Returns a quote for a single option contract. The option contract is specified using in the 21 character OCC format. For example `AAPL 251114C00240000` represents a call option on AAPL expiring on 2025-11-14 with a strike price of $240. For more information on the OCC format, see [here](https://en.wikipedia.org/wiki/Option_symbol#OCC_format) **Note:** These are derived values and are not suitable for trading purposes. **This Endpoint is deprecated and will cease to return data as of October 1, 2026**
7225
+ * **Deprecated.** This endpoint was sunset on October 1, 2026 and now always returns `410 Gone`. Returns a quote for a single option contract. The option contract is specified using in the 21 character OCC format. For example `AAPL 251114C00240000` represents a call option on AAPL expiring on 2025-11-14 with a strike price of $240. For more information on the OCC format, see [here](https://en.wikipedia.org/wiki/Option_symbol#OCC_format) **Note:** These are derived values and are not suitable for trading purposes.
6994
7226
  * @summary Get option quote
6995
7227
  * @param {TradingApiGetUserAccountOptionQuotesRequest<TAuth>} requestParameters Request parameters.
6996
7228
  * @param {*} [options] Override http request option.
@@ -7151,7 +7383,7 @@ var Configuration = class {
7151
7383
  }
7152
7384
  this.basePath = param.basePath;
7153
7385
  this.baseOptions = param.baseOptions ?? {};
7154
- this.userAgent = param.userAgent === void 0 ? "Konfig/12.2.15/typescript" : param.userAgent;
7386
+ this.userAgent = param.userAgent === void 0 ? "Konfig/12.2.17/typescript" : param.userAgent;
7155
7387
  this.formDataCtor = param.formDataCtor;
7156
7388
  }
7157
7389
  /**