lusid-sdk 2.1.598__py3-none-any.whl → 2.1.600__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.
- lusid/__init__.py +8 -0
- lusid/api/__init__.py +2 -0
- lusid/api/chart_of_accounts_api.py +6 -6
- lusid/api/timelines_api.py +731 -0
- lusid/api/transaction_portfolios_api.py +6 -6
- lusid/configuration.py +1 -1
- lusid/models/__init__.py +6 -0
- lusid/models/create_derived_property_definition_request.py +5 -3
- lusid/models/create_timeline_request.py +102 -0
- lusid/models/output_transaction.py +7 -1
- lusid/models/property_definition.py +3 -1
- lusid/models/property_definition_search_result.py +3 -1
- lusid/models/timeline.py +135 -0
- lusid/models/update_derived_property_definition_request.py +5 -3
- lusid/models/update_timeline_request.py +96 -0
- {lusid_sdk-2.1.598.dist-info → lusid_sdk-2.1.600.dist-info}/METADATA +9 -1
- {lusid_sdk-2.1.598.dist-info → lusid_sdk-2.1.600.dist-info}/RECORD +18 -14
- {lusid_sdk-2.1.598.dist-info → lusid_sdk-2.1.600.dist-info}/WHEEL +1 -1
lusid/__init__.py
CHANGED
@@ -80,6 +80,7 @@ from lusid.api.staging_rule_set_api import StagingRuleSetApi
|
|
80
80
|
from lusid.api.structured_result_data_api import StructuredResultDataApi
|
81
81
|
from lusid.api.system_configuration_api import SystemConfigurationApi
|
82
82
|
from lusid.api.tax_rule_sets_api import TaxRuleSetsApi
|
83
|
+
from lusid.api.timelines_api import TimelinesApi
|
83
84
|
from lusid.api.transaction_configuration_api import TransactionConfigurationApi
|
84
85
|
from lusid.api.transaction_fees_api import TransactionFeesApi
|
85
86
|
from lusid.api.transaction_portfolios_api import TransactionPortfoliosApi
|
@@ -327,6 +328,7 @@ from lusid.models.create_relationship_request import CreateRelationshipRequest
|
|
327
328
|
from lusid.models.create_sequence_request import CreateSequenceRequest
|
328
329
|
from lusid.models.create_staging_rule_set_request import CreateStagingRuleSetRequest
|
329
330
|
from lusid.models.create_tax_rule_set_request import CreateTaxRuleSetRequest
|
331
|
+
from lusid.models.create_timeline_request import CreateTimelineRequest
|
330
332
|
from lusid.models.create_trade_tickets_response import CreateTradeTicketsResponse
|
331
333
|
from lusid.models.create_transaction_portfolio_request import CreateTransactionPortfolioRequest
|
332
334
|
from lusid.models.create_unit_definition import CreateUnitDefinition
|
@@ -1070,6 +1072,7 @@ from lusid.models.tender_event import TenderEvent
|
|
1070
1072
|
from lusid.models.term_deposit import TermDeposit
|
1071
1073
|
from lusid.models.term_deposit_interest_event import TermDepositInterestEvent
|
1072
1074
|
from lusid.models.term_deposit_principal_event import TermDepositPrincipalEvent
|
1075
|
+
from lusid.models.timeline import Timeline
|
1073
1076
|
from lusid.models.total_return_swap import TotalReturnSwap
|
1074
1077
|
from lusid.models.touch import Touch
|
1075
1078
|
from lusid.models.trade_ticket import TradeTicket
|
@@ -1153,6 +1156,7 @@ from lusid.models.update_reference_data_request import UpdateReferenceDataReques
|
|
1153
1156
|
from lusid.models.update_relationship_definition_request import UpdateRelationshipDefinitionRequest
|
1154
1157
|
from lusid.models.update_staging_rule_set_request import UpdateStagingRuleSetRequest
|
1155
1158
|
from lusid.models.update_tax_rule_set_request import UpdateTaxRuleSetRequest
|
1159
|
+
from lusid.models.update_timeline_request import UpdateTimelineRequest
|
1156
1160
|
from lusid.models.update_unit_request import UpdateUnitRequest
|
1157
1161
|
from lusid.models.upsert_cds_flow_conventions_request import UpsertCdsFlowConventionsRequest
|
1158
1162
|
from lusid.models.upsert_complex_market_data_request import UpsertComplexMarketDataRequest
|
@@ -1317,6 +1321,7 @@ __all__ = [
|
|
1317
1321
|
"StructuredResultDataApi",
|
1318
1322
|
"SystemConfigurationApi",
|
1319
1323
|
"TaxRuleSetsApi",
|
1324
|
+
"TimelinesApi",
|
1320
1325
|
"TransactionConfigurationApi",
|
1321
1326
|
"TransactionFeesApi",
|
1322
1327
|
"TransactionPortfoliosApi",
|
@@ -1554,6 +1559,7 @@ __all__ = [
|
|
1554
1559
|
"CreateSequenceRequest",
|
1555
1560
|
"CreateStagingRuleSetRequest",
|
1556
1561
|
"CreateTaxRuleSetRequest",
|
1562
|
+
"CreateTimelineRequest",
|
1557
1563
|
"CreateTradeTicketsResponse",
|
1558
1564
|
"CreateTransactionPortfolioRequest",
|
1559
1565
|
"CreateUnitDefinition",
|
@@ -2297,6 +2303,7 @@ __all__ = [
|
|
2297
2303
|
"TermDeposit",
|
2298
2304
|
"TermDepositInterestEvent",
|
2299
2305
|
"TermDepositPrincipalEvent",
|
2306
|
+
"Timeline",
|
2300
2307
|
"TotalReturnSwap",
|
2301
2308
|
"Touch",
|
2302
2309
|
"TradeTicket",
|
@@ -2380,6 +2387,7 @@ __all__ = [
|
|
2380
2387
|
"UpdateRelationshipDefinitionRequest",
|
2381
2388
|
"UpdateStagingRuleSetRequest",
|
2382
2389
|
"UpdateTaxRuleSetRequest",
|
2390
|
+
"UpdateTimelineRequest",
|
2383
2391
|
"UpdateUnitRequest",
|
2384
2392
|
"UpsertCdsFlowConventionsRequest",
|
2385
2393
|
"UpsertComplexMarketDataRequest",
|
lusid/api/__init__.py
CHANGED
@@ -64,6 +64,7 @@ from lusid.api.staging_rule_set_api import StagingRuleSetApi
|
|
64
64
|
from lusid.api.structured_result_data_api import StructuredResultDataApi
|
65
65
|
from lusid.api.system_configuration_api import SystemConfigurationApi
|
66
66
|
from lusid.api.tax_rule_sets_api import TaxRuleSetsApi
|
67
|
+
from lusid.api.timelines_api import TimelinesApi
|
67
68
|
from lusid.api.transaction_configuration_api import TransactionConfigurationApi
|
68
69
|
from lusid.api.transaction_fees_api import TransactionFeesApi
|
69
70
|
from lusid.api.transaction_portfolios_api import TransactionPortfoliosApi
|
@@ -135,6 +136,7 @@ __all__ = [
|
|
135
136
|
"StructuredResultDataApi",
|
136
137
|
"SystemConfigurationApi",
|
137
138
|
"TaxRuleSetsApi",
|
139
|
+
"TimelinesApi",
|
138
140
|
"TransactionConfigurationApi",
|
139
141
|
"TransactionFeesApi",
|
140
142
|
"TransactionPortfoliosApi",
|
@@ -1609,15 +1609,15 @@ class ChartOfAccountsApi:
|
|
1609
1609
|
_request_auth=_params.get('_request_auth'))
|
1610
1610
|
|
1611
1611
|
@overload
|
1612
|
-
async def get_account(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the Chart of Accounts.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the Chart of Accounts. Together with the scope this uniquely identifies the Chart of Accounts.")], account_code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the Account.")], effective_at : Annotated[Optional[StrictStr], Field(description="The effective datetime or cut label at which to retrieve the Account properties. Defaults to the current LUSID system datetime if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the Account definition. Defaults to returning the latest version of the Account definition if not specified.")] = None, property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the 'Account' domain to decorate onto the Account. These must take the format {domain}/{scope}/{code}, for example 'Account/Manager/Id'. If
|
1612
|
+
async def get_account(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the Chart of Accounts.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the Chart of Accounts. Together with the scope this uniquely identifies the Chart of Accounts.")], account_code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the Account.")], effective_at : Annotated[Optional[StrictStr], Field(description="The effective datetime or cut label at which to retrieve the Account properties. Defaults to the current LUSID system datetime if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the Account definition. Defaults to returning the latest version of the Account definition if not specified.")] = None, property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the 'Account' domain to decorate onto the Account. These must take the format {domain}/{scope}/{code}, for example 'Account/Manager/Id'. If no properties are specified, then no properties will be returned.")] = None, **kwargs) -> Account: # noqa: E501
|
1613
1613
|
...
|
1614
1614
|
|
1615
1615
|
@overload
|
1616
|
-
def get_account(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the Chart of Accounts.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the Chart of Accounts. Together with the scope this uniquely identifies the Chart of Accounts.")], account_code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the Account.")], effective_at : Annotated[Optional[StrictStr], Field(description="The effective datetime or cut label at which to retrieve the Account properties. Defaults to the current LUSID system datetime if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the Account definition. Defaults to returning the latest version of the Account definition if not specified.")] = None, property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the 'Account' domain to decorate onto the Account. These must take the format {domain}/{scope}/{code}, for example 'Account/Manager/Id'. If
|
1616
|
+
def get_account(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the Chart of Accounts.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the Chart of Accounts. Together with the scope this uniquely identifies the Chart of Accounts.")], account_code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the Account.")], effective_at : Annotated[Optional[StrictStr], Field(description="The effective datetime or cut label at which to retrieve the Account properties. Defaults to the current LUSID system datetime if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the Account definition. Defaults to returning the latest version of the Account definition if not specified.")] = None, property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the 'Account' domain to decorate onto the Account. These must take the format {domain}/{scope}/{code}, for example 'Account/Manager/Id'. If no properties are specified, then no properties will be returned.")] = None, async_req: Optional[bool]=True, **kwargs) -> Account: # noqa: E501
|
1617
1617
|
...
|
1618
1618
|
|
1619
1619
|
@validate_arguments
|
1620
|
-
def get_account(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the Chart of Accounts.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the Chart of Accounts. Together with the scope this uniquely identifies the Chart of Accounts.")], account_code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the Account.")], effective_at : Annotated[Optional[StrictStr], Field(description="The effective datetime or cut label at which to retrieve the Account properties. Defaults to the current LUSID system datetime if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the Account definition. Defaults to returning the latest version of the Account definition if not specified.")] = None, property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the 'Account' domain to decorate onto the Account. These must take the format {domain}/{scope}/{code}, for example 'Account/Manager/Id'. If
|
1620
|
+
def get_account(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the Chart of Accounts.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the Chart of Accounts. Together with the scope this uniquely identifies the Chart of Accounts.")], account_code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the Account.")], effective_at : Annotated[Optional[StrictStr], Field(description="The effective datetime or cut label at which to retrieve the Account properties. Defaults to the current LUSID system datetime if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the Account definition. Defaults to returning the latest version of the Account definition if not specified.")] = None, property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the 'Account' domain to decorate onto the Account. These must take the format {domain}/{scope}/{code}, for example 'Account/Manager/Id'. If no properties are specified, then no properties will be returned.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[Account, Awaitable[Account]]: # noqa: E501
|
1621
1621
|
"""[EXPERIMENTAL] GetAccount: Get Account # noqa: E501
|
1622
1622
|
|
1623
1623
|
Retrieve the definition of a particular Account which is part of a Chart of Accounts. # noqa: E501
|
@@ -1637,7 +1637,7 @@ class ChartOfAccountsApi:
|
|
1637
1637
|
:type effective_at: str
|
1638
1638
|
:param as_at: The asAt datetime at which to retrieve the Account definition. Defaults to returning the latest version of the Account definition if not specified.
|
1639
1639
|
:type as_at: datetime
|
1640
|
-
:param property_keys: A list of property keys from the 'Account' domain to decorate onto the Account. These must take the format {domain}/{scope}/{code}, for example 'Account/Manager/Id'. If
|
1640
|
+
:param property_keys: A list of property keys from the 'Account' domain to decorate onto the Account. These must take the format {domain}/{scope}/{code}, for example 'Account/Manager/Id'. If no properties are specified, then no properties will be returned.
|
1641
1641
|
:type property_keys: List[str]
|
1642
1642
|
:param async_req: Whether to execute the request asynchronously.
|
1643
1643
|
:type async_req: bool, optional
|
@@ -1658,7 +1658,7 @@ class ChartOfAccountsApi:
|
|
1658
1658
|
return self.get_account_with_http_info(scope, code, account_code, effective_at, as_at, property_keys, **kwargs) # noqa: E501
|
1659
1659
|
|
1660
1660
|
@validate_arguments
|
1661
|
-
def get_account_with_http_info(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the Chart of Accounts.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the Chart of Accounts. Together with the scope this uniquely identifies the Chart of Accounts.")], account_code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the Account.")], effective_at : Annotated[Optional[StrictStr], Field(description="The effective datetime or cut label at which to retrieve the Account properties. Defaults to the current LUSID system datetime if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the Account definition. Defaults to returning the latest version of the Account definition if not specified.")] = None, property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the 'Account' domain to decorate onto the Account. These must take the format {domain}/{scope}/{code}, for example 'Account/Manager/Id'. If
|
1661
|
+
def get_account_with_http_info(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the Chart of Accounts.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the Chart of Accounts. Together with the scope this uniquely identifies the Chart of Accounts.")], account_code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the Account.")], effective_at : Annotated[Optional[StrictStr], Field(description="The effective datetime or cut label at which to retrieve the Account properties. Defaults to the current LUSID system datetime if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the Account definition. Defaults to returning the latest version of the Account definition if not specified.")] = None, property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the 'Account' domain to decorate onto the Account. These must take the format {domain}/{scope}/{code}, for example 'Account/Manager/Id'. If no properties are specified, then no properties will be returned.")] = None, **kwargs) -> ApiResponse: # noqa: E501
|
1662
1662
|
"""[EXPERIMENTAL] GetAccount: Get Account # noqa: E501
|
1663
1663
|
|
1664
1664
|
Retrieve the definition of a particular Account which is part of a Chart of Accounts. # noqa: E501
|
@@ -1678,7 +1678,7 @@ class ChartOfAccountsApi:
|
|
1678
1678
|
:type effective_at: str
|
1679
1679
|
:param as_at: The asAt datetime at which to retrieve the Account definition. Defaults to returning the latest version of the Account definition if not specified.
|
1680
1680
|
:type as_at: datetime
|
1681
|
-
:param property_keys: A list of property keys from the 'Account' domain to decorate onto the Account. These must take the format {domain}/{scope}/{code}, for example 'Account/Manager/Id'. If
|
1681
|
+
:param property_keys: A list of property keys from the 'Account' domain to decorate onto the Account. These must take the format {domain}/{scope}/{code}, for example 'Account/Manager/Id'. If no properties are specified, then no properties will be returned.
|
1682
1682
|
:type property_keys: List[str]
|
1683
1683
|
:param async_req: Whether to execute the request asynchronously.
|
1684
1684
|
:type async_req: bool, optional
|