lusid-sdk 2.1.92__py3-none-any.whl → 2.1.131__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.
Potentially problematic release.
This version of lusid-sdk might be problematic. Click here for more details.
- lusid/__init__.py +48 -0
- lusid/api/__init__.py +2 -0
- lusid/api/amortisation_rule_sets_api.py +175 -0
- lusid/api/compliance_api.py +502 -0
- lusid/api/fee_types_api.py +909 -0
- lusid/api/instrument_events_api.py +189 -0
- lusid/api/portfolio_groups_api.py +16 -8
- lusid/api/portfolios_api.py +821 -55
- lusid/api/staged_modifications_api.py +12 -12
- lusid/api/transaction_portfolios_api.py +32 -16
- lusid/configuration.py +1 -1
- lusid/models/__init__.py +46 -0
- lusid/models/account.py +1 -1
- lusid/models/accumulation_event.py +3 -3
- lusid/models/amortisation_event.py +3 -3
- lusid/models/amortisation_rule_set.py +7 -11
- lusid/models/applicable_instrument_event.py +106 -0
- 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/capital_distribution_event.py +117 -0
- lusid/models/cash_dividend_event.py +3 -3
- lusid/models/cash_flow_event.py +3 -3
- lusid/models/close_event.py +3 -3
- lusid/models/compliance_rule_template.py +153 -0
- lusid/models/compliance_step_request.py +76 -0
- lusid/models/compliance_step_type_request.py +42 -0
- lusid/models/compliance_template_variation_dto.py +112 -0
- lusid/models/compliance_template_variation_request.py +112 -0
- lusid/models/create_compliance_template_request.py +95 -0
- lusid/models/create_derived_property_definition_request.py +3 -3
- lusid/models/create_property_definition_request.py +3 -3
- lusid/models/custodian_account.py +1 -1
- lusid/models/custodian_account_request.py +1 -1
- lusid/models/diary_entry_request.py +1 -1
- lusid/models/dividend_option_event.py +3 -3
- lusid/models/dividend_reinvestment_event.py +3 -3
- lusid/models/exercise_event.py +3 -3
- lusid/models/expiry_event.py +3 -3
- lusid/models/fee_accrual.py +83 -0
- lusid/models/fee_type.py +115 -0
- lusid/models/fee_type_request.py +105 -0
- lusid/models/flow_conventions.py +1 -1
- lusid/models/fx_forward.py +1 -1
- 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_event.py +6 -5
- lusid/models/instrument_event_instruction.py +121 -0
- lusid/models/instrument_event_instruction_request.py +87 -0
- lusid/models/instrument_event_instructions_response.py +107 -0
- lusid/models/instrument_event_type.py +1 -0
- lusid/models/maturity_event.py +3 -3
- lusid/models/open_event.py +3 -3
- lusid/models/operation.py +2 -2
- lusid/models/paged_resource_list_of_fee_type.py +113 -0
- lusid/models/paged_resource_list_of_instrument_event_instruction.py +113 -0
- lusid/models/portfolio_entity_id.py +2 -18
- lusid/models/portfolio_holding.py +19 -4
- lusid/models/property_definition.py +3 -3
- lusid/models/property_definition_search_result.py +3 -3
- lusid/models/property_domain.py +1 -0
- lusid/models/query_applicable_instrument_events_request.py +89 -0
- lusid/models/quote_access_metadata_rule_id.py +1 -1
- lusid/models/quote_series_id.py +1 -1
- lusid/models/raw_vendor_event.py +3 -3
- lusid/models/reset_event.py +3 -3
- lusid/models/resource_list_of_applicable_instrument_event.py +113 -0
- lusid/models/reverse_stock_split_event.py +3 -3
- lusid/models/rules_interval.py +83 -0
- lusid/models/scrip_dividend_event.py +3 -3
- lusid/models/set_amortisation_rules_request.py +73 -0
- lusid/models/settlement_schedule.py +78 -0
- lusid/models/staged_modification.py +17 -2
- lusid/models/staged_modifications_entity_hrefs.py +19 -4
- lusid/models/staged_modifications_requested_change_interval.py +19 -4
- lusid/models/staging_rule_set.py +17 -2
- lusid/models/stock_dividend_event.py +3 -3
- lusid/models/stock_split_event.py +3 -3
- lusid/models/transition_event.py +3 -3
- lusid/models/trigger_event.py +3 -3
- lusid/models/update_compliance_template_request.py +95 -0
- lusid/models/update_fee_type_request.py +96 -0
- lusid/models/valuation_point_data_response.py +15 -2
- lusid/models/version.py +0 -1
- {lusid_sdk-2.1.92.dist-info → lusid_sdk-2.1.131.dist-info}/METADATA +41 -4
- {lusid_sdk-2.1.92.dist-info → lusid_sdk-2.1.131.dist-info}/RECORD +88 -64
- {lusid_sdk-2.1.92.dist-info → lusid_sdk-2.1.131.dist-info}/WHEEL +0 -0
lusid/__init__.py
CHANGED
|
@@ -41,6 +41,7 @@ from lusid.api.data_types_api import DataTypesApi
|
|
|
41
41
|
from lusid.api.derived_transaction_portfolios_api import DerivedTransactionPortfoliosApi
|
|
42
42
|
from lusid.api.entities_api import EntitiesApi
|
|
43
43
|
from lusid.api.executions_api import ExecutionsApi
|
|
44
|
+
from lusid.api.fee_types_api import FeeTypesApi
|
|
44
45
|
from lusid.api.funds_api import FundsApi
|
|
45
46
|
from lusid.api.instrument_event_types_api import InstrumentEventTypesApi
|
|
46
47
|
from lusid.api.instrument_events_api import InstrumentEventsApi
|
|
@@ -146,6 +147,7 @@ from lusid.models.amortisation_rule_set import AmortisationRuleSet
|
|
|
146
147
|
from lusid.models.annul_quotes_response import AnnulQuotesResponse
|
|
147
148
|
from lusid.models.annul_single_structured_data_response import AnnulSingleStructuredDataResponse
|
|
148
149
|
from lusid.models.annul_structured_data_response import AnnulStructuredDataResponse
|
|
150
|
+
from lusid.models.applicable_instrument_event import ApplicableInstrumentEvent
|
|
149
151
|
from lusid.models.asset_class import AssetClass
|
|
150
152
|
from lusid.models.asset_leg import AssetLeg
|
|
151
153
|
from lusid.models.barrier import Barrier
|
|
@@ -180,6 +182,7 @@ from lusid.models.calendar import Calendar
|
|
|
180
182
|
from lusid.models.calendar_date import CalendarDate
|
|
181
183
|
from lusid.models.calendar_dependency import CalendarDependency
|
|
182
184
|
from lusid.models.cap_floor import CapFloor
|
|
185
|
+
from lusid.models.capital_distribution_event import CapitalDistributionEvent
|
|
183
186
|
from lusid.models.cash_dependency import CashDependency
|
|
184
187
|
from lusid.models.cash_dividend_event import CashDividendEvent
|
|
185
188
|
from lusid.models.cash_election import CashElection
|
|
@@ -225,17 +228,22 @@ from lusid.models.compliance_rule_result import ComplianceRuleResult
|
|
|
225
228
|
from lusid.models.compliance_rule_result_detail import ComplianceRuleResultDetail
|
|
226
229
|
from lusid.models.compliance_rule_result_portfolio_detail import ComplianceRuleResultPortfolioDetail
|
|
227
230
|
from lusid.models.compliance_rule_result_v2 import ComplianceRuleResultV2
|
|
231
|
+
from lusid.models.compliance_rule_template import ComplianceRuleTemplate
|
|
228
232
|
from lusid.models.compliance_rule_upsert_request import ComplianceRuleUpsertRequest
|
|
229
233
|
from lusid.models.compliance_rule_upsert_response import ComplianceRuleUpsertResponse
|
|
230
234
|
from lusid.models.compliance_run_info import ComplianceRunInfo
|
|
231
235
|
from lusid.models.compliance_run_info_v2 import ComplianceRunInfoV2
|
|
232
236
|
from lusid.models.compliance_step import ComplianceStep
|
|
237
|
+
from lusid.models.compliance_step_request import ComplianceStepRequest
|
|
233
238
|
from lusid.models.compliance_step_type import ComplianceStepType
|
|
239
|
+
from lusid.models.compliance_step_type_request import ComplianceStepTypeRequest
|
|
234
240
|
from lusid.models.compliance_summary_rule_result import ComplianceSummaryRuleResult
|
|
235
241
|
from lusid.models.compliance_summary_rule_result_request import ComplianceSummaryRuleResultRequest
|
|
236
242
|
from lusid.models.compliance_template import ComplianceTemplate
|
|
237
243
|
from lusid.models.compliance_template_parameter import ComplianceTemplateParameter
|
|
238
244
|
from lusid.models.compliance_template_variation import ComplianceTemplateVariation
|
|
245
|
+
from lusid.models.compliance_template_variation_dto import ComplianceTemplateVariationDto
|
|
246
|
+
from lusid.models.compliance_template_variation_request import ComplianceTemplateVariationRequest
|
|
239
247
|
from lusid.models.component_transaction import ComponentTransaction
|
|
240
248
|
from lusid.models.composite_breakdown import CompositeBreakdown
|
|
241
249
|
from lusid.models.composite_breakdown_request import CompositeBreakdownRequest
|
|
@@ -259,6 +267,7 @@ from lusid.models.counterparty_signatory import CounterpartySignatory
|
|
|
259
267
|
from lusid.models.create_address_key_definition_request import CreateAddressKeyDefinitionRequest
|
|
260
268
|
from lusid.models.create_amortisation_rule_set_request import CreateAmortisationRuleSetRequest
|
|
261
269
|
from lusid.models.create_calendar_request import CreateCalendarRequest
|
|
270
|
+
from lusid.models.create_compliance_template_request import CreateComplianceTemplateRequest
|
|
262
271
|
from lusid.models.create_corporate_action_source_request import CreateCorporateActionSourceRequest
|
|
263
272
|
from lusid.models.create_custom_entity_type_request import CreateCustomEntityTypeRequest
|
|
264
273
|
from lusid.models.create_cut_label_definition_request import CreateCutLabelDefinitionRequest
|
|
@@ -373,9 +382,12 @@ from lusid.models.exercise_event import ExerciseEvent
|
|
|
373
382
|
from lusid.models.exotic_instrument import ExoticInstrument
|
|
374
383
|
from lusid.models.expanded_group import ExpandedGroup
|
|
375
384
|
from lusid.models.expiry_event import ExpiryEvent
|
|
385
|
+
from lusid.models.fee_accrual import FeeAccrual
|
|
376
386
|
from lusid.models.fee_rule import FeeRule
|
|
377
387
|
from lusid.models.fee_rule_upsert_request import FeeRuleUpsertRequest
|
|
378
388
|
from lusid.models.fee_rule_upsert_response import FeeRuleUpsertResponse
|
|
389
|
+
from lusid.models.fee_type import FeeType
|
|
390
|
+
from lusid.models.fee_type_request import FeeTypeRequest
|
|
379
391
|
from lusid.models.field_definition import FieldDefinition
|
|
380
392
|
from lusid.models.field_schema import FieldSchema
|
|
381
393
|
from lusid.models.field_value import FieldValue
|
|
@@ -473,6 +485,9 @@ from lusid.models.instrument_delete_modes import InstrumentDeleteModes
|
|
|
473
485
|
from lusid.models.instrument_event import InstrumentEvent
|
|
474
486
|
from lusid.models.instrument_event_configuration import InstrumentEventConfiguration
|
|
475
487
|
from lusid.models.instrument_event_holder import InstrumentEventHolder
|
|
488
|
+
from lusid.models.instrument_event_instruction import InstrumentEventInstruction
|
|
489
|
+
from lusid.models.instrument_event_instruction_request import InstrumentEventInstructionRequest
|
|
490
|
+
from lusid.models.instrument_event_instructions_response import InstrumentEventInstructionsResponse
|
|
476
491
|
from lusid.models.instrument_event_type import InstrumentEventType
|
|
477
492
|
from lusid.models.instrument_id_type_descriptor import InstrumentIdTypeDescriptor
|
|
478
493
|
from lusid.models.instrument_id_value import InstrumentIdValue
|
|
@@ -610,10 +625,12 @@ from lusid.models.paged_resource_list_of_data_type_summary import PagedResourceL
|
|
|
610
625
|
from lusid.models.paged_resource_list_of_dialect_id import PagedResourceListOfDialectId
|
|
611
626
|
from lusid.models.paged_resource_list_of_diary_entry import PagedResourceListOfDiaryEntry
|
|
612
627
|
from lusid.models.paged_resource_list_of_execution import PagedResourceListOfExecution
|
|
628
|
+
from lusid.models.paged_resource_list_of_fee_type import PagedResourceListOfFeeType
|
|
613
629
|
from lusid.models.paged_resource_list_of_fund import PagedResourceListOfFund
|
|
614
630
|
from lusid.models.paged_resource_list_of_general_ledger_profile_response import PagedResourceListOfGeneralLedgerProfileResponse
|
|
615
631
|
from lusid.models.paged_resource_list_of_instrument import PagedResourceListOfInstrument
|
|
616
632
|
from lusid.models.paged_resource_list_of_instrument_event_holder import PagedResourceListOfInstrumentEventHolder
|
|
633
|
+
from lusid.models.paged_resource_list_of_instrument_event_instruction import PagedResourceListOfInstrumentEventInstruction
|
|
617
634
|
from lusid.models.paged_resource_list_of_legal_entity import PagedResourceListOfLegalEntity
|
|
618
635
|
from lusid.models.paged_resource_list_of_order import PagedResourceListOfOrder
|
|
619
636
|
from lusid.models.paged_resource_list_of_order_graph_block import PagedResourceListOfOrderGraphBlock
|
|
@@ -706,6 +723,7 @@ from lusid.models.property_type import PropertyType
|
|
|
706
723
|
from lusid.models.property_value import PropertyValue
|
|
707
724
|
from lusid.models.property_value_equals import PropertyValueEquals
|
|
708
725
|
from lusid.models.property_value_in import PropertyValueIn
|
|
726
|
+
from lusid.models.query_applicable_instrument_events_request import QueryApplicableInstrumentEventsRequest
|
|
709
727
|
from lusid.models.query_bucketed_cash_flows_request import QueryBucketedCashFlowsRequest
|
|
710
728
|
from lusid.models.query_cash_flows_request import QueryCashFlowsRequest
|
|
711
729
|
from lusid.models.query_instrument_events_request import QueryInstrumentEventsRequest
|
|
@@ -767,6 +785,7 @@ from lusid.models.resource_list_of_address_key_definition import ResourceListOfA
|
|
|
767
785
|
from lusid.models.resource_list_of_aggregated_return import ResourceListOfAggregatedReturn
|
|
768
786
|
from lusid.models.resource_list_of_aggregation_query import ResourceListOfAggregationQuery
|
|
769
787
|
from lusid.models.resource_list_of_allocation import ResourceListOfAllocation
|
|
788
|
+
from lusid.models.resource_list_of_applicable_instrument_event import ResourceListOfApplicableInstrumentEvent
|
|
770
789
|
from lusid.models.resource_list_of_block import ResourceListOfBlock
|
|
771
790
|
from lusid.models.resource_list_of_block_and_orders import ResourceListOfBlockAndOrders
|
|
772
791
|
from lusid.models.resource_list_of_calendar_date import ResourceListOfCalendarDate
|
|
@@ -844,6 +863,7 @@ from lusid.models.reverse_stock_split_event import ReverseStockSplitEvent
|
|
|
844
863
|
from lusid.models.rounding_configuration import RoundingConfiguration
|
|
845
864
|
from lusid.models.rounding_configuration_component import RoundingConfigurationComponent
|
|
846
865
|
from lusid.models.rounding_convention import RoundingConvention
|
|
866
|
+
from lusid.models.rules_interval import RulesInterval
|
|
847
867
|
from lusid.models.scaling_methodology import ScalingMethodology
|
|
848
868
|
from lusid.models.schedule import Schedule
|
|
849
869
|
from lusid.models.schedule_type import ScheduleType
|
|
@@ -852,6 +872,7 @@ from lusid.models.scrip_dividend_event import ScripDividendEvent
|
|
|
852
872
|
from lusid.models.script_map_reference import ScriptMapReference
|
|
853
873
|
from lusid.models.security_election import SecurityElection
|
|
854
874
|
from lusid.models.sequence_definition import SequenceDefinition
|
|
875
|
+
from lusid.models.set_amortisation_rules_request import SetAmortisationRulesRequest
|
|
855
876
|
from lusid.models.set_legal_entity_identifiers_request import SetLegalEntityIdentifiersRequest
|
|
856
877
|
from lusid.models.set_legal_entity_properties_request import SetLegalEntityPropertiesRequest
|
|
857
878
|
from lusid.models.set_person_identifiers_request import SetPersonIdentifiersRequest
|
|
@@ -859,6 +880,7 @@ from lusid.models.set_person_properties_request import SetPersonPropertiesReques
|
|
|
859
880
|
from lusid.models.set_share_class_instruments_request import SetShareClassInstrumentsRequest
|
|
860
881
|
from lusid.models.set_transaction_configuration_alias import SetTransactionConfigurationAlias
|
|
861
882
|
from lusid.models.set_transaction_configuration_source_request import SetTransactionConfigurationSourceRequest
|
|
883
|
+
from lusid.models.settlement_schedule import SettlementSchedule
|
|
862
884
|
from lusid.models.side_configuration_data import SideConfigurationData
|
|
863
885
|
from lusid.models.side_configuration_data_request import SideConfigurationDataRequest
|
|
864
886
|
from lusid.models.side_definition import SideDefinition
|
|
@@ -955,11 +977,13 @@ from lusid.models.units_ratio import UnitsRatio
|
|
|
955
977
|
from lusid.models.unmatched_holding_method import UnmatchedHoldingMethod
|
|
956
978
|
from lusid.models.update_amortisation_rule_set_details_request import UpdateAmortisationRuleSetDetailsRequest
|
|
957
979
|
from lusid.models.update_calendar_request import UpdateCalendarRequest
|
|
980
|
+
from lusid.models.update_compliance_template_request import UpdateComplianceTemplateRequest
|
|
958
981
|
from lusid.models.update_custom_entity_definition_request import UpdateCustomEntityDefinitionRequest
|
|
959
982
|
from lusid.models.update_custom_entity_type_request import UpdateCustomEntityTypeRequest
|
|
960
983
|
from lusid.models.update_cut_label_definition_request import UpdateCutLabelDefinitionRequest
|
|
961
984
|
from lusid.models.update_data_type_request import UpdateDataTypeRequest
|
|
962
985
|
from lusid.models.update_derived_property_definition_request import UpdateDerivedPropertyDefinitionRequest
|
|
986
|
+
from lusid.models.update_fee_type_request import UpdateFeeTypeRequest
|
|
963
987
|
from lusid.models.update_instrument_identifier_request import UpdateInstrumentIdentifierRequest
|
|
964
988
|
from lusid.models.update_portfolio_group_request import UpdatePortfolioGroupRequest
|
|
965
989
|
from lusid.models.update_portfolio_request import UpdatePortfolioRequest
|
|
@@ -1080,6 +1104,7 @@ __all__ = [
|
|
|
1080
1104
|
"DerivedTransactionPortfoliosApi",
|
|
1081
1105
|
"EntitiesApi",
|
|
1082
1106
|
"ExecutionsApi",
|
|
1107
|
+
"FeeTypesApi",
|
|
1083
1108
|
"FundsApi",
|
|
1084
1109
|
"InstrumentEventTypesApi",
|
|
1085
1110
|
"InstrumentEventsApi",
|
|
@@ -1175,6 +1200,7 @@ __all__ = [
|
|
|
1175
1200
|
"AnnulQuotesResponse",
|
|
1176
1201
|
"AnnulSingleStructuredDataResponse",
|
|
1177
1202
|
"AnnulStructuredDataResponse",
|
|
1203
|
+
"ApplicableInstrumentEvent",
|
|
1178
1204
|
"AssetClass",
|
|
1179
1205
|
"AssetLeg",
|
|
1180
1206
|
"Barrier",
|
|
@@ -1209,6 +1235,7 @@ __all__ = [
|
|
|
1209
1235
|
"CalendarDate",
|
|
1210
1236
|
"CalendarDependency",
|
|
1211
1237
|
"CapFloor",
|
|
1238
|
+
"CapitalDistributionEvent",
|
|
1212
1239
|
"CashDependency",
|
|
1213
1240
|
"CashDividendEvent",
|
|
1214
1241
|
"CashElection",
|
|
@@ -1254,17 +1281,22 @@ __all__ = [
|
|
|
1254
1281
|
"ComplianceRuleResultDetail",
|
|
1255
1282
|
"ComplianceRuleResultPortfolioDetail",
|
|
1256
1283
|
"ComplianceRuleResultV2",
|
|
1284
|
+
"ComplianceRuleTemplate",
|
|
1257
1285
|
"ComplianceRuleUpsertRequest",
|
|
1258
1286
|
"ComplianceRuleUpsertResponse",
|
|
1259
1287
|
"ComplianceRunInfo",
|
|
1260
1288
|
"ComplianceRunInfoV2",
|
|
1261
1289
|
"ComplianceStep",
|
|
1290
|
+
"ComplianceStepRequest",
|
|
1262
1291
|
"ComplianceStepType",
|
|
1292
|
+
"ComplianceStepTypeRequest",
|
|
1263
1293
|
"ComplianceSummaryRuleResult",
|
|
1264
1294
|
"ComplianceSummaryRuleResultRequest",
|
|
1265
1295
|
"ComplianceTemplate",
|
|
1266
1296
|
"ComplianceTemplateParameter",
|
|
1267
1297
|
"ComplianceTemplateVariation",
|
|
1298
|
+
"ComplianceTemplateVariationDto",
|
|
1299
|
+
"ComplianceTemplateVariationRequest",
|
|
1268
1300
|
"ComponentTransaction",
|
|
1269
1301
|
"CompositeBreakdown",
|
|
1270
1302
|
"CompositeBreakdownRequest",
|
|
@@ -1288,6 +1320,7 @@ __all__ = [
|
|
|
1288
1320
|
"CreateAddressKeyDefinitionRequest",
|
|
1289
1321
|
"CreateAmortisationRuleSetRequest",
|
|
1290
1322
|
"CreateCalendarRequest",
|
|
1323
|
+
"CreateComplianceTemplateRequest",
|
|
1291
1324
|
"CreateCorporateActionSourceRequest",
|
|
1292
1325
|
"CreateCustomEntityTypeRequest",
|
|
1293
1326
|
"CreateCutLabelDefinitionRequest",
|
|
@@ -1402,9 +1435,12 @@ __all__ = [
|
|
|
1402
1435
|
"ExoticInstrument",
|
|
1403
1436
|
"ExpandedGroup",
|
|
1404
1437
|
"ExpiryEvent",
|
|
1438
|
+
"FeeAccrual",
|
|
1405
1439
|
"FeeRule",
|
|
1406
1440
|
"FeeRuleUpsertRequest",
|
|
1407
1441
|
"FeeRuleUpsertResponse",
|
|
1442
|
+
"FeeType",
|
|
1443
|
+
"FeeTypeRequest",
|
|
1408
1444
|
"FieldDefinition",
|
|
1409
1445
|
"FieldSchema",
|
|
1410
1446
|
"FieldValue",
|
|
@@ -1502,6 +1538,9 @@ __all__ = [
|
|
|
1502
1538
|
"InstrumentEvent",
|
|
1503
1539
|
"InstrumentEventConfiguration",
|
|
1504
1540
|
"InstrumentEventHolder",
|
|
1541
|
+
"InstrumentEventInstruction",
|
|
1542
|
+
"InstrumentEventInstructionRequest",
|
|
1543
|
+
"InstrumentEventInstructionsResponse",
|
|
1505
1544
|
"InstrumentEventType",
|
|
1506
1545
|
"InstrumentIdTypeDescriptor",
|
|
1507
1546
|
"InstrumentIdValue",
|
|
@@ -1639,10 +1678,12 @@ __all__ = [
|
|
|
1639
1678
|
"PagedResourceListOfDialectId",
|
|
1640
1679
|
"PagedResourceListOfDiaryEntry",
|
|
1641
1680
|
"PagedResourceListOfExecution",
|
|
1681
|
+
"PagedResourceListOfFeeType",
|
|
1642
1682
|
"PagedResourceListOfFund",
|
|
1643
1683
|
"PagedResourceListOfGeneralLedgerProfileResponse",
|
|
1644
1684
|
"PagedResourceListOfInstrument",
|
|
1645
1685
|
"PagedResourceListOfInstrumentEventHolder",
|
|
1686
|
+
"PagedResourceListOfInstrumentEventInstruction",
|
|
1646
1687
|
"PagedResourceListOfLegalEntity",
|
|
1647
1688
|
"PagedResourceListOfOrder",
|
|
1648
1689
|
"PagedResourceListOfOrderGraphBlock",
|
|
@@ -1735,6 +1776,7 @@ __all__ = [
|
|
|
1735
1776
|
"PropertyValue",
|
|
1736
1777
|
"PropertyValueEquals",
|
|
1737
1778
|
"PropertyValueIn",
|
|
1779
|
+
"QueryApplicableInstrumentEventsRequest",
|
|
1738
1780
|
"QueryBucketedCashFlowsRequest",
|
|
1739
1781
|
"QueryCashFlowsRequest",
|
|
1740
1782
|
"QueryInstrumentEventsRequest",
|
|
@@ -1796,6 +1838,7 @@ __all__ = [
|
|
|
1796
1838
|
"ResourceListOfAggregatedReturn",
|
|
1797
1839
|
"ResourceListOfAggregationQuery",
|
|
1798
1840
|
"ResourceListOfAllocation",
|
|
1841
|
+
"ResourceListOfApplicableInstrumentEvent",
|
|
1799
1842
|
"ResourceListOfBlock",
|
|
1800
1843
|
"ResourceListOfBlockAndOrders",
|
|
1801
1844
|
"ResourceListOfCalendarDate",
|
|
@@ -1873,6 +1916,7 @@ __all__ = [
|
|
|
1873
1916
|
"RoundingConfiguration",
|
|
1874
1917
|
"RoundingConfigurationComponent",
|
|
1875
1918
|
"RoundingConvention",
|
|
1919
|
+
"RulesInterval",
|
|
1876
1920
|
"ScalingMethodology",
|
|
1877
1921
|
"Schedule",
|
|
1878
1922
|
"ScheduleType",
|
|
@@ -1881,6 +1925,7 @@ __all__ = [
|
|
|
1881
1925
|
"ScriptMapReference",
|
|
1882
1926
|
"SecurityElection",
|
|
1883
1927
|
"SequenceDefinition",
|
|
1928
|
+
"SetAmortisationRulesRequest",
|
|
1884
1929
|
"SetLegalEntityIdentifiersRequest",
|
|
1885
1930
|
"SetLegalEntityPropertiesRequest",
|
|
1886
1931
|
"SetPersonIdentifiersRequest",
|
|
@@ -1888,6 +1933,7 @@ __all__ = [
|
|
|
1888
1933
|
"SetShareClassInstrumentsRequest",
|
|
1889
1934
|
"SetTransactionConfigurationAlias",
|
|
1890
1935
|
"SetTransactionConfigurationSourceRequest",
|
|
1936
|
+
"SettlementSchedule",
|
|
1891
1937
|
"SideConfigurationData",
|
|
1892
1938
|
"SideConfigurationDataRequest",
|
|
1893
1939
|
"SideDefinition",
|
|
@@ -1984,11 +2030,13 @@ __all__ = [
|
|
|
1984
2030
|
"UnmatchedHoldingMethod",
|
|
1985
2031
|
"UpdateAmortisationRuleSetDetailsRequest",
|
|
1986
2032
|
"UpdateCalendarRequest",
|
|
2033
|
+
"UpdateComplianceTemplateRequest",
|
|
1987
2034
|
"UpdateCustomEntityDefinitionRequest",
|
|
1988
2035
|
"UpdateCustomEntityTypeRequest",
|
|
1989
2036
|
"UpdateCutLabelDefinitionRequest",
|
|
1990
2037
|
"UpdateDataTypeRequest",
|
|
1991
2038
|
"UpdateDerivedPropertyDefinitionRequest",
|
|
2039
|
+
"UpdateFeeTypeRequest",
|
|
1992
2040
|
"UpdateInstrumentIdentifierRequest",
|
|
1993
2041
|
"UpdatePortfolioGroupRequest",
|
|
1994
2042
|
"UpdatePortfolioRequest",
|
lusid/api/__init__.py
CHANGED
|
@@ -25,6 +25,7 @@ from lusid.api.data_types_api import DataTypesApi
|
|
|
25
25
|
from lusid.api.derived_transaction_portfolios_api import DerivedTransactionPortfoliosApi
|
|
26
26
|
from lusid.api.entities_api import EntitiesApi
|
|
27
27
|
from lusid.api.executions_api import ExecutionsApi
|
|
28
|
+
from lusid.api.fee_types_api import FeeTypesApi
|
|
28
29
|
from lusid.api.funds_api import FundsApi
|
|
29
30
|
from lusid.api.instrument_event_types_api import InstrumentEventTypesApi
|
|
30
31
|
from lusid.api.instrument_events_api import InstrumentEventsApi
|
|
@@ -92,6 +93,7 @@ __all__ = [
|
|
|
92
93
|
"DerivedTransactionPortfoliosApi",
|
|
93
94
|
"EntitiesApi",
|
|
94
95
|
"ExecutionsApi",
|
|
96
|
+
"FeeTypesApi",
|
|
95
97
|
"FundsApi",
|
|
96
98
|
"InstrumentEventTypesApi",
|
|
97
99
|
"InstrumentEventsApi",
|
|
@@ -30,6 +30,7 @@ from lusid.models.amortisation_rule_set import AmortisationRuleSet
|
|
|
30
30
|
from lusid.models.create_amortisation_rule_set_request import CreateAmortisationRuleSetRequest
|
|
31
31
|
from lusid.models.deleted_entity_response import DeletedEntityResponse
|
|
32
32
|
from lusid.models.paged_resource_list_of_amortisation_rule_set import PagedResourceListOfAmortisationRuleSet
|
|
33
|
+
from lusid.models.set_amortisation_rules_request import SetAmortisationRulesRequest
|
|
33
34
|
from lusid.models.update_amortisation_rule_set_details_request import UpdateAmortisationRuleSetDetailsRequest
|
|
34
35
|
|
|
35
36
|
from lusid.api_client import ApiClient
|
|
@@ -750,6 +751,180 @@ class AmortisationRuleSetsApi:
|
|
|
750
751
|
collection_formats=_collection_formats,
|
|
751
752
|
_request_auth=_params.get('_request_auth'))
|
|
752
753
|
|
|
754
|
+
@overload
|
|
755
|
+
async def set_amortisation_rules(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.")], set_amortisation_rules_request : Annotated[SetAmortisationRulesRequest, Field(..., description="The contents of the rules.")], **kwargs) -> AmortisationRuleSet: # noqa: E501
|
|
756
|
+
...
|
|
757
|
+
|
|
758
|
+
@overload
|
|
759
|
+
def set_amortisation_rules(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.")], set_amortisation_rules_request : Annotated[SetAmortisationRulesRequest, Field(..., description="The contents of the rules.")], async_req: Optional[bool]=True, **kwargs) -> AmortisationRuleSet: # noqa: E501
|
|
760
|
+
...
|
|
761
|
+
|
|
762
|
+
@validate_arguments
|
|
763
|
+
def set_amortisation_rules(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.")], set_amortisation_rules_request : Annotated[SetAmortisationRulesRequest, Field(..., description="The contents of the rules.")], async_req: Optional[bool]=None, **kwargs) -> Union[AmortisationRuleSet, Awaitable[AmortisationRuleSet]]: # noqa: E501
|
|
764
|
+
"""[EXPERIMENTAL] SetAmortisationRules: Set Amortisation Rules on an existing Amortisation Rule Set. # noqa: E501
|
|
765
|
+
|
|
766
|
+
Sets the rules on the Amortisation Rule Set, replacing the existing rules with the set provided. # noqa: E501
|
|
767
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
768
|
+
asynchronous HTTP request, please pass async_req=True
|
|
769
|
+
|
|
770
|
+
>>> thread = api.set_amortisation_rules(scope, code, set_amortisation_rules_request, async_req=True)
|
|
771
|
+
>>> result = thread.get()
|
|
772
|
+
|
|
773
|
+
:param scope: The rule set scope. (required)
|
|
774
|
+
:type scope: str
|
|
775
|
+
:param code: The rule set code. (required)
|
|
776
|
+
:type code: str
|
|
777
|
+
:param set_amortisation_rules_request: The contents of the rules. (required)
|
|
778
|
+
:type set_amortisation_rules_request: SetAmortisationRulesRequest
|
|
779
|
+
:param async_req: Whether to execute the request asynchronously.
|
|
780
|
+
:type async_req: bool, optional
|
|
781
|
+
:param _request_timeout: timeout setting for this request.
|
|
782
|
+
If one number provided, it will be total request
|
|
783
|
+
timeout. It can also be a pair (tuple) of
|
|
784
|
+
(connection, read) timeouts.
|
|
785
|
+
:return: Returns the result object.
|
|
786
|
+
If the method is called asynchronously,
|
|
787
|
+
returns the request thread.
|
|
788
|
+
:rtype: AmortisationRuleSet
|
|
789
|
+
"""
|
|
790
|
+
kwargs['_return_http_data_only'] = True
|
|
791
|
+
if '_preload_content' in kwargs:
|
|
792
|
+
message = "Error! Please call the set_amortisation_rules_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501
|
|
793
|
+
raise ValueError(message)
|
|
794
|
+
if async_req is not None:
|
|
795
|
+
kwargs['async_req'] = async_req
|
|
796
|
+
return self.set_amortisation_rules_with_http_info(scope, code, set_amortisation_rules_request, **kwargs) # noqa: E501
|
|
797
|
+
|
|
798
|
+
@validate_arguments
|
|
799
|
+
def set_amortisation_rules_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.")], set_amortisation_rules_request : Annotated[SetAmortisationRulesRequest, Field(..., description="The contents of the rules.")], **kwargs) -> ApiResponse: # noqa: E501
|
|
800
|
+
"""[EXPERIMENTAL] SetAmortisationRules: Set Amortisation Rules on an existing Amortisation Rule Set. # noqa: E501
|
|
801
|
+
|
|
802
|
+
Sets the rules on the Amortisation Rule Set, replacing the existing rules with the set provided. # noqa: E501
|
|
803
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
804
|
+
asynchronous HTTP request, please pass async_req=True
|
|
805
|
+
|
|
806
|
+
>>> thread = api.set_amortisation_rules_with_http_info(scope, code, set_amortisation_rules_request, async_req=True)
|
|
807
|
+
>>> result = thread.get()
|
|
808
|
+
|
|
809
|
+
:param scope: The rule set scope. (required)
|
|
810
|
+
:type scope: str
|
|
811
|
+
:param code: The rule set code. (required)
|
|
812
|
+
:type code: str
|
|
813
|
+
:param set_amortisation_rules_request: The contents of the rules. (required)
|
|
814
|
+
:type set_amortisation_rules_request: SetAmortisationRulesRequest
|
|
815
|
+
:param async_req: Whether to execute the request asynchronously.
|
|
816
|
+
:type async_req: bool, optional
|
|
817
|
+
:param _preload_content: if False, the ApiResponse.data will
|
|
818
|
+
be set to none and raw_data will store the
|
|
819
|
+
HTTP response body without reading/decoding.
|
|
820
|
+
Default is True.
|
|
821
|
+
:type _preload_content: bool, optional
|
|
822
|
+
:param _return_http_data_only: response data instead of ApiResponse
|
|
823
|
+
object with status code, headers, etc
|
|
824
|
+
:type _return_http_data_only: bool, optional
|
|
825
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
826
|
+
number provided, it will be total request
|
|
827
|
+
timeout. It can also be a pair (tuple) of
|
|
828
|
+
(connection, read) timeouts.
|
|
829
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
830
|
+
request; this effectively ignores the authentication
|
|
831
|
+
in the spec for a single request.
|
|
832
|
+
:type _request_auth: dict, optional
|
|
833
|
+
:type _content_type: string, optional: force content-type for the request
|
|
834
|
+
:return: Returns the result object.
|
|
835
|
+
If the method is called asynchronously,
|
|
836
|
+
returns the request thread.
|
|
837
|
+
:rtype: tuple(AmortisationRuleSet, status_code(int), headers(HTTPHeaderDict))
|
|
838
|
+
"""
|
|
839
|
+
|
|
840
|
+
_params = locals()
|
|
841
|
+
|
|
842
|
+
_all_params = [
|
|
843
|
+
'scope',
|
|
844
|
+
'code',
|
|
845
|
+
'set_amortisation_rules_request'
|
|
846
|
+
]
|
|
847
|
+
_all_params.extend(
|
|
848
|
+
[
|
|
849
|
+
'async_req',
|
|
850
|
+
'_return_http_data_only',
|
|
851
|
+
'_preload_content',
|
|
852
|
+
'_request_timeout',
|
|
853
|
+
'_request_auth',
|
|
854
|
+
'_content_type',
|
|
855
|
+
'_headers'
|
|
856
|
+
]
|
|
857
|
+
)
|
|
858
|
+
|
|
859
|
+
# validate the arguments
|
|
860
|
+
for _key, _val in _params['kwargs'].items():
|
|
861
|
+
if _key not in _all_params:
|
|
862
|
+
raise ApiTypeError(
|
|
863
|
+
"Got an unexpected keyword argument '%s'"
|
|
864
|
+
" to method set_amortisation_rules" % _key
|
|
865
|
+
)
|
|
866
|
+
_params[_key] = _val
|
|
867
|
+
del _params['kwargs']
|
|
868
|
+
|
|
869
|
+
_collection_formats = {}
|
|
870
|
+
|
|
871
|
+
# process the path parameters
|
|
872
|
+
_path_params = {}
|
|
873
|
+
if _params['scope']:
|
|
874
|
+
_path_params['scope'] = _params['scope']
|
|
875
|
+
|
|
876
|
+
if _params['code']:
|
|
877
|
+
_path_params['code'] = _params['code']
|
|
878
|
+
|
|
879
|
+
|
|
880
|
+
# process the query parameters
|
|
881
|
+
_query_params = []
|
|
882
|
+
# process the header parameters
|
|
883
|
+
_header_params = dict(_params.get('_headers', {}))
|
|
884
|
+
# process the form parameters
|
|
885
|
+
_form_params = []
|
|
886
|
+
_files = {}
|
|
887
|
+
# process the body parameter
|
|
888
|
+
_body_params = None
|
|
889
|
+
if _params['set_amortisation_rules_request'] is not None:
|
|
890
|
+
_body_params = _params['set_amortisation_rules_request']
|
|
891
|
+
|
|
892
|
+
# set the HTTP header `Accept`
|
|
893
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
894
|
+
['text/plain', 'application/json', 'text/json']) # noqa: E501
|
|
895
|
+
|
|
896
|
+
# set the HTTP header `Content-Type`
|
|
897
|
+
_content_types_list = _params.get('_content_type',
|
|
898
|
+
self.api_client.select_header_content_type(
|
|
899
|
+
['application/json-patch+json', 'application/json', 'text/json', 'application/*+json']))
|
|
900
|
+
if _content_types_list:
|
|
901
|
+
_header_params['Content-Type'] = _content_types_list
|
|
902
|
+
|
|
903
|
+
# authentication setting
|
|
904
|
+
_auth_settings = ['oauth2'] # noqa: E501
|
|
905
|
+
|
|
906
|
+
_response_types_map = {
|
|
907
|
+
'200': "AmortisationRuleSet",
|
|
908
|
+
'400': "LusidValidationProblemDetails",
|
|
909
|
+
}
|
|
910
|
+
|
|
911
|
+
return self.api_client.call_api(
|
|
912
|
+
'/api/amortisation/rulesets/{scope}/{code}/rules', 'PUT',
|
|
913
|
+
_path_params,
|
|
914
|
+
_query_params,
|
|
915
|
+
_header_params,
|
|
916
|
+
body=_body_params,
|
|
917
|
+
post_params=_form_params,
|
|
918
|
+
files=_files,
|
|
919
|
+
response_types_map=_response_types_map,
|
|
920
|
+
auth_settings=_auth_settings,
|
|
921
|
+
async_req=_params.get('async_req'),
|
|
922
|
+
_return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
|
|
923
|
+
_preload_content=_params.get('_preload_content', True),
|
|
924
|
+
_request_timeout=_params.get('_request_timeout'),
|
|
925
|
+
collection_formats=_collection_formats,
|
|
926
|
+
_request_auth=_params.get('_request_auth'))
|
|
927
|
+
|
|
753
928
|
@overload
|
|
754
929
|
async def update_amortisation_rule_set_details(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.")], update_amortisation_rule_set_details_request : Annotated[UpdateAmortisationRuleSetDetailsRequest, Field(..., description="The contents of the rule set.")], **kwargs) -> AmortisationRuleSet: # noqa: E501
|
|
755
930
|
...
|