lusid-sdk 2.1.850__py3-none-any.whl → 2.1.852__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 +6 -0
- lusid/api/funds_api.py +328 -80
- lusid/configuration.py +1 -1
- lusid/models/__init__.py +6 -0
- lusid/models/fund.py +45 -3
- lusid/models/fund_definition_request.py +182 -0
- lusid/models/nav_type_definition.py +158 -0
- lusid/models/portfolio_entity_id_with_details.py +100 -0
- lusid/models/valuation_point_data_query_parameters.py +7 -2
- {lusid_sdk-2.1.850.dist-info → lusid_sdk-2.1.852.dist-info}/METADATA +5 -1
- {lusid_sdk-2.1.850.dist-info → lusid_sdk-2.1.852.dist-info}/RECORD +12 -9
- {lusid_sdk-2.1.850.dist-info → lusid_sdk-2.1.852.dist-info}/WHEEL +0 -0
lusid/api/funds_api.py
CHANGED
@@ -33,6 +33,7 @@ from lusid.models.fee import Fee
|
|
33
33
|
from lusid.models.fee_properties import FeeProperties
|
34
34
|
from lusid.models.fee_request import FeeRequest
|
35
35
|
from lusid.models.fund import Fund
|
36
|
+
from lusid.models.fund_definition_request import FundDefinitionRequest
|
36
37
|
from lusid.models.fund_properties import FundProperties
|
37
38
|
from lusid.models.fund_request import FundRequest
|
38
39
|
from lusid.models.model_property import ModelProperty
|
@@ -77,22 +78,22 @@ class FundsApi:
|
|
77
78
|
|
78
79
|
|
79
80
|
@overload
|
80
|
-
async def accept_estimate_valuation_point(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Fund.")], code : Annotated[StrictStr, Field(..., description="The code of the Fund. Together with the scope this uniquely identifies the Fund.")], valuation_point_data_request : Annotated[ValuationPointDataRequest, Field(..., description="The valuationPointDataRequest which contains the Diary Entry code for the Estimate Valuation Point to move to Candidate or Final state.")], **kwargs) -> AcceptEstimateValuationPointResponse: # noqa: E501
|
81
|
+
async def accept_estimate_valuation_point(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Fund.")], code : Annotated[StrictStr, Field(..., description="The code of the Fund. Together with the scope this uniquely identifies the Fund.")], valuation_point_data_request : Annotated[ValuationPointDataRequest, Field(..., description="The valuationPointDataRequest which contains the Diary Entry code for the Estimate Valuation Point to move to Candidate or Final state.")], nav_type_code : Annotated[Optional[StrictStr], Field( description="When provided Accepts the Valuation Point of the specified NAV Type. When not provided the Primary NAV Type will be Accepted.")] = None, **kwargs) -> AcceptEstimateValuationPointResponse: # noqa: E501
|
81
82
|
...
|
82
83
|
|
83
84
|
@overload
|
84
|
-
def accept_estimate_valuation_point(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Fund.")], code : Annotated[StrictStr, Field(..., description="The code of the Fund. Together with the scope this uniquely identifies the Fund.")], valuation_point_data_request : Annotated[ValuationPointDataRequest, Field(..., description="The valuationPointDataRequest which contains the Diary Entry code for the Estimate Valuation Point to move to Candidate or Final state.")], async_req: Optional[bool]=True, **kwargs) -> AcceptEstimateValuationPointResponse: # noqa: E501
|
85
|
+
def accept_estimate_valuation_point(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Fund.")], code : Annotated[StrictStr, Field(..., description="The code of the Fund. Together with the scope this uniquely identifies the Fund.")], valuation_point_data_request : Annotated[ValuationPointDataRequest, Field(..., description="The valuationPointDataRequest which contains the Diary Entry code for the Estimate Valuation Point to move to Candidate or Final state.")], nav_type_code : Annotated[Optional[StrictStr], Field( description="When provided Accepts the Valuation Point of the specified NAV Type. When not provided the Primary NAV Type will be Accepted.")] = None, async_req: Optional[bool]=True, **kwargs) -> AcceptEstimateValuationPointResponse: # noqa: E501
|
85
86
|
...
|
86
87
|
|
87
88
|
@validate_arguments
|
88
|
-
def accept_estimate_valuation_point(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Fund.")], code : Annotated[StrictStr, Field(..., description="The code of the Fund. Together with the scope this uniquely identifies the Fund.")], valuation_point_data_request : Annotated[ValuationPointDataRequest, Field(..., description="The valuationPointDataRequest which contains the Diary Entry code for the Estimate Valuation Point to move to Candidate or Final state.")], async_req: Optional[bool]=None, **kwargs) -> Union[AcceptEstimateValuationPointResponse, Awaitable[AcceptEstimateValuationPointResponse]]: # noqa: E501
|
89
|
+
def accept_estimate_valuation_point(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Fund.")], code : Annotated[StrictStr, Field(..., description="The code of the Fund. Together with the scope this uniquely identifies the Fund.")], valuation_point_data_request : Annotated[ValuationPointDataRequest, Field(..., description="The valuationPointDataRequest which contains the Diary Entry code for the Estimate Valuation Point to move to Candidate or Final state.")], nav_type_code : Annotated[Optional[StrictStr], Field( description="When provided Accepts the Valuation Point of the specified NAV Type. When not provided the Primary NAV Type will be Accepted.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[AcceptEstimateValuationPointResponse, Awaitable[AcceptEstimateValuationPointResponse]]: # noqa: E501
|
89
90
|
"""[EXPERIMENTAL] AcceptEstimateValuationPoint: Accepts an Estimate Valuation Point. # noqa: E501
|
90
91
|
|
91
92
|
Accepts the specified estimate Valuation Point. Should the Valuation Point differ since the Valuation Point was last run, both Valuation Points will be returned and status will be marked as 'Candidate', otherwise it will be marked as 'Final'. # noqa: E501
|
92
93
|
This method makes a synchronous HTTP request by default. To make an
|
93
94
|
asynchronous HTTP request, please pass async_req=True
|
94
95
|
|
95
|
-
>>> thread = api.accept_estimate_valuation_point(scope, code, valuation_point_data_request, async_req=True)
|
96
|
+
>>> thread = api.accept_estimate_valuation_point(scope, code, valuation_point_data_request, nav_type_code, async_req=True)
|
96
97
|
>>> result = thread.get()
|
97
98
|
|
98
99
|
:param scope: The scope of the Fund. (required)
|
@@ -101,6 +102,8 @@ class FundsApi:
|
|
101
102
|
:type code: str
|
102
103
|
:param valuation_point_data_request: The valuationPointDataRequest which contains the Diary Entry code for the Estimate Valuation Point to move to Candidate or Final state. (required)
|
103
104
|
:type valuation_point_data_request: ValuationPointDataRequest
|
105
|
+
:param nav_type_code: When provided Accepts the Valuation Point of the specified NAV Type. When not provided the Primary NAV Type will be Accepted.
|
106
|
+
:type nav_type_code: str
|
104
107
|
:param async_req: Whether to execute the request asynchronously.
|
105
108
|
:type async_req: bool, optional
|
106
109
|
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
@@ -117,17 +120,17 @@ class FundsApi:
|
|
117
120
|
raise ValueError(message)
|
118
121
|
if async_req is not None:
|
119
122
|
kwargs['async_req'] = async_req
|
120
|
-
return self.accept_estimate_valuation_point_with_http_info(scope, code, valuation_point_data_request, **kwargs) # noqa: E501
|
123
|
+
return self.accept_estimate_valuation_point_with_http_info(scope, code, valuation_point_data_request, nav_type_code, **kwargs) # noqa: E501
|
121
124
|
|
122
125
|
@validate_arguments
|
123
|
-
def accept_estimate_valuation_point_with_http_info(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Fund.")], code : Annotated[StrictStr, Field(..., description="The code of the Fund. Together with the scope this uniquely identifies the Fund.")], valuation_point_data_request : Annotated[ValuationPointDataRequest, Field(..., description="The valuationPointDataRequest which contains the Diary Entry code for the Estimate Valuation Point to move to Candidate or Final state.")], **kwargs) -> ApiResponse: # noqa: E501
|
126
|
+
def accept_estimate_valuation_point_with_http_info(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Fund.")], code : Annotated[StrictStr, Field(..., description="The code of the Fund. Together with the scope this uniquely identifies the Fund.")], valuation_point_data_request : Annotated[ValuationPointDataRequest, Field(..., description="The valuationPointDataRequest which contains the Diary Entry code for the Estimate Valuation Point to move to Candidate or Final state.")], nav_type_code : Annotated[Optional[StrictStr], Field( description="When provided Accepts the Valuation Point of the specified NAV Type. When not provided the Primary NAV Type will be Accepted.")] = None, **kwargs) -> ApiResponse: # noqa: E501
|
124
127
|
"""[EXPERIMENTAL] AcceptEstimateValuationPoint: Accepts an Estimate Valuation Point. # noqa: E501
|
125
128
|
|
126
129
|
Accepts the specified estimate Valuation Point. Should the Valuation Point differ since the Valuation Point was last run, both Valuation Points will be returned and status will be marked as 'Candidate', otherwise it will be marked as 'Final'. # noqa: E501
|
127
130
|
This method makes a synchronous HTTP request by default. To make an
|
128
131
|
asynchronous HTTP request, please pass async_req=True
|
129
132
|
|
130
|
-
>>> thread = api.accept_estimate_valuation_point_with_http_info(scope, code, valuation_point_data_request, async_req=True)
|
133
|
+
>>> thread = api.accept_estimate_valuation_point_with_http_info(scope, code, valuation_point_data_request, nav_type_code, async_req=True)
|
131
134
|
>>> result = thread.get()
|
132
135
|
|
133
136
|
:param scope: The scope of the Fund. (required)
|
@@ -136,6 +139,8 @@ class FundsApi:
|
|
136
139
|
:type code: str
|
137
140
|
:param valuation_point_data_request: The valuationPointDataRequest which contains the Diary Entry code for the Estimate Valuation Point to move to Candidate or Final state. (required)
|
138
141
|
:type valuation_point_data_request: ValuationPointDataRequest
|
142
|
+
:param nav_type_code: When provided Accepts the Valuation Point of the specified NAV Type. When not provided the Primary NAV Type will be Accepted.
|
143
|
+
:type nav_type_code: str
|
139
144
|
:param async_req: Whether to execute the request asynchronously.
|
140
145
|
:type async_req: bool, optional
|
141
146
|
:param _preload_content: if False, the ApiResponse.data will
|
@@ -165,7 +170,8 @@ class FundsApi:
|
|
165
170
|
_all_params = [
|
166
171
|
'scope',
|
167
172
|
'code',
|
168
|
-
'valuation_point_data_request'
|
173
|
+
'valuation_point_data_request',
|
174
|
+
'nav_type_code'
|
169
175
|
]
|
170
176
|
_all_params.extend(
|
171
177
|
[
|
@@ -203,6 +209,9 @@ class FundsApi:
|
|
203
209
|
|
204
210
|
# process the query parameters
|
205
211
|
_query_params = []
|
212
|
+
if _params.get('nav_type_code') is not None: # noqa: E501
|
213
|
+
_query_params.append(('navTypeCode', _params['nav_type_code']))
|
214
|
+
|
206
215
|
# process the header parameters
|
207
216
|
_header_params = dict(_params.get('_headers', {}))
|
208
217
|
# process the form parameters
|
@@ -593,6 +602,173 @@ class FundsApi:
|
|
593
602
|
_request_auth=_params.get('_request_auth'))
|
594
603
|
|
595
604
|
|
605
|
+
@overload
|
606
|
+
async def create_fund_v2(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Fund.")], fund_definition_request : Annotated[FundDefinitionRequest, Field(..., description="The definition of the Fund.")], **kwargs) -> Fund: # noqa: E501
|
607
|
+
...
|
608
|
+
|
609
|
+
@overload
|
610
|
+
def create_fund_v2(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Fund.")], fund_definition_request : Annotated[FundDefinitionRequest, Field(..., description="The definition of the Fund.")], async_req: Optional[bool]=True, **kwargs) -> Fund: # noqa: E501
|
611
|
+
...
|
612
|
+
|
613
|
+
@validate_arguments
|
614
|
+
def create_fund_v2(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Fund.")], fund_definition_request : Annotated[FundDefinitionRequest, Field(..., description="The definition of the Fund.")], async_req: Optional[bool]=None, **kwargs) -> Union[Fund, Awaitable[Fund]]: # noqa: E501
|
615
|
+
"""[EXPERIMENTAL] CreateFundV2: Create a Fund V2 (Preview). # noqa: E501
|
616
|
+
|
617
|
+
Create the given V2 Fund. # noqa: E501
|
618
|
+
This method makes a synchronous HTTP request by default. To make an
|
619
|
+
asynchronous HTTP request, please pass async_req=True
|
620
|
+
|
621
|
+
>>> thread = api.create_fund_v2(scope, fund_definition_request, async_req=True)
|
622
|
+
>>> result = thread.get()
|
623
|
+
|
624
|
+
:param scope: The scope of the Fund. (required)
|
625
|
+
:type scope: str
|
626
|
+
:param fund_definition_request: The definition of the Fund. (required)
|
627
|
+
:type fund_definition_request: FundDefinitionRequest
|
628
|
+
:param async_req: Whether to execute the request asynchronously.
|
629
|
+
:type async_req: bool, optional
|
630
|
+
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
631
|
+
:param opts: Configuration options for this request
|
632
|
+
:type opts: ConfigurationOptions, optional
|
633
|
+
:return: Returns the result object.
|
634
|
+
If the method is called asynchronously,
|
635
|
+
returns the request thread.
|
636
|
+
:rtype: Fund
|
637
|
+
"""
|
638
|
+
kwargs['_return_http_data_only'] = True
|
639
|
+
if '_preload_content' in kwargs:
|
640
|
+
message = "Error! Please call the create_fund_v2_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501
|
641
|
+
raise ValueError(message)
|
642
|
+
if async_req is not None:
|
643
|
+
kwargs['async_req'] = async_req
|
644
|
+
return self.create_fund_v2_with_http_info(scope, fund_definition_request, **kwargs) # noqa: E501
|
645
|
+
|
646
|
+
@validate_arguments
|
647
|
+
def create_fund_v2_with_http_info(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Fund.")], fund_definition_request : Annotated[FundDefinitionRequest, Field(..., description="The definition of the Fund.")], **kwargs) -> ApiResponse: # noqa: E501
|
648
|
+
"""[EXPERIMENTAL] CreateFundV2: Create a Fund V2 (Preview). # noqa: E501
|
649
|
+
|
650
|
+
Create the given V2 Fund. # noqa: E501
|
651
|
+
This method makes a synchronous HTTP request by default. To make an
|
652
|
+
asynchronous HTTP request, please pass async_req=True
|
653
|
+
|
654
|
+
>>> thread = api.create_fund_v2_with_http_info(scope, fund_definition_request, async_req=True)
|
655
|
+
>>> result = thread.get()
|
656
|
+
|
657
|
+
:param scope: The scope of the Fund. (required)
|
658
|
+
:type scope: str
|
659
|
+
:param fund_definition_request: The definition of the Fund. (required)
|
660
|
+
:type fund_definition_request: FundDefinitionRequest
|
661
|
+
:param async_req: Whether to execute the request asynchronously.
|
662
|
+
:type async_req: bool, optional
|
663
|
+
:param _preload_content: if False, the ApiResponse.data will
|
664
|
+
be set to none and raw_data will store the
|
665
|
+
HTTP response body without reading/decoding.
|
666
|
+
Default is True.
|
667
|
+
:type _preload_content: bool, optional
|
668
|
+
:param _return_http_data_only: response data instead of ApiResponse
|
669
|
+
object with status code, headers, etc
|
670
|
+
:type _return_http_data_only: bool, optional
|
671
|
+
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
672
|
+
:param opts: Configuration options for this request
|
673
|
+
:type opts: ConfigurationOptions, optional
|
674
|
+
:param _request_auth: set to override the auth_settings for an a single
|
675
|
+
request; this effectively ignores the authentication
|
676
|
+
in the spec for a single request.
|
677
|
+
:type _request_auth: dict, optional
|
678
|
+
:type _content_type: string, optional: force content-type for the request
|
679
|
+
:return: Returns the result object.
|
680
|
+
If the method is called asynchronously,
|
681
|
+
returns the request thread.
|
682
|
+
:rtype: tuple(Fund, status_code(int), headers(HTTPHeaderDict))
|
683
|
+
"""
|
684
|
+
|
685
|
+
_params = locals()
|
686
|
+
|
687
|
+
_all_params = [
|
688
|
+
'scope',
|
689
|
+
'fund_definition_request'
|
690
|
+
]
|
691
|
+
_all_params.extend(
|
692
|
+
[
|
693
|
+
'async_req',
|
694
|
+
'_return_http_data_only',
|
695
|
+
'_preload_content',
|
696
|
+
'_request_timeout',
|
697
|
+
'_request_auth',
|
698
|
+
'_content_type',
|
699
|
+
'_headers',
|
700
|
+
'opts'
|
701
|
+
]
|
702
|
+
)
|
703
|
+
|
704
|
+
# validate the arguments
|
705
|
+
for _key, _val in _params['kwargs'].items():
|
706
|
+
if _key not in _all_params:
|
707
|
+
raise ApiTypeError(
|
708
|
+
"Got an unexpected keyword argument '%s'"
|
709
|
+
" to method create_fund_v2" % _key
|
710
|
+
)
|
711
|
+
_params[_key] = _val
|
712
|
+
del _params['kwargs']
|
713
|
+
|
714
|
+
_collection_formats = {}
|
715
|
+
|
716
|
+
# process the path parameters
|
717
|
+
_path_params = {}
|
718
|
+
if _params['scope']:
|
719
|
+
_path_params['scope'] = _params['scope']
|
720
|
+
|
721
|
+
|
722
|
+
# process the query parameters
|
723
|
+
_query_params = []
|
724
|
+
# process the header parameters
|
725
|
+
_header_params = dict(_params.get('_headers', {}))
|
726
|
+
# process the form parameters
|
727
|
+
_form_params = []
|
728
|
+
_files = {}
|
729
|
+
# process the body parameter
|
730
|
+
_body_params = None
|
731
|
+
if _params['fund_definition_request'] is not None:
|
732
|
+
_body_params = _params['fund_definition_request']
|
733
|
+
|
734
|
+
# set the HTTP header `Accept`
|
735
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
736
|
+
['text/plain', 'application/json', 'text/json']) # noqa: E501
|
737
|
+
|
738
|
+
# set the HTTP header `Content-Type`
|
739
|
+
_content_types_list = _params.get('_content_type',
|
740
|
+
self.api_client.select_header_content_type(
|
741
|
+
['application/json-patch+json', 'application/json', 'text/json', 'application/*+json']))
|
742
|
+
if _content_types_list:
|
743
|
+
_header_params['Content-Type'] = _content_types_list
|
744
|
+
|
745
|
+
# authentication setting
|
746
|
+
_auth_settings = ['oauth2'] # noqa: E501
|
747
|
+
|
748
|
+
_response_types_map = {
|
749
|
+
'201': "Fund",
|
750
|
+
'400': "LusidValidationProblemDetails",
|
751
|
+
}
|
752
|
+
|
753
|
+
return self.api_client.call_api(
|
754
|
+
'/api/funds/v2/{scope}', 'POST',
|
755
|
+
_path_params,
|
756
|
+
_query_params,
|
757
|
+
_header_params,
|
758
|
+
body=_body_params,
|
759
|
+
post_params=_form_params,
|
760
|
+
files=_files,
|
761
|
+
response_types_map=_response_types_map,
|
762
|
+
auth_settings=_auth_settings,
|
763
|
+
async_req=_params.get('async_req'),
|
764
|
+
_return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
|
765
|
+
_preload_content=_params.get('_preload_content', True),
|
766
|
+
_request_timeout=_params.get('_request_timeout'),
|
767
|
+
opts=_params.get('opts'),
|
768
|
+
collection_formats=_collection_formats,
|
769
|
+
_request_auth=_params.get('_request_auth'))
|
770
|
+
|
771
|
+
|
596
772
|
@overload
|
597
773
|
async def delete_fee(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Fund")], code : Annotated[StrictStr, Field(..., description="The code of the Fund. Together with the scope this uniquely identifies the Fund.")], fee_code : Annotated[StrictStr, Field(..., description="The code of the Fee to be deleted.")], **kwargs) -> DeletedEntityResponse: # noqa: E501
|
598
774
|
...
|
@@ -922,22 +1098,22 @@ class FundsApi:
|
|
922
1098
|
|
923
1099
|
|
924
1100
|
@overload
|
925
|
-
async def delete_valuation_point(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Fund for the valuation point to be deleted.")], code : Annotated[StrictStr, Field(..., description="The code of the Fund containing the Valuation Point to be deleted. Together with the scope this uniquely identifies the Fund.")], diary_entry_code : Annotated[StrictStr, Field(..., description="The diary entry code for the valuation Point to be deleted.")], **kwargs) -> DeletedEntityResponse: # noqa: E501
|
1101
|
+
async def delete_valuation_point(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Fund for the valuation point to be deleted.")], code : Annotated[StrictStr, Field(..., description="The code of the Fund containing the Valuation Point to be deleted. Together with the scope this uniquely identifies the Fund.")], diary_entry_code : Annotated[StrictStr, Field(..., description="The diary entry code for the valuation Point to be deleted.")], nav_type_code : Annotated[Optional[StrictStr], Field( description="When provided, Deletes the Valuation Point against the specified NAV Type. When not provided the Primary NAV Type will be Deleted.")] = None, **kwargs) -> DeletedEntityResponse: # noqa: E501
|
926
1102
|
...
|
927
1103
|
|
928
1104
|
@overload
|
929
|
-
def delete_valuation_point(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Fund for the valuation point to be deleted.")], code : Annotated[StrictStr, Field(..., description="The code of the Fund containing the Valuation Point to be deleted. Together with the scope this uniquely identifies the Fund.")], diary_entry_code : Annotated[StrictStr, Field(..., description="The diary entry code for the valuation Point to be deleted.")], async_req: Optional[bool]=True, **kwargs) -> DeletedEntityResponse: # noqa: E501
|
1105
|
+
def delete_valuation_point(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Fund for the valuation point to be deleted.")], code : Annotated[StrictStr, Field(..., description="The code of the Fund containing the Valuation Point to be deleted. Together with the scope this uniquely identifies the Fund.")], diary_entry_code : Annotated[StrictStr, Field(..., description="The diary entry code for the valuation Point to be deleted.")], nav_type_code : Annotated[Optional[StrictStr], Field( description="When provided, Deletes the Valuation Point against the specified NAV Type. When not provided the Primary NAV Type will be Deleted.")] = None, async_req: Optional[bool]=True, **kwargs) -> DeletedEntityResponse: # noqa: E501
|
930
1106
|
...
|
931
1107
|
|
932
1108
|
@validate_arguments
|
933
|
-
def delete_valuation_point(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Fund for the valuation point to be deleted.")], code : Annotated[StrictStr, Field(..., description="The code of the Fund containing the Valuation Point to be deleted. Together with the scope this uniquely identifies the Fund.")], diary_entry_code : Annotated[StrictStr, Field(..., description="The diary entry code for the valuation Point to be deleted.")], async_req: Optional[bool]=None, **kwargs) -> Union[DeletedEntityResponse, Awaitable[DeletedEntityResponse]]: # noqa: E501
|
1109
|
+
def delete_valuation_point(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Fund for the valuation point to be deleted.")], code : Annotated[StrictStr, Field(..., description="The code of the Fund containing the Valuation Point to be deleted. Together with the scope this uniquely identifies the Fund.")], diary_entry_code : Annotated[StrictStr, Field(..., description="The diary entry code for the valuation Point to be deleted.")], nav_type_code : Annotated[Optional[StrictStr], Field( description="When provided, Deletes the Valuation Point against the specified NAV Type. When not provided the Primary NAV Type will be Deleted.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[DeletedEntityResponse, Awaitable[DeletedEntityResponse]]: # noqa: E501
|
934
1110
|
"""[EXPERIMENTAL] DeleteValuationPoint: Delete a Valuation Point. # noqa: E501
|
935
1111
|
|
936
1112
|
Deletes the given Valuation Point. # noqa: E501
|
937
1113
|
This method makes a synchronous HTTP request by default. To make an
|
938
1114
|
asynchronous HTTP request, please pass async_req=True
|
939
1115
|
|
940
|
-
>>> thread = api.delete_valuation_point(scope, code, diary_entry_code, async_req=True)
|
1116
|
+
>>> thread = api.delete_valuation_point(scope, code, diary_entry_code, nav_type_code, async_req=True)
|
941
1117
|
>>> result = thread.get()
|
942
1118
|
|
943
1119
|
:param scope: The scope of the Fund for the valuation point to be deleted. (required)
|
@@ -946,6 +1122,8 @@ class FundsApi:
|
|
946
1122
|
:type code: str
|
947
1123
|
:param diary_entry_code: The diary entry code for the valuation Point to be deleted. (required)
|
948
1124
|
:type diary_entry_code: str
|
1125
|
+
:param nav_type_code: When provided, Deletes the Valuation Point against the specified NAV Type. When not provided the Primary NAV Type will be Deleted.
|
1126
|
+
:type nav_type_code: str
|
949
1127
|
:param async_req: Whether to execute the request asynchronously.
|
950
1128
|
:type async_req: bool, optional
|
951
1129
|
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
@@ -962,17 +1140,17 @@ class FundsApi:
|
|
962
1140
|
raise ValueError(message)
|
963
1141
|
if async_req is not None:
|
964
1142
|
kwargs['async_req'] = async_req
|
965
|
-
return self.delete_valuation_point_with_http_info(scope, code, diary_entry_code, **kwargs) # noqa: E501
|
1143
|
+
return self.delete_valuation_point_with_http_info(scope, code, diary_entry_code, nav_type_code, **kwargs) # noqa: E501
|
966
1144
|
|
967
1145
|
@validate_arguments
|
968
|
-
def delete_valuation_point_with_http_info(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Fund for the valuation point to be deleted.")], code : Annotated[StrictStr, Field(..., description="The code of the Fund containing the Valuation Point to be deleted. Together with the scope this uniquely identifies the Fund.")], diary_entry_code : Annotated[StrictStr, Field(..., description="The diary entry code for the valuation Point to be deleted.")], **kwargs) -> ApiResponse: # noqa: E501
|
1146
|
+
def delete_valuation_point_with_http_info(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Fund for the valuation point to be deleted.")], code : Annotated[StrictStr, Field(..., description="The code of the Fund containing the Valuation Point to be deleted. Together with the scope this uniquely identifies the Fund.")], diary_entry_code : Annotated[StrictStr, Field(..., description="The diary entry code for the valuation Point to be deleted.")], nav_type_code : Annotated[Optional[StrictStr], Field( description="When provided, Deletes the Valuation Point against the specified NAV Type. When not provided the Primary NAV Type will be Deleted.")] = None, **kwargs) -> ApiResponse: # noqa: E501
|
969
1147
|
"""[EXPERIMENTAL] DeleteValuationPoint: Delete a Valuation Point. # noqa: E501
|
970
1148
|
|
971
1149
|
Deletes the given Valuation Point. # noqa: E501
|
972
1150
|
This method makes a synchronous HTTP request by default. To make an
|
973
1151
|
asynchronous HTTP request, please pass async_req=True
|
974
1152
|
|
975
|
-
>>> thread = api.delete_valuation_point_with_http_info(scope, code, diary_entry_code, async_req=True)
|
1153
|
+
>>> thread = api.delete_valuation_point_with_http_info(scope, code, diary_entry_code, nav_type_code, async_req=True)
|
976
1154
|
>>> result = thread.get()
|
977
1155
|
|
978
1156
|
:param scope: The scope of the Fund for the valuation point to be deleted. (required)
|
@@ -981,6 +1159,8 @@ class FundsApi:
|
|
981
1159
|
:type code: str
|
982
1160
|
:param diary_entry_code: The diary entry code for the valuation Point to be deleted. (required)
|
983
1161
|
:type diary_entry_code: str
|
1162
|
+
:param nav_type_code: When provided, Deletes the Valuation Point against the specified NAV Type. When not provided the Primary NAV Type will be Deleted.
|
1163
|
+
:type nav_type_code: str
|
984
1164
|
:param async_req: Whether to execute the request asynchronously.
|
985
1165
|
:type async_req: bool, optional
|
986
1166
|
:param _preload_content: if False, the ApiResponse.data will
|
@@ -1010,7 +1190,8 @@ class FundsApi:
|
|
1010
1190
|
_all_params = [
|
1011
1191
|
'scope',
|
1012
1192
|
'code',
|
1013
|
-
'diary_entry_code'
|
1193
|
+
'diary_entry_code',
|
1194
|
+
'nav_type_code'
|
1014
1195
|
]
|
1015
1196
|
_all_params.extend(
|
1016
1197
|
[
|
@@ -1051,6 +1232,9 @@ class FundsApi:
|
|
1051
1232
|
|
1052
1233
|
# process the query parameters
|
1053
1234
|
_query_params = []
|
1235
|
+
if _params.get('nav_type_code') is not None: # noqa: E501
|
1236
|
+
_query_params.append(('navTypeCode', _params['nav_type_code']))
|
1237
|
+
|
1054
1238
|
# process the header parameters
|
1055
1239
|
_header_params = dict(_params.get('_headers', {}))
|
1056
1240
|
# process the form parameters
|
@@ -1090,22 +1274,22 @@ class FundsApi:
|
|
1090
1274
|
|
1091
1275
|
|
1092
1276
|
@overload
|
1093
|
-
async def finalise_candidate_valuation_point(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Fund.")], code : Annotated[StrictStr, Field(..., description="The code of the Fund. Together with the scope this uniquely identifies the Fund.")], valuation_point_data_request : Annotated[ValuationPointDataRequest, Field(..., description="The valuationPointDataRequest which contains the diary entry code to mark as final.")], **kwargs) -> ValuationPointDataResponse: # noqa: E501
|
1277
|
+
async def finalise_candidate_valuation_point(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Fund.")], code : Annotated[StrictStr, Field(..., description="The code of the Fund. Together with the scope this uniquely identifies the Fund.")], valuation_point_data_request : Annotated[ValuationPointDataRequest, Field(..., description="The valuationPointDataRequest which contains the diary entry code to mark as final.")], nav_type_code : Annotated[Optional[StrictStr], Field( description="When provided Finalises the Valuation Point of the specified NAV Type. When not provided the Primary NAV Type will be Finalised.")] = None, **kwargs) -> ValuationPointDataResponse: # noqa: E501
|
1094
1278
|
...
|
1095
1279
|
|
1096
1280
|
@overload
|
1097
|
-
def finalise_candidate_valuation_point(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Fund.")], code : Annotated[StrictStr, Field(..., description="The code of the Fund. Together with the scope this uniquely identifies the Fund.")], valuation_point_data_request : Annotated[ValuationPointDataRequest, Field(..., description="The valuationPointDataRequest which contains the diary entry code to mark as final.")], async_req: Optional[bool]=True, **kwargs) -> ValuationPointDataResponse: # noqa: E501
|
1281
|
+
def finalise_candidate_valuation_point(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Fund.")], code : Annotated[StrictStr, Field(..., description="The code of the Fund. Together with the scope this uniquely identifies the Fund.")], valuation_point_data_request : Annotated[ValuationPointDataRequest, Field(..., description="The valuationPointDataRequest which contains the diary entry code to mark as final.")], nav_type_code : Annotated[Optional[StrictStr], Field( description="When provided Finalises the Valuation Point of the specified NAV Type. When not provided the Primary NAV Type will be Finalised.")] = None, async_req: Optional[bool]=True, **kwargs) -> ValuationPointDataResponse: # noqa: E501
|
1098
1282
|
...
|
1099
1283
|
|
1100
1284
|
@validate_arguments
|
1101
|
-
def finalise_candidate_valuation_point(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Fund.")], code : Annotated[StrictStr, Field(..., description="The code of the Fund. Together with the scope this uniquely identifies the Fund.")], valuation_point_data_request : Annotated[ValuationPointDataRequest, Field(..., description="The valuationPointDataRequest which contains the diary entry code to mark as final.")], async_req: Optional[bool]=None, **kwargs) -> Union[ValuationPointDataResponse, Awaitable[ValuationPointDataResponse]]: # noqa: E501
|
1285
|
+
def finalise_candidate_valuation_point(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Fund.")], code : Annotated[StrictStr, Field(..., description="The code of the Fund. Together with the scope this uniquely identifies the Fund.")], valuation_point_data_request : Annotated[ValuationPointDataRequest, Field(..., description="The valuationPointDataRequest which contains the diary entry code to mark as final.")], nav_type_code : Annotated[Optional[StrictStr], Field( description="When provided Finalises the Valuation Point of the specified NAV Type. When not provided the Primary NAV Type will be Finalised.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[ValuationPointDataResponse, Awaitable[ValuationPointDataResponse]]: # noqa: E501
|
1102
1286
|
"""[EXPERIMENTAL] FinaliseCandidateValuationPoint: Finalise Candidate. # noqa: E501
|
1103
1287
|
|
1104
1288
|
Moves a 'Candidate' status Valuation Point to status 'Final'. # noqa: E501
|
1105
1289
|
This method makes a synchronous HTTP request by default. To make an
|
1106
1290
|
asynchronous HTTP request, please pass async_req=True
|
1107
1291
|
|
1108
|
-
>>> thread = api.finalise_candidate_valuation_point(scope, code, valuation_point_data_request, async_req=True)
|
1292
|
+
>>> thread = api.finalise_candidate_valuation_point(scope, code, valuation_point_data_request, nav_type_code, async_req=True)
|
1109
1293
|
>>> result = thread.get()
|
1110
1294
|
|
1111
1295
|
:param scope: The scope of the Fund. (required)
|
@@ -1114,6 +1298,8 @@ class FundsApi:
|
|
1114
1298
|
:type code: str
|
1115
1299
|
:param valuation_point_data_request: The valuationPointDataRequest which contains the diary entry code to mark as final. (required)
|
1116
1300
|
:type valuation_point_data_request: ValuationPointDataRequest
|
1301
|
+
:param nav_type_code: When provided Finalises the Valuation Point of the specified NAV Type. When not provided the Primary NAV Type will be Finalised.
|
1302
|
+
:type nav_type_code: str
|
1117
1303
|
:param async_req: Whether to execute the request asynchronously.
|
1118
1304
|
:type async_req: bool, optional
|
1119
1305
|
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
@@ -1130,17 +1316,17 @@ class FundsApi:
|
|
1130
1316
|
raise ValueError(message)
|
1131
1317
|
if async_req is not None:
|
1132
1318
|
kwargs['async_req'] = async_req
|
1133
|
-
return self.finalise_candidate_valuation_point_with_http_info(scope, code, valuation_point_data_request, **kwargs) # noqa: E501
|
1319
|
+
return self.finalise_candidate_valuation_point_with_http_info(scope, code, valuation_point_data_request, nav_type_code, **kwargs) # noqa: E501
|
1134
1320
|
|
1135
1321
|
@validate_arguments
|
1136
|
-
def finalise_candidate_valuation_point_with_http_info(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Fund.")], code : Annotated[StrictStr, Field(..., description="The code of the Fund. Together with the scope this uniquely identifies the Fund.")], valuation_point_data_request : Annotated[ValuationPointDataRequest, Field(..., description="The valuationPointDataRequest which contains the diary entry code to mark as final.")], **kwargs) -> ApiResponse: # noqa: E501
|
1322
|
+
def finalise_candidate_valuation_point_with_http_info(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Fund.")], code : Annotated[StrictStr, Field(..., description="The code of the Fund. Together with the scope this uniquely identifies the Fund.")], valuation_point_data_request : Annotated[ValuationPointDataRequest, Field(..., description="The valuationPointDataRequest which contains the diary entry code to mark as final.")], nav_type_code : Annotated[Optional[StrictStr], Field( description="When provided Finalises the Valuation Point of the specified NAV Type. When not provided the Primary NAV Type will be Finalised.")] = None, **kwargs) -> ApiResponse: # noqa: E501
|
1137
1323
|
"""[EXPERIMENTAL] FinaliseCandidateValuationPoint: Finalise Candidate. # noqa: E501
|
1138
1324
|
|
1139
1325
|
Moves a 'Candidate' status Valuation Point to status 'Final'. # noqa: E501
|
1140
1326
|
This method makes a synchronous HTTP request by default. To make an
|
1141
1327
|
asynchronous HTTP request, please pass async_req=True
|
1142
1328
|
|
1143
|
-
>>> thread = api.finalise_candidate_valuation_point_with_http_info(scope, code, valuation_point_data_request, async_req=True)
|
1329
|
+
>>> thread = api.finalise_candidate_valuation_point_with_http_info(scope, code, valuation_point_data_request, nav_type_code, async_req=True)
|
1144
1330
|
>>> result = thread.get()
|
1145
1331
|
|
1146
1332
|
:param scope: The scope of the Fund. (required)
|
@@ -1149,6 +1335,8 @@ class FundsApi:
|
|
1149
1335
|
:type code: str
|
1150
1336
|
:param valuation_point_data_request: The valuationPointDataRequest which contains the diary entry code to mark as final. (required)
|
1151
1337
|
:type valuation_point_data_request: ValuationPointDataRequest
|
1338
|
+
:param nav_type_code: When provided Finalises the Valuation Point of the specified NAV Type. When not provided the Primary NAV Type will be Finalised.
|
1339
|
+
:type nav_type_code: str
|
1152
1340
|
:param async_req: Whether to execute the request asynchronously.
|
1153
1341
|
:type async_req: bool, optional
|
1154
1342
|
:param _preload_content: if False, the ApiResponse.data will
|
@@ -1178,7 +1366,8 @@ class FundsApi:
|
|
1178
1366
|
_all_params = [
|
1179
1367
|
'scope',
|
1180
1368
|
'code',
|
1181
|
-
'valuation_point_data_request'
|
1369
|
+
'valuation_point_data_request',
|
1370
|
+
'nav_type_code'
|
1182
1371
|
]
|
1183
1372
|
_all_params.extend(
|
1184
1373
|
[
|
@@ -1216,6 +1405,9 @@ class FundsApi:
|
|
1216
1405
|
|
1217
1406
|
# process the query parameters
|
1218
1407
|
_query_params = []
|
1408
|
+
if _params.get('nav_type_code') is not None: # noqa: E501
|
1409
|
+
_query_params.append(('navTypeCode', _params['nav_type_code']))
|
1410
|
+
|
1219
1411
|
# process the header parameters
|
1220
1412
|
_header_params = dict(_params.get('_headers', {}))
|
1221
1413
|
# process the form parameters
|
@@ -2015,22 +2207,22 @@ class FundsApi:
|
|
2015
2207
|
|
2016
2208
|
|
2017
2209
|
@overload
|
2018
|
-
async def get_valuation_point_data(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Fund.")], code : Annotated[StrictStr, Field(..., description="The code of the Fund. Together with the scope this uniquely identifies the Fund.")], valuation_point_data_query_parameters : Annotated[ValuationPointDataQueryParameters, Field(..., description="The arguments to use for querying the Valuation Point data")], as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the Fund definition. Defaults to returning the latest version of the Fund definition if not specified.")] = None, **kwargs) -> ValuationPointDataResponse: # noqa: E501
|
2210
|
+
async def get_valuation_point_data(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Fund.")], code : Annotated[StrictStr, Field(..., description="The code of the Fund. Together with the scope this uniquely identifies the Fund.")], valuation_point_data_query_parameters : Annotated[ValuationPointDataQueryParameters, Field(..., description="The arguments to use for querying the Valuation Point data")], as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the Fund definition. Defaults to returning the latest version of the Fund definition if not specified.")] = None, nav_type_code : Annotated[Optional[StrictStr], Field( description="When provided runs against the specified NAV Type, otherwise the Primary NAV Type will be used.")] = None, **kwargs) -> ValuationPointDataResponse: # noqa: E501
|
2019
2211
|
...
|
2020
2212
|
|
2021
2213
|
@overload
|
2022
|
-
def get_valuation_point_data(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Fund.")], code : Annotated[StrictStr, Field(..., description="The code of the Fund. Together with the scope this uniquely identifies the Fund.")], valuation_point_data_query_parameters : Annotated[ValuationPointDataQueryParameters, Field(..., description="The arguments to use for querying the Valuation Point data")], as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the Fund definition. Defaults to returning the latest version of the Fund definition if not specified.")] = None, async_req: Optional[bool]=True, **kwargs) -> ValuationPointDataResponse: # noqa: E501
|
2214
|
+
def get_valuation_point_data(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Fund.")], code : Annotated[StrictStr, Field(..., description="The code of the Fund. Together with the scope this uniquely identifies the Fund.")], valuation_point_data_query_parameters : Annotated[ValuationPointDataQueryParameters, Field(..., description="The arguments to use for querying the Valuation Point data")], as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the Fund definition. Defaults to returning the latest version of the Fund definition if not specified.")] = None, nav_type_code : Annotated[Optional[StrictStr], Field( description="When provided runs against the specified NAV Type, otherwise the Primary NAV Type will be used.")] = None, async_req: Optional[bool]=True, **kwargs) -> ValuationPointDataResponse: # noqa: E501
|
2023
2215
|
...
|
2024
2216
|
|
2025
2217
|
@validate_arguments
|
2026
|
-
def get_valuation_point_data(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Fund.")], code : Annotated[StrictStr, Field(..., description="The code of the Fund. Together with the scope this uniquely identifies the Fund.")], valuation_point_data_query_parameters : Annotated[ValuationPointDataQueryParameters, Field(..., description="The arguments to use for querying the Valuation Point data")], as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the Fund definition. Defaults to returning the latest version of the Fund definition if not specified.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[ValuationPointDataResponse, Awaitable[ValuationPointDataResponse]]: # noqa: E501
|
2218
|
+
def get_valuation_point_data(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Fund.")], code : Annotated[StrictStr, Field(..., description="The code of the Fund. Together with the scope this uniquely identifies the Fund.")], valuation_point_data_query_parameters : Annotated[ValuationPointDataQueryParameters, Field(..., description="The arguments to use for querying the Valuation Point data")], as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the Fund definition. Defaults to returning the latest version of the Fund definition if not specified.")] = None, nav_type_code : Annotated[Optional[StrictStr], Field( description="When provided runs against the specified NAV Type, otherwise the Primary NAV Type will be used.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[ValuationPointDataResponse, Awaitable[ValuationPointDataResponse]]: # noqa: E501
|
2027
2219
|
"""[EXPERIMENTAL] GetValuationPointData: Get Valuation Point Data for a Fund. # noqa: E501
|
2028
2220
|
|
2029
2221
|
Retrieves the Valuation Point data for a date or specified Diary Entry Id. The endpoint will internally extract all 'Assets' and 'Liabilities' from the related ABOR's Trial balance to produce a GAV. Start date will be assumed from the last 'official' DiaryEntry and EndDate will be as provided. # noqa: E501
|
2030
2222
|
This method makes a synchronous HTTP request by default. To make an
|
2031
2223
|
asynchronous HTTP request, please pass async_req=True
|
2032
2224
|
|
2033
|
-
>>> thread = api.get_valuation_point_data(scope, code, valuation_point_data_query_parameters, as_at, async_req=True)
|
2225
|
+
>>> thread = api.get_valuation_point_data(scope, code, valuation_point_data_query_parameters, as_at, nav_type_code, async_req=True)
|
2034
2226
|
>>> result = thread.get()
|
2035
2227
|
|
2036
2228
|
:param scope: The scope of the Fund. (required)
|
@@ -2041,6 +2233,8 @@ class FundsApi:
|
|
2041
2233
|
:type valuation_point_data_query_parameters: ValuationPointDataQueryParameters
|
2042
2234
|
:param as_at: The asAt datetime at which to retrieve the Fund definition. Defaults to returning the latest version of the Fund definition if not specified.
|
2043
2235
|
:type as_at: datetime
|
2236
|
+
:param nav_type_code: When provided runs against the specified NAV Type, otherwise the Primary NAV Type will be used.
|
2237
|
+
:type nav_type_code: str
|
2044
2238
|
:param async_req: Whether to execute the request asynchronously.
|
2045
2239
|
:type async_req: bool, optional
|
2046
2240
|
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
@@ -2057,17 +2251,17 @@ class FundsApi:
|
|
2057
2251
|
raise ValueError(message)
|
2058
2252
|
if async_req is not None:
|
2059
2253
|
kwargs['async_req'] = async_req
|
2060
|
-
return self.get_valuation_point_data_with_http_info(scope, code, valuation_point_data_query_parameters, as_at, **kwargs) # noqa: E501
|
2254
|
+
return self.get_valuation_point_data_with_http_info(scope, code, valuation_point_data_query_parameters, as_at, nav_type_code, **kwargs) # noqa: E501
|
2061
2255
|
|
2062
2256
|
@validate_arguments
|
2063
|
-
def get_valuation_point_data_with_http_info(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Fund.")], code : Annotated[StrictStr, Field(..., description="The code of the Fund. Together with the scope this uniquely identifies the Fund.")], valuation_point_data_query_parameters : Annotated[ValuationPointDataQueryParameters, Field(..., description="The arguments to use for querying the Valuation Point data")], as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the Fund definition. Defaults to returning the latest version of the Fund definition if not specified.")] = None, **kwargs) -> ApiResponse: # noqa: E501
|
2257
|
+
def get_valuation_point_data_with_http_info(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Fund.")], code : Annotated[StrictStr, Field(..., description="The code of the Fund. Together with the scope this uniquely identifies the Fund.")], valuation_point_data_query_parameters : Annotated[ValuationPointDataQueryParameters, Field(..., description="The arguments to use for querying the Valuation Point data")], as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the Fund definition. Defaults to returning the latest version of the Fund definition if not specified.")] = None, nav_type_code : Annotated[Optional[StrictStr], Field( description="When provided runs against the specified NAV Type, otherwise the Primary NAV Type will be used.")] = None, **kwargs) -> ApiResponse: # noqa: E501
|
2064
2258
|
"""[EXPERIMENTAL] GetValuationPointData: Get Valuation Point Data for a Fund. # noqa: E501
|
2065
2259
|
|
2066
2260
|
Retrieves the Valuation Point data for a date or specified Diary Entry Id. The endpoint will internally extract all 'Assets' and 'Liabilities' from the related ABOR's Trial balance to produce a GAV. Start date will be assumed from the last 'official' DiaryEntry and EndDate will be as provided. # noqa: E501
|
2067
2261
|
This method makes a synchronous HTTP request by default. To make an
|
2068
2262
|
asynchronous HTTP request, please pass async_req=True
|
2069
2263
|
|
2070
|
-
>>> thread = api.get_valuation_point_data_with_http_info(scope, code, valuation_point_data_query_parameters, as_at, async_req=True)
|
2264
|
+
>>> thread = api.get_valuation_point_data_with_http_info(scope, code, valuation_point_data_query_parameters, as_at, nav_type_code, async_req=True)
|
2071
2265
|
>>> result = thread.get()
|
2072
2266
|
|
2073
2267
|
:param scope: The scope of the Fund. (required)
|
@@ -2078,6 +2272,8 @@ class FundsApi:
|
|
2078
2272
|
:type valuation_point_data_query_parameters: ValuationPointDataQueryParameters
|
2079
2273
|
:param as_at: The asAt datetime at which to retrieve the Fund definition. Defaults to returning the latest version of the Fund definition if not specified.
|
2080
2274
|
:type as_at: datetime
|
2275
|
+
:param nav_type_code: When provided runs against the specified NAV Type, otherwise the Primary NAV Type will be used.
|
2276
|
+
:type nav_type_code: str
|
2081
2277
|
:param async_req: Whether to execute the request asynchronously.
|
2082
2278
|
:type async_req: bool, optional
|
2083
2279
|
:param _preload_content: if False, the ApiResponse.data will
|
@@ -2108,7 +2304,8 @@ class FundsApi:
|
|
2108
2304
|
'scope',
|
2109
2305
|
'code',
|
2110
2306
|
'valuation_point_data_query_parameters',
|
2111
|
-
'as_at'
|
2307
|
+
'as_at',
|
2308
|
+
'nav_type_code'
|
2112
2309
|
]
|
2113
2310
|
_all_params.extend(
|
2114
2311
|
[
|
@@ -2152,6 +2349,9 @@ class FundsApi:
|
|
2152
2349
|
else:
|
2153
2350
|
_query_params.append(('asAt', _params['as_at']))
|
2154
2351
|
|
2352
|
+
if _params.get('nav_type_code') is not None: # noqa: E501
|
2353
|
+
_query_params.append(('navTypeCode', _params['nav_type_code']))
|
2354
|
+
|
2155
2355
|
# process the header parameters
|
2156
2356
|
_header_params = dict(_params.get('_headers', {}))
|
2157
2357
|
# process the form parameters
|
@@ -2201,22 +2401,22 @@ class FundsApi:
|
|
2201
2401
|
|
2202
2402
|
|
2203
2403
|
@overload
|
2204
|
-
async def get_valuation_point_journal_entry_lines(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Fund.")], code : Annotated[StrictStr, Field(..., description="The code of the Fund. Together with the scope is creating the unique identifier for the given Fund.")], valuation_point_data_query_parameters : Annotated[ValuationPointDataQueryParameters, Field(..., description="The arguments to use for querying the Journal Entry lines.")], general_ledger_profile_code : Annotated[Optional[StrictStr], Field( description="The optional code of a general ledger profile used to decorate journal entry lines with levels.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve Journal Entry lines. Defaults to returning the latest version of each transaction if not specified.")] = None, filter : Annotated[Optional[StrictStr], Field( description="Expression to filter the result set.")] = None, limit : Annotated[Optional[conint(strict=True)], Field(description="When paginating, limit the number of returned results to this many. Defaults to 100 if not specified.")] = None, page : Annotated[Optional[StrictStr], Field( description="The pagination token to use to continue listing Journal Entry lines from a previous call to GetValuationPointJournalEntryLines.")] = None, property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the 'Instrument', 'Transaction', 'Portfolio', 'Account', 'LegalEntity' or 'CustodianAccount' domain to decorate onto the journal entry lines.")] = None, **kwargs) -> ValuationPointResourceListOfFundJournalEntryLine: # noqa: E501
|
2404
|
+
async def get_valuation_point_journal_entry_lines(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Fund.")], code : Annotated[StrictStr, Field(..., description="The code of the Fund. Together with the scope is creating the unique identifier for the given Fund.")], valuation_point_data_query_parameters : Annotated[ValuationPointDataQueryParameters, Field(..., description="The arguments to use for querying the Journal Entry lines.")], general_ledger_profile_code : Annotated[Optional[StrictStr], Field( description="The optional code of a general ledger profile used to decorate journal entry lines with levels.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve Journal Entry lines. Defaults to returning the latest version of each transaction if not specified.")] = None, filter : Annotated[Optional[StrictStr], Field( description="Expression to filter the result set.")] = None, limit : Annotated[Optional[conint(strict=True)], Field(description="When paginating, limit the number of returned results to this many. Defaults to 100 if not specified.")] = None, page : Annotated[Optional[StrictStr], Field( description="The pagination token to use to continue listing Journal Entry lines from a previous call to GetValuationPointJournalEntryLines.")] = None, property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the 'Instrument', 'Transaction', 'Portfolio', 'Account', 'LegalEntity' or 'CustodianAccount' domain to decorate onto the journal entry lines.")] = None, nav_type_code : Annotated[Optional[StrictStr], Field( description="May be provided to view a specific NAV type. When not provided, Primary NAV will be used.")] = None, **kwargs) -> ValuationPointResourceListOfFundJournalEntryLine: # noqa: E501
|
2205
2405
|
...
|
2206
2406
|
|
2207
2407
|
@overload
|
2208
|
-
def get_valuation_point_journal_entry_lines(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Fund.")], code : Annotated[StrictStr, Field(..., description="The code of the Fund. Together with the scope is creating the unique identifier for the given Fund.")], valuation_point_data_query_parameters : Annotated[ValuationPointDataQueryParameters, Field(..., description="The arguments to use for querying the Journal Entry lines.")], general_ledger_profile_code : Annotated[Optional[StrictStr], Field( description="The optional code of a general ledger profile used to decorate journal entry lines with levels.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve Journal Entry lines. Defaults to returning the latest version of each transaction if not specified.")] = None, filter : Annotated[Optional[StrictStr], Field( description="Expression to filter the result set.")] = None, limit : Annotated[Optional[conint(strict=True)], Field(description="When paginating, limit the number of returned results to this many. Defaults to 100 if not specified.")] = None, page : Annotated[Optional[StrictStr], Field( description="The pagination token to use to continue listing Journal Entry lines from a previous call to GetValuationPointJournalEntryLines.")] = None, property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the 'Instrument', 'Transaction', 'Portfolio', 'Account', 'LegalEntity' or 'CustodianAccount' domain to decorate onto the journal entry lines.")] = None, async_req: Optional[bool]=True, **kwargs) -> ValuationPointResourceListOfFundJournalEntryLine: # noqa: E501
|
2408
|
+
def get_valuation_point_journal_entry_lines(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Fund.")], code : Annotated[StrictStr, Field(..., description="The code of the Fund. Together with the scope is creating the unique identifier for the given Fund.")], valuation_point_data_query_parameters : Annotated[ValuationPointDataQueryParameters, Field(..., description="The arguments to use for querying the Journal Entry lines.")], general_ledger_profile_code : Annotated[Optional[StrictStr], Field( description="The optional code of a general ledger profile used to decorate journal entry lines with levels.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve Journal Entry lines. Defaults to returning the latest version of each transaction if not specified.")] = None, filter : Annotated[Optional[StrictStr], Field( description="Expression to filter the result set.")] = None, limit : Annotated[Optional[conint(strict=True)], Field(description="When paginating, limit the number of returned results to this many. Defaults to 100 if not specified.")] = None, page : Annotated[Optional[StrictStr], Field( description="The pagination token to use to continue listing Journal Entry lines from a previous call to GetValuationPointJournalEntryLines.")] = None, property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the 'Instrument', 'Transaction', 'Portfolio', 'Account', 'LegalEntity' or 'CustodianAccount' domain to decorate onto the journal entry lines.")] = None, nav_type_code : Annotated[Optional[StrictStr], Field( description="May be provided to view a specific NAV type. When not provided, Primary NAV will be used.")] = None, async_req: Optional[bool]=True, **kwargs) -> ValuationPointResourceListOfFundJournalEntryLine: # noqa: E501
|
2209
2409
|
...
|
2210
2410
|
|
2211
2411
|
@validate_arguments
|
2212
|
-
def get_valuation_point_journal_entry_lines(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Fund.")], code : Annotated[StrictStr, Field(..., description="The code of the Fund. Together with the scope is creating the unique identifier for the given Fund.")], valuation_point_data_query_parameters : Annotated[ValuationPointDataQueryParameters, Field(..., description="The arguments to use for querying the Journal Entry lines.")], general_ledger_profile_code : Annotated[Optional[StrictStr], Field( description="The optional code of a general ledger profile used to decorate journal entry lines with levels.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve Journal Entry lines. Defaults to returning the latest version of each transaction if not specified.")] = None, filter : Annotated[Optional[StrictStr], Field( description="Expression to filter the result set.")] = None, limit : Annotated[Optional[conint(strict=True)], Field(description="When paginating, limit the number of returned results to this many. Defaults to 100 if not specified.")] = None, page : Annotated[Optional[StrictStr], Field( description="The pagination token to use to continue listing Journal Entry lines from a previous call to GetValuationPointJournalEntryLines.")] = None, property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the 'Instrument', 'Transaction', 'Portfolio', 'Account', 'LegalEntity' or 'CustodianAccount' domain to decorate onto the journal entry lines.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[ValuationPointResourceListOfFundJournalEntryLine, Awaitable[ValuationPointResourceListOfFundJournalEntryLine]]: # noqa: E501
|
2412
|
+
def get_valuation_point_journal_entry_lines(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Fund.")], code : Annotated[StrictStr, Field(..., description="The code of the Fund. Together with the scope is creating the unique identifier for the given Fund.")], valuation_point_data_query_parameters : Annotated[ValuationPointDataQueryParameters, Field(..., description="The arguments to use for querying the Journal Entry lines.")], general_ledger_profile_code : Annotated[Optional[StrictStr], Field( description="The optional code of a general ledger profile used to decorate journal entry lines with levels.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve Journal Entry lines. Defaults to returning the latest version of each transaction if not specified.")] = None, filter : Annotated[Optional[StrictStr], Field( description="Expression to filter the result set.")] = None, limit : Annotated[Optional[conint(strict=True)], Field(description="When paginating, limit the number of returned results to this many. Defaults to 100 if not specified.")] = None, page : Annotated[Optional[StrictStr], Field( description="The pagination token to use to continue listing Journal Entry lines from a previous call to GetValuationPointJournalEntryLines.")] = None, property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the 'Instrument', 'Transaction', 'Portfolio', 'Account', 'LegalEntity' or 'CustodianAccount' domain to decorate onto the journal entry lines.")] = None, nav_type_code : Annotated[Optional[StrictStr], Field( description="May be provided to view a specific NAV type. When not provided, Primary NAV will be used.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[ValuationPointResourceListOfFundJournalEntryLine, Awaitable[ValuationPointResourceListOfFundJournalEntryLine]]: # noqa: E501
|
2213
2413
|
"""[EXPERIMENTAL] GetValuationPointJournalEntryLines: Get the Journal Entry lines for the given Fund. # noqa: E501
|
2214
2414
|
|
2215
2415
|
Gets the Journal Entry lines for the given Valuation Point for a Fund The Journal Entry lines have been generated from transactions, translated via posting rules and used in the valuation point # noqa: E501
|
2216
2416
|
This method makes a synchronous HTTP request by default. To make an
|
2217
2417
|
asynchronous HTTP request, please pass async_req=True
|
2218
2418
|
|
2219
|
-
>>> thread = api.get_valuation_point_journal_entry_lines(scope, code, valuation_point_data_query_parameters, general_ledger_profile_code, as_at, filter, limit, page, property_keys, async_req=True)
|
2419
|
+
>>> thread = api.get_valuation_point_journal_entry_lines(scope, code, valuation_point_data_query_parameters, general_ledger_profile_code, as_at, filter, limit, page, property_keys, nav_type_code, async_req=True)
|
2220
2420
|
>>> result = thread.get()
|
2221
2421
|
|
2222
2422
|
:param scope: The scope of the Fund. (required)
|
@@ -2237,6 +2437,8 @@ class FundsApi:
|
|
2237
2437
|
:type page: str
|
2238
2438
|
:param property_keys: A list of property keys from the 'Instrument', 'Transaction', 'Portfolio', 'Account', 'LegalEntity' or 'CustodianAccount' domain to decorate onto the journal entry lines.
|
2239
2439
|
:type property_keys: List[str]
|
2440
|
+
:param nav_type_code: May be provided to view a specific NAV type. When not provided, Primary NAV will be used.
|
2441
|
+
:type nav_type_code: str
|
2240
2442
|
:param async_req: Whether to execute the request asynchronously.
|
2241
2443
|
:type async_req: bool, optional
|
2242
2444
|
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
@@ -2253,17 +2455,17 @@ class FundsApi:
|
|
2253
2455
|
raise ValueError(message)
|
2254
2456
|
if async_req is not None:
|
2255
2457
|
kwargs['async_req'] = async_req
|
2256
|
-
return self.get_valuation_point_journal_entry_lines_with_http_info(scope, code, valuation_point_data_query_parameters, general_ledger_profile_code, as_at, filter, limit, page, property_keys, **kwargs) # noqa: E501
|
2458
|
+
return self.get_valuation_point_journal_entry_lines_with_http_info(scope, code, valuation_point_data_query_parameters, general_ledger_profile_code, as_at, filter, limit, page, property_keys, nav_type_code, **kwargs) # noqa: E501
|
2257
2459
|
|
2258
2460
|
@validate_arguments
|
2259
|
-
def get_valuation_point_journal_entry_lines_with_http_info(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Fund.")], code : Annotated[StrictStr, Field(..., description="The code of the Fund. Together with the scope is creating the unique identifier for the given Fund.")], valuation_point_data_query_parameters : Annotated[ValuationPointDataQueryParameters, Field(..., description="The arguments to use for querying the Journal Entry lines.")], general_ledger_profile_code : Annotated[Optional[StrictStr], Field( description="The optional code of a general ledger profile used to decorate journal entry lines with levels.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve Journal Entry lines. Defaults to returning the latest version of each transaction if not specified.")] = None, filter : Annotated[Optional[StrictStr], Field( description="Expression to filter the result set.")] = None, limit : Annotated[Optional[conint(strict=True)], Field(description="When paginating, limit the number of returned results to this many. Defaults to 100 if not specified.")] = None, page : Annotated[Optional[StrictStr], Field( description="The pagination token to use to continue listing Journal Entry lines from a previous call to GetValuationPointJournalEntryLines.")] = None, property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the 'Instrument', 'Transaction', 'Portfolio', 'Account', 'LegalEntity' or 'CustodianAccount' domain to decorate onto the journal entry lines.")] = None, **kwargs) -> ApiResponse: # noqa: E501
|
2461
|
+
def get_valuation_point_journal_entry_lines_with_http_info(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Fund.")], code : Annotated[StrictStr, Field(..., description="The code of the Fund. Together with the scope is creating the unique identifier for the given Fund.")], valuation_point_data_query_parameters : Annotated[ValuationPointDataQueryParameters, Field(..., description="The arguments to use for querying the Journal Entry lines.")], general_ledger_profile_code : Annotated[Optional[StrictStr], Field( description="The optional code of a general ledger profile used to decorate journal entry lines with levels.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve Journal Entry lines. Defaults to returning the latest version of each transaction if not specified.")] = None, filter : Annotated[Optional[StrictStr], Field( description="Expression to filter the result set.")] = None, limit : Annotated[Optional[conint(strict=True)], Field(description="When paginating, limit the number of returned results to this many. Defaults to 100 if not specified.")] = None, page : Annotated[Optional[StrictStr], Field( description="The pagination token to use to continue listing Journal Entry lines from a previous call to GetValuationPointJournalEntryLines.")] = None, property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the 'Instrument', 'Transaction', 'Portfolio', 'Account', 'LegalEntity' or 'CustodianAccount' domain to decorate onto the journal entry lines.")] = None, nav_type_code : Annotated[Optional[StrictStr], Field( description="May be provided to view a specific NAV type. When not provided, Primary NAV will be used.")] = None, **kwargs) -> ApiResponse: # noqa: E501
|
2260
2462
|
"""[EXPERIMENTAL] GetValuationPointJournalEntryLines: Get the Journal Entry lines for the given Fund. # noqa: E501
|
2261
2463
|
|
2262
2464
|
Gets the Journal Entry lines for the given Valuation Point for a Fund The Journal Entry lines have been generated from transactions, translated via posting rules and used in the valuation point # noqa: E501
|
2263
2465
|
This method makes a synchronous HTTP request by default. To make an
|
2264
2466
|
asynchronous HTTP request, please pass async_req=True
|
2265
2467
|
|
2266
|
-
>>> thread = api.get_valuation_point_journal_entry_lines_with_http_info(scope, code, valuation_point_data_query_parameters, general_ledger_profile_code, as_at, filter, limit, page, property_keys, async_req=True)
|
2468
|
+
>>> thread = api.get_valuation_point_journal_entry_lines_with_http_info(scope, code, valuation_point_data_query_parameters, general_ledger_profile_code, as_at, filter, limit, page, property_keys, nav_type_code, async_req=True)
|
2267
2469
|
>>> result = thread.get()
|
2268
2470
|
|
2269
2471
|
:param scope: The scope of the Fund. (required)
|
@@ -2284,6 +2486,8 @@ class FundsApi:
|
|
2284
2486
|
:type page: str
|
2285
2487
|
:param property_keys: A list of property keys from the 'Instrument', 'Transaction', 'Portfolio', 'Account', 'LegalEntity' or 'CustodianAccount' domain to decorate onto the journal entry lines.
|
2286
2488
|
:type property_keys: List[str]
|
2489
|
+
:param nav_type_code: May be provided to view a specific NAV type. When not provided, Primary NAV will be used.
|
2490
|
+
:type nav_type_code: str
|
2287
2491
|
:param async_req: Whether to execute the request asynchronously.
|
2288
2492
|
:type async_req: bool, optional
|
2289
2493
|
:param _preload_content: if False, the ApiResponse.data will
|
@@ -2319,7 +2523,8 @@ class FundsApi:
|
|
2319
2523
|
'filter',
|
2320
2524
|
'limit',
|
2321
2525
|
'page',
|
2322
|
-
'property_keys'
|
2526
|
+
'property_keys',
|
2527
|
+
'nav_type_code'
|
2323
2528
|
]
|
2324
2529
|
_all_params.extend(
|
2325
2530
|
[
|
@@ -2379,6 +2584,9 @@ class FundsApi:
|
|
2379
2584
|
_query_params.append(('propertyKeys', _params['property_keys']))
|
2380
2585
|
_collection_formats['propertyKeys'] = 'multi'
|
2381
2586
|
|
2587
|
+
if _params.get('nav_type_code') is not None: # noqa: E501
|
2588
|
+
_query_params.append(('navTypeCode', _params['nav_type_code']))
|
2589
|
+
|
2382
2590
|
# process the header parameters
|
2383
2591
|
_header_params = dict(_params.get('_headers', {}))
|
2384
2592
|
# process the form parameters
|
@@ -2428,22 +2636,22 @@ class FundsApi:
|
|
2428
2636
|
|
2429
2637
|
|
2430
2638
|
@overload
|
2431
|
-
async def get_valuation_point_pnl_summary(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Fund.")], code : Annotated[StrictStr, Field(..., description="The code of the Fund. Together with the scope is the unique identifier for the given Fund.")], valuation_point_data_query_parameters : Annotated[ValuationPointDataQueryParameters, Field(..., description="The query parameters used in running the generation of the PnL summary")], general_ledger_profile_code : Annotated[Optional[StrictStr], Field( description="The optional code of a general ledger profile used to decorate journal entry lines with levels.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve PnL summary. Defaults to returning the latest version of each transaction if not specified.")] = None, filter : Annotated[Optional[StrictStr], Field( description="\"Expression to filter the result set.\"")] = None, limit : Annotated[Optional[StrictInt], Field(description="When paginating, limit the number of returned results to this many. Defaults to 100 if not specified.")] = None, page : Annotated[Optional[StrictStr], Field( description="The pagination token to use to continue listing Trial balance from a previous call to Trial balance.")] = None, **kwargs) -> ValuationPointResourceListOfPnlJournalEntryLine: # noqa: E501
|
2639
|
+
async def get_valuation_point_pnl_summary(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Fund.")], code : Annotated[StrictStr, Field(..., description="The code of the Fund. Together with the scope is the unique identifier for the given Fund.")], valuation_point_data_query_parameters : Annotated[ValuationPointDataQueryParameters, Field(..., description="The query parameters used in running the generation of the PnL summary")], general_ledger_profile_code : Annotated[Optional[StrictStr], Field( description="The optional code of a general ledger profile used to decorate journal entry lines with levels.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve PnL summary. Defaults to returning the latest version of each transaction if not specified.")] = None, filter : Annotated[Optional[StrictStr], Field( description="\"Expression to filter the result set.\"")] = None, limit : Annotated[Optional[StrictInt], Field(description="When paginating, limit the number of returned results to this many. Defaults to 100 if not specified.")] = None, page : Annotated[Optional[StrictStr], Field( description="The pagination token to use to continue listing Trial balance from a previous call to Trial balance.")] = None, nav_type_code : Annotated[Optional[StrictStr], Field( description="May be provided to view a specific NAV type. When not provided, Primary NAV will be used.")] = None, **kwargs) -> ValuationPointResourceListOfPnlJournalEntryLine: # noqa: E501
|
2432
2640
|
...
|
2433
2641
|
|
2434
2642
|
@overload
|
2435
|
-
def get_valuation_point_pnl_summary(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Fund.")], code : Annotated[StrictStr, Field(..., description="The code of the Fund. Together with the scope is the unique identifier for the given Fund.")], valuation_point_data_query_parameters : Annotated[ValuationPointDataQueryParameters, Field(..., description="The query parameters used in running the generation of the PnL summary")], general_ledger_profile_code : Annotated[Optional[StrictStr], Field( description="The optional code of a general ledger profile used to decorate journal entry lines with levels.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve PnL summary. Defaults to returning the latest version of each transaction if not specified.")] = None, filter : Annotated[Optional[StrictStr], Field( description="\"Expression to filter the result set.\"")] = None, limit : Annotated[Optional[StrictInt], Field(description="When paginating, limit the number of returned results to this many. Defaults to 100 if not specified.")] = None, page : Annotated[Optional[StrictStr], Field( description="The pagination token to use to continue listing Trial balance from a previous call to Trial balance.")] = None, async_req: Optional[bool]=True, **kwargs) -> ValuationPointResourceListOfPnlJournalEntryLine: # noqa: E501
|
2643
|
+
def get_valuation_point_pnl_summary(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Fund.")], code : Annotated[StrictStr, Field(..., description="The code of the Fund. Together with the scope is the unique identifier for the given Fund.")], valuation_point_data_query_parameters : Annotated[ValuationPointDataQueryParameters, Field(..., description="The query parameters used in running the generation of the PnL summary")], general_ledger_profile_code : Annotated[Optional[StrictStr], Field( description="The optional code of a general ledger profile used to decorate journal entry lines with levels.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve PnL summary. Defaults to returning the latest version of each transaction if not specified.")] = None, filter : Annotated[Optional[StrictStr], Field( description="\"Expression to filter the result set.\"")] = None, limit : Annotated[Optional[StrictInt], Field(description="When paginating, limit the number of returned results to this many. Defaults to 100 if not specified.")] = None, page : Annotated[Optional[StrictStr], Field( description="The pagination token to use to continue listing Trial balance from a previous call to Trial balance.")] = None, nav_type_code : Annotated[Optional[StrictStr], Field( description="May be provided to view a specific NAV type. When not provided, Primary NAV will be used.")] = None, async_req: Optional[bool]=True, **kwargs) -> ValuationPointResourceListOfPnlJournalEntryLine: # noqa: E501
|
2436
2644
|
...
|
2437
2645
|
|
2438
2646
|
@validate_arguments
|
2439
|
-
def get_valuation_point_pnl_summary(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Fund.")], code : Annotated[StrictStr, Field(..., description="The code of the Fund. Together with the scope is the unique identifier for the given Fund.")], valuation_point_data_query_parameters : Annotated[ValuationPointDataQueryParameters, Field(..., description="The query parameters used in running the generation of the PnL summary")], general_ledger_profile_code : Annotated[Optional[StrictStr], Field( description="The optional code of a general ledger profile used to decorate journal entry lines with levels.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve PnL summary. Defaults to returning the latest version of each transaction if not specified.")] = None, filter : Annotated[Optional[StrictStr], Field( description="\"Expression to filter the result set.\"")] = None, limit : Annotated[Optional[StrictInt], Field(description="When paginating, limit the number of returned results to this many. Defaults to 100 if not specified.")] = None, page : Annotated[Optional[StrictStr], Field( description="The pagination token to use to continue listing Trial balance from a previous call to Trial balance.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[ValuationPointResourceListOfPnlJournalEntryLine, Awaitable[ValuationPointResourceListOfPnlJournalEntryLine]]: # noqa: E501
|
2647
|
+
def get_valuation_point_pnl_summary(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Fund.")], code : Annotated[StrictStr, Field(..., description="The code of the Fund. Together with the scope is the unique identifier for the given Fund.")], valuation_point_data_query_parameters : Annotated[ValuationPointDataQueryParameters, Field(..., description="The query parameters used in running the generation of the PnL summary")], general_ledger_profile_code : Annotated[Optional[StrictStr], Field( description="The optional code of a general ledger profile used to decorate journal entry lines with levels.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve PnL summary. Defaults to returning the latest version of each transaction if not specified.")] = None, filter : Annotated[Optional[StrictStr], Field( description="\"Expression to filter the result set.\"")] = None, limit : Annotated[Optional[StrictInt], Field(description="When paginating, limit the number of returned results to this many. Defaults to 100 if not specified.")] = None, page : Annotated[Optional[StrictStr], Field( description="The pagination token to use to continue listing Trial balance from a previous call to Trial balance.")] = None, nav_type_code : Annotated[Optional[StrictStr], Field( description="May be provided to view a specific NAV type. When not provided, Primary NAV will be used.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[ValuationPointResourceListOfPnlJournalEntryLine, Awaitable[ValuationPointResourceListOfPnlJournalEntryLine]]: # noqa: E501
|
2440
2648
|
"""[EXPERIMENTAL] GetValuationPointPnlSummary: Get a PnL summary for the given Valuation Point in the Fund. # noqa: E501
|
2441
2649
|
|
2442
2650
|
Gets the PnL Summary lines from the journal entry lines produced when calculating the valuation point. # noqa: E501
|
2443
2651
|
This method makes a synchronous HTTP request by default. To make an
|
2444
2652
|
asynchronous HTTP request, please pass async_req=True
|
2445
2653
|
|
2446
|
-
>>> thread = api.get_valuation_point_pnl_summary(scope, code, valuation_point_data_query_parameters, general_ledger_profile_code, as_at, filter, limit, page, async_req=True)
|
2654
|
+
>>> thread = api.get_valuation_point_pnl_summary(scope, code, valuation_point_data_query_parameters, general_ledger_profile_code, as_at, filter, limit, page, nav_type_code, async_req=True)
|
2447
2655
|
>>> result = thread.get()
|
2448
2656
|
|
2449
2657
|
:param scope: The scope of the Fund. (required)
|
@@ -2462,6 +2670,8 @@ class FundsApi:
|
|
2462
2670
|
:type limit: int
|
2463
2671
|
:param page: The pagination token to use to continue listing Trial balance from a previous call to Trial balance.
|
2464
2672
|
:type page: str
|
2673
|
+
:param nav_type_code: May be provided to view a specific NAV type. When not provided, Primary NAV will be used.
|
2674
|
+
:type nav_type_code: str
|
2465
2675
|
:param async_req: Whether to execute the request asynchronously.
|
2466
2676
|
:type async_req: bool, optional
|
2467
2677
|
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
@@ -2478,17 +2688,17 @@ class FundsApi:
|
|
2478
2688
|
raise ValueError(message)
|
2479
2689
|
if async_req is not None:
|
2480
2690
|
kwargs['async_req'] = async_req
|
2481
|
-
return self.get_valuation_point_pnl_summary_with_http_info(scope, code, valuation_point_data_query_parameters, general_ledger_profile_code, as_at, filter, limit, page, **kwargs) # noqa: E501
|
2691
|
+
return self.get_valuation_point_pnl_summary_with_http_info(scope, code, valuation_point_data_query_parameters, general_ledger_profile_code, as_at, filter, limit, page, nav_type_code, **kwargs) # noqa: E501
|
2482
2692
|
|
2483
2693
|
@validate_arguments
|
2484
|
-
def get_valuation_point_pnl_summary_with_http_info(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Fund.")], code : Annotated[StrictStr, Field(..., description="The code of the Fund. Together with the scope is the unique identifier for the given Fund.")], valuation_point_data_query_parameters : Annotated[ValuationPointDataQueryParameters, Field(..., description="The query parameters used in running the generation of the PnL summary")], general_ledger_profile_code : Annotated[Optional[StrictStr], Field( description="The optional code of a general ledger profile used to decorate journal entry lines with levels.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve PnL summary. Defaults to returning the latest version of each transaction if not specified.")] = None, filter : Annotated[Optional[StrictStr], Field( description="\"Expression to filter the result set.\"")] = None, limit : Annotated[Optional[StrictInt], Field(description="When paginating, limit the number of returned results to this many. Defaults to 100 if not specified.")] = None, page : Annotated[Optional[StrictStr], Field( description="The pagination token to use to continue listing Trial balance from a previous call to Trial balance.")] = None, **kwargs) -> ApiResponse: # noqa: E501
|
2694
|
+
def get_valuation_point_pnl_summary_with_http_info(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Fund.")], code : Annotated[StrictStr, Field(..., description="The code of the Fund. Together with the scope is the unique identifier for the given Fund.")], valuation_point_data_query_parameters : Annotated[ValuationPointDataQueryParameters, Field(..., description="The query parameters used in running the generation of the PnL summary")], general_ledger_profile_code : Annotated[Optional[StrictStr], Field( description="The optional code of a general ledger profile used to decorate journal entry lines with levels.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve PnL summary. Defaults to returning the latest version of each transaction if not specified.")] = None, filter : Annotated[Optional[StrictStr], Field( description="\"Expression to filter the result set.\"")] = None, limit : Annotated[Optional[StrictInt], Field(description="When paginating, limit the number of returned results to this many. Defaults to 100 if not specified.")] = None, page : Annotated[Optional[StrictStr], Field( description="The pagination token to use to continue listing Trial balance from a previous call to Trial balance.")] = None, nav_type_code : Annotated[Optional[StrictStr], Field( description="May be provided to view a specific NAV type. When not provided, Primary NAV will be used.")] = None, **kwargs) -> ApiResponse: # noqa: E501
|
2485
2695
|
"""[EXPERIMENTAL] GetValuationPointPnlSummary: Get a PnL summary for the given Valuation Point in the Fund. # noqa: E501
|
2486
2696
|
|
2487
2697
|
Gets the PnL Summary lines from the journal entry lines produced when calculating the valuation point. # noqa: E501
|
2488
2698
|
This method makes a synchronous HTTP request by default. To make an
|
2489
2699
|
asynchronous HTTP request, please pass async_req=True
|
2490
2700
|
|
2491
|
-
>>> thread = api.get_valuation_point_pnl_summary_with_http_info(scope, code, valuation_point_data_query_parameters, general_ledger_profile_code, as_at, filter, limit, page, async_req=True)
|
2701
|
+
>>> thread = api.get_valuation_point_pnl_summary_with_http_info(scope, code, valuation_point_data_query_parameters, general_ledger_profile_code, as_at, filter, limit, page, nav_type_code, async_req=True)
|
2492
2702
|
>>> result = thread.get()
|
2493
2703
|
|
2494
2704
|
:param scope: The scope of the Fund. (required)
|
@@ -2507,6 +2717,8 @@ class FundsApi:
|
|
2507
2717
|
:type limit: int
|
2508
2718
|
:param page: The pagination token to use to continue listing Trial balance from a previous call to Trial balance.
|
2509
2719
|
:type page: str
|
2720
|
+
:param nav_type_code: May be provided to view a specific NAV type. When not provided, Primary NAV will be used.
|
2721
|
+
:type nav_type_code: str
|
2510
2722
|
:param async_req: Whether to execute the request asynchronously.
|
2511
2723
|
:type async_req: bool, optional
|
2512
2724
|
:param _preload_content: if False, the ApiResponse.data will
|
@@ -2541,7 +2753,8 @@ class FundsApi:
|
|
2541
2753
|
'as_at',
|
2542
2754
|
'filter',
|
2543
2755
|
'limit',
|
2544
|
-
'page'
|
2756
|
+
'page',
|
2757
|
+
'nav_type_code'
|
2545
2758
|
]
|
2546
2759
|
_all_params.extend(
|
2547
2760
|
[
|
@@ -2597,6 +2810,9 @@ class FundsApi:
|
|
2597
2810
|
if _params.get('page') is not None: # noqa: E501
|
2598
2811
|
_query_params.append(('page', _params['page']))
|
2599
2812
|
|
2813
|
+
if _params.get('nav_type_code') is not None: # noqa: E501
|
2814
|
+
_query_params.append(('navTypeCode', _params['nav_type_code']))
|
2815
|
+
|
2600
2816
|
# process the header parameters
|
2601
2817
|
_header_params = dict(_params.get('_headers', {}))
|
2602
2818
|
# process the form parameters
|
@@ -2646,22 +2862,22 @@ class FundsApi:
|
|
2646
2862
|
|
2647
2863
|
|
2648
2864
|
@overload
|
2649
|
-
async def get_valuation_point_transactions(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Fund.")], code : Annotated[StrictStr, Field(..., description="The code of the Fund. Together with the scope is creating the unique identifier for the given Fund.")], valuation_point_data_query_parameters : Annotated[ValuationPointDataQueryParameters, Field(..., description="The arguments to use for querying the transactions.")], as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve transactions. Defaults to returning the latest version of each transaction if not specified.")] = None, filter : Annotated[Optional[StrictStr], Field( description="Expression to filter the result set.")] = None, limit : Annotated[Optional[conint(strict=True)], Field(description="When paginating, limit the number of returned results to this many. Defaults to 100 if not specified.")] = None, page : Annotated[Optional[StrictStr], Field( description="The pagination token to use to continue listing transactions from a previous call to GetValuationPointTransactions.")] = None, property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the 'Instrument', 'Transaction', 'Portfolio', 'Account', 'LegalEntity' or 'CustodianAccount' domain to decorate onto the journal entry lines.")] = None, **kwargs) -> ValuationPointResourceListOfAccountedTransaction: # noqa: E501
|
2865
|
+
async def get_valuation_point_transactions(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Fund.")], code : Annotated[StrictStr, Field(..., description="The code of the Fund. Together with the scope is creating the unique identifier for the given Fund.")], valuation_point_data_query_parameters : Annotated[ValuationPointDataQueryParameters, Field(..., description="The arguments to use for querying the transactions.")], as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve transactions. Defaults to returning the latest version of each transaction if not specified.")] = None, filter : Annotated[Optional[StrictStr], Field( description="Expression to filter the result set.")] = None, limit : Annotated[Optional[conint(strict=True)], Field(description="When paginating, limit the number of returned results to this many. Defaults to 100 if not specified.")] = None, page : Annotated[Optional[StrictStr], Field( description="The pagination token to use to continue listing transactions from a previous call to GetValuationPointTransactions.")] = None, property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the 'Instrument', 'Transaction', 'Portfolio', 'Account', 'LegalEntity' or 'CustodianAccount' domain to decorate onto the journal entry lines.")] = None, nav_type_code : Annotated[Optional[StrictStr], Field( description="May be provided to view a specific NAV type. When not provided, Primary NAV will be used.")] = None, **kwargs) -> ValuationPointResourceListOfAccountedTransaction: # noqa: E501
|
2650
2866
|
...
|
2651
2867
|
|
2652
2868
|
@overload
|
2653
|
-
def get_valuation_point_transactions(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Fund.")], code : Annotated[StrictStr, Field(..., description="The code of the Fund. Together with the scope is creating the unique identifier for the given Fund.")], valuation_point_data_query_parameters : Annotated[ValuationPointDataQueryParameters, Field(..., description="The arguments to use for querying the transactions.")], as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve transactions. Defaults to returning the latest version of each transaction if not specified.")] = None, filter : Annotated[Optional[StrictStr], Field( description="Expression to filter the result set.")] = None, limit : Annotated[Optional[conint(strict=True)], Field(description="When paginating, limit the number of returned results to this many. Defaults to 100 if not specified.")] = None, page : Annotated[Optional[StrictStr], Field( description="The pagination token to use to continue listing transactions from a previous call to GetValuationPointTransactions.")] = None, property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the 'Instrument', 'Transaction', 'Portfolio', 'Account', 'LegalEntity' or 'CustodianAccount' domain to decorate onto the journal entry lines.")] = None, async_req: Optional[bool]=True, **kwargs) -> ValuationPointResourceListOfAccountedTransaction: # noqa: E501
|
2869
|
+
def get_valuation_point_transactions(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Fund.")], code : Annotated[StrictStr, Field(..., description="The code of the Fund. Together with the scope is creating the unique identifier for the given Fund.")], valuation_point_data_query_parameters : Annotated[ValuationPointDataQueryParameters, Field(..., description="The arguments to use for querying the transactions.")], as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve transactions. Defaults to returning the latest version of each transaction if not specified.")] = None, filter : Annotated[Optional[StrictStr], Field( description="Expression to filter the result set.")] = None, limit : Annotated[Optional[conint(strict=True)], Field(description="When paginating, limit the number of returned results to this many. Defaults to 100 if not specified.")] = None, page : Annotated[Optional[StrictStr], Field( description="The pagination token to use to continue listing transactions from a previous call to GetValuationPointTransactions.")] = None, property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the 'Instrument', 'Transaction', 'Portfolio', 'Account', 'LegalEntity' or 'CustodianAccount' domain to decorate onto the journal entry lines.")] = None, nav_type_code : Annotated[Optional[StrictStr], Field( description="May be provided to view a specific NAV type. When not provided, Primary NAV will be used.")] = None, async_req: Optional[bool]=True, **kwargs) -> ValuationPointResourceListOfAccountedTransaction: # noqa: E501
|
2654
2870
|
...
|
2655
2871
|
|
2656
2872
|
@validate_arguments
|
2657
|
-
def get_valuation_point_transactions(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Fund.")], code : Annotated[StrictStr, Field(..., description="The code of the Fund. Together with the scope is creating the unique identifier for the given Fund.")], valuation_point_data_query_parameters : Annotated[ValuationPointDataQueryParameters, Field(..., description="The arguments to use for querying the transactions.")], as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve transactions. Defaults to returning the latest version of each transaction if not specified.")] = None, filter : Annotated[Optional[StrictStr], Field( description="Expression to filter the result set.")] = None, limit : Annotated[Optional[conint(strict=True)], Field(description="When paginating, limit the number of returned results to this many. Defaults to 100 if not specified.")] = None, page : Annotated[Optional[StrictStr], Field( description="The pagination token to use to continue listing transactions from a previous call to GetValuationPointTransactions.")] = None, property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the 'Instrument', 'Transaction', 'Portfolio', 'Account', 'LegalEntity' or 'CustodianAccount' domain to decorate onto the journal entry lines.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[ValuationPointResourceListOfAccountedTransaction, Awaitable[ValuationPointResourceListOfAccountedTransaction]]: # noqa: E501
|
2873
|
+
def get_valuation_point_transactions(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Fund.")], code : Annotated[StrictStr, Field(..., description="The code of the Fund. Together with the scope is creating the unique identifier for the given Fund.")], valuation_point_data_query_parameters : Annotated[ValuationPointDataQueryParameters, Field(..., description="The arguments to use for querying the transactions.")], as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve transactions. Defaults to returning the latest version of each transaction if not specified.")] = None, filter : Annotated[Optional[StrictStr], Field( description="Expression to filter the result set.")] = None, limit : Annotated[Optional[conint(strict=True)], Field(description="When paginating, limit the number of returned results to this many. Defaults to 100 if not specified.")] = None, page : Annotated[Optional[StrictStr], Field( description="The pagination token to use to continue listing transactions from a previous call to GetValuationPointTransactions.")] = None, property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the 'Instrument', 'Transaction', 'Portfolio', 'Account', 'LegalEntity' or 'CustodianAccount' domain to decorate onto the journal entry lines.")] = None, nav_type_code : Annotated[Optional[StrictStr], Field( description="May be provided to view a specific NAV type. When not provided, Primary NAV will be used.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[ValuationPointResourceListOfAccountedTransaction, Awaitable[ValuationPointResourceListOfAccountedTransaction]]: # noqa: E501
|
2658
2874
|
"""[EXPERIMENTAL] GetValuationPointTransactions: Get the Transactions for the given Fund. # noqa: E501
|
2659
2875
|
|
2660
2876
|
Gets the Transactions for the given Valuation Point for a Fund # noqa: E501
|
2661
2877
|
This method makes a synchronous HTTP request by default. To make an
|
2662
2878
|
asynchronous HTTP request, please pass async_req=True
|
2663
2879
|
|
2664
|
-
>>> thread = api.get_valuation_point_transactions(scope, code, valuation_point_data_query_parameters, as_at, filter, limit, page, property_keys, async_req=True)
|
2880
|
+
>>> thread = api.get_valuation_point_transactions(scope, code, valuation_point_data_query_parameters, as_at, filter, limit, page, property_keys, nav_type_code, async_req=True)
|
2665
2881
|
>>> result = thread.get()
|
2666
2882
|
|
2667
2883
|
:param scope: The scope of the Fund. (required)
|
@@ -2680,6 +2896,8 @@ class FundsApi:
|
|
2680
2896
|
:type page: str
|
2681
2897
|
:param property_keys: A list of property keys from the 'Instrument', 'Transaction', 'Portfolio', 'Account', 'LegalEntity' or 'CustodianAccount' domain to decorate onto the journal entry lines.
|
2682
2898
|
:type property_keys: List[str]
|
2899
|
+
:param nav_type_code: May be provided to view a specific NAV type. When not provided, Primary NAV will be used.
|
2900
|
+
:type nav_type_code: str
|
2683
2901
|
:param async_req: Whether to execute the request asynchronously.
|
2684
2902
|
:type async_req: bool, optional
|
2685
2903
|
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
@@ -2696,17 +2914,17 @@ class FundsApi:
|
|
2696
2914
|
raise ValueError(message)
|
2697
2915
|
if async_req is not None:
|
2698
2916
|
kwargs['async_req'] = async_req
|
2699
|
-
return self.get_valuation_point_transactions_with_http_info(scope, code, valuation_point_data_query_parameters, as_at, filter, limit, page, property_keys, **kwargs) # noqa: E501
|
2917
|
+
return self.get_valuation_point_transactions_with_http_info(scope, code, valuation_point_data_query_parameters, as_at, filter, limit, page, property_keys, nav_type_code, **kwargs) # noqa: E501
|
2700
2918
|
|
2701
2919
|
@validate_arguments
|
2702
|
-
def get_valuation_point_transactions_with_http_info(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Fund.")], code : Annotated[StrictStr, Field(..., description="The code of the Fund. Together with the scope is creating the unique identifier for the given Fund.")], valuation_point_data_query_parameters : Annotated[ValuationPointDataQueryParameters, Field(..., description="The arguments to use for querying the transactions.")], as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve transactions. Defaults to returning the latest version of each transaction if not specified.")] = None, filter : Annotated[Optional[StrictStr], Field( description="Expression to filter the result set.")] = None, limit : Annotated[Optional[conint(strict=True)], Field(description="When paginating, limit the number of returned results to this many. Defaults to 100 if not specified.")] = None, page : Annotated[Optional[StrictStr], Field( description="The pagination token to use to continue listing transactions from a previous call to GetValuationPointTransactions.")] = None, property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the 'Instrument', 'Transaction', 'Portfolio', 'Account', 'LegalEntity' or 'CustodianAccount' domain to decorate onto the journal entry lines.")] = None, **kwargs) -> ApiResponse: # noqa: E501
|
2920
|
+
def get_valuation_point_transactions_with_http_info(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Fund.")], code : Annotated[StrictStr, Field(..., description="The code of the Fund. Together with the scope is creating the unique identifier for the given Fund.")], valuation_point_data_query_parameters : Annotated[ValuationPointDataQueryParameters, Field(..., description="The arguments to use for querying the transactions.")], as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve transactions. Defaults to returning the latest version of each transaction if not specified.")] = None, filter : Annotated[Optional[StrictStr], Field( description="Expression to filter the result set.")] = None, limit : Annotated[Optional[conint(strict=True)], Field(description="When paginating, limit the number of returned results to this many. Defaults to 100 if not specified.")] = None, page : Annotated[Optional[StrictStr], Field( description="The pagination token to use to continue listing transactions from a previous call to GetValuationPointTransactions.")] = None, property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the 'Instrument', 'Transaction', 'Portfolio', 'Account', 'LegalEntity' or 'CustodianAccount' domain to decorate onto the journal entry lines.")] = None, nav_type_code : Annotated[Optional[StrictStr], Field( description="May be provided to view a specific NAV type. When not provided, Primary NAV will be used.")] = None, **kwargs) -> ApiResponse: # noqa: E501
|
2703
2921
|
"""[EXPERIMENTAL] GetValuationPointTransactions: Get the Transactions for the given Fund. # noqa: E501
|
2704
2922
|
|
2705
2923
|
Gets the Transactions for the given Valuation Point for a Fund # noqa: E501
|
2706
2924
|
This method makes a synchronous HTTP request by default. To make an
|
2707
2925
|
asynchronous HTTP request, please pass async_req=True
|
2708
2926
|
|
2709
|
-
>>> thread = api.get_valuation_point_transactions_with_http_info(scope, code, valuation_point_data_query_parameters, as_at, filter, limit, page, property_keys, async_req=True)
|
2927
|
+
>>> thread = api.get_valuation_point_transactions_with_http_info(scope, code, valuation_point_data_query_parameters, as_at, filter, limit, page, property_keys, nav_type_code, async_req=True)
|
2710
2928
|
>>> result = thread.get()
|
2711
2929
|
|
2712
2930
|
:param scope: The scope of the Fund. (required)
|
@@ -2725,6 +2943,8 @@ class FundsApi:
|
|
2725
2943
|
:type page: str
|
2726
2944
|
:param property_keys: A list of property keys from the 'Instrument', 'Transaction', 'Portfolio', 'Account', 'LegalEntity' or 'CustodianAccount' domain to decorate onto the journal entry lines.
|
2727
2945
|
:type property_keys: List[str]
|
2946
|
+
:param nav_type_code: May be provided to view a specific NAV type. When not provided, Primary NAV will be used.
|
2947
|
+
:type nav_type_code: str
|
2728
2948
|
:param async_req: Whether to execute the request asynchronously.
|
2729
2949
|
:type async_req: bool, optional
|
2730
2950
|
:param _preload_content: if False, the ApiResponse.data will
|
@@ -2759,7 +2979,8 @@ class FundsApi:
|
|
2759
2979
|
'filter',
|
2760
2980
|
'limit',
|
2761
2981
|
'page',
|
2762
|
-
'property_keys'
|
2982
|
+
'property_keys',
|
2983
|
+
'nav_type_code'
|
2763
2984
|
]
|
2764
2985
|
_all_params.extend(
|
2765
2986
|
[
|
@@ -2816,6 +3037,9 @@ class FundsApi:
|
|
2816
3037
|
_query_params.append(('propertyKeys', _params['property_keys']))
|
2817
3038
|
_collection_formats['propertyKeys'] = 'multi'
|
2818
3039
|
|
3040
|
+
if _params.get('nav_type_code') is not None: # noqa: E501
|
3041
|
+
_query_params.append(('navTypeCode', _params['nav_type_code']))
|
3042
|
+
|
2819
3043
|
# process the header parameters
|
2820
3044
|
_header_params = dict(_params.get('_headers', {}))
|
2821
3045
|
# process the form parameters
|
@@ -2865,22 +3089,22 @@ class FundsApi:
|
|
2865
3089
|
|
2866
3090
|
|
2867
3091
|
@overload
|
2868
|
-
async def get_valuation_point_trial_balance(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Fund.")], code : Annotated[StrictStr, Field(..., description="The code of the Fund. Together with the scope this uniquely identifies the Fund.")], valuation_point_data_query_parameters : Annotated[ValuationPointDataQueryParameters, Field(..., description="The query parameters used in running the generation of the Trial Balance.")], general_ledger_profile_code : Annotated[Optional[StrictStr], Field( description="The optional code of a general ledger profile used to decorate journal entry lines with levels.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the Trial Balance. Defaults to returning the latest version if not specified.")] = None, filter : Annotated[Optional[StrictStr], Field( description="Expression to filter the results by. For more information about filtering results, see https://support.lusid.com/knowledgebase/article/KA-01914.")] = None, limit : Annotated[Optional[conint(strict=True)], Field(description="When paginating, limit the number of returned results to this number. Defaults to 100 if not specified.")] = None, page : Annotated[Optional[StrictStr], Field( description="The pagination token to use to continue listing Trial Balances. This token is returned from the previous call. If a pagination token is provided, the filter, effectiveAt and asAt fields must not have changed since the original request.")] = None, property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the 'Instrument', 'Transaction', 'Portfolio', 'Account', 'LegalEntity' or 'CustodianAccount' domain to decorate onto the journal entry lines.")] = None, **kwargs) -> ValuationPointResourceListOfTrialBalance: # noqa: E501
|
3092
|
+
async def get_valuation_point_trial_balance(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Fund.")], code : Annotated[StrictStr, Field(..., description="The code of the Fund. Together with the scope this uniquely identifies the Fund.")], valuation_point_data_query_parameters : Annotated[ValuationPointDataQueryParameters, Field(..., description="The query parameters used in running the generation of the Trial Balance.")], general_ledger_profile_code : Annotated[Optional[StrictStr], Field( description="The optional code of a general ledger profile used to decorate journal entry lines with levels.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the Trial Balance. Defaults to returning the latest version if not specified.")] = None, filter : Annotated[Optional[StrictStr], Field( description="Expression to filter the results by. For more information about filtering results, see https://support.lusid.com/knowledgebase/article/KA-01914.")] = None, limit : Annotated[Optional[conint(strict=True)], Field(description="When paginating, limit the number of returned results to this number. Defaults to 100 if not specified.")] = None, page : Annotated[Optional[StrictStr], Field( description="The pagination token to use to continue listing Trial Balances. This token is returned from the previous call. If a pagination token is provided, the filter, effectiveAt and asAt fields must not have changed since the original request.")] = None, property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the 'Instrument', 'Transaction', 'Portfolio', 'Account', 'LegalEntity' or 'CustodianAccount' domain to decorate onto the journal entry lines.")] = None, nav_type_code : Annotated[Optional[StrictStr], Field( description="May be provided to view a specific NAV type. When not provided, Primary NAV will be used.")] = None, **kwargs) -> ValuationPointResourceListOfTrialBalance: # noqa: E501
|
2869
3093
|
...
|
2870
3094
|
|
2871
3095
|
@overload
|
2872
|
-
def get_valuation_point_trial_balance(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Fund.")], code : Annotated[StrictStr, Field(..., description="The code of the Fund. Together with the scope this uniquely identifies the Fund.")], valuation_point_data_query_parameters : Annotated[ValuationPointDataQueryParameters, Field(..., description="The query parameters used in running the generation of the Trial Balance.")], general_ledger_profile_code : Annotated[Optional[StrictStr], Field( description="The optional code of a general ledger profile used to decorate journal entry lines with levels.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the Trial Balance. Defaults to returning the latest version if not specified.")] = None, filter : Annotated[Optional[StrictStr], Field( description="Expression to filter the results by. For more information about filtering results, see https://support.lusid.com/knowledgebase/article/KA-01914.")] = None, limit : Annotated[Optional[conint(strict=True)], Field(description="When paginating, limit the number of returned results to this number. Defaults to 100 if not specified.")] = None, page : Annotated[Optional[StrictStr], Field( description="The pagination token to use to continue listing Trial Balances. This token is returned from the previous call. If a pagination token is provided, the filter, effectiveAt and asAt fields must not have changed since the original request.")] = None, property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the 'Instrument', 'Transaction', 'Portfolio', 'Account', 'LegalEntity' or 'CustodianAccount' domain to decorate onto the journal entry lines.")] = None, async_req: Optional[bool]=True, **kwargs) -> ValuationPointResourceListOfTrialBalance: # noqa: E501
|
3096
|
+
def get_valuation_point_trial_balance(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Fund.")], code : Annotated[StrictStr, Field(..., description="The code of the Fund. Together with the scope this uniquely identifies the Fund.")], valuation_point_data_query_parameters : Annotated[ValuationPointDataQueryParameters, Field(..., description="The query parameters used in running the generation of the Trial Balance.")], general_ledger_profile_code : Annotated[Optional[StrictStr], Field( description="The optional code of a general ledger profile used to decorate journal entry lines with levels.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the Trial Balance. Defaults to returning the latest version if not specified.")] = None, filter : Annotated[Optional[StrictStr], Field( description="Expression to filter the results by. For more information about filtering results, see https://support.lusid.com/knowledgebase/article/KA-01914.")] = None, limit : Annotated[Optional[conint(strict=True)], Field(description="When paginating, limit the number of returned results to this number. Defaults to 100 if not specified.")] = None, page : Annotated[Optional[StrictStr], Field( description="The pagination token to use to continue listing Trial Balances. This token is returned from the previous call. If a pagination token is provided, the filter, effectiveAt and asAt fields must not have changed since the original request.")] = None, property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the 'Instrument', 'Transaction', 'Portfolio', 'Account', 'LegalEntity' or 'CustodianAccount' domain to decorate onto the journal entry lines.")] = None, nav_type_code : Annotated[Optional[StrictStr], Field( description="May be provided to view a specific NAV type. When not provided, Primary NAV will be used.")] = None, async_req: Optional[bool]=True, **kwargs) -> ValuationPointResourceListOfTrialBalance: # noqa: E501
|
2873
3097
|
...
|
2874
3098
|
|
2875
3099
|
@validate_arguments
|
2876
|
-
def get_valuation_point_trial_balance(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Fund.")], code : Annotated[StrictStr, Field(..., description="The code of the Fund. Together with the scope this uniquely identifies the Fund.")], valuation_point_data_query_parameters : Annotated[ValuationPointDataQueryParameters, Field(..., description="The query parameters used in running the generation of the Trial Balance.")], general_ledger_profile_code : Annotated[Optional[StrictStr], Field( description="The optional code of a general ledger profile used to decorate journal entry lines with levels.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the Trial Balance. Defaults to returning the latest version if not specified.")] = None, filter : Annotated[Optional[StrictStr], Field( description="Expression to filter the results by. For more information about filtering results, see https://support.lusid.com/knowledgebase/article/KA-01914.")] = None, limit : Annotated[Optional[conint(strict=True)], Field(description="When paginating, limit the number of returned results to this number. Defaults to 100 if not specified.")] = None, page : Annotated[Optional[StrictStr], Field( description="The pagination token to use to continue listing Trial Balances. This token is returned from the previous call. If a pagination token is provided, the filter, effectiveAt and asAt fields must not have changed since the original request.")] = None, property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the 'Instrument', 'Transaction', 'Portfolio', 'Account', 'LegalEntity' or 'CustodianAccount' domain to decorate onto the journal entry lines.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[ValuationPointResourceListOfTrialBalance, Awaitable[ValuationPointResourceListOfTrialBalance]]: # noqa: E501
|
3100
|
+
def get_valuation_point_trial_balance(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Fund.")], code : Annotated[StrictStr, Field(..., description="The code of the Fund. Together with the scope this uniquely identifies the Fund.")], valuation_point_data_query_parameters : Annotated[ValuationPointDataQueryParameters, Field(..., description="The query parameters used in running the generation of the Trial Balance.")], general_ledger_profile_code : Annotated[Optional[StrictStr], Field( description="The optional code of a general ledger profile used to decorate journal entry lines with levels.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the Trial Balance. Defaults to returning the latest version if not specified.")] = None, filter : Annotated[Optional[StrictStr], Field( description="Expression to filter the results by. For more information about filtering results, see https://support.lusid.com/knowledgebase/article/KA-01914.")] = None, limit : Annotated[Optional[conint(strict=True)], Field(description="When paginating, limit the number of returned results to this number. Defaults to 100 if not specified.")] = None, page : Annotated[Optional[StrictStr], Field( description="The pagination token to use to continue listing Trial Balances. This token is returned from the previous call. If a pagination token is provided, the filter, effectiveAt and asAt fields must not have changed since the original request.")] = None, property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the 'Instrument', 'Transaction', 'Portfolio', 'Account', 'LegalEntity' or 'CustodianAccount' domain to decorate onto the journal entry lines.")] = None, nav_type_code : Annotated[Optional[StrictStr], Field( description="May be provided to view a specific NAV type. When not provided, Primary NAV will be used.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[ValuationPointResourceListOfTrialBalance, Awaitable[ValuationPointResourceListOfTrialBalance]]: # noqa: E501
|
2877
3101
|
"""[EXPERIMENTAL] GetValuationPointTrialBalance: Get Trial Balance for the given Fund. # noqa: E501
|
2878
3102
|
|
2879
3103
|
Gets the Trial Balance for the given Valuation Point for a Fund. The Trial Balance has been generated from transactions, translated via Posting Rules and aggregated based on a General Ledger Profile (where specified). # noqa: E501
|
2880
3104
|
This method makes a synchronous HTTP request by default. To make an
|
2881
3105
|
asynchronous HTTP request, please pass async_req=True
|
2882
3106
|
|
2883
|
-
>>> thread = api.get_valuation_point_trial_balance(scope, code, valuation_point_data_query_parameters, general_ledger_profile_code, as_at, filter, limit, page, property_keys, async_req=True)
|
3107
|
+
>>> thread = api.get_valuation_point_trial_balance(scope, code, valuation_point_data_query_parameters, general_ledger_profile_code, as_at, filter, limit, page, property_keys, nav_type_code, async_req=True)
|
2884
3108
|
>>> result = thread.get()
|
2885
3109
|
|
2886
3110
|
:param scope: The scope of the Fund. (required)
|
@@ -2901,6 +3125,8 @@ class FundsApi:
|
|
2901
3125
|
:type page: str
|
2902
3126
|
:param property_keys: A list of property keys from the 'Instrument', 'Transaction', 'Portfolio', 'Account', 'LegalEntity' or 'CustodianAccount' domain to decorate onto the journal entry lines.
|
2903
3127
|
:type property_keys: List[str]
|
3128
|
+
:param nav_type_code: May be provided to view a specific NAV type. When not provided, Primary NAV will be used.
|
3129
|
+
:type nav_type_code: str
|
2904
3130
|
:param async_req: Whether to execute the request asynchronously.
|
2905
3131
|
:type async_req: bool, optional
|
2906
3132
|
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
@@ -2917,17 +3143,17 @@ class FundsApi:
|
|
2917
3143
|
raise ValueError(message)
|
2918
3144
|
if async_req is not None:
|
2919
3145
|
kwargs['async_req'] = async_req
|
2920
|
-
return self.get_valuation_point_trial_balance_with_http_info(scope, code, valuation_point_data_query_parameters, general_ledger_profile_code, as_at, filter, limit, page, property_keys, **kwargs) # noqa: E501
|
3146
|
+
return self.get_valuation_point_trial_balance_with_http_info(scope, code, valuation_point_data_query_parameters, general_ledger_profile_code, as_at, filter, limit, page, property_keys, nav_type_code, **kwargs) # noqa: E501
|
2921
3147
|
|
2922
3148
|
@validate_arguments
|
2923
|
-
def get_valuation_point_trial_balance_with_http_info(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Fund.")], code : Annotated[StrictStr, Field(..., description="The code of the Fund. Together with the scope this uniquely identifies the Fund.")], valuation_point_data_query_parameters : Annotated[ValuationPointDataQueryParameters, Field(..., description="The query parameters used in running the generation of the Trial Balance.")], general_ledger_profile_code : Annotated[Optional[StrictStr], Field( description="The optional code of a general ledger profile used to decorate journal entry lines with levels.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the Trial Balance. Defaults to returning the latest version if not specified.")] = None, filter : Annotated[Optional[StrictStr], Field( description="Expression to filter the results by. For more information about filtering results, see https://support.lusid.com/knowledgebase/article/KA-01914.")] = None, limit : Annotated[Optional[conint(strict=True)], Field(description="When paginating, limit the number of returned results to this number. Defaults to 100 if not specified.")] = None, page : Annotated[Optional[StrictStr], Field( description="The pagination token to use to continue listing Trial Balances. This token is returned from the previous call. If a pagination token is provided, the filter, effectiveAt and asAt fields must not have changed since the original request.")] = None, property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the 'Instrument', 'Transaction', 'Portfolio', 'Account', 'LegalEntity' or 'CustodianAccount' domain to decorate onto the journal entry lines.")] = None, **kwargs) -> ApiResponse: # noqa: E501
|
3149
|
+
def get_valuation_point_trial_balance_with_http_info(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Fund.")], code : Annotated[StrictStr, Field(..., description="The code of the Fund. Together with the scope this uniquely identifies the Fund.")], valuation_point_data_query_parameters : Annotated[ValuationPointDataQueryParameters, Field(..., description="The query parameters used in running the generation of the Trial Balance.")], general_ledger_profile_code : Annotated[Optional[StrictStr], Field( description="The optional code of a general ledger profile used to decorate journal entry lines with levels.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the Trial Balance. Defaults to returning the latest version if not specified.")] = None, filter : Annotated[Optional[StrictStr], Field( description="Expression to filter the results by. For more information about filtering results, see https://support.lusid.com/knowledgebase/article/KA-01914.")] = None, limit : Annotated[Optional[conint(strict=True)], Field(description="When paginating, limit the number of returned results to this number. Defaults to 100 if not specified.")] = None, page : Annotated[Optional[StrictStr], Field( description="The pagination token to use to continue listing Trial Balances. This token is returned from the previous call. If a pagination token is provided, the filter, effectiveAt and asAt fields must not have changed since the original request.")] = None, property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the 'Instrument', 'Transaction', 'Portfolio', 'Account', 'LegalEntity' or 'CustodianAccount' domain to decorate onto the journal entry lines.")] = None, nav_type_code : Annotated[Optional[StrictStr], Field( description="May be provided to view a specific NAV type. When not provided, Primary NAV will be used.")] = None, **kwargs) -> ApiResponse: # noqa: E501
|
2924
3150
|
"""[EXPERIMENTAL] GetValuationPointTrialBalance: Get Trial Balance for the given Fund. # noqa: E501
|
2925
3151
|
|
2926
3152
|
Gets the Trial Balance for the given Valuation Point for a Fund. The Trial Balance has been generated from transactions, translated via Posting Rules and aggregated based on a General Ledger Profile (where specified). # noqa: E501
|
2927
3153
|
This method makes a synchronous HTTP request by default. To make an
|
2928
3154
|
asynchronous HTTP request, please pass async_req=True
|
2929
3155
|
|
2930
|
-
>>> thread = api.get_valuation_point_trial_balance_with_http_info(scope, code, valuation_point_data_query_parameters, general_ledger_profile_code, as_at, filter, limit, page, property_keys, async_req=True)
|
3156
|
+
>>> thread = api.get_valuation_point_trial_balance_with_http_info(scope, code, valuation_point_data_query_parameters, general_ledger_profile_code, as_at, filter, limit, page, property_keys, nav_type_code, async_req=True)
|
2931
3157
|
>>> result = thread.get()
|
2932
3158
|
|
2933
3159
|
:param scope: The scope of the Fund. (required)
|
@@ -2948,6 +3174,8 @@ class FundsApi:
|
|
2948
3174
|
:type page: str
|
2949
3175
|
:param property_keys: A list of property keys from the 'Instrument', 'Transaction', 'Portfolio', 'Account', 'LegalEntity' or 'CustodianAccount' domain to decorate onto the journal entry lines.
|
2950
3176
|
:type property_keys: List[str]
|
3177
|
+
:param nav_type_code: May be provided to view a specific NAV type. When not provided, Primary NAV will be used.
|
3178
|
+
:type nav_type_code: str
|
2951
3179
|
:param async_req: Whether to execute the request asynchronously.
|
2952
3180
|
:type async_req: bool, optional
|
2953
3181
|
:param _preload_content: if False, the ApiResponse.data will
|
@@ -2983,7 +3211,8 @@ class FundsApi:
|
|
2983
3211
|
'filter',
|
2984
3212
|
'limit',
|
2985
3213
|
'page',
|
2986
|
-
'property_keys'
|
3214
|
+
'property_keys',
|
3215
|
+
'nav_type_code'
|
2987
3216
|
]
|
2988
3217
|
_all_params.extend(
|
2989
3218
|
[
|
@@ -3043,6 +3272,9 @@ class FundsApi:
|
|
3043
3272
|
_query_params.append(('propertyKeys', _params['property_keys']))
|
3044
3273
|
_collection_formats['propertyKeys'] = 'multi'
|
3045
3274
|
|
3275
|
+
if _params.get('nav_type_code') is not None: # noqa: E501
|
3276
|
+
_query_params.append(('navTypeCode', _params['nav_type_code']))
|
3277
|
+
|
3046
3278
|
# process the header parameters
|
3047
3279
|
_header_params = dict(_params.get('_headers', {}))
|
3048
3280
|
# process the form parameters
|
@@ -3518,22 +3750,22 @@ class FundsApi:
|
|
3518
3750
|
|
3519
3751
|
|
3520
3752
|
@overload
|
3521
|
-
async def list_valuation_point_overview(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Fund.")], code : Annotated[StrictStr, Field(..., description="The code of the Fund.")], effective_at : Annotated[Optional[StrictStr], Field( description="The effective datetime or cut label at which to list the TimeVariant properties for the ValuationPoints. Defaults to the current LUSID system datetime if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to list the ValuationPoints. Defaults to returning the latest version of each ValuationPoint if not specified.")] = None, page : Annotated[Optional[StrictStr], Field( description="The pagination token to use to continue listing ValuationPoints; this value is returned from the previous call. If a pagination token is provided, the filter, effectiveAt and asAt fields must not have changed since the original request.")] = None, limit : Annotated[Optional[conint(strict=True)], Field(description="When paginating, limit the results to this number. Defaults to 100 if not specified.")] = None, filter : Annotated[Optional[StrictStr], Field( description="Expression to filter the results by. For example, to filter on the NAV, specify \"NAV gt 300\". For more information about filtering results, see https://support.lusid.com/knowledgebase/article/KA-01914.")] = None, property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the 'DiaryEntry' domain to decorate onto each ValuationPoint. These must take the format {domain}/{scope}/{code}, for example 'DiaryEntry/ValuationPoint/Id'.")] = None, **kwargs) -> PagedResourceListOfValuationPointOverview: # noqa: E501
|
3753
|
+
async def list_valuation_point_overview(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Fund.")], code : Annotated[StrictStr, Field(..., description="The code of the Fund.")], effective_at : Annotated[Optional[StrictStr], Field( description="The effective datetime or cut label at which to list the TimeVariant properties for the ValuationPoints. Defaults to the current LUSID system datetime if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to list the ValuationPoints. Defaults to returning the latest version of each ValuationPoint if not specified.")] = None, page : Annotated[Optional[StrictStr], Field( description="The pagination token to use to continue listing ValuationPoints; this value is returned from the previous call. If a pagination token is provided, the filter, effectiveAt and asAt fields must not have changed since the original request.")] = None, limit : Annotated[Optional[conint(strict=True)], Field(description="When paginating, limit the results to this number. Defaults to 100 if not specified.")] = None, filter : Annotated[Optional[StrictStr], Field( description="Expression to filter the results by. For example, to filter on the NAV, specify \"NAV gt 300\". For more information about filtering results, see https://support.lusid.com/knowledgebase/article/KA-01914.")] = None, property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the 'DiaryEntry' domain to decorate onto each ValuationPoint. These must take the format {domain}/{scope}/{code}, for example 'DiaryEntry/ValuationPoint/Id'.")] = None, nav_type_code : Annotated[Optional[StrictStr], Field( description="May be provided to view a specific NAV type. When not provided, Primary NAV will be used.")] = None, **kwargs) -> PagedResourceListOfValuationPointOverview: # noqa: E501
|
3522
3754
|
...
|
3523
3755
|
|
3524
3756
|
@overload
|
3525
|
-
def list_valuation_point_overview(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Fund.")], code : Annotated[StrictStr, Field(..., description="The code of the Fund.")], effective_at : Annotated[Optional[StrictStr], Field( description="The effective datetime or cut label at which to list the TimeVariant properties for the ValuationPoints. Defaults to the current LUSID system datetime if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to list the ValuationPoints. Defaults to returning the latest version of each ValuationPoint if not specified.")] = None, page : Annotated[Optional[StrictStr], Field( description="The pagination token to use to continue listing ValuationPoints; this value is returned from the previous call. If a pagination token is provided, the filter, effectiveAt and asAt fields must not have changed since the original request.")] = None, limit : Annotated[Optional[conint(strict=True)], Field(description="When paginating, limit the results to this number. Defaults to 100 if not specified.")] = None, filter : Annotated[Optional[StrictStr], Field( description="Expression to filter the results by. For example, to filter on the NAV, specify \"NAV gt 300\". For more information about filtering results, see https://support.lusid.com/knowledgebase/article/KA-01914.")] = None, property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the 'DiaryEntry' domain to decorate onto each ValuationPoint. These must take the format {domain}/{scope}/{code}, for example 'DiaryEntry/ValuationPoint/Id'.")] = None, async_req: Optional[bool]=True, **kwargs) -> PagedResourceListOfValuationPointOverview: # noqa: E501
|
3757
|
+
def list_valuation_point_overview(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Fund.")], code : Annotated[StrictStr, Field(..., description="The code of the Fund.")], effective_at : Annotated[Optional[StrictStr], Field( description="The effective datetime or cut label at which to list the TimeVariant properties for the ValuationPoints. Defaults to the current LUSID system datetime if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to list the ValuationPoints. Defaults to returning the latest version of each ValuationPoint if not specified.")] = None, page : Annotated[Optional[StrictStr], Field( description="The pagination token to use to continue listing ValuationPoints; this value is returned from the previous call. If a pagination token is provided, the filter, effectiveAt and asAt fields must not have changed since the original request.")] = None, limit : Annotated[Optional[conint(strict=True)], Field(description="When paginating, limit the results to this number. Defaults to 100 if not specified.")] = None, filter : Annotated[Optional[StrictStr], Field( description="Expression to filter the results by. For example, to filter on the NAV, specify \"NAV gt 300\". For more information about filtering results, see https://support.lusid.com/knowledgebase/article/KA-01914.")] = None, property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the 'DiaryEntry' domain to decorate onto each ValuationPoint. These must take the format {domain}/{scope}/{code}, for example 'DiaryEntry/ValuationPoint/Id'.")] = None, nav_type_code : Annotated[Optional[StrictStr], Field( description="May be provided to view a specific NAV type. When not provided, Primary NAV will be used.")] = None, async_req: Optional[bool]=True, **kwargs) -> PagedResourceListOfValuationPointOverview: # noqa: E501
|
3526
3758
|
...
|
3527
3759
|
|
3528
3760
|
@validate_arguments
|
3529
|
-
def list_valuation_point_overview(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Fund.")], code : Annotated[StrictStr, Field(..., description="The code of the Fund.")], effective_at : Annotated[Optional[StrictStr], Field( description="The effective datetime or cut label at which to list the TimeVariant properties for the ValuationPoints. Defaults to the current LUSID system datetime if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to list the ValuationPoints. Defaults to returning the latest version of each ValuationPoint if not specified.")] = None, page : Annotated[Optional[StrictStr], Field( description="The pagination token to use to continue listing ValuationPoints; this value is returned from the previous call. If a pagination token is provided, the filter, effectiveAt and asAt fields must not have changed since the original request.")] = None, limit : Annotated[Optional[conint(strict=True)], Field(description="When paginating, limit the results to this number. Defaults to 100 if not specified.")] = None, filter : Annotated[Optional[StrictStr], Field( description="Expression to filter the results by. For example, to filter on the NAV, specify \"NAV gt 300\". For more information about filtering results, see https://support.lusid.com/knowledgebase/article/KA-01914.")] = None, property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the 'DiaryEntry' domain to decorate onto each ValuationPoint. These must take the format {domain}/{scope}/{code}, for example 'DiaryEntry/ValuationPoint/Id'.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[PagedResourceListOfValuationPointOverview, Awaitable[PagedResourceListOfValuationPointOverview]]: # noqa: E501
|
3761
|
+
def list_valuation_point_overview(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Fund.")], code : Annotated[StrictStr, Field(..., description="The code of the Fund.")], effective_at : Annotated[Optional[StrictStr], Field( description="The effective datetime or cut label at which to list the TimeVariant properties for the ValuationPoints. Defaults to the current LUSID system datetime if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to list the ValuationPoints. Defaults to returning the latest version of each ValuationPoint if not specified.")] = None, page : Annotated[Optional[StrictStr], Field( description="The pagination token to use to continue listing ValuationPoints; this value is returned from the previous call. If a pagination token is provided, the filter, effectiveAt and asAt fields must not have changed since the original request.")] = None, limit : Annotated[Optional[conint(strict=True)], Field(description="When paginating, limit the results to this number. Defaults to 100 if not specified.")] = None, filter : Annotated[Optional[StrictStr], Field( description="Expression to filter the results by. For example, to filter on the NAV, specify \"NAV gt 300\". For more information about filtering results, see https://support.lusid.com/knowledgebase/article/KA-01914.")] = None, property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the 'DiaryEntry' domain to decorate onto each ValuationPoint. These must take the format {domain}/{scope}/{code}, for example 'DiaryEntry/ValuationPoint/Id'.")] = None, nav_type_code : Annotated[Optional[StrictStr], Field( description="May be provided to view a specific NAV type. When not provided, Primary NAV will be used.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[PagedResourceListOfValuationPointOverview, Awaitable[PagedResourceListOfValuationPointOverview]]: # noqa: E501
|
3530
3762
|
"""[EXPERIMENTAL] ListValuationPointOverview: List Valuation Points Overview for a given Fund. # noqa: E501
|
3531
3763
|
|
3532
3764
|
List all the Valuation Points that match the given criteria for a given Fund. # noqa: E501
|
3533
3765
|
This method makes a synchronous HTTP request by default. To make an
|
3534
3766
|
asynchronous HTTP request, please pass async_req=True
|
3535
3767
|
|
3536
|
-
>>> thread = api.list_valuation_point_overview(scope, code, effective_at, as_at, page, limit, filter, property_keys, async_req=True)
|
3768
|
+
>>> thread = api.list_valuation_point_overview(scope, code, effective_at, as_at, page, limit, filter, property_keys, nav_type_code, async_req=True)
|
3537
3769
|
>>> result = thread.get()
|
3538
3770
|
|
3539
3771
|
:param scope: The scope of the Fund. (required)
|
@@ -3552,6 +3784,8 @@ class FundsApi:
|
|
3552
3784
|
:type filter: str
|
3553
3785
|
:param property_keys: A list of property keys from the 'DiaryEntry' domain to decorate onto each ValuationPoint. These must take the format {domain}/{scope}/{code}, for example 'DiaryEntry/ValuationPoint/Id'.
|
3554
3786
|
:type property_keys: List[str]
|
3787
|
+
:param nav_type_code: May be provided to view a specific NAV type. When not provided, Primary NAV will be used.
|
3788
|
+
:type nav_type_code: str
|
3555
3789
|
:param async_req: Whether to execute the request asynchronously.
|
3556
3790
|
:type async_req: bool, optional
|
3557
3791
|
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
@@ -3568,17 +3802,17 @@ class FundsApi:
|
|
3568
3802
|
raise ValueError(message)
|
3569
3803
|
if async_req is not None:
|
3570
3804
|
kwargs['async_req'] = async_req
|
3571
|
-
return self.list_valuation_point_overview_with_http_info(scope, code, effective_at, as_at, page, limit, filter, property_keys, **kwargs) # noqa: E501
|
3805
|
+
return self.list_valuation_point_overview_with_http_info(scope, code, effective_at, as_at, page, limit, filter, property_keys, nav_type_code, **kwargs) # noqa: E501
|
3572
3806
|
|
3573
3807
|
@validate_arguments
|
3574
|
-
def list_valuation_point_overview_with_http_info(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Fund.")], code : Annotated[StrictStr, Field(..., description="The code of the Fund.")], effective_at : Annotated[Optional[StrictStr], Field( description="The effective datetime or cut label at which to list the TimeVariant properties for the ValuationPoints. Defaults to the current LUSID system datetime if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to list the ValuationPoints. Defaults to returning the latest version of each ValuationPoint if not specified.")] = None, page : Annotated[Optional[StrictStr], Field( description="The pagination token to use to continue listing ValuationPoints; this value is returned from the previous call. If a pagination token is provided, the filter, effectiveAt and asAt fields must not have changed since the original request.")] = None, limit : Annotated[Optional[conint(strict=True)], Field(description="When paginating, limit the results to this number. Defaults to 100 if not specified.")] = None, filter : Annotated[Optional[StrictStr], Field( description="Expression to filter the results by. For example, to filter on the NAV, specify \"NAV gt 300\". For more information about filtering results, see https://support.lusid.com/knowledgebase/article/KA-01914.")] = None, property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the 'DiaryEntry' domain to decorate onto each ValuationPoint. These must take the format {domain}/{scope}/{code}, for example 'DiaryEntry/ValuationPoint/Id'.")] = None, **kwargs) -> ApiResponse: # noqa: E501
|
3808
|
+
def list_valuation_point_overview_with_http_info(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Fund.")], code : Annotated[StrictStr, Field(..., description="The code of the Fund.")], effective_at : Annotated[Optional[StrictStr], Field( description="The effective datetime or cut label at which to list the TimeVariant properties for the ValuationPoints. Defaults to the current LUSID system datetime if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to list the ValuationPoints. Defaults to returning the latest version of each ValuationPoint if not specified.")] = None, page : Annotated[Optional[StrictStr], Field( description="The pagination token to use to continue listing ValuationPoints; this value is returned from the previous call. If a pagination token is provided, the filter, effectiveAt and asAt fields must not have changed since the original request.")] = None, limit : Annotated[Optional[conint(strict=True)], Field(description="When paginating, limit the results to this number. Defaults to 100 if not specified.")] = None, filter : Annotated[Optional[StrictStr], Field( description="Expression to filter the results by. For example, to filter on the NAV, specify \"NAV gt 300\". For more information about filtering results, see https://support.lusid.com/knowledgebase/article/KA-01914.")] = None, property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the 'DiaryEntry' domain to decorate onto each ValuationPoint. These must take the format {domain}/{scope}/{code}, for example 'DiaryEntry/ValuationPoint/Id'.")] = None, nav_type_code : Annotated[Optional[StrictStr], Field( description="May be provided to view a specific NAV type. When not provided, Primary NAV will be used.")] = None, **kwargs) -> ApiResponse: # noqa: E501
|
3575
3809
|
"""[EXPERIMENTAL] ListValuationPointOverview: List Valuation Points Overview for a given Fund. # noqa: E501
|
3576
3810
|
|
3577
3811
|
List all the Valuation Points that match the given criteria for a given Fund. # noqa: E501
|
3578
3812
|
This method makes a synchronous HTTP request by default. To make an
|
3579
3813
|
asynchronous HTTP request, please pass async_req=True
|
3580
3814
|
|
3581
|
-
>>> thread = api.list_valuation_point_overview_with_http_info(scope, code, effective_at, as_at, page, limit, filter, property_keys, async_req=True)
|
3815
|
+
>>> thread = api.list_valuation_point_overview_with_http_info(scope, code, effective_at, as_at, page, limit, filter, property_keys, nav_type_code, async_req=True)
|
3582
3816
|
>>> result = thread.get()
|
3583
3817
|
|
3584
3818
|
:param scope: The scope of the Fund. (required)
|
@@ -3597,6 +3831,8 @@ class FundsApi:
|
|
3597
3831
|
:type filter: str
|
3598
3832
|
:param property_keys: A list of property keys from the 'DiaryEntry' domain to decorate onto each ValuationPoint. These must take the format {domain}/{scope}/{code}, for example 'DiaryEntry/ValuationPoint/Id'.
|
3599
3833
|
:type property_keys: List[str]
|
3834
|
+
:param nav_type_code: May be provided to view a specific NAV type. When not provided, Primary NAV will be used.
|
3835
|
+
:type nav_type_code: str
|
3600
3836
|
:param async_req: Whether to execute the request asynchronously.
|
3601
3837
|
:type async_req: bool, optional
|
3602
3838
|
:param _preload_content: if False, the ApiResponse.data will
|
@@ -3631,7 +3867,8 @@ class FundsApi:
|
|
3631
3867
|
'page',
|
3632
3868
|
'limit',
|
3633
3869
|
'filter',
|
3634
|
-
'property_keys'
|
3870
|
+
'property_keys',
|
3871
|
+
'nav_type_code'
|
3635
3872
|
]
|
3636
3873
|
_all_params.extend(
|
3637
3874
|
[
|
@@ -3691,6 +3928,9 @@ class FundsApi:
|
|
3691
3928
|
_query_params.append(('propertyKeys', _params['property_keys']))
|
3692
3929
|
_collection_formats['propertyKeys'] = 'multi'
|
3693
3930
|
|
3931
|
+
if _params.get('nav_type_code') is not None: # noqa: E501
|
3932
|
+
_query_params.append(('navTypeCode', _params['nav_type_code']))
|
3933
|
+
|
3694
3934
|
# process the header parameters
|
3695
3935
|
_header_params = dict(_params.get('_headers', {}))
|
3696
3936
|
# process the form parameters
|
@@ -4263,22 +4503,22 @@ class FundsApi:
|
|
4263
4503
|
|
4264
4504
|
|
4265
4505
|
@overload
|
4266
|
-
async def upsert_diary_entry_type_valuation_point(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Fund.")], code : Annotated[StrictStr, Field(..., description="The code of the Fund. Together with the scope this uniquely identifies the Fund.")], upsert_valuation_point_request : Annotated[UpsertValuationPointRequest, Field(..., description="The Valuation Point Estimate definition to Upsert")], **kwargs) -> DiaryEntry: # noqa: E501
|
4506
|
+
async def upsert_diary_entry_type_valuation_point(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Fund.")], code : Annotated[StrictStr, Field(..., description="The code of the Fund. Together with the scope this uniquely identifies the Fund.")], upsert_valuation_point_request : Annotated[UpsertValuationPointRequest, Field(..., description="The Valuation Point Estimate definition to Upsert")], nav_type_code : Annotated[Optional[StrictStr], Field( description="When provided, Upserts the Valuation Point against the specified NAV Type. When not provided the Primary NAV Type will be used.")] = None, **kwargs) -> DiaryEntry: # noqa: E501
|
4267
4507
|
...
|
4268
4508
|
|
4269
4509
|
@overload
|
4270
|
-
def upsert_diary_entry_type_valuation_point(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Fund.")], code : Annotated[StrictStr, Field(..., description="The code of the Fund. Together with the scope this uniquely identifies the Fund.")], upsert_valuation_point_request : Annotated[UpsertValuationPointRequest, Field(..., description="The Valuation Point Estimate definition to Upsert")], async_req: Optional[bool]=True, **kwargs) -> DiaryEntry: # noqa: E501
|
4510
|
+
def upsert_diary_entry_type_valuation_point(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Fund.")], code : Annotated[StrictStr, Field(..., description="The code of the Fund. Together with the scope this uniquely identifies the Fund.")], upsert_valuation_point_request : Annotated[UpsertValuationPointRequest, Field(..., description="The Valuation Point Estimate definition to Upsert")], nav_type_code : Annotated[Optional[StrictStr], Field( description="When provided, Upserts the Valuation Point against the specified NAV Type. When not provided the Primary NAV Type will be used.")] = None, async_req: Optional[bool]=True, **kwargs) -> DiaryEntry: # noqa: E501
|
4271
4511
|
...
|
4272
4512
|
|
4273
4513
|
@validate_arguments
|
4274
|
-
def upsert_diary_entry_type_valuation_point(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Fund.")], code : Annotated[StrictStr, Field(..., description="The code of the Fund. Together with the scope this uniquely identifies the Fund.")], upsert_valuation_point_request : Annotated[UpsertValuationPointRequest, Field(..., description="The Valuation Point Estimate definition to Upsert")], async_req: Optional[bool]=None, **kwargs) -> Union[DiaryEntry, Awaitable[DiaryEntry]]: # noqa: E501
|
4514
|
+
def upsert_diary_entry_type_valuation_point(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Fund.")], code : Annotated[StrictStr, Field(..., description="The code of the Fund. Together with the scope this uniquely identifies the Fund.")], upsert_valuation_point_request : Annotated[UpsertValuationPointRequest, Field(..., description="The Valuation Point Estimate definition to Upsert")], nav_type_code : Annotated[Optional[StrictStr], Field( description="When provided, Upserts the Valuation Point against the specified NAV Type. When not provided the Primary NAV Type will be used.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[DiaryEntry, Awaitable[DiaryEntry]]: # noqa: E501
|
4275
4515
|
"""[EXPERIMENTAL] UpsertDiaryEntryTypeValuationPoint: Upsert Valuation Point. # noqa: E501
|
4276
4516
|
|
4277
4517
|
Update or insert the estimate Valuation Point. If the Valuation Point does not exist, this method will create it in estimate state. If the Valuation Point already exists and is in estimate state, the Valuation Point will be updated with the newly specified information in this request. # noqa: E501
|
4278
4518
|
This method makes a synchronous HTTP request by default. To make an
|
4279
4519
|
asynchronous HTTP request, please pass async_req=True
|
4280
4520
|
|
4281
|
-
>>> thread = api.upsert_diary_entry_type_valuation_point(scope, code, upsert_valuation_point_request, async_req=True)
|
4521
|
+
>>> thread = api.upsert_diary_entry_type_valuation_point(scope, code, upsert_valuation_point_request, nav_type_code, async_req=True)
|
4282
4522
|
>>> result = thread.get()
|
4283
4523
|
|
4284
4524
|
:param scope: The scope of the Fund. (required)
|
@@ -4287,6 +4527,8 @@ class FundsApi:
|
|
4287
4527
|
:type code: str
|
4288
4528
|
:param upsert_valuation_point_request: The Valuation Point Estimate definition to Upsert (required)
|
4289
4529
|
:type upsert_valuation_point_request: UpsertValuationPointRequest
|
4530
|
+
:param nav_type_code: When provided, Upserts the Valuation Point against the specified NAV Type. When not provided the Primary NAV Type will be used.
|
4531
|
+
:type nav_type_code: str
|
4290
4532
|
:param async_req: Whether to execute the request asynchronously.
|
4291
4533
|
:type async_req: bool, optional
|
4292
4534
|
:param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
|
@@ -4303,17 +4545,17 @@ class FundsApi:
|
|
4303
4545
|
raise ValueError(message)
|
4304
4546
|
if async_req is not None:
|
4305
4547
|
kwargs['async_req'] = async_req
|
4306
|
-
return self.upsert_diary_entry_type_valuation_point_with_http_info(scope, code, upsert_valuation_point_request, **kwargs) # noqa: E501
|
4548
|
+
return self.upsert_diary_entry_type_valuation_point_with_http_info(scope, code, upsert_valuation_point_request, nav_type_code, **kwargs) # noqa: E501
|
4307
4549
|
|
4308
4550
|
@validate_arguments
|
4309
|
-
def upsert_diary_entry_type_valuation_point_with_http_info(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Fund.")], code : Annotated[StrictStr, Field(..., description="The code of the Fund. Together with the scope this uniquely identifies the Fund.")], upsert_valuation_point_request : Annotated[UpsertValuationPointRequest, Field(..., description="The Valuation Point Estimate definition to Upsert")], **kwargs) -> ApiResponse: # noqa: E501
|
4551
|
+
def upsert_diary_entry_type_valuation_point_with_http_info(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Fund.")], code : Annotated[StrictStr, Field(..., description="The code of the Fund. Together with the scope this uniquely identifies the Fund.")], upsert_valuation_point_request : Annotated[UpsertValuationPointRequest, Field(..., description="The Valuation Point Estimate definition to Upsert")], nav_type_code : Annotated[Optional[StrictStr], Field( description="When provided, Upserts the Valuation Point against the specified NAV Type. When not provided the Primary NAV Type will be used.")] = None, **kwargs) -> ApiResponse: # noqa: E501
|
4310
4552
|
"""[EXPERIMENTAL] UpsertDiaryEntryTypeValuationPoint: Upsert Valuation Point. # noqa: E501
|
4311
4553
|
|
4312
4554
|
Update or insert the estimate Valuation Point. If the Valuation Point does not exist, this method will create it in estimate state. If the Valuation Point already exists and is in estimate state, the Valuation Point will be updated with the newly specified information in this request. # noqa: E501
|
4313
4555
|
This method makes a synchronous HTTP request by default. To make an
|
4314
4556
|
asynchronous HTTP request, please pass async_req=True
|
4315
4557
|
|
4316
|
-
>>> thread = api.upsert_diary_entry_type_valuation_point_with_http_info(scope, code, upsert_valuation_point_request, async_req=True)
|
4558
|
+
>>> thread = api.upsert_diary_entry_type_valuation_point_with_http_info(scope, code, upsert_valuation_point_request, nav_type_code, async_req=True)
|
4317
4559
|
>>> result = thread.get()
|
4318
4560
|
|
4319
4561
|
:param scope: The scope of the Fund. (required)
|
@@ -4322,6 +4564,8 @@ class FundsApi:
|
|
4322
4564
|
:type code: str
|
4323
4565
|
:param upsert_valuation_point_request: The Valuation Point Estimate definition to Upsert (required)
|
4324
4566
|
:type upsert_valuation_point_request: UpsertValuationPointRequest
|
4567
|
+
:param nav_type_code: When provided, Upserts the Valuation Point against the specified NAV Type. When not provided the Primary NAV Type will be used.
|
4568
|
+
:type nav_type_code: str
|
4325
4569
|
:param async_req: Whether to execute the request asynchronously.
|
4326
4570
|
:type async_req: bool, optional
|
4327
4571
|
:param _preload_content: if False, the ApiResponse.data will
|
@@ -4351,7 +4595,8 @@ class FundsApi:
|
|
4351
4595
|
_all_params = [
|
4352
4596
|
'scope',
|
4353
4597
|
'code',
|
4354
|
-
'upsert_valuation_point_request'
|
4598
|
+
'upsert_valuation_point_request',
|
4599
|
+
'nav_type_code'
|
4355
4600
|
]
|
4356
4601
|
_all_params.extend(
|
4357
4602
|
[
|
@@ -4389,6 +4634,9 @@ class FundsApi:
|
|
4389
4634
|
|
4390
4635
|
# process the query parameters
|
4391
4636
|
_query_params = []
|
4637
|
+
if _params.get('nav_type_code') is not None: # noqa: E501
|
4638
|
+
_query_params.append(('navTypeCode', _params['nav_type_code']))
|
4639
|
+
|
4392
4640
|
# process the header parameters
|
4393
4641
|
_header_params = dict(_params.get('_headers', {}))
|
4394
4642
|
# process the form parameters
|