snaptrade-python-sdk 13.1.4__py3-none-any.whl → 13.2.0__py3-none-any.whl
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.
- snaptrade_client/__init__.py +3 -2
- snaptrade_client/api_client.py +1 -1
- snaptrade_client/auth.py +13 -0
- snaptrade_client/client.py +4 -0
- snaptrade_client/client.pyi +16 -0
- snaptrade_client/configuration.py +20 -2
- snaptrade_client/model/account.py +5 -0
- snaptrade_client/model/account.pyi +5 -0
- snaptrade_client/model/annuity_account.py +3 -4
- snaptrade_client/model/annuity_account.pyi +3 -4
- snaptrade_client/model/annuity_account_sync_status.py +2 -2
- snaptrade_client/model/annuity_account_sync_status.pyi +2 -2
- snaptrade_client/model/connection_account.py +5 -1
- snaptrade_client/model/connection_account.pyi +5 -1
- snaptrade_client/model/mortgage_account.py +350 -0
- snaptrade_client/model/mortgage_account.pyi +344 -0
- snaptrade_client/model/mortgage_account_net_value.py +130 -0
- snaptrade_client/model/mortgage_account_net_value.pyi +130 -0
- snaptrade_client/model/mortgage_account_sync_status.py +99 -0
- snaptrade_client/model/mortgage_account_sync_status.pyi +99 -0
- snaptrade_client/models/__init__.py +3 -0
- snaptrade_client/oauth_device.py +160 -0
- snaptrade_client/paths/accounts/get.py +7 -2
- snaptrade_client/paths/accounts/get.pyi +21 -0
- snaptrade_client/paths/accounts_account_id/get.py +7 -2
- snaptrade_client/paths/accounts_account_id/get.pyi +25 -0
- snaptrade_client/paths/accounts_account_id/put.py +5 -0
- snaptrade_client/paths/accounts_account_id/put.pyi +25 -0
- snaptrade_client/paths/accounts_account_id_activities/get.py +5 -0
- snaptrade_client/paths/accounts_account_id_activities/get.pyi +35 -0
- snaptrade_client/paths/accounts_account_id_balance_history/get.py +5 -0
- snaptrade_client/paths/accounts_account_id_balance_history/get.pyi +25 -0
- snaptrade_client/paths/accounts_account_id_balances/get.py +5 -0
- snaptrade_client/paths/accounts_account_id_balances/get.pyi +25 -0
- snaptrade_client/paths/accounts_account_id_details/get.py +7 -2
- snaptrade_client/paths/accounts_account_id_details/get.pyi +25 -0
- snaptrade_client/paths/accounts_account_id_holdings/get.py +5 -0
- snaptrade_client/paths/accounts_account_id_holdings/get.pyi +25 -0
- snaptrade_client/paths/accounts_account_id_orders/get.py +5 -0
- snaptrade_client/paths/accounts_account_id_orders/get.pyi +29 -0
- snaptrade_client/paths/accounts_account_id_orders_details/post.py +5 -0
- snaptrade_client/paths/accounts_account_id_orders_details/post.pyi +27 -0
- snaptrade_client/paths/accounts_account_id_orders_details_v2_brokerage_order_id/get.py +5 -0
- snaptrade_client/paths/accounts_account_id_orders_details_v2_brokerage_order_id/get.pyi +27 -0
- snaptrade_client/paths/accounts_account_id_orders_v2/get.py +5 -0
- snaptrade_client/paths/accounts_account_id_orders_v2/get.pyi +29 -0
- snaptrade_client/paths/accounts_account_id_positions_all/get.py +5 -0
- snaptrade_client/paths/accounts_account_id_positions_all/get.pyi +25 -0
- snaptrade_client/paths/accounts_account_id_quotes/get.py +5 -0
- snaptrade_client/paths/accounts_account_id_quotes/get.pyi +29 -0
- snaptrade_client/paths/accounts_account_id_recent_orders/get.py +5 -0
- snaptrade_client/paths/accounts_account_id_recent_orders/get.pyi +27 -0
- snaptrade_client/paths/accounts_account_id_recent_orders_v2/get.py +5 -0
- snaptrade_client/paths/accounts_account_id_recent_orders_v2/get.pyi +27 -0
- snaptrade_client/paths/accounts_account_id_symbols/post.py +5 -0
- snaptrade_client/paths/accounts_account_id_symbols/post.pyi +27 -0
- snaptrade_client/paths/accounts_account_id_trading_cancel/post.py +5 -0
- snaptrade_client/paths/accounts_account_id_trading_cancel/post.pyi +27 -0
- snaptrade_client/paths/accounts_account_id_trading_complex/post.py +5 -0
- snaptrade_client/paths/accounts_account_id_trading_complex/post.pyi +31 -0
- snaptrade_client/paths/accounts_account_id_trading_crypto/post.py +5 -0
- snaptrade_client/paths/accounts_account_id_trading_crypto/post.pyi +43 -0
- snaptrade_client/paths/accounts_account_id_trading_crypto_preview/post.py +5 -0
- snaptrade_client/paths/accounts_account_id_trading_crypto_preview/post.pyi +43 -0
- snaptrade_client/paths/accounts_account_id_trading_instruments_cryptocurrency_pairs/get.py +5 -0
- snaptrade_client/paths/accounts_account_id_trading_instruments_cryptocurrency_pairs/get.pyi +29 -0
- snaptrade_client/paths/accounts_account_id_trading_instruments_cryptocurrency_pairs_instrument_symbol_quote/get.py +5 -0
- snaptrade_client/paths/accounts_account_id_trading_instruments_cryptocurrency_pairs_instrument_symbol_quote/get.pyi +27 -0
- snaptrade_client/paths/accounts_account_id_trading_options/post.py +5 -0
- snaptrade_client/paths/accounts_account_id_trading_options/post.pyi +37 -0
- snaptrade_client/paths/accounts_account_id_trading_options_impact/post.py +5 -0
- snaptrade_client/paths/accounts_account_id_trading_options_impact/post.pyi +37 -0
- snaptrade_client/paths/accounts_account_id_trading_replace/post.py +5 -0
- snaptrade_client/paths/accounts_account_id_trading_replace/post.pyi +41 -0
- snaptrade_client/paths/accounts_account_id_trading_simple/post.py +5 -0
- snaptrade_client/paths/accounts_account_id_trading_simple/post.pyi +45 -0
- snaptrade_client/paths/accounts_all/get.py +7 -2
- snaptrade_client/paths/accounts_all/get.pyi +21 -0
- snaptrade_client/paths/authorizations/get.py +5 -0
- snaptrade_client/paths/authorizations/get.pyi +21 -0
- snaptrade_client/paths/authorizations_authorization_id/get.py +5 -0
- snaptrade_client/paths/authorizations_authorization_id/get.pyi +25 -0
- snaptrade_client/paths/authorizations_authorization_id_accounts/get.py +5 -0
- snaptrade_client/paths/authorizations_authorization_id_accounts/get.pyi +25 -0
- snaptrade_client/paths/authorizations_authorization_id_disable/post.py +5 -0
- snaptrade_client/paths/authorizations_authorization_id_disable/post.pyi +25 -0
- snaptrade_client/paths/authorizations_authorization_id_refresh/post.py +5 -0
- snaptrade_client/paths/authorizations_authorization_id_refresh/post.pyi +25 -0
- snaptrade_client/paths/authorizations_authorization_id_transactions_sync/post.py +5 -0
- snaptrade_client/paths/authorizations_authorization_id_transactions_sync/post.pyi +25 -0
- snaptrade_client/paths/brokerages/get.py +5 -0
- snaptrade_client/paths/brokerages/get.pyi +13 -0
- snaptrade_client/paths/brokerages_slug_instruments/get.py +5 -0
- snaptrade_client/paths/brokerages_slug_instruments/get.pyi +17 -0
- snaptrade_client/paths/connections_connection_id_accounts/get.py +7 -2
- snaptrade_client/paths/connections_connection_id_accounts/get.pyi +25 -0
- snaptrade_client/paths/exchanges/get.py +5 -0
- snaptrade_client/paths/exchanges/get.pyi +13 -0
- snaptrade_client/paths/snap_trade_login/post.py +5 -0
- snaptrade_client/paths/snap_trade_login/post.pyi +39 -0
- snaptrade_client/paths/snap_trade_partners/get.py +5 -0
- snaptrade_client/paths/snap_trade_partners/get.pyi +13 -0
- snaptrade_client/paths/symbols/post.py +5 -0
- snaptrade_client/paths/symbols/post.pyi +15 -0
- snaptrade_client/paths/symbols_query/get.py +5 -0
- snaptrade_client/paths/symbols_query/get.pyi +17 -0
- snaptrade_client/paths/trade_impact/post.py +5 -0
- snaptrade_client/paths/trade_impact/post.pyi +39 -0
- snaptrade_client/paths/trade_place/post.py +5 -0
- snaptrade_client/paths/trade_place/post.pyi +47 -0
- snaptrade_client/paths/trade_trade_id/post.py +5 -0
- snaptrade_client/paths/trade_trade_id/post.pyi +27 -0
- snaptrade_client/request_after_hook.py +2 -1
- snaptrade_client/type/account.py +2 -2
- snaptrade_client/type/connection_account.py +2 -1
- snaptrade_client/type/mortgage_account.py +59 -0
- snaptrade_client/type/mortgage_account_net_value.py +28 -0
- snaptrade_client/type/mortgage_account_sync_status.py +30 -0
- {snaptrade_python_sdk-13.1.4.dist-info → snaptrade_python_sdk-13.2.0.dist-info}/METADATA +673 -15
- {snaptrade_python_sdk-13.1.4.dist-info → snaptrade_python_sdk-13.2.0.dist-info}/RECORD +122 -112
- {snaptrade_python_sdk-13.1.4.dist-info → snaptrade_python_sdk-13.2.0.dist-info}/LICENSE +0 -0
- {snaptrade_python_sdk-13.1.4.dist-info → snaptrade_python_sdk-13.2.0.dist-info}/WHEEL +0 -0
snaptrade_client/__init__.py
CHANGED
|
@@ -12,14 +12,15 @@
|
|
|
12
12
|
Created by: https://snaptrade.com/
|
|
13
13
|
"""
|
|
14
14
|
|
|
15
|
-
__version__ = "13.
|
|
15
|
+
__version__ = "13.2.0"
|
|
16
16
|
|
|
17
17
|
# import ApiClient
|
|
18
18
|
from snaptrade_client.api_client import ApiClient
|
|
19
19
|
|
|
20
20
|
# import Configuration
|
|
21
21
|
from snaptrade_client.configuration import Configuration
|
|
22
|
-
from snaptrade_client.auth import SnapTradeAuth, AuthMode, CommercialApiKeyAuth, PersonalApiKeyAuth
|
|
22
|
+
from snaptrade_client.auth import SnapTradeAuth, AuthMode, CommercialApiKeyAuth, PersonalApiKeyAuth, OAuthAuth
|
|
23
|
+
from snaptrade_client.oauth_device import SnapTradeOAuthDevice, SnapTradeDeviceAuthorization, SnapTradeDeviceTokens, SnapTradeOAuthDeviceError
|
|
23
24
|
|
|
24
25
|
# import exceptions
|
|
25
26
|
from snaptrade_client.exceptions import OpenApiException
|
snaptrade_client/api_client.py
CHANGED
|
@@ -1175,7 +1175,7 @@ class ApiClient(typing.Generic[TAuth]):
|
|
|
1175
1175
|
self.default_headers[header_name] = header_value
|
|
1176
1176
|
self.cookie = cookie
|
|
1177
1177
|
# Set default User-Agent.
|
|
1178
|
-
self.user_agent = 'Konfig/13.
|
|
1178
|
+
self.user_agent = 'Konfig/13.2.0/python'
|
|
1179
1179
|
|
|
1180
1180
|
def __enter__(self):
|
|
1181
1181
|
return self
|
snaptrade_client/auth.py
CHANGED
|
@@ -28,6 +28,10 @@ class PersonalApiKeyAuth(AuthMode):
|
|
|
28
28
|
pass
|
|
29
29
|
|
|
30
30
|
|
|
31
|
+
class OAuthAuth(AuthMode):
|
|
32
|
+
pass
|
|
33
|
+
|
|
34
|
+
|
|
31
35
|
class SnapTradeAuth:
|
|
32
36
|
def __init__(self):
|
|
33
37
|
raise RuntimeError("SnapTradeAuth should not be instantiated")
|
|
@@ -48,3 +52,12 @@ class SnapTradeAuth:
|
|
|
48
52
|
client_id=client_id
|
|
49
53
|
)
|
|
50
54
|
|
|
55
|
+
@staticmethod
|
|
56
|
+
def oauth(access_token: typing.Optional[str] = None) -> OAuthAuth:
|
|
57
|
+
if not isinstance(access_token, str) or not access_token.strip():
|
|
58
|
+
raise ValueError("access_token must be a nonempty string.")
|
|
59
|
+
return OAuthAuth(
|
|
60
|
+
"oauth",
|
|
61
|
+
access_token=access_token
|
|
62
|
+
)
|
|
63
|
+
|
snaptrade_client/client.py
CHANGED
|
@@ -38,6 +38,7 @@ class SnapTrade(ClientCustom, typing.Generic[TAuth]):
|
|
|
38
38
|
auth: typing.Optional[TAuth],
|
|
39
39
|
consumer_key: None = None,
|
|
40
40
|
client_id: None = None,
|
|
41
|
+
access_token: None = None,
|
|
41
42
|
**kwargs,
|
|
42
43
|
):
|
|
43
44
|
"""Create a client.
|
|
@@ -45,11 +46,14 @@ class SnapTrade(ClientCustom, typing.Generic[TAuth]):
|
|
|
45
46
|
Authentication credentials must be provided through ``auth``.
|
|
46
47
|
:param consumer_key: Unsupported. Pass this credential through ``auth``.
|
|
47
48
|
:param client_id: Unsupported. Pass this credential through ``auth``.
|
|
49
|
+
:param access_token: Unsupported. Pass this credential through ``auth``.
|
|
48
50
|
"""
|
|
49
51
|
if consumer_key is not None:
|
|
50
52
|
raise TypeError("consumer_key must be passed through 'auth'")
|
|
51
53
|
if client_id is not None:
|
|
52
54
|
raise TypeError("client_id must be passed through 'auth'")
|
|
55
|
+
if access_token is not None:
|
|
56
|
+
raise TypeError("access_token must be passed through 'auth'")
|
|
53
57
|
if len(kwargs) > 0 or configuration is None:
|
|
54
58
|
configuration = Configuration(auth=auth, **kwargs)
|
|
55
59
|
super().__init__(configuration)
|
snaptrade_client/client.pyi
CHANGED
|
@@ -13,6 +13,7 @@ import typing
|
|
|
13
13
|
from snaptrade_client.auth import AuthMode
|
|
14
14
|
from snaptrade_client.auth import CommercialApiKeyAuth
|
|
15
15
|
from snaptrade_client.auth import PersonalApiKeyAuth
|
|
16
|
+
from snaptrade_client.auth import OAuthAuth
|
|
16
17
|
from snaptrade_client.configuration import Configuration
|
|
17
18
|
from snaptrade_client.apis.tags.account_information_api import AccountInformationApi
|
|
18
19
|
from snaptrade_client.apis.tags.api_status_api import APIStatusApi
|
|
@@ -36,6 +37,7 @@ class SnapTrade(ClientCustom, typing.Generic[TAuth]):
|
|
|
36
37
|
auth: CommercialApiKeyAuth,
|
|
37
38
|
consumer_key: None = None,
|
|
38
39
|
client_id: None = None,
|
|
40
|
+
access_token: None = None,
|
|
39
41
|
**kwargs: typing.Any,
|
|
40
42
|
) -> None: ...
|
|
41
43
|
@typing.overload
|
|
@@ -46,6 +48,18 @@ class SnapTrade(ClientCustom, typing.Generic[TAuth]):
|
|
|
46
48
|
auth: PersonalApiKeyAuth,
|
|
47
49
|
consumer_key: None = None,
|
|
48
50
|
client_id: None = None,
|
|
51
|
+
access_token: None = None,
|
|
52
|
+
**kwargs: typing.Any,
|
|
53
|
+
) -> None: ...
|
|
54
|
+
@typing.overload
|
|
55
|
+
def __init__(
|
|
56
|
+
self: "SnapTrade[OAuthAuth]",
|
|
57
|
+
configuration: None = None,
|
|
58
|
+
*,
|
|
59
|
+
auth: OAuthAuth,
|
|
60
|
+
consumer_key: None = None,
|
|
61
|
+
client_id: None = None,
|
|
62
|
+
access_token: None = None,
|
|
49
63
|
**kwargs: typing.Any,
|
|
50
64
|
) -> None: ...
|
|
51
65
|
@typing.overload
|
|
@@ -56,6 +70,7 @@ class SnapTrade(ClientCustom, typing.Generic[TAuth]):
|
|
|
56
70
|
auth: None,
|
|
57
71
|
consumer_key: None = None,
|
|
58
72
|
client_id: None = None,
|
|
73
|
+
access_token: None = None,
|
|
59
74
|
**kwargs: typing.Any,
|
|
60
75
|
) -> None: ...
|
|
61
76
|
def __init__(
|
|
@@ -65,6 +80,7 @@ class SnapTrade(ClientCustom, typing.Generic[TAuth]):
|
|
|
65
80
|
auth: typing.Optional[TAuth],
|
|
66
81
|
consumer_key: None = None,
|
|
67
82
|
client_id: None = None,
|
|
83
|
+
access_token: None = None,
|
|
68
84
|
**kwargs: typing.Any,
|
|
69
85
|
) -> None:
|
|
70
86
|
...
|
|
@@ -114,6 +114,7 @@ conf = snaptrade_client.Configuration(
|
|
|
114
114
|
def __init__(self, host=None,
|
|
115
115
|
auth: typing.Optional[TAuth] = None,
|
|
116
116
|
api_key=None, api_key_prefix=None,
|
|
117
|
+
access_token=None,
|
|
117
118
|
username=None, password=None,
|
|
118
119
|
discard_unknown_keys=False,
|
|
119
120
|
client_id=None,
|
|
@@ -154,6 +155,9 @@ conf = snaptrade_client.Configuration(
|
|
|
154
155
|
client_id = getattr(auth, "client_id")
|
|
155
156
|
if getattr(auth, "consumer_key", None) is not None:
|
|
156
157
|
self.consumer_key = getattr(auth, "consumer_key")
|
|
158
|
+
if self.auth_mode == "oauth":
|
|
159
|
+
if getattr(auth, "access_token", None) is not None:
|
|
160
|
+
access_token = getattr(auth, "access_token")
|
|
157
161
|
self.server_variables = server_variables or {}
|
|
158
162
|
self.server_operation_variables = server_operation_variables or {}
|
|
159
163
|
"""Default server variables
|
|
@@ -192,6 +196,9 @@ conf = snaptrade_client.Configuration(
|
|
|
192
196
|
self.refresh_api_key_hook = None
|
|
193
197
|
"""function hook to refresh API key if expired
|
|
194
198
|
"""
|
|
199
|
+
self.access_token = access_token
|
|
200
|
+
"""Token for HTTP Basic Bearer Authentication
|
|
201
|
+
"""
|
|
195
202
|
self.username = username
|
|
196
203
|
"""Username for HTTP basic authentication
|
|
197
204
|
"""
|
|
@@ -426,6 +433,13 @@ conf = snaptrade_client.Configuration(
|
|
|
426
433
|
:return: The Auth Settings information dict.
|
|
427
434
|
"""
|
|
428
435
|
auth = {}
|
|
436
|
+
if self.access_token is not None:
|
|
437
|
+
auth['OAuthBearer'] = {
|
|
438
|
+
'type': 'bearer',
|
|
439
|
+
'in': 'header',
|
|
440
|
+
'key': 'Authorization',
|
|
441
|
+
'value': 'Bearer ' + self.access_token
|
|
442
|
+
}
|
|
429
443
|
if 'PartnerClientId' in self.api_key:
|
|
430
444
|
auth['PartnerClientId'] = {
|
|
431
445
|
'type': 'api_key',
|
|
@@ -508,7 +522,11 @@ conf = snaptrade_client.Configuration(
|
|
|
508
522
|
return fallback_auth_settings
|
|
509
523
|
if self.auth_mode is None:
|
|
510
524
|
return fallback_auth_settings
|
|
511
|
-
|
|
525
|
+
if self.auth_mode not in auth_modes:
|
|
526
|
+
raise ClientConfigurationError(
|
|
527
|
+
"This operation does not support the selected auth mode: %s" % self.auth_mode
|
|
528
|
+
)
|
|
529
|
+
return auth_modes[self.auth_mode]
|
|
512
530
|
|
|
513
531
|
def to_debug_report(self):
|
|
514
532
|
"""Gets the essential information for debugging.
|
|
@@ -519,7 +537,7 @@ conf = snaptrade_client.Configuration(
|
|
|
519
537
|
"OS: {env}\n"\
|
|
520
538
|
"Python Version: {pyversion}\n"\
|
|
521
539
|
"Version of the API: 1.0.0\n"\
|
|
522
|
-
"SDK Package Version: 13.
|
|
540
|
+
"SDK Package Version: 13.2.0".\
|
|
523
541
|
format(env=sys.platform, pyversion=sys.version)
|
|
524
542
|
|
|
525
543
|
def get_host_settings(self):
|
|
@@ -271,6 +271,7 @@ class Account(
|
|
|
271
271
|
"DEPOSIT": "DEPOSIT",
|
|
272
272
|
"LOC": "LOC",
|
|
273
273
|
"ANNUITY": "ANNUITY",
|
|
274
|
+
"MORTGAGE": "MORTGAGE",
|
|
274
275
|
}
|
|
275
276
|
|
|
276
277
|
@schemas.classproperty
|
|
@@ -288,6 +289,10 @@ class Account(
|
|
|
288
289
|
@schemas.classproperty
|
|
289
290
|
def ANNUITY(cls):
|
|
290
291
|
return cls("ANNUITY")
|
|
292
|
+
|
|
293
|
+
@schemas.classproperty
|
|
294
|
+
def MORTGAGE(cls):
|
|
295
|
+
return cls("MORTGAGE")
|
|
291
296
|
|
|
292
297
|
|
|
293
298
|
def __new__(
|
|
@@ -271,6 +271,7 @@ class Account(
|
|
|
271
271
|
"DEPOSIT": "DEPOSIT",
|
|
272
272
|
"LOC": "LOC",
|
|
273
273
|
"ANNUITY": "ANNUITY",
|
|
274
|
+
"MORTGAGE": "MORTGAGE",
|
|
274
275
|
}
|
|
275
276
|
|
|
276
277
|
@schemas.classproperty
|
|
@@ -288,6 +289,10 @@ class Account(
|
|
|
288
289
|
@schemas.classproperty
|
|
289
290
|
def ANNUITY(cls):
|
|
290
291
|
return cls("ANNUITY")
|
|
292
|
+
|
|
293
|
+
@schemas.classproperty
|
|
294
|
+
def MORTGAGE(cls):
|
|
295
|
+
return cls("MORTGAGE")
|
|
291
296
|
|
|
292
297
|
|
|
293
298
|
def __new__(
|
|
@@ -30,10 +30,9 @@ class AnnuityAccount(
|
|
|
30
30
|
"""
|
|
31
31
|
This class is auto generated by Konfig (https://konfigthis.com)
|
|
32
32
|
|
|
33
|
-
An annuity contract account under a connection.
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
surrender/cash value (`netPresentValue` from Akoya), not available cash.
|
|
33
|
+
An annuity contract account under a connection. Investment accounts holding
|
|
34
|
+
annuity products remain `investment` accounts. `net_value` is the
|
|
35
|
+
contract's surrender/cash value, not available cash.
|
|
37
36
|
It is real-time or cached depending on the caller's plan, and always cached
|
|
38
37
|
on `AccountInformation_listAllUserAccounts`.
|
|
39
38
|
|
|
@@ -30,10 +30,9 @@ class AnnuityAccount(
|
|
|
30
30
|
"""
|
|
31
31
|
This class is auto generated by Konfig (https://konfigthis.com)
|
|
32
32
|
|
|
33
|
-
An annuity contract account under a connection.
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
surrender/cash value (`netPresentValue` from Akoya), not available cash.
|
|
33
|
+
An annuity contract account under a connection. Investment accounts holding
|
|
34
|
+
annuity products remain `investment` accounts. `net_value` is the
|
|
35
|
+
contract's surrender/cash value, not available cash.
|
|
37
36
|
It is real-time or cached depending on the caller's plan, and always cached
|
|
38
37
|
on `AccountInformation_listAllUserAccounts`.
|
|
39
38
|
|
|
@@ -30,8 +30,8 @@ class AnnuityAccountSyncStatus(
|
|
|
30
30
|
"""
|
|
31
31
|
This class is auto generated by Konfig (https://konfigthis.com)
|
|
32
32
|
|
|
33
|
-
Contains sync status for an annuity contract's value.
|
|
34
|
-
|
|
33
|
+
Contains sync status for an annuity contract's value.
|
|
34
|
+
Transactions, orders, and positions are omitted.
|
|
35
35
|
`balances` is derived from the last successful holdings sync and is null if
|
|
36
36
|
never synced. It tracks the contract value, not available cash.
|
|
37
37
|
|
|
@@ -30,8 +30,8 @@ class AnnuityAccountSyncStatus(
|
|
|
30
30
|
"""
|
|
31
31
|
This class is auto generated by Konfig (https://konfigthis.com)
|
|
32
32
|
|
|
33
|
-
Contains sync status for an annuity contract's value.
|
|
34
|
-
|
|
33
|
+
Contains sync status for an annuity contract's value.
|
|
34
|
+
Transactions, orders, and positions are omitted.
|
|
35
35
|
`balances` is derived from the last successful holdings sync and is null if
|
|
36
36
|
never synced. It tracks the contract value, not available cash.
|
|
37
37
|
|
|
@@ -35,7 +35,7 @@ used by `Connections_listConnectionAccounts` and
|
|
|
35
35
|
`AccountInformation_listAllUserAccounts`. Use `kind` to determine
|
|
36
36
|
which schema is present.
|
|
37
37
|
|
|
38
|
-
`investment`, `deposit`, `line_of_credit`, and `
|
|
38
|
+
`investment`, `deposit`, `line_of_credit`, `annuity`, and `mortgage` are implemented today.
|
|
39
39
|
|
|
40
40
|
"""
|
|
41
41
|
|
|
@@ -50,10 +50,12 @@ which schema is present.
|
|
|
50
50
|
'DepositAccount': DepositAccount,
|
|
51
51
|
'InvestmentAccount': InvestmentAccount,
|
|
52
52
|
'LineOfCreditAccount': LineOfCreditAccount,
|
|
53
|
+
'MortgageAccount': MortgageAccount,
|
|
53
54
|
'annuity': AnnuityAccount,
|
|
54
55
|
'deposit': DepositAccount,
|
|
55
56
|
'investment': InvestmentAccount,
|
|
56
57
|
'line_of_credit': LineOfCreditAccount,
|
|
58
|
+
'mortgage': MortgageAccount,
|
|
57
59
|
}
|
|
58
60
|
}
|
|
59
61
|
|
|
@@ -72,6 +74,7 @@ which schema is present.
|
|
|
72
74
|
DepositAccount,
|
|
73
75
|
LineOfCreditAccount,
|
|
74
76
|
AnnuityAccount,
|
|
77
|
+
MortgageAccount,
|
|
75
78
|
]
|
|
76
79
|
|
|
77
80
|
|
|
@@ -92,3 +95,4 @@ from snaptrade_client.model.annuity_account import AnnuityAccount
|
|
|
92
95
|
from snaptrade_client.model.deposit_account import DepositAccount
|
|
93
96
|
from snaptrade_client.model.investment_account import InvestmentAccount
|
|
94
97
|
from snaptrade_client.model.line_of_credit_account import LineOfCreditAccount
|
|
98
|
+
from snaptrade_client.model.mortgage_account import MortgageAccount
|
|
@@ -35,7 +35,7 @@ used by `Connections_listConnectionAccounts` and
|
|
|
35
35
|
`AccountInformation_listAllUserAccounts`. Use `kind` to determine
|
|
36
36
|
which schema is present.
|
|
37
37
|
|
|
38
|
-
`investment`, `deposit`, `line_of_credit`, and `
|
|
38
|
+
`investment`, `deposit`, `line_of_credit`, `annuity`, and `mortgage` are implemented today.
|
|
39
39
|
|
|
40
40
|
"""
|
|
41
41
|
|
|
@@ -50,10 +50,12 @@ which schema is present.
|
|
|
50
50
|
'DepositAccount': DepositAccount,
|
|
51
51
|
'InvestmentAccount': InvestmentAccount,
|
|
52
52
|
'LineOfCreditAccount': LineOfCreditAccount,
|
|
53
|
+
'MortgageAccount': MortgageAccount,
|
|
53
54
|
'annuity': AnnuityAccount,
|
|
54
55
|
'deposit': DepositAccount,
|
|
55
56
|
'investment': InvestmentAccount,
|
|
56
57
|
'line_of_credit': LineOfCreditAccount,
|
|
58
|
+
'mortgage': MortgageAccount,
|
|
57
59
|
}
|
|
58
60
|
}
|
|
59
61
|
|
|
@@ -72,6 +74,7 @@ which schema is present.
|
|
|
72
74
|
DepositAccount,
|
|
73
75
|
LineOfCreditAccount,
|
|
74
76
|
AnnuityAccount,
|
|
77
|
+
MortgageAccount,
|
|
75
78
|
]
|
|
76
79
|
|
|
77
80
|
|
|
@@ -92,3 +95,4 @@ from snaptrade_client.model.annuity_account import AnnuityAccount
|
|
|
92
95
|
from snaptrade_client.model.deposit_account import DepositAccount
|
|
93
96
|
from snaptrade_client.model.investment_account import InvestmentAccount
|
|
94
97
|
from snaptrade_client.model.line_of_credit_account import LineOfCreditAccount
|
|
98
|
+
from snaptrade_client.model.mortgage_account import MortgageAccount
|