lusid-sdk 2.1.254__py3-none-any.whl → 2.1.286__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.

Potentially problematic release.


This version of lusid-sdk might be problematic. Click here for more details.

Files changed (82) hide show
  1. lusid/__init__.py +44 -0
  2. lusid/api/__init__.py +2 -0
  3. lusid/api/fund_configurations_api.py +944 -0
  4. lusid/api/funds_api.py +1 -1
  5. lusid/api/order_management_api.py +161 -2
  6. lusid/configuration.py +1 -1
  7. lusid/models/__init__.py +42 -0
  8. lusid/models/accounting_method.py +3 -0
  9. lusid/models/accumulation_event.py +3 -3
  10. lusid/models/amortisation_event.py +3 -3
  11. lusid/models/bond_coupon_event.py +3 -3
  12. lusid/models/bond_default_event.py +3 -3
  13. lusid/models/bond_principal_event.py +3 -3
  14. lusid/models/cancel_placements_response.py +153 -0
  15. lusid/models/cancelled_placement_result.py +83 -0
  16. lusid/models/capital_distribution_event.py +3 -3
  17. lusid/models/cash.py +93 -0
  18. lusid/models/cash_dividend_event.py +3 -3
  19. lusid/models/cash_flow_event.py +3 -3
  20. lusid/models/close_event.py +3 -3
  21. lusid/models/component_filter.py +85 -0
  22. lusid/models/component_rule.py +77 -0
  23. lusid/models/contract_for_difference.py +4 -2
  24. lusid/models/create_derived_transaction_portfolio_request.py +3 -3
  25. lusid/models/create_transaction_portfolio_request.py +3 -3
  26. lusid/models/dividend_option_event.py +3 -3
  27. lusid/models/dividend_reinvestment_event.py +3 -3
  28. lusid/models/exercise_event.py +3 -3
  29. lusid/models/expiry_event.py +3 -3
  30. lusid/models/fund.py +6 -1
  31. lusid/models/fund_amount.py +69 -0
  32. lusid/models/fund_configuration.py +151 -0
  33. lusid/models/fund_configuration_properties.py +115 -0
  34. lusid/models/fund_configuration_request.py +136 -0
  35. lusid/models/fund_previous_nav.py +69 -0
  36. lusid/models/fund_request.py +6 -1
  37. lusid/models/fund_valuation_point_data.py +160 -0
  38. lusid/models/future_expiry_event.py +100 -0
  39. lusid/models/futures_contract_details.py +9 -2
  40. lusid/models/fx_forward_settlement_event.py +3 -3
  41. lusid/models/informational_error_event.py +3 -3
  42. lusid/models/informational_event.py +3 -3
  43. lusid/models/instrument_event.py +6 -5
  44. lusid/models/instrument_event_type.py +1 -0
  45. lusid/models/lusid_instrument.py +3 -2
  46. lusid/models/market_data_key_rule.py +3 -3
  47. lusid/models/market_data_specific_rule.py +3 -3
  48. lusid/models/market_quote.py +3 -3
  49. lusid/models/maturity_event.py +3 -3
  50. lusid/models/merger_event.py +3 -3
  51. lusid/models/model_selection.py +3 -3
  52. lusid/models/open_event.py +3 -3
  53. lusid/models/paged_resource_list_of_fund_configuration.py +113 -0
  54. lusid/models/portfolio.py +3 -3
  55. lusid/models/portfolio_details.py +3 -3
  56. lusid/models/portfolio_without_href.py +3 -3
  57. lusid/models/previous_fund_valuation_point_data.py +79 -0
  58. lusid/models/previous_nav.py +73 -0
  59. lusid/models/previous_share_class_breakdown.py +81 -0
  60. lusid/models/pricing_model.py +1 -0
  61. lusid/models/property_definition.py +7 -1
  62. lusid/models/quote_series_id.py +4 -20
  63. lusid/models/quote_type.py +3 -0
  64. lusid/models/raw_vendor_event.py +3 -3
  65. lusid/models/reset_event.py +3 -3
  66. lusid/models/reverse_stock_split_event.py +3 -3
  67. lusid/models/scrip_dividend_event.py +3 -3
  68. lusid/models/share_class_amount.py +73 -0
  69. lusid/models/share_class_breakdown.py +171 -0
  70. lusid/models/share_class_data.py +79 -0
  71. lusid/models/share_class_details.py +108 -0
  72. lusid/models/spin_off_event.py +3 -3
  73. lusid/models/stock_dividend_event.py +3 -3
  74. lusid/models/stock_split_event.py +3 -3
  75. lusid/models/transaction_field_map.py +8 -3
  76. lusid/models/transition_event.py +3 -3
  77. lusid/models/trigger_event.py +3 -3
  78. lusid/models/unitisation_data.py +73 -0
  79. lusid/models/valuation_point_data_response.py +30 -9
  80. {lusid_sdk-2.1.254.dist-info → lusid_sdk-2.1.286.dist-info}/METADATA +31 -4
  81. {lusid_sdk-2.1.254.dist-info → lusid_sdk-2.1.286.dist-info}/RECORD +82 -60
  82. {lusid_sdk-2.1.254.dist-info → lusid_sdk-2.1.286.dist-info}/WHEEL +0 -0
lusid/api/funds_api.py CHANGED
@@ -2750,7 +2750,7 @@ class FundsApi:
2750
2750
  }
2751
2751
 
2752
2752
  return self.api_client.call_api(
2753
- '/api/funds/{scope}/{code}/valuationpoints/$upsert', 'POST',
2753
+ '/api/funds/{scope}/{code}/valuationpoints', 'POST',
2754
2754
  _path_params,
2755
2755
  _query_params,
2756
2756
  _header_params,
@@ -28,6 +28,7 @@ from lusid.models.allocation_service_run_response import AllocationServiceRunRes
28
28
  from lusid.models.block_and_orders_create_request import BlockAndOrdersCreateRequest
29
29
  from lusid.models.book_transactions_request import BookTransactionsRequest
30
30
  from lusid.models.book_transactions_response import BookTransactionsResponse
31
+ from lusid.models.cancel_placements_response import CancelPlacementsResponse
31
32
  from lusid.models.move_orders_to_different_blocks_request import MoveOrdersToDifferentBlocksRequest
32
33
  from lusid.models.place_blocks_request import PlaceBlocksRequest
33
34
  from lusid.models.placement_update_request import PlacementUpdateRequest
@@ -223,6 +224,164 @@ class OrderManagementApi:
223
224
  collection_formats=_collection_formats,
224
225
  _request_auth=_params.get('_request_auth'))
225
226
 
227
+ @overload
228
+ async def cancel_placements(self, request_body : Annotated[Dict[str, ResourceId], Field(..., description="The request containing the ids of the placements to be cancelled.")], **kwargs) -> CancelPlacementsResponse: # noqa: E501
229
+ ...
230
+
231
+ @overload
232
+ def cancel_placements(self, request_body : Annotated[Dict[str, ResourceId], Field(..., description="The request containing the ids of the placements to be cancelled.")], async_req: Optional[bool]=True, **kwargs) -> CancelPlacementsResponse: # noqa: E501
233
+ ...
234
+
235
+ @validate_arguments
236
+ def cancel_placements(self, request_body : Annotated[Dict[str, ResourceId], Field(..., description="The request containing the ids of the placements to be cancelled.")], async_req: Optional[bool]=None, **kwargs) -> Union[CancelPlacementsResponse, Awaitable[CancelPlacementsResponse]]: # noqa: E501
237
+ """[EARLY ACCESS] CancelPlacements: Cancel existing placements # noqa: E501
238
+
239
+ The response returns both the collection of successfully canceled placements, as well as those that failed. For each failure, a reason is provided. It is important to check the failed set for unsuccessful results. # noqa: E501
240
+ This method makes a synchronous HTTP request by default. To make an
241
+ asynchronous HTTP request, please pass async_req=True
242
+
243
+ >>> thread = api.cancel_placements(request_body, async_req=True)
244
+ >>> result = thread.get()
245
+
246
+ :param request_body: The request containing the ids of the placements to be cancelled. (required)
247
+ :type request_body: Dict[str, ResourceId]
248
+ :param async_req: Whether to execute the request asynchronously.
249
+ :type async_req: bool, optional
250
+ :param _request_timeout: timeout setting for this request.
251
+ If one number provided, it will be total request
252
+ timeout. It can also be a pair (tuple) of
253
+ (connection, read) timeouts.
254
+ :return: Returns the result object.
255
+ If the method is called asynchronously,
256
+ returns the request thread.
257
+ :rtype: CancelPlacementsResponse
258
+ """
259
+ kwargs['_return_http_data_only'] = True
260
+ if '_preload_content' in kwargs:
261
+ message = "Error! Please call the cancel_placements_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501
262
+ raise ValueError(message)
263
+ if async_req is not None:
264
+ kwargs['async_req'] = async_req
265
+ return self.cancel_placements_with_http_info(request_body, **kwargs) # noqa: E501
266
+
267
+ @validate_arguments
268
+ def cancel_placements_with_http_info(self, request_body : Annotated[Dict[str, ResourceId], Field(..., description="The request containing the ids of the placements to be cancelled.")], **kwargs) -> ApiResponse: # noqa: E501
269
+ """[EARLY ACCESS] CancelPlacements: Cancel existing placements # noqa: E501
270
+
271
+ The response returns both the collection of successfully canceled placements, as well as those that failed. For each failure, a reason is provided. It is important to check the failed set for unsuccessful results. # noqa: E501
272
+ This method makes a synchronous HTTP request by default. To make an
273
+ asynchronous HTTP request, please pass async_req=True
274
+
275
+ >>> thread = api.cancel_placements_with_http_info(request_body, async_req=True)
276
+ >>> result = thread.get()
277
+
278
+ :param request_body: The request containing the ids of the placements to be cancelled. (required)
279
+ :type request_body: Dict[str, ResourceId]
280
+ :param async_req: Whether to execute the request asynchronously.
281
+ :type async_req: bool, optional
282
+ :param _preload_content: if False, the ApiResponse.data will
283
+ be set to none and raw_data will store the
284
+ HTTP response body without reading/decoding.
285
+ Default is True.
286
+ :type _preload_content: bool, optional
287
+ :param _return_http_data_only: response data instead of ApiResponse
288
+ object with status code, headers, etc
289
+ :type _return_http_data_only: bool, optional
290
+ :param _request_timeout: timeout setting for this request. If one
291
+ number provided, it will be total request
292
+ timeout. It can also be a pair (tuple) of
293
+ (connection, read) timeouts.
294
+ :param _request_auth: set to override the auth_settings for an a single
295
+ request; this effectively ignores the authentication
296
+ in the spec for a single request.
297
+ :type _request_auth: dict, optional
298
+ :type _content_type: string, optional: force content-type for the request
299
+ :return: Returns the result object.
300
+ If the method is called asynchronously,
301
+ returns the request thread.
302
+ :rtype: tuple(CancelPlacementsResponse, status_code(int), headers(HTTPHeaderDict))
303
+ """
304
+
305
+ _params = locals()
306
+
307
+ _all_params = [
308
+ 'request_body'
309
+ ]
310
+ _all_params.extend(
311
+ [
312
+ 'async_req',
313
+ '_return_http_data_only',
314
+ '_preload_content',
315
+ '_request_timeout',
316
+ '_request_auth',
317
+ '_content_type',
318
+ '_headers'
319
+ ]
320
+ )
321
+
322
+ # validate the arguments
323
+ for _key, _val in _params['kwargs'].items():
324
+ if _key not in _all_params:
325
+ raise ApiTypeError(
326
+ "Got an unexpected keyword argument '%s'"
327
+ " to method cancel_placements" % _key
328
+ )
329
+ _params[_key] = _val
330
+ del _params['kwargs']
331
+
332
+ _collection_formats = {}
333
+
334
+ # process the path parameters
335
+ _path_params = {}
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
+ if _params['request_body'] is not None:
347
+ _body_params = _params['request_body']
348
+
349
+ # set the HTTP header `Accept`
350
+ _header_params['Accept'] = self.api_client.select_header_accept(
351
+ ['text/plain', 'application/json', 'text/json']) # noqa: E501
352
+
353
+ # set the HTTP header `Content-Type`
354
+ _content_types_list = _params.get('_content_type',
355
+ self.api_client.select_header_content_type(
356
+ ['application/json-patch+json', 'application/json', 'text/json', 'application/*+json']))
357
+ if _content_types_list:
358
+ _header_params['Content-Type'] = _content_types_list
359
+
360
+ # authentication setting
361
+ _auth_settings = ['oauth2'] # noqa: E501
362
+
363
+ _response_types_map = {
364
+ '200': "CancelPlacementsResponse",
365
+ '400': "LusidValidationProblemDetails",
366
+ }
367
+
368
+ return self.api_client.call_api(
369
+ '/api/ordermanagement/$cancelplacements', 'POST',
370
+ _path_params,
371
+ _query_params,
372
+ _header_params,
373
+ body=_body_params,
374
+ post_params=_form_params,
375
+ files=_files,
376
+ response_types_map=_response_types_map,
377
+ auth_settings=_auth_settings,
378
+ async_req=_params.get('async_req'),
379
+ _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
380
+ _preload_content=_params.get('_preload_content', True),
381
+ _request_timeout=_params.get('_request_timeout'),
382
+ collection_formats=_collection_formats,
383
+ _request_auth=_params.get('_request_auth'))
384
+
226
385
  @overload
227
386
  async def create_orders(self, block_and_orders_create_request : Annotated[BlockAndOrdersCreateRequest, Field(..., description="The collection of block and orders requests.")], **kwargs) -> ResourceListOfBlockAndOrders: # noqa: E501
228
387
  ...
@@ -875,7 +1034,7 @@ class OrderManagementApi:
875
1034
  def update_placements(self, request_body : Annotated[Dict[str, PlacementUpdateRequest], Field(..., description="The request containing the placements to be updated.")], async_req: Optional[bool]=None, **kwargs) -> Union[UpdatePlacementsResponse, Awaitable[UpdatePlacementsResponse]]: # noqa: E501
876
1035
  """[EARLY ACCESS] UpdatePlacements: Update existing placements # noqa: E501
877
1036
 
878
- The response returns both the collection of successfully created or updated instruments, as well as those that failed. For each failure, a reason is provided. It is important to check the failed set for unsuccessful results. # noqa: E501
1037
+ The response returns both the collection of successfully updated placements, as well as those that failed. For each failure, a reason is provided. It is important to check the failed set for unsuccessful results. # noqa: E501
879
1038
  This method makes a synchronous HTTP request by default. To make an
880
1039
  asynchronous HTTP request, please pass async_req=True
881
1040
 
@@ -907,7 +1066,7 @@ class OrderManagementApi:
907
1066
  def update_placements_with_http_info(self, request_body : Annotated[Dict[str, PlacementUpdateRequest], Field(..., description="The request containing the placements to be updated.")], **kwargs) -> ApiResponse: # noqa: E501
908
1067
  """[EARLY ACCESS] UpdatePlacements: Update existing placements # noqa: E501
909
1068
 
910
- The response returns both the collection of successfully created or updated instruments, as well as those that failed. For each failure, a reason is provided. It is important to check the failed set for unsuccessful results. # noqa: E501
1069
+ The response returns both the collection of successfully updated placements, as well as those that failed. For each failure, a reason is provided. It is important to check the failed set for unsuccessful results. # noqa: E501
911
1070
  This method makes a synchronous HTTP request by default. To make an
912
1071
  asynchronous HTTP request, please pass async_req=True
913
1072
 
lusid/configuration.py CHANGED
@@ -373,7 +373,7 @@ class Configuration:
373
373
  return "Python SDK Debug Report:\n"\
374
374
  "OS: {env}\n"\
375
375
  "Python Version: {pyversion}\n"\
376
- "Version of the API: 0.11.6687\n"\
376
+ "Version of the API: 0.11.6719\n"\
377
377
  "SDK Package Version: {package_version}".\
378
378
  format(env=sys.platform, pyversion=sys.version, package_version=package_version)
379
379
 
lusid/models/__init__.py CHANGED
@@ -106,8 +106,11 @@ from lusid.models.calculation_info import CalculationInfo
106
106
  from lusid.models.calendar import Calendar
107
107
  from lusid.models.calendar_date import CalendarDate
108
108
  from lusid.models.calendar_dependency import CalendarDependency
109
+ from lusid.models.cancel_placements_response import CancelPlacementsResponse
110
+ from lusid.models.cancelled_placement_result import CancelledPlacementResult
109
111
  from lusid.models.cap_floor import CapFloor
110
112
  from lusid.models.capital_distribution_event import CapitalDistributionEvent
113
+ from lusid.models.cash import Cash
111
114
  from lusid.models.cash_and_security_offer_election import CashAndSecurityOfferElection
112
115
  from lusid.models.cash_dependency import CashDependency
113
116
  from lusid.models.cash_dividend_event import CashDividendEvent
@@ -172,6 +175,8 @@ from lusid.models.compliance_template_parameter import ComplianceTemplateParamet
172
175
  from lusid.models.compliance_template_variation import ComplianceTemplateVariation
173
176
  from lusid.models.compliance_template_variation_dto import ComplianceTemplateVariationDto
174
177
  from lusid.models.compliance_template_variation_request import ComplianceTemplateVariationRequest
178
+ from lusid.models.component_filter import ComponentFilter
179
+ from lusid.models.component_rule import ComponentRule
175
180
  from lusid.models.component_transaction import ComponentTransaction
176
181
  from lusid.models.composite_breakdown import CompositeBreakdown
177
182
  from lusid.models.composite_breakdown_request import CompositeBreakdownRequest
@@ -338,12 +343,19 @@ from lusid.models.flow_conventions import FlowConventions
338
343
  from lusid.models.forward_rate_agreement import ForwardRateAgreement
339
344
  from lusid.models.from_recipe import FromRecipe
340
345
  from lusid.models.fund import Fund
346
+ from lusid.models.fund_amount import FundAmount
347
+ from lusid.models.fund_configuration import FundConfiguration
348
+ from lusid.models.fund_configuration_properties import FundConfigurationProperties
349
+ from lusid.models.fund_configuration_request import FundConfigurationRequest
350
+ from lusid.models.fund_previous_nav import FundPreviousNAV
341
351
  from lusid.models.fund_properties import FundProperties
342
352
  from lusid.models.fund_request import FundRequest
343
353
  from lusid.models.fund_share_class import FundShareClass
354
+ from lusid.models.fund_valuation_point_data import FundValuationPointData
344
355
  from lusid.models.funding_leg import FundingLeg
345
356
  from lusid.models.funding_leg_options import FundingLegOptions
346
357
  from lusid.models.future import Future
358
+ from lusid.models.future_expiry_event import FutureExpiryEvent
347
359
  from lusid.models.futures_contract_details import FuturesContractDetails
348
360
  from lusid.models.fx_conventions import FxConventions
349
361
  from lusid.models.fx_dependency import FxDependency
@@ -568,6 +580,7 @@ from lusid.models.paged_resource_list_of_execution import PagedResourceListOfExe
568
580
  from lusid.models.paged_resource_list_of_fee import PagedResourceListOfFee
569
581
  from lusid.models.paged_resource_list_of_fee_type import PagedResourceListOfFeeType
570
582
  from lusid.models.paged_resource_list_of_fund import PagedResourceListOfFund
583
+ from lusid.models.paged_resource_list_of_fund_configuration import PagedResourceListOfFundConfiguration
571
584
  from lusid.models.paged_resource_list_of_general_ledger_profile_response import PagedResourceListOfGeneralLedgerProfileResponse
572
585
  from lusid.models.paged_resource_list_of_instrument import PagedResourceListOfInstrument
573
586
  from lusid.models.paged_resource_list_of_instrument_event_holder import PagedResourceListOfInstrumentEventHolder
@@ -647,6 +660,9 @@ from lusid.models.posting_module_response import PostingModuleResponse
647
660
  from lusid.models.posting_module_rule import PostingModuleRule
648
661
  from lusid.models.posting_module_rules_updated_response import PostingModuleRulesUpdatedResponse
649
662
  from lusid.models.premium import Premium
663
+ from lusid.models.previous_fund_valuation_point_data import PreviousFundValuationPointData
664
+ from lusid.models.previous_nav import PreviousNAV
665
+ from lusid.models.previous_share_class_breakdown import PreviousShareClassBreakdown
650
666
  from lusid.models.pricing_context import PricingContext
651
667
  from lusid.models.pricing_model import PricingModel
652
668
  from lusid.models.pricing_options import PricingOptions
@@ -827,6 +843,10 @@ from lusid.models.set_share_class_instruments_request import SetShareClassInstru
827
843
  from lusid.models.set_transaction_configuration_alias import SetTransactionConfigurationAlias
828
844
  from lusid.models.set_transaction_configuration_source_request import SetTransactionConfigurationSourceRequest
829
845
  from lusid.models.settlement_schedule import SettlementSchedule
846
+ from lusid.models.share_class_amount import ShareClassAmount
847
+ from lusid.models.share_class_breakdown import ShareClassBreakdown
848
+ from lusid.models.share_class_data import ShareClassData
849
+ from lusid.models.share_class_details import ShareClassDetails
830
850
  from lusid.models.side_configuration_data import SideConfigurationData
831
851
  from lusid.models.side_configuration_data_request import SideConfigurationDataRequest
832
852
  from lusid.models.side_definition import SideDefinition
@@ -920,6 +940,7 @@ from lusid.models.trial_balance_query_parameters import TrialBalanceQueryParamet
920
940
  from lusid.models.trigger_event import TriggerEvent
921
941
  from lusid.models.typed_resource_id import TypedResourceId
922
942
  from lusid.models.unit_schema import UnitSchema
943
+ from lusid.models.unitisation_data import UnitisationData
923
944
  from lusid.models.units_ratio import UnitsRatio
924
945
  from lusid.models.unmatched_holding_method import UnmatchedHoldingMethod
925
946
  from lusid.models.update_amortisation_rule_set_details_request import UpdateAmortisationRuleSetDetailsRequest
@@ -1110,8 +1131,11 @@ __all__ = [
1110
1131
  "Calendar",
1111
1132
  "CalendarDate",
1112
1133
  "CalendarDependency",
1134
+ "CancelPlacementsResponse",
1135
+ "CancelledPlacementResult",
1113
1136
  "CapFloor",
1114
1137
  "CapitalDistributionEvent",
1138
+ "Cash",
1115
1139
  "CashAndSecurityOfferElection",
1116
1140
  "CashDependency",
1117
1141
  "CashDividendEvent",
@@ -1176,6 +1200,8 @@ __all__ = [
1176
1200
  "ComplianceTemplateVariation",
1177
1201
  "ComplianceTemplateVariationDto",
1178
1202
  "ComplianceTemplateVariationRequest",
1203
+ "ComponentFilter",
1204
+ "ComponentRule",
1179
1205
  "ComponentTransaction",
1180
1206
  "CompositeBreakdown",
1181
1207
  "CompositeBreakdownRequest",
@@ -1342,12 +1368,19 @@ __all__ = [
1342
1368
  "ForwardRateAgreement",
1343
1369
  "FromRecipe",
1344
1370
  "Fund",
1371
+ "FundAmount",
1372
+ "FundConfiguration",
1373
+ "FundConfigurationProperties",
1374
+ "FundConfigurationRequest",
1375
+ "FundPreviousNAV",
1345
1376
  "FundProperties",
1346
1377
  "FundRequest",
1347
1378
  "FundShareClass",
1379
+ "FundValuationPointData",
1348
1380
  "FundingLeg",
1349
1381
  "FundingLegOptions",
1350
1382
  "Future",
1383
+ "FutureExpiryEvent",
1351
1384
  "FuturesContractDetails",
1352
1385
  "FxConventions",
1353
1386
  "FxDependency",
@@ -1572,6 +1605,7 @@ __all__ = [
1572
1605
  "PagedResourceListOfFee",
1573
1606
  "PagedResourceListOfFeeType",
1574
1607
  "PagedResourceListOfFund",
1608
+ "PagedResourceListOfFundConfiguration",
1575
1609
  "PagedResourceListOfGeneralLedgerProfileResponse",
1576
1610
  "PagedResourceListOfInstrument",
1577
1611
  "PagedResourceListOfInstrumentEventHolder",
@@ -1651,6 +1685,9 @@ __all__ = [
1651
1685
  "PostingModuleRule",
1652
1686
  "PostingModuleRulesUpdatedResponse",
1653
1687
  "Premium",
1688
+ "PreviousFundValuationPointData",
1689
+ "PreviousNAV",
1690
+ "PreviousShareClassBreakdown",
1654
1691
  "PricingContext",
1655
1692
  "PricingModel",
1656
1693
  "PricingOptions",
@@ -1831,6 +1868,10 @@ __all__ = [
1831
1868
  "SetTransactionConfigurationAlias",
1832
1869
  "SetTransactionConfigurationSourceRequest",
1833
1870
  "SettlementSchedule",
1871
+ "ShareClassAmount",
1872
+ "ShareClassBreakdown",
1873
+ "ShareClassData",
1874
+ "ShareClassDetails",
1834
1875
  "SideConfigurationData",
1835
1876
  "SideConfigurationDataRequest",
1836
1877
  "SideDefinition",
@@ -1924,6 +1965,7 @@ __all__ = [
1924
1965
  "TriggerEvent",
1925
1966
  "TypedResourceId",
1926
1967
  "UnitSchema",
1968
+ "UnitisationData",
1927
1969
  "UnitsRatio",
1928
1970
  "UnmatchedHoldingMethod",
1929
1971
  "UpdateAmortisationRuleSetDetailsRequest",
@@ -35,6 +35,9 @@ class AccountingMethod(str, Enum):
35
35
  LASTINFIRSTOUT = 'LastInFirstOut'
36
36
  HIGHESTCOSTFIRST = 'HighestCostFirst'
37
37
  LOWESTCOSTFIRST = 'LowestCostFirst'
38
+ PRORATEBYUNITS = 'ProRateByUnits'
39
+ PRORATEBYCOST = 'ProRateByCost'
40
+ PRORATEBYCOSTPORTFOLIOCURRENCY = 'ProRateByCostPortfolioCurrency'
38
41
 
39
42
  @classmethod
40
43
  def from_json(cls, json_str: str) -> AccountingMethod:
@@ -31,15 +31,15 @@ class AccumulationEvent(InstrumentEvent):
31
31
  dividend_rate: Union[StrictFloat, StrictInt] = Field(..., alias="dividendRate", description="Dividend rate or payment rate as a percentage. i.e. 5% is written as 0.05")
32
32
  ex_date: datetime = Field(..., alias="exDate", description="The first business day on which the dividend is not owed to the buying party. Typically this is T-1 from the RecordDate.")
33
33
  payment_date: datetime = Field(..., alias="paymentDate", description="The date the company pays out dividends to shareholders.")
34
- instrument_event_type: StrictStr = Field(..., alias="instrumentEventType", description="The Type of Event. The available values are: TransitionEvent, InformationalEvent, OpenEvent, CloseEvent, StockSplitEvent, BondDefaultEvent, CashDividendEvent, AmortisationEvent, CashFlowEvent, ExerciseEvent, ResetEvent, TriggerEvent, RawVendorEvent, InformationalErrorEvent, BondCouponEvent, DividendReinvestmentEvent, AccumulationEvent, BondPrincipalEvent, DividendOptionEvent, MaturityEvent, FxForwardSettlementEvent, ExpiryEvent, ScripDividendEvent, StockDividendEvent, ReverseStockSplitEvent, CapitalDistributionEvent, SpinOffEvent, MergerEvent")
34
+ instrument_event_type: StrictStr = Field(..., alias="instrumentEventType", description="The Type of Event. The available values are: TransitionEvent, InformationalEvent, OpenEvent, CloseEvent, StockSplitEvent, BondDefaultEvent, CashDividendEvent, AmortisationEvent, CashFlowEvent, ExerciseEvent, ResetEvent, TriggerEvent, RawVendorEvent, InformationalErrorEvent, BondCouponEvent, DividendReinvestmentEvent, AccumulationEvent, BondPrincipalEvent, DividendOptionEvent, MaturityEvent, FxForwardSettlementEvent, ExpiryEvent, ScripDividendEvent, StockDividendEvent, ReverseStockSplitEvent, CapitalDistributionEvent, SpinOffEvent, MergerEvent, FutureExpiryEvent")
35
35
  additional_properties: Dict[str, Any] = {}
36
36
  __properties = ["instrumentEventType", "announcementDate", "dividendCurrency", "dividendRate", "exDate", "paymentDate"]
37
37
 
38
38
  @validator('instrument_event_type')
39
39
  def instrument_event_type_validate_enum(cls, value):
40
40
  """Validates the enum"""
41
- if value not in ('TransitionEvent', 'InformationalEvent', 'OpenEvent', 'CloseEvent', 'StockSplitEvent', 'BondDefaultEvent', 'CashDividendEvent', 'AmortisationEvent', 'CashFlowEvent', 'ExerciseEvent', 'ResetEvent', 'TriggerEvent', 'RawVendorEvent', 'InformationalErrorEvent', 'BondCouponEvent', 'DividendReinvestmentEvent', 'AccumulationEvent', 'BondPrincipalEvent', 'DividendOptionEvent', 'MaturityEvent', 'FxForwardSettlementEvent', 'ExpiryEvent', 'ScripDividendEvent', 'StockDividendEvent', 'ReverseStockSplitEvent', 'CapitalDistributionEvent', 'SpinOffEvent', 'MergerEvent'):
42
- raise ValueError("must be one of enum values ('TransitionEvent', 'InformationalEvent', 'OpenEvent', 'CloseEvent', 'StockSplitEvent', 'BondDefaultEvent', 'CashDividendEvent', 'AmortisationEvent', 'CashFlowEvent', 'ExerciseEvent', 'ResetEvent', 'TriggerEvent', 'RawVendorEvent', 'InformationalErrorEvent', 'BondCouponEvent', 'DividendReinvestmentEvent', 'AccumulationEvent', 'BondPrincipalEvent', 'DividendOptionEvent', 'MaturityEvent', 'FxForwardSettlementEvent', 'ExpiryEvent', 'ScripDividendEvent', 'StockDividendEvent', 'ReverseStockSplitEvent', 'CapitalDistributionEvent', 'SpinOffEvent', 'MergerEvent')")
41
+ if value not in ('TransitionEvent', 'InformationalEvent', 'OpenEvent', 'CloseEvent', 'StockSplitEvent', 'BondDefaultEvent', 'CashDividendEvent', 'AmortisationEvent', 'CashFlowEvent', 'ExerciseEvent', 'ResetEvent', 'TriggerEvent', 'RawVendorEvent', 'InformationalErrorEvent', 'BondCouponEvent', 'DividendReinvestmentEvent', 'AccumulationEvent', 'BondPrincipalEvent', 'DividendOptionEvent', 'MaturityEvent', 'FxForwardSettlementEvent', 'ExpiryEvent', 'ScripDividendEvent', 'StockDividendEvent', 'ReverseStockSplitEvent', 'CapitalDistributionEvent', 'SpinOffEvent', 'MergerEvent', 'FutureExpiryEvent'):
42
+ raise ValueError("must be one of enum values ('TransitionEvent', 'InformationalEvent', 'OpenEvent', 'CloseEvent', 'StockSplitEvent', 'BondDefaultEvent', 'CashDividendEvent', 'AmortisationEvent', 'CashFlowEvent', 'ExerciseEvent', 'ResetEvent', 'TriggerEvent', 'RawVendorEvent', 'InformationalErrorEvent', 'BondCouponEvent', 'DividendReinvestmentEvent', 'AccumulationEvent', 'BondPrincipalEvent', 'DividendOptionEvent', 'MaturityEvent', 'FxForwardSettlementEvent', 'ExpiryEvent', 'ScripDividendEvent', 'StockDividendEvent', 'ReverseStockSplitEvent', 'CapitalDistributionEvent', 'SpinOffEvent', 'MergerEvent', 'FutureExpiryEvent')")
43
43
  return value
44
44
 
45
45
  class Config:
@@ -30,15 +30,15 @@ class AmortisationEvent(InstrumentEvent):
30
30
  dom_ccy: StrictStr = Field(..., alias="domCcy", description="Domestic currency of the originating instrument")
31
31
  pay_receive: constr(strict=True, min_length=1) = Field(..., alias="payReceive", description="Is this event in relation to the Pay or Receive leg")
32
32
  payment_date: datetime = Field(..., alias="paymentDate", description="The date the principal payment is to be made.")
33
- instrument_event_type: StrictStr = Field(..., alias="instrumentEventType", description="The Type of Event. The available values are: TransitionEvent, InformationalEvent, OpenEvent, CloseEvent, StockSplitEvent, BondDefaultEvent, CashDividendEvent, AmortisationEvent, CashFlowEvent, ExerciseEvent, ResetEvent, TriggerEvent, RawVendorEvent, InformationalErrorEvent, BondCouponEvent, DividendReinvestmentEvent, AccumulationEvent, BondPrincipalEvent, DividendOptionEvent, MaturityEvent, FxForwardSettlementEvent, ExpiryEvent, ScripDividendEvent, StockDividendEvent, ReverseStockSplitEvent, CapitalDistributionEvent, SpinOffEvent, MergerEvent")
33
+ instrument_event_type: StrictStr = Field(..., alias="instrumentEventType", description="The Type of Event. The available values are: TransitionEvent, InformationalEvent, OpenEvent, CloseEvent, StockSplitEvent, BondDefaultEvent, CashDividendEvent, AmortisationEvent, CashFlowEvent, ExerciseEvent, ResetEvent, TriggerEvent, RawVendorEvent, InformationalErrorEvent, BondCouponEvent, DividendReinvestmentEvent, AccumulationEvent, BondPrincipalEvent, DividendOptionEvent, MaturityEvent, FxForwardSettlementEvent, ExpiryEvent, ScripDividendEvent, StockDividendEvent, ReverseStockSplitEvent, CapitalDistributionEvent, SpinOffEvent, MergerEvent, FutureExpiryEvent")
34
34
  additional_properties: Dict[str, Any] = {}
35
35
  __properties = ["instrumentEventType", "amountReduced", "domCcy", "payReceive", "paymentDate"]
36
36
 
37
37
  @validator('instrument_event_type')
38
38
  def instrument_event_type_validate_enum(cls, value):
39
39
  """Validates the enum"""
40
- if value not in ('TransitionEvent', 'InformationalEvent', 'OpenEvent', 'CloseEvent', 'StockSplitEvent', 'BondDefaultEvent', 'CashDividendEvent', 'AmortisationEvent', 'CashFlowEvent', 'ExerciseEvent', 'ResetEvent', 'TriggerEvent', 'RawVendorEvent', 'InformationalErrorEvent', 'BondCouponEvent', 'DividendReinvestmentEvent', 'AccumulationEvent', 'BondPrincipalEvent', 'DividendOptionEvent', 'MaturityEvent', 'FxForwardSettlementEvent', 'ExpiryEvent', 'ScripDividendEvent', 'StockDividendEvent', 'ReverseStockSplitEvent', 'CapitalDistributionEvent', 'SpinOffEvent', 'MergerEvent'):
41
- raise ValueError("must be one of enum values ('TransitionEvent', 'InformationalEvent', 'OpenEvent', 'CloseEvent', 'StockSplitEvent', 'BondDefaultEvent', 'CashDividendEvent', 'AmortisationEvent', 'CashFlowEvent', 'ExerciseEvent', 'ResetEvent', 'TriggerEvent', 'RawVendorEvent', 'InformationalErrorEvent', 'BondCouponEvent', 'DividendReinvestmentEvent', 'AccumulationEvent', 'BondPrincipalEvent', 'DividendOptionEvent', 'MaturityEvent', 'FxForwardSettlementEvent', 'ExpiryEvent', 'ScripDividendEvent', 'StockDividendEvent', 'ReverseStockSplitEvent', 'CapitalDistributionEvent', 'SpinOffEvent', 'MergerEvent')")
40
+ if value not in ('TransitionEvent', 'InformationalEvent', 'OpenEvent', 'CloseEvent', 'StockSplitEvent', 'BondDefaultEvent', 'CashDividendEvent', 'AmortisationEvent', 'CashFlowEvent', 'ExerciseEvent', 'ResetEvent', 'TriggerEvent', 'RawVendorEvent', 'InformationalErrorEvent', 'BondCouponEvent', 'DividendReinvestmentEvent', 'AccumulationEvent', 'BondPrincipalEvent', 'DividendOptionEvent', 'MaturityEvent', 'FxForwardSettlementEvent', 'ExpiryEvent', 'ScripDividendEvent', 'StockDividendEvent', 'ReverseStockSplitEvent', 'CapitalDistributionEvent', 'SpinOffEvent', 'MergerEvent', 'FutureExpiryEvent'):
41
+ raise ValueError("must be one of enum values ('TransitionEvent', 'InformationalEvent', 'OpenEvent', 'CloseEvent', 'StockSplitEvent', 'BondDefaultEvent', 'CashDividendEvent', 'AmortisationEvent', 'CashFlowEvent', 'ExerciseEvent', 'ResetEvent', 'TriggerEvent', 'RawVendorEvent', 'InformationalErrorEvent', 'BondCouponEvent', 'DividendReinvestmentEvent', 'AccumulationEvent', 'BondPrincipalEvent', 'DividendOptionEvent', 'MaturityEvent', 'FxForwardSettlementEvent', 'ExpiryEvent', 'ScripDividendEvent', 'StockDividendEvent', 'ReverseStockSplitEvent', 'CapitalDistributionEvent', 'SpinOffEvent', 'MergerEvent', 'FutureExpiryEvent')")
42
42
  return value
43
43
 
44
44
  class Config:
@@ -30,15 +30,15 @@ class BondCouponEvent(InstrumentEvent):
30
30
  payment_date: datetime = Field(..., alias="paymentDate", description="Payment date of the coupon payment")
31
31
  currency: StrictStr = Field(..., description="Currency of the coupon payment")
32
32
  coupon_per_unit: Union[StrictFloat, StrictInt] = Field(..., alias="couponPerUnit", description="CouponRate*Principal")
33
- instrument_event_type: StrictStr = Field(..., alias="instrumentEventType", description="The Type of Event. The available values are: TransitionEvent, InformationalEvent, OpenEvent, CloseEvent, StockSplitEvent, BondDefaultEvent, CashDividendEvent, AmortisationEvent, CashFlowEvent, ExerciseEvent, ResetEvent, TriggerEvent, RawVendorEvent, InformationalErrorEvent, BondCouponEvent, DividendReinvestmentEvent, AccumulationEvent, BondPrincipalEvent, DividendOptionEvent, MaturityEvent, FxForwardSettlementEvent, ExpiryEvent, ScripDividendEvent, StockDividendEvent, ReverseStockSplitEvent, CapitalDistributionEvent, SpinOffEvent, MergerEvent")
33
+ instrument_event_type: StrictStr = Field(..., alias="instrumentEventType", description="The Type of Event. The available values are: TransitionEvent, InformationalEvent, OpenEvent, CloseEvent, StockSplitEvent, BondDefaultEvent, CashDividendEvent, AmortisationEvent, CashFlowEvent, ExerciseEvent, ResetEvent, TriggerEvent, RawVendorEvent, InformationalErrorEvent, BondCouponEvent, DividendReinvestmentEvent, AccumulationEvent, BondPrincipalEvent, DividendOptionEvent, MaturityEvent, FxForwardSettlementEvent, ExpiryEvent, ScripDividendEvent, StockDividendEvent, ReverseStockSplitEvent, CapitalDistributionEvent, SpinOffEvent, MergerEvent, FutureExpiryEvent")
34
34
  additional_properties: Dict[str, Any] = {}
35
35
  __properties = ["instrumentEventType", "exDate", "paymentDate", "currency", "couponPerUnit"]
36
36
 
37
37
  @validator('instrument_event_type')
38
38
  def instrument_event_type_validate_enum(cls, value):
39
39
  """Validates the enum"""
40
- if value not in ('TransitionEvent', 'InformationalEvent', 'OpenEvent', 'CloseEvent', 'StockSplitEvent', 'BondDefaultEvent', 'CashDividendEvent', 'AmortisationEvent', 'CashFlowEvent', 'ExerciseEvent', 'ResetEvent', 'TriggerEvent', 'RawVendorEvent', 'InformationalErrorEvent', 'BondCouponEvent', 'DividendReinvestmentEvent', 'AccumulationEvent', 'BondPrincipalEvent', 'DividendOptionEvent', 'MaturityEvent', 'FxForwardSettlementEvent', 'ExpiryEvent', 'ScripDividendEvent', 'StockDividendEvent', 'ReverseStockSplitEvent', 'CapitalDistributionEvent', 'SpinOffEvent', 'MergerEvent'):
41
- raise ValueError("must be one of enum values ('TransitionEvent', 'InformationalEvent', 'OpenEvent', 'CloseEvent', 'StockSplitEvent', 'BondDefaultEvent', 'CashDividendEvent', 'AmortisationEvent', 'CashFlowEvent', 'ExerciseEvent', 'ResetEvent', 'TriggerEvent', 'RawVendorEvent', 'InformationalErrorEvent', 'BondCouponEvent', 'DividendReinvestmentEvent', 'AccumulationEvent', 'BondPrincipalEvent', 'DividendOptionEvent', 'MaturityEvent', 'FxForwardSettlementEvent', 'ExpiryEvent', 'ScripDividendEvent', 'StockDividendEvent', 'ReverseStockSplitEvent', 'CapitalDistributionEvent', 'SpinOffEvent', 'MergerEvent')")
40
+ if value not in ('TransitionEvent', 'InformationalEvent', 'OpenEvent', 'CloseEvent', 'StockSplitEvent', 'BondDefaultEvent', 'CashDividendEvent', 'AmortisationEvent', 'CashFlowEvent', 'ExerciseEvent', 'ResetEvent', 'TriggerEvent', 'RawVendorEvent', 'InformationalErrorEvent', 'BondCouponEvent', 'DividendReinvestmentEvent', 'AccumulationEvent', 'BondPrincipalEvent', 'DividendOptionEvent', 'MaturityEvent', 'FxForwardSettlementEvent', 'ExpiryEvent', 'ScripDividendEvent', 'StockDividendEvent', 'ReverseStockSplitEvent', 'CapitalDistributionEvent', 'SpinOffEvent', 'MergerEvent', 'FutureExpiryEvent'):
41
+ raise ValueError("must be one of enum values ('TransitionEvent', 'InformationalEvent', 'OpenEvent', 'CloseEvent', 'StockSplitEvent', 'BondDefaultEvent', 'CashDividendEvent', 'AmortisationEvent', 'CashFlowEvent', 'ExerciseEvent', 'ResetEvent', 'TriggerEvent', 'RawVendorEvent', 'InformationalErrorEvent', 'BondCouponEvent', 'DividendReinvestmentEvent', 'AccumulationEvent', 'BondPrincipalEvent', 'DividendOptionEvent', 'MaturityEvent', 'FxForwardSettlementEvent', 'ExpiryEvent', 'ScripDividendEvent', 'StockDividendEvent', 'ReverseStockSplitEvent', 'CapitalDistributionEvent', 'SpinOffEvent', 'MergerEvent', 'FutureExpiryEvent')")
42
42
  return value
43
43
 
44
44
  class Config:
@@ -27,15 +27,15 @@ class BondDefaultEvent(InstrumentEvent):
27
27
  Indicates when an issuer has defaulted on an obligation due to technical default, missed payments, or bankruptcy filing. # noqa: E501
28
28
  """
29
29
  effective_date: datetime = Field(..., alias="effectiveDate", description="The date the bond default occurred.")
30
- instrument_event_type: StrictStr = Field(..., alias="instrumentEventType", description="The Type of Event. The available values are: TransitionEvent, InformationalEvent, OpenEvent, CloseEvent, StockSplitEvent, BondDefaultEvent, CashDividendEvent, AmortisationEvent, CashFlowEvent, ExerciseEvent, ResetEvent, TriggerEvent, RawVendorEvent, InformationalErrorEvent, BondCouponEvent, DividendReinvestmentEvent, AccumulationEvent, BondPrincipalEvent, DividendOptionEvent, MaturityEvent, FxForwardSettlementEvent, ExpiryEvent, ScripDividendEvent, StockDividendEvent, ReverseStockSplitEvent, CapitalDistributionEvent, SpinOffEvent, MergerEvent")
30
+ instrument_event_type: StrictStr = Field(..., alias="instrumentEventType", description="The Type of Event. The available values are: TransitionEvent, InformationalEvent, OpenEvent, CloseEvent, StockSplitEvent, BondDefaultEvent, CashDividendEvent, AmortisationEvent, CashFlowEvent, ExerciseEvent, ResetEvent, TriggerEvent, RawVendorEvent, InformationalErrorEvent, BondCouponEvent, DividendReinvestmentEvent, AccumulationEvent, BondPrincipalEvent, DividendOptionEvent, MaturityEvent, FxForwardSettlementEvent, ExpiryEvent, ScripDividendEvent, StockDividendEvent, ReverseStockSplitEvent, CapitalDistributionEvent, SpinOffEvent, MergerEvent, FutureExpiryEvent")
31
31
  additional_properties: Dict[str, Any] = {}
32
32
  __properties = ["instrumentEventType", "effectiveDate"]
33
33
 
34
34
  @validator('instrument_event_type')
35
35
  def instrument_event_type_validate_enum(cls, value):
36
36
  """Validates the enum"""
37
- if value not in ('TransitionEvent', 'InformationalEvent', 'OpenEvent', 'CloseEvent', 'StockSplitEvent', 'BondDefaultEvent', 'CashDividendEvent', 'AmortisationEvent', 'CashFlowEvent', 'ExerciseEvent', 'ResetEvent', 'TriggerEvent', 'RawVendorEvent', 'InformationalErrorEvent', 'BondCouponEvent', 'DividendReinvestmentEvent', 'AccumulationEvent', 'BondPrincipalEvent', 'DividendOptionEvent', 'MaturityEvent', 'FxForwardSettlementEvent', 'ExpiryEvent', 'ScripDividendEvent', 'StockDividendEvent', 'ReverseStockSplitEvent', 'CapitalDistributionEvent', 'SpinOffEvent', 'MergerEvent'):
38
- raise ValueError("must be one of enum values ('TransitionEvent', 'InformationalEvent', 'OpenEvent', 'CloseEvent', 'StockSplitEvent', 'BondDefaultEvent', 'CashDividendEvent', 'AmortisationEvent', 'CashFlowEvent', 'ExerciseEvent', 'ResetEvent', 'TriggerEvent', 'RawVendorEvent', 'InformationalErrorEvent', 'BondCouponEvent', 'DividendReinvestmentEvent', 'AccumulationEvent', 'BondPrincipalEvent', 'DividendOptionEvent', 'MaturityEvent', 'FxForwardSettlementEvent', 'ExpiryEvent', 'ScripDividendEvent', 'StockDividendEvent', 'ReverseStockSplitEvent', 'CapitalDistributionEvent', 'SpinOffEvent', 'MergerEvent')")
37
+ if value not in ('TransitionEvent', 'InformationalEvent', 'OpenEvent', 'CloseEvent', 'StockSplitEvent', 'BondDefaultEvent', 'CashDividendEvent', 'AmortisationEvent', 'CashFlowEvent', 'ExerciseEvent', 'ResetEvent', 'TriggerEvent', 'RawVendorEvent', 'InformationalErrorEvent', 'BondCouponEvent', 'DividendReinvestmentEvent', 'AccumulationEvent', 'BondPrincipalEvent', 'DividendOptionEvent', 'MaturityEvent', 'FxForwardSettlementEvent', 'ExpiryEvent', 'ScripDividendEvent', 'StockDividendEvent', 'ReverseStockSplitEvent', 'CapitalDistributionEvent', 'SpinOffEvent', 'MergerEvent', 'FutureExpiryEvent'):
38
+ raise ValueError("must be one of enum values ('TransitionEvent', 'InformationalEvent', 'OpenEvent', 'CloseEvent', 'StockSplitEvent', 'BondDefaultEvent', 'CashDividendEvent', 'AmortisationEvent', 'CashFlowEvent', 'ExerciseEvent', 'ResetEvent', 'TriggerEvent', 'RawVendorEvent', 'InformationalErrorEvent', 'BondCouponEvent', 'DividendReinvestmentEvent', 'AccumulationEvent', 'BondPrincipalEvent', 'DividendOptionEvent', 'MaturityEvent', 'FxForwardSettlementEvent', 'ExpiryEvent', 'ScripDividendEvent', 'StockDividendEvent', 'ReverseStockSplitEvent', 'CapitalDistributionEvent', 'SpinOffEvent', 'MergerEvent', 'FutureExpiryEvent')")
39
39
  return value
40
40
 
41
41
  class Config:
@@ -30,15 +30,15 @@ class BondPrincipalEvent(InstrumentEvent):
30
30
  ex_date: datetime = Field(..., alias="exDate", description="Ex-Dividend date of the principal payment")
31
31
  payment_date: datetime = Field(..., alias="paymentDate", description="Payment date of the principal payment")
32
32
  principal_per_unit: Union[StrictFloat, StrictInt] = Field(..., alias="principalPerUnit", description="Principal per unit")
33
- instrument_event_type: StrictStr = Field(..., alias="instrumentEventType", description="The Type of Event. The available values are: TransitionEvent, InformationalEvent, OpenEvent, CloseEvent, StockSplitEvent, BondDefaultEvent, CashDividendEvent, AmortisationEvent, CashFlowEvent, ExerciseEvent, ResetEvent, TriggerEvent, RawVendorEvent, InformationalErrorEvent, BondCouponEvent, DividendReinvestmentEvent, AccumulationEvent, BondPrincipalEvent, DividendOptionEvent, MaturityEvent, FxForwardSettlementEvent, ExpiryEvent, ScripDividendEvent, StockDividendEvent, ReverseStockSplitEvent, CapitalDistributionEvent, SpinOffEvent, MergerEvent")
33
+ instrument_event_type: StrictStr = Field(..., alias="instrumentEventType", description="The Type of Event. The available values are: TransitionEvent, InformationalEvent, OpenEvent, CloseEvent, StockSplitEvent, BondDefaultEvent, CashDividendEvent, AmortisationEvent, CashFlowEvent, ExerciseEvent, ResetEvent, TriggerEvent, RawVendorEvent, InformationalErrorEvent, BondCouponEvent, DividendReinvestmentEvent, AccumulationEvent, BondPrincipalEvent, DividendOptionEvent, MaturityEvent, FxForwardSettlementEvent, ExpiryEvent, ScripDividendEvent, StockDividendEvent, ReverseStockSplitEvent, CapitalDistributionEvent, SpinOffEvent, MergerEvent, FutureExpiryEvent")
34
34
  additional_properties: Dict[str, Any] = {}
35
35
  __properties = ["instrumentEventType", "currency", "exDate", "paymentDate", "principalPerUnit"]
36
36
 
37
37
  @validator('instrument_event_type')
38
38
  def instrument_event_type_validate_enum(cls, value):
39
39
  """Validates the enum"""
40
- if value not in ('TransitionEvent', 'InformationalEvent', 'OpenEvent', 'CloseEvent', 'StockSplitEvent', 'BondDefaultEvent', 'CashDividendEvent', 'AmortisationEvent', 'CashFlowEvent', 'ExerciseEvent', 'ResetEvent', 'TriggerEvent', 'RawVendorEvent', 'InformationalErrorEvent', 'BondCouponEvent', 'DividendReinvestmentEvent', 'AccumulationEvent', 'BondPrincipalEvent', 'DividendOptionEvent', 'MaturityEvent', 'FxForwardSettlementEvent', 'ExpiryEvent', 'ScripDividendEvent', 'StockDividendEvent', 'ReverseStockSplitEvent', 'CapitalDistributionEvent', 'SpinOffEvent', 'MergerEvent'):
41
- raise ValueError("must be one of enum values ('TransitionEvent', 'InformationalEvent', 'OpenEvent', 'CloseEvent', 'StockSplitEvent', 'BondDefaultEvent', 'CashDividendEvent', 'AmortisationEvent', 'CashFlowEvent', 'ExerciseEvent', 'ResetEvent', 'TriggerEvent', 'RawVendorEvent', 'InformationalErrorEvent', 'BondCouponEvent', 'DividendReinvestmentEvent', 'AccumulationEvent', 'BondPrincipalEvent', 'DividendOptionEvent', 'MaturityEvent', 'FxForwardSettlementEvent', 'ExpiryEvent', 'ScripDividendEvent', 'StockDividendEvent', 'ReverseStockSplitEvent', 'CapitalDistributionEvent', 'SpinOffEvent', 'MergerEvent')")
40
+ if value not in ('TransitionEvent', 'InformationalEvent', 'OpenEvent', 'CloseEvent', 'StockSplitEvent', 'BondDefaultEvent', 'CashDividendEvent', 'AmortisationEvent', 'CashFlowEvent', 'ExerciseEvent', 'ResetEvent', 'TriggerEvent', 'RawVendorEvent', 'InformationalErrorEvent', 'BondCouponEvent', 'DividendReinvestmentEvent', 'AccumulationEvent', 'BondPrincipalEvent', 'DividendOptionEvent', 'MaturityEvent', 'FxForwardSettlementEvent', 'ExpiryEvent', 'ScripDividendEvent', 'StockDividendEvent', 'ReverseStockSplitEvent', 'CapitalDistributionEvent', 'SpinOffEvent', 'MergerEvent', 'FutureExpiryEvent'):
41
+ raise ValueError("must be one of enum values ('TransitionEvent', 'InformationalEvent', 'OpenEvent', 'CloseEvent', 'StockSplitEvent', 'BondDefaultEvent', 'CashDividendEvent', 'AmortisationEvent', 'CashFlowEvent', 'ExerciseEvent', 'ResetEvent', 'TriggerEvent', 'RawVendorEvent', 'InformationalErrorEvent', 'BondCouponEvent', 'DividendReinvestmentEvent', 'AccumulationEvent', 'BondPrincipalEvent', 'DividendOptionEvent', 'MaturityEvent', 'FxForwardSettlementEvent', 'ExpiryEvent', 'ScripDividendEvent', 'StockDividendEvent', 'ReverseStockSplitEvent', 'CapitalDistributionEvent', 'SpinOffEvent', 'MergerEvent', 'FutureExpiryEvent')")
42
42
  return value
43
43
 
44
44
  class Config: