lusid-sdk 2.1.110__py3-none-any.whl → 2.1.137__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 +58 -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/funds_api.py +1148 -198
- lusid/api/instrument_events_api.py +189 -0
- lusid/api/portfolio_groups_api.py +16 -8
- lusid/api/portfolios_api.py +212 -0
- lusid/api/transaction_portfolios_api.py +32 -16
- lusid/configuration.py +1 -1
- lusid/models/__init__.py +56 -0
- lusid/models/amortisation_rule_set.py +7 -11
- lusid/models/applicable_instrument_event.py +106 -0
- lusid/models/branch_step_request.py +91 -0
- lusid/models/check_step_request.py +91 -0
- lusid/models/compliance_rule_template.py +153 -0
- lusid/models/compliance_step_request.py +98 -0
- lusid/models/compliance_step_type_request.py +41 -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/diary_entry_request.py +1 -1
- lusid/models/fee.py +217 -0
- lusid/models/fee_accrual.py +83 -0
- lusid/models/fee_request.py +163 -0
- lusid/models/fee_type.py +115 -0
- lusid/models/fee_type_request.py +105 -0
- lusid/models/filter_step_request.py +91 -0
- lusid/models/flow_conventions.py +1 -1
- lusid/models/group_by_step_request.py +91 -0
- lusid/models/group_filter_step_request.py +91 -0
- lusid/models/intermediate_compliance_step_request.py +91 -0
- lusid/models/operation.py +2 -2
- lusid/models/paged_resource_list_of_fee.py +113 -0
- 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/resource_list_of_applicable_instrument_event.py +113 -0
- lusid/models/rules_interval.py +83 -0
- lusid/models/set_amortisation_rules_request.py +73 -0
- lusid/models/settlement_schedule.py +78 -0
- 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_sdk-2.1.110.dist-info → lusid_sdk-2.1.137.dist-info}/METADATA +48 -4
- {lusid_sdk-2.1.110.dist-info → lusid_sdk-2.1.137.dist-info}/RECORD +57 -28
- {lusid_sdk-2.1.110.dist-info → lusid_sdk-2.1.137.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
|
|
@@ -172,6 +174,7 @@ from lusid.models.book_transactions_response import BookTransactionsResponse
|
|
|
172
174
|
from lusid.models.bool_compliance_parameter import BoolComplianceParameter
|
|
173
175
|
from lusid.models.bool_list_compliance_parameter import BoolListComplianceParameter
|
|
174
176
|
from lusid.models.branch_step import BranchStep
|
|
177
|
+
from lusid.models.branch_step_request import BranchStepRequest
|
|
175
178
|
from lusid.models.bucketed_cash_flow_request import BucketedCashFlowRequest
|
|
176
179
|
from lusid.models.bucketed_cash_flow_response import BucketedCashFlowResponse
|
|
177
180
|
from lusid.models.bucketing_schedule import BucketingSchedule
|
|
@@ -201,6 +204,7 @@ from lusid.models.chart_of_accounts import ChartOfAccounts
|
|
|
201
204
|
from lusid.models.chart_of_accounts_properties import ChartOfAccountsProperties
|
|
202
205
|
from lusid.models.chart_of_accounts_request import ChartOfAccountsRequest
|
|
203
206
|
from lusid.models.check_step import CheckStep
|
|
207
|
+
from lusid.models.check_step_request import CheckStepRequest
|
|
204
208
|
from lusid.models.cleardown_module_details import CleardownModuleDetails
|
|
205
209
|
from lusid.models.cleardown_module_request import CleardownModuleRequest
|
|
206
210
|
from lusid.models.cleardown_module_response import CleardownModuleResponse
|
|
@@ -226,17 +230,22 @@ from lusid.models.compliance_rule_result import ComplianceRuleResult
|
|
|
226
230
|
from lusid.models.compliance_rule_result_detail import ComplianceRuleResultDetail
|
|
227
231
|
from lusid.models.compliance_rule_result_portfolio_detail import ComplianceRuleResultPortfolioDetail
|
|
228
232
|
from lusid.models.compliance_rule_result_v2 import ComplianceRuleResultV2
|
|
233
|
+
from lusid.models.compliance_rule_template import ComplianceRuleTemplate
|
|
229
234
|
from lusid.models.compliance_rule_upsert_request import ComplianceRuleUpsertRequest
|
|
230
235
|
from lusid.models.compliance_rule_upsert_response import ComplianceRuleUpsertResponse
|
|
231
236
|
from lusid.models.compliance_run_info import ComplianceRunInfo
|
|
232
237
|
from lusid.models.compliance_run_info_v2 import ComplianceRunInfoV2
|
|
233
238
|
from lusid.models.compliance_step import ComplianceStep
|
|
239
|
+
from lusid.models.compliance_step_request import ComplianceStepRequest
|
|
234
240
|
from lusid.models.compliance_step_type import ComplianceStepType
|
|
241
|
+
from lusid.models.compliance_step_type_request import ComplianceStepTypeRequest
|
|
235
242
|
from lusid.models.compliance_summary_rule_result import ComplianceSummaryRuleResult
|
|
236
243
|
from lusid.models.compliance_summary_rule_result_request import ComplianceSummaryRuleResultRequest
|
|
237
244
|
from lusid.models.compliance_template import ComplianceTemplate
|
|
238
245
|
from lusid.models.compliance_template_parameter import ComplianceTemplateParameter
|
|
239
246
|
from lusid.models.compliance_template_variation import ComplianceTemplateVariation
|
|
247
|
+
from lusid.models.compliance_template_variation_dto import ComplianceTemplateVariationDto
|
|
248
|
+
from lusid.models.compliance_template_variation_request import ComplianceTemplateVariationRequest
|
|
240
249
|
from lusid.models.component_transaction import ComponentTransaction
|
|
241
250
|
from lusid.models.composite_breakdown import CompositeBreakdown
|
|
242
251
|
from lusid.models.composite_breakdown_request import CompositeBreakdownRequest
|
|
@@ -260,6 +269,7 @@ from lusid.models.counterparty_signatory import CounterpartySignatory
|
|
|
260
269
|
from lusid.models.create_address_key_definition_request import CreateAddressKeyDefinitionRequest
|
|
261
270
|
from lusid.models.create_amortisation_rule_set_request import CreateAmortisationRuleSetRequest
|
|
262
271
|
from lusid.models.create_calendar_request import CreateCalendarRequest
|
|
272
|
+
from lusid.models.create_compliance_template_request import CreateComplianceTemplateRequest
|
|
263
273
|
from lusid.models.create_corporate_action_source_request import CreateCorporateActionSourceRequest
|
|
264
274
|
from lusid.models.create_custom_entity_type_request import CreateCustomEntityTypeRequest
|
|
265
275
|
from lusid.models.create_cut_label_definition_request import CreateCutLabelDefinitionRequest
|
|
@@ -374,15 +384,21 @@ from lusid.models.exercise_event import ExerciseEvent
|
|
|
374
384
|
from lusid.models.exotic_instrument import ExoticInstrument
|
|
375
385
|
from lusid.models.expanded_group import ExpandedGroup
|
|
376
386
|
from lusid.models.expiry_event import ExpiryEvent
|
|
387
|
+
from lusid.models.fee import Fee
|
|
388
|
+
from lusid.models.fee_accrual import FeeAccrual
|
|
389
|
+
from lusid.models.fee_request import FeeRequest
|
|
377
390
|
from lusid.models.fee_rule import FeeRule
|
|
378
391
|
from lusid.models.fee_rule_upsert_request import FeeRuleUpsertRequest
|
|
379
392
|
from lusid.models.fee_rule_upsert_response import FeeRuleUpsertResponse
|
|
393
|
+
from lusid.models.fee_type import FeeType
|
|
394
|
+
from lusid.models.fee_type_request import FeeTypeRequest
|
|
380
395
|
from lusid.models.field_definition import FieldDefinition
|
|
381
396
|
from lusid.models.field_schema import FieldSchema
|
|
382
397
|
from lusid.models.field_value import FieldValue
|
|
383
398
|
from lusid.models.file_response import FileResponse
|
|
384
399
|
from lusid.models.filter_predicate_compliance_parameter import FilterPredicateComplianceParameter
|
|
385
400
|
from lusid.models.filter_step import FilterStep
|
|
401
|
+
from lusid.models.filter_step_request import FilterStepRequest
|
|
386
402
|
from lusid.models.fixed_leg import FixedLeg
|
|
387
403
|
from lusid.models.fixed_leg_all_of_overrides import FixedLegAllOfOverrides
|
|
388
404
|
from lusid.models.fixed_schedule import FixedSchedule
|
|
@@ -438,8 +454,10 @@ from lusid.models.get_structured_result_data_response import GetStructuredResult
|
|
|
438
454
|
from lusid.models.get_virtual_document_response import GetVirtualDocumentResponse
|
|
439
455
|
from lusid.models.group_by_selector_compliance_parameter import GroupBySelectorComplianceParameter
|
|
440
456
|
from lusid.models.group_by_step import GroupByStep
|
|
457
|
+
from lusid.models.group_by_step_request import GroupByStepRequest
|
|
441
458
|
from lusid.models.group_filter_predicate_compliance_parameter import GroupFilterPredicateComplianceParameter
|
|
442
459
|
from lusid.models.group_filter_step import GroupFilterStep
|
|
460
|
+
from lusid.models.group_filter_step_request import GroupFilterStepRequest
|
|
443
461
|
from lusid.models.group_of_market_data_key_rules import GroupOfMarketDataKeyRules
|
|
444
462
|
from lusid.models.grouped_result_of_address_key import GroupedResultOfAddressKey
|
|
445
463
|
from lusid.models.holding_adjustment import HoldingAdjustment
|
|
@@ -495,6 +513,7 @@ from lusid.models.instrument_type import InstrumentType
|
|
|
495
513
|
from lusid.models.interest_rate_swap import InterestRateSwap
|
|
496
514
|
from lusid.models.interest_rate_swaption import InterestRateSwaption
|
|
497
515
|
from lusid.models.intermediate_compliance_step import IntermediateComplianceStep
|
|
516
|
+
from lusid.models.intermediate_compliance_step_request import IntermediateComplianceStepRequest
|
|
498
517
|
from lusid.models.ir_vol_cube_data import IrVolCubeData
|
|
499
518
|
from lusid.models.ir_vol_dependency import IrVolDependency
|
|
500
519
|
from lusid.models.is_business_day_response import IsBusinessDayResponse
|
|
@@ -614,10 +633,13 @@ from lusid.models.paged_resource_list_of_data_type_summary import PagedResourceL
|
|
|
614
633
|
from lusid.models.paged_resource_list_of_dialect_id import PagedResourceListOfDialectId
|
|
615
634
|
from lusid.models.paged_resource_list_of_diary_entry import PagedResourceListOfDiaryEntry
|
|
616
635
|
from lusid.models.paged_resource_list_of_execution import PagedResourceListOfExecution
|
|
636
|
+
from lusid.models.paged_resource_list_of_fee import PagedResourceListOfFee
|
|
637
|
+
from lusid.models.paged_resource_list_of_fee_type import PagedResourceListOfFeeType
|
|
617
638
|
from lusid.models.paged_resource_list_of_fund import PagedResourceListOfFund
|
|
618
639
|
from lusid.models.paged_resource_list_of_general_ledger_profile_response import PagedResourceListOfGeneralLedgerProfileResponse
|
|
619
640
|
from lusid.models.paged_resource_list_of_instrument import PagedResourceListOfInstrument
|
|
620
641
|
from lusid.models.paged_resource_list_of_instrument_event_holder import PagedResourceListOfInstrumentEventHolder
|
|
642
|
+
from lusid.models.paged_resource_list_of_instrument_event_instruction import PagedResourceListOfInstrumentEventInstruction
|
|
621
643
|
from lusid.models.paged_resource_list_of_legal_entity import PagedResourceListOfLegalEntity
|
|
622
644
|
from lusid.models.paged_resource_list_of_order import PagedResourceListOfOrder
|
|
623
645
|
from lusid.models.paged_resource_list_of_order_graph_block import PagedResourceListOfOrderGraphBlock
|
|
@@ -710,6 +732,7 @@ from lusid.models.property_type import PropertyType
|
|
|
710
732
|
from lusid.models.property_value import PropertyValue
|
|
711
733
|
from lusid.models.property_value_equals import PropertyValueEquals
|
|
712
734
|
from lusid.models.property_value_in import PropertyValueIn
|
|
735
|
+
from lusid.models.query_applicable_instrument_events_request import QueryApplicableInstrumentEventsRequest
|
|
713
736
|
from lusid.models.query_bucketed_cash_flows_request import QueryBucketedCashFlowsRequest
|
|
714
737
|
from lusid.models.query_cash_flows_request import QueryCashFlowsRequest
|
|
715
738
|
from lusid.models.query_instrument_events_request import QueryInstrumentEventsRequest
|
|
@@ -771,6 +794,7 @@ from lusid.models.resource_list_of_address_key_definition import ResourceListOfA
|
|
|
771
794
|
from lusid.models.resource_list_of_aggregated_return import ResourceListOfAggregatedReturn
|
|
772
795
|
from lusid.models.resource_list_of_aggregation_query import ResourceListOfAggregationQuery
|
|
773
796
|
from lusid.models.resource_list_of_allocation import ResourceListOfAllocation
|
|
797
|
+
from lusid.models.resource_list_of_applicable_instrument_event import ResourceListOfApplicableInstrumentEvent
|
|
774
798
|
from lusid.models.resource_list_of_block import ResourceListOfBlock
|
|
775
799
|
from lusid.models.resource_list_of_block_and_orders import ResourceListOfBlockAndOrders
|
|
776
800
|
from lusid.models.resource_list_of_calendar_date import ResourceListOfCalendarDate
|
|
@@ -848,6 +872,7 @@ from lusid.models.reverse_stock_split_event import ReverseStockSplitEvent
|
|
|
848
872
|
from lusid.models.rounding_configuration import RoundingConfiguration
|
|
849
873
|
from lusid.models.rounding_configuration_component import RoundingConfigurationComponent
|
|
850
874
|
from lusid.models.rounding_convention import RoundingConvention
|
|
875
|
+
from lusid.models.rules_interval import RulesInterval
|
|
851
876
|
from lusid.models.scaling_methodology import ScalingMethodology
|
|
852
877
|
from lusid.models.schedule import Schedule
|
|
853
878
|
from lusid.models.schedule_type import ScheduleType
|
|
@@ -856,6 +881,7 @@ from lusid.models.scrip_dividend_event import ScripDividendEvent
|
|
|
856
881
|
from lusid.models.script_map_reference import ScriptMapReference
|
|
857
882
|
from lusid.models.security_election import SecurityElection
|
|
858
883
|
from lusid.models.sequence_definition import SequenceDefinition
|
|
884
|
+
from lusid.models.set_amortisation_rules_request import SetAmortisationRulesRequest
|
|
859
885
|
from lusid.models.set_legal_entity_identifiers_request import SetLegalEntityIdentifiersRequest
|
|
860
886
|
from lusid.models.set_legal_entity_properties_request import SetLegalEntityPropertiesRequest
|
|
861
887
|
from lusid.models.set_person_identifiers_request import SetPersonIdentifiersRequest
|
|
@@ -863,6 +889,7 @@ from lusid.models.set_person_properties_request import SetPersonPropertiesReques
|
|
|
863
889
|
from lusid.models.set_share_class_instruments_request import SetShareClassInstrumentsRequest
|
|
864
890
|
from lusid.models.set_transaction_configuration_alias import SetTransactionConfigurationAlias
|
|
865
891
|
from lusid.models.set_transaction_configuration_source_request import SetTransactionConfigurationSourceRequest
|
|
892
|
+
from lusid.models.settlement_schedule import SettlementSchedule
|
|
866
893
|
from lusid.models.side_configuration_data import SideConfigurationData
|
|
867
894
|
from lusid.models.side_configuration_data_request import SideConfigurationDataRequest
|
|
868
895
|
from lusid.models.side_definition import SideDefinition
|
|
@@ -959,11 +986,13 @@ from lusid.models.units_ratio import UnitsRatio
|
|
|
959
986
|
from lusid.models.unmatched_holding_method import UnmatchedHoldingMethod
|
|
960
987
|
from lusid.models.update_amortisation_rule_set_details_request import UpdateAmortisationRuleSetDetailsRequest
|
|
961
988
|
from lusid.models.update_calendar_request import UpdateCalendarRequest
|
|
989
|
+
from lusid.models.update_compliance_template_request import UpdateComplianceTemplateRequest
|
|
962
990
|
from lusid.models.update_custom_entity_definition_request import UpdateCustomEntityDefinitionRequest
|
|
963
991
|
from lusid.models.update_custom_entity_type_request import UpdateCustomEntityTypeRequest
|
|
964
992
|
from lusid.models.update_cut_label_definition_request import UpdateCutLabelDefinitionRequest
|
|
965
993
|
from lusid.models.update_data_type_request import UpdateDataTypeRequest
|
|
966
994
|
from lusid.models.update_derived_property_definition_request import UpdateDerivedPropertyDefinitionRequest
|
|
995
|
+
from lusid.models.update_fee_type_request import UpdateFeeTypeRequest
|
|
967
996
|
from lusid.models.update_instrument_identifier_request import UpdateInstrumentIdentifierRequest
|
|
968
997
|
from lusid.models.update_portfolio_group_request import UpdatePortfolioGroupRequest
|
|
969
998
|
from lusid.models.update_portfolio_request import UpdatePortfolioRequest
|
|
@@ -1084,6 +1113,7 @@ __all__ = [
|
|
|
1084
1113
|
"DerivedTransactionPortfoliosApi",
|
|
1085
1114
|
"EntitiesApi",
|
|
1086
1115
|
"ExecutionsApi",
|
|
1116
|
+
"FeeTypesApi",
|
|
1087
1117
|
"FundsApi",
|
|
1088
1118
|
"InstrumentEventTypesApi",
|
|
1089
1119
|
"InstrumentEventsApi",
|
|
@@ -1179,6 +1209,7 @@ __all__ = [
|
|
|
1179
1209
|
"AnnulQuotesResponse",
|
|
1180
1210
|
"AnnulSingleStructuredDataResponse",
|
|
1181
1211
|
"AnnulStructuredDataResponse",
|
|
1212
|
+
"ApplicableInstrumentEvent",
|
|
1182
1213
|
"AssetClass",
|
|
1183
1214
|
"AssetLeg",
|
|
1184
1215
|
"Barrier",
|
|
@@ -1205,6 +1236,7 @@ __all__ = [
|
|
|
1205
1236
|
"BoolComplianceParameter",
|
|
1206
1237
|
"BoolListComplianceParameter",
|
|
1207
1238
|
"BranchStep",
|
|
1239
|
+
"BranchStepRequest",
|
|
1208
1240
|
"BucketedCashFlowRequest",
|
|
1209
1241
|
"BucketedCashFlowResponse",
|
|
1210
1242
|
"BucketingSchedule",
|
|
@@ -1234,6 +1266,7 @@ __all__ = [
|
|
|
1234
1266
|
"ChartOfAccountsProperties",
|
|
1235
1267
|
"ChartOfAccountsRequest",
|
|
1236
1268
|
"CheckStep",
|
|
1269
|
+
"CheckStepRequest",
|
|
1237
1270
|
"CleardownModuleDetails",
|
|
1238
1271
|
"CleardownModuleRequest",
|
|
1239
1272
|
"CleardownModuleResponse",
|
|
@@ -1259,17 +1292,22 @@ __all__ = [
|
|
|
1259
1292
|
"ComplianceRuleResultDetail",
|
|
1260
1293
|
"ComplianceRuleResultPortfolioDetail",
|
|
1261
1294
|
"ComplianceRuleResultV2",
|
|
1295
|
+
"ComplianceRuleTemplate",
|
|
1262
1296
|
"ComplianceRuleUpsertRequest",
|
|
1263
1297
|
"ComplianceRuleUpsertResponse",
|
|
1264
1298
|
"ComplianceRunInfo",
|
|
1265
1299
|
"ComplianceRunInfoV2",
|
|
1266
1300
|
"ComplianceStep",
|
|
1301
|
+
"ComplianceStepRequest",
|
|
1267
1302
|
"ComplianceStepType",
|
|
1303
|
+
"ComplianceStepTypeRequest",
|
|
1268
1304
|
"ComplianceSummaryRuleResult",
|
|
1269
1305
|
"ComplianceSummaryRuleResultRequest",
|
|
1270
1306
|
"ComplianceTemplate",
|
|
1271
1307
|
"ComplianceTemplateParameter",
|
|
1272
1308
|
"ComplianceTemplateVariation",
|
|
1309
|
+
"ComplianceTemplateVariationDto",
|
|
1310
|
+
"ComplianceTemplateVariationRequest",
|
|
1273
1311
|
"ComponentTransaction",
|
|
1274
1312
|
"CompositeBreakdown",
|
|
1275
1313
|
"CompositeBreakdownRequest",
|
|
@@ -1293,6 +1331,7 @@ __all__ = [
|
|
|
1293
1331
|
"CreateAddressKeyDefinitionRequest",
|
|
1294
1332
|
"CreateAmortisationRuleSetRequest",
|
|
1295
1333
|
"CreateCalendarRequest",
|
|
1334
|
+
"CreateComplianceTemplateRequest",
|
|
1296
1335
|
"CreateCorporateActionSourceRequest",
|
|
1297
1336
|
"CreateCustomEntityTypeRequest",
|
|
1298
1337
|
"CreateCutLabelDefinitionRequest",
|
|
@@ -1407,15 +1446,21 @@ __all__ = [
|
|
|
1407
1446
|
"ExoticInstrument",
|
|
1408
1447
|
"ExpandedGroup",
|
|
1409
1448
|
"ExpiryEvent",
|
|
1449
|
+
"Fee",
|
|
1450
|
+
"FeeAccrual",
|
|
1451
|
+
"FeeRequest",
|
|
1410
1452
|
"FeeRule",
|
|
1411
1453
|
"FeeRuleUpsertRequest",
|
|
1412
1454
|
"FeeRuleUpsertResponse",
|
|
1455
|
+
"FeeType",
|
|
1456
|
+
"FeeTypeRequest",
|
|
1413
1457
|
"FieldDefinition",
|
|
1414
1458
|
"FieldSchema",
|
|
1415
1459
|
"FieldValue",
|
|
1416
1460
|
"FileResponse",
|
|
1417
1461
|
"FilterPredicateComplianceParameter",
|
|
1418
1462
|
"FilterStep",
|
|
1463
|
+
"FilterStepRequest",
|
|
1419
1464
|
"FixedLeg",
|
|
1420
1465
|
"FixedLegAllOfOverrides",
|
|
1421
1466
|
"FixedSchedule",
|
|
@@ -1471,8 +1516,10 @@ __all__ = [
|
|
|
1471
1516
|
"GetVirtualDocumentResponse",
|
|
1472
1517
|
"GroupBySelectorComplianceParameter",
|
|
1473
1518
|
"GroupByStep",
|
|
1519
|
+
"GroupByStepRequest",
|
|
1474
1520
|
"GroupFilterPredicateComplianceParameter",
|
|
1475
1521
|
"GroupFilterStep",
|
|
1522
|
+
"GroupFilterStepRequest",
|
|
1476
1523
|
"GroupOfMarketDataKeyRules",
|
|
1477
1524
|
"GroupedResultOfAddressKey",
|
|
1478
1525
|
"HoldingAdjustment",
|
|
@@ -1528,6 +1575,7 @@ __all__ = [
|
|
|
1528
1575
|
"InterestRateSwap",
|
|
1529
1576
|
"InterestRateSwaption",
|
|
1530
1577
|
"IntermediateComplianceStep",
|
|
1578
|
+
"IntermediateComplianceStepRequest",
|
|
1531
1579
|
"IrVolCubeData",
|
|
1532
1580
|
"IrVolDependency",
|
|
1533
1581
|
"IsBusinessDayResponse",
|
|
@@ -1647,10 +1695,13 @@ __all__ = [
|
|
|
1647
1695
|
"PagedResourceListOfDialectId",
|
|
1648
1696
|
"PagedResourceListOfDiaryEntry",
|
|
1649
1697
|
"PagedResourceListOfExecution",
|
|
1698
|
+
"PagedResourceListOfFee",
|
|
1699
|
+
"PagedResourceListOfFeeType",
|
|
1650
1700
|
"PagedResourceListOfFund",
|
|
1651
1701
|
"PagedResourceListOfGeneralLedgerProfileResponse",
|
|
1652
1702
|
"PagedResourceListOfInstrument",
|
|
1653
1703
|
"PagedResourceListOfInstrumentEventHolder",
|
|
1704
|
+
"PagedResourceListOfInstrumentEventInstruction",
|
|
1654
1705
|
"PagedResourceListOfLegalEntity",
|
|
1655
1706
|
"PagedResourceListOfOrder",
|
|
1656
1707
|
"PagedResourceListOfOrderGraphBlock",
|
|
@@ -1743,6 +1794,7 @@ __all__ = [
|
|
|
1743
1794
|
"PropertyValue",
|
|
1744
1795
|
"PropertyValueEquals",
|
|
1745
1796
|
"PropertyValueIn",
|
|
1797
|
+
"QueryApplicableInstrumentEventsRequest",
|
|
1746
1798
|
"QueryBucketedCashFlowsRequest",
|
|
1747
1799
|
"QueryCashFlowsRequest",
|
|
1748
1800
|
"QueryInstrumentEventsRequest",
|
|
@@ -1804,6 +1856,7 @@ __all__ = [
|
|
|
1804
1856
|
"ResourceListOfAggregatedReturn",
|
|
1805
1857
|
"ResourceListOfAggregationQuery",
|
|
1806
1858
|
"ResourceListOfAllocation",
|
|
1859
|
+
"ResourceListOfApplicableInstrumentEvent",
|
|
1807
1860
|
"ResourceListOfBlock",
|
|
1808
1861
|
"ResourceListOfBlockAndOrders",
|
|
1809
1862
|
"ResourceListOfCalendarDate",
|
|
@@ -1881,6 +1934,7 @@ __all__ = [
|
|
|
1881
1934
|
"RoundingConfiguration",
|
|
1882
1935
|
"RoundingConfigurationComponent",
|
|
1883
1936
|
"RoundingConvention",
|
|
1937
|
+
"RulesInterval",
|
|
1884
1938
|
"ScalingMethodology",
|
|
1885
1939
|
"Schedule",
|
|
1886
1940
|
"ScheduleType",
|
|
@@ -1889,6 +1943,7 @@ __all__ = [
|
|
|
1889
1943
|
"ScriptMapReference",
|
|
1890
1944
|
"SecurityElection",
|
|
1891
1945
|
"SequenceDefinition",
|
|
1946
|
+
"SetAmortisationRulesRequest",
|
|
1892
1947
|
"SetLegalEntityIdentifiersRequest",
|
|
1893
1948
|
"SetLegalEntityPropertiesRequest",
|
|
1894
1949
|
"SetPersonIdentifiersRequest",
|
|
@@ -1896,6 +1951,7 @@ __all__ = [
|
|
|
1896
1951
|
"SetShareClassInstrumentsRequest",
|
|
1897
1952
|
"SetTransactionConfigurationAlias",
|
|
1898
1953
|
"SetTransactionConfigurationSourceRequest",
|
|
1954
|
+
"SettlementSchedule",
|
|
1899
1955
|
"SideConfigurationData",
|
|
1900
1956
|
"SideConfigurationDataRequest",
|
|
1901
1957
|
"SideDefinition",
|
|
@@ -1992,11 +2048,13 @@ __all__ = [
|
|
|
1992
2048
|
"UnmatchedHoldingMethod",
|
|
1993
2049
|
"UpdateAmortisationRuleSetDetailsRequest",
|
|
1994
2050
|
"UpdateCalendarRequest",
|
|
2051
|
+
"UpdateComplianceTemplateRequest",
|
|
1995
2052
|
"UpdateCustomEntityDefinitionRequest",
|
|
1996
2053
|
"UpdateCustomEntityTypeRequest",
|
|
1997
2054
|
"UpdateCutLabelDefinitionRequest",
|
|
1998
2055
|
"UpdateDataTypeRequest",
|
|
1999
2056
|
"UpdateDerivedPropertyDefinitionRequest",
|
|
2057
|
+
"UpdateFeeTypeRequest",
|
|
2000
2058
|
"UpdateInstrumentIdentifierRequest",
|
|
2001
2059
|
"UpdatePortfolioGroupRequest",
|
|
2002
2060
|
"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
|
...
|