lusid-sdk 2.1.347__py3-none-any.whl → 2.1.363__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 +26 -0
- lusid/api/__init__.py +3 -1
- lusid/api/data_types_api.py +160 -0
- lusid/api/funds_api.py +9 -8
- lusid/api/workspace_api.py +3433 -0
- lusid/configuration.py +16 -7
- lusid/models/__init__.py +24 -0
- lusid/models/accept_estimate_valuation_point_response.py +100 -0
- lusid/models/accumulation_event.py +3 -3
- lusid/models/amortisation_event.py +3 -3
- lusid/models/bond_coupon_event.py +3 -3
- lusid/models/bond_default_event.py +3 -3
- lusid/models/bond_principal_event.py +3 -3
- lusid/models/capital_distribution_event.py +3 -3
- lusid/models/cash_dividend_event.py +3 -3
- lusid/models/cash_flow_event.py +3 -3
- lusid/models/close_event.py +3 -3
- lusid/models/close_period_diary_entry_request.py +1 -1
- lusid/models/diary_entry.py +1 -1
- lusid/models/diary_entry_request.py +1 -1
- lusid/models/dividend_option_event.py +3 -3
- lusid/models/dividend_reinvestment_event.py +3 -3
- lusid/models/exercise_event.py +3 -3
- lusid/models/expiry_event.py +3 -3
- lusid/models/future_expiry_event.py +3 -3
- lusid/models/fx_forward_settlement_event.py +3 -3
- lusid/models/informational_error_event.py +3 -3
- lusid/models/informational_event.py +3 -3
- lusid/models/instrument_event.py +7 -5
- lusid/models/instrument_event_type.py +2 -0
- lusid/models/instrument_resolution_detail.py +19 -5
- lusid/models/maturity_event.py +3 -3
- lusid/models/merger_event.py +3 -3
- lusid/models/open_event.py +3 -3
- lusid/models/order_update_request.py +5 -0
- lusid/models/paged_resource_list_of_workspace.py +113 -0
- lusid/models/paged_resource_list_of_workspace_item.py +113 -0
- lusid/models/raw_vendor_event.py +3 -3
- lusid/models/reset_event.py +3 -3
- lusid/models/reverse_stock_split_event.py +3 -3
- lusid/models/scrip_dividend_event.py +3 -3
- lusid/models/share_class_breakdown.py +5 -13
- lusid/models/share_class_dealing_breakdown.py +96 -0
- lusid/models/spin_off_event.py +3 -3
- lusid/models/stock_dividend_event.py +3 -3
- lusid/models/stock_split_event.py +3 -3
- lusid/models/swap_cash_flow_event.py +97 -0
- lusid/models/swap_principal_event.py +97 -0
- lusid/models/transition_event.py +3 -3
- lusid/models/trigger_event.py +3 -3
- lusid/models/valuation_point_data_response.py +1 -1
- lusid/models/workspace.py +92 -0
- lusid/models/workspace_creation_request.py +78 -0
- lusid/models/workspace_item.py +105 -0
- lusid/models/workspace_item_creation_request.py +91 -0
- lusid/models/workspace_item_update_request.py +82 -0
- lusid/models/workspace_update_request.py +69 -0
- {lusid_sdk-2.1.347.dist-info → lusid_sdk-2.1.363.dist-info}/METADATA +34 -1
- {lusid_sdk-2.1.347.dist-info → lusid_sdk-2.1.363.dist-info}/RECORD +60 -47
- {lusid_sdk-2.1.347.dist-info → lusid_sdk-2.1.363.dist-info}/WHEEL +0 -0
lusid/__init__.py
CHANGED
@@ -83,6 +83,7 @@ from lusid.api.transaction_configuration_api import TransactionConfigurationApi
|
|
83
83
|
from lusid.api.transaction_fees_api import TransactionFeesApi
|
84
84
|
from lusid.api.transaction_portfolios_api import TransactionPortfoliosApi
|
85
85
|
from lusid.api.translation_api import TranslationApi
|
86
|
+
from lusid.api.workspace_api import WorkspaceApi
|
86
87
|
|
87
88
|
# import ApiClient
|
88
89
|
from lusid.api_client import ApiClient
|
@@ -103,6 +104,7 @@ from lusid.models.abor_configuration_properties import AborConfigurationProperti
|
|
103
104
|
from lusid.models.abor_configuration_request import AborConfigurationRequest
|
104
105
|
from lusid.models.abor_properties import AborProperties
|
105
106
|
from lusid.models.abor_request import AborRequest
|
107
|
+
from lusid.models.accept_estimate_valuation_point_response import AcceptEstimateValuationPointResponse
|
106
108
|
from lusid.models.access_controlled_action import AccessControlledAction
|
107
109
|
from lusid.models.access_controlled_resource import AccessControlledResource
|
108
110
|
from lusid.models.access_metadata_operation import AccessMetadataOperation
|
@@ -698,6 +700,8 @@ from lusid.models.paged_resource_list_of_transaction_template_specification impo
|
|
698
700
|
from lusid.models.paged_resource_list_of_translation_script_id import PagedResourceListOfTranslationScriptId
|
699
701
|
from lusid.models.paged_resource_list_of_valuation_point_overview import PagedResourceListOfValuationPointOverview
|
700
702
|
from lusid.models.paged_resource_list_of_virtual_row import PagedResourceListOfVirtualRow
|
703
|
+
from lusid.models.paged_resource_list_of_workspace import PagedResourceListOfWorkspace
|
704
|
+
from lusid.models.paged_resource_list_of_workspace_item import PagedResourceListOfWorkspaceItem
|
701
705
|
from lusid.models.participation import Participation
|
702
706
|
from lusid.models.participation_request import ParticipationRequest
|
703
707
|
from lusid.models.participation_set_request import ParticipationSetRequest
|
@@ -933,6 +937,7 @@ from lusid.models.settlement_schedule import SettlementSchedule
|
|
933
937
|
from lusid.models.share_class_amount import ShareClassAmount
|
934
938
|
from lusid.models.share_class_breakdown import ShareClassBreakdown
|
935
939
|
from lusid.models.share_class_data import ShareClassData
|
940
|
+
from lusid.models.share_class_dealing_breakdown import ShareClassDealingBreakdown
|
936
941
|
from lusid.models.share_class_details import ShareClassDetails
|
937
942
|
from lusid.models.share_class_pnl_breakdown import ShareClassPnlBreakdown
|
938
943
|
from lusid.models.side_configuration_data import SideConfigurationData
|
@@ -967,6 +972,8 @@ from lusid.models.string_list_compliance_parameter import StringListCompliancePa
|
|
967
972
|
from lusid.models.structured_result_data import StructuredResultData
|
968
973
|
from lusid.models.structured_result_data_id import StructuredResultDataId
|
969
974
|
from lusid.models.sub_holding_key_value_equals import SubHoldingKeyValueEquals
|
975
|
+
from lusid.models.swap_cash_flow_event import SwapCashFlowEvent
|
976
|
+
from lusid.models.swap_principal_event import SwapPrincipalEvent
|
970
977
|
from lusid.models.target_tax_lot import TargetTaxLot
|
971
978
|
from lusid.models.target_tax_lot_request import TargetTaxLotRequest
|
972
979
|
from lusid.models.tax_rule import TaxRule
|
@@ -1125,6 +1132,12 @@ from lusid.models.weekend_mask import WeekendMask
|
|
1125
1132
|
from lusid.models.weighted_instrument import WeightedInstrument
|
1126
1133
|
from lusid.models.weighted_instrument_in_line_lookup_identifiers import WeightedInstrumentInLineLookupIdentifiers
|
1127
1134
|
from lusid.models.weighted_instruments import WeightedInstruments
|
1135
|
+
from lusid.models.workspace import Workspace
|
1136
|
+
from lusid.models.workspace_creation_request import WorkspaceCreationRequest
|
1137
|
+
from lusid.models.workspace_item import WorkspaceItem
|
1138
|
+
from lusid.models.workspace_item_creation_request import WorkspaceItemCreationRequest
|
1139
|
+
from lusid.models.workspace_item_update_request import WorkspaceItemUpdateRequest
|
1140
|
+
from lusid.models.workspace_update_request import WorkspaceUpdateRequest
|
1128
1141
|
from lusid.models.yield_curve_data import YieldCurveData
|
1129
1142
|
|
1130
1143
|
# import extensions into sdk package
|
@@ -1207,6 +1220,7 @@ __all__ = [
|
|
1207
1220
|
"TransactionFeesApi",
|
1208
1221
|
"TransactionPortfoliosApi",
|
1209
1222
|
"TranslationApi",
|
1223
|
+
"WorkspaceApi",
|
1210
1224
|
"A2BBreakdown",
|
1211
1225
|
"A2BCategory",
|
1212
1226
|
"A2BDataRecord",
|
@@ -1217,6 +1231,7 @@ __all__ = [
|
|
1217
1231
|
"AborConfigurationRequest",
|
1218
1232
|
"AborProperties",
|
1219
1233
|
"AborRequest",
|
1234
|
+
"AcceptEstimateValuationPointResponse",
|
1220
1235
|
"AccessControlledAction",
|
1221
1236
|
"AccessControlledResource",
|
1222
1237
|
"AccessMetadataOperation",
|
@@ -1812,6 +1827,8 @@ __all__ = [
|
|
1812
1827
|
"PagedResourceListOfTranslationScriptId",
|
1813
1828
|
"PagedResourceListOfValuationPointOverview",
|
1814
1829
|
"PagedResourceListOfVirtualRow",
|
1830
|
+
"PagedResourceListOfWorkspace",
|
1831
|
+
"PagedResourceListOfWorkspaceItem",
|
1815
1832
|
"Participation",
|
1816
1833
|
"ParticipationRequest",
|
1817
1834
|
"ParticipationSetRequest",
|
@@ -2047,6 +2064,7 @@ __all__ = [
|
|
2047
2064
|
"ShareClassAmount",
|
2048
2065
|
"ShareClassBreakdown",
|
2049
2066
|
"ShareClassData",
|
2067
|
+
"ShareClassDealingBreakdown",
|
2050
2068
|
"ShareClassDetails",
|
2051
2069
|
"ShareClassPnlBreakdown",
|
2052
2070
|
"SideConfigurationData",
|
@@ -2081,6 +2099,8 @@ __all__ = [
|
|
2081
2099
|
"StructuredResultData",
|
2082
2100
|
"StructuredResultDataId",
|
2083
2101
|
"SubHoldingKeyValueEquals",
|
2102
|
+
"SwapCashFlowEvent",
|
2103
|
+
"SwapPrincipalEvent",
|
2084
2104
|
"TargetTaxLot",
|
2085
2105
|
"TargetTaxLotRequest",
|
2086
2106
|
"TaxRule",
|
@@ -2239,6 +2259,12 @@ __all__ = [
|
|
2239
2259
|
"WeightedInstrument",
|
2240
2260
|
"WeightedInstrumentInLineLookupIdentifiers",
|
2241
2261
|
"WeightedInstruments",
|
2262
|
+
"Workspace",
|
2263
|
+
"WorkspaceCreationRequest",
|
2264
|
+
"WorkspaceItem",
|
2265
|
+
"WorkspaceItemCreationRequest",
|
2266
|
+
"WorkspaceItemUpdateRequest",
|
2267
|
+
"WorkspaceUpdateRequest",
|
2242
2268
|
"YieldCurveData",
|
2243
2269
|
"ApiClient",
|
2244
2270
|
"Configuration",
|
lusid/api/__init__.py
CHANGED
@@ -67,6 +67,7 @@ from lusid.api.transaction_configuration_api import TransactionConfigurationApi
|
|
67
67
|
from lusid.api.transaction_fees_api import TransactionFeesApi
|
68
68
|
from lusid.api.transaction_portfolios_api import TransactionPortfoliosApi
|
69
69
|
from lusid.api.translation_api import TranslationApi
|
70
|
+
from lusid.api.workspace_api import WorkspaceApi
|
70
71
|
|
71
72
|
|
72
73
|
__all__ = [
|
@@ -135,5 +136,6 @@ __all__ = [
|
|
135
136
|
"TransactionConfigurationApi",
|
136
137
|
"TransactionFeesApi",
|
137
138
|
"TransactionPortfoliosApi",
|
138
|
-
"TranslationApi"
|
139
|
+
"TranslationApi",
|
140
|
+
"WorkspaceApi"
|
139
141
|
]
|
lusid/api/data_types_api.py
CHANGED
@@ -28,6 +28,7 @@ from typing import Optional
|
|
28
28
|
|
29
29
|
from lusid.models.create_data_type_request import CreateDataTypeRequest
|
30
30
|
from lusid.models.data_type import DataType
|
31
|
+
from lusid.models.deleted_entity_response import DeletedEntityResponse
|
31
32
|
from lusid.models.field_value import FieldValue
|
32
33
|
from lusid.models.paged_resource_list_of_data_type_summary import PagedResourceListOfDataTypeSummary
|
33
34
|
from lusid.models.resource_list_of_data_type import ResourceListOfDataType
|
@@ -212,6 +213,165 @@ class DataTypesApi:
|
|
212
213
|
collection_formats=_collection_formats,
|
213
214
|
_request_auth=_params.get('_request_auth'))
|
214
215
|
|
216
|
+
@overload
|
217
|
+
async def delete_data_type(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the data type")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the data type")], **kwargs) -> DeletedEntityResponse: # noqa: E501
|
218
|
+
...
|
219
|
+
|
220
|
+
@overload
|
221
|
+
def delete_data_type(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the data type")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the data type")], async_req: Optional[bool]=True, **kwargs) -> DeletedEntityResponse: # noqa: E501
|
222
|
+
...
|
223
|
+
|
224
|
+
@validate_arguments
|
225
|
+
def delete_data_type(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the data type")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the data type")], async_req: Optional[bool]=None, **kwargs) -> Union[DeletedEntityResponse, Awaitable[DeletedEntityResponse]]: # noqa: E501
|
226
|
+
"""DeleteDataType: Delete a data type definition. # noqa: E501
|
227
|
+
|
228
|
+
Delete an existing data type definition. Data types cannot be deleted in either the \"default\" or \"system\" scopes, scopes beginning with \"LUSID-\", or data types that are in use on a property definition. # noqa: E501
|
229
|
+
This method makes a synchronous HTTP request by default. To make an
|
230
|
+
asynchronous HTTP request, please pass async_req=True
|
231
|
+
|
232
|
+
>>> thread = api.delete_data_type(scope, code, async_req=True)
|
233
|
+
>>> result = thread.get()
|
234
|
+
|
235
|
+
:param scope: The scope of the data type (required)
|
236
|
+
:type scope: str
|
237
|
+
:param code: The code of the data type (required)
|
238
|
+
:type code: str
|
239
|
+
:param async_req: Whether to execute the request asynchronously.
|
240
|
+
:type async_req: bool, optional
|
241
|
+
:param _request_timeout: timeout setting for this request.
|
242
|
+
If one number provided, it will be total request
|
243
|
+
timeout. It can also be a pair (tuple) of
|
244
|
+
(connection, read) timeouts.
|
245
|
+
:return: Returns the result object.
|
246
|
+
If the method is called asynchronously,
|
247
|
+
returns the request thread.
|
248
|
+
:rtype: DeletedEntityResponse
|
249
|
+
"""
|
250
|
+
kwargs['_return_http_data_only'] = True
|
251
|
+
if '_preload_content' in kwargs:
|
252
|
+
message = "Error! Please call the delete_data_type_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501
|
253
|
+
raise ValueError(message)
|
254
|
+
if async_req is not None:
|
255
|
+
kwargs['async_req'] = async_req
|
256
|
+
return self.delete_data_type_with_http_info(scope, code, **kwargs) # noqa: E501
|
257
|
+
|
258
|
+
@validate_arguments
|
259
|
+
def delete_data_type_with_http_info(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the data type")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the data type")], **kwargs) -> ApiResponse: # noqa: E501
|
260
|
+
"""DeleteDataType: Delete a data type definition. # noqa: E501
|
261
|
+
|
262
|
+
Delete an existing data type definition. Data types cannot be deleted in either the \"default\" or \"system\" scopes, scopes beginning with \"LUSID-\", or data types that are in use on a property definition. # noqa: E501
|
263
|
+
This method makes a synchronous HTTP request by default. To make an
|
264
|
+
asynchronous HTTP request, please pass async_req=True
|
265
|
+
|
266
|
+
>>> thread = api.delete_data_type_with_http_info(scope, code, async_req=True)
|
267
|
+
>>> result = thread.get()
|
268
|
+
|
269
|
+
:param scope: The scope of the data type (required)
|
270
|
+
:type scope: str
|
271
|
+
:param code: The code of the data type (required)
|
272
|
+
:type code: str
|
273
|
+
:param async_req: Whether to execute the request asynchronously.
|
274
|
+
:type async_req: bool, optional
|
275
|
+
:param _preload_content: if False, the ApiResponse.data will
|
276
|
+
be set to none and raw_data will store the
|
277
|
+
HTTP response body without reading/decoding.
|
278
|
+
Default is True.
|
279
|
+
:type _preload_content: bool, optional
|
280
|
+
:param _return_http_data_only: response data instead of ApiResponse
|
281
|
+
object with status code, headers, etc
|
282
|
+
:type _return_http_data_only: bool, optional
|
283
|
+
:param _request_timeout: timeout setting for this request. If one
|
284
|
+
number provided, it will be total request
|
285
|
+
timeout. It can also be a pair (tuple) of
|
286
|
+
(connection, read) timeouts.
|
287
|
+
:param _request_auth: set to override the auth_settings for an a single
|
288
|
+
request; this effectively ignores the authentication
|
289
|
+
in the spec for a single request.
|
290
|
+
:type _request_auth: dict, optional
|
291
|
+
:type _content_type: string, optional: force content-type for the request
|
292
|
+
:return: Returns the result object.
|
293
|
+
If the method is called asynchronously,
|
294
|
+
returns the request thread.
|
295
|
+
:rtype: tuple(DeletedEntityResponse, status_code(int), headers(HTTPHeaderDict))
|
296
|
+
"""
|
297
|
+
|
298
|
+
_params = locals()
|
299
|
+
|
300
|
+
_all_params = [
|
301
|
+
'scope',
|
302
|
+
'code'
|
303
|
+
]
|
304
|
+
_all_params.extend(
|
305
|
+
[
|
306
|
+
'async_req',
|
307
|
+
'_return_http_data_only',
|
308
|
+
'_preload_content',
|
309
|
+
'_request_timeout',
|
310
|
+
'_request_auth',
|
311
|
+
'_content_type',
|
312
|
+
'_headers'
|
313
|
+
]
|
314
|
+
)
|
315
|
+
|
316
|
+
# validate the arguments
|
317
|
+
for _key, _val in _params['kwargs'].items():
|
318
|
+
if _key not in _all_params:
|
319
|
+
raise ApiTypeError(
|
320
|
+
"Got an unexpected keyword argument '%s'"
|
321
|
+
" to method delete_data_type" % _key
|
322
|
+
)
|
323
|
+
_params[_key] = _val
|
324
|
+
del _params['kwargs']
|
325
|
+
|
326
|
+
_collection_formats = {}
|
327
|
+
|
328
|
+
# process the path parameters
|
329
|
+
_path_params = {}
|
330
|
+
if _params['scope']:
|
331
|
+
_path_params['scope'] = _params['scope']
|
332
|
+
|
333
|
+
if _params['code']:
|
334
|
+
_path_params['code'] = _params['code']
|
335
|
+
|
336
|
+
|
337
|
+
# process the query parameters
|
338
|
+
_query_params = []
|
339
|
+
# process the header parameters
|
340
|
+
_header_params = dict(_params.get('_headers', {}))
|
341
|
+
# process the form parameters
|
342
|
+
_form_params = []
|
343
|
+
_files = {}
|
344
|
+
# process the body parameter
|
345
|
+
_body_params = None
|
346
|
+
# set the HTTP header `Accept`
|
347
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
348
|
+
['text/plain', 'application/json', 'text/json']) # noqa: E501
|
349
|
+
|
350
|
+
# authentication setting
|
351
|
+
_auth_settings = ['oauth2'] # noqa: E501
|
352
|
+
|
353
|
+
_response_types_map = {
|
354
|
+
'200': "DeletedEntityResponse",
|
355
|
+
'400': "LusidValidationProblemDetails",
|
356
|
+
}
|
357
|
+
|
358
|
+
return self.api_client.call_api(
|
359
|
+
'/api/datatypes/{scope}/{code}', 'DELETE',
|
360
|
+
_path_params,
|
361
|
+
_query_params,
|
362
|
+
_header_params,
|
363
|
+
body=_body_params,
|
364
|
+
post_params=_form_params,
|
365
|
+
files=_files,
|
366
|
+
response_types_map=_response_types_map,
|
367
|
+
auth_settings=_auth_settings,
|
368
|
+
async_req=_params.get('async_req'),
|
369
|
+
_return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
|
370
|
+
_preload_content=_params.get('_preload_content', True),
|
371
|
+
_request_timeout=_params.get('_request_timeout'),
|
372
|
+
collection_formats=_collection_formats,
|
373
|
+
_request_auth=_params.get('_request_auth'))
|
374
|
+
|
215
375
|
@overload
|
216
376
|
async def get_data_type(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the data type")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the data type")], as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the data type definition. Defaults to return the latest version of the instrument definition if not specified.")] = None, **kwargs) -> DataType: # noqa: E501
|
217
377
|
...
|
lusid/api/funds_api.py
CHANGED
@@ -26,6 +26,7 @@ from pydantic.v1 import Field, StrictStr, conint, conlist, constr, validator
|
|
26
26
|
|
27
27
|
from typing import Dict, Optional
|
28
28
|
|
29
|
+
from lusid.models.accept_estimate_valuation_point_response import AcceptEstimateValuationPointResponse
|
29
30
|
from lusid.models.deleted_entity_response import DeletedEntityResponse
|
30
31
|
from lusid.models.diary_entry import DiaryEntry
|
31
32
|
from lusid.models.fee import Fee
|
@@ -66,18 +67,18 @@ class FundsApi:
|
|
66
67
|
self.api_client = api_client
|
67
68
|
|
68
69
|
@overload
|
69
|
-
async def accept_estimate_valuation_point(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the Fund.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), 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) ->
|
70
|
+
async def accept_estimate_valuation_point(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the Fund.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), 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
|
70
71
|
...
|
71
72
|
|
72
73
|
@overload
|
73
|
-
def accept_estimate_valuation_point(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the Fund.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), 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) ->
|
74
|
+
def accept_estimate_valuation_point(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the Fund.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), 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
|
74
75
|
...
|
75
76
|
|
76
77
|
@validate_arguments
|
77
|
-
def accept_estimate_valuation_point(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the Fund.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), 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[
|
78
|
+
def accept_estimate_valuation_point(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the Fund.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), 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
|
78
79
|
"""[EXPERIMENTAL] AcceptEstimateValuationPoint: Accepts an Estimate Valuation Point. # noqa: E501
|
79
80
|
|
80
|
-
Accepts the specified estimate Valuation Point.
|
81
|
+
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
|
81
82
|
This method makes a synchronous HTTP request by default. To make an
|
82
83
|
asynchronous HTTP request, please pass async_req=True
|
83
84
|
|
@@ -99,7 +100,7 @@ class FundsApi:
|
|
99
100
|
:return: Returns the result object.
|
100
101
|
If the method is called asynchronously,
|
101
102
|
returns the request thread.
|
102
|
-
:rtype:
|
103
|
+
:rtype: AcceptEstimateValuationPointResponse
|
103
104
|
"""
|
104
105
|
kwargs['_return_http_data_only'] = True
|
105
106
|
if '_preload_content' in kwargs:
|
@@ -113,7 +114,7 @@ class FundsApi:
|
|
113
114
|
def accept_estimate_valuation_point_with_http_info(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the Fund.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), 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
|
114
115
|
"""[EXPERIMENTAL] AcceptEstimateValuationPoint: Accepts an Estimate Valuation Point. # noqa: E501
|
115
116
|
|
116
|
-
Accepts the specified estimate Valuation Point.
|
117
|
+
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
|
117
118
|
This method makes a synchronous HTTP request by default. To make an
|
118
119
|
asynchronous HTTP request, please pass async_req=True
|
119
120
|
|
@@ -148,7 +149,7 @@ class FundsApi:
|
|
148
149
|
:return: Returns the result object.
|
149
150
|
If the method is called asynchronously,
|
150
151
|
returns the request thread.
|
151
|
-
:rtype: tuple(
|
152
|
+
:rtype: tuple(AcceptEstimateValuationPointResponse, status_code(int), headers(HTTPHeaderDict))
|
152
153
|
"""
|
153
154
|
|
154
155
|
_params = locals()
|
@@ -218,7 +219,7 @@ class FundsApi:
|
|
218
219
|
_auth_settings = ['oauth2'] # noqa: E501
|
219
220
|
|
220
221
|
_response_types_map = {
|
221
|
-
'200': "
|
222
|
+
'200': "AcceptEstimateValuationPointResponse",
|
222
223
|
'400': "LusidValidationProblemDetails",
|
223
224
|
}
|
224
225
|
|