snaptrade-typescript-sdk 9.0.130 → 9.0.132

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 CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  Connect brokerage accounts to your app for live positions and trading
8
8
 
9
- [![npm](https://img.shields.io/badge/npm-v9.0.130-blue)](https://www.npmjs.com/package/snaptrade-typescript-sdk/v/9.0.130)
9
+ [![npm](https://img.shields.io/badge/npm-v9.0.132-blue)](https://www.npmjs.com/package/snaptrade-typescript-sdk/v/9.0.132)
10
10
  [![More Info](https://img.shields.io/badge/More%20Info-Click%20Here-orange)](https://snaptrade.com/)
11
11
 
12
12
  </div>
@@ -377,7 +377,7 @@ const getUserAccountDetailsResponse =
377
377
 
378
378
  ### `snaptrade.accountInformation.getUserAccountOrderDetail`<a id="snaptradeaccountinformationgetuseraccountorderdetail"></a>
379
379
 
380
- Returns the detail of a single order in the specified account.
380
+ Returns the detail of a single order using the external order ID provided in the request body.
381
381
 
382
382
  This endpoint is always realtime and does not rely on cached data.
383
383
 
@@ -389,22 +389,24 @@ This endpoint only returns orders placed through SnapTrade. In other words, orde
389
389
  ```typescript
390
390
  const getUserAccountOrderDetailResponse =
391
391
  await snaptrade.accountInformation.getUserAccountOrderDetail({
392
+ accountId: "917c8734-8470-4a3e-a18f-57c3f2ee6631",
392
393
  userId: "snaptrade-user-123",
393
394
  userSecret: "adf2aa34-8219-40f7-a6b3-60156985cc61",
394
- accountId: "917c8734-8470-4a3e-a18f-57c3f2ee6631",
395
- brokerageOrderId: "66a033fa-da74-4fcf-b527-feefdec9257e",
395
+ external_order_id: "66a033fa-da74-4fcf-b527-feefdec9257e",
396
396
  });
397
397
  ```
398
398
 
399
399
  #### ⚙️ Parameters<a id="⚙️-parameters"></a>
400
400
 
401
- ##### userId: `string`<a id="userid-string"></a>
401
+ ##### external_order_id: `string`<a id="external_order_id-string"></a>
402
402
 
403
- ##### userSecret: `string`<a id="usersecret-string"></a>
403
+ Order ID returned by brokerage. This is the unique identifier for the order in the brokerage system.
404
404
 
405
405
  ##### accountId: `string`<a id="accountid-string"></a>
406
406
 
407
- ##### brokerageOrderId: `string`<a id="brokerageorderid-string"></a>
407
+ ##### userId: `string`<a id="userid-string"></a>
408
+
409
+ ##### userSecret: `string`<a id="usersecret-string"></a>
408
410
 
409
411
  #### 🔄 Return<a id="🔄-return"></a>
410
412
 
@@ -412,7 +414,7 @@ const getUserAccountOrderDetailResponse =
412
414
 
413
415
  #### 🌐 Endpoint<a id="🌐-endpoint"></a>
414
416
 
415
- `/accounts/{accountId}/orders/{brokerageOrderId}` `GET`
417
+ `/accounts/{accountId}/orders/details` `POST`
416
418
 
417
419
  [🔙 **Back to Table of Contents**](#table-of-contents)
418
420
 
@@ -1465,13 +1467,15 @@ Returns a list of all brokerage instruments available for a given brokerage. Not
1465
1467
  ```typescript
1466
1468
  const listAllBrokerageInstrumentsResponse =
1467
1469
  await snaptrade.referenceData.listAllBrokerageInstruments({
1468
- brokerageId: "87b24961-b51e-4db8-9226-f198f6518a89",
1470
+ slug: "QUESTRADE",
1469
1471
  });
1470
1472
  ```
1471
1473
 
1472
1474
  #### ⚙️ Parameters<a id="⚙️-parameters"></a>
1473
1475
 
1474
- ##### brokerageId: `string`<a id="brokerageid-string"></a>
1476
+ ##### slug: `string`<a id="slug-string"></a>
1477
+
1478
+ A short, unique identifier for the brokerage. It is usually the name of the brokerage in capital letters and will never change.
1475
1479
 
1476
1480
  #### 🔄 Return<a id="🔄-return"></a>
1477
1481
 
@@ -1479,7 +1483,7 @@ const listAllBrokerageInstrumentsResponse =
1479
1483
 
1480
1484
  #### 🌐 Endpoint<a id="🌐-endpoint"></a>
1481
1485
 
1482
- `/brokerages/{brokerageId}/instruments` `GET`
1486
+ `/brokerages/{slug}/instruments` `GET`
1483
1487
 
1484
1488
  [🔙 **Back to Table of Contents**](#table-of-contents)
1485
1489
 
@@ -4,6 +4,7 @@ import { RequestArgs, BaseAPI } from '../base';
4
4
  import { Account } from '../models';
5
5
  import { AccountHoldings } from '../models';
6
6
  import { AccountHoldingsAccount } from '../models';
7
+ import { AccountInformationGetUserAccountOrderDetailRequest } from '../models';
7
8
  import { AccountOrderRecord } from '../models';
8
9
  import { Balance } from '../models';
9
10
  import { PaginatedUniversalActivity } from '../models';
@@ -62,16 +63,16 @@ export declare const AccountInformationApiAxiosParamCreator: (configuration?: Co
62
63
  */
63
64
  getUserAccountDetails: (userId: string, userSecret: string, accountId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
64
65
  /**
65
- * Returns the detail of a single order in the specified account. 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.
66
+ * Returns the detail of a single order using the external order ID provided in the request body. 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.
66
67
  * @summary Get account order detail
68
+ * @param {string} accountId
67
69
  * @param {string} userId
68
70
  * @param {string} userSecret
69
- * @param {string} accountId
70
- * @param {string} brokerageOrderId
71
+ * @param {AccountInformationGetUserAccountOrderDetailRequest} accountInformationGetUserAccountOrderDetailRequest
71
72
  * @param {*} [options] Override http request option.
72
73
  * @throws {RequiredError}
73
74
  */
74
- getUserAccountOrderDetail: (userId: string, userSecret: string, accountId: string, brokerageOrderId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
75
+ getUserAccountOrderDetail: (accountId: string, userId: string, userSecret: string, accountInformationGetUserAccountOrderDetailRequest: AccountInformationGetUserAccountOrderDetailRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
75
76
  /**
76
77
  * Returns a list of recent orders in the specified account. The data returned here is cached. How long the data is cached for varies by brokerage. Check the [brokerage integrations doc](https://snaptrade.notion.site/66793431ad0b416489eaabaf248d0afb?v=d16c4c97b8d5438bbb2d8581ac53b11e) and look for \"Cache Expiry Time\" to see the exact value for a specific brokerage. **If you need real-time data, please use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint**.
77
78
  * @summary List account orders
@@ -184,7 +185,7 @@ export declare const AccountInformationApiFp: (configuration?: Configuration) =>
184
185
  */
185
186
  getUserAccountDetails(requestParameters: AccountInformationApiGetUserAccountDetailsRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Account>>;
186
187
  /**
187
- * Returns the detail of a single order in the specified account. 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.
188
+ * Returns the detail of a single order using the external order ID provided in the request body. 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.
188
189
  * @summary Get account order detail
189
190
  * @param {AccountInformationApiGetUserAccountOrderDetailRequest} requestParameters Request parameters.
190
191
  * @param {*} [options] Override http request option.
@@ -287,7 +288,7 @@ export declare const AccountInformationApiFactory: (configuration?: Configuratio
287
288
  */
288
289
  getUserAccountDetails(requestParameters: AccountInformationApiGetUserAccountDetailsRequest, options?: AxiosRequestConfig): AxiosPromise<Account>;
289
290
  /**
290
- * Returns the detail of a single order in the specified account. 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.
291
+ * Returns the detail of a single order using the external order ID provided in the request body. 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.
291
292
  * @summary Get account order detail
292
293
  * @param {AccountInformationApiGetUserAccountOrderDetailRequest} requestParameters Request parameters.
293
294
  * @param {*} [options] Override http request option.
@@ -492,26 +493,20 @@ export type AccountInformationApiGetUserAccountOrderDetailRequest = {
492
493
  * @type {string}
493
494
  * @memberof AccountInformationApiGetUserAccountOrderDetail
494
495
  */
495
- readonly userId: string;
496
- /**
497
- *
498
- * @type {string}
499
- * @memberof AccountInformationApiGetUserAccountOrderDetail
500
- */
501
- readonly userSecret: string;
496
+ readonly accountId: string;
502
497
  /**
503
498
  *
504
499
  * @type {string}
505
500
  * @memberof AccountInformationApiGetUserAccountOrderDetail
506
501
  */
507
- readonly accountId: string;
502
+ readonly userId: string;
508
503
  /**
509
504
  *
510
505
  * @type {string}
511
506
  * @memberof AccountInformationApiGetUserAccountOrderDetail
512
507
  */
513
- readonly brokerageOrderId: string;
514
- };
508
+ readonly userSecret: string;
509
+ } & AccountInformationGetUserAccountOrderDetailRequest;
515
510
  /**
516
511
  * Request parameters for getUserAccountOrders operation in AccountInformationApi.
517
512
  * @export
@@ -744,7 +739,7 @@ export declare class AccountInformationApiGenerated extends BaseAPI {
744
739
  */
745
740
  getUserAccountDetails(requestParameters: AccountInformationApiGetUserAccountDetailsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Account, any>>;
746
741
  /**
747
- * Returns the detail of a single order in the specified account. 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.
742
+ * Returns the detail of a single order using the external order ID provided in the request body. 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.
748
743
  * @summary Get account order detail
749
744
  * @param {AccountInformationApiGetUserAccountOrderDetailRequest} requestParameters Request parameters.
750
745
  * @param {*} [options] Override http request option.
@@ -281,34 +281,33 @@ const AccountInformationApiAxiosParamCreator = function (configuration) {
281
281
  };
282
282
  }),
283
283
  /**
284
- * Returns the detail of a single order in the specified account. 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.
284
+ * Returns the detail of a single order using the external order ID provided in the request body. 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.
285
285
  * @summary Get account order detail
286
+ * @param {string} accountId
286
287
  * @param {string} userId
287
288
  * @param {string} userSecret
288
- * @param {string} accountId
289
- * @param {string} brokerageOrderId
289
+ * @param {AccountInformationGetUserAccountOrderDetailRequest} accountInformationGetUserAccountOrderDetailRequest
290
290
  * @param {*} [options] Override http request option.
291
291
  * @throws {RequiredError}
292
292
  */
293
- getUserAccountOrderDetail: (userId, userSecret, accountId, brokerageOrderId, options = {}) => __awaiter(this, void 0, void 0, function* () {
293
+ getUserAccountOrderDetail: (accountId, userId, userSecret, accountInformationGetUserAccountOrderDetailRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
294
+ // verify required parameter 'accountId' is not null or undefined
295
+ (0, common_1.assertParamExists)('getUserAccountOrderDetail', 'accountId', accountId);
294
296
  // verify required parameter 'userId' is not null or undefined
295
297
  (0, common_1.assertParamExists)('getUserAccountOrderDetail', 'userId', userId);
296
298
  // verify required parameter 'userSecret' is not null or undefined
297
299
  (0, common_1.assertParamExists)('getUserAccountOrderDetail', 'userSecret', userSecret);
298
- // verify required parameter 'accountId' is not null or undefined
299
- (0, common_1.assertParamExists)('getUserAccountOrderDetail', 'accountId', accountId);
300
- // verify required parameter 'brokerageOrderId' is not null or undefined
301
- (0, common_1.assertParamExists)('getUserAccountOrderDetail', 'brokerageOrderId', brokerageOrderId);
302
- const localVarPath = `/accounts/{accountId}/orders/{brokerageOrderId}`
303
- .replace(`{${"accountId"}}`, encodeURIComponent(String(accountId !== undefined ? accountId : `-accountId-`)))
304
- .replace(`{${"brokerageOrderId"}}`, encodeURIComponent(String(brokerageOrderId !== undefined ? brokerageOrderId : `-brokerageOrderId-`)));
300
+ // verify required parameter 'accountInformationGetUserAccountOrderDetailRequest' is not null or undefined
301
+ (0, common_1.assertParamExists)('getUserAccountOrderDetail', 'accountInformationGetUserAccountOrderDetailRequest', accountInformationGetUserAccountOrderDetailRequest);
302
+ const localVarPath = `/accounts/{accountId}/orders/details`
303
+ .replace(`{${"accountId"}}`, encodeURIComponent(String(accountId !== undefined ? accountId : `-accountId-`)));
305
304
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
306
305
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
307
306
  let baseOptions;
308
307
  if (configuration) {
309
308
  baseOptions = configuration.baseOptions;
310
309
  }
311
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
310
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
312
311
  const localVarHeaderParameter = configuration && !(0, common_1.isBrowser)() ? { "User-Agent": configuration.userAgent } : {};
313
312
  const localVarQueryParameter = {};
314
313
  // authentication PartnerClientId required
@@ -323,16 +322,19 @@ const AccountInformationApiAxiosParamCreator = function (configuration) {
323
322
  if (userSecret !== undefined) {
324
323
  localVarQueryParameter['userSecret'] = userSecret;
325
324
  }
325
+ localVarHeaderParameter['Content-Type'] = 'application/json';
326
326
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
327
327
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
328
328
  (0, requestBeforeHook_1.requestBeforeHook)({
329
+ requestBody: accountInformationGetUserAccountOrderDetailRequest,
329
330
  queryParameters: localVarQueryParameter,
330
331
  requestConfig: localVarRequestOptions,
331
332
  path: localVarPath,
332
333
  configuration,
333
- pathTemplate: '/accounts/{accountId}/orders/{brokerageOrderId}',
334
- httpMethod: 'GET'
334
+ pathTemplate: '/accounts/{accountId}/orders/details',
335
+ httpMethod: 'POST'
335
336
  });
337
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(accountInformationGetUserAccountOrderDetailRequest, localVarRequestOptions, configuration);
336
338
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
337
339
  return {
338
340
  url: (0, common_1.toPathString)(localVarUrlObj),
@@ -796,7 +798,7 @@ const AccountInformationApiFp = function (configuration) {
796
798
  });
797
799
  },
798
800
  /**
799
- * Returns the detail of a single order in the specified account. 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.
801
+ * Returns the detail of a single order using the external order ID provided in the request body. 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.
800
802
  * @summary Get account order detail
801
803
  * @param {AccountInformationApiGetUserAccountOrderDetailRequest} requestParameters Request parameters.
802
804
  * @param {*} [options] Override http request option.
@@ -804,7 +806,10 @@ const AccountInformationApiFp = function (configuration) {
804
806
  */
805
807
  getUserAccountOrderDetail(requestParameters, options) {
806
808
  return __awaiter(this, void 0, void 0, function* () {
807
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getUserAccountOrderDetail(requestParameters.userId, requestParameters.userSecret, requestParameters.accountId, requestParameters.brokerageOrderId, options);
809
+ const accountInformationGetUserAccountOrderDetailRequest = {
810
+ external_order_id: requestParameters.external_order_id
811
+ };
812
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getUserAccountOrderDetail(requestParameters.accountId, requestParameters.userId, requestParameters.userSecret, accountInformationGetUserAccountOrderDetailRequest, options);
808
813
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
809
814
  });
810
815
  },
@@ -951,7 +956,7 @@ const AccountInformationApiFactory = function (configuration, basePath, axios) {
951
956
  return localVarFp.getUserAccountDetails(requestParameters, options).then((request) => request(axios, basePath));
952
957
  },
953
958
  /**
954
- * Returns the detail of a single order in the specified account. 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.
959
+ * Returns the detail of a single order using the external order ID provided in the request body. 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.
955
960
  * @summary Get account order detail
956
961
  * @param {AccountInformationApiGetUserAccountOrderDetailRequest} requestParameters Request parameters.
957
962
  * @param {*} [options] Override http request option.
@@ -1086,7 +1091,7 @@ class AccountInformationApiGenerated extends base_1.BaseAPI {
1086
1091
  return (0, exports.AccountInformationApiFp)(this.configuration).getUserAccountDetails(requestParameters, options).then((request) => request(this.axios, this.basePath));
1087
1092
  }
1088
1093
  /**
1089
- * Returns the detail of a single order in the specified account. 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.
1094
+ * Returns the detail of a single order using the external order ID provided in the request body. 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.
1090
1095
  * @summary Get account order detail
1091
1096
  * @param {AccountInformationApiGetUserAccountOrderDetailRequest} requestParameters Request parameters.
1092
1097
  * @param {*} [options] Override http request option.
@@ -72,11 +72,11 @@ export declare const ReferenceDataApiAxiosParamCreator: (configuration?: Configu
72
72
  /**
73
73
  * Returns a list of all brokerage instruments available for a given brokerage. Not all brokerages support this. The ones that don\'t will return an empty list.
74
74
  * @summary Get brokerage instruments
75
- * @param {string} brokerageId
75
+ * @param {string} slug A short, unique identifier for the brokerage. It is usually the name of the brokerage in capital letters and will never change.
76
76
  * @param {*} [options] Override http request option.
77
77
  * @throws {RequiredError}
78
78
  */
79
- listAllBrokerageInstruments: (brokerageId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
79
+ listAllBrokerageInstruments: (slug: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
80
80
  /**
81
81
  * Returns a list of all defined Brokerage objects.
82
82
  * @summary Get brokerages
@@ -354,11 +354,11 @@ export type ReferenceDataApiListAllBrokerageAuthorizationTypeRequest = {
354
354
  */
355
355
  export type ReferenceDataApiListAllBrokerageInstrumentsRequest = {
356
356
  /**
357
- *
357
+ * A short, unique identifier for the brokerage. It is usually the name of the brokerage in capital letters and will never change.
358
358
  * @type {string}
359
359
  * @memberof ReferenceDataApiListAllBrokerageInstruments
360
360
  */
361
- readonly brokerageId: string;
361
+ readonly slug: string;
362
362
  };
363
363
  /**
364
364
  * Request parameters for symbolSearchUserAccount operation in ReferenceDataApi.
@@ -327,15 +327,15 @@ const ReferenceDataApiAxiosParamCreator = function (configuration) {
327
327
  /**
328
328
  * Returns a list of all brokerage instruments available for a given brokerage. Not all brokerages support this. The ones that don\'t will return an empty list.
329
329
  * @summary Get brokerage instruments
330
- * @param {string} brokerageId
330
+ * @param {string} slug A short, unique identifier for the brokerage. It is usually the name of the brokerage in capital letters and will never change.
331
331
  * @param {*} [options] Override http request option.
332
332
  * @throws {RequiredError}
333
333
  */
334
- listAllBrokerageInstruments: (brokerageId, options = {}) => __awaiter(this, void 0, void 0, function* () {
335
- // verify required parameter 'brokerageId' is not null or undefined
336
- (0, common_1.assertParamExists)('listAllBrokerageInstruments', 'brokerageId', brokerageId);
337
- const localVarPath = `/brokerages/{brokerageId}/instruments`
338
- .replace(`{${"brokerageId"}}`, encodeURIComponent(String(brokerageId !== undefined ? brokerageId : `-brokerageId-`)));
334
+ listAllBrokerageInstruments: (slug, options = {}) => __awaiter(this, void 0, void 0, function* () {
335
+ // verify required parameter 'slug' is not null or undefined
336
+ (0, common_1.assertParamExists)('listAllBrokerageInstruments', 'slug', slug);
337
+ const localVarPath = `/brokerages/{slug}/instruments`
338
+ .replace(`{${"slug"}}`, encodeURIComponent(String(slug !== undefined ? slug : `-slug-`)));
339
339
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
340
340
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
341
341
  let baseOptions;
@@ -358,7 +358,7 @@ const ReferenceDataApiAxiosParamCreator = function (configuration) {
358
358
  requestConfig: localVarRequestOptions,
359
359
  path: localVarPath,
360
360
  configuration,
361
- pathTemplate: '/brokerages/{brokerageId}/instruments',
361
+ pathTemplate: '/brokerages/{slug}/instruments',
362
362
  httpMethod: 'GET'
363
363
  });
364
364
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
@@ -653,7 +653,7 @@ const ReferenceDataApiFp = function (configuration) {
653
653
  */
654
654
  listAllBrokerageInstruments(requestParameters, options) {
655
655
  return __awaiter(this, void 0, void 0, function* () {
656
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listAllBrokerageInstruments(requestParameters.brokerageId, options);
656
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listAllBrokerageInstruments(requestParameters.slug, options);
657
657
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
658
658
  });
659
659
  },