snaptrade-typescript-sdk 6.3.0 → 7.0.0

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.
Files changed (83) hide show
  1. package/.konfig/generate-id.txt +1 -1
  2. package/README.md +11 -24
  3. package/api/account-information-api-custom.ts +3 -0
  4. package/api/account-information-api.ts +2 -1
  5. package/api/api-disclaimer-api-custom.ts +3 -0
  6. package/api/api-disclaimer-api.ts +2 -1
  7. package/api/api-status-api-custom.ts +3 -0
  8. package/api/api-status-api.ts +2 -1
  9. package/api/authentication-api-custom.ts +3 -0
  10. package/api/authentication-api.ts +2 -1
  11. package/api/connections-api-custom.ts +3 -0
  12. package/api/connections-api.ts +2 -1
  13. package/api/error-logs-api-custom.ts +3 -0
  14. package/api/error-logs-api.ts +2 -1
  15. package/api/options-api-custom.ts +3 -0
  16. package/api/options-api.ts +2 -1
  17. package/api/portfolio-management-api-custom.ts +3 -0
  18. package/api/portfolio-management-api.ts +2 -1
  19. package/api/reference-data-api-custom.ts +3 -0
  20. package/api/reference-data-api.ts +2 -1
  21. package/api/trading-api-custom.ts +3 -0
  22. package/api/trading-api.ts +2 -1
  23. package/api/transactions-and-reporting-api-custom.ts +3 -0
  24. package/api/transactions-and-reporting-api.ts +28 -19
  25. package/client-custom.ts +5 -0
  26. package/client.ts +3 -1
  27. package/configuration.ts +1 -1
  28. package/dist/api/account-information-api-custom.d.ts +3 -0
  29. package/dist/api/account-information-api-custom.js +27 -0
  30. package/dist/api/account-information-api.d.ts +3 -2
  31. package/dist/api/account-information-api.js +2 -1
  32. package/dist/api/api-disclaimer-api-custom.d.ts +3 -0
  33. package/dist/api/api-disclaimer-api-custom.js +27 -0
  34. package/dist/api/api-disclaimer-api.d.ts +3 -2
  35. package/dist/api/api-disclaimer-api.js +2 -1
  36. package/dist/api/api-status-api-custom.d.ts +3 -0
  37. package/dist/api/api-status-api-custom.js +27 -0
  38. package/dist/api/api-status-api.d.ts +3 -2
  39. package/dist/api/api-status-api.js +2 -1
  40. package/dist/api/authentication-api-custom.d.ts +3 -0
  41. package/dist/api/authentication-api-custom.js +27 -0
  42. package/dist/api/authentication-api.d.ts +3 -2
  43. package/dist/api/authentication-api.js +2 -1
  44. package/dist/api/connections-api-custom.d.ts +3 -0
  45. package/dist/api/connections-api-custom.js +27 -0
  46. package/dist/api/connections-api.d.ts +3 -2
  47. package/dist/api/connections-api.js +2 -1
  48. package/dist/api/error-logs-api-custom.d.ts +3 -0
  49. package/dist/api/error-logs-api-custom.js +27 -0
  50. package/dist/api/error-logs-api.d.ts +3 -2
  51. package/dist/api/error-logs-api.js +2 -1
  52. package/dist/api/options-api-custom.d.ts +3 -0
  53. package/dist/api/options-api-custom.js +27 -0
  54. package/dist/api/options-api.d.ts +3 -2
  55. package/dist/api/options-api.js +2 -1
  56. package/dist/api/portfolio-management-api-custom.d.ts +3 -0
  57. package/dist/api/portfolio-management-api-custom.js +27 -0
  58. package/dist/api/portfolio-management-api.d.ts +3 -2
  59. package/dist/api/portfolio-management-api.js +2 -1
  60. package/dist/api/reference-data-api-custom.d.ts +3 -0
  61. package/dist/api/reference-data-api-custom.js +27 -0
  62. package/dist/api/reference-data-api.d.ts +3 -2
  63. package/dist/api/reference-data-api.js +2 -1
  64. package/dist/api/trading-api-custom.d.ts +3 -0
  65. package/dist/api/trading-api-custom.js +27 -0
  66. package/dist/api/trading-api.d.ts +3 -2
  67. package/dist/api/trading-api.js +2 -1
  68. package/dist/api/transactions-and-reporting-api-custom.d.ts +3 -0
  69. package/dist/api/transactions-and-reporting-api-custom.js +27 -0
  70. package/dist/api/transactions-and-reporting-api.d.ts +17 -16
  71. package/dist/api/transactions-and-reporting-api.js +18 -9
  72. package/dist/client-custom.d.ts +4 -0
  73. package/dist/client-custom.js +9 -0
  74. package/dist/client.d.ts +2 -1
  75. package/dist/client.js +32 -13
  76. package/dist/configuration.js +1 -1
  77. package/dist/models/snap-trade-holdings-account.d.ts +2 -3
  78. package/dist/models/symbol.d.ts +6 -0
  79. package/docs/TransactionsAndReportingApi.md +4 -4
  80. package/index.test.ts +60 -0
  81. package/models/snap-trade-holdings-account.ts +2 -5
  82. package/models/symbol.ts +6 -0
  83. package/package.json +1 -1
@@ -11,8 +11,9 @@
11
11
  */
12
12
  import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
13
  import { Configuration } from '../configuration';
14
- import { RequestArgs, BaseAPI } from '../base';
14
+ import { RequestArgs } from '../base';
15
15
  import { Status } from '../models';
16
+ import { ApiStatusApiCustom } from "./api-status-api-custom";
16
17
  /**
17
18
  * ApiStatusApi - axios parameter creator
18
19
  * @export
@@ -58,7 +59,7 @@ export declare const ApiStatusApiFactory: (configuration?: Configuration, basePa
58
59
  * @class ApiStatusApi
59
60
  * @extends {BaseAPI}
60
61
  */
61
- export declare class ApiStatusApi extends BaseAPI {
62
+ export declare class ApiStatusApi extends ApiStatusApiCustom {
62
63
  /**
63
64
  * Check whether the API is operational and verify timestamps.
64
65
  * @summary Get API Status
@@ -83,6 +83,7 @@ var common_1 = require("../common");
83
83
  // @ts-ignore
84
84
  var base_1 = require("../base");
85
85
  var requestBeforeHook_1 = require("../requestBeforeHook");
86
+ var api_status_api_custom_1 = require("./api-status-api-custom");
86
87
  /**
87
88
  * ApiStatusApi - axios parameter creator
88
89
  * @export
@@ -199,5 +200,5 @@ var ApiStatusApi = /** @class */ (function (_super) {
199
200
  return (0, exports.ApiStatusApiFp)(this.configuration).check(options).then(function (request) { return request(_this.axios, _this.basePath); });
200
201
  };
201
202
  return ApiStatusApi;
202
- }(base_1.BaseAPI));
203
+ }(api_status_api_custom_1.ApiStatusApiCustom));
203
204
  exports.ApiStatusApi = ApiStatusApi;
@@ -0,0 +1,3 @@
1
+ import { BaseAPI } from "../base";
2
+ export declare class AuthenticationApiCustom extends BaseAPI {
3
+ }
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ var __extends = (this && this.__extends) || (function () {
3
+ var extendStatics = function (d, b) {
4
+ extendStatics = Object.setPrototypeOf ||
5
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
+ return extendStatics(d, b);
8
+ };
9
+ return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
+ extendStatics(d, b);
13
+ function __() { this.constructor = d; }
14
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
+ };
16
+ })();
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.AuthenticationApiCustom = void 0;
19
+ var base_1 = require("../base");
20
+ var AuthenticationApiCustom = /** @class */ (function (_super) {
21
+ __extends(AuthenticationApiCustom, _super);
22
+ function AuthenticationApiCustom() {
23
+ return _super !== null && _super.apply(this, arguments) || this;
24
+ }
25
+ return AuthenticationApiCustom;
26
+ }(base_1.BaseAPI));
27
+ exports.AuthenticationApiCustom = AuthenticationApiCustom;
@@ -11,13 +11,14 @@
11
11
  */
12
12
  import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
13
  import { Configuration } from '../configuration';
14
- import { RequestArgs, BaseAPI } from '../base';
14
+ import { RequestArgs } from '../base';
15
15
  import { AuthenticationLoginSnapTradeUser200Response } from '../models';
16
16
  import { DeleteUserResponse } from '../models';
17
17
  import { EncryptedResponse } from '../models';
18
18
  import { SnapTradeLoginUserRequestBody } from '../models';
19
19
  import { SnapTradeRegisterUserRequestBody } from '../models';
20
20
  import { UserIDandSecret } from '../models';
21
+ import { AuthenticationApiCustom } from "./authentication-api-custom";
21
22
  /**
22
23
  * AuthenticationApi - axios parameter creator
23
24
  * @export
@@ -219,7 +220,7 @@ export type AuthenticationApiRegisterSnapTradeUserRequest = {} & SnapTradeRegist
219
220
  * @class AuthenticationApi
220
221
  * @extends {BaseAPI}
221
222
  */
222
- export declare class AuthenticationApi extends BaseAPI {
223
+ export declare class AuthenticationApi extends AuthenticationApiCustom {
223
224
  /**
224
225
  *
225
226
  * @summary Delete user from SnapTrade, disabling all brokerage authorizations and permanently deleting all data associated with the user
@@ -83,6 +83,7 @@ var common_1 = require("../common");
83
83
  // @ts-ignore
84
84
  var base_1 = require("../base");
85
85
  var requestBeforeHook_1 = require("../requestBeforeHook");
86
+ var authentication_api_custom_1 = require("./authentication-api-custom");
86
87
  /**
87
88
  * AuthenticationApi - axios parameter creator
88
89
  * @export
@@ -657,5 +658,5 @@ var AuthenticationApi = /** @class */ (function (_super) {
657
658
  return (0, exports.AuthenticationApiFp)(this.configuration).registerSnapTradeUser(requestParameters, options).then(function (request) { return request(_this.axios, _this.basePath); });
658
659
  };
659
660
  return AuthenticationApi;
660
- }(base_1.BaseAPI));
661
+ }(authentication_api_custom_1.AuthenticationApiCustom));
661
662
  exports.AuthenticationApi = AuthenticationApi;
@@ -0,0 +1,3 @@
1
+ import { BaseAPI } from "../base";
2
+ export declare class ConnectionsApiCustom extends BaseAPI {
3
+ }
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ var __extends = (this && this.__extends) || (function () {
3
+ var extendStatics = function (d, b) {
4
+ extendStatics = Object.setPrototypeOf ||
5
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
+ return extendStatics(d, b);
8
+ };
9
+ return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
+ extendStatics(d, b);
13
+ function __() { this.constructor = d; }
14
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
+ };
16
+ })();
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.ConnectionsApiCustom = void 0;
19
+ var base_1 = require("../base");
20
+ var ConnectionsApiCustom = /** @class */ (function (_super) {
21
+ __extends(ConnectionsApiCustom, _super);
22
+ function ConnectionsApiCustom() {
23
+ return _super !== null && _super.apply(this, arguments) || this;
24
+ }
25
+ return ConnectionsApiCustom;
26
+ }(base_1.BaseAPI));
27
+ exports.ConnectionsApiCustom = ConnectionsApiCustom;
@@ -11,9 +11,10 @@
11
11
  */
12
12
  import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
13
  import { Configuration } from '../configuration';
14
- import { RequestArgs, BaseAPI } from '../base';
14
+ import { RequestArgs } from '../base';
15
15
  import { BrokerageAuthorization } from '../models';
16
16
  import { ConnectionsSessionEvents200ResponseInner } from '../models';
17
+ import { ConnectionsApiCustom } from "./connections-api-custom";
17
18
  /**
18
19
  * ConnectionsApi - axios parameter creator
19
20
  * @export
@@ -228,7 +229,7 @@ export type ConnectionsApiSessionEventsRequest = {
228
229
  * @class ConnectionsApi
229
230
  * @extends {BaseAPI}
230
231
  */
231
- export declare class ConnectionsApi extends BaseAPI {
232
+ export declare class ConnectionsApi extends ConnectionsApiCustom {
232
233
  /**
233
234
  *
234
235
  * @summary Get detail of a specific brokerage authorizations for the user
@@ -83,6 +83,7 @@ var common_1 = require("../common");
83
83
  // @ts-ignore
84
84
  var base_1 = require("../base");
85
85
  var requestBeforeHook_1 = require("../requestBeforeHook");
86
+ var connections_api_custom_1 = require("./connections-api-custom");
86
87
  /**
87
88
  * ConnectionsApi - axios parameter creator
88
89
  * @export
@@ -575,5 +576,5 @@ var ConnectionsApi = /** @class */ (function (_super) {
575
576
  return (0, exports.ConnectionsApiFp)(this.configuration).sessionEvents(requestParameters, options).then(function (request) { return request(_this.axios, _this.basePath); });
576
577
  };
577
578
  return ConnectionsApi;
578
- }(base_1.BaseAPI));
579
+ }(connections_api_custom_1.ConnectionsApiCustom));
579
580
  exports.ConnectionsApi = ConnectionsApi;
@@ -0,0 +1,3 @@
1
+ import { BaseAPI } from "../base";
2
+ export declare class ErrorLogsApiCustom extends BaseAPI {
3
+ }
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ var __extends = (this && this.__extends) || (function () {
3
+ var extendStatics = function (d, b) {
4
+ extendStatics = Object.setPrototypeOf ||
5
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
+ return extendStatics(d, b);
8
+ };
9
+ return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
+ extendStatics(d, b);
13
+ function __() { this.constructor = d; }
14
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
+ };
16
+ })();
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.ErrorLogsApiCustom = void 0;
19
+ var base_1 = require("../base");
20
+ var ErrorLogsApiCustom = /** @class */ (function (_super) {
21
+ __extends(ErrorLogsApiCustom, _super);
22
+ function ErrorLogsApiCustom() {
23
+ return _super !== null && _super.apply(this, arguments) || this;
24
+ }
25
+ return ErrorLogsApiCustom;
26
+ }(base_1.BaseAPI));
27
+ exports.ErrorLogsApiCustom = ErrorLogsApiCustom;
@@ -11,8 +11,9 @@
11
11
  */
12
12
  import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
13
  import { Configuration } from '../configuration';
14
- import { RequestArgs, BaseAPI } from '../base';
14
+ import { RequestArgs } from '../base';
15
15
  import { UserErrorLog } from '../models';
16
+ import { ErrorLogsApiCustom } from "./error-logs-api-custom";
16
17
  /**
17
18
  * ErrorLogsApi - axios parameter creator
18
19
  * @export
@@ -81,7 +82,7 @@ export type ErrorLogsApiListUserErrorsRequest = {
81
82
  * @class ErrorLogsApi
82
83
  * @extends {BaseAPI}
83
84
  */
84
- export declare class ErrorLogsApi extends BaseAPI {
85
+ export declare class ErrorLogsApi extends ErrorLogsApiCustom {
85
86
  /**
86
87
  *
87
88
  * @summary Retrieve error logs on behalf of your SnapTrade users
@@ -83,6 +83,7 @@ var common_1 = require("../common");
83
83
  // @ts-ignore
84
84
  var base_1 = require("../base");
85
85
  var requestBeforeHook_1 = require("../requestBeforeHook");
86
+ var error_logs_api_custom_1 = require("./error-logs-api-custom");
86
87
  /**
87
88
  * ErrorLogsApi - axios parameter creator
88
89
  * @export
@@ -236,5 +237,5 @@ var ErrorLogsApi = /** @class */ (function (_super) {
236
237
  return (0, exports.ErrorLogsApiFp)(this.configuration).listUserErrors(requestParameters, options).then(function (request) { return request(_this.axios, _this.basePath); });
237
238
  };
238
239
  return ErrorLogsApi;
239
- }(base_1.BaseAPI));
240
+ }(error_logs_api_custom_1.ErrorLogsApiCustom));
240
241
  exports.ErrorLogsApi = ErrorLogsApi;
@@ -0,0 +1,3 @@
1
+ import { BaseAPI } from "../base";
2
+ export declare class OptionsApiCustom extends BaseAPI {
3
+ }
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ var __extends = (this && this.__extends) || (function () {
3
+ var extendStatics = function (d, b) {
4
+ extendStatics = Object.setPrototypeOf ||
5
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
+ return extendStatics(d, b);
8
+ };
9
+ return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
+ extendStatics(d, b);
13
+ function __() { this.constructor = d; }
14
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
+ };
16
+ })();
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.OptionsApiCustom = void 0;
19
+ var base_1 = require("../base");
20
+ var OptionsApiCustom = /** @class */ (function (_super) {
21
+ __extends(OptionsApiCustom, _super);
22
+ function OptionsApiCustom() {
23
+ return _super !== null && _super.apply(this, arguments) || this;
24
+ }
25
+ return OptionsApiCustom;
26
+ }(base_1.BaseAPI));
27
+ exports.OptionsApiCustom = OptionsApiCustom;
@@ -11,13 +11,14 @@
11
11
  */
12
12
  import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
13
  import { Configuration } from '../configuration';
14
- import { RequestArgs, BaseAPI } from '../base';
14
+ import { RequestArgs } from '../base';
15
15
  import { OptionChainInner } from '../models';
16
16
  import { OptionsGetOptionStrategyRequest } from '../models';
17
17
  import { OptionsHoldings } from '../models';
18
18
  import { OptionsPlaceOptionStrategyRequest } from '../models';
19
19
  import { StrategyOrderRecord } from '../models';
20
20
  import { StrategyQuotes } from '../models';
21
+ import { OptionsApiCustom } from "./options-api-custom";
21
22
  /**
22
23
  * OptionsApi - axios parameter creator
23
24
  * @export
@@ -320,7 +321,7 @@ export type OptionsApiPlaceOptionStrategyRequest = {
320
321
  * @class OptionsApi
321
322
  * @extends {BaseAPI}
322
323
  */
323
- export declare class OptionsApi extends BaseAPI {
324
+ export declare class OptionsApi extends OptionsApiCustom {
324
325
  /**
325
326
  *
326
327
  * @summary Creates an option strategy object that will be used to place an option strategy order
@@ -83,6 +83,7 @@ var common_1 = require("../common");
83
83
  // @ts-ignore
84
84
  var base_1 = require("../base");
85
85
  var requestBeforeHook_1 = require("../requestBeforeHook");
86
+ var options_api_custom_1 = require("./options-api-custom");
86
87
  /**
87
88
  * OptionsApi - axios parameter creator
88
89
  * @export
@@ -726,5 +727,5 @@ var OptionsApi = /** @class */ (function (_super) {
726
727
  return (0, exports.OptionsApiFp)(this.configuration).placeOptionStrategy(requestParameters, options).then(function (request) { return request(_this.axios, _this.basePath); });
727
728
  };
728
729
  return OptionsApi;
729
- }(base_1.BaseAPI));
730
+ }(options_api_custom_1.OptionsApiCustom));
730
731
  exports.OptionsApi = OptionsApi;
@@ -0,0 +1,3 @@
1
+ import { BaseAPI } from "../base";
2
+ export declare class PortfolioManagementApiCustom extends BaseAPI {
3
+ }
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ var __extends = (this && this.__extends) || (function () {
3
+ var extendStatics = function (d, b) {
4
+ extendStatics = Object.setPrototypeOf ||
5
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
+ return extendStatics(d, b);
8
+ };
9
+ return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
+ extendStatics(d, b);
13
+ function __() { this.constructor = d; }
14
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
+ };
16
+ })();
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.PortfolioManagementApiCustom = void 0;
19
+ var base_1 = require("../base");
20
+ var PortfolioManagementApiCustom = /** @class */ (function (_super) {
21
+ __extends(PortfolioManagementApiCustom, _super);
22
+ function PortfolioManagementApiCustom() {
23
+ return _super !== null && _super.apply(this, arguments) || this;
24
+ }
25
+ return PortfolioManagementApiCustom;
26
+ }(base_1.BaseAPI));
27
+ exports.PortfolioManagementApiCustom = PortfolioManagementApiCustom;
@@ -11,7 +11,7 @@
11
11
  */
12
12
  import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
13
  import { Configuration } from '../configuration';
14
- import { RequestArgs, BaseAPI } from '../base';
14
+ import { RequestArgs } from '../base';
15
15
  import { Account } from '../models';
16
16
  import { Balance } from '../models';
17
17
  import { CalculatedTrade } from '../models';
@@ -26,6 +26,7 @@ import { SymbolQuery } from '../models';
26
26
  import { TargetAsset } from '../models';
27
27
  import { Trade } from '../models';
28
28
  import { UniversalSymbol } from '../models';
29
+ import { PortfolioManagementApiCustom } from "./portfolio-management-api-custom";
29
30
  /**
30
31
  * PortfolioManagementApi - axios parameter creator
31
32
  * @export
@@ -1285,7 +1286,7 @@ export type PortfolioManagementApiUpdatePortfolioTargetByIdRequest = {
1285
1286
  * @class PortfolioManagementApi
1286
1287
  * @extends {BaseAPI}
1287
1288
  */
1288
- export declare class PortfolioManagementApi extends BaseAPI {
1289
+ export declare class PortfolioManagementApi extends PortfolioManagementApiCustom {
1289
1290
  /**
1290
1291
  *
1291
1292
  * @summary Adds an asset to exclude to a portfolio group
@@ -83,6 +83,7 @@ var common_1 = require("../common");
83
83
  // @ts-ignore
84
84
  var base_1 = require("../base");
85
85
  var requestBeforeHook_1 = require("../requestBeforeHook");
86
+ var portfolio_management_api_custom_1 = require("./portfolio-management-api-custom");
86
87
  /**
87
88
  * PortfolioManagementApi - axios parameter creator
88
89
  * @export
@@ -3578,5 +3579,5 @@ var PortfolioManagementApi = /** @class */ (function (_super) {
3578
3579
  return (0, exports.PortfolioManagementApiFp)(this.configuration).updatePortfolioTargetById(requestParameters, options).then(function (request) { return request(_this.axios, _this.basePath); });
3579
3580
  };
3580
3581
  return PortfolioManagementApi;
3581
- }(base_1.BaseAPI));
3582
+ }(portfolio_management_api_custom_1.PortfolioManagementApiCustom));
3582
3583
  exports.PortfolioManagementApi = PortfolioManagementApi;
@@ -0,0 +1,3 @@
1
+ import { BaseAPI } from "../base";
2
+ export declare class ReferenceDataApiCustom extends BaseAPI {
3
+ }
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ var __extends = (this && this.__extends) || (function () {
3
+ var extendStatics = function (d, b) {
4
+ extendStatics = Object.setPrototypeOf ||
5
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
+ return extendStatics(d, b);
8
+ };
9
+ return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
+ extendStatics(d, b);
13
+ function __() { this.constructor = d; }
14
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
+ };
16
+ })();
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.ReferenceDataApiCustom = void 0;
19
+ var base_1 = require("../base");
20
+ var ReferenceDataApiCustom = /** @class */ (function (_super) {
21
+ __extends(ReferenceDataApiCustom, _super);
22
+ function ReferenceDataApiCustom() {
23
+ return _super !== null && _super.apply(this, arguments) || this;
24
+ }
25
+ return ReferenceDataApiCustom;
26
+ }(base_1.BaseAPI));
27
+ exports.ReferenceDataApiCustom = ReferenceDataApiCustom;
@@ -11,7 +11,7 @@
11
11
  */
12
12
  import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
13
  import { Configuration } from '../configuration';
14
- import { RequestArgs, BaseAPI } from '../base';
14
+ import { RequestArgs } from '../base';
15
15
  import { Brokerage } from '../models';
16
16
  import { BrokerageAuthorizationTypeReadOnly } from '../models';
17
17
  import { Currency } from '../models';
@@ -21,6 +21,7 @@ import { PartnerData } from '../models';
21
21
  import { SecurityType } from '../models';
22
22
  import { SymbolQuery } from '../models';
23
23
  import { UniversalSymbol } from '../models';
24
+ import { ReferenceDataApiCustom } from "./reference-data-api-custom";
24
25
  /**
25
26
  * ReferenceDataApi - axios parameter creator
26
27
  * @export
@@ -371,7 +372,7 @@ export type ReferenceDataApiSymbolSearchUserAccountRequest = {
371
372
  * @class ReferenceDataApi
372
373
  * @extends {BaseAPI}
373
374
  */
374
- export declare class ReferenceDataApi extends BaseAPI {
375
+ export declare class ReferenceDataApi extends ReferenceDataApiCustom {
375
376
  /**
376
377
  *
377
378
  * @summary Return the exchange rate of a currency pair
@@ -83,6 +83,7 @@ var common_1 = require("../common");
83
83
  // @ts-ignore
84
84
  var base_1 = require("../base");
85
85
  var requestBeforeHook_1 = require("../requestBeforeHook");
86
+ var reference_data_api_custom_1 = require("./reference-data-api-custom");
86
87
  /**
87
88
  * ReferenceDataApi - axios parameter creator
88
89
  * @export
@@ -1242,5 +1243,5 @@ var ReferenceDataApi = /** @class */ (function (_super) {
1242
1243
  return (0, exports.ReferenceDataApiFp)(this.configuration).symbolSearchUserAccount(requestParameters, options).then(function (request) { return request(_this.axios, _this.basePath); });
1243
1244
  };
1244
1245
  return ReferenceDataApi;
1245
- }(base_1.BaseAPI));
1246
+ }(reference_data_api_custom_1.ReferenceDataApiCustom));
1246
1247
  exports.ReferenceDataApi = ReferenceDataApi;
@@ -0,0 +1,3 @@
1
+ import { BaseAPI } from "../base";
2
+ export declare class TradingApiCustom extends BaseAPI {
3
+ }
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ var __extends = (this && this.__extends) || (function () {
3
+ var extendStatics = function (d, b) {
4
+ extendStatics = Object.setPrototypeOf ||
5
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
+ return extendStatics(d, b);
8
+ };
9
+ return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
+ extendStatics(d, b);
13
+ function __() { this.constructor = d; }
14
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
+ };
16
+ })();
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.TradingApiCustom = void 0;
19
+ var base_1 = require("../base");
20
+ var TradingApiCustom = /** @class */ (function (_super) {
21
+ __extends(TradingApiCustom, _super);
22
+ function TradingApiCustom() {
23
+ return _super !== null && _super.apply(this, arguments) || this;
24
+ }
25
+ return TradingApiCustom;
26
+ }(base_1.BaseAPI));
27
+ exports.TradingApiCustom = TradingApiCustom;
@@ -11,7 +11,7 @@
11
11
  */
12
12
  import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
13
  import { Configuration } from '../configuration';
14
- import { RequestArgs, BaseAPI } from '../base';
14
+ import { RequestArgs } from '../base';
15
15
  import { AccountOrderRecord } from '../models';
16
16
  import { ManualTradeAndImpact } from '../models';
17
17
  import { ManualTradeForm } from '../models';
@@ -21,6 +21,7 @@ import { TradeExecutionStatus } from '../models';
21
21
  import { TradeImpact } from '../models';
22
22
  import { TradingCancelUserAccountOrderRequest } from '../models';
23
23
  import { TradingPlaceOCOOrderRequest } from '../models';
24
+ import { TradingApiCustom } from "./trading-api-custom";
24
25
  /**
25
26
  * TradingApi - axios parameter creator
26
27
  * @export
@@ -539,7 +540,7 @@ export type TradingApiPlaceOrderRequest = {
539
540
  * @class TradingApi
540
541
  * @extends {BaseAPI}
541
542
  */
542
- export declare class TradingApi extends BaseAPI {
543
+ export declare class TradingApi extends TradingApiCustom {
543
544
  /**
544
545
  *
545
546
  * @summary Cancel open order in account
@@ -83,6 +83,7 @@ var common_1 = require("../common");
83
83
  // @ts-ignore
84
84
  var base_1 = require("../base");
85
85
  var requestBeforeHook_1 = require("../requestBeforeHook");
86
+ var trading_api_custom_1 = require("./trading-api-custom");
86
87
  /**
87
88
  * TradingApi - axios parameter creator
88
89
  * @export
@@ -1277,5 +1278,5 @@ var TradingApi = /** @class */ (function (_super) {
1277
1278
  return (0, exports.TradingApiFp)(this.configuration).placeOrder(requestParameters, options).then(function (request) { return request(_this.axios, _this.basePath); });
1278
1279
  };
1279
1280
  return TradingApi;
1280
- }(base_1.BaseAPI));
1281
+ }(trading_api_custom_1.TradingApiCustom));
1281
1282
  exports.TradingApi = TradingApi;
@@ -0,0 +1,3 @@
1
+ import { BaseAPI } from "../base";
2
+ export declare class TransactionsAndReportingApiCustom extends BaseAPI {
3
+ }
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ var __extends = (this && this.__extends) || (function () {
3
+ var extendStatics = function (d, b) {
4
+ extendStatics = Object.setPrototypeOf ||
5
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
+ return extendStatics(d, b);
8
+ };
9
+ return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
+ extendStatics(d, b);
13
+ function __() { this.constructor = d; }
14
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
+ };
16
+ })();
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.TransactionsAndReportingApiCustom = void 0;
19
+ var base_1 = require("../base");
20
+ var TransactionsAndReportingApiCustom = /** @class */ (function (_super) {
21
+ __extends(TransactionsAndReportingApiCustom, _super);
22
+ function TransactionsAndReportingApiCustom() {
23
+ return _super !== null && _super.apply(this, arguments) || this;
24
+ }
25
+ return TransactionsAndReportingApiCustom;
26
+ }(base_1.BaseAPI));
27
+ exports.TransactionsAndReportingApiCustom = TransactionsAndReportingApiCustom;