lusid-sdk 2.1.81__py3-none-any.whl → 2.1.110__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.

Files changed (62) hide show
  1. lusid/__init__.py +32 -0
  2. lusid/api/__init__.py +2 -0
  3. lusid/api/entities_api.py +4 -4
  4. lusid/api/portfolios_api.py +554 -0
  5. lusid/api/staged_modifications_api.py +762 -0
  6. lusid/api_response.py +1 -1
  7. lusid/configuration.py +1 -1
  8. lusid/models/__init__.py +30 -0
  9. lusid/models/account.py +1 -1
  10. lusid/models/accumulation_event.py +3 -3
  11. lusid/models/amortisation_event.py +3 -3
  12. lusid/models/bond_coupon_event.py +3 -3
  13. lusid/models/bond_default_event.py +3 -3
  14. lusid/models/bond_principal_event.py +3 -3
  15. lusid/models/capital_distribution_event.py +117 -0
  16. lusid/models/cash_dividend_event.py +3 -3
  17. lusid/models/cash_flow_event.py +3 -3
  18. lusid/models/close_event.py +3 -3
  19. lusid/models/custodian_account.py +1 -1
  20. lusid/models/custodian_account_request.py +1 -1
  21. lusid/models/dividend_option_event.py +3 -3
  22. lusid/models/dividend_reinvestment_event.py +3 -3
  23. lusid/models/exercise_event.py +3 -3
  24. lusid/models/expiry_event.py +3 -3
  25. lusid/models/fx_forward.py +1 -1
  26. lusid/models/fx_forward_settlement_event.py +3 -3
  27. lusid/models/informational_error_event.py +3 -3
  28. lusid/models/informational_event.py +3 -3
  29. lusid/models/instrument_event.py +6 -5
  30. lusid/models/instrument_event_instruction.py +121 -0
  31. lusid/models/instrument_event_instruction_request.py +87 -0
  32. lusid/models/instrument_event_instructions_response.py +107 -0
  33. lusid/models/instrument_event_type.py +1 -0
  34. lusid/models/maturity_event.py +3 -3
  35. lusid/models/open_event.py +3 -3
  36. lusid/models/paged_resource_list_of_staged_modification.py +113 -0
  37. lusid/models/paged_resource_list_of_staged_modifications_requested_change_interval.py +113 -0
  38. lusid/models/portfolio.py +7 -1
  39. lusid/models/portfolio_entity.py +33 -5
  40. lusid/models/portfolio_without_href.py +7 -1
  41. lusid/models/raw_vendor_event.py +3 -3
  42. lusid/models/requested_changes.py +76 -0
  43. lusid/models/reset_event.py +3 -3
  44. lusid/models/reverse_stock_split_event.py +3 -3
  45. lusid/models/scrip_dividend_event.py +3 -3
  46. lusid/models/staged_modification.py +175 -0
  47. lusid/models/staged_modification_decision.py +97 -0
  48. lusid/models/staged_modification_decision_request.py +71 -0
  49. lusid/models/staged_modification_effective_range.py +71 -0
  50. lusid/models/staged_modification_staging_rule.py +85 -0
  51. lusid/models/staged_modifications_entity_hrefs.py +103 -0
  52. lusid/models/staged_modifications_info.py +78 -0
  53. lusid/models/staged_modifications_requested_change_interval.py +116 -0
  54. lusid/models/staging_rule_set.py +17 -2
  55. lusid/models/stock_dividend_event.py +3 -3
  56. lusid/models/stock_split_event.py +3 -3
  57. lusid/models/transition_event.py +3 -3
  58. lusid/models/trigger_event.py +3 -3
  59. lusid/models/version.py +9 -2
  60. {lusid_sdk-2.1.81.dist-info → lusid_sdk-2.1.110.dist-info}/METADATA +25 -3
  61. {lusid_sdk-2.1.81.dist-info → lusid_sdk-2.1.110.dist-info}/RECORD +62 -46
  62. {lusid_sdk-2.1.81.dist-info → lusid_sdk-2.1.110.dist-info}/WHEEL +0 -0
lusid/__init__.py CHANGED
@@ -72,6 +72,7 @@ from lusid.api.scopes_api import ScopesApi
72
72
  from lusid.api.scripted_translation_api import ScriptedTranslationApi
73
73
  from lusid.api.search_api import SearchApi
74
74
  from lusid.api.sequences_api import SequencesApi
75
+ from lusid.api.staged_modifications_api import StagedModificationsApi
75
76
  from lusid.api.staging_rule_set_api import StagingRuleSetApi
76
77
  from lusid.api.structured_result_data_api import StructuredResultDataApi
77
78
  from lusid.api.system_configuration_api import SystemConfigurationApi
@@ -179,6 +180,7 @@ from lusid.models.calendar import Calendar
179
180
  from lusid.models.calendar_date import CalendarDate
180
181
  from lusid.models.calendar_dependency import CalendarDependency
181
182
  from lusid.models.cap_floor import CapFloor
183
+ from lusid.models.capital_distribution_event import CapitalDistributionEvent
182
184
  from lusid.models.cash_dependency import CashDependency
183
185
  from lusid.models.cash_dividend_event import CashDividendEvent
184
186
  from lusid.models.cash_election import CashElection
@@ -472,6 +474,9 @@ from lusid.models.instrument_delete_modes import InstrumentDeleteModes
472
474
  from lusid.models.instrument_event import InstrumentEvent
473
475
  from lusid.models.instrument_event_configuration import InstrumentEventConfiguration
474
476
  from lusid.models.instrument_event_holder import InstrumentEventHolder
477
+ from lusid.models.instrument_event_instruction import InstrumentEventInstruction
478
+ from lusid.models.instrument_event_instruction_request import InstrumentEventInstructionRequest
479
+ from lusid.models.instrument_event_instructions_response import InstrumentEventInstructionsResponse
475
480
  from lusid.models.instrument_event_type import InstrumentEventType
476
481
  from lusid.models.instrument_id_type_descriptor import InstrumentIdTypeDescriptor
477
482
  from lusid.models.instrument_id_value import InstrumentIdValue
@@ -633,6 +638,8 @@ from lusid.models.paged_resource_list_of_reconciliation import PagedResourceList
633
638
  from lusid.models.paged_resource_list_of_reference_list_response import PagedResourceListOfReferenceListResponse
634
639
  from lusid.models.paged_resource_list_of_relationship_definition import PagedResourceListOfRelationshipDefinition
635
640
  from lusid.models.paged_resource_list_of_sequence_definition import PagedResourceListOfSequenceDefinition
641
+ from lusid.models.paged_resource_list_of_staged_modification import PagedResourceListOfStagedModification
642
+ from lusid.models.paged_resource_list_of_staged_modifications_requested_change_interval import PagedResourceListOfStagedModificationsRequestedChangeInterval
636
643
  from lusid.models.paged_resource_list_of_staging_rule_set import PagedResourceListOfStagingRuleSet
637
644
  from lusid.models.paged_resource_list_of_transaction_template import PagedResourceListOfTransactionTemplate
638
645
  from lusid.models.paged_resource_list_of_transaction_template_specification import PagedResourceListOfTransactionTemplateSpecification
@@ -755,6 +762,7 @@ from lusid.models.relationship import Relationship
755
762
  from lusid.models.relationship_definition import RelationshipDefinition
756
763
  from lusid.models.relative_date_offset import RelativeDateOffset
757
764
  from lusid.models.repo import Repo
765
+ from lusid.models.requested_changes import RequestedChanges
758
766
  from lusid.models.reset_event import ResetEvent
759
767
  from lusid.models.resource_id import ResourceId
760
768
  from lusid.models.resource_list_of_access_controlled_resource import ResourceListOfAccessControlledResource
@@ -863,6 +871,14 @@ from lusid.models.sides_definition_request import SidesDefinitionRequest
863
871
  from lusid.models.simple_cash_flow_loan import SimpleCashFlowLoan
864
872
  from lusid.models.simple_instrument import SimpleInstrument
865
873
  from lusid.models.sort_order import SortOrder
874
+ from lusid.models.staged_modification import StagedModification
875
+ from lusid.models.staged_modification_decision import StagedModificationDecision
876
+ from lusid.models.staged_modification_decision_request import StagedModificationDecisionRequest
877
+ from lusid.models.staged_modification_effective_range import StagedModificationEffectiveRange
878
+ from lusid.models.staged_modification_staging_rule import StagedModificationStagingRule
879
+ from lusid.models.staged_modifications_entity_hrefs import StagedModificationsEntityHrefs
880
+ from lusid.models.staged_modifications_info import StagedModificationsInfo
881
+ from lusid.models.staged_modifications_requested_change_interval import StagedModificationsRequestedChangeInterval
866
882
  from lusid.models.staging_rule import StagingRule
867
883
  from lusid.models.staging_rule_approval_criteria import StagingRuleApprovalCriteria
868
884
  from lusid.models.staging_rule_match_criteria import StagingRuleMatchCriteria
@@ -1099,6 +1115,7 @@ __all__ = [
1099
1115
  "ScriptedTranslationApi",
1100
1116
  "SearchApi",
1101
1117
  "SequencesApi",
1118
+ "StagedModificationsApi",
1102
1119
  "StagingRuleSetApi",
1103
1120
  "StructuredResultDataApi",
1104
1121
  "SystemConfigurationApi",
@@ -1196,6 +1213,7 @@ __all__ = [
1196
1213
  "CalendarDate",
1197
1214
  "CalendarDependency",
1198
1215
  "CapFloor",
1216
+ "CapitalDistributionEvent",
1199
1217
  "CashDependency",
1200
1218
  "CashDividendEvent",
1201
1219
  "CashElection",
@@ -1489,6 +1507,9 @@ __all__ = [
1489
1507
  "InstrumentEvent",
1490
1508
  "InstrumentEventConfiguration",
1491
1509
  "InstrumentEventHolder",
1510
+ "InstrumentEventInstruction",
1511
+ "InstrumentEventInstructionRequest",
1512
+ "InstrumentEventInstructionsResponse",
1492
1513
  "InstrumentEventType",
1493
1514
  "InstrumentIdTypeDescriptor",
1494
1515
  "InstrumentIdValue",
@@ -1650,6 +1671,8 @@ __all__ = [
1650
1671
  "PagedResourceListOfReferenceListResponse",
1651
1672
  "PagedResourceListOfRelationshipDefinition",
1652
1673
  "PagedResourceListOfSequenceDefinition",
1674
+ "PagedResourceListOfStagedModification",
1675
+ "PagedResourceListOfStagedModificationsRequestedChangeInterval",
1653
1676
  "PagedResourceListOfStagingRuleSet",
1654
1677
  "PagedResourceListOfTransactionTemplate",
1655
1678
  "PagedResourceListOfTransactionTemplateSpecification",
@@ -1772,6 +1795,7 @@ __all__ = [
1772
1795
  "RelationshipDefinition",
1773
1796
  "RelativeDateOffset",
1774
1797
  "Repo",
1798
+ "RequestedChanges",
1775
1799
  "ResetEvent",
1776
1800
  "ResourceId",
1777
1801
  "ResourceListOfAccessControlledResource",
@@ -1880,6 +1904,14 @@ __all__ = [
1880
1904
  "SimpleCashFlowLoan",
1881
1905
  "SimpleInstrument",
1882
1906
  "SortOrder",
1907
+ "StagedModification",
1908
+ "StagedModificationDecision",
1909
+ "StagedModificationDecisionRequest",
1910
+ "StagedModificationEffectiveRange",
1911
+ "StagedModificationStagingRule",
1912
+ "StagedModificationsEntityHrefs",
1913
+ "StagedModificationsInfo",
1914
+ "StagedModificationsRequestedChangeInterval",
1883
1915
  "StagingRule",
1884
1916
  "StagingRuleApprovalCriteria",
1885
1917
  "StagingRuleMatchCriteria",
lusid/api/__init__.py CHANGED
@@ -56,6 +56,7 @@ from lusid.api.scopes_api import ScopesApi
56
56
  from lusid.api.scripted_translation_api import ScriptedTranslationApi
57
57
  from lusid.api.search_api import SearchApi
58
58
  from lusid.api.sequences_api import SequencesApi
59
+ from lusid.api.staged_modifications_api import StagedModificationsApi
59
60
  from lusid.api.staging_rule_set_api import StagingRuleSetApi
60
61
  from lusid.api.structured_result_data_api import StructuredResultDataApi
61
62
  from lusid.api.system_configuration_api import SystemConfigurationApi
@@ -122,6 +123,7 @@ __all__ = [
122
123
  "ScriptedTranslationApi",
123
124
  "SearchApi",
124
125
  "SequencesApi",
126
+ "StagedModificationsApi",
125
127
  "StagingRuleSetApi",
126
128
  "StructuredResultDataApi",
127
129
  "SystemConfigurationApi",
lusid/api/entities_api.py CHANGED
@@ -50,15 +50,15 @@ class EntitiesApi:
50
50
  self.api_client = api_client
51
51
 
52
52
  @overload
53
- async def get_portfolio_by_entity_unique_id(self, entity_unique_id : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The universally unique identifier of the portfolio definition.")], effective_at : Annotated[Optional[StrictStr], Field(description="The effective datetime or cut label at which to retrieve the portfolio definition. Defaults to the current LUSID system datetime if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the portfolio definition. Defaults to returning the latest version of the portfolio definition if not specified.")] = None, **kwargs) -> PortfolioEntity: # noqa: E501
53
+ async def get_portfolio_by_entity_unique_id(self, entity_unique_id : Annotated[constr(strict=True, max_length=40, min_length=30), Field(..., description="The universally unique identifier of the portfolio definition.")], effective_at : Annotated[Optional[StrictStr], Field(description="The effective datetime or cut label at which to retrieve the portfolio definition. Defaults to the current LUSID system datetime if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the portfolio definition. Defaults to returning the latest version of the portfolio definition if not specified.")] = None, **kwargs) -> PortfolioEntity: # noqa: E501
54
54
  ...
55
55
 
56
56
  @overload
57
- def get_portfolio_by_entity_unique_id(self, entity_unique_id : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The universally unique identifier of the portfolio definition.")], effective_at : Annotated[Optional[StrictStr], Field(description="The effective datetime or cut label at which to retrieve the portfolio definition. Defaults to the current LUSID system datetime if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the portfolio definition. Defaults to returning the latest version of the portfolio definition if not specified.")] = None, async_req: Optional[bool]=True, **kwargs) -> PortfolioEntity: # noqa: E501
57
+ def get_portfolio_by_entity_unique_id(self, entity_unique_id : Annotated[constr(strict=True, max_length=40, min_length=30), Field(..., description="The universally unique identifier of the portfolio definition.")], effective_at : Annotated[Optional[StrictStr], Field(description="The effective datetime or cut label at which to retrieve the portfolio definition. Defaults to the current LUSID system datetime if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the portfolio definition. Defaults to returning the latest version of the portfolio definition if not specified.")] = None, async_req: Optional[bool]=True, **kwargs) -> PortfolioEntity: # noqa: E501
58
58
  ...
59
59
 
60
60
  @validate_arguments
61
- def get_portfolio_by_entity_unique_id(self, entity_unique_id : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The universally unique identifier of the portfolio definition.")], effective_at : Annotated[Optional[StrictStr], Field(description="The effective datetime or cut label at which to retrieve the portfolio definition. Defaults to the current LUSID system datetime if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the portfolio definition. Defaults to returning the latest version of the portfolio definition if not specified.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[PortfolioEntity, Awaitable[PortfolioEntity]]: # noqa: E501
61
+ def get_portfolio_by_entity_unique_id(self, entity_unique_id : Annotated[constr(strict=True, max_length=40, min_length=30), Field(..., description="The universally unique identifier of the portfolio definition.")], effective_at : Annotated[Optional[StrictStr], Field(description="The effective datetime or cut label at which to retrieve the portfolio definition. Defaults to the current LUSID system datetime if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the portfolio definition. Defaults to returning the latest version of the portfolio definition if not specified.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[PortfolioEntity, Awaitable[PortfolioEntity]]: # noqa: E501
62
62
  """[EXPERIMENTAL] GetPortfolioByEntityUniqueId: Get portfolio by EntityUniqueId # noqa: E501
63
63
 
64
64
  Retrieve the definition of a particular portfolio. If the portfolio is deleted, this will return the state of the portfolio immediately prior to deletion. # noqa: E501
@@ -94,7 +94,7 @@ class EntitiesApi:
94
94
  return self.get_portfolio_by_entity_unique_id_with_http_info(entity_unique_id, effective_at, as_at, **kwargs) # noqa: E501
95
95
 
96
96
  @validate_arguments
97
- def get_portfolio_by_entity_unique_id_with_http_info(self, entity_unique_id : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The universally unique identifier of the portfolio definition.")], effective_at : Annotated[Optional[StrictStr], Field(description="The effective datetime or cut label at which to retrieve the portfolio definition. Defaults to the current LUSID system datetime if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the portfolio definition. Defaults to returning the latest version of the portfolio definition if not specified.")] = None, **kwargs) -> ApiResponse: # noqa: E501
97
+ def get_portfolio_by_entity_unique_id_with_http_info(self, entity_unique_id : Annotated[constr(strict=True, max_length=40, min_length=30), Field(..., description="The universally unique identifier of the portfolio definition.")], effective_at : Annotated[Optional[StrictStr], Field(description="The effective datetime or cut label at which to retrieve the portfolio definition. Defaults to the current LUSID system datetime if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the portfolio definition. Defaults to returning the latest version of the portfolio definition if not specified.")] = None, **kwargs) -> ApiResponse: # noqa: E501
98
98
  """[EXPERIMENTAL] GetPortfolioByEntityUniqueId: Get portfolio by EntityUniqueId # noqa: E501
99
99
 
100
100
  Retrieve the definition of a particular portfolio. If the portfolio is deleted, this will return the state of the portfolio immediately prior to deletion. # noqa: E501