lusid-sdk 2.1.707__py3-none-any.whl → 2.1.712__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 +14 -2
- lusid/api/amortisation_rule_sets_api.py +2 -2
- lusid/api/funds_api.py +7 -7
- lusid/api/instruments_api.py +24 -8
- lusid/api/tax_rule_sets_api.py +2 -2
- lusid/api/transaction_fees_api.py +4 -4
- lusid/configuration.py +1 -1
- lusid/models/__init__.py +14 -2
- lusid/models/accumulation_event.py +3 -3
- lusid/models/adjust_global_commitment_event.py +3 -3
- lusid/models/amortisation_event.py +3 -3
- lusid/models/bond_coupon_event.py +3 -3
- lusid/models/bond_default_event.py +3 -3
- lusid/models/bond_principal_event.py +3 -3
- lusid/models/bonus_issue_event.py +3 -3
- lusid/models/call_on_intermediate_securities_event.py +3 -3
- lusid/models/capital_distribution_event.py +3 -3
- lusid/models/cash_dividend_event.py +3 -3
- lusid/models/cash_flow_event.py +3 -3
- lusid/models/cds_credit_event.py +3 -3
- lusid/models/cdx_credit_event.py +12 -5
- lusid/models/close_event.py +3 -3
- lusid/models/contract_initialisation_event.py +3 -3
- lusid/models/credit_premium_cash_flow_event.py +3 -3
- lusid/models/curve_options.py +1 -1
- lusid/models/data_model_membership.py +91 -0
- lusid/models/dividend_option_event.py +3 -3
- lusid/models/dividend_reinvestment_event.py +3 -3
- lusid/models/drawdown_event.py +3 -3
- lusid/models/early_redemption_event.py +3 -3
- lusid/models/exercise_event.py +3 -3
- lusid/models/expiry_event.py +3 -3
- lusid/models/fund_journal_entry_line.py +263 -0
- lusid/models/future_expiry_event.py +3 -3
- lusid/models/future_mark_to_market_event.py +3 -3
- lusid/models/fx_forward_settlement_event.py +3 -3
- lusid/models/informational_error_event.py +3 -3
- lusid/models/informational_event.py +3 -3
- lusid/models/instrument.py +7 -1
- lusid/models/instrument_event.py +6 -5
- lusid/models/instrument_event_type.py +1 -0
- lusid/models/intermediate_securities_distribution_event.py +3 -3
- lusid/models/journal_entry_line_share_class_breakdown.py +88 -0
- lusid/models/loan_interest_repayment_event.py +3 -3
- lusid/models/loan_principal_repayment_event.py +118 -0
- lusid/models/maturity_event.py +3 -3
- lusid/models/mbs_coupon_event.py +3 -3
- lusid/models/mbs_interest_deferral_event.py +3 -3
- lusid/models/mbs_interest_shortfall_event.py +3 -3
- lusid/models/mbs_principal_event.py +3 -3
- lusid/models/mbs_principal_write_off_event.py +3 -3
- lusid/models/membership.py +81 -0
- lusid/models/membership_and_status.py +83 -0
- lusid/models/merger_event.py +3 -3
- lusid/models/open_event.py +3 -3
- lusid/models/option_exercise_cash_event.py +3 -3
- lusid/models/option_exercise_physical_event.py +3 -3
- lusid/models/output_transaction.py +19 -2
- lusid/models/protection_payout_cash_flow_event.py +3 -3
- lusid/models/raw_vendor_event.py +3 -3
- lusid/models/reset_event.py +3 -3
- lusid/models/reverse_stock_split_event.py +3 -3
- lusid/models/scrip_dividend_event.py +3 -3
- lusid/models/spin_off_event.py +3 -3
- lusid/models/stock_dividend_event.py +3 -3
- lusid/models/stock_split_event.py +3 -3
- lusid/models/swap_cash_flow_event.py +3 -3
- lusid/models/swap_principal_event.py +3 -3
- lusid/models/tender_event.py +3 -3
- lusid/models/term_deposit_interest_event.py +3 -3
- lusid/models/term_deposit_principal_event.py +3 -3
- lusid/models/transition_event.py +3 -3
- lusid/models/trigger_event.py +3 -3
- lusid/models/update_deposit_amount_event.py +3 -3
- lusid/models/{valuation_point_resource_list_of_journal_entry_line.py → valuation_point_resource_list_of_fund_journal_entry_line.py} +10 -10
- {lusid_sdk-2.1.707.dist-info → lusid_sdk-2.1.712.dist-info}/METADATA +8 -2
- {lusid_sdk-2.1.707.dist-info → lusid_sdk-2.1.712.dist-info}/RECORD +78 -72
- {lusid_sdk-2.1.707.dist-info → lusid_sdk-2.1.712.dist-info}/WHEEL +0 -0
lusid/__init__.py
CHANGED
@@ -377,6 +377,7 @@ from lusid.models.cut_local_time import CutLocalTime
|
|
377
377
|
from lusid.models.data_definition import DataDefinition
|
378
378
|
from lusid.models.data_map_key import DataMapKey
|
379
379
|
from lusid.models.data_mapping import DataMapping
|
380
|
+
from lusid.models.data_model_membership import DataModelMembership
|
380
381
|
from lusid.models.data_model_summary import DataModelSummary
|
381
382
|
from lusid.models.data_scope import DataScope
|
382
383
|
from lusid.models.data_type import DataType
|
@@ -485,6 +486,7 @@ from lusid.models.fund_configuration_properties import FundConfigurationProperti
|
|
485
486
|
from lusid.models.fund_configuration_request import FundConfigurationRequest
|
486
487
|
from lusid.models.fund_details import FundDetails
|
487
488
|
from lusid.models.fund_id_list import FundIdList
|
489
|
+
from lusid.models.fund_journal_entry_line import FundJournalEntryLine
|
488
490
|
from lusid.models.fund_pnl_breakdown import FundPnlBreakdown
|
489
491
|
from lusid.models.fund_previous_nav import FundPreviousNAV
|
490
492
|
from lusid.models.fund_properties import FundProperties
|
@@ -636,6 +638,7 @@ from lusid.models.ir_vol_cube_data import IrVolCubeData
|
|
636
638
|
from lusid.models.ir_vol_dependency import IrVolDependency
|
637
639
|
from lusid.models.is_business_day_response import IsBusinessDayResponse
|
638
640
|
from lusid.models.journal_entry_line import JournalEntryLine
|
641
|
+
from lusid.models.journal_entry_line_share_class_breakdown import JournalEntryLineShareClassBreakdown
|
639
642
|
from lusid.models.journal_entry_lines_query_parameters import JournalEntryLinesQueryParameters
|
640
643
|
from lusid.models.label_value_set import LabelValueSet
|
641
644
|
from lusid.models.lapse_election import LapseElection
|
@@ -652,6 +655,7 @@ from lusid.models.list_complex_market_data_with_meta_data_response import ListCo
|
|
652
655
|
from lusid.models.loan_facility import LoanFacility
|
653
656
|
from lusid.models.loan_interest_repayment_event import LoanInterestRepaymentEvent
|
654
657
|
from lusid.models.loan_period import LoanPeriod
|
658
|
+
from lusid.models.loan_principal_repayment_event import LoanPrincipalRepaymentEvent
|
655
659
|
from lusid.models.lock_period_diary_entry_request import LockPeriodDiaryEntryRequest
|
656
660
|
from lusid.models.lusid_instrument import LusidInstrument
|
657
661
|
from lusid.models.lusid_problem_details import LusidProblemDetails
|
@@ -681,6 +685,8 @@ from lusid.models.mbs_interest_deferral_event import MbsInterestDeferralEvent
|
|
681
685
|
from lusid.models.mbs_interest_shortfall_event import MbsInterestShortfallEvent
|
682
686
|
from lusid.models.mbs_principal_event import MbsPrincipalEvent
|
683
687
|
from lusid.models.mbs_principal_write_off_event import MbsPrincipalWriteOffEvent
|
688
|
+
from lusid.models.membership import Membership
|
689
|
+
from lusid.models.membership_and_status import MembershipAndStatus
|
684
690
|
from lusid.models.merger_event import MergerEvent
|
685
691
|
from lusid.models.metric_value import MetricValue
|
686
692
|
from lusid.models.model_options import ModelOptions
|
@@ -1245,7 +1251,7 @@ from lusid.models.valuation_point_data_request import ValuationPointDataRequest
|
|
1245
1251
|
from lusid.models.valuation_point_data_response import ValuationPointDataResponse
|
1246
1252
|
from lusid.models.valuation_point_overview import ValuationPointOverview
|
1247
1253
|
from lusid.models.valuation_point_resource_list_of_accounted_transaction import ValuationPointResourceListOfAccountedTransaction
|
1248
|
-
from lusid.models.
|
1254
|
+
from lusid.models.valuation_point_resource_list_of_fund_journal_entry_line import ValuationPointResourceListOfFundJournalEntryLine
|
1249
1255
|
from lusid.models.valuation_point_resource_list_of_pnl_journal_entry_line import ValuationPointResourceListOfPnlJournalEntryLine
|
1250
1256
|
from lusid.models.valuation_point_resource_list_of_trial_balance import ValuationPointResourceListOfTrialBalance
|
1251
1257
|
from lusid.models.valuation_request import ValuationRequest
|
@@ -1646,6 +1652,7 @@ __all__ = [
|
|
1646
1652
|
"DataDefinition",
|
1647
1653
|
"DataMapKey",
|
1648
1654
|
"DataMapping",
|
1655
|
+
"DataModelMembership",
|
1649
1656
|
"DataModelSummary",
|
1650
1657
|
"DataScope",
|
1651
1658
|
"DataType",
|
@@ -1754,6 +1761,7 @@ __all__ = [
|
|
1754
1761
|
"FundConfigurationRequest",
|
1755
1762
|
"FundDetails",
|
1756
1763
|
"FundIdList",
|
1764
|
+
"FundJournalEntryLine",
|
1757
1765
|
"FundPnlBreakdown",
|
1758
1766
|
"FundPreviousNAV",
|
1759
1767
|
"FundProperties",
|
@@ -1905,6 +1913,7 @@ __all__ = [
|
|
1905
1913
|
"IrVolDependency",
|
1906
1914
|
"IsBusinessDayResponse",
|
1907
1915
|
"JournalEntryLine",
|
1916
|
+
"JournalEntryLineShareClassBreakdown",
|
1908
1917
|
"JournalEntryLinesQueryParameters",
|
1909
1918
|
"LabelValueSet",
|
1910
1919
|
"LapseElection",
|
@@ -1921,6 +1930,7 @@ __all__ = [
|
|
1921
1930
|
"LoanFacility",
|
1922
1931
|
"LoanInterestRepaymentEvent",
|
1923
1932
|
"LoanPeriod",
|
1933
|
+
"LoanPrincipalRepaymentEvent",
|
1924
1934
|
"LockPeriodDiaryEntryRequest",
|
1925
1935
|
"LusidInstrument",
|
1926
1936
|
"LusidProblemDetails",
|
@@ -1950,6 +1960,8 @@ __all__ = [
|
|
1950
1960
|
"MbsInterestShortfallEvent",
|
1951
1961
|
"MbsPrincipalEvent",
|
1952
1962
|
"MbsPrincipalWriteOffEvent",
|
1963
|
+
"Membership",
|
1964
|
+
"MembershipAndStatus",
|
1953
1965
|
"MergerEvent",
|
1954
1966
|
"MetricValue",
|
1955
1967
|
"ModelOptions",
|
@@ -2514,7 +2526,7 @@ __all__ = [
|
|
2514
2526
|
"ValuationPointDataResponse",
|
2515
2527
|
"ValuationPointOverview",
|
2516
2528
|
"ValuationPointResourceListOfAccountedTransaction",
|
2517
|
-
"
|
2529
|
+
"ValuationPointResourceListOfFundJournalEntryLine",
|
2518
2530
|
"ValuationPointResourceListOfPnlJournalEntryLine",
|
2519
2531
|
"ValuationPointResourceListOfTrialBalance",
|
2520
2532
|
"ValuationRequest",
|
@@ -232,7 +232,7 @@ class AmortisationRuleSetsApi:
|
|
232
232
|
def delete_amortisation_ruleset(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The rule set scope.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The rule set code.")], async_req: Optional[bool]=None, **kwargs) -> Union[DeletedEntityResponse, Awaitable[DeletedEntityResponse]]: # noqa: E501
|
233
233
|
"""[EXPERIMENTAL] DeleteAmortisationRuleset: Delete an amortisation rule set. # noqa: E501
|
234
234
|
|
235
|
-
|
235
|
+
Deletes the rule set perpetually, including its rules. The rule set will remain viewable at previous as at times, but it will no longer be considered applicable. This cannot be undone. # noqa: E501
|
236
236
|
This method makes a synchronous HTTP request by default. To make an
|
237
237
|
asynchronous HTTP request, please pass async_req=True
|
238
238
|
|
@@ -265,7 +265,7 @@ class AmortisationRuleSetsApi:
|
|
265
265
|
def delete_amortisation_ruleset_with_http_info(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The rule set scope.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The rule set code.")], **kwargs) -> ApiResponse: # noqa: E501
|
266
266
|
"""[EXPERIMENTAL] DeleteAmortisationRuleset: Delete an amortisation rule set. # noqa: E501
|
267
267
|
|
268
|
-
|
268
|
+
Deletes the rule set perpetually, including its rules. The rule set will remain viewable at previous as at times, but it will no longer be considered applicable. This cannot be undone. # noqa: E501
|
269
269
|
This method makes a synchronous HTTP request by default. To make an
|
270
270
|
asynchronous HTTP request, please pass async_req=True
|
271
271
|
|
lusid/api/funds_api.py
CHANGED
@@ -46,7 +46,7 @@ from lusid.models.valuation_point_data_query_parameters import ValuationPointDat
|
|
46
46
|
from lusid.models.valuation_point_data_request import ValuationPointDataRequest
|
47
47
|
from lusid.models.valuation_point_data_response import ValuationPointDataResponse
|
48
48
|
from lusid.models.valuation_point_resource_list_of_accounted_transaction import ValuationPointResourceListOfAccountedTransaction
|
49
|
-
from lusid.models.
|
49
|
+
from lusid.models.valuation_point_resource_list_of_fund_journal_entry_line import ValuationPointResourceListOfFundJournalEntryLine
|
50
50
|
from lusid.models.valuation_point_resource_list_of_pnl_journal_entry_line import ValuationPointResourceListOfPnlJournalEntryLine
|
51
51
|
from lusid.models.valuation_point_resource_list_of_trial_balance import ValuationPointResourceListOfTrialBalance
|
52
52
|
|
@@ -2184,15 +2184,15 @@ class FundsApi:
|
|
2184
2184
|
_request_auth=_params.get('_request_auth'))
|
2185
2185
|
|
2186
2186
|
@overload
|
2187
|
-
async def get_valuation_point_journal_entry_lines(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the Fund.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the Fund. Together with the scope is creating the unique identifier for the given Fund.")], valuation_point_data_query_parameters : Annotated[ValuationPointDataQueryParameters, Field(..., description="The arguments to use for querying the Journal Entry lines.")], general_ledger_profile_code : Annotated[Optional[constr(strict=True, max_length=64, min_length=1)], Field(description="The optional code of a general ledger profile used to decorate journal entry lines with levels.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve Journal Entry lines. Defaults to returning the latest version of each transaction if not specified.")] = None, filter : Annotated[Optional[constr(strict=True, max_length=16384, min_length=0)], Field(description="Expression to filter the result set.")] = None, limit : Annotated[Optional[conint(strict=True, le=5000, ge=1)], Field(description="When paginating, limit the number of returned results to this many. Defaults to 100 if not specified.")] = None, page : Annotated[Optional[constr(strict=True, max_length=500, min_length=1)], Field(description="The pagination token to use to continue listing Journal Entry lines from a previous call to GetValuationPointJournalEntryLines.")] = None, property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the 'Instrument', 'Transaction', 'Portfolio', 'Account', 'LegalEntity' or 'CustodianAccount' domain to decorate onto the journal entry lines.")] = None, **kwargs) ->
|
2187
|
+
async def get_valuation_point_journal_entry_lines(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the Fund.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the Fund. Together with the scope is creating the unique identifier for the given Fund.")], valuation_point_data_query_parameters : Annotated[ValuationPointDataQueryParameters, Field(..., description="The arguments to use for querying the Journal Entry lines.")], general_ledger_profile_code : Annotated[Optional[constr(strict=True, max_length=64, min_length=1)], Field(description="The optional code of a general ledger profile used to decorate journal entry lines with levels.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve Journal Entry lines. Defaults to returning the latest version of each transaction if not specified.")] = None, filter : Annotated[Optional[constr(strict=True, max_length=16384, min_length=0)], Field(description="Expression to filter the result set.")] = None, limit : Annotated[Optional[conint(strict=True, le=5000, ge=1)], Field(description="When paginating, limit the number of returned results to this many. Defaults to 100 if not specified.")] = None, page : Annotated[Optional[constr(strict=True, max_length=500, min_length=1)], Field(description="The pagination token to use to continue listing Journal Entry lines from a previous call to GetValuationPointJournalEntryLines.")] = None, property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the 'Instrument', 'Transaction', 'Portfolio', 'Account', 'LegalEntity' or 'CustodianAccount' domain to decorate onto the journal entry lines.")] = None, **kwargs) -> ValuationPointResourceListOfFundJournalEntryLine: # noqa: E501
|
2188
2188
|
...
|
2189
2189
|
|
2190
2190
|
@overload
|
2191
|
-
def get_valuation_point_journal_entry_lines(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the Fund.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the Fund. Together with the scope is creating the unique identifier for the given Fund.")], valuation_point_data_query_parameters : Annotated[ValuationPointDataQueryParameters, Field(..., description="The arguments to use for querying the Journal Entry lines.")], general_ledger_profile_code : Annotated[Optional[constr(strict=True, max_length=64, min_length=1)], Field(description="The optional code of a general ledger profile used to decorate journal entry lines with levels.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve Journal Entry lines. Defaults to returning the latest version of each transaction if not specified.")] = None, filter : Annotated[Optional[constr(strict=True, max_length=16384, min_length=0)], Field(description="Expression to filter the result set.")] = None, limit : Annotated[Optional[conint(strict=True, le=5000, ge=1)], Field(description="When paginating, limit the number of returned results to this many. Defaults to 100 if not specified.")] = None, page : Annotated[Optional[constr(strict=True, max_length=500, min_length=1)], Field(description="The pagination token to use to continue listing Journal Entry lines from a previous call to GetValuationPointJournalEntryLines.")] = None, property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the 'Instrument', 'Transaction', 'Portfolio', 'Account', 'LegalEntity' or 'CustodianAccount' domain to decorate onto the journal entry lines.")] = None, async_req: Optional[bool]=True, **kwargs) ->
|
2191
|
+
def get_valuation_point_journal_entry_lines(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the Fund.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the Fund. Together with the scope is creating the unique identifier for the given Fund.")], valuation_point_data_query_parameters : Annotated[ValuationPointDataQueryParameters, Field(..., description="The arguments to use for querying the Journal Entry lines.")], general_ledger_profile_code : Annotated[Optional[constr(strict=True, max_length=64, min_length=1)], Field(description="The optional code of a general ledger profile used to decorate journal entry lines with levels.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve Journal Entry lines. Defaults to returning the latest version of each transaction if not specified.")] = None, filter : Annotated[Optional[constr(strict=True, max_length=16384, min_length=0)], Field(description="Expression to filter the result set.")] = None, limit : Annotated[Optional[conint(strict=True, le=5000, ge=1)], Field(description="When paginating, limit the number of returned results to this many. Defaults to 100 if not specified.")] = None, page : Annotated[Optional[constr(strict=True, max_length=500, min_length=1)], Field(description="The pagination token to use to continue listing Journal Entry lines from a previous call to GetValuationPointJournalEntryLines.")] = None, property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the 'Instrument', 'Transaction', 'Portfolio', 'Account', 'LegalEntity' or 'CustodianAccount' domain to decorate onto the journal entry lines.")] = None, async_req: Optional[bool]=True, **kwargs) -> ValuationPointResourceListOfFundJournalEntryLine: # noqa: E501
|
2192
2192
|
...
|
2193
2193
|
|
2194
2194
|
@validate_arguments
|
2195
|
-
def get_valuation_point_journal_entry_lines(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the Fund.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the Fund. Together with the scope is creating the unique identifier for the given Fund.")], valuation_point_data_query_parameters : Annotated[ValuationPointDataQueryParameters, Field(..., description="The arguments to use for querying the Journal Entry lines.")], general_ledger_profile_code : Annotated[Optional[constr(strict=True, max_length=64, min_length=1)], Field(description="The optional code of a general ledger profile used to decorate journal entry lines with levels.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve Journal Entry lines. Defaults to returning the latest version of each transaction if not specified.")] = None, filter : Annotated[Optional[constr(strict=True, max_length=16384, min_length=0)], Field(description="Expression to filter the result set.")] = None, limit : Annotated[Optional[conint(strict=True, le=5000, ge=1)], Field(description="When paginating, limit the number of returned results to this many. Defaults to 100 if not specified.")] = None, page : Annotated[Optional[constr(strict=True, max_length=500, min_length=1)], Field(description="The pagination token to use to continue listing Journal Entry lines from a previous call to GetValuationPointJournalEntryLines.")] = None, property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the 'Instrument', 'Transaction', 'Portfolio', 'Account', 'LegalEntity' or 'CustodianAccount' domain to decorate onto the journal entry lines.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[
|
2195
|
+
def get_valuation_point_journal_entry_lines(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the Fund.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the Fund. Together with the scope is creating the unique identifier for the given Fund.")], valuation_point_data_query_parameters : Annotated[ValuationPointDataQueryParameters, Field(..., description="The arguments to use for querying the Journal Entry lines.")], general_ledger_profile_code : Annotated[Optional[constr(strict=True, max_length=64, min_length=1)], Field(description="The optional code of a general ledger profile used to decorate journal entry lines with levels.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve Journal Entry lines. Defaults to returning the latest version of each transaction if not specified.")] = None, filter : Annotated[Optional[constr(strict=True, max_length=16384, min_length=0)], Field(description="Expression to filter the result set.")] = None, limit : Annotated[Optional[conint(strict=True, le=5000, ge=1)], Field(description="When paginating, limit the number of returned results to this many. Defaults to 100 if not specified.")] = None, page : Annotated[Optional[constr(strict=True, max_length=500, min_length=1)], Field(description="The pagination token to use to continue listing Journal Entry lines from a previous call to GetValuationPointJournalEntryLines.")] = None, property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the 'Instrument', 'Transaction', 'Portfolio', 'Account', 'LegalEntity' or 'CustodianAccount' domain to decorate onto the journal entry lines.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[ValuationPointResourceListOfFundJournalEntryLine, Awaitable[ValuationPointResourceListOfFundJournalEntryLine]]: # noqa: E501
|
2196
2196
|
"""[EXPERIMENTAL] GetValuationPointJournalEntryLines: Get the Journal Entry lines for the given Fund. # noqa: E501
|
2197
2197
|
|
2198
2198
|
Gets the Journal Entry lines for the given Valuation Point for a Fund The Journal Entry lines have been generated from transactions, translated via posting rules and used in the valuation point # noqa: E501
|
@@ -2228,7 +2228,7 @@ class FundsApi:
|
|
2228
2228
|
:return: Returns the result object.
|
2229
2229
|
If the method is called asynchronously,
|
2230
2230
|
returns the request thread.
|
2231
|
-
:rtype:
|
2231
|
+
:rtype: ValuationPointResourceListOfFundJournalEntryLine
|
2232
2232
|
"""
|
2233
2233
|
kwargs['_return_http_data_only'] = True
|
2234
2234
|
if '_preload_content' in kwargs:
|
@@ -2288,7 +2288,7 @@ class FundsApi:
|
|
2288
2288
|
:return: Returns the result object.
|
2289
2289
|
If the method is called asynchronously,
|
2290
2290
|
returns the request thread.
|
2291
|
-
:rtype: tuple(
|
2291
|
+
:rtype: tuple(ValuationPointResourceListOfFundJournalEntryLine, status_code(int), headers(HTTPHeaderDict))
|
2292
2292
|
"""
|
2293
2293
|
|
2294
2294
|
_params = locals()
|
@@ -2387,7 +2387,7 @@ class FundsApi:
|
|
2387
2387
|
_auth_settings = ['oauth2'] # noqa: E501
|
2388
2388
|
|
2389
2389
|
_response_types_map = {
|
2390
|
-
'200': "
|
2390
|
+
'200': "ValuationPointResourceListOfFundJournalEntryLine",
|
2391
2391
|
'400': "LusidValidationProblemDetails",
|
2392
2392
|
}
|
2393
2393
|
|
lusid/api/instruments_api.py
CHANGED
@@ -3085,22 +3085,22 @@ class InstrumentsApi:
|
|
3085
3085
|
_request_auth=_params.get('_request_auth'))
|
3086
3086
|
|
3087
3087
|
@overload
|
3088
|
-
async def list_instruments(self, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to list instruments. Defaults to returning the latest version of each instrument if not specified.")] = None, effective_at : Annotated[Optional[StrictStr], Field(description="The effective datetime or cut label at which to list instruments. Defaults to the current LUSID system datetime if not specified.")] = None, page : Annotated[Optional[constr(strict=True, max_length=500, min_length=1)], Field(description="The pagination token to use to continue listing instruments; this value is returned from the previous call. If a pagination token is provided, the <i>sortBy</i>, <i>filter</i>, <i>effectiveAt</i> and <i>asAt</i> fields must not have changed since the original request. For more information, see https://support.lusid.com/knowledgebase/article/KA-01915.")] = None, sort_by : Annotated[Optional[conlist(StrictStr)], Field(description="A list of field names or properties to sort by, each suffixed by \" ASC\" or \" DESC\".")] = None, limit : Annotated[Optional[conint(strict=True, le=5000, ge=1)], Field(description="When paginating, limit the results to this number.")] = None, filter : Annotated[Optional[constr(strict=True, max_length=16384, min_length=0)], Field(description="Expression to filter the result set. Defaults to filtering out inactive instruments (that is, those that have been deleted). For more information about filtering results, see https://support.lusid.com/knowledgebase/article/KA-01914.")] = None, instrument_property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the 'Instrument' domain to decorate onto instruments, or from any domain that supports relationships to decorate onto related entities. These must have the format {domain}/{scope}/{code}, for example 'Instrument/system/Name'.")] = None, scope : Annotated[Optional[constr(strict=True, max_length=64, min_length=1)], Field(description="The scope in which the instrument lies. When not supplied the scope is 'default'.")] = None, relationship_definition_ids : Annotated[Optional[conlist(StrictStr)], Field(description="A list of relationship definitions that are used to decorate related entities onto each instrument in the response. These must take the form {relationshipDefinitionScope}/{relationshipDefinitionCode}.")] = None, **kwargs) -> PagedResourceListOfInstrument: # noqa: E501
|
3088
|
+
async def list_instruments(self, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to list instruments. Defaults to returning the latest version of each instrument if not specified.")] = None, effective_at : Annotated[Optional[StrictStr], Field(description="The effective datetime or cut label at which to list instruments. Defaults to the current LUSID system datetime if not specified.")] = None, page : Annotated[Optional[constr(strict=True, max_length=500, min_length=1)], Field(description="The pagination token to use to continue listing instruments; this value is returned from the previous call. If a pagination token is provided, the <i>sortBy</i>, <i>filter</i>, <i>effectiveAt</i> and <i>asAt</i> fields must not have changed since the original request. For more information, see https://support.lusid.com/knowledgebase/article/KA-01915.")] = None, sort_by : Annotated[Optional[conlist(StrictStr)], Field(description="A list of field names or properties to sort by, each suffixed by \" ASC\" or \" DESC\".")] = None, limit : Annotated[Optional[conint(strict=True, le=5000, ge=1)], Field(description="When paginating, limit the results to this number.")] = None, filter : Annotated[Optional[constr(strict=True, max_length=16384, min_length=0)], Field(description="Expression to filter the result set. Defaults to filtering out inactive instruments (that is, those that have been deleted). For more information about filtering results, see https://support.lusid.com/knowledgebase/article/KA-01914.")] = None, instrument_property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the 'Instrument' domain to decorate onto instruments, or from any domain that supports relationships to decorate onto related entities. These must have the format {domain}/{scope}/{code}, for example 'Instrument/system/Name'.")] = None, scope : Annotated[Optional[constr(strict=True, max_length=64, min_length=1)], Field(description="The scope in which the instrument lies. When not supplied the scope is 'default'.")] = None, relationship_definition_ids : Annotated[Optional[conlist(StrictStr)], Field(description="A list of relationship definitions that are used to decorate related entities onto each instrument in the response. These must take the form {relationshipDefinitionScope}/{relationshipDefinitionCode}.")] = None, data_model_scope : Annotated[Optional[constr(strict=True, max_length=64, min_length=1)], Field(description="The optional scope of a Hierarchical Data Model to use.")] = None, data_model_code : Annotated[Optional[constr(strict=True, max_length=64, min_length=1)], Field(description="The optional code of a Hierarchical Data Model to use.")] = None, **kwargs) -> PagedResourceListOfInstrument: # noqa: E501
|
3089
3089
|
...
|
3090
3090
|
|
3091
3091
|
@overload
|
3092
|
-
def list_instruments(self, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to list instruments. Defaults to returning the latest version of each instrument if not specified.")] = None, effective_at : Annotated[Optional[StrictStr], Field(description="The effective datetime or cut label at which to list instruments. Defaults to the current LUSID system datetime if not specified.")] = None, page : Annotated[Optional[constr(strict=True, max_length=500, min_length=1)], Field(description="The pagination token to use to continue listing instruments; this value is returned from the previous call. If a pagination token is provided, the <i>sortBy</i>, <i>filter</i>, <i>effectiveAt</i> and <i>asAt</i> fields must not have changed since the original request. For more information, see https://support.lusid.com/knowledgebase/article/KA-01915.")] = None, sort_by : Annotated[Optional[conlist(StrictStr)], Field(description="A list of field names or properties to sort by, each suffixed by \" ASC\" or \" DESC\".")] = None, limit : Annotated[Optional[conint(strict=True, le=5000, ge=1)], Field(description="When paginating, limit the results to this number.")] = None, filter : Annotated[Optional[constr(strict=True, max_length=16384, min_length=0)], Field(description="Expression to filter the result set. Defaults to filtering out inactive instruments (that is, those that have been deleted). For more information about filtering results, see https://support.lusid.com/knowledgebase/article/KA-01914.")] = None, instrument_property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the 'Instrument' domain to decorate onto instruments, or from any domain that supports relationships to decorate onto related entities. These must have the format {domain}/{scope}/{code}, for example 'Instrument/system/Name'.")] = None, scope : Annotated[Optional[constr(strict=True, max_length=64, min_length=1)], Field(description="The scope in which the instrument lies. When not supplied the scope is 'default'.")] = None, relationship_definition_ids : Annotated[Optional[conlist(StrictStr)], Field(description="A list of relationship definitions that are used to decorate related entities onto each instrument in the response. These must take the form {relationshipDefinitionScope}/{relationshipDefinitionCode}.")] = None, async_req: Optional[bool]=True, **kwargs) -> PagedResourceListOfInstrument: # noqa: E501
|
3092
|
+
def list_instruments(self, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to list instruments. Defaults to returning the latest version of each instrument if not specified.")] = None, effective_at : Annotated[Optional[StrictStr], Field(description="The effective datetime or cut label at which to list instruments. Defaults to the current LUSID system datetime if not specified.")] = None, page : Annotated[Optional[constr(strict=True, max_length=500, min_length=1)], Field(description="The pagination token to use to continue listing instruments; this value is returned from the previous call. If a pagination token is provided, the <i>sortBy</i>, <i>filter</i>, <i>effectiveAt</i> and <i>asAt</i> fields must not have changed since the original request. For more information, see https://support.lusid.com/knowledgebase/article/KA-01915.")] = None, sort_by : Annotated[Optional[conlist(StrictStr)], Field(description="A list of field names or properties to sort by, each suffixed by \" ASC\" or \" DESC\".")] = None, limit : Annotated[Optional[conint(strict=True, le=5000, ge=1)], Field(description="When paginating, limit the results to this number.")] = None, filter : Annotated[Optional[constr(strict=True, max_length=16384, min_length=0)], Field(description="Expression to filter the result set. Defaults to filtering out inactive instruments (that is, those that have been deleted). For more information about filtering results, see https://support.lusid.com/knowledgebase/article/KA-01914.")] = None, instrument_property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the 'Instrument' domain to decorate onto instruments, or from any domain that supports relationships to decorate onto related entities. These must have the format {domain}/{scope}/{code}, for example 'Instrument/system/Name'.")] = None, scope : Annotated[Optional[constr(strict=True, max_length=64, min_length=1)], Field(description="The scope in which the instrument lies. When not supplied the scope is 'default'.")] = None, relationship_definition_ids : Annotated[Optional[conlist(StrictStr)], Field(description="A list of relationship definitions that are used to decorate related entities onto each instrument in the response. These must take the form {relationshipDefinitionScope}/{relationshipDefinitionCode}.")] = None, data_model_scope : Annotated[Optional[constr(strict=True, max_length=64, min_length=1)], Field(description="The optional scope of a Hierarchical Data Model to use.")] = None, data_model_code : Annotated[Optional[constr(strict=True, max_length=64, min_length=1)], Field(description="The optional code of a Hierarchical Data Model to use.")] = None, async_req: Optional[bool]=True, **kwargs) -> PagedResourceListOfInstrument: # noqa: E501
|
3093
3093
|
...
|
3094
3094
|
|
3095
3095
|
@validate_arguments
|
3096
|
-
def list_instruments(self, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to list instruments. Defaults to returning the latest version of each instrument if not specified.")] = None, effective_at : Annotated[Optional[StrictStr], Field(description="The effective datetime or cut label at which to list instruments. Defaults to the current LUSID system datetime if not specified.")] = None, page : Annotated[Optional[constr(strict=True, max_length=500, min_length=1)], Field(description="The pagination token to use to continue listing instruments; this value is returned from the previous call. If a pagination token is provided, the <i>sortBy</i>, <i>filter</i>, <i>effectiveAt</i> and <i>asAt</i> fields must not have changed since the original request. For more information, see https://support.lusid.com/knowledgebase/article/KA-01915.")] = None, sort_by : Annotated[Optional[conlist(StrictStr)], Field(description="A list of field names or properties to sort by, each suffixed by \" ASC\" or \" DESC\".")] = None, limit : Annotated[Optional[conint(strict=True, le=5000, ge=1)], Field(description="When paginating, limit the results to this number.")] = None, filter : Annotated[Optional[constr(strict=True, max_length=16384, min_length=0)], Field(description="Expression to filter the result set. Defaults to filtering out inactive instruments (that is, those that have been deleted). For more information about filtering results, see https://support.lusid.com/knowledgebase/article/KA-01914.")] = None, instrument_property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the 'Instrument' domain to decorate onto instruments, or from any domain that supports relationships to decorate onto related entities. These must have the format {domain}/{scope}/{code}, for example 'Instrument/system/Name'.")] = None, scope : Annotated[Optional[constr(strict=True, max_length=64, min_length=1)], Field(description="The scope in which the instrument lies. When not supplied the scope is 'default'.")] = None, relationship_definition_ids : Annotated[Optional[conlist(StrictStr)], Field(description="A list of relationship definitions that are used to decorate related entities onto each instrument in the response. These must take the form {relationshipDefinitionScope}/{relationshipDefinitionCode}.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[PagedResourceListOfInstrument, Awaitable[PagedResourceListOfInstrument]]: # noqa: E501
|
3096
|
+
def list_instruments(self, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to list instruments. Defaults to returning the latest version of each instrument if not specified.")] = None, effective_at : Annotated[Optional[StrictStr], Field(description="The effective datetime or cut label at which to list instruments. Defaults to the current LUSID system datetime if not specified.")] = None, page : Annotated[Optional[constr(strict=True, max_length=500, min_length=1)], Field(description="The pagination token to use to continue listing instruments; this value is returned from the previous call. If a pagination token is provided, the <i>sortBy</i>, <i>filter</i>, <i>effectiveAt</i> and <i>asAt</i> fields must not have changed since the original request. For more information, see https://support.lusid.com/knowledgebase/article/KA-01915.")] = None, sort_by : Annotated[Optional[conlist(StrictStr)], Field(description="A list of field names or properties to sort by, each suffixed by \" ASC\" or \" DESC\".")] = None, limit : Annotated[Optional[conint(strict=True, le=5000, ge=1)], Field(description="When paginating, limit the results to this number.")] = None, filter : Annotated[Optional[constr(strict=True, max_length=16384, min_length=0)], Field(description="Expression to filter the result set. Defaults to filtering out inactive instruments (that is, those that have been deleted). For more information about filtering results, see https://support.lusid.com/knowledgebase/article/KA-01914.")] = None, instrument_property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the 'Instrument' domain to decorate onto instruments, or from any domain that supports relationships to decorate onto related entities. These must have the format {domain}/{scope}/{code}, for example 'Instrument/system/Name'.")] = None, scope : Annotated[Optional[constr(strict=True, max_length=64, min_length=1)], Field(description="The scope in which the instrument lies. When not supplied the scope is 'default'.")] = None, relationship_definition_ids : Annotated[Optional[conlist(StrictStr)], Field(description="A list of relationship definitions that are used to decorate related entities onto each instrument in the response. These must take the form {relationshipDefinitionScope}/{relationshipDefinitionCode}.")] = None, data_model_scope : Annotated[Optional[constr(strict=True, max_length=64, min_length=1)], Field(description="The optional scope of a Hierarchical Data Model to use.")] = None, data_model_code : Annotated[Optional[constr(strict=True, max_length=64, min_length=1)], Field(description="The optional code of a Hierarchical Data Model to use.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[PagedResourceListOfInstrument, Awaitable[PagedResourceListOfInstrument]]: # noqa: E501
|
3097
3097
|
"""ListInstruments: List instruments # noqa: E501
|
3098
3098
|
|
3099
3099
|
List all the instruments in the instrument master. To retrieve a particular set of instruments instead, use the Get instruments endpoint. The maximum number of instruments that this method can list per request is 2,000. # noqa: E501
|
3100
3100
|
This method makes a synchronous HTTP request by default. To make an
|
3101
3101
|
asynchronous HTTP request, please pass async_req=True
|
3102
3102
|
|
3103
|
-
>>> thread = api.list_instruments(as_at, effective_at, page, sort_by, limit, filter, instrument_property_keys, scope, relationship_definition_ids, async_req=True)
|
3103
|
+
>>> thread = api.list_instruments(as_at, effective_at, page, sort_by, limit, filter, instrument_property_keys, scope, relationship_definition_ids, data_model_scope, data_model_code, async_req=True)
|
3104
3104
|
>>> result = thread.get()
|
3105
3105
|
|
3106
3106
|
:param as_at: The asAt datetime at which to list instruments. Defaults to returning the latest version of each instrument if not specified.
|
@@ -3121,6 +3121,10 @@ class InstrumentsApi:
|
|
3121
3121
|
:type scope: str
|
3122
3122
|
:param relationship_definition_ids: A list of relationship definitions that are used to decorate related entities onto each instrument in the response. These must take the form {relationshipDefinitionScope}/{relationshipDefinitionCode}.
|
3123
3123
|
:type relationship_definition_ids: List[str]
|
3124
|
+
:param data_model_scope: The optional scope of a Hierarchical Data Model to use.
|
3125
|
+
:type data_model_scope: str
|
3126
|
+
:param data_model_code: The optional code of a Hierarchical Data Model to use.
|
3127
|
+
:type data_model_code: str
|
3124
3128
|
:param async_req: Whether to execute the request asynchronously.
|
3125
3129
|
:type async_req: bool, optional
|
3126
3130
|
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
@@ -3137,17 +3141,17 @@ class InstrumentsApi:
|
|
3137
3141
|
raise ValueError(message)
|
3138
3142
|
if async_req is not None:
|
3139
3143
|
kwargs['async_req'] = async_req
|
3140
|
-
return self.list_instruments_with_http_info(as_at, effective_at, page, sort_by, limit, filter, instrument_property_keys, scope, relationship_definition_ids, **kwargs) # noqa: E501
|
3144
|
+
return self.list_instruments_with_http_info(as_at, effective_at, page, sort_by, limit, filter, instrument_property_keys, scope, relationship_definition_ids, data_model_scope, data_model_code, **kwargs) # noqa: E501
|
3141
3145
|
|
3142
3146
|
@validate_arguments
|
3143
|
-
def list_instruments_with_http_info(self, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to list instruments. Defaults to returning the latest version of each instrument if not specified.")] = None, effective_at : Annotated[Optional[StrictStr], Field(description="The effective datetime or cut label at which to list instruments. Defaults to the current LUSID system datetime if not specified.")] = None, page : Annotated[Optional[constr(strict=True, max_length=500, min_length=1)], Field(description="The pagination token to use to continue listing instruments; this value is returned from the previous call. If a pagination token is provided, the <i>sortBy</i>, <i>filter</i>, <i>effectiveAt</i> and <i>asAt</i> fields must not have changed since the original request. For more information, see https://support.lusid.com/knowledgebase/article/KA-01915.")] = None, sort_by : Annotated[Optional[conlist(StrictStr)], Field(description="A list of field names or properties to sort by, each suffixed by \" ASC\" or \" DESC\".")] = None, limit : Annotated[Optional[conint(strict=True, le=5000, ge=1)], Field(description="When paginating, limit the results to this number.")] = None, filter : Annotated[Optional[constr(strict=True, max_length=16384, min_length=0)], Field(description="Expression to filter the result set. Defaults to filtering out inactive instruments (that is, those that have been deleted). For more information about filtering results, see https://support.lusid.com/knowledgebase/article/KA-01914.")] = None, instrument_property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the 'Instrument' domain to decorate onto instruments, or from any domain that supports relationships to decorate onto related entities. These must have the format {domain}/{scope}/{code}, for example 'Instrument/system/Name'.")] = None, scope : Annotated[Optional[constr(strict=True, max_length=64, min_length=1)], Field(description="The scope in which the instrument lies. When not supplied the scope is 'default'.")] = None, relationship_definition_ids : Annotated[Optional[conlist(StrictStr)], Field(description="A list of relationship definitions that are used to decorate related entities onto each instrument in the response. These must take the form {relationshipDefinitionScope}/{relationshipDefinitionCode}.")] = None, **kwargs) -> ApiResponse: # noqa: E501
|
3147
|
+
def list_instruments_with_http_info(self, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to list instruments. Defaults to returning the latest version of each instrument if not specified.")] = None, effective_at : Annotated[Optional[StrictStr], Field(description="The effective datetime or cut label at which to list instruments. Defaults to the current LUSID system datetime if not specified.")] = None, page : Annotated[Optional[constr(strict=True, max_length=500, min_length=1)], Field(description="The pagination token to use to continue listing instruments; this value is returned from the previous call. If a pagination token is provided, the <i>sortBy</i>, <i>filter</i>, <i>effectiveAt</i> and <i>asAt</i> fields must not have changed since the original request. For more information, see https://support.lusid.com/knowledgebase/article/KA-01915.")] = None, sort_by : Annotated[Optional[conlist(StrictStr)], Field(description="A list of field names or properties to sort by, each suffixed by \" ASC\" or \" DESC\".")] = None, limit : Annotated[Optional[conint(strict=True, le=5000, ge=1)], Field(description="When paginating, limit the results to this number.")] = None, filter : Annotated[Optional[constr(strict=True, max_length=16384, min_length=0)], Field(description="Expression to filter the result set. Defaults to filtering out inactive instruments (that is, those that have been deleted). For more information about filtering results, see https://support.lusid.com/knowledgebase/article/KA-01914.")] = None, instrument_property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the 'Instrument' domain to decorate onto instruments, or from any domain that supports relationships to decorate onto related entities. These must have the format {domain}/{scope}/{code}, for example 'Instrument/system/Name'.")] = None, scope : Annotated[Optional[constr(strict=True, max_length=64, min_length=1)], Field(description="The scope in which the instrument lies. When not supplied the scope is 'default'.")] = None, relationship_definition_ids : Annotated[Optional[conlist(StrictStr)], Field(description="A list of relationship definitions that are used to decorate related entities onto each instrument in the response. These must take the form {relationshipDefinitionScope}/{relationshipDefinitionCode}.")] = None, data_model_scope : Annotated[Optional[constr(strict=True, max_length=64, min_length=1)], Field(description="The optional scope of a Hierarchical Data Model to use.")] = None, data_model_code : Annotated[Optional[constr(strict=True, max_length=64, min_length=1)], Field(description="The optional code of a Hierarchical Data Model to use.")] = None, **kwargs) -> ApiResponse: # noqa: E501
|
3144
3148
|
"""ListInstruments: List instruments # noqa: E501
|
3145
3149
|
|
3146
3150
|
List all the instruments in the instrument master. To retrieve a particular set of instruments instead, use the Get instruments endpoint. The maximum number of instruments that this method can list per request is 2,000. # noqa: E501
|
3147
3151
|
This method makes a synchronous HTTP request by default. To make an
|
3148
3152
|
asynchronous HTTP request, please pass async_req=True
|
3149
3153
|
|
3150
|
-
>>> thread = api.list_instruments_with_http_info(as_at, effective_at, page, sort_by, limit, filter, instrument_property_keys, scope, relationship_definition_ids, async_req=True)
|
3154
|
+
>>> thread = api.list_instruments_with_http_info(as_at, effective_at, page, sort_by, limit, filter, instrument_property_keys, scope, relationship_definition_ids, data_model_scope, data_model_code, async_req=True)
|
3151
3155
|
>>> result = thread.get()
|
3152
3156
|
|
3153
3157
|
:param as_at: The asAt datetime at which to list instruments. Defaults to returning the latest version of each instrument if not specified.
|
@@ -3168,6 +3172,10 @@ class InstrumentsApi:
|
|
3168
3172
|
:type scope: str
|
3169
3173
|
:param relationship_definition_ids: A list of relationship definitions that are used to decorate related entities onto each instrument in the response. These must take the form {relationshipDefinitionScope}/{relationshipDefinitionCode}.
|
3170
3174
|
:type relationship_definition_ids: List[str]
|
3175
|
+
:param data_model_scope: The optional scope of a Hierarchical Data Model to use.
|
3176
|
+
:type data_model_scope: str
|
3177
|
+
:param data_model_code: The optional code of a Hierarchical Data Model to use.
|
3178
|
+
:type data_model_code: str
|
3171
3179
|
:param async_req: Whether to execute the request asynchronously.
|
3172
3180
|
:type async_req: bool, optional
|
3173
3181
|
:param _preload_content: if False, the ApiResponse.data will
|
@@ -3203,7 +3211,9 @@ class InstrumentsApi:
|
|
3203
3211
|
'filter',
|
3204
3212
|
'instrument_property_keys',
|
3205
3213
|
'scope',
|
3206
|
-
'relationship_definition_ids'
|
3214
|
+
'relationship_definition_ids',
|
3215
|
+
'data_model_scope',
|
3216
|
+
'data_model_code'
|
3207
3217
|
]
|
3208
3218
|
_all_params.extend(
|
3209
3219
|
[
|
@@ -3268,6 +3278,12 @@ class InstrumentsApi:
|
|
3268
3278
|
_query_params.append(('relationshipDefinitionIds', _params['relationship_definition_ids']))
|
3269
3279
|
_collection_formats['relationshipDefinitionIds'] = 'multi'
|
3270
3280
|
|
3281
|
+
if _params.get('data_model_scope') is not None: # noqa: E501
|
3282
|
+
_query_params.append(('dataModelScope', _params['data_model_scope']))
|
3283
|
+
|
3284
|
+
if _params.get('data_model_code') is not None: # noqa: E501
|
3285
|
+
_query_params.append(('dataModelCode', _params['data_model_code']))
|
3286
|
+
|
3271
3287
|
# process the header parameters
|
3272
3288
|
_header_params = dict(_params.get('_headers', {}))
|
3273
3289
|
# process the form parameters
|
lusid/api/tax_rule_sets_api.py
CHANGED
@@ -231,7 +231,7 @@ class TaxRuleSetsApi:
|
|
231
231
|
def delete_tax_rule_set(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The rule set scope.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The rule set code.")], async_req: Optional[bool]=None, **kwargs) -> Union[DeletedEntityResponse, Awaitable[DeletedEntityResponse]]: # noqa: E501
|
232
232
|
"""[EXPERIMENTAL] DeleteTaxRuleSet: Delete a tax rule set. # noqa: E501
|
233
233
|
|
234
|
-
|
234
|
+
Deletes the rule set for all effective time. The rule set will remain viewable at previous as at times, but it will no longer be considered applicable. This cannot be undone. # noqa: E501
|
235
235
|
This method makes a synchronous HTTP request by default. To make an
|
236
236
|
asynchronous HTTP request, please pass async_req=True
|
237
237
|
|
@@ -264,7 +264,7 @@ class TaxRuleSetsApi:
|
|
264
264
|
def delete_tax_rule_set_with_http_info(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The rule set scope.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The rule set code.")], **kwargs) -> ApiResponse: # noqa: E501
|
265
265
|
"""[EXPERIMENTAL] DeleteTaxRuleSet: Delete a tax rule set. # noqa: E501
|
266
266
|
|
267
|
-
|
267
|
+
Deletes the rule set for all effective time. The rule set will remain viewable at previous as at times, but it will no longer be considered applicable. This cannot be undone. # noqa: E501
|
268
268
|
This method makes a synchronous HTTP request by default. To make an
|
269
269
|
asynchronous HTTP request, please pass async_req=True
|
270
270
|
|
@@ -65,7 +65,7 @@ class TransactionFeesApi:
|
|
65
65
|
def delete_transaction_fee_rule(self, code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The fee rule code.")], async_req: Optional[bool]=None, **kwargs) -> Union[DeletedEntityResponse, Awaitable[DeletedEntityResponse]]: # noqa: E501
|
66
66
|
"""[EXPERIMENTAL] DeleteTransactionFeeRule: Deletes a fee rule. # noqa: E501
|
67
67
|
|
68
|
-
|
68
|
+
Deletes the rule for all effective time. The rule will remain viewable at previous as at times, but it will no longer be considered by GetApplicableFees. This cannot be undone. # noqa: E501
|
69
69
|
This method makes a synchronous HTTP request by default. To make an
|
70
70
|
asynchronous HTTP request, please pass async_req=True
|
71
71
|
|
@@ -96,7 +96,7 @@ class TransactionFeesApi:
|
|
96
96
|
def delete_transaction_fee_rule_with_http_info(self, code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The fee rule code.")], **kwargs) -> ApiResponse: # noqa: E501
|
97
97
|
"""[EXPERIMENTAL] DeleteTransactionFeeRule: Deletes a fee rule. # noqa: E501
|
98
98
|
|
99
|
-
|
99
|
+
Deletes the rule for all effective time. The rule will remain viewable at previous as at times, but it will no longer be considered by GetApplicableFees. This cannot be undone. # noqa: E501
|
100
100
|
This method makes a synchronous HTTP request by default. To make an
|
101
101
|
asynchronous HTTP request, please pass async_req=True
|
102
102
|
|
@@ -781,7 +781,7 @@ class TransactionFeesApi:
|
|
781
781
|
def upsert_transaction_fee_rules(self, request_body : Annotated[Dict[str, FeeRuleUpsertRequest], Field(..., description="A dictionary of upsert request identifiers to rule upsert requests. The request identifiers are valid for the request only and can be used to link the upserted fee rule to the code of a created fee rule.")], effective_at : Annotated[Optional[StrictStr], Field(description="The effective datetime or cut label at which the rule will take effect. Defaults to the current LUSID system datetime if not specified. In the case of an update, the changes will take place from this effective time until the next effective time that the rule as been upserted at. For example, consider a rule that already exists, and has previously had an update applied so that the definition will change on the first day of the coming month. An upsert effective from the current day will only change the definition until the first day of the coming month. An additional upsert at the same time (first day of the month) is required if the newly-updated definition is to supersede the future definition.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[FeeRuleUpsertResponse, Awaitable[FeeRuleUpsertResponse]]: # noqa: E501
|
782
782
|
"""[EXPERIMENTAL] UpsertTransactionFeeRules: Upsert fee rules. # noqa: E501
|
783
783
|
|
784
|
-
|
784
|
+
To upsert a new rule, the code field must be left empty, a code will then be assigned and returned as part of the response. To update an existing rule, include the fee code. It is possible to both create and update fee rules in the same request. The upsert is transactional - either all create/update operations will succeed or none of them will. # noqa: E501
|
785
785
|
This method makes a synchronous HTTP request by default. To make an
|
786
786
|
asynchronous HTTP request, please pass async_req=True
|
787
787
|
|
@@ -814,7 +814,7 @@ class TransactionFeesApi:
|
|
814
814
|
def upsert_transaction_fee_rules_with_http_info(self, request_body : Annotated[Dict[str, FeeRuleUpsertRequest], Field(..., description="A dictionary of upsert request identifiers to rule upsert requests. The request identifiers are valid for the request only and can be used to link the upserted fee rule to the code of a created fee rule.")], effective_at : Annotated[Optional[StrictStr], Field(description="The effective datetime or cut label at which the rule will take effect. Defaults to the current LUSID system datetime if not specified. In the case of an update, the changes will take place from this effective time until the next effective time that the rule as been upserted at. For example, consider a rule that already exists, and has previously had an update applied so that the definition will change on the first day of the coming month. An upsert effective from the current day will only change the definition until the first day of the coming month. An additional upsert at the same time (first day of the month) is required if the newly-updated definition is to supersede the future definition.")] = None, **kwargs) -> ApiResponse: # noqa: E501
|
815
815
|
"""[EXPERIMENTAL] UpsertTransactionFeeRules: Upsert fee rules. # noqa: E501
|
816
816
|
|
817
|
-
|
817
|
+
To upsert a new rule, the code field must be left empty, a code will then be assigned and returned as part of the response. To update an existing rule, include the fee code. It is possible to both create and update fee rules in the same request. The upsert is transactional - either all create/update operations will succeed or none of them will. # noqa: E501
|
818
818
|
This method makes a synchronous HTTP request by default. To make an
|
819
819
|
asynchronous HTTP request, please pass async_req=True
|
820
820
|
|
lusid/configuration.py
CHANGED
@@ -445,7 +445,7 @@ class Configuration:
|
|
445
445
|
return "Python SDK Debug Report:\n"\
|
446
446
|
"OS: {env}\n"\
|
447
447
|
"Python Version: {pyversion}\n"\
|
448
|
-
"Version of the API: 0.11.
|
448
|
+
"Version of the API: 0.11.7425\n"\
|
449
449
|
"SDK Package Version: {package_version}".\
|
450
450
|
format(env=sys.platform, pyversion=sys.version, package_version=package_version)
|
451
451
|
|
lusid/models/__init__.py
CHANGED
@@ -292,6 +292,7 @@ from lusid.models.cut_local_time import CutLocalTime
|
|
292
292
|
from lusid.models.data_definition import DataDefinition
|
293
293
|
from lusid.models.data_map_key import DataMapKey
|
294
294
|
from lusid.models.data_mapping import DataMapping
|
295
|
+
from lusid.models.data_model_membership import DataModelMembership
|
295
296
|
from lusid.models.data_model_summary import DataModelSummary
|
296
297
|
from lusid.models.data_scope import DataScope
|
297
298
|
from lusid.models.data_type import DataType
|
@@ -400,6 +401,7 @@ from lusid.models.fund_configuration_properties import FundConfigurationProperti
|
|
400
401
|
from lusid.models.fund_configuration_request import FundConfigurationRequest
|
401
402
|
from lusid.models.fund_details import FundDetails
|
402
403
|
from lusid.models.fund_id_list import FundIdList
|
404
|
+
from lusid.models.fund_journal_entry_line import FundJournalEntryLine
|
403
405
|
from lusid.models.fund_pnl_breakdown import FundPnlBreakdown
|
404
406
|
from lusid.models.fund_previous_nav import FundPreviousNAV
|
405
407
|
from lusid.models.fund_properties import FundProperties
|
@@ -551,6 +553,7 @@ from lusid.models.ir_vol_cube_data import IrVolCubeData
|
|
551
553
|
from lusid.models.ir_vol_dependency import IrVolDependency
|
552
554
|
from lusid.models.is_business_day_response import IsBusinessDayResponse
|
553
555
|
from lusid.models.journal_entry_line import JournalEntryLine
|
556
|
+
from lusid.models.journal_entry_line_share_class_breakdown import JournalEntryLineShareClassBreakdown
|
554
557
|
from lusid.models.journal_entry_lines_query_parameters import JournalEntryLinesQueryParameters
|
555
558
|
from lusid.models.label_value_set import LabelValueSet
|
556
559
|
from lusid.models.lapse_election import LapseElection
|
@@ -567,6 +570,7 @@ from lusid.models.list_complex_market_data_with_meta_data_response import ListCo
|
|
567
570
|
from lusid.models.loan_facility import LoanFacility
|
568
571
|
from lusid.models.loan_interest_repayment_event import LoanInterestRepaymentEvent
|
569
572
|
from lusid.models.loan_period import LoanPeriod
|
573
|
+
from lusid.models.loan_principal_repayment_event import LoanPrincipalRepaymentEvent
|
570
574
|
from lusid.models.lock_period_diary_entry_request import LockPeriodDiaryEntryRequest
|
571
575
|
from lusid.models.lusid_instrument import LusidInstrument
|
572
576
|
from lusid.models.lusid_problem_details import LusidProblemDetails
|
@@ -596,6 +600,8 @@ from lusid.models.mbs_interest_deferral_event import MbsInterestDeferralEvent
|
|
596
600
|
from lusid.models.mbs_interest_shortfall_event import MbsInterestShortfallEvent
|
597
601
|
from lusid.models.mbs_principal_event import MbsPrincipalEvent
|
598
602
|
from lusid.models.mbs_principal_write_off_event import MbsPrincipalWriteOffEvent
|
603
|
+
from lusid.models.membership import Membership
|
604
|
+
from lusid.models.membership_and_status import MembershipAndStatus
|
599
605
|
from lusid.models.merger_event import MergerEvent
|
600
606
|
from lusid.models.metric_value import MetricValue
|
601
607
|
from lusid.models.model_options import ModelOptions
|
@@ -1160,7 +1166,7 @@ from lusid.models.valuation_point_data_request import ValuationPointDataRequest
|
|
1160
1166
|
from lusid.models.valuation_point_data_response import ValuationPointDataResponse
|
1161
1167
|
from lusid.models.valuation_point_overview import ValuationPointOverview
|
1162
1168
|
from lusid.models.valuation_point_resource_list_of_accounted_transaction import ValuationPointResourceListOfAccountedTransaction
|
1163
|
-
from lusid.models.
|
1169
|
+
from lusid.models.valuation_point_resource_list_of_fund_journal_entry_line import ValuationPointResourceListOfFundJournalEntryLine
|
1164
1170
|
from lusid.models.valuation_point_resource_list_of_pnl_journal_entry_line import ValuationPointResourceListOfPnlJournalEntryLine
|
1165
1171
|
from lusid.models.valuation_point_resource_list_of_trial_balance import ValuationPointResourceListOfTrialBalance
|
1166
1172
|
from lusid.models.valuation_request import ValuationRequest
|
@@ -1477,6 +1483,7 @@ __all__ = [
|
|
1477
1483
|
"DataDefinition",
|
1478
1484
|
"DataMapKey",
|
1479
1485
|
"DataMapping",
|
1486
|
+
"DataModelMembership",
|
1480
1487
|
"DataModelSummary",
|
1481
1488
|
"DataScope",
|
1482
1489
|
"DataType",
|
@@ -1585,6 +1592,7 @@ __all__ = [
|
|
1585
1592
|
"FundConfigurationRequest",
|
1586
1593
|
"FundDetails",
|
1587
1594
|
"FundIdList",
|
1595
|
+
"FundJournalEntryLine",
|
1588
1596
|
"FundPnlBreakdown",
|
1589
1597
|
"FundPreviousNAV",
|
1590
1598
|
"FundProperties",
|
@@ -1736,6 +1744,7 @@ __all__ = [
|
|
1736
1744
|
"IrVolDependency",
|
1737
1745
|
"IsBusinessDayResponse",
|
1738
1746
|
"JournalEntryLine",
|
1747
|
+
"JournalEntryLineShareClassBreakdown",
|
1739
1748
|
"JournalEntryLinesQueryParameters",
|
1740
1749
|
"LabelValueSet",
|
1741
1750
|
"LapseElection",
|
@@ -1752,6 +1761,7 @@ __all__ = [
|
|
1752
1761
|
"LoanFacility",
|
1753
1762
|
"LoanInterestRepaymentEvent",
|
1754
1763
|
"LoanPeriod",
|
1764
|
+
"LoanPrincipalRepaymentEvent",
|
1755
1765
|
"LockPeriodDiaryEntryRequest",
|
1756
1766
|
"LusidInstrument",
|
1757
1767
|
"LusidProblemDetails",
|
@@ -1781,6 +1791,8 @@ __all__ = [
|
|
1781
1791
|
"MbsInterestShortfallEvent",
|
1782
1792
|
"MbsPrincipalEvent",
|
1783
1793
|
"MbsPrincipalWriteOffEvent",
|
1794
|
+
"Membership",
|
1795
|
+
"MembershipAndStatus",
|
1784
1796
|
"MergerEvent",
|
1785
1797
|
"MetricValue",
|
1786
1798
|
"ModelOptions",
|
@@ -2345,7 +2357,7 @@ __all__ = [
|
|
2345
2357
|
"ValuationPointDataResponse",
|
2346
2358
|
"ValuationPointOverview",
|
2347
2359
|
"ValuationPointResourceListOfAccountedTransaction",
|
2348
|
-
"
|
2360
|
+
"ValuationPointResourceListOfFundJournalEntryLine",
|
2349
2361
|
"ValuationPointResourceListOfPnlJournalEntryLine",
|
2350
2362
|
"ValuationPointResourceListOfTrialBalance",
|
2351
2363
|
"ValuationRequest",
|
@@ -31,15 +31,15 @@ class AccumulationEvent(InstrumentEvent):
|
|
31
31
|
dividend_rate: Union[StrictFloat, StrictInt] = Field(..., alias="dividendRate", description="Dividend rate or payment rate as a percentage. i.e. 5% is written as 0.05")
|
32
32
|
ex_date: datetime = Field(..., alias="exDate", description="The first business day on which the dividend is not owed to the buying party. Typically this is T-1 from the RecordDate.")
|
33
33
|
payment_date: datetime = Field(..., alias="paymentDate", description="The date the company pays out dividends to shareholders.")
|
34
|
-
instrument_event_type: StrictStr = Field(..., alias="instrumentEventType", description="The Type of Event. The available values are: TransitionEvent, InformationalEvent, OpenEvent, CloseEvent, StockSplitEvent, BondDefaultEvent, CashDividendEvent, AmortisationEvent, CashFlowEvent, ExerciseEvent, ResetEvent, TriggerEvent, RawVendorEvent, InformationalErrorEvent, BondCouponEvent, DividendReinvestmentEvent, AccumulationEvent, BondPrincipalEvent, DividendOptionEvent, MaturityEvent, FxForwardSettlementEvent, ExpiryEvent, ScripDividendEvent, StockDividendEvent, ReverseStockSplitEvent, CapitalDistributionEvent, SpinOffEvent, MergerEvent, FutureExpiryEvent, SwapCashFlowEvent, SwapPrincipalEvent, CreditPremiumCashFlowEvent, CdsCreditEvent, CdxCreditEvent, MbsCouponEvent, MbsPrincipalEvent, BonusIssueEvent, MbsPrincipalWriteOffEvent, MbsInterestDeferralEvent, MbsInterestShortfallEvent, TenderEvent, CallOnIntermediateSecuritiesEvent, IntermediateSecuritiesDistributionEvent, OptionExercisePhysicalEvent, OptionExerciseCashEvent, ProtectionPayoutCashFlowEvent, TermDepositInterestEvent, TermDepositPrincipalEvent, EarlyRedemptionEvent, FutureMarkToMarketEvent, AdjustGlobalCommitmentEvent, ContractInitialisationEvent, DrawdownEvent, LoanInterestRepaymentEvent, UpdateDepositAmountEvent")
|
34
|
+
instrument_event_type: StrictStr = Field(..., alias="instrumentEventType", description="The Type of Event. The available values are: TransitionEvent, InformationalEvent, OpenEvent, CloseEvent, StockSplitEvent, BondDefaultEvent, CashDividendEvent, AmortisationEvent, CashFlowEvent, ExerciseEvent, ResetEvent, TriggerEvent, RawVendorEvent, InformationalErrorEvent, BondCouponEvent, DividendReinvestmentEvent, AccumulationEvent, BondPrincipalEvent, DividendOptionEvent, MaturityEvent, FxForwardSettlementEvent, ExpiryEvent, ScripDividendEvent, StockDividendEvent, ReverseStockSplitEvent, CapitalDistributionEvent, SpinOffEvent, MergerEvent, FutureExpiryEvent, SwapCashFlowEvent, SwapPrincipalEvent, CreditPremiumCashFlowEvent, CdsCreditEvent, CdxCreditEvent, MbsCouponEvent, MbsPrincipalEvent, BonusIssueEvent, MbsPrincipalWriteOffEvent, MbsInterestDeferralEvent, MbsInterestShortfallEvent, TenderEvent, CallOnIntermediateSecuritiesEvent, IntermediateSecuritiesDistributionEvent, OptionExercisePhysicalEvent, OptionExerciseCashEvent, ProtectionPayoutCashFlowEvent, TermDepositInterestEvent, TermDepositPrincipalEvent, EarlyRedemptionEvent, FutureMarkToMarketEvent, AdjustGlobalCommitmentEvent, ContractInitialisationEvent, DrawdownEvent, LoanInterestRepaymentEvent, UpdateDepositAmountEvent, LoanPrincipalRepaymentEvent")
|
35
35
|
additional_properties: Dict[str, Any] = {}
|
36
36
|
__properties = ["instrumentEventType", "announcementDate", "dividendCurrency", "dividendRate", "exDate", "paymentDate"]
|
37
37
|
|
38
38
|
@validator('instrument_event_type')
|
39
39
|
def instrument_event_type_validate_enum(cls, value):
|
40
40
|
"""Validates the enum"""
|
41
|
-
if value not in ('TransitionEvent', 'InformationalEvent', 'OpenEvent', 'CloseEvent', 'StockSplitEvent', 'BondDefaultEvent', 'CashDividendEvent', 'AmortisationEvent', 'CashFlowEvent', 'ExerciseEvent', 'ResetEvent', 'TriggerEvent', 'RawVendorEvent', 'InformationalErrorEvent', 'BondCouponEvent', 'DividendReinvestmentEvent', 'AccumulationEvent', 'BondPrincipalEvent', 'DividendOptionEvent', 'MaturityEvent', 'FxForwardSettlementEvent', 'ExpiryEvent', 'ScripDividendEvent', 'StockDividendEvent', 'ReverseStockSplitEvent', 'CapitalDistributionEvent', 'SpinOffEvent', 'MergerEvent', 'FutureExpiryEvent', 'SwapCashFlowEvent', 'SwapPrincipalEvent', 'CreditPremiumCashFlowEvent', 'CdsCreditEvent', 'CdxCreditEvent', 'MbsCouponEvent', 'MbsPrincipalEvent', 'BonusIssueEvent', 'MbsPrincipalWriteOffEvent', 'MbsInterestDeferralEvent', 'MbsInterestShortfallEvent', 'TenderEvent', 'CallOnIntermediateSecuritiesEvent', 'IntermediateSecuritiesDistributionEvent', 'OptionExercisePhysicalEvent', 'OptionExerciseCashEvent', 'ProtectionPayoutCashFlowEvent', 'TermDepositInterestEvent', 'TermDepositPrincipalEvent', 'EarlyRedemptionEvent', 'FutureMarkToMarketEvent', 'AdjustGlobalCommitmentEvent', 'ContractInitialisationEvent', 'DrawdownEvent', 'LoanInterestRepaymentEvent', 'UpdateDepositAmountEvent'):
|
42
|
-
raise ValueError("must be one of enum values ('TransitionEvent', 'InformationalEvent', 'OpenEvent', 'CloseEvent', 'StockSplitEvent', 'BondDefaultEvent', 'CashDividendEvent', 'AmortisationEvent', 'CashFlowEvent', 'ExerciseEvent', 'ResetEvent', 'TriggerEvent', 'RawVendorEvent', 'InformationalErrorEvent', 'BondCouponEvent', 'DividendReinvestmentEvent', 'AccumulationEvent', 'BondPrincipalEvent', 'DividendOptionEvent', 'MaturityEvent', 'FxForwardSettlementEvent', 'ExpiryEvent', 'ScripDividendEvent', 'StockDividendEvent', 'ReverseStockSplitEvent', 'CapitalDistributionEvent', 'SpinOffEvent', 'MergerEvent', 'FutureExpiryEvent', 'SwapCashFlowEvent', 'SwapPrincipalEvent', 'CreditPremiumCashFlowEvent', 'CdsCreditEvent', 'CdxCreditEvent', 'MbsCouponEvent', 'MbsPrincipalEvent', 'BonusIssueEvent', 'MbsPrincipalWriteOffEvent', 'MbsInterestDeferralEvent', 'MbsInterestShortfallEvent', 'TenderEvent', 'CallOnIntermediateSecuritiesEvent', 'IntermediateSecuritiesDistributionEvent', 'OptionExercisePhysicalEvent', 'OptionExerciseCashEvent', 'ProtectionPayoutCashFlowEvent', 'TermDepositInterestEvent', 'TermDepositPrincipalEvent', 'EarlyRedemptionEvent', 'FutureMarkToMarketEvent', 'AdjustGlobalCommitmentEvent', 'ContractInitialisationEvent', 'DrawdownEvent', 'LoanInterestRepaymentEvent', 'UpdateDepositAmountEvent')")
|
41
|
+
if value not in ('TransitionEvent', 'InformationalEvent', 'OpenEvent', 'CloseEvent', 'StockSplitEvent', 'BondDefaultEvent', 'CashDividendEvent', 'AmortisationEvent', 'CashFlowEvent', 'ExerciseEvent', 'ResetEvent', 'TriggerEvent', 'RawVendorEvent', 'InformationalErrorEvent', 'BondCouponEvent', 'DividendReinvestmentEvent', 'AccumulationEvent', 'BondPrincipalEvent', 'DividendOptionEvent', 'MaturityEvent', 'FxForwardSettlementEvent', 'ExpiryEvent', 'ScripDividendEvent', 'StockDividendEvent', 'ReverseStockSplitEvent', 'CapitalDistributionEvent', 'SpinOffEvent', 'MergerEvent', 'FutureExpiryEvent', 'SwapCashFlowEvent', 'SwapPrincipalEvent', 'CreditPremiumCashFlowEvent', 'CdsCreditEvent', 'CdxCreditEvent', 'MbsCouponEvent', 'MbsPrincipalEvent', 'BonusIssueEvent', 'MbsPrincipalWriteOffEvent', 'MbsInterestDeferralEvent', 'MbsInterestShortfallEvent', 'TenderEvent', 'CallOnIntermediateSecuritiesEvent', 'IntermediateSecuritiesDistributionEvent', 'OptionExercisePhysicalEvent', 'OptionExerciseCashEvent', 'ProtectionPayoutCashFlowEvent', 'TermDepositInterestEvent', 'TermDepositPrincipalEvent', 'EarlyRedemptionEvent', 'FutureMarkToMarketEvent', 'AdjustGlobalCommitmentEvent', 'ContractInitialisationEvent', 'DrawdownEvent', 'LoanInterestRepaymentEvent', 'UpdateDepositAmountEvent', 'LoanPrincipalRepaymentEvent'):
|
42
|
+
raise ValueError("must be one of enum values ('TransitionEvent', 'InformationalEvent', 'OpenEvent', 'CloseEvent', 'StockSplitEvent', 'BondDefaultEvent', 'CashDividendEvent', 'AmortisationEvent', 'CashFlowEvent', 'ExerciseEvent', 'ResetEvent', 'TriggerEvent', 'RawVendorEvent', 'InformationalErrorEvent', 'BondCouponEvent', 'DividendReinvestmentEvent', 'AccumulationEvent', 'BondPrincipalEvent', 'DividendOptionEvent', 'MaturityEvent', 'FxForwardSettlementEvent', 'ExpiryEvent', 'ScripDividendEvent', 'StockDividendEvent', 'ReverseStockSplitEvent', 'CapitalDistributionEvent', 'SpinOffEvent', 'MergerEvent', 'FutureExpiryEvent', 'SwapCashFlowEvent', 'SwapPrincipalEvent', 'CreditPremiumCashFlowEvent', 'CdsCreditEvent', 'CdxCreditEvent', 'MbsCouponEvent', 'MbsPrincipalEvent', 'BonusIssueEvent', 'MbsPrincipalWriteOffEvent', 'MbsInterestDeferralEvent', 'MbsInterestShortfallEvent', 'TenderEvent', 'CallOnIntermediateSecuritiesEvent', 'IntermediateSecuritiesDistributionEvent', 'OptionExercisePhysicalEvent', 'OptionExerciseCashEvent', 'ProtectionPayoutCashFlowEvent', 'TermDepositInterestEvent', 'TermDepositPrincipalEvent', 'EarlyRedemptionEvent', 'FutureMarkToMarketEvent', 'AdjustGlobalCommitmentEvent', 'ContractInitialisationEvent', 'DrawdownEvent', 'LoanInterestRepaymentEvent', 'UpdateDepositAmountEvent', 'LoanPrincipalRepaymentEvent')")
|
43
43
|
return value
|
44
44
|
|
45
45
|
class Config:
|
@@ -28,15 +28,15 @@ class AdjustGlobalCommitmentEvent(InstrumentEvent):
|
|
28
28
|
"""
|
29
29
|
amount: Union[StrictFloat, StrictInt] = Field(..., description="Amount that the limit and balance are changed by. A positive number signifies an increase, and a negative number here signifies a decrease.")
|
30
30
|
var_date: datetime = Field(..., alias="date", description="Date of the adjustment. Signifies when the facility begins to accrue interest.")
|
31
|
-
instrument_event_type: StrictStr = Field(..., alias="instrumentEventType", description="The Type of Event. The available values are: TransitionEvent, InformationalEvent, OpenEvent, CloseEvent, StockSplitEvent, BondDefaultEvent, CashDividendEvent, AmortisationEvent, CashFlowEvent, ExerciseEvent, ResetEvent, TriggerEvent, RawVendorEvent, InformationalErrorEvent, BondCouponEvent, DividendReinvestmentEvent, AccumulationEvent, BondPrincipalEvent, DividendOptionEvent, MaturityEvent, FxForwardSettlementEvent, ExpiryEvent, ScripDividendEvent, StockDividendEvent, ReverseStockSplitEvent, CapitalDistributionEvent, SpinOffEvent, MergerEvent, FutureExpiryEvent, SwapCashFlowEvent, SwapPrincipalEvent, CreditPremiumCashFlowEvent, CdsCreditEvent, CdxCreditEvent, MbsCouponEvent, MbsPrincipalEvent, BonusIssueEvent, MbsPrincipalWriteOffEvent, MbsInterestDeferralEvent, MbsInterestShortfallEvent, TenderEvent, CallOnIntermediateSecuritiesEvent, IntermediateSecuritiesDistributionEvent, OptionExercisePhysicalEvent, OptionExerciseCashEvent, ProtectionPayoutCashFlowEvent, TermDepositInterestEvent, TermDepositPrincipalEvent, EarlyRedemptionEvent, FutureMarkToMarketEvent, AdjustGlobalCommitmentEvent, ContractInitialisationEvent, DrawdownEvent, LoanInterestRepaymentEvent, UpdateDepositAmountEvent")
|
31
|
+
instrument_event_type: StrictStr = Field(..., alias="instrumentEventType", description="The Type of Event. The available values are: TransitionEvent, InformationalEvent, OpenEvent, CloseEvent, StockSplitEvent, BondDefaultEvent, CashDividendEvent, AmortisationEvent, CashFlowEvent, ExerciseEvent, ResetEvent, TriggerEvent, RawVendorEvent, InformationalErrorEvent, BondCouponEvent, DividendReinvestmentEvent, AccumulationEvent, BondPrincipalEvent, DividendOptionEvent, MaturityEvent, FxForwardSettlementEvent, ExpiryEvent, ScripDividendEvent, StockDividendEvent, ReverseStockSplitEvent, CapitalDistributionEvent, SpinOffEvent, MergerEvent, FutureExpiryEvent, SwapCashFlowEvent, SwapPrincipalEvent, CreditPremiumCashFlowEvent, CdsCreditEvent, CdxCreditEvent, MbsCouponEvent, MbsPrincipalEvent, BonusIssueEvent, MbsPrincipalWriteOffEvent, MbsInterestDeferralEvent, MbsInterestShortfallEvent, TenderEvent, CallOnIntermediateSecuritiesEvent, IntermediateSecuritiesDistributionEvent, OptionExercisePhysicalEvent, OptionExerciseCashEvent, ProtectionPayoutCashFlowEvent, TermDepositInterestEvent, TermDepositPrincipalEvent, EarlyRedemptionEvent, FutureMarkToMarketEvent, AdjustGlobalCommitmentEvent, ContractInitialisationEvent, DrawdownEvent, LoanInterestRepaymentEvent, UpdateDepositAmountEvent, LoanPrincipalRepaymentEvent")
|
32
32
|
additional_properties: Dict[str, Any] = {}
|
33
33
|
__properties = ["instrumentEventType", "amount", "date"]
|
34
34
|
|
35
35
|
@validator('instrument_event_type')
|
36
36
|
def instrument_event_type_validate_enum(cls, value):
|
37
37
|
"""Validates the enum"""
|
38
|
-
if value not in ('TransitionEvent', 'InformationalEvent', 'OpenEvent', 'CloseEvent', 'StockSplitEvent', 'BondDefaultEvent', 'CashDividendEvent', 'AmortisationEvent', 'CashFlowEvent', 'ExerciseEvent', 'ResetEvent', 'TriggerEvent', 'RawVendorEvent', 'InformationalErrorEvent', 'BondCouponEvent', 'DividendReinvestmentEvent', 'AccumulationEvent', 'BondPrincipalEvent', 'DividendOptionEvent', 'MaturityEvent', 'FxForwardSettlementEvent', 'ExpiryEvent', 'ScripDividendEvent', 'StockDividendEvent', 'ReverseStockSplitEvent', 'CapitalDistributionEvent', 'SpinOffEvent', 'MergerEvent', 'FutureExpiryEvent', 'SwapCashFlowEvent', 'SwapPrincipalEvent', 'CreditPremiumCashFlowEvent', 'CdsCreditEvent', 'CdxCreditEvent', 'MbsCouponEvent', 'MbsPrincipalEvent', 'BonusIssueEvent', 'MbsPrincipalWriteOffEvent', 'MbsInterestDeferralEvent', 'MbsInterestShortfallEvent', 'TenderEvent', 'CallOnIntermediateSecuritiesEvent', 'IntermediateSecuritiesDistributionEvent', 'OptionExercisePhysicalEvent', 'OptionExerciseCashEvent', 'ProtectionPayoutCashFlowEvent', 'TermDepositInterestEvent', 'TermDepositPrincipalEvent', 'EarlyRedemptionEvent', 'FutureMarkToMarketEvent', 'AdjustGlobalCommitmentEvent', 'ContractInitialisationEvent', 'DrawdownEvent', 'LoanInterestRepaymentEvent', 'UpdateDepositAmountEvent'):
|
39
|
-
raise ValueError("must be one of enum values ('TransitionEvent', 'InformationalEvent', 'OpenEvent', 'CloseEvent', 'StockSplitEvent', 'BondDefaultEvent', 'CashDividendEvent', 'AmortisationEvent', 'CashFlowEvent', 'ExerciseEvent', 'ResetEvent', 'TriggerEvent', 'RawVendorEvent', 'InformationalErrorEvent', 'BondCouponEvent', 'DividendReinvestmentEvent', 'AccumulationEvent', 'BondPrincipalEvent', 'DividendOptionEvent', 'MaturityEvent', 'FxForwardSettlementEvent', 'ExpiryEvent', 'ScripDividendEvent', 'StockDividendEvent', 'ReverseStockSplitEvent', 'CapitalDistributionEvent', 'SpinOffEvent', 'MergerEvent', 'FutureExpiryEvent', 'SwapCashFlowEvent', 'SwapPrincipalEvent', 'CreditPremiumCashFlowEvent', 'CdsCreditEvent', 'CdxCreditEvent', 'MbsCouponEvent', 'MbsPrincipalEvent', 'BonusIssueEvent', 'MbsPrincipalWriteOffEvent', 'MbsInterestDeferralEvent', 'MbsInterestShortfallEvent', 'TenderEvent', 'CallOnIntermediateSecuritiesEvent', 'IntermediateSecuritiesDistributionEvent', 'OptionExercisePhysicalEvent', 'OptionExerciseCashEvent', 'ProtectionPayoutCashFlowEvent', 'TermDepositInterestEvent', 'TermDepositPrincipalEvent', 'EarlyRedemptionEvent', 'FutureMarkToMarketEvent', 'AdjustGlobalCommitmentEvent', 'ContractInitialisationEvent', 'DrawdownEvent', 'LoanInterestRepaymentEvent', 'UpdateDepositAmountEvent')")
|
38
|
+
if value not in ('TransitionEvent', 'InformationalEvent', 'OpenEvent', 'CloseEvent', 'StockSplitEvent', 'BondDefaultEvent', 'CashDividendEvent', 'AmortisationEvent', 'CashFlowEvent', 'ExerciseEvent', 'ResetEvent', 'TriggerEvent', 'RawVendorEvent', 'InformationalErrorEvent', 'BondCouponEvent', 'DividendReinvestmentEvent', 'AccumulationEvent', 'BondPrincipalEvent', 'DividendOptionEvent', 'MaturityEvent', 'FxForwardSettlementEvent', 'ExpiryEvent', 'ScripDividendEvent', 'StockDividendEvent', 'ReverseStockSplitEvent', 'CapitalDistributionEvent', 'SpinOffEvent', 'MergerEvent', 'FutureExpiryEvent', 'SwapCashFlowEvent', 'SwapPrincipalEvent', 'CreditPremiumCashFlowEvent', 'CdsCreditEvent', 'CdxCreditEvent', 'MbsCouponEvent', 'MbsPrincipalEvent', 'BonusIssueEvent', 'MbsPrincipalWriteOffEvent', 'MbsInterestDeferralEvent', 'MbsInterestShortfallEvent', 'TenderEvent', 'CallOnIntermediateSecuritiesEvent', 'IntermediateSecuritiesDistributionEvent', 'OptionExercisePhysicalEvent', 'OptionExerciseCashEvent', 'ProtectionPayoutCashFlowEvent', 'TermDepositInterestEvent', 'TermDepositPrincipalEvent', 'EarlyRedemptionEvent', 'FutureMarkToMarketEvent', 'AdjustGlobalCommitmentEvent', 'ContractInitialisationEvent', 'DrawdownEvent', 'LoanInterestRepaymentEvent', 'UpdateDepositAmountEvent', 'LoanPrincipalRepaymentEvent'):
|
39
|
+
raise ValueError("must be one of enum values ('TransitionEvent', 'InformationalEvent', 'OpenEvent', 'CloseEvent', 'StockSplitEvent', 'BondDefaultEvent', 'CashDividendEvent', 'AmortisationEvent', 'CashFlowEvent', 'ExerciseEvent', 'ResetEvent', 'TriggerEvent', 'RawVendorEvent', 'InformationalErrorEvent', 'BondCouponEvent', 'DividendReinvestmentEvent', 'AccumulationEvent', 'BondPrincipalEvent', 'DividendOptionEvent', 'MaturityEvent', 'FxForwardSettlementEvent', 'ExpiryEvent', 'ScripDividendEvent', 'StockDividendEvent', 'ReverseStockSplitEvent', 'CapitalDistributionEvent', 'SpinOffEvent', 'MergerEvent', 'FutureExpiryEvent', 'SwapCashFlowEvent', 'SwapPrincipalEvent', 'CreditPremiumCashFlowEvent', 'CdsCreditEvent', 'CdxCreditEvent', 'MbsCouponEvent', 'MbsPrincipalEvent', 'BonusIssueEvent', 'MbsPrincipalWriteOffEvent', 'MbsInterestDeferralEvent', 'MbsInterestShortfallEvent', 'TenderEvent', 'CallOnIntermediateSecuritiesEvent', 'IntermediateSecuritiesDistributionEvent', 'OptionExercisePhysicalEvent', 'OptionExerciseCashEvent', 'ProtectionPayoutCashFlowEvent', 'TermDepositInterestEvent', 'TermDepositPrincipalEvent', 'EarlyRedemptionEvent', 'FutureMarkToMarketEvent', 'AdjustGlobalCommitmentEvent', 'ContractInitialisationEvent', 'DrawdownEvent', 'LoanInterestRepaymentEvent', 'UpdateDepositAmountEvent', 'LoanPrincipalRepaymentEvent')")
|
40
40
|
return value
|
41
41
|
|
42
42
|
class Config:
|