lusid-sdk 2.1.322__py3-none-any.whl → 2.1.390__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.
Files changed (106) hide show
  1. lusid/__init__.py +64 -0
  2. lusid/api/__init__.py +5 -1
  3. lusid/api/data_types_api.py +160 -0
  4. lusid/api/entities_api.py +172 -0
  5. lusid/api/funds_api.py +221 -8
  6. lusid/api/group_reconciliations_api.py +378 -0
  7. lusid/api/order_management_api.py +321 -0
  8. lusid/api/workspace_api.py +3433 -0
  9. lusid/configuration.py +16 -7
  10. lusid/models/__init__.py +60 -0
  11. lusid/models/accept_estimate_valuation_point_response.py +100 -0
  12. lusid/models/accumulation_event.py +3 -3
  13. lusid/models/action_id.py +1 -1
  14. lusid/models/amortisation_event.py +3 -3
  15. lusid/models/applicable_instrument_event.py +14 -2
  16. lusid/models/bond_coupon_event.py +3 -3
  17. lusid/models/bond_default_event.py +3 -3
  18. lusid/models/bond_principal_event.py +3 -3
  19. lusid/models/calendar.py +17 -2
  20. lusid/models/capital_distribution_event.py +3 -3
  21. lusid/models/cash_dividend_event.py +3 -3
  22. lusid/models/cash_flow_event.py +3 -3
  23. lusid/models/close_event.py +3 -3
  24. lusid/models/close_period_diary_entry_request.py +1 -1
  25. lusid/models/create_group_reconciliation_comparison_ruleset_request.py +97 -0
  26. lusid/models/custom_entity_definition.py +17 -2
  27. lusid/models/custom_entity_type.py +17 -2
  28. lusid/models/data_type.py +14 -8
  29. lusid/models/data_type_entity.py +131 -0
  30. lusid/models/diary_entry.py +1 -1
  31. lusid/models/diary_entry_request.py +1 -1
  32. lusid/models/dividend_option_event.py +3 -3
  33. lusid/models/dividend_reinvestment_event.py +3 -3
  34. lusid/models/entity_change_item.py +121 -0
  35. lusid/models/exercise_event.py +3 -3
  36. lusid/models/expiry_event.py +3 -3
  37. lusid/models/fee.py +1 -1
  38. lusid/models/fee_request.py +1 -1
  39. lusid/models/flow_conventions.py +1 -1
  40. lusid/models/fund_amount.py +1 -1
  41. lusid/models/fund_configuration.py +6 -6
  42. lusid/models/fund_configuration_request.py +6 -6
  43. lusid/models/fund_details.py +74 -0
  44. lusid/models/future_expiry_event.py +3 -3
  45. lusid/models/futures_contract_details.py +6 -1
  46. lusid/models/fx_forward_settlement_event.py +3 -3
  47. lusid/models/generated_event_diagnostics.py +75 -0
  48. lusid/models/group_reconciliation_aggregate_attribute_rule.py +84 -0
  49. lusid/models/group_reconciliation_aggregate_comparison_rule_operand.py +71 -0
  50. lusid/models/group_reconciliation_comparison_rule_string_value_map.py +73 -0
  51. lusid/models/group_reconciliation_comparison_rule_tolerance.py +71 -0
  52. lusid/models/group_reconciliation_comparison_ruleset.py +125 -0
  53. lusid/models/group_reconciliation_core_attribute_rule.py +95 -0
  54. lusid/models/group_reconciliation_core_comparison_rule_operand.py +71 -0
  55. lusid/models/index_convention.py +1 -1
  56. lusid/models/informational_error_event.py +3 -3
  57. lusid/models/informational_event.py +3 -3
  58. lusid/models/instrument_event.py +7 -5
  59. lusid/models/instrument_event_instruction.py +19 -4
  60. lusid/models/instrument_event_type.py +2 -0
  61. lusid/models/instrument_resolution_detail.py +19 -5
  62. lusid/models/journal_entry_line.py +5 -3
  63. lusid/models/maturity_event.py +3 -3
  64. lusid/models/merger_event.py +3 -3
  65. lusid/models/new_instrument.py +10 -2
  66. lusid/models/open_event.py +3 -3
  67. lusid/models/order_graph_block_order_detail.py +1 -1
  68. lusid/models/order_update_request.py +121 -0
  69. lusid/models/paged_resource_list_of_valuation_point_overview.py +113 -0
  70. lusid/models/paged_resource_list_of_workspace.py +113 -0
  71. lusid/models/paged_resource_list_of_workspace_item.py +113 -0
  72. lusid/models/person.py +17 -2
  73. lusid/models/placement_update_request.py +6 -1
  74. lusid/models/previous_nav.py +3 -3
  75. lusid/models/quote_access_metadata_rule_id.py +2 -2
  76. lusid/models/quote_series_id.py +2 -2
  77. lusid/models/raw_vendor_event.py +3 -3
  78. lusid/models/reset_event.py +3 -3
  79. lusid/models/resource_list_of_entity_change_item.py +113 -0
  80. lusid/models/reverse_stock_split_event.py +3 -3
  81. lusid/models/scrip_dividend_event.py +20 -6
  82. lusid/models/share_class_amount.py +7 -9
  83. lusid/models/share_class_breakdown.py +9 -18
  84. lusid/models/share_class_dealing_breakdown.py +96 -0
  85. lusid/models/share_class_details.py +5 -3
  86. lusid/models/spin_off_event.py +3 -3
  87. lusid/models/stock_dividend_event.py +3 -3
  88. lusid/models/stock_split_event.py +21 -7
  89. lusid/models/swap_cash_flow_event.py +97 -0
  90. lusid/models/swap_principal_event.py +97 -0
  91. lusid/models/transaction_diagnostics.py +71 -0
  92. lusid/models/transition_event.py +3 -3
  93. lusid/models/trigger_event.py +3 -3
  94. lusid/models/update_orders_response.py +153 -0
  95. lusid/models/valuation_point_data_response.py +22 -2
  96. lusid/models/valuation_point_overview.py +125 -0
  97. lusid/models/weighted_instrument.py +9 -2
  98. lusid/models/workspace.py +92 -0
  99. lusid/models/workspace_creation_request.py +78 -0
  100. lusid/models/workspace_item.py +105 -0
  101. lusid/models/workspace_item_creation_request.py +91 -0
  102. lusid/models/workspace_item_update_request.py +82 -0
  103. lusid/models/workspace_update_request.py +69 -0
  104. {lusid_sdk-2.1.322.dist-info → lusid_sdk-2.1.390.dist-info}/METADATA +58 -1
  105. {lusid_sdk-2.1.322.dist-info → lusid_sdk-2.1.390.dist-info}/RECORD +106 -74
  106. {lusid_sdk-2.1.322.dist-info → lusid_sdk-2.1.390.dist-info}/WHEEL +0 -0
lusid/api/entities_api.py CHANGED
@@ -26,6 +26,7 @@ from pydantic.v1 import Field, StrictStr, conlist, constr, validator
26
26
 
27
27
  from typing import Optional
28
28
 
29
+ from lusid.models.data_type_entity import DataTypeEntity
29
30
  from lusid.models.instrument_entity import InstrumentEntity
30
31
  from lusid.models.portfolio_entity import PortfolioEntity
31
32
  from lusid.models.property_definition_entity import PropertyDefinitionEntity
@@ -51,6 +52,177 @@ class EntitiesApi:
51
52
  api_client = ApiClient.get_default()
52
53
  self.api_client = api_client
53
54
 
55
+ @overload
56
+ async def get_data_type_by_entity_unique_id(self, entity_unique_id : Annotated[constr(strict=True, max_length=40, min_length=30), Field(..., description="The universally unique identifier of the DataType definition.")], as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the DataType definition. Defaults to returning the latest version of the DataType definition if not specified.")] = None, previews : Annotated[Optional[conlist(StrictStr)], Field(description="The ids of the staged modifications to be previewed in the response.")] = None, **kwargs) -> DataTypeEntity: # noqa: E501
57
+ ...
58
+
59
+ @overload
60
+ def get_data_type_by_entity_unique_id(self, entity_unique_id : Annotated[constr(strict=True, max_length=40, min_length=30), Field(..., description="The universally unique identifier of the DataType definition.")], as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the DataType definition. Defaults to returning the latest version of the DataType definition if not specified.")] = None, previews : Annotated[Optional[conlist(StrictStr)], Field(description="The ids of the staged modifications to be previewed in the response.")] = None, async_req: Optional[bool]=True, **kwargs) -> DataTypeEntity: # noqa: E501
61
+ ...
62
+
63
+ @validate_arguments
64
+ def get_data_type_by_entity_unique_id(self, entity_unique_id : Annotated[constr(strict=True, max_length=40, min_length=30), Field(..., description="The universally unique identifier of the DataType definition.")], as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the DataType definition. Defaults to returning the latest version of the DataType definition if not specified.")] = None, previews : Annotated[Optional[conlist(StrictStr)], Field(description="The ids of the staged modifications to be previewed in the response.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[DataTypeEntity, Awaitable[DataTypeEntity]]: # noqa: E501
65
+ """[EXPERIMENTAL] GetDataTypeByEntityUniqueId: Get DataType by EntityUniqueId # noqa: E501
66
+
67
+ Retrieve the definition of a particular DataType. If the DataType is deleted, this will return the state of the DataType immediately prior to deletion. # noqa: E501
68
+ This method makes a synchronous HTTP request by default. To make an
69
+ asynchronous HTTP request, please pass async_req=True
70
+
71
+ >>> thread = api.get_data_type_by_entity_unique_id(entity_unique_id, as_at, previews, async_req=True)
72
+ >>> result = thread.get()
73
+
74
+ :param entity_unique_id: The universally unique identifier of the DataType definition. (required)
75
+ :type entity_unique_id: str
76
+ :param as_at: The asAt datetime at which to retrieve the DataType definition. Defaults to returning the latest version of the DataType definition if not specified.
77
+ :type as_at: datetime
78
+ :param previews: The ids of the staged modifications to be previewed in the response.
79
+ :type previews: List[str]
80
+ :param async_req: Whether to execute the request asynchronously.
81
+ :type async_req: bool, optional
82
+ :param _request_timeout: timeout setting for this request.
83
+ If one number provided, it will be total request
84
+ timeout. It can also be a pair (tuple) of
85
+ (connection, read) timeouts.
86
+ :return: Returns the result object.
87
+ If the method is called asynchronously,
88
+ returns the request thread.
89
+ :rtype: DataTypeEntity
90
+ """
91
+ kwargs['_return_http_data_only'] = True
92
+ if '_preload_content' in kwargs:
93
+ message = "Error! Please call the get_data_type_by_entity_unique_id_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501
94
+ raise ValueError(message)
95
+ if async_req is not None:
96
+ kwargs['async_req'] = async_req
97
+ return self.get_data_type_by_entity_unique_id_with_http_info(entity_unique_id, as_at, previews, **kwargs) # noqa: E501
98
+
99
+ @validate_arguments
100
+ def get_data_type_by_entity_unique_id_with_http_info(self, entity_unique_id : Annotated[constr(strict=True, max_length=40, min_length=30), Field(..., description="The universally unique identifier of the DataType definition.")], as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the DataType definition. Defaults to returning the latest version of the DataType definition if not specified.")] = None, previews : Annotated[Optional[conlist(StrictStr)], Field(description="The ids of the staged modifications to be previewed in the response.")] = None, **kwargs) -> ApiResponse: # noqa: E501
101
+ """[EXPERIMENTAL] GetDataTypeByEntityUniqueId: Get DataType by EntityUniqueId # noqa: E501
102
+
103
+ Retrieve the definition of a particular DataType. If the DataType is deleted, this will return the state of the DataType immediately prior to deletion. # noqa: E501
104
+ This method makes a synchronous HTTP request by default. To make an
105
+ asynchronous HTTP request, please pass async_req=True
106
+
107
+ >>> thread = api.get_data_type_by_entity_unique_id_with_http_info(entity_unique_id, as_at, previews, async_req=True)
108
+ >>> result = thread.get()
109
+
110
+ :param entity_unique_id: The universally unique identifier of the DataType definition. (required)
111
+ :type entity_unique_id: str
112
+ :param as_at: The asAt datetime at which to retrieve the DataType definition. Defaults to returning the latest version of the DataType definition if not specified.
113
+ :type as_at: datetime
114
+ :param previews: The ids of the staged modifications to be previewed in the response.
115
+ :type previews: List[str]
116
+ :param async_req: Whether to execute the request asynchronously.
117
+ :type async_req: bool, optional
118
+ :param _preload_content: if False, the ApiResponse.data will
119
+ be set to none and raw_data will store the
120
+ HTTP response body without reading/decoding.
121
+ Default is True.
122
+ :type _preload_content: bool, optional
123
+ :param _return_http_data_only: response data instead of ApiResponse
124
+ object with status code, headers, etc
125
+ :type _return_http_data_only: bool, optional
126
+ :param _request_timeout: timeout setting for this request. If one
127
+ number provided, it will be total request
128
+ timeout. It can also be a pair (tuple) of
129
+ (connection, read) timeouts.
130
+ :param _request_auth: set to override the auth_settings for an a single
131
+ request; this effectively ignores the authentication
132
+ in the spec for a single request.
133
+ :type _request_auth: dict, optional
134
+ :type _content_type: string, optional: force content-type for the request
135
+ :return: Returns the result object.
136
+ If the method is called asynchronously,
137
+ returns the request thread.
138
+ :rtype: tuple(DataTypeEntity, status_code(int), headers(HTTPHeaderDict))
139
+ """
140
+
141
+ _params = locals()
142
+
143
+ _all_params = [
144
+ 'entity_unique_id',
145
+ 'as_at',
146
+ 'previews'
147
+ ]
148
+ _all_params.extend(
149
+ [
150
+ 'async_req',
151
+ '_return_http_data_only',
152
+ '_preload_content',
153
+ '_request_timeout',
154
+ '_request_auth',
155
+ '_content_type',
156
+ '_headers'
157
+ ]
158
+ )
159
+
160
+ # validate the arguments
161
+ for _key, _val in _params['kwargs'].items():
162
+ if _key not in _all_params:
163
+ raise ApiTypeError(
164
+ "Got an unexpected keyword argument '%s'"
165
+ " to method get_data_type_by_entity_unique_id" % _key
166
+ )
167
+ _params[_key] = _val
168
+ del _params['kwargs']
169
+
170
+ _collection_formats = {}
171
+
172
+ # process the path parameters
173
+ _path_params = {}
174
+ if _params['entity_unique_id']:
175
+ _path_params['entityUniqueId'] = _params['entity_unique_id']
176
+
177
+
178
+ # process the query parameters
179
+ _query_params = []
180
+ if _params.get('as_at') is not None: # noqa: E501
181
+ if isinstance(_params['as_at'], datetime):
182
+ _query_params.append(('asAt', _params['as_at'].strftime(self.api_client.configuration.datetime_format)))
183
+ else:
184
+ _query_params.append(('asAt', _params['as_at']))
185
+
186
+ if _params.get('previews') is not None: # noqa: E501
187
+ _query_params.append(('previews', _params['previews']))
188
+ _collection_formats['previews'] = 'multi'
189
+
190
+ # process the header parameters
191
+ _header_params = dict(_params.get('_headers', {}))
192
+ # process the form parameters
193
+ _form_params = []
194
+ _files = {}
195
+ # process the body parameter
196
+ _body_params = None
197
+ # set the HTTP header `Accept`
198
+ _header_params['Accept'] = self.api_client.select_header_accept(
199
+ ['text/plain', 'application/json', 'text/json']) # noqa: E501
200
+
201
+ # authentication setting
202
+ _auth_settings = ['oauth2'] # noqa: E501
203
+
204
+ _response_types_map = {
205
+ '200': "DataTypeEntity",
206
+ '400': "LusidValidationProblemDetails",
207
+ }
208
+
209
+ return self.api_client.call_api(
210
+ '/api/entities/datatypes/{entityUniqueId}', 'GET',
211
+ _path_params,
212
+ _query_params,
213
+ _header_params,
214
+ body=_body_params,
215
+ post_params=_form_params,
216
+ files=_files,
217
+ response_types_map=_response_types_map,
218
+ auth_settings=_auth_settings,
219
+ async_req=_params.get('async_req'),
220
+ _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
221
+ _preload_content=_params.get('_preload_content', True),
222
+ _request_timeout=_params.get('_request_timeout'),
223
+ collection_formats=_collection_formats,
224
+ _request_auth=_params.get('_request_auth'))
225
+
54
226
  @overload
55
227
  async def get_instrument_by_entity_unique_id(self, entity_unique_id : Annotated[constr(strict=True, max_length=40, min_length=30), Field(..., description="The universally unique identifier of the instrument definition.")], effective_at : Annotated[Optional[StrictStr], Field(description="The effective datetime or cut label at which to retrieve the Instrument definition. Defaults to the current LUSID system datetime if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the instrument definition. Defaults to returning the latest version of the instrument definition if not specified.")] = None, previews : Annotated[Optional[conlist(StrictStr)], Field(description="The ids of the staged modifications to be previewed in the response.")] = None, **kwargs) -> InstrumentEntity: # noqa: E501
56
228
  ...
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
@@ -38,6 +39,7 @@ from lusid.models.model_property import ModelProperty
38
39
  from lusid.models.operation import Operation
39
40
  from lusid.models.paged_resource_list_of_fee import PagedResourceListOfFee
40
41
  from lusid.models.paged_resource_list_of_fund import PagedResourceListOfFund
42
+ from lusid.models.paged_resource_list_of_valuation_point_overview import PagedResourceListOfValuationPointOverview
41
43
  from lusid.models.set_share_class_instruments_request import SetShareClassInstrumentsRequest
42
44
  from lusid.models.upsert_valuation_point_request import UpsertValuationPointRequest
43
45
  from lusid.models.valuation_point_data_query_parameters import ValuationPointDataQueryParameters
@@ -65,18 +67,18 @@ class FundsApi:
65
67
  self.api_client = api_client
66
68
 
67
69
  @overload
68
- 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) -> ValuationPointDataResponse: # noqa: E501
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
69
71
  ...
70
72
 
71
73
  @overload
72
- 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) -> ValuationPointDataResponse: # noqa: E501
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
73
75
  ...
74
76
 
75
77
  @validate_arguments
76
- 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[ValuationPointDataResponse, Awaitable[ValuationPointDataResponse]]: # noqa: E501
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
77
79
  """[EXPERIMENTAL] AcceptEstimateValuationPoint: Accepts an Estimate Valuation Point. # noqa: E501
78
80
 
79
- Accepts the specified estimate Valuation Point. Should the Valuation Point differ since the valuation Point was last run, status will be marked as 'Candidate', otherwise it will be marked as 'Final' # noqa: E501
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
80
82
  This method makes a synchronous HTTP request by default. To make an
81
83
  asynchronous HTTP request, please pass async_req=True
82
84
 
@@ -98,7 +100,7 @@ class FundsApi:
98
100
  :return: Returns the result object.
99
101
  If the method is called asynchronously,
100
102
  returns the request thread.
101
- :rtype: ValuationPointDataResponse
103
+ :rtype: AcceptEstimateValuationPointResponse
102
104
  """
103
105
  kwargs['_return_http_data_only'] = True
104
106
  if '_preload_content' in kwargs:
@@ -112,7 +114,7 @@ class FundsApi:
112
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
113
115
  """[EXPERIMENTAL] AcceptEstimateValuationPoint: Accepts an Estimate Valuation Point. # noqa: E501
114
116
 
115
- Accepts the specified estimate Valuation Point. Should the Valuation Point differ since the valuation Point was last run, status will be marked as 'Candidate', otherwise it will be marked as 'Final' # noqa: E501
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
116
118
  This method makes a synchronous HTTP request by default. To make an
117
119
  asynchronous HTTP request, please pass async_req=True
118
120
 
@@ -147,7 +149,7 @@ class FundsApi:
147
149
  :return: Returns the result object.
148
150
  If the method is called asynchronously,
149
151
  returns the request thread.
150
- :rtype: tuple(ValuationPointDataResponse, status_code(int), headers(HTTPHeaderDict))
152
+ :rtype: tuple(AcceptEstimateValuationPointResponse, status_code(int), headers(HTTPHeaderDict))
151
153
  """
152
154
 
153
155
  _params = locals()
@@ -217,7 +219,7 @@ class FundsApi:
217
219
  _auth_settings = ['oauth2'] # noqa: E501
218
220
 
219
221
  _response_types_map = {
220
- '200': "ValuationPointDataResponse",
222
+ '200': "AcceptEstimateValuationPointResponse",
221
223
  '400': "LusidValidationProblemDetails",
222
224
  }
223
225
 
@@ -2236,6 +2238,217 @@ class FundsApi:
2236
2238
  collection_formats=_collection_formats,
2237
2239
  _request_auth=_params.get('_request_auth'))
2238
2240
 
2241
+ @overload
2242
+ async def list_valuation_point_overview(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.")], 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[constr(strict=True, max_length=500, min_length=1)], 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, le=5000, ge=1)], Field(description="When paginating, limit the results to this number. Defaults to 100 if not specified.")] = None, filter : Annotated[Optional[constr(strict=True, max_length=16384, min_length=0)], 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
2243
+ ...
2244
+
2245
+ @overload
2246
+ def list_valuation_point_overview(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.")], 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[constr(strict=True, max_length=500, min_length=1)], 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, le=5000, ge=1)], Field(description="When paginating, limit the results to this number. Defaults to 100 if not specified.")] = None, filter : Annotated[Optional[constr(strict=True, max_length=16384, min_length=0)], 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
2247
+ ...
2248
+
2249
+ @validate_arguments
2250
+ def list_valuation_point_overview(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.")], 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[constr(strict=True, max_length=500, min_length=1)], 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, le=5000, ge=1)], Field(description="When paginating, limit the results to this number. Defaults to 100 if not specified.")] = None, filter : Annotated[Optional[constr(strict=True, max_length=16384, min_length=0)], 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
2251
+ """[EXPERIMENTAL] ListValuationPointOverview: List Valuation Points Overview for a given Fund. # noqa: E501
2252
+
2253
+ List all the Valuation Points that match the given criteria for a given Fund. # noqa: E501
2254
+ This method makes a synchronous HTTP request by default. To make an
2255
+ asynchronous HTTP request, please pass async_req=True
2256
+
2257
+ >>> thread = api.list_valuation_point_overview(scope, code, effective_at, as_at, page, limit, filter, property_keys, async_req=True)
2258
+ >>> result = thread.get()
2259
+
2260
+ :param scope: The scope of the Fund. (required)
2261
+ :type scope: str
2262
+ :param code: The code of the Fund. (required)
2263
+ :type code: str
2264
+ :param effective_at: 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.
2265
+ :type effective_at: str
2266
+ :param as_at: The asAt datetime at which to list the ValuationPoints. Defaults to returning the latest version of each ValuationPoint if not specified.
2267
+ :type as_at: datetime
2268
+ :param page: 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.
2269
+ :type page: str
2270
+ :param limit: When paginating, limit the results to this number. Defaults to 100 if not specified.
2271
+ :type limit: int
2272
+ :param filter: 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.
2273
+ :type filter: str
2274
+ :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'.
2275
+ :type property_keys: List[str]
2276
+ :param async_req: Whether to execute the request asynchronously.
2277
+ :type async_req: bool, optional
2278
+ :param _request_timeout: timeout setting for this request.
2279
+ If one number provided, it will be total request
2280
+ timeout. It can also be a pair (tuple) of
2281
+ (connection, read) timeouts.
2282
+ :return: Returns the result object.
2283
+ If the method is called asynchronously,
2284
+ returns the request thread.
2285
+ :rtype: PagedResourceListOfValuationPointOverview
2286
+ """
2287
+ kwargs['_return_http_data_only'] = True
2288
+ if '_preload_content' in kwargs:
2289
+ message = "Error! Please call the list_valuation_point_overview_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501
2290
+ raise ValueError(message)
2291
+ if async_req is not None:
2292
+ kwargs['async_req'] = async_req
2293
+ return self.list_valuation_point_overview_with_http_info(scope, code, effective_at, as_at, page, limit, filter, property_keys, **kwargs) # noqa: E501
2294
+
2295
+ @validate_arguments
2296
+ def list_valuation_point_overview_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.")], 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[constr(strict=True, max_length=500, min_length=1)], 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, le=5000, ge=1)], Field(description="When paginating, limit the results to this number. Defaults to 100 if not specified.")] = None, filter : Annotated[Optional[constr(strict=True, max_length=16384, min_length=0)], 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
2297
+ """[EXPERIMENTAL] ListValuationPointOverview: List Valuation Points Overview for a given Fund. # noqa: E501
2298
+
2299
+ List all the Valuation Points that match the given criteria for a given Fund. # noqa: E501
2300
+ This method makes a synchronous HTTP request by default. To make an
2301
+ asynchronous HTTP request, please pass async_req=True
2302
+
2303
+ >>> thread = api.list_valuation_point_overview_with_http_info(scope, code, effective_at, as_at, page, limit, filter, property_keys, async_req=True)
2304
+ >>> result = thread.get()
2305
+
2306
+ :param scope: The scope of the Fund. (required)
2307
+ :type scope: str
2308
+ :param code: The code of the Fund. (required)
2309
+ :type code: str
2310
+ :param effective_at: 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.
2311
+ :type effective_at: str
2312
+ :param as_at: The asAt datetime at which to list the ValuationPoints. Defaults to returning the latest version of each ValuationPoint if not specified.
2313
+ :type as_at: datetime
2314
+ :param page: 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.
2315
+ :type page: str
2316
+ :param limit: When paginating, limit the results to this number. Defaults to 100 if not specified.
2317
+ :type limit: int
2318
+ :param filter: 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.
2319
+ :type filter: str
2320
+ :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'.
2321
+ :type property_keys: List[str]
2322
+ :param async_req: Whether to execute the request asynchronously.
2323
+ :type async_req: bool, optional
2324
+ :param _preload_content: if False, the ApiResponse.data will
2325
+ be set to none and raw_data will store the
2326
+ HTTP response body without reading/decoding.
2327
+ Default is True.
2328
+ :type _preload_content: bool, optional
2329
+ :param _return_http_data_only: response data instead of ApiResponse
2330
+ object with status code, headers, etc
2331
+ :type _return_http_data_only: bool, optional
2332
+ :param _request_timeout: timeout setting for this request. If one
2333
+ number provided, it will be total request
2334
+ timeout. It can also be a pair (tuple) of
2335
+ (connection, read) timeouts.
2336
+ :param _request_auth: set to override the auth_settings for an a single
2337
+ request; this effectively ignores the authentication
2338
+ in the spec for a single request.
2339
+ :type _request_auth: dict, optional
2340
+ :type _content_type: string, optional: force content-type for the request
2341
+ :return: Returns the result object.
2342
+ If the method is called asynchronously,
2343
+ returns the request thread.
2344
+ :rtype: tuple(PagedResourceListOfValuationPointOverview, status_code(int), headers(HTTPHeaderDict))
2345
+ """
2346
+
2347
+ _params = locals()
2348
+
2349
+ _all_params = [
2350
+ 'scope',
2351
+ 'code',
2352
+ 'effective_at',
2353
+ 'as_at',
2354
+ 'page',
2355
+ 'limit',
2356
+ 'filter',
2357
+ 'property_keys'
2358
+ ]
2359
+ _all_params.extend(
2360
+ [
2361
+ 'async_req',
2362
+ '_return_http_data_only',
2363
+ '_preload_content',
2364
+ '_request_timeout',
2365
+ '_request_auth',
2366
+ '_content_type',
2367
+ '_headers'
2368
+ ]
2369
+ )
2370
+
2371
+ # validate the arguments
2372
+ for _key, _val in _params['kwargs'].items():
2373
+ if _key not in _all_params:
2374
+ raise ApiTypeError(
2375
+ "Got an unexpected keyword argument '%s'"
2376
+ " to method list_valuation_point_overview" % _key
2377
+ )
2378
+ _params[_key] = _val
2379
+ del _params['kwargs']
2380
+
2381
+ _collection_formats = {}
2382
+
2383
+ # process the path parameters
2384
+ _path_params = {}
2385
+ if _params['scope']:
2386
+ _path_params['scope'] = _params['scope']
2387
+
2388
+ if _params['code']:
2389
+ _path_params['code'] = _params['code']
2390
+
2391
+
2392
+ # process the query parameters
2393
+ _query_params = []
2394
+ if _params.get('effective_at') is not None: # noqa: E501
2395
+ _query_params.append(('effectiveAt', _params['effective_at']))
2396
+
2397
+ if _params.get('as_at') is not None: # noqa: E501
2398
+ if isinstance(_params['as_at'], datetime):
2399
+ _query_params.append(('asAt', _params['as_at'].strftime(self.api_client.configuration.datetime_format)))
2400
+ else:
2401
+ _query_params.append(('asAt', _params['as_at']))
2402
+
2403
+ if _params.get('page') is not None: # noqa: E501
2404
+ _query_params.append(('page', _params['page']))
2405
+
2406
+ if _params.get('limit') is not None: # noqa: E501
2407
+ _query_params.append(('limit', _params['limit']))
2408
+
2409
+ if _params.get('filter') is not None: # noqa: E501
2410
+ _query_params.append(('filter', _params['filter']))
2411
+
2412
+ if _params.get('property_keys') is not None: # noqa: E501
2413
+ _query_params.append(('propertyKeys', _params['property_keys']))
2414
+ _collection_formats['propertyKeys'] = 'multi'
2415
+
2416
+ # process the header parameters
2417
+ _header_params = dict(_params.get('_headers', {}))
2418
+ # process the form parameters
2419
+ _form_params = []
2420
+ _files = {}
2421
+ # process the body parameter
2422
+ _body_params = None
2423
+ # set the HTTP header `Accept`
2424
+ _header_params['Accept'] = self.api_client.select_header_accept(
2425
+ ['text/plain', 'application/json', 'text/json']) # noqa: E501
2426
+
2427
+ # authentication setting
2428
+ _auth_settings = ['oauth2'] # noqa: E501
2429
+
2430
+ _response_types_map = {
2431
+ '200': "PagedResourceListOfValuationPointOverview",
2432
+ '400': "LusidValidationProblemDetails",
2433
+ }
2434
+
2435
+ return self.api_client.call_api(
2436
+ '/api/funds/{scope}/{code}/valuationPointOverview', 'GET',
2437
+ _path_params,
2438
+ _query_params,
2439
+ _header_params,
2440
+ body=_body_params,
2441
+ post_params=_form_params,
2442
+ files=_files,
2443
+ response_types_map=_response_types_map,
2444
+ auth_settings=_auth_settings,
2445
+ async_req=_params.get('async_req'),
2446
+ _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
2447
+ _preload_content=_params.get('_preload_content', True),
2448
+ _request_timeout=_params.get('_request_timeout'),
2449
+ collection_formats=_collection_formats,
2450
+ _request_auth=_params.get('_request_auth'))
2451
+
2239
2452
  @overload
2240
2453
  async def patch_fee(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.")], fee_code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the Fee.")], operation : Annotated[conlist(Operation), Field(..., description="The json patch document. For more information see: https://datatracker.ietf.org/doc/html/rfc6902.")], **kwargs) -> Fee: # noqa: E501
2241
2454
  ...