lusid-sdk 2.1.402__py3-none-any.whl → 2.1.403__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.
lusid/__init__.py CHANGED
@@ -216,6 +216,7 @@ from lusid.models.cdx_credit_event import CdxCreditEvent
216
216
  from lusid.models.change import Change
217
217
  from lusid.models.change_history import ChangeHistory
218
218
  from lusid.models.change_history_action import ChangeHistoryAction
219
+ from lusid.models.change_interval_with_order_management_detail import ChangeIntervalWithOrderManagementDetail
219
220
  from lusid.models.change_item import ChangeItem
220
221
  from lusid.models.chart_of_accounts import ChartOfAccounts
221
222
  from lusid.models.chart_of_accounts_properties import ChartOfAccountsProperties
@@ -385,7 +386,6 @@ from lusid.models.economic_dependency_with_quote import EconomicDependencyWithQu
385
386
  from lusid.models.election_specification import ElectionSpecification
386
387
  from lusid.models.eligibility_calculation import EligibilityCalculation
387
388
  from lusid.models.empty_model_options import EmptyModelOptions
388
- from lusid.models.entity_change_item import EntityChangeItem
389
389
  from lusid.models.entity_identifier import EntityIdentifier
390
390
  from lusid.models.equity import Equity
391
391
  from lusid.models.equity_all_of_identifiers import EquityAllOfIdentifiers
@@ -863,6 +863,7 @@ from lusid.models.resource_list_of_block_and_orders import ResourceListOfBlockAn
863
863
  from lusid.models.resource_list_of_calendar_date import ResourceListOfCalendarDate
864
864
  from lusid.models.resource_list_of_change import ResourceListOfChange
865
865
  from lusid.models.resource_list_of_change_history import ResourceListOfChangeHistory
866
+ from lusid.models.resource_list_of_change_interval_with_order_management_detail import ResourceListOfChangeIntervalWithOrderManagementDetail
866
867
  from lusid.models.resource_list_of_compliance_breached_order_info import ResourceListOfComplianceBreachedOrderInfo
867
868
  from lusid.models.resource_list_of_compliance_rule import ResourceListOfComplianceRule
868
869
  from lusid.models.resource_list_of_compliance_rule_result import ResourceListOfComplianceRuleResult
@@ -870,7 +871,6 @@ from lusid.models.resource_list_of_compliance_run_info import ResourceListOfComp
870
871
  from lusid.models.resource_list_of_constituents_adjustment_header import ResourceListOfConstituentsAdjustmentHeader
871
872
  from lusid.models.resource_list_of_corporate_action import ResourceListOfCorporateAction
872
873
  from lusid.models.resource_list_of_data_type import ResourceListOfDataType
873
- from lusid.models.resource_list_of_entity_change_item import ResourceListOfEntityChangeItem
874
874
  from lusid.models.resource_list_of_execution import ResourceListOfExecution
875
875
  from lusid.models.resource_list_of_fee_rule import ResourceListOfFeeRule
876
876
  from lusid.models.resource_list_of_get_cds_flow_conventions_response import ResourceListOfGetCdsFlowConventionsResponse
@@ -1366,6 +1366,7 @@ __all__ = [
1366
1366
  "Change",
1367
1367
  "ChangeHistory",
1368
1368
  "ChangeHistoryAction",
1369
+ "ChangeIntervalWithOrderManagementDetail",
1369
1370
  "ChangeItem",
1370
1371
  "ChartOfAccounts",
1371
1372
  "ChartOfAccountsProperties",
@@ -1535,7 +1536,6 @@ __all__ = [
1535
1536
  "ElectionSpecification",
1536
1537
  "EligibilityCalculation",
1537
1538
  "EmptyModelOptions",
1538
- "EntityChangeItem",
1539
1539
  "EntityIdentifier",
1540
1540
  "Equity",
1541
1541
  "EquityAllOfIdentifiers",
@@ -2013,6 +2013,7 @@ __all__ = [
2013
2013
  "ResourceListOfCalendarDate",
2014
2014
  "ResourceListOfChange",
2015
2015
  "ResourceListOfChangeHistory",
2016
+ "ResourceListOfChangeIntervalWithOrderManagementDetail",
2016
2017
  "ResourceListOfComplianceBreachedOrderInfo",
2017
2018
  "ResourceListOfComplianceRule",
2018
2019
  "ResourceListOfComplianceRuleResult",
@@ -2020,7 +2021,6 @@ __all__ = [
2020
2021
  "ResourceListOfConstituentsAdjustmentHeader",
2021
2022
  "ResourceListOfCorporateAction",
2022
2023
  "ResourceListOfDataType",
2023
- "ResourceListOfEntityChangeItem",
2024
2024
  "ResourceListOfExecution",
2025
2025
  "ResourceListOfFeeRule",
2026
2026
  "ResourceListOfGetCdsFlowConventionsResponse",
@@ -20,6 +20,8 @@ from pydantic.v1 import validate_arguments, ValidationError
20
20
  from typing import overload, Optional, Union, Awaitable
21
21
 
22
22
  from typing_extensions import Annotated
23
+ from datetime import datetime
24
+
23
25
  from pydantic.v1 import Field, StrictBool, conlist, constr, validator
24
26
 
25
27
  from typing import Dict, Optional
@@ -36,7 +38,7 @@ from lusid.models.place_blocks_request import PlaceBlocksRequest
36
38
  from lusid.models.placement_update_request import PlacementUpdateRequest
37
39
  from lusid.models.resource_id import ResourceId
38
40
  from lusid.models.resource_list_of_block_and_orders import ResourceListOfBlockAndOrders
39
- from lusid.models.resource_list_of_entity_change_item import ResourceListOfEntityChangeItem
41
+ from lusid.models.resource_list_of_change_interval_with_order_management_detail import ResourceListOfChangeIntervalWithOrderManagementDetail
40
42
  from lusid.models.resource_list_of_moved_order_to_different_block_response import ResourceListOfMovedOrderToDifferentBlockResponse
41
43
  from lusid.models.resource_list_of_placement import ResourceListOfPlacement
42
44
  from lusid.models.update_orders_response import UpdateOrdersResponse
@@ -703,28 +705,30 @@ class OrderManagementApi:
703
705
  _request_auth=_params.get('_request_auth'))
704
706
 
705
707
  @overload
706
- async def get_order_history(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the order.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the order.")], **kwargs) -> ResourceListOfEntityChangeItem: # noqa: E501
708
+ async def get_order_history(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the order.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the order.")], as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the history of the order and related entities. Defaults to return the latest version if not specified.")] = None, **kwargs) -> ResourceListOfChangeIntervalWithOrderManagementDetail: # noqa: E501
707
709
  ...
708
710
 
709
711
  @overload
710
- def get_order_history(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the order.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the order.")], async_req: Optional[bool]=True, **kwargs) -> ResourceListOfEntityChangeItem: # noqa: E501
712
+ def get_order_history(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the order.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the order.")], as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the history of the order and related entities. Defaults to return the latest version if not specified.")] = None, async_req: Optional[bool]=True, **kwargs) -> ResourceListOfChangeIntervalWithOrderManagementDetail: # noqa: E501
711
713
  ...
712
714
 
713
715
  @validate_arguments
714
- def get_order_history(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the order.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the order.")], async_req: Optional[bool]=None, **kwargs) -> Union[ResourceListOfEntityChangeItem, Awaitable[ResourceListOfEntityChangeItem]]: # noqa: E501
716
+ def get_order_history(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the order.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the order.")], as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the history of the order and related entities. Defaults to return the latest version if not specified.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[ResourceListOfChangeIntervalWithOrderManagementDetail, Awaitable[ResourceListOfChangeIntervalWithOrderManagementDetail]]: # noqa: E501
715
717
  """[EXPERIMENTAL] GetOrderHistory: Get the history of an order and related entity changes # noqa: E501
716
718
 
717
719
  Get the changes that have happened to an order and related entities. # noqa: E501
718
720
  This method makes a synchronous HTTP request by default. To make an
719
721
  asynchronous HTTP request, please pass async_req=True
720
722
 
721
- >>> thread = api.get_order_history(scope, code, async_req=True)
723
+ >>> thread = api.get_order_history(scope, code, as_at, async_req=True)
722
724
  >>> result = thread.get()
723
725
 
724
726
  :param scope: The scope of the order. (required)
725
727
  :type scope: str
726
728
  :param code: The code of the order. (required)
727
729
  :type code: str
730
+ :param as_at: The asAt datetime at which to retrieve the history of the order and related entities. Defaults to return the latest version if not specified.
731
+ :type as_at: datetime
728
732
  :param async_req: Whether to execute the request asynchronously.
729
733
  :type async_req: bool, optional
730
734
  :param _request_timeout: timeout setting for this request.
@@ -734,7 +738,7 @@ class OrderManagementApi:
734
738
  :return: Returns the result object.
735
739
  If the method is called asynchronously,
736
740
  returns the request thread.
737
- :rtype: ResourceListOfEntityChangeItem
741
+ :rtype: ResourceListOfChangeIntervalWithOrderManagementDetail
738
742
  """
739
743
  kwargs['_return_http_data_only'] = True
740
744
  if '_preload_content' in kwargs:
@@ -742,23 +746,25 @@ class OrderManagementApi:
742
746
  raise ValueError(message)
743
747
  if async_req is not None:
744
748
  kwargs['async_req'] = async_req
745
- return self.get_order_history_with_http_info(scope, code, **kwargs) # noqa: E501
749
+ return self.get_order_history_with_http_info(scope, code, as_at, **kwargs) # noqa: E501
746
750
 
747
751
  @validate_arguments
748
- def get_order_history_with_http_info(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the order.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the order.")], **kwargs) -> ApiResponse: # noqa: E501
752
+ def get_order_history_with_http_info(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the order.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the order.")], as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the history of the order and related entities. Defaults to return the latest version if not specified.")] = None, **kwargs) -> ApiResponse: # noqa: E501
749
753
  """[EXPERIMENTAL] GetOrderHistory: Get the history of an order and related entity changes # noqa: E501
750
754
 
751
755
  Get the changes that have happened to an order and related entities. # noqa: E501
752
756
  This method makes a synchronous HTTP request by default. To make an
753
757
  asynchronous HTTP request, please pass async_req=True
754
758
 
755
- >>> thread = api.get_order_history_with_http_info(scope, code, async_req=True)
759
+ >>> thread = api.get_order_history_with_http_info(scope, code, as_at, async_req=True)
756
760
  >>> result = thread.get()
757
761
 
758
762
  :param scope: The scope of the order. (required)
759
763
  :type scope: str
760
764
  :param code: The code of the order. (required)
761
765
  :type code: str
766
+ :param as_at: The asAt datetime at which to retrieve the history of the order and related entities. Defaults to return the latest version if not specified.
767
+ :type as_at: datetime
762
768
  :param async_req: Whether to execute the request asynchronously.
763
769
  :type async_req: bool, optional
764
770
  :param _preload_content: if False, the ApiResponse.data will
@@ -781,14 +787,15 @@ class OrderManagementApi:
781
787
  :return: Returns the result object.
782
788
  If the method is called asynchronously,
783
789
  returns the request thread.
784
- :rtype: tuple(ResourceListOfEntityChangeItem, status_code(int), headers(HTTPHeaderDict))
790
+ :rtype: tuple(ResourceListOfChangeIntervalWithOrderManagementDetail, status_code(int), headers(HTTPHeaderDict))
785
791
  """
786
792
 
787
793
  _params = locals()
788
794
 
789
795
  _all_params = [
790
796
  'scope',
791
- 'code'
797
+ 'code',
798
+ 'as_at'
792
799
  ]
793
800
  _all_params.extend(
794
801
  [
@@ -825,6 +832,12 @@ class OrderManagementApi:
825
832
 
826
833
  # process the query parameters
827
834
  _query_params = []
835
+ if _params.get('as_at') is not None: # noqa: E501
836
+ if isinstance(_params['as_at'], datetime):
837
+ _query_params.append(('asAt', _params['as_at'].strftime(self.api_client.configuration.datetime_format)))
838
+ else:
839
+ _query_params.append(('asAt', _params['as_at']))
840
+
828
841
  # process the header parameters
829
842
  _header_params = dict(_params.get('_headers', {}))
830
843
  # process the form parameters
@@ -840,7 +853,7 @@ class OrderManagementApi:
840
853
  _auth_settings = ['oauth2'] # noqa: E501
841
854
 
842
855
  _response_types_map = {
843
- '200': "ResourceListOfEntityChangeItem",
856
+ '200': "ResourceListOfChangeIntervalWithOrderManagementDetail",
844
857
  '400': "LusidValidationProblemDetails",
845
858
  '404': "str",
846
859
  }
lusid/api/persons_api.py CHANGED
@@ -72,7 +72,7 @@ class PersonsApi:
72
72
 
73
73
  @validate_arguments
74
74
  def delete_person(self, id_type_scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the person identifier type.")], id_type_code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the person identifier type.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="Code of the person under specified identifier type scope and code. This together with defined identifier type uniquely identifies the person to delete.")], async_req: Optional[bool]=None, **kwargs) -> Union[DeletedEntityResponse, Awaitable[DeletedEntityResponse]]: # noqa: E501
75
- """[EARLY ACCESS] DeletePerson: Delete person # noqa: E501
75
+ """DeletePerson: Delete person # noqa: E501
76
76
 
77
77
  Delete a person. Deletion will be valid from the person's creation datetime. This means that the person will no longer exist at any effective datetime from the asAt datetime of deletion. # noqa: E501
78
78
  This method makes a synchronous HTTP request by default. To make an
@@ -108,7 +108,7 @@ class PersonsApi:
108
108
 
109
109
  @validate_arguments
110
110
  def delete_person_with_http_info(self, id_type_scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the person identifier type.")], id_type_code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the person identifier type.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="Code of the person under specified identifier type scope and code. This together with defined identifier type uniquely identifies the person to delete.")], **kwargs) -> ApiResponse: # noqa: E501
111
- """[EARLY ACCESS] DeletePerson: Delete person # noqa: E501
111
+ """DeletePerson: Delete person # noqa: E501
112
112
 
113
113
  Delete a person. Deletion will be valid from the person's creation datetime. This means that the person will no longer exist at any effective datetime from the asAt datetime of deletion. # noqa: E501
114
114
  This method makes a synchronous HTTP request by default. To make an
@@ -2990,7 +2990,7 @@ class PersonsApi:
2990
2990
 
2991
2991
  @validate_arguments
2992
2992
  def upsert_person(self, upsert_person_request : Annotated[UpsertPersonRequest, Field(..., description="Request to create or update a person.")], async_req: Optional[bool]=None, **kwargs) -> Union[Person, Awaitable[Person]]: # noqa: E501
2993
- """[EARLY ACCESS] UpsertPerson: Upsert Person # noqa: E501
2993
+ """UpsertPerson: Upsert Person # noqa: E501
2994
2994
 
2995
2995
  Create or update a new person under the specified scope. # noqa: E501
2996
2996
  This method makes a synchronous HTTP request by default. To make an
@@ -3022,7 +3022,7 @@ class PersonsApi:
3022
3022
 
3023
3023
  @validate_arguments
3024
3024
  def upsert_person_with_http_info(self, upsert_person_request : Annotated[UpsertPersonRequest, Field(..., description="Request to create or update a person.")], **kwargs) -> ApiResponse: # noqa: E501
3025
- """[EARLY ACCESS] UpsertPerson: Upsert Person # noqa: E501
3025
+ """UpsertPerson: Upsert Person # noqa: E501
3026
3026
 
3027
3027
  Create or update a new person under the specified scope. # noqa: E501
3028
3028
  This method makes a synchronous HTTP request by default. To make an
lusid/configuration.py CHANGED
@@ -382,7 +382,7 @@ class Configuration:
382
382
  return "Python SDK Debug Report:\n"\
383
383
  "OS: {env}\n"\
384
384
  "Python Version: {pyversion}\n"\
385
- "Version of the API: 0.11.6832\n"\
385
+ "Version of the API: 0.11.6833\n"\
386
386
  "SDK Package Version: {package_version}".\
387
387
  format(env=sys.platform, pyversion=sys.version, package_version=package_version)
388
388
 
lusid/models/__init__.py CHANGED
@@ -135,6 +135,7 @@ from lusid.models.cdx_credit_event import CdxCreditEvent
135
135
  from lusid.models.change import Change
136
136
  from lusid.models.change_history import ChangeHistory
137
137
  from lusid.models.change_history_action import ChangeHistoryAction
138
+ from lusid.models.change_interval_with_order_management_detail import ChangeIntervalWithOrderManagementDetail
138
139
  from lusid.models.change_item import ChangeItem
139
140
  from lusid.models.chart_of_accounts import ChartOfAccounts
140
141
  from lusid.models.chart_of_accounts_properties import ChartOfAccountsProperties
@@ -304,7 +305,6 @@ from lusid.models.economic_dependency_with_quote import EconomicDependencyWithQu
304
305
  from lusid.models.election_specification import ElectionSpecification
305
306
  from lusid.models.eligibility_calculation import EligibilityCalculation
306
307
  from lusid.models.empty_model_options import EmptyModelOptions
307
- from lusid.models.entity_change_item import EntityChangeItem
308
308
  from lusid.models.entity_identifier import EntityIdentifier
309
309
  from lusid.models.equity import Equity
310
310
  from lusid.models.equity_all_of_identifiers import EquityAllOfIdentifiers
@@ -782,6 +782,7 @@ from lusid.models.resource_list_of_block_and_orders import ResourceListOfBlockAn
782
782
  from lusid.models.resource_list_of_calendar_date import ResourceListOfCalendarDate
783
783
  from lusid.models.resource_list_of_change import ResourceListOfChange
784
784
  from lusid.models.resource_list_of_change_history import ResourceListOfChangeHistory
785
+ from lusid.models.resource_list_of_change_interval_with_order_management_detail import ResourceListOfChangeIntervalWithOrderManagementDetail
785
786
  from lusid.models.resource_list_of_compliance_breached_order_info import ResourceListOfComplianceBreachedOrderInfo
786
787
  from lusid.models.resource_list_of_compliance_rule import ResourceListOfComplianceRule
787
788
  from lusid.models.resource_list_of_compliance_rule_result import ResourceListOfComplianceRuleResult
@@ -789,7 +790,6 @@ from lusid.models.resource_list_of_compliance_run_info import ResourceListOfComp
789
790
  from lusid.models.resource_list_of_constituents_adjustment_header import ResourceListOfConstituentsAdjustmentHeader
790
791
  from lusid.models.resource_list_of_corporate_action import ResourceListOfCorporateAction
791
792
  from lusid.models.resource_list_of_data_type import ResourceListOfDataType
792
- from lusid.models.resource_list_of_entity_change_item import ResourceListOfEntityChangeItem
793
793
  from lusid.models.resource_list_of_execution import ResourceListOfExecution
794
794
  from lusid.models.resource_list_of_fee_rule import ResourceListOfFeeRule
795
795
  from lusid.models.resource_list_of_get_cds_flow_conventions_response import ResourceListOfGetCdsFlowConventionsResponse
@@ -1205,6 +1205,7 @@ __all__ = [
1205
1205
  "Change",
1206
1206
  "ChangeHistory",
1207
1207
  "ChangeHistoryAction",
1208
+ "ChangeIntervalWithOrderManagementDetail",
1208
1209
  "ChangeItem",
1209
1210
  "ChartOfAccounts",
1210
1211
  "ChartOfAccountsProperties",
@@ -1374,7 +1375,6 @@ __all__ = [
1374
1375
  "ElectionSpecification",
1375
1376
  "EligibilityCalculation",
1376
1377
  "EmptyModelOptions",
1377
- "EntityChangeItem",
1378
1378
  "EntityIdentifier",
1379
1379
  "Equity",
1380
1380
  "EquityAllOfIdentifiers",
@@ -1852,6 +1852,7 @@ __all__ = [
1852
1852
  "ResourceListOfCalendarDate",
1853
1853
  "ResourceListOfChange",
1854
1854
  "ResourceListOfChangeHistory",
1855
+ "ResourceListOfChangeIntervalWithOrderManagementDetail",
1855
1856
  "ResourceListOfComplianceBreachedOrderInfo",
1856
1857
  "ResourceListOfComplianceRule",
1857
1858
  "ResourceListOfComplianceRuleResult",
@@ -1859,7 +1860,6 @@ __all__ = [
1859
1860
  "ResourceListOfConstituentsAdjustmentHeader",
1860
1861
  "ResourceListOfCorporateAction",
1861
1862
  "ResourceListOfDataType",
1862
- "ResourceListOfEntityChangeItem",
1863
1863
  "ResourceListOfExecution",
1864
1864
  "ResourceListOfFeeRule",
1865
1865
  "ResourceListOfGetCdsFlowConventionsResponse",
@@ -0,0 +1,137 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ LUSID API
5
+
6
+ FINBOURNE Technology # noqa: E501
7
+
8
+ Contact: info@finbourne.com
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """
13
+
14
+
15
+ from __future__ import annotations
16
+ import pprint
17
+ import re # noqa: F401
18
+ import json
19
+
20
+ from datetime import datetime
21
+ from typing import Any, Dict, Optional
22
+ from pydantic.v1 import BaseModel, Field, StrictInt, StrictStr
23
+ from lusid.models.property_value import PropertyValue
24
+ from lusid.models.staged_modification_effective_range import StagedModificationEffectiveRange
25
+
26
+ class ChangeIntervalWithOrderManagementDetail(BaseModel):
27
+ """
28
+ Defines a change that occured for an entity, with extra detail about the change # noqa: E501
29
+ """
30
+ detail: Optional[Dict[str, StrictStr]] = Field(None, description="Information about the particular instance of the ChangeInterval (supplied information depends on the type of Action). Contains extra detail for order management actions such as related entity ids and compliance run details.")
31
+ action_description: Optional[StrictStr] = Field(None, alias="actionDescription", description="Description of the action performed on the entity.")
32
+ as_at_modified: Optional[datetime] = Field(None, alias="asAtModified", description="The date/time of the change.")
33
+ user_id_modified: Optional[StrictStr] = Field(None, alias="userIdModified", description="The unique identifier of the user that made the change.")
34
+ request_id_modified: Optional[StrictStr] = Field(None, alias="requestIdModified", description="The unique identifier of the request that the changes were part of.")
35
+ as_at_version_number: Optional[StrictInt] = Field(None, alias="asAtVersionNumber", description="The version number for the entity (the entity was created at version 1). This may refer to the version number of a changed related entity, not a change for the entity itself.")
36
+ staged_modification_id_modified: Optional[StrictStr] = Field(None, alias="stagedModificationIdModified", description="The id of the staged modification that was approved. Will be null if the change didn't come from a staged modification.")
37
+ action: Optional[StrictStr] = Field(None, description="The action performed on the entity.")
38
+ attribute_name: Optional[StrictStr] = Field(None, alias="attributeName", description="The name of the field or property that has been changed.")
39
+ previous_value: Optional[PropertyValue] = Field(None, alias="previousValue")
40
+ new_value: Optional[PropertyValue] = Field(None, alias="newValue")
41
+ effective_range: Optional[StagedModificationEffectiveRange] = Field(None, alias="effectiveRange")
42
+ __properties = ["detail", "actionDescription", "asAtModified", "userIdModified", "requestIdModified", "asAtVersionNumber", "stagedModificationIdModified", "action", "attributeName", "previousValue", "newValue", "effectiveRange"]
43
+
44
+ class Config:
45
+ """Pydantic configuration"""
46
+ allow_population_by_field_name = True
47
+ validate_assignment = True
48
+
49
+ def to_str(self) -> str:
50
+ """Returns the string representation of the model using alias"""
51
+ return pprint.pformat(self.dict(by_alias=True))
52
+
53
+ def to_json(self) -> str:
54
+ """Returns the JSON representation of the model using alias"""
55
+ return json.dumps(self.to_dict())
56
+
57
+ @classmethod
58
+ def from_json(cls, json_str: str) -> ChangeIntervalWithOrderManagementDetail:
59
+ """Create an instance of ChangeIntervalWithOrderManagementDetail from a JSON string"""
60
+ return cls.from_dict(json.loads(json_str))
61
+
62
+ def to_dict(self):
63
+ """Returns the dictionary representation of the model using alias"""
64
+ _dict = self.dict(by_alias=True,
65
+ exclude={
66
+ },
67
+ exclude_none=True)
68
+ # override the default output from pydantic by calling `to_dict()` of previous_value
69
+ if self.previous_value:
70
+ _dict['previousValue'] = self.previous_value.to_dict()
71
+ # override the default output from pydantic by calling `to_dict()` of new_value
72
+ if self.new_value:
73
+ _dict['newValue'] = self.new_value.to_dict()
74
+ # override the default output from pydantic by calling `to_dict()` of effective_range
75
+ if self.effective_range:
76
+ _dict['effectiveRange'] = self.effective_range.to_dict()
77
+ # set to None if detail (nullable) is None
78
+ # and __fields_set__ contains the field
79
+ if self.detail is None and "detail" in self.__fields_set__:
80
+ _dict['detail'] = None
81
+
82
+ # set to None if action_description (nullable) is None
83
+ # and __fields_set__ contains the field
84
+ if self.action_description is None and "action_description" in self.__fields_set__:
85
+ _dict['actionDescription'] = None
86
+
87
+ # set to None if user_id_modified (nullable) is None
88
+ # and __fields_set__ contains the field
89
+ if self.user_id_modified is None and "user_id_modified" in self.__fields_set__:
90
+ _dict['userIdModified'] = None
91
+
92
+ # set to None if request_id_modified (nullable) is None
93
+ # and __fields_set__ contains the field
94
+ if self.request_id_modified is None and "request_id_modified" in self.__fields_set__:
95
+ _dict['requestIdModified'] = None
96
+
97
+ # set to None if staged_modification_id_modified (nullable) is None
98
+ # and __fields_set__ contains the field
99
+ if self.staged_modification_id_modified is None and "staged_modification_id_modified" in self.__fields_set__:
100
+ _dict['stagedModificationIdModified'] = None
101
+
102
+ # set to None if action (nullable) is None
103
+ # and __fields_set__ contains the field
104
+ if self.action is None and "action" in self.__fields_set__:
105
+ _dict['action'] = None
106
+
107
+ # set to None if attribute_name (nullable) is None
108
+ # and __fields_set__ contains the field
109
+ if self.attribute_name is None and "attribute_name" in self.__fields_set__:
110
+ _dict['attributeName'] = None
111
+
112
+ return _dict
113
+
114
+ @classmethod
115
+ def from_dict(cls, obj: dict) -> ChangeIntervalWithOrderManagementDetail:
116
+ """Create an instance of ChangeIntervalWithOrderManagementDetail from a dict"""
117
+ if obj is None:
118
+ return None
119
+
120
+ if not isinstance(obj, dict):
121
+ return ChangeIntervalWithOrderManagementDetail.parse_obj(obj)
122
+
123
+ _obj = ChangeIntervalWithOrderManagementDetail.parse_obj({
124
+ "detail": obj.get("detail"),
125
+ "action_description": obj.get("actionDescription"),
126
+ "as_at_modified": obj.get("asAtModified"),
127
+ "user_id_modified": obj.get("userIdModified"),
128
+ "request_id_modified": obj.get("requestIdModified"),
129
+ "as_at_version_number": obj.get("asAtVersionNumber"),
130
+ "staged_modification_id_modified": obj.get("stagedModificationIdModified"),
131
+ "action": obj.get("action"),
132
+ "attribute_name": obj.get("attributeName"),
133
+ "previous_value": PropertyValue.from_dict(obj.get("previousValue")) if obj.get("previousValue") is not None else None,
134
+ "new_value": PropertyValue.from_dict(obj.get("newValue")) if obj.get("newValue") is not None else None,
135
+ "effective_range": StagedModificationEffectiveRange.from_dict(obj.get("effectiveRange")) if obj.get("effectiveRange") is not None else None
136
+ })
137
+ return _obj
@@ -20,14 +20,14 @@ import json
20
20
 
21
21
  from typing import Any, Dict, List, Optional
22
22
  from pydantic.v1 import BaseModel, Field, StrictStr, conlist
23
- from lusid.models.entity_change_item import EntityChangeItem
23
+ from lusid.models.change_interval_with_order_management_detail import ChangeIntervalWithOrderManagementDetail
24
24
  from lusid.models.link import Link
25
25
 
26
- class ResourceListOfEntityChangeItem(BaseModel):
26
+ class ResourceListOfChangeIntervalWithOrderManagementDetail(BaseModel):
27
27
  """
28
- ResourceListOfEntityChangeItem
28
+ ResourceListOfChangeIntervalWithOrderManagementDetail
29
29
  """
30
- values: conlist(EntityChangeItem) = Field(...)
30
+ values: conlist(ChangeIntervalWithOrderManagementDetail) = Field(...)
31
31
  href: Optional[StrictStr] = None
32
32
  links: Optional[conlist(Link)] = None
33
33
  next_page: Optional[StrictStr] = Field(None, alias="nextPage")
@@ -48,8 +48,8 @@ class ResourceListOfEntityChangeItem(BaseModel):
48
48
  return json.dumps(self.to_dict())
49
49
 
50
50
  @classmethod
51
- def from_json(cls, json_str: str) -> ResourceListOfEntityChangeItem:
52
- """Create an instance of ResourceListOfEntityChangeItem from a JSON string"""
51
+ def from_json(cls, json_str: str) -> ResourceListOfChangeIntervalWithOrderManagementDetail:
52
+ """Create an instance of ResourceListOfChangeIntervalWithOrderManagementDetail from a JSON string"""
53
53
  return cls.from_dict(json.loads(json_str))
54
54
 
55
55
  def to_dict(self):
@@ -95,16 +95,16 @@ class ResourceListOfEntityChangeItem(BaseModel):
95
95
  return _dict
96
96
 
97
97
  @classmethod
98
- def from_dict(cls, obj: dict) -> ResourceListOfEntityChangeItem:
99
- """Create an instance of ResourceListOfEntityChangeItem from a dict"""
98
+ def from_dict(cls, obj: dict) -> ResourceListOfChangeIntervalWithOrderManagementDetail:
99
+ """Create an instance of ResourceListOfChangeIntervalWithOrderManagementDetail from a dict"""
100
100
  if obj is None:
101
101
  return None
102
102
 
103
103
  if not isinstance(obj, dict):
104
- return ResourceListOfEntityChangeItem.parse_obj(obj)
104
+ return ResourceListOfChangeIntervalWithOrderManagementDetail.parse_obj(obj)
105
105
 
106
- _obj = ResourceListOfEntityChangeItem.parse_obj({
107
- "values": [EntityChangeItem.from_dict(_item) for _item in obj.get("values")] if obj.get("values") is not None else None,
106
+ _obj = ResourceListOfChangeIntervalWithOrderManagementDetail.parse_obj({
107
+ "values": [ChangeIntervalWithOrderManagementDetail.from_dict(_item) for _item in obj.get("values")] if obj.get("values") is not None else None,
108
108
  "href": obj.get("href"),
109
109
  "links": [Link.from_dict(_item) for _item in obj.get("links")] if obj.get("links") is not None else None,
110
110
  "next_page": obj.get("nextPage"),
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: lusid-sdk
3
- Version: 2.1.402
3
+ Version: 2.1.403
4
4
  Summary: LUSID API
5
5
  Home-page: https://github.com/finbourne/lusid-sdk-python
6
6
  License: MIT
@@ -336,7 +336,7 @@ Class | Method | HTTP request | Description
336
336
  *ParticipationsApi* | [**get_participation**](docs/ParticipationsApi.md#get_participation) | **GET** /api/participations/{scope}/{code} | [EARLY ACCESS] GetParticipation: Get Participation
337
337
  *ParticipationsApi* | [**list_participations**](docs/ParticipationsApi.md#list_participations) | **GET** /api/participations | [EARLY ACCESS] ListParticipations: List Participations
338
338
  *ParticipationsApi* | [**upsert_participations**](docs/ParticipationsApi.md#upsert_participations) | **POST** /api/participations | [EARLY ACCESS] UpsertParticipations: Upsert Participation
339
- *PersonsApi* | [**delete_person**](docs/PersonsApi.md#delete_person) | **DELETE** /api/persons/{idTypeScope}/{idTypeCode}/{code} | [EARLY ACCESS] DeletePerson: Delete person
339
+ *PersonsApi* | [**delete_person**](docs/PersonsApi.md#delete_person) | **DELETE** /api/persons/{idTypeScope}/{idTypeCode}/{code} | DeletePerson: Delete person
340
340
  *PersonsApi* | [**delete_person_access_metadata**](docs/PersonsApi.md#delete_person_access_metadata) | **DELETE** /api/persons/{idTypeScope}/{idTypeCode}/{code}/metadata/{metadataKey} | [EARLY ACCESS] DeletePersonAccessMetadata: Delete a Person Access Metadata entry
341
341
  *PersonsApi* | [**delete_person_identifiers**](docs/PersonsApi.md#delete_person_identifiers) | **DELETE** /api/persons/{idTypeScope}/{idTypeCode}/{code}/identifiers | [EARLY ACCESS] DeletePersonIdentifiers: Delete Person Identifiers
342
342
  *PersonsApi* | [**delete_person_properties**](docs/PersonsApi.md#delete_person_properties) | **DELETE** /api/persons/{idTypeScope}/{idTypeCode}/{code}/properties | [EARLY ACCESS] DeletePersonProperties: Delete Person Properties
@@ -351,7 +351,7 @@ Class | Method | HTTP request | Description
351
351
  *PersonsApi* | [**patch_person_access_metadata**](docs/PersonsApi.md#patch_person_access_metadata) | **PATCH** /api/persons/{idTypeScope}/{idTypeCode}/{code}/metadata | [EARLY ACCESS] PatchPersonAccessMetadata: Patch Access Metadata rules for a Person.
352
352
  *PersonsApi* | [**set_person_identifiers**](docs/PersonsApi.md#set_person_identifiers) | **POST** /api/persons/{idTypeScope}/{idTypeCode}/{code}/identifiers | [EARLY ACCESS] SetPersonIdentifiers: Set Person Identifiers
353
353
  *PersonsApi* | [**set_person_properties**](docs/PersonsApi.md#set_person_properties) | **POST** /api/persons/{idTypeScope}/{idTypeCode}/{code}/properties | [EARLY ACCESS] SetPersonProperties: Set Person Properties
354
- *PersonsApi* | [**upsert_person**](docs/PersonsApi.md#upsert_person) | **POST** /api/persons | [EARLY ACCESS] UpsertPerson: Upsert Person
354
+ *PersonsApi* | [**upsert_person**](docs/PersonsApi.md#upsert_person) | **POST** /api/persons | UpsertPerson: Upsert Person
355
355
  *PersonsApi* | [**upsert_person_access_metadata**](docs/PersonsApi.md#upsert_person_access_metadata) | **PUT** /api/persons/{idTypeScope}/{idTypeCode}/{code}/metadata/{metadataKey} | [EARLY ACCESS] UpsertPersonAccessMetadata: Upsert a Person Access Metadata entry associated with a specific metadataKey. This creates or updates the data in LUSID.
356
356
  *PersonsApi* | [**upsert_persons**](docs/PersonsApi.md#upsert_persons) | **POST** /api/persons/$batchUpsert | [EARLY ACCESS] UpsertPersons: Pluralised Upsert of Persons
357
357
  *PlacementsApi* | [**delete_placement**](docs/PlacementsApi.md#delete_placement) | **DELETE** /api/placements/{scope}/{code} | [EARLY ACCESS] DeletePlacement: Delete placement
@@ -723,6 +723,7 @@ Class | Method | HTTP request | Description
723
723
  - [Change](docs/Change.md)
724
724
  - [ChangeHistory](docs/ChangeHistory.md)
725
725
  - [ChangeHistoryAction](docs/ChangeHistoryAction.md)
726
+ - [ChangeIntervalWithOrderManagementDetail](docs/ChangeIntervalWithOrderManagementDetail.md)
726
727
  - [ChangeItem](docs/ChangeItem.md)
727
728
  - [ChartOfAccounts](docs/ChartOfAccounts.md)
728
729
  - [ChartOfAccountsProperties](docs/ChartOfAccountsProperties.md)
@@ -892,7 +893,6 @@ Class | Method | HTTP request | Description
892
893
  - [ElectionSpecification](docs/ElectionSpecification.md)
893
894
  - [EligibilityCalculation](docs/EligibilityCalculation.md)
894
895
  - [EmptyModelOptions](docs/EmptyModelOptions.md)
895
- - [EntityChangeItem](docs/EntityChangeItem.md)
896
896
  - [EntityIdentifier](docs/EntityIdentifier.md)
897
897
  - [Equity](docs/Equity.md)
898
898
  - [EquityAllOfIdentifiers](docs/EquityAllOfIdentifiers.md)
@@ -1370,6 +1370,7 @@ Class | Method | HTTP request | Description
1370
1370
  - [ResourceListOfCalendarDate](docs/ResourceListOfCalendarDate.md)
1371
1371
  - [ResourceListOfChange](docs/ResourceListOfChange.md)
1372
1372
  - [ResourceListOfChangeHistory](docs/ResourceListOfChangeHistory.md)
1373
+ - [ResourceListOfChangeIntervalWithOrderManagementDetail](docs/ResourceListOfChangeIntervalWithOrderManagementDetail.md)
1373
1374
  - [ResourceListOfComplianceBreachedOrderInfo](docs/ResourceListOfComplianceBreachedOrderInfo.md)
1374
1375
  - [ResourceListOfComplianceRule](docs/ResourceListOfComplianceRule.md)
1375
1376
  - [ResourceListOfComplianceRuleResult](docs/ResourceListOfComplianceRuleResult.md)
@@ -1377,7 +1378,6 @@ Class | Method | HTTP request | Description
1377
1378
  - [ResourceListOfConstituentsAdjustmentHeader](docs/ResourceListOfConstituentsAdjustmentHeader.md)
1378
1379
  - [ResourceListOfCorporateAction](docs/ResourceListOfCorporateAction.md)
1379
1380
  - [ResourceListOfDataType](docs/ResourceListOfDataType.md)
1380
- - [ResourceListOfEntityChangeItem](docs/ResourceListOfEntityChangeItem.md)
1381
1381
  - [ResourceListOfExecution](docs/ResourceListOfExecution.md)
1382
1382
  - [ResourceListOfFeeRule](docs/ResourceListOfFeeRule.md)
1383
1383
  - [ResourceListOfGetCdsFlowConventionsResponse](docs/ResourceListOfGetCdsFlowConventionsResponse.md)
@@ -1,4 +1,4 @@
1
- lusid/__init__.py,sha256=cCQJmUZ8CqFm6pn7tCyTXbQxcn9qjsz1GmU0DsLcAIg,118845
1
+ lusid/__init__.py,sha256=X6Ksq_uhG9FBRmOOEiNDYfwpU3a2Jr5KohDYQyh2hJg,118989
2
2
  lusid/api/__init__.py,sha256=PcSZQXr1WZ0bijnKFOIf_xpuAuCF6zMxQQZvMecw2U4,5824
3
3
  lusid/api/abor_api.py,sha256=AvgsHuWE7qRSYJhKveBE2htSjHpqqS0VNJrysAfwME0,159655
4
4
  lusid/api/abor_configuration_api.py,sha256=G2bKPtMYOZ2GhUrg-nPJtCa9XIZdZYK7oafcbJWDMP8,64033
@@ -35,11 +35,11 @@ lusid/api/legacy_compliance_api.py,sha256=EjYqCQTemq71q2_sfHU9ptr-ULhNk1EJ0Vejrf
35
35
  lusid/api/legal_entities_api.py,sha256=DFpQxYU_illhMl8_CnlmpLKcBEaxOt7ECiHT51Xl49Q,267854
36
36
  lusid/api/order_graph_api.py,sha256=YcL-SdC42ufKcFgbzD_qwVpWRZKkRDRijGpBviizbVU,45280
37
37
  lusid/api/order_instructions_api.py,sha256=HZn9ZwVgp6bF32GIHpBwaejKKri0tG_KLfgHWfllR8U,46091
38
- lusid/api/order_management_api.py,sha256=Ivkqlbhz6q3vp7Z9m4O3va3mO-FPuXcGEo8fhOAffc0,84544
38
+ lusid/api/order_management_api.py,sha256=GH_VxVk1iPAOJr06KjLXVXAjNMMtDwAiDWCrT4zqyas,86452
39
39
  lusid/api/orders_api.py,sha256=PjkqtLhbS6lQEEfZiXXAiIa5ls0jLokiqizseg7_nx0,43527
40
40
  lusid/api/packages_api.py,sha256=-2mdoL2HSQ2aCXqYUMxt-1rrlezyQhgCNtevVazqM9o,43985
41
41
  lusid/api/participations_api.py,sha256=nlVzeyfE33X9Ue9HC9rqCW3WACEPKBvcrEjFEmT8wlk,45263
42
- lusid/api/persons_api.py,sha256=wYB_EaDB9LXTXuSIQr8SIR4h-0NrTgisfwd5uShz8JQ,256317
42
+ lusid/api/persons_api.py,sha256=EnDr8i7gxDsPD7hndLnMdPuP7o_1caRCuFyPZjWa6Cc,256257
43
43
  lusid/api/placements_api.py,sha256=bsX7VHZlvnxJiZ3ZPtlJ8md_exerU-Qa_BkHGVRphH8,45797
44
44
  lusid/api/portfolio_groups_api.py,sha256=IueIpi-krYvm5w-I0gkvkYAgxHXfiWejRYcW6DW8400,380452
45
45
  lusid/api/portfolios_api.py,sha256=K8PpMVwZ4Q-O8TlafI8pdY1NHE4eY_X1R-RtiOGRPzs,433889
@@ -70,7 +70,7 @@ lusid/api/translation_api.py,sha256=xTAaKEW96JTDIZBXCjxSguCa7Gz4oVd5jdObUE2egwo,
70
70
  lusid/api/workspace_api.py,sha256=GtjOpr7UDgtXa3KmlwmFX4LJEa5dg53qzTyfy-FY0d4,192167
71
71
  lusid/api_client.py,sha256=dF6l9RAsdxdQjf6Qn4ny6LB-QXlJmsscWiozCvyyBFA,30709
72
72
  lusid/api_response.py,sha256=6-gnhty6lu8MMAERt3_kTVD7UxQgWFfcjgpcq6iN5IU,855
73
- lusid/configuration.py,sha256=aoYyr7Si4LgbAbZLzf5firLvrFaf-XbdDPkYH9ko_6M,14733
73
+ lusid/configuration.py,sha256=JyQr4VcVOyUyZhXXxjkG_tGCuO8Lp2_Qcjk2KNLJ0Dc,14733
74
74
  lusid/exceptions.py,sha256=HIQwgmQrszLlcVCLaqex8dO0laVuejUyOMz7U2ZWJ6s,5326
75
75
  lusid/extensions/__init__.py,sha256=dzDHEzpn-9smd2-_UMWQzeyX6Ha4jGf6fnqx7qxKxNI,630
76
76
  lusid/extensions/api_client.py,sha256=Ob06urm4Em3MLzgP_geyeeGsPCkU225msW_1kpIeABM,30567
@@ -84,7 +84,7 @@ lusid/extensions/rest.py,sha256=tjVCu-cRrYcjp-ttB975vebPKtBNyBWaeoAdO3QXG2I,1269
84
84
  lusid/extensions/retry.py,sha256=orBJ1uF1iT1IncjWX1iGHVqsCgTh0SBe9rtiV_sPnwk,11564
85
85
  lusid/extensions/socket_keep_alive.py,sha256=NGlqsv-E25IjJOLGZhXZY6kUdx51nEF8qCQyVdzayRk,1653
86
86
  lusid/extensions/tcp_keep_alive_connector.py,sha256=zaGtUsygRsxB1_4B3x39K3ILwztdhMLDv5bFZV7zmGE,3877
87
- lusid/models/__init__.py,sha256=IxQRD3NB9dfCCR6Myc7LRLCX_zsz1YFx_6f8ppb2b6g,111989
87
+ lusid/models/__init__.py,sha256=6CncRCFrkhZF4eK4bFFGPPXk62YoxPZqdRIOMjOJ2nM,112133
88
88
  lusid/models/a2_b_breakdown.py,sha256=Txi12EIQw3mH6NM-25QkOnHSQc3BVAWrP7yl9bZswSY,2947
89
89
  lusid/models/a2_b_category.py,sha256=k6NPAACi0CUjKyhdQac4obQSrPmp2PXD6lkAtCnyEFM,2725
90
90
  lusid/models/a2_b_data_record.py,sha256=zKGS2P4fzNpzdcGJiSIpkY4P3d_jAcawYfyuPCDeQgk,9737
@@ -206,6 +206,7 @@ lusid/models/cdx_credit_event.py,sha256=w0xlUCBYeOo-csje0rEhr33CV94QmQvH8daKadwU
206
206
  lusid/models/change.py,sha256=QHC1wtZL_TXDfSertnsg-tNRpkHkcbk5wk8O5rOjby4,5076
207
207
  lusid/models/change_history.py,sha256=0T4tsDtXkFe2_l52MW6pomP3tpsZT3BFmZivucMvj1U,4251
208
208
  lusid/models/change_history_action.py,sha256=LJipvCPce31vtmb4j7EQBaoolJVrf8wycx7lim33Kzg,702
209
+ lusid/models/change_interval_with_order_management_detail.py,sha256=y4bCnfUUAYDwtLVetX9bB-JV_D0Mj4hTJYKgmSSn6EA,7479
209
210
  lusid/models/change_item.py,sha256=sdBR_nPOh-TwNcZh3vjIIEgpBoi9XKufUqDO-ufTZMs,3837
210
211
  lusid/models/chart_of_accounts.py,sha256=jKN7uZSpwpx4j_BLL2mvGRzgloNDsvZJuCzK_QLlJwA,5391
211
212
  lusid/models/chart_of_accounts_properties.py,sha256=hlMxnHS7agHT10u4pMudrHIsFQGZ-8FYDno9VsiA2bc,4354
@@ -375,7 +376,6 @@ lusid/models/economic_dependency_with_quote.py,sha256=VA5DsgfX_1YFhaID0DUk1yf4sA
375
376
  lusid/models/election_specification.py,sha256=4Q2OcdwnZyWm8PoFgw_eLKqOOiLZ94HYTPb5QmDfKIw,2225
376
377
  lusid/models/eligibility_calculation.py,sha256=_uksXv61LUoEs_1yNUk3854-dafQXvCoQeLgdRB6MPc,2125
377
378
  lusid/models/empty_model_options.py,sha256=3-56_b0lcyIju_2EXduPs1rYeMK-YYPHou4R-86-Vx4,3196
378
- lusid/models/entity_change_item.py,sha256=ielPAbwDiApgIf_mP_9aVojhfsxLewX8i7fsG5d6Eh4,5966
379
379
  lusid/models/entity_identifier.py,sha256=3ecAwqjMqMLK6vfzfaKSZ9TzLNI12Q0D-dj0_N3H1-w,2627
380
380
  lusid/models/equity.py,sha256=Xtfa5sdXDWWvNpyFT2UOzWMM26cLS-qxDsac8gx7YLE,5823
381
381
  lusid/models/equity_all_of_identifiers.py,sha256=WrnLJAqy2KOa84viXXZ5tyVDjAlQZ7Zwc5Ku2nUjenw,3724
@@ -853,6 +853,7 @@ lusid/models/resource_list_of_block_and_orders.py,sha256=4vuadHLsmoHNpT4aPvYKq01
853
853
  lusid/models/resource_list_of_calendar_date.py,sha256=-If-arHvFQ6E2N-7rboInS15cQPLU8eJHp3t-hC0vNk,4079
854
854
  lusid/models/resource_list_of_change.py,sha256=y-NJco0USjJ2vgBAFRVdfrD1GtlAYPlaJ5_fFf78OT4,4006
855
855
  lusid/models/resource_list_of_change_history.py,sha256=FEH_n99tm1GuNCakQWHej73EPw9sNLSnrns_PuzwY9s,4091
856
+ lusid/models/resource_list_of_change_interval_with_order_management_detail.py,sha256=jvtasvybiPBDanGKbqBsNGeZG6j-8smYxGdKHjCYw28,4407
856
857
  lusid/models/resource_list_of_compliance_breached_order_info.py,sha256=y7DbxW0wFNSJWaX5vhYDpV29V5UTEeHgQ_5VRy6WLGA,4261
857
858
  lusid/models/resource_list_of_compliance_rule.py,sha256=M_ojIu3hKl8TyxCHER8Slo4uRtWllHIyjpG8YBK6kAc,4103
858
859
  lusid/models/resource_list_of_compliance_rule_result.py,sha256=a5zBsxU51i58JbTyleDW0x2Czm2EpgTuR3yPdSaiHKY,4176
@@ -860,7 +861,6 @@ lusid/models/resource_list_of_compliance_run_info.py,sha256=xPIKZEdreffQwNQPMOd_
860
861
  lusid/models/resource_list_of_constituents_adjustment_header.py,sha256=JaRwTTq8OtJjdwRzmIc_EreB9OJ5t_BSAjG1Y3GePfc,4272
861
862
  lusid/models/resource_list_of_corporate_action.py,sha256=mKpt7V660VgLdTFlC93a9SE_Y3tcVkAu84z9gSZciFM,4115
862
863
  lusid/models/resource_list_of_data_type.py,sha256=eIv-VypIIDY4q-vCW6C0eAPfcZJ0BsVUCxb8Da4361A,4031
863
- lusid/models/resource_list_of_entity_change_item.py,sha256=ZdmgWj8Y6zU56ivGprU_QMnp47Mi-_TKtEwMdK1WFpA,4128
864
864
  lusid/models/resource_list_of_execution.py,sha256=Y3omxyLqqd7dT7r2I92TBzsvzNfLgkK705JSFUNHvZE,4042
865
865
  lusid/models/resource_list_of_fee_rule.py,sha256=BfdaCjRD2UC3ldtQHQBadqtaNig3GtFIWlDF_XskpeM,4019
866
866
  lusid/models/resource_list_of_get_cds_flow_conventions_response.py,sha256=2B8JcOn9H9HL7jZ7x64jt7ZinDlOW3FAslEcbQEvcuo,4286
@@ -1154,6 +1154,6 @@ lusid/models/workspace_update_request.py,sha256=uUXEpX-dJ5UiL9w1wMxIFeovSBiTJ-vi
1154
1154
  lusid/models/yield_curve_data.py,sha256=SbxvdJ4-GWK9kpMdw4Fnxc7_kvIMwgsRsd_31UJn7nw,6330
1155
1155
  lusid/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
1156
1156
  lusid/rest.py,sha256=TNUzQ3yLNT2L053EdR7R0vNzQh2J3TlYD1T56Dye0W0,10138
1157
- lusid_sdk-2.1.402.dist-info/METADATA,sha256=-0CLnbQVxTHr9qOspyADccw-lzlaA4xt2F6v7Tbb7Bs,196727
1158
- lusid_sdk-2.1.402.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
1159
- lusid_sdk-2.1.402.dist-info/RECORD,,
1157
+ lusid_sdk-2.1.403.dist-info/METADATA,sha256=bVusF304KzV0o-0oluUJensI4Hx9OpoENTEJuu8Pof4,196789
1158
+ lusid_sdk-2.1.403.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
1159
+ lusid_sdk-2.1.403.dist-info/RECORD,,
@@ -1,121 +0,0 @@
1
- # coding: utf-8
2
-
3
- """
4
- LUSID API
5
-
6
- FINBOURNE Technology # noqa: E501
7
-
8
- Contact: info@finbourne.com
9
- Generated by OpenAPI Generator (https://openapi-generator.tech)
10
-
11
- Do not edit the class manually.
12
- """
13
-
14
-
15
- from __future__ import annotations
16
- import pprint
17
- import re # noqa: F401
18
- import json
19
-
20
- from datetime import datetime
21
- from typing import Any, Dict, Optional
22
- from pydantic.v1 import BaseModel, Field, StrictInt, StrictStr, constr
23
-
24
- class EntityChangeItem(BaseModel):
25
- """
26
- Defines a change that occured for an entity # noqa: E501
27
- """
28
- as_at_modified: datetime = Field(..., alias="asAtModified", description="The date/time of the change.")
29
- user_id_modified: constr(strict=True, min_length=1) = Field(..., alias="userIdModified", description="The unique identifier of the user that made the change.")
30
- request_id_modified: constr(strict=True, min_length=1) = Field(..., alias="requestIdModified", description="The unique identifier of the request that the changes were part of.")
31
- as_at_version_number: StrictInt = Field(..., alias="asAtVersionNumber", description="The version number for the entity (the entity was created at version 1). This may refer to the version number of a changed related entity, not a change for the entity itself.")
32
- action: constr(strict=True, min_length=1) = Field(..., description="The action performed on the entity.")
33
- action_description: constr(strict=True, min_length=1) = Field(..., alias="actionDescription", description="Description of the action performed on the entity.")
34
- attribute_name: Optional[StrictStr] = Field(None, alias="attributeName", description="The name of the field or property that has been changed.")
35
- previous_value: Optional[Any] = Field(None, alias="previousValue", description="The value of the attribute prior to the change.")
36
- new_value: Optional[Any] = Field(None, alias="newValue", description="The value of the attribute following the change.")
37
- effective_from: Optional[datetime] = Field(None, alias="effectiveFrom", description="The effective datetime from which the field's new value is valid.")
38
- effective_until: Optional[datetime] = Field(None, alias="effectiveUntil", description="The effective datetime until which the field's new value is valid.")
39
- detail: Optional[Dict[str, StrictStr]] = Field(None, description="Information about the particular instance of the ChangeItem (supplied information depends on the type of Action).")
40
- __properties = ["asAtModified", "userIdModified", "requestIdModified", "asAtVersionNumber", "action", "actionDescription", "attributeName", "previousValue", "newValue", "effectiveFrom", "effectiveUntil", "detail"]
41
-
42
- class Config:
43
- """Pydantic configuration"""
44
- allow_population_by_field_name = True
45
- validate_assignment = True
46
-
47
- def to_str(self) -> str:
48
- """Returns the string representation of the model using alias"""
49
- return pprint.pformat(self.dict(by_alias=True))
50
-
51
- def to_json(self) -> str:
52
- """Returns the JSON representation of the model using alias"""
53
- return json.dumps(self.to_dict())
54
-
55
- @classmethod
56
- def from_json(cls, json_str: str) -> EntityChangeItem:
57
- """Create an instance of EntityChangeItem from a JSON string"""
58
- return cls.from_dict(json.loads(json_str))
59
-
60
- def to_dict(self):
61
- """Returns the dictionary representation of the model using alias"""
62
- _dict = self.dict(by_alias=True,
63
- exclude={
64
- },
65
- exclude_none=True)
66
- # set to None if attribute_name (nullable) is None
67
- # and __fields_set__ contains the field
68
- if self.attribute_name is None and "attribute_name" in self.__fields_set__:
69
- _dict['attributeName'] = None
70
-
71
- # set to None if previous_value (nullable) is None
72
- # and __fields_set__ contains the field
73
- if self.previous_value is None and "previous_value" in self.__fields_set__:
74
- _dict['previousValue'] = None
75
-
76
- # set to None if new_value (nullable) is None
77
- # and __fields_set__ contains the field
78
- if self.new_value is None and "new_value" in self.__fields_set__:
79
- _dict['newValue'] = None
80
-
81
- # set to None if effective_from (nullable) is None
82
- # and __fields_set__ contains the field
83
- if self.effective_from is None and "effective_from" in self.__fields_set__:
84
- _dict['effectiveFrom'] = None
85
-
86
- # set to None if effective_until (nullable) is None
87
- # and __fields_set__ contains the field
88
- if self.effective_until is None and "effective_until" in self.__fields_set__:
89
- _dict['effectiveUntil'] = None
90
-
91
- # set to None if detail (nullable) is None
92
- # and __fields_set__ contains the field
93
- if self.detail is None and "detail" in self.__fields_set__:
94
- _dict['detail'] = None
95
-
96
- return _dict
97
-
98
- @classmethod
99
- def from_dict(cls, obj: dict) -> EntityChangeItem:
100
- """Create an instance of EntityChangeItem from a dict"""
101
- if obj is None:
102
- return None
103
-
104
- if not isinstance(obj, dict):
105
- return EntityChangeItem.parse_obj(obj)
106
-
107
- _obj = EntityChangeItem.parse_obj({
108
- "as_at_modified": obj.get("asAtModified"),
109
- "user_id_modified": obj.get("userIdModified"),
110
- "request_id_modified": obj.get("requestIdModified"),
111
- "as_at_version_number": obj.get("asAtVersionNumber"),
112
- "action": obj.get("action"),
113
- "action_description": obj.get("actionDescription"),
114
- "attribute_name": obj.get("attributeName"),
115
- "previous_value": obj.get("previousValue"),
116
- "new_value": obj.get("newValue"),
117
- "effective_from": obj.get("effectiveFrom"),
118
- "effective_until": obj.get("effectiveUntil"),
119
- "detail": obj.get("detail")
120
- })
121
- return _obj