snaptrade-typescript-sdk 8.0.0 → 8.1.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.
@@ -1 +1 @@
1
- 00ef5794-51d6-46ef-99cc-cd54502667c1
1
+ bb289208-7395-456e-a499-f2a02971d3fc
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## snaptrade-typescript-sdk@8.0.0
1
+ ## snaptrade-typescript-sdk@8.1.0
2
2
  Connect brokerage accounts to your app for live positions and trading
3
3
 
4
4
 
package/configuration.ts CHANGED
@@ -110,7 +110,7 @@ export class Configuration {
110
110
  this.accessToken = param.accessToken;
111
111
  this.basePath = param.basePath;
112
112
  this.baseOptions = param.baseOptions ?? {};
113
- this.userAgent = param.userAgent === undefined ? "Konfig/8.0.0/typescript" : param.userAgent;
113
+ this.userAgent = param.userAgent === undefined ? "Konfig/8.1.0/typescript" : param.userAgent;
114
114
  this.formDataCtor = param.formDataCtor;
115
115
  }
116
116
 
@@ -34,7 +34,7 @@ var Configuration = /** @class */ (function () {
34
34
  this.accessToken = param.accessToken;
35
35
  this.basePath = param.basePath;
36
36
  this.baseOptions = (_a = param.baseOptions) !== null && _a !== void 0 ? _a : {};
37
- this.userAgent = param.userAgent === undefined ? "Konfig/8.0.0/typescript" : param.userAgent;
37
+ this.userAgent = param.userAgent === undefined ? "Konfig/8.1.0/typescript" : param.userAgent;
38
38
  this.formDataCtor = param.formDataCtor;
39
39
  }
40
40
  /**
@@ -9,6 +9,7 @@
9
9
  * https://konfigthis.com
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { AccountSyncStatus } from './account-sync-status';
12
13
  /**
13
14
  * SnapTradeUser Investment Account
14
15
  * @export
@@ -34,4 +35,10 @@ export interface AccountSimple {
34
35
  * @memberof AccountSimple
35
36
  */
36
37
  'number'?: string;
38
+ /**
39
+ *
40
+ * @type {AccountSyncStatus}
41
+ * @memberof AccountSimple
42
+ */
43
+ 'sync_status'?: AccountSyncStatus;
37
44
  }
@@ -0,0 +1,25 @@
1
+ /**
2
+ * SnapTrade
3
+ * Connect brokerage accounts to your app for live positions and trading
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: api@snaptrade.com
7
+ *
8
+ * NOTE: This file is auto generated by Konfig (https://konfigthis.com).
9
+ * https://konfigthis.com
10
+ * Do not edit the class manually.
11
+ */
12
+ import { TransactionsStatus } from './transactions-status';
13
+ /**
14
+ * Status of account
15
+ * @export
16
+ * @interface AccountSyncStatus
17
+ */
18
+ export interface AccountSyncStatus {
19
+ /**
20
+ *
21
+ * @type {TransactionsStatus}
22
+ * @memberof AccountSyncStatus
23
+ */
24
+ 'transactions'?: TransactionsStatus;
25
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * SnapTrade
6
+ * Connect brokerage accounts to your app for live positions and trading
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ * Contact: api@snaptrade.com
10
+ *
11
+ * NOTE: This file is auto generated by Konfig (https://konfigthis.com).
12
+ * https://konfigthis.com
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -4,6 +4,7 @@ export * from './account-holdings';
4
4
  export * from './account-order-record';
5
5
  export * from './account-order-record-status';
6
6
  export * from './account-simple';
7
+ export * from './account-sync-status';
7
8
  export * from './action';
8
9
  export * from './authentication-login-snap-trade-user200-response';
9
10
  export * from './balance';
@@ -95,6 +96,7 @@ export * from './trade-execution-status';
95
96
  export * from './trade-impact';
96
97
  export * from './trading-cancel-user-account-order-request';
97
98
  export * from './trading-place-ocoorder-request';
99
+ export * from './transactions-status';
98
100
  export * from './usexchange';
99
101
  export * from './underlying-symbol';
100
102
  export * from './universal-activity';
@@ -20,6 +20,7 @@ __exportStar(require("./account-holdings"), exports);
20
20
  __exportStar(require("./account-order-record"), exports);
21
21
  __exportStar(require("./account-order-record-status"), exports);
22
22
  __exportStar(require("./account-simple"), exports);
23
+ __exportStar(require("./account-sync-status"), exports);
23
24
  __exportStar(require("./action"), exports);
24
25
  __exportStar(require("./authentication-login-snap-trade-user200-response"), exports);
25
26
  __exportStar(require("./balance"), exports);
@@ -111,6 +112,7 @@ __exportStar(require("./trade-execution-status"), exports);
111
112
  __exportStar(require("./trade-impact"), exports);
112
113
  __exportStar(require("./trading-cancel-user-account-order-request"), exports);
113
114
  __exportStar(require("./trading-place-ocoorder-request"), exports);
115
+ __exportStar(require("./transactions-status"), exports);
114
116
  __exportStar(require("./usexchange"), exports);
115
117
  __exportStar(require("./underlying-symbol"), exports);
116
118
  __exportStar(require("./universal-activity"), exports);
@@ -9,6 +9,7 @@
9
9
  * https://konfigthis.com
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { AccountSyncStatus } from './account-sync-status';
12
13
  /**
13
14
  * SnapTradeUser Investment Account
14
15
  * @export
@@ -52,6 +53,12 @@ export interface SnapTradeHoldingsAccount {
52
53
  * @memberof SnapTradeHoldingsAccount
53
54
  */
54
55
  'institution_name'?: string;
56
+ /**
57
+ *
58
+ * @type {AccountSyncStatus}
59
+ * @memberof SnapTradeHoldingsAccount
60
+ */
61
+ 'sync_status'?: AccountSyncStatus;
55
62
  /**
56
63
  *
57
64
  * @type {{ [key: string]: any; }}
@@ -0,0 +1,30 @@
1
+ /**
2
+ * SnapTrade
3
+ * Connect brokerage accounts to your app for live positions and trading
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: api@snaptrade.com
7
+ *
8
+ * NOTE: This file is auto generated by Konfig (https://konfigthis.com).
9
+ * https://konfigthis.com
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * Status of account transaction sync
14
+ * @export
15
+ * @interface TransactionsStatus
16
+ */
17
+ export interface TransactionsStatus {
18
+ /**
19
+ *
20
+ * @type {boolean}
21
+ * @memberof TransactionsStatus
22
+ */
23
+ 'initial_sync_completed'?: boolean;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof TransactionsStatus
28
+ */
29
+ 'last_successful_sync'?: string | null;
30
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * SnapTrade
6
+ * Connect brokerage accounts to your app for live positions and trading
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ * Contact: api@snaptrade.com
10
+ *
11
+ * NOTE: This file is auto generated by Konfig (https://konfigthis.com).
12
+ * https://konfigthis.com
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -12,6 +12,9 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
 
15
+ // May contain unused imports in some cases
16
+ // @ts-ignore
17
+ import { AccountSyncStatus } from './account-sync-status';
15
18
 
16
19
  /**
17
20
  * SnapTradeUser Investment Account
@@ -39,5 +42,11 @@ export interface AccountSimple {
39
42
  * @memberof AccountSimple
40
43
  */
41
44
  'number'?: string;
45
+ /**
46
+ *
47
+ * @type {AccountSyncStatus}
48
+ * @memberof AccountSimple
49
+ */
50
+ 'sync_status'?: AccountSyncStatus;
42
51
  }
43
52
 
@@ -0,0 +1,32 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * SnapTrade
5
+ * Connect brokerage accounts to your app for live positions and trading
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ * Contact: api@snaptrade.com
9
+ *
10
+ * NOTE: This file is auto generated by Konfig (https://konfigthis.com).
11
+ * https://konfigthis.com
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ // May contain unused imports in some cases
16
+ // @ts-ignore
17
+ import { TransactionsStatus } from './transactions-status';
18
+
19
+ /**
20
+ * Status of account
21
+ * @export
22
+ * @interface AccountSyncStatus
23
+ */
24
+ export interface AccountSyncStatus {
25
+ /**
26
+ *
27
+ * @type {TransactionsStatus}
28
+ * @memberof AccountSyncStatus
29
+ */
30
+ 'transactions'?: TransactionsStatus;
31
+ }
32
+
package/models/index.ts CHANGED
@@ -4,6 +4,7 @@ export * from './account-holdings';
4
4
  export * from './account-order-record';
5
5
  export * from './account-order-record-status';
6
6
  export * from './account-simple';
7
+ export * from './account-sync-status';
7
8
  export * from './action';
8
9
  export * from './authentication-login-snap-trade-user200-response';
9
10
  export * from './balance';
@@ -95,6 +96,7 @@ export * from './trade-execution-status';
95
96
  export * from './trade-impact';
96
97
  export * from './trading-cancel-user-account-order-request';
97
98
  export * from './trading-place-ocoorder-request';
99
+ export * from './transactions-status';
98
100
  export * from './usexchange';
99
101
  export * from './underlying-symbol';
100
102
  export * from './universal-activity';
@@ -12,6 +12,9 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
 
15
+ // May contain unused imports in some cases
16
+ // @ts-ignore
17
+ import { AccountSyncStatus } from './account-sync-status';
15
18
 
16
19
  /**
17
20
  * SnapTradeUser Investment Account
@@ -57,6 +60,12 @@ export interface SnapTradeHoldingsAccount {
57
60
  * @memberof SnapTradeHoldingsAccount
58
61
  */
59
62
  'institution_name'?: string;
63
+ /**
64
+ *
65
+ * @type {AccountSyncStatus}
66
+ * @memberof SnapTradeHoldingsAccount
67
+ */
68
+ 'sync_status'?: AccountSyncStatus;
60
69
  /**
61
70
  *
62
71
  * @type {{ [key: string]: any; }}
@@ -0,0 +1,35 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * SnapTrade
5
+ * Connect brokerage accounts to your app for live positions and trading
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ * Contact: api@snaptrade.com
9
+ *
10
+ * NOTE: This file is auto generated by Konfig (https://konfigthis.com).
11
+ * https://konfigthis.com
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ /**
17
+ * Status of account transaction sync
18
+ * @export
19
+ * @interface TransactionsStatus
20
+ */
21
+ export interface TransactionsStatus {
22
+ /**
23
+ *
24
+ * @type {boolean}
25
+ * @memberof TransactionsStatus
26
+ */
27
+ 'initial_sync_completed'?: boolean;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof TransactionsStatus
32
+ */
33
+ 'last_successful_sync'?: string | null;
34
+ }
35
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "snaptrade-typescript-sdk",
3
- "version": "8.0.0",
3
+ "version": "8.1.0",
4
4
  "description": "Client for SnapTrade",
5
5
  "author": "Konfig",
6
6
  "engines": {