lusid-sdk 2.1.405__py3-none-any.whl → 2.1.462__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 (247) hide show
  1. lusid/__init__.py +80 -8
  2. lusid/api/__init__.py +2 -2
  3. lusid/api/abor_api.py +126 -133
  4. lusid/api/abor_configuration_api.py +46 -45
  5. lusid/api/address_key_definition_api.py +28 -27
  6. lusid/api/aggregation_api.py +37 -36
  7. lusid/api/allocations_api.py +39 -38
  8. lusid/api/amortisation_rule_sets_api.py +55 -54
  9. lusid/api/application_metadata_api.py +28 -27
  10. lusid/api/blocks_api.py +37 -36
  11. lusid/api/calendars_api.py +469 -111
  12. lusid/api/chart_of_accounts_api.py +454 -279
  13. lusid/api/complex_market_data_api.py +37 -36
  14. lusid/api/compliance_api.py +136 -135
  15. lusid/api/configuration_recipe_api.py +100 -99
  16. lusid/api/conventions_api.py +109 -108
  17. lusid/api/corporate_action_sources_api.py +82 -81
  18. lusid/api/counterparties_api.py +73 -72
  19. lusid/api/custom_entities_api.py +102 -101
  20. lusid/api/custom_entity_definitions_api.py +37 -36
  21. lusid/api/custom_entity_types_api.py +37 -36
  22. lusid/api/cut_label_definitions_api.py +46 -45
  23. lusid/api/data_types_api.py +248 -72
  24. lusid/api/derived_transaction_portfolios_api.py +19 -18
  25. lusid/api/entities_api.py +431 -46
  26. lusid/api/executions_api.py +37 -36
  27. lusid/api/fee_types_api.py +55 -54
  28. lusid/api/{fund_configurations_api.py → fund_configuration_api.py} +222 -46
  29. lusid/api/funds_api.py +337 -162
  30. lusid/api/group_reconciliations_api.py +1437 -45
  31. lusid/api/instrument_event_types_api.py +64 -63
  32. lusid/api/instrument_events_api.py +46 -45
  33. lusid/api/instruments_api.py +187 -186
  34. lusid/api/legacy_compliance_api.py +73 -72
  35. lusid/api/legal_entities_api.py +167 -166
  36. lusid/api/order_graph_api.py +32 -31
  37. lusid/api/order_instructions_api.py +37 -36
  38. lusid/api/order_management_api.py +251 -90
  39. lusid/api/orders_api.py +37 -36
  40. lusid/api/packages_api.py +37 -36
  41. lusid/api/participations_api.py +37 -36
  42. lusid/api/persons_api.py +163 -162
  43. lusid/api/placements_api.py +37 -36
  44. lusid/api/portfolio_groups_api.py +235 -234
  45. lusid/api/portfolios_api.py +307 -309
  46. lusid/api/property_definitions_api.py +100 -99
  47. lusid/api/queryable_keys_api.py +10 -9
  48. lusid/api/quotes_api.py +82 -81
  49. lusid/api/reconciliations_api.py +136 -135
  50. lusid/api/reference_lists_api.py +39 -38
  51. lusid/api/reference_portfolio_api.py +213 -36
  52. lusid/api/relation_definitions_api.py +28 -27
  53. lusid/api/relations_api.py +19 -18
  54. lusid/api/relationship_definitions_api.py +46 -45
  55. lusid/api/relationships_api.py +19 -18
  56. lusid/api/schemas_api.py +37 -36
  57. lusid/api/scopes_api.py +19 -18
  58. lusid/api/scripted_translation_api.py +73 -72
  59. lusid/api/search_api.py +37 -36
  60. lusid/api/sequences_api.py +37 -36
  61. lusid/api/staged_modifications_api.py +37 -36
  62. lusid/api/staging_rule_set_api.py +46 -45
  63. lusid/api/structured_result_data_api.py +82 -81
  64. lusid/api/system_configuration_api.py +64 -63
  65. lusid/api/tax_rule_sets_api.py +46 -45
  66. lusid/api/transaction_configuration_api.py +100 -99
  67. lusid/api/transaction_fees_api.py +46 -45
  68. lusid/api/transaction_portfolios_api.py +569 -326
  69. lusid/api/translation_api.py +19 -18
  70. lusid/api/workspace_api.py +181 -180
  71. lusid/api_client.py +26 -17
  72. lusid/configuration.py +87 -2
  73. lusid/extensions/api_client.py +25 -17
  74. lusid/extensions/api_client_factory.py +14 -5
  75. lusid/extensions/api_configuration.py +50 -1
  76. lusid/extensions/configuration_loaders.py +39 -11
  77. lusid/extensions/configuration_options.py +67 -0
  78. lusid/extensions/rest.py +78 -26
  79. lusid/extensions/retry.py +109 -37
  80. lusid/models/__init__.py +78 -6
  81. lusid/models/access_metadata_value.py +1 -1
  82. lusid/models/accounting_method.py +7 -0
  83. lusid/models/accumulation_event.py +3 -3
  84. lusid/models/address_key_list.py +3 -3
  85. lusid/models/amortisation_event.py +3 -3
  86. lusid/models/amount.py +69 -0
  87. lusid/models/basket.py +3 -3
  88. lusid/models/batch_upsert_dates_for_calendar_response.py +146 -0
  89. lusid/models/batch_upsert_portfolio_access_metadata_request.py +27 -17
  90. lusid/models/batch_upsert_portfolio_access_metadata_response.py +56 -16
  91. lusid/models/{metadata_key_value.py → batch_upsert_portfolio_access_metadata_response_item.py} +15 -9
  92. lusid/models/bond.py +3 -3
  93. lusid/models/bond_coupon_event.py +3 -3
  94. lusid/models/bond_default_event.py +3 -3
  95. lusid/models/bond_principal_event.py +3 -3
  96. lusid/models/bonus_issue_event.py +166 -0
  97. lusid/models/{component_rule.py → break_code_source.py} +17 -21
  98. lusid/models/cancel_order_and_move_remaining_result.py +84 -0
  99. lusid/models/cancel_orders_and_move_remaining_request.py +83 -0
  100. lusid/models/cancel_orders_and_move_remaining_response.py +153 -0
  101. lusid/models/cap_floor.py +3 -3
  102. lusid/models/capital_distribution_event.py +3 -3
  103. lusid/models/cash.py +3 -3
  104. lusid/models/cash_dividend_event.py +3 -3
  105. lusid/models/cash_flow_event.py +3 -3
  106. lusid/models/cash_perpetual.py +3 -3
  107. lusid/models/cds_credit_event.py +6 -6
  108. lusid/models/cds_index.py +3 -3
  109. lusid/models/cdx_credit_event.py +6 -6
  110. lusid/models/change_interval.py +123 -0
  111. lusid/models/change_interval_with_order_management_detail.py +3 -3
  112. lusid/models/close_event.py +3 -3
  113. lusid/models/complex_bond.py +3 -3
  114. lusid/models/contract_for_difference.py +3 -3
  115. lusid/models/create_derived_transaction_portfolio_request.py +3 -3
  116. lusid/models/create_group_reconciliation_definition_request.py +113 -0
  117. lusid/models/create_transaction_portfolio_request.py +3 -3
  118. lusid/models/credit_default_swap.py +3 -3
  119. lusid/models/credit_premium_cash_flow_event.py +3 -3
  120. lusid/models/custom_entity_entity.py +146 -0
  121. lusid/models/custom_entity_response.py +7 -1
  122. lusid/models/decimal_list.py +3 -3
  123. lusid/models/diary_entry_request.py +10 -1
  124. lusid/models/dividend_option_event.py +3 -3
  125. lusid/models/dividend_reinvestment_event.py +3 -3
  126. lusid/models/effective_range.py +71 -0
  127. lusid/models/equity.py +3 -3
  128. lusid/models/equity_option.py +3 -3
  129. lusid/models/equity_swap.py +3 -3
  130. lusid/models/exchange_traded_option.py +3 -3
  131. lusid/models/exercise_event.py +3 -3
  132. lusid/models/exotic_instrument.py +3 -3
  133. lusid/models/expiry_event.py +3 -3
  134. lusid/models/fee.py +8 -8
  135. lusid/models/fee_request.py +8 -8
  136. lusid/models/fee_type.py +4 -4
  137. lusid/models/fee_type_request.py +3 -3
  138. lusid/models/fixed_leg.py +3 -3
  139. lusid/models/fixed_schedule.py +3 -3
  140. lusid/models/flexible_loan.py +3 -3
  141. lusid/models/float_schedule.py +4 -4
  142. lusid/models/floating_leg.py +3 -3
  143. lusid/models/flow_conventions.py +7 -1
  144. lusid/models/forward_rate_agreement.py +3 -3
  145. lusid/models/fund_configuration.py +44 -17
  146. lusid/models/fund_configuration_request.py +31 -19
  147. lusid/models/fund_id_list.py +99 -0
  148. lusid/models/fund_share_class.py +23 -8
  149. lusid/models/funding_leg.py +3 -3
  150. lusid/models/future.py +3 -3
  151. lusid/models/future_expiry_event.py +3 -3
  152. lusid/models/fx_forward.py +3 -3
  153. lusid/models/fx_forward_settlement_event.py +3 -3
  154. lusid/models/fx_option.py +3 -3
  155. lusid/models/fx_swap.py +3 -3
  156. lusid/models/group_reconciliation_aggregate_attribute_rule.py +2 -2
  157. lusid/models/group_reconciliation_aggregate_comparison_rule_operand.py +1 -1
  158. lusid/models/group_reconciliation_core_comparison_rule_operand.py +1 -1
  159. lusid/models/group_reconciliation_definition.py +136 -0
  160. lusid/models/group_reconciliation_definition_comparison_ruleset_ids.py +83 -0
  161. lusid/models/group_reconciliation_definition_currencies.py +71 -0
  162. lusid/models/group_reconciliation_definition_portfolio_entity_ids.py +86 -0
  163. lusid/models/group_reconciliation_definition_recipe_ids.py +78 -0
  164. lusid/models/holding_contributor.py +11 -4
  165. lusid/models/holding_ids_request.py +69 -0
  166. lusid/models/inflation_leg.py +3 -3
  167. lusid/models/inflation_linked_bond.py +3 -3
  168. lusid/models/inflation_swap.py +3 -3
  169. lusid/models/informational_error_event.py +3 -3
  170. lusid/models/informational_event.py +3 -3
  171. lusid/models/instrument.py +7 -1
  172. lusid/models/instrument_definition.py +8 -2
  173. lusid/models/instrument_event.py +12 -5
  174. lusid/models/instrument_event_holder.py +9 -1
  175. lusid/models/instrument_event_type.py +7 -0
  176. lusid/models/instrument_leg.py +3 -3
  177. lusid/models/instrument_list.py +3 -3
  178. lusid/models/instrument_type.py +2 -0
  179. lusid/models/interest_rate_swap.py +3 -3
  180. lusid/models/interest_rate_swaption.py +3 -3
  181. lusid/models/lapse_election.py +73 -0
  182. lusid/models/loan_facility.py +97 -0
  183. lusid/models/lusid_instrument.py +7 -5
  184. lusid/models/market_data_key_rule.py +5 -3
  185. lusid/models/market_data_specific_rule.py +5 -3
  186. lusid/models/mastered_instrument.py +139 -0
  187. lusid/models/maturity_event.py +3 -3
  188. lusid/models/mbs_coupon_event.py +97 -0
  189. lusid/models/mbs_interest_deferral_event.py +97 -0
  190. lusid/models/mbs_interest_shortfall_event.py +97 -0
  191. lusid/models/mbs_principal_event.py +97 -0
  192. lusid/models/mbs_principal_write_off_event.py +97 -0
  193. lusid/models/merger_event.py +22 -22
  194. lusid/models/open_event.py +3 -3
  195. lusid/models/output_transaction.py +9 -2
  196. lusid/models/paged_resource_list_of_group_reconciliation_comparison_ruleset.py +113 -0
  197. lusid/models/paged_resource_list_of_group_reconciliation_definition.py +113 -0
  198. lusid/models/portfolio.py +3 -3
  199. lusid/models/portfolio_details.py +3 -3
  200. lusid/models/portfolio_group_id_list.py +3 -3
  201. lusid/models/portfolio_id_list.py +3 -3
  202. lusid/models/portfolio_without_href.py +3 -3
  203. lusid/models/property_list.py +3 -3
  204. lusid/models/raw_vendor_event.py +3 -3
  205. lusid/models/reference_instrument.py +3 -3
  206. lusid/models/reference_list.py +6 -5
  207. lusid/models/reference_list_type.py +1 -0
  208. lusid/models/repo.py +3 -3
  209. lusid/models/reset_event.py +3 -3
  210. lusid/models/resource_list_of_change_interval.py +113 -0
  211. lusid/models/reverse_stock_split_event.py +21 -7
  212. lusid/models/scrip_dividend_event.py +3 -3
  213. lusid/models/settlement_cycle.py +79 -0
  214. lusid/models/share_class_dealing_breakdown.py +3 -2
  215. lusid/models/share_class_details.py +18 -1
  216. lusid/models/simple_cash_flow_loan.py +3 -3
  217. lusid/models/simple_instrument.py +3 -3
  218. lusid/models/simple_rounding_convention.py +76 -0
  219. lusid/models/spin_off_event.py +3 -3
  220. lusid/models/staged_modification_effective_range.py +2 -2
  221. lusid/models/stock_dividend_event.py +20 -6
  222. lusid/models/stock_split_event.py +3 -3
  223. lusid/models/string_list.py +3 -3
  224. lusid/models/swap_cash_flow_event.py +3 -3
  225. lusid/models/swap_principal_event.py +3 -3
  226. lusid/models/tender_event.py +172 -0
  227. lusid/models/term_deposit.py +3 -3
  228. lusid/models/total_return_swap.py +3 -3
  229. lusid/models/transaction.py +9 -2
  230. lusid/models/transaction_date_windows.py +85 -0
  231. lusid/models/transaction_request.py +9 -2
  232. lusid/models/transition_event.py +3 -3
  233. lusid/models/trigger_event.py +3 -3
  234. lusid/models/update_fee_type_request.py +4 -4
  235. lusid/models/update_group_reconciliation_comparison_ruleset_request.py +91 -0
  236. lusid/models/update_group_reconciliation_definition_request.py +107 -0
  237. lusid/models/update_reference_data_request.py +87 -0
  238. lusid/models/upsert_custom_entities_response.py +20 -1
  239. lusid/models/upsert_reference_portfolio_constituent_properties_request.py +84 -0
  240. lusid/models/upsert_reference_portfolio_constituent_properties_response.py +115 -0
  241. lusid/models/valuation_point_data_query_parameters.py +3 -3
  242. lusid/models/valuation_point_data_response.py +8 -13
  243. lusid/rest.py +70 -20
  244. {lusid_sdk-2.1.405.dist-info → lusid_sdk-2.1.462.dist-info}/METADATA +79 -24
  245. {lusid_sdk-2.1.405.dist-info → lusid_sdk-2.1.462.dist-info}/RECORD +246 -209
  246. lusid/models/metadata_key_value_response.py +0 -86
  247. {lusid_sdk-2.1.405.dist-info → lusid_sdk-2.1.462.dist-info}/WHEEL +0 -0
lusid/models/__init__.py CHANGED
@@ -67,6 +67,7 @@ from lusid.models.allocation_set_request import AllocationSetRequest
67
67
  from lusid.models.amortisation_event import AmortisationEvent
68
68
  from lusid.models.amortisation_rule import AmortisationRule
69
69
  from lusid.models.amortisation_rule_set import AmortisationRuleSet
70
+ from lusid.models.amount import Amount
70
71
  from lusid.models.annul_quotes_response import AnnulQuotesResponse
71
72
  from lusid.models.annul_single_structured_data_response import AnnulSingleStructuredDataResponse
72
73
  from lusid.models.annul_structured_data_response import AnnulStructuredDataResponse
@@ -77,9 +78,11 @@ from lusid.models.barrier import Barrier
77
78
  from lusid.models.basket import Basket
78
79
  from lusid.models.basket_identifier import BasketIdentifier
79
80
  from lusid.models.batch_adjust_holdings_response import BatchAdjustHoldingsResponse
81
+ from lusid.models.batch_upsert_dates_for_calendar_response import BatchUpsertDatesForCalendarResponse
80
82
  from lusid.models.batch_upsert_instrument_properties_response import BatchUpsertInstrumentPropertiesResponse
81
83
  from lusid.models.batch_upsert_portfolio_access_metadata_request import BatchUpsertPortfolioAccessMetadataRequest
82
84
  from lusid.models.batch_upsert_portfolio_access_metadata_response import BatchUpsertPortfolioAccessMetadataResponse
85
+ from lusid.models.batch_upsert_portfolio_access_metadata_response_item import BatchUpsertPortfolioAccessMetadataResponseItem
83
86
  from lusid.models.batch_upsert_portfolio_transactions_response import BatchUpsertPortfolioTransactionsResponse
84
87
  from lusid.models.batch_upsert_property_definition_properties_response import BatchUpsertPropertyDefinitionPropertiesResponse
85
88
  from lusid.models.block import Block
@@ -96,12 +99,14 @@ from lusid.models.bond_conversion_schedule import BondConversionSchedule
96
99
  from lusid.models.bond_coupon_event import BondCouponEvent
97
100
  from lusid.models.bond_default_event import BondDefaultEvent
98
101
  from lusid.models.bond_principal_event import BondPrincipalEvent
102
+ from lusid.models.bonus_issue_event import BonusIssueEvent
99
103
  from lusid.models.book_transactions_request import BookTransactionsRequest
100
104
  from lusid.models.book_transactions_response import BookTransactionsResponse
101
105
  from lusid.models.bool_compliance_parameter import BoolComplianceParameter
102
106
  from lusid.models.bool_list_compliance_parameter import BoolListComplianceParameter
103
107
  from lusid.models.branch_step import BranchStep
104
108
  from lusid.models.branch_step_request import BranchStepRequest
109
+ from lusid.models.break_code_source import BreakCodeSource
105
110
  from lusid.models.bucketed_cash_flow_request import BucketedCashFlowRequest
106
111
  from lusid.models.bucketed_cash_flow_response import BucketedCashFlowResponse
107
112
  from lusid.models.bucketing_schedule import BucketingSchedule
@@ -109,6 +114,9 @@ from lusid.models.calculation_info import CalculationInfo
109
114
  from lusid.models.calendar import Calendar
110
115
  from lusid.models.calendar_date import CalendarDate
111
116
  from lusid.models.calendar_dependency import CalendarDependency
117
+ from lusid.models.cancel_order_and_move_remaining_result import CancelOrderAndMoveRemainingResult
118
+ from lusid.models.cancel_orders_and_move_remaining_request import CancelOrdersAndMoveRemainingRequest
119
+ from lusid.models.cancel_orders_and_move_remaining_response import CancelOrdersAndMoveRemainingResponse
112
120
  from lusid.models.cancel_orders_response import CancelOrdersResponse
113
121
  from lusid.models.cancel_placements_response import CancelPlacementsResponse
114
122
  from lusid.models.cancelled_order_result import CancelledOrderResult
@@ -135,6 +143,7 @@ from lusid.models.cdx_credit_event import CdxCreditEvent
135
143
  from lusid.models.change import Change
136
144
  from lusid.models.change_history import ChangeHistory
137
145
  from lusid.models.change_history_action import ChangeHistoryAction
146
+ from lusid.models.change_interval import ChangeInterval
138
147
  from lusid.models.change_interval_with_order_management_detail import ChangeIntervalWithOrderManagementDetail
139
148
  from lusid.models.change_item import ChangeItem
140
149
  from lusid.models.chart_of_accounts import ChartOfAccounts
@@ -185,7 +194,6 @@ from lusid.models.compliance_template_variation import ComplianceTemplateVariati
185
194
  from lusid.models.compliance_template_variation_dto import ComplianceTemplateVariationDto
186
195
  from lusid.models.compliance_template_variation_request import ComplianceTemplateVariationRequest
187
196
  from lusid.models.component_filter import ComponentFilter
188
- from lusid.models.component_rule import ComponentRule
189
197
  from lusid.models.component_transaction import ComponentTransaction
190
198
  from lusid.models.composite_breakdown import CompositeBreakdown
191
199
  from lusid.models.composite_breakdown_request import CompositeBreakdownRequest
@@ -219,6 +227,7 @@ from lusid.models.create_date_request import CreateDateRequest
219
227
  from lusid.models.create_derived_property_definition_request import CreateDerivedPropertyDefinitionRequest
220
228
  from lusid.models.create_derived_transaction_portfolio_request import CreateDerivedTransactionPortfolioRequest
221
229
  from lusid.models.create_group_reconciliation_comparison_ruleset_request import CreateGroupReconciliationComparisonRulesetRequest
230
+ from lusid.models.create_group_reconciliation_definition_request import CreateGroupReconciliationDefinitionRequest
222
231
  from lusid.models.create_portfolio_details import CreatePortfolioDetails
223
232
  from lusid.models.create_portfolio_group_request import CreatePortfolioGroupRequest
224
233
  from lusid.models.create_property_definition_request import CreatePropertyDefinitionRequest
@@ -249,6 +258,7 @@ from lusid.models.custodian_account_request import CustodianAccountRequest
249
258
  from lusid.models.custodian_accounts_upsert_response import CustodianAccountsUpsertResponse
250
259
  from lusid.models.custom_entity_definition import CustomEntityDefinition
251
260
  from lusid.models.custom_entity_definition_request import CustomEntityDefinitionRequest
261
+ from lusid.models.custom_entity_entity import CustomEntityEntity
252
262
  from lusid.models.custom_entity_field import CustomEntityField
253
263
  from lusid.models.custom_entity_field_definition import CustomEntityFieldDefinition
254
264
  from lusid.models.custom_entity_id import CustomEntityId
@@ -302,6 +312,7 @@ from lusid.models.economic_dependency import EconomicDependency
302
312
  from lusid.models.economic_dependency_type import EconomicDependencyType
303
313
  from lusid.models.economic_dependency_with_complex_market_data import EconomicDependencyWithComplexMarketData
304
314
  from lusid.models.economic_dependency_with_quote import EconomicDependencyWithQuote
315
+ from lusid.models.effective_range import EffectiveRange
305
316
  from lusid.models.election_specification import ElectionSpecification
306
317
  from lusid.models.eligibility_calculation import EligibilityCalculation
307
318
  from lusid.models.empty_model_options import EmptyModelOptions
@@ -360,6 +371,7 @@ from lusid.models.fund_configuration import FundConfiguration
360
371
  from lusid.models.fund_configuration_properties import FundConfigurationProperties
361
372
  from lusid.models.fund_configuration_request import FundConfigurationRequest
362
373
  from lusid.models.fund_details import FundDetails
374
+ from lusid.models.fund_id_list import FundIdList
363
375
  from lusid.models.fund_pnl_breakdown import FundPnlBreakdown
364
376
  from lusid.models.fund_previous_nav import FundPreviousNAV
365
377
  from lusid.models.fund_properties import FundProperties
@@ -422,11 +434,17 @@ from lusid.models.group_reconciliation_comparison_rule_tolerance import GroupRec
422
434
  from lusid.models.group_reconciliation_comparison_ruleset import GroupReconciliationComparisonRuleset
423
435
  from lusid.models.group_reconciliation_core_attribute_rule import GroupReconciliationCoreAttributeRule
424
436
  from lusid.models.group_reconciliation_core_comparison_rule_operand import GroupReconciliationCoreComparisonRuleOperand
437
+ from lusid.models.group_reconciliation_definition import GroupReconciliationDefinition
438
+ from lusid.models.group_reconciliation_definition_comparison_ruleset_ids import GroupReconciliationDefinitionComparisonRulesetIds
439
+ from lusid.models.group_reconciliation_definition_currencies import GroupReconciliationDefinitionCurrencies
440
+ from lusid.models.group_reconciliation_definition_portfolio_entity_ids import GroupReconciliationDefinitionPortfolioEntityIds
441
+ from lusid.models.group_reconciliation_definition_recipe_ids import GroupReconciliationDefinitionRecipeIds
425
442
  from lusid.models.grouped_result_of_address_key import GroupedResultOfAddressKey
426
443
  from lusid.models.holding_adjustment import HoldingAdjustment
427
444
  from lusid.models.holding_adjustment_with_date import HoldingAdjustmentWithDate
428
445
  from lusid.models.holding_context import HoldingContext
429
446
  from lusid.models.holding_contributor import HoldingContributor
447
+ from lusid.models.holding_ids_request import HoldingIdsRequest
430
448
  from lusid.models.holding_pricing_info import HoldingPricingInfo
431
449
  from lusid.models.holdings_adjustment import HoldingsAdjustment
432
450
  from lusid.models.holdings_adjustment_header import HoldingsAdjustmentHeader
@@ -485,6 +503,7 @@ from lusid.models.is_business_day_response import IsBusinessDayResponse
485
503
  from lusid.models.journal_entry_line import JournalEntryLine
486
504
  from lusid.models.journal_entry_lines_query_parameters import JournalEntryLinesQueryParameters
487
505
  from lusid.models.label_value_set import LabelValueSet
506
+ from lusid.models.lapse_election import LapseElection
488
507
  from lusid.models.leg_definition import LegDefinition
489
508
  from lusid.models.legal_entity import LegalEntity
490
509
  from lusid.models.level_step import LevelStep
@@ -495,6 +514,7 @@ from lusid.models.link import Link
495
514
  from lusid.models.list_aggregation_reconciliation import ListAggregationReconciliation
496
515
  from lusid.models.list_aggregation_response import ListAggregationResponse
497
516
  from lusid.models.list_complex_market_data_with_meta_data_response import ListComplexMarketDataWithMetaDataResponse
517
+ from lusid.models.loan_facility import LoanFacility
498
518
  from lusid.models.loan_period import LoanPeriod
499
519
  from lusid.models.lock_period_diary_entry_request import LockPeriodDiaryEntryRequest
500
520
  from lusid.models.lusid_instrument import LusidInstrument
@@ -516,11 +536,15 @@ from lusid.models.market_data_type import MarketDataType
516
536
  from lusid.models.market_observable_type import MarketObservableType
517
537
  from lusid.models.market_options import MarketOptions
518
538
  from lusid.models.market_quote import MarketQuote
539
+ from lusid.models.mastered_instrument import MasteredInstrument
519
540
  from lusid.models.match_criterion import MatchCriterion
520
541
  from lusid.models.maturity_event import MaturityEvent
542
+ from lusid.models.mbs_coupon_event import MbsCouponEvent
543
+ from lusid.models.mbs_interest_deferral_event import MbsInterestDeferralEvent
544
+ from lusid.models.mbs_interest_shortfall_event import MbsInterestShortfallEvent
545
+ from lusid.models.mbs_principal_event import MbsPrincipalEvent
546
+ from lusid.models.mbs_principal_write_off_event import MbsPrincipalWriteOffEvent
521
547
  from lusid.models.merger_event import MergerEvent
522
- from lusid.models.metadata_key_value import MetadataKeyValue
523
- from lusid.models.metadata_key_value_response import MetadataKeyValueResponse
524
548
  from lusid.models.metric_value import MetricValue
525
549
  from lusid.models.model_options import ModelOptions
526
550
  from lusid.models.model_options_type import ModelOptionsType
@@ -608,6 +632,8 @@ from lusid.models.paged_resource_list_of_fee_type import PagedResourceListOfFeeT
608
632
  from lusid.models.paged_resource_list_of_fund import PagedResourceListOfFund
609
633
  from lusid.models.paged_resource_list_of_fund_configuration import PagedResourceListOfFundConfiguration
610
634
  from lusid.models.paged_resource_list_of_general_ledger_profile_response import PagedResourceListOfGeneralLedgerProfileResponse
635
+ from lusid.models.paged_resource_list_of_group_reconciliation_comparison_ruleset import PagedResourceListOfGroupReconciliationComparisonRuleset
636
+ from lusid.models.paged_resource_list_of_group_reconciliation_definition import PagedResourceListOfGroupReconciliationDefinition
611
637
  from lusid.models.paged_resource_list_of_instrument import PagedResourceListOfInstrument
612
638
  from lusid.models.paged_resource_list_of_instrument_event_holder import PagedResourceListOfInstrumentEventHolder
613
639
  from lusid.models.paged_resource_list_of_instrument_event_instruction import PagedResourceListOfInstrumentEventInstruction
@@ -782,6 +808,7 @@ from lusid.models.resource_list_of_block_and_orders import ResourceListOfBlockAn
782
808
  from lusid.models.resource_list_of_calendar_date import ResourceListOfCalendarDate
783
809
  from lusid.models.resource_list_of_change import ResourceListOfChange
784
810
  from lusid.models.resource_list_of_change_history import ResourceListOfChangeHistory
811
+ from lusid.models.resource_list_of_change_interval import ResourceListOfChangeInterval
785
812
  from lusid.models.resource_list_of_change_interval_with_order_management_detail import ResourceListOfChangeIntervalWithOrderManagementDetail
786
813
  from lusid.models.resource_list_of_compliance_breached_order_info import ResourceListOfComplianceBreachedOrderInfo
787
814
  from lusid.models.resource_list_of_compliance_rule import ResourceListOfComplianceRule
@@ -873,6 +900,7 @@ from lusid.models.set_person_properties_request import SetPersonPropertiesReques
873
900
  from lusid.models.set_share_class_instruments_request import SetShareClassInstrumentsRequest
874
901
  from lusid.models.set_transaction_configuration_alias import SetTransactionConfigurationAlias
875
902
  from lusid.models.set_transaction_configuration_source_request import SetTransactionConfigurationSourceRequest
903
+ from lusid.models.settlement_cycle import SettlementCycle
876
904
  from lusid.models.settlement_schedule import SettlementSchedule
877
905
  from lusid.models.share_class_amount import ShareClassAmount
878
906
  from lusid.models.share_class_breakdown import ShareClassBreakdown
@@ -887,6 +915,7 @@ from lusid.models.side_definition_request import SideDefinitionRequest
887
915
  from lusid.models.sides_definition_request import SidesDefinitionRequest
888
916
  from lusid.models.simple_cash_flow_loan import SimpleCashFlowLoan
889
917
  from lusid.models.simple_instrument import SimpleInstrument
918
+ from lusid.models.simple_rounding_convention import SimpleRoundingConvention
890
919
  from lusid.models.sort_order import SortOrder
891
920
  from lusid.models.specific_holding_pricing_info import SpecificHoldingPricingInfo
892
921
  from lusid.models.spin_off_event import SpinOffEvent
@@ -920,6 +949,7 @@ from lusid.models.target_tax_lot_request import TargetTaxLotRequest
920
949
  from lusid.models.tax_rule import TaxRule
921
950
  from lusid.models.tax_rule_set import TaxRuleSet
922
951
  from lusid.models.template_field import TemplateField
952
+ from lusid.models.tender_event import TenderEvent
923
953
  from lusid.models.term_deposit import TermDeposit
924
954
  from lusid.models.total_return_swap import TotalReturnSwap
925
955
  from lusid.models.touch import Touch
@@ -932,6 +962,7 @@ from lusid.models.transaction_configuration_movement_data import TransactionConf
932
962
  from lusid.models.transaction_configuration_movement_data_request import TransactionConfigurationMovementDataRequest
933
963
  from lusid.models.transaction_configuration_type_alias import TransactionConfigurationTypeAlias
934
964
  from lusid.models.transaction_currency_and_amount import TransactionCurrencyAndAmount
965
+ from lusid.models.transaction_date_windows import TransactionDateWindows
935
966
  from lusid.models.transaction_diagnostics import TransactionDiagnostics
936
967
  from lusid.models.transaction_field_map import TransactionFieldMap
937
968
  from lusid.models.transaction_price import TransactionPrice
@@ -989,6 +1020,8 @@ from lusid.models.update_cut_label_definition_request import UpdateCutLabelDefin
989
1020
  from lusid.models.update_data_type_request import UpdateDataTypeRequest
990
1021
  from lusid.models.update_derived_property_definition_request import UpdateDerivedPropertyDefinitionRequest
991
1022
  from lusid.models.update_fee_type_request import UpdateFeeTypeRequest
1023
+ from lusid.models.update_group_reconciliation_comparison_ruleset_request import UpdateGroupReconciliationComparisonRulesetRequest
1024
+ from lusid.models.update_group_reconciliation_definition_request import UpdateGroupReconciliationDefinitionRequest
992
1025
  from lusid.models.update_instrument_identifier_request import UpdateInstrumentIdentifierRequest
993
1026
  from lusid.models.update_orders_response import UpdateOrdersResponse
994
1027
  from lusid.models.update_placements_response import UpdatePlacementsResponse
@@ -996,6 +1029,7 @@ from lusid.models.update_portfolio_group_request import UpdatePortfolioGroupRequ
996
1029
  from lusid.models.update_portfolio_request import UpdatePortfolioRequest
997
1030
  from lusid.models.update_property_definition_request import UpdatePropertyDefinitionRequest
998
1031
  from lusid.models.update_reconciliation_request import UpdateReconciliationRequest
1032
+ from lusid.models.update_reference_data_request import UpdateReferenceDataRequest
999
1033
  from lusid.models.update_relationship_definition_request import UpdateRelationshipDefinitionRequest
1000
1034
  from lusid.models.update_staging_rule_set_request import UpdateStagingRuleSetRequest
1001
1035
  from lusid.models.update_tax_rule_set_request import UpdateTaxRuleSetRequest
@@ -1033,6 +1067,8 @@ from lusid.models.upsert_quote_request import UpsertQuoteRequest
1033
1067
  from lusid.models.upsert_quotes_response import UpsertQuotesResponse
1034
1068
  from lusid.models.upsert_recipe_composer_request import UpsertRecipeComposerRequest
1035
1069
  from lusid.models.upsert_recipe_request import UpsertRecipeRequest
1070
+ from lusid.models.upsert_reference_portfolio_constituent_properties_request import UpsertReferencePortfolioConstituentPropertiesRequest
1071
+ from lusid.models.upsert_reference_portfolio_constituent_properties_response import UpsertReferencePortfolioConstituentPropertiesResponse
1036
1072
  from lusid.models.upsert_reference_portfolio_constituents_request import UpsertReferencePortfolioConstituentsRequest
1037
1073
  from lusid.models.upsert_reference_portfolio_constituents_response import UpsertReferencePortfolioConstituentsResponse
1038
1074
  from lusid.models.upsert_result_values_data_request import UpsertResultValuesDataRequest
@@ -1137,6 +1173,7 @@ __all__ = [
1137
1173
  "AmortisationEvent",
1138
1174
  "AmortisationRule",
1139
1175
  "AmortisationRuleSet",
1176
+ "Amount",
1140
1177
  "AnnulQuotesResponse",
1141
1178
  "AnnulSingleStructuredDataResponse",
1142
1179
  "AnnulStructuredDataResponse",
@@ -1147,9 +1184,11 @@ __all__ = [
1147
1184
  "Basket",
1148
1185
  "BasketIdentifier",
1149
1186
  "BatchAdjustHoldingsResponse",
1187
+ "BatchUpsertDatesForCalendarResponse",
1150
1188
  "BatchUpsertInstrumentPropertiesResponse",
1151
1189
  "BatchUpsertPortfolioAccessMetadataRequest",
1152
1190
  "BatchUpsertPortfolioAccessMetadataResponse",
1191
+ "BatchUpsertPortfolioAccessMetadataResponseItem",
1153
1192
  "BatchUpsertPortfolioTransactionsResponse",
1154
1193
  "BatchUpsertPropertyDefinitionPropertiesResponse",
1155
1194
  "Block",
@@ -1166,12 +1205,14 @@ __all__ = [
1166
1205
  "BondCouponEvent",
1167
1206
  "BondDefaultEvent",
1168
1207
  "BondPrincipalEvent",
1208
+ "BonusIssueEvent",
1169
1209
  "BookTransactionsRequest",
1170
1210
  "BookTransactionsResponse",
1171
1211
  "BoolComplianceParameter",
1172
1212
  "BoolListComplianceParameter",
1173
1213
  "BranchStep",
1174
1214
  "BranchStepRequest",
1215
+ "BreakCodeSource",
1175
1216
  "BucketedCashFlowRequest",
1176
1217
  "BucketedCashFlowResponse",
1177
1218
  "BucketingSchedule",
@@ -1179,6 +1220,9 @@ __all__ = [
1179
1220
  "Calendar",
1180
1221
  "CalendarDate",
1181
1222
  "CalendarDependency",
1223
+ "CancelOrderAndMoveRemainingResult",
1224
+ "CancelOrdersAndMoveRemainingRequest",
1225
+ "CancelOrdersAndMoveRemainingResponse",
1182
1226
  "CancelOrdersResponse",
1183
1227
  "CancelPlacementsResponse",
1184
1228
  "CancelledOrderResult",
@@ -1205,6 +1249,7 @@ __all__ = [
1205
1249
  "Change",
1206
1250
  "ChangeHistory",
1207
1251
  "ChangeHistoryAction",
1252
+ "ChangeInterval",
1208
1253
  "ChangeIntervalWithOrderManagementDetail",
1209
1254
  "ChangeItem",
1210
1255
  "ChartOfAccounts",
@@ -1255,7 +1300,6 @@ __all__ = [
1255
1300
  "ComplianceTemplateVariationDto",
1256
1301
  "ComplianceTemplateVariationRequest",
1257
1302
  "ComponentFilter",
1258
- "ComponentRule",
1259
1303
  "ComponentTransaction",
1260
1304
  "CompositeBreakdown",
1261
1305
  "CompositeBreakdownRequest",
@@ -1289,6 +1333,7 @@ __all__ = [
1289
1333
  "CreateDerivedPropertyDefinitionRequest",
1290
1334
  "CreateDerivedTransactionPortfolioRequest",
1291
1335
  "CreateGroupReconciliationComparisonRulesetRequest",
1336
+ "CreateGroupReconciliationDefinitionRequest",
1292
1337
  "CreatePortfolioDetails",
1293
1338
  "CreatePortfolioGroupRequest",
1294
1339
  "CreatePropertyDefinitionRequest",
@@ -1319,6 +1364,7 @@ __all__ = [
1319
1364
  "CustodianAccountsUpsertResponse",
1320
1365
  "CustomEntityDefinition",
1321
1366
  "CustomEntityDefinitionRequest",
1367
+ "CustomEntityEntity",
1322
1368
  "CustomEntityField",
1323
1369
  "CustomEntityFieldDefinition",
1324
1370
  "CustomEntityId",
@@ -1372,6 +1418,7 @@ __all__ = [
1372
1418
  "EconomicDependencyType",
1373
1419
  "EconomicDependencyWithComplexMarketData",
1374
1420
  "EconomicDependencyWithQuote",
1421
+ "EffectiveRange",
1375
1422
  "ElectionSpecification",
1376
1423
  "EligibilityCalculation",
1377
1424
  "EmptyModelOptions",
@@ -1430,6 +1477,7 @@ __all__ = [
1430
1477
  "FundConfigurationProperties",
1431
1478
  "FundConfigurationRequest",
1432
1479
  "FundDetails",
1480
+ "FundIdList",
1433
1481
  "FundPnlBreakdown",
1434
1482
  "FundPreviousNAV",
1435
1483
  "FundProperties",
@@ -1492,11 +1540,17 @@ __all__ = [
1492
1540
  "GroupReconciliationComparisonRuleset",
1493
1541
  "GroupReconciliationCoreAttributeRule",
1494
1542
  "GroupReconciliationCoreComparisonRuleOperand",
1543
+ "GroupReconciliationDefinition",
1544
+ "GroupReconciliationDefinitionComparisonRulesetIds",
1545
+ "GroupReconciliationDefinitionCurrencies",
1546
+ "GroupReconciliationDefinitionPortfolioEntityIds",
1547
+ "GroupReconciliationDefinitionRecipeIds",
1495
1548
  "GroupedResultOfAddressKey",
1496
1549
  "HoldingAdjustment",
1497
1550
  "HoldingAdjustmentWithDate",
1498
1551
  "HoldingContext",
1499
1552
  "HoldingContributor",
1553
+ "HoldingIdsRequest",
1500
1554
  "HoldingPricingInfo",
1501
1555
  "HoldingsAdjustment",
1502
1556
  "HoldingsAdjustmentHeader",
@@ -1555,6 +1609,7 @@ __all__ = [
1555
1609
  "JournalEntryLine",
1556
1610
  "JournalEntryLinesQueryParameters",
1557
1611
  "LabelValueSet",
1612
+ "LapseElection",
1558
1613
  "LegDefinition",
1559
1614
  "LegalEntity",
1560
1615
  "LevelStep",
@@ -1565,6 +1620,7 @@ __all__ = [
1565
1620
  "ListAggregationReconciliation",
1566
1621
  "ListAggregationResponse",
1567
1622
  "ListComplexMarketDataWithMetaDataResponse",
1623
+ "LoanFacility",
1568
1624
  "LoanPeriod",
1569
1625
  "LockPeriodDiaryEntryRequest",
1570
1626
  "LusidInstrument",
@@ -1586,11 +1642,15 @@ __all__ = [
1586
1642
  "MarketObservableType",
1587
1643
  "MarketOptions",
1588
1644
  "MarketQuote",
1645
+ "MasteredInstrument",
1589
1646
  "MatchCriterion",
1590
1647
  "MaturityEvent",
1648
+ "MbsCouponEvent",
1649
+ "MbsInterestDeferralEvent",
1650
+ "MbsInterestShortfallEvent",
1651
+ "MbsPrincipalEvent",
1652
+ "MbsPrincipalWriteOffEvent",
1591
1653
  "MergerEvent",
1592
- "MetadataKeyValue",
1593
- "MetadataKeyValueResponse",
1594
1654
  "MetricValue",
1595
1655
  "ModelOptions",
1596
1656
  "ModelOptionsType",
@@ -1678,6 +1738,8 @@ __all__ = [
1678
1738
  "PagedResourceListOfFund",
1679
1739
  "PagedResourceListOfFundConfiguration",
1680
1740
  "PagedResourceListOfGeneralLedgerProfileResponse",
1741
+ "PagedResourceListOfGroupReconciliationComparisonRuleset",
1742
+ "PagedResourceListOfGroupReconciliationDefinition",
1681
1743
  "PagedResourceListOfInstrument",
1682
1744
  "PagedResourceListOfInstrumentEventHolder",
1683
1745
  "PagedResourceListOfInstrumentEventInstruction",
@@ -1852,6 +1914,7 @@ __all__ = [
1852
1914
  "ResourceListOfCalendarDate",
1853
1915
  "ResourceListOfChange",
1854
1916
  "ResourceListOfChangeHistory",
1917
+ "ResourceListOfChangeInterval",
1855
1918
  "ResourceListOfChangeIntervalWithOrderManagementDetail",
1856
1919
  "ResourceListOfComplianceBreachedOrderInfo",
1857
1920
  "ResourceListOfComplianceRule",
@@ -1943,6 +2006,7 @@ __all__ = [
1943
2006
  "SetShareClassInstrumentsRequest",
1944
2007
  "SetTransactionConfigurationAlias",
1945
2008
  "SetTransactionConfigurationSourceRequest",
2009
+ "SettlementCycle",
1946
2010
  "SettlementSchedule",
1947
2011
  "ShareClassAmount",
1948
2012
  "ShareClassBreakdown",
@@ -1957,6 +2021,7 @@ __all__ = [
1957
2021
  "SidesDefinitionRequest",
1958
2022
  "SimpleCashFlowLoan",
1959
2023
  "SimpleInstrument",
2024
+ "SimpleRoundingConvention",
1960
2025
  "SortOrder",
1961
2026
  "SpecificHoldingPricingInfo",
1962
2027
  "SpinOffEvent",
@@ -1990,6 +2055,7 @@ __all__ = [
1990
2055
  "TaxRule",
1991
2056
  "TaxRuleSet",
1992
2057
  "TemplateField",
2058
+ "TenderEvent",
1993
2059
  "TermDeposit",
1994
2060
  "TotalReturnSwap",
1995
2061
  "Touch",
@@ -2002,6 +2068,7 @@ __all__ = [
2002
2068
  "TransactionConfigurationMovementDataRequest",
2003
2069
  "TransactionConfigurationTypeAlias",
2004
2070
  "TransactionCurrencyAndAmount",
2071
+ "TransactionDateWindows",
2005
2072
  "TransactionDiagnostics",
2006
2073
  "TransactionFieldMap",
2007
2074
  "TransactionPrice",
@@ -2059,6 +2126,8 @@ __all__ = [
2059
2126
  "UpdateDataTypeRequest",
2060
2127
  "UpdateDerivedPropertyDefinitionRequest",
2061
2128
  "UpdateFeeTypeRequest",
2129
+ "UpdateGroupReconciliationComparisonRulesetRequest",
2130
+ "UpdateGroupReconciliationDefinitionRequest",
2062
2131
  "UpdateInstrumentIdentifierRequest",
2063
2132
  "UpdateOrdersResponse",
2064
2133
  "UpdatePlacementsResponse",
@@ -2066,6 +2135,7 @@ __all__ = [
2066
2135
  "UpdatePortfolioRequest",
2067
2136
  "UpdatePropertyDefinitionRequest",
2068
2137
  "UpdateReconciliationRequest",
2138
+ "UpdateReferenceDataRequest",
2069
2139
  "UpdateRelationshipDefinitionRequest",
2070
2140
  "UpdateStagingRuleSetRequest",
2071
2141
  "UpdateTaxRuleSetRequest",
@@ -2103,6 +2173,8 @@ __all__ = [
2103
2173
  "UpsertQuotesResponse",
2104
2174
  "UpsertRecipeComposerRequest",
2105
2175
  "UpsertRecipeRequest",
2176
+ "UpsertReferencePortfolioConstituentPropertiesRequest",
2177
+ "UpsertReferencePortfolioConstituentPropertiesResponse",
2106
2178
  "UpsertReferencePortfolioConstituentsRequest",
2107
2179
  "UpsertReferencePortfolioConstituentsResponse",
2108
2180
  "UpsertResultValuesDataRequest",
@@ -23,7 +23,7 @@ from pydantic.v1 import BaseModel, Field, constr
23
23
 
24
24
  class AccessMetadataValue(BaseModel):
25
25
  """
26
- An access control value. Provider should only be used if you are a service provide licensing data. In that case the provider value must match your domain. # noqa: E501
26
+ An access control value. Provider should only be used if you are a service provider licensing data. In that case the provider value must match your domain. # noqa: E501
27
27
  """
28
28
  value: constr(strict=True, max_length=2048, min_length=0) = Field(...)
29
29
  provider: Optional[constr(strict=True, max_length=50, min_length=0)] = None
@@ -38,6 +38,13 @@ class AccountingMethod(str, Enum):
38
38
  PRORATEBYUNITS = 'ProRateByUnits'
39
39
  PRORATEBYCOST = 'ProRateByCost'
40
40
  PRORATEBYCOSTPORTFOLIOCURRENCY = 'ProRateByCostPortfolioCurrency'
41
+ INTRADAYTHENFIRSTINFIRSTOUT = 'IntraDayThenFirstInFirstOut'
42
+ LONGTERMHIGHESTCOSTFIRST = 'LongTermHighestCostFirst'
43
+ LONGTERMHIGHESTCOSTFIRSTPORTFOLIOCURRENCY = 'LongTermHighestCostFirstPortfolioCurrency'
44
+ HIGHESTCOSTFIRSTPORTFOLIOCURRENCY = 'HighestCostFirstPortfolioCurrency'
45
+ LOWESTCOSTFIRSTPORTFOLIOCURRENCY = 'LowestCostFirstPortfolioCurrency'
46
+ MAXIMUMLOSSMINIMUMGAIN = 'MaximumLossMinimumGain'
47
+ MAXIMUMLOSSMINIMUMGAINPORTFOLIOCURRENCY = 'MaximumLossMinimumGainPortfolioCurrency'
41
48
 
42
49
  @classmethod
43
50
  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, FutureExpiryEvent, SwapCashFlowEvent, SwapPrincipalEvent, CreditPremiumCashFlowEvent, CdsCreditEvent, CdxCreditEvent")
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, SwapCashFlowEvent, SwapPrincipalEvent, CreditPremiumCashFlowEvent, CdsCreditEvent, CdxCreditEvent, MbsCouponEvent, MbsPrincipalEvent, BonusIssueEvent, MbsPrincipalWriteOffEvent, MbsInterestDeferralEvent, MbsInterestShortfallEvent, TenderEvent")
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', 'FutureExpiryEvent', 'SwapCashFlowEvent', 'SwapPrincipalEvent', 'CreditPremiumCashFlowEvent', 'CdsCreditEvent', 'CdxCreditEvent'):
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', 'SwapCashFlowEvent', 'SwapPrincipalEvent', 'CreditPremiumCashFlowEvent', 'CdsCreditEvent', 'CdxCreditEvent')")
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', 'SwapCashFlowEvent', 'SwapPrincipalEvent', 'CreditPremiumCashFlowEvent', 'CdsCreditEvent', 'CdxCreditEvent', 'MbsCouponEvent', 'MbsPrincipalEvent', 'BonusIssueEvent', 'MbsPrincipalWriteOffEvent', 'MbsInterestDeferralEvent', 'MbsInterestShortfallEvent', 'TenderEvent'):
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', 'SwapCashFlowEvent', 'SwapPrincipalEvent', 'CreditPremiumCashFlowEvent', 'CdsCreditEvent', 'CdxCreditEvent', 'MbsCouponEvent', 'MbsPrincipalEvent', 'BonusIssueEvent', 'MbsPrincipalWriteOffEvent', 'MbsInterestDeferralEvent', 'MbsInterestShortfallEvent', 'TenderEvent')")
43
43
  return value
44
44
 
45
45
  class Config:
@@ -27,15 +27,15 @@ class AddressKeyList(ReferenceList):
27
27
  AddressKeyList
28
28
  """
29
29
  values: conlist(StrictStr, max_items=100, min_items=0) = Field(...)
30
- reference_list_type: StrictStr = Field(..., alias="referenceListType", description="The reference list values. The available values are: PortfolioGroupIdList, PortfolioIdList, AddressKeyList, StringList, InstrumentList, DecimalList, PropertyList")
30
+ reference_list_type: StrictStr = Field(..., alias="referenceListType", description="The reference list values. The available values are: PortfolioGroupIdList, PortfolioIdList, AddressKeyList, StringList, InstrumentList, DecimalList, PropertyList, FundIdList")
31
31
  additional_properties: Dict[str, Any] = {}
32
32
  __properties = ["referenceListType", "values"]
33
33
 
34
34
  @validator('reference_list_type')
35
35
  def reference_list_type_validate_enum(cls, value):
36
36
  """Validates the enum"""
37
- if value not in ('PortfolioGroupIdList', 'PortfolioIdList', 'AddressKeyList', 'StringList', 'InstrumentList', 'DecimalList', 'PropertyList'):
38
- raise ValueError("must be one of enum values ('PortfolioGroupIdList', 'PortfolioIdList', 'AddressKeyList', 'StringList', 'InstrumentList', 'DecimalList', 'PropertyList')")
37
+ if value not in ('PortfolioGroupIdList', 'PortfolioIdList', 'AddressKeyList', 'StringList', 'InstrumentList', 'DecimalList', 'PropertyList', 'FundIdList'):
38
+ raise ValueError("must be one of enum values ('PortfolioGroupIdList', 'PortfolioIdList', 'AddressKeyList', 'StringList', 'InstrumentList', 'DecimalList', 'PropertyList', 'FundIdList')")
39
39
  return value
40
40
 
41
41
  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, FutureExpiryEvent, SwapCashFlowEvent, SwapPrincipalEvent, CreditPremiumCashFlowEvent, CdsCreditEvent, CdxCreditEvent")
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, SwapCashFlowEvent, SwapPrincipalEvent, CreditPremiumCashFlowEvent, CdsCreditEvent, CdxCreditEvent, MbsCouponEvent, MbsPrincipalEvent, BonusIssueEvent, MbsPrincipalWriteOffEvent, MbsInterestDeferralEvent, MbsInterestShortfallEvent, TenderEvent")
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', 'FutureExpiryEvent', 'SwapCashFlowEvent', 'SwapPrincipalEvent', 'CreditPremiumCashFlowEvent', 'CdsCreditEvent', 'CdxCreditEvent'):
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', 'SwapCashFlowEvent', 'SwapPrincipalEvent', 'CreditPremiumCashFlowEvent', 'CdsCreditEvent', 'CdxCreditEvent')")
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', 'SwapCashFlowEvent', 'SwapPrincipalEvent', 'CreditPremiumCashFlowEvent', 'CdsCreditEvent', 'CdxCreditEvent', 'MbsCouponEvent', 'MbsPrincipalEvent', 'BonusIssueEvent', 'MbsPrincipalWriteOffEvent', 'MbsInterestDeferralEvent', 'MbsInterestShortfallEvent', 'TenderEvent'):
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', 'SwapCashFlowEvent', 'SwapPrincipalEvent', 'CreditPremiumCashFlowEvent', 'CdsCreditEvent', 'CdxCreditEvent', 'MbsCouponEvent', 'MbsPrincipalEvent', 'BonusIssueEvent', 'MbsPrincipalWriteOffEvent', 'MbsInterestDeferralEvent', 'MbsInterestShortfallEvent', 'TenderEvent')")
42
42
  return value
43
43
 
44
44
  class Config:
lusid/models/amount.py ADDED
@@ -0,0 +1,69 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ LUSID API
5
+
6
+ FINBOURNE Technology # noqa: E501
7
+
8
+ Contact: info@finbourne.com
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """
13
+
14
+
15
+ from __future__ import annotations
16
+ import pprint
17
+ import re # noqa: F401
18
+ import json
19
+
20
+
21
+ from typing import Any, Dict, Optional, Union
22
+ from pydantic.v1 import BaseModel, StrictFloat, StrictInt
23
+
24
+ class Amount(BaseModel):
25
+ """
26
+ Amount
27
+ """
28
+ value: Optional[Union[StrictFloat, StrictInt]] = None
29
+ __properties = ["value"]
30
+
31
+ class Config:
32
+ """Pydantic configuration"""
33
+ allow_population_by_field_name = True
34
+ validate_assignment = True
35
+
36
+ def to_str(self) -> str:
37
+ """Returns the string representation of the model using alias"""
38
+ return pprint.pformat(self.dict(by_alias=True))
39
+
40
+ def to_json(self) -> str:
41
+ """Returns the JSON representation of the model using alias"""
42
+ return json.dumps(self.to_dict())
43
+
44
+ @classmethod
45
+ def from_json(cls, json_str: str) -> Amount:
46
+ """Create an instance of Amount from a JSON string"""
47
+ return cls.from_dict(json.loads(json_str))
48
+
49
+ def to_dict(self):
50
+ """Returns the dictionary representation of the model using alias"""
51
+ _dict = self.dict(by_alias=True,
52
+ exclude={
53
+ },
54
+ exclude_none=True)
55
+ return _dict
56
+
57
+ @classmethod
58
+ def from_dict(cls, obj: dict) -> Amount:
59
+ """Create an instance of Amount from a dict"""
60
+ if obj is None:
61
+ return None
62
+
63
+ if not isinstance(obj, dict):
64
+ return Amount.parse_obj(obj)
65
+
66
+ _obj = Amount.parse_obj({
67
+ "value": obj.get("value")
68
+ })
69
+ return _obj
lusid/models/basket.py CHANGED
@@ -31,15 +31,15 @@ class Basket(LusidInstrument):
31
31
  basket_name: BasketIdentifier = Field(..., alias="basketName")
32
32
  basket_type: constr(strict=True, min_length=1) = Field(..., alias="basketType", description="What contents does the basket have. The validation will check that the instrument types contained match those expected. Supported string (enumeration) values are: [Bonds, Credits, Equities, EquitySwap].")
33
33
  weighted_instruments: WeightedInstruments = Field(..., alias="weightedInstruments")
34
- instrument_type: StrictStr = Field(..., alias="instrumentType", description="The available values are: QuotedSecurity, InterestRateSwap, FxForward, Future, ExoticInstrument, FxOption, CreditDefaultSwap, InterestRateSwaption, Bond, EquityOption, FixedLeg, FloatingLeg, BespokeCashFlowsLeg, Unknown, TermDeposit, ContractForDifference, EquitySwap, CashPerpetual, CapFloor, CashSettled, CdsIndex, Basket, FundingLeg, FxSwap, ForwardRateAgreement, SimpleInstrument, Repo, Equity, ExchangeTradedOption, ReferenceInstrument, ComplexBond, InflationLinkedBond, InflationSwap, SimpleCashFlowLoan, TotalReturnSwap, InflationLeg, FundShareClass, FlexibleLoan, UnsettledCash, Cash")
34
+ instrument_type: StrictStr = Field(..., alias="instrumentType", description="The available values are: QuotedSecurity, InterestRateSwap, FxForward, Future, ExoticInstrument, FxOption, CreditDefaultSwap, InterestRateSwaption, Bond, EquityOption, FixedLeg, FloatingLeg, BespokeCashFlowsLeg, Unknown, TermDeposit, ContractForDifference, EquitySwap, CashPerpetual, CapFloor, CashSettled, CdsIndex, Basket, FundingLeg, FxSwap, ForwardRateAgreement, SimpleInstrument, Repo, Equity, ExchangeTradedOption, ReferenceInstrument, ComplexBond, InflationLinkedBond, InflationSwap, SimpleCashFlowLoan, TotalReturnSwap, InflationLeg, FundShareClass, FlexibleLoan, UnsettledCash, Cash, MasteredInstrument, LoanFacility")
35
35
  additional_properties: Dict[str, Any] = {}
36
36
  __properties = ["instrumentType", "basketName", "basketType", "weightedInstruments"]
37
37
 
38
38
  @validator('instrument_type')
39
39
  def instrument_type_validate_enum(cls, value):
40
40
  """Validates the enum"""
41
- if value not in ('QuotedSecurity', 'InterestRateSwap', 'FxForward', 'Future', 'ExoticInstrument', 'FxOption', 'CreditDefaultSwap', 'InterestRateSwaption', 'Bond', 'EquityOption', 'FixedLeg', 'FloatingLeg', 'BespokeCashFlowsLeg', 'Unknown', 'TermDeposit', 'ContractForDifference', 'EquitySwap', 'CashPerpetual', 'CapFloor', 'CashSettled', 'CdsIndex', 'Basket', 'FundingLeg', 'FxSwap', 'ForwardRateAgreement', 'SimpleInstrument', 'Repo', 'Equity', 'ExchangeTradedOption', 'ReferenceInstrument', 'ComplexBond', 'InflationLinkedBond', 'InflationSwap', 'SimpleCashFlowLoan', 'TotalReturnSwap', 'InflationLeg', 'FundShareClass', 'FlexibleLoan', 'UnsettledCash', 'Cash'):
42
- raise ValueError("must be one of enum values ('QuotedSecurity', 'InterestRateSwap', 'FxForward', 'Future', 'ExoticInstrument', 'FxOption', 'CreditDefaultSwap', 'InterestRateSwaption', 'Bond', 'EquityOption', 'FixedLeg', 'FloatingLeg', 'BespokeCashFlowsLeg', 'Unknown', 'TermDeposit', 'ContractForDifference', 'EquitySwap', 'CashPerpetual', 'CapFloor', 'CashSettled', 'CdsIndex', 'Basket', 'FundingLeg', 'FxSwap', 'ForwardRateAgreement', 'SimpleInstrument', 'Repo', 'Equity', 'ExchangeTradedOption', 'ReferenceInstrument', 'ComplexBond', 'InflationLinkedBond', 'InflationSwap', 'SimpleCashFlowLoan', 'TotalReturnSwap', 'InflationLeg', 'FundShareClass', 'FlexibleLoan', 'UnsettledCash', 'Cash')")
41
+ if value not in ('QuotedSecurity', 'InterestRateSwap', 'FxForward', 'Future', 'ExoticInstrument', 'FxOption', 'CreditDefaultSwap', 'InterestRateSwaption', 'Bond', 'EquityOption', 'FixedLeg', 'FloatingLeg', 'BespokeCashFlowsLeg', 'Unknown', 'TermDeposit', 'ContractForDifference', 'EquitySwap', 'CashPerpetual', 'CapFloor', 'CashSettled', 'CdsIndex', 'Basket', 'FundingLeg', 'FxSwap', 'ForwardRateAgreement', 'SimpleInstrument', 'Repo', 'Equity', 'ExchangeTradedOption', 'ReferenceInstrument', 'ComplexBond', 'InflationLinkedBond', 'InflationSwap', 'SimpleCashFlowLoan', 'TotalReturnSwap', 'InflationLeg', 'FundShareClass', 'FlexibleLoan', 'UnsettledCash', 'Cash', 'MasteredInstrument', 'LoanFacility'):
42
+ raise ValueError("must be one of enum values ('QuotedSecurity', 'InterestRateSwap', 'FxForward', 'Future', 'ExoticInstrument', 'FxOption', 'CreditDefaultSwap', 'InterestRateSwaption', 'Bond', 'EquityOption', 'FixedLeg', 'FloatingLeg', 'BespokeCashFlowsLeg', 'Unknown', 'TermDeposit', 'ContractForDifference', 'EquitySwap', 'CashPerpetual', 'CapFloor', 'CashSettled', 'CdsIndex', 'Basket', 'FundingLeg', 'FxSwap', 'ForwardRateAgreement', 'SimpleInstrument', 'Repo', 'Equity', 'ExchangeTradedOption', 'ReferenceInstrument', 'ComplexBond', 'InflationLinkedBond', 'InflationSwap', 'SimpleCashFlowLoan', 'TotalReturnSwap', 'InflationLeg', 'FundShareClass', 'FlexibleLoan', 'UnsettledCash', 'Cash', 'MasteredInstrument', 'LoanFacility')")
43
43
  return value
44
44
 
45
45
  class Config: