lusid-sdk 2.1.968__py3-none-any.whl → 2.1.970__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.
@@ -550,22 +550,22 @@ class TransactionConfigurationApi:
550
550
 
551
551
 
552
552
  @overload
553
- async def get_side_definition(self, side : Annotated[StrictStr, Field(..., description="The label to uniquely identify the side.")], scope : Annotated[Optional[StrictStr], Field( description="The scope in which the side exists. When not supplied the scope is 'default'.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the transaction types. Defaults to returning the latest versions if not specified.")] = None, timeline_scope : Annotated[Optional[StrictStr], Field( description="The scope of the Timeline, used to override the AsAt. If this is provided, timelineCode and closedPeriodId must also be provided.")] = None, timeline_code : Annotated[Optional[StrictStr], Field( description="The code of the Timeline, used to override the AsAt. If this is provided, timelineScope and closedPeriodId must also be provided.")] = None, closed_period_id : Annotated[Optional[StrictStr], Field( description="The code of the ClosedPeriod attached to the timeline, used to override the AsAt. If this is provided, timelineScope and timelineCode must also be provided.")] = None, **kwargs) -> SideDefinition: # noqa: E501
553
+ async def get_side_definition(self, side : Annotated[StrictStr, Field(..., description="The label to uniquely identify the side.")], scope : Annotated[Optional[StrictStr], Field( description="The scope in which the side exists. When not supplied the scope is 'default'.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the transaction types. Defaults to returning the latest versions if not specified.")] = None, **kwargs) -> SideDefinition: # noqa: E501
554
554
  ...
555
555
 
556
556
  @overload
557
- def get_side_definition(self, side : Annotated[StrictStr, Field(..., description="The label to uniquely identify the side.")], scope : Annotated[Optional[StrictStr], Field( description="The scope in which the side exists. When not supplied the scope is 'default'.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the transaction types. Defaults to returning the latest versions if not specified.")] = None, timeline_scope : Annotated[Optional[StrictStr], Field( description="The scope of the Timeline, used to override the AsAt. If this is provided, timelineCode and closedPeriodId must also be provided.")] = None, timeline_code : Annotated[Optional[StrictStr], Field( description="The code of the Timeline, used to override the AsAt. If this is provided, timelineScope and closedPeriodId must also be provided.")] = None, closed_period_id : Annotated[Optional[StrictStr], Field( description="The code of the ClosedPeriod attached to the timeline, used to override the AsAt. If this is provided, timelineScope and timelineCode must also be provided.")] = None, async_req: Optional[bool]=True, **kwargs) -> SideDefinition: # noqa: E501
557
+ def get_side_definition(self, side : Annotated[StrictStr, Field(..., description="The label to uniquely identify the side.")], scope : Annotated[Optional[StrictStr], Field( description="The scope in which the side exists. When not supplied the scope is 'default'.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the transaction types. Defaults to returning the latest versions if not specified.")] = None, async_req: Optional[bool]=True, **kwargs) -> SideDefinition: # noqa: E501
558
558
  ...
559
559
 
560
560
  @validate_arguments
561
- def get_side_definition(self, side : Annotated[StrictStr, Field(..., description="The label to uniquely identify the side.")], scope : Annotated[Optional[StrictStr], Field( description="The scope in which the side exists. When not supplied the scope is 'default'.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the transaction types. Defaults to returning the latest versions if not specified.")] = None, timeline_scope : Annotated[Optional[StrictStr], Field( description="The scope of the Timeline, used to override the AsAt. If this is provided, timelineCode and closedPeriodId must also be provided.")] = None, timeline_code : Annotated[Optional[StrictStr], Field( description="The code of the Timeline, used to override the AsAt. If this is provided, timelineScope and closedPeriodId must also be provided.")] = None, closed_period_id : Annotated[Optional[StrictStr], Field( description="The code of the ClosedPeriod attached to the timeline, used to override the AsAt. If this is provided, timelineScope and timelineCode must also be provided.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[SideDefinition, Awaitable[SideDefinition]]: # noqa: E501
561
+ def get_side_definition(self, side : Annotated[StrictStr, Field(..., description="The label to uniquely identify the side.")], scope : Annotated[Optional[StrictStr], Field( description="The scope in which the side exists. When not supplied the scope is 'default'.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the transaction types. Defaults to returning the latest versions if not specified.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[SideDefinition, Awaitable[SideDefinition]]: # noqa: E501
562
562
  """GetSideDefinition: Get the side definition for a given side name( or label) # noqa: E501
563
563
 
564
564
  Get the side definition user requested. # noqa: E501
565
565
  This method makes a synchronous HTTP request by default. To make an
566
566
  asynchronous HTTP request, please pass async_req=True
567
567
 
568
- >>> thread = api.get_side_definition(side, scope, as_at, timeline_scope, timeline_code, closed_period_id, async_req=True)
568
+ >>> thread = api.get_side_definition(side, scope, as_at, async_req=True)
569
569
  >>> result = thread.get()
570
570
 
571
571
  :param side: The label to uniquely identify the side. (required)
@@ -574,12 +574,6 @@ class TransactionConfigurationApi:
574
574
  :type scope: str
575
575
  :param as_at: The asAt datetime at which to retrieve the transaction types. Defaults to returning the latest versions if not specified.
576
576
  :type as_at: datetime
577
- :param timeline_scope: The scope of the Timeline, used to override the AsAt. If this is provided, timelineCode and closedPeriodId must also be provided.
578
- :type timeline_scope: str
579
- :param timeline_code: The code of the Timeline, used to override the AsAt. If this is provided, timelineScope and closedPeriodId must also be provided.
580
- :type timeline_code: str
581
- :param closed_period_id: The code of the ClosedPeriod attached to the timeline, used to override the AsAt. If this is provided, timelineScope and timelineCode must also be provided.
582
- :type closed_period_id: str
583
577
  :param async_req: Whether to execute the request asynchronously.
584
578
  :type async_req: bool, optional
585
579
  :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
@@ -596,17 +590,17 @@ class TransactionConfigurationApi:
596
590
  raise ValueError(message)
597
591
  if async_req is not None:
598
592
  kwargs['async_req'] = async_req
599
- return self.get_side_definition_with_http_info(side, scope, as_at, timeline_scope, timeline_code, closed_period_id, **kwargs) # noqa: E501
593
+ return self.get_side_definition_with_http_info(side, scope, as_at, **kwargs) # noqa: E501
600
594
 
601
595
  @validate_arguments
602
- def get_side_definition_with_http_info(self, side : Annotated[StrictStr, Field(..., description="The label to uniquely identify the side.")], scope : Annotated[Optional[StrictStr], Field( description="The scope in which the side exists. When not supplied the scope is 'default'.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the transaction types. Defaults to returning the latest versions if not specified.")] = None, timeline_scope : Annotated[Optional[StrictStr], Field( description="The scope of the Timeline, used to override the AsAt. If this is provided, timelineCode and closedPeriodId must also be provided.")] = None, timeline_code : Annotated[Optional[StrictStr], Field( description="The code of the Timeline, used to override the AsAt. If this is provided, timelineScope and closedPeriodId must also be provided.")] = None, closed_period_id : Annotated[Optional[StrictStr], Field( description="The code of the ClosedPeriod attached to the timeline, used to override the AsAt. If this is provided, timelineScope and timelineCode must also be provided.")] = None, **kwargs) -> ApiResponse: # noqa: E501
596
+ def get_side_definition_with_http_info(self, side : Annotated[StrictStr, Field(..., description="The label to uniquely identify the side.")], scope : Annotated[Optional[StrictStr], Field( description="The scope in which the side exists. When not supplied the scope is 'default'.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the transaction types. Defaults to returning the latest versions if not specified.")] = None, **kwargs) -> ApiResponse: # noqa: E501
603
597
  """GetSideDefinition: Get the side definition for a given side name( or label) # noqa: E501
604
598
 
605
599
  Get the side definition user requested. # noqa: E501
606
600
  This method makes a synchronous HTTP request by default. To make an
607
601
  asynchronous HTTP request, please pass async_req=True
608
602
 
609
- >>> thread = api.get_side_definition_with_http_info(side, scope, as_at, timeline_scope, timeline_code, closed_period_id, async_req=True)
603
+ >>> thread = api.get_side_definition_with_http_info(side, scope, as_at, async_req=True)
610
604
  >>> result = thread.get()
611
605
 
612
606
  :param side: The label to uniquely identify the side. (required)
@@ -615,12 +609,6 @@ class TransactionConfigurationApi:
615
609
  :type scope: str
616
610
  :param as_at: The asAt datetime at which to retrieve the transaction types. Defaults to returning the latest versions if not specified.
617
611
  :type as_at: datetime
618
- :param timeline_scope: The scope of the Timeline, used to override the AsAt. If this is provided, timelineCode and closedPeriodId must also be provided.
619
- :type timeline_scope: str
620
- :param timeline_code: The code of the Timeline, used to override the AsAt. If this is provided, timelineScope and closedPeriodId must also be provided.
621
- :type timeline_code: str
622
- :param closed_period_id: The code of the ClosedPeriod attached to the timeline, used to override the AsAt. If this is provided, timelineScope and timelineCode must also be provided.
623
- :type closed_period_id: str
624
612
  :param async_req: Whether to execute the request asynchronously.
625
613
  :type async_req: bool, optional
626
614
  :param _preload_content: if False, the ApiResponse.data will
@@ -650,10 +638,7 @@ class TransactionConfigurationApi:
650
638
  _all_params = [
651
639
  'side',
652
640
  'scope',
653
- 'as_at',
654
- 'timeline_scope',
655
- 'timeline_code',
656
- 'closed_period_id'
641
+ 'as_at'
657
642
  ]
658
643
  _all_params.extend(
659
644
  [
@@ -697,15 +682,6 @@ class TransactionConfigurationApi:
697
682
  else:
698
683
  _query_params.append(('asAt', _params['as_at']))
699
684
 
700
- if _params.get('timeline_scope') is not None: # noqa: E501
701
- _query_params.append(('timelineScope', _params['timeline_scope']))
702
-
703
- if _params.get('timeline_code') is not None: # noqa: E501
704
- _query_params.append(('timelineCode', _params['timeline_code']))
705
-
706
- if _params.get('closed_period_id') is not None: # noqa: E501
707
- _query_params.append(('closedPeriodId', _params['closed_period_id']))
708
-
709
685
  # process the header parameters
710
686
  _header_params = dict(_params.get('_headers', {}))
711
687
  # process the form parameters
@@ -745,22 +721,22 @@ class TransactionConfigurationApi:
745
721
 
746
722
 
747
723
  @overload
748
- async def get_transaction_type(self, source : Annotated[StrictStr, Field(..., description="The source that the type is in")], type : Annotated[StrictStr, Field(..., description="One of the type's aliases")], as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the transaction configuration. Defaults to returning the latest version of the transaction configuration type if not specified")] = None, scope : Annotated[Optional[StrictStr], Field( description="The scope in which the transaction types exists. When not supplied the scope is 'default'.")] = None, timeline_scope : Annotated[Optional[StrictStr], Field( description="The scope of the Timeline, used to override the AsAt. If this is provided, timelineCode and closedPeriodId must also be provided.")] = None, timeline_code : Annotated[Optional[StrictStr], Field( description="The code of the Timeline, used to override the AsAt. If this is provided, timelineScope and closedPeriodId must also be provided.")] = None, closed_period_id : Annotated[Optional[StrictStr], Field( description="The code of the ClosedPeriod attached to the timeline, used to override the AsAt. If this is provided, timelineScope and timelineCode must also be provided.")] = None, **kwargs) -> TransactionType: # noqa: E501
724
+ async def get_transaction_type(self, source : Annotated[StrictStr, Field(..., description="The source that the type is in")], type : Annotated[StrictStr, Field(..., description="One of the type's aliases")], as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the transaction configuration. Defaults to returning the latest version of the transaction configuration type if not specified")] = None, scope : Annotated[Optional[StrictStr], Field( description="The scope in which the transaction types exists. When not supplied the scope is 'default'.")] = None, **kwargs) -> TransactionType: # noqa: E501
749
725
  ...
750
726
 
751
727
  @overload
752
- def get_transaction_type(self, source : Annotated[StrictStr, Field(..., description="The source that the type is in")], type : Annotated[StrictStr, Field(..., description="One of the type's aliases")], as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the transaction configuration. Defaults to returning the latest version of the transaction configuration type if not specified")] = None, scope : Annotated[Optional[StrictStr], Field( description="The scope in which the transaction types exists. When not supplied the scope is 'default'.")] = None, timeline_scope : Annotated[Optional[StrictStr], Field( description="The scope of the Timeline, used to override the AsAt. If this is provided, timelineCode and closedPeriodId must also be provided.")] = None, timeline_code : Annotated[Optional[StrictStr], Field( description="The code of the Timeline, used to override the AsAt. If this is provided, timelineScope and closedPeriodId must also be provided.")] = None, closed_period_id : Annotated[Optional[StrictStr], Field( description="The code of the ClosedPeriod attached to the timeline, used to override the AsAt. If this is provided, timelineScope and timelineCode must also be provided.")] = None, async_req: Optional[bool]=True, **kwargs) -> TransactionType: # noqa: E501
728
+ def get_transaction_type(self, source : Annotated[StrictStr, Field(..., description="The source that the type is in")], type : Annotated[StrictStr, Field(..., description="One of the type's aliases")], as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the transaction configuration. Defaults to returning the latest version of the transaction configuration type if not specified")] = None, scope : Annotated[Optional[StrictStr], Field( description="The scope in which the transaction types exists. When not supplied the scope is 'default'.")] = None, async_req: Optional[bool]=True, **kwargs) -> TransactionType: # noqa: E501
753
729
  ...
754
730
 
755
731
  @validate_arguments
756
- def get_transaction_type(self, source : Annotated[StrictStr, Field(..., description="The source that the type is in")], type : Annotated[StrictStr, Field(..., description="One of the type's aliases")], as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the transaction configuration. Defaults to returning the latest version of the transaction configuration type if not specified")] = None, scope : Annotated[Optional[StrictStr], Field( description="The scope in which the transaction types exists. When not supplied the scope is 'default'.")] = None, timeline_scope : Annotated[Optional[StrictStr], Field( description="The scope of the Timeline, used to override the AsAt. If this is provided, timelineCode and closedPeriodId must also be provided.")] = None, timeline_code : Annotated[Optional[StrictStr], Field( description="The code of the Timeline, used to override the AsAt. If this is provided, timelineScope and closedPeriodId must also be provided.")] = None, closed_period_id : Annotated[Optional[StrictStr], Field( description="The code of the ClosedPeriod attached to the timeline, used to override the AsAt. If this is provided, timelineScope and timelineCode must also be provided.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[TransactionType, Awaitable[TransactionType]]: # noqa: E501
732
+ def get_transaction_type(self, source : Annotated[StrictStr, Field(..., description="The source that the type is in")], type : Annotated[StrictStr, Field(..., description="One of the type's aliases")], as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the transaction configuration. Defaults to returning the latest version of the transaction configuration type if not specified")] = None, scope : Annotated[Optional[StrictStr], Field( description="The scope in which the transaction types exists. When not supplied the scope is 'default'.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[TransactionType, Awaitable[TransactionType]]: # noqa: E501
757
733
  """GetTransactionType: Get a single transaction configuration type # noqa: E501
758
734
 
759
735
  Get a single transaction type. Returns failure if not found # noqa: E501
760
736
  This method makes a synchronous HTTP request by default. To make an
761
737
  asynchronous HTTP request, please pass async_req=True
762
738
 
763
- >>> thread = api.get_transaction_type(source, type, as_at, scope, timeline_scope, timeline_code, closed_period_id, async_req=True)
739
+ >>> thread = api.get_transaction_type(source, type, as_at, scope, async_req=True)
764
740
  >>> result = thread.get()
765
741
 
766
742
  :param source: The source that the type is in (required)
@@ -771,12 +747,6 @@ class TransactionConfigurationApi:
771
747
  :type as_at: datetime
772
748
  :param scope: The scope in which the transaction types exists. When not supplied the scope is 'default'.
773
749
  :type scope: str
774
- :param timeline_scope: The scope of the Timeline, used to override the AsAt. If this is provided, timelineCode and closedPeriodId must also be provided.
775
- :type timeline_scope: str
776
- :param timeline_code: The code of the Timeline, used to override the AsAt. If this is provided, timelineScope and closedPeriodId must also be provided.
777
- :type timeline_code: str
778
- :param closed_period_id: The code of the ClosedPeriod attached to the timeline, used to override the AsAt. If this is provided, timelineScope and timelineCode must also be provided.
779
- :type closed_period_id: str
780
750
  :param async_req: Whether to execute the request asynchronously.
781
751
  :type async_req: bool, optional
782
752
  :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
@@ -793,17 +763,17 @@ class TransactionConfigurationApi:
793
763
  raise ValueError(message)
794
764
  if async_req is not None:
795
765
  kwargs['async_req'] = async_req
796
- return self.get_transaction_type_with_http_info(source, type, as_at, scope, timeline_scope, timeline_code, closed_period_id, **kwargs) # noqa: E501
766
+ return self.get_transaction_type_with_http_info(source, type, as_at, scope, **kwargs) # noqa: E501
797
767
 
798
768
  @validate_arguments
799
- def get_transaction_type_with_http_info(self, source : Annotated[StrictStr, Field(..., description="The source that the type is in")], type : Annotated[StrictStr, Field(..., description="One of the type's aliases")], as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the transaction configuration. Defaults to returning the latest version of the transaction configuration type if not specified")] = None, scope : Annotated[Optional[StrictStr], Field( description="The scope in which the transaction types exists. When not supplied the scope is 'default'.")] = None, timeline_scope : Annotated[Optional[StrictStr], Field( description="The scope of the Timeline, used to override the AsAt. If this is provided, timelineCode and closedPeriodId must also be provided.")] = None, timeline_code : Annotated[Optional[StrictStr], Field( description="The code of the Timeline, used to override the AsAt. If this is provided, timelineScope and closedPeriodId must also be provided.")] = None, closed_period_id : Annotated[Optional[StrictStr], Field( description="The code of the ClosedPeriod attached to the timeline, used to override the AsAt. If this is provided, timelineScope and timelineCode must also be provided.")] = None, **kwargs) -> ApiResponse: # noqa: E501
769
+ def get_transaction_type_with_http_info(self, source : Annotated[StrictStr, Field(..., description="The source that the type is in")], type : Annotated[StrictStr, Field(..., description="One of the type's aliases")], as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the transaction configuration. Defaults to returning the latest version of the transaction configuration type if not specified")] = None, scope : Annotated[Optional[StrictStr], Field( description="The scope in which the transaction types exists. When not supplied the scope is 'default'.")] = None, **kwargs) -> ApiResponse: # noqa: E501
800
770
  """GetTransactionType: Get a single transaction configuration type # noqa: E501
801
771
 
802
772
  Get a single transaction type. Returns failure if not found # noqa: E501
803
773
  This method makes a synchronous HTTP request by default. To make an
804
774
  asynchronous HTTP request, please pass async_req=True
805
775
 
806
- >>> thread = api.get_transaction_type_with_http_info(source, type, as_at, scope, timeline_scope, timeline_code, closed_period_id, async_req=True)
776
+ >>> thread = api.get_transaction_type_with_http_info(source, type, as_at, scope, async_req=True)
807
777
  >>> result = thread.get()
808
778
 
809
779
  :param source: The source that the type is in (required)
@@ -814,12 +784,6 @@ class TransactionConfigurationApi:
814
784
  :type as_at: datetime
815
785
  :param scope: The scope in which the transaction types exists. When not supplied the scope is 'default'.
816
786
  :type scope: str
817
- :param timeline_scope: The scope of the Timeline, used to override the AsAt. If this is provided, timelineCode and closedPeriodId must also be provided.
818
- :type timeline_scope: str
819
- :param timeline_code: The code of the Timeline, used to override the AsAt. If this is provided, timelineScope and closedPeriodId must also be provided.
820
- :type timeline_code: str
821
- :param closed_period_id: The code of the ClosedPeriod attached to the timeline, used to override the AsAt. If this is provided, timelineScope and timelineCode must also be provided.
822
- :type closed_period_id: str
823
787
  :param async_req: Whether to execute the request asynchronously.
824
788
  :type async_req: bool, optional
825
789
  :param _preload_content: if False, the ApiResponse.data will
@@ -850,10 +814,7 @@ class TransactionConfigurationApi:
850
814
  'source',
851
815
  'type',
852
816
  'as_at',
853
- 'scope',
854
- 'timeline_scope',
855
- 'timeline_code',
856
- 'closed_period_id'
817
+ 'scope'
857
818
  ]
858
819
  _all_params.extend(
859
820
  [
@@ -900,15 +861,6 @@ class TransactionConfigurationApi:
900
861
  if _params.get('scope') is not None: # noqa: E501
901
862
  _query_params.append(('scope', _params['scope']))
902
863
 
903
- if _params.get('timeline_scope') is not None: # noqa: E501
904
- _query_params.append(('timelineScope', _params['timeline_scope']))
905
-
906
- if _params.get('timeline_code') is not None: # noqa: E501
907
- _query_params.append(('timelineCode', _params['timeline_code']))
908
-
909
- if _params.get('closed_period_id') is not None: # noqa: E501
910
- _query_params.append(('closedPeriodId', _params['closed_period_id']))
911
-
912
864
  # process the header parameters
913
865
  _header_params = dict(_params.get('_headers', {}))
914
866
  # process the form parameters
@@ -948,34 +900,28 @@ class TransactionConfigurationApi:
948
900
 
949
901
 
950
902
  @overload
951
- async def list_side_definitions(self, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the transaction types. Defaults to returning the latest versions if not specified.")] = None, scope : Annotated[Optional[StrictStr], Field( description="The scope in which the side exists. When not supplied the scope is 'default'.")] = None, timeline_scope : Annotated[Optional[StrictStr], Field( description="The scope of the Timeline, used to override the AsAt. If this is provided, timelineCode and closedPeriodId must also be provided.")] = None, timeline_code : Annotated[Optional[StrictStr], Field( description="The code of the Timeline, used to override the AsAt. If this is provided, timelineScope and closedPeriodId must also be provided.")] = None, closed_period_id : Annotated[Optional[StrictStr], Field( description="The code of the ClosedPeriod attached to the timeline, used to override the AsAt. If this is provided, timelineScope and timelineCode must also be provided.")] = None, **kwargs) -> ResourceListOfSideDefinition: # noqa: E501
903
+ async def list_side_definitions(self, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the transaction types. Defaults to returning the latest versions if not specified.")] = None, scope : Annotated[Optional[StrictStr], Field( description="The scope in which the side exists. When not supplied the scope is 'default'.")] = None, **kwargs) -> ResourceListOfSideDefinition: # noqa: E501
952
904
  ...
953
905
 
954
906
  @overload
955
- def list_side_definitions(self, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the transaction types. Defaults to returning the latest versions if not specified.")] = None, scope : Annotated[Optional[StrictStr], Field( description="The scope in which the side exists. When not supplied the scope is 'default'.")] = None, timeline_scope : Annotated[Optional[StrictStr], Field( description="The scope of the Timeline, used to override the AsAt. If this is provided, timelineCode and closedPeriodId must also be provided.")] = None, timeline_code : Annotated[Optional[StrictStr], Field( description="The code of the Timeline, used to override the AsAt. If this is provided, timelineScope and closedPeriodId must also be provided.")] = None, closed_period_id : Annotated[Optional[StrictStr], Field( description="The code of the ClosedPeriod attached to the timeline, used to override the AsAt. If this is provided, timelineScope and timelineCode must also be provided.")] = None, async_req: Optional[bool]=True, **kwargs) -> ResourceListOfSideDefinition: # noqa: E501
907
+ def list_side_definitions(self, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the transaction types. Defaults to returning the latest versions if not specified.")] = None, scope : Annotated[Optional[StrictStr], Field( description="The scope in which the side exists. When not supplied the scope is 'default'.")] = None, async_req: Optional[bool]=True, **kwargs) -> ResourceListOfSideDefinition: # noqa: E501
956
908
  ...
957
909
 
958
910
  @validate_arguments
959
- def list_side_definitions(self, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the transaction types. Defaults to returning the latest versions if not specified.")] = None, scope : Annotated[Optional[StrictStr], Field( description="The scope in which the side exists. When not supplied the scope is 'default'.")] = None, timeline_scope : Annotated[Optional[StrictStr], Field( description="The scope of the Timeline, used to override the AsAt. If this is provided, timelineCode and closedPeriodId must also be provided.")] = None, timeline_code : Annotated[Optional[StrictStr], Field( description="The code of the Timeline, used to override the AsAt. If this is provided, timelineScope and closedPeriodId must also be provided.")] = None, closed_period_id : Annotated[Optional[StrictStr], Field( description="The code of the ClosedPeriod attached to the timeline, used to override the AsAt. If this is provided, timelineScope and timelineCode must also be provided.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[ResourceListOfSideDefinition, Awaitable[ResourceListOfSideDefinition]]: # noqa: E501
911
+ def list_side_definitions(self, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the transaction types. Defaults to returning the latest versions if not specified.")] = None, scope : Annotated[Optional[StrictStr], Field( description="The scope in which the side exists. When not supplied the scope is 'default'.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[ResourceListOfSideDefinition, Awaitable[ResourceListOfSideDefinition]]: # noqa: E501
960
912
  """ListSideDefinitions: List the side definitions # noqa: E501
961
913
 
962
914
  List all the side definitions in the given scope # noqa: E501
963
915
  This method makes a synchronous HTTP request by default. To make an
964
916
  asynchronous HTTP request, please pass async_req=True
965
917
 
966
- >>> thread = api.list_side_definitions(as_at, scope, timeline_scope, timeline_code, closed_period_id, async_req=True)
918
+ >>> thread = api.list_side_definitions(as_at, scope, async_req=True)
967
919
  >>> result = thread.get()
968
920
 
969
921
  :param as_at: The asAt datetime at which to retrieve the transaction types. Defaults to returning the latest versions if not specified.
970
922
  :type as_at: datetime
971
923
  :param scope: The scope in which the side exists. When not supplied the scope is 'default'.
972
924
  :type scope: str
973
- :param timeline_scope: The scope of the Timeline, used to override the AsAt. If this is provided, timelineCode and closedPeriodId must also be provided.
974
- :type timeline_scope: str
975
- :param timeline_code: The code of the Timeline, used to override the AsAt. If this is provided, timelineScope and closedPeriodId must also be provided.
976
- :type timeline_code: str
977
- :param closed_period_id: The code of the ClosedPeriod attached to the timeline, used to override the AsAt. If this is provided, timelineScope and timelineCode must also be provided.
978
- :type closed_period_id: str
979
925
  :param async_req: Whether to execute the request asynchronously.
980
926
  :type async_req: bool, optional
981
927
  :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
@@ -992,29 +938,23 @@ class TransactionConfigurationApi:
992
938
  raise ValueError(message)
993
939
  if async_req is not None:
994
940
  kwargs['async_req'] = async_req
995
- return self.list_side_definitions_with_http_info(as_at, scope, timeline_scope, timeline_code, closed_period_id, **kwargs) # noqa: E501
941
+ return self.list_side_definitions_with_http_info(as_at, scope, **kwargs) # noqa: E501
996
942
 
997
943
  @validate_arguments
998
- def list_side_definitions_with_http_info(self, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the transaction types. Defaults to returning the latest versions if not specified.")] = None, scope : Annotated[Optional[StrictStr], Field( description="The scope in which the side exists. When not supplied the scope is 'default'.")] = None, timeline_scope : Annotated[Optional[StrictStr], Field( description="The scope of the Timeline, used to override the AsAt. If this is provided, timelineCode and closedPeriodId must also be provided.")] = None, timeline_code : Annotated[Optional[StrictStr], Field( description="The code of the Timeline, used to override the AsAt. If this is provided, timelineScope and closedPeriodId must also be provided.")] = None, closed_period_id : Annotated[Optional[StrictStr], Field( description="The code of the ClosedPeriod attached to the timeline, used to override the AsAt. If this is provided, timelineScope and timelineCode must also be provided.")] = None, **kwargs) -> ApiResponse: # noqa: E501
944
+ def list_side_definitions_with_http_info(self, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the transaction types. Defaults to returning the latest versions if not specified.")] = None, scope : Annotated[Optional[StrictStr], Field( description="The scope in which the side exists. When not supplied the scope is 'default'.")] = None, **kwargs) -> ApiResponse: # noqa: E501
999
945
  """ListSideDefinitions: List the side definitions # noqa: E501
1000
946
 
1001
947
  List all the side definitions in the given scope # noqa: E501
1002
948
  This method makes a synchronous HTTP request by default. To make an
1003
949
  asynchronous HTTP request, please pass async_req=True
1004
950
 
1005
- >>> thread = api.list_side_definitions_with_http_info(as_at, scope, timeline_scope, timeline_code, closed_period_id, async_req=True)
951
+ >>> thread = api.list_side_definitions_with_http_info(as_at, scope, async_req=True)
1006
952
  >>> result = thread.get()
1007
953
 
1008
954
  :param as_at: The asAt datetime at which to retrieve the transaction types. Defaults to returning the latest versions if not specified.
1009
955
  :type as_at: datetime
1010
956
  :param scope: The scope in which the side exists. When not supplied the scope is 'default'.
1011
957
  :type scope: str
1012
- :param timeline_scope: The scope of the Timeline, used to override the AsAt. If this is provided, timelineCode and closedPeriodId must also be provided.
1013
- :type timeline_scope: str
1014
- :param timeline_code: The code of the Timeline, used to override the AsAt. If this is provided, timelineScope and closedPeriodId must also be provided.
1015
- :type timeline_code: str
1016
- :param closed_period_id: The code of the ClosedPeriod attached to the timeline, used to override the AsAt. If this is provided, timelineScope and timelineCode must also be provided.
1017
- :type closed_period_id: str
1018
958
  :param async_req: Whether to execute the request asynchronously.
1019
959
  :type async_req: bool, optional
1020
960
  :param _preload_content: if False, the ApiResponse.data will
@@ -1043,10 +983,7 @@ class TransactionConfigurationApi:
1043
983
 
1044
984
  _all_params = [
1045
985
  'as_at',
1046
- 'scope',
1047
- 'timeline_scope',
1048
- 'timeline_code',
1049
- 'closed_period_id'
986
+ 'scope'
1050
987
  ]
1051
988
  _all_params.extend(
1052
989
  [
@@ -1087,15 +1024,6 @@ class TransactionConfigurationApi:
1087
1024
  if _params.get('scope') is not None: # noqa: E501
1088
1025
  _query_params.append(('scope', _params['scope']))
1089
1026
 
1090
- if _params.get('timeline_scope') is not None: # noqa: E501
1091
- _query_params.append(('timelineScope', _params['timeline_scope']))
1092
-
1093
- if _params.get('timeline_code') is not None: # noqa: E501
1094
- _query_params.append(('timelineCode', _params['timeline_code']))
1095
-
1096
- if _params.get('closed_period_id') is not None: # noqa: E501
1097
- _query_params.append(('closedPeriodId', _params['closed_period_id']))
1098
-
1099
1027
  # process the header parameters
1100
1028
  _header_params = dict(_params.get('_headers', {}))
1101
1029
  # process the form parameters
@@ -1135,34 +1063,28 @@ class TransactionConfigurationApi:
1135
1063
 
1136
1064
 
1137
1065
  @overload
1138
- async def list_transaction_types(self, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the transaction types. Defaults to returning the latest versions if not specified.")] = None, scope : Annotated[Optional[StrictStr], Field( description="The scope in which the side exists. When not supplied the scope is 'default'.")] = None, timeline_scope : Annotated[Optional[StrictStr], Field( description="The scope of the Timeline, used to override the AsAt. If this is provided, timelineCode and closedPeriodId must also be provided.")] = None, timeline_code : Annotated[Optional[StrictStr], Field( description="The code of the Timeline, used to override the AsAt. If this is provided, timelineScope and closedPeriodId must also be provided.")] = None, closed_period_id : Annotated[Optional[StrictStr], Field( description="The code of the ClosedPeriod attached to the timeline, used to override the AsAt. If this is provided, timelineScope and timelineCode must also be provided.")] = None, **kwargs) -> Dict[str, List[TransactionType]]: # noqa: E501
1066
+ async def list_transaction_types(self, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the transaction types. Defaults to returning the latest versions if not specified.")] = None, scope : Annotated[Optional[StrictStr], Field( description="The scope in which the side exists. When not supplied the scope is 'default'.")] = None, **kwargs) -> Dict[str, List[TransactionType]]: # noqa: E501
1139
1067
  ...
1140
1068
 
1141
1069
  @overload
1142
- def list_transaction_types(self, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the transaction types. Defaults to returning the latest versions if not specified.")] = None, scope : Annotated[Optional[StrictStr], Field( description="The scope in which the side exists. When not supplied the scope is 'default'.")] = None, timeline_scope : Annotated[Optional[StrictStr], Field( description="The scope of the Timeline, used to override the AsAt. If this is provided, timelineCode and closedPeriodId must also be provided.")] = None, timeline_code : Annotated[Optional[StrictStr], Field( description="The code of the Timeline, used to override the AsAt. If this is provided, timelineScope and closedPeriodId must also be provided.")] = None, closed_period_id : Annotated[Optional[StrictStr], Field( description="The code of the ClosedPeriod attached to the timeline, used to override the AsAt. If this is provided, timelineScope and timelineCode must also be provided.")] = None, async_req: Optional[bool]=True, **kwargs) -> Dict[str, List[TransactionType]]: # noqa: E501
1070
+ def list_transaction_types(self, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the transaction types. Defaults to returning the latest versions if not specified.")] = None, scope : Annotated[Optional[StrictStr], Field( description="The scope in which the side exists. When not supplied the scope is 'default'.")] = None, async_req: Optional[bool]=True, **kwargs) -> Dict[str, List[TransactionType]]: # noqa: E501
1143
1071
  ...
1144
1072
 
1145
1073
  @validate_arguments
1146
- def list_transaction_types(self, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the transaction types. Defaults to returning the latest versions if not specified.")] = None, scope : Annotated[Optional[StrictStr], Field( description="The scope in which the side exists. When not supplied the scope is 'default'.")] = None, timeline_scope : Annotated[Optional[StrictStr], Field( description="The scope of the Timeline, used to override the AsAt. If this is provided, timelineCode and closedPeriodId must also be provided.")] = None, timeline_code : Annotated[Optional[StrictStr], Field( description="The code of the Timeline, used to override the AsAt. If this is provided, timelineScope and closedPeriodId must also be provided.")] = None, closed_period_id : Annotated[Optional[StrictStr], Field( description="The code of the ClosedPeriod attached to the timeline, used to override the AsAt. If this is provided, timelineScope and timelineCode must also be provided.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[Dict[str, List[TransactionType]], Awaitable[Dict[str, List[TransactionType]]]]: # noqa: E501
1074
+ def list_transaction_types(self, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the transaction types. Defaults to returning the latest versions if not specified.")] = None, scope : Annotated[Optional[StrictStr], Field( description="The scope in which the side exists. When not supplied the scope is 'default'.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[Dict[str, List[TransactionType]], Awaitable[Dict[str, List[TransactionType]]]]: # noqa: E501
1147
1075
  """ListTransactionTypes: List transaction types # noqa: E501
1148
1076
 
1149
1077
  Get the list of current transaction types. For information on the default transaction types provided with LUSID, see https://support.lusid.com/knowledgebase/article/KA-01873/. # noqa: E501
1150
1078
  This method makes a synchronous HTTP request by default. To make an
1151
1079
  asynchronous HTTP request, please pass async_req=True
1152
1080
 
1153
- >>> thread = api.list_transaction_types(as_at, scope, timeline_scope, timeline_code, closed_period_id, async_req=True)
1081
+ >>> thread = api.list_transaction_types(as_at, scope, async_req=True)
1154
1082
  >>> result = thread.get()
1155
1083
 
1156
1084
  :param as_at: The asAt datetime at which to retrieve the transaction types. Defaults to returning the latest versions if not specified.
1157
1085
  :type as_at: datetime
1158
1086
  :param scope: The scope in which the side exists. When not supplied the scope is 'default'.
1159
1087
  :type scope: str
1160
- :param timeline_scope: The scope of the Timeline, used to override the AsAt. If this is provided, timelineCode and closedPeriodId must also be provided.
1161
- :type timeline_scope: str
1162
- :param timeline_code: The code of the Timeline, used to override the AsAt. If this is provided, timelineScope and closedPeriodId must also be provided.
1163
- :type timeline_code: str
1164
- :param closed_period_id: The code of the ClosedPeriod attached to the timeline, used to override the AsAt. If this is provided, timelineScope and timelineCode must also be provided.
1165
- :type closed_period_id: str
1166
1088
  :param async_req: Whether to execute the request asynchronously.
1167
1089
  :type async_req: bool, optional
1168
1090
  :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
@@ -1179,29 +1101,23 @@ class TransactionConfigurationApi:
1179
1101
  raise ValueError(message)
1180
1102
  if async_req is not None:
1181
1103
  kwargs['async_req'] = async_req
1182
- return self.list_transaction_types_with_http_info(as_at, scope, timeline_scope, timeline_code, closed_period_id, **kwargs) # noqa: E501
1104
+ return self.list_transaction_types_with_http_info(as_at, scope, **kwargs) # noqa: E501
1183
1105
 
1184
1106
  @validate_arguments
1185
- def list_transaction_types_with_http_info(self, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the transaction types. Defaults to returning the latest versions if not specified.")] = None, scope : Annotated[Optional[StrictStr], Field( description="The scope in which the side exists. When not supplied the scope is 'default'.")] = None, timeline_scope : Annotated[Optional[StrictStr], Field( description="The scope of the Timeline, used to override the AsAt. If this is provided, timelineCode and closedPeriodId must also be provided.")] = None, timeline_code : Annotated[Optional[StrictStr], Field( description="The code of the Timeline, used to override the AsAt. If this is provided, timelineScope and closedPeriodId must also be provided.")] = None, closed_period_id : Annotated[Optional[StrictStr], Field( description="The code of the ClosedPeriod attached to the timeline, used to override the AsAt. If this is provided, timelineScope and timelineCode must also be provided.")] = None, **kwargs) -> ApiResponse: # noqa: E501
1107
+ def list_transaction_types_with_http_info(self, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the transaction types. Defaults to returning the latest versions if not specified.")] = None, scope : Annotated[Optional[StrictStr], Field( description="The scope in which the side exists. When not supplied the scope is 'default'.")] = None, **kwargs) -> ApiResponse: # noqa: E501
1186
1108
  """ListTransactionTypes: List transaction types # noqa: E501
1187
1109
 
1188
1110
  Get the list of current transaction types. For information on the default transaction types provided with LUSID, see https://support.lusid.com/knowledgebase/article/KA-01873/. # noqa: E501
1189
1111
  This method makes a synchronous HTTP request by default. To make an
1190
1112
  asynchronous HTTP request, please pass async_req=True
1191
1113
 
1192
- >>> thread = api.list_transaction_types_with_http_info(as_at, scope, timeline_scope, timeline_code, closed_period_id, async_req=True)
1114
+ >>> thread = api.list_transaction_types_with_http_info(as_at, scope, async_req=True)
1193
1115
  >>> result = thread.get()
1194
1116
 
1195
1117
  :param as_at: The asAt datetime at which to retrieve the transaction types. Defaults to returning the latest versions if not specified.
1196
1118
  :type as_at: datetime
1197
1119
  :param scope: The scope in which the side exists. When not supplied the scope is 'default'.
1198
1120
  :type scope: str
1199
- :param timeline_scope: The scope of the Timeline, used to override the AsAt. If this is provided, timelineCode and closedPeriodId must also be provided.
1200
- :type timeline_scope: str
1201
- :param timeline_code: The code of the Timeline, used to override the AsAt. If this is provided, timelineScope and closedPeriodId must also be provided.
1202
- :type timeline_code: str
1203
- :param closed_period_id: The code of the ClosedPeriod attached to the timeline, used to override the AsAt. If this is provided, timelineScope and timelineCode must also be provided.
1204
- :type closed_period_id: str
1205
1121
  :param async_req: Whether to execute the request asynchronously.
1206
1122
  :type async_req: bool, optional
1207
1123
  :param _preload_content: if False, the ApiResponse.data will
@@ -1230,10 +1146,7 @@ class TransactionConfigurationApi:
1230
1146
 
1231
1147
  _all_params = [
1232
1148
  'as_at',
1233
- 'scope',
1234
- 'timeline_scope',
1235
- 'timeline_code',
1236
- 'closed_period_id'
1149
+ 'scope'
1237
1150
  ]
1238
1151
  _all_params.extend(
1239
1152
  [
@@ -1274,15 +1187,6 @@ class TransactionConfigurationApi:
1274
1187
  if _params.get('scope') is not None: # noqa: E501
1275
1188
  _query_params.append(('scope', _params['scope']))
1276
1189
 
1277
- if _params.get('timeline_scope') is not None: # noqa: E501
1278
- _query_params.append(('timelineScope', _params['timeline_scope']))
1279
-
1280
- if _params.get('timeline_code') is not None: # noqa: E501
1281
- _query_params.append(('timelineCode', _params['timeline_code']))
1282
-
1283
- if _params.get('closed_period_id') is not None: # noqa: E501
1284
- _query_params.append(('closedPeriodId', _params['closed_period_id']))
1285
-
1286
1190
  # process the header parameters
1287
1191
  _header_params = dict(_params.get('_headers', {}))
1288
1192
  # process the form parameters
lusid/configuration.py CHANGED
@@ -445,7 +445,7 @@ class Configuration:
445
445
  return "Python SDK Debug Report:\n"\
446
446
  "OS: {env}\n"\
447
447
  "Python Version: {pyversion}\n"\
448
- "Version of the API: 0.11.8347\n"\
448
+ "Version of the API: 0.11.8352\n"\
449
449
  "SDK Package Version: {package_version}".\
450
450
  format(env=sys.platform, pyversion=sys.version, package_version=package_version)
451
451
 
@@ -24,9 +24,9 @@ from lusid.models.instrument_event import InstrumentEvent
24
24
 
25
25
  class FlexibleRepoFullClosureEvent(InstrumentEvent):
26
26
  """
27
- Event to trigger the full closure of a repurchase agreement booked as a FlexibleRepo. # noqa: E501
27
+ Event to trigger the full closure of a repurchase agreement booked as a FlexibleRepo. Specific to a FlexibleRepo instrument. # noqa: E501
28
28
  """
29
- entitlement_date: Optional[datetime] = Field(None, alias="entitlementDate", description="Date on which the closure begins.")
29
+ entitlement_date: Optional[datetime] = Field(None, alias="entitlementDate", description="Date on which the closure begins This is a required field, unless otherwise supplied via \"EventDateStamps\" in the instrument event upsert request.")
30
30
  settlement_date: Optional[datetime] = Field(None, alias="settlementDate", description="Date on which closure takes place, i.e., when all repurchase trades settle.")
31
31
  instrument_event_type: StrictStr = Field(...,alias="instrumentEventType", description="The Type of Event. The available values are: TransitionEvent, InformationalEvent, OpenEvent, CloseEvent, StockSplitEvent, BondDefaultEvent, CashDividendEvent, AmortisationEvent, CashFlowEvent, ExerciseEvent, ResetEvent, TriggerEvent, RawVendorEvent, InformationalErrorEvent, BondCouponEvent, DividendReinvestmentEvent, AccumulationEvent, BondPrincipalEvent, DividendOptionEvent, MaturityEvent, FxForwardSettlementEvent, ExpiryEvent, ScripDividendEvent, StockDividendEvent, ReverseStockSplitEvent, CapitalDistributionEvent, SpinOffEvent, MergerEvent, FutureExpiryEvent, SwapCashFlowEvent, SwapPrincipalEvent, CreditPremiumCashFlowEvent, CdsCreditEvent, CdxCreditEvent, MbsCouponEvent, MbsPrincipalEvent, BonusIssueEvent, MbsPrincipalWriteOffEvent, MbsInterestDeferralEvent, MbsInterestShortfallEvent, TenderEvent, CallOnIntermediateSecuritiesEvent, IntermediateSecuritiesDistributionEvent, OptionExercisePhysicalEvent, OptionExerciseCashEvent, ProtectionPayoutCashFlowEvent, TermDepositInterestEvent, TermDepositPrincipalEvent, EarlyRedemptionEvent, FutureMarkToMarketEvent, AdjustGlobalCommitmentEvent, ContractInitialisationEvent, DrawdownEvent, LoanInterestRepaymentEvent, UpdateDepositAmountEvent, LoanPrincipalRepaymentEvent, DepositInterestPaymentEvent, DepositCloseEvent, LoanFacilityContractRolloverEvent, RepurchaseOfferEvent, RepoPartialClosureEvent, RepoCashFlowEvent, FlexibleRepoInterestPaymentEvent, FlexibleRepoCashFlowEvent, FlexibleRepoCollateralEvent, ConversionEvent, FlexibleRepoPartialClosureEvent, FlexibleRepoFullClosureEvent, CapletFloorletCashFlowEvent")
32
32
  additional_properties: Dict[str, Any] = {}
@@ -25,10 +25,10 @@ from lusid.models.partial_closure_constituent import PartialClosureConstituent
25
25
 
26
26
  class FlexibleRepoPartialClosureEvent(InstrumentEvent):
27
27
  """
28
- Event representing the partial closure of a repurchase agreement. Each event reduces the outstanding notional and generates a corresponding receive-leg cashflow. The final maturity cashflow is adjusted accordingly. If multiple events are created, their effects compound. Once the total repaid amount reaches the original purchase price, no further receive-leg cashflows are generated. Any event exceeding the remaining notional is marked with a diagnostic to indicate it is invalid due to excessive repayment. For example, for a repo with a 5% rate, 1% haircut and collateral value of 100 (purchase price = 99), a partial closure of cash amount 10 followed by one of 100 results in only the first event producing a cashflow. The second, exceeding the remaining balance, is ignored and flagged with a diagnostic. The remaining balance is settled at maturity of the repurchase agreement. Specific to a instrument. # noqa: E501
28
+ Event representing the partial closure of a repurchase agreement. Each event reduces the outstanding notional and generates a corresponding receive-leg cashflow. The final maturity cashflow is adjusted accordingly. If multiple events are created, their effects compound. Once the total repaid amount reaches the original purchase price, no further receive-leg cashflows are generated. Any event exceeding the remaining notional is marked with a diagnostic to indicate it is invalid due to excessive repayment. For example, for a repo with a 5% rate, 1% haircut and collateral value of 100 (purchase price = 99), a partial closure of cash amount 10 followed by one of 100 results in only the first event producing a cashflow. The second, exceeding the remaining balance, is ignored and flagged with a diagnostic. The remaining balance is settled at maturity of the repurchase agreement. Specific to a FlexibleRepo instrument. # noqa: E501
29
29
  """
30
- entitlement_date: Optional[datetime] = Field(None, alias="entitlementDate", description="Required property. The date on which the counterparties become entitled to exchange cash as part of a partial closure of the repurchase agreement. The date must be before or on the settlement date, and on or before the maturity date of the repo.")
31
- settlement_date: Optional[datetime] = Field(None, alias="settlementDate", description="Required property. The date on which the exchange of cash is settled. The date must be on or after the entitlement date, and on or before the maturity date of the repo.")
30
+ entitlement_date: Optional[datetime] = Field(None, alias="entitlementDate", description="Required property. The date on which the counterparties become entitled to exchange cash as part of a partial closure of the repurchase agreement. The date must be before or on the settlement date, and on or before the maturity date of the repo. This is a required field, unless otherwise supplied via \"EventDateStamps\" in the instrument event upsert request.")
31
+ settlement_date: Optional[datetime] = Field(None, alias="settlementDate", description="Required property. The date on which the exchange of cash is settled. The date must be on or after the entitlement date, and on or before the maturity date of the repo. This is a required field, unless otherwise supplied via \"EventDateStamps\" in the instrument event upsert request.")
32
32
  amount: Union[StrictFloat, StrictInt] = Field(..., description="The amount of cash to be exchanged as part of a partial closure of the repurchase agreement. Either the absolute cash amount or a percentage of the remaining amount, depending on the AmountType.")
33
33
  amount_type: StrictStr = Field(...,alias="amountType", description="AmountType of the cash amount to be exchanged as part of a partial closure of the repurchase agreement. Either percentage or absolute cash amount. Supported string (enumeration) values are: [Percentage, Units].")
34
34
  partial_closure_constituents: conlist(PartialClosureConstituent) = Field(..., alias="partialClosureConstituents", description="List of the collateral instruments involved in this partial closure, along with how they are affected.")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: lusid-sdk
3
- Version: 2.1.968
3
+ Version: 2.1.970
4
4
  Summary: LUSID API
5
5
  Home-page: https://github.com/finbourne/lusid-sdk-python
6
6
  License: MIT
@@ -12,9 +12,9 @@ lusid/api/blocks_api.py,sha256=WvkS7tK4jY1R_SWV8FqjCr5zpF9Gx1basp62FBdyH_E,43230
12
12
  lusid/api/calendars_api.py,sha256=Z1Zo2PDggpII8e6DyKlun1EZkCqU0I9MtqTsKfu5buI,141755
13
13
  lusid/api/chart_of_accounts_api.py,sha256=cyLfNKPJpBuy61U1HqVGNh1bmwAoTDpaIGQ1SeuMU-I,404270
14
14
  lusid/api/check_definitions_api.py,sha256=zw7_DW1YE54fudySGCKA-xchihCFleCZXlyum3dlllg,61393
15
- lusid/api/complex_market_data_api.py,sha256=qxhtgdCS0oIctX3T6V90wk7FiTeB_Hubu_yRTUPyGwg,67034
15
+ lusid/api/complex_market_data_api.py,sha256=kNH08g5rGYAMg7srkVhhqjzQ8oICqiTPFZJcFOV84EA,64940
16
16
  lusid/api/compliance_api.py,sha256=zVn3TuZ97PqKKh-b666fHgs3mfVcDD9nELX7zTTsdz0,161480
17
- lusid/api/configuration_recipe_api.py,sha256=rK308DzHaKpYOCaS1n4mCh9xsnQCFsmhcniroTAWybs,127995
17
+ lusid/api/configuration_recipe_api.py,sha256=1hdNB1imRjVzf8KAmqnNJE10jv883s1SCza5dl8fP9Q,99363
18
18
  lusid/api/conventions_api.py,sha256=dsvB_lAcR5oVQLTqVJj9_zruF7Tyn8aGzD9EmEKvfWY,104288
19
19
  lusid/api/corporate_action_sources_api.py,sha256=7Js9dAFi_HOsYjZvYQew8SjK8x45x-Bi3VJxY-dhDKU,98350
20
20
  lusid/api/counterparties_api.py,sha256=dvRW05miC9_DBYAvJavmNucbNY4ZDwFjqLNXSoP-05A,71156
@@ -23,7 +23,7 @@ lusid/api/custom_entities_api.py,sha256=Cr4KXS9-q_sFfYxoQrTnZhDheA7OW73kcZTEEv4f
23
23
  lusid/api/custom_entity_definitions_api.py,sha256=Hcuv2Au9oMpg1E5aMyveiq3dxcwldvZrvRzVdI-T_mo,40202
24
24
  lusid/api/custom_entity_types_api.py,sha256=Ldk2f5BDjzmnFUDR-Rw71tCpNoEnNeHZ5bptJUrV1EQ,40856
25
25
  lusid/api/cut_label_definitions_api.py,sha256=aBnmIqapySIsW4JiWtbGrFVLC1mMZBZqSSCeccO3moQ,46261
26
- lusid/api/data_types_api.py,sha256=Jv-BAGc-Ue0tgFwVRLXsaOxFvSpsGmkaFF23Sn47IMA,111402
26
+ lusid/api/data_types_api.py,sha256=Ey0Op4GXzDry5Gsa-tX19WfYbpw_TbKaeF8Js0_cTnk,92320
27
27
  lusid/api/derived_transaction_portfolios_api.py,sha256=0Krc4vfLm73UqzKQ4nae7Zcto2e_q-CAAk949uVg4pE,19738
28
28
  lusid/api/entities_api.py,sha256=uImduqQPNkudngZn85Zwk35oAG-JEFvGEpADfJeMf_E,83685
29
29
  lusid/api/executions_api.py,sha256=ZL8xmOxGpjIJtdU7lCdwcapILElWx7FGBDr8cjskCZs,44076
@@ -72,7 +72,7 @@ lusid/api/structured_result_data_api.py,sha256=BgLu6f0yTUHWjQOh5ltfo5ljkkpZNaJEu
72
72
  lusid/api/system_configuration_api.py,sha256=3PuuDkrHZ9qK1gtT8G_zqGZUWeHVGSkxksmuaSHqEO0,61496
73
73
  lusid/api/tax_rule_sets_api.py,sha256=ia8zjTdwlgLGC8KDWFBT21agOrfWgn1zC_ik75mNDJM,48920
74
74
  lusid/api/timelines_api.py,sha256=uxSMdLi9dI6y8LSaezsLXEVedy9I7A-k22RAKY0Rw4k,109878
75
- lusid/api/transaction_configuration_api.py,sha256=VKzr-F1WWtMXK1MuyiiE7reWJZrBUQs655cIgX8CGC0,122096
75
+ lusid/api/transaction_configuration_api.py,sha256=OHs853-U1RWs2oApEO3raiMxixxiMQMcXu566qsm5v4,103968
76
76
  lusid/api/transaction_fees_api.py,sha256=r8Gl44-WYZebyJ_Uw2stLsf3-hPi1bK6Ij64Kx0L6A8,62698
77
77
  lusid/api/transaction_portfolios_api.py,sha256=HqTP3fDLJ8MOAShOyWdvW9tKJ1r507ENu0EsGKAhyso,694297
78
78
  lusid/api/transfer_agency_api.py,sha256=m-o3srFi7ZcUcWlO_lpOJiYZJvDSt2JLy7QPcXQoPh4,9545
@@ -80,7 +80,7 @@ lusid/api/translation_api.py,sha256=xpRuTfwQvYBlWe6r_L2EI_uVpXqHFnEOim-i-kVQ85E,
80
80
  lusid/api/workspace_api.py,sha256=0pCNi3ZCRbIo0NXKa85XE7vtq0WV5YOKcQKvFlcLUaY,120708
81
81
  lusid/api_client.py,sha256=ewMTmf9SRurY8pYnUx9jy24RdldPCOa4US38pnrVxjA,31140
82
82
  lusid/api_response.py,sha256=6-gnhty6lu8MMAERt3_kTVD7UxQgWFfcjgpcq6iN5IU,855
83
- lusid/configuration.py,sha256=WM7AC1UQjDbYJSZnWhJy-ZqpyGs1KLmVQYaxVALsA5U,17980
83
+ lusid/configuration.py,sha256=ZE09J1m7KE32VIqOM3UkEQuHuDnaiZf-7n5aCR9s7FM,17980
84
84
  lusid/exceptions.py,sha256=HIQwgmQrszLlcVCLaqex8dO0laVuejUyOMz7U2ZWJ6s,5326
85
85
  lusid/extensions/__init__.py,sha256=dzDHEzpn-9smd2-_UMWQzeyX6Ha4jGf6fnqx7qxKxNI,630
86
86
  lusid/extensions/api_client.py,sha256=GzygWg_h603QK1QS2HvAijuE2R1TnvoF6-Yg0CeM3ug,30943
@@ -504,9 +504,9 @@ lusid/models/flexible_loan.py,sha256=T8zozGeFxfcdt4O82CPFdqLaE8jePpyXmzz_r8eqmAU
504
504
  lusid/models/flexible_repo.py,sha256=W11BsWtgqw5SRvnvVM_rNwaHX84099lJeAodfjJVF1Q,17842
505
505
  lusid/models/flexible_repo_cash_flow_event.py,sha256=CtaX5mP9zbB88Q9HZMWKTwKYPfFSMNvfhrV1tvbdAn4,12697
506
506
  lusid/models/flexible_repo_collateral_event.py,sha256=Iih087IY3l-eNsQ_XK3ASxLypDrxdp34IE8x-J4XAkg,12651
507
- lusid/models/flexible_repo_full_closure_event.py,sha256=tgcJ9MPkRWYwTqKWJHhKzbFmSUGc89HYrivMY9ZYEvA,11614
507
+ lusid/models/flexible_repo_full_closure_event.py,sha256=BwnF5XCmJHjs4cRRQQLQ6uRobC-A88ASZ6rZN54Lobw,11771
508
508
  lusid/models/flexible_repo_interest_payment_event.py,sha256=8HdiwdkIti_JebZobXcUZuqXgijR08T5vZLv5iTDrGI,12568
509
- lusid/models/flexible_repo_partial_closure_event.py,sha256=4I4i0PCcSQc7d7xDk101g8zgdH-zl7cwCIlEVF9R96A,14475
509
+ lusid/models/flexible_repo_partial_closure_event.py,sha256=O8uREgT88OnYvTyFR_ZumCiZKSXE9-jD9rStlasj8zQ,14723
510
510
  lusid/models/float_schedule.py,sha256=bJq9VVG_KAuGeX8jlLBRjfvlNtuWoINg709jlmbl3dg,14284
511
511
  lusid/models/floating_leg.py,sha256=DHXXH_VWswkVpb_R-ccIl6sbjjF3tTr5O9mlh3j4sR8,11655
512
512
  lusid/models/flow_convention_name.py,sha256=rIjbJ8FrMvrtDNQLOotZmgg4W_4mt2Lyhyn8u2Ji69g,3057
@@ -1393,6 +1393,6 @@ lusid/models/year_month_day.py,sha256=gwSoxFwlD_wffKdddo1wfvAcLq3Cht3FHQidiaHzAA
1393
1393
  lusid/models/yield_curve_data.py,sha256=I1ZSWxHMgUxj9OQt6i9a4S91KB4_XtmrfFxpN_PV3YQ,9561
1394
1394
  lusid/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
1395
1395
  lusid/rest.py,sha256=HQT__5LQEMu6_1sLKvYj-DI4FH1DJXBIPYfZCTTyrY4,13431
1396
- lusid_sdk-2.1.968.dist-info/METADATA,sha256=1ymYKZitkwKTGIUMaAoNU_jH63nnApFN3P_oLewhAR4,234120
1397
- lusid_sdk-2.1.968.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
1398
- lusid_sdk-2.1.968.dist-info/RECORD,,
1396
+ lusid_sdk-2.1.970.dist-info/METADATA,sha256=DElD2EuXCrokJI8Zd2tdObS6Hdkj1XoQ9fqZilsCCKk,234120
1397
+ lusid_sdk-2.1.970.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
1398
+ lusid_sdk-2.1.970.dist-info/RECORD,,