lusid-sdk 2.1.77__py3-none-any.whl → 2.1.92__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 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
@@ -633,6 +634,8 @@ from lusid.models.paged_resource_list_of_reconciliation import PagedResourceList
633
634
  from lusid.models.paged_resource_list_of_reference_list_response import PagedResourceListOfReferenceListResponse
634
635
  from lusid.models.paged_resource_list_of_relationship_definition import PagedResourceListOfRelationshipDefinition
635
636
  from lusid.models.paged_resource_list_of_sequence_definition import PagedResourceListOfSequenceDefinition
637
+ from lusid.models.paged_resource_list_of_staged_modification import PagedResourceListOfStagedModification
638
+ from lusid.models.paged_resource_list_of_staged_modifications_requested_change_interval import PagedResourceListOfStagedModificationsRequestedChangeInterval
636
639
  from lusid.models.paged_resource_list_of_staging_rule_set import PagedResourceListOfStagingRuleSet
637
640
  from lusid.models.paged_resource_list_of_transaction_template import PagedResourceListOfTransactionTemplate
638
641
  from lusid.models.paged_resource_list_of_transaction_template_specification import PagedResourceListOfTransactionTemplateSpecification
@@ -755,6 +758,7 @@ from lusid.models.relationship import Relationship
755
758
  from lusid.models.relationship_definition import RelationshipDefinition
756
759
  from lusid.models.relative_date_offset import RelativeDateOffset
757
760
  from lusid.models.repo import Repo
761
+ from lusid.models.requested_changes import RequestedChanges
758
762
  from lusid.models.reset_event import ResetEvent
759
763
  from lusid.models.resource_id import ResourceId
760
764
  from lusid.models.resource_list_of_access_controlled_resource import ResourceListOfAccessControlledResource
@@ -863,6 +867,14 @@ from lusid.models.sides_definition_request import SidesDefinitionRequest
863
867
  from lusid.models.simple_cash_flow_loan import SimpleCashFlowLoan
864
868
  from lusid.models.simple_instrument import SimpleInstrument
865
869
  from lusid.models.sort_order import SortOrder
870
+ from lusid.models.staged_modification import StagedModification
871
+ from lusid.models.staged_modification_decision import StagedModificationDecision
872
+ from lusid.models.staged_modification_decision_request import StagedModificationDecisionRequest
873
+ from lusid.models.staged_modification_effective_range import StagedModificationEffectiveRange
874
+ from lusid.models.staged_modification_staging_rule import StagedModificationStagingRule
875
+ from lusid.models.staged_modifications_entity_hrefs import StagedModificationsEntityHrefs
876
+ from lusid.models.staged_modifications_info import StagedModificationsInfo
877
+ from lusid.models.staged_modifications_requested_change_interval import StagedModificationsRequestedChangeInterval
866
878
  from lusid.models.staging_rule import StagingRule
867
879
  from lusid.models.staging_rule_approval_criteria import StagingRuleApprovalCriteria
868
880
  from lusid.models.staging_rule_match_criteria import StagingRuleMatchCriteria
@@ -1099,6 +1111,7 @@ __all__ = [
1099
1111
  "ScriptedTranslationApi",
1100
1112
  "SearchApi",
1101
1113
  "SequencesApi",
1114
+ "StagedModificationsApi",
1102
1115
  "StagingRuleSetApi",
1103
1116
  "StructuredResultDataApi",
1104
1117
  "SystemConfigurationApi",
@@ -1650,6 +1663,8 @@ __all__ = [
1650
1663
  "PagedResourceListOfReferenceListResponse",
1651
1664
  "PagedResourceListOfRelationshipDefinition",
1652
1665
  "PagedResourceListOfSequenceDefinition",
1666
+ "PagedResourceListOfStagedModification",
1667
+ "PagedResourceListOfStagedModificationsRequestedChangeInterval",
1653
1668
  "PagedResourceListOfStagingRuleSet",
1654
1669
  "PagedResourceListOfTransactionTemplate",
1655
1670
  "PagedResourceListOfTransactionTemplateSpecification",
@@ -1772,6 +1787,7 @@ __all__ = [
1772
1787
  "RelationshipDefinition",
1773
1788
  "RelativeDateOffset",
1774
1789
  "Repo",
1790
+ "RequestedChanges",
1775
1791
  "ResetEvent",
1776
1792
  "ResourceId",
1777
1793
  "ResourceListOfAccessControlledResource",
@@ -1880,6 +1896,14 @@ __all__ = [
1880
1896
  "SimpleCashFlowLoan",
1881
1897
  "SimpleInstrument",
1882
1898
  "SortOrder",
1899
+ "StagedModification",
1900
+ "StagedModificationDecision",
1901
+ "StagedModificationDecisionRequest",
1902
+ "StagedModificationEffectiveRange",
1903
+ "StagedModificationStagingRule",
1904
+ "StagedModificationsEntityHrefs",
1905
+ "StagedModificationsInfo",
1906
+ "StagedModificationsRequestedChangeInterval",
1883
1907
  "StagingRule",
1884
1908
  "StagingRuleApprovalCriteria",
1885
1909
  "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