lusid-sdk 2.1.948__py3-none-any.whl → 2.1.949__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 +8 -0
- lusid/api/investment_accounts_api.py +177 -0
- lusid/api/transaction_configuration_api.py +128 -32
- lusid/api/transaction_portfolios_api.py +212 -8
- lusid/configuration.py +1 -1
- lusid/models/__init__.py +8 -0
- lusid/models/closed_period.py +8 -1
- lusid/models/create_closed_period_request.py +9 -2
- lusid/models/interest_rate_swaption.py +20 -4
- lusid/models/output_transaction.py +8 -2
- lusid/models/portfolio_settlement_configuration.py +8 -2
- lusid/models/settlement_instruction_query.py +124 -0
- lusid/models/settlement_instruction_with_transaction.py +87 -0
- lusid/models/transaction_matching_alternative_id.py +77 -0
- lusid/models/versioned_resource_list_with_post_bodies_of_settlement_instruction_with_transaction_to_settlement_instruction_query.py +129 -0
- {lusid_sdk-2.1.948.dist-info → lusid_sdk-2.1.949.dist-info}/METADATA +7 -1
- {lusid_sdk-2.1.948.dist-info → lusid_sdk-2.1.949.dist-info}/RECORD +18 -14
- {lusid_sdk-2.1.948.dist-info → lusid_sdk-2.1.949.dist-info}/WHEEL +0 -0
|
@@ -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, **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, 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
|
|
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, 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, 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
|
|
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, 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, 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
|
|
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, async_req=True)
|
|
568
|
+
>>> thread = api.get_side_definition(side, scope, as_at, timeline_scope, timeline_code, closed_period_id, async_req=True)
|
|
569
569
|
>>> result = thread.get()
|
|
570
570
|
|
|
571
571
|
:param side: The label to uniquely identify the side. (required)
|
|
@@ -574,6 +574,12 @@ 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
|
|
577
583
|
:param async_req: Whether to execute the request asynchronously.
|
|
578
584
|
:type async_req: bool, optional
|
|
579
585
|
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
|
@@ -590,17 +596,17 @@ class TransactionConfigurationApi:
|
|
|
590
596
|
raise ValueError(message)
|
|
591
597
|
if async_req is not None:
|
|
592
598
|
kwargs['async_req'] = async_req
|
|
593
|
-
return self.get_side_definition_with_http_info(side, scope, as_at, **kwargs) # noqa: E501
|
|
599
|
+
return self.get_side_definition_with_http_info(side, scope, as_at, timeline_scope, timeline_code, closed_period_id, **kwargs) # noqa: E501
|
|
594
600
|
|
|
595
601
|
@validate_arguments
|
|
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
|
|
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
|
|
597
603
|
"""GetSideDefinition: Get the side definition for a given side name( or label) # noqa: E501
|
|
598
604
|
|
|
599
605
|
Get the side definition user requested. # noqa: E501
|
|
600
606
|
This method makes a synchronous HTTP request by default. To make an
|
|
601
607
|
asynchronous HTTP request, please pass async_req=True
|
|
602
608
|
|
|
603
|
-
>>> thread = api.get_side_definition_with_http_info(side, scope, as_at, async_req=True)
|
|
609
|
+
>>> thread = api.get_side_definition_with_http_info(side, scope, as_at, timeline_scope, timeline_code, closed_period_id, async_req=True)
|
|
604
610
|
>>> result = thread.get()
|
|
605
611
|
|
|
606
612
|
:param side: The label to uniquely identify the side. (required)
|
|
@@ -609,6 +615,12 @@ class TransactionConfigurationApi:
|
|
|
609
615
|
:type scope: str
|
|
610
616
|
:param as_at: The asAt datetime at which to retrieve the transaction types. Defaults to returning the latest versions if not specified.
|
|
611
617
|
: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
|
|
612
624
|
:param async_req: Whether to execute the request asynchronously.
|
|
613
625
|
:type async_req: bool, optional
|
|
614
626
|
:param _preload_content: if False, the ApiResponse.data will
|
|
@@ -638,7 +650,10 @@ class TransactionConfigurationApi:
|
|
|
638
650
|
_all_params = [
|
|
639
651
|
'side',
|
|
640
652
|
'scope',
|
|
641
|
-
'as_at'
|
|
653
|
+
'as_at',
|
|
654
|
+
'timeline_scope',
|
|
655
|
+
'timeline_code',
|
|
656
|
+
'closed_period_id'
|
|
642
657
|
]
|
|
643
658
|
_all_params.extend(
|
|
644
659
|
[
|
|
@@ -682,6 +697,15 @@ class TransactionConfigurationApi:
|
|
|
682
697
|
else:
|
|
683
698
|
_query_params.append(('asAt', _params['as_at']))
|
|
684
699
|
|
|
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
|
+
|
|
685
709
|
# process the header parameters
|
|
686
710
|
_header_params = dict(_params.get('_headers', {}))
|
|
687
711
|
# process the form parameters
|
|
@@ -721,22 +745,22 @@ class TransactionConfigurationApi:
|
|
|
721
745
|
|
|
722
746
|
|
|
723
747
|
@overload
|
|
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
|
|
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
|
|
725
749
|
...
|
|
726
750
|
|
|
727
751
|
@overload
|
|
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
|
|
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
|
|
729
753
|
...
|
|
730
754
|
|
|
731
755
|
@validate_arguments
|
|
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
|
|
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
|
|
733
757
|
"""GetTransactionType: Get a single transaction configuration type # noqa: E501
|
|
734
758
|
|
|
735
759
|
Get a single transaction type. Returns failure if not found # noqa: E501
|
|
736
760
|
This method makes a synchronous HTTP request by default. To make an
|
|
737
761
|
asynchronous HTTP request, please pass async_req=True
|
|
738
762
|
|
|
739
|
-
>>> thread = api.get_transaction_type(source, type, as_at, scope, async_req=True)
|
|
763
|
+
>>> thread = api.get_transaction_type(source, type, as_at, scope, timeline_scope, timeline_code, closed_period_id, async_req=True)
|
|
740
764
|
>>> result = thread.get()
|
|
741
765
|
|
|
742
766
|
:param source: The source that the type is in (required)
|
|
@@ -747,6 +771,12 @@ class TransactionConfigurationApi:
|
|
|
747
771
|
:type as_at: datetime
|
|
748
772
|
:param scope: The scope in which the transaction types exists. When not supplied the scope is 'default'.
|
|
749
773
|
: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
|
|
750
780
|
:param async_req: Whether to execute the request asynchronously.
|
|
751
781
|
:type async_req: bool, optional
|
|
752
782
|
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
|
@@ -763,17 +793,17 @@ class TransactionConfigurationApi:
|
|
|
763
793
|
raise ValueError(message)
|
|
764
794
|
if async_req is not None:
|
|
765
795
|
kwargs['async_req'] = async_req
|
|
766
|
-
return self.get_transaction_type_with_http_info(source, type, as_at, scope, **kwargs) # noqa: E501
|
|
796
|
+
return self.get_transaction_type_with_http_info(source, type, as_at, scope, timeline_scope, timeline_code, closed_period_id, **kwargs) # noqa: E501
|
|
767
797
|
|
|
768
798
|
@validate_arguments
|
|
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
|
|
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
|
|
770
800
|
"""GetTransactionType: Get a single transaction configuration type # noqa: E501
|
|
771
801
|
|
|
772
802
|
Get a single transaction type. Returns failure if not found # noqa: E501
|
|
773
803
|
This method makes a synchronous HTTP request by default. To make an
|
|
774
804
|
asynchronous HTTP request, please pass async_req=True
|
|
775
805
|
|
|
776
|
-
>>> thread = api.get_transaction_type_with_http_info(source, type, as_at, scope, async_req=True)
|
|
806
|
+
>>> thread = api.get_transaction_type_with_http_info(source, type, as_at, scope, timeline_scope, timeline_code, closed_period_id, async_req=True)
|
|
777
807
|
>>> result = thread.get()
|
|
778
808
|
|
|
779
809
|
:param source: The source that the type is in (required)
|
|
@@ -784,6 +814,12 @@ class TransactionConfigurationApi:
|
|
|
784
814
|
:type as_at: datetime
|
|
785
815
|
:param scope: The scope in which the transaction types exists. When not supplied the scope is 'default'.
|
|
786
816
|
: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
|
|
787
823
|
:param async_req: Whether to execute the request asynchronously.
|
|
788
824
|
:type async_req: bool, optional
|
|
789
825
|
:param _preload_content: if False, the ApiResponse.data will
|
|
@@ -814,7 +850,10 @@ class TransactionConfigurationApi:
|
|
|
814
850
|
'source',
|
|
815
851
|
'type',
|
|
816
852
|
'as_at',
|
|
817
|
-
'scope'
|
|
853
|
+
'scope',
|
|
854
|
+
'timeline_scope',
|
|
855
|
+
'timeline_code',
|
|
856
|
+
'closed_period_id'
|
|
818
857
|
]
|
|
819
858
|
_all_params.extend(
|
|
820
859
|
[
|
|
@@ -861,6 +900,15 @@ class TransactionConfigurationApi:
|
|
|
861
900
|
if _params.get('scope') is not None: # noqa: E501
|
|
862
901
|
_query_params.append(('scope', _params['scope']))
|
|
863
902
|
|
|
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
|
+
|
|
864
912
|
# process the header parameters
|
|
865
913
|
_header_params = dict(_params.get('_headers', {}))
|
|
866
914
|
# process the form parameters
|
|
@@ -900,28 +948,34 @@ class TransactionConfigurationApi:
|
|
|
900
948
|
|
|
901
949
|
|
|
902
950
|
@overload
|
|
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
|
|
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
|
|
904
952
|
...
|
|
905
953
|
|
|
906
954
|
@overload
|
|
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
|
|
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
|
|
908
956
|
...
|
|
909
957
|
|
|
910
958
|
@validate_arguments
|
|
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
|
|
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
|
|
912
960
|
"""ListSideDefinitions: List the side definitions # noqa: E501
|
|
913
961
|
|
|
914
962
|
List all the side definitions in the given scope # noqa: E501
|
|
915
963
|
This method makes a synchronous HTTP request by default. To make an
|
|
916
964
|
asynchronous HTTP request, please pass async_req=True
|
|
917
965
|
|
|
918
|
-
>>> thread = api.list_side_definitions(as_at, scope, async_req=True)
|
|
966
|
+
>>> thread = api.list_side_definitions(as_at, scope, timeline_scope, timeline_code, closed_period_id, async_req=True)
|
|
919
967
|
>>> result = thread.get()
|
|
920
968
|
|
|
921
969
|
:param as_at: The asAt datetime at which to retrieve the transaction types. Defaults to returning the latest versions if not specified.
|
|
922
970
|
:type as_at: datetime
|
|
923
971
|
:param scope: The scope in which the side exists. When not supplied the scope is 'default'.
|
|
924
972
|
: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
|
|
925
979
|
:param async_req: Whether to execute the request asynchronously.
|
|
926
980
|
:type async_req: bool, optional
|
|
927
981
|
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
|
@@ -938,23 +992,29 @@ class TransactionConfigurationApi:
|
|
|
938
992
|
raise ValueError(message)
|
|
939
993
|
if async_req is not None:
|
|
940
994
|
kwargs['async_req'] = async_req
|
|
941
|
-
return self.list_side_definitions_with_http_info(as_at, scope, **kwargs) # noqa: E501
|
|
995
|
+
return self.list_side_definitions_with_http_info(as_at, scope, timeline_scope, timeline_code, closed_period_id, **kwargs) # noqa: E501
|
|
942
996
|
|
|
943
997
|
@validate_arguments
|
|
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
|
|
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
|
|
945
999
|
"""ListSideDefinitions: List the side definitions # noqa: E501
|
|
946
1000
|
|
|
947
1001
|
List all the side definitions in the given scope # noqa: E501
|
|
948
1002
|
This method makes a synchronous HTTP request by default. To make an
|
|
949
1003
|
asynchronous HTTP request, please pass async_req=True
|
|
950
1004
|
|
|
951
|
-
>>> thread = api.list_side_definitions_with_http_info(as_at, scope, async_req=True)
|
|
1005
|
+
>>> thread = api.list_side_definitions_with_http_info(as_at, scope, timeline_scope, timeline_code, closed_period_id, async_req=True)
|
|
952
1006
|
>>> result = thread.get()
|
|
953
1007
|
|
|
954
1008
|
:param as_at: The asAt datetime at which to retrieve the transaction types. Defaults to returning the latest versions if not specified.
|
|
955
1009
|
:type as_at: datetime
|
|
956
1010
|
:param scope: The scope in which the side exists. When not supplied the scope is 'default'.
|
|
957
1011
|
: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
|
|
958
1018
|
:param async_req: Whether to execute the request asynchronously.
|
|
959
1019
|
:type async_req: bool, optional
|
|
960
1020
|
:param _preload_content: if False, the ApiResponse.data will
|
|
@@ -983,7 +1043,10 @@ class TransactionConfigurationApi:
|
|
|
983
1043
|
|
|
984
1044
|
_all_params = [
|
|
985
1045
|
'as_at',
|
|
986
|
-
'scope'
|
|
1046
|
+
'scope',
|
|
1047
|
+
'timeline_scope',
|
|
1048
|
+
'timeline_code',
|
|
1049
|
+
'closed_period_id'
|
|
987
1050
|
]
|
|
988
1051
|
_all_params.extend(
|
|
989
1052
|
[
|
|
@@ -1024,6 +1087,15 @@ class TransactionConfigurationApi:
|
|
|
1024
1087
|
if _params.get('scope') is not None: # noqa: E501
|
|
1025
1088
|
_query_params.append(('scope', _params['scope']))
|
|
1026
1089
|
|
|
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
|
+
|
|
1027
1099
|
# process the header parameters
|
|
1028
1100
|
_header_params = dict(_params.get('_headers', {}))
|
|
1029
1101
|
# process the form parameters
|
|
@@ -1063,28 +1135,34 @@ class TransactionConfigurationApi:
|
|
|
1063
1135
|
|
|
1064
1136
|
|
|
1065
1137
|
@overload
|
|
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
|
|
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
|
|
1067
1139
|
...
|
|
1068
1140
|
|
|
1069
1141
|
@overload
|
|
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
|
|
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
|
|
1071
1143
|
...
|
|
1072
1144
|
|
|
1073
1145
|
@validate_arguments
|
|
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
|
|
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
|
|
1075
1147
|
"""ListTransactionTypes: List transaction types # noqa: E501
|
|
1076
1148
|
|
|
1077
1149
|
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
|
|
1078
1150
|
This method makes a synchronous HTTP request by default. To make an
|
|
1079
1151
|
asynchronous HTTP request, please pass async_req=True
|
|
1080
1152
|
|
|
1081
|
-
>>> thread = api.list_transaction_types(as_at, scope, async_req=True)
|
|
1153
|
+
>>> thread = api.list_transaction_types(as_at, scope, timeline_scope, timeline_code, closed_period_id, async_req=True)
|
|
1082
1154
|
>>> result = thread.get()
|
|
1083
1155
|
|
|
1084
1156
|
:param as_at: The asAt datetime at which to retrieve the transaction types. Defaults to returning the latest versions if not specified.
|
|
1085
1157
|
:type as_at: datetime
|
|
1086
1158
|
:param scope: The scope in which the side exists. When not supplied the scope is 'default'.
|
|
1087
1159
|
: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
|
|
1088
1166
|
:param async_req: Whether to execute the request asynchronously.
|
|
1089
1167
|
:type async_req: bool, optional
|
|
1090
1168
|
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
|
@@ -1101,23 +1179,29 @@ class TransactionConfigurationApi:
|
|
|
1101
1179
|
raise ValueError(message)
|
|
1102
1180
|
if async_req is not None:
|
|
1103
1181
|
kwargs['async_req'] = async_req
|
|
1104
|
-
return self.list_transaction_types_with_http_info(as_at, scope, **kwargs) # noqa: E501
|
|
1182
|
+
return self.list_transaction_types_with_http_info(as_at, scope, timeline_scope, timeline_code, closed_period_id, **kwargs) # noqa: E501
|
|
1105
1183
|
|
|
1106
1184
|
@validate_arguments
|
|
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
|
|
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
|
|
1108
1186
|
"""ListTransactionTypes: List transaction types # noqa: E501
|
|
1109
1187
|
|
|
1110
1188
|
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
|
|
1111
1189
|
This method makes a synchronous HTTP request by default. To make an
|
|
1112
1190
|
asynchronous HTTP request, please pass async_req=True
|
|
1113
1191
|
|
|
1114
|
-
>>> thread = api.list_transaction_types_with_http_info(as_at, scope, async_req=True)
|
|
1192
|
+
>>> thread = api.list_transaction_types_with_http_info(as_at, scope, timeline_scope, timeline_code, closed_period_id, async_req=True)
|
|
1115
1193
|
>>> result = thread.get()
|
|
1116
1194
|
|
|
1117
1195
|
:param as_at: The asAt datetime at which to retrieve the transaction types. Defaults to returning the latest versions if not specified.
|
|
1118
1196
|
:type as_at: datetime
|
|
1119
1197
|
:param scope: The scope in which the side exists. When not supplied the scope is 'default'.
|
|
1120
1198
|
: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
|
|
1121
1205
|
:param async_req: Whether to execute the request asynchronously.
|
|
1122
1206
|
:type async_req: bool, optional
|
|
1123
1207
|
:param _preload_content: if False, the ApiResponse.data will
|
|
@@ -1146,7 +1230,10 @@ class TransactionConfigurationApi:
|
|
|
1146
1230
|
|
|
1147
1231
|
_all_params = [
|
|
1148
1232
|
'as_at',
|
|
1149
|
-
'scope'
|
|
1233
|
+
'scope',
|
|
1234
|
+
'timeline_scope',
|
|
1235
|
+
'timeline_code',
|
|
1236
|
+
'closed_period_id'
|
|
1150
1237
|
]
|
|
1151
1238
|
_all_params.extend(
|
|
1152
1239
|
[
|
|
@@ -1187,6 +1274,15 @@ class TransactionConfigurationApi:
|
|
|
1187
1274
|
if _params.get('scope') is not None: # noqa: E501
|
|
1188
1275
|
_query_params.append(('scope', _params['scope']))
|
|
1189
1276
|
|
|
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
|
+
|
|
1190
1286
|
# process the header parameters
|
|
1191
1287
|
_header_params = dict(_params.get('_headers', {}))
|
|
1192
1288
|
# process the form parameters
|