snaptrade-typescript-sdk 9.0.177 → 9.0.179

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.
@@ -32,7 +32,7 @@ class Configuration {
32
32
  this.accessToken = param.accessToken;
33
33
  this.basePath = param.basePath;
34
34
  this.baseOptions = (_a = param.baseOptions) !== null && _a !== void 0 ? _a : {};
35
- this.userAgent = param.userAgent === undefined ? "Konfig/9.0.177/typescript" : param.userAgent;
35
+ this.userAgent = param.userAgent === undefined ? "Konfig/9.0.179/typescript" : param.userAgent;
36
36
  this.formDataCtor = param.formDataCtor;
37
37
  }
38
38
  /**
@@ -78,19 +78,19 @@ export interface AccountOrderRecord {
78
78
  */
79
79
  'filled_quantity'?: string | null;
80
80
  /**
81
- * The price at which the order was executed.
81
+ * The price at which the order was executed. For option orders, this represents the price per share.
82
82
  * @type {number}
83
83
  * @memberof AccountOrderRecord
84
84
  */
85
85
  'execution_price'?: number | null;
86
86
  /**
87
- * The limit price is maximum price one is willing to pay for a buy order or the minimum price one is willing to accept for a sell order. Should only apply to `Limit` and `StopLimit` orders.
87
+ * The limit price is maximum price one is willing to pay for a buy order or the minimum price one is willing to accept for a sell order. Should only apply to `Limit` and `StopLimit` orders. For option orders, this represents the price per share.
88
88
  * @type {number}
89
89
  * @memberof AccountOrderRecord
90
90
  */
91
91
  'limit_price'?: number | null;
92
92
  /**
93
- * The stop price is the price at which a stop order is triggered. Should only apply to `Stop` and `StopLimit` orders.
93
+ * The stop price is the price at which a stop order is triggered. Should only apply to `Stop` and `StopLimit` orders. For option orders, this represents the price per share.
94
94
  * @type {number}
95
95
  * @memberof AccountOrderRecord
96
96
  */
@@ -27,7 +27,7 @@ export interface AccountUniversalActivity {
27
27
  */
28
28
  'option_symbol'?: AccountUniversalActivityOptionSymbol | null;
29
29
  /**
30
- * The price of the security for the transaction. This is mostly applicable to `BUY`, `SELL`, and `DIVIDEND` transactions.
30
+ * The price of the security for the transaction. This is mostly applicable to `BUY`, `SELL`, and `DIVIDEND` transactions. For option transactions, this represents the price per share of the option contract.
31
31
  * @type {number}
32
32
  * @memberof AccountUniversalActivity
33
33
  */
@@ -77,19 +77,19 @@ export interface OrderUpdatedResponseOrder {
77
77
  */
78
78
  'filled_quantity'?: string | null;
79
79
  /**
80
- * The price at which the order was executed.
80
+ * The price at which the order was executed. For option orders, this represents the price per share.
81
81
  * @type {number}
82
82
  * @memberof OrderUpdatedResponseOrder
83
83
  */
84
84
  'execution_price'?: number | null;
85
85
  /**
86
- * The limit price is maximum price one is willing to pay for a buy order or the minimum price one is willing to accept for a sell order. Should only apply to `Limit` and `StopLimit` orders.
86
+ * The limit price is maximum price one is willing to pay for a buy order or the minimum price one is willing to accept for a sell order. Should only apply to `Limit` and `StopLimit` orders. For option orders, this represents the price per share.
87
87
  * @type {number}
88
88
  * @memberof OrderUpdatedResponseOrder
89
89
  */
90
90
  'limit_price'?: number | null;
91
91
  /**
92
- * The stop price is the price at which a stop order is triggered. Should only apply to `Stop` and `StopLimit` orders.
92
+ * The stop price is the price at which a stop order is triggered. Should only apply to `Stop` and `StopLimit` orders. For option orders, this represents the price per share.
93
93
  * @type {number}
94
94
  * @memberof OrderUpdatedResponseOrder
95
95
  */
@@ -411,6 +411,22 @@ exports.operationParameterMap = {
411
411
  },
412
412
  ]
413
413
  },
414
+ '/accounts/{accountId}/quotes/options-GET': {
415
+ parameters: [
416
+ {
417
+ name: 'userId'
418
+ },
419
+ {
420
+ name: 'userSecret'
421
+ },
422
+ {
423
+ name: 'accountId'
424
+ },
425
+ {
426
+ name: 'symbol'
427
+ },
428
+ ]
429
+ },
414
430
  '/accounts/{accountId}/options-GET': {
415
431
  parameters: [
416
432
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "snaptrade-typescript-sdk",
3
- "version": "9.0.177",
3
+ "version": "9.0.179",
4
4
  "description": "Client for SnapTrade",
5
5
  "author": "Konfig",
6
6
  "engines": {