lusid-sdk 2.1.110__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 +40 -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 +212 -0
- lusid/api/transaction_portfolios_api.py +32 -16
- lusid/configuration.py +1 -1
- lusid/models/__init__.py +38 -0
- lusid/models/amortisation_rule_set.py +7 -11
- lusid/models/applicable_instrument_event.py +106 -0
- 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/diary_entry_request.py +1 -1
- 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/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/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.131.dist-info}/METADATA +34 -4
- {lusid_sdk-2.1.110.dist-info → lusid_sdk-2.1.131.dist-info}/RECORD +47 -27
- {lusid_sdk-2.1.110.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
|
|
@@ -226,17 +228,22 @@ from lusid.models.compliance_rule_result import ComplianceRuleResult
|
|
|
226
228
|
from lusid.models.compliance_rule_result_detail import ComplianceRuleResultDetail
|
|
227
229
|
from lusid.models.compliance_rule_result_portfolio_detail import ComplianceRuleResultPortfolioDetail
|
|
228
230
|
from lusid.models.compliance_rule_result_v2 import ComplianceRuleResultV2
|
|
231
|
+
from lusid.models.compliance_rule_template import ComplianceRuleTemplate
|
|
229
232
|
from lusid.models.compliance_rule_upsert_request import ComplianceRuleUpsertRequest
|
|
230
233
|
from lusid.models.compliance_rule_upsert_response import ComplianceRuleUpsertResponse
|
|
231
234
|
from lusid.models.compliance_run_info import ComplianceRunInfo
|
|
232
235
|
from lusid.models.compliance_run_info_v2 import ComplianceRunInfoV2
|
|
233
236
|
from lusid.models.compliance_step import ComplianceStep
|
|
237
|
+
from lusid.models.compliance_step_request import ComplianceStepRequest
|
|
234
238
|
from lusid.models.compliance_step_type import ComplianceStepType
|
|
239
|
+
from lusid.models.compliance_step_type_request import ComplianceStepTypeRequest
|
|
235
240
|
from lusid.models.compliance_summary_rule_result import ComplianceSummaryRuleResult
|
|
236
241
|
from lusid.models.compliance_summary_rule_result_request import ComplianceSummaryRuleResultRequest
|
|
237
242
|
from lusid.models.compliance_template import ComplianceTemplate
|
|
238
243
|
from lusid.models.compliance_template_parameter import ComplianceTemplateParameter
|
|
239
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
|
|
240
247
|
from lusid.models.component_transaction import ComponentTransaction
|
|
241
248
|
from lusid.models.composite_breakdown import CompositeBreakdown
|
|
242
249
|
from lusid.models.composite_breakdown_request import CompositeBreakdownRequest
|
|
@@ -260,6 +267,7 @@ from lusid.models.counterparty_signatory import CounterpartySignatory
|
|
|
260
267
|
from lusid.models.create_address_key_definition_request import CreateAddressKeyDefinitionRequest
|
|
261
268
|
from lusid.models.create_amortisation_rule_set_request import CreateAmortisationRuleSetRequest
|
|
262
269
|
from lusid.models.create_calendar_request import CreateCalendarRequest
|
|
270
|
+
from lusid.models.create_compliance_template_request import CreateComplianceTemplateRequest
|
|
263
271
|
from lusid.models.create_corporate_action_source_request import CreateCorporateActionSourceRequest
|
|
264
272
|
from lusid.models.create_custom_entity_type_request import CreateCustomEntityTypeRequest
|
|
265
273
|
from lusid.models.create_cut_label_definition_request import CreateCutLabelDefinitionRequest
|
|
@@ -374,9 +382,12 @@ from lusid.models.exercise_event import ExerciseEvent
|
|
|
374
382
|
from lusid.models.exotic_instrument import ExoticInstrument
|
|
375
383
|
from lusid.models.expanded_group import ExpandedGroup
|
|
376
384
|
from lusid.models.expiry_event import ExpiryEvent
|
|
385
|
+
from lusid.models.fee_accrual import FeeAccrual
|
|
377
386
|
from lusid.models.fee_rule import FeeRule
|
|
378
387
|
from lusid.models.fee_rule_upsert_request import FeeRuleUpsertRequest
|
|
379
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
|
|
380
391
|
from lusid.models.field_definition import FieldDefinition
|
|
381
392
|
from lusid.models.field_schema import FieldSchema
|
|
382
393
|
from lusid.models.field_value import FieldValue
|
|
@@ -614,10 +625,12 @@ from lusid.models.paged_resource_list_of_data_type_summary import PagedResourceL
|
|
|
614
625
|
from lusid.models.paged_resource_list_of_dialect_id import PagedResourceListOfDialectId
|
|
615
626
|
from lusid.models.paged_resource_list_of_diary_entry import PagedResourceListOfDiaryEntry
|
|
616
627
|
from lusid.models.paged_resource_list_of_execution import PagedResourceListOfExecution
|
|
628
|
+
from lusid.models.paged_resource_list_of_fee_type import PagedResourceListOfFeeType
|
|
617
629
|
from lusid.models.paged_resource_list_of_fund import PagedResourceListOfFund
|
|
618
630
|
from lusid.models.paged_resource_list_of_general_ledger_profile_response import PagedResourceListOfGeneralLedgerProfileResponse
|
|
619
631
|
from lusid.models.paged_resource_list_of_instrument import PagedResourceListOfInstrument
|
|
620
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
|
|
621
634
|
from lusid.models.paged_resource_list_of_legal_entity import PagedResourceListOfLegalEntity
|
|
622
635
|
from lusid.models.paged_resource_list_of_order import PagedResourceListOfOrder
|
|
623
636
|
from lusid.models.paged_resource_list_of_order_graph_block import PagedResourceListOfOrderGraphBlock
|
|
@@ -710,6 +723,7 @@ from lusid.models.property_type import PropertyType
|
|
|
710
723
|
from lusid.models.property_value import PropertyValue
|
|
711
724
|
from lusid.models.property_value_equals import PropertyValueEquals
|
|
712
725
|
from lusid.models.property_value_in import PropertyValueIn
|
|
726
|
+
from lusid.models.query_applicable_instrument_events_request import QueryApplicableInstrumentEventsRequest
|
|
713
727
|
from lusid.models.query_bucketed_cash_flows_request import QueryBucketedCashFlowsRequest
|
|
714
728
|
from lusid.models.query_cash_flows_request import QueryCashFlowsRequest
|
|
715
729
|
from lusid.models.query_instrument_events_request import QueryInstrumentEventsRequest
|
|
@@ -771,6 +785,7 @@ from lusid.models.resource_list_of_address_key_definition import ResourceListOfA
|
|
|
771
785
|
from lusid.models.resource_list_of_aggregated_return import ResourceListOfAggregatedReturn
|
|
772
786
|
from lusid.models.resource_list_of_aggregation_query import ResourceListOfAggregationQuery
|
|
773
787
|
from lusid.models.resource_list_of_allocation import ResourceListOfAllocation
|
|
788
|
+
from lusid.models.resource_list_of_applicable_instrument_event import ResourceListOfApplicableInstrumentEvent
|
|
774
789
|
from lusid.models.resource_list_of_block import ResourceListOfBlock
|
|
775
790
|
from lusid.models.resource_list_of_block_and_orders import ResourceListOfBlockAndOrders
|
|
776
791
|
from lusid.models.resource_list_of_calendar_date import ResourceListOfCalendarDate
|
|
@@ -848,6 +863,7 @@ from lusid.models.reverse_stock_split_event import ReverseStockSplitEvent
|
|
|
848
863
|
from lusid.models.rounding_configuration import RoundingConfiguration
|
|
849
864
|
from lusid.models.rounding_configuration_component import RoundingConfigurationComponent
|
|
850
865
|
from lusid.models.rounding_convention import RoundingConvention
|
|
866
|
+
from lusid.models.rules_interval import RulesInterval
|
|
851
867
|
from lusid.models.scaling_methodology import ScalingMethodology
|
|
852
868
|
from lusid.models.schedule import Schedule
|
|
853
869
|
from lusid.models.schedule_type import ScheduleType
|
|
@@ -856,6 +872,7 @@ from lusid.models.scrip_dividend_event import ScripDividendEvent
|
|
|
856
872
|
from lusid.models.script_map_reference import ScriptMapReference
|
|
857
873
|
from lusid.models.security_election import SecurityElection
|
|
858
874
|
from lusid.models.sequence_definition import SequenceDefinition
|
|
875
|
+
from lusid.models.set_amortisation_rules_request import SetAmortisationRulesRequest
|
|
859
876
|
from lusid.models.set_legal_entity_identifiers_request import SetLegalEntityIdentifiersRequest
|
|
860
877
|
from lusid.models.set_legal_entity_properties_request import SetLegalEntityPropertiesRequest
|
|
861
878
|
from lusid.models.set_person_identifiers_request import SetPersonIdentifiersRequest
|
|
@@ -863,6 +880,7 @@ from lusid.models.set_person_properties_request import SetPersonPropertiesReques
|
|
|
863
880
|
from lusid.models.set_share_class_instruments_request import SetShareClassInstrumentsRequest
|
|
864
881
|
from lusid.models.set_transaction_configuration_alias import SetTransactionConfigurationAlias
|
|
865
882
|
from lusid.models.set_transaction_configuration_source_request import SetTransactionConfigurationSourceRequest
|
|
883
|
+
from lusid.models.settlement_schedule import SettlementSchedule
|
|
866
884
|
from lusid.models.side_configuration_data import SideConfigurationData
|
|
867
885
|
from lusid.models.side_configuration_data_request import SideConfigurationDataRequest
|
|
868
886
|
from lusid.models.side_definition import SideDefinition
|
|
@@ -959,11 +977,13 @@ from lusid.models.units_ratio import UnitsRatio
|
|
|
959
977
|
from lusid.models.unmatched_holding_method import UnmatchedHoldingMethod
|
|
960
978
|
from lusid.models.update_amortisation_rule_set_details_request import UpdateAmortisationRuleSetDetailsRequest
|
|
961
979
|
from lusid.models.update_calendar_request import UpdateCalendarRequest
|
|
980
|
+
from lusid.models.update_compliance_template_request import UpdateComplianceTemplateRequest
|
|
962
981
|
from lusid.models.update_custom_entity_definition_request import UpdateCustomEntityDefinitionRequest
|
|
963
982
|
from lusid.models.update_custom_entity_type_request import UpdateCustomEntityTypeRequest
|
|
964
983
|
from lusid.models.update_cut_label_definition_request import UpdateCutLabelDefinitionRequest
|
|
965
984
|
from lusid.models.update_data_type_request import UpdateDataTypeRequest
|
|
966
985
|
from lusid.models.update_derived_property_definition_request import UpdateDerivedPropertyDefinitionRequest
|
|
986
|
+
from lusid.models.update_fee_type_request import UpdateFeeTypeRequest
|
|
967
987
|
from lusid.models.update_instrument_identifier_request import UpdateInstrumentIdentifierRequest
|
|
968
988
|
from lusid.models.update_portfolio_group_request import UpdatePortfolioGroupRequest
|
|
969
989
|
from lusid.models.update_portfolio_request import UpdatePortfolioRequest
|
|
@@ -1084,6 +1104,7 @@ __all__ = [
|
|
|
1084
1104
|
"DerivedTransactionPortfoliosApi",
|
|
1085
1105
|
"EntitiesApi",
|
|
1086
1106
|
"ExecutionsApi",
|
|
1107
|
+
"FeeTypesApi",
|
|
1087
1108
|
"FundsApi",
|
|
1088
1109
|
"InstrumentEventTypesApi",
|
|
1089
1110
|
"InstrumentEventsApi",
|
|
@@ -1179,6 +1200,7 @@ __all__ = [
|
|
|
1179
1200
|
"AnnulQuotesResponse",
|
|
1180
1201
|
"AnnulSingleStructuredDataResponse",
|
|
1181
1202
|
"AnnulStructuredDataResponse",
|
|
1203
|
+
"ApplicableInstrumentEvent",
|
|
1182
1204
|
"AssetClass",
|
|
1183
1205
|
"AssetLeg",
|
|
1184
1206
|
"Barrier",
|
|
@@ -1259,17 +1281,22 @@ __all__ = [
|
|
|
1259
1281
|
"ComplianceRuleResultDetail",
|
|
1260
1282
|
"ComplianceRuleResultPortfolioDetail",
|
|
1261
1283
|
"ComplianceRuleResultV2",
|
|
1284
|
+
"ComplianceRuleTemplate",
|
|
1262
1285
|
"ComplianceRuleUpsertRequest",
|
|
1263
1286
|
"ComplianceRuleUpsertResponse",
|
|
1264
1287
|
"ComplianceRunInfo",
|
|
1265
1288
|
"ComplianceRunInfoV2",
|
|
1266
1289
|
"ComplianceStep",
|
|
1290
|
+
"ComplianceStepRequest",
|
|
1267
1291
|
"ComplianceStepType",
|
|
1292
|
+
"ComplianceStepTypeRequest",
|
|
1268
1293
|
"ComplianceSummaryRuleResult",
|
|
1269
1294
|
"ComplianceSummaryRuleResultRequest",
|
|
1270
1295
|
"ComplianceTemplate",
|
|
1271
1296
|
"ComplianceTemplateParameter",
|
|
1272
1297
|
"ComplianceTemplateVariation",
|
|
1298
|
+
"ComplianceTemplateVariationDto",
|
|
1299
|
+
"ComplianceTemplateVariationRequest",
|
|
1273
1300
|
"ComponentTransaction",
|
|
1274
1301
|
"CompositeBreakdown",
|
|
1275
1302
|
"CompositeBreakdownRequest",
|
|
@@ -1293,6 +1320,7 @@ __all__ = [
|
|
|
1293
1320
|
"CreateAddressKeyDefinitionRequest",
|
|
1294
1321
|
"CreateAmortisationRuleSetRequest",
|
|
1295
1322
|
"CreateCalendarRequest",
|
|
1323
|
+
"CreateComplianceTemplateRequest",
|
|
1296
1324
|
"CreateCorporateActionSourceRequest",
|
|
1297
1325
|
"CreateCustomEntityTypeRequest",
|
|
1298
1326
|
"CreateCutLabelDefinitionRequest",
|
|
@@ -1407,9 +1435,12 @@ __all__ = [
|
|
|
1407
1435
|
"ExoticInstrument",
|
|
1408
1436
|
"ExpandedGroup",
|
|
1409
1437
|
"ExpiryEvent",
|
|
1438
|
+
"FeeAccrual",
|
|
1410
1439
|
"FeeRule",
|
|
1411
1440
|
"FeeRuleUpsertRequest",
|
|
1412
1441
|
"FeeRuleUpsertResponse",
|
|
1442
|
+
"FeeType",
|
|
1443
|
+
"FeeTypeRequest",
|
|
1413
1444
|
"FieldDefinition",
|
|
1414
1445
|
"FieldSchema",
|
|
1415
1446
|
"FieldValue",
|
|
@@ -1647,10 +1678,12 @@ __all__ = [
|
|
|
1647
1678
|
"PagedResourceListOfDialectId",
|
|
1648
1679
|
"PagedResourceListOfDiaryEntry",
|
|
1649
1680
|
"PagedResourceListOfExecution",
|
|
1681
|
+
"PagedResourceListOfFeeType",
|
|
1650
1682
|
"PagedResourceListOfFund",
|
|
1651
1683
|
"PagedResourceListOfGeneralLedgerProfileResponse",
|
|
1652
1684
|
"PagedResourceListOfInstrument",
|
|
1653
1685
|
"PagedResourceListOfInstrumentEventHolder",
|
|
1686
|
+
"PagedResourceListOfInstrumentEventInstruction",
|
|
1654
1687
|
"PagedResourceListOfLegalEntity",
|
|
1655
1688
|
"PagedResourceListOfOrder",
|
|
1656
1689
|
"PagedResourceListOfOrderGraphBlock",
|
|
@@ -1743,6 +1776,7 @@ __all__ = [
|
|
|
1743
1776
|
"PropertyValue",
|
|
1744
1777
|
"PropertyValueEquals",
|
|
1745
1778
|
"PropertyValueIn",
|
|
1779
|
+
"QueryApplicableInstrumentEventsRequest",
|
|
1746
1780
|
"QueryBucketedCashFlowsRequest",
|
|
1747
1781
|
"QueryCashFlowsRequest",
|
|
1748
1782
|
"QueryInstrumentEventsRequest",
|
|
@@ -1804,6 +1838,7 @@ __all__ = [
|
|
|
1804
1838
|
"ResourceListOfAggregatedReturn",
|
|
1805
1839
|
"ResourceListOfAggregationQuery",
|
|
1806
1840
|
"ResourceListOfAllocation",
|
|
1841
|
+
"ResourceListOfApplicableInstrumentEvent",
|
|
1807
1842
|
"ResourceListOfBlock",
|
|
1808
1843
|
"ResourceListOfBlockAndOrders",
|
|
1809
1844
|
"ResourceListOfCalendarDate",
|
|
@@ -1881,6 +1916,7 @@ __all__ = [
|
|
|
1881
1916
|
"RoundingConfiguration",
|
|
1882
1917
|
"RoundingConfigurationComponent",
|
|
1883
1918
|
"RoundingConvention",
|
|
1919
|
+
"RulesInterval",
|
|
1884
1920
|
"ScalingMethodology",
|
|
1885
1921
|
"Schedule",
|
|
1886
1922
|
"ScheduleType",
|
|
@@ -1889,6 +1925,7 @@ __all__ = [
|
|
|
1889
1925
|
"ScriptMapReference",
|
|
1890
1926
|
"SecurityElection",
|
|
1891
1927
|
"SequenceDefinition",
|
|
1928
|
+
"SetAmortisationRulesRequest",
|
|
1892
1929
|
"SetLegalEntityIdentifiersRequest",
|
|
1893
1930
|
"SetLegalEntityPropertiesRequest",
|
|
1894
1931
|
"SetPersonIdentifiersRequest",
|
|
@@ -1896,6 +1933,7 @@ __all__ = [
|
|
|
1896
1933
|
"SetShareClassInstrumentsRequest",
|
|
1897
1934
|
"SetTransactionConfigurationAlias",
|
|
1898
1935
|
"SetTransactionConfigurationSourceRequest",
|
|
1936
|
+
"SettlementSchedule",
|
|
1899
1937
|
"SideConfigurationData",
|
|
1900
1938
|
"SideConfigurationDataRequest",
|
|
1901
1939
|
"SideDefinition",
|
|
@@ -1992,11 +2030,13 @@ __all__ = [
|
|
|
1992
2030
|
"UnmatchedHoldingMethod",
|
|
1993
2031
|
"UpdateAmortisationRuleSetDetailsRequest",
|
|
1994
2032
|
"UpdateCalendarRequest",
|
|
2033
|
+
"UpdateComplianceTemplateRequest",
|
|
1995
2034
|
"UpdateCustomEntityDefinitionRequest",
|
|
1996
2035
|
"UpdateCustomEntityTypeRequest",
|
|
1997
2036
|
"UpdateCutLabelDefinitionRequest",
|
|
1998
2037
|
"UpdateDataTypeRequest",
|
|
1999
2038
|
"UpdateDerivedPropertyDefinitionRequest",
|
|
2039
|
+
"UpdateFeeTypeRequest",
|
|
2000
2040
|
"UpdateInstrumentIdentifierRequest",
|
|
2001
2041
|
"UpdatePortfolioGroupRequest",
|
|
2002
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
|
...
|