snaptrade-typescript-sdk 9.0.181 → 9.0.187
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 +56 -3
- package/dist/api/account-information-api-generated.d.ts +16 -9
- package/dist/api/account-information-api-generated.js +14 -10
- package/dist/api/connections-api-generated.d.ts +16 -9
- package/dist/api/connections-api-generated.js +14 -10
- package/dist/api/experimental-endpoints-api-generated.d.ts +61 -0
- package/dist/api/experimental-endpoints-api-generated.js +89 -0
- package/dist/api/transactions-and-reporting-api-generated.d.ts +4 -4
- package/dist/api/transactions-and-reporting-api-generated.js +4 -4
- package/dist/browser.js +1 -1
- package/dist/configuration.js +1 -1
- package/dist/models/account.d.ts +7 -0
- package/dist/models/brokerage-authorization-transactions-sync-confirmation.d.ts +14 -0
- package/dist/models/brokerage-authorization-transactions-sync-confirmation.js +2 -0
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/dist/models/rate-of-return-object.d.ts +1 -1
- package/dist/models/transactions-status.d.ts +1 -1
- package/dist/operationParameterMap.js +19 -0
- package/package.json +1 -1
|
@@ -4,6 +4,7 @@ import { RequestArgs, BaseAPI } from '../base';
|
|
|
4
4
|
import { AccountOrderRecordV2 } from '../models';
|
|
5
5
|
import { AccountOrdersV2Response } from '../models';
|
|
6
6
|
import { AccountValueHistoryResponse } from '../models';
|
|
7
|
+
import { BrokerageAuthorizationTransactionsSyncConfirmation } from '../models';
|
|
7
8
|
/**
|
|
8
9
|
* ExperimentalEndpointsApi - axios parameter creator
|
|
9
10
|
* @export
|
|
@@ -53,6 +54,16 @@ export declare const ExperimentalEndpointsApiAxiosParamCreator: (configuration?:
|
|
|
53
54
|
* @throws {RequiredError}
|
|
54
55
|
*/
|
|
55
56
|
getUserAccountRecentOrdersV2: (userId: string, userSecret: string, accountId: string, onlyExecuted?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
57
|
+
/**
|
|
58
|
+
* Trigger a transactions sync for all accounts under this connection. Updates will be queued asynchronously. Transactions are not updated intra-day, but calling this endpoint can ensure that the previous day\'s transactions have been synced. For more information on sync behaviour, see: https://docs.snaptrade.com/docs/syncing
|
|
59
|
+
* @summary Sync transactions for a connection
|
|
60
|
+
* @param {string} authorizationId
|
|
61
|
+
* @param {string} userId
|
|
62
|
+
* @param {string} userSecret
|
|
63
|
+
* @param {*} [options] Override http request option.
|
|
64
|
+
* @throws {RequiredError}
|
|
65
|
+
*/
|
|
66
|
+
syncBrokerageAuthorizationTransactions: (authorizationId: string, userId: string, userSecret: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
56
67
|
};
|
|
57
68
|
/**
|
|
58
69
|
* ExperimentalEndpointsApi - functional programming interface
|
|
@@ -91,6 +102,14 @@ export declare const ExperimentalEndpointsApiFp: (configuration?: Configuration)
|
|
|
91
102
|
* @throws {RequiredError}
|
|
92
103
|
*/
|
|
93
104
|
getUserAccountRecentOrdersV2(requestParameters: ExperimentalEndpointsApiGetUserAccountRecentOrdersV2Request, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountOrdersV2Response>>;
|
|
105
|
+
/**
|
|
106
|
+
* Trigger a transactions sync for all accounts under this connection. Updates will be queued asynchronously. Transactions are not updated intra-day, but calling this endpoint can ensure that the previous day\'s transactions have been synced. For more information on sync behaviour, see: https://docs.snaptrade.com/docs/syncing
|
|
107
|
+
* @summary Sync transactions for a connection
|
|
108
|
+
* @param {ExperimentalEndpointsApiSyncBrokerageAuthorizationTransactionsRequest} requestParameters Request parameters.
|
|
109
|
+
* @param {*} [options] Override http request option.
|
|
110
|
+
* @throws {RequiredError}
|
|
111
|
+
*/
|
|
112
|
+
syncBrokerageAuthorizationTransactions(requestParameters: ExperimentalEndpointsApiSyncBrokerageAuthorizationTransactionsRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BrokerageAuthorizationTransactionsSyncConfirmation>>;
|
|
94
113
|
};
|
|
95
114
|
/**
|
|
96
115
|
* ExperimentalEndpointsApi - factory interface
|
|
@@ -129,6 +148,14 @@ export declare const ExperimentalEndpointsApiFactory: (configuration?: Configura
|
|
|
129
148
|
* @throws {RequiredError}
|
|
130
149
|
*/
|
|
131
150
|
getUserAccountRecentOrdersV2(requestParameters: ExperimentalEndpointsApiGetUserAccountRecentOrdersV2Request, options?: AxiosRequestConfig): AxiosPromise<AccountOrdersV2Response>;
|
|
151
|
+
/**
|
|
152
|
+
* Trigger a transactions sync for all accounts under this connection. Updates will be queued asynchronously. Transactions are not updated intra-day, but calling this endpoint can ensure that the previous day\'s transactions have been synced. For more information on sync behaviour, see: https://docs.snaptrade.com/docs/syncing
|
|
153
|
+
* @summary Sync transactions for a connection
|
|
154
|
+
* @param {ExperimentalEndpointsApiSyncBrokerageAuthorizationTransactionsRequest} requestParameters Request parameters.
|
|
155
|
+
* @param {*} [options] Override http request option.
|
|
156
|
+
* @throws {RequiredError}
|
|
157
|
+
*/
|
|
158
|
+
syncBrokerageAuthorizationTransactions(requestParameters: ExperimentalEndpointsApiSyncBrokerageAuthorizationTransactionsRequest, options?: AxiosRequestConfig): AxiosPromise<BrokerageAuthorizationTransactionsSyncConfirmation>;
|
|
132
159
|
};
|
|
133
160
|
/**
|
|
134
161
|
* Request parameters for getAccountBalanceHistory operation in ExperimentalEndpointsApi.
|
|
@@ -254,6 +281,31 @@ export type ExperimentalEndpointsApiGetUserAccountRecentOrdersV2Request = {
|
|
|
254
281
|
*/
|
|
255
282
|
readonly onlyExecuted?: boolean;
|
|
256
283
|
};
|
|
284
|
+
/**
|
|
285
|
+
* Request parameters for syncBrokerageAuthorizationTransactions operation in ExperimentalEndpointsApi.
|
|
286
|
+
* @export
|
|
287
|
+
* @interface ExperimentalEndpointsApiSyncBrokerageAuthorizationTransactionsRequest
|
|
288
|
+
*/
|
|
289
|
+
export type ExperimentalEndpointsApiSyncBrokerageAuthorizationTransactionsRequest = {
|
|
290
|
+
/**
|
|
291
|
+
*
|
|
292
|
+
* @type {string}
|
|
293
|
+
* @memberof ExperimentalEndpointsApiSyncBrokerageAuthorizationTransactions
|
|
294
|
+
*/
|
|
295
|
+
readonly authorizationId: string;
|
|
296
|
+
/**
|
|
297
|
+
*
|
|
298
|
+
* @type {string}
|
|
299
|
+
* @memberof ExperimentalEndpointsApiSyncBrokerageAuthorizationTransactions
|
|
300
|
+
*/
|
|
301
|
+
readonly userId: string;
|
|
302
|
+
/**
|
|
303
|
+
*
|
|
304
|
+
* @type {string}
|
|
305
|
+
* @memberof ExperimentalEndpointsApiSyncBrokerageAuthorizationTransactions
|
|
306
|
+
*/
|
|
307
|
+
readonly userSecret: string;
|
|
308
|
+
};
|
|
257
309
|
/**
|
|
258
310
|
* ExperimentalEndpointsApiGenerated - object-oriented interface
|
|
259
311
|
* @export
|
|
@@ -297,4 +349,13 @@ export declare class ExperimentalEndpointsApiGenerated extends BaseAPI {
|
|
|
297
349
|
* @memberof ExperimentalEndpointsApiGenerated
|
|
298
350
|
*/
|
|
299
351
|
getUserAccountRecentOrdersV2(requestParameters: ExperimentalEndpointsApiGetUserAccountRecentOrdersV2Request, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AccountOrdersV2Response, any, {}>>;
|
|
352
|
+
/**
|
|
353
|
+
* Trigger a transactions sync for all accounts under this connection. Updates will be queued asynchronously. Transactions are not updated intra-day, but calling this endpoint can ensure that the previous day\'s transactions have been synced. For more information on sync behaviour, see: https://docs.snaptrade.com/docs/syncing
|
|
354
|
+
* @summary Sync transactions for a connection
|
|
355
|
+
* @param {ExperimentalEndpointsApiSyncBrokerageAuthorizationTransactionsRequest} requestParameters Request parameters.
|
|
356
|
+
* @param {*} [options] Override http request option.
|
|
357
|
+
* @throws {RequiredError}
|
|
358
|
+
* @memberof ExperimentalEndpointsApiGenerated
|
|
359
|
+
*/
|
|
360
|
+
syncBrokerageAuthorizationTransactions(requestParameters: ExperimentalEndpointsApiSyncBrokerageAuthorizationTransactionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<BrokerageAuthorizationTransactionsSyncConfirmation, any, {}>>;
|
|
300
361
|
}
|
|
@@ -271,6 +271,61 @@ const ExperimentalEndpointsApiAxiosParamCreator = function (configuration) {
|
|
|
271
271
|
options: localVarRequestOptions,
|
|
272
272
|
};
|
|
273
273
|
}),
|
|
274
|
+
/**
|
|
275
|
+
* Trigger a transactions sync for all accounts under this connection. Updates will be queued asynchronously. Transactions are not updated intra-day, but calling this endpoint can ensure that the previous day\'s transactions have been synced. For more information on sync behaviour, see: https://docs.snaptrade.com/docs/syncing
|
|
276
|
+
* @summary Sync transactions for a connection
|
|
277
|
+
* @param {string} authorizationId
|
|
278
|
+
* @param {string} userId
|
|
279
|
+
* @param {string} userSecret
|
|
280
|
+
* @param {*} [options] Override http request option.
|
|
281
|
+
* @throws {RequiredError}
|
|
282
|
+
*/
|
|
283
|
+
syncBrokerageAuthorizationTransactions: (authorizationId, userId, userSecret, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
284
|
+
// verify required parameter 'authorizationId' is not null or undefined
|
|
285
|
+
(0, common_1.assertParamExists)('syncBrokerageAuthorizationTransactions', 'authorizationId', authorizationId);
|
|
286
|
+
// verify required parameter 'userId' is not null or undefined
|
|
287
|
+
(0, common_1.assertParamExists)('syncBrokerageAuthorizationTransactions', 'userId', userId);
|
|
288
|
+
// verify required parameter 'userSecret' is not null or undefined
|
|
289
|
+
(0, common_1.assertParamExists)('syncBrokerageAuthorizationTransactions', 'userSecret', userSecret);
|
|
290
|
+
const localVarPath = `/authorizations/{authorizationId}/transactions/sync`
|
|
291
|
+
.replace(`{${"authorizationId"}}`, encodeURIComponent(String(authorizationId !== undefined ? authorizationId : `-authorizationId-`)));
|
|
292
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
293
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
294
|
+
let baseOptions;
|
|
295
|
+
if (configuration) {
|
|
296
|
+
baseOptions = configuration.baseOptions;
|
|
297
|
+
}
|
|
298
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
299
|
+
const localVarHeaderParameter = configuration && !(0, common_1.isBrowser)() ? { "User-Agent": configuration.userAgent } : {};
|
|
300
|
+
const localVarQueryParameter = {};
|
|
301
|
+
// authentication PartnerClientId required
|
|
302
|
+
yield (0, common_1.setApiKeyToObject)({ object: localVarQueryParameter, key: "clientId", keyParamName: "clientId", configuration });
|
|
303
|
+
// authentication PartnerSignature required
|
|
304
|
+
yield (0, common_1.setApiKeyToObject)({ object: localVarHeaderParameter, key: "Signature", keyParamName: "signature", configuration });
|
|
305
|
+
// authentication PartnerTimestamp required
|
|
306
|
+
yield (0, common_1.setApiKeyToObject)({ object: localVarQueryParameter, key: "timestamp", keyParamName: "timestamp", configuration });
|
|
307
|
+
if (userId !== undefined) {
|
|
308
|
+
localVarQueryParameter['userId'] = userId;
|
|
309
|
+
}
|
|
310
|
+
if (userSecret !== undefined) {
|
|
311
|
+
localVarQueryParameter['userSecret'] = userSecret;
|
|
312
|
+
}
|
|
313
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
314
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
315
|
+
(0, requestBeforeHook_1.requestBeforeHook)({
|
|
316
|
+
queryParameters: localVarQueryParameter,
|
|
317
|
+
requestConfig: localVarRequestOptions,
|
|
318
|
+
path: localVarPath,
|
|
319
|
+
configuration,
|
|
320
|
+
pathTemplate: '/authorizations/{authorizationId}/transactions/sync',
|
|
321
|
+
httpMethod: 'POST'
|
|
322
|
+
});
|
|
323
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
324
|
+
return {
|
|
325
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
326
|
+
options: localVarRequestOptions,
|
|
327
|
+
};
|
|
328
|
+
}),
|
|
274
329
|
};
|
|
275
330
|
};
|
|
276
331
|
exports.ExperimentalEndpointsApiAxiosParamCreator = ExperimentalEndpointsApiAxiosParamCreator;
|
|
@@ -333,6 +388,19 @@ const ExperimentalEndpointsApiFp = function (configuration) {
|
|
|
333
388
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
334
389
|
});
|
|
335
390
|
},
|
|
391
|
+
/**
|
|
392
|
+
* Trigger a transactions sync for all accounts under this connection. Updates will be queued asynchronously. Transactions are not updated intra-day, but calling this endpoint can ensure that the previous day\'s transactions have been synced. For more information on sync behaviour, see: https://docs.snaptrade.com/docs/syncing
|
|
393
|
+
* @summary Sync transactions for a connection
|
|
394
|
+
* @param {ExperimentalEndpointsApiSyncBrokerageAuthorizationTransactionsRequest} requestParameters Request parameters.
|
|
395
|
+
* @param {*} [options] Override http request option.
|
|
396
|
+
* @throws {RequiredError}
|
|
397
|
+
*/
|
|
398
|
+
syncBrokerageAuthorizationTransactions(requestParameters, options) {
|
|
399
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
400
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.syncBrokerageAuthorizationTransactions(requestParameters.authorizationId, requestParameters.userId, requestParameters.userSecret, options);
|
|
401
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
402
|
+
});
|
|
403
|
+
},
|
|
336
404
|
};
|
|
337
405
|
};
|
|
338
406
|
exports.ExperimentalEndpointsApiFp = ExperimentalEndpointsApiFp;
|
|
@@ -383,6 +451,16 @@ const ExperimentalEndpointsApiFactory = function (configuration, basePath, axios
|
|
|
383
451
|
getUserAccountRecentOrdersV2(requestParameters, options) {
|
|
384
452
|
return localVarFp.getUserAccountRecentOrdersV2(requestParameters, options).then((request) => request(axios, basePath));
|
|
385
453
|
},
|
|
454
|
+
/**
|
|
455
|
+
* Trigger a transactions sync for all accounts under this connection. Updates will be queued asynchronously. Transactions are not updated intra-day, but calling this endpoint can ensure that the previous day\'s transactions have been synced. For more information on sync behaviour, see: https://docs.snaptrade.com/docs/syncing
|
|
456
|
+
* @summary Sync transactions for a connection
|
|
457
|
+
* @param {ExperimentalEndpointsApiSyncBrokerageAuthorizationTransactionsRequest} requestParameters Request parameters.
|
|
458
|
+
* @param {*} [options] Override http request option.
|
|
459
|
+
* @throws {RequiredError}
|
|
460
|
+
*/
|
|
461
|
+
syncBrokerageAuthorizationTransactions(requestParameters, options) {
|
|
462
|
+
return localVarFp.syncBrokerageAuthorizationTransactions(requestParameters, options).then((request) => request(axios, basePath));
|
|
463
|
+
},
|
|
386
464
|
};
|
|
387
465
|
};
|
|
388
466
|
exports.ExperimentalEndpointsApiFactory = ExperimentalEndpointsApiFactory;
|
|
@@ -437,5 +515,16 @@ class ExperimentalEndpointsApiGenerated extends base_1.BaseAPI {
|
|
|
437
515
|
getUserAccountRecentOrdersV2(requestParameters, options) {
|
|
438
516
|
return (0, exports.ExperimentalEndpointsApiFp)(this.configuration).getUserAccountRecentOrdersV2(requestParameters, options).then((request) => request(this.axios, this.basePath));
|
|
439
517
|
}
|
|
518
|
+
/**
|
|
519
|
+
* Trigger a transactions sync for all accounts under this connection. Updates will be queued asynchronously. Transactions are not updated intra-day, but calling this endpoint can ensure that the previous day\'s transactions have been synced. For more information on sync behaviour, see: https://docs.snaptrade.com/docs/syncing
|
|
520
|
+
* @summary Sync transactions for a connection
|
|
521
|
+
* @param {ExperimentalEndpointsApiSyncBrokerageAuthorizationTransactionsRequest} requestParameters Request parameters.
|
|
522
|
+
* @param {*} [options] Override http request option.
|
|
523
|
+
* @throws {RequiredError}
|
|
524
|
+
* @memberof ExperimentalEndpointsApiGenerated
|
|
525
|
+
*/
|
|
526
|
+
syncBrokerageAuthorizationTransactions(requestParameters, options) {
|
|
527
|
+
return (0, exports.ExperimentalEndpointsApiFp)(this.configuration).syncBrokerageAuthorizationTransactions(requestParameters, options).then((request) => request(this.axios, this.basePath));
|
|
528
|
+
}
|
|
440
529
|
}
|
|
441
530
|
exports.ExperimentalEndpointsApiGenerated = ExperimentalEndpointsApiGenerated;
|
|
@@ -9,7 +9,7 @@ import { UniversalActivity } from '../models';
|
|
|
9
9
|
*/
|
|
10
10
|
export declare const TransactionsAndReportingApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
11
11
|
/**
|
|
12
|
-
* This endpoint is being deprecated but will continue to be available for use via SDKs, please use [the account level endpoint](/reference/Account%20Information/AccountInformation_getAccountActivities) if possible Returns all historical transactions for the specified user and filtering criteria. It\'s recommended to use `startDate` and `endDate` to paginate through the data, as the response may be very large for accounts with a long history and/or a lot of activity. There\'s a max number of 10000 transactions returned per request. There is no guarantee to the ordering of the transactions returned. Please sort the transactions based on the `trade_date` field if you need them in a specific order. The data returned here is always cached and refreshed once a day.
|
|
12
|
+
* This endpoint is being deprecated but will continue to be available for use via SDKs, please use [the account level endpoint](/reference/Account%20Information/AccountInformation_getAccountActivities) if possible Returns all historical transactions for the specified user and filtering criteria. It\'s recommended to use `startDate` and `endDate` to paginate through the data, as the response may be very large for accounts with a long history and/or a lot of activity. There\'s a max number of 10000 transactions returned per request. There is no guarantee to the ordering of the transactions returned. Please sort the transactions based on the `trade_date` field if you need them in a specific order. The data returned here is always cached and refreshed once a day. **Note:** This endpoint will return HTTP 410 Gone for all customers that sign up after April 25, 2026.
|
|
13
13
|
* @summary Get transaction history for a user
|
|
14
14
|
* @param {string} userId
|
|
15
15
|
* @param {string} userSecret
|
|
@@ -45,7 +45,7 @@ export declare const TransactionsAndReportingApiAxiosParamCreator: (configuratio
|
|
|
45
45
|
*/
|
|
46
46
|
export declare const TransactionsAndReportingApiFp: (configuration?: Configuration) => {
|
|
47
47
|
/**
|
|
48
|
-
* This endpoint is being deprecated but will continue to be available for use via SDKs, please use [the account level endpoint](/reference/Account%20Information/AccountInformation_getAccountActivities) if possible Returns all historical transactions for the specified user and filtering criteria. It\'s recommended to use `startDate` and `endDate` to paginate through the data, as the response may be very large for accounts with a long history and/or a lot of activity. There\'s a max number of 10000 transactions returned per request. There is no guarantee to the ordering of the transactions returned. Please sort the transactions based on the `trade_date` field if you need them in a specific order. The data returned here is always cached and refreshed once a day.
|
|
48
|
+
* This endpoint is being deprecated but will continue to be available for use via SDKs, please use [the account level endpoint](/reference/Account%20Information/AccountInformation_getAccountActivities) if possible Returns all historical transactions for the specified user and filtering criteria. It\'s recommended to use `startDate` and `endDate` to paginate through the data, as the response may be very large for accounts with a long history and/or a lot of activity. There\'s a max number of 10000 transactions returned per request. There is no guarantee to the ordering of the transactions returned. Please sort the transactions based on the `trade_date` field if you need them in a specific order. The data returned here is always cached and refreshed once a day. **Note:** This endpoint will return HTTP 410 Gone for all customers that sign up after April 25, 2026.
|
|
49
49
|
* @summary Get transaction history for a user
|
|
50
50
|
* @param {TransactionsAndReportingApiGetActivitiesRequest} requestParameters Request parameters.
|
|
51
51
|
* @param {*} [options] Override http request option.
|
|
@@ -69,7 +69,7 @@ export declare const TransactionsAndReportingApiFp: (configuration?: Configurati
|
|
|
69
69
|
*/
|
|
70
70
|
export declare const TransactionsAndReportingApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
71
71
|
/**
|
|
72
|
-
* This endpoint is being deprecated but will continue to be available for use via SDKs, please use [the account level endpoint](/reference/Account%20Information/AccountInformation_getAccountActivities) if possible Returns all historical transactions for the specified user and filtering criteria. It\'s recommended to use `startDate` and `endDate` to paginate through the data, as the response may be very large for accounts with a long history and/or a lot of activity. There\'s a max number of 10000 transactions returned per request. There is no guarantee to the ordering of the transactions returned. Please sort the transactions based on the `trade_date` field if you need them in a specific order. The data returned here is always cached and refreshed once a day.
|
|
72
|
+
* This endpoint is being deprecated but will continue to be available for use via SDKs, please use [the account level endpoint](/reference/Account%20Information/AccountInformation_getAccountActivities) if possible Returns all historical transactions for the specified user and filtering criteria. It\'s recommended to use `startDate` and `endDate` to paginate through the data, as the response may be very large for accounts with a long history and/or a lot of activity. There\'s a max number of 10000 transactions returned per request. There is no guarantee to the ordering of the transactions returned. Please sort the transactions based on the `trade_date` field if you need them in a specific order. The data returned here is always cached and refreshed once a day. **Note:** This endpoint will return HTTP 410 Gone for all customers that sign up after April 25, 2026.
|
|
73
73
|
* @summary Get transaction history for a user
|
|
74
74
|
* @param {TransactionsAndReportingApiGetActivitiesRequest} requestParameters Request parameters.
|
|
75
75
|
* @param {*} [options] Override http request option.
|
|
@@ -193,7 +193,7 @@ export type TransactionsAndReportingApiGetReportingCustomRangeRequest = {
|
|
|
193
193
|
*/
|
|
194
194
|
export declare class TransactionsAndReportingApiGenerated extends BaseAPI {
|
|
195
195
|
/**
|
|
196
|
-
* This endpoint is being deprecated but will continue to be available for use via SDKs, please use [the account level endpoint](/reference/Account%20Information/AccountInformation_getAccountActivities) if possible Returns all historical transactions for the specified user and filtering criteria. It\'s recommended to use `startDate` and `endDate` to paginate through the data, as the response may be very large for accounts with a long history and/or a lot of activity. There\'s a max number of 10000 transactions returned per request. There is no guarantee to the ordering of the transactions returned. Please sort the transactions based on the `trade_date` field if you need them in a specific order. The data returned here is always cached and refreshed once a day.
|
|
196
|
+
* This endpoint is being deprecated but will continue to be available for use via SDKs, please use [the account level endpoint](/reference/Account%20Information/AccountInformation_getAccountActivities) if possible Returns all historical transactions for the specified user and filtering criteria. It\'s recommended to use `startDate` and `endDate` to paginate through the data, as the response may be very large for accounts with a long history and/or a lot of activity. There\'s a max number of 10000 transactions returned per request. There is no guarantee to the ordering of the transactions returned. Please sort the transactions based on the `trade_date` field if you need them in a specific order. The data returned here is always cached and refreshed once a day. **Note:** This endpoint will return HTTP 410 Gone for all customers that sign up after April 25, 2026.
|
|
197
197
|
* @summary Get transaction history for a user
|
|
198
198
|
* @param {TransactionsAndReportingApiGetActivitiesRequest} requestParameters Request parameters.
|
|
199
199
|
* @param {*} [options] Override http request option.
|
|
@@ -36,7 +36,7 @@ const requestBeforeHook_1 = require("../requestBeforeHook");
|
|
|
36
36
|
const TransactionsAndReportingApiAxiosParamCreator = function (configuration) {
|
|
37
37
|
return {
|
|
38
38
|
/**
|
|
39
|
-
* This endpoint is being deprecated but will continue to be available for use via SDKs, please use [the account level endpoint](/reference/Account%20Information/AccountInformation_getAccountActivities) if possible Returns all historical transactions for the specified user and filtering criteria. It\'s recommended to use `startDate` and `endDate` to paginate through the data, as the response may be very large for accounts with a long history and/or a lot of activity. There\'s a max number of 10000 transactions returned per request. There is no guarantee to the ordering of the transactions returned. Please sort the transactions based on the `trade_date` field if you need them in a specific order. The data returned here is always cached and refreshed once a day.
|
|
39
|
+
* This endpoint is being deprecated but will continue to be available for use via SDKs, please use [the account level endpoint](/reference/Account%20Information/AccountInformation_getAccountActivities) if possible Returns all historical transactions for the specified user and filtering criteria. It\'s recommended to use `startDate` and `endDate` to paginate through the data, as the response may be very large for accounts with a long history and/or a lot of activity. There\'s a max number of 10000 transactions returned per request. There is no guarantee to the ordering of the transactions returned. Please sort the transactions based on the `trade_date` field if you need them in a specific order. The data returned here is always cached and refreshed once a day. **Note:** This endpoint will return HTTP 410 Gone for all customers that sign up after April 25, 2026.
|
|
40
40
|
* @summary Get transaction history for a user
|
|
41
41
|
* @param {string} userId
|
|
42
42
|
* @param {string} userSecret
|
|
@@ -202,7 +202,7 @@ const TransactionsAndReportingApiFp = function (configuration) {
|
|
|
202
202
|
const localVarAxiosParamCreator = (0, exports.TransactionsAndReportingApiAxiosParamCreator)(configuration);
|
|
203
203
|
return {
|
|
204
204
|
/**
|
|
205
|
-
* This endpoint is being deprecated but will continue to be available for use via SDKs, please use [the account level endpoint](/reference/Account%20Information/AccountInformation_getAccountActivities) if possible Returns all historical transactions for the specified user and filtering criteria. It\'s recommended to use `startDate` and `endDate` to paginate through the data, as the response may be very large for accounts with a long history and/or a lot of activity. There\'s a max number of 10000 transactions returned per request. There is no guarantee to the ordering of the transactions returned. Please sort the transactions based on the `trade_date` field if you need them in a specific order. The data returned here is always cached and refreshed once a day.
|
|
205
|
+
* This endpoint is being deprecated but will continue to be available for use via SDKs, please use [the account level endpoint](/reference/Account%20Information/AccountInformation_getAccountActivities) if possible Returns all historical transactions for the specified user and filtering criteria. It\'s recommended to use `startDate` and `endDate` to paginate through the data, as the response may be very large for accounts with a long history and/or a lot of activity. There\'s a max number of 10000 transactions returned per request. There is no guarantee to the ordering of the transactions returned. Please sort the transactions based on the `trade_date` field if you need them in a specific order. The data returned here is always cached and refreshed once a day. **Note:** This endpoint will return HTTP 410 Gone for all customers that sign up after April 25, 2026.
|
|
206
206
|
* @summary Get transaction history for a user
|
|
207
207
|
* @param {TransactionsAndReportingApiGetActivitiesRequest} requestParameters Request parameters.
|
|
208
208
|
* @param {*} [options] Override http request option.
|
|
@@ -240,7 +240,7 @@ const TransactionsAndReportingApiFactory = function (configuration, basePath, ax
|
|
|
240
240
|
const localVarFp = (0, exports.TransactionsAndReportingApiFp)(configuration);
|
|
241
241
|
return {
|
|
242
242
|
/**
|
|
243
|
-
* This endpoint is being deprecated but will continue to be available for use via SDKs, please use [the account level endpoint](/reference/Account%20Information/AccountInformation_getAccountActivities) if possible Returns all historical transactions for the specified user and filtering criteria. It\'s recommended to use `startDate` and `endDate` to paginate through the data, as the response may be very large for accounts with a long history and/or a lot of activity. There\'s a max number of 10000 transactions returned per request. There is no guarantee to the ordering of the transactions returned. Please sort the transactions based on the `trade_date` field if you need them in a specific order. The data returned here is always cached and refreshed once a day.
|
|
243
|
+
* This endpoint is being deprecated but will continue to be available for use via SDKs, please use [the account level endpoint](/reference/Account%20Information/AccountInformation_getAccountActivities) if possible Returns all historical transactions for the specified user and filtering criteria. It\'s recommended to use `startDate` and `endDate` to paginate through the data, as the response may be very large for accounts with a long history and/or a lot of activity. There\'s a max number of 10000 transactions returned per request. There is no guarantee to the ordering of the transactions returned. Please sort the transactions based on the `trade_date` field if you need them in a specific order. The data returned here is always cached and refreshed once a day. **Note:** This endpoint will return HTTP 410 Gone for all customers that sign up after April 25, 2026.
|
|
244
244
|
* @summary Get transaction history for a user
|
|
245
245
|
* @param {TransactionsAndReportingApiGetActivitiesRequest} requestParameters Request parameters.
|
|
246
246
|
* @param {*} [options] Override http request option.
|
|
@@ -272,7 +272,7 @@ exports.TransactionsAndReportingApiFactory = TransactionsAndReportingApiFactory;
|
|
|
272
272
|
*/
|
|
273
273
|
class TransactionsAndReportingApiGenerated extends base_1.BaseAPI {
|
|
274
274
|
/**
|
|
275
|
-
* This endpoint is being deprecated but will continue to be available for use via SDKs, please use [the account level endpoint](/reference/Account%20Information/AccountInformation_getAccountActivities) if possible Returns all historical transactions for the specified user and filtering criteria. It\'s recommended to use `startDate` and `endDate` to paginate through the data, as the response may be very large for accounts with a long history and/or a lot of activity. There\'s a max number of 10000 transactions returned per request. There is no guarantee to the ordering of the transactions returned. Please sort the transactions based on the `trade_date` field if you need them in a specific order. The data returned here is always cached and refreshed once a day.
|
|
275
|
+
* This endpoint is being deprecated but will continue to be available for use via SDKs, please use [the account level endpoint](/reference/Account%20Information/AccountInformation_getAccountActivities) if possible Returns all historical transactions for the specified user and filtering criteria. It\'s recommended to use `startDate` and `endDate` to paginate through the data, as the response may be very large for accounts with a long history and/or a lot of activity. There\'s a max number of 10000 transactions returned per request. There is no guarantee to the ordering of the transactions returned. Please sort the transactions based on the `trade_date` field if you need them in a specific order. The data returned here is always cached and refreshed once a day. **Note:** This endpoint will return HTTP 410 Gone for all customers that sign up after April 25, 2026.
|
|
276
276
|
* @summary Get transaction history for a user
|
|
277
277
|
* @param {TransactionsAndReportingApiGetActivitiesRequest} requestParameters Request parameters.
|
|
278
278
|
* @param {*} [options] Override http request option.
|