snaptrade-typescript-sdk 13.2.1 → 13.2.3

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
@@ -659,7 +659,7 @@ const AccountInformationApiAxiosParamCreator = function(configuration) {
659
659
  };
660
660
  },
661
661
  /**
662
- * Returns a list of all positions in the specified account. The `results` list can contain multiple instrument types in the same response, including stocks, ADRs, ETFs, mutual funds, closed-end funds, bonds, crypto, futures, option positions, future option positions, CFD positions, and tokenized asset positions. Use the `instrument.kind` discriminator to determine the schema for each position\'s `instrument`. **Beta:** future option positions (`instrument.kind: future_option`) are in beta. They are currently returned only for tastytrade and Interactive Brokers connections, and only for partners they have been enabled for — please contact the SnapTrade team to enable them. The `FutureOptionInstrument` schema may change. Positions counted in account cash balance or buying power include `cash_equivalent: true`. Security positions (`stock`, `adr`, `etf`, `mutualfund`, `cef`, `crypto`, `bond`, and `other`) may include `tax_lots` when tax lot data is enabled for the account; derivative, CFD, tokenized asset, and cash positions never do. To see which institutions support tax lot data, please see our [supported institutions doc](https://support.snaptrade.com/brokerages). If the connection has become disabled, it can no longer access the latest data from the brokerage, 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.
662
+ * Returns a list of all positions in the specified account. The `results` list can contain multiple instrument types in the same response, including stocks, preferred stocks, ADRs, ETFs, mutual funds, closed-end funds, bonds, crypto, futures, option positions, future option positions, CFD positions, and tokenized asset positions. Use the `instrument.kind` discriminator to determine the schema for each position\'s `instrument`. **Beta:** future option positions (`instrument.kind: future_option`) are in beta. They are currently returned only for tastytrade and Interactive Brokers connections, and only for partners they have been enabled for — please contact the SnapTrade team to enable them. The `FutureOptionInstrument` schema may change. Positions counted in account cash balance or buying power include `cash_equivalent: true`. Security positions (`stock`, `preferred_stock`, `adr`, `etf`, `mutualfund`, `cef`, `crypto`, `bond`, and `other`) may include `tax_lots` when tax lot data is enabled for the account; derivative, CFD, tokenized asset, and cash positions never do. To see which institutions support tax lot data, please see our [supported institutions doc](https://support.snaptrade.com/brokerages). If the connection has become disabled, it can no longer access the latest data from the brokerage, 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.
663
663
  * @summary List all account positions
664
664
  * @param {string} accountId
665
665
  * @param {string} [userId]
@@ -1637,7 +1637,7 @@ const AccountInformationApiFp = function(configuration) {
1637
1637
  });
1638
1638
  },
1639
1639
  /**
1640
- * Returns a list of all positions in the specified account. The `results` list can contain multiple instrument types in the same response, including stocks, ADRs, ETFs, mutual funds, closed-end funds, bonds, crypto, futures, option positions, future option positions, CFD positions, and tokenized asset positions. Use the `instrument.kind` discriminator to determine the schema for each position\'s `instrument`. **Beta:** future option positions (`instrument.kind: future_option`) are in beta. They are currently returned only for tastytrade and Interactive Brokers connections, and only for partners they have been enabled for — please contact the SnapTrade team to enable them. The `FutureOptionInstrument` schema may change. Positions counted in account cash balance or buying power include `cash_equivalent: true`. Security positions (`stock`, `adr`, `etf`, `mutualfund`, `cef`, `crypto`, `bond`, and `other`) may include `tax_lots` when tax lot data is enabled for the account; derivative, CFD, tokenized asset, and cash positions never do. To see which institutions support tax lot data, please see our [supported institutions doc](https://support.snaptrade.com/brokerages). If the connection has become disabled, it can no longer access the latest data from the brokerage, 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.
1640
+ * Returns a list of all positions in the specified account. The `results` list can contain multiple instrument types in the same response, including stocks, preferred stocks, ADRs, ETFs, mutual funds, closed-end funds, bonds, crypto, futures, option positions, future option positions, CFD positions, and tokenized asset positions. Use the `instrument.kind` discriminator to determine the schema for each position\'s `instrument`. **Beta:** future option positions (`instrument.kind: future_option`) are in beta. They are currently returned only for tastytrade and Interactive Brokers connections, and only for partners they have been enabled for — please contact the SnapTrade team to enable them. The `FutureOptionInstrument` schema may change. Positions counted in account cash balance or buying power include `cash_equivalent: true`. Security positions (`stock`, `preferred_stock`, `adr`, `etf`, `mutualfund`, `cef`, `crypto`, `bond`, and `other`) may include `tax_lots` when tax lot data is enabled for the account; derivative, CFD, tokenized asset, and cash positions never do. To see which institutions support tax lot data, please see our [supported institutions doc](https://support.snaptrade.com/brokerages). If the connection has become disabled, it can no longer access the latest data from the brokerage, 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.
1641
1641
  * @summary List all account positions
1642
1642
  * @param {AccountInformationApiGetAllAccountPositionsRequest<TAuth>} requestParameters Request parameters.
1643
1643
  * @param {*} [options] Override http request option.
@@ -1983,7 +1983,7 @@ const AccountInformationApiFactory = function(configuration, basePath, axios$10)
1983
1983
  return localVarFp.getAccountDetails(...args).then((request) => request(axios$10, basePath));
1984
1984
  },
1985
1985
  /**
1986
- * Returns a list of all positions in the specified account. The `results` list can contain multiple instrument types in the same response, including stocks, ADRs, ETFs, mutual funds, closed-end funds, bonds, crypto, futures, option positions, future option positions, CFD positions, and tokenized asset positions. Use the `instrument.kind` discriminator to determine the schema for each position\'s `instrument`. **Beta:** future option positions (`instrument.kind: future_option`) are in beta. They are currently returned only for tastytrade and Interactive Brokers connections, and only for partners they have been enabled for — please contact the SnapTrade team to enable them. The `FutureOptionInstrument` schema may change. Positions counted in account cash balance or buying power include `cash_equivalent: true`. Security positions (`stock`, `adr`, `etf`, `mutualfund`, `cef`, `crypto`, `bond`, and `other`) may include `tax_lots` when tax lot data is enabled for the account; derivative, CFD, tokenized asset, and cash positions never do. To see which institutions support tax lot data, please see our [supported institutions doc](https://support.snaptrade.com/brokerages). If the connection has become disabled, it can no longer access the latest data from the brokerage, 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.
1986
+ * Returns a list of all positions in the specified account. The `results` list can contain multiple instrument types in the same response, including stocks, preferred stocks, ADRs, ETFs, mutual funds, closed-end funds, bonds, crypto, futures, option positions, future option positions, CFD positions, and tokenized asset positions. Use the `instrument.kind` discriminator to determine the schema for each position\'s `instrument`. **Beta:** future option positions (`instrument.kind: future_option`) are in beta. They are currently returned only for tastytrade and Interactive Brokers connections, and only for partners they have been enabled for — please contact the SnapTrade team to enable them. The `FutureOptionInstrument` schema may change. Positions counted in account cash balance or buying power include `cash_equivalent: true`. Security positions (`stock`, `preferred_stock`, `adr`, `etf`, `mutualfund`, `cef`, `crypto`, `bond`, and `other`) may include `tax_lots` when tax lot data is enabled for the account; derivative, CFD, tokenized asset, and cash positions never do. To see which institutions support tax lot data, please see our [supported institutions doc](https://support.snaptrade.com/brokerages). If the connection has become disabled, it can no longer access the latest data from the brokerage, 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.
1987
1987
  * @summary List all account positions
1988
1988
  * @param {AccountInformationApiGetAllAccountPositionsRequest<TAuth>} requestParameters Request parameters.
1989
1989
  * @param {*} [options] Override http request option.
@@ -2149,7 +2149,7 @@ var AccountInformationApiGenerated = class extends BaseAPI {
2149
2149
  return AccountInformationApiFp(this.configuration).getAccountDetails(...args).then((request) => request(this.axios, this.basePath));
2150
2150
  }
2151
2151
  /**
2152
- * Returns a list of all positions in the specified account. The `results` list can contain multiple instrument types in the same response, including stocks, ADRs, ETFs, mutual funds, closed-end funds, bonds, crypto, futures, option positions, future option positions, CFD positions, and tokenized asset positions. Use the `instrument.kind` discriminator to determine the schema for each position\'s `instrument`. **Beta:** future option positions (`instrument.kind: future_option`) are in beta. They are currently returned only for tastytrade and Interactive Brokers connections, and only for partners they have been enabled for — please contact the SnapTrade team to enable them. The `FutureOptionInstrument` schema may change. Positions counted in account cash balance or buying power include `cash_equivalent: true`. Security positions (`stock`, `adr`, `etf`, `mutualfund`, `cef`, `crypto`, `bond`, and `other`) may include `tax_lots` when tax lot data is enabled for the account; derivative, CFD, tokenized asset, and cash positions never do. To see which institutions support tax lot data, please see our [supported institutions doc](https://support.snaptrade.com/brokerages). If the connection has become disabled, it can no longer access the latest data from the brokerage, 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.
2152
+ * Returns a list of all positions in the specified account. The `results` list can contain multiple instrument types in the same response, including stocks, preferred stocks, ADRs, ETFs, mutual funds, closed-end funds, bonds, crypto, futures, option positions, future option positions, CFD positions, and tokenized asset positions. Use the `instrument.kind` discriminator to determine the schema for each position\'s `instrument`. **Beta:** future option positions (`instrument.kind: future_option`) are in beta. They are currently returned only for tastytrade and Interactive Brokers connections, and only for partners they have been enabled for — please contact the SnapTrade team to enable them. The `FutureOptionInstrument` schema may change. Positions counted in account cash balance or buying power include `cash_equivalent: true`. Security positions (`stock`, `preferred_stock`, `adr`, `etf`, `mutualfund`, `cef`, `crypto`, `bond`, and `other`) may include `tax_lots` when tax lot data is enabled for the account; derivative, CFD, tokenized asset, and cash positions never do. To see which institutions support tax lot data, please see our [supported institutions doc](https://support.snaptrade.com/brokerages). If the connection has become disabled, it can no longer access the latest data from the brokerage, 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.
2153
2153
  * @summary List all account positions
2154
2154
  * @param {AccountInformationApiGetAllAccountPositionsRequest<TAuth>} requestParameters Request parameters.
2155
2155
  * @param {*} [options] Override http request option.
@@ -4328,6 +4328,81 @@ const ExperimentalEndpointsApiAxiosParamCreator = function(configuration) {
4328
4328
  };
4329
4329
  },
4330
4330
  /**
4331
+ * A lightweight endpoint that returns the latest page of orders placed in the last 24 hours in the specified account, in the same `kind`-discriminated format as `/accounts/{accountId}/orders/all`. For most brokerages, the default page size is 100 meaning the endpoint will return a max of 100 orders. This endpoint is realtime and can be used to quickly check if account state has recently changed due to an execution, or check status of recently placed orders. Differs from `/accounts/{accountId}/orders/all` in that it is always realtime, and only checks the last 24 hours as opposed to the last 30 days. By default only returns executed orders, but that can be changed by setting *only_executed* to false. Every order carries a `legs` list with at least one leg; switch on `legs[].instrument.kind` and `order_type.kind` to know which fields are present. `data_freshness.as_of` is the time of this live request. **Experimental:** this endpoint may change without notice. **Because of the cost of realtime requests, each call to this endpoint incurs an additional charge. You can find the exact cost for your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing)**
4332
+ * @summary List all account recent orders (last 24 hours only)
4333
+ * @param {string} accountId
4334
+ * @param {boolean} [onlyExecuted] Defaults to true. Indicates if request should fetch only executed orders. Set to false to retrieve non executed orders as well
4335
+ * @param {string} [userId]
4336
+ * @param {string} [userSecret]
4337
+ * @param {*} [options] Override http request option.
4338
+ * @throws {RequiredError}
4339
+ */
4340
+ getAllAccountRecentOrders: async (accountId, onlyExecuted, userId, userSecret, options = {}) => {
4341
+ assertParamExists("getAllAccountRecentOrders", "accountId", accountId);
4342
+ const localVarPath = `/accounts/{accountId}/orders/recent`.replace(`{accountId}`, encodeURIComponent(String(accountId !== void 0 ? accountId : `-accountId-`)));
4343
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4344
+ let baseOptions;
4345
+ if (configuration) baseOptions = configuration.baseOptions;
4346
+ const localVarRequestOptions = {
4347
+ method: "GET",
4348
+ ...baseOptions,
4349
+ ...options
4350
+ };
4351
+ const localVarHeaderParameter = configuration && !isBrowser() ? { "User-Agent": configuration.userAgent } : {};
4352
+ const localVarQueryParameter = {};
4353
+ if (configuration?.authMode === "commercialApiKey") {
4354
+ await setApiKeyToObject({
4355
+ object: localVarQueryParameter,
4356
+ key: "clientId",
4357
+ keyParamName: "clientId",
4358
+ configuration
4359
+ });
4360
+ if (userId !== void 0) localVarQueryParameter["userId"] = userId;
4361
+ if (userSecret !== void 0) localVarQueryParameter["userSecret"] = userSecret;
4362
+ }
4363
+ if (configuration?.authMode === "personalApiKey") await setApiKeyToObject({
4364
+ object: localVarQueryParameter,
4365
+ key: "clientId",
4366
+ keyParamName: "clientId",
4367
+ configuration
4368
+ });
4369
+ if (onlyExecuted !== void 0) localVarQueryParameter["only_executed"] = onlyExecuted;
4370
+ const localVarOperationAuth = {
4371
+ authModes: ["commercialApiKey", "personalApiKey"],
4372
+ requestSigningByAuthMode: {
4373
+ "commercialApiKey": {
4374
+ secretParameter: "consumerKey",
4375
+ signedSecuritySchemes: ["PartnerSignature", "PartnerTimestamp"]
4376
+ },
4377
+ "personalApiKey": {
4378
+ secretParameter: "consumerKey",
4379
+ signedSecuritySchemes: ["PersonalSignature", "PersonalTimestamp"]
4380
+ }
4381
+ },
4382
+ selectedAuthMode: configuration?.authMode
4383
+ };
4384
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4385
+ localVarRequestOptions.headers = {
4386
+ ...localVarHeaderParameter,
4387
+ ...headersFromBaseOptions,
4388
+ ...options.headers
4389
+ };
4390
+ requestBeforeHook({
4391
+ queryParameters: localVarQueryParameter,
4392
+ requestConfig: localVarRequestOptions,
4393
+ path: localVarPath,
4394
+ configuration,
4395
+ pathTemplate: "/accounts/{accountId}/orders/recent",
4396
+ httpMethod: "GET",
4397
+ operationAuth: localVarOperationAuth
4398
+ });
4399
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4400
+ return {
4401
+ url: toPathString(localVarUrlObj),
4402
+ options: localVarRequestOptions
4403
+ };
4404
+ },
4405
+ /**
4331
4406
  * 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.
4332
4407
  * @summary Get account order detail (V2)
4333
4408
  * @param {string} accountId
@@ -4801,6 +4876,29 @@ const ExperimentalEndpointsApiFp = function(configuration) {
4801
4876
  });
4802
4877
  },
4803
4878
  /**
4879
+ * A lightweight endpoint that returns the latest page of orders placed in the last 24 hours in the specified account, in the same `kind`-discriminated format as `/accounts/{accountId}/orders/all`. For most brokerages, the default page size is 100 meaning the endpoint will return a max of 100 orders. This endpoint is realtime and can be used to quickly check if account state has recently changed due to an execution, or check status of recently placed orders. Differs from `/accounts/{accountId}/orders/all` in that it is always realtime, and only checks the last 24 hours as opposed to the last 30 days. By default only returns executed orders, but that can be changed by setting *only_executed* to false. Every order carries a `legs` list with at least one leg; switch on `legs[].instrument.kind` and `order_type.kind` to know which fields are present. `data_freshness.as_of` is the time of this live request. **Experimental:** this endpoint may change without notice. **Because of the cost of realtime requests, each call to this endpoint incurs an additional charge. You can find the exact cost for your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing)**
4880
+ * @summary List all account recent orders (last 24 hours only)
4881
+ * @param {ExperimentalEndpointsApiGetAllAccountRecentOrdersRequest<TAuth>} requestParameters Request parameters.
4882
+ * @param {*} [options] Override http request option.
4883
+ * @throws {RequiredError}
4884
+ */
4885
+ async getAllAccountRecentOrders(...args) {
4886
+ const [requestParameters = {}, options] = args;
4887
+ return createRequestFunction(await localVarAxiosParamCreator.getAllAccountRecentOrders(requestParameters.accountId, requestParameters.onlyExecuted, requestParameters.userId, requestParameters.userSecret, options), axios.default, BASE_PATH, configuration, {
4888
+ authModes: ["commercialApiKey", "personalApiKey"],
4889
+ requestSigningByAuthMode: {
4890
+ "commercialApiKey": {
4891
+ secretParameter: "consumerKey",
4892
+ signedSecuritySchemes: ["PartnerSignature", "PartnerTimestamp"]
4893
+ },
4894
+ "personalApiKey": {
4895
+ secretParameter: "consumerKey",
4896
+ signedSecuritySchemes: ["PersonalSignature", "PersonalTimestamp"]
4897
+ }
4898
+ }
4899
+ });
4900
+ },
4901
+ /**
4804
4902
  * 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.
4805
4903
  * @summary Get account order detail (V2)
4806
4904
  * @param {ExperimentalEndpointsApiGetUserAccountOrderDetailV2Request<TAuth>} requestParameters Request parameters.
@@ -4982,6 +5080,16 @@ const ExperimentalEndpointsApiFactory = function(configuration, basePath, axios$
4982
5080
  return localVarFp.getAllAccountOrders(...args).then((request) => request(axios$6, basePath));
4983
5081
  },
4984
5082
  /**
5083
+ * A lightweight endpoint that returns the latest page of orders placed in the last 24 hours in the specified account, in the same `kind`-discriminated format as `/accounts/{accountId}/orders/all`. For most brokerages, the default page size is 100 meaning the endpoint will return a max of 100 orders. This endpoint is realtime and can be used to quickly check if account state has recently changed due to an execution, or check status of recently placed orders. Differs from `/accounts/{accountId}/orders/all` in that it is always realtime, and only checks the last 24 hours as opposed to the last 30 days. By default only returns executed orders, but that can be changed by setting *only_executed* to false. Every order carries a `legs` list with at least one leg; switch on `legs[].instrument.kind` and `order_type.kind` to know which fields are present. `data_freshness.as_of` is the time of this live request. **Experimental:** this endpoint may change without notice. **Because of the cost of realtime requests, each call to this endpoint incurs an additional charge. You can find the exact cost for your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing)**
5084
+ * @summary List all account recent orders (last 24 hours only)
5085
+ * @param {ExperimentalEndpointsApiGetAllAccountRecentOrdersRequest<TAuth>} requestParameters Request parameters.
5086
+ * @param {*} [options] Override http request option.
5087
+ * @throws {RequiredError}
5088
+ */
5089
+ getAllAccountRecentOrders(...args) {
5090
+ return localVarFp.getAllAccountRecentOrders(...args).then((request) => request(axios$6, basePath));
5091
+ },
5092
+ /**
4985
5093
  * 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.
4986
5094
  * @summary Get account order detail (V2)
4987
5095
  * @param {ExperimentalEndpointsApiGetUserAccountOrderDetailV2Request<TAuth>} requestParameters Request parameters.
@@ -5073,6 +5181,17 @@ var ExperimentalEndpointsApiGenerated = class extends BaseAPI {
5073
5181
  return ExperimentalEndpointsApiFp(this.configuration).getAllAccountOrders(...args).then((request) => request(this.axios, this.basePath));
5074
5182
  }
5075
5183
  /**
5184
+ * A lightweight endpoint that returns the latest page of orders placed in the last 24 hours in the specified account, in the same `kind`-discriminated format as `/accounts/{accountId}/orders/all`. For most brokerages, the default page size is 100 meaning the endpoint will return a max of 100 orders. This endpoint is realtime and can be used to quickly check if account state has recently changed due to an execution, or check status of recently placed orders. Differs from `/accounts/{accountId}/orders/all` in that it is always realtime, and only checks the last 24 hours as opposed to the last 30 days. By default only returns executed orders, but that can be changed by setting *only_executed* to false. Every order carries a `legs` list with at least one leg; switch on `legs[].instrument.kind` and `order_type.kind` to know which fields are present. `data_freshness.as_of` is the time of this live request. **Experimental:** this endpoint may change without notice. **Because of the cost of realtime requests, each call to this endpoint incurs an additional charge. You can find the exact cost for your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing)**
5185
+ * @summary List all account recent orders (last 24 hours only)
5186
+ * @param {ExperimentalEndpointsApiGetAllAccountRecentOrdersRequest<TAuth>} requestParameters Request parameters.
5187
+ * @param {*} [options] Override http request option.
5188
+ * @throws {RequiredError}
5189
+ * @memberof ExperimentalEndpointsApiGenerated
5190
+ */
5191
+ getAllAccountRecentOrders(...args) {
5192
+ return ExperimentalEndpointsApiFp(this.configuration).getAllAccountRecentOrders(...args).then((request) => request(this.axios, this.basePath));
5193
+ }
5194
+ /**
5076
5195
  * 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.
5077
5196
  * @summary Get account order detail (V2)
5078
5197
  * @param {ExperimentalEndpointsApiGetUserAccountOrderDetailV2Request<TAuth>} requestParameters Request parameters.
@@ -8453,7 +8572,7 @@ var Configuration = class {
8453
8572
  if (param.auth.mode === "oauth") this.accessToken = param.auth.accessToken;
8454
8573
  this.basePath = param.basePath;
8455
8574
  this.baseOptions = param.baseOptions ?? {};
8456
- this.userAgent = param.userAgent === void 0 ? "Konfig/13.2.1/typescript" : param.userAgent;
8575
+ this.userAgent = param.userAgent === void 0 ? "Konfig/13.2.3/typescript" : param.userAgent;
8457
8576
  this.formDataCtor = param.formDataCtor;
8458
8577
  }
8459
8578
  /**