snaptrade-typescript-sdk 10.0.2 → 10.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/index.browser.mjs +10336 -0
- package/dist/index.cjs +5 -5
- package/dist/index.d.cts +10806 -1
- package/dist/index.d.mts +4 -4
- package/dist/index.d.ts +10806 -1
- package/dist/index.mjs +5 -5
- package/package.json +6 -1
package/dist/index.cjs
CHANGED
|
@@ -2628,7 +2628,7 @@ const ConnectionsApiAxiosParamCreator = function(configuration) {
|
|
|
2628
2628
|
};
|
|
2629
2629
|
},
|
|
2630
2630
|
/**
|
|
2631
|
-
* 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. This endpoint will also trigger a transaction sync for the past day if one has not yet occurred. **Because of the cost of refreshing a connection, 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)** **Please note this endpoint is disabled for Pay as you Go
|
|
2631
|
+
* 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. This endpoint will also trigger a transaction sync for the past day if one has not yet occurred. **Because of the cost of refreshing a connection, 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)** **Please note this endpoint is disabled for Personal and Pay as you Go Real-time plans. Real-time plans do not benefit from this feature since data is refreshed when calls are made**
|
|
2632
2632
|
* @summary Refresh holdings for a connection
|
|
2633
2633
|
* @param {string} authorizationId
|
|
2634
2634
|
* @param {string} userId
|
|
@@ -3008,7 +3008,7 @@ const ConnectionsApiFp = function(configuration) {
|
|
|
3008
3008
|
return createRequestFunction(await localVarAxiosParamCreator.listBrokerageAuthorizations(requestParameters.userId, requestParameters.userSecret, options), axios.default, BASE_PATH, configuration);
|
|
3009
3009
|
},
|
|
3010
3010
|
/**
|
|
3011
|
-
* 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. This endpoint will also trigger a transaction sync for the past day if one has not yet occurred. **Because of the cost of refreshing a connection, 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)** **Please note this endpoint is disabled for Pay as you Go
|
|
3011
|
+
* 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. This endpoint will also trigger a transaction sync for the past day if one has not yet occurred. **Because of the cost of refreshing a connection, 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)** **Please note this endpoint is disabled for Personal and Pay as you Go Real-time plans. Real-time plans do not benefit from this feature since data is refreshed when calls are made**
|
|
3012
3012
|
* @summary Refresh holdings for a connection
|
|
3013
3013
|
* @param {ConnectionsApiRefreshBrokerageAuthorizationRequest} requestParameters Request parameters.
|
|
3014
3014
|
* @param {*} [options] Override http request option.
|
|
@@ -3117,7 +3117,7 @@ const ConnectionsApiFactory = function(configuration, basePath, axios$6) {
|
|
|
3117
3117
|
return localVarFp.listBrokerageAuthorizations(requestParameters, options).then((request) => request(axios$6, basePath));
|
|
3118
3118
|
},
|
|
3119
3119
|
/**
|
|
3120
|
-
* 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. This endpoint will also trigger a transaction sync for the past day if one has not yet occurred. **Because of the cost of refreshing a connection, 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)** **Please note this endpoint is disabled for Pay as you Go
|
|
3120
|
+
* 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. This endpoint will also trigger a transaction sync for the past day if one has not yet occurred. **Because of the cost of refreshing a connection, 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)** **Please note this endpoint is disabled for Personal and Pay as you Go Real-time plans. Real-time plans do not benefit from this feature since data is refreshed when calls are made**
|
|
3121
3121
|
* @summary Refresh holdings for a connection
|
|
3122
3122
|
* @param {ConnectionsApiRefreshBrokerageAuthorizationRequest} requestParameters Request parameters.
|
|
3123
3123
|
* @param {*} [options] Override http request option.
|
|
@@ -3231,7 +3231,7 @@ var ConnectionsApiGenerated = class extends BaseAPI {
|
|
|
3231
3231
|
return ConnectionsApiFp(this.configuration).listBrokerageAuthorizations(requestParameters, options).then((request) => request(this.axios, this.basePath));
|
|
3232
3232
|
}
|
|
3233
3233
|
/**
|
|
3234
|
-
* 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. This endpoint will also trigger a transaction sync for the past day if one has not yet occurred. **Because of the cost of refreshing a connection, 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)** **Please note this endpoint is disabled for Pay as you Go
|
|
3234
|
+
* 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. This endpoint will also trigger a transaction sync for the past day if one has not yet occurred. **Because of the cost of refreshing a connection, 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)** **Please note this endpoint is disabled for Personal and Pay as you Go Real-time plans. Real-time plans do not benefit from this feature since data is refreshed when calls are made**
|
|
3235
3235
|
* @summary Refresh holdings for a connection
|
|
3236
3236
|
* @param {ConnectionsApiRefreshBrokerageAuthorizationRequest} requestParameters Request parameters.
|
|
3237
3237
|
* @param {*} [options] Override http request option.
|
|
@@ -7122,7 +7122,7 @@ var Configuration = class {
|
|
|
7122
7122
|
this.accessToken = param.accessToken;
|
|
7123
7123
|
this.basePath = param.basePath;
|
|
7124
7124
|
this.baseOptions = param.baseOptions ?? {};
|
|
7125
|
-
this.userAgent = param.userAgent === void 0 ? "Konfig/10.0.
|
|
7125
|
+
this.userAgent = param.userAgent === void 0 ? "Konfig/10.0.4/typescript" : param.userAgent;
|
|
7126
7126
|
this.formDataCtor = param.formDataCtor;
|
|
7127
7127
|
}
|
|
7128
7128
|
/**
|