lusid-sdk 2.1.991__py3-none-any.whl → 2.2.2__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 (1400) hide show
  1. lusid/api/abor_api.py +39 -42
  2. lusid/api/abor_configuration_api.py +19 -22
  3. lusid/api/address_key_definition_api.py +10 -13
  4. lusid/api/aggregated_returns_api.py +6 -9
  5. lusid/api/aggregation_api.py +2 -4
  6. lusid/api/allocations_api.py +15 -18
  7. lusid/api/amortisation_rule_sets_api.py +19 -22
  8. lusid/api/application_metadata_api.py +2 -4
  9. lusid/api/blocks_api.py +11 -14
  10. lusid/api/calendars_api.py +50 -53
  11. lusid/api/chart_of_accounts_api.py +95 -98
  12. lusid/api/check_definitions_api.py +19 -22
  13. lusid/api/complex_market_data_api.py +22 -25
  14. lusid/api/compliance_api.py +35 -38
  15. lusid/api/configuration_recipe_api.py +14 -17
  16. lusid/api/conventions_api.py +14 -17
  17. lusid/api/corporate_action_sources_api.py +31 -34
  18. lusid/api/counterparties_api.py +10 -13
  19. lusid/api/custom_data_models_api.py +11 -14
  20. lusid/api/custom_entities_api.py +30 -33
  21. lusid/api/custom_entity_definitions_api.py +14 -17
  22. lusid/api/custom_entity_types_api.py +15 -18
  23. lusid/api/cut_label_definitions_api.py +7 -10
  24. lusid/api/data_types_api.py +27 -30
  25. lusid/api/derived_transaction_portfolios_api.py +2 -4
  26. lusid/api/entities_api.py +27 -30
  27. lusid/api/executions_api.py +11 -14
  28. lusid/api/fee_types_api.py +15 -18
  29. lusid/api/fund_configuration_api.py +19 -22
  30. lusid/api/funds_api.py +91 -94
  31. lusid/api/group_reconciliations_api.py +19 -22
  32. lusid/api/identifier_definitions_api.py +11 -14
  33. lusid/api/instrument_event_types_api.py +19 -22
  34. lusid/api/instrument_events_api.py +2 -5
  35. lusid/api/instruments_api.py +54 -57
  36. lusid/api/investment_accounts_api.py +15 -18
  37. lusid/api/investor_records_api.py +15 -18
  38. lusid/api/legacy_compliance_api.py +26 -29
  39. lusid/api/legal_entities_api.py +58 -61
  40. lusid/api/order_graph_api.py +15 -18
  41. lusid/api/order_instructions_api.py +11 -14
  42. lusid/api/order_management_api.py +39 -42
  43. lusid/api/orders_api.py +15 -18
  44. lusid/api/packages_api.py +11 -14
  45. lusid/api/participations_api.py +11 -14
  46. lusid/api/persons_api.py +58 -61
  47. lusid/api/placements_api.py +11 -14
  48. lusid/api/portfolio_groups_api.py +54 -57
  49. lusid/api/portfolios_api.py +90 -93
  50. lusid/api/property_definitions_api.py +43 -46
  51. lusid/api/queryable_keys_api.py +2 -5
  52. lusid/api/quotes_api.py +34 -37
  53. lusid/api/reconciliations_api.py +15 -18
  54. lusid/api/reference_lists_api.py +6 -9
  55. lusid/api/reference_portfolio_api.py +19 -22
  56. lusid/api/relation_definitions_api.py +6 -9
  57. lusid/api/relational_dataset_definition_api.py +11 -14
  58. lusid/api/relational_datasets_api.py +10 -13
  59. lusid/api/relations_api.py +10 -12
  60. lusid/api/relationship_definitions_api.py +15 -18
  61. lusid/api/relationships_api.py +9 -10
  62. lusid/api/schemas_api.py +11 -14
  63. lusid/api/scopes_api.py +6 -9
  64. lusid/api/scripted_translation_api.py +26 -29
  65. lusid/api/search_api.py +6 -8
  66. lusid/api/sequences_api.py +14 -16
  67. lusid/api/simple_position_portfolios_api.py +5 -6
  68. lusid/api/staged_modifications_api.py +15 -18
  69. lusid/api/staging_rule_set_api.py +15 -18
  70. lusid/api/structured_result_data_api.py +34 -37
  71. lusid/api/system_configuration_api.py +7 -10
  72. lusid/api/tax_rule_sets_api.py +10 -13
  73. lusid/api/timelines_api.py +19 -22
  74. lusid/api/transaction_configuration_api.py +18 -21
  75. lusid/api/transaction_fees_api.py +10 -13
  76. lusid/api/transaction_portfolios_api.py +139 -142
  77. lusid/api/transfer_agency_api.py +5 -7
  78. lusid/api/translation_api.py +9 -10
  79. lusid/api/workspace_api.py +15 -18
  80. lusid/api_client.py +1 -1
  81. lusid/configuration.py +1 -1
  82. lusid/exceptions.py +58 -25
  83. lusid/extensions/api_client.py +1 -1
  84. lusid/models/a2_b_breakdown.py +8 -4
  85. lusid/models/a2_b_category.py +8 -4
  86. lusid/models/a2_b_data_record.py +10 -6
  87. lusid/models/a2_b_movement_record.py +12 -8
  88. lusid/models/abor.py +11 -7
  89. lusid/models/abor_configuration.py +13 -9
  90. lusid/models/abor_configuration_properties.py +8 -4
  91. lusid/models/abor_configuration_request.py +11 -7
  92. lusid/models/abor_properties.py +8 -4
  93. lusid/models/abor_request.py +9 -5
  94. lusid/models/accept_estimate_valuation_point_response.py +9 -5
  95. lusid/models/access_controlled_action.py +9 -5
  96. lusid/models/access_controlled_resource.py +9 -5
  97. lusid/models/access_metadata_operation.py +14 -5
  98. lusid/models/access_metadata_value.py +6 -2
  99. lusid/models/account.py +14 -5
  100. lusid/models/account_holder.py +8 -4
  101. lusid/models/account_holder_identifier.py +7 -3
  102. lusid/models/account_properties.py +8 -4
  103. lusid/models/accounted_transaction.py +8 -4
  104. lusid/models/accounting_method.py +4 -2
  105. lusid/models/accounts_upsert_response.py +8 -4
  106. lusid/models/accumulation_event.py +17 -8
  107. lusid/models/action_id.py +6 -2
  108. lusid/models/add_business_days_to_date_request.py +10 -6
  109. lusid/models/add_business_days_to_date_response.py +7 -3
  110. lusid/models/additional_payment.py +8 -4
  111. lusid/models/address_definition.py +14 -5
  112. lusid/models/address_key_compliance_parameter.py +13 -4
  113. lusid/models/address_key_definition.py +7 -3
  114. lusid/models/address_key_filter.py +6 -2
  115. lusid/models/address_key_list.py +14 -5
  116. lusid/models/address_key_list_compliance_parameter.py +14 -5
  117. lusid/models/address_key_option_definition.py +8 -4
  118. lusid/models/adjust_global_commitment_event.py +15 -6
  119. lusid/models/adjust_holding.py +9 -5
  120. lusid/models/adjust_holding_for_date_request.py +11 -7
  121. lusid/models/adjust_holding_request.py +11 -7
  122. lusid/models/aggregate_spec.py +14 -5
  123. lusid/models/aggregated_return.py +14 -10
  124. lusid/models/aggregated_returns_dispersion_request.py +9 -5
  125. lusid/models/aggregated_returns_request.py +10 -6
  126. lusid/models/aggregated_returns_response.py +8 -4
  127. lusid/models/aggregated_transactions_request.py +15 -11
  128. lusid/models/aggregation_context.py +6 -2
  129. lusid/models/aggregation_measure_failure_detail.py +7 -3
  130. lusid/models/aggregation_op.py +4 -2
  131. lusid/models/aggregation_options.py +9 -5
  132. lusid/models/aggregation_query.py +23 -9
  133. lusid/models/aggregation_type.py +4 -2
  134. lusid/models/alias.py +6 -2
  135. lusid/models/allocation.py +19 -15
  136. lusid/models/allocation_request.py +17 -13
  137. lusid/models/allocation_service_run_response.py +7 -3
  138. lusid/models/allocation_set_request.py +7 -3
  139. lusid/models/amortisation_event.py +15 -6
  140. lusid/models/amortisation_rule.py +6 -2
  141. lusid/models/amortisation_rule_set.py +9 -5
  142. lusid/models/amount.py +6 -2
  143. lusid/models/annul_quotes_response.py +9 -5
  144. lusid/models/annul_single_structured_data_response.py +8 -4
  145. lusid/models/annul_structured_data_response.py +9 -5
  146. lusid/models/append_complex_market_data_request.py +8 -4
  147. lusid/models/append_fx_forward_curve_by_quote_reference.py +14 -5
  148. lusid/models/append_fx_forward_curve_data.py +15 -6
  149. lusid/models/append_fx_forward_pips_curve_data.py +15 -6
  150. lusid/models/append_fx_forward_tenor_curve_data.py +14 -5
  151. lusid/models/append_fx_forward_tenor_pips_curve_data.py +14 -5
  152. lusid/models/append_market_data.py +13 -4
  153. lusid/models/append_market_data_type.py +4 -2
  154. lusid/models/applicable_entity.py +6 -2
  155. lusid/models/applicable_instrument_event.py +13 -9
  156. lusid/models/asset_class.py +4 -2
  157. lusid/models/asset_leg.py +7 -3
  158. lusid/models/barrier.py +7 -3
  159. lusid/models/basket.py +15 -6
  160. lusid/models/basket_identifier.py +7 -3
  161. lusid/models/batch_adjust_holdings_response.py +10 -6
  162. lusid/models/batch_amend_custom_data_model_membership_response.py +7 -3
  163. lusid/models/batch_update_user_review_for_comparison_result_request.py +8 -4
  164. lusid/models/batch_update_user_review_for_comparison_result_response.py +10 -6
  165. lusid/models/batch_upsert_dates_for_calendar_response.py +10 -6
  166. lusid/models/batch_upsert_instrument_properties_response.py +10 -6
  167. lusid/models/batch_upsert_portfolio_access_metadata_request.py +8 -4
  168. lusid/models/batch_upsert_portfolio_access_metadata_response.py +9 -5
  169. lusid/models/batch_upsert_portfolio_access_metadata_response_item.py +8 -4
  170. lusid/models/batch_upsert_portfolio_transactions_response.py +10 -6
  171. lusid/models/batch_upsert_property_definition_properties_response.py +10 -6
  172. lusid/models/batch_upsert_relational_datasets_response.py +9 -5
  173. lusid/models/batch_upsert_transaction_settlement_instruction_response.py +9 -5
  174. lusid/models/block.py +17 -13
  175. lusid/models/block_and_order_id_request.py +8 -4
  176. lusid/models/block_and_orders.py +8 -4
  177. lusid/models/block_and_orders_create_request.py +7 -3
  178. lusid/models/block_and_orders_request.py +13 -9
  179. lusid/models/block_request.py +15 -11
  180. lusid/models/block_set_request.py +7 -3
  181. lusid/models/blocked_order_request.py +13 -9
  182. lusid/models/bond.py +27 -18
  183. lusid/models/bond_conversion_entry.py +10 -6
  184. lusid/models/bond_conversion_schedule.py +19 -10
  185. lusid/models/bond_coupon_event.py +16 -7
  186. lusid/models/bond_default_event.py +14 -5
  187. lusid/models/bond_principal_event.py +16 -7
  188. lusid/models/bonus_issue_event.py +21 -12
  189. lusid/models/book_transactions_request.py +8 -4
  190. lusid/models/book_transactions_response.py +6 -2
  191. lusid/models/bool_compliance_parameter.py +14 -5
  192. lusid/models/bool_list_compliance_parameter.py +14 -5
  193. lusid/models/branch_step.py +14 -5
  194. lusid/models/branch_step_request.py +13 -4
  195. lusid/models/break_code_source.py +7 -3
  196. lusid/models/bucket.py +8 -4
  197. lusid/models/bucketed_cash_flow_request.py +15 -11
  198. lusid/models/bucketed_cash_flow_response.py +10 -6
  199. lusid/models/bucketing_schedule.py +6 -2
  200. lusid/models/calculate_order_dates_request.py +8 -4
  201. lusid/models/calculate_order_dates_response.py +9 -5
  202. lusid/models/calculation_info.py +7 -3
  203. lusid/models/calendar.py +10 -6
  204. lusid/models/calendar_date.py +9 -5
  205. lusid/models/calendar_dependency.py +14 -5
  206. lusid/models/call_on_intermediate_securities_event.py +20 -11
  207. lusid/models/cancel_order_and_move_remaining_result.py +9 -5
  208. lusid/models/cancel_orders_and_move_remaining_request.py +9 -5
  209. lusid/models/cancel_orders_and_move_remaining_response.py +10 -6
  210. lusid/models/cancel_orders_response.py +10 -6
  211. lusid/models/cancel_placements_response.py +10 -6
  212. lusid/models/cancel_single_holding_adjustment_request.py +9 -5
  213. lusid/models/cancelled_order_result.py +7 -3
  214. lusid/models/cancelled_placement_result.py +8 -4
  215. lusid/models/cap_floor.py +19 -10
  216. lusid/models/capital_distribution_event.py +18 -9
  217. lusid/models/caplet_floorlet_cash_flow_event.py +16 -7
  218. lusid/models/cash.py +14 -5
  219. lusid/models/cash_and_security_offer_election.py +11 -7
  220. lusid/models/cash_dependency.py +14 -5
  221. lusid/models/cash_dividend_event.py +18 -9
  222. lusid/models/cash_election.py +11 -7
  223. lusid/models/cash_flow_event.py +14 -5
  224. lusid/models/cash_flow_lineage.py +6 -2
  225. lusid/models/cash_flow_value.py +16 -7
  226. lusid/models/cash_flow_value_set.py +14 -5
  227. lusid/models/cash_ladder_record.py +10 -6
  228. lusid/models/cash_offer_election.py +9 -5
  229. lusid/models/cash_perpetual.py +15 -6
  230. lusid/models/cds_credit_event.py +16 -7
  231. lusid/models/cds_flow_conventions.py +10 -6
  232. lusid/models/cds_index.py +22 -13
  233. lusid/models/cds_model_options.py +14 -5
  234. lusid/models/cds_protection_detail_specification.py +8 -4
  235. lusid/models/cdx_credit_event.py +18 -9
  236. lusid/models/change.py +14 -10
  237. lusid/models/change_history.py +16 -7
  238. lusid/models/change_history_action.py +4 -2
  239. lusid/models/change_interval.py +11 -7
  240. lusid/models/change_interval_with_order_management_detail.py +12 -8
  241. lusid/models/change_item.py +8 -4
  242. lusid/models/chart_of_accounts.py +9 -5
  243. lusid/models/chart_of_accounts_properties.py +8 -4
  244. lusid/models/chart_of_accounts_request.py +7 -3
  245. lusid/models/check_definition.py +11 -7
  246. lusid/models/check_definition_dataset_schema.py +6 -2
  247. lusid/models/check_definition_rule.py +7 -3
  248. lusid/models/check_definition_rule_set.py +7 -3
  249. lusid/models/check_step.py +15 -6
  250. lusid/models/check_step_request.py +13 -4
  251. lusid/models/cleardown_module_details.py +6 -2
  252. lusid/models/cleardown_module_request.py +7 -3
  253. lusid/models/cleardown_module_response.py +9 -5
  254. lusid/models/cleardown_module_rule.py +6 -2
  255. lusid/models/cleardown_module_rules_updated_response.py +8 -4
  256. lusid/models/client.py +6 -2
  257. lusid/models/close_event.py +15 -6
  258. lusid/models/close_period_diary_entry_request.py +10 -6
  259. lusid/models/closed_period.py +13 -9
  260. lusid/models/collateral.py +10 -6
  261. lusid/models/collateral_instrument.py +8 -4
  262. lusid/models/comparison_attribute_value_pair.py +6 -2
  263. lusid/models/complete_portfolio.py +21 -12
  264. lusid/models/complete_relation.py +10 -6
  265. lusid/models/complete_relationship.py +11 -7
  266. lusid/models/complex_bond.py +20 -11
  267. lusid/models/complex_market_data.py +13 -4
  268. lusid/models/complex_market_data_id.py +6 -2
  269. lusid/models/compliance_breached_order_info.py +8 -4
  270. lusid/models/compliance_parameter.py +13 -4
  271. lusid/models/compliance_parameter_type.py +4 -2
  272. lusid/models/compliance_rule.py +10 -6
  273. lusid/models/compliance_rule_breakdown.py +10 -6
  274. lusid/models/compliance_rule_breakdown_request.py +10 -6
  275. lusid/models/compliance_rule_response.py +9 -5
  276. lusid/models/compliance_rule_result.py +11 -7
  277. lusid/models/compliance_rule_result_detail.py +10 -6
  278. lusid/models/compliance_rule_result_portfolio_detail.py +7 -3
  279. lusid/models/compliance_rule_result_v2.py +10 -6
  280. lusid/models/compliance_rule_template.py +9 -5
  281. lusid/models/compliance_rule_upsert_request.py +10 -6
  282. lusid/models/compliance_rule_upsert_response.py +7 -3
  283. lusid/models/compliance_run_configuration.py +7 -3
  284. lusid/models/compliance_run_info.py +11 -7
  285. lusid/models/compliance_run_info_v2.py +9 -5
  286. lusid/models/compliance_step.py +13 -4
  287. lusid/models/compliance_step_request.py +13 -4
  288. lusid/models/compliance_step_type.py +4 -2
  289. lusid/models/compliance_step_type_request.py +4 -2
  290. lusid/models/compliance_summary_rule_result.py +12 -8
  291. lusid/models/compliance_summary_rule_result_request.py +12 -8
  292. lusid/models/compliance_template.py +10 -6
  293. lusid/models/compliance_template_parameter.py +6 -2
  294. lusid/models/compliance_template_variation.py +10 -6
  295. lusid/models/compliance_template_variation_dto.py +7 -3
  296. lusid/models/compliance_template_variation_request.py +7 -3
  297. lusid/models/component_filter.py +6 -2
  298. lusid/models/component_transaction.py +10 -6
  299. lusid/models/composite_breakdown.py +8 -4
  300. lusid/models/composite_breakdown_request.py +9 -5
  301. lusid/models/composite_breakdown_response.py +8 -4
  302. lusid/models/composite_dispersion.py +14 -10
  303. lusid/models/composite_dispersion_response.py +8 -4
  304. lusid/models/compounding.py +8 -4
  305. lusid/models/configuration_recipe.py +6 -2
  306. lusid/models/constant_volatility_surface.py +15 -6
  307. lusid/models/constituents_adjustment_header.py +8 -4
  308. lusid/models/contract_details.py +7 -3
  309. lusid/models/contract_for_difference.py +19 -10
  310. lusid/models/contract_initialisation_event.py +16 -7
  311. lusid/models/contribution_to_non_passing_rule_detail.py +9 -5
  312. lusid/models/conversion_event.py +23 -14
  313. lusid/models/corporate_action.py +11 -7
  314. lusid/models/corporate_action_source.py +8 -4
  315. lusid/models/corporate_action_transition.py +8 -4
  316. lusid/models/corporate_action_transition_component.py +9 -5
  317. lusid/models/corporate_action_transition_component_request.py +9 -5
  318. lusid/models/corporate_action_transition_request.py +8 -4
  319. lusid/models/counterparty_agreement.py +10 -6
  320. lusid/models/counterparty_risk_information.py +8 -4
  321. lusid/models/counterparty_signatory.py +7 -3
  322. lusid/models/create_address_key_definition_request.py +6 -2
  323. lusid/models/create_amortisation_rule_set_request.py +6 -2
  324. lusid/models/create_calendar_request.py +9 -5
  325. lusid/models/create_check_definition_request.py +10 -6
  326. lusid/models/create_closed_period_request.py +10 -6
  327. lusid/models/create_compliance_template_request.py +7 -3
  328. lusid/models/create_corporate_action_source_request.py +7 -3
  329. lusid/models/create_custom_data_model_request.py +12 -8
  330. lusid/models/create_custom_entity_type_request.py +7 -3
  331. lusid/models/create_cut_label_definition_request.py +7 -3
  332. lusid/models/create_data_map_request.py +7 -3
  333. lusid/models/create_data_type_request.py +30 -11
  334. lusid/models/create_date_request.py +9 -5
  335. lusid/models/create_derived_property_definition_request.py +15 -6
  336. lusid/models/create_derived_transaction_portfolio_request.py +21 -12
  337. lusid/models/create_group_reconciliation_comparison_ruleset_request.py +9 -5
  338. lusid/models/create_group_reconciliation_definition_request.py +12 -8
  339. lusid/models/create_identifier_definition_request.py +21 -7
  340. lusid/models/create_portfolio_details.py +7 -3
  341. lusid/models/create_portfolio_group_request.py +10 -6
  342. lusid/models/create_property_definition_request.py +23 -9
  343. lusid/models/create_recipe_request.py +10 -6
  344. lusid/models/create_reconciliation_request.py +8 -4
  345. lusid/models/create_reference_portfolio_request.py +9 -5
  346. lusid/models/create_relation_definition_request.py +6 -2
  347. lusid/models/create_relation_request.py +8 -4
  348. lusid/models/create_relational_dataset_definition_request.py +9 -5
  349. lusid/models/create_relationship_definition_request.py +6 -2
  350. lusid/models/create_relationship_request.py +8 -4
  351. lusid/models/create_sequence_request.py +11 -7
  352. lusid/models/create_simple_position_portfolio_request.py +20 -11
  353. lusid/models/create_staging_rule_set_request.py +7 -3
  354. lusid/models/create_tax_rule_set_request.py +8 -4
  355. lusid/models/create_timeline_request.py +8 -4
  356. lusid/models/create_trade_tickets_response.py +8 -4
  357. lusid/models/create_transaction_portfolio_request.py +21 -12
  358. lusid/models/create_unit_definition.py +7 -3
  359. lusid/models/credit_default_swap.py +22 -13
  360. lusid/models/credit_premium_cash_flow_event.py +16 -7
  361. lusid/models/credit_rating.py +6 -2
  362. lusid/models/credit_spread_curve_data.py +20 -11
  363. lusid/models/credit_support_annex.py +12 -8
  364. lusid/models/criterion_type.py +4 -2
  365. lusid/models/currency_and_amount.py +6 -2
  366. lusid/models/curve_options.py +13 -4
  367. lusid/models/custodian_account.py +9 -5
  368. lusid/models/custodian_account_properties.py +8 -4
  369. lusid/models/custodian_account_request.py +8 -4
  370. lusid/models/custodian_accounts_upsert_response.py +8 -4
  371. lusid/models/custom_data_model.py +7 -3
  372. lusid/models/custom_data_model_criteria.py +11 -7
  373. lusid/models/custom_data_model_identifier_type_specification.py +7 -3
  374. lusid/models/custom_data_model_identifier_type_specification_with_display_name.py +7 -3
  375. lusid/models/custom_data_model_property_specification.py +7 -3
  376. lusid/models/custom_data_model_property_specification_with_display_name.py +7 -3
  377. lusid/models/custom_entity_definition.py +9 -5
  378. lusid/models/custom_entity_definition_request.py +7 -3
  379. lusid/models/custom_entity_entity.py +13 -9
  380. lusid/models/custom_entity_field.py +9 -5
  381. lusid/models/custom_entity_field_definition.py +7 -3
  382. lusid/models/custom_entity_id.py +8 -4
  383. lusid/models/custom_entity_properties.py +10 -6
  384. lusid/models/custom_entity_request.py +9 -5
  385. lusid/models/custom_entity_response.py +13 -9
  386. lusid/models/custom_entity_type.py +9 -5
  387. lusid/models/cut_label_definition.py +8 -4
  388. lusid/models/cut_local_time.py +6 -2
  389. lusid/models/data_definition.py +8 -4
  390. lusid/models/data_map_key.py +6 -2
  391. lusid/models/data_mapping.py +7 -3
  392. lusid/models/data_model_membership.py +8 -4
  393. lusid/models/data_model_summary.py +9 -5
  394. lusid/models/data_quality_check_result.py +10 -6
  395. lusid/models/data_scope.py +6 -2
  396. lusid/models/data_type.py +33 -14
  397. lusid/models/data_type_entity.py +13 -9
  398. lusid/models/data_type_summary.py +30 -11
  399. lusid/models/data_type_value_range.py +4 -2
  400. lusid/models/date_attributes.py +9 -5
  401. lusid/models/date_or_diary_entry.py +6 -2
  402. lusid/models/date_range.py +8 -4
  403. lusid/models/date_time_comparison_type.py +4 -2
  404. lusid/models/date_time_compliance_parameter.py +14 -5
  405. lusid/models/date_time_list_compliance_parameter.py +14 -5
  406. lusid/models/day_month.py +8 -4
  407. lusid/models/day_of_week.py +4 -2
  408. lusid/models/decimal_compliance_parameter.py +14 -5
  409. lusid/models/decimal_list.py +14 -5
  410. lusid/models/decimal_list_compliance_parameter.py +14 -5
  411. lusid/models/decorated_compliance_run_summary.py +8 -4
  412. lusid/models/delete_accounts_response.py +8 -4
  413. lusid/models/delete_custodian_accounts_response.py +8 -4
  414. lusid/models/delete_data_quality_rule.py +6 -2
  415. lusid/models/delete_instrument_properties_response.py +9 -5
  416. lusid/models/delete_instrument_response.py +9 -5
  417. lusid/models/delete_instruments_response.py +9 -5
  418. lusid/models/delete_modes.py +4 -2
  419. lusid/models/delete_relation_request.py +8 -4
  420. lusid/models/delete_relationship_request.py +8 -4
  421. lusid/models/deleted_entity_response.py +10 -6
  422. lusid/models/dependency_source_filter.py +7 -3
  423. lusid/models/deposit_close_event.py +14 -5
  424. lusid/models/deposit_interest_payment_event.py +15 -6
  425. lusid/models/derivation_formula_explain_request.py +7 -3
  426. lusid/models/derived_property_component.py +8 -4
  427. lusid/models/described_address_key.py +6 -2
  428. lusid/models/dialect.py +8 -4
  429. lusid/models/dialect_id.py +6 -2
  430. lusid/models/dialect_schema.py +6 -2
  431. lusid/models/diary_entry.py +13 -9
  432. lusid/models/diary_entry_request.py +9 -5
  433. lusid/models/discount_factor_curve_data.py +17 -8
  434. lusid/models/discounting_dependency.py +14 -5
  435. lusid/models/discounting_method.py +4 -2
  436. lusid/models/dividend_option_event.py +20 -11
  437. lusid/models/dividend_reinvestment_event.py +20 -11
  438. lusid/models/drawdown_event.py +16 -7
  439. lusid/models/early_redemption_election.py +8 -4
  440. lusid/models/early_redemption_event.py +18 -9
  441. lusid/models/economic_dependency.py +13 -4
  442. lusid/models/economic_dependency_type.py +4 -2
  443. lusid/models/economic_dependency_with_complex_market_data.py +8 -4
  444. lusid/models/economic_dependency_with_quote.py +9 -5
  445. lusid/models/economics.py +8 -4
  446. lusid/models/effective_range.py +8 -4
  447. lusid/models/election_specification.py +8 -4
  448. lusid/models/eligibility_calculation.py +7 -3
  449. lusid/models/empty_model_options.py +13 -4
  450. lusid/models/entity_identifier.py +6 -2
  451. lusid/models/equity.py +16 -7
  452. lusid/models/equity_all_of_identifiers.py +6 -2
  453. lusid/models/equity_curve_by_prices_data.py +17 -8
  454. lusid/models/equity_curve_dependency.py +14 -5
  455. lusid/models/equity_model_options.py +13 -4
  456. lusid/models/equity_option.py +21 -12
  457. lusid/models/equity_swap.py +23 -14
  458. lusid/models/equity_vol_dependency.py +14 -5
  459. lusid/models/equity_vol_surface_data.py +16 -7
  460. lusid/models/error_detail.py +7 -3
  461. lusid/models/event_date_range.py +6 -2
  462. lusid/models/ex_dividend_configuration.py +10 -6
  463. lusid/models/exchange_traded_option.py +19 -10
  464. lusid/models/exchange_traded_option_contract_details.py +12 -8
  465. lusid/models/execution.py +18 -14
  466. lusid/models/execution_request.py +16 -12
  467. lusid/models/execution_set_request.py +7 -3
  468. lusid/models/exercise_event.py +16 -7
  469. lusid/models/exotic_instrument.py +14 -5
  470. lusid/models/expanded_group.py +10 -6
  471. lusid/models/expiry_event.py +14 -5
  472. lusid/models/external_fee_component_filter.py +6 -2
  473. lusid/models/fee.py +16 -12
  474. lusid/models/fee_accrual.py +13 -9
  475. lusid/models/fee_properties.py +8 -4
  476. lusid/models/fee_request.py +15 -11
  477. lusid/models/fee_rule.py +11 -7
  478. lusid/models/fee_rule_upsert_request.py +10 -6
  479. lusid/models/fee_rule_upsert_response.py +8 -4
  480. lusid/models/fee_transaction_template_specification.py +7 -3
  481. lusid/models/fee_type.py +9 -5
  482. lusid/models/fee_type_request.py +7 -3
  483. lusid/models/field_definition.py +8 -4
  484. lusid/models/field_schema.py +14 -5
  485. lusid/models/field_value.py +8 -4
  486. lusid/models/file_response.py +7 -3
  487. lusid/models/filter_predicate_compliance_parameter.py +13 -4
  488. lusid/models/filter_step.py +14 -5
  489. lusid/models/filter_step_request.py +13 -4
  490. lusid/models/fixed_leg.py +18 -9
  491. lusid/models/fixed_leg_all_of_overrides.py +8 -4
  492. lusid/models/fixed_schedule.py +21 -12
  493. lusid/models/flexible_deposit.py +18 -9
  494. lusid/models/flexible_loan.py +17 -8
  495. lusid/models/flexible_repo.py +23 -14
  496. lusid/models/flexible_repo_cash_flow_event.py +16 -7
  497. lusid/models/flexible_repo_collateral_event.py +17 -8
  498. lusid/models/flexible_repo_full_closure_event.py +15 -6
  499. lusid/models/flexible_repo_interest_payment_event.py +16 -7
  500. lusid/models/flexible_repo_partial_closure_event.py +17 -8
  501. lusid/models/float_schedule.py +24 -15
  502. lusid/models/floating_leg.py +20 -11
  503. lusid/models/flow_convention_name.py +6 -2
  504. lusid/models/flow_conventions.py +12 -8
  505. lusid/models/forward_rate_agreement.py +20 -11
  506. lusid/models/from_recipe.py +6 -2
  507. lusid/models/fund.py +18 -14
  508. lusid/models/fund_amount.py +7 -3
  509. lusid/models/fund_calendar_entry.py +19 -10
  510. lusid/models/fund_calendar_entry_type.py +4 -2
  511. lusid/models/fund_configuration.py +13 -9
  512. lusid/models/fund_configuration_properties.py +8 -4
  513. lusid/models/fund_configuration_request.py +11 -7
  514. lusid/models/fund_definition_request.py +15 -11
  515. lusid/models/fund_details.py +6 -2
  516. lusid/models/fund_id_list.py +14 -5
  517. lusid/models/fund_journal_entry_line.py +19 -15
  518. lusid/models/fund_pnl_breakdown.py +9 -5
  519. lusid/models/fund_previous_nav.py +7 -3
  520. lusid/models/fund_properties.py +8 -4
  521. lusid/models/fund_request.py +14 -10
  522. lusid/models/fund_share_class.py +16 -7
  523. lusid/models/fund_valuation_point_data.py +14 -10
  524. lusid/models/fund_valuation_request.py +17 -13
  525. lusid/models/fund_valuation_schedule.py +8 -4
  526. lusid/models/funding_leg.py +18 -9
  527. lusid/models/funding_leg_options.py +13 -4
  528. lusid/models/future.py +22 -13
  529. lusid/models/future_expiry_event.py +15 -6
  530. lusid/models/future_mark_to_market_event.py +15 -6
  531. lusid/models/futures_contract_details.py +10 -6
  532. lusid/models/fx_conventions.py +6 -2
  533. lusid/models/fx_dependency.py +14 -5
  534. lusid/models/fx_forward.py +22 -13
  535. lusid/models/fx_forward_curve_by_quote_reference.py +17 -8
  536. lusid/models/fx_forward_curve_data.py +17 -8
  537. lusid/models/fx_forward_model_options.py +28 -9
  538. lusid/models/fx_forward_pips_curve_data.py +17 -8
  539. lusid/models/fx_forward_settlement_event.py +22 -13
  540. lusid/models/fx_forward_tenor_curve_data.py +18 -9
  541. lusid/models/fx_forward_tenor_pips_curve_data.py +18 -9
  542. lusid/models/fx_forwards_dependency.py +14 -5
  543. lusid/models/fx_linked_notional_schedule.py +16 -7
  544. lusid/models/fx_option.py +25 -16
  545. lusid/models/fx_rate_schedule.py +16 -7
  546. lusid/models/fx_swap.py +16 -7
  547. lusid/models/fx_tenor_convention.py +7 -3
  548. lusid/models/fx_vol_dependency.py +14 -5
  549. lusid/models/fx_vol_surface_data.py +16 -7
  550. lusid/models/general_ledger_profile_mapping.py +7 -3
  551. lusid/models/general_ledger_profile_request.py +7 -3
  552. lusid/models/general_ledger_profile_response.py +9 -5
  553. lusid/models/generated_event_diagnostics.py +7 -3
  554. lusid/models/get_cds_flow_conventions_response.py +8 -4
  555. lusid/models/get_complex_market_data_response.py +9 -5
  556. lusid/models/get_counterparty_agreement_response.py +8 -4
  557. lusid/models/get_credit_support_annex_response.py +8 -4
  558. lusid/models/get_data_map_response.py +9 -5
  559. lusid/models/get_flow_conventions_response.py +8 -4
  560. lusid/models/get_index_convention_response.py +8 -4
  561. lusid/models/get_instruments_response.py +9 -5
  562. lusid/models/get_quotes_response.py +10 -6
  563. lusid/models/get_recipe_composer_response.py +7 -3
  564. lusid/models/get_recipe_response.py +7 -3
  565. lusid/models/get_reference_portfolio_constituents_response.py +24 -10
  566. lusid/models/get_structured_result_data_response.py +9 -5
  567. lusid/models/get_virtual_document_response.py +9 -5
  568. lusid/models/group_by_selector_compliance_parameter.py +13 -4
  569. lusid/models/group_by_step.py +14 -5
  570. lusid/models/group_by_step_request.py +13 -4
  571. lusid/models/group_calculation_compliance_parameter.py +13 -4
  572. lusid/models/group_filter_predicate_compliance_parameter.py +13 -4
  573. lusid/models/group_filter_step.py +14 -5
  574. lusid/models/group_filter_step_request.py +13 -4
  575. lusid/models/group_of_market_data_key_rules.py +7 -3
  576. lusid/models/group_reconciliation_aggregate_attribute_rule.py +8 -4
  577. lusid/models/group_reconciliation_aggregate_attribute_values.py +8 -4
  578. lusid/models/group_reconciliation_aggregate_comparison_rule_operand.py +6 -2
  579. lusid/models/group_reconciliation_comparison_result.py +15 -11
  580. lusid/models/group_reconciliation_comparison_rule_string_value_map.py +6 -2
  581. lusid/models/group_reconciliation_comparison_rule_tolerance.py +7 -3
  582. lusid/models/group_reconciliation_comparison_ruleset.py +10 -6
  583. lusid/models/group_reconciliation_core_attribute_rule.py +10 -6
  584. lusid/models/group_reconciliation_core_attribute_values.py +8 -4
  585. lusid/models/group_reconciliation_core_comparison_rule_operand.py +6 -2
  586. lusid/models/group_reconciliation_date_pair.py +8 -4
  587. lusid/models/group_reconciliation_dates.py +6 -2
  588. lusid/models/group_reconciliation_definition.py +12 -8
  589. lusid/models/group_reconciliation_definition_comparison_ruleset_ids.py +9 -5
  590. lusid/models/group_reconciliation_definition_currencies.py +6 -2
  591. lusid/models/group_reconciliation_definition_portfolio_entity_ids.py +8 -4
  592. lusid/models/group_reconciliation_definition_recipe_ids.py +8 -4
  593. lusid/models/group_reconciliation_instance_id.py +6 -2
  594. lusid/models/group_reconciliation_result_statuses.py +12 -8
  595. lusid/models/group_reconciliation_result_types.py +14 -10
  596. lusid/models/group_reconciliation_review_statuses.py +14 -10
  597. lusid/models/group_reconciliation_run_details.py +6 -2
  598. lusid/models/group_reconciliation_run_request.py +7 -3
  599. lusid/models/group_reconciliation_run_response.py +7 -3
  600. lusid/models/group_reconciliation_summary.py +16 -12
  601. lusid/models/group_reconciliation_user_review.py +9 -5
  602. lusid/models/group_reconciliation_user_review_add.py +6 -2
  603. lusid/models/group_reconciliation_user_review_break_code.py +8 -4
  604. lusid/models/group_reconciliation_user_review_comment.py +8 -4
  605. lusid/models/group_reconciliation_user_review_match_key.py +8 -4
  606. lusid/models/group_reconciliation_user_review_remove.py +9 -5
  607. lusid/models/grouped_result_of_address_key.py +8 -4
  608. lusid/models/holding_adjustment.py +11 -7
  609. lusid/models/holding_adjustment_with_date.py +12 -8
  610. lusid/models/holding_context.py +7 -3
  611. lusid/models/holding_contributor.py +9 -5
  612. lusid/models/holding_ids_request.py +7 -3
  613. lusid/models/holding_pricing_info.py +8 -4
  614. lusid/models/holdings_adjustment.py +17 -8
  615. lusid/models/holdings_adjustment_header.py +16 -7
  616. lusid/models/i_unit_definition_dto.py +13 -4
  617. lusid/models/id_selector_definition.py +8 -4
  618. lusid/models/identifier_definition.py +21 -7
  619. lusid/models/identifier_part_schema.py +9 -5
  620. lusid/models/index_convention.py +7 -3
  621. lusid/models/index_model_options.py +20 -6
  622. lusid/models/index_projection_dependency.py +14 -5
  623. lusid/models/industry_classifier.py +6 -2
  624. lusid/models/inflation_fixing_dependency.py +14 -5
  625. lusid/models/inflation_index_conventions.py +7 -3
  626. lusid/models/inflation_leg.py +22 -13
  627. lusid/models/inflation_linked_bond.py +29 -20
  628. lusid/models/inflation_swap.py +19 -10
  629. lusid/models/informational_error_event.py +14 -5
  630. lusid/models/informational_event.py +15 -6
  631. lusid/models/inline_valuation_request.py +18 -14
  632. lusid/models/inline_valuations_reconciliation_request.py +10 -6
  633. lusid/models/input_transition.py +8 -4
  634. lusid/models/instrument.py +30 -16
  635. lusid/models/instrument_capabilities.py +10 -6
  636. lusid/models/instrument_cash_flow.py +11 -7
  637. lusid/models/instrument_definition.py +10 -6
  638. lusid/models/instrument_definition_format.py +6 -2
  639. lusid/models/instrument_delete_modes.py +4 -2
  640. lusid/models/instrument_entity.py +13 -9
  641. lusid/models/instrument_event.py +13 -4
  642. lusid/models/instrument_event_configuration.py +8 -4
  643. lusid/models/instrument_event_holder.py +13 -9
  644. lusid/models/instrument_event_instruction.py +11 -7
  645. lusid/models/instrument_event_instruction_request.py +9 -5
  646. lusid/models/instrument_event_instructions_response.py +8 -4
  647. lusid/models/instrument_event_type.py +4 -2
  648. lusid/models/instrument_id_type_descriptor.py +7 -3
  649. lusid/models/instrument_id_value.py +7 -3
  650. lusid/models/instrument_leg.py +13 -4
  651. lusid/models/instrument_list.py +14 -5
  652. lusid/models/instrument_list_compliance_parameter.py +14 -5
  653. lusid/models/instrument_match.py +8 -4
  654. lusid/models/instrument_models.py +8 -4
  655. lusid/models/instrument_payment_diary.py +8 -4
  656. lusid/models/instrument_payment_diary_leg.py +8 -4
  657. lusid/models/instrument_payment_diary_row.py +18 -14
  658. lusid/models/instrument_properties.py +8 -4
  659. lusid/models/instrument_resolution_detail.py +9 -5
  660. lusid/models/instrument_search_property.py +6 -2
  661. lusid/models/instrument_type.py +4 -2
  662. lusid/models/interest_rate_swap.py +19 -10
  663. lusid/models/interest_rate_swaption.py +17 -8
  664. lusid/models/intermediate_compliance_step.py +14 -5
  665. lusid/models/intermediate_compliance_step_request.py +13 -4
  666. lusid/models/intermediate_securities_distribution_event.py +21 -12
  667. lusid/models/investment_account.py +12 -8
  668. lusid/models/investment_portfolio.py +7 -3
  669. lusid/models/investment_portfolio_identifier.py +7 -3
  670. lusid/models/investor.py +8 -4
  671. lusid/models/investor_identifier.py +7 -3
  672. lusid/models/investor_record.py +10 -6
  673. lusid/models/ir_vol_cube_data.py +16 -7
  674. lusid/models/ir_vol_dependency.py +14 -5
  675. lusid/models/is_business_day_response.py +8 -4
  676. lusid/models/item_and_workspace.py +7 -3
  677. lusid/models/journal_entry_line.py +18 -14
  678. lusid/models/journal_entry_line_share_class_breakdown.py +9 -5
  679. lusid/models/journal_entry_lines_query_parameters.py +7 -3
  680. lusid/models/label_value_set.py +7 -3
  681. lusid/models/lapse_election.py +8 -4
  682. lusid/models/leg_definition.py +14 -10
  683. lusid/models/legal_entity.py +11 -7
  684. lusid/models/level_step.py +8 -4
  685. lusid/models/life_cycle_event_lineage.py +6 -2
  686. lusid/models/life_cycle_event_value.py +16 -7
  687. lusid/models/lineage_member.py +7 -3
  688. lusid/models/link.py +6 -2
  689. lusid/models/list_aggregation_reconciliation.py +8 -4
  690. lusid/models/list_aggregation_response.py +13 -9
  691. lusid/models/list_complex_market_data_with_meta_data_response.py +8 -4
  692. lusid/models/loan_facility.py +18 -9
  693. lusid/models/loan_facility_contract_rollover_event.py +16 -7
  694. lusid/models/loan_interest_repayment_event.py +17 -8
  695. lusid/models/loan_period.py +9 -5
  696. lusid/models/loan_principal_repayment_event.py +18 -9
  697. lusid/models/lock_period_diary_entry_request.py +7 -3
  698. lusid/models/lusid_entity_dataset.py +9 -5
  699. lusid/models/lusid_entity_result.py +8 -4
  700. lusid/models/lusid_instrument.py +13 -4
  701. lusid/models/lusid_problem_details.py +8 -4
  702. lusid/models/lusid_trade_ticket.py +20 -11
  703. lusid/models/lusid_unique_id.py +6 -2
  704. lusid/models/lusid_validation_problem_details.py +9 -5
  705. lusid/models/mapped_string.py +7 -3
  706. lusid/models/mapping.py +7 -3
  707. lusid/models/mapping_rule.py +10 -6
  708. lusid/models/mark_to_market_conventions.py +6 -2
  709. lusid/models/market_context.py +9 -5
  710. lusid/models/market_context_suppliers.py +6 -2
  711. lusid/models/market_data_key_rule.py +19 -10
  712. lusid/models/market_data_options.py +13 -4
  713. lusid/models/market_data_options_type.py +4 -2
  714. lusid/models/market_data_overrides.py +8 -4
  715. lusid/models/market_data_specific_rule.py +18 -9
  716. lusid/models/market_data_type.py +4 -2
  717. lusid/models/market_observable_type.py +4 -2
  718. lusid/models/market_options.py +7 -3
  719. lusid/models/market_quote.py +14 -5
  720. lusid/models/mastered_instrument.py +14 -5
  721. lusid/models/match_criterion.py +13 -4
  722. lusid/models/maturity_event.py +14 -5
  723. lusid/models/mbs_coupon_event.py +16 -7
  724. lusid/models/mbs_interest_deferral_event.py +16 -7
  725. lusid/models/mbs_interest_shortfall_event.py +16 -7
  726. lusid/models/mbs_principal_event.py +16 -7
  727. lusid/models/mbs_principal_write_off_event.py +16 -7
  728. lusid/models/membership.py +6 -2
  729. lusid/models/membership_amendment_request.py +7 -3
  730. lusid/models/membership_amendment_response.py +9 -5
  731. lusid/models/membership_and_status.py +6 -2
  732. lusid/models/merger_event.py +22 -13
  733. lusid/models/metric_value.py +7 -3
  734. lusid/models/model_options.py +13 -4
  735. lusid/models/model_options_type.py +4 -2
  736. lusid/models/model_property.py +9 -5
  737. lusid/models/model_schema.py +7 -3
  738. lusid/models/model_selection.py +20 -6
  739. lusid/models/move_orders_to_different_blocks_request.py +7 -3
  740. lusid/models/moved_order_to_different_block_response.py +8 -4
  741. lusid/models/movement_settlement_summary.py +9 -5
  742. lusid/models/movement_type.py +4 -2
  743. lusid/models/multi_currency_amounts.py +8 -4
  744. lusid/models/nav_type_definition.py +12 -8
  745. lusid/models/new_instrument.py +7 -3
  746. lusid/models/next_value_in_sequence_response.py +8 -4
  747. lusid/models/numeric_comparison_type.py +4 -2
  748. lusid/models/opaque_dependency.py +13 -4
  749. lusid/models/opaque_market_data.py +13 -4
  750. lusid/models/opaque_model_options.py +14 -5
  751. lusid/models/open_event.py +14 -5
  752. lusid/models/operand_type.py +4 -2
  753. lusid/models/operation.py +6 -2
  754. lusid/models/operation_type.py +4 -2
  755. lusid/models/operator.py +4 -2
  756. lusid/models/option_entry.py +9 -5
  757. lusid/models/option_exercise_cash_event.py +21 -12
  758. lusid/models/option_exercise_election.py +8 -4
  759. lusid/models/option_exercise_physical_event.py +22 -13
  760. lusid/models/optionality_schedule.py +14 -5
  761. lusid/models/order.py +20 -16
  762. lusid/models/order_breach_history.py +11 -7
  763. lusid/models/order_by_spec.py +13 -4
  764. lusid/models/order_flow_configuration.py +6 -2
  765. lusid/models/order_graph_block.py +12 -8
  766. lusid/models/order_graph_block_allocation_detail.py +7 -3
  767. lusid/models/order_graph_block_allocation_synopsis.py +8 -4
  768. lusid/models/order_graph_block_execution_detail.py +7 -3
  769. lusid/models/order_graph_block_execution_synopsis.py +8 -4
  770. lusid/models/order_graph_block_order_detail.py +10 -6
  771. lusid/models/order_graph_block_order_synopsis.py +9 -5
  772. lusid/models/order_graph_block_placement_detail.py +7 -3
  773. lusid/models/order_graph_block_placement_synopsis.py +9 -5
  774. lusid/models/order_graph_block_transaction_detail.py +6 -2
  775. lusid/models/order_graph_block_transaction_synopsis.py +8 -4
  776. lusid/models/order_graph_placement.py +13 -9
  777. lusid/models/order_graph_placement_allocation_detail.py +7 -3
  778. lusid/models/order_graph_placement_allocation_synopsis.py +8 -4
  779. lusid/models/order_graph_placement_child_placement_detail.py +7 -3
  780. lusid/models/order_graph_placement_execution_detail.py +7 -3
  781. lusid/models/order_graph_placement_execution_synopsis.py +8 -4
  782. lusid/models/order_graph_placement_order_detail.py +7 -3
  783. lusid/models/order_graph_placement_order_synopsis.py +7 -3
  784. lusid/models/order_graph_placement_placement_synopsis.py +8 -4
  785. lusid/models/order_instruction.py +15 -11
  786. lusid/models/order_instruction_request.py +13 -9
  787. lusid/models/order_instruction_set_request.py +7 -3
  788. lusid/models/order_request.py +17 -13
  789. lusid/models/order_rule_breach.py +6 -2
  790. lusid/models/order_set_request.py +7 -3
  791. lusid/models/order_update_request.py +13 -9
  792. lusid/models/otc_confirmation.py +7 -3
  793. lusid/models/output_transaction.py +38 -29
  794. lusid/models/output_transition.py +9 -5
  795. lusid/models/package.py +12 -8
  796. lusid/models/package_request.py +10 -6
  797. lusid/models/package_set_request.py +7 -3
  798. lusid/models/paged_resource_list_of_abor.py +8 -4
  799. lusid/models/paged_resource_list_of_abor_configuration.py +8 -4
  800. lusid/models/paged_resource_list_of_account.py +8 -4
  801. lusid/models/paged_resource_list_of_address_key_definition.py +8 -4
  802. lusid/models/paged_resource_list_of_allocation.py +8 -4
  803. lusid/models/paged_resource_list_of_amortisation_rule_set.py +8 -4
  804. lusid/models/paged_resource_list_of_block.py +8 -4
  805. lusid/models/paged_resource_list_of_calendar.py +8 -4
  806. lusid/models/paged_resource_list_of_chart_of_accounts.py +8 -4
  807. lusid/models/paged_resource_list_of_check_definition.py +8 -4
  808. lusid/models/paged_resource_list_of_cleardown_module_response.py +8 -4
  809. lusid/models/paged_resource_list_of_cleardown_module_rule.py +8 -4
  810. lusid/models/paged_resource_list_of_closed_period.py +8 -4
  811. lusid/models/paged_resource_list_of_compliance_rule_response.py +8 -4
  812. lusid/models/paged_resource_list_of_compliance_run_info_v2.py +8 -4
  813. lusid/models/paged_resource_list_of_compliance_template.py +8 -4
  814. lusid/models/paged_resource_list_of_corporate_action_source.py +8 -4
  815. lusid/models/paged_resource_list_of_custodian_account.py +8 -4
  816. lusid/models/paged_resource_list_of_custom_entity_definition.py +8 -4
  817. lusid/models/paged_resource_list_of_custom_entity_response.py +8 -4
  818. lusid/models/paged_resource_list_of_custom_entity_type.py +8 -4
  819. lusid/models/paged_resource_list_of_cut_label_definition.py +8 -4
  820. lusid/models/paged_resource_list_of_data_type_summary.py +8 -4
  821. lusid/models/paged_resource_list_of_dialect_id.py +8 -4
  822. lusid/models/paged_resource_list_of_diary_entry.py +8 -4
  823. lusid/models/paged_resource_list_of_execution.py +8 -4
  824. lusid/models/paged_resource_list_of_fee.py +8 -4
  825. lusid/models/paged_resource_list_of_fee_type.py +8 -4
  826. lusid/models/paged_resource_list_of_fund.py +8 -4
  827. lusid/models/paged_resource_list_of_fund_calendar_entry.py +8 -4
  828. lusid/models/paged_resource_list_of_fund_configuration.py +8 -4
  829. lusid/models/paged_resource_list_of_general_ledger_profile_response.py +8 -4
  830. lusid/models/paged_resource_list_of_group_reconciliation_comparison_result.py +8 -4
  831. lusid/models/paged_resource_list_of_group_reconciliation_comparison_ruleset.py +8 -4
  832. lusid/models/paged_resource_list_of_group_reconciliation_definition.py +8 -4
  833. lusid/models/paged_resource_list_of_identifier_definition.py +8 -4
  834. lusid/models/paged_resource_list_of_instrument.py +8 -4
  835. lusid/models/paged_resource_list_of_instrument_event_holder.py +8 -4
  836. lusid/models/paged_resource_list_of_instrument_event_instruction.py +8 -4
  837. lusid/models/paged_resource_list_of_item_and_workspace.py +8 -4
  838. lusid/models/paged_resource_list_of_legal_entity.py +8 -4
  839. lusid/models/paged_resource_list_of_order.py +8 -4
  840. lusid/models/paged_resource_list_of_order_breach_history.py +8 -4
  841. lusid/models/paged_resource_list_of_order_graph_block.py +8 -4
  842. lusid/models/paged_resource_list_of_order_graph_placement.py +8 -4
  843. lusid/models/paged_resource_list_of_order_instruction.py +8 -4
  844. lusid/models/paged_resource_list_of_package.py +8 -4
  845. lusid/models/paged_resource_list_of_participation.py +8 -4
  846. lusid/models/paged_resource_list_of_person.py +8 -4
  847. lusid/models/paged_resource_list_of_placement.py +8 -4
  848. lusid/models/paged_resource_list_of_portfolio_group.py +8 -4
  849. lusid/models/paged_resource_list_of_portfolio_group_search_result.py +8 -4
  850. lusid/models/paged_resource_list_of_portfolio_search_result.py +8 -4
  851. lusid/models/paged_resource_list_of_posting_module_response.py +8 -4
  852. lusid/models/paged_resource_list_of_posting_module_rule.py +8 -4
  853. lusid/models/paged_resource_list_of_property_definition.py +8 -4
  854. lusid/models/paged_resource_list_of_property_definition_search_result.py +8 -4
  855. lusid/models/paged_resource_list_of_reconciliation.py +8 -4
  856. lusid/models/paged_resource_list_of_reference_list_response.py +8 -4
  857. lusid/models/paged_resource_list_of_relational_data_point_response.py +8 -4
  858. lusid/models/paged_resource_list_of_relational_dataset_definition.py +8 -4
  859. lusid/models/paged_resource_list_of_relationship_definition.py +8 -4
  860. lusid/models/paged_resource_list_of_sequence_definition.py +8 -4
  861. lusid/models/paged_resource_list_of_staged_modification.py +8 -4
  862. lusid/models/paged_resource_list_of_staged_modifications_requested_change_interval.py +8 -4
  863. lusid/models/paged_resource_list_of_staging_rule_set.py +8 -4
  864. lusid/models/paged_resource_list_of_timeline.py +8 -4
  865. lusid/models/paged_resource_list_of_transaction_template.py +8 -4
  866. lusid/models/paged_resource_list_of_transaction_template_specification.py +8 -4
  867. lusid/models/paged_resource_list_of_translation_script_id.py +8 -4
  868. lusid/models/paged_resource_list_of_valuation_point_overview.py +8 -4
  869. lusid/models/paged_resource_list_of_virtual_row.py +8 -4
  870. lusid/models/paged_resource_list_of_workspace.py +8 -4
  871. lusid/models/paged_resource_list_of_workspace_item.py +8 -4
  872. lusid/models/partial_closure_constituent.py +8 -4
  873. lusid/models/participation.py +11 -7
  874. lusid/models/participation_request.py +9 -5
  875. lusid/models/participation_set_request.py +7 -3
  876. lusid/models/percent_check_step.py +15 -6
  877. lusid/models/percent_check_step_request.py +13 -4
  878. lusid/models/performance_return.py +10 -6
  879. lusid/models/performance_returns_metric.py +9 -5
  880. lusid/models/period_diary_entries_reopened_response.py +12 -8
  881. lusid/models/period_type.py +4 -2
  882. lusid/models/perpetual_entity_state.py +4 -2
  883. lusid/models/perpetual_property.py +7 -3
  884. lusid/models/person.py +10 -6
  885. lusid/models/place_blocks_request.py +7 -3
  886. lusid/models/placement.py +17 -13
  887. lusid/models/placement_request.py +15 -11
  888. lusid/models/placement_set_request.py +7 -3
  889. lusid/models/placement_update_request.py +9 -5
  890. lusid/models/pnl_journal_entry_line.py +8 -4
  891. lusid/models/portfolio.py +32 -18
  892. lusid/models/portfolio_cash_flow.py +19 -15
  893. lusid/models/portfolio_cash_ladder.py +10 -6
  894. lusid/models/portfolio_details.py +23 -14
  895. lusid/models/portfolio_entity.py +13 -9
  896. lusid/models/portfolio_entity_id.py +6 -2
  897. lusid/models/portfolio_entity_id_with_details.py +6 -2
  898. lusid/models/portfolio_group.py +12 -8
  899. lusid/models/portfolio_group_id_compliance_parameter.py +14 -5
  900. lusid/models/portfolio_group_id_list.py +14 -5
  901. lusid/models/portfolio_group_id_list_compliance_parameter.py +14 -5
  902. lusid/models/portfolio_group_properties.py +8 -4
  903. lusid/models/portfolio_group_search_result.py +11 -7
  904. lusid/models/portfolio_holding.py +23 -19
  905. lusid/models/portfolio_id.py +6 -2
  906. lusid/models/portfolio_id_compliance_parameter.py +14 -5
  907. lusid/models/portfolio_id_list.py +14 -5
  908. lusid/models/portfolio_id_list_compliance_parameter.py +14 -5
  909. lusid/models/portfolio_properties.py +9 -5
  910. lusid/models/portfolio_reconciliation_request.py +8 -4
  911. lusid/models/portfolio_result_data_key_rule.py +14 -5
  912. lusid/models/portfolio_return_breakdown.py +18 -14
  913. lusid/models/portfolio_search_result.py +19 -10
  914. lusid/models/portfolio_settlement_configuration.py +10 -6
  915. lusid/models/portfolio_trade_ticket.py +8 -4
  916. lusid/models/portfolio_type.py +4 -2
  917. lusid/models/portfolio_without_href.py +32 -18
  918. lusid/models/portfolios_reconciliation_request.py +9 -5
  919. lusid/models/post_close_activities_request.py +7 -3
  920. lusid/models/post_close_activity.py +7 -3
  921. lusid/models/posting_module_details.py +6 -2
  922. lusid/models/posting_module_request.py +7 -3
  923. lusid/models/posting_module_response.py +9 -5
  924. lusid/models/posting_module_rule.py +6 -2
  925. lusid/models/posting_module_rules_updated_response.py +8 -4
  926. lusid/models/pre_trade_configuration.py +6 -2
  927. lusid/models/premium.py +8 -4
  928. lusid/models/previous_fund_calendar_entry.py +8 -4
  929. lusid/models/previous_fund_valuation_point_data.py +7 -3
  930. lusid/models/previous_nav.py +6 -2
  931. lusid/models/previous_share_class_breakdown.py +8 -4
  932. lusid/models/pricing_context.py +10 -6
  933. lusid/models/pricing_model.py +4 -2
  934. lusid/models/pricing_options.py +21 -17
  935. lusid/models/primary_schedule.py +7 -3
  936. lusid/models/processed_command.py +8 -4
  937. lusid/models/property_definition.py +55 -21
  938. lusid/models/property_definition_entity.py +13 -9
  939. lusid/models/property_definition_search_result.py +52 -18
  940. lusid/models/property_definition_type.py +4 -2
  941. lusid/models/property_domain.py +4 -2
  942. lusid/models/property_filter.py +20 -6
  943. lusid/models/property_interval.py +9 -5
  944. lusid/models/property_key_compliance_parameter.py +13 -4
  945. lusid/models/property_key_list_compliance_parameter.py +14 -5
  946. lusid/models/property_life_time.py +4 -2
  947. lusid/models/property_list.py +14 -5
  948. lusid/models/property_list_compliance_parameter.py +14 -5
  949. lusid/models/property_reference_data_value.py +7 -3
  950. lusid/models/property_schema.py +7 -3
  951. lusid/models/property_type.py +4 -2
  952. lusid/models/property_value.py +8 -4
  953. lusid/models/property_value_equals.py +13 -4
  954. lusid/models/property_value_in.py +14 -5
  955. lusid/models/protection_payout_cash_flow_event.py +16 -7
  956. lusid/models/quantity_instructed.py +7 -3
  957. lusid/models/query_applicable_instrument_events_request.py +11 -7
  958. lusid/models/query_bucketed_cash_flows_request.py +19 -15
  959. lusid/models/query_cash_flows_request.py +12 -8
  960. lusid/models/query_instrument_events_request.py +12 -8
  961. lusid/models/query_relational_dataset_request.py +7 -3
  962. lusid/models/query_trade_tickets_request.py +12 -8
  963. lusid/models/queryable_key.py +10 -6
  964. lusid/models/quote.py +10 -6
  965. lusid/models/quote_access_metadata_rule.py +8 -4
  966. lusid/models/quote_access_metadata_rule_id.py +10 -6
  967. lusid/models/quote_dependency.py +14 -5
  968. lusid/models/quote_id.py +7 -3
  969. lusid/models/quote_instrument_id_type.py +4 -2
  970. lusid/models/quote_series_id.py +22 -8
  971. lusid/models/quote_type.py +4 -2
  972. lusid/models/raw_vendor_event.py +15 -6
  973. lusid/models/re_open_period_diary_entry_request.py +6 -2
  974. lusid/models/realised_gain_loss.py +17 -13
  975. lusid/models/recipe_block.py +6 -2
  976. lusid/models/recipe_composer.py +7 -3
  977. lusid/models/recipe_value.py +7 -3
  978. lusid/models/recombine_step.py +14 -5
  979. lusid/models/recommended_sort_by.py +6 -2
  980. lusid/models/reconcile_date_time_rule.py +22 -8
  981. lusid/models/reconcile_numeric_rule.py +22 -8
  982. lusid/models/reconcile_string_rule.py +22 -8
  983. lusid/models/reconciled_transaction.py +8 -4
  984. lusid/models/reconciliation.py +9 -5
  985. lusid/models/reconciliation_break.py +14 -10
  986. lusid/models/reconciliation_configuration.py +7 -3
  987. lusid/models/reconciliation_id.py +6 -2
  988. lusid/models/reconciliation_left_right_address_key_pair.py +6 -2
  989. lusid/models/reconciliation_line.py +10 -6
  990. lusid/models/reconciliation_request.py +11 -7
  991. lusid/models/reconciliation_response.py +8 -4
  992. lusid/models/reconciliation_rule.py +13 -4
  993. lusid/models/reconciliation_rule_type.py +4 -2
  994. lusid/models/reconciliation_side_configuration.py +9 -5
  995. lusid/models/reconciliation_transactions.py +8 -4
  996. lusid/models/reference_data.py +8 -4
  997. lusid/models/reference_instrument.py +13 -4
  998. lusid/models/reference_list.py +13 -4
  999. lusid/models/reference_list_request.py +9 -5
  1000. lusid/models/reference_list_response.py +11 -7
  1001. lusid/models/reference_list_type.py +4 -2
  1002. lusid/models/reference_portfolio_constituent.py +10 -6
  1003. lusid/models/reference_portfolio_constituent_request.py +8 -4
  1004. lusid/models/reference_portfolio_weight_type.py +4 -2
  1005. lusid/models/related_entity.py +10 -6
  1006. lusid/models/relation.py +9 -5
  1007. lusid/models/relation_definition.py +8 -4
  1008. lusid/models/relational_data_point_field_value_response.py +7 -3
  1009. lusid/models/relational_data_point_response.py +11 -7
  1010. lusid/models/relational_data_series_response.py +8 -4
  1011. lusid/models/relational_dataset_definition.py +10 -6
  1012. lusid/models/relational_dataset_field_definition.py +8 -4
  1013. lusid/models/relationship.py +10 -6
  1014. lusid/models/relationship_definition.py +8 -4
  1015. lusid/models/relative_date_offset.py +7 -3
  1016. lusid/models/repo.py +23 -14
  1017. lusid/models/repo_cash_flow_event.py +16 -7
  1018. lusid/models/repo_partial_closure_event.py +17 -8
  1019. lusid/models/repurchase_offer_event.py +21 -12
  1020. lusid/models/requested_changes.py +8 -4
  1021. lusid/models/reset_event.py +15 -6
  1022. lusid/models/resource_id.py +6 -2
  1023. lusid/models/resource_list_of_access_controlled_resource.py +8 -4
  1024. lusid/models/resource_list_of_access_metadata_value_of.py +8 -4
  1025. lusid/models/resource_list_of_address_key_definition.py +8 -4
  1026. lusid/models/resource_list_of_aggregated_return.py +8 -4
  1027. lusid/models/resource_list_of_aggregation_query.py +8 -4
  1028. lusid/models/resource_list_of_allocation.py +8 -4
  1029. lusid/models/resource_list_of_applicable_instrument_event.py +8 -4
  1030. lusid/models/resource_list_of_block.py +8 -4
  1031. lusid/models/resource_list_of_block_and_orders.py +8 -4
  1032. lusid/models/resource_list_of_calendar_date.py +8 -4
  1033. lusid/models/resource_list_of_change.py +8 -4
  1034. lusid/models/resource_list_of_change_history.py +8 -4
  1035. lusid/models/resource_list_of_change_interval.py +8 -4
  1036. lusid/models/resource_list_of_change_interval_with_order_management_detail.py +8 -4
  1037. lusid/models/resource_list_of_compliance_breached_order_info.py +8 -4
  1038. lusid/models/resource_list_of_compliance_rule.py +8 -4
  1039. lusid/models/resource_list_of_compliance_rule_result.py +8 -4
  1040. lusid/models/resource_list_of_compliance_run_info.py +8 -4
  1041. lusid/models/resource_list_of_constituents_adjustment_header.py +8 -4
  1042. lusid/models/resource_list_of_corporate_action.py +8 -4
  1043. lusid/models/resource_list_of_data_model_summary.py +8 -4
  1044. lusid/models/resource_list_of_data_type.py +8 -4
  1045. lusid/models/resource_list_of_execution.py +8 -4
  1046. lusid/models/resource_list_of_fee_rule.py +8 -4
  1047. lusid/models/resource_list_of_get_cds_flow_conventions_response.py +8 -4
  1048. lusid/models/resource_list_of_get_counterparty_agreement_response.py +8 -4
  1049. lusid/models/resource_list_of_get_credit_support_annex_response.py +8 -4
  1050. lusid/models/resource_list_of_get_flow_conventions_response.py +8 -4
  1051. lusid/models/resource_list_of_get_index_convention_response.py +8 -4
  1052. lusid/models/resource_list_of_get_recipe_composer_response.py +8 -4
  1053. lusid/models/resource_list_of_get_recipe_response.py +8 -4
  1054. lusid/models/resource_list_of_holdings_adjustment_header.py +8 -4
  1055. lusid/models/resource_list_of_i_unit_definition_dto.py +8 -4
  1056. lusid/models/resource_list_of_instrument_cash_flow.py +8 -4
  1057. lusid/models/resource_list_of_instrument_event_holder.py +8 -4
  1058. lusid/models/resource_list_of_instrument_id_type_descriptor.py +8 -4
  1059. lusid/models/resource_list_of_investment_account.py +8 -4
  1060. lusid/models/resource_list_of_investor_record.py +8 -4
  1061. lusid/models/resource_list_of_legal_entity.py +8 -4
  1062. lusid/models/resource_list_of_list_complex_market_data_with_meta_data_response.py +8 -4
  1063. lusid/models/resource_list_of_mapping.py +8 -4
  1064. lusid/models/resource_list_of_moved_order_to_different_block_response.py +8 -4
  1065. lusid/models/resource_list_of_order.py +8 -4
  1066. lusid/models/resource_list_of_order_instruction.py +8 -4
  1067. lusid/models/resource_list_of_output_transaction.py +8 -4
  1068. lusid/models/resource_list_of_package.py +8 -4
  1069. lusid/models/resource_list_of_participation.py +8 -4
  1070. lusid/models/resource_list_of_performance_return.py +8 -4
  1071. lusid/models/resource_list_of_person.py +8 -4
  1072. lusid/models/resource_list_of_placement.py +8 -4
  1073. lusid/models/resource_list_of_portfolio.py +8 -4
  1074. lusid/models/resource_list_of_portfolio_cash_flow.py +8 -4
  1075. lusid/models/resource_list_of_portfolio_cash_ladder.py +8 -4
  1076. lusid/models/resource_list_of_portfolio_trade_ticket.py +8 -4
  1077. lusid/models/resource_list_of_processed_command.py +8 -4
  1078. lusid/models/resource_list_of_property.py +8 -4
  1079. lusid/models/resource_list_of_property_definition.py +8 -4
  1080. lusid/models/resource_list_of_property_interval.py +8 -4
  1081. lusid/models/resource_list_of_queryable_key.py +8 -4
  1082. lusid/models/resource_list_of_quote.py +8 -4
  1083. lusid/models/resource_list_of_quote_access_metadata_rule.py +8 -4
  1084. lusid/models/resource_list_of_reconciliation_break.py +8 -4
  1085. lusid/models/resource_list_of_relation.py +8 -4
  1086. lusid/models/resource_list_of_relationship.py +8 -4
  1087. lusid/models/resource_list_of_returns_entity.py +8 -4
  1088. lusid/models/resource_list_of_scope_definition.py +8 -4
  1089. lusid/models/resource_list_of_side_definition.py +8 -4
  1090. lusid/models/resource_list_of_string.py +8 -4
  1091. lusid/models/resource_list_of_tax_rule_set.py +8 -4
  1092. lusid/models/resource_list_of_transaction.py +8 -4
  1093. lusid/models/resource_list_of_transaction_settlement_instruction.py +8 -4
  1094. lusid/models/resource_list_of_transaction_type.py +8 -4
  1095. lusid/models/resource_list_of_value_type.py +7 -3
  1096. lusid/models/response_meta_data.py +7 -3
  1097. lusid/models/result_data_key_rule.py +15 -6
  1098. lusid/models/result_data_schema.py +9 -5
  1099. lusid/models/result_key_rule.py +13 -4
  1100. lusid/models/result_key_rule_type.py +4 -2
  1101. lusid/models/result_value.py +13 -4
  1102. lusid/models/result_value0_d.py +15 -6
  1103. lusid/models/result_value_bool.py +14 -5
  1104. lusid/models/result_value_currency.py +13 -4
  1105. lusid/models/result_value_date_time_offset.py +15 -6
  1106. lusid/models/result_value_decimal.py +15 -6
  1107. lusid/models/result_value_dictionary.py +14 -5
  1108. lusid/models/result_value_int.py +15 -6
  1109. lusid/models/result_value_string.py +13 -4
  1110. lusid/models/result_value_type.py +4 -2
  1111. lusid/models/return_zero_pv_options.py +7 -3
  1112. lusid/models/returns_entity.py +8 -4
  1113. lusid/models/reverse_stock_split_event.py +19 -10
  1114. lusid/models/rollover_constituent.py +8 -4
  1115. lusid/models/rounding_configuration.py +7 -3
  1116. lusid/models/rounding_configuration_component.py +6 -2
  1117. lusid/models/rounding_convention.py +8 -4
  1118. lusid/models/rules_interval.py +8 -4
  1119. lusid/models/run_check_request.py +8 -4
  1120. lusid/models/run_check_response.py +7 -3
  1121. lusid/models/scaling_methodology.py +4 -2
  1122. lusid/models/schedule.py +13 -4
  1123. lusid/models/schedule_type.py +4 -2
  1124. lusid/models/scope_definition.py +6 -2
  1125. lusid/models/scrip_dividend_event.py +19 -10
  1126. lusid/models/script_map_reference.py +6 -2
  1127. lusid/models/security_election.py +10 -6
  1128. lusid/models/security_offer_election.py +9 -5
  1129. lusid/models/sequence_definition.py +14 -10
  1130. lusid/models/set_amortisation_rules_request.py +7 -3
  1131. lusid/models/set_legal_entity_identifiers_request.py +7 -3
  1132. lusid/models/set_legal_entity_properties_request.py +7 -3
  1133. lusid/models/set_person_identifiers_request.py +7 -3
  1134. lusid/models/set_person_properties_request.py +7 -3
  1135. lusid/models/set_share_class_instruments_request.py +8 -4
  1136. lusid/models/set_transaction_configuration_alias.py +7 -3
  1137. lusid/models/set_transaction_configuration_source_request.py +8 -4
  1138. lusid/models/settlement_configuration_category.py +8 -4
  1139. lusid/models/settlement_cycle.py +8 -4
  1140. lusid/models/settlement_in_lieu.py +6 -2
  1141. lusid/models/settlement_instruction_query.py +9 -5
  1142. lusid/models/settlement_instruction_request.py +15 -11
  1143. lusid/models/settlement_instruction_with_transaction.py +8 -4
  1144. lusid/models/settlement_schedule.py +10 -6
  1145. lusid/models/share_class_amount.py +8 -4
  1146. lusid/models/share_class_breakdown.py +16 -12
  1147. lusid/models/share_class_data.py +8 -4
  1148. lusid/models/share_class_dealing_breakdown.py +8 -4
  1149. lusid/models/share_class_details.py +7 -3
  1150. lusid/models/share_class_pnl_breakdown.py +9 -5
  1151. lusid/models/side_configuration_data.py +7 -3
  1152. lusid/models/side_configuration_data_request.py +6 -2
  1153. lusid/models/side_definition.py +7 -3
  1154. lusid/models/side_definition_request.py +6 -2
  1155. lusid/models/sides_definition_request.py +7 -3
  1156. lusid/models/simple_cash_flow_loan.py +17 -8
  1157. lusid/models/simple_instrument.py +24 -10
  1158. lusid/models/simple_rounding_convention.py +7 -3
  1159. lusid/models/single_valuation_point_query_parameters.py +7 -3
  1160. lusid/models/sort_order.py +4 -2
  1161. lusid/models/specific_holding_pricing_info.py +9 -5
  1162. lusid/models/spin_off_event.py +21 -12
  1163. lusid/models/staged_modification.py +14 -10
  1164. lusid/models/staged_modification_decision.py +7 -3
  1165. lusid/models/staged_modification_decision_request.py +6 -2
  1166. lusid/models/staged_modification_effective_range.py +8 -4
  1167. lusid/models/staged_modification_staging_rule.py +8 -4
  1168. lusid/models/staged_modifications_entity_hrefs.py +7 -3
  1169. lusid/models/staged_modifications_info.py +8 -4
  1170. lusid/models/staged_modifications_requested_change_interval.py +10 -6
  1171. lusid/models/staging_rule.py +8 -4
  1172. lusid/models/staging_rule_approval_criteria.py +8 -4
  1173. lusid/models/staging_rule_match_criteria.py +8 -4
  1174. lusid/models/staging_rule_set.py +8 -4
  1175. lusid/models/step_schedule.py +14 -5
  1176. lusid/models/stock_dividend_event.py +19 -10
  1177. lusid/models/stock_split_event.py +19 -10
  1178. lusid/models/strategy.py +8 -4
  1179. lusid/models/string_comparison_type.py +4 -2
  1180. lusid/models/string_compliance_parameter.py +13 -4
  1181. lusid/models/string_list.py +14 -5
  1182. lusid/models/string_list_compliance_parameter.py +14 -5
  1183. lusid/models/structured_result_data.py +7 -3
  1184. lusid/models/structured_result_data_id.py +6 -2
  1185. lusid/models/sub_holding_key_value_equals.py +13 -4
  1186. lusid/models/swap_cash_flow_event.py +16 -7
  1187. lusid/models/swap_principal_event.py +16 -7
  1188. lusid/models/sweep_blocks_request.py +7 -3
  1189. lusid/models/sweep_blocks_response.py +8 -4
  1190. lusid/models/target_tax_lot.py +14 -10
  1191. lusid/models/target_tax_lot_request.py +14 -10
  1192. lusid/models/tax_rule.py +8 -4
  1193. lusid/models/tax_rule_set.py +9 -5
  1194. lusid/models/template_field.py +7 -3
  1195. lusid/models/tender_event.py +22 -13
  1196. lusid/models/tender_offer_election.py +9 -5
  1197. lusid/models/term_deposit.py +20 -11
  1198. lusid/models/term_deposit_interest_event.py +15 -6
  1199. lusid/models/term_deposit_principal_event.py +15 -6
  1200. lusid/models/time_zone_conventions.py +6 -2
  1201. lusid/models/timeline.py +8 -4
  1202. lusid/models/total_return_swap.py +19 -10
  1203. lusid/models/touch.py +7 -3
  1204. lusid/models/trade_ticket.py +13 -4
  1205. lusid/models/trade_ticket_type.py +4 -2
  1206. lusid/models/trading_conventions.py +9 -5
  1207. lusid/models/transaction.py +30 -21
  1208. lusid/models/transaction_configuration_data.py +9 -5
  1209. lusid/models/transaction_configuration_data_request.py +9 -5
  1210. lusid/models/transaction_configuration_movement_data.py +17 -8
  1211. lusid/models/transaction_configuration_movement_data_request.py +17 -8
  1212. lusid/models/transaction_configuration_type_alias.py +14 -5
  1213. lusid/models/transaction_currency_and_amount.py +6 -2
  1214. lusid/models/transaction_date_windows.py +6 -2
  1215. lusid/models/transaction_diagnostics.py +7 -3
  1216. lusid/models/transaction_field_map.py +8 -4
  1217. lusid/models/transaction_matching_alternative_id.py +6 -2
  1218. lusid/models/transaction_price.py +13 -4
  1219. lusid/models/transaction_price_and_type.py +6 -2
  1220. lusid/models/transaction_price_type.py +4 -2
  1221. lusid/models/transaction_property_map.py +6 -2
  1222. lusid/models/transaction_property_mapping.py +7 -3
  1223. lusid/models/transaction_property_mapping_request.py +7 -3
  1224. lusid/models/transaction_query_mode.py +4 -2
  1225. lusid/models/transaction_query_parameters.py +15 -6
  1226. lusid/models/transaction_reconciliation_request.py +13 -9
  1227. lusid/models/transaction_reconciliation_request_v2.py +11 -7
  1228. lusid/models/transaction_request.py +17 -13
  1229. lusid/models/transaction_roles.py +4 -2
  1230. lusid/models/transaction_set_configuration_data.py +9 -5
  1231. lusid/models/transaction_set_configuration_data_request.py +8 -4
  1232. lusid/models/transaction_settlement_bucket.py +13 -9
  1233. lusid/models/transaction_settlement_instruction.py +15 -11
  1234. lusid/models/transaction_settlement_movement.py +8 -4
  1235. lusid/models/transaction_settlement_status.py +9 -5
  1236. lusid/models/transaction_status.py +4 -2
  1237. lusid/models/transaction_template.py +8 -4
  1238. lusid/models/transaction_template_request.py +7 -3
  1239. lusid/models/transaction_template_specification.py +11 -7
  1240. lusid/models/transaction_type.py +11 -7
  1241. lusid/models/transaction_type_alias.py +7 -3
  1242. lusid/models/transaction_type_calculation.py +6 -2
  1243. lusid/models/transaction_type_details.py +6 -2
  1244. lusid/models/transaction_type_movement.py +10 -6
  1245. lusid/models/transaction_type_property_mapping.py +7 -3
  1246. lusid/models/transaction_type_request.py +10 -6
  1247. lusid/models/transactions_reconciliations_response.py +7 -3
  1248. lusid/models/transfer_agency_dates.py +10 -6
  1249. lusid/models/transition_event.py +19 -10
  1250. lusid/models/translate_entities_inlined_request.py +8 -4
  1251. lusid/models/translate_entities_request.py +9 -5
  1252. lusid/models/translate_entities_response.py +9 -5
  1253. lusid/models/translate_instrument_definitions_request.py +7 -3
  1254. lusid/models/translate_instrument_definitions_response.py +9 -5
  1255. lusid/models/translate_trade_ticket_request.py +7 -3
  1256. lusid/models/translate_trade_tickets_response.py +9 -5
  1257. lusid/models/translation_context.py +8 -4
  1258. lusid/models/translation_input.py +6 -2
  1259. lusid/models/translation_result.py +7 -3
  1260. lusid/models/translation_script.py +7 -3
  1261. lusid/models/translation_script_id.py +6 -2
  1262. lusid/models/trial_balance.py +13 -9
  1263. lusid/models/trial_balance_query_parameters.py +8 -4
  1264. lusid/models/trigger_event.py +16 -7
  1265. lusid/models/typed_resource_id.py +6 -2
  1266. lusid/models/unit_schema.py +4 -2
  1267. lusid/models/unitisation_data.py +9 -5
  1268. lusid/models/units_ratio.py +8 -4
  1269. lusid/models/unmatched_holding_method.py +4 -2
  1270. lusid/models/update_amortisation_rule_set_details_request.py +6 -2
  1271. lusid/models/update_calendar_request.py +8 -4
  1272. lusid/models/update_check_definition_request.py +9 -5
  1273. lusid/models/update_compliance_template_request.py +7 -3
  1274. lusid/models/update_custom_data_model_request.py +11 -7
  1275. lusid/models/update_custom_entity_definition_request.py +7 -3
  1276. lusid/models/update_custom_entity_type_request.py +7 -3
  1277. lusid/models/update_cut_label_definition_request.py +7 -3
  1278. lusid/models/update_data_type_request.py +8 -4
  1279. lusid/models/update_deposit_amount_event.py +15 -6
  1280. lusid/models/update_derived_property_definition_request.py +8 -4
  1281. lusid/models/update_fee_type_request.py +7 -3
  1282. lusid/models/update_group_reconciliation_comparison_ruleset_request.py +8 -4
  1283. lusid/models/update_group_reconciliation_definition_request.py +12 -8
  1284. lusid/models/update_identifier_definition_request.py +7 -3
  1285. lusid/models/update_instrument_identifier_request.py +6 -2
  1286. lusid/models/update_orders_response.py +10 -6
  1287. lusid/models/update_placements_response.py +10 -6
  1288. lusid/models/update_portfolio_group_request.py +6 -2
  1289. lusid/models/update_portfolio_request.py +6 -2
  1290. lusid/models/update_property_definition_request.py +7 -3
  1291. lusid/models/update_reconciliation_request.py +8 -4
  1292. lusid/models/update_reference_data_request.py +8 -4
  1293. lusid/models/update_relational_dataset_definition_request.py +8 -4
  1294. lusid/models/update_relationship_definition_request.py +6 -2
  1295. lusid/models/update_staging_rule_set_request.py +7 -3
  1296. lusid/models/update_tax_rule_set_request.py +7 -3
  1297. lusid/models/update_timeline_request.py +7 -3
  1298. lusid/models/update_unit_request.py +6 -2
  1299. lusid/models/upsert_cds_flow_conventions_request.py +7 -3
  1300. lusid/models/upsert_complex_market_data_request.py +8 -4
  1301. lusid/models/upsert_compliance_rule_request.py +12 -8
  1302. lusid/models/upsert_compliance_run_summary_request.py +10 -6
  1303. lusid/models/upsert_compliance_run_summary_result.py +10 -6
  1304. lusid/models/upsert_corporate_action_request.py +11 -7
  1305. lusid/models/upsert_corporate_actions_response.py +9 -5
  1306. lusid/models/upsert_counterparty_agreement_request.py +7 -3
  1307. lusid/models/upsert_credit_support_annex_request.py +7 -3
  1308. lusid/models/upsert_custom_entities_response.py +10 -6
  1309. lusid/models/upsert_custom_entity_access_metadata_request.py +7 -3
  1310. lusid/models/upsert_data_quality_rule.py +6 -2
  1311. lusid/models/upsert_dialect_request.py +8 -4
  1312. lusid/models/upsert_flow_conventions_request.py +7 -3
  1313. lusid/models/upsert_fund_bookmark_request.py +9 -5
  1314. lusid/models/upsert_index_convention_request.py +7 -3
  1315. lusid/models/upsert_instrument_event_request.py +11 -7
  1316. lusid/models/upsert_instrument_events_response.py +9 -5
  1317. lusid/models/upsert_instrument_properties_response.py +8 -4
  1318. lusid/models/upsert_instrument_property_request.py +7 -3
  1319. lusid/models/upsert_instruments_response.py +11 -7
  1320. lusid/models/upsert_investment_account_request.py +10 -6
  1321. lusid/models/upsert_investment_accounts_response.py +9 -5
  1322. lusid/models/upsert_investor_record_request.py +9 -5
  1323. lusid/models/upsert_investor_records_response.py +9 -5
  1324. lusid/models/upsert_legal_entities_response.py +9 -5
  1325. lusid/models/upsert_legal_entity_access_metadata_request.py +7 -3
  1326. lusid/models/upsert_legal_entity_request.py +9 -5
  1327. lusid/models/upsert_person_access_metadata_request.py +7 -3
  1328. lusid/models/upsert_person_request.py +8 -4
  1329. lusid/models/upsert_persons_response.py +10 -6
  1330. lusid/models/upsert_portfolio_access_metadata_request.py +7 -3
  1331. lusid/models/upsert_portfolio_group_access_metadata_request.py +7 -3
  1332. lusid/models/upsert_portfolio_transactions_response.py +9 -5
  1333. lusid/models/upsert_quote_access_metadata_rule_request.py +8 -4
  1334. lusid/models/upsert_quote_request.py +9 -5
  1335. lusid/models/upsert_quotes_response.py +9 -5
  1336. lusid/models/upsert_recipe_composer_request.py +7 -3
  1337. lusid/models/upsert_recipe_request.py +7 -3
  1338. lusid/models/upsert_reference_portfolio_constituent_properties_request.py +8 -4
  1339. lusid/models/upsert_reference_portfolio_constituent_properties_response.py +8 -4
  1340. lusid/models/upsert_reference_portfolio_constituents_request.py +22 -8
  1341. lusid/models/upsert_reference_portfolio_constituents_response.py +7 -3
  1342. lusid/models/upsert_relational_data_point_data_series.py +8 -4
  1343. lusid/models/upsert_relational_data_point_request.py +9 -5
  1344. lusid/models/upsert_result_values_data_request.py +9 -5
  1345. lusid/models/upsert_returns_response.py +10 -6
  1346. lusid/models/upsert_single_structured_data_response.py +8 -4
  1347. lusid/models/upsert_structured_data_response.py +9 -5
  1348. lusid/models/upsert_structured_result_data_request.py +7 -3
  1349. lusid/models/upsert_transaction_properties_response.py +7 -3
  1350. lusid/models/upsert_translation_script_request.py +7 -3
  1351. lusid/models/upsert_valuation_point_request.py +10 -6
  1352. lusid/models/user.py +6 -2
  1353. lusid/models/valuation_point_data_query_parameters.py +7 -3
  1354. lusid/models/valuation_point_data_request.py +6 -2
  1355. lusid/models/valuation_point_data_response.py +10 -6
  1356. lusid/models/valuation_point_overview.py +13 -9
  1357. lusid/models/valuation_point_resource_list_of_accounted_transaction.py +10 -6
  1358. lusid/models/valuation_point_resource_list_of_fund_journal_entry_line.py +10 -6
  1359. lusid/models/valuation_point_resource_list_of_pnl_journal_entry_line.py +10 -6
  1360. lusid/models/valuation_point_resource_list_of_trial_balance.py +10 -6
  1361. lusid/models/valuation_request.py +19 -15
  1362. lusid/models/valuation_schedule.py +9 -5
  1363. lusid/models/valuations_reconciliation_request.py +10 -6
  1364. lusid/models/value_type.py +4 -2
  1365. lusid/models/vendor_dependency.py +15 -6
  1366. lusid/models/vendor_library.py +4 -2
  1367. lusid/models/vendor_model_rule.py +15 -6
  1368. lusid/models/version.py +11 -7
  1369. lusid/models/version_summary_dto.py +7 -3
  1370. lusid/models/versioned_resource_list_of_a2_b_data_record.py +9 -5
  1371. lusid/models/versioned_resource_list_of_a2_b_movement_record.py +9 -5
  1372. lusid/models/versioned_resource_list_of_holding_contributor.py +9 -5
  1373. lusid/models/versioned_resource_list_of_journal_entry_line.py +9 -5
  1374. lusid/models/versioned_resource_list_of_output_transaction.py +9 -5
  1375. lusid/models/versioned_resource_list_of_portfolio_holding.py +9 -5
  1376. lusid/models/versioned_resource_list_of_transaction.py +9 -5
  1377. lusid/models/versioned_resource_list_of_trial_balance.py +9 -5
  1378. lusid/models/versioned_resource_list_with_post_bodies_of_settlement_instruction_with_transaction_to_settlement_instruction_query.py +12 -8
  1379. lusid/models/versioned_resource_list_with_warnings_of_portfolio_holding.py +10 -6
  1380. lusid/models/virtual_document.py +8 -4
  1381. lusid/models/virtual_document_row.py +8 -4
  1382. lusid/models/virtual_row.py +8 -4
  1383. lusid/models/warning.py +6 -2
  1384. lusid/models/weekend_mask.py +6 -2
  1385. lusid/models/weighted_instrument.py +8 -4
  1386. lusid/models/weighted_instrument_in_line_lookup_identifiers.py +6 -2
  1387. lusid/models/weighted_instruments.py +7 -3
  1388. lusid/models/workspace.py +7 -3
  1389. lusid/models/workspace_creation_request.py +6 -2
  1390. lusid/models/workspace_item.py +9 -5
  1391. lusid/models/workspace_item_creation_request.py +8 -4
  1392. lusid/models/workspace_item_update_request.py +8 -4
  1393. lusid/models/workspace_update_request.py +6 -2
  1394. lusid/models/workspace_visibility.py +4 -2
  1395. lusid/models/year_month_day.py +9 -5
  1396. lusid/models/yield_curve_data.py +17 -8
  1397. {lusid_sdk-2.1.991.dist-info → lusid_sdk-2.2.2.dist-info}/METADATA +1 -1
  1398. lusid_sdk-2.2.2.dist-info/RECORD +1417 -0
  1399. lusid_sdk-2.1.991.dist-info/RECORD +0 -1417
  1400. {lusid_sdk-2.1.991.dist-info → lusid_sdk-2.2.2.dist-info}/WHEEL +0 -0
@@ -17,9 +17,11 @@ import pprint
17
17
  import re # noqa: F401
18
18
  import json
19
19
 
20
+
21
+ from typing import List, Dict, Optional, Any, Union, TYPE_CHECKING
22
+ from typing_extensions import Annotated
23
+ from pydantic.v1 import BaseModel, StrictStr, StrictInt, StrictBool, StrictFloat, StrictBytes, Field, validator, ValidationError, conlist, constr
20
24
  from datetime import datetime
21
- from typing import Any, Dict, List, Optional, Union
22
- from pydantic.v1 import StrictStr, Field, Field, StrictFloat, StrictInt, StrictStr, conlist, validator
23
25
  from lusid.models.cash_and_security_offer_election import CashAndSecurityOfferElection
24
26
  from lusid.models.cash_offer_election import CashOfferElection
25
27
  from lusid.models.instrument_event import InstrumentEvent
@@ -30,16 +32,16 @@ class TenderEvent(InstrumentEvent):
30
32
  """
31
33
  Tender Event (TEND). # noqa: E501
32
34
  """
33
- announcement_date: Optional[datetime] = Field(None, alias="announcementDate", description="The date the tender is announced.")
34
- ex_date: Optional[datetime] = Field(None, alias="exDate", description="The ex date (entitlement date) of the event.")
35
- record_date: Optional[datetime] = Field(None, alias="recordDate", description="Date you have to be the holder of record in order to participate in the tender.")
36
- payment_date: Optional[datetime] = Field(None, alias="paymentDate", description="The payment date of the event.")
37
- new_instrument: NewInstrument = Field(..., alias="newInstrument")
38
- fractional_units_cash_price: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="fractionalUnitsCashPrice", description="The cash price paid in lieu of fractionalUnits.")
35
+ announcement_date: Optional[datetime] = Field(default=None, description="The date the tender is announced.", alias="announcementDate")
36
+ ex_date: Optional[datetime] = Field(default=None, description="The ex date (entitlement date) of the event.", alias="exDate")
37
+ record_date: Optional[datetime] = Field(default=None, description="Date you have to be the holder of record in order to participate in the tender.", alias="recordDate")
38
+ payment_date: Optional[datetime] = Field(default=None, description="The payment date of the event.", alias="paymentDate")
39
+ new_instrument: NewInstrument = Field(alias="newInstrument")
40
+ fractional_units_cash_price: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The cash price paid in lieu of fractionalUnits.", alias="fractionalUnitsCashPrice")
39
41
  fractional_units_cash_currency: Optional[StrictStr] = Field(None,alias="fractionalUnitsCashCurrency", description="The currency of the cash paid in lieu of fractionalUnits.")
40
- security_offer_elections: Optional[conlist(SecurityOfferElection)] = Field(None, alias="securityOfferElections", description="List of possible SecurityOfferElections for this event.")
41
- cash_and_security_offer_elections: Optional[conlist(CashAndSecurityOfferElection)] = Field(None, alias="cashAndSecurityOfferElections", description="List of possible CashAndSecurityOfferElections for this event.")
42
- cash_offer_elections: Optional[conlist(CashOfferElection)] = Field(None, alias="cashOfferElections", description="List of possible CashOfferElections for this event.")
42
+ security_offer_elections: Optional[List[SecurityOfferElection]] = Field(default=None, description="List of possible SecurityOfferElections for this event.", alias="securityOfferElections")
43
+ cash_and_security_offer_elections: Optional[List[CashAndSecurityOfferElection]] = Field(default=None, description="List of possible CashAndSecurityOfferElections for this event.", alias="cashAndSecurityOfferElections")
44
+ cash_offer_elections: Optional[List[CashOfferElection]] = Field(default=None, description="List of possible CashOfferElections for this event.", alias="cashOfferElections")
43
45
  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, CallOnIntermediateSecuritiesEvent, IntermediateSecuritiesDistributionEvent, OptionExercisePhysicalEvent, OptionExerciseCashEvent, ProtectionPayoutCashFlowEvent, TermDepositInterestEvent, TermDepositPrincipalEvent, EarlyRedemptionEvent, FutureMarkToMarketEvent, AdjustGlobalCommitmentEvent, ContractInitialisationEvent, DrawdownEvent, LoanInterestRepaymentEvent, UpdateDepositAmountEvent, LoanPrincipalRepaymentEvent, DepositInterestPaymentEvent, DepositCloseEvent, LoanFacilityContractRolloverEvent, RepurchaseOfferEvent, RepoPartialClosureEvent, RepoCashFlowEvent, FlexibleRepoInterestPaymentEvent, FlexibleRepoCashFlowEvent, FlexibleRepoCollateralEvent, ConversionEvent, FlexibleRepoPartialClosureEvent, FlexibleRepoFullClosureEvent, CapletFloorletCashFlowEvent")
44
46
  additional_properties: Dict[str, Any] = {}
45
47
  __properties = ["instrumentEventType", "announcementDate", "exDate", "recordDate", "paymentDate", "newInstrument", "fractionalUnitsCashPrice", "fractionalUnitsCashCurrency", "securityOfferElections", "cashAndSecurityOfferElections", "cashOfferElections"]
@@ -94,14 +96,19 @@ class TenderEvent(InstrumentEvent):
94
96
  'SchedulerJobResponse',
95
97
  'SleepResponse',
96
98
  'Library',
97
- 'LibraryResponse']:
99
+ 'LibraryResponse',
100
+ 'DayRegularity',
101
+ 'RelativeMonthRegularity',
102
+ 'SpecificMonthRegularity',
103
+ 'WeekRegularity',
104
+ 'YearRegularity']:
98
105
  return value
99
106
 
100
107
  # Only validate the 'type' property of the class
101
108
  if "instrument_event_type" != "type":
102
109
  return value
103
110
 
104
- 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', 'CallOnIntermediateSecuritiesEvent', 'IntermediateSecuritiesDistributionEvent', 'OptionExercisePhysicalEvent', 'OptionExerciseCashEvent', 'ProtectionPayoutCashFlowEvent', 'TermDepositInterestEvent', 'TermDepositPrincipalEvent', 'EarlyRedemptionEvent', 'FutureMarkToMarketEvent', 'AdjustGlobalCommitmentEvent', 'ContractInitialisationEvent', 'DrawdownEvent', 'LoanInterestRepaymentEvent', 'UpdateDepositAmountEvent', 'LoanPrincipalRepaymentEvent', 'DepositInterestPaymentEvent', 'DepositCloseEvent', 'LoanFacilityContractRolloverEvent', 'RepurchaseOfferEvent', 'RepoPartialClosureEvent', 'RepoCashFlowEvent', 'FlexibleRepoInterestPaymentEvent', 'FlexibleRepoCashFlowEvent', 'FlexibleRepoCollateralEvent', 'ConversionEvent', 'FlexibleRepoPartialClosureEvent', 'FlexibleRepoFullClosureEvent', 'CapletFloorletCashFlowEvent'):
111
+ 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', 'CallOnIntermediateSecuritiesEvent', 'IntermediateSecuritiesDistributionEvent', 'OptionExercisePhysicalEvent', 'OptionExerciseCashEvent', 'ProtectionPayoutCashFlowEvent', 'TermDepositInterestEvent', 'TermDepositPrincipalEvent', 'EarlyRedemptionEvent', 'FutureMarkToMarketEvent', 'AdjustGlobalCommitmentEvent', 'ContractInitialisationEvent', 'DrawdownEvent', 'LoanInterestRepaymentEvent', 'UpdateDepositAmountEvent', 'LoanPrincipalRepaymentEvent', 'DepositInterestPaymentEvent', 'DepositCloseEvent', 'LoanFacilityContractRolloverEvent', 'RepurchaseOfferEvent', 'RepoPartialClosureEvent', 'RepoCashFlowEvent', 'FlexibleRepoInterestPaymentEvent', 'FlexibleRepoCashFlowEvent', 'FlexibleRepoCollateralEvent', 'ConversionEvent', 'FlexibleRepoPartialClosureEvent', 'FlexibleRepoFullClosureEvent', 'CapletFloorletCashFlowEvent']:
105
112
  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', 'CallOnIntermediateSecuritiesEvent', 'IntermediateSecuritiesDistributionEvent', 'OptionExercisePhysicalEvent', 'OptionExerciseCashEvent', 'ProtectionPayoutCashFlowEvent', 'TermDepositInterestEvent', 'TermDepositPrincipalEvent', 'EarlyRedemptionEvent', 'FutureMarkToMarketEvent', 'AdjustGlobalCommitmentEvent', 'ContractInitialisationEvent', 'DrawdownEvent', 'LoanInterestRepaymentEvent', 'UpdateDepositAmountEvent', 'LoanPrincipalRepaymentEvent', 'DepositInterestPaymentEvent', 'DepositCloseEvent', 'LoanFacilityContractRolloverEvent', 'RepurchaseOfferEvent', 'RepoPartialClosureEvent', 'RepoCashFlowEvent', 'FlexibleRepoInterestPaymentEvent', 'FlexibleRepoCashFlowEvent', 'FlexibleRepoCollateralEvent', 'ConversionEvent', 'FlexibleRepoPartialClosureEvent', 'FlexibleRepoFullClosureEvent', 'CapletFloorletCashFlowEvent')")
106
113
  return value
107
114
 
@@ -232,3 +239,5 @@ class TenderEvent(InstrumentEvent):
232
239
  _obj.additional_properties[_key] = obj.get(_key)
233
240
 
234
241
  return _obj
242
+
243
+ TenderEvent.update_forward_refs()
@@ -18,18 +18,20 @@ import re # noqa: F401
18
18
  import json
19
19
 
20
20
 
21
- from typing import Any, Dict, Optional, Union
22
- from pydantic.v1 import StrictStr, Field, BaseModel, Field, StrictBool, StrictFloat, StrictInt, StrictStr, constr
21
+ from typing import List, Dict, Optional, Any, Union, TYPE_CHECKING
22
+ from typing_extensions import Annotated
23
+ from pydantic.v1 import BaseModel, StrictStr, StrictInt, StrictBool, StrictFloat, StrictBytes, Field, validator, ValidationError, conlist, constr
24
+ from datetime import datetime
23
25
 
24
26
  class TenderOfferElection(BaseModel):
25
27
  """
26
28
  Election for events that result in cash via a merger or acquisition # noqa: E501
27
29
  """
28
30
  tender_offer_currency: StrictStr = Field(...,alias="tenderOfferCurrency", description="Currency of the cash offer")
29
- tender_offer_price: Union[StrictFloat, StrictInt] = Field(..., alias="tenderOfferPrice", description="Price per share of the cash offer")
31
+ tender_offer_price: Union[StrictFloat, StrictInt] = Field(description="Price per share of the cash offer", alias="tenderOfferPrice")
30
32
  election_key: StrictStr = Field(...,alias="electionKey", description="Unique key associated to this election.")
31
- is_chosen: Optional[StrictBool] = Field(None, alias="isChosen", description="Is this the election that has been explicitly chosen from multiple options.")
32
- is_default: Optional[StrictBool] = Field(None, alias="isDefault", description="Is this election automatically applied in the absence of an election having been made. May only be true for one election if multiple are provided.")
33
+ is_chosen: Optional[StrictBool] = Field(default=None, description="Is this the election that has been explicitly chosen from multiple options.", alias="isChosen")
34
+ is_default: Optional[StrictBool] = Field(default=None, description="Is this election automatically applied in the absence of an election having been made. May only be true for one election if multiple are provided.", alias="isDefault")
33
35
  __properties = ["tenderOfferCurrency", "tenderOfferPrice", "electionKey", "isChosen", "isDefault"]
34
36
 
35
37
  class Config:
@@ -83,3 +85,5 @@ class TenderOfferElection(BaseModel):
83
85
  "is_default": obj.get("isDefault")
84
86
  })
85
87
  return _obj
88
+
89
+ TenderOfferElection.update_forward_refs()
@@ -17,9 +17,11 @@ import pprint
17
17
  import re # noqa: F401
18
18
  import json
19
19
 
20
+
21
+ from typing import List, Dict, Optional, Any, Union, TYPE_CHECKING
22
+ from typing_extensions import Annotated
23
+ from pydantic.v1 import BaseModel, StrictStr, StrictInt, StrictBool, StrictFloat, StrictBytes, Field, validator, ValidationError, conlist, constr
20
24
  from datetime import datetime
21
- from typing import Any, Dict, Optional, Union
22
- from pydantic.v1 import StrictStr, Field, Field, StrictFloat, StrictInt, StrictStr, validator
23
25
  from lusid.models.flow_conventions import FlowConventions
24
26
  from lusid.models.lusid_instrument import LusidInstrument
25
27
  from lusid.models.time_zone_conventions import TimeZoneConventions
@@ -29,14 +31,14 @@ class TermDeposit(LusidInstrument):
29
31
  """
30
32
  LUSID representation of a Term Deposit. # noqa: E501
31
33
  """
32
- start_date: datetime = Field(..., alias="startDate", description="The start date of the instrument. For term deposits this is the start date of the interest calculation period.")
33
- maturity_date: datetime = Field(..., alias="maturityDate", description="The maturity date of the instrument. For term deposits this is the last date of the interest calculation period.")
34
- contract_size: Union[StrictFloat, StrictInt] = Field(..., alias="contractSize", description="The principal amount of the term deposit.")
35
- flow_convention: FlowConventions = Field(..., alias="flowConvention")
36
- rate: Union[StrictFloat, StrictInt] = Field(..., description="The fixed rate for the term deposit. Specified as a decimal, e.g 0.03 is meant to be 3% interest")
34
+ start_date: datetime = Field(description="The start date of the instrument. For term deposits this is the start date of the interest calculation period.", alias="startDate")
35
+ maturity_date: datetime = Field(description="The maturity date of the instrument. For term deposits this is the last date of the interest calculation period.", alias="maturityDate")
36
+ contract_size: Union[StrictFloat, StrictInt] = Field(description="The principal amount of the term deposit.", alias="contractSize")
37
+ flow_convention: FlowConventions = Field(alias="flowConvention")
38
+ rate: Union[StrictFloat, StrictInt] = Field(description="The fixed rate for the term deposit. Specified as a decimal, e.g 0.03 is meant to be 3% interest")
37
39
  dom_ccy: Optional[StrictStr] = Field(None,alias="domCcy", description="The domestic currency of the instrument. This should be the same as the Currency set on the FlowConventions. You do not need to populate this field for Term Deposits in LUSID as all functionality is driven by the Currency set on the FlowConventions. LUSID will not store values saved on this field.")
38
- trading_conventions: Optional[TradingConventions] = Field(None, alias="tradingConventions")
39
- time_zone_conventions: Optional[TimeZoneConventions] = Field(None, alias="timeZoneConventions")
40
+ trading_conventions: Optional[TradingConventions] = Field(default=None, alias="tradingConventions")
41
+ time_zone_conventions: Optional[TimeZoneConventions] = Field(default=None, alias="timeZoneConventions")
40
42
  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, FlexibleDeposit, FlexibleRepo")
41
43
  additional_properties: Dict[str, Any] = {}
42
44
  __properties = ["instrumentType", "startDate", "maturityDate", "contractSize", "flowConvention", "rate", "domCcy", "tradingConventions", "timeZoneConventions"]
@@ -91,14 +93,19 @@ class TermDeposit(LusidInstrument):
91
93
  'SchedulerJobResponse',
92
94
  'SleepResponse',
93
95
  'Library',
94
- 'LibraryResponse']:
96
+ 'LibraryResponse',
97
+ 'DayRegularity',
98
+ 'RelativeMonthRegularity',
99
+ 'SpecificMonthRegularity',
100
+ 'WeekRegularity',
101
+ 'YearRegularity']:
95
102
  return value
96
103
 
97
104
  # Only validate the 'type' property of the class
98
105
  if "instrument_type" != "type":
99
106
  return value
100
107
 
101
- 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', 'FlexibleDeposit', 'FlexibleRepo'):
108
+ 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', 'FlexibleDeposit', 'FlexibleRepo']:
102
109
  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', 'FlexibleDeposit', 'FlexibleRepo')")
103
110
  return value
104
111
 
@@ -182,3 +189,5 @@ class TermDeposit(LusidInstrument):
182
189
  _obj.additional_properties[_key] = obj.get(_key)
183
190
 
184
191
  return _obj
192
+
193
+ TermDeposit.update_forward_refs()
@@ -17,9 +17,11 @@ import pprint
17
17
  import re # noqa: F401
18
18
  import json
19
19
 
20
+
21
+ from typing import List, Dict, Optional, Any, Union, TYPE_CHECKING
22
+ from typing_extensions import Annotated
23
+ from pydantic.v1 import BaseModel, StrictStr, StrictInt, StrictBool, StrictFloat, StrictBytes, Field, validator, ValidationError, conlist, constr
20
24
  from datetime import datetime
21
- from typing import Any, Dict, Optional, Union
22
- from pydantic.v1 import StrictStr, Field, Field, StrictFloat, StrictInt, StrictStr, validator
23
25
  from lusid.models.instrument_event import InstrumentEvent
24
26
 
25
27
  class TermDepositInterestEvent(InstrumentEvent):
@@ -27,8 +29,8 @@ class TermDepositInterestEvent(InstrumentEvent):
27
29
  Definition of a Term Deposit Interest Event. This is an event that describes the occurence of interest on a term deposit (). # noqa: E501
28
30
  """
29
31
  currency: StrictStr = Field(...,alias="currency", description="Currency of the interest payment.")
30
- interest_per_unit: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="interestPerUnit", description="The interest payment made per unit of the held .")
31
- payment_date: Optional[datetime] = Field(None, alias="paymentDate", description="Payment date of the interest payment.")
32
+ interest_per_unit: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The interest payment made per unit of the held .", alias="interestPerUnit")
33
+ payment_date: Optional[datetime] = Field(default=None, description="Payment date of the interest payment.", alias="paymentDate")
32
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, CallOnIntermediateSecuritiesEvent, IntermediateSecuritiesDistributionEvent, OptionExercisePhysicalEvent, OptionExerciseCashEvent, ProtectionPayoutCashFlowEvent, TermDepositInterestEvent, TermDepositPrincipalEvent, EarlyRedemptionEvent, FutureMarkToMarketEvent, AdjustGlobalCommitmentEvent, ContractInitialisationEvent, DrawdownEvent, LoanInterestRepaymentEvent, UpdateDepositAmountEvent, LoanPrincipalRepaymentEvent, DepositInterestPaymentEvent, DepositCloseEvent, LoanFacilityContractRolloverEvent, RepurchaseOfferEvent, RepoPartialClosureEvent, RepoCashFlowEvent, FlexibleRepoInterestPaymentEvent, FlexibleRepoCashFlowEvent, FlexibleRepoCollateralEvent, ConversionEvent, FlexibleRepoPartialClosureEvent, FlexibleRepoFullClosureEvent, CapletFloorletCashFlowEvent")
33
35
  additional_properties: Dict[str, Any] = {}
34
36
  __properties = ["instrumentEventType", "currency", "interestPerUnit", "paymentDate"]
@@ -83,14 +85,19 @@ class TermDepositInterestEvent(InstrumentEvent):
83
85
  'SchedulerJobResponse',
84
86
  'SleepResponse',
85
87
  'Library',
86
- 'LibraryResponse']:
88
+ 'LibraryResponse',
89
+ 'DayRegularity',
90
+ 'RelativeMonthRegularity',
91
+ 'SpecificMonthRegularity',
92
+ 'WeekRegularity',
93
+ 'YearRegularity']:
87
94
  return value
88
95
 
89
96
  # Only validate the 'type' property of the class
90
97
  if "instrument_event_type" != "type":
91
98
  return value
92
99
 
93
- 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', 'CallOnIntermediateSecuritiesEvent', 'IntermediateSecuritiesDistributionEvent', 'OptionExercisePhysicalEvent', 'OptionExerciseCashEvent', 'ProtectionPayoutCashFlowEvent', 'TermDepositInterestEvent', 'TermDepositPrincipalEvent', 'EarlyRedemptionEvent', 'FutureMarkToMarketEvent', 'AdjustGlobalCommitmentEvent', 'ContractInitialisationEvent', 'DrawdownEvent', 'LoanInterestRepaymentEvent', 'UpdateDepositAmountEvent', 'LoanPrincipalRepaymentEvent', 'DepositInterestPaymentEvent', 'DepositCloseEvent', 'LoanFacilityContractRolloverEvent', 'RepurchaseOfferEvent', 'RepoPartialClosureEvent', 'RepoCashFlowEvent', 'FlexibleRepoInterestPaymentEvent', 'FlexibleRepoCashFlowEvent', 'FlexibleRepoCollateralEvent', 'ConversionEvent', 'FlexibleRepoPartialClosureEvent', 'FlexibleRepoFullClosureEvent', 'CapletFloorletCashFlowEvent'):
100
+ 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', 'CallOnIntermediateSecuritiesEvent', 'IntermediateSecuritiesDistributionEvent', 'OptionExercisePhysicalEvent', 'OptionExerciseCashEvent', 'ProtectionPayoutCashFlowEvent', 'TermDepositInterestEvent', 'TermDepositPrincipalEvent', 'EarlyRedemptionEvent', 'FutureMarkToMarketEvent', 'AdjustGlobalCommitmentEvent', 'ContractInitialisationEvent', 'DrawdownEvent', 'LoanInterestRepaymentEvent', 'UpdateDepositAmountEvent', 'LoanPrincipalRepaymentEvent', 'DepositInterestPaymentEvent', 'DepositCloseEvent', 'LoanFacilityContractRolloverEvent', 'RepurchaseOfferEvent', 'RepoPartialClosureEvent', 'RepoCashFlowEvent', 'FlexibleRepoInterestPaymentEvent', 'FlexibleRepoCashFlowEvent', 'FlexibleRepoCollateralEvent', 'ConversionEvent', 'FlexibleRepoPartialClosureEvent', 'FlexibleRepoFullClosureEvent', 'CapletFloorletCashFlowEvent']:
94
101
  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', 'CallOnIntermediateSecuritiesEvent', 'IntermediateSecuritiesDistributionEvent', 'OptionExercisePhysicalEvent', 'OptionExerciseCashEvent', 'ProtectionPayoutCashFlowEvent', 'TermDepositInterestEvent', 'TermDepositPrincipalEvent', 'EarlyRedemptionEvent', 'FutureMarkToMarketEvent', 'AdjustGlobalCommitmentEvent', 'ContractInitialisationEvent', 'DrawdownEvent', 'LoanInterestRepaymentEvent', 'UpdateDepositAmountEvent', 'LoanPrincipalRepaymentEvent', 'DepositInterestPaymentEvent', 'DepositCloseEvent', 'LoanFacilityContractRolloverEvent', 'RepurchaseOfferEvent', 'RepoPartialClosureEvent', 'RepoCashFlowEvent', 'FlexibleRepoInterestPaymentEvent', 'FlexibleRepoCashFlowEvent', 'FlexibleRepoCollateralEvent', 'ConversionEvent', 'FlexibleRepoPartialClosureEvent', 'FlexibleRepoFullClosureEvent', 'CapletFloorletCashFlowEvent')")
95
102
  return value
96
103
 
@@ -160,3 +167,5 @@ class TermDepositInterestEvent(InstrumentEvent):
160
167
  _obj.additional_properties[_key] = obj.get(_key)
161
168
 
162
169
  return _obj
170
+
171
+ TermDepositInterestEvent.update_forward_refs()
@@ -17,9 +17,11 @@ import pprint
17
17
  import re # noqa: F401
18
18
  import json
19
19
 
20
+
21
+ from typing import List, Dict, Optional, Any, Union, TYPE_CHECKING
22
+ from typing_extensions import Annotated
23
+ from pydantic.v1 import BaseModel, StrictStr, StrictInt, StrictBool, StrictFloat, StrictBytes, Field, validator, ValidationError, conlist, constr
20
24
  from datetime import datetime
21
- from typing import Any, Dict, Optional, Union
22
- from pydantic.v1 import StrictStr, Field, Field, StrictFloat, StrictInt, StrictStr, validator
23
25
  from lusid.models.instrument_event import InstrumentEvent
24
26
 
25
27
  class TermDepositPrincipalEvent(InstrumentEvent):
@@ -27,8 +29,8 @@ class TermDepositPrincipalEvent(InstrumentEvent):
27
29
  Definition of a Term Deposit Interest Event. This is an event that describes the occurence of principal on a term deposit (). # noqa: E501
28
30
  """
29
31
  currency: StrictStr = Field(...,alias="currency", description="Currency of the principal payment.")
30
- payment_date: Optional[datetime] = Field(None, alias="paymentDate", description="Payment date of the principal payment.")
31
- principal_per_unit: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="principalPerUnit", description="The principal payment made per unit of the held .")
32
+ payment_date: Optional[datetime] = Field(default=None, description="Payment date of the principal payment.", alias="paymentDate")
33
+ principal_per_unit: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The principal payment made per unit of the held .", alias="principalPerUnit")
32
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, CallOnIntermediateSecuritiesEvent, IntermediateSecuritiesDistributionEvent, OptionExercisePhysicalEvent, OptionExerciseCashEvent, ProtectionPayoutCashFlowEvent, TermDepositInterestEvent, TermDepositPrincipalEvent, EarlyRedemptionEvent, FutureMarkToMarketEvent, AdjustGlobalCommitmentEvent, ContractInitialisationEvent, DrawdownEvent, LoanInterestRepaymentEvent, UpdateDepositAmountEvent, LoanPrincipalRepaymentEvent, DepositInterestPaymentEvent, DepositCloseEvent, LoanFacilityContractRolloverEvent, RepurchaseOfferEvent, RepoPartialClosureEvent, RepoCashFlowEvent, FlexibleRepoInterestPaymentEvent, FlexibleRepoCashFlowEvent, FlexibleRepoCollateralEvent, ConversionEvent, FlexibleRepoPartialClosureEvent, FlexibleRepoFullClosureEvent, CapletFloorletCashFlowEvent")
33
35
  additional_properties: Dict[str, Any] = {}
34
36
  __properties = ["instrumentEventType", "currency", "paymentDate", "principalPerUnit"]
@@ -83,14 +85,19 @@ class TermDepositPrincipalEvent(InstrumentEvent):
83
85
  'SchedulerJobResponse',
84
86
  'SleepResponse',
85
87
  'Library',
86
- 'LibraryResponse']:
88
+ 'LibraryResponse',
89
+ 'DayRegularity',
90
+ 'RelativeMonthRegularity',
91
+ 'SpecificMonthRegularity',
92
+ 'WeekRegularity',
93
+ 'YearRegularity']:
87
94
  return value
88
95
 
89
96
  # Only validate the 'type' property of the class
90
97
  if "instrument_event_type" != "type":
91
98
  return value
92
99
 
93
- 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', 'CallOnIntermediateSecuritiesEvent', 'IntermediateSecuritiesDistributionEvent', 'OptionExercisePhysicalEvent', 'OptionExerciseCashEvent', 'ProtectionPayoutCashFlowEvent', 'TermDepositInterestEvent', 'TermDepositPrincipalEvent', 'EarlyRedemptionEvent', 'FutureMarkToMarketEvent', 'AdjustGlobalCommitmentEvent', 'ContractInitialisationEvent', 'DrawdownEvent', 'LoanInterestRepaymentEvent', 'UpdateDepositAmountEvent', 'LoanPrincipalRepaymentEvent', 'DepositInterestPaymentEvent', 'DepositCloseEvent', 'LoanFacilityContractRolloverEvent', 'RepurchaseOfferEvent', 'RepoPartialClosureEvent', 'RepoCashFlowEvent', 'FlexibleRepoInterestPaymentEvent', 'FlexibleRepoCashFlowEvent', 'FlexibleRepoCollateralEvent', 'ConversionEvent', 'FlexibleRepoPartialClosureEvent', 'FlexibleRepoFullClosureEvent', 'CapletFloorletCashFlowEvent'):
100
+ 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', 'CallOnIntermediateSecuritiesEvent', 'IntermediateSecuritiesDistributionEvent', 'OptionExercisePhysicalEvent', 'OptionExerciseCashEvent', 'ProtectionPayoutCashFlowEvent', 'TermDepositInterestEvent', 'TermDepositPrincipalEvent', 'EarlyRedemptionEvent', 'FutureMarkToMarketEvent', 'AdjustGlobalCommitmentEvent', 'ContractInitialisationEvent', 'DrawdownEvent', 'LoanInterestRepaymentEvent', 'UpdateDepositAmountEvent', 'LoanPrincipalRepaymentEvent', 'DepositInterestPaymentEvent', 'DepositCloseEvent', 'LoanFacilityContractRolloverEvent', 'RepurchaseOfferEvent', 'RepoPartialClosureEvent', 'RepoCashFlowEvent', 'FlexibleRepoInterestPaymentEvent', 'FlexibleRepoCashFlowEvent', 'FlexibleRepoCollateralEvent', 'ConversionEvent', 'FlexibleRepoPartialClosureEvent', 'FlexibleRepoFullClosureEvent', 'CapletFloorletCashFlowEvent']:
94
101
  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', 'CallOnIntermediateSecuritiesEvent', 'IntermediateSecuritiesDistributionEvent', 'OptionExercisePhysicalEvent', 'OptionExerciseCashEvent', 'ProtectionPayoutCashFlowEvent', 'TermDepositInterestEvent', 'TermDepositPrincipalEvent', 'EarlyRedemptionEvent', 'FutureMarkToMarketEvent', 'AdjustGlobalCommitmentEvent', 'ContractInitialisationEvent', 'DrawdownEvent', 'LoanInterestRepaymentEvent', 'UpdateDepositAmountEvent', 'LoanPrincipalRepaymentEvent', 'DepositInterestPaymentEvent', 'DepositCloseEvent', 'LoanFacilityContractRolloverEvent', 'RepurchaseOfferEvent', 'RepoPartialClosureEvent', 'RepoCashFlowEvent', 'FlexibleRepoInterestPaymentEvent', 'FlexibleRepoCashFlowEvent', 'FlexibleRepoCollateralEvent', 'ConversionEvent', 'FlexibleRepoPartialClosureEvent', 'FlexibleRepoFullClosureEvent', 'CapletFloorletCashFlowEvent')")
95
102
  return value
96
103
 
@@ -160,3 +167,5 @@ class TermDepositPrincipalEvent(InstrumentEvent):
160
167
  _obj.additional_properties[_key] = obj.get(_key)
161
168
 
162
169
  return _obj
170
+
171
+ TermDepositPrincipalEvent.update_forward_refs()
@@ -18,8 +18,10 @@ import re # noqa: F401
18
18
  import json
19
19
 
20
20
 
21
- from typing import Any, Dict, Optional
22
- from pydantic.v1 import StrictStr, Field, BaseModel, Field, constr, validator
21
+ from typing import List, Dict, Optional, Any, Union, TYPE_CHECKING
22
+ from typing_extensions import Annotated
23
+ from pydantic.v1 import BaseModel, StrictStr, StrictInt, StrictBool, StrictFloat, StrictBytes, Field, validator, ValidationError, conlist, constr
24
+ from datetime import datetime
23
25
 
24
26
  class TimeZoneConventions(BaseModel):
25
27
  """
@@ -89,3 +91,5 @@ class TimeZoneConventions(BaseModel):
89
91
  "primary_market_open": obj.get("primaryMarketOpen")
90
92
  })
91
93
  return _obj
94
+
95
+ TimeZoneConventions.update_forward_refs()
lusid/models/timeline.py CHANGED
@@ -18,8 +18,10 @@ import re # noqa: F401
18
18
  import json
19
19
 
20
20
 
21
- from typing import Any, Dict, List, Optional
22
- from pydantic.v1 import StrictStr, Field, BaseModel, Field, StrictStr, conlist
21
+ from typing import List, Dict, Optional, Any, Union, TYPE_CHECKING
22
+ from typing_extensions import Annotated
23
+ from pydantic.v1 import BaseModel, StrictStr, StrictInt, StrictBool, StrictFloat, StrictBytes, Field, validator, ValidationError, conlist, constr
24
+ from datetime import datetime
23
25
  from lusid.models.link import Link
24
26
  from lusid.models.model_property import ModelProperty
25
27
  from lusid.models.resource_id import ResourceId
@@ -32,10 +34,10 @@ class Timeline(BaseModel):
32
34
  id: Optional[ResourceId] = None
33
35
  display_name: Optional[StrictStr] = Field(None,alias="displayName", description="The name of the Timeline.")
34
36
  description: Optional[StrictStr] = Field(None,alias="description", description="A description for the Timeline.")
35
- properties: Optional[Dict[str, ModelProperty]] = Field(None, description="The Timelines properties. These will be from the 'Timeline' domain.")
37
+ properties: Optional[Dict[str, ModelProperty]] = Field(default=None, description="The Timelines properties. These will be from the 'Timeline' domain.")
36
38
  version: Optional[Version] = None
37
39
  href: Optional[StrictStr] = Field(None,alias="href", description="The specific Uniform Resource Identifier (URI) for this resource at the requested asAt datetime.")
38
- links: Optional[conlist(Link)] = None
40
+ links: Optional[List[Link]] = None
39
41
  __properties = ["id", "displayName", "description", "properties", "version", "href", "links"]
40
42
 
41
43
  class Config:
@@ -141,3 +143,5 @@ class Timeline(BaseModel):
141
143
  "links": [Link.from_dict(_item) for _item in obj.get("links")] if obj.get("links") is not None else None
142
144
  })
143
145
  return _obj
146
+
147
+ Timeline.update_forward_refs()
@@ -17,9 +17,11 @@ import pprint
17
17
  import re # noqa: F401
18
18
  import json
19
19
 
20
+
21
+ from typing import List, Dict, Optional, Any, Union, TYPE_CHECKING
22
+ from typing_extensions import Annotated
23
+ from pydantic.v1 import BaseModel, StrictStr, StrictInt, StrictBool, StrictFloat, StrictBytes, Field, validator, ValidationError, conlist, constr
20
24
  from datetime import datetime
21
- from typing import Any, Dict, List, Optional
22
- from pydantic.v1 import StrictStr, Field, Field, StrictStr, conlist, validator
23
25
  from lusid.models.additional_payment import AdditionalPayment
24
26
  from lusid.models.asset_leg import AssetLeg
25
27
  from lusid.models.instrument_leg import InstrumentLeg
@@ -30,12 +32,12 @@ class TotalReturnSwap(LusidInstrument):
30
32
  """
31
33
  A swap in which one party makes payments based on leg rates (fixed or floating) while the other party makes payments based on the return of an underlying instrument. The underlying instrument can be provided as an inline economic definition or as a reference instrument pointing to an already upserted instrument. A reference instrument in this case would consist of instrument scope, instrument id and instrument id type (ISIN, LUID etc.). Note that TRS currently only supports an asset of Bond or ComplexBond, no other instruments are allowed. Support for additional instrument types will be added in the future. This instrument has multiple legs, to see how legs are used in LUSID see [knowledge base article KA-02252](https://support.lusid.com/knowledgebase/article/KA-02252). | Leg Index | Leg Identifier | Description | | --------- | -------------- | ----------- | | 1 | AssetLeg | Cash flows relating to the returns generated by an underlying bond. | | 2 | FundingLeg | The funding leg of the swap. | | 3 | AdditionalPayments | Cash flows relating to any additional payments (optional). | # noqa: E501
32
34
  """
33
- start_date: datetime = Field(..., alias="startDate", description="The start date of the instrument. This is normally synonymous with the trade-date.")
34
- maturity_date: datetime = Field(..., alias="maturityDate", description="The final maturity date of the instrument. This means the last date on which the instruments makes a payment of any amount. For the avoidance of doubt, that is not necessarily prior to its last sensitivity date for the purposes of risk; e.g. instruments such as Constant Maturity Swaps (CMS) often have sensitivities to rates that may well be observed or set prior to the maturity date, but refer to a termination date beyond it.")
35
- asset_leg: AssetLeg = Field(..., alias="assetLeg")
36
- funding_leg: InstrumentLeg = Field(..., alias="fundingLeg")
37
- additional_payments: Optional[conlist(AdditionalPayment)] = Field(None, alias="additionalPayments", description="Optional additional payments at a given date e.g. to level off an uneven total return swap. The dates must be distinct and either all payments are Pay or all payments are Receive.")
38
- time_zone_conventions: Optional[TimeZoneConventions] = Field(None, alias="timeZoneConventions")
35
+ start_date: datetime = Field(description="The start date of the instrument. This is normally synonymous with the trade-date.", alias="startDate")
36
+ maturity_date: datetime = Field(description="The final maturity date of the instrument. This means the last date on which the instruments makes a payment of any amount. For the avoidance of doubt, that is not necessarily prior to its last sensitivity date for the purposes of risk; e.g. instruments such as Constant Maturity Swaps (CMS) often have sensitivities to rates that may well be observed or set prior to the maturity date, but refer to a termination date beyond it.", alias="maturityDate")
37
+ asset_leg: AssetLeg = Field(alias="assetLeg")
38
+ funding_leg: InstrumentLeg = Field(alias="fundingLeg")
39
+ additional_payments: Optional[List[AdditionalPayment]] = Field(default=None, description="Optional additional payments at a given date e.g. to level off an uneven total return swap. The dates must be distinct and either all payments are Pay or all payments are Receive.", alias="additionalPayments")
40
+ time_zone_conventions: Optional[TimeZoneConventions] = Field(default=None, alias="timeZoneConventions")
39
41
  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, FlexibleDeposit, FlexibleRepo")
40
42
  additional_properties: Dict[str, Any] = {}
41
43
  __properties = ["instrumentType", "startDate", "maturityDate", "assetLeg", "fundingLeg", "additionalPayments", "timeZoneConventions"]
@@ -90,14 +92,19 @@ class TotalReturnSwap(LusidInstrument):
90
92
  'SchedulerJobResponse',
91
93
  'SleepResponse',
92
94
  'Library',
93
- 'LibraryResponse']:
95
+ 'LibraryResponse',
96
+ 'DayRegularity',
97
+ 'RelativeMonthRegularity',
98
+ 'SpecificMonthRegularity',
99
+ 'WeekRegularity',
100
+ 'YearRegularity']:
94
101
  return value
95
102
 
96
103
  # Only validate the 'type' property of the class
97
104
  if "instrument_type" != "type":
98
105
  return value
99
106
 
100
- 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', 'FlexibleDeposit', 'FlexibleRepo'):
107
+ 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', 'FlexibleDeposit', 'FlexibleRepo']:
101
108
  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', 'FlexibleDeposit', 'FlexibleRepo')")
102
109
  return value
103
110
 
@@ -186,3 +193,5 @@ class TotalReturnSwap(LusidInstrument):
186
193
  _obj.additional_properties[_key] = obj.get(_key)
187
194
 
188
195
  return _obj
196
+
197
+ TotalReturnSwap.update_forward_refs()
lusid/models/touch.py CHANGED
@@ -18,15 +18,17 @@ import re # noqa: F401
18
18
  import json
19
19
 
20
20
 
21
- from typing import Any, Dict, Optional, Union
22
- from pydantic.v1 import StrictStr, Field, BaseModel, Field, StrictFloat, StrictInt, StrictStr, constr
21
+ from typing import List, Dict, Optional, Any, Union, TYPE_CHECKING
22
+ from typing_extensions import Annotated
23
+ from pydantic.v1 import BaseModel, StrictStr, StrictInt, StrictBool, StrictFloat, StrictBytes, Field, validator, ValidationError, conlist, constr
24
+ from datetime import datetime
23
25
 
24
26
  class Touch(BaseModel):
25
27
  """
26
28
  Touch class for exotic FxOption # noqa: E501
27
29
  """
28
30
  direction: StrictStr = Field(...,alias="direction", description="Supported string (enumeration) values are: [Down, Up].")
29
- level: Union[StrictFloat, StrictInt] = Field(..., description="Trigger level, which the underlying should (or should not) cross/touch.")
31
+ level: Union[StrictFloat, StrictInt] = Field(description="Trigger level, which the underlying should (or should not) cross/touch.")
30
32
  monitoring: Optional[StrictStr] = Field(None,alias="monitoring", description="Supported string (enumeration) values are: [European, Bermudan, American]. Defaults to \"European\" if not set.")
31
33
  type: StrictStr = Field(...,alias="type", description="Supported string (enumeration) values are: [Touch, Notouch].")
32
34
  __properties = ["direction", "level", "monitoring", "type"]
@@ -86,3 +88,5 @@ class Touch(BaseModel):
86
88
  "type": obj.get("type")
87
89
  })
88
90
  return _obj
91
+
92
+ Touch.update_forward_refs()
@@ -18,8 +18,10 @@ import re # noqa: F401
18
18
  import json
19
19
 
20
20
 
21
- from typing import Any, Dict
22
- from pydantic.v1 import StrictStr, Field, BaseModel, Field, StrictStr, validator
21
+ from typing import List, Dict, Optional, Any, Union, TYPE_CHECKING
22
+ from typing_extensions import Annotated
23
+ from pydantic.v1 import BaseModel, StrictStr, StrictInt, StrictBool, StrictFloat, StrictBytes, Field, validator, ValidationError, conlist, constr
24
+ from datetime import datetime
23
25
 
24
26
  class TradeTicket(BaseModel):
25
27
  """
@@ -78,14 +80,19 @@ class TradeTicket(BaseModel):
78
80
  'SchedulerJobResponse',
79
81
  'SleepResponse',
80
82
  'Library',
81
- 'LibraryResponse']:
83
+ 'LibraryResponse',
84
+ 'DayRegularity',
85
+ 'RelativeMonthRegularity',
86
+ 'SpecificMonthRegularity',
87
+ 'WeekRegularity',
88
+ 'YearRegularity']:
82
89
  return value
83
90
 
84
91
  # Only validate the 'type' property of the class
85
92
  if "trade_ticket_type" != "type":
86
93
  return value
87
94
 
88
- if value not in ('LusidTradeTicket', 'ExternalTradeTicket'):
95
+ if value not in ['LusidTradeTicket', 'ExternalTradeTicket']:
89
96
  raise ValueError("must be one of enum values ('LusidTradeTicket', 'ExternalTradeTicket')")
90
97
  return value
91
98
 
@@ -136,3 +143,5 @@ class TradeTicket(BaseModel):
136
143
  "trade_ticket_type": obj.get("tradeTicketType")
137
144
  })
138
145
  return _obj
146
+
147
+ TradeTicket.update_forward_refs()
@@ -17,8 +17,10 @@ import pprint
17
17
  import re # noqa: F401
18
18
  from aenum import Enum, no_arg
19
19
 
20
-
21
-
20
+ from typing import List, Dict, Optional, Any, Union, TYPE_CHECKING
21
+ from typing_extensions import Annotated
22
+ from pydantic.v1 import BaseModel, StrictStr, StrictInt, StrictBool, StrictFloat, StrictBytes, Field, validator, ValidationError, conlist, constr
23
+ from datetime import datetime
22
24
 
23
25
 
24
26
  class TradeTicketType(str, Enum):
@@ -18,16 +18,18 @@ import re # noqa: F401
18
18
  import json
19
19
 
20
20
 
21
- from typing import Any, Dict, Optional, Union
22
- from pydantic.v1 import StrictStr, Field, BaseModel, Field, StrictFloat, StrictInt
21
+ from typing import List, Dict, Optional, Any, Union, TYPE_CHECKING
22
+ from typing_extensions import Annotated
23
+ from pydantic.v1 import BaseModel, StrictStr, StrictInt, StrictBool, StrictFloat, StrictBytes, Field, validator, ValidationError, conlist, constr
24
+ from datetime import datetime
23
25
 
24
26
  class TradingConventions(BaseModel):
25
27
  """
26
28
  Common Trading details for exchange traded instruments like Futures and Bonds # noqa: E501
27
29
  """
28
- price_scale_factor: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="priceScaleFactor", description="The factor used to scale prices for the instrument. Currently used by LUSID when calculating cost and notional amounts on transactions. Note this factor does not yet impact Valuation, PV, exposure, all of which use the scale factor attached to the price quotes in the QuoteStore. Must be positive and defaults to 1 if not set.")
29
- minimum_order_size: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="minimumOrderSize", description="The Minimum Order Size Must be non-negative and defaults to 0 if not set.")
30
- minimum_order_increment: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="minimumOrderIncrement", description="The Minimum Order Increment Must be non-negative and defaults to 0 if not set.")
30
+ price_scale_factor: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The factor used to scale prices for the instrument. Currently used by LUSID when calculating cost and notional amounts on transactions. Note this factor does not yet impact Valuation, PV, exposure, all of which use the scale factor attached to the price quotes in the QuoteStore. Must be positive and defaults to 1 if not set.", alias="priceScaleFactor")
31
+ minimum_order_size: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The Minimum Order Size Must be non-negative and defaults to 0 if not set.", alias="minimumOrderSize")
32
+ minimum_order_increment: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The Minimum Order Increment Must be non-negative and defaults to 0 if not set.", alias="minimumOrderIncrement")
31
33
  __properties = ["priceScaleFactor", "minimumOrderSize", "minimumOrderIncrement"]
32
34
 
33
35
  class Config:
@@ -79,3 +81,5 @@ class TradingConventions(BaseModel):
79
81
  "minimum_order_increment": obj.get("minimumOrderIncrement")
80
82
  })
81
83
  return _obj
84
+
85
+ TradingConventions.update_forward_refs()