lusid-sdk 2.0.50b0__py3-none-any.whl → 2.1.684__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1241) hide show
  1. lusid/__init__.py +1647 -15
  2. lusid/api/__init__.py +87 -0
  3. lusid/api/abor_api.py +807 -305
  4. lusid/api/abor_configuration_api.py +72 -70
  5. lusid/api/address_key_definition_api.py +30 -29
  6. lusid/api/aggregation_api.py +41 -40
  7. lusid/api/allocations_api.py +83 -71
  8. lusid/api/amortisation_rule_sets_api.py +1101 -0
  9. lusid/api/application_metadata_api.py +30 -29
  10. lusid/api/blocks_api.py +45 -44
  11. lusid/api/calendars_api.py +492 -142
  12. lusid/api/chart_of_accounts_api.py +2488 -644
  13. lusid/api/complex_market_data_api.py +41 -40
  14. lusid/api/compliance_api.py +1147 -444
  15. lusid/api/configuration_recipe_api.py +1237 -94
  16. lusid/api/conventions_api.py +111 -110
  17. lusid/api/corporate_action_sources_api.py +98 -97
  18. lusid/api/counterparties_api.py +75 -74
  19. lusid/api/custom_data_models_api.py +1043 -0
  20. lusid/api/custom_entities_api.py +116 -115
  21. lusid/api/custom_entity_definitions_api.py +39 -38
  22. lusid/api/custom_entity_types_api.py +39 -38
  23. lusid/api/cut_label_definitions_api.py +57 -64
  24. lusid/api/data_types_api.py +417 -97
  25. lusid/api/derived_transaction_portfolios_api.py +21 -20
  26. lusid/api/entities_api.py +1110 -13
  27. lusid/api/executions_api.py +49 -48
  28. lusid/api/fee_types_api.py +1053 -0
  29. lusid/api/fund_configuration_api.py +1120 -0
  30. lusid/api/funds_api.py +4402 -0
  31. lusid/api/group_reconciliations_api.py +2497 -0
  32. lusid/api/instrument_event_types_api.py +1288 -0
  33. lusid/api/instrument_events_api.py +232 -42
  34. lusid/api/instruments_api.py +391 -211
  35. lusid/api/legacy_compliance_api.py +87 -86
  36. lusid/api/legal_entities_api.py +201 -200
  37. lusid/api/order_graph_api.py +46 -45
  38. lusid/api/order_instructions_api.py +45 -44
  39. lusid/api/order_management_api.py +1537 -67
  40. lusid/api/orders_api.py +58 -65
  41. lusid/api/packages_api.py +45 -44
  42. lusid/api/participations_api.py +39 -38
  43. lusid/api/persons_api.py +342 -182
  44. lusid/api/placements_api.py +51 -50
  45. lusid/api/portfolio_groups_api.py +263 -254
  46. lusid/api/portfolios_api.py +1343 -417
  47. lusid/api/property_definitions_api.py +304 -98
  48. lusid/api/queryable_keys_api.py +212 -0
  49. lusid/api/quotes_api.py +106 -121
  50. lusid/api/reconciliations_api.py +548 -2115
  51. lusid/api/reference_lists_api.py +41 -40
  52. lusid/api/reference_portfolio_api.py +215 -38
  53. lusid/api/relation_definitions_api.py +30 -29
  54. lusid/api/relations_api.py +22 -21
  55. lusid/api/relationship_definitions_api.py +48 -47
  56. lusid/api/relationships_api.py +23 -22
  57. lusid/api/schemas_api.py +46 -53
  58. lusid/api/scopes_api.py +192 -11
  59. lusid/api/scripted_translation_api.py +105 -102
  60. lusid/api/search_api.py +39 -38
  61. lusid/api/sequences_api.py +39 -38
  62. lusid/api/simple_position_portfolios_api.py +213 -0
  63. lusid/api/staged_modifications_api.py +763 -0
  64. lusid/api/staging_rule_set_api.py +886 -0
  65. lusid/api/structured_result_data_api.py +90 -89
  66. lusid/api/system_configuration_api.py +66 -65
  67. lusid/api/tax_rule_sets_api.py +48 -47
  68. lusid/api/timelines_api.py +1307 -0
  69. lusid/api/transaction_configuration_api.py +124 -123
  70. lusid/api/transaction_fees_api.py +48 -47
  71. lusid/api/transaction_portfolios_api.py +1454 -925
  72. lusid/api/translation_api.py +21 -20
  73. lusid/api/workspace_api.py +3482 -0
  74. lusid/api_client.py +31 -20
  75. lusid/api_response.py +1 -1
  76. lusid/configuration.py +102 -8
  77. lusid/extensions/__init__.py +12 -7
  78. lusid/extensions/api_client.py +28 -18
  79. lusid/extensions/api_client_factory.py +168 -45
  80. lusid/extensions/api_configuration.py +172 -14
  81. lusid/extensions/configuration_loaders.py +117 -20
  82. lusid/extensions/configuration_options.py +67 -0
  83. lusid/extensions/file_access_token.py +42 -0
  84. lusid/extensions/proxy_config.py +8 -5
  85. lusid/extensions/rest.py +78 -26
  86. lusid/extensions/retry.py +109 -37
  87. lusid/extensions/socket_keep_alive.py +14 -15
  88. lusid/extensions/tcp_keep_alive_connector.py +93 -46
  89. lusid/models/__init__.py +1537 -14
  90. lusid/models/a2_b_breakdown.py +9 -1
  91. lusid/models/a2_b_category.py +9 -1
  92. lusid/models/a2_b_data_record.py +9 -1
  93. lusid/models/a2_b_movement_record.py +9 -1
  94. lusid/models/abor.py +18 -3
  95. lusid/models/abor_configuration.py +17 -9
  96. lusid/models/abor_configuration_properties.py +9 -1
  97. lusid/models/abor_configuration_request.py +18 -10
  98. lusid/models/abor_properties.py +9 -1
  99. lusid/models/abor_request.py +10 -2
  100. lusid/models/accept_estimate_valuation_point_response.py +108 -0
  101. lusid/models/access_controlled_action.py +9 -1
  102. lusid/models/access_controlled_resource.py +9 -1
  103. lusid/models/access_metadata_operation.py +12 -4
  104. lusid/models/access_metadata_value.py +10 -2
  105. lusid/models/account.py +16 -3
  106. lusid/models/account_properties.py +9 -1
  107. lusid/models/accounted_transaction.py +96 -0
  108. lusid/models/accounting_method.py +10 -0
  109. lusid/models/accounts_upsert_response.py +9 -1
  110. lusid/models/accumulation_event.py +112 -0
  111. lusid/models/action_id.py +10 -2
  112. lusid/models/add_business_days_to_date_request.py +9 -1
  113. lusid/models/add_business_days_to_date_response.py +9 -1
  114. lusid/models/additional_payment.py +12 -4
  115. lusid/models/address_definition.py +9 -1
  116. lusid/models/address_key_compliance_parameter.py +13 -12
  117. lusid/models/address_key_definition.py +9 -1
  118. lusid/models/address_key_filter.py +9 -1
  119. lusid/models/address_key_list.py +13 -5
  120. lusid/models/address_key_list_compliance_parameter.py +12 -4
  121. lusid/models/address_key_option_definition.py +12 -2
  122. lusid/models/adjust_global_commitment_event.py +101 -0
  123. lusid/models/adjust_holding.py +9 -1
  124. lusid/models/adjust_holding_for_date_request.py +9 -1
  125. lusid/models/adjust_holding_request.py +9 -1
  126. lusid/models/aggregate_spec.py +12 -4
  127. lusid/models/aggregated_return.py +9 -1
  128. lusid/models/aggregated_returns_dispersion_request.py +9 -1
  129. lusid/models/aggregated_returns_request.py +9 -1
  130. lusid/models/aggregated_returns_response.py +9 -1
  131. lusid/models/aggregated_transactions_request.py +9 -1
  132. lusid/models/aggregation_context.py +9 -1
  133. lusid/models/aggregation_measure_failure_detail.py +9 -1
  134. lusid/models/aggregation_op.py +1 -0
  135. lusid/models/aggregation_options.py +9 -1
  136. lusid/models/aggregation_query.py +9 -1
  137. lusid/models/alias.py +79 -0
  138. lusid/models/allocation.py +9 -1
  139. lusid/models/allocation_request.py +9 -1
  140. lusid/models/allocation_service_run_response.py +9 -1
  141. lusid/models/allocation_set_request.py +9 -1
  142. lusid/models/amortisation_event.py +13 -7
  143. lusid/models/amortisation_rule.py +112 -0
  144. lusid/models/amortisation_rule_set.py +141 -0
  145. lusid/models/amount.py +77 -0
  146. lusid/models/annul_quotes_response.py +9 -1
  147. lusid/models/annul_single_structured_data_response.py +9 -1
  148. lusid/models/annul_structured_data_response.py +9 -1
  149. lusid/models/applicable_instrument_event.py +138 -0
  150. lusid/models/{underlying_leg.py → asset_leg.py} +25 -17
  151. lusid/models/barrier.py +9 -1
  152. lusid/models/basket.py +12 -4
  153. lusid/models/basket_identifier.py +9 -1
  154. lusid/models/batch_adjust_holdings_response.py +9 -1
  155. lusid/models/batch_update_user_review_for_comparison_result_request.py +89 -0
  156. lusid/models/batch_update_user_review_for_comparison_result_response.py +154 -0
  157. lusid/models/batch_upsert_dates_for_calendar_response.py +154 -0
  158. lusid/models/batch_upsert_instrument_properties_response.py +9 -1
  159. lusid/models/batch_upsert_portfolio_access_metadata_request.py +100 -0
  160. lusid/models/batch_upsert_portfolio_access_metadata_response.py +130 -0
  161. lusid/models/batch_upsert_portfolio_access_metadata_response_item.py +100 -0
  162. lusid/models/batch_upsert_portfolio_transactions_response.py +9 -1
  163. lusid/models/batch_upsert_property_definition_properties_response.py +9 -1
  164. lusid/models/block.py +9 -1
  165. lusid/models/block_and_order_id_request.py +86 -0
  166. lusid/models/block_and_orders.py +91 -0
  167. lusid/models/block_and_orders_create_request.py +85 -0
  168. lusid/models/block_and_orders_request.py +142 -0
  169. lusid/models/block_request.py +9 -1
  170. lusid/models/block_set_request.py +9 -1
  171. lusid/models/blocked_order_request.py +138 -0
  172. lusid/models/bond.py +29 -8
  173. lusid/models/bond_conversion_entry.py +83 -0
  174. lusid/models/bond_conversion_schedule.py +138 -0
  175. lusid/models/bond_coupon_event.py +110 -0
  176. lusid/models/bond_default_event.py +16 -18
  177. lusid/models/bond_principal_event.py +110 -0
  178. lusid/models/bonus_issue_event.py +174 -0
  179. lusid/models/book_transactions_request.py +105 -0
  180. lusid/models/book_transactions_response.py +9 -1
  181. lusid/models/bool_compliance_parameter.py +12 -4
  182. lusid/models/bool_list_compliance_parameter.py +12 -4
  183. lusid/models/branch_step.py +109 -0
  184. lusid/models/branch_step_request.py +106 -0
  185. lusid/models/break_code_source.py +81 -0
  186. lusid/models/bucketed_cash_flow_request.py +9 -1
  187. lusid/models/bucketed_cash_flow_response.py +9 -1
  188. lusid/models/bucketing_schedule.py +9 -1
  189. lusid/models/calculation_info.py +9 -1
  190. lusid/models/calendar.py +26 -3
  191. lusid/models/calendar_date.py +9 -1
  192. lusid/models/calendar_dependency.py +9 -1
  193. lusid/models/call_on_intermediate_securities_event.py +147 -0
  194. lusid/models/cancel_order_and_move_remaining_result.py +92 -0
  195. lusid/models/cancel_orders_and_move_remaining_request.py +91 -0
  196. lusid/models/cancel_orders_and_move_remaining_response.py +161 -0
  197. lusid/models/cancel_orders_response.py +161 -0
  198. lusid/models/cancel_placements_response.py +161 -0
  199. lusid/models/cancel_single_holding_adjustment_request.py +104 -0
  200. lusid/models/cancelled_order_result.py +81 -0
  201. lusid/models/cancelled_placement_result.py +91 -0
  202. lusid/models/cap_floor.py +42 -9
  203. lusid/models/capital_distribution_event.py +125 -0
  204. lusid/models/cash.py +101 -0
  205. lusid/models/cash_and_security_offer_election.py +98 -0
  206. lusid/models/cash_dependency.py +9 -1
  207. lusid/models/cash_dividend_event.py +40 -10
  208. lusid/models/cash_election.py +99 -0
  209. lusid/models/cash_flow_event.py +14 -8
  210. lusid/models/cash_flow_lineage.py +9 -1
  211. lusid/models/cash_flow_value.py +9 -1
  212. lusid/models/cash_flow_value_set.py +9 -1
  213. lusid/models/cash_ladder_record.py +9 -1
  214. lusid/models/cash_offer_election.py +85 -0
  215. lusid/models/cash_perpetual.py +12 -4
  216. lusid/models/cds_credit_event.py +113 -0
  217. lusid/models/cds_flow_conventions.py +10 -2
  218. lusid/models/cds_index.py +31 -8
  219. lusid/models/cds_protection_detail_specification.py +9 -1
  220. lusid/models/cdx_credit_event.py +122 -0
  221. lusid/models/change.py +9 -1
  222. lusid/models/change_history.py +9 -1
  223. lusid/models/change_interval.py +131 -0
  224. lusid/models/change_interval_with_order_management_detail.py +145 -0
  225. lusid/models/change_item.py +9 -1
  226. lusid/models/chart_of_accounts.py +9 -1
  227. lusid/models/chart_of_accounts_properties.py +9 -1
  228. lusid/models/chart_of_accounts_request.py +9 -1
  229. lusid/models/check_step.py +118 -0
  230. lusid/models/check_step_request.py +106 -0
  231. lusid/models/cleardown_module_details.py +103 -0
  232. lusid/models/cleardown_module_request.py +125 -0
  233. lusid/models/cleardown_module_response.py +147 -0
  234. lusid/models/cleardown_module_rule.py +102 -0
  235. lusid/models/cleardown_module_rules_updated_response.py +118 -0
  236. lusid/models/client.py +9 -1
  237. lusid/models/close_event.py +12 -4
  238. lusid/models/close_period_diary_entry_request.py +157 -0
  239. lusid/models/closed_period.py +136 -0
  240. lusid/models/comparison_attribute_value_pair.py +84 -0
  241. lusid/models/complete_portfolio.py +20 -5
  242. lusid/models/complete_relation.py +9 -1
  243. lusid/models/complete_relationship.py +9 -1
  244. lusid/models/complex_bond.py +30 -9
  245. lusid/models/complex_market_data.py +15 -6
  246. lusid/models/complex_market_data_id.py +9 -1
  247. lusid/models/compliance_breached_order_info.py +9 -1
  248. lusid/models/compliance_parameter.py +19 -6
  249. lusid/models/compliance_parameter_type.py +5 -0
  250. lusid/models/compliance_rule.py +9 -1
  251. lusid/models/compliance_rule_breakdown.py +25 -9
  252. lusid/models/compliance_rule_breakdown_request.py +21 -5
  253. lusid/models/compliance_rule_response.py +9 -1
  254. lusid/models/compliance_rule_result.py +9 -1
  255. lusid/models/compliance_rule_result_detail.py +9 -1
  256. lusid/models/compliance_rule_result_portfolio_detail.py +9 -1
  257. lusid/models/compliance_rule_result_v2.py +93 -0
  258. lusid/models/compliance_rule_template.py +161 -0
  259. lusid/models/compliance_rule_upsert_request.py +9 -1
  260. lusid/models/compliance_rule_upsert_response.py +9 -1
  261. lusid/models/compliance_run_configuration.py +81 -0
  262. lusid/models/compliance_run_info.py +9 -1
  263. lusid/models/compliance_run_info_v2.py +9 -1
  264. lusid/models/compliance_step.py +108 -0
  265. lusid/models/compliance_step_request.py +107 -0
  266. lusid/models/compliance_step_type.py +43 -0
  267. lusid/models/compliance_step_type_request.py +42 -0
  268. lusid/models/compliance_summary_rule_result.py +20 -15
  269. lusid/models/compliance_summary_rule_result_request.py +20 -15
  270. lusid/models/compliance_template.py +9 -1
  271. lusid/models/compliance_template_parameter.py +9 -1
  272. lusid/models/compliance_template_variation.py +29 -4
  273. lusid/models/compliance_template_variation_dto.py +120 -0
  274. lusid/models/compliance_template_variation_request.py +120 -0
  275. lusid/models/component_filter.py +93 -0
  276. lusid/models/component_transaction.py +107 -0
  277. lusid/models/composite_breakdown.py +9 -1
  278. lusid/models/composite_breakdown_request.py +9 -1
  279. lusid/models/composite_breakdown_response.py +9 -1
  280. lusid/models/composite_dispersion.py +39 -6
  281. lusid/models/composite_dispersion_response.py +9 -1
  282. lusid/models/compounding.py +13 -5
  283. lusid/models/configuration_recipe.py +18 -19
  284. lusid/models/constant_volatility_surface.py +110 -0
  285. lusid/models/constituents_adjustment_header.py +9 -1
  286. lusid/models/contract_details.py +109 -0
  287. lusid/models/contract_for_difference.py +16 -6
  288. lusid/models/contract_initialisation_event.py +107 -0
  289. lusid/models/contribution_to_non_passing_rule_detail.py +97 -0
  290. lusid/models/corporate_action.py +9 -1
  291. lusid/models/corporate_action_source.py +9 -1
  292. lusid/models/corporate_action_transition.py +9 -1
  293. lusid/models/corporate_action_transition_component.py +9 -1
  294. lusid/models/corporate_action_transition_component_request.py +9 -1
  295. lusid/models/corporate_action_transition_request.py +9 -1
  296. lusid/models/counterparty_agreement.py +9 -1
  297. lusid/models/counterparty_risk_information.py +9 -1
  298. lusid/models/counterparty_signatory.py +9 -1
  299. lusid/models/create_address_key_definition_request.py +9 -1
  300. lusid/models/create_amortisation_rule_set_request.py +110 -0
  301. lusid/models/create_calendar_request.py +9 -1
  302. lusid/models/create_closed_period_request.py +104 -0
  303. lusid/models/create_compliance_template_request.py +103 -0
  304. lusid/models/create_corporate_action_source_request.py +9 -1
  305. lusid/models/create_custom_entity_type_request.py +9 -1
  306. lusid/models/create_cut_label_definition_request.py +9 -1
  307. lusid/models/create_data_map_request.py +9 -1
  308. lusid/models/create_data_type_request.py +9 -1
  309. lusid/models/create_date_request.py +9 -1
  310. lusid/models/create_derived_property_definition_request.py +16 -6
  311. lusid/models/create_derived_transaction_portfolio_request.py +33 -7
  312. lusid/models/create_group_reconciliation_comparison_ruleset_request.py +105 -0
  313. lusid/models/create_group_reconciliation_definition_request.py +121 -0
  314. lusid/models/create_portfolio_details.py +9 -1
  315. lusid/models/create_portfolio_group_request.py +9 -1
  316. lusid/models/create_property_definition_request.py +21 -6
  317. lusid/models/create_recipe_request.py +9 -1
  318. lusid/models/create_reconciliation_request.py +9 -1
  319. lusid/models/create_reference_portfolio_request.py +9 -1
  320. lusid/models/create_relation_definition_request.py +9 -1
  321. lusid/models/create_relation_request.py +9 -1
  322. lusid/models/create_relationship_definition_request.py +11 -3
  323. lusid/models/create_relationship_request.py +9 -1
  324. lusid/models/create_sequence_request.py +9 -1
  325. lusid/models/create_simple_position_portfolio_request.py +196 -0
  326. lusid/models/create_staging_rule_set_request.py +94 -0
  327. lusid/models/create_tax_rule_set_request.py +9 -1
  328. lusid/models/create_timeline_request.py +110 -0
  329. lusid/models/create_trade_tickets_response.py +95 -0
  330. lusid/models/create_transaction_portfolio_request.py +33 -7
  331. lusid/models/create_unit_definition.py +9 -1
  332. lusid/models/credit_default_swap.py +32 -9
  333. lusid/models/credit_premium_cash_flow_event.py +110 -0
  334. lusid/models/credit_rating.py +9 -1
  335. lusid/models/credit_spread_curve_data.py +13 -5
  336. lusid/models/credit_support_annex.py +9 -1
  337. lusid/models/currency_and_amount.py +10 -7
  338. lusid/models/curve_options.py +9 -1
  339. lusid/models/custodian_account.py +10 -2
  340. lusid/models/custodian_account_properties.py +9 -1
  341. lusid/models/custodian_account_request.py +11 -3
  342. lusid/models/custodian_accounts_upsert_response.py +9 -1
  343. lusid/models/custom_data_model.py +97 -0
  344. lusid/models/custom_data_model_criteria.py +142 -0
  345. lusid/models/custom_data_model_identifier_type_specification.py +79 -0
  346. lusid/models/custom_data_model_identifier_type_specification_with_display_name.py +86 -0
  347. lusid/models/custom_data_model_property_specification.py +79 -0
  348. lusid/models/custom_data_model_property_specification_with_display_name.py +86 -0
  349. lusid/models/custom_entity_definition.py +32 -3
  350. lusid/models/custom_entity_definition_request.py +9 -1
  351. lusid/models/custom_entity_entity.py +154 -0
  352. lusid/models/custom_entity_field.py +9 -1
  353. lusid/models/custom_entity_field_definition.py +9 -1
  354. lusid/models/custom_entity_id.py +9 -1
  355. lusid/models/custom_entity_request.py +9 -1
  356. lusid/models/custom_entity_response.py +16 -2
  357. lusid/models/custom_entity_type.py +32 -3
  358. lusid/models/cut_label_definition.py +16 -2
  359. lusid/models/cut_local_time.py +14 -4
  360. lusid/models/data_definition.py +9 -1
  361. lusid/models/data_map_key.py +9 -1
  362. lusid/models/data_mapping.py +9 -1
  363. lusid/models/data_model_summary.py +120 -0
  364. lusid/models/data_scope.py +9 -1
  365. lusid/models/data_type.py +29 -9
  366. lusid/models/data_type_entity.py +139 -0
  367. lusid/models/data_type_summary.py +17 -3
  368. lusid/models/date_attributes.py +9 -1
  369. lusid/models/date_or_diary_entry.py +9 -1
  370. lusid/models/date_range.py +9 -1
  371. lusid/models/date_time_compliance_parameter.py +12 -4
  372. lusid/models/date_time_list_compliance_parameter.py +12 -4
  373. lusid/models/day_month.py +79 -0
  374. lusid/models/decimal_compliance_parameter.py +12 -4
  375. lusid/models/decimal_list.py +13 -5
  376. lusid/models/decimal_list_compliance_parameter.py +12 -4
  377. lusid/models/decorated_compliance_run_summary.py +9 -1
  378. lusid/models/delete_accounts_response.py +9 -1
  379. lusid/models/delete_custodian_accounts_response.py +9 -1
  380. lusid/models/delete_instrument_properties_response.py +16 -2
  381. lusid/models/delete_instrument_response.py +16 -2
  382. lusid/models/delete_instruments_response.py +31 -2
  383. lusid/models/delete_relation_request.py +9 -1
  384. lusid/models/delete_relationship_request.py +9 -1
  385. lusid/models/deleted_entity_response.py +30 -2
  386. lusid/models/dependency_source_filter.py +34 -4
  387. lusid/models/described_address_key.py +9 -1
  388. lusid/models/dialect.py +18 -4
  389. lusid/models/dialect_id.py +9 -1
  390. lusid/models/dialect_schema.py +9 -1
  391. lusid/models/diary_entry.py +10 -2
  392. lusid/models/diary_entry_request.py +20 -3
  393. lusid/models/discount_factor_curve_data.py +12 -4
  394. lusid/models/discounting_dependency.py +9 -1
  395. lusid/models/dividend_option_event.py +137 -0
  396. lusid/models/dividend_reinvestment_event.py +137 -0
  397. lusid/models/drawdown_event.py +107 -0
  398. lusid/models/early_redemption_election.py +81 -0
  399. lusid/models/early_redemption_event.py +132 -0
  400. lusid/models/economic_dependency.py +9 -1
  401. lusid/models/economic_dependency_with_complex_market_data.py +9 -1
  402. lusid/models/economic_dependency_with_quote.py +9 -1
  403. lusid/models/effective_range.py +79 -0
  404. lusid/models/election_specification.py +81 -0
  405. lusid/models/eligibility_calculation.py +81 -0
  406. lusid/models/empty_model_options.py +12 -4
  407. lusid/models/entity_identifier.py +9 -1
  408. lusid/models/equity.py +16 -6
  409. lusid/models/equity_all_of_identifiers.py +9 -1
  410. lusid/models/equity_curve_by_prices_data.py +12 -4
  411. lusid/models/equity_curve_dependency.py +9 -1
  412. lusid/models/equity_model_options.py +12 -4
  413. lusid/models/equity_option.py +54 -10
  414. lusid/models/equity_swap.py +31 -8
  415. lusid/models/equity_vol_dependency.py +9 -1
  416. lusid/models/equity_vol_surface_data.py +12 -4
  417. lusid/models/error_detail.py +9 -1
  418. lusid/models/event_date_range.py +9 -1
  419. lusid/models/ex_dividend_configuration.py +9 -1
  420. lusid/models/exchange_traded_option.py +21 -7
  421. lusid/models/exchange_traded_option_contract_details.py +29 -5
  422. lusid/models/execution.py +9 -1
  423. lusid/models/execution_request.py +9 -1
  424. lusid/models/execution_set_request.py +9 -1
  425. lusid/models/exercise_event.py +13 -7
  426. lusid/models/exotic_instrument.py +12 -4
  427. lusid/models/expanded_group.py +9 -1
  428. lusid/models/expiry_event.py +99 -0
  429. lusid/models/external_fee_component_filter.py +102 -0
  430. lusid/models/fee.py +223 -0
  431. lusid/models/fee_accrual.py +113 -0
  432. lusid/models/{reconciliation_run_break.py → fee_properties.py} +42 -35
  433. lusid/models/fee_request.py +192 -0
  434. lusid/models/fee_rule.py +9 -1
  435. lusid/models/fee_rule_upsert_request.py +9 -1
  436. lusid/models/fee_rule_upsert_response.py +9 -1
  437. lusid/models/fee_transaction_template_specification.py +87 -0
  438. lusid/models/fee_type.py +123 -0
  439. lusid/models/fee_type_request.py +113 -0
  440. lusid/models/field_definition.py +19 -4
  441. lusid/models/field_schema.py +9 -1
  442. lusid/models/field_value.py +25 -5
  443. lusid/models/file_response.py +9 -1
  444. lusid/models/filter_predicate_compliance_parameter.py +99 -0
  445. lusid/models/filter_step.py +109 -0
  446. lusid/models/filter_step_request.py +106 -0
  447. lusid/models/fixed_leg.py +12 -4
  448. lusid/models/fixed_leg_all_of_overrides.py +9 -1
  449. lusid/models/fixed_schedule.py +16 -13
  450. lusid/models/flexible_deposit.py +113 -0
  451. lusid/models/flexible_loan.py +113 -0
  452. lusid/models/float_schedule.py +34 -16
  453. lusid/models/floating_leg.py +12 -4
  454. lusid/models/flow_convention_name.py +10 -2
  455. lusid/models/flow_conventions.py +26 -5
  456. lusid/models/forward_rate_agreement.py +12 -4
  457. lusid/models/from_recipe.py +89 -0
  458. lusid/models/fund.py +195 -0
  459. lusid/models/fund_amount.py +77 -0
  460. lusid/models/fund_configuration.py +201 -0
  461. lusid/models/fund_configuration_properties.py +123 -0
  462. lusid/models/fund_configuration_request.py +171 -0
  463. lusid/models/fund_details.py +82 -0
  464. lusid/models/fund_id_list.py +107 -0
  465. lusid/models/fund_pnl_breakdown.py +118 -0
  466. lusid/models/fund_previous_nav.py +77 -0
  467. lusid/models/fund_properties.py +123 -0
  468. lusid/models/fund_request.py +178 -0
  469. lusid/models/fund_share_class.py +122 -0
  470. lusid/models/fund_valuation_point_data.py +154 -0
  471. lusid/models/funding_leg.py +12 -4
  472. lusid/models/funding_leg_options.py +12 -4
  473. lusid/models/future.py +28 -8
  474. lusid/models/future_expiry_event.py +108 -0
  475. lusid/models/future_mark_to_market_event.py +108 -0
  476. lusid/models/futures_contract_details.py +24 -4
  477. lusid/models/fx_conventions.py +81 -0
  478. lusid/models/fx_dependency.py +9 -1
  479. lusid/models/fx_forward.py +18 -8
  480. lusid/models/fx_forward_curve_by_quote_reference.py +13 -5
  481. lusid/models/fx_forward_curve_data.py +12 -4
  482. lusid/models/fx_forward_model_options.py +12 -4
  483. lusid/models/fx_forward_pips_curve_data.py +12 -4
  484. lusid/models/fx_forward_settlement_event.py +152 -0
  485. lusid/models/fx_forward_tenor_curve_data.py +13 -5
  486. lusid/models/fx_forward_tenor_pips_curve_data.py +13 -5
  487. lusid/models/fx_forwards_dependency.py +9 -1
  488. lusid/models/fx_linked_notional_schedule.py +116 -0
  489. lusid/models/fx_option.py +12 -4
  490. lusid/models/fx_rate_schedule.py +12 -4
  491. lusid/models/fx_swap.py +13 -5
  492. lusid/models/fx_tenor_convention.py +9 -1
  493. lusid/models/fx_vol_dependency.py +9 -1
  494. lusid/models/fx_vol_surface_data.py +12 -4
  495. lusid/models/general_ledger_profile_mapping.py +9 -1
  496. lusid/models/general_ledger_profile_request.py +9 -1
  497. lusid/models/general_ledger_profile_response.py +9 -1
  498. lusid/models/generated_event_diagnostics.py +83 -0
  499. lusid/models/get_cds_flow_conventions_response.py +9 -1
  500. lusid/models/get_complex_market_data_response.py +9 -1
  501. lusid/models/get_counterparty_agreement_response.py +9 -1
  502. lusid/models/get_credit_support_annex_response.py +9 -1
  503. lusid/models/get_data_map_response.py +9 -1
  504. lusid/models/get_flow_conventions_response.py +9 -1
  505. lusid/models/get_index_convention_response.py +9 -1
  506. lusid/models/get_instruments_response.py +9 -1
  507. lusid/models/get_quotes_response.py +9 -1
  508. lusid/models/{reconciliation_run.py → get_recipe_composer_response.py} +24 -16
  509. lusid/models/get_recipe_response.py +9 -1
  510. lusid/models/get_reference_portfolio_constituents_response.py +9 -1
  511. lusid/models/get_structured_result_data_response.py +9 -1
  512. lusid/models/get_virtual_document_response.py +9 -1
  513. lusid/models/group_by_selector_compliance_parameter.py +99 -0
  514. lusid/models/group_by_step.py +109 -0
  515. lusid/models/group_by_step_request.py +106 -0
  516. lusid/models/group_calculation_compliance_parameter.py +99 -0
  517. lusid/models/group_filter_predicate_compliance_parameter.py +99 -0
  518. lusid/models/group_filter_step.py +109 -0
  519. lusid/models/group_filter_step_request.py +106 -0
  520. lusid/models/group_of_market_data_key_rules.py +87 -0
  521. lusid/models/group_reconciliation_aggregate_attribute_rule.py +92 -0
  522. lusid/models/group_reconciliation_aggregate_attribute_values.py +94 -0
  523. lusid/models/group_reconciliation_aggregate_comparison_rule_operand.py +79 -0
  524. lusid/models/group_reconciliation_comparison_result.py +156 -0
  525. lusid/models/group_reconciliation_comparison_rule_string_value_map.py +81 -0
  526. lusid/models/group_reconciliation_comparison_rule_tolerance.py +79 -0
  527. lusid/models/group_reconciliation_comparison_ruleset.py +133 -0
  528. lusid/models/group_reconciliation_core_attribute_rule.py +103 -0
  529. lusid/models/group_reconciliation_core_attribute_values.py +94 -0
  530. lusid/models/group_reconciliation_core_comparison_rule_operand.py +79 -0
  531. lusid/models/group_reconciliation_date_pair.py +89 -0
  532. lusid/models/group_reconciliation_dates.py +86 -0
  533. lusid/models/group_reconciliation_definition.py +144 -0
  534. lusid/models/group_reconciliation_definition_comparison_ruleset_ids.py +91 -0
  535. lusid/models/group_reconciliation_definition_currencies.py +79 -0
  536. lusid/models/group_reconciliation_definition_portfolio_entity_ids.py +94 -0
  537. lusid/models/group_reconciliation_definition_recipe_ids.py +86 -0
  538. lusid/models/group_reconciliation_instance_id.py +79 -0
  539. lusid/models/group_reconciliation_result_statuses.py +97 -0
  540. lusid/models/group_reconciliation_result_types.py +104 -0
  541. lusid/models/group_reconciliation_review_statuses.py +104 -0
  542. lusid/models/group_reconciliation_run_details.py +84 -0
  543. lusid/models/group_reconciliation_run_request.py +83 -0
  544. lusid/models/group_reconciliation_run_response.py +85 -0
  545. lusid/models/group_reconciliation_summary.py +129 -0
  546. lusid/models/group_reconciliation_user_review.py +120 -0
  547. lusid/models/group_reconciliation_user_review_add.py +96 -0
  548. lusid/models/group_reconciliation_user_review_break_code.py +88 -0
  549. lusid/models/group_reconciliation_user_review_comment.py +88 -0
  550. lusid/models/group_reconciliation_user_review_match_key.py +88 -0
  551. lusid/models/group_reconciliation_user_review_remove.py +96 -0
  552. lusid/models/grouped_result_of_address_key.py +9 -1
  553. lusid/models/holding_adjustment.py +9 -1
  554. lusid/models/holding_adjustment_with_date.py +9 -1
  555. lusid/models/holding_context.py +9 -1
  556. lusid/models/holding_contributor.py +19 -4
  557. lusid/models/holding_ids_request.py +77 -0
  558. lusid/models/holding_pricing_info.py +118 -0
  559. lusid/models/holdings_adjustment.py +9 -1
  560. lusid/models/holdings_adjustment_header.py +9 -1
  561. lusid/models/i_unit_definition_dto.py +9 -1
  562. lusid/models/id_selector_definition.py +9 -1
  563. lusid/models/identifier_part_schema.py +9 -1
  564. lusid/models/index_convention.py +11 -3
  565. lusid/models/index_model_options.py +12 -4
  566. lusid/models/index_projection_dependency.py +9 -1
  567. lusid/models/industry_classifier.py +9 -1
  568. lusid/models/inflation_fixing_dependency.py +9 -1
  569. lusid/models/inflation_index_conventions.py +11 -3
  570. lusid/models/inflation_leg.py +12 -4
  571. lusid/models/inflation_linked_bond.py +28 -7
  572. lusid/models/inflation_swap.py +31 -8
  573. lusid/models/informational_error_event.py +12 -4
  574. lusid/models/informational_event.py +13 -7
  575. lusid/models/inline_valuation_request.py +9 -1
  576. lusid/models/inline_valuations_reconciliation_request.py +9 -1
  577. lusid/models/input_transition.py +9 -1
  578. lusid/models/instrument.py +22 -2
  579. lusid/models/instrument_capabilities.py +9 -1
  580. lusid/models/instrument_cash_flow.py +9 -1
  581. lusid/models/instrument_definition.py +17 -3
  582. lusid/models/instrument_definition_format.py +9 -1
  583. lusid/models/instrument_entity.py +154 -0
  584. lusid/models/instrument_event.py +54 -6
  585. lusid/models/instrument_event_configuration.py +88 -0
  586. lusid/models/instrument_event_holder.py +28 -3
  587. lusid/models/instrument_event_instruction.py +151 -0
  588. lusid/models/instrument_event_instruction_request.py +102 -0
  589. lusid/models/instrument_event_instructions_response.py +115 -0
  590. lusid/models/instrument_event_type.py +40 -0
  591. lusid/models/instrument_id_type_descriptor.py +9 -1
  592. lusid/models/instrument_id_value.py +9 -1
  593. lusid/models/instrument_leg.py +12 -4
  594. lusid/models/instrument_list.py +13 -5
  595. lusid/models/instrument_list_compliance_parameter.py +12 -4
  596. lusid/models/instrument_match.py +9 -1
  597. lusid/models/instrument_models.py +9 -1
  598. lusid/models/instrument_payment_diary.py +9 -1
  599. lusid/models/instrument_payment_diary_leg.py +13 -3
  600. lusid/models/instrument_payment_diary_row.py +9 -1
  601. lusid/models/instrument_properties.py +9 -1
  602. lusid/models/instrument_resolution_detail.py +127 -0
  603. lusid/models/instrument_search_property.py +9 -1
  604. lusid/models/instrument_type.py +7 -0
  605. lusid/models/interest_rate_swap.py +14 -6
  606. lusid/models/interest_rate_swaption.py +13 -5
  607. lusid/models/intermediate_compliance_step.py +118 -0
  608. lusid/models/intermediate_compliance_step_request.py +106 -0
  609. lusid/models/intermediate_securities_distribution_event.py +148 -0
  610. lusid/models/ir_vol_cube_data.py +12 -4
  611. lusid/models/ir_vol_dependency.py +9 -1
  612. lusid/models/is_business_day_response.py +9 -1
  613. lusid/models/journal_entry_line.py +60 -5
  614. lusid/models/journal_entry_lines_query_parameters.py +10 -2
  615. lusid/models/label_value_set.py +10 -2
  616. lusid/models/lapse_election.py +81 -0
  617. lusid/models/leg_definition.py +24 -3
  618. lusid/models/legal_entity.py +9 -1
  619. lusid/models/level_step.py +9 -1
  620. lusid/models/life_cycle_event_lineage.py +9 -1
  621. lusid/models/life_cycle_event_value.py +9 -1
  622. lusid/models/lineage_member.py +95 -0
  623. lusid/models/link.py +9 -1
  624. lusid/models/list_aggregation_reconciliation.py +9 -1
  625. lusid/models/list_aggregation_response.py +9 -1
  626. lusid/models/list_complex_market_data_with_meta_data_response.py +9 -1
  627. lusid/models/loan_facility.py +115 -0
  628. lusid/models/loan_interest_repayment_event.py +105 -0
  629. lusid/models/loan_period.py +9 -1
  630. lusid/models/lock_period_diary_entry_request.py +99 -0
  631. lusid/models/lusid_instrument.py +20 -6
  632. lusid/models/lusid_problem_details.py +9 -1
  633. lusid/models/lusid_trade_ticket.py +17 -2
  634. lusid/models/lusid_unique_id.py +9 -1
  635. lusid/models/lusid_validation_problem_details.py +9 -1
  636. lusid/models/mapped_string.py +9 -1
  637. lusid/models/mapping.py +9 -1
  638. lusid/models/mapping_rule.py +9 -1
  639. lusid/models/mark_to_market_conventions.py +82 -0
  640. lusid/models/market_context.py +26 -3
  641. lusid/models/market_context_suppliers.py +9 -1
  642. lusid/models/market_data_key_rule.py +17 -7
  643. lusid/models/market_data_options.py +9 -1
  644. lusid/models/market_data_overrides.py +9 -1
  645. lusid/models/market_data_specific_rule.py +17 -7
  646. lusid/models/market_data_type.py +1 -0
  647. lusid/models/market_options.py +9 -1
  648. lusid/models/market_quote.py +12 -4
  649. lusid/models/mastered_instrument.py +147 -0
  650. lusid/models/match_criterion.py +9 -1
  651. lusid/models/maturity_event.py +99 -0
  652. lusid/models/mbs_coupon_event.py +110 -0
  653. lusid/models/mbs_interest_deferral_event.py +110 -0
  654. lusid/models/mbs_interest_shortfall_event.py +110 -0
  655. lusid/models/mbs_principal_event.py +110 -0
  656. lusid/models/mbs_principal_write_off_event.py +110 -0
  657. lusid/models/merger_event.py +180 -0
  658. lusid/models/metric_value.py +9 -1
  659. lusid/models/model_options.py +14 -7
  660. lusid/models/model_options_type.py +0 -1
  661. lusid/models/model_property.py +9 -1
  662. lusid/models/model_schema.py +9 -1
  663. lusid/models/model_selection.py +12 -4
  664. lusid/models/move_orders_to_different_blocks_request.py +85 -0
  665. lusid/models/moved_order_to_different_block_response.py +93 -0
  666. lusid/models/movement_type.py +4 -0
  667. lusid/models/multi_currency_amounts.py +79 -0
  668. lusid/models/new_instrument.py +101 -0
  669. lusid/models/next_value_in_sequence_response.py +9 -1
  670. lusid/models/opaque_dependency.py +9 -1
  671. lusid/models/opaque_market_data.py +12 -4
  672. lusid/models/opaque_model_options.py +12 -4
  673. lusid/models/open_event.py +12 -4
  674. lusid/models/operation.py +10 -2
  675. lusid/models/operation_type.py +1 -0
  676. lusid/models/option_entry.py +19 -4
  677. lusid/models/option_exercise_cash_event.py +159 -0
  678. lusid/models/option_exercise_election.py +81 -0
  679. lusid/models/option_exercise_physical_event.py +164 -0
  680. lusid/models/optionality_schedule.py +12 -4
  681. lusid/models/order.py +9 -1
  682. lusid/models/order_by_spec.py +9 -1
  683. lusid/models/order_flow_configuration.py +10 -2
  684. lusid/models/order_graph_block.py +19 -3
  685. lusid/models/order_graph_block_allocation_detail.py +9 -1
  686. lusid/models/order_graph_block_allocation_synopsis.py +9 -1
  687. lusid/models/order_graph_block_execution_detail.py +9 -1
  688. lusid/models/order_graph_block_execution_synopsis.py +9 -1
  689. lusid/models/order_graph_block_order_detail.py +42 -5
  690. lusid/models/order_graph_block_order_synopsis.py +18 -3
  691. lusid/models/order_graph_block_placement_detail.py +9 -1
  692. lusid/models/order_graph_block_placement_synopsis.py +18 -3
  693. lusid/models/{upsert_reconciliation_run_request.py → order_graph_block_transaction_detail.py} +21 -15
  694. lusid/models/order_graph_block_transaction_synopsis.py +87 -0
  695. lusid/models/order_graph_placement.py +9 -1
  696. lusid/models/order_graph_placement_allocation_detail.py +9 -1
  697. lusid/models/order_graph_placement_allocation_synopsis.py +9 -1
  698. lusid/models/order_graph_placement_child_placement_detail.py +9 -1
  699. lusid/models/order_graph_placement_execution_detail.py +9 -1
  700. lusid/models/order_graph_placement_execution_synopsis.py +9 -1
  701. lusid/models/order_graph_placement_order_detail.py +9 -1
  702. lusid/models/order_graph_placement_order_synopsis.py +9 -1
  703. lusid/models/order_graph_placement_placement_synopsis.py +9 -1
  704. lusid/models/order_instruction.py +9 -1
  705. lusid/models/order_instruction_request.py +9 -1
  706. lusid/models/order_instruction_set_request.py +9 -1
  707. lusid/models/order_request.py +9 -1
  708. lusid/models/order_set_request.py +9 -1
  709. lusid/models/order_update_request.py +129 -0
  710. lusid/models/otc_confirmation.py +9 -1
  711. lusid/models/output_transaction.py +46 -3
  712. lusid/models/output_transition.py +9 -1
  713. lusid/models/package.py +9 -1
  714. lusid/models/package_request.py +9 -1
  715. lusid/models/package_set_request.py +9 -1
  716. lusid/models/paged_resource_list_of_abor.py +9 -1
  717. lusid/models/paged_resource_list_of_abor_configuration.py +9 -1
  718. lusid/models/paged_resource_list_of_account.py +9 -1
  719. lusid/models/paged_resource_list_of_address_key_definition.py +9 -1
  720. lusid/models/paged_resource_list_of_allocation.py +9 -1
  721. lusid/models/paged_resource_list_of_amortisation_rule_set.py +121 -0
  722. lusid/models/paged_resource_list_of_block.py +9 -1
  723. lusid/models/paged_resource_list_of_calendar.py +9 -1
  724. lusid/models/paged_resource_list_of_chart_of_accounts.py +9 -1
  725. lusid/models/paged_resource_list_of_cleardown_module_response.py +121 -0
  726. lusid/models/paged_resource_list_of_cleardown_module_rule.py +121 -0
  727. lusid/models/paged_resource_list_of_closed_period.py +121 -0
  728. lusid/models/paged_resource_list_of_compliance_rule_response.py +9 -1
  729. lusid/models/paged_resource_list_of_compliance_run_info_v2.py +9 -1
  730. lusid/models/paged_resource_list_of_compliance_template.py +9 -1
  731. lusid/models/paged_resource_list_of_corporate_action_source.py +9 -1
  732. lusid/models/paged_resource_list_of_custodian_account.py +9 -1
  733. lusid/models/paged_resource_list_of_custom_entity_definition.py +9 -1
  734. lusid/models/paged_resource_list_of_custom_entity_response.py +9 -1
  735. lusid/models/paged_resource_list_of_custom_entity_type.py +9 -1
  736. lusid/models/paged_resource_list_of_cut_label_definition.py +9 -1
  737. lusid/models/paged_resource_list_of_data_type_summary.py +9 -1
  738. lusid/models/paged_resource_list_of_dialect_id.py +9 -1
  739. lusid/models/paged_resource_list_of_diary_entry.py +9 -1
  740. lusid/models/paged_resource_list_of_execution.py +9 -1
  741. lusid/models/{paged_resource_list_of_reconciliation_run.py → paged_resource_list_of_fee.py} +20 -12
  742. lusid/models/paged_resource_list_of_fee_type.py +121 -0
  743. lusid/models/{paged_resource_list_of_reconciliation_run_break.py → paged_resource_list_of_fund.py} +20 -12
  744. lusid/models/paged_resource_list_of_fund_configuration.py +121 -0
  745. lusid/models/paged_resource_list_of_general_ledger_profile_response.py +9 -1
  746. lusid/models/paged_resource_list_of_group_reconciliation_comparison_result.py +121 -0
  747. lusid/models/paged_resource_list_of_group_reconciliation_comparison_ruleset.py +121 -0
  748. lusid/models/paged_resource_list_of_group_reconciliation_definition.py +121 -0
  749. lusid/models/paged_resource_list_of_instrument.py +9 -1
  750. lusid/models/paged_resource_list_of_instrument_event_holder.py +9 -1
  751. lusid/models/paged_resource_list_of_instrument_event_instruction.py +121 -0
  752. lusid/models/paged_resource_list_of_legal_entity.py +9 -1
  753. lusid/models/paged_resource_list_of_order.py +9 -1
  754. lusid/models/paged_resource_list_of_order_graph_block.py +9 -1
  755. lusid/models/paged_resource_list_of_order_graph_placement.py +9 -1
  756. lusid/models/paged_resource_list_of_order_instruction.py +9 -1
  757. lusid/models/paged_resource_list_of_package.py +9 -1
  758. lusid/models/paged_resource_list_of_participation.py +9 -1
  759. lusid/models/paged_resource_list_of_person.py +9 -1
  760. lusid/models/paged_resource_list_of_placement.py +9 -1
  761. lusid/models/paged_resource_list_of_portfolio_group.py +9 -1
  762. lusid/models/paged_resource_list_of_portfolio_group_search_result.py +9 -1
  763. lusid/models/paged_resource_list_of_portfolio_search_result.py +9 -1
  764. lusid/models/paged_resource_list_of_posting_module_response.py +9 -1
  765. lusid/models/paged_resource_list_of_posting_module_rule.py +9 -1
  766. lusid/models/paged_resource_list_of_property_definition.py +121 -0
  767. lusid/models/paged_resource_list_of_property_definition_search_result.py +9 -1
  768. lusid/models/paged_resource_list_of_reconciliation.py +9 -1
  769. lusid/models/paged_resource_list_of_reference_list_response.py +9 -1
  770. lusid/models/paged_resource_list_of_relationship_definition.py +9 -1
  771. lusid/models/paged_resource_list_of_sequence_definition.py +9 -1
  772. lusid/models/paged_resource_list_of_staged_modification.py +121 -0
  773. lusid/models/paged_resource_list_of_staged_modifications_requested_change_interval.py +121 -0
  774. lusid/models/paged_resource_list_of_staging_rule_set.py +121 -0
  775. lusid/models/paged_resource_list_of_transaction_template.py +121 -0
  776. lusid/models/paged_resource_list_of_transaction_template_specification.py +121 -0
  777. lusid/models/paged_resource_list_of_translation_script_id.py +9 -1
  778. lusid/models/paged_resource_list_of_valuation_point_overview.py +121 -0
  779. lusid/models/paged_resource_list_of_virtual_row.py +9 -1
  780. lusid/models/paged_resource_list_of_workspace.py +121 -0
  781. lusid/models/paged_resource_list_of_workspace_item.py +121 -0
  782. lusid/models/participation.py +9 -1
  783. lusid/models/participation_request.py +12 -10
  784. lusid/models/participation_set_request.py +9 -1
  785. lusid/models/percent_check_step.py +118 -0
  786. lusid/models/percent_check_step_request.py +106 -0
  787. lusid/models/performance_return.py +9 -1
  788. lusid/models/performance_returns_metric.py +10 -2
  789. lusid/models/period_diary_entries_reopened_response.py +112 -0
  790. lusid/models/perpetual_property.py +9 -1
  791. lusid/models/person.py +26 -3
  792. lusid/models/place_blocks_request.py +85 -0
  793. lusid/models/placement.py +9 -1
  794. lusid/models/placement_request.py +9 -1
  795. lusid/models/placement_set_request.py +9 -1
  796. lusid/models/placement_update_request.py +129 -0
  797. lusid/models/pnl_journal_entry_line.py +103 -0
  798. lusid/models/portfolio.py +41 -9
  799. lusid/models/portfolio_cash_flow.py +9 -1
  800. lusid/models/portfolio_cash_ladder.py +9 -1
  801. lusid/models/portfolio_details.py +38 -6
  802. lusid/models/portfolio_entity.py +154 -0
  803. lusid/models/portfolio_entity_id.py +11 -19
  804. lusid/models/portfolio_group.py +9 -1
  805. lusid/models/portfolio_group_id_compliance_parameter.py +12 -4
  806. lusid/models/portfolio_group_id_list.py +13 -5
  807. lusid/models/portfolio_group_id_list_compliance_parameter.py +12 -4
  808. lusid/models/portfolio_group_properties.py +9 -1
  809. lusid/models/portfolio_group_search_result.py +9 -1
  810. lusid/models/portfolio_holding.py +52 -4
  811. lusid/models/portfolio_id.py +88 -0
  812. lusid/models/portfolio_id_compliance_parameter.py +12 -4
  813. lusid/models/portfolio_id_list.py +13 -5
  814. lusid/models/portfolio_id_list_compliance_parameter.py +12 -4
  815. lusid/models/portfolio_properties.py +16 -2
  816. lusid/models/portfolio_reconciliation_request.py +9 -1
  817. lusid/models/portfolio_result_data_key_rule.py +9 -1
  818. lusid/models/portfolio_return_breakdown.py +9 -1
  819. lusid/models/portfolio_search_result.py +12 -4
  820. lusid/models/portfolio_trade_ticket.py +9 -1
  821. lusid/models/portfolio_type.py +1 -0
  822. lusid/models/portfolio_without_href.py +228 -0
  823. lusid/models/portfolios_reconciliation_request.py +9 -1
  824. lusid/models/posting_module_details.py +9 -1
  825. lusid/models/posting_module_request.py +9 -1
  826. lusid/models/posting_module_response.py +9 -1
  827. lusid/models/posting_module_rule.py +14 -6
  828. lusid/models/posting_module_rules_updated_response.py +9 -1
  829. lusid/models/pre_trade_configuration.py +77 -0
  830. lusid/models/premium.py +9 -1
  831. lusid/models/previous_fund_valuation_point_data.py +81 -0
  832. lusid/models/{action_result_of_portfolio.py → previous_nav.py} +24 -18
  833. lusid/models/previous_share_class_breakdown.py +89 -0
  834. lusid/models/pricing_context.py +17 -3
  835. lusid/models/pricing_model.py +3 -1
  836. lusid/models/pricing_options.py +17 -3
  837. lusid/models/processed_command.py +9 -1
  838. lusid/models/property_definition.py +34 -5
  839. lusid/models/property_definition_entity.py +154 -0
  840. lusid/models/property_definition_search_result.py +15 -5
  841. lusid/models/property_domain.py +41 -0
  842. lusid/models/property_filter.py +9 -1
  843. lusid/models/property_interval.py +9 -1
  844. lusid/models/property_key_compliance_parameter.py +12 -4
  845. lusid/models/property_key_list_compliance_parameter.py +12 -4
  846. lusid/models/property_list.py +107 -0
  847. lusid/models/property_list_compliance_parameter.py +103 -0
  848. lusid/models/property_schema.py +9 -1
  849. lusid/models/property_value.py +9 -1
  850. lusid/models/property_value_equals.py +9 -1
  851. lusid/models/property_value_in.py +9 -1
  852. lusid/models/protection_payout_cash_flow_event.py +110 -0
  853. lusid/models/query_applicable_instrument_events_request.py +97 -0
  854. lusid/models/query_bucketed_cash_flows_request.py +9 -1
  855. lusid/models/query_cash_flows_request.py +9 -1
  856. lusid/models/query_instrument_events_request.py +9 -1
  857. lusid/models/query_trade_tickets_request.py +9 -1
  858. lusid/models/queryable_key.py +132 -0
  859. lusid/models/quote.py +9 -1
  860. lusid/models/quote_access_metadata_rule.py +9 -1
  861. lusid/models/quote_access_metadata_rule_id.py +11 -3
  862. lusid/models/quote_dependency.py +9 -1
  863. lusid/models/quote_id.py +9 -1
  864. lusid/models/quote_series_id.py +15 -23
  865. lusid/models/quote_type.py +3 -0
  866. lusid/models/raw_vendor_event.py +14 -8
  867. lusid/models/re_open_period_diary_entry_request.py +92 -0
  868. lusid/models/realised_gain_loss.py +11 -3
  869. lusid/models/recipe_block.py +95 -0
  870. lusid/models/recipe_composer.py +108 -0
  871. lusid/models/recipe_value.py +95 -0
  872. lusid/models/recombine_step.py +109 -0
  873. lusid/models/recommended_sort_by.py +84 -0
  874. lusid/models/reconcile_date_time_rule.py +9 -1
  875. lusid/models/reconcile_numeric_rule.py +9 -1
  876. lusid/models/reconcile_string_rule.py +9 -1
  877. lusid/models/reconciled_transaction.py +9 -1
  878. lusid/models/reconciliation.py +9 -1
  879. lusid/models/reconciliation_break.py +9 -1
  880. lusid/models/reconciliation_configuration.py +9 -1
  881. lusid/models/reconciliation_id.py +9 -1
  882. lusid/models/reconciliation_left_right_address_key_pair.py +9 -1
  883. lusid/models/reconciliation_line.py +9 -1
  884. lusid/models/reconciliation_request.py +9 -1
  885. lusid/models/reconciliation_response.py +9 -1
  886. lusid/models/reconciliation_rule.py +9 -1
  887. lusid/models/reconciliation_side_configuration.py +9 -1
  888. lusid/models/reconciliation_transactions.py +9 -1
  889. lusid/models/reference_data.py +9 -1
  890. lusid/models/reference_instrument.py +12 -4
  891. lusid/models/reference_list.py +16 -6
  892. lusid/models/reference_list_request.py +9 -1
  893. lusid/models/reference_list_response.py +9 -1
  894. lusid/models/reference_list_type.py +2 -0
  895. lusid/models/reference_portfolio_constituent.py +9 -1
  896. lusid/models/reference_portfolio_constituent_request.py +9 -1
  897. lusid/models/related_entity.py +10 -2
  898. lusid/models/relation.py +9 -1
  899. lusid/models/relation_definition.py +9 -1
  900. lusid/models/relationship.py +9 -1
  901. lusid/models/relationship_definition.py +9 -1
  902. lusid/models/relative_date_offset.py +86 -0
  903. lusid/models/repo.py +12 -4
  904. lusid/models/requested_changes.py +84 -0
  905. lusid/models/reset_event.py +13 -7
  906. lusid/models/resource_id.py +9 -1
  907. lusid/models/resource_list_of_access_controlled_resource.py +9 -1
  908. lusid/models/resource_list_of_access_metadata_value_of.py +9 -1
  909. lusid/models/resource_list_of_address_key_definition.py +9 -1
  910. lusid/models/resource_list_of_aggregated_return.py +9 -1
  911. lusid/models/resource_list_of_aggregation_query.py +9 -1
  912. lusid/models/resource_list_of_allocation.py +9 -1
  913. lusid/models/resource_list_of_applicable_instrument_event.py +121 -0
  914. lusid/models/resource_list_of_block.py +9 -1
  915. lusid/models/resource_list_of_block_and_orders.py +121 -0
  916. lusid/models/resource_list_of_calendar_date.py +9 -1
  917. lusid/models/resource_list_of_change.py +9 -1
  918. lusid/models/resource_list_of_change_history.py +9 -1
  919. lusid/models/resource_list_of_change_interval.py +121 -0
  920. lusid/models/resource_list_of_change_interval_with_order_management_detail.py +121 -0
  921. lusid/models/resource_list_of_compliance_breached_order_info.py +9 -1
  922. lusid/models/resource_list_of_compliance_rule.py +9 -1
  923. lusid/models/resource_list_of_compliance_rule_result.py +9 -1
  924. lusid/models/resource_list_of_compliance_run_info.py +9 -1
  925. lusid/models/resource_list_of_constituents_adjustment_header.py +9 -1
  926. lusid/models/resource_list_of_corporate_action.py +9 -1
  927. lusid/models/resource_list_of_data_model_summary.py +121 -0
  928. lusid/models/resource_list_of_data_type.py +9 -1
  929. lusid/models/resource_list_of_execution.py +9 -1
  930. lusid/models/resource_list_of_fee_rule.py +9 -1
  931. lusid/models/resource_list_of_get_cds_flow_conventions_response.py +9 -1
  932. lusid/models/resource_list_of_get_counterparty_agreement_response.py +9 -1
  933. lusid/models/resource_list_of_get_credit_support_annex_response.py +9 -1
  934. lusid/models/resource_list_of_get_flow_conventions_response.py +9 -1
  935. lusid/models/resource_list_of_get_index_convention_response.py +9 -1
  936. lusid/models/resource_list_of_get_recipe_composer_response.py +121 -0
  937. lusid/models/resource_list_of_get_recipe_response.py +9 -1
  938. lusid/models/resource_list_of_holdings_adjustment_header.py +9 -1
  939. lusid/models/resource_list_of_i_unit_definition_dto.py +9 -1
  940. lusid/models/resource_list_of_instrument_cash_flow.py +9 -1
  941. lusid/models/resource_list_of_instrument_event_holder.py +9 -1
  942. lusid/models/resource_list_of_instrument_id_type_descriptor.py +9 -1
  943. lusid/models/resource_list_of_legal_entity.py +9 -1
  944. lusid/models/resource_list_of_list_complex_market_data_with_meta_data_response.py +9 -1
  945. lusid/models/resource_list_of_mapping.py +9 -1
  946. lusid/models/resource_list_of_moved_order_to_different_block_response.py +121 -0
  947. lusid/models/resource_list_of_order.py +9 -1
  948. lusid/models/resource_list_of_order_instruction.py +9 -1
  949. lusid/models/resource_list_of_output_transaction.py +121 -0
  950. lusid/models/resource_list_of_package.py +9 -1
  951. lusid/models/resource_list_of_participation.py +9 -1
  952. lusid/models/resource_list_of_performance_return.py +9 -1
  953. lusid/models/resource_list_of_person.py +9 -1
  954. lusid/models/resource_list_of_placement.py +9 -1
  955. lusid/models/resource_list_of_portfolio.py +9 -1
  956. lusid/models/resource_list_of_portfolio_cash_flow.py +9 -1
  957. lusid/models/resource_list_of_portfolio_cash_ladder.py +9 -1
  958. lusid/models/resource_list_of_portfolio_trade_ticket.py +9 -1
  959. lusid/models/resource_list_of_processed_command.py +9 -1
  960. lusid/models/resource_list_of_property.py +9 -1
  961. lusid/models/resource_list_of_property_definition.py +9 -1
  962. lusid/models/resource_list_of_property_interval.py +9 -1
  963. lusid/models/resource_list_of_queryable_key.py +121 -0
  964. lusid/models/resource_list_of_quote.py +9 -1
  965. lusid/models/resource_list_of_quote_access_metadata_rule.py +9 -1
  966. lusid/models/resource_list_of_reconciliation_break.py +9 -1
  967. lusid/models/resource_list_of_relation.py +9 -1
  968. lusid/models/resource_list_of_relationship.py +9 -1
  969. lusid/models/resource_list_of_scope_definition.py +9 -1
  970. lusid/models/resource_list_of_side_definition.py +9 -1
  971. lusid/models/resource_list_of_string.py +9 -1
  972. lusid/models/resource_list_of_tax_rule_set.py +9 -1
  973. lusid/models/resource_list_of_transaction.py +9 -1
  974. lusid/models/resource_list_of_transaction_type.py +9 -1
  975. lusid/models/resource_list_of_value_type.py +9 -1
  976. lusid/models/response_meta_data.py +9 -1
  977. lusid/models/result_data_key_rule.py +9 -1
  978. lusid/models/result_data_schema.py +9 -1
  979. lusid/models/result_key_rule.py +9 -1
  980. lusid/models/result_value.py +9 -1
  981. lusid/models/result_value0_d.py +9 -1
  982. lusid/models/result_value_bool.py +9 -1
  983. lusid/models/result_value_currency.py +9 -1
  984. lusid/models/result_value_date_time_offset.py +9 -1
  985. lusid/models/result_value_decimal.py +9 -1
  986. lusid/models/result_value_dictionary.py +9 -1
  987. lusid/models/result_value_int.py +9 -1
  988. lusid/models/result_value_string.py +9 -1
  989. lusid/models/return_zero_pv_options.py +77 -0
  990. lusid/models/reverse_stock_split_event.py +135 -0
  991. lusid/models/rounding_configuration.py +9 -1
  992. lusid/models/rounding_configuration_component.py +9 -1
  993. lusid/models/rounding_convention.py +9 -1
  994. lusid/models/rules_interval.py +91 -0
  995. lusid/models/schedule.py +16 -6
  996. lusid/models/schedule_type.py +2 -0
  997. lusid/models/scope_definition.py +9 -1
  998. lusid/models/scrip_dividend_event.py +135 -0
  999. lusid/models/script_map_reference.py +102 -0
  1000. lusid/models/security_election.py +94 -0
  1001. lusid/models/security_offer_election.py +87 -0
  1002. lusid/models/sequence_definition.py +9 -1
  1003. lusid/models/set_amortisation_rules_request.py +81 -0
  1004. lusid/models/set_legal_entity_identifiers_request.py +9 -1
  1005. lusid/models/set_legal_entity_properties_request.py +9 -1
  1006. lusid/models/set_person_identifiers_request.py +9 -1
  1007. lusid/models/set_person_properties_request.py +9 -1
  1008. lusid/models/set_share_class_instruments_request.py +87 -0
  1009. lusid/models/set_transaction_configuration_alias.py +9 -1
  1010. lusid/models/set_transaction_configuration_source_request.py +9 -1
  1011. lusid/models/settlement_cycle.py +87 -0
  1012. lusid/models/settlement_schedule.py +86 -0
  1013. lusid/models/share_class_amount.py +79 -0
  1014. lusid/models/share_class_breakdown.py +162 -0
  1015. lusid/models/share_class_data.py +87 -0
  1016. lusid/models/share_class_dealing_breakdown.py +105 -0
  1017. lusid/models/share_class_details.py +135 -0
  1018. lusid/models/share_class_pnl_breakdown.py +118 -0
  1019. lusid/models/side_configuration_data.py +9 -1
  1020. lusid/models/side_configuration_data_request.py +9 -1
  1021. lusid/models/side_definition.py +17 -9
  1022. lusid/models/side_definition_request.py +18 -3
  1023. lusid/models/sides_definition_request.py +9 -8
  1024. lusid/models/simple_cash_flow_loan.py +12 -4
  1025. lusid/models/simple_instrument.py +12 -4
  1026. lusid/models/simple_rounding_convention.py +84 -0
  1027. lusid/models/specific_holding_pricing_info.py +83 -0
  1028. lusid/models/spin_off_event.py +148 -0
  1029. lusid/models/staged_modification.py +197 -0
  1030. lusid/models/staged_modification_decision.py +105 -0
  1031. lusid/models/staged_modification_decision_request.py +79 -0
  1032. lusid/models/staged_modification_effective_range.py +79 -0
  1033. lusid/models/staged_modification_staging_rule.py +93 -0
  1034. lusid/models/staged_modifications_entity_hrefs.py +111 -0
  1035. lusid/models/staged_modifications_info.py +86 -0
  1036. lusid/models/staged_modifications_requested_change_interval.py +121 -0
  1037. lusid/models/staging_rule.py +98 -0
  1038. lusid/models/staging_rule_approval_criteria.py +96 -0
  1039. lusid/models/staging_rule_match_criteria.py +103 -0
  1040. lusid/models/staging_rule_set.py +126 -0
  1041. lusid/models/step_schedule.py +12 -4
  1042. lusid/models/stock_dividend_event.py +135 -0
  1043. lusid/models/stock_split_event.py +51 -11
  1044. lusid/models/strategy.py +89 -0
  1045. lusid/models/stream.py +9 -1
  1046. lusid/models/string_compliance_parameter.py +12 -4
  1047. lusid/models/string_list.py +13 -5
  1048. lusid/models/string_list_compliance_parameter.py +12 -4
  1049. lusid/models/structured_result_data.py +9 -1
  1050. lusid/models/structured_result_data_id.py +9 -1
  1051. lusid/models/sub_holding_key_value_equals.py +9 -1
  1052. lusid/models/swap_cash_flow_event.py +105 -0
  1053. lusid/models/swap_principal_event.py +105 -0
  1054. lusid/models/target_tax_lot.py +32 -3
  1055. lusid/models/target_tax_lot_request.py +32 -3
  1056. lusid/models/tax_rule.py +9 -1
  1057. lusid/models/tax_rule_set.py +9 -1
  1058. lusid/models/template_field.py +87 -0
  1059. lusid/models/tender_event.py +180 -0
  1060. lusid/models/term_deposit.py +12 -4
  1061. lusid/models/term_deposit_interest_event.py +108 -0
  1062. lusid/models/term_deposit_principal_event.py +108 -0
  1063. lusid/models/timeline.py +143 -0
  1064. lusid/models/total_return_swap.py +41 -18
  1065. lusid/models/touch.py +9 -1
  1066. lusid/models/trade_ticket.py +9 -1
  1067. lusid/models/trading_conventions.py +81 -0
  1068. lusid/models/transaction.py +40 -4
  1069. lusid/models/transaction_configuration_data.py +9 -1
  1070. lusid/models/transaction_configuration_data_request.py +9 -1
  1071. lusid/models/transaction_configuration_movement_data.py +13 -5
  1072. lusid/models/transaction_configuration_movement_data_request.py +13 -5
  1073. lusid/models/transaction_configuration_type_alias.py +9 -1
  1074. lusid/models/transaction_currency_and_amount.py +89 -0
  1075. lusid/models/transaction_date_windows.py +93 -0
  1076. lusid/models/transaction_diagnostics.py +79 -0
  1077. lusid/models/transaction_field_map.py +110 -0
  1078. lusid/models/transaction_price.py +12 -4
  1079. lusid/models/transaction_price_and_type.py +89 -0
  1080. lusid/models/transaction_price_type.py +3 -0
  1081. lusid/models/transaction_property_map.py +89 -0
  1082. lusid/models/transaction_property_mapping.py +9 -1
  1083. lusid/models/transaction_property_mapping_request.py +9 -1
  1084. lusid/models/transaction_query_parameters.py +9 -1
  1085. lusid/models/transaction_reconciliation_request.py +9 -1
  1086. lusid/models/transaction_reconciliation_request_v2.py +9 -1
  1087. lusid/models/transaction_request.py +34 -4
  1088. lusid/models/transaction_set_configuration_data.py +9 -1
  1089. lusid/models/transaction_set_configuration_data_request.py +9 -1
  1090. lusid/models/transaction_template.py +108 -0
  1091. lusid/models/transaction_template_request.py +87 -0
  1092. lusid/models/transaction_template_specification.py +107 -0
  1093. lusid/models/transaction_type.py +9 -1
  1094. lusid/models/transaction_type_alias.py +9 -8
  1095. lusid/models/transaction_type_calculation.py +26 -13
  1096. lusid/models/transaction_type_details.py +81 -0
  1097. lusid/models/transaction_type_movement.py +30 -5
  1098. lusid/models/transaction_type_property_mapping.py +35 -3
  1099. lusid/models/transaction_type_request.py +9 -1
  1100. lusid/models/transactions_reconciliations_response.py +9 -1
  1101. lusid/models/transition_event.py +12 -4
  1102. lusid/models/translate_entities_inlined_request.py +9 -1
  1103. lusid/models/translate_entities_request.py +9 -1
  1104. lusid/models/translate_entities_response.py +9 -1
  1105. lusid/models/translate_instrument_definitions_request.py +9 -1
  1106. lusid/models/translate_instrument_definitions_response.py +9 -1
  1107. lusid/models/translate_trade_ticket_request.py +9 -1
  1108. lusid/models/translate_trade_tickets_response.py +9 -1
  1109. lusid/models/translation_context.py +83 -0
  1110. lusid/models/translation_input.py +9 -1
  1111. lusid/models/translation_result.py +9 -1
  1112. lusid/models/translation_script.py +18 -4
  1113. lusid/models/translation_script_id.py +9 -1
  1114. lusid/models/trial_balance.py +58 -15
  1115. lusid/models/trial_balance_query_parameters.py +23 -6
  1116. lusid/models/trigger_event.py +12 -4
  1117. lusid/models/typed_resource_id.py +9 -1
  1118. lusid/models/unitisation_data.py +81 -0
  1119. lusid/models/units_ratio.py +79 -0
  1120. lusid/models/update_amortisation_rule_set_details_request.py +101 -0
  1121. lusid/models/update_calendar_request.py +9 -1
  1122. lusid/models/update_compliance_template_request.py +103 -0
  1123. lusid/models/update_custom_entity_definition_request.py +9 -1
  1124. lusid/models/update_custom_entity_type_request.py +9 -1
  1125. lusid/models/update_cut_label_definition_request.py +9 -1
  1126. lusid/models/update_data_type_request.py +9 -1
  1127. lusid/models/update_derived_property_definition_request.py +13 -3
  1128. lusid/models/update_fee_type_request.py +104 -0
  1129. lusid/models/update_group_reconciliation_comparison_ruleset_request.py +99 -0
  1130. lusid/models/update_group_reconciliation_definition_request.py +115 -0
  1131. lusid/models/update_instrument_identifier_request.py +9 -1
  1132. lusid/models/update_orders_response.py +161 -0
  1133. lusid/models/update_placements_response.py +161 -0
  1134. lusid/models/update_portfolio_group_request.py +9 -1
  1135. lusid/models/update_portfolio_request.py +9 -1
  1136. lusid/models/update_property_definition_request.py +9 -1
  1137. lusid/models/update_reconciliation_request.py +9 -1
  1138. lusid/models/update_reference_data_request.py +95 -0
  1139. lusid/models/update_relationship_definition_request.py +9 -1
  1140. lusid/models/update_staging_rule_set_request.py +94 -0
  1141. lusid/models/update_tax_rule_set_request.py +9 -1
  1142. lusid/models/update_timeline_request.py +104 -0
  1143. lusid/models/update_unit_request.py +9 -1
  1144. lusid/models/upsert_cds_flow_conventions_request.py +9 -1
  1145. lusid/models/upsert_complex_market_data_request.py +9 -1
  1146. lusid/models/upsert_compliance_rule_request.py +9 -1
  1147. lusid/models/upsert_compliance_run_summary_request.py +9 -1
  1148. lusid/models/{compliance_run_summary.py → upsert_compliance_run_summary_result.py} +17 -9
  1149. lusid/models/upsert_corporate_action_request.py +9 -1
  1150. lusid/models/upsert_corporate_actions_response.py +9 -1
  1151. lusid/models/upsert_counterparty_agreement_request.py +9 -1
  1152. lusid/models/upsert_credit_support_annex_request.py +9 -1
  1153. lusid/models/upsert_custom_data_model_request.py +176 -0
  1154. lusid/models/upsert_custom_entities_response.py +29 -2
  1155. lusid/models/upsert_custom_entity_access_metadata_request.py +9 -1
  1156. lusid/models/upsert_dialect_request.py +87 -0
  1157. lusid/models/upsert_flow_conventions_request.py +9 -1
  1158. lusid/models/upsert_index_convention_request.py +9 -1
  1159. lusid/models/upsert_instrument_event_request.py +20 -3
  1160. lusid/models/upsert_instrument_events_response.py +9 -1
  1161. lusid/models/upsert_instrument_properties_response.py +9 -1
  1162. lusid/models/upsert_instrument_property_request.py +9 -1
  1163. lusid/models/upsert_instruments_response.py +29 -2
  1164. lusid/models/upsert_legal_entities_response.py +9 -1
  1165. lusid/models/upsert_legal_entity_access_metadata_request.py +9 -1
  1166. lusid/models/upsert_legal_entity_request.py +9 -1
  1167. lusid/models/upsert_person_access_metadata_request.py +9 -1
  1168. lusid/models/upsert_person_request.py +9 -1
  1169. lusid/models/upsert_persons_response.py +122 -0
  1170. lusid/models/upsert_portfolio_access_metadata_request.py +9 -1
  1171. lusid/models/upsert_portfolio_group_access_metadata_request.py +9 -1
  1172. lusid/models/upsert_portfolio_transactions_response.py +9 -1
  1173. lusid/models/upsert_quote_access_metadata_rule_request.py +9 -1
  1174. lusid/models/upsert_quote_request.py +10 -2
  1175. lusid/models/upsert_quotes_response.py +9 -1
  1176. lusid/models/upsert_recipe_composer_request.py +81 -0
  1177. lusid/models/upsert_recipe_request.py +12 -10
  1178. lusid/models/upsert_reference_portfolio_constituent_properties_request.py +92 -0
  1179. lusid/models/upsert_reference_portfolio_constituent_properties_response.py +123 -0
  1180. lusid/models/upsert_reference_portfolio_constituents_request.py +9 -1
  1181. lusid/models/upsert_reference_portfolio_constituents_response.py +9 -1
  1182. lusid/models/upsert_result_values_data_request.py +9 -1
  1183. lusid/models/upsert_returns_response.py +9 -1
  1184. lusid/models/upsert_single_structured_data_response.py +9 -1
  1185. lusid/models/upsert_structured_data_response.py +9 -1
  1186. lusid/models/upsert_structured_result_data_request.py +9 -1
  1187. lusid/models/upsert_transaction_properties_response.py +9 -1
  1188. lusid/models/upsert_translation_script_request.py +83 -0
  1189. lusid/models/upsert_valuation_point_request.py +130 -0
  1190. lusid/models/user.py +9 -1
  1191. lusid/models/valuation_point_data_query_parameters.py +81 -0
  1192. lusid/models/valuation_point_data_request.py +84 -0
  1193. lusid/models/valuation_point_data_response.py +164 -0
  1194. lusid/models/valuation_point_overview.py +133 -0
  1195. lusid/models/valuation_point_resource_list_of_accounted_transaction.py +133 -0
  1196. lusid/models/valuation_point_resource_list_of_journal_entry_line.py +133 -0
  1197. lusid/models/valuation_point_resource_list_of_pnl_journal_entry_line.py +133 -0
  1198. lusid/models/valuation_point_resource_list_of_trial_balance.py +133 -0
  1199. lusid/models/valuation_request.py +9 -1
  1200. lusid/models/valuation_schedule.py +19 -4
  1201. lusid/models/valuations_reconciliation_request.py +9 -1
  1202. lusid/models/vendor_dependency.py +9 -1
  1203. lusid/models/vendor_model_rule.py +9 -1
  1204. lusid/models/version.py +25 -10
  1205. lusid/models/version_summary_dto.py +9 -1
  1206. lusid/models/versioned_resource_list_of_a2_b_data_record.py +9 -1
  1207. lusid/models/versioned_resource_list_of_a2_b_movement_record.py +9 -1
  1208. lusid/models/versioned_resource_list_of_holding_contributor.py +9 -1
  1209. lusid/models/versioned_resource_list_of_journal_entry_line.py +9 -1
  1210. lusid/models/versioned_resource_list_of_output_transaction.py +9 -1
  1211. lusid/models/versioned_resource_list_of_portfolio_holding.py +9 -1
  1212. lusid/models/versioned_resource_list_of_transaction.py +9 -1
  1213. lusid/models/versioned_resource_list_of_trial_balance.py +9 -1
  1214. lusid/models/versioned_resource_list_with_warnings_of_portfolio_holding.py +9 -1
  1215. lusid/models/virtual_document.py +9 -1
  1216. lusid/models/virtual_document_row.py +9 -1
  1217. lusid/models/virtual_row.py +9 -1
  1218. lusid/models/warning.py +9 -1
  1219. lusid/models/weekend_mask.py +9 -1
  1220. lusid/models/weighted_instrument.py +29 -3
  1221. lusid/models/weighted_instrument_in_line_lookup_identifiers.py +97 -0
  1222. lusid/models/weighted_instruments.py +9 -1
  1223. lusid/models/workspace.py +100 -0
  1224. lusid/models/workspace_creation_request.py +86 -0
  1225. lusid/models/workspace_item.py +120 -0
  1226. lusid/models/workspace_item_creation_request.py +113 -0
  1227. lusid/models/workspace_item_update_request.py +95 -0
  1228. lusid/models/workspace_update_request.py +77 -0
  1229. lusid/models/yield_curve_data.py +12 -4
  1230. lusid/rest.py +75 -22
  1231. {lusid_sdk-2.0.50b0.dist-info → lusid_sdk-2.1.684.dist-info}/METADATA +614 -245
  1232. lusid_sdk-2.1.684.dist-info/RECORD +1273 -0
  1233. {lusid_sdk-2.0.50b0.dist-info → lusid_sdk-2.1.684.dist-info}/WHEEL +1 -1
  1234. lusid/extensions/api_client_builder.py +0 -138
  1235. lusid/models/configuration_recipe_snippet.py +0 -139
  1236. lusid/models/je_lines_query_parameters.py +0 -105
  1237. lusid/models/look_up_pricing_model_options.py +0 -93
  1238. lusid/models/reconciliation_break_id.py +0 -88
  1239. lusid/models/reconciliation_run_id.py +0 -85
  1240. lusid/models/upsert_reconciliation_break_request.py +0 -98
  1241. lusid_sdk-2.0.50b0.dist-info/RECORD +0 -917
@@ -16,13 +16,13 @@ import re # noqa: F401
16
16
  import io
17
17
  import warnings
18
18
 
19
- from pydantic import validate_arguments, ValidationError
19
+ from pydantic.v1 import validate_arguments, ValidationError
20
20
  from typing import overload, Optional, Union, Awaitable
21
21
 
22
22
  from typing_extensions import Annotated
23
23
  from datetime import datetime
24
24
 
25
- from pydantic import Field, StrictInt, StrictStr, conint, conlist, constr, validator
25
+ from pydantic.v1 import Field, StrictInt, StrictStr, conint, conlist, constr, validator
26
26
 
27
27
  from typing import Optional
28
28
 
@@ -32,22 +32,16 @@ from lusid.models.inline_valuations_reconciliation_request import InlineValuatio
32
32
  from lusid.models.list_aggregation_reconciliation import ListAggregationReconciliation
33
33
  from lusid.models.mapping import Mapping
34
34
  from lusid.models.paged_resource_list_of_reconciliation import PagedResourceListOfReconciliation
35
- from lusid.models.paged_resource_list_of_reconciliation_run import PagedResourceListOfReconciliationRun
36
- from lusid.models.paged_resource_list_of_reconciliation_run_break import PagedResourceListOfReconciliationRunBreak
37
35
  from lusid.models.portfolios_reconciliation_request import PortfoliosReconciliationRequest
38
36
  from lusid.models.reconciliation import Reconciliation
39
37
  from lusid.models.reconciliation_request import ReconciliationRequest
40
38
  from lusid.models.reconciliation_response import ReconciliationResponse
41
- from lusid.models.reconciliation_run import ReconciliationRun
42
- from lusid.models.reconciliation_run_break import ReconciliationRunBreak
43
39
  from lusid.models.resource_list_of_mapping import ResourceListOfMapping
44
40
  from lusid.models.resource_list_of_reconciliation_break import ResourceListOfReconciliationBreak
45
41
  from lusid.models.transaction_reconciliation_request import TransactionReconciliationRequest
46
42
  from lusid.models.transaction_reconciliation_request_v2 import TransactionReconciliationRequestV2
47
43
  from lusid.models.transactions_reconciliations_response import TransactionsReconciliationsResponse
48
44
  from lusid.models.update_reconciliation_request import UpdateReconciliationRequest
49
- from lusid.models.upsert_reconciliation_break_request import UpsertReconciliationBreakRequest
50
- from lusid.models.upsert_reconciliation_run_request import UpsertReconciliationRunRequest
51
45
  from lusid.models.valuations_reconciliation_request import ValuationsReconciliationRequest
52
46
 
53
47
  from lusid.api_client import ApiClient
@@ -56,6 +50,7 @@ from lusid.exceptions import ( # noqa: F401
56
50
  ApiTypeError,
57
51
  ApiValueError
58
52
  )
53
+ from lusid.extensions.configuration_options import ConfigurationOptions
59
54
 
60
55
 
61
56
  class ReconciliationsApi:
@@ -95,10 +90,9 @@ class ReconciliationsApi:
95
90
  :type create_reconciliation_request: CreateReconciliationRequest
96
91
  :param async_req: Whether to execute the request asynchronously.
97
92
  :type async_req: bool, optional
98
- :param _request_timeout: timeout setting for this request.
99
- If one number provided, it will be total request
100
- timeout. It can also be a pair (tuple) of
101
- (connection, read) timeouts.
93
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
94
+ :param opts: Configuration options for this request
95
+ :type opts: ConfigurationOptions, optional
102
96
  :return: Returns the result object.
103
97
  If the method is called asynchronously,
104
98
  returns the request thread.
@@ -137,10 +131,9 @@ class ReconciliationsApi:
137
131
  :param _return_http_data_only: response data instead of ApiResponse
138
132
  object with status code, headers, etc
139
133
  :type _return_http_data_only: bool, optional
140
- :param _request_timeout: timeout setting for this request. If one
141
- number provided, it will be total request
142
- timeout. It can also be a pair (tuple) of
143
- (connection, read) timeouts.
134
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
135
+ :param opts: Configuration options for this request
136
+ :type opts: ConfigurationOptions, optional
144
137
  :param _request_auth: set to override the auth_settings for an a single
145
138
  request; this effectively ignores the authentication
146
139
  in the spec for a single request.
@@ -166,7 +159,8 @@ class ReconciliationsApi:
166
159
  '_request_timeout',
167
160
  '_request_auth',
168
161
  '_content_type',
169
- '_headers'
162
+ '_headers',
163
+ 'opts'
170
164
  ]
171
165
  )
172
166
 
@@ -233,6 +227,7 @@ class ReconciliationsApi:
233
227
  _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
234
228
  _preload_content=_params.get('_preload_content', True),
235
229
  _request_timeout=_params.get('_request_timeout'),
230
+ opts=_params.get('opts'),
236
231
  collection_formats=_collection_formats,
237
232
  _request_auth=_params.get('_request_auth'))
238
233
 
@@ -261,10 +256,9 @@ class ReconciliationsApi:
261
256
  :type code: str
262
257
  :param async_req: Whether to execute the request asynchronously.
263
258
  :type async_req: bool, optional
264
- :param _request_timeout: timeout setting for this request.
265
- If one number provided, it will be total request
266
- timeout. It can also be a pair (tuple) of
267
- (connection, read) timeouts.
259
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
260
+ :param opts: Configuration options for this request
261
+ :type opts: ConfigurationOptions, optional
268
262
  :return: Returns the result object.
269
263
  If the method is called asynchronously,
270
264
  returns the request thread.
@@ -303,10 +297,9 @@ class ReconciliationsApi:
303
297
  :param _return_http_data_only: response data instead of ApiResponse
304
298
  object with status code, headers, etc
305
299
  :type _return_http_data_only: bool, optional
306
- :param _request_timeout: timeout setting for this request. If one
307
- number provided, it will be total request
308
- timeout. It can also be a pair (tuple) of
309
- (connection, read) timeouts.
300
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
301
+ :param opts: Configuration options for this request
302
+ :type opts: ConfigurationOptions, optional
310
303
  :param _request_auth: set to override the auth_settings for an a single
311
304
  request; this effectively ignores the authentication
312
305
  in the spec for a single request.
@@ -332,7 +325,8 @@ class ReconciliationsApi:
332
325
  '_request_timeout',
333
326
  '_request_auth',
334
327
  '_content_type',
335
- '_headers'
328
+ '_headers',
329
+ 'opts'
336
330
  ]
337
331
  )
338
332
 
@@ -392,78 +386,66 @@ class ReconciliationsApi:
392
386
  _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
393
387
  _preload_content=_params.get('_preload_content', True),
394
388
  _request_timeout=_params.get('_request_timeout'),
389
+ opts=_params.get('opts'),
395
390
  collection_formats=_collection_formats,
396
391
  _request_auth=_params.get('_request_auth'))
397
392
 
398
393
  @overload
399
- async def delete_reconciliation_break(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the reconciliation associated with the break")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the reconciliation associated with the break")], run_date : Annotated[datetime, Field(..., description="The date of the run associated with the break")], version : Annotated[StrictInt, Field(..., description="The version number of the run associated with the break")], break_id : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The unique identifier for the break")], **kwargs) -> DeletedEntityResponse: # noqa: E501
394
+ async def delete_reconciliation_mapping(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the mapping.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code fof the mapping.")], **kwargs) -> str: # noqa: E501
400
395
  ...
401
396
 
402
397
  @overload
403
- def delete_reconciliation_break(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the reconciliation associated with the break")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the reconciliation associated with the break")], run_date : Annotated[datetime, Field(..., description="The date of the run associated with the break")], version : Annotated[StrictInt, Field(..., description="The version number of the run associated with the break")], break_id : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The unique identifier for the break")], async_req: Optional[bool]=True, **kwargs) -> DeletedEntityResponse: # noqa: E501
398
+ def delete_reconciliation_mapping(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the mapping.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code fof the mapping.")], async_req: Optional[bool]=True, **kwargs) -> str: # noqa: E501
404
399
  ...
405
400
 
406
401
  @validate_arguments
407
- def delete_reconciliation_break(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the reconciliation associated with the break")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the reconciliation associated with the break")], run_date : Annotated[datetime, Field(..., description="The date of the run associated with the break")], version : Annotated[StrictInt, Field(..., description="The version number of the run associated with the break")], break_id : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The unique identifier for the break")], async_req: Optional[bool]=None, **kwargs) -> Union[DeletedEntityResponse, Awaitable[DeletedEntityResponse]]: # noqa: E501
408
- """[EXPERIMENTAL] DeleteReconciliationBreak: Delete reconciliation break # noqa: E501
402
+ def delete_reconciliation_mapping(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the mapping.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code fof the mapping.")], async_req: Optional[bool]=None, **kwargs) -> Union[str, Awaitable[str]]: # noqa: E501
403
+ """[EARLY ACCESS] DeleteReconciliationMapping: Delete a mapping # noqa: E501
409
404
 
410
- Delete the given reconciliation break # noqa: E501
405
+ Deletes the mapping identified by the scope and code # noqa: E501
411
406
  This method makes a synchronous HTTP request by default. To make an
412
407
  asynchronous HTTP request, please pass async_req=True
413
408
 
414
- >>> thread = api.delete_reconciliation_break(scope, code, run_date, version, break_id, async_req=True)
409
+ >>> thread = api.delete_reconciliation_mapping(scope, code, async_req=True)
415
410
  >>> result = thread.get()
416
411
 
417
- :param scope: The scope of the reconciliation associated with the break (required)
412
+ :param scope: The scope of the mapping. (required)
418
413
  :type scope: str
419
- :param code: The code of the reconciliation associated with the break (required)
414
+ :param code: The code fof the mapping. (required)
420
415
  :type code: str
421
- :param run_date: The date of the run associated with the break (required)
422
- :type run_date: datetime
423
- :param version: The version number of the run associated with the break (required)
424
- :type version: int
425
- :param break_id: The unique identifier for the break (required)
426
- :type break_id: str
427
416
  :param async_req: Whether to execute the request asynchronously.
428
417
  :type async_req: bool, optional
429
- :param _request_timeout: timeout setting for this request.
430
- If one number provided, it will be total request
431
- timeout. It can also be a pair (tuple) of
432
- (connection, read) timeouts.
418
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
419
+ :param opts: Configuration options for this request
420
+ :type opts: ConfigurationOptions, optional
433
421
  :return: Returns the result object.
434
422
  If the method is called asynchronously,
435
423
  returns the request thread.
436
- :rtype: DeletedEntityResponse
424
+ :rtype: str
437
425
  """
438
426
  kwargs['_return_http_data_only'] = True
439
427
  if '_preload_content' in kwargs:
440
- message = "Error! Please call the delete_reconciliation_break_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501
428
+ message = "Error! Please call the delete_reconciliation_mapping_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501
441
429
  raise ValueError(message)
442
430
  if async_req is not None:
443
431
  kwargs['async_req'] = async_req
444
- return self.delete_reconciliation_break_with_http_info(scope, code, run_date, version, break_id, **kwargs) # noqa: E501
432
+ return self.delete_reconciliation_mapping_with_http_info(scope, code, **kwargs) # noqa: E501
445
433
 
446
434
  @validate_arguments
447
- def delete_reconciliation_break_with_http_info(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the reconciliation associated with the break")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the reconciliation associated with the break")], run_date : Annotated[datetime, Field(..., description="The date of the run associated with the break")], version : Annotated[StrictInt, Field(..., description="The version number of the run associated with the break")], break_id : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The unique identifier for the break")], **kwargs) -> ApiResponse: # noqa: E501
448
- """[EXPERIMENTAL] DeleteReconciliationBreak: Delete reconciliation break # noqa: E501
435
+ def delete_reconciliation_mapping_with_http_info(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the mapping.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code fof the mapping.")], **kwargs) -> ApiResponse: # noqa: E501
436
+ """[EARLY ACCESS] DeleteReconciliationMapping: Delete a mapping # noqa: E501
449
437
 
450
- Delete the given reconciliation break # noqa: E501
438
+ Deletes the mapping identified by the scope and code # noqa: E501
451
439
  This method makes a synchronous HTTP request by default. To make an
452
440
  asynchronous HTTP request, please pass async_req=True
453
441
 
454
- >>> thread = api.delete_reconciliation_break_with_http_info(scope, code, run_date, version, break_id, async_req=True)
442
+ >>> thread = api.delete_reconciliation_mapping_with_http_info(scope, code, async_req=True)
455
443
  >>> result = thread.get()
456
444
 
457
- :param scope: The scope of the reconciliation associated with the break (required)
445
+ :param scope: The scope of the mapping. (required)
458
446
  :type scope: str
459
- :param code: The code of the reconciliation associated with the break (required)
447
+ :param code: The code fof the mapping. (required)
460
448
  :type code: str
461
- :param run_date: The date of the run associated with the break (required)
462
- :type run_date: datetime
463
- :param version: The version number of the run associated with the break (required)
464
- :type version: int
465
- :param break_id: The unique identifier for the break (required)
466
- :type break_id: str
467
449
  :param async_req: Whether to execute the request asynchronously.
468
450
  :type async_req: bool, optional
469
451
  :param _preload_content: if False, the ApiResponse.data will
@@ -474,10 +456,9 @@ class ReconciliationsApi:
474
456
  :param _return_http_data_only: response data instead of ApiResponse
475
457
  object with status code, headers, etc
476
458
  :type _return_http_data_only: bool, optional
477
- :param _request_timeout: timeout setting for this request. If one
478
- number provided, it will be total request
479
- timeout. It can also be a pair (tuple) of
480
- (connection, read) timeouts.
459
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
460
+ :param opts: Configuration options for this request
461
+ :type opts: ConfigurationOptions, optional
481
462
  :param _request_auth: set to override the auth_settings for an a single
482
463
  request; this effectively ignores the authentication
483
464
  in the spec for a single request.
@@ -486,17 +467,14 @@ class ReconciliationsApi:
486
467
  :return: Returns the result object.
487
468
  If the method is called asynchronously,
488
469
  returns the request thread.
489
- :rtype: tuple(DeletedEntityResponse, status_code(int), headers(HTTPHeaderDict))
470
+ :rtype: tuple(str, status_code(int), headers(HTTPHeaderDict))
490
471
  """
491
472
 
492
473
  _params = locals()
493
474
 
494
475
  _all_params = [
495
476
  'scope',
496
- 'code',
497
- 'run_date',
498
- 'version',
499
- 'break_id'
477
+ 'code'
500
478
  ]
501
479
  _all_params.extend(
502
480
  [
@@ -506,7 +484,8 @@ class ReconciliationsApi:
506
484
  '_request_timeout',
507
485
  '_request_auth',
508
486
  '_content_type',
509
- '_headers'
487
+ '_headers',
488
+ 'opts'
510
489
  ]
511
490
  )
512
491
 
@@ -515,7 +494,7 @@ class ReconciliationsApi:
515
494
  if _key not in _all_params:
516
495
  raise ApiTypeError(
517
496
  "Got an unexpected keyword argument '%s'"
518
- " to method delete_reconciliation_break" % _key
497
+ " to method delete_reconciliation_mapping" % _key
519
498
  )
520
499
  _params[_key] = _val
521
500
  del _params['kwargs']
@@ -530,15 +509,6 @@ class ReconciliationsApi:
530
509
  if _params['code']:
531
510
  _path_params['code'] = _params['code']
532
511
 
533
- if _params['run_date']:
534
- _path_params['runDate'] = _params['run_date']
535
-
536
- if _params['version']:
537
- _path_params['version'] = _params['version']
538
-
539
- if _params['break_id']:
540
- _path_params['breakId'] = _params['break_id']
541
-
542
512
 
543
513
  # process the query parameters
544
514
  _query_params = []
@@ -557,12 +527,12 @@ class ReconciliationsApi:
557
527
  _auth_settings = ['oauth2'] # noqa: E501
558
528
 
559
529
  _response_types_map = {
560
- '200': "DeletedEntityResponse",
530
+ '200': "str",
561
531
  '400': "LusidValidationProblemDetails",
562
532
  }
563
533
 
564
534
  return self.api_client.call_api(
565
- '/api/portfolios/$scheduledReconciliations/{scope}/{code}/runs/{runDate}/{version}/breaks/{breakId}', 'DELETE',
535
+ '/api/portfolios/mapping/{scope}/{code}', 'DELETE',
566
536
  _path_params,
567
537
  _query_params,
568
538
  _header_params,
@@ -575,66 +545,78 @@ class ReconciliationsApi:
575
545
  _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
576
546
  _preload_content=_params.get('_preload_content', True),
577
547
  _request_timeout=_params.get('_request_timeout'),
548
+ opts=_params.get('opts'),
578
549
  collection_formats=_collection_formats,
579
550
  _request_auth=_params.get('_request_auth'))
580
551
 
581
552
  @overload
582
- async def delete_reconciliation_mapping(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the mapping.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code fof the mapping.")], **kwargs) -> str: # noqa: E501
553
+ async def get_reconciliation(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the scheduled reconciliation")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the scheduled reconciliation")], effective_at : Annotated[Optional[StrictStr], Field(description="The effective datetime or cut label at which to retrieve the scheduled reconciliation. Defaults to the current LUSID system datetime if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the scheduled reconciliation. Defaults to returning the latest version of the reconciliation if not specified.")] = None, property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the 'Reconciliation' property domain to decorate onto the reconciliation. These must take the form {domain}/{scope}/{code}, for example 'Reconciliation/Broker/Id'.")] = None, **kwargs) -> Reconciliation: # noqa: E501
583
554
  ...
584
555
 
585
556
  @overload
586
- def delete_reconciliation_mapping(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the mapping.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code fof the mapping.")], async_req: Optional[bool]=True, **kwargs) -> str: # noqa: E501
557
+ def get_reconciliation(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the scheduled reconciliation")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the scheduled reconciliation")], effective_at : Annotated[Optional[StrictStr], Field(description="The effective datetime or cut label at which to retrieve the scheduled reconciliation. Defaults to the current LUSID system datetime if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the scheduled reconciliation. Defaults to returning the latest version of the reconciliation if not specified.")] = None, property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the 'Reconciliation' property domain to decorate onto the reconciliation. These must take the form {domain}/{scope}/{code}, for example 'Reconciliation/Broker/Id'.")] = None, async_req: Optional[bool]=True, **kwargs) -> Reconciliation: # noqa: E501
587
558
  ...
588
559
 
589
560
  @validate_arguments
590
- def delete_reconciliation_mapping(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the mapping.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code fof the mapping.")], async_req: Optional[bool]=None, **kwargs) -> Union[str, Awaitable[str]]: # noqa: E501
591
- """[EARLY ACCESS] DeleteReconciliationMapping: Delete a mapping # noqa: E501
561
+ def get_reconciliation(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the scheduled reconciliation")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the scheduled reconciliation")], effective_at : Annotated[Optional[StrictStr], Field(description="The effective datetime or cut label at which to retrieve the scheduled reconciliation. Defaults to the current LUSID system datetime if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the scheduled reconciliation. Defaults to returning the latest version of the reconciliation if not specified.")] = None, property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the 'Reconciliation' property domain to decorate onto the reconciliation. These must take the form {domain}/{scope}/{code}, for example 'Reconciliation/Broker/Id'.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[Reconciliation, Awaitable[Reconciliation]]: # noqa: E501
562
+ """[EXPERIMENTAL] GetReconciliation: Get scheduled reconciliation # noqa: E501
592
563
 
593
- Deletes the mapping identified by the scope and code # noqa: E501
564
+ Get the requested scheduled reconciliation # noqa: E501
594
565
  This method makes a synchronous HTTP request by default. To make an
595
566
  asynchronous HTTP request, please pass async_req=True
596
567
 
597
- >>> thread = api.delete_reconciliation_mapping(scope, code, async_req=True)
568
+ >>> thread = api.get_reconciliation(scope, code, effective_at, as_at, property_keys, async_req=True)
598
569
  >>> result = thread.get()
599
570
 
600
- :param scope: The scope of the mapping. (required)
571
+ :param scope: The scope of the scheduled reconciliation (required)
601
572
  :type scope: str
602
- :param code: The code fof the mapping. (required)
573
+ :param code: The code of the scheduled reconciliation (required)
603
574
  :type code: str
575
+ :param effective_at: The effective datetime or cut label at which to retrieve the scheduled reconciliation. Defaults to the current LUSID system datetime if not specified.
576
+ :type effective_at: str
577
+ :param as_at: The asAt datetime at which to retrieve the scheduled reconciliation. Defaults to returning the latest version of the reconciliation if not specified.
578
+ :type as_at: datetime
579
+ :param property_keys: A list of property keys from the 'Reconciliation' property domain to decorate onto the reconciliation. These must take the form {domain}/{scope}/{code}, for example 'Reconciliation/Broker/Id'.
580
+ :type property_keys: List[str]
604
581
  :param async_req: Whether to execute the request asynchronously.
605
582
  :type async_req: bool, optional
606
- :param _request_timeout: timeout setting for this request.
607
- If one number provided, it will be total request
608
- timeout. It can also be a pair (tuple) of
609
- (connection, read) timeouts.
583
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
584
+ :param opts: Configuration options for this request
585
+ :type opts: ConfigurationOptions, optional
610
586
  :return: Returns the result object.
611
587
  If the method is called asynchronously,
612
588
  returns the request thread.
613
- :rtype: str
589
+ :rtype: Reconciliation
614
590
  """
615
591
  kwargs['_return_http_data_only'] = True
616
592
  if '_preload_content' in kwargs:
617
- message = "Error! Please call the delete_reconciliation_mapping_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501
593
+ message = "Error! Please call the get_reconciliation_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501
618
594
  raise ValueError(message)
619
595
  if async_req is not None:
620
596
  kwargs['async_req'] = async_req
621
- return self.delete_reconciliation_mapping_with_http_info(scope, code, **kwargs) # noqa: E501
597
+ return self.get_reconciliation_with_http_info(scope, code, effective_at, as_at, property_keys, **kwargs) # noqa: E501
622
598
 
623
599
  @validate_arguments
624
- def delete_reconciliation_mapping_with_http_info(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the mapping.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code fof the mapping.")], **kwargs) -> ApiResponse: # noqa: E501
625
- """[EARLY ACCESS] DeleteReconciliationMapping: Delete a mapping # noqa: E501
600
+ def get_reconciliation_with_http_info(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the scheduled reconciliation")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the scheduled reconciliation")], effective_at : Annotated[Optional[StrictStr], Field(description="The effective datetime or cut label at which to retrieve the scheduled reconciliation. Defaults to the current LUSID system datetime if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the scheduled reconciliation. Defaults to returning the latest version of the reconciliation if not specified.")] = None, property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the 'Reconciliation' property domain to decorate onto the reconciliation. These must take the form {domain}/{scope}/{code}, for example 'Reconciliation/Broker/Id'.")] = None, **kwargs) -> ApiResponse: # noqa: E501
601
+ """[EXPERIMENTAL] GetReconciliation: Get scheduled reconciliation # noqa: E501
626
602
 
627
- Deletes the mapping identified by the scope and code # noqa: E501
603
+ Get the requested scheduled reconciliation # noqa: E501
628
604
  This method makes a synchronous HTTP request by default. To make an
629
605
  asynchronous HTTP request, please pass async_req=True
630
606
 
631
- >>> thread = api.delete_reconciliation_mapping_with_http_info(scope, code, async_req=True)
607
+ >>> thread = api.get_reconciliation_with_http_info(scope, code, effective_at, as_at, property_keys, async_req=True)
632
608
  >>> result = thread.get()
633
609
 
634
- :param scope: The scope of the mapping. (required)
610
+ :param scope: The scope of the scheduled reconciliation (required)
635
611
  :type scope: str
636
- :param code: The code fof the mapping. (required)
612
+ :param code: The code of the scheduled reconciliation (required)
637
613
  :type code: str
614
+ :param effective_at: The effective datetime or cut label at which to retrieve the scheduled reconciliation. Defaults to the current LUSID system datetime if not specified.
615
+ :type effective_at: str
616
+ :param as_at: The asAt datetime at which to retrieve the scheduled reconciliation. Defaults to returning the latest version of the reconciliation if not specified.
617
+ :type as_at: datetime
618
+ :param property_keys: A list of property keys from the 'Reconciliation' property domain to decorate onto the reconciliation. These must take the form {domain}/{scope}/{code}, for example 'Reconciliation/Broker/Id'.
619
+ :type property_keys: List[str]
638
620
  :param async_req: Whether to execute the request asynchronously.
639
621
  :type async_req: bool, optional
640
622
  :param _preload_content: if False, the ApiResponse.data will
@@ -645,10 +627,9 @@ class ReconciliationsApi:
645
627
  :param _return_http_data_only: response data instead of ApiResponse
646
628
  object with status code, headers, etc
647
629
  :type _return_http_data_only: bool, optional
648
- :param _request_timeout: timeout setting for this request. If one
649
- number provided, it will be total request
650
- timeout. It can also be a pair (tuple) of
651
- (connection, read) timeouts.
630
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
631
+ :param opts: Configuration options for this request
632
+ :type opts: ConfigurationOptions, optional
652
633
  :param _request_auth: set to override the auth_settings for an a single
653
634
  request; this effectively ignores the authentication
654
635
  in the spec for a single request.
@@ -657,14 +638,17 @@ class ReconciliationsApi:
657
638
  :return: Returns the result object.
658
639
  If the method is called asynchronously,
659
640
  returns the request thread.
660
- :rtype: tuple(str, status_code(int), headers(HTTPHeaderDict))
641
+ :rtype: tuple(Reconciliation, status_code(int), headers(HTTPHeaderDict))
661
642
  """
662
643
 
663
644
  _params = locals()
664
645
 
665
646
  _all_params = [
666
647
  'scope',
667
- 'code'
648
+ 'code',
649
+ 'effective_at',
650
+ 'as_at',
651
+ 'property_keys'
668
652
  ]
669
653
  _all_params.extend(
670
654
  [
@@ -674,7 +658,8 @@ class ReconciliationsApi:
674
658
  '_request_timeout',
675
659
  '_request_auth',
676
660
  '_content_type',
677
- '_headers'
661
+ '_headers',
662
+ 'opts'
678
663
  ]
679
664
  )
680
665
 
@@ -683,7 +668,7 @@ class ReconciliationsApi:
683
668
  if _key not in _all_params:
684
669
  raise ApiTypeError(
685
670
  "Got an unexpected keyword argument '%s'"
686
- " to method delete_reconciliation_mapping" % _key
671
+ " to method get_reconciliation" % _key
687
672
  )
688
673
  _params[_key] = _val
689
674
  del _params['kwargs']
@@ -701,6 +686,19 @@ class ReconciliationsApi:
701
686
 
702
687
  # process the query parameters
703
688
  _query_params = []
689
+ if _params.get('effective_at') is not None: # noqa: E501
690
+ _query_params.append(('effectiveAt', _params['effective_at']))
691
+
692
+ if _params.get('as_at') is not None: # noqa: E501
693
+ if isinstance(_params['as_at'], datetime):
694
+ _query_params.append(('asAt', _params['as_at'].strftime(self.api_client.configuration.datetime_format)))
695
+ else:
696
+ _query_params.append(('asAt', _params['as_at']))
697
+
698
+ if _params.get('property_keys') is not None: # noqa: E501
699
+ _query_params.append(('propertyKeys', _params['property_keys']))
700
+ _collection_formats['propertyKeys'] = 'multi'
701
+
704
702
  # process the header parameters
705
703
  _header_params = dict(_params.get('_headers', {}))
706
704
  # process the form parameters
@@ -716,12 +714,12 @@ class ReconciliationsApi:
716
714
  _auth_settings = ['oauth2'] # noqa: E501
717
715
 
718
716
  _response_types_map = {
719
- '200': "str",
717
+ '200': "Reconciliation",
720
718
  '400': "LusidValidationProblemDetails",
721
719
  }
722
720
 
723
721
  return self.api_client.call_api(
724
- '/api/portfolios/mapping/{scope}/{code}', 'DELETE',
722
+ '/api/portfolios/$scheduledReconciliations/{scope}/{code}', 'GET',
725
723
  _path_params,
726
724
  _query_params,
727
725
  _header_params,
@@ -734,74 +732,66 @@ class ReconciliationsApi:
734
732
  _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
735
733
  _preload_content=_params.get('_preload_content', True),
736
734
  _request_timeout=_params.get('_request_timeout'),
735
+ opts=_params.get('opts'),
737
736
  collection_formats=_collection_formats,
738
737
  _request_auth=_params.get('_request_auth'))
739
738
 
740
739
  @overload
741
- async def delete_reconciliation_run(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the reconciliation associated with the run")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the reconciliation associated with the run")], run_date : Annotated[datetime, Field(..., description="The date of the reconciliation run")], version : Annotated[StrictInt, Field(..., description="The version number of the reconciliation run")], **kwargs) -> DeletedEntityResponse: # noqa: E501
740
+ async def get_reconciliation_mapping(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the mapping.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the mapping.")], **kwargs) -> Mapping: # noqa: E501
742
741
  ...
743
742
 
744
743
  @overload
745
- def delete_reconciliation_run(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the reconciliation associated with the run")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the reconciliation associated with the run")], run_date : Annotated[datetime, Field(..., description="The date of the reconciliation run")], version : Annotated[StrictInt, Field(..., description="The version number of the reconciliation run")], async_req: Optional[bool]=True, **kwargs) -> DeletedEntityResponse: # noqa: E501
744
+ def get_reconciliation_mapping(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the mapping.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the mapping.")], async_req: Optional[bool]=True, **kwargs) -> Mapping: # noqa: E501
746
745
  ...
747
746
 
748
747
  @validate_arguments
749
- def delete_reconciliation_run(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the reconciliation associated with the run")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the reconciliation associated with the run")], run_date : Annotated[datetime, Field(..., description="The date of the reconciliation run")], version : Annotated[StrictInt, Field(..., description="The version number of the reconciliation run")], async_req: Optional[bool]=None, **kwargs) -> Union[DeletedEntityResponse, Awaitable[DeletedEntityResponse]]: # noqa: E501
750
- """[EXPERIMENTAL] DeleteReconciliationRun: Delete reconciliation run # noqa: E501
748
+ def get_reconciliation_mapping(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the mapping.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the mapping.")], async_req: Optional[bool]=None, **kwargs) -> Union[Mapping, Awaitable[Mapping]]: # noqa: E501
749
+ """[EARLY ACCESS] GetReconciliationMapping: Get a mapping # noqa: E501
751
750
 
752
- Delete the given reconciliation run # noqa: E501
751
+ Gets a mapping identified by the given scope and code # noqa: E501
753
752
  This method makes a synchronous HTTP request by default. To make an
754
753
  asynchronous HTTP request, please pass async_req=True
755
754
 
756
- >>> thread = api.delete_reconciliation_run(scope, code, run_date, version, async_req=True)
755
+ >>> thread = api.get_reconciliation_mapping(scope, code, async_req=True)
757
756
  >>> result = thread.get()
758
757
 
759
- :param scope: The scope of the reconciliation associated with the run (required)
758
+ :param scope: The scope of the mapping. (required)
760
759
  :type scope: str
761
- :param code: The code of the reconciliation associated with the run (required)
760
+ :param code: The code of the mapping. (required)
762
761
  :type code: str
763
- :param run_date: The date of the reconciliation run (required)
764
- :type run_date: datetime
765
- :param version: The version number of the reconciliation run (required)
766
- :type version: int
767
762
  :param async_req: Whether to execute the request asynchronously.
768
763
  :type async_req: bool, optional
769
- :param _request_timeout: timeout setting for this request.
770
- If one number provided, it will be total request
771
- timeout. It can also be a pair (tuple) of
772
- (connection, read) timeouts.
764
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
765
+ :param opts: Configuration options for this request
766
+ :type opts: ConfigurationOptions, optional
773
767
  :return: Returns the result object.
774
768
  If the method is called asynchronously,
775
769
  returns the request thread.
776
- :rtype: DeletedEntityResponse
770
+ :rtype: Mapping
777
771
  """
778
772
  kwargs['_return_http_data_only'] = True
779
773
  if '_preload_content' in kwargs:
780
- message = "Error! Please call the delete_reconciliation_run_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501
774
+ message = "Error! Please call the get_reconciliation_mapping_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501
781
775
  raise ValueError(message)
782
776
  if async_req is not None:
783
777
  kwargs['async_req'] = async_req
784
- return self.delete_reconciliation_run_with_http_info(scope, code, run_date, version, **kwargs) # noqa: E501
778
+ return self.get_reconciliation_mapping_with_http_info(scope, code, **kwargs) # noqa: E501
785
779
 
786
780
  @validate_arguments
787
- def delete_reconciliation_run_with_http_info(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the reconciliation associated with the run")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the reconciliation associated with the run")], run_date : Annotated[datetime, Field(..., description="The date of the reconciliation run")], version : Annotated[StrictInt, Field(..., description="The version number of the reconciliation run")], **kwargs) -> ApiResponse: # noqa: E501
788
- """[EXPERIMENTAL] DeleteReconciliationRun: Delete reconciliation run # noqa: E501
781
+ def get_reconciliation_mapping_with_http_info(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the mapping.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the mapping.")], **kwargs) -> ApiResponse: # noqa: E501
782
+ """[EARLY ACCESS] GetReconciliationMapping: Get a mapping # noqa: E501
789
783
 
790
- Delete the given reconciliation run # noqa: E501
784
+ Gets a mapping identified by the given scope and code # noqa: E501
791
785
  This method makes a synchronous HTTP request by default. To make an
792
786
  asynchronous HTTP request, please pass async_req=True
793
787
 
794
- >>> thread = api.delete_reconciliation_run_with_http_info(scope, code, run_date, version, async_req=True)
788
+ >>> thread = api.get_reconciliation_mapping_with_http_info(scope, code, async_req=True)
795
789
  >>> result = thread.get()
796
790
 
797
- :param scope: The scope of the reconciliation associated with the run (required)
791
+ :param scope: The scope of the mapping. (required)
798
792
  :type scope: str
799
- :param code: The code of the reconciliation associated with the run (required)
793
+ :param code: The code of the mapping. (required)
800
794
  :type code: str
801
- :param run_date: The date of the reconciliation run (required)
802
- :type run_date: datetime
803
- :param version: The version number of the reconciliation run (required)
804
- :type version: int
805
795
  :param async_req: Whether to execute the request asynchronously.
806
796
  :type async_req: bool, optional
807
797
  :param _preload_content: if False, the ApiResponse.data will
@@ -812,10 +802,9 @@ class ReconciliationsApi:
812
802
  :param _return_http_data_only: response data instead of ApiResponse
813
803
  object with status code, headers, etc
814
804
  :type _return_http_data_only: bool, optional
815
- :param _request_timeout: timeout setting for this request. If one
816
- number provided, it will be total request
817
- timeout. It can also be a pair (tuple) of
818
- (connection, read) timeouts.
805
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
806
+ :param opts: Configuration options for this request
807
+ :type opts: ConfigurationOptions, optional
819
808
  :param _request_auth: set to override the auth_settings for an a single
820
809
  request; this effectively ignores the authentication
821
810
  in the spec for a single request.
@@ -824,16 +813,14 @@ class ReconciliationsApi:
824
813
  :return: Returns the result object.
825
814
  If the method is called asynchronously,
826
815
  returns the request thread.
827
- :rtype: tuple(DeletedEntityResponse, status_code(int), headers(HTTPHeaderDict))
816
+ :rtype: tuple(Mapping, status_code(int), headers(HTTPHeaderDict))
828
817
  """
829
818
 
830
819
  _params = locals()
831
820
 
832
821
  _all_params = [
833
822
  'scope',
834
- 'code',
835
- 'run_date',
836
- 'version'
823
+ 'code'
837
824
  ]
838
825
  _all_params.extend(
839
826
  [
@@ -843,7 +830,8 @@ class ReconciliationsApi:
843
830
  '_request_timeout',
844
831
  '_request_auth',
845
832
  '_content_type',
846
- '_headers'
833
+ '_headers',
834
+ 'opts'
847
835
  ]
848
836
  )
849
837
 
@@ -852,7 +840,7 @@ class ReconciliationsApi:
852
840
  if _key not in _all_params:
853
841
  raise ApiTypeError(
854
842
  "Got an unexpected keyword argument '%s'"
855
- " to method delete_reconciliation_run" % _key
843
+ " to method get_reconciliation_mapping" % _key
856
844
  )
857
845
  _params[_key] = _val
858
846
  del _params['kwargs']
@@ -867,12 +855,6 @@ class ReconciliationsApi:
867
855
  if _params['code']:
868
856
  _path_params['code'] = _params['code']
869
857
 
870
- if _params['run_date']:
871
- _path_params['runDate'] = _params['run_date']
872
-
873
- if _params['version']:
874
- _path_params['version'] = _params['version']
875
-
876
858
 
877
859
  # process the query parameters
878
860
  _query_params = []
@@ -891,12 +873,12 @@ class ReconciliationsApi:
891
873
  _auth_settings = ['oauth2'] # noqa: E501
892
874
 
893
875
  _response_types_map = {
894
- '200': "DeletedEntityResponse",
876
+ '200': "Mapping",
895
877
  '400': "LusidValidationProblemDetails",
896
878
  }
897
879
 
898
880
  return self.api_client.call_api(
899
- '/api/portfolios/$scheduledReconciliations/{scope}/{code}/runs/{runDate}/{version}', 'DELETE',
881
+ '/api/portfolios/mapping/{scope}/{code}', 'GET',
900
882
  _path_params,
901
883
  _query_params,
902
884
  _header_params,
@@ -909,78 +891,62 @@ class ReconciliationsApi:
909
891
  _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
910
892
  _preload_content=_params.get('_preload_content', True),
911
893
  _request_timeout=_params.get('_request_timeout'),
894
+ opts=_params.get('opts'),
912
895
  collection_formats=_collection_formats,
913
896
  _request_auth=_params.get('_request_auth'))
914
897
 
915
898
  @overload
916
- async def get_reconciliation(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the scheduled reconciliation")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the scheduled reconciliation")], effective_at : Annotated[Optional[StrictStr], Field(description="The effective datetime or cut label at which to retrieve the scheduled reconciliation. Defaults to the current LUSID system datetime if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the scheduled reconciliation. Defaults to returning the latest version of the reconciliation if not specified.")] = None, property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the 'Reconciliation' property domain to decorate onto the reconciliation. These must take the form {domain}/{scope}/{code}, for example 'Reconciliation/Broker/Id'.")] = None, **kwargs) -> Reconciliation: # noqa: E501
899
+ async def list_reconciliation_mappings(self, reconciliation_type : Annotated[Optional[StrictStr], Field(description="Optional parameter to specify which type of mappings should be returned. Defaults to Transaction if not provided.")] = None, **kwargs) -> ResourceListOfMapping: # noqa: E501
917
900
  ...
918
901
 
919
902
  @overload
920
- def get_reconciliation(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the scheduled reconciliation")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the scheduled reconciliation")], effective_at : Annotated[Optional[StrictStr], Field(description="The effective datetime or cut label at which to retrieve the scheduled reconciliation. Defaults to the current LUSID system datetime if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the scheduled reconciliation. Defaults to returning the latest version of the reconciliation if not specified.")] = None, property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the 'Reconciliation' property domain to decorate onto the reconciliation. These must take the form {domain}/{scope}/{code}, for example 'Reconciliation/Broker/Id'.")] = None, async_req: Optional[bool]=True, **kwargs) -> Reconciliation: # noqa: E501
903
+ def list_reconciliation_mappings(self, reconciliation_type : Annotated[Optional[StrictStr], Field(description="Optional parameter to specify which type of mappings should be returned. Defaults to Transaction if not provided.")] = None, async_req: Optional[bool]=True, **kwargs) -> ResourceListOfMapping: # noqa: E501
921
904
  ...
922
905
 
923
906
  @validate_arguments
924
- def get_reconciliation(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the scheduled reconciliation")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the scheduled reconciliation")], effective_at : Annotated[Optional[StrictStr], Field(description="The effective datetime or cut label at which to retrieve the scheduled reconciliation. Defaults to the current LUSID system datetime if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the scheduled reconciliation. Defaults to returning the latest version of the reconciliation if not specified.")] = None, property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the 'Reconciliation' property domain to decorate onto the reconciliation. These must take the form {domain}/{scope}/{code}, for example 'Reconciliation/Broker/Id'.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[Reconciliation, Awaitable[Reconciliation]]: # noqa: E501
925
- """[EXPERIMENTAL] GetReconciliation: Get scheduled reconciliation # noqa: E501
907
+ def list_reconciliation_mappings(self, reconciliation_type : Annotated[Optional[StrictStr], Field(description="Optional parameter to specify which type of mappings should be returned. Defaults to Transaction if not provided.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[ResourceListOfMapping, Awaitable[ResourceListOfMapping]]: # noqa: E501
908
+ """[EARLY ACCESS] ListReconciliationMappings: List the reconciliation mappings # noqa: E501
926
909
 
927
- Get the requested scheduled reconciliation # noqa: E501
910
+ Lists all mappings this user is entitled to see # noqa: E501
928
911
  This method makes a synchronous HTTP request by default. To make an
929
912
  asynchronous HTTP request, please pass async_req=True
930
913
 
931
- >>> thread = api.get_reconciliation(scope, code, effective_at, as_at, property_keys, async_req=True)
914
+ >>> thread = api.list_reconciliation_mappings(reconciliation_type, async_req=True)
932
915
  >>> result = thread.get()
933
916
 
934
- :param scope: The scope of the scheduled reconciliation (required)
935
- :type scope: str
936
- :param code: The code of the scheduled reconciliation (required)
937
- :type code: str
938
- :param effective_at: The effective datetime or cut label at which to retrieve the scheduled reconciliation. Defaults to the current LUSID system datetime if not specified.
939
- :type effective_at: str
940
- :param as_at: The asAt datetime at which to retrieve the scheduled reconciliation. Defaults to returning the latest version of the reconciliation if not specified.
941
- :type as_at: datetime
942
- :param property_keys: A list of property keys from the 'Reconciliation' property domain to decorate onto the reconciliation. These must take the form {domain}/{scope}/{code}, for example 'Reconciliation/Broker/Id'.
943
- :type property_keys: List[str]
917
+ :param reconciliation_type: Optional parameter to specify which type of mappings should be returned. Defaults to Transaction if not provided.
918
+ :type reconciliation_type: str
944
919
  :param async_req: Whether to execute the request asynchronously.
945
920
  :type async_req: bool, optional
946
- :param _request_timeout: timeout setting for this request.
947
- If one number provided, it will be total request
948
- timeout. It can also be a pair (tuple) of
949
- (connection, read) timeouts.
921
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
922
+ :param opts: Configuration options for this request
923
+ :type opts: ConfigurationOptions, optional
950
924
  :return: Returns the result object.
951
925
  If the method is called asynchronously,
952
926
  returns the request thread.
953
- :rtype: Reconciliation
927
+ :rtype: ResourceListOfMapping
954
928
  """
955
929
  kwargs['_return_http_data_only'] = True
956
930
  if '_preload_content' in kwargs:
957
- message = "Error! Please call the get_reconciliation_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501
931
+ message = "Error! Please call the list_reconciliation_mappings_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501
958
932
  raise ValueError(message)
959
933
  if async_req is not None:
960
934
  kwargs['async_req'] = async_req
961
- return self.get_reconciliation_with_http_info(scope, code, effective_at, as_at, property_keys, **kwargs) # noqa: E501
935
+ return self.list_reconciliation_mappings_with_http_info(reconciliation_type, **kwargs) # noqa: E501
962
936
 
963
937
  @validate_arguments
964
- def get_reconciliation_with_http_info(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the scheduled reconciliation")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the scheduled reconciliation")], effective_at : Annotated[Optional[StrictStr], Field(description="The effective datetime or cut label at which to retrieve the scheduled reconciliation. Defaults to the current LUSID system datetime if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the scheduled reconciliation. Defaults to returning the latest version of the reconciliation if not specified.")] = None, property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the 'Reconciliation' property domain to decorate onto the reconciliation. These must take the form {domain}/{scope}/{code}, for example 'Reconciliation/Broker/Id'.")] = None, **kwargs) -> ApiResponse: # noqa: E501
965
- """[EXPERIMENTAL] GetReconciliation: Get scheduled reconciliation # noqa: E501
938
+ def list_reconciliation_mappings_with_http_info(self, reconciliation_type : Annotated[Optional[StrictStr], Field(description="Optional parameter to specify which type of mappings should be returned. Defaults to Transaction if not provided.")] = None, **kwargs) -> ApiResponse: # noqa: E501
939
+ """[EARLY ACCESS] ListReconciliationMappings: List the reconciliation mappings # noqa: E501
966
940
 
967
- Get the requested scheduled reconciliation # noqa: E501
941
+ Lists all mappings this user is entitled to see # noqa: E501
968
942
  This method makes a synchronous HTTP request by default. To make an
969
943
  asynchronous HTTP request, please pass async_req=True
970
944
 
971
- >>> thread = api.get_reconciliation_with_http_info(scope, code, effective_at, as_at, property_keys, async_req=True)
945
+ >>> thread = api.list_reconciliation_mappings_with_http_info(reconciliation_type, async_req=True)
972
946
  >>> result = thread.get()
973
947
 
974
- :param scope: The scope of the scheduled reconciliation (required)
975
- :type scope: str
976
- :param code: The code of the scheduled reconciliation (required)
977
- :type code: str
978
- :param effective_at: The effective datetime or cut label at which to retrieve the scheduled reconciliation. Defaults to the current LUSID system datetime if not specified.
979
- :type effective_at: str
980
- :param as_at: The asAt datetime at which to retrieve the scheduled reconciliation. Defaults to returning the latest version of the reconciliation if not specified.
981
- :type as_at: datetime
982
- :param property_keys: A list of property keys from the 'Reconciliation' property domain to decorate onto the reconciliation. These must take the form {domain}/{scope}/{code}, for example 'Reconciliation/Broker/Id'.
983
- :type property_keys: List[str]
948
+ :param reconciliation_type: Optional parameter to specify which type of mappings should be returned. Defaults to Transaction if not provided.
949
+ :type reconciliation_type: str
984
950
  :param async_req: Whether to execute the request asynchronously.
985
951
  :type async_req: bool, optional
986
952
  :param _preload_content: if False, the ApiResponse.data will
@@ -991,10 +957,9 @@ class ReconciliationsApi:
991
957
  :param _return_http_data_only: response data instead of ApiResponse
992
958
  object with status code, headers, etc
993
959
  :type _return_http_data_only: bool, optional
994
- :param _request_timeout: timeout setting for this request. If one
995
- number provided, it will be total request
996
- timeout. It can also be a pair (tuple) of
997
- (connection, read) timeouts.
960
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
961
+ :param opts: Configuration options for this request
962
+ :type opts: ConfigurationOptions, optional
998
963
  :param _request_auth: set to override the auth_settings for an a single
999
964
  request; this effectively ignores the authentication
1000
965
  in the spec for a single request.
@@ -1003,17 +968,13 @@ class ReconciliationsApi:
1003
968
  :return: Returns the result object.
1004
969
  If the method is called asynchronously,
1005
970
  returns the request thread.
1006
- :rtype: tuple(Reconciliation, status_code(int), headers(HTTPHeaderDict))
971
+ :rtype: tuple(ResourceListOfMapping, status_code(int), headers(HTTPHeaderDict))
1007
972
  """
1008
973
 
1009
974
  _params = locals()
1010
975
 
1011
976
  _all_params = [
1012
- 'scope',
1013
- 'code',
1014
- 'effective_at',
1015
- 'as_at',
1016
- 'property_keys'
977
+ 'reconciliation_type'
1017
978
  ]
1018
979
  _all_params.extend(
1019
980
  [
@@ -1023,7 +984,8 @@ class ReconciliationsApi:
1023
984
  '_request_timeout',
1024
985
  '_request_auth',
1025
986
  '_content_type',
1026
- '_headers'
987
+ '_headers',
988
+ 'opts'
1027
989
  ]
1028
990
  )
1029
991
 
@@ -1032,7 +994,7 @@ class ReconciliationsApi:
1032
994
  if _key not in _all_params:
1033
995
  raise ApiTypeError(
1034
996
  "Got an unexpected keyword argument '%s'"
1035
- " to method get_reconciliation" % _key
997
+ " to method list_reconciliation_mappings" % _key
1036
998
  )
1037
999
  _params[_key] = _val
1038
1000
  del _params['kwargs']
@@ -1041,27 +1003,11 @@ class ReconciliationsApi:
1041
1003
 
1042
1004
  # process the path parameters
1043
1005
  _path_params = {}
1044
- if _params['scope']:
1045
- _path_params['scope'] = _params['scope']
1046
-
1047
- if _params['code']:
1048
- _path_params['code'] = _params['code']
1049
-
1050
1006
 
1051
1007
  # process the query parameters
1052
1008
  _query_params = []
1053
- if _params.get('effective_at') is not None: # noqa: E501
1054
- _query_params.append(('effectiveAt', _params['effective_at']))
1055
-
1056
- if _params.get('as_at') is not None: # noqa: E501
1057
- if isinstance(_params['as_at'], datetime):
1058
- _query_params.append(('asAt', _params['as_at'].strftime(self.api_client.configuration.datetime_format)))
1059
- else:
1060
- _query_params.append(('asAt', _params['as_at']))
1061
-
1062
- if _params.get('property_keys') is not None: # noqa: E501
1063
- _query_params.append(('propertyKeys', _params['property_keys']))
1064
- _collection_formats['propertyKeys'] = 'multi'
1009
+ if _params.get('reconciliation_type') is not None: # noqa: E501
1010
+ _query_params.append(('reconciliationType', _params['reconciliation_type']))
1065
1011
 
1066
1012
  # process the header parameters
1067
1013
  _header_params = dict(_params.get('_headers', {}))
@@ -1078,12 +1024,12 @@ class ReconciliationsApi:
1078
1024
  _auth_settings = ['oauth2'] # noqa: E501
1079
1025
 
1080
1026
  _response_types_map = {
1081
- '200': "Reconciliation",
1027
+ '200': "ResourceListOfMapping",
1082
1028
  '400': "LusidValidationProblemDetails",
1083
1029
  }
1084
1030
 
1085
1031
  return self.api_client.call_api(
1086
- '/api/portfolios/$scheduledReconciliations/{scope}/{code}', 'GET',
1032
+ '/api/portfolios/mapping', 'GET',
1087
1033
  _path_params,
1088
1034
  _query_params,
1089
1035
  _header_params,
@@ -1096,82 +1042,82 @@ class ReconciliationsApi:
1096
1042
  _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
1097
1043
  _preload_content=_params.get('_preload_content', True),
1098
1044
  _request_timeout=_params.get('_request_timeout'),
1045
+ opts=_params.get('opts'),
1099
1046
  collection_formats=_collection_formats,
1100
1047
  _request_auth=_params.get('_request_auth'))
1101
1048
 
1102
1049
  @overload
1103
- async def get_reconciliation_break(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the reconciliation associated with the break")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the reconciliation associated with the break")], run_date : Annotated[datetime, Field(..., description="The date of the run associated with the break")], version : Annotated[StrictInt, Field(..., description="The version number of the run associated with the break")], break_id : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The unique identifier for the break")], as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the reconciliation break. Defaults to returning the latest version of the reconciliation break if not specified.")] = None, **kwargs) -> ReconciliationRunBreak: # noqa: E501
1050
+ async def list_reconciliations(self, effective_at : Annotated[Optional[StrictStr], Field(description="The effective datetime or cut label at which to list the TimeVariant properties for the reconciliation. Defaults to the current LUSID system datetime if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to list the reconciliation. Defaults to returning the latest version of each reconciliation if not specified.")] = None, page : Annotated[Optional[constr(strict=True, max_length=500, min_length=1)], Field(description="The pagination token to use to continue listing reconciliations; this value is returned from the previous call. If a pagination token is provided, the filter, effectiveAt and asAt fields must not have changed since the original request.")] = None, limit : Annotated[Optional[conint(strict=True, le=5000, ge=1)], Field(description="When paginating, limit the results to this number. Defaults to 100 if not specified.")] = None, filter : Annotated[Optional[constr(strict=True, max_length=16384, min_length=0)], Field(description="Expression to filter the results. For example, to filter on the reconciliation type, specify \"id.Code eq '001'\". For more information about filtering results, see https://support.lusid.com/knowledgebase/article/KA-01914.")] = None, property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the 'Reconciliation' domain to decorate onto each reconciliation. These must take the format {domain}/{scope}/{code}, for example 'Reconciliation/Broker/Id'.")] = None, **kwargs) -> PagedResourceListOfReconciliation: # noqa: E501
1104
1051
  ...
1105
1052
 
1106
1053
  @overload
1107
- def get_reconciliation_break(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the reconciliation associated with the break")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the reconciliation associated with the break")], run_date : Annotated[datetime, Field(..., description="The date of the run associated with the break")], version : Annotated[StrictInt, Field(..., description="The version number of the run associated with the break")], break_id : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The unique identifier for the break")], as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the reconciliation break. Defaults to returning the latest version of the reconciliation break if not specified.")] = None, async_req: Optional[bool]=True, **kwargs) -> ReconciliationRunBreak: # noqa: E501
1054
+ def list_reconciliations(self, effective_at : Annotated[Optional[StrictStr], Field(description="The effective datetime or cut label at which to list the TimeVariant properties for the reconciliation. Defaults to the current LUSID system datetime if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to list the reconciliation. Defaults to returning the latest version of each reconciliation if not specified.")] = None, page : Annotated[Optional[constr(strict=True, max_length=500, min_length=1)], Field(description="The pagination token to use to continue listing reconciliations; this value is returned from the previous call. If a pagination token is provided, the filter, effectiveAt and asAt fields must not have changed since the original request.")] = None, limit : Annotated[Optional[conint(strict=True, le=5000, ge=1)], Field(description="When paginating, limit the results to this number. Defaults to 100 if not specified.")] = None, filter : Annotated[Optional[constr(strict=True, max_length=16384, min_length=0)], Field(description="Expression to filter the results. For example, to filter on the reconciliation type, specify \"id.Code eq '001'\". For more information about filtering results, see https://support.lusid.com/knowledgebase/article/KA-01914.")] = None, property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the 'Reconciliation' domain to decorate onto each reconciliation. These must take the format {domain}/{scope}/{code}, for example 'Reconciliation/Broker/Id'.")] = None, async_req: Optional[bool]=True, **kwargs) -> PagedResourceListOfReconciliation: # noqa: E501
1108
1055
  ...
1109
1056
 
1110
1057
  @validate_arguments
1111
- def get_reconciliation_break(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the reconciliation associated with the break")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the reconciliation associated with the break")], run_date : Annotated[datetime, Field(..., description="The date of the run associated with the break")], version : Annotated[StrictInt, Field(..., description="The version number of the run associated with the break")], break_id : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The unique identifier for the break")], as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the reconciliation break. Defaults to returning the latest version of the reconciliation break if not specified.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[ReconciliationRunBreak, Awaitable[ReconciliationRunBreak]]: # noqa: E501
1112
- """[EXPERIMENTAL] GetReconciliationBreak: Get reconciliation break # noqa: E501
1058
+ def list_reconciliations(self, effective_at : Annotated[Optional[StrictStr], Field(description="The effective datetime or cut label at which to list the TimeVariant properties for the reconciliation. Defaults to the current LUSID system datetime if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to list the reconciliation. Defaults to returning the latest version of each reconciliation if not specified.")] = None, page : Annotated[Optional[constr(strict=True, max_length=500, min_length=1)], Field(description="The pagination token to use to continue listing reconciliations; this value is returned from the previous call. If a pagination token is provided, the filter, effectiveAt and asAt fields must not have changed since the original request.")] = None, limit : Annotated[Optional[conint(strict=True, le=5000, ge=1)], Field(description="When paginating, limit the results to this number. Defaults to 100 if not specified.")] = None, filter : Annotated[Optional[constr(strict=True, max_length=16384, min_length=0)], Field(description="Expression to filter the results. For example, to filter on the reconciliation type, specify \"id.Code eq '001'\". For more information about filtering results, see https://support.lusid.com/knowledgebase/article/KA-01914.")] = None, property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the 'Reconciliation' domain to decorate onto each reconciliation. These must take the format {domain}/{scope}/{code}, for example 'Reconciliation/Broker/Id'.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[PagedResourceListOfReconciliation, Awaitable[PagedResourceListOfReconciliation]]: # noqa: E501
1059
+ """[EXPERIMENTAL] ListReconciliations: List scheduled reconciliations # noqa: E501
1113
1060
 
1114
- Get the requested reconciliation break # noqa: E501
1061
+ List all the scheduled reconciliations matching particular criteria # noqa: E501
1115
1062
  This method makes a synchronous HTTP request by default. To make an
1116
1063
  asynchronous HTTP request, please pass async_req=True
1117
1064
 
1118
- >>> thread = api.get_reconciliation_break(scope, code, run_date, version, break_id, as_at, async_req=True)
1065
+ >>> thread = api.list_reconciliations(effective_at, as_at, page, limit, filter, property_keys, async_req=True)
1119
1066
  >>> result = thread.get()
1120
1067
 
1121
- :param scope: The scope of the reconciliation associated with the break (required)
1122
- :type scope: str
1123
- :param code: The code of the reconciliation associated with the break (required)
1124
- :type code: str
1125
- :param run_date: The date of the run associated with the break (required)
1126
- :type run_date: datetime
1127
- :param version: The version number of the run associated with the break (required)
1128
- :type version: int
1129
- :param break_id: The unique identifier for the break (required)
1130
- :type break_id: str
1131
- :param as_at: The asAt datetime at which to retrieve the reconciliation break. Defaults to returning the latest version of the reconciliation break if not specified.
1068
+ :param effective_at: The effective datetime or cut label at which to list the TimeVariant properties for the reconciliation. Defaults to the current LUSID system datetime if not specified.
1069
+ :type effective_at: str
1070
+ :param as_at: The asAt datetime at which to list the reconciliation. Defaults to returning the latest version of each reconciliation if not specified.
1132
1071
  :type as_at: datetime
1072
+ :param page: The pagination token to use to continue listing reconciliations; this value is returned from the previous call. If a pagination token is provided, the filter, effectiveAt and asAt fields must not have changed since the original request.
1073
+ :type page: str
1074
+ :param limit: When paginating, limit the results to this number. Defaults to 100 if not specified.
1075
+ :type limit: int
1076
+ :param filter: Expression to filter the results. For example, to filter on the reconciliation type, specify \"id.Code eq '001'\". For more information about filtering results, see https://support.lusid.com/knowledgebase/article/KA-01914.
1077
+ :type filter: str
1078
+ :param property_keys: A list of property keys from the 'Reconciliation' domain to decorate onto each reconciliation. These must take the format {domain}/{scope}/{code}, for example 'Reconciliation/Broker/Id'.
1079
+ :type property_keys: List[str]
1133
1080
  :param async_req: Whether to execute the request asynchronously.
1134
1081
  :type async_req: bool, optional
1135
- :param _request_timeout: timeout setting for this request.
1136
- If one number provided, it will be total request
1137
- timeout. It can also be a pair (tuple) of
1138
- (connection, read) timeouts.
1082
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
1083
+ :param opts: Configuration options for this request
1084
+ :type opts: ConfigurationOptions, optional
1139
1085
  :return: Returns the result object.
1140
1086
  If the method is called asynchronously,
1141
1087
  returns the request thread.
1142
- :rtype: ReconciliationRunBreak
1088
+ :rtype: PagedResourceListOfReconciliation
1143
1089
  """
1144
1090
  kwargs['_return_http_data_only'] = True
1145
1091
  if '_preload_content' in kwargs:
1146
- message = "Error! Please call the get_reconciliation_break_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501
1092
+ message = "Error! Please call the list_reconciliations_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501
1147
1093
  raise ValueError(message)
1148
1094
  if async_req is not None:
1149
1095
  kwargs['async_req'] = async_req
1150
- return self.get_reconciliation_break_with_http_info(scope, code, run_date, version, break_id, as_at, **kwargs) # noqa: E501
1096
+ return self.list_reconciliations_with_http_info(effective_at, as_at, page, limit, filter, property_keys, **kwargs) # noqa: E501
1151
1097
 
1152
1098
  @validate_arguments
1153
- def get_reconciliation_break_with_http_info(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the reconciliation associated with the break")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the reconciliation associated with the break")], run_date : Annotated[datetime, Field(..., description="The date of the run associated with the break")], version : Annotated[StrictInt, Field(..., description="The version number of the run associated with the break")], break_id : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The unique identifier for the break")], as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the reconciliation break. Defaults to returning the latest version of the reconciliation break if not specified.")] = None, **kwargs) -> ApiResponse: # noqa: E501
1154
- """[EXPERIMENTAL] GetReconciliationBreak: Get reconciliation break # noqa: E501
1099
+ def list_reconciliations_with_http_info(self, effective_at : Annotated[Optional[StrictStr], Field(description="The effective datetime or cut label at which to list the TimeVariant properties for the reconciliation. Defaults to the current LUSID system datetime if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to list the reconciliation. Defaults to returning the latest version of each reconciliation if not specified.")] = None, page : Annotated[Optional[constr(strict=True, max_length=500, min_length=1)], Field(description="The pagination token to use to continue listing reconciliations; this value is returned from the previous call. If a pagination token is provided, the filter, effectiveAt and asAt fields must not have changed since the original request.")] = None, limit : Annotated[Optional[conint(strict=True, le=5000, ge=1)], Field(description="When paginating, limit the results to this number. Defaults to 100 if not specified.")] = None, filter : Annotated[Optional[constr(strict=True, max_length=16384, min_length=0)], Field(description="Expression to filter the results. For example, to filter on the reconciliation type, specify \"id.Code eq '001'\". For more information about filtering results, see https://support.lusid.com/knowledgebase/article/KA-01914.")] = None, property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the 'Reconciliation' domain to decorate onto each reconciliation. These must take the format {domain}/{scope}/{code}, for example 'Reconciliation/Broker/Id'.")] = None, **kwargs) -> ApiResponse: # noqa: E501
1100
+ """[EXPERIMENTAL] ListReconciliations: List scheduled reconciliations # noqa: E501
1155
1101
 
1156
- Get the requested reconciliation break # noqa: E501
1102
+ List all the scheduled reconciliations matching particular criteria # noqa: E501
1157
1103
  This method makes a synchronous HTTP request by default. To make an
1158
1104
  asynchronous HTTP request, please pass async_req=True
1159
1105
 
1160
- >>> thread = api.get_reconciliation_break_with_http_info(scope, code, run_date, version, break_id, as_at, async_req=True)
1106
+ >>> thread = api.list_reconciliations_with_http_info(effective_at, as_at, page, limit, filter, property_keys, async_req=True)
1161
1107
  >>> result = thread.get()
1162
1108
 
1163
- :param scope: The scope of the reconciliation associated with the break (required)
1164
- :type scope: str
1165
- :param code: The code of the reconciliation associated with the break (required)
1166
- :type code: str
1167
- :param run_date: The date of the run associated with the break (required)
1168
- :type run_date: datetime
1169
- :param version: The version number of the run associated with the break (required)
1170
- :type version: int
1171
- :param break_id: The unique identifier for the break (required)
1172
- :type break_id: str
1173
- :param as_at: The asAt datetime at which to retrieve the reconciliation break. Defaults to returning the latest version of the reconciliation break if not specified.
1109
+ :param effective_at: The effective datetime or cut label at which to list the TimeVariant properties for the reconciliation. Defaults to the current LUSID system datetime if not specified.
1110
+ :type effective_at: str
1111
+ :param as_at: The asAt datetime at which to list the reconciliation. Defaults to returning the latest version of each reconciliation if not specified.
1174
1112
  :type as_at: datetime
1113
+ :param page: The pagination token to use to continue listing reconciliations; this value is returned from the previous call. If a pagination token is provided, the filter, effectiveAt and asAt fields must not have changed since the original request.
1114
+ :type page: str
1115
+ :param limit: When paginating, limit the results to this number. Defaults to 100 if not specified.
1116
+ :type limit: int
1117
+ :param filter: Expression to filter the results. For example, to filter on the reconciliation type, specify \"id.Code eq '001'\". For more information about filtering results, see https://support.lusid.com/knowledgebase/article/KA-01914.
1118
+ :type filter: str
1119
+ :param property_keys: A list of property keys from the 'Reconciliation' domain to decorate onto each reconciliation. These must take the format {domain}/{scope}/{code}, for example 'Reconciliation/Broker/Id'.
1120
+ :type property_keys: List[str]
1175
1121
  :param async_req: Whether to execute the request asynchronously.
1176
1122
  :type async_req: bool, optional
1177
1123
  :param _preload_content: if False, the ApiResponse.data will
@@ -1182,10 +1128,9 @@ class ReconciliationsApi:
1182
1128
  :param _return_http_data_only: response data instead of ApiResponse
1183
1129
  object with status code, headers, etc
1184
1130
  :type _return_http_data_only: bool, optional
1185
- :param _request_timeout: timeout setting for this request. If one
1186
- number provided, it will be total request
1187
- timeout. It can also be a pair (tuple) of
1188
- (connection, read) timeouts.
1131
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
1132
+ :param opts: Configuration options for this request
1133
+ :type opts: ConfigurationOptions, optional
1189
1134
  :param _request_auth: set to override the auth_settings for an a single
1190
1135
  request; this effectively ignores the authentication
1191
1136
  in the spec for a single request.
@@ -1194,18 +1139,18 @@ class ReconciliationsApi:
1194
1139
  :return: Returns the result object.
1195
1140
  If the method is called asynchronously,
1196
1141
  returns the request thread.
1197
- :rtype: tuple(ReconciliationRunBreak, status_code(int), headers(HTTPHeaderDict))
1142
+ :rtype: tuple(PagedResourceListOfReconciliation, status_code(int), headers(HTTPHeaderDict))
1198
1143
  """
1199
1144
 
1200
1145
  _params = locals()
1201
1146
 
1202
1147
  _all_params = [
1203
- 'scope',
1204
- 'code',
1205
- 'run_date',
1206
- 'version',
1207
- 'break_id',
1208
- 'as_at'
1148
+ 'effective_at',
1149
+ 'as_at',
1150
+ 'page',
1151
+ 'limit',
1152
+ 'filter',
1153
+ 'property_keys'
1209
1154
  ]
1210
1155
  _all_params.extend(
1211
1156
  [
@@ -1215,7 +1160,8 @@ class ReconciliationsApi:
1215
1160
  '_request_timeout',
1216
1161
  '_request_auth',
1217
1162
  '_content_type',
1218
- '_headers'
1163
+ '_headers',
1164
+ 'opts'
1219
1165
  ]
1220
1166
  )
1221
1167
 
@@ -1224,1497 +1170,7 @@ class ReconciliationsApi:
1224
1170
  if _key not in _all_params:
1225
1171
  raise ApiTypeError(
1226
1172
  "Got an unexpected keyword argument '%s'"
1227
- " to method get_reconciliation_break" % _key
1228
- )
1229
- _params[_key] = _val
1230
- del _params['kwargs']
1231
-
1232
- _collection_formats = {}
1233
-
1234
- # process the path parameters
1235
- _path_params = {}
1236
- if _params['scope']:
1237
- _path_params['scope'] = _params['scope']
1238
-
1239
- if _params['code']:
1240
- _path_params['code'] = _params['code']
1241
-
1242
- if _params['run_date']:
1243
- _path_params['runDate'] = _params['run_date']
1244
-
1245
- if _params['version']:
1246
- _path_params['version'] = _params['version']
1247
-
1248
- if _params['break_id']:
1249
- _path_params['breakId'] = _params['break_id']
1250
-
1251
-
1252
- # process the query parameters
1253
- _query_params = []
1254
- if _params.get('as_at') is not None: # noqa: E501
1255
- if isinstance(_params['as_at'], datetime):
1256
- _query_params.append(('asAt', _params['as_at'].strftime(self.api_client.configuration.datetime_format)))
1257
- else:
1258
- _query_params.append(('asAt', _params['as_at']))
1259
-
1260
- # process the header parameters
1261
- _header_params = dict(_params.get('_headers', {}))
1262
- # process the form parameters
1263
- _form_params = []
1264
- _files = {}
1265
- # process the body parameter
1266
- _body_params = None
1267
- # set the HTTP header `Accept`
1268
- _header_params['Accept'] = self.api_client.select_header_accept(
1269
- ['text/plain', 'application/json', 'text/json']) # noqa: E501
1270
-
1271
- # authentication setting
1272
- _auth_settings = ['oauth2'] # noqa: E501
1273
-
1274
- _response_types_map = {
1275
- '200': "ReconciliationRunBreak",
1276
- '400': "LusidValidationProblemDetails",
1277
- }
1278
-
1279
- return self.api_client.call_api(
1280
- '/api/portfolios/$scheduledReconciliations/{scope}/{code}/runs/{runDate}/{version}/breaks/{breakId}', 'GET',
1281
- _path_params,
1282
- _query_params,
1283
- _header_params,
1284
- body=_body_params,
1285
- post_params=_form_params,
1286
- files=_files,
1287
- response_types_map=_response_types_map,
1288
- auth_settings=_auth_settings,
1289
- async_req=_params.get('async_req'),
1290
- _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
1291
- _preload_content=_params.get('_preload_content', True),
1292
- _request_timeout=_params.get('_request_timeout'),
1293
- collection_formats=_collection_formats,
1294
- _request_auth=_params.get('_request_auth'))
1295
-
1296
- @overload
1297
- async def get_reconciliation_mapping(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the mapping.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the mapping.")], **kwargs) -> Mapping: # noqa: E501
1298
- ...
1299
-
1300
- @overload
1301
- def get_reconciliation_mapping(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the mapping.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the mapping.")], async_req: Optional[bool]=True, **kwargs) -> Mapping: # noqa: E501
1302
- ...
1303
-
1304
- @validate_arguments
1305
- def get_reconciliation_mapping(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the mapping.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the mapping.")], async_req: Optional[bool]=None, **kwargs) -> Union[Mapping, Awaitable[Mapping]]: # noqa: E501
1306
- """[EARLY ACCESS] GetReconciliationMapping: Get a mapping # noqa: E501
1307
-
1308
- Gets a mapping identified by the given scope and code # noqa: E501
1309
- This method makes a synchronous HTTP request by default. To make an
1310
- asynchronous HTTP request, please pass async_req=True
1311
-
1312
- >>> thread = api.get_reconciliation_mapping(scope, code, async_req=True)
1313
- >>> result = thread.get()
1314
-
1315
- :param scope: The scope of the mapping. (required)
1316
- :type scope: str
1317
- :param code: The code of the mapping. (required)
1318
- :type code: str
1319
- :param async_req: Whether to execute the request asynchronously.
1320
- :type async_req: bool, optional
1321
- :param _request_timeout: timeout setting for this request.
1322
- If one number provided, it will be total request
1323
- timeout. It can also be a pair (tuple) of
1324
- (connection, read) timeouts.
1325
- :return: Returns the result object.
1326
- If the method is called asynchronously,
1327
- returns the request thread.
1328
- :rtype: Mapping
1329
- """
1330
- kwargs['_return_http_data_only'] = True
1331
- if '_preload_content' in kwargs:
1332
- message = "Error! Please call the get_reconciliation_mapping_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501
1333
- raise ValueError(message)
1334
- if async_req is not None:
1335
- kwargs['async_req'] = async_req
1336
- return self.get_reconciliation_mapping_with_http_info(scope, code, **kwargs) # noqa: E501
1337
-
1338
- @validate_arguments
1339
- def get_reconciliation_mapping_with_http_info(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the mapping.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the mapping.")], **kwargs) -> ApiResponse: # noqa: E501
1340
- """[EARLY ACCESS] GetReconciliationMapping: Get a mapping # noqa: E501
1341
-
1342
- Gets a mapping identified by the given scope and code # noqa: E501
1343
- This method makes a synchronous HTTP request by default. To make an
1344
- asynchronous HTTP request, please pass async_req=True
1345
-
1346
- >>> thread = api.get_reconciliation_mapping_with_http_info(scope, code, async_req=True)
1347
- >>> result = thread.get()
1348
-
1349
- :param scope: The scope of the mapping. (required)
1350
- :type scope: str
1351
- :param code: The code of the mapping. (required)
1352
- :type code: str
1353
- :param async_req: Whether to execute the request asynchronously.
1354
- :type async_req: bool, optional
1355
- :param _preload_content: if False, the ApiResponse.data will
1356
- be set to none and raw_data will store the
1357
- HTTP response body without reading/decoding.
1358
- Default is True.
1359
- :type _preload_content: bool, optional
1360
- :param _return_http_data_only: response data instead of ApiResponse
1361
- object with status code, headers, etc
1362
- :type _return_http_data_only: bool, optional
1363
- :param _request_timeout: timeout setting for this request. If one
1364
- number provided, it will be total request
1365
- timeout. It can also be a pair (tuple) of
1366
- (connection, read) timeouts.
1367
- :param _request_auth: set to override the auth_settings for an a single
1368
- request; this effectively ignores the authentication
1369
- in the spec for a single request.
1370
- :type _request_auth: dict, optional
1371
- :type _content_type: string, optional: force content-type for the request
1372
- :return: Returns the result object.
1373
- If the method is called asynchronously,
1374
- returns the request thread.
1375
- :rtype: tuple(Mapping, status_code(int), headers(HTTPHeaderDict))
1376
- """
1377
-
1378
- _params = locals()
1379
-
1380
- _all_params = [
1381
- 'scope',
1382
- 'code'
1383
- ]
1384
- _all_params.extend(
1385
- [
1386
- 'async_req',
1387
- '_return_http_data_only',
1388
- '_preload_content',
1389
- '_request_timeout',
1390
- '_request_auth',
1391
- '_content_type',
1392
- '_headers'
1393
- ]
1394
- )
1395
-
1396
- # validate the arguments
1397
- for _key, _val in _params['kwargs'].items():
1398
- if _key not in _all_params:
1399
- raise ApiTypeError(
1400
- "Got an unexpected keyword argument '%s'"
1401
- " to method get_reconciliation_mapping" % _key
1402
- )
1403
- _params[_key] = _val
1404
- del _params['kwargs']
1405
-
1406
- _collection_formats = {}
1407
-
1408
- # process the path parameters
1409
- _path_params = {}
1410
- if _params['scope']:
1411
- _path_params['scope'] = _params['scope']
1412
-
1413
- if _params['code']:
1414
- _path_params['code'] = _params['code']
1415
-
1416
-
1417
- # process the query parameters
1418
- _query_params = []
1419
- # process the header parameters
1420
- _header_params = dict(_params.get('_headers', {}))
1421
- # process the form parameters
1422
- _form_params = []
1423
- _files = {}
1424
- # process the body parameter
1425
- _body_params = None
1426
- # set the HTTP header `Accept`
1427
- _header_params['Accept'] = self.api_client.select_header_accept(
1428
- ['text/plain', 'application/json', 'text/json']) # noqa: E501
1429
-
1430
- # authentication setting
1431
- _auth_settings = ['oauth2'] # noqa: E501
1432
-
1433
- _response_types_map = {
1434
- '200': "Mapping",
1435
- '400': "LusidValidationProblemDetails",
1436
- }
1437
-
1438
- return self.api_client.call_api(
1439
- '/api/portfolios/mapping/{scope}/{code}', 'GET',
1440
- _path_params,
1441
- _query_params,
1442
- _header_params,
1443
- body=_body_params,
1444
- post_params=_form_params,
1445
- files=_files,
1446
- response_types_map=_response_types_map,
1447
- auth_settings=_auth_settings,
1448
- async_req=_params.get('async_req'),
1449
- _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
1450
- _preload_content=_params.get('_preload_content', True),
1451
- _request_timeout=_params.get('_request_timeout'),
1452
- collection_formats=_collection_formats,
1453
- _request_auth=_params.get('_request_auth'))
1454
-
1455
- @overload
1456
- async def get_reconciliation_run(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the reconciliation associated with the run")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the reconciliation associated with the run")], run_date : Annotated[datetime, Field(..., description="The date of the run")], version : Annotated[StrictInt, Field(..., description="The version number of the run")], effective_at : Annotated[Optional[StrictStr], Field(description="The effective datetime or cut label at which to retrieve the reconciliation run. Defaults to the current LUSID system datetime if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the reconciliation run. Defaults to returning the latest version of the reconciliation run if not specified.")] = None, **kwargs) -> ReconciliationRun: # noqa: E501
1457
- ...
1458
-
1459
- @overload
1460
- def get_reconciliation_run(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the reconciliation associated with the run")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the reconciliation associated with the run")], run_date : Annotated[datetime, Field(..., description="The date of the run")], version : Annotated[StrictInt, Field(..., description="The version number of the run")], effective_at : Annotated[Optional[StrictStr], Field(description="The effective datetime or cut label at which to retrieve the reconciliation run. Defaults to the current LUSID system datetime if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the reconciliation run. Defaults to returning the latest version of the reconciliation run if not specified.")] = None, async_req: Optional[bool]=True, **kwargs) -> ReconciliationRun: # noqa: E501
1461
- ...
1462
-
1463
- @validate_arguments
1464
- def get_reconciliation_run(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the reconciliation associated with the run")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the reconciliation associated with the run")], run_date : Annotated[datetime, Field(..., description="The date of the run")], version : Annotated[StrictInt, Field(..., description="The version number of the run")], effective_at : Annotated[Optional[StrictStr], Field(description="The effective datetime or cut label at which to retrieve the reconciliation run. Defaults to the current LUSID system datetime if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the reconciliation run. Defaults to returning the latest version of the reconciliation run if not specified.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[ReconciliationRun, Awaitable[ReconciliationRun]]: # noqa: E501
1465
- """[EXPERIMENTAL] GetReconciliationRun: Get a reconciliation run # noqa: E501
1466
-
1467
- Get the requested reconciliation run # noqa: E501
1468
- This method makes a synchronous HTTP request by default. To make an
1469
- asynchronous HTTP request, please pass async_req=True
1470
-
1471
- >>> thread = api.get_reconciliation_run(scope, code, run_date, version, effective_at, as_at, async_req=True)
1472
- >>> result = thread.get()
1473
-
1474
- :param scope: The scope of the reconciliation associated with the run (required)
1475
- :type scope: str
1476
- :param code: The code of the reconciliation associated with the run (required)
1477
- :type code: str
1478
- :param run_date: The date of the run (required)
1479
- :type run_date: datetime
1480
- :param version: The version number of the run (required)
1481
- :type version: int
1482
- :param effective_at: The effective datetime or cut label at which to retrieve the reconciliation run. Defaults to the current LUSID system datetime if not specified.
1483
- :type effective_at: str
1484
- :param as_at: The asAt datetime at which to retrieve the reconciliation run. Defaults to returning the latest version of the reconciliation run if not specified.
1485
- :type as_at: datetime
1486
- :param async_req: Whether to execute the request asynchronously.
1487
- :type async_req: bool, optional
1488
- :param _request_timeout: timeout setting for this request.
1489
- If one number provided, it will be total request
1490
- timeout. It can also be a pair (tuple) of
1491
- (connection, read) timeouts.
1492
- :return: Returns the result object.
1493
- If the method is called asynchronously,
1494
- returns the request thread.
1495
- :rtype: ReconciliationRun
1496
- """
1497
- kwargs['_return_http_data_only'] = True
1498
- if '_preload_content' in kwargs:
1499
- message = "Error! Please call the get_reconciliation_run_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501
1500
- raise ValueError(message)
1501
- if async_req is not None:
1502
- kwargs['async_req'] = async_req
1503
- return self.get_reconciliation_run_with_http_info(scope, code, run_date, version, effective_at, as_at, **kwargs) # noqa: E501
1504
-
1505
- @validate_arguments
1506
- def get_reconciliation_run_with_http_info(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the reconciliation associated with the run")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the reconciliation associated with the run")], run_date : Annotated[datetime, Field(..., description="The date of the run")], version : Annotated[StrictInt, Field(..., description="The version number of the run")], effective_at : Annotated[Optional[StrictStr], Field(description="The effective datetime or cut label at which to retrieve the reconciliation run. Defaults to the current LUSID system datetime if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the reconciliation run. Defaults to returning the latest version of the reconciliation run if not specified.")] = None, **kwargs) -> ApiResponse: # noqa: E501
1507
- """[EXPERIMENTAL] GetReconciliationRun: Get a reconciliation run # noqa: E501
1508
-
1509
- Get the requested reconciliation run # noqa: E501
1510
- This method makes a synchronous HTTP request by default. To make an
1511
- asynchronous HTTP request, please pass async_req=True
1512
-
1513
- >>> thread = api.get_reconciliation_run_with_http_info(scope, code, run_date, version, effective_at, as_at, async_req=True)
1514
- >>> result = thread.get()
1515
-
1516
- :param scope: The scope of the reconciliation associated with the run (required)
1517
- :type scope: str
1518
- :param code: The code of the reconciliation associated with the run (required)
1519
- :type code: str
1520
- :param run_date: The date of the run (required)
1521
- :type run_date: datetime
1522
- :param version: The version number of the run (required)
1523
- :type version: int
1524
- :param effective_at: The effective datetime or cut label at which to retrieve the reconciliation run. Defaults to the current LUSID system datetime if not specified.
1525
- :type effective_at: str
1526
- :param as_at: The asAt datetime at which to retrieve the reconciliation run. Defaults to returning the latest version of the reconciliation run if not specified.
1527
- :type as_at: datetime
1528
- :param async_req: Whether to execute the request asynchronously.
1529
- :type async_req: bool, optional
1530
- :param _preload_content: if False, the ApiResponse.data will
1531
- be set to none and raw_data will store the
1532
- HTTP response body without reading/decoding.
1533
- Default is True.
1534
- :type _preload_content: bool, optional
1535
- :param _return_http_data_only: response data instead of ApiResponse
1536
- object with status code, headers, etc
1537
- :type _return_http_data_only: bool, optional
1538
- :param _request_timeout: timeout setting for this request. If one
1539
- number provided, it will be total request
1540
- timeout. It can also be a pair (tuple) of
1541
- (connection, read) timeouts.
1542
- :param _request_auth: set to override the auth_settings for an a single
1543
- request; this effectively ignores the authentication
1544
- in the spec for a single request.
1545
- :type _request_auth: dict, optional
1546
- :type _content_type: string, optional: force content-type for the request
1547
- :return: Returns the result object.
1548
- If the method is called asynchronously,
1549
- returns the request thread.
1550
- :rtype: tuple(ReconciliationRun, status_code(int), headers(HTTPHeaderDict))
1551
- """
1552
-
1553
- _params = locals()
1554
-
1555
- _all_params = [
1556
- 'scope',
1557
- 'code',
1558
- 'run_date',
1559
- 'version',
1560
- 'effective_at',
1561
- 'as_at'
1562
- ]
1563
- _all_params.extend(
1564
- [
1565
- 'async_req',
1566
- '_return_http_data_only',
1567
- '_preload_content',
1568
- '_request_timeout',
1569
- '_request_auth',
1570
- '_content_type',
1571
- '_headers'
1572
- ]
1573
- )
1574
-
1575
- # validate the arguments
1576
- for _key, _val in _params['kwargs'].items():
1577
- if _key not in _all_params:
1578
- raise ApiTypeError(
1579
- "Got an unexpected keyword argument '%s'"
1580
- " to method get_reconciliation_run" % _key
1581
- )
1582
- _params[_key] = _val
1583
- del _params['kwargs']
1584
-
1585
- _collection_formats = {}
1586
-
1587
- # process the path parameters
1588
- _path_params = {}
1589
- if _params['scope']:
1590
- _path_params['scope'] = _params['scope']
1591
-
1592
- if _params['code']:
1593
- _path_params['code'] = _params['code']
1594
-
1595
- if _params['run_date']:
1596
- _path_params['runDate'] = _params['run_date']
1597
-
1598
- if _params['version']:
1599
- _path_params['version'] = _params['version']
1600
-
1601
-
1602
- # process the query parameters
1603
- _query_params = []
1604
- if _params.get('effective_at') is not None: # noqa: E501
1605
- _query_params.append(('effectiveAt', _params['effective_at']))
1606
-
1607
- if _params.get('as_at') is not None: # noqa: E501
1608
- if isinstance(_params['as_at'], datetime):
1609
- _query_params.append(('asAt', _params['as_at'].strftime(self.api_client.configuration.datetime_format)))
1610
- else:
1611
- _query_params.append(('asAt', _params['as_at']))
1612
-
1613
- # process the header parameters
1614
- _header_params = dict(_params.get('_headers', {}))
1615
- # process the form parameters
1616
- _form_params = []
1617
- _files = {}
1618
- # process the body parameter
1619
- _body_params = None
1620
- # set the HTTP header `Accept`
1621
- _header_params['Accept'] = self.api_client.select_header_accept(
1622
- ['text/plain', 'application/json', 'text/json']) # noqa: E501
1623
-
1624
- # authentication setting
1625
- _auth_settings = ['oauth2'] # noqa: E501
1626
-
1627
- _response_types_map = {
1628
- '200': "ReconciliationRun",
1629
- '400': "LusidValidationProblemDetails",
1630
- }
1631
-
1632
- return self.api_client.call_api(
1633
- '/api/portfolios/$scheduledReconciliations/{scope}/{code}/runs/{runDate}/{version}', 'GET',
1634
- _path_params,
1635
- _query_params,
1636
- _header_params,
1637
- body=_body_params,
1638
- post_params=_form_params,
1639
- files=_files,
1640
- response_types_map=_response_types_map,
1641
- auth_settings=_auth_settings,
1642
- async_req=_params.get('async_req'),
1643
- _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
1644
- _preload_content=_params.get('_preload_content', True),
1645
- _request_timeout=_params.get('_request_timeout'),
1646
- collection_formats=_collection_formats,
1647
- _request_auth=_params.get('_request_auth'))
1648
-
1649
- @overload
1650
- async def list_reconciliation_breaks(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the reconciliation associated with the break")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the reconciliation associated with the break")], run_date : Annotated[datetime, Field(..., description="The date of the run associated with the break")], version : Annotated[StrictInt, Field(..., description="The version number of the run associated with the break")], effective_at : Annotated[Optional[StrictStr], Field(description="The effective datetime or cut label at which to list the reconciliation runs. Defaults to the current LUSID system datetime if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to list the reconciliation runs. Defaults to returning the latest version of each run if not specified.")] = None, page : Annotated[Optional[constr(strict=True, max_length=500, min_length=1)], Field(description="The pagination token to use to continue listing reconciliation runs; this value is returned from the previous call. If a pagination token is provided, the filter, effectiveAt and asAt fields must not have changed since the original request. Also, if set, a start value cannot be provided.")] = None, start : Annotated[Optional[StrictInt], Field(description="When paginating, skip this number of results.")] = None, limit : Annotated[Optional[conint(strict=True, le=5000, ge=1)], Field(description="When paginating, limit the results to this number. Defaults to 100 if not specified.")] = None, filter : Annotated[Optional[constr(strict=True, max_length=16384, min_length=0)], Field(description="Expression to filter the results.")] = None, **kwargs) -> PagedResourceListOfReconciliationRunBreak: # noqa: E501
1651
- ...
1652
-
1653
- @overload
1654
- def list_reconciliation_breaks(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the reconciliation associated with the break")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the reconciliation associated with the break")], run_date : Annotated[datetime, Field(..., description="The date of the run associated with the break")], version : Annotated[StrictInt, Field(..., description="The version number of the run associated with the break")], effective_at : Annotated[Optional[StrictStr], Field(description="The effective datetime or cut label at which to list the reconciliation runs. Defaults to the current LUSID system datetime if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to list the reconciliation runs. Defaults to returning the latest version of each run if not specified.")] = None, page : Annotated[Optional[constr(strict=True, max_length=500, min_length=1)], Field(description="The pagination token to use to continue listing reconciliation runs; this value is returned from the previous call. If a pagination token is provided, the filter, effectiveAt and asAt fields must not have changed since the original request. Also, if set, a start value cannot be provided.")] = None, start : Annotated[Optional[StrictInt], Field(description="When paginating, skip this number of results.")] = None, limit : Annotated[Optional[conint(strict=True, le=5000, ge=1)], Field(description="When paginating, limit the results to this number. Defaults to 100 if not specified.")] = None, filter : Annotated[Optional[constr(strict=True, max_length=16384, min_length=0)], Field(description="Expression to filter the results.")] = None, async_req: Optional[bool]=True, **kwargs) -> PagedResourceListOfReconciliationRunBreak: # noqa: E501
1655
- ...
1656
-
1657
- @validate_arguments
1658
- def list_reconciliation_breaks(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the reconciliation associated with the break")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the reconciliation associated with the break")], run_date : Annotated[datetime, Field(..., description="The date of the run associated with the break")], version : Annotated[StrictInt, Field(..., description="The version number of the run associated with the break")], effective_at : Annotated[Optional[StrictStr], Field(description="The effective datetime or cut label at which to list the reconciliation runs. Defaults to the current LUSID system datetime if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to list the reconciliation runs. Defaults to returning the latest version of each run if not specified.")] = None, page : Annotated[Optional[constr(strict=True, max_length=500, min_length=1)], Field(description="The pagination token to use to continue listing reconciliation runs; this value is returned from the previous call. If a pagination token is provided, the filter, effectiveAt and asAt fields must not have changed since the original request. Also, if set, a start value cannot be provided.")] = None, start : Annotated[Optional[StrictInt], Field(description="When paginating, skip this number of results.")] = None, limit : Annotated[Optional[conint(strict=True, le=5000, ge=1)], Field(description="When paginating, limit the results to this number. Defaults to 100 if not specified.")] = None, filter : Annotated[Optional[constr(strict=True, max_length=16384, min_length=0)], Field(description="Expression to filter the results.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[PagedResourceListOfReconciliationRunBreak, Awaitable[PagedResourceListOfReconciliationRunBreak]]: # noqa: E501
1659
- """[EXPERIMENTAL] ListReconciliationBreaks: List reconciliation breaks # noqa: E501
1660
-
1661
- List all reconciliation breaks associated with a given run # noqa: E501
1662
- This method makes a synchronous HTTP request by default. To make an
1663
- asynchronous HTTP request, please pass async_req=True
1664
-
1665
- >>> thread = api.list_reconciliation_breaks(scope, code, run_date, version, effective_at, as_at, page, start, limit, filter, async_req=True)
1666
- >>> result = thread.get()
1667
-
1668
- :param scope: The scope of the reconciliation associated with the break (required)
1669
- :type scope: str
1670
- :param code: The code of the reconciliation associated with the break (required)
1671
- :type code: str
1672
- :param run_date: The date of the run associated with the break (required)
1673
- :type run_date: datetime
1674
- :param version: The version number of the run associated with the break (required)
1675
- :type version: int
1676
- :param effective_at: The effective datetime or cut label at which to list the reconciliation runs. Defaults to the current LUSID system datetime if not specified.
1677
- :type effective_at: str
1678
- :param as_at: The asAt datetime at which to list the reconciliation runs. Defaults to returning the latest version of each run if not specified.
1679
- :type as_at: datetime
1680
- :param page: The pagination token to use to continue listing reconciliation runs; this value is returned from the previous call. If a pagination token is provided, the filter, effectiveAt and asAt fields must not have changed since the original request. Also, if set, a start value cannot be provided.
1681
- :type page: str
1682
- :param start: When paginating, skip this number of results.
1683
- :type start: int
1684
- :param limit: When paginating, limit the results to this number. Defaults to 100 if not specified.
1685
- :type limit: int
1686
- :param filter: Expression to filter the results.
1687
- :type filter: str
1688
- :param async_req: Whether to execute the request asynchronously.
1689
- :type async_req: bool, optional
1690
- :param _request_timeout: timeout setting for this request.
1691
- If one number provided, it will be total request
1692
- timeout. It can also be a pair (tuple) of
1693
- (connection, read) timeouts.
1694
- :return: Returns the result object.
1695
- If the method is called asynchronously,
1696
- returns the request thread.
1697
- :rtype: PagedResourceListOfReconciliationRunBreak
1698
- """
1699
- kwargs['_return_http_data_only'] = True
1700
- if '_preload_content' in kwargs:
1701
- message = "Error! Please call the list_reconciliation_breaks_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501
1702
- raise ValueError(message)
1703
- if async_req is not None:
1704
- kwargs['async_req'] = async_req
1705
- return self.list_reconciliation_breaks_with_http_info(scope, code, run_date, version, effective_at, as_at, page, start, limit, filter, **kwargs) # noqa: E501
1706
-
1707
- @validate_arguments
1708
- def list_reconciliation_breaks_with_http_info(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the reconciliation associated with the break")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the reconciliation associated with the break")], run_date : Annotated[datetime, Field(..., description="The date of the run associated with the break")], version : Annotated[StrictInt, Field(..., description="The version number of the run associated with the break")], effective_at : Annotated[Optional[StrictStr], Field(description="The effective datetime or cut label at which to list the reconciliation runs. Defaults to the current LUSID system datetime if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to list the reconciliation runs. Defaults to returning the latest version of each run if not specified.")] = None, page : Annotated[Optional[constr(strict=True, max_length=500, min_length=1)], Field(description="The pagination token to use to continue listing reconciliation runs; this value is returned from the previous call. If a pagination token is provided, the filter, effectiveAt and asAt fields must not have changed since the original request. Also, if set, a start value cannot be provided.")] = None, start : Annotated[Optional[StrictInt], Field(description="When paginating, skip this number of results.")] = None, limit : Annotated[Optional[conint(strict=True, le=5000, ge=1)], Field(description="When paginating, limit the results to this number. Defaults to 100 if not specified.")] = None, filter : Annotated[Optional[constr(strict=True, max_length=16384, min_length=0)], Field(description="Expression to filter the results.")] = None, **kwargs) -> ApiResponse: # noqa: E501
1709
- """[EXPERIMENTAL] ListReconciliationBreaks: List reconciliation breaks # noqa: E501
1710
-
1711
- List all reconciliation breaks associated with a given run # noqa: E501
1712
- This method makes a synchronous HTTP request by default. To make an
1713
- asynchronous HTTP request, please pass async_req=True
1714
-
1715
- >>> thread = api.list_reconciliation_breaks_with_http_info(scope, code, run_date, version, effective_at, as_at, page, start, limit, filter, async_req=True)
1716
- >>> result = thread.get()
1717
-
1718
- :param scope: The scope of the reconciliation associated with the break (required)
1719
- :type scope: str
1720
- :param code: The code of the reconciliation associated with the break (required)
1721
- :type code: str
1722
- :param run_date: The date of the run associated with the break (required)
1723
- :type run_date: datetime
1724
- :param version: The version number of the run associated with the break (required)
1725
- :type version: int
1726
- :param effective_at: The effective datetime or cut label at which to list the reconciliation runs. Defaults to the current LUSID system datetime if not specified.
1727
- :type effective_at: str
1728
- :param as_at: The asAt datetime at which to list the reconciliation runs. Defaults to returning the latest version of each run if not specified.
1729
- :type as_at: datetime
1730
- :param page: The pagination token to use to continue listing reconciliation runs; this value is returned from the previous call. If a pagination token is provided, the filter, effectiveAt and asAt fields must not have changed since the original request. Also, if set, a start value cannot be provided.
1731
- :type page: str
1732
- :param start: When paginating, skip this number of results.
1733
- :type start: int
1734
- :param limit: When paginating, limit the results to this number. Defaults to 100 if not specified.
1735
- :type limit: int
1736
- :param filter: Expression to filter the results.
1737
- :type filter: str
1738
- :param async_req: Whether to execute the request asynchronously.
1739
- :type async_req: bool, optional
1740
- :param _preload_content: if False, the ApiResponse.data will
1741
- be set to none and raw_data will store the
1742
- HTTP response body without reading/decoding.
1743
- Default is True.
1744
- :type _preload_content: bool, optional
1745
- :param _return_http_data_only: response data instead of ApiResponse
1746
- object with status code, headers, etc
1747
- :type _return_http_data_only: bool, optional
1748
- :param _request_timeout: timeout setting for this request. If one
1749
- number provided, it will be total request
1750
- timeout. It can also be a pair (tuple) of
1751
- (connection, read) timeouts.
1752
- :param _request_auth: set to override the auth_settings for an a single
1753
- request; this effectively ignores the authentication
1754
- in the spec for a single request.
1755
- :type _request_auth: dict, optional
1756
- :type _content_type: string, optional: force content-type for the request
1757
- :return: Returns the result object.
1758
- If the method is called asynchronously,
1759
- returns the request thread.
1760
- :rtype: tuple(PagedResourceListOfReconciliationRunBreak, status_code(int), headers(HTTPHeaderDict))
1761
- """
1762
-
1763
- _params = locals()
1764
-
1765
- _all_params = [
1766
- 'scope',
1767
- 'code',
1768
- 'run_date',
1769
- 'version',
1770
- 'effective_at',
1771
- 'as_at',
1772
- 'page',
1773
- 'start',
1774
- 'limit',
1775
- 'filter'
1776
- ]
1777
- _all_params.extend(
1778
- [
1779
- 'async_req',
1780
- '_return_http_data_only',
1781
- '_preload_content',
1782
- '_request_timeout',
1783
- '_request_auth',
1784
- '_content_type',
1785
- '_headers'
1786
- ]
1787
- )
1788
-
1789
- # validate the arguments
1790
- for _key, _val in _params['kwargs'].items():
1791
- if _key not in _all_params:
1792
- raise ApiTypeError(
1793
- "Got an unexpected keyword argument '%s'"
1794
- " to method list_reconciliation_breaks" % _key
1795
- )
1796
- _params[_key] = _val
1797
- del _params['kwargs']
1798
-
1799
- _collection_formats = {}
1800
-
1801
- # process the path parameters
1802
- _path_params = {}
1803
- if _params['scope']:
1804
- _path_params['scope'] = _params['scope']
1805
-
1806
- if _params['code']:
1807
- _path_params['code'] = _params['code']
1808
-
1809
- if _params['run_date']:
1810
- _path_params['runDate'] = _params['run_date']
1811
-
1812
- if _params['version']:
1813
- _path_params['version'] = _params['version']
1814
-
1815
-
1816
- # process the query parameters
1817
- _query_params = []
1818
- if _params.get('effective_at') is not None: # noqa: E501
1819
- _query_params.append(('effectiveAt', _params['effective_at']))
1820
-
1821
- if _params.get('as_at') is not None: # noqa: E501
1822
- if isinstance(_params['as_at'], datetime):
1823
- _query_params.append(('asAt', _params['as_at'].strftime(self.api_client.configuration.datetime_format)))
1824
- else:
1825
- _query_params.append(('asAt', _params['as_at']))
1826
-
1827
- if _params.get('page') is not None: # noqa: E501
1828
- _query_params.append(('page', _params['page']))
1829
-
1830
- if _params.get('start') is not None: # noqa: E501
1831
- _query_params.append(('start', _params['start']))
1832
-
1833
- if _params.get('limit') is not None: # noqa: E501
1834
- _query_params.append(('limit', _params['limit']))
1835
-
1836
- if _params.get('filter') is not None: # noqa: E501
1837
- _query_params.append(('filter', _params['filter']))
1838
-
1839
- # process the header parameters
1840
- _header_params = dict(_params.get('_headers', {}))
1841
- # process the form parameters
1842
- _form_params = []
1843
- _files = {}
1844
- # process the body parameter
1845
- _body_params = None
1846
- # set the HTTP header `Accept`
1847
- _header_params['Accept'] = self.api_client.select_header_accept(
1848
- ['text/plain', 'application/json', 'text/json']) # noqa: E501
1849
-
1850
- # authentication setting
1851
- _auth_settings = ['oauth2'] # noqa: E501
1852
-
1853
- _response_types_map = {
1854
- '200': "PagedResourceListOfReconciliationRunBreak",
1855
- '400': "LusidValidationProblemDetails",
1856
- }
1857
-
1858
- return self.api_client.call_api(
1859
- '/api/portfolios/$scheduledReconciliations/{scope}/{code}/runs/{runDate}/{version}/breaks', 'GET',
1860
- _path_params,
1861
- _query_params,
1862
- _header_params,
1863
- body=_body_params,
1864
- post_params=_form_params,
1865
- files=_files,
1866
- response_types_map=_response_types_map,
1867
- auth_settings=_auth_settings,
1868
- async_req=_params.get('async_req'),
1869
- _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
1870
- _preload_content=_params.get('_preload_content', True),
1871
- _request_timeout=_params.get('_request_timeout'),
1872
- collection_formats=_collection_formats,
1873
- _request_auth=_params.get('_request_auth'))
1874
-
1875
- @overload
1876
- async def list_reconciliation_mappings(self, reconciliation_type : Annotated[Optional[StrictStr], Field(description="Optional parameter to specify which type of mappings should be returned. Defaults to Transaction if not provided.")] = None, **kwargs) -> ResourceListOfMapping: # noqa: E501
1877
- ...
1878
-
1879
- @overload
1880
- def list_reconciliation_mappings(self, reconciliation_type : Annotated[Optional[StrictStr], Field(description="Optional parameter to specify which type of mappings should be returned. Defaults to Transaction if not provided.")] = None, async_req: Optional[bool]=True, **kwargs) -> ResourceListOfMapping: # noqa: E501
1881
- ...
1882
-
1883
- @validate_arguments
1884
- def list_reconciliation_mappings(self, reconciliation_type : Annotated[Optional[StrictStr], Field(description="Optional parameter to specify which type of mappings should be returned. Defaults to Transaction if not provided.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[ResourceListOfMapping, Awaitable[ResourceListOfMapping]]: # noqa: E501
1885
- """[EARLY ACCESS] ListReconciliationMappings: List the reconciliation mappings # noqa: E501
1886
-
1887
- Lists all mappings this user is entitled to see # noqa: E501
1888
- This method makes a synchronous HTTP request by default. To make an
1889
- asynchronous HTTP request, please pass async_req=True
1890
-
1891
- >>> thread = api.list_reconciliation_mappings(reconciliation_type, async_req=True)
1892
- >>> result = thread.get()
1893
-
1894
- :param reconciliation_type: Optional parameter to specify which type of mappings should be returned. Defaults to Transaction if not provided.
1895
- :type reconciliation_type: str
1896
- :param async_req: Whether to execute the request asynchronously.
1897
- :type async_req: bool, optional
1898
- :param _request_timeout: timeout setting for this request.
1899
- If one number provided, it will be total request
1900
- timeout. It can also be a pair (tuple) of
1901
- (connection, read) timeouts.
1902
- :return: Returns the result object.
1903
- If the method is called asynchronously,
1904
- returns the request thread.
1905
- :rtype: ResourceListOfMapping
1906
- """
1907
- kwargs['_return_http_data_only'] = True
1908
- if '_preload_content' in kwargs:
1909
- message = "Error! Please call the list_reconciliation_mappings_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501
1910
- raise ValueError(message)
1911
- if async_req is not None:
1912
- kwargs['async_req'] = async_req
1913
- return self.list_reconciliation_mappings_with_http_info(reconciliation_type, **kwargs) # noqa: E501
1914
-
1915
- @validate_arguments
1916
- def list_reconciliation_mappings_with_http_info(self, reconciliation_type : Annotated[Optional[StrictStr], Field(description="Optional parameter to specify which type of mappings should be returned. Defaults to Transaction if not provided.")] = None, **kwargs) -> ApiResponse: # noqa: E501
1917
- """[EARLY ACCESS] ListReconciliationMappings: List the reconciliation mappings # noqa: E501
1918
-
1919
- Lists all mappings this user is entitled to see # noqa: E501
1920
- This method makes a synchronous HTTP request by default. To make an
1921
- asynchronous HTTP request, please pass async_req=True
1922
-
1923
- >>> thread = api.list_reconciliation_mappings_with_http_info(reconciliation_type, async_req=True)
1924
- >>> result = thread.get()
1925
-
1926
- :param reconciliation_type: Optional parameter to specify which type of mappings should be returned. Defaults to Transaction if not provided.
1927
- :type reconciliation_type: str
1928
- :param async_req: Whether to execute the request asynchronously.
1929
- :type async_req: bool, optional
1930
- :param _preload_content: if False, the ApiResponse.data will
1931
- be set to none and raw_data will store the
1932
- HTTP response body without reading/decoding.
1933
- Default is True.
1934
- :type _preload_content: bool, optional
1935
- :param _return_http_data_only: response data instead of ApiResponse
1936
- object with status code, headers, etc
1937
- :type _return_http_data_only: bool, optional
1938
- :param _request_timeout: timeout setting for this request. If one
1939
- number provided, it will be total request
1940
- timeout. It can also be a pair (tuple) of
1941
- (connection, read) timeouts.
1942
- :param _request_auth: set to override the auth_settings for an a single
1943
- request; this effectively ignores the authentication
1944
- in the spec for a single request.
1945
- :type _request_auth: dict, optional
1946
- :type _content_type: string, optional: force content-type for the request
1947
- :return: Returns the result object.
1948
- If the method is called asynchronously,
1949
- returns the request thread.
1950
- :rtype: tuple(ResourceListOfMapping, status_code(int), headers(HTTPHeaderDict))
1951
- """
1952
-
1953
- _params = locals()
1954
-
1955
- _all_params = [
1956
- 'reconciliation_type'
1957
- ]
1958
- _all_params.extend(
1959
- [
1960
- 'async_req',
1961
- '_return_http_data_only',
1962
- '_preload_content',
1963
- '_request_timeout',
1964
- '_request_auth',
1965
- '_content_type',
1966
- '_headers'
1967
- ]
1968
- )
1969
-
1970
- # validate the arguments
1971
- for _key, _val in _params['kwargs'].items():
1972
- if _key not in _all_params:
1973
- raise ApiTypeError(
1974
- "Got an unexpected keyword argument '%s'"
1975
- " to method list_reconciliation_mappings" % _key
1976
- )
1977
- _params[_key] = _val
1978
- del _params['kwargs']
1979
-
1980
- _collection_formats = {}
1981
-
1982
- # process the path parameters
1983
- _path_params = {}
1984
-
1985
- # process the query parameters
1986
- _query_params = []
1987
- if _params.get('reconciliation_type') is not None: # noqa: E501
1988
- _query_params.append(('reconciliationType', _params['reconciliation_type']))
1989
-
1990
- # process the header parameters
1991
- _header_params = dict(_params.get('_headers', {}))
1992
- # process the form parameters
1993
- _form_params = []
1994
- _files = {}
1995
- # process the body parameter
1996
- _body_params = None
1997
- # set the HTTP header `Accept`
1998
- _header_params['Accept'] = self.api_client.select_header_accept(
1999
- ['text/plain', 'application/json', 'text/json']) # noqa: E501
2000
-
2001
- # authentication setting
2002
- _auth_settings = ['oauth2'] # noqa: E501
2003
-
2004
- _response_types_map = {
2005
- '200': "ResourceListOfMapping",
2006
- '400': "LusidValidationProblemDetails",
2007
- }
2008
-
2009
- return self.api_client.call_api(
2010
- '/api/portfolios/mapping', 'GET',
2011
- _path_params,
2012
- _query_params,
2013
- _header_params,
2014
- body=_body_params,
2015
- post_params=_form_params,
2016
- files=_files,
2017
- response_types_map=_response_types_map,
2018
- auth_settings=_auth_settings,
2019
- async_req=_params.get('async_req'),
2020
- _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
2021
- _preload_content=_params.get('_preload_content', True),
2022
- _request_timeout=_params.get('_request_timeout'),
2023
- collection_formats=_collection_formats,
2024
- _request_auth=_params.get('_request_auth'))
2025
-
2026
- @overload
2027
- async def list_reconciliation_runs(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the reconciliation")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the reconciliation")], effective_at : Annotated[Optional[StrictStr], Field(description="The effective datetime or cut label at which to list the reconciliation runs. Defaults to the current LUSID system datetime if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to list the reconciliation runs. Defaults to returning the latest version of each run if not specified.")] = None, page : Annotated[Optional[constr(strict=True, max_length=500, min_length=1)], Field(description="The pagination token to use to continue listing reconciliation runs; this value is returned from the previous call. If a pagination token is provided, the filter, effectiveAt and asAt fields must not have changed since the original request. Also, if set, a start value cannot be provided.")] = None, start : Annotated[Optional[StrictInt], Field(description="When paginating, skip this number of results.")] = None, limit : Annotated[Optional[conint(strict=True, le=5000, ge=1)], Field(description="When paginating, limit the results to this number. Defaults to 100 if not specified.")] = None, filter : Annotated[Optional[constr(strict=True, max_length=16384, min_length=0)], Field(description="Expression to filter the results. For example, to filter on the run date, specify \"Date eq 10/03/2018\". For more information about filtering results, see https://support.lusid.com/knowledgebase/article/KA-01914.")] = None, **kwargs) -> PagedResourceListOfReconciliationRun: # noqa: E501
2028
- ...
2029
-
2030
- @overload
2031
- def list_reconciliation_runs(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the reconciliation")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the reconciliation")], effective_at : Annotated[Optional[StrictStr], Field(description="The effective datetime or cut label at which to list the reconciliation runs. Defaults to the current LUSID system datetime if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to list the reconciliation runs. Defaults to returning the latest version of each run if not specified.")] = None, page : Annotated[Optional[constr(strict=True, max_length=500, min_length=1)], Field(description="The pagination token to use to continue listing reconciliation runs; this value is returned from the previous call. If a pagination token is provided, the filter, effectiveAt and asAt fields must not have changed since the original request. Also, if set, a start value cannot be provided.")] = None, start : Annotated[Optional[StrictInt], Field(description="When paginating, skip this number of results.")] = None, limit : Annotated[Optional[conint(strict=True, le=5000, ge=1)], Field(description="When paginating, limit the results to this number. Defaults to 100 if not specified.")] = None, filter : Annotated[Optional[constr(strict=True, max_length=16384, min_length=0)], Field(description="Expression to filter the results. For example, to filter on the run date, specify \"Date eq 10/03/2018\". For more information about filtering results, see https://support.lusid.com/knowledgebase/article/KA-01914.")] = None, async_req: Optional[bool]=True, **kwargs) -> PagedResourceListOfReconciliationRun: # noqa: E501
2032
- ...
2033
-
2034
- @validate_arguments
2035
- def list_reconciliation_runs(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the reconciliation")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the reconciliation")], effective_at : Annotated[Optional[StrictStr], Field(description="The effective datetime or cut label at which to list the reconciliation runs. Defaults to the current LUSID system datetime if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to list the reconciliation runs. Defaults to returning the latest version of each run if not specified.")] = None, page : Annotated[Optional[constr(strict=True, max_length=500, min_length=1)], Field(description="The pagination token to use to continue listing reconciliation runs; this value is returned from the previous call. If a pagination token is provided, the filter, effectiveAt and asAt fields must not have changed since the original request. Also, if set, a start value cannot be provided.")] = None, start : Annotated[Optional[StrictInt], Field(description="When paginating, skip this number of results.")] = None, limit : Annotated[Optional[conint(strict=True, le=5000, ge=1)], Field(description="When paginating, limit the results to this number. Defaults to 100 if not specified.")] = None, filter : Annotated[Optional[constr(strict=True, max_length=16384, min_length=0)], Field(description="Expression to filter the results. For example, to filter on the run date, specify \"Date eq 10/03/2018\". For more information about filtering results, see https://support.lusid.com/knowledgebase/article/KA-01914.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[PagedResourceListOfReconciliationRun, Awaitable[PagedResourceListOfReconciliationRun]]: # noqa: E501
2036
- """[EXPERIMENTAL] ListReconciliationRuns: List Reconciliation runs # noqa: E501
2037
-
2038
- List all runs for a given reconciliation # noqa: E501
2039
- This method makes a synchronous HTTP request by default. To make an
2040
- asynchronous HTTP request, please pass async_req=True
2041
-
2042
- >>> thread = api.list_reconciliation_runs(scope, code, effective_at, as_at, page, start, limit, filter, async_req=True)
2043
- >>> result = thread.get()
2044
-
2045
- :param scope: The scope of the reconciliation (required)
2046
- :type scope: str
2047
- :param code: The code of the reconciliation (required)
2048
- :type code: str
2049
- :param effective_at: The effective datetime or cut label at which to list the reconciliation runs. Defaults to the current LUSID system datetime if not specified.
2050
- :type effective_at: str
2051
- :param as_at: The asAt datetime at which to list the reconciliation runs. Defaults to returning the latest version of each run if not specified.
2052
- :type as_at: datetime
2053
- :param page: The pagination token to use to continue listing reconciliation runs; this value is returned from the previous call. If a pagination token is provided, the filter, effectiveAt and asAt fields must not have changed since the original request. Also, if set, a start value cannot be provided.
2054
- :type page: str
2055
- :param start: When paginating, skip this number of results.
2056
- :type start: int
2057
- :param limit: When paginating, limit the results to this number. Defaults to 100 if not specified.
2058
- :type limit: int
2059
- :param filter: Expression to filter the results. For example, to filter on the run date, specify \"Date eq 10/03/2018\". For more information about filtering results, see https://support.lusid.com/knowledgebase/article/KA-01914.
2060
- :type filter: str
2061
- :param async_req: Whether to execute the request asynchronously.
2062
- :type async_req: bool, optional
2063
- :param _request_timeout: timeout setting for this request.
2064
- If one number provided, it will be total request
2065
- timeout. It can also be a pair (tuple) of
2066
- (connection, read) timeouts.
2067
- :return: Returns the result object.
2068
- If the method is called asynchronously,
2069
- returns the request thread.
2070
- :rtype: PagedResourceListOfReconciliationRun
2071
- """
2072
- kwargs['_return_http_data_only'] = True
2073
- if '_preload_content' in kwargs:
2074
- message = "Error! Please call the list_reconciliation_runs_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501
2075
- raise ValueError(message)
2076
- if async_req is not None:
2077
- kwargs['async_req'] = async_req
2078
- return self.list_reconciliation_runs_with_http_info(scope, code, effective_at, as_at, page, start, limit, filter, **kwargs) # noqa: E501
2079
-
2080
- @validate_arguments
2081
- def list_reconciliation_runs_with_http_info(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the reconciliation")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the reconciliation")], effective_at : Annotated[Optional[StrictStr], Field(description="The effective datetime or cut label at which to list the reconciliation runs. Defaults to the current LUSID system datetime if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to list the reconciliation runs. Defaults to returning the latest version of each run if not specified.")] = None, page : Annotated[Optional[constr(strict=True, max_length=500, min_length=1)], Field(description="The pagination token to use to continue listing reconciliation runs; this value is returned from the previous call. If a pagination token is provided, the filter, effectiveAt and asAt fields must not have changed since the original request. Also, if set, a start value cannot be provided.")] = None, start : Annotated[Optional[StrictInt], Field(description="When paginating, skip this number of results.")] = None, limit : Annotated[Optional[conint(strict=True, le=5000, ge=1)], Field(description="When paginating, limit the results to this number. Defaults to 100 if not specified.")] = None, filter : Annotated[Optional[constr(strict=True, max_length=16384, min_length=0)], Field(description="Expression to filter the results. For example, to filter on the run date, specify \"Date eq 10/03/2018\". For more information about filtering results, see https://support.lusid.com/knowledgebase/article/KA-01914.")] = None, **kwargs) -> ApiResponse: # noqa: E501
2082
- """[EXPERIMENTAL] ListReconciliationRuns: List Reconciliation runs # noqa: E501
2083
-
2084
- List all runs for a given reconciliation # noqa: E501
2085
- This method makes a synchronous HTTP request by default. To make an
2086
- asynchronous HTTP request, please pass async_req=True
2087
-
2088
- >>> thread = api.list_reconciliation_runs_with_http_info(scope, code, effective_at, as_at, page, start, limit, filter, async_req=True)
2089
- >>> result = thread.get()
2090
-
2091
- :param scope: The scope of the reconciliation (required)
2092
- :type scope: str
2093
- :param code: The code of the reconciliation (required)
2094
- :type code: str
2095
- :param effective_at: The effective datetime or cut label at which to list the reconciliation runs. Defaults to the current LUSID system datetime if not specified.
2096
- :type effective_at: str
2097
- :param as_at: The asAt datetime at which to list the reconciliation runs. Defaults to returning the latest version of each run if not specified.
2098
- :type as_at: datetime
2099
- :param page: The pagination token to use to continue listing reconciliation runs; this value is returned from the previous call. If a pagination token is provided, the filter, effectiveAt and asAt fields must not have changed since the original request. Also, if set, a start value cannot be provided.
2100
- :type page: str
2101
- :param start: When paginating, skip this number of results.
2102
- :type start: int
2103
- :param limit: When paginating, limit the results to this number. Defaults to 100 if not specified.
2104
- :type limit: int
2105
- :param filter: Expression to filter the results. For example, to filter on the run date, specify \"Date eq 10/03/2018\". For more information about filtering results, see https://support.lusid.com/knowledgebase/article/KA-01914.
2106
- :type filter: str
2107
- :param async_req: Whether to execute the request asynchronously.
2108
- :type async_req: bool, optional
2109
- :param _preload_content: if False, the ApiResponse.data will
2110
- be set to none and raw_data will store the
2111
- HTTP response body without reading/decoding.
2112
- Default is True.
2113
- :type _preload_content: bool, optional
2114
- :param _return_http_data_only: response data instead of ApiResponse
2115
- object with status code, headers, etc
2116
- :type _return_http_data_only: bool, optional
2117
- :param _request_timeout: timeout setting for this request. If one
2118
- number provided, it will be total request
2119
- timeout. It can also be a pair (tuple) of
2120
- (connection, read) timeouts.
2121
- :param _request_auth: set to override the auth_settings for an a single
2122
- request; this effectively ignores the authentication
2123
- in the spec for a single request.
2124
- :type _request_auth: dict, optional
2125
- :type _content_type: string, optional: force content-type for the request
2126
- :return: Returns the result object.
2127
- If the method is called asynchronously,
2128
- returns the request thread.
2129
- :rtype: tuple(PagedResourceListOfReconciliationRun, status_code(int), headers(HTTPHeaderDict))
2130
- """
2131
-
2132
- _params = locals()
2133
-
2134
- _all_params = [
2135
- 'scope',
2136
- 'code',
2137
- 'effective_at',
2138
- 'as_at',
2139
- 'page',
2140
- 'start',
2141
- 'limit',
2142
- 'filter'
2143
- ]
2144
- _all_params.extend(
2145
- [
2146
- 'async_req',
2147
- '_return_http_data_only',
2148
- '_preload_content',
2149
- '_request_timeout',
2150
- '_request_auth',
2151
- '_content_type',
2152
- '_headers'
2153
- ]
2154
- )
2155
-
2156
- # validate the arguments
2157
- for _key, _val in _params['kwargs'].items():
2158
- if _key not in _all_params:
2159
- raise ApiTypeError(
2160
- "Got an unexpected keyword argument '%s'"
2161
- " to method list_reconciliation_runs" % _key
2162
- )
2163
- _params[_key] = _val
2164
- del _params['kwargs']
2165
-
2166
- _collection_formats = {}
2167
-
2168
- # process the path parameters
2169
- _path_params = {}
2170
- if _params['scope']:
2171
- _path_params['scope'] = _params['scope']
2172
-
2173
- if _params['code']:
2174
- _path_params['code'] = _params['code']
2175
-
2176
-
2177
- # process the query parameters
2178
- _query_params = []
2179
- if _params.get('effective_at') is not None: # noqa: E501
2180
- _query_params.append(('effectiveAt', _params['effective_at']))
2181
-
2182
- if _params.get('as_at') is not None: # noqa: E501
2183
- if isinstance(_params['as_at'], datetime):
2184
- _query_params.append(('asAt', _params['as_at'].strftime(self.api_client.configuration.datetime_format)))
2185
- else:
2186
- _query_params.append(('asAt', _params['as_at']))
2187
-
2188
- if _params.get('page') is not None: # noqa: E501
2189
- _query_params.append(('page', _params['page']))
2190
-
2191
- if _params.get('start') is not None: # noqa: E501
2192
- _query_params.append(('start', _params['start']))
2193
-
2194
- if _params.get('limit') is not None: # noqa: E501
2195
- _query_params.append(('limit', _params['limit']))
2196
-
2197
- if _params.get('filter') is not None: # noqa: E501
2198
- _query_params.append(('filter', _params['filter']))
2199
-
2200
- # process the header parameters
2201
- _header_params = dict(_params.get('_headers', {}))
2202
- # process the form parameters
2203
- _form_params = []
2204
- _files = {}
2205
- # process the body parameter
2206
- _body_params = None
2207
- # set the HTTP header `Accept`
2208
- _header_params['Accept'] = self.api_client.select_header_accept(
2209
- ['text/plain', 'application/json', 'text/json']) # noqa: E501
2210
-
2211
- # authentication setting
2212
- _auth_settings = ['oauth2'] # noqa: E501
2213
-
2214
- _response_types_map = {
2215
- '200': "PagedResourceListOfReconciliationRun",
2216
- '400': "LusidValidationProblemDetails",
2217
- }
2218
-
2219
- return self.api_client.call_api(
2220
- '/api/portfolios/$scheduledReconciliations/{scope}/{code}/runs', 'GET',
2221
- _path_params,
2222
- _query_params,
2223
- _header_params,
2224
- body=_body_params,
2225
- post_params=_form_params,
2226
- files=_files,
2227
- response_types_map=_response_types_map,
2228
- auth_settings=_auth_settings,
2229
- async_req=_params.get('async_req'),
2230
- _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
2231
- _preload_content=_params.get('_preload_content', True),
2232
- _request_timeout=_params.get('_request_timeout'),
2233
- collection_formats=_collection_formats,
2234
- _request_auth=_params.get('_request_auth'))
2235
-
2236
- @overload
2237
- async def list_reconciliations(self, effective_at : Annotated[Optional[StrictStr], Field(description="The effective datetime or cut label at which to list the TimeVariant properties for the reconciliation. Defaults to the current LUSID system datetime if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to list the reconciliation. Defaults to returning the latest version of each reconciliation if not specified.")] = None, page : Annotated[Optional[constr(strict=True, max_length=500, min_length=1)], Field(description="The pagination token to use to continue listing reconciliations; this value is returned from the previous call. If a pagination token is provided, the filter, effectiveAt and asAt fields must not have changed since the original request. Also, if set, a start value cannot be provided.")] = None, start : Annotated[Optional[StrictInt], Field(description="When paginating, skip this number of results.")] = None, limit : Annotated[Optional[conint(strict=True, le=5000, ge=1)], Field(description="When paginating, limit the results to this number. Defaults to 100 if not specified.")] = None, filter : Annotated[Optional[constr(strict=True, max_length=16384, min_length=0)], Field(description="Expression to filter the results. For example, to filter on the reconciliation type, specify \"id.Code eq '001'\". For more information about filtering results, see https://support.lusid.com/knowledgebase/article/KA-01914.")] = None, property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the 'Reconciliation' domain to decorate onto each reconciliation. These must take the format {domain}/{scope}/{code}, for example 'Reconciliation/Broker/Id'.")] = None, **kwargs) -> PagedResourceListOfReconciliation: # noqa: E501
2238
- ...
2239
-
2240
- @overload
2241
- def list_reconciliations(self, effective_at : Annotated[Optional[StrictStr], Field(description="The effective datetime or cut label at which to list the TimeVariant properties for the reconciliation. Defaults to the current LUSID system datetime if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to list the reconciliation. Defaults to returning the latest version of each reconciliation if not specified.")] = None, page : Annotated[Optional[constr(strict=True, max_length=500, min_length=1)], Field(description="The pagination token to use to continue listing reconciliations; this value is returned from the previous call. If a pagination token is provided, the filter, effectiveAt and asAt fields must not have changed since the original request. Also, if set, a start value cannot be provided.")] = None, start : Annotated[Optional[StrictInt], Field(description="When paginating, skip this number of results.")] = None, limit : Annotated[Optional[conint(strict=True, le=5000, ge=1)], Field(description="When paginating, limit the results to this number. Defaults to 100 if not specified.")] = None, filter : Annotated[Optional[constr(strict=True, max_length=16384, min_length=0)], Field(description="Expression to filter the results. For example, to filter on the reconciliation type, specify \"id.Code eq '001'\". For more information about filtering results, see https://support.lusid.com/knowledgebase/article/KA-01914.")] = None, property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the 'Reconciliation' domain to decorate onto each reconciliation. These must take the format {domain}/{scope}/{code}, for example 'Reconciliation/Broker/Id'.")] = None, async_req: Optional[bool]=True, **kwargs) -> PagedResourceListOfReconciliation: # noqa: E501
2242
- ...
2243
-
2244
- @validate_arguments
2245
- def list_reconciliations(self, effective_at : Annotated[Optional[StrictStr], Field(description="The effective datetime or cut label at which to list the TimeVariant properties for the reconciliation. Defaults to the current LUSID system datetime if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to list the reconciliation. Defaults to returning the latest version of each reconciliation if not specified.")] = None, page : Annotated[Optional[constr(strict=True, max_length=500, min_length=1)], Field(description="The pagination token to use to continue listing reconciliations; this value is returned from the previous call. If a pagination token is provided, the filter, effectiveAt and asAt fields must not have changed since the original request. Also, if set, a start value cannot be provided.")] = None, start : Annotated[Optional[StrictInt], Field(description="When paginating, skip this number of results.")] = None, limit : Annotated[Optional[conint(strict=True, le=5000, ge=1)], Field(description="When paginating, limit the results to this number. Defaults to 100 if not specified.")] = None, filter : Annotated[Optional[constr(strict=True, max_length=16384, min_length=0)], Field(description="Expression to filter the results. For example, to filter on the reconciliation type, specify \"id.Code eq '001'\". For more information about filtering results, see https://support.lusid.com/knowledgebase/article/KA-01914.")] = None, property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the 'Reconciliation' domain to decorate onto each reconciliation. These must take the format {domain}/{scope}/{code}, for example 'Reconciliation/Broker/Id'.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[PagedResourceListOfReconciliation, Awaitable[PagedResourceListOfReconciliation]]: # noqa: E501
2246
- """[EXPERIMENTAL] ListReconciliations: List scheduled reconciliations # noqa: E501
2247
-
2248
- List all the scheduled reconciliations matching particular criteria # noqa: E501
2249
- This method makes a synchronous HTTP request by default. To make an
2250
- asynchronous HTTP request, please pass async_req=True
2251
-
2252
- >>> thread = api.list_reconciliations(effective_at, as_at, page, start, limit, filter, property_keys, async_req=True)
2253
- >>> result = thread.get()
2254
-
2255
- :param effective_at: The effective datetime or cut label at which to list the TimeVariant properties for the reconciliation. Defaults to the current LUSID system datetime if not specified.
2256
- :type effective_at: str
2257
- :param as_at: The asAt datetime at which to list the reconciliation. Defaults to returning the latest version of each reconciliation if not specified.
2258
- :type as_at: datetime
2259
- :param page: The pagination token to use to continue listing reconciliations; this value is returned from the previous call. If a pagination token is provided, the filter, effectiveAt and asAt fields must not have changed since the original request. Also, if set, a start value cannot be provided.
2260
- :type page: str
2261
- :param start: When paginating, skip this number of results.
2262
- :type start: int
2263
- :param limit: When paginating, limit the results to this number. Defaults to 100 if not specified.
2264
- :type limit: int
2265
- :param filter: Expression to filter the results. For example, to filter on the reconciliation type, specify \"id.Code eq '001'\". For more information about filtering results, see https://support.lusid.com/knowledgebase/article/KA-01914.
2266
- :type filter: str
2267
- :param property_keys: A list of property keys from the 'Reconciliation' domain to decorate onto each reconciliation. These must take the format {domain}/{scope}/{code}, for example 'Reconciliation/Broker/Id'.
2268
- :type property_keys: List[str]
2269
- :param async_req: Whether to execute the request asynchronously.
2270
- :type async_req: bool, optional
2271
- :param _request_timeout: timeout setting for this request.
2272
- If one number provided, it will be total request
2273
- timeout. It can also be a pair (tuple) of
2274
- (connection, read) timeouts.
2275
- :return: Returns the result object.
2276
- If the method is called asynchronously,
2277
- returns the request thread.
2278
- :rtype: PagedResourceListOfReconciliation
2279
- """
2280
- kwargs['_return_http_data_only'] = True
2281
- if '_preload_content' in kwargs:
2282
- message = "Error! Please call the list_reconciliations_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501
2283
- raise ValueError(message)
2284
- if async_req is not None:
2285
- kwargs['async_req'] = async_req
2286
- return self.list_reconciliations_with_http_info(effective_at, as_at, page, start, limit, filter, property_keys, **kwargs) # noqa: E501
2287
-
2288
- @validate_arguments
2289
- def list_reconciliations_with_http_info(self, effective_at : Annotated[Optional[StrictStr], Field(description="The effective datetime or cut label at which to list the TimeVariant properties for the reconciliation. Defaults to the current LUSID system datetime if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to list the reconciliation. Defaults to returning the latest version of each reconciliation if not specified.")] = None, page : Annotated[Optional[constr(strict=True, max_length=500, min_length=1)], Field(description="The pagination token to use to continue listing reconciliations; this value is returned from the previous call. If a pagination token is provided, the filter, effectiveAt and asAt fields must not have changed since the original request. Also, if set, a start value cannot be provided.")] = None, start : Annotated[Optional[StrictInt], Field(description="When paginating, skip this number of results.")] = None, limit : Annotated[Optional[conint(strict=True, le=5000, ge=1)], Field(description="When paginating, limit the results to this number. Defaults to 100 if not specified.")] = None, filter : Annotated[Optional[constr(strict=True, max_length=16384, min_length=0)], Field(description="Expression to filter the results. For example, to filter on the reconciliation type, specify \"id.Code eq '001'\". For more information about filtering results, see https://support.lusid.com/knowledgebase/article/KA-01914.")] = None, property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the 'Reconciliation' domain to decorate onto each reconciliation. These must take the format {domain}/{scope}/{code}, for example 'Reconciliation/Broker/Id'.")] = None, **kwargs) -> ApiResponse: # noqa: E501
2290
- """[EXPERIMENTAL] ListReconciliations: List scheduled reconciliations # noqa: E501
2291
-
2292
- List all the scheduled reconciliations matching particular criteria # noqa: E501
2293
- This method makes a synchronous HTTP request by default. To make an
2294
- asynchronous HTTP request, please pass async_req=True
2295
-
2296
- >>> thread = api.list_reconciliations_with_http_info(effective_at, as_at, page, start, limit, filter, property_keys, async_req=True)
2297
- >>> result = thread.get()
2298
-
2299
- :param effective_at: The effective datetime or cut label at which to list the TimeVariant properties for the reconciliation. Defaults to the current LUSID system datetime if not specified.
2300
- :type effective_at: str
2301
- :param as_at: The asAt datetime at which to list the reconciliation. Defaults to returning the latest version of each reconciliation if not specified.
2302
- :type as_at: datetime
2303
- :param page: The pagination token to use to continue listing reconciliations; this value is returned from the previous call. If a pagination token is provided, the filter, effectiveAt and asAt fields must not have changed since the original request. Also, if set, a start value cannot be provided.
2304
- :type page: str
2305
- :param start: When paginating, skip this number of results.
2306
- :type start: int
2307
- :param limit: When paginating, limit the results to this number. Defaults to 100 if not specified.
2308
- :type limit: int
2309
- :param filter: Expression to filter the results. For example, to filter on the reconciliation type, specify \"id.Code eq '001'\". For more information about filtering results, see https://support.lusid.com/knowledgebase/article/KA-01914.
2310
- :type filter: str
2311
- :param property_keys: A list of property keys from the 'Reconciliation' domain to decorate onto each reconciliation. These must take the format {domain}/{scope}/{code}, for example 'Reconciliation/Broker/Id'.
2312
- :type property_keys: List[str]
2313
- :param async_req: Whether to execute the request asynchronously.
2314
- :type async_req: bool, optional
2315
- :param _preload_content: if False, the ApiResponse.data will
2316
- be set to none and raw_data will store the
2317
- HTTP response body without reading/decoding.
2318
- Default is True.
2319
- :type _preload_content: bool, optional
2320
- :param _return_http_data_only: response data instead of ApiResponse
2321
- object with status code, headers, etc
2322
- :type _return_http_data_only: bool, optional
2323
- :param _request_timeout: timeout setting for this request. If one
2324
- number provided, it will be total request
2325
- timeout. It can also be a pair (tuple) of
2326
- (connection, read) timeouts.
2327
- :param _request_auth: set to override the auth_settings for an a single
2328
- request; this effectively ignores the authentication
2329
- in the spec for a single request.
2330
- :type _request_auth: dict, optional
2331
- :type _content_type: string, optional: force content-type for the request
2332
- :return: Returns the result object.
2333
- If the method is called asynchronously,
2334
- returns the request thread.
2335
- :rtype: tuple(PagedResourceListOfReconciliation, status_code(int), headers(HTTPHeaderDict))
2336
- """
2337
-
2338
- _params = locals()
2339
-
2340
- _all_params = [
2341
- 'effective_at',
2342
- 'as_at',
2343
- 'page',
2344
- 'start',
2345
- 'limit',
2346
- 'filter',
2347
- 'property_keys'
2348
- ]
2349
- _all_params.extend(
2350
- [
2351
- 'async_req',
2352
- '_return_http_data_only',
2353
- '_preload_content',
2354
- '_request_timeout',
2355
- '_request_auth',
2356
- '_content_type',
2357
- '_headers'
2358
- ]
2359
- )
2360
-
2361
- # validate the arguments
2362
- for _key, _val in _params['kwargs'].items():
2363
- if _key not in _all_params:
2364
- raise ApiTypeError(
2365
- "Got an unexpected keyword argument '%s'"
2366
- " to method list_reconciliations" % _key
2367
- )
2368
- _params[_key] = _val
2369
- del _params['kwargs']
2370
-
2371
- _collection_formats = {}
2372
-
2373
- # process the path parameters
2374
- _path_params = {}
2375
-
2376
- # process the query parameters
2377
- _query_params = []
2378
- if _params.get('effective_at') is not None: # noqa: E501
2379
- _query_params.append(('effectiveAt', _params['effective_at']))
2380
-
2381
- if _params.get('as_at') is not None: # noqa: E501
2382
- if isinstance(_params['as_at'], datetime):
2383
- _query_params.append(('asAt', _params['as_at'].strftime(self.api_client.configuration.datetime_format)))
2384
- else:
2385
- _query_params.append(('asAt', _params['as_at']))
2386
-
2387
- if _params.get('page') is not None: # noqa: E501
2388
- _query_params.append(('page', _params['page']))
2389
-
2390
- if _params.get('start') is not None: # noqa: E501
2391
- _query_params.append(('start', _params['start']))
2392
-
2393
- if _params.get('limit') is not None: # noqa: E501
2394
- _query_params.append(('limit', _params['limit']))
2395
-
2396
- if _params.get('filter') is not None: # noqa: E501
2397
- _query_params.append(('filter', _params['filter']))
2398
-
2399
- if _params.get('property_keys') is not None: # noqa: E501
2400
- _query_params.append(('propertyKeys', _params['property_keys']))
2401
- _collection_formats['propertyKeys'] = 'multi'
2402
-
2403
- # process the header parameters
2404
- _header_params = dict(_params.get('_headers', {}))
2405
- # process the form parameters
2406
- _form_params = []
2407
- _files = {}
2408
- # process the body parameter
2409
- _body_params = None
2410
- # set the HTTP header `Accept`
2411
- _header_params['Accept'] = self.api_client.select_header_accept(
2412
- ['text/plain', 'application/json', 'text/json']) # noqa: E501
2413
-
2414
- # authentication setting
2415
- _auth_settings = ['oauth2'] # noqa: E501
2416
-
2417
- _response_types_map = {
2418
- '200': "PagedResourceListOfReconciliation",
2419
- '400': "LusidValidationProblemDetails",
2420
- }
2421
-
2422
- return self.api_client.call_api(
2423
- '/api/portfolios/$scheduledReconciliations', 'GET',
2424
- _path_params,
2425
- _query_params,
2426
- _header_params,
2427
- body=_body_params,
2428
- post_params=_form_params,
2429
- files=_files,
2430
- response_types_map=_response_types_map,
2431
- auth_settings=_auth_settings,
2432
- async_req=_params.get('async_req'),
2433
- _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
2434
- _preload_content=_params.get('_preload_content', True),
2435
- _request_timeout=_params.get('_request_timeout'),
2436
- collection_formats=_collection_formats,
2437
- _request_auth=_params.get('_request_auth'))
2438
-
2439
- @overload
2440
- async def reconcile_generic(self, reconciliation_request : Annotated[Optional[ReconciliationRequest], Field(description="The specifications of the inputs to the reconciliation")] = None, **kwargs) -> ReconciliationResponse: # noqa: E501
2441
- ...
2442
-
2443
- @overload
2444
- def reconcile_generic(self, reconciliation_request : Annotated[Optional[ReconciliationRequest], Field(description="The specifications of the inputs to the reconciliation")] = None, async_req: Optional[bool]=True, **kwargs) -> ReconciliationResponse: # noqa: E501
2445
- ...
2446
-
2447
- @validate_arguments
2448
- def reconcile_generic(self, reconciliation_request : Annotated[Optional[ReconciliationRequest], Field(description="The specifications of the inputs to the reconciliation")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[ReconciliationResponse, Awaitable[ReconciliationResponse]]: # noqa: E501
2449
- """ReconcileGeneric: Reconcile either holdings or valuations performed on one or two sets of holdings using one or two configuration recipes. The output is configurable for various types of comparisons, to allow tolerances on numerical and date-time data or case-insensitivity on strings, and elision of resulting differences where they are 'empty' or null or zero. # noqa: E501
2450
-
2451
- Perform evaluation of one or two set of holdings (a portfolio of instruments) using one or two (potentially different) configuration recipes. Produce a breakdown of the resulting differences in evaluation that can be iterated through. # noqa: E501
2452
- This method makes a synchronous HTTP request by default. To make an
2453
- asynchronous HTTP request, please pass async_req=True
2454
-
2455
- >>> thread = api.reconcile_generic(reconciliation_request, async_req=True)
2456
- >>> result = thread.get()
2457
-
2458
- :param reconciliation_request: The specifications of the inputs to the reconciliation
2459
- :type reconciliation_request: ReconciliationRequest
2460
- :param async_req: Whether to execute the request asynchronously.
2461
- :type async_req: bool, optional
2462
- :param _request_timeout: timeout setting for this request.
2463
- If one number provided, it will be total request
2464
- timeout. It can also be a pair (tuple) of
2465
- (connection, read) timeouts.
2466
- :return: Returns the result object.
2467
- If the method is called asynchronously,
2468
- returns the request thread.
2469
- :rtype: ReconciliationResponse
2470
- """
2471
- kwargs['_return_http_data_only'] = True
2472
- if '_preload_content' in kwargs:
2473
- message = "Error! Please call the reconcile_generic_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501
2474
- raise ValueError(message)
2475
- if async_req is not None:
2476
- kwargs['async_req'] = async_req
2477
- return self.reconcile_generic_with_http_info(reconciliation_request, **kwargs) # noqa: E501
2478
-
2479
- @validate_arguments
2480
- def reconcile_generic_with_http_info(self, reconciliation_request : Annotated[Optional[ReconciliationRequest], Field(description="The specifications of the inputs to the reconciliation")] = None, **kwargs) -> ApiResponse: # noqa: E501
2481
- """ReconcileGeneric: Reconcile either holdings or valuations performed on one or two sets of holdings using one or two configuration recipes. The output is configurable for various types of comparisons, to allow tolerances on numerical and date-time data or case-insensitivity on strings, and elision of resulting differences where they are 'empty' or null or zero. # noqa: E501
2482
-
2483
- Perform evaluation of one or two set of holdings (a portfolio of instruments) using one or two (potentially different) configuration recipes. Produce a breakdown of the resulting differences in evaluation that can be iterated through. # noqa: E501
2484
- This method makes a synchronous HTTP request by default. To make an
2485
- asynchronous HTTP request, please pass async_req=True
2486
-
2487
- >>> thread = api.reconcile_generic_with_http_info(reconciliation_request, async_req=True)
2488
- >>> result = thread.get()
2489
-
2490
- :param reconciliation_request: The specifications of the inputs to the reconciliation
2491
- :type reconciliation_request: ReconciliationRequest
2492
- :param async_req: Whether to execute the request asynchronously.
2493
- :type async_req: bool, optional
2494
- :param _preload_content: if False, the ApiResponse.data will
2495
- be set to none and raw_data will store the
2496
- HTTP response body without reading/decoding.
2497
- Default is True.
2498
- :type _preload_content: bool, optional
2499
- :param _return_http_data_only: response data instead of ApiResponse
2500
- object with status code, headers, etc
2501
- :type _return_http_data_only: bool, optional
2502
- :param _request_timeout: timeout setting for this request. If one
2503
- number provided, it will be total request
2504
- timeout. It can also be a pair (tuple) of
2505
- (connection, read) timeouts.
2506
- :param _request_auth: set to override the auth_settings for an a single
2507
- request; this effectively ignores the authentication
2508
- in the spec for a single request.
2509
- :type _request_auth: dict, optional
2510
- :type _content_type: string, optional: force content-type for the request
2511
- :return: Returns the result object.
2512
- If the method is called asynchronously,
2513
- returns the request thread.
2514
- :rtype: tuple(ReconciliationResponse, status_code(int), headers(HTTPHeaderDict))
2515
- """
2516
-
2517
- _params = locals()
2518
-
2519
- _all_params = [
2520
- 'reconciliation_request'
2521
- ]
2522
- _all_params.extend(
2523
- [
2524
- 'async_req',
2525
- '_return_http_data_only',
2526
- '_preload_content',
2527
- '_request_timeout',
2528
- '_request_auth',
2529
- '_content_type',
2530
- '_headers'
2531
- ]
2532
- )
2533
-
2534
- # validate the arguments
2535
- for _key, _val in _params['kwargs'].items():
2536
- if _key not in _all_params:
2537
- raise ApiTypeError(
2538
- "Got an unexpected keyword argument '%s'"
2539
- " to method reconcile_generic" % _key
2540
- )
2541
- _params[_key] = _val
2542
- del _params['kwargs']
2543
-
2544
- _collection_formats = {}
2545
-
2546
- # process the path parameters
2547
- _path_params = {}
2548
-
2549
- # process the query parameters
2550
- _query_params = []
2551
- # process the header parameters
2552
- _header_params = dict(_params.get('_headers', {}))
2553
- # process the form parameters
2554
- _form_params = []
2555
- _files = {}
2556
- # process the body parameter
2557
- _body_params = None
2558
- if _params['reconciliation_request'] is not None:
2559
- _body_params = _params['reconciliation_request']
2560
-
2561
- # set the HTTP header `Accept`
2562
- _header_params['Accept'] = self.api_client.select_header_accept(
2563
- ['text/plain', 'application/json', 'text/json']) # noqa: E501
2564
-
2565
- # set the HTTP header `Content-Type`
2566
- _content_types_list = _params.get('_content_type',
2567
- self.api_client.select_header_content_type(
2568
- ['application/json-patch+json', 'application/json', 'text/json', 'application/*+json']))
2569
- if _content_types_list:
2570
- _header_params['Content-Type'] = _content_types_list
2571
-
2572
- # authentication setting
2573
- _auth_settings = ['oauth2'] # noqa: E501
2574
-
2575
- _response_types_map = {
2576
- '200': "ReconciliationResponse",
2577
- '400': "LusidValidationProblemDetails",
2578
- }
2579
-
2580
- return self.api_client.call_api(
2581
- '/api/portfolios/$reconcileGeneric', 'POST',
2582
- _path_params,
2583
- _query_params,
2584
- _header_params,
2585
- body=_body_params,
2586
- post_params=_form_params,
2587
- files=_files,
2588
- response_types_map=_response_types_map,
2589
- auth_settings=_auth_settings,
2590
- async_req=_params.get('async_req'),
2591
- _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
2592
- _preload_content=_params.get('_preload_content', True),
2593
- _request_timeout=_params.get('_request_timeout'),
2594
- collection_formats=_collection_formats,
2595
- _request_auth=_params.get('_request_auth'))
2596
-
2597
- @overload
2598
- async def reconcile_holdings(self, sort_by : Annotated[Optional[conlist(StrictStr)], Field(description="Optional. Order the results by these fields. Use use the '-' sign to denote descending order e.g. -MyFieldName")] = None, start : Annotated[Optional[StrictInt], Field(description="Optional. When paginating, skip this number of results")] = None, limit : Annotated[Optional[StrictInt], Field(description="Optional. When paginating, limit the number of returned results to this many.")] = None, filter : Annotated[Optional[constr(strict=True, max_length=16384, min_length=0)], Field(description="Optional. Expression to filter the result set. For example, to filter on the left portfolio Code, use \"left.portfolioId.code eq 'string'\" Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid.")] = None, portfolios_reconciliation_request : Annotated[Optional[PortfoliosReconciliationRequest], Field(description="The specifications of the inputs to the reconciliation")] = None, **kwargs) -> ResourceListOfReconciliationBreak: # noqa: E501
2599
- ...
2600
-
2601
- @overload
2602
- def reconcile_holdings(self, sort_by : Annotated[Optional[conlist(StrictStr)], Field(description="Optional. Order the results by these fields. Use use the '-' sign to denote descending order e.g. -MyFieldName")] = None, start : Annotated[Optional[StrictInt], Field(description="Optional. When paginating, skip this number of results")] = None, limit : Annotated[Optional[StrictInt], Field(description="Optional. When paginating, limit the number of returned results to this many.")] = None, filter : Annotated[Optional[constr(strict=True, max_length=16384, min_length=0)], Field(description="Optional. Expression to filter the result set. For example, to filter on the left portfolio Code, use \"left.portfolioId.code eq 'string'\" Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid.")] = None, portfolios_reconciliation_request : Annotated[Optional[PortfoliosReconciliationRequest], Field(description="The specifications of the inputs to the reconciliation")] = None, async_req: Optional[bool]=True, **kwargs) -> ResourceListOfReconciliationBreak: # noqa: E501
2603
- ...
2604
-
2605
- @validate_arguments
2606
- def reconcile_holdings(self, sort_by : Annotated[Optional[conlist(StrictStr)], Field(description="Optional. Order the results by these fields. Use use the '-' sign to denote descending order e.g. -MyFieldName")] = None, start : Annotated[Optional[StrictInt], Field(description="Optional. When paginating, skip this number of results")] = None, limit : Annotated[Optional[StrictInt], Field(description="Optional. When paginating, limit the number of returned results to this many.")] = None, filter : Annotated[Optional[constr(strict=True, max_length=16384, min_length=0)], Field(description="Optional. Expression to filter the result set. For example, to filter on the left portfolio Code, use \"left.portfolioId.code eq 'string'\" Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid.")] = None, portfolios_reconciliation_request : Annotated[Optional[PortfoliosReconciliationRequest], Field(description="The specifications of the inputs to the reconciliation")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[ResourceListOfReconciliationBreak, Awaitable[ResourceListOfReconciliationBreak]]: # noqa: E501
2607
- """[EARLY ACCESS] ReconcileHoldings: Reconcile portfolio holdings # noqa: E501
2608
-
2609
- Reconcile the holdings of two portfolios. # noqa: E501
2610
- This method makes a synchronous HTTP request by default. To make an
2611
- asynchronous HTTP request, please pass async_req=True
2612
-
2613
- >>> thread = api.reconcile_holdings(sort_by, start, limit, filter, portfolios_reconciliation_request, async_req=True)
2614
- >>> result = thread.get()
2615
-
2616
- :param sort_by: Optional. Order the results by these fields. Use use the '-' sign to denote descending order e.g. -MyFieldName
2617
- :type sort_by: List[str]
2618
- :param start: Optional. When paginating, skip this number of results
2619
- :type start: int
2620
- :param limit: Optional. When paginating, limit the number of returned results to this many.
2621
- :type limit: int
2622
- :param filter: Optional. Expression to filter the result set. For example, to filter on the left portfolio Code, use \"left.portfolioId.code eq 'string'\" Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid.
2623
- :type filter: str
2624
- :param portfolios_reconciliation_request: The specifications of the inputs to the reconciliation
2625
- :type portfolios_reconciliation_request: PortfoliosReconciliationRequest
2626
- :param async_req: Whether to execute the request asynchronously.
2627
- :type async_req: bool, optional
2628
- :param _request_timeout: timeout setting for this request.
2629
- If one number provided, it will be total request
2630
- timeout. It can also be a pair (tuple) of
2631
- (connection, read) timeouts.
2632
- :return: Returns the result object.
2633
- If the method is called asynchronously,
2634
- returns the request thread.
2635
- :rtype: ResourceListOfReconciliationBreak
2636
- """
2637
- kwargs['_return_http_data_only'] = True
2638
- if '_preload_content' in kwargs:
2639
- message = "Error! Please call the reconcile_holdings_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501
2640
- raise ValueError(message)
2641
- if async_req is not None:
2642
- kwargs['async_req'] = async_req
2643
- return self.reconcile_holdings_with_http_info(sort_by, start, limit, filter, portfolios_reconciliation_request, **kwargs) # noqa: E501
2644
-
2645
- @validate_arguments
2646
- def reconcile_holdings_with_http_info(self, sort_by : Annotated[Optional[conlist(StrictStr)], Field(description="Optional. Order the results by these fields. Use use the '-' sign to denote descending order e.g. -MyFieldName")] = None, start : Annotated[Optional[StrictInt], Field(description="Optional. When paginating, skip this number of results")] = None, limit : Annotated[Optional[StrictInt], Field(description="Optional. When paginating, limit the number of returned results to this many.")] = None, filter : Annotated[Optional[constr(strict=True, max_length=16384, min_length=0)], Field(description="Optional. Expression to filter the result set. For example, to filter on the left portfolio Code, use \"left.portfolioId.code eq 'string'\" Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid.")] = None, portfolios_reconciliation_request : Annotated[Optional[PortfoliosReconciliationRequest], Field(description="The specifications of the inputs to the reconciliation")] = None, **kwargs) -> ApiResponse: # noqa: E501
2647
- """[EARLY ACCESS] ReconcileHoldings: Reconcile portfolio holdings # noqa: E501
2648
-
2649
- Reconcile the holdings of two portfolios. # noqa: E501
2650
- This method makes a synchronous HTTP request by default. To make an
2651
- asynchronous HTTP request, please pass async_req=True
2652
-
2653
- >>> thread = api.reconcile_holdings_with_http_info(sort_by, start, limit, filter, portfolios_reconciliation_request, async_req=True)
2654
- >>> result = thread.get()
2655
-
2656
- :param sort_by: Optional. Order the results by these fields. Use use the '-' sign to denote descending order e.g. -MyFieldName
2657
- :type sort_by: List[str]
2658
- :param start: Optional. When paginating, skip this number of results
2659
- :type start: int
2660
- :param limit: Optional. When paginating, limit the number of returned results to this many.
2661
- :type limit: int
2662
- :param filter: Optional. Expression to filter the result set. For example, to filter on the left portfolio Code, use \"left.portfolioId.code eq 'string'\" Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid.
2663
- :type filter: str
2664
- :param portfolios_reconciliation_request: The specifications of the inputs to the reconciliation
2665
- :type portfolios_reconciliation_request: PortfoliosReconciliationRequest
2666
- :param async_req: Whether to execute the request asynchronously.
2667
- :type async_req: bool, optional
2668
- :param _preload_content: if False, the ApiResponse.data will
2669
- be set to none and raw_data will store the
2670
- HTTP response body without reading/decoding.
2671
- Default is True.
2672
- :type _preload_content: bool, optional
2673
- :param _return_http_data_only: response data instead of ApiResponse
2674
- object with status code, headers, etc
2675
- :type _return_http_data_only: bool, optional
2676
- :param _request_timeout: timeout setting for this request. If one
2677
- number provided, it will be total request
2678
- timeout. It can also be a pair (tuple) of
2679
- (connection, read) timeouts.
2680
- :param _request_auth: set to override the auth_settings for an a single
2681
- request; this effectively ignores the authentication
2682
- in the spec for a single request.
2683
- :type _request_auth: dict, optional
2684
- :type _content_type: string, optional: force content-type for the request
2685
- :return: Returns the result object.
2686
- If the method is called asynchronously,
2687
- returns the request thread.
2688
- :rtype: tuple(ResourceListOfReconciliationBreak, status_code(int), headers(HTTPHeaderDict))
2689
- """
2690
-
2691
- _params = locals()
2692
-
2693
- _all_params = [
2694
- 'sort_by',
2695
- 'start',
2696
- 'limit',
2697
- 'filter',
2698
- 'portfolios_reconciliation_request'
2699
- ]
2700
- _all_params.extend(
2701
- [
2702
- 'async_req',
2703
- '_return_http_data_only',
2704
- '_preload_content',
2705
- '_request_timeout',
2706
- '_request_auth',
2707
- '_content_type',
2708
- '_headers'
2709
- ]
2710
- )
2711
-
2712
- # validate the arguments
2713
- for _key, _val in _params['kwargs'].items():
2714
- if _key not in _all_params:
2715
- raise ApiTypeError(
2716
- "Got an unexpected keyword argument '%s'"
2717
- " to method reconcile_holdings" % _key
1173
+ " to method list_reconciliations" % _key
2718
1174
  )
2719
1175
  _params[_key] = _val
2720
1176
  del _params['kwargs']
@@ -2726,12 +1182,17 @@ class ReconciliationsApi:
2726
1182
 
2727
1183
  # process the query parameters
2728
1184
  _query_params = []
2729
- if _params.get('sort_by') is not None: # noqa: E501
2730
- _query_params.append(('sortBy', _params['sort_by']))
2731
- _collection_formats['sortBy'] = 'multi'
1185
+ if _params.get('effective_at') is not None: # noqa: E501
1186
+ _query_params.append(('effectiveAt', _params['effective_at']))
1187
+
1188
+ if _params.get('as_at') is not None: # noqa: E501
1189
+ if isinstance(_params['as_at'], datetime):
1190
+ _query_params.append(('asAt', _params['as_at'].strftime(self.api_client.configuration.datetime_format)))
1191
+ else:
1192
+ _query_params.append(('asAt', _params['as_at']))
2732
1193
 
2733
- if _params.get('start') is not None: # noqa: E501
2734
- _query_params.append(('start', _params['start']))
1194
+ if _params.get('page') is not None: # noqa: E501
1195
+ _query_params.append(('page', _params['page']))
2735
1196
 
2736
1197
  if _params.get('limit') is not None: # noqa: E501
2737
1198
  _query_params.append(('limit', _params['limit']))
@@ -2739,6 +1200,10 @@ class ReconciliationsApi:
2739
1200
  if _params.get('filter') is not None: # noqa: E501
2740
1201
  _query_params.append(('filter', _params['filter']))
2741
1202
 
1203
+ if _params.get('property_keys') is not None: # noqa: E501
1204
+ _query_params.append(('propertyKeys', _params['property_keys']))
1205
+ _collection_formats['propertyKeys'] = 'multi'
1206
+
2742
1207
  # process the header parameters
2743
1208
  _header_params = dict(_params.get('_headers', {}))
2744
1209
  # process the form parameters
@@ -2746,30 +1211,20 @@ class ReconciliationsApi:
2746
1211
  _files = {}
2747
1212
  # process the body parameter
2748
1213
  _body_params = None
2749
- if _params['portfolios_reconciliation_request'] is not None:
2750
- _body_params = _params['portfolios_reconciliation_request']
2751
-
2752
1214
  # set the HTTP header `Accept`
2753
1215
  _header_params['Accept'] = self.api_client.select_header_accept(
2754
1216
  ['text/plain', 'application/json', 'text/json']) # noqa: E501
2755
1217
 
2756
- # set the HTTP header `Content-Type`
2757
- _content_types_list = _params.get('_content_type',
2758
- self.api_client.select_header_content_type(
2759
- ['application/json-patch+json', 'application/json', 'text/json', 'application/*+json']))
2760
- if _content_types_list:
2761
- _header_params['Content-Type'] = _content_types_list
2762
-
2763
1218
  # authentication setting
2764
1219
  _auth_settings = ['oauth2'] # noqa: E501
2765
1220
 
2766
1221
  _response_types_map = {
2767
- '200': "ResourceListOfReconciliationBreak",
1222
+ '200': "PagedResourceListOfReconciliation",
2768
1223
  '400': "LusidValidationProblemDetails",
2769
1224
  }
2770
1225
 
2771
1226
  return self.api_client.call_api(
2772
- '/api/portfolios/$reconcileholdings', 'POST',
1227
+ '/api/portfolios/$scheduledReconciliations', 'GET',
2773
1228
  _path_params,
2774
1229
  _query_params,
2775
1230
  _header_params,
@@ -2782,62 +1237,62 @@ class ReconciliationsApi:
2782
1237
  _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
2783
1238
  _preload_content=_params.get('_preload_content', True),
2784
1239
  _request_timeout=_params.get('_request_timeout'),
1240
+ opts=_params.get('opts'),
2785
1241
  collection_formats=_collection_formats,
2786
1242
  _request_auth=_params.get('_request_auth'))
2787
1243
 
2788
1244
  @overload
2789
- async def reconcile_inline(self, inline_valuations_reconciliation_request : Annotated[Optional[InlineValuationsReconciliationRequest], Field(description="The specifications of the inputs to the reconciliation")] = None, **kwargs) -> ListAggregationReconciliation: # noqa: E501
1245
+ async def reconcile_generic(self, reconciliation_request : Annotated[Optional[ReconciliationRequest], Field(description="The specifications of the inputs to the reconciliation")] = None, **kwargs) -> ReconciliationResponse: # noqa: E501
2790
1246
  ...
2791
1247
 
2792
1248
  @overload
2793
- def reconcile_inline(self, inline_valuations_reconciliation_request : Annotated[Optional[InlineValuationsReconciliationRequest], Field(description="The specifications of the inputs to the reconciliation")] = None, async_req: Optional[bool]=True, **kwargs) -> ListAggregationReconciliation: # noqa: E501
1249
+ def reconcile_generic(self, reconciliation_request : Annotated[Optional[ReconciliationRequest], Field(description="The specifications of the inputs to the reconciliation")] = None, async_req: Optional[bool]=True, **kwargs) -> ReconciliationResponse: # noqa: E501
2794
1250
  ...
2795
1251
 
2796
1252
  @validate_arguments
2797
- def reconcile_inline(self, inline_valuations_reconciliation_request : Annotated[Optional[InlineValuationsReconciliationRequest], Field(description="The specifications of the inputs to the reconciliation")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[ListAggregationReconciliation, Awaitable[ListAggregationReconciliation]]: # noqa: E501
2798
- """ReconcileInline: Reconcile valuations performed on one or two sets of inline instruments using one or two configuration recipes. # noqa: E501
1253
+ def reconcile_generic(self, reconciliation_request : Annotated[Optional[ReconciliationRequest], Field(description="The specifications of the inputs to the reconciliation")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[ReconciliationResponse, Awaitable[ReconciliationResponse]]: # noqa: E501
1254
+ """ReconcileGeneric: Reconcile either holdings or valuations performed on one or two sets of holdings using one or two configuration recipes. The output is configurable for various types of comparisons, to allow tolerances on numerical and date-time data or case-insensitivity on strings, and elision of resulting differences where they are 'empty' or null or zero. # noqa: E501
2799
1255
 
2800
- Perform valuation of one or two set of inline instruments using different one or two configuration recipes. Produce a breakdown of the resulting differences in valuation. # noqa: E501
1256
+ Perform evaluation of one or two set of holdings (a portfolio of instruments) using one or two (potentially different) configuration recipes. Produce a breakdown of the resulting differences in evaluation that can be iterated through. # noqa: E501
2801
1257
  This method makes a synchronous HTTP request by default. To make an
2802
1258
  asynchronous HTTP request, please pass async_req=True
2803
1259
 
2804
- >>> thread = api.reconcile_inline(inline_valuations_reconciliation_request, async_req=True)
1260
+ >>> thread = api.reconcile_generic(reconciliation_request, async_req=True)
2805
1261
  >>> result = thread.get()
2806
1262
 
2807
- :param inline_valuations_reconciliation_request: The specifications of the inputs to the reconciliation
2808
- :type inline_valuations_reconciliation_request: InlineValuationsReconciliationRequest
1263
+ :param reconciliation_request: The specifications of the inputs to the reconciliation
1264
+ :type reconciliation_request: ReconciliationRequest
2809
1265
  :param async_req: Whether to execute the request asynchronously.
2810
1266
  :type async_req: bool, optional
2811
- :param _request_timeout: timeout setting for this request.
2812
- If one number provided, it will be total request
2813
- timeout. It can also be a pair (tuple) of
2814
- (connection, read) timeouts.
1267
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
1268
+ :param opts: Configuration options for this request
1269
+ :type opts: ConfigurationOptions, optional
2815
1270
  :return: Returns the result object.
2816
1271
  If the method is called asynchronously,
2817
1272
  returns the request thread.
2818
- :rtype: ListAggregationReconciliation
1273
+ :rtype: ReconciliationResponse
2819
1274
  """
2820
1275
  kwargs['_return_http_data_only'] = True
2821
1276
  if '_preload_content' in kwargs:
2822
- message = "Error! Please call the reconcile_inline_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501
1277
+ message = "Error! Please call the reconcile_generic_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501
2823
1278
  raise ValueError(message)
2824
1279
  if async_req is not None:
2825
1280
  kwargs['async_req'] = async_req
2826
- return self.reconcile_inline_with_http_info(inline_valuations_reconciliation_request, **kwargs) # noqa: E501
1281
+ return self.reconcile_generic_with_http_info(reconciliation_request, **kwargs) # noqa: E501
2827
1282
 
2828
1283
  @validate_arguments
2829
- def reconcile_inline_with_http_info(self, inline_valuations_reconciliation_request : Annotated[Optional[InlineValuationsReconciliationRequest], Field(description="The specifications of the inputs to the reconciliation")] = None, **kwargs) -> ApiResponse: # noqa: E501
2830
- """ReconcileInline: Reconcile valuations performed on one or two sets of inline instruments using one or two configuration recipes. # noqa: E501
1284
+ def reconcile_generic_with_http_info(self, reconciliation_request : Annotated[Optional[ReconciliationRequest], Field(description="The specifications of the inputs to the reconciliation")] = None, **kwargs) -> ApiResponse: # noqa: E501
1285
+ """ReconcileGeneric: Reconcile either holdings or valuations performed on one or two sets of holdings using one or two configuration recipes. The output is configurable for various types of comparisons, to allow tolerances on numerical and date-time data or case-insensitivity on strings, and elision of resulting differences where they are 'empty' or null or zero. # noqa: E501
2831
1286
 
2832
- Perform valuation of one or two set of inline instruments using different one or two configuration recipes. Produce a breakdown of the resulting differences in valuation. # noqa: E501
1287
+ Perform evaluation of one or two set of holdings (a portfolio of instruments) using one or two (potentially different) configuration recipes. Produce a breakdown of the resulting differences in evaluation that can be iterated through. # noqa: E501
2833
1288
  This method makes a synchronous HTTP request by default. To make an
2834
1289
  asynchronous HTTP request, please pass async_req=True
2835
1290
 
2836
- >>> thread = api.reconcile_inline_with_http_info(inline_valuations_reconciliation_request, async_req=True)
1291
+ >>> thread = api.reconcile_generic_with_http_info(reconciliation_request, async_req=True)
2837
1292
  >>> result = thread.get()
2838
1293
 
2839
- :param inline_valuations_reconciliation_request: The specifications of the inputs to the reconciliation
2840
- :type inline_valuations_reconciliation_request: InlineValuationsReconciliationRequest
1294
+ :param reconciliation_request: The specifications of the inputs to the reconciliation
1295
+ :type reconciliation_request: ReconciliationRequest
2841
1296
  :param async_req: Whether to execute the request asynchronously.
2842
1297
  :type async_req: bool, optional
2843
1298
  :param _preload_content: if False, the ApiResponse.data will
@@ -2848,10 +1303,9 @@ class ReconciliationsApi:
2848
1303
  :param _return_http_data_only: response data instead of ApiResponse
2849
1304
  object with status code, headers, etc
2850
1305
  :type _return_http_data_only: bool, optional
2851
- :param _request_timeout: timeout setting for this request. If one
2852
- number provided, it will be total request
2853
- timeout. It can also be a pair (tuple) of
2854
- (connection, read) timeouts.
1306
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
1307
+ :param opts: Configuration options for this request
1308
+ :type opts: ConfigurationOptions, optional
2855
1309
  :param _request_auth: set to override the auth_settings for an a single
2856
1310
  request; this effectively ignores the authentication
2857
1311
  in the spec for a single request.
@@ -2860,13 +1314,13 @@ class ReconciliationsApi:
2860
1314
  :return: Returns the result object.
2861
1315
  If the method is called asynchronously,
2862
1316
  returns the request thread.
2863
- :rtype: tuple(ListAggregationReconciliation, status_code(int), headers(HTTPHeaderDict))
1317
+ :rtype: tuple(ReconciliationResponse, status_code(int), headers(HTTPHeaderDict))
2864
1318
  """
2865
1319
 
2866
1320
  _params = locals()
2867
1321
 
2868
1322
  _all_params = [
2869
- 'inline_valuations_reconciliation_request'
1323
+ 'reconciliation_request'
2870
1324
  ]
2871
1325
  _all_params.extend(
2872
1326
  [
@@ -2876,7 +1330,8 @@ class ReconciliationsApi:
2876
1330
  '_request_timeout',
2877
1331
  '_request_auth',
2878
1332
  '_content_type',
2879
- '_headers'
1333
+ '_headers',
1334
+ 'opts'
2880
1335
  ]
2881
1336
  )
2882
1337
 
@@ -2885,7 +1340,7 @@ class ReconciliationsApi:
2885
1340
  if _key not in _all_params:
2886
1341
  raise ApiTypeError(
2887
1342
  "Got an unexpected keyword argument '%s'"
2888
- " to method reconcile_inline" % _key
1343
+ " to method reconcile_generic" % _key
2889
1344
  )
2890
1345
  _params[_key] = _val
2891
1346
  del _params['kwargs']
@@ -2904,8 +1359,8 @@ class ReconciliationsApi:
2904
1359
  _files = {}
2905
1360
  # process the body parameter
2906
1361
  _body_params = None
2907
- if _params['inline_valuations_reconciliation_request'] is not None:
2908
- _body_params = _params['inline_valuations_reconciliation_request']
1362
+ if _params['reconciliation_request'] is not None:
1363
+ _body_params = _params['reconciliation_request']
2909
1364
 
2910
1365
  # set the HTTP header `Accept`
2911
1366
  _header_params['Accept'] = self.api_client.select_header_accept(
@@ -2922,12 +1377,12 @@ class ReconciliationsApi:
2922
1377
  _auth_settings = ['oauth2'] # noqa: E501
2923
1378
 
2924
1379
  _response_types_map = {
2925
- '200': "ListAggregationReconciliation",
1380
+ '200': "ReconciliationResponse",
2926
1381
  '400': "LusidValidationProblemDetails",
2927
1382
  }
2928
1383
 
2929
1384
  return self.api_client.call_api(
2930
- '/api/portfolios/$reconcileInline', 'POST',
1385
+ '/api/portfolios/$reconcileGeneric', 'POST',
2931
1386
  _path_params,
2932
1387
  _query_params,
2933
1388
  _header_params,
@@ -2940,62 +1395,74 @@ class ReconciliationsApi:
2940
1395
  _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
2941
1396
  _preload_content=_params.get('_preload_content', True),
2942
1397
  _request_timeout=_params.get('_request_timeout'),
1398
+ opts=_params.get('opts'),
2943
1399
  collection_formats=_collection_formats,
2944
1400
  _request_auth=_params.get('_request_auth'))
2945
1401
 
2946
1402
  @overload
2947
- async def reconcile_transactions(self, transaction_reconciliation_request : Optional[TransactionReconciliationRequest] = None, **kwargs) -> TransactionsReconciliationsResponse: # noqa: E501
1403
+ async def reconcile_holdings(self, sort_by : Annotated[Optional[conlist(StrictStr)], Field(description="Optional. Order the results by these fields. Use use the '-' sign to denote descending order e.g. -MyFieldName")] = None, limit : Annotated[Optional[StrictInt], Field(description="Optional. When paginating, limit the number of returned results to this many.")] = None, filter : Annotated[Optional[constr(strict=True, max_length=16384, min_length=0)], Field(description="Optional. Expression to filter the result set. For example, to filter on the left portfolio Code, use \"left.portfolioId.code eq 'string'\" Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid.")] = None, portfolios_reconciliation_request : Annotated[Optional[PortfoliosReconciliationRequest], Field(description="The specifications of the inputs to the reconciliation")] = None, **kwargs) -> ResourceListOfReconciliationBreak: # noqa: E501
2948
1404
  ...
2949
1405
 
2950
1406
  @overload
2951
- def reconcile_transactions(self, transaction_reconciliation_request : Optional[TransactionReconciliationRequest] = None, async_req: Optional[bool]=True, **kwargs) -> TransactionsReconciliationsResponse: # noqa: E501
1407
+ def reconcile_holdings(self, sort_by : Annotated[Optional[conlist(StrictStr)], Field(description="Optional. Order the results by these fields. Use use the '-' sign to denote descending order e.g. -MyFieldName")] = None, limit : Annotated[Optional[StrictInt], Field(description="Optional. When paginating, limit the number of returned results to this many.")] = None, filter : Annotated[Optional[constr(strict=True, max_length=16384, min_length=0)], Field(description="Optional. Expression to filter the result set. For example, to filter on the left portfolio Code, use \"left.portfolioId.code eq 'string'\" Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid.")] = None, portfolios_reconciliation_request : Annotated[Optional[PortfoliosReconciliationRequest], Field(description="The specifications of the inputs to the reconciliation")] = None, async_req: Optional[bool]=True, **kwargs) -> ResourceListOfReconciliationBreak: # noqa: E501
2952
1408
  ...
2953
1409
 
2954
1410
  @validate_arguments
2955
- def reconcile_transactions(self, transaction_reconciliation_request : Optional[TransactionReconciliationRequest] = None, async_req: Optional[bool]=None, **kwargs) -> Union[TransactionsReconciliationsResponse, Awaitable[TransactionsReconciliationsResponse]]: # noqa: E501
2956
- """[EARLY ACCESS] ReconcileTransactions: Perform a Transactions Reconciliation. # noqa: E501
1411
+ def reconcile_holdings(self, sort_by : Annotated[Optional[conlist(StrictStr)], Field(description="Optional. Order the results by these fields. Use use the '-' sign to denote descending order e.g. -MyFieldName")] = None, limit : Annotated[Optional[StrictInt], Field(description="Optional. When paginating, limit the number of returned results to this many.")] = None, filter : Annotated[Optional[constr(strict=True, max_length=16384, min_length=0)], Field(description="Optional. Expression to filter the result set. For example, to filter on the left portfolio Code, use \"left.portfolioId.code eq 'string'\" Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid.")] = None, portfolios_reconciliation_request : Annotated[Optional[PortfoliosReconciliationRequest], Field(description="The specifications of the inputs to the reconciliation")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[ResourceListOfReconciliationBreak, Awaitable[ResourceListOfReconciliationBreak]]: # noqa: E501
1412
+ """[EARLY ACCESS] ReconcileHoldings: Reconcile portfolio holdings # noqa: E501
2957
1413
 
2958
- Evaluates two sets of transactions to determine which transactions from each set likely match using the rules of a specified mapping. # noqa: E501
1414
+ Reconcile the holdings of two portfolios. # noqa: E501
2959
1415
  This method makes a synchronous HTTP request by default. To make an
2960
1416
  asynchronous HTTP request, please pass async_req=True
2961
1417
 
2962
- >>> thread = api.reconcile_transactions(transaction_reconciliation_request, async_req=True)
1418
+ >>> thread = api.reconcile_holdings(sort_by, limit, filter, portfolios_reconciliation_request, async_req=True)
2963
1419
  >>> result = thread.get()
2964
1420
 
2965
- :param transaction_reconciliation_request:
2966
- :type transaction_reconciliation_request: TransactionReconciliationRequest
1421
+ :param sort_by: Optional. Order the results by these fields. Use use the '-' sign to denote descending order e.g. -MyFieldName
1422
+ :type sort_by: List[str]
1423
+ :param limit: Optional. When paginating, limit the number of returned results to this many.
1424
+ :type limit: int
1425
+ :param filter: Optional. Expression to filter the result set. For example, to filter on the left portfolio Code, use \"left.portfolioId.code eq 'string'\" Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid.
1426
+ :type filter: str
1427
+ :param portfolios_reconciliation_request: The specifications of the inputs to the reconciliation
1428
+ :type portfolios_reconciliation_request: PortfoliosReconciliationRequest
2967
1429
  :param async_req: Whether to execute the request asynchronously.
2968
1430
  :type async_req: bool, optional
2969
- :param _request_timeout: timeout setting for this request.
2970
- If one number provided, it will be total request
2971
- timeout. It can also be a pair (tuple) of
2972
- (connection, read) timeouts.
1431
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
1432
+ :param opts: Configuration options for this request
1433
+ :type opts: ConfigurationOptions, optional
2973
1434
  :return: Returns the result object.
2974
1435
  If the method is called asynchronously,
2975
1436
  returns the request thread.
2976
- :rtype: TransactionsReconciliationsResponse
1437
+ :rtype: ResourceListOfReconciliationBreak
2977
1438
  """
2978
1439
  kwargs['_return_http_data_only'] = True
2979
1440
  if '_preload_content' in kwargs:
2980
- message = "Error! Please call the reconcile_transactions_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501
1441
+ message = "Error! Please call the reconcile_holdings_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501
2981
1442
  raise ValueError(message)
2982
1443
  if async_req is not None:
2983
1444
  kwargs['async_req'] = async_req
2984
- return self.reconcile_transactions_with_http_info(transaction_reconciliation_request, **kwargs) # noqa: E501
1445
+ return self.reconcile_holdings_with_http_info(sort_by, limit, filter, portfolios_reconciliation_request, **kwargs) # noqa: E501
2985
1446
 
2986
1447
  @validate_arguments
2987
- def reconcile_transactions_with_http_info(self, transaction_reconciliation_request : Optional[TransactionReconciliationRequest] = None, **kwargs) -> ApiResponse: # noqa: E501
2988
- """[EARLY ACCESS] ReconcileTransactions: Perform a Transactions Reconciliation. # noqa: E501
1448
+ def reconcile_holdings_with_http_info(self, sort_by : Annotated[Optional[conlist(StrictStr)], Field(description="Optional. Order the results by these fields. Use use the '-' sign to denote descending order e.g. -MyFieldName")] = None, limit : Annotated[Optional[StrictInt], Field(description="Optional. When paginating, limit the number of returned results to this many.")] = None, filter : Annotated[Optional[constr(strict=True, max_length=16384, min_length=0)], Field(description="Optional. Expression to filter the result set. For example, to filter on the left portfolio Code, use \"left.portfolioId.code eq 'string'\" Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid.")] = None, portfolios_reconciliation_request : Annotated[Optional[PortfoliosReconciliationRequest], Field(description="The specifications of the inputs to the reconciliation")] = None, **kwargs) -> ApiResponse: # noqa: E501
1449
+ """[EARLY ACCESS] ReconcileHoldings: Reconcile portfolio holdings # noqa: E501
2989
1450
 
2990
- Evaluates two sets of transactions to determine which transactions from each set likely match using the rules of a specified mapping. # noqa: E501
1451
+ Reconcile the holdings of two portfolios. # noqa: E501
2991
1452
  This method makes a synchronous HTTP request by default. To make an
2992
1453
  asynchronous HTTP request, please pass async_req=True
2993
1454
 
2994
- >>> thread = api.reconcile_transactions_with_http_info(transaction_reconciliation_request, async_req=True)
1455
+ >>> thread = api.reconcile_holdings_with_http_info(sort_by, limit, filter, portfolios_reconciliation_request, async_req=True)
2995
1456
  >>> result = thread.get()
2996
1457
 
2997
- :param transaction_reconciliation_request:
2998
- :type transaction_reconciliation_request: TransactionReconciliationRequest
1458
+ :param sort_by: Optional. Order the results by these fields. Use use the '-' sign to denote descending order e.g. -MyFieldName
1459
+ :type sort_by: List[str]
1460
+ :param limit: Optional. When paginating, limit the number of returned results to this many.
1461
+ :type limit: int
1462
+ :param filter: Optional. Expression to filter the result set. For example, to filter on the left portfolio Code, use \"left.portfolioId.code eq 'string'\" Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid.
1463
+ :type filter: str
1464
+ :param portfolios_reconciliation_request: The specifications of the inputs to the reconciliation
1465
+ :type portfolios_reconciliation_request: PortfoliosReconciliationRequest
2999
1466
  :param async_req: Whether to execute the request asynchronously.
3000
1467
  :type async_req: bool, optional
3001
1468
  :param _preload_content: if False, the ApiResponse.data will
@@ -3006,10 +1473,9 @@ class ReconciliationsApi:
3006
1473
  :param _return_http_data_only: response data instead of ApiResponse
3007
1474
  object with status code, headers, etc
3008
1475
  :type _return_http_data_only: bool, optional
3009
- :param _request_timeout: timeout setting for this request. If one
3010
- number provided, it will be total request
3011
- timeout. It can also be a pair (tuple) of
3012
- (connection, read) timeouts.
1476
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
1477
+ :param opts: Configuration options for this request
1478
+ :type opts: ConfigurationOptions, optional
3013
1479
  :param _request_auth: set to override the auth_settings for an a single
3014
1480
  request; this effectively ignores the authentication
3015
1481
  in the spec for a single request.
@@ -3018,13 +1484,16 @@ class ReconciliationsApi:
3018
1484
  :return: Returns the result object.
3019
1485
  If the method is called asynchronously,
3020
1486
  returns the request thread.
3021
- :rtype: tuple(TransactionsReconciliationsResponse, status_code(int), headers(HTTPHeaderDict))
1487
+ :rtype: tuple(ResourceListOfReconciliationBreak, status_code(int), headers(HTTPHeaderDict))
3022
1488
  """
3023
1489
 
3024
1490
  _params = locals()
3025
1491
 
3026
1492
  _all_params = [
3027
- 'transaction_reconciliation_request'
1493
+ 'sort_by',
1494
+ 'limit',
1495
+ 'filter',
1496
+ 'portfolios_reconciliation_request'
3028
1497
  ]
3029
1498
  _all_params.extend(
3030
1499
  [
@@ -3034,7 +1503,8 @@ class ReconciliationsApi:
3034
1503
  '_request_timeout',
3035
1504
  '_request_auth',
3036
1505
  '_content_type',
3037
- '_headers'
1506
+ '_headers',
1507
+ 'opts'
3038
1508
  ]
3039
1509
  )
3040
1510
 
@@ -3043,7 +1513,7 @@ class ReconciliationsApi:
3043
1513
  if _key not in _all_params:
3044
1514
  raise ApiTypeError(
3045
1515
  "Got an unexpected keyword argument '%s'"
3046
- " to method reconcile_transactions" % _key
1516
+ " to method reconcile_holdings" % _key
3047
1517
  )
3048
1518
  _params[_key] = _val
3049
1519
  del _params['kwargs']
@@ -3055,6 +1525,16 @@ class ReconciliationsApi:
3055
1525
 
3056
1526
  # process the query parameters
3057
1527
  _query_params = []
1528
+ if _params.get('sort_by') is not None: # noqa: E501
1529
+ _query_params.append(('sortBy', _params['sort_by']))
1530
+ _collection_formats['sortBy'] = 'multi'
1531
+
1532
+ if _params.get('limit') is not None: # noqa: E501
1533
+ _query_params.append(('limit', _params['limit']))
1534
+
1535
+ if _params.get('filter') is not None: # noqa: E501
1536
+ _query_params.append(('filter', _params['filter']))
1537
+
3058
1538
  # process the header parameters
3059
1539
  _header_params = dict(_params.get('_headers', {}))
3060
1540
  # process the form parameters
@@ -3062,8 +1542,8 @@ class ReconciliationsApi:
3062
1542
  _files = {}
3063
1543
  # process the body parameter
3064
1544
  _body_params = None
3065
- if _params['transaction_reconciliation_request'] is not None:
3066
- _body_params = _params['transaction_reconciliation_request']
1545
+ if _params['portfolios_reconciliation_request'] is not None:
1546
+ _body_params = _params['portfolios_reconciliation_request']
3067
1547
 
3068
1548
  # set the HTTP header `Accept`
3069
1549
  _header_params['Accept'] = self.api_client.select_header_accept(
@@ -3080,12 +1560,12 @@ class ReconciliationsApi:
3080
1560
  _auth_settings = ['oauth2'] # noqa: E501
3081
1561
 
3082
1562
  _response_types_map = {
3083
- '200': "TransactionsReconciliationsResponse",
1563
+ '200': "ResourceListOfReconciliationBreak",
3084
1564
  '400': "LusidValidationProblemDetails",
3085
1565
  }
3086
1566
 
3087
1567
  return self.api_client.call_api(
3088
- '/api/portfolios/$reconcileTransactions', 'POST',
1568
+ '/api/portfolios/$reconcileholdings', 'POST',
3089
1569
  _path_params,
3090
1570
  _query_params,
3091
1571
  _header_params,
@@ -3098,62 +1578,62 @@ class ReconciliationsApi:
3098
1578
  _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
3099
1579
  _preload_content=_params.get('_preload_content', True),
3100
1580
  _request_timeout=_params.get('_request_timeout'),
1581
+ opts=_params.get('opts'),
3101
1582
  collection_formats=_collection_formats,
3102
1583
  _request_auth=_params.get('_request_auth'))
3103
1584
 
3104
1585
  @overload
3105
- async def reconcile_transactions_v2(self, transaction_reconciliation_request_v2 : Optional[TransactionReconciliationRequestV2] = None, **kwargs) -> ReconciliationResponse: # noqa: E501
1586
+ async def reconcile_inline(self, inline_valuations_reconciliation_request : Annotated[Optional[InlineValuationsReconciliationRequest], Field(description="The specifications of the inputs to the reconciliation")] = None, **kwargs) -> ListAggregationReconciliation: # noqa: E501
3106
1587
  ...
3107
1588
 
3108
1589
  @overload
3109
- def reconcile_transactions_v2(self, transaction_reconciliation_request_v2 : Optional[TransactionReconciliationRequestV2] = None, async_req: Optional[bool]=True, **kwargs) -> ReconciliationResponse: # noqa: E501
1590
+ def reconcile_inline(self, inline_valuations_reconciliation_request : Annotated[Optional[InlineValuationsReconciliationRequest], Field(description="The specifications of the inputs to the reconciliation")] = None, async_req: Optional[bool]=True, **kwargs) -> ListAggregationReconciliation: # noqa: E501
3110
1591
  ...
3111
1592
 
3112
1593
  @validate_arguments
3113
- def reconcile_transactions_v2(self, transaction_reconciliation_request_v2 : Optional[TransactionReconciliationRequestV2] = None, async_req: Optional[bool]=None, **kwargs) -> Union[ReconciliationResponse, Awaitable[ReconciliationResponse]]: # noqa: E501
3114
- """[EXPERIMENTAL] ReconcileTransactionsV2: Perform a Transactions Reconciliation. # noqa: E501
1594
+ def reconcile_inline(self, inline_valuations_reconciliation_request : Annotated[Optional[InlineValuationsReconciliationRequest], Field(description="The specifications of the inputs to the reconciliation")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[ListAggregationReconciliation, Awaitable[ListAggregationReconciliation]]: # noqa: E501
1595
+ """ReconcileInline: Reconcile valuations performed on one or two sets of inline instruments using one or two configuration recipes. # noqa: E501
3115
1596
 
3116
- Evaluates two sets of transactions to determine which transactions from each set likely match using the rules of a specified mapping. # noqa: E501
1597
+ Perform valuation of one or two set of inline instruments using different one or two configuration recipes. Produce a breakdown of the resulting differences in valuation. # noqa: E501
3117
1598
  This method makes a synchronous HTTP request by default. To make an
3118
1599
  asynchronous HTTP request, please pass async_req=True
3119
1600
 
3120
- >>> thread = api.reconcile_transactions_v2(transaction_reconciliation_request_v2, async_req=True)
1601
+ >>> thread = api.reconcile_inline(inline_valuations_reconciliation_request, async_req=True)
3121
1602
  >>> result = thread.get()
3122
1603
 
3123
- :param transaction_reconciliation_request_v2:
3124
- :type transaction_reconciliation_request_v2: TransactionReconciliationRequestV2
1604
+ :param inline_valuations_reconciliation_request: The specifications of the inputs to the reconciliation
1605
+ :type inline_valuations_reconciliation_request: InlineValuationsReconciliationRequest
3125
1606
  :param async_req: Whether to execute the request asynchronously.
3126
1607
  :type async_req: bool, optional
3127
- :param _request_timeout: timeout setting for this request.
3128
- If one number provided, it will be total request
3129
- timeout. It can also be a pair (tuple) of
3130
- (connection, read) timeouts.
1608
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
1609
+ :param opts: Configuration options for this request
1610
+ :type opts: ConfigurationOptions, optional
3131
1611
  :return: Returns the result object.
3132
1612
  If the method is called asynchronously,
3133
1613
  returns the request thread.
3134
- :rtype: ReconciliationResponse
1614
+ :rtype: ListAggregationReconciliation
3135
1615
  """
3136
1616
  kwargs['_return_http_data_only'] = True
3137
1617
  if '_preload_content' in kwargs:
3138
- message = "Error! Please call the reconcile_transactions_v2_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501
1618
+ message = "Error! Please call the reconcile_inline_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501
3139
1619
  raise ValueError(message)
3140
1620
  if async_req is not None:
3141
1621
  kwargs['async_req'] = async_req
3142
- return self.reconcile_transactions_v2_with_http_info(transaction_reconciliation_request_v2, **kwargs) # noqa: E501
1622
+ return self.reconcile_inline_with_http_info(inline_valuations_reconciliation_request, **kwargs) # noqa: E501
3143
1623
 
3144
1624
  @validate_arguments
3145
- def reconcile_transactions_v2_with_http_info(self, transaction_reconciliation_request_v2 : Optional[TransactionReconciliationRequestV2] = None, **kwargs) -> ApiResponse: # noqa: E501
3146
- """[EXPERIMENTAL] ReconcileTransactionsV2: Perform a Transactions Reconciliation. # noqa: E501
1625
+ def reconcile_inline_with_http_info(self, inline_valuations_reconciliation_request : Annotated[Optional[InlineValuationsReconciliationRequest], Field(description="The specifications of the inputs to the reconciliation")] = None, **kwargs) -> ApiResponse: # noqa: E501
1626
+ """ReconcileInline: Reconcile valuations performed on one or two sets of inline instruments using one or two configuration recipes. # noqa: E501
3147
1627
 
3148
- Evaluates two sets of transactions to determine which transactions from each set likely match using the rules of a specified mapping. # noqa: E501
1628
+ Perform valuation of one or two set of inline instruments using different one or two configuration recipes. Produce a breakdown of the resulting differences in valuation. # noqa: E501
3149
1629
  This method makes a synchronous HTTP request by default. To make an
3150
1630
  asynchronous HTTP request, please pass async_req=True
3151
1631
 
3152
- >>> thread = api.reconcile_transactions_v2_with_http_info(transaction_reconciliation_request_v2, async_req=True)
1632
+ >>> thread = api.reconcile_inline_with_http_info(inline_valuations_reconciliation_request, async_req=True)
3153
1633
  >>> result = thread.get()
3154
1634
 
3155
- :param transaction_reconciliation_request_v2:
3156
- :type transaction_reconciliation_request_v2: TransactionReconciliationRequestV2
1635
+ :param inline_valuations_reconciliation_request: The specifications of the inputs to the reconciliation
1636
+ :type inline_valuations_reconciliation_request: InlineValuationsReconciliationRequest
3157
1637
  :param async_req: Whether to execute the request asynchronously.
3158
1638
  :type async_req: bool, optional
3159
1639
  :param _preload_content: if False, the ApiResponse.data will
@@ -3164,10 +1644,9 @@ class ReconciliationsApi:
3164
1644
  :param _return_http_data_only: response data instead of ApiResponse
3165
1645
  object with status code, headers, etc
3166
1646
  :type _return_http_data_only: bool, optional
3167
- :param _request_timeout: timeout setting for this request. If one
3168
- number provided, it will be total request
3169
- timeout. It can also be a pair (tuple) of
3170
- (connection, read) timeouts.
1647
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
1648
+ :param opts: Configuration options for this request
1649
+ :type opts: ConfigurationOptions, optional
3171
1650
  :param _request_auth: set to override the auth_settings for an a single
3172
1651
  request; this effectively ignores the authentication
3173
1652
  in the spec for a single request.
@@ -3176,13 +1655,13 @@ class ReconciliationsApi:
3176
1655
  :return: Returns the result object.
3177
1656
  If the method is called asynchronously,
3178
1657
  returns the request thread.
3179
- :rtype: tuple(ReconciliationResponse, status_code(int), headers(HTTPHeaderDict))
1658
+ :rtype: tuple(ListAggregationReconciliation, status_code(int), headers(HTTPHeaderDict))
3180
1659
  """
3181
1660
 
3182
1661
  _params = locals()
3183
1662
 
3184
1663
  _all_params = [
3185
- 'transaction_reconciliation_request_v2'
1664
+ 'inline_valuations_reconciliation_request'
3186
1665
  ]
3187
1666
  _all_params.extend(
3188
1667
  [
@@ -3192,7 +1671,8 @@ class ReconciliationsApi:
3192
1671
  '_request_timeout',
3193
1672
  '_request_auth',
3194
1673
  '_content_type',
3195
- '_headers'
1674
+ '_headers',
1675
+ 'opts'
3196
1676
  ]
3197
1677
  )
3198
1678
 
@@ -3201,7 +1681,7 @@ class ReconciliationsApi:
3201
1681
  if _key not in _all_params:
3202
1682
  raise ApiTypeError(
3203
1683
  "Got an unexpected keyword argument '%s'"
3204
- " to method reconcile_transactions_v2" % _key
1684
+ " to method reconcile_inline" % _key
3205
1685
  )
3206
1686
  _params[_key] = _val
3207
1687
  del _params['kwargs']
@@ -3220,8 +1700,8 @@ class ReconciliationsApi:
3220
1700
  _files = {}
3221
1701
  # process the body parameter
3222
1702
  _body_params = None
3223
- if _params['transaction_reconciliation_request_v2'] is not None:
3224
- _body_params = _params['transaction_reconciliation_request_v2']
1703
+ if _params['inline_valuations_reconciliation_request'] is not None:
1704
+ _body_params = _params['inline_valuations_reconciliation_request']
3225
1705
 
3226
1706
  # set the HTTP header `Accept`
3227
1707
  _header_params['Accept'] = self.api_client.select_header_accept(
@@ -3238,12 +1718,12 @@ class ReconciliationsApi:
3238
1718
  _auth_settings = ['oauth2'] # noqa: E501
3239
1719
 
3240
1720
  _response_types_map = {
3241
- '200': "ReconciliationResponse",
1721
+ '200': "ListAggregationReconciliation",
3242
1722
  '400': "LusidValidationProblemDetails",
3243
1723
  }
3244
1724
 
3245
1725
  return self.api_client.call_api(
3246
- '/api/portfolios/$reconcileTransactionsV2', 'POST',
1726
+ '/api/portfolios/$reconcileInline', 'POST',
3247
1727
  _path_params,
3248
1728
  _query_params,
3249
1729
  _header_params,
@@ -3256,62 +1736,62 @@ class ReconciliationsApi:
3256
1736
  _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
3257
1737
  _preload_content=_params.get('_preload_content', True),
3258
1738
  _request_timeout=_params.get('_request_timeout'),
1739
+ opts=_params.get('opts'),
3259
1740
  collection_formats=_collection_formats,
3260
1741
  _request_auth=_params.get('_request_auth'))
3261
1742
 
3262
1743
  @overload
3263
- async def reconcile_valuation(self, valuations_reconciliation_request : Annotated[Optional[ValuationsReconciliationRequest], Field(description="The specifications of the inputs to the reconciliation")] = None, **kwargs) -> ListAggregationReconciliation: # noqa: E501
1744
+ async def reconcile_transactions(self, transaction_reconciliation_request : Optional[TransactionReconciliationRequest] = None, **kwargs) -> TransactionsReconciliationsResponse: # noqa: E501
3264
1745
  ...
3265
1746
 
3266
1747
  @overload
3267
- def reconcile_valuation(self, valuations_reconciliation_request : Annotated[Optional[ValuationsReconciliationRequest], Field(description="The specifications of the inputs to the reconciliation")] = None, async_req: Optional[bool]=True, **kwargs) -> ListAggregationReconciliation: # noqa: E501
1748
+ def reconcile_transactions(self, transaction_reconciliation_request : Optional[TransactionReconciliationRequest] = None, async_req: Optional[bool]=True, **kwargs) -> TransactionsReconciliationsResponse: # noqa: E501
3268
1749
  ...
3269
1750
 
3270
1751
  @validate_arguments
3271
- def reconcile_valuation(self, valuations_reconciliation_request : Annotated[Optional[ValuationsReconciliationRequest], Field(description="The specifications of the inputs to the reconciliation")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[ListAggregationReconciliation, Awaitable[ListAggregationReconciliation]]: # noqa: E501
3272
- """ReconcileValuation: Reconcile valuations performed on one or two sets of holdings using one or two configuration recipes. # noqa: E501
1752
+ def reconcile_transactions(self, transaction_reconciliation_request : Optional[TransactionReconciliationRequest] = None, async_req: Optional[bool]=None, **kwargs) -> Union[TransactionsReconciliationsResponse, Awaitable[TransactionsReconciliationsResponse]]: # noqa: E501
1753
+ """[EARLY ACCESS] ReconcileTransactions: Perform a Transactions Reconciliation. # noqa: E501
3273
1754
 
3274
- Perform valuation of one or two set of holdings using different one or two configuration recipes. Produce a breakdown of the resulting differences in valuation. # noqa: E501
1755
+ Evaluates two sets of transactions to determine which transactions from each set likely match using the rules of a specified mapping. # noqa: E501
3275
1756
  This method makes a synchronous HTTP request by default. To make an
3276
1757
  asynchronous HTTP request, please pass async_req=True
3277
1758
 
3278
- >>> thread = api.reconcile_valuation(valuations_reconciliation_request, async_req=True)
1759
+ >>> thread = api.reconcile_transactions(transaction_reconciliation_request, async_req=True)
3279
1760
  >>> result = thread.get()
3280
1761
 
3281
- :param valuations_reconciliation_request: The specifications of the inputs to the reconciliation
3282
- :type valuations_reconciliation_request: ValuationsReconciliationRequest
1762
+ :param transaction_reconciliation_request:
1763
+ :type transaction_reconciliation_request: TransactionReconciliationRequest
3283
1764
  :param async_req: Whether to execute the request asynchronously.
3284
1765
  :type async_req: bool, optional
3285
- :param _request_timeout: timeout setting for this request.
3286
- If one number provided, it will be total request
3287
- timeout. It can also be a pair (tuple) of
3288
- (connection, read) timeouts.
1766
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
1767
+ :param opts: Configuration options for this request
1768
+ :type opts: ConfigurationOptions, optional
3289
1769
  :return: Returns the result object.
3290
1770
  If the method is called asynchronously,
3291
1771
  returns the request thread.
3292
- :rtype: ListAggregationReconciliation
1772
+ :rtype: TransactionsReconciliationsResponse
3293
1773
  """
3294
1774
  kwargs['_return_http_data_only'] = True
3295
1775
  if '_preload_content' in kwargs:
3296
- message = "Error! Please call the reconcile_valuation_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501
1776
+ message = "Error! Please call the reconcile_transactions_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501
3297
1777
  raise ValueError(message)
3298
1778
  if async_req is not None:
3299
1779
  kwargs['async_req'] = async_req
3300
- return self.reconcile_valuation_with_http_info(valuations_reconciliation_request, **kwargs) # noqa: E501
1780
+ return self.reconcile_transactions_with_http_info(transaction_reconciliation_request, **kwargs) # noqa: E501
3301
1781
 
3302
1782
  @validate_arguments
3303
- def reconcile_valuation_with_http_info(self, valuations_reconciliation_request : Annotated[Optional[ValuationsReconciliationRequest], Field(description="The specifications of the inputs to the reconciliation")] = None, **kwargs) -> ApiResponse: # noqa: E501
3304
- """ReconcileValuation: Reconcile valuations performed on one or two sets of holdings using one or two configuration recipes. # noqa: E501
1783
+ def reconcile_transactions_with_http_info(self, transaction_reconciliation_request : Optional[TransactionReconciliationRequest] = None, **kwargs) -> ApiResponse: # noqa: E501
1784
+ """[EARLY ACCESS] ReconcileTransactions: Perform a Transactions Reconciliation. # noqa: E501
3305
1785
 
3306
- Perform valuation of one or two set of holdings using different one or two configuration recipes. Produce a breakdown of the resulting differences in valuation. # noqa: E501
1786
+ Evaluates two sets of transactions to determine which transactions from each set likely match using the rules of a specified mapping. # noqa: E501
3307
1787
  This method makes a synchronous HTTP request by default. To make an
3308
1788
  asynchronous HTTP request, please pass async_req=True
3309
1789
 
3310
- >>> thread = api.reconcile_valuation_with_http_info(valuations_reconciliation_request, async_req=True)
1790
+ >>> thread = api.reconcile_transactions_with_http_info(transaction_reconciliation_request, async_req=True)
3311
1791
  >>> result = thread.get()
3312
1792
 
3313
- :param valuations_reconciliation_request: The specifications of the inputs to the reconciliation
3314
- :type valuations_reconciliation_request: ValuationsReconciliationRequest
1793
+ :param transaction_reconciliation_request:
1794
+ :type transaction_reconciliation_request: TransactionReconciliationRequest
3315
1795
  :param async_req: Whether to execute the request asynchronously.
3316
1796
  :type async_req: bool, optional
3317
1797
  :param _preload_content: if False, the ApiResponse.data will
@@ -3322,10 +1802,9 @@ class ReconciliationsApi:
3322
1802
  :param _return_http_data_only: response data instead of ApiResponse
3323
1803
  object with status code, headers, etc
3324
1804
  :type _return_http_data_only: bool, optional
3325
- :param _request_timeout: timeout setting for this request. If one
3326
- number provided, it will be total request
3327
- timeout. It can also be a pair (tuple) of
3328
- (connection, read) timeouts.
1805
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
1806
+ :param opts: Configuration options for this request
1807
+ :type opts: ConfigurationOptions, optional
3329
1808
  :param _request_auth: set to override the auth_settings for an a single
3330
1809
  request; this effectively ignores the authentication
3331
1810
  in the spec for a single request.
@@ -3334,13 +1813,13 @@ class ReconciliationsApi:
3334
1813
  :return: Returns the result object.
3335
1814
  If the method is called asynchronously,
3336
1815
  returns the request thread.
3337
- :rtype: tuple(ListAggregationReconciliation, status_code(int), headers(HTTPHeaderDict))
1816
+ :rtype: tuple(TransactionsReconciliationsResponse, status_code(int), headers(HTTPHeaderDict))
3338
1817
  """
3339
1818
 
3340
1819
  _params = locals()
3341
1820
 
3342
1821
  _all_params = [
3343
- 'valuations_reconciliation_request'
1822
+ 'transaction_reconciliation_request'
3344
1823
  ]
3345
1824
  _all_params.extend(
3346
1825
  [
@@ -3350,7 +1829,8 @@ class ReconciliationsApi:
3350
1829
  '_request_timeout',
3351
1830
  '_request_auth',
3352
1831
  '_content_type',
3353
- '_headers'
1832
+ '_headers',
1833
+ 'opts'
3354
1834
  ]
3355
1835
  )
3356
1836
 
@@ -3359,7 +1839,7 @@ class ReconciliationsApi:
3359
1839
  if _key not in _all_params:
3360
1840
  raise ApiTypeError(
3361
1841
  "Got an unexpected keyword argument '%s'"
3362
- " to method reconcile_valuation" % _key
1842
+ " to method reconcile_transactions" % _key
3363
1843
  )
3364
1844
  _params[_key] = _val
3365
1845
  del _params['kwargs']
@@ -3378,8 +1858,8 @@ class ReconciliationsApi:
3378
1858
  _files = {}
3379
1859
  # process the body parameter
3380
1860
  _body_params = None
3381
- if _params['valuations_reconciliation_request'] is not None:
3382
- _body_params = _params['valuations_reconciliation_request']
1861
+ if _params['transaction_reconciliation_request'] is not None:
1862
+ _body_params = _params['transaction_reconciliation_request']
3383
1863
 
3384
1864
  # set the HTTP header `Accept`
3385
1865
  _header_params['Accept'] = self.api_client.select_header_accept(
@@ -3396,12 +1876,12 @@ class ReconciliationsApi:
3396
1876
  _auth_settings = ['oauth2'] # noqa: E501
3397
1877
 
3398
1878
  _response_types_map = {
3399
- '200': "ListAggregationReconciliation",
1879
+ '200': "TransactionsReconciliationsResponse",
3400
1880
  '400': "LusidValidationProblemDetails",
3401
1881
  }
3402
1882
 
3403
1883
  return self.api_client.call_api(
3404
- '/api/portfolios/$reconcileValuation', 'POST',
1884
+ '/api/portfolios/$reconcileTransactions', 'POST',
3405
1885
  _path_params,
3406
1886
  _query_params,
3407
1887
  _header_params,
@@ -3414,70 +1894,62 @@ class ReconciliationsApi:
3414
1894
  _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
3415
1895
  _preload_content=_params.get('_preload_content', True),
3416
1896
  _request_timeout=_params.get('_request_timeout'),
1897
+ opts=_params.get('opts'),
3417
1898
  collection_formats=_collection_formats,
3418
1899
  _request_auth=_params.get('_request_auth'))
3419
1900
 
3420
1901
  @overload
3421
- async def update_reconciliation(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the reconciliation to be updated")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the reconciliation to be updated")], update_reconciliation_request : Annotated[Optional[UpdateReconciliationRequest], Field(description="The updated definition of the reconciliation")] = None, **kwargs) -> Reconciliation: # noqa: E501
1902
+ async def reconcile_transactions_v2(self, transaction_reconciliation_request_v2 : Optional[TransactionReconciliationRequestV2] = None, **kwargs) -> ReconciliationResponse: # noqa: E501
3422
1903
  ...
3423
1904
 
3424
1905
  @overload
3425
- def update_reconciliation(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the reconciliation to be updated")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the reconciliation to be updated")], update_reconciliation_request : Annotated[Optional[UpdateReconciliationRequest], Field(description="The updated definition of the reconciliation")] = None, async_req: Optional[bool]=True, **kwargs) -> Reconciliation: # noqa: E501
1906
+ def reconcile_transactions_v2(self, transaction_reconciliation_request_v2 : Optional[TransactionReconciliationRequestV2] = None, async_req: Optional[bool]=True, **kwargs) -> ReconciliationResponse: # noqa: E501
3426
1907
  ...
3427
1908
 
3428
1909
  @validate_arguments
3429
- def update_reconciliation(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the reconciliation to be updated")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the reconciliation to be updated")], update_reconciliation_request : Annotated[Optional[UpdateReconciliationRequest], Field(description="The updated definition of the reconciliation")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[Reconciliation, Awaitable[Reconciliation]]: # noqa: E501
3430
- """[EXPERIMENTAL] UpdateReconciliation: Update scheduled reconciliation # noqa: E501
1910
+ def reconcile_transactions_v2(self, transaction_reconciliation_request_v2 : Optional[TransactionReconciliationRequestV2] = None, async_req: Optional[bool]=None, **kwargs) -> Union[ReconciliationResponse, Awaitable[ReconciliationResponse]]: # noqa: E501
1911
+ """[EXPERIMENTAL] ReconcileTransactionsV2: Perform a Transactions Reconciliation. # noqa: E501
3431
1912
 
3432
- Update a given scheduled reconciliation # noqa: E501
1913
+ Evaluates two sets of transactions to determine which transactions from each set likely match using the rules of a specified mapping. # noqa: E501
3433
1914
  This method makes a synchronous HTTP request by default. To make an
3434
1915
  asynchronous HTTP request, please pass async_req=True
3435
1916
 
3436
- >>> thread = api.update_reconciliation(scope, code, update_reconciliation_request, async_req=True)
1917
+ >>> thread = api.reconcile_transactions_v2(transaction_reconciliation_request_v2, async_req=True)
3437
1918
  >>> result = thread.get()
3438
1919
 
3439
- :param scope: The scope of the reconciliation to be updated (required)
3440
- :type scope: str
3441
- :param code: The code of the reconciliation to be updated (required)
3442
- :type code: str
3443
- :param update_reconciliation_request: The updated definition of the reconciliation
3444
- :type update_reconciliation_request: UpdateReconciliationRequest
1920
+ :param transaction_reconciliation_request_v2:
1921
+ :type transaction_reconciliation_request_v2: TransactionReconciliationRequestV2
3445
1922
  :param async_req: Whether to execute the request asynchronously.
3446
1923
  :type async_req: bool, optional
3447
- :param _request_timeout: timeout setting for this request.
3448
- If one number provided, it will be total request
3449
- timeout. It can also be a pair (tuple) of
3450
- (connection, read) timeouts.
1924
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
1925
+ :param opts: Configuration options for this request
1926
+ :type opts: ConfigurationOptions, optional
3451
1927
  :return: Returns the result object.
3452
1928
  If the method is called asynchronously,
3453
1929
  returns the request thread.
3454
- :rtype: Reconciliation
1930
+ :rtype: ReconciliationResponse
3455
1931
  """
3456
1932
  kwargs['_return_http_data_only'] = True
3457
1933
  if '_preload_content' in kwargs:
3458
- message = "Error! Please call the update_reconciliation_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501
1934
+ message = "Error! Please call the reconcile_transactions_v2_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501
3459
1935
  raise ValueError(message)
3460
1936
  if async_req is not None:
3461
1937
  kwargs['async_req'] = async_req
3462
- return self.update_reconciliation_with_http_info(scope, code, update_reconciliation_request, **kwargs) # noqa: E501
1938
+ return self.reconcile_transactions_v2_with_http_info(transaction_reconciliation_request_v2, **kwargs) # noqa: E501
3463
1939
 
3464
1940
  @validate_arguments
3465
- def update_reconciliation_with_http_info(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the reconciliation to be updated")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the reconciliation to be updated")], update_reconciliation_request : Annotated[Optional[UpdateReconciliationRequest], Field(description="The updated definition of the reconciliation")] = None, **kwargs) -> ApiResponse: # noqa: E501
3466
- """[EXPERIMENTAL] UpdateReconciliation: Update scheduled reconciliation # noqa: E501
1941
+ def reconcile_transactions_v2_with_http_info(self, transaction_reconciliation_request_v2 : Optional[TransactionReconciliationRequestV2] = None, **kwargs) -> ApiResponse: # noqa: E501
1942
+ """[EXPERIMENTAL] ReconcileTransactionsV2: Perform a Transactions Reconciliation. # noqa: E501
3467
1943
 
3468
- Update a given scheduled reconciliation # noqa: E501
1944
+ Evaluates two sets of transactions to determine which transactions from each set likely match using the rules of a specified mapping. # noqa: E501
3469
1945
  This method makes a synchronous HTTP request by default. To make an
3470
1946
  asynchronous HTTP request, please pass async_req=True
3471
1947
 
3472
- >>> thread = api.update_reconciliation_with_http_info(scope, code, update_reconciliation_request, async_req=True)
1948
+ >>> thread = api.reconcile_transactions_v2_with_http_info(transaction_reconciliation_request_v2, async_req=True)
3473
1949
  >>> result = thread.get()
3474
1950
 
3475
- :param scope: The scope of the reconciliation to be updated (required)
3476
- :type scope: str
3477
- :param code: The code of the reconciliation to be updated (required)
3478
- :type code: str
3479
- :param update_reconciliation_request: The updated definition of the reconciliation
3480
- :type update_reconciliation_request: UpdateReconciliationRequest
1951
+ :param transaction_reconciliation_request_v2:
1952
+ :type transaction_reconciliation_request_v2: TransactionReconciliationRequestV2
3481
1953
  :param async_req: Whether to execute the request asynchronously.
3482
1954
  :type async_req: bool, optional
3483
1955
  :param _preload_content: if False, the ApiResponse.data will
@@ -3488,10 +1960,9 @@ class ReconciliationsApi:
3488
1960
  :param _return_http_data_only: response data instead of ApiResponse
3489
1961
  object with status code, headers, etc
3490
1962
  :type _return_http_data_only: bool, optional
3491
- :param _request_timeout: timeout setting for this request. If one
3492
- number provided, it will be total request
3493
- timeout. It can also be a pair (tuple) of
3494
- (connection, read) timeouts.
1963
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
1964
+ :param opts: Configuration options for this request
1965
+ :type opts: ConfigurationOptions, optional
3495
1966
  :param _request_auth: set to override the auth_settings for an a single
3496
1967
  request; this effectively ignores the authentication
3497
1968
  in the spec for a single request.
@@ -3500,15 +1971,13 @@ class ReconciliationsApi:
3500
1971
  :return: Returns the result object.
3501
1972
  If the method is called asynchronously,
3502
1973
  returns the request thread.
3503
- :rtype: tuple(Reconciliation, status_code(int), headers(HTTPHeaderDict))
1974
+ :rtype: tuple(ReconciliationResponse, status_code(int), headers(HTTPHeaderDict))
3504
1975
  """
3505
1976
 
3506
1977
  _params = locals()
3507
1978
 
3508
1979
  _all_params = [
3509
- 'scope',
3510
- 'code',
3511
- 'update_reconciliation_request'
1980
+ 'transaction_reconciliation_request_v2'
3512
1981
  ]
3513
1982
  _all_params.extend(
3514
1983
  [
@@ -3518,7 +1987,8 @@ class ReconciliationsApi:
3518
1987
  '_request_timeout',
3519
1988
  '_request_auth',
3520
1989
  '_content_type',
3521
- '_headers'
1990
+ '_headers',
1991
+ 'opts'
3522
1992
  ]
3523
1993
  )
3524
1994
 
@@ -3527,7 +1997,7 @@ class ReconciliationsApi:
3527
1997
  if _key not in _all_params:
3528
1998
  raise ApiTypeError(
3529
1999
  "Got an unexpected keyword argument '%s'"
3530
- " to method update_reconciliation" % _key
2000
+ " to method reconcile_transactions_v2" % _key
3531
2001
  )
3532
2002
  _params[_key] = _val
3533
2003
  del _params['kwargs']
@@ -3536,12 +2006,6 @@ class ReconciliationsApi:
3536
2006
 
3537
2007
  # process the path parameters
3538
2008
  _path_params = {}
3539
- if _params['scope']:
3540
- _path_params['scope'] = _params['scope']
3541
-
3542
- if _params['code']:
3543
- _path_params['code'] = _params['code']
3544
-
3545
2009
 
3546
2010
  # process the query parameters
3547
2011
  _query_params = []
@@ -3552,8 +2016,8 @@ class ReconciliationsApi:
3552
2016
  _files = {}
3553
2017
  # process the body parameter
3554
2018
  _body_params = None
3555
- if _params['update_reconciliation_request'] is not None:
3556
- _body_params = _params['update_reconciliation_request']
2019
+ if _params['transaction_reconciliation_request_v2'] is not None:
2020
+ _body_params = _params['transaction_reconciliation_request_v2']
3557
2021
 
3558
2022
  # set the HTTP header `Accept`
3559
2023
  _header_params['Accept'] = self.api_client.select_header_accept(
@@ -3570,12 +2034,12 @@ class ReconciliationsApi:
3570
2034
  _auth_settings = ['oauth2'] # noqa: E501
3571
2035
 
3572
2036
  _response_types_map = {
3573
- '200': "Reconciliation",
2037
+ '200': "ReconciliationResponse",
3574
2038
  '400': "LusidValidationProblemDetails",
3575
2039
  }
3576
2040
 
3577
2041
  return self.api_client.call_api(
3578
- '/api/portfolios/$scheduledReconciliations/{scope}/{code}', 'POST',
2042
+ '/api/portfolios/$reconcileTransactionsV2', 'POST',
3579
2043
  _path_params,
3580
2044
  _query_params,
3581
2045
  _header_params,
@@ -3588,78 +2052,62 @@ class ReconciliationsApi:
3588
2052
  _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
3589
2053
  _preload_content=_params.get('_preload_content', True),
3590
2054
  _request_timeout=_params.get('_request_timeout'),
2055
+ opts=_params.get('opts'),
3591
2056
  collection_formats=_collection_formats,
3592
2057
  _request_auth=_params.get('_request_auth'))
3593
2058
 
3594
2059
  @overload
3595
- async def upsert_reconciliation_break(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the reconciliation associated with the break")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the reconciliation associated with the break")], run_date : Annotated[datetime, Field(..., description="The date of the run associated with the break")], version : Annotated[StrictInt, Field(..., description="The version number of the run associated with the break")], upsert_reconciliation_break_request : Annotated[Optional[UpsertReconciliationBreakRequest], Field(description="The definition of the reconciliation break request")] = None, **kwargs) -> ReconciliationRunBreak: # noqa: E501
2060
+ async def reconcile_valuation(self, valuations_reconciliation_request : Annotated[Optional[ValuationsReconciliationRequest], Field(description="The specifications of the inputs to the reconciliation")] = None, **kwargs) -> ListAggregationReconciliation: # noqa: E501
3596
2061
  ...
3597
2062
 
3598
2063
  @overload
3599
- def upsert_reconciliation_break(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the reconciliation associated with the break")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the reconciliation associated with the break")], run_date : Annotated[datetime, Field(..., description="The date of the run associated with the break")], version : Annotated[StrictInt, Field(..., description="The version number of the run associated with the break")], upsert_reconciliation_break_request : Annotated[Optional[UpsertReconciliationBreakRequest], Field(description="The definition of the reconciliation break request")] = None, async_req: Optional[bool]=True, **kwargs) -> ReconciliationRunBreak: # noqa: E501
2064
+ def reconcile_valuation(self, valuations_reconciliation_request : Annotated[Optional[ValuationsReconciliationRequest], Field(description="The specifications of the inputs to the reconciliation")] = None, async_req: Optional[bool]=True, **kwargs) -> ListAggregationReconciliation: # noqa: E501
3600
2065
  ...
3601
2066
 
3602
2067
  @validate_arguments
3603
- def upsert_reconciliation_break(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the reconciliation associated with the break")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the reconciliation associated with the break")], run_date : Annotated[datetime, Field(..., description="The date of the run associated with the break")], version : Annotated[StrictInt, Field(..., description="The version number of the run associated with the break")], upsert_reconciliation_break_request : Annotated[Optional[UpsertReconciliationBreakRequest], Field(description="The definition of the reconciliation break request")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[ReconciliationRunBreak, Awaitable[ReconciliationRunBreak]]: # noqa: E501
3604
- """[EXPERIMENTAL] UpsertReconciliationBreak: Upsert a reconciliation break # noqa: E501
2068
+ def reconcile_valuation(self, valuations_reconciliation_request : Annotated[Optional[ValuationsReconciliationRequest], Field(description="The specifications of the inputs to the reconciliation")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[ListAggregationReconciliation, Awaitable[ListAggregationReconciliation]]: # noqa: E501
2069
+ """ReconcileValuation: Reconcile valuations performed on one or two sets of holdings using one or two configuration recipes. # noqa: E501
3605
2070
 
3606
- Update or create a given reconciliation break # noqa: E501
2071
+ Perform valuation of one or two set of holdings using different one or two configuration recipes. Produce a breakdown of the resulting differences in valuation. # noqa: E501
3607
2072
  This method makes a synchronous HTTP request by default. To make an
3608
2073
  asynchronous HTTP request, please pass async_req=True
3609
2074
 
3610
- >>> thread = api.upsert_reconciliation_break(scope, code, run_date, version, upsert_reconciliation_break_request, async_req=True)
2075
+ >>> thread = api.reconcile_valuation(valuations_reconciliation_request, async_req=True)
3611
2076
  >>> result = thread.get()
3612
2077
 
3613
- :param scope: The scope of the reconciliation associated with the break (required)
3614
- :type scope: str
3615
- :param code: The code of the reconciliation associated with the break (required)
3616
- :type code: str
3617
- :param run_date: The date of the run associated with the break (required)
3618
- :type run_date: datetime
3619
- :param version: The version number of the run associated with the break (required)
3620
- :type version: int
3621
- :param upsert_reconciliation_break_request: The definition of the reconciliation break request
3622
- :type upsert_reconciliation_break_request: UpsertReconciliationBreakRequest
2078
+ :param valuations_reconciliation_request: The specifications of the inputs to the reconciliation
2079
+ :type valuations_reconciliation_request: ValuationsReconciliationRequest
3623
2080
  :param async_req: Whether to execute the request asynchronously.
3624
2081
  :type async_req: bool, optional
3625
- :param _request_timeout: timeout setting for this request.
3626
- If one number provided, it will be total request
3627
- timeout. It can also be a pair (tuple) of
3628
- (connection, read) timeouts.
2082
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
2083
+ :param opts: Configuration options for this request
2084
+ :type opts: ConfigurationOptions, optional
3629
2085
  :return: Returns the result object.
3630
2086
  If the method is called asynchronously,
3631
2087
  returns the request thread.
3632
- :rtype: ReconciliationRunBreak
2088
+ :rtype: ListAggregationReconciliation
3633
2089
  """
3634
2090
  kwargs['_return_http_data_only'] = True
3635
2091
  if '_preload_content' in kwargs:
3636
- message = "Error! Please call the upsert_reconciliation_break_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501
2092
+ message = "Error! Please call the reconcile_valuation_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501
3637
2093
  raise ValueError(message)
3638
2094
  if async_req is not None:
3639
2095
  kwargs['async_req'] = async_req
3640
- return self.upsert_reconciliation_break_with_http_info(scope, code, run_date, version, upsert_reconciliation_break_request, **kwargs) # noqa: E501
2096
+ return self.reconcile_valuation_with_http_info(valuations_reconciliation_request, **kwargs) # noqa: E501
3641
2097
 
3642
2098
  @validate_arguments
3643
- def upsert_reconciliation_break_with_http_info(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the reconciliation associated with the break")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the reconciliation associated with the break")], run_date : Annotated[datetime, Field(..., description="The date of the run associated with the break")], version : Annotated[StrictInt, Field(..., description="The version number of the run associated with the break")], upsert_reconciliation_break_request : Annotated[Optional[UpsertReconciliationBreakRequest], Field(description="The definition of the reconciliation break request")] = None, **kwargs) -> ApiResponse: # noqa: E501
3644
- """[EXPERIMENTAL] UpsertReconciliationBreak: Upsert a reconciliation break # noqa: E501
2099
+ def reconcile_valuation_with_http_info(self, valuations_reconciliation_request : Annotated[Optional[ValuationsReconciliationRequest], Field(description="The specifications of the inputs to the reconciliation")] = None, **kwargs) -> ApiResponse: # noqa: E501
2100
+ """ReconcileValuation: Reconcile valuations performed on one or two sets of holdings using one or two configuration recipes. # noqa: E501
3645
2101
 
3646
- Update or create a given reconciliation break # noqa: E501
2102
+ Perform valuation of one or two set of holdings using different one or two configuration recipes. Produce a breakdown of the resulting differences in valuation. # noqa: E501
3647
2103
  This method makes a synchronous HTTP request by default. To make an
3648
2104
  asynchronous HTTP request, please pass async_req=True
3649
2105
 
3650
- >>> thread = api.upsert_reconciliation_break_with_http_info(scope, code, run_date, version, upsert_reconciliation_break_request, async_req=True)
2106
+ >>> thread = api.reconcile_valuation_with_http_info(valuations_reconciliation_request, async_req=True)
3651
2107
  >>> result = thread.get()
3652
2108
 
3653
- :param scope: The scope of the reconciliation associated with the break (required)
3654
- :type scope: str
3655
- :param code: The code of the reconciliation associated with the break (required)
3656
- :type code: str
3657
- :param run_date: The date of the run associated with the break (required)
3658
- :type run_date: datetime
3659
- :param version: The version number of the run associated with the break (required)
3660
- :type version: int
3661
- :param upsert_reconciliation_break_request: The definition of the reconciliation break request
3662
- :type upsert_reconciliation_break_request: UpsertReconciliationBreakRequest
2109
+ :param valuations_reconciliation_request: The specifications of the inputs to the reconciliation
2110
+ :type valuations_reconciliation_request: ValuationsReconciliationRequest
3663
2111
  :param async_req: Whether to execute the request asynchronously.
3664
2112
  :type async_req: bool, optional
3665
2113
  :param _preload_content: if False, the ApiResponse.data will
@@ -3670,10 +2118,9 @@ class ReconciliationsApi:
3670
2118
  :param _return_http_data_only: response data instead of ApiResponse
3671
2119
  object with status code, headers, etc
3672
2120
  :type _return_http_data_only: bool, optional
3673
- :param _request_timeout: timeout setting for this request. If one
3674
- number provided, it will be total request
3675
- timeout. It can also be a pair (tuple) of
3676
- (connection, read) timeouts.
2121
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
2122
+ :param opts: Configuration options for this request
2123
+ :type opts: ConfigurationOptions, optional
3677
2124
  :param _request_auth: set to override the auth_settings for an a single
3678
2125
  request; this effectively ignores the authentication
3679
2126
  in the spec for a single request.
@@ -3682,17 +2129,13 @@ class ReconciliationsApi:
3682
2129
  :return: Returns the result object.
3683
2130
  If the method is called asynchronously,
3684
2131
  returns the request thread.
3685
- :rtype: tuple(ReconciliationRunBreak, status_code(int), headers(HTTPHeaderDict))
2132
+ :rtype: tuple(ListAggregationReconciliation, status_code(int), headers(HTTPHeaderDict))
3686
2133
  """
3687
2134
 
3688
2135
  _params = locals()
3689
2136
 
3690
2137
  _all_params = [
3691
- 'scope',
3692
- 'code',
3693
- 'run_date',
3694
- 'version',
3695
- 'upsert_reconciliation_break_request'
2138
+ 'valuations_reconciliation_request'
3696
2139
  ]
3697
2140
  _all_params.extend(
3698
2141
  [
@@ -3702,7 +2145,8 @@ class ReconciliationsApi:
3702
2145
  '_request_timeout',
3703
2146
  '_request_auth',
3704
2147
  '_content_type',
3705
- '_headers'
2148
+ '_headers',
2149
+ 'opts'
3706
2150
  ]
3707
2151
  )
3708
2152
 
@@ -3711,7 +2155,7 @@ class ReconciliationsApi:
3711
2155
  if _key not in _all_params:
3712
2156
  raise ApiTypeError(
3713
2157
  "Got an unexpected keyword argument '%s'"
3714
- " to method upsert_reconciliation_break" % _key
2158
+ " to method reconcile_valuation" % _key
3715
2159
  )
3716
2160
  _params[_key] = _val
3717
2161
  del _params['kwargs']
@@ -3720,18 +2164,6 @@ class ReconciliationsApi:
3720
2164
 
3721
2165
  # process the path parameters
3722
2166
  _path_params = {}
3723
- if _params['scope']:
3724
- _path_params['scope'] = _params['scope']
3725
-
3726
- if _params['code']:
3727
- _path_params['code'] = _params['code']
3728
-
3729
- if _params['run_date']:
3730
- _path_params['runDate'] = _params['run_date']
3731
-
3732
- if _params['version']:
3733
- _path_params['version'] = _params['version']
3734
-
3735
2167
 
3736
2168
  # process the query parameters
3737
2169
  _query_params = []
@@ -3742,8 +2174,8 @@ class ReconciliationsApi:
3742
2174
  _files = {}
3743
2175
  # process the body parameter
3744
2176
  _body_params = None
3745
- if _params['upsert_reconciliation_break_request'] is not None:
3746
- _body_params = _params['upsert_reconciliation_break_request']
2177
+ if _params['valuations_reconciliation_request'] is not None:
2178
+ _body_params = _params['valuations_reconciliation_request']
3747
2179
 
3748
2180
  # set the HTTP header `Accept`
3749
2181
  _header_params['Accept'] = self.api_client.select_header_accept(
@@ -3760,12 +2192,12 @@ class ReconciliationsApi:
3760
2192
  _auth_settings = ['oauth2'] # noqa: E501
3761
2193
 
3762
2194
  _response_types_map = {
3763
- '201': "ReconciliationRunBreak",
2195
+ '200': "ListAggregationReconciliation",
3764
2196
  '400': "LusidValidationProblemDetails",
3765
2197
  }
3766
2198
 
3767
2199
  return self.api_client.call_api(
3768
- '/api/portfolios/$scheduledReconciliations/{scope}/{code}/runs/{runDate}/{version}', 'POST',
2200
+ '/api/portfolios/$reconcileValuation', 'POST',
3769
2201
  _path_params,
3770
2202
  _query_params,
3771
2203
  _header_params,
@@ -3778,62 +2210,70 @@ class ReconciliationsApi:
3778
2210
  _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
3779
2211
  _preload_content=_params.get('_preload_content', True),
3780
2212
  _request_timeout=_params.get('_request_timeout'),
2213
+ opts=_params.get('opts'),
3781
2214
  collection_formats=_collection_formats,
3782
2215
  _request_auth=_params.get('_request_auth'))
3783
2216
 
3784
2217
  @overload
3785
- async def upsert_reconciliation_mapping(self, mapping : Annotated[Optional[Mapping], Field(description="The mapping to be created / updated.")] = None, **kwargs) -> Mapping: # noqa: E501
2218
+ async def update_reconciliation(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the reconciliation to be updated")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the reconciliation to be updated")], update_reconciliation_request : Annotated[Optional[UpdateReconciliationRequest], Field(description="The updated definition of the reconciliation")] = None, **kwargs) -> Reconciliation: # noqa: E501
3786
2219
  ...
3787
2220
 
3788
2221
  @overload
3789
- def upsert_reconciliation_mapping(self, mapping : Annotated[Optional[Mapping], Field(description="The mapping to be created / updated.")] = None, async_req: Optional[bool]=True, **kwargs) -> Mapping: # noqa: E501
2222
+ def update_reconciliation(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the reconciliation to be updated")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the reconciliation to be updated")], update_reconciliation_request : Annotated[Optional[UpdateReconciliationRequest], Field(description="The updated definition of the reconciliation")] = None, async_req: Optional[bool]=True, **kwargs) -> Reconciliation: # noqa: E501
3790
2223
  ...
3791
2224
 
3792
2225
  @validate_arguments
3793
- def upsert_reconciliation_mapping(self, mapping : Annotated[Optional[Mapping], Field(description="The mapping to be created / updated.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[Mapping, Awaitable[Mapping]]: # noqa: E501
3794
- """[EARLY ACCESS] UpsertReconciliationMapping: Create or update a mapping # noqa: E501
2226
+ def update_reconciliation(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the reconciliation to be updated")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the reconciliation to be updated")], update_reconciliation_request : Annotated[Optional[UpdateReconciliationRequest], Field(description="The updated definition of the reconciliation")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[Reconciliation, Awaitable[Reconciliation]]: # noqa: E501
2227
+ """[EXPERIMENTAL] UpdateReconciliation: Update scheduled reconciliation # noqa: E501
3795
2228
 
3796
- If no mapping exists with the specified scope and code will create a new one. Else will update the existing mapping # noqa: E501
2229
+ Update a given scheduled reconciliation # noqa: E501
3797
2230
  This method makes a synchronous HTTP request by default. To make an
3798
2231
  asynchronous HTTP request, please pass async_req=True
3799
2232
 
3800
- >>> thread = api.upsert_reconciliation_mapping(mapping, async_req=True)
2233
+ >>> thread = api.update_reconciliation(scope, code, update_reconciliation_request, async_req=True)
3801
2234
  >>> result = thread.get()
3802
2235
 
3803
- :param mapping: The mapping to be created / updated.
3804
- :type mapping: Mapping
2236
+ :param scope: The scope of the reconciliation to be updated (required)
2237
+ :type scope: str
2238
+ :param code: The code of the reconciliation to be updated (required)
2239
+ :type code: str
2240
+ :param update_reconciliation_request: The updated definition of the reconciliation
2241
+ :type update_reconciliation_request: UpdateReconciliationRequest
3805
2242
  :param async_req: Whether to execute the request asynchronously.
3806
2243
  :type async_req: bool, optional
3807
- :param _request_timeout: timeout setting for this request.
3808
- If one number provided, it will be total request
3809
- timeout. It can also be a pair (tuple) of
3810
- (connection, read) timeouts.
2244
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
2245
+ :param opts: Configuration options for this request
2246
+ :type opts: ConfigurationOptions, optional
3811
2247
  :return: Returns the result object.
3812
2248
  If the method is called asynchronously,
3813
2249
  returns the request thread.
3814
- :rtype: Mapping
2250
+ :rtype: Reconciliation
3815
2251
  """
3816
2252
  kwargs['_return_http_data_only'] = True
3817
2253
  if '_preload_content' in kwargs:
3818
- message = "Error! Please call the upsert_reconciliation_mapping_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501
2254
+ message = "Error! Please call the update_reconciliation_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501
3819
2255
  raise ValueError(message)
3820
2256
  if async_req is not None:
3821
2257
  kwargs['async_req'] = async_req
3822
- return self.upsert_reconciliation_mapping_with_http_info(mapping, **kwargs) # noqa: E501
2258
+ return self.update_reconciliation_with_http_info(scope, code, update_reconciliation_request, **kwargs) # noqa: E501
3823
2259
 
3824
2260
  @validate_arguments
3825
- def upsert_reconciliation_mapping_with_http_info(self, mapping : Annotated[Optional[Mapping], Field(description="The mapping to be created / updated.")] = None, **kwargs) -> ApiResponse: # noqa: E501
3826
- """[EARLY ACCESS] UpsertReconciliationMapping: Create or update a mapping # noqa: E501
2261
+ def update_reconciliation_with_http_info(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the reconciliation to be updated")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the reconciliation to be updated")], update_reconciliation_request : Annotated[Optional[UpdateReconciliationRequest], Field(description="The updated definition of the reconciliation")] = None, **kwargs) -> ApiResponse: # noqa: E501
2262
+ """[EXPERIMENTAL] UpdateReconciliation: Update scheduled reconciliation # noqa: E501
3827
2263
 
3828
- If no mapping exists with the specified scope and code will create a new one. Else will update the existing mapping # noqa: E501
2264
+ Update a given scheduled reconciliation # noqa: E501
3829
2265
  This method makes a synchronous HTTP request by default. To make an
3830
2266
  asynchronous HTTP request, please pass async_req=True
3831
2267
 
3832
- >>> thread = api.upsert_reconciliation_mapping_with_http_info(mapping, async_req=True)
2268
+ >>> thread = api.update_reconciliation_with_http_info(scope, code, update_reconciliation_request, async_req=True)
3833
2269
  >>> result = thread.get()
3834
2270
 
3835
- :param mapping: The mapping to be created / updated.
3836
- :type mapping: Mapping
2271
+ :param scope: The scope of the reconciliation to be updated (required)
2272
+ :type scope: str
2273
+ :param code: The code of the reconciliation to be updated (required)
2274
+ :type code: str
2275
+ :param update_reconciliation_request: The updated definition of the reconciliation
2276
+ :type update_reconciliation_request: UpdateReconciliationRequest
3837
2277
  :param async_req: Whether to execute the request asynchronously.
3838
2278
  :type async_req: bool, optional
3839
2279
  :param _preload_content: if False, the ApiResponse.data will
@@ -3844,10 +2284,9 @@ class ReconciliationsApi:
3844
2284
  :param _return_http_data_only: response data instead of ApiResponse
3845
2285
  object with status code, headers, etc
3846
2286
  :type _return_http_data_only: bool, optional
3847
- :param _request_timeout: timeout setting for this request. If one
3848
- number provided, it will be total request
3849
- timeout. It can also be a pair (tuple) of
3850
- (connection, read) timeouts.
2287
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
2288
+ :param opts: Configuration options for this request
2289
+ :type opts: ConfigurationOptions, optional
3851
2290
  :param _request_auth: set to override the auth_settings for an a single
3852
2291
  request; this effectively ignores the authentication
3853
2292
  in the spec for a single request.
@@ -3856,13 +2295,15 @@ class ReconciliationsApi:
3856
2295
  :return: Returns the result object.
3857
2296
  If the method is called asynchronously,
3858
2297
  returns the request thread.
3859
- :rtype: tuple(Mapping, status_code(int), headers(HTTPHeaderDict))
2298
+ :rtype: tuple(Reconciliation, status_code(int), headers(HTTPHeaderDict))
3860
2299
  """
3861
2300
 
3862
2301
  _params = locals()
3863
2302
 
3864
2303
  _all_params = [
3865
- 'mapping'
2304
+ 'scope',
2305
+ 'code',
2306
+ 'update_reconciliation_request'
3866
2307
  ]
3867
2308
  _all_params.extend(
3868
2309
  [
@@ -3872,7 +2313,8 @@ class ReconciliationsApi:
3872
2313
  '_request_timeout',
3873
2314
  '_request_auth',
3874
2315
  '_content_type',
3875
- '_headers'
2316
+ '_headers',
2317
+ 'opts'
3876
2318
  ]
3877
2319
  )
3878
2320
 
@@ -3881,7 +2323,7 @@ class ReconciliationsApi:
3881
2323
  if _key not in _all_params:
3882
2324
  raise ApiTypeError(
3883
2325
  "Got an unexpected keyword argument '%s'"
3884
- " to method upsert_reconciliation_mapping" % _key
2326
+ " to method update_reconciliation" % _key
3885
2327
  )
3886
2328
  _params[_key] = _val
3887
2329
  del _params['kwargs']
@@ -3890,6 +2332,12 @@ class ReconciliationsApi:
3890
2332
 
3891
2333
  # process the path parameters
3892
2334
  _path_params = {}
2335
+ if _params['scope']:
2336
+ _path_params['scope'] = _params['scope']
2337
+
2338
+ if _params['code']:
2339
+ _path_params['code'] = _params['code']
2340
+
3893
2341
 
3894
2342
  # process the query parameters
3895
2343
  _query_params = []
@@ -3900,8 +2348,8 @@ class ReconciliationsApi:
3900
2348
  _files = {}
3901
2349
  # process the body parameter
3902
2350
  _body_params = None
3903
- if _params['mapping'] is not None:
3904
- _body_params = _params['mapping']
2351
+ if _params['update_reconciliation_request'] is not None:
2352
+ _body_params = _params['update_reconciliation_request']
3905
2353
 
3906
2354
  # set the HTTP header `Accept`
3907
2355
  _header_params['Accept'] = self.api_client.select_header_accept(
@@ -3918,12 +2366,12 @@ class ReconciliationsApi:
3918
2366
  _auth_settings = ['oauth2'] # noqa: E501
3919
2367
 
3920
2368
  _response_types_map = {
3921
- '200': "Mapping",
2369
+ '200': "Reconciliation",
3922
2370
  '400': "LusidValidationProblemDetails",
3923
2371
  }
3924
2372
 
3925
2373
  return self.api_client.call_api(
3926
- '/api/portfolios/mapping', 'POST',
2374
+ '/api/portfolios/$scheduledReconciliations/{scope}/{code}', 'POST',
3927
2375
  _path_params,
3928
2376
  _query_params,
3929
2377
  _header_params,
@@ -3936,70 +2384,62 @@ class ReconciliationsApi:
3936
2384
  _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
3937
2385
  _preload_content=_params.get('_preload_content', True),
3938
2386
  _request_timeout=_params.get('_request_timeout'),
2387
+ opts=_params.get('opts'),
3939
2388
  collection_formats=_collection_formats,
3940
2389
  _request_auth=_params.get('_request_auth'))
3941
2390
 
3942
2391
  @overload
3943
- async def upsert_reconciliation_run(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the reconciliation associated with the run")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the reconciliation associated with the run")], upsert_reconciliation_run_request : Annotated[Optional[UpsertReconciliationRunRequest], Field(description="The definition of the reconciliation run")] = None, **kwargs) -> ReconciliationRun: # noqa: E501
2392
+ async def upsert_reconciliation_mapping(self, mapping : Annotated[Optional[Mapping], Field(description="The mapping to be created / updated.")] = None, **kwargs) -> Mapping: # noqa: E501
3944
2393
  ...
3945
2394
 
3946
2395
  @overload
3947
- def upsert_reconciliation_run(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the reconciliation associated with the run")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the reconciliation associated with the run")], upsert_reconciliation_run_request : Annotated[Optional[UpsertReconciliationRunRequest], Field(description="The definition of the reconciliation run")] = None, async_req: Optional[bool]=True, **kwargs) -> ReconciliationRun: # noqa: E501
2396
+ def upsert_reconciliation_mapping(self, mapping : Annotated[Optional[Mapping], Field(description="The mapping to be created / updated.")] = None, async_req: Optional[bool]=True, **kwargs) -> Mapping: # noqa: E501
3948
2397
  ...
3949
2398
 
3950
2399
  @validate_arguments
3951
- def upsert_reconciliation_run(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the reconciliation associated with the run")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the reconciliation associated with the run")], upsert_reconciliation_run_request : Annotated[Optional[UpsertReconciliationRunRequest], Field(description="The definition of the reconciliation run")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[ReconciliationRun, Awaitable[ReconciliationRun]]: # noqa: E501
3952
- """[EXPERIMENTAL] UpsertReconciliationRun: Update or Create a reconciliation run # noqa: E501
2400
+ def upsert_reconciliation_mapping(self, mapping : Annotated[Optional[Mapping], Field(description="The mapping to be created / updated.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[Mapping, Awaitable[Mapping]]: # noqa: E501
2401
+ """[EARLY ACCESS] UpsertReconciliationMapping: Create or update a mapping # noqa: E501
3953
2402
 
3954
- Existing reconciliations will be updated, non-existing ones will be created # noqa: E501
2403
+ If no mapping exists with the specified scope and code will create a new one. Else will update the existing mapping # noqa: E501
3955
2404
  This method makes a synchronous HTTP request by default. To make an
3956
2405
  asynchronous HTTP request, please pass async_req=True
3957
2406
 
3958
- >>> thread = api.upsert_reconciliation_run(scope, code, upsert_reconciliation_run_request, async_req=True)
2407
+ >>> thread = api.upsert_reconciliation_mapping(mapping, async_req=True)
3959
2408
  >>> result = thread.get()
3960
2409
 
3961
- :param scope: The scope of the reconciliation associated with the run (required)
3962
- :type scope: str
3963
- :param code: The code of the reconciliation associated with the run (required)
3964
- :type code: str
3965
- :param upsert_reconciliation_run_request: The definition of the reconciliation run
3966
- :type upsert_reconciliation_run_request: UpsertReconciliationRunRequest
2410
+ :param mapping: The mapping to be created / updated.
2411
+ :type mapping: Mapping
3967
2412
  :param async_req: Whether to execute the request asynchronously.
3968
2413
  :type async_req: bool, optional
3969
- :param _request_timeout: timeout setting for this request.
3970
- If one number provided, it will be total request
3971
- timeout. It can also be a pair (tuple) of
3972
- (connection, read) timeouts.
2414
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
2415
+ :param opts: Configuration options for this request
2416
+ :type opts: ConfigurationOptions, optional
3973
2417
  :return: Returns the result object.
3974
2418
  If the method is called asynchronously,
3975
2419
  returns the request thread.
3976
- :rtype: ReconciliationRun
2420
+ :rtype: Mapping
3977
2421
  """
3978
2422
  kwargs['_return_http_data_only'] = True
3979
2423
  if '_preload_content' in kwargs:
3980
- message = "Error! Please call the upsert_reconciliation_run_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501
2424
+ message = "Error! Please call the upsert_reconciliation_mapping_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501
3981
2425
  raise ValueError(message)
3982
2426
  if async_req is not None:
3983
2427
  kwargs['async_req'] = async_req
3984
- return self.upsert_reconciliation_run_with_http_info(scope, code, upsert_reconciliation_run_request, **kwargs) # noqa: E501
2428
+ return self.upsert_reconciliation_mapping_with_http_info(mapping, **kwargs) # noqa: E501
3985
2429
 
3986
2430
  @validate_arguments
3987
- def upsert_reconciliation_run_with_http_info(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the reconciliation associated with the run")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the reconciliation associated with the run")], upsert_reconciliation_run_request : Annotated[Optional[UpsertReconciliationRunRequest], Field(description="The definition of the reconciliation run")] = None, **kwargs) -> ApiResponse: # noqa: E501
3988
- """[EXPERIMENTAL] UpsertReconciliationRun: Update or Create a reconciliation run # noqa: E501
2431
+ def upsert_reconciliation_mapping_with_http_info(self, mapping : Annotated[Optional[Mapping], Field(description="The mapping to be created / updated.")] = None, **kwargs) -> ApiResponse: # noqa: E501
2432
+ """[EARLY ACCESS] UpsertReconciliationMapping: Create or update a mapping # noqa: E501
3989
2433
 
3990
- Existing reconciliations will be updated, non-existing ones will be created # noqa: E501
2434
+ If no mapping exists with the specified scope and code will create a new one. Else will update the existing mapping # noqa: E501
3991
2435
  This method makes a synchronous HTTP request by default. To make an
3992
2436
  asynchronous HTTP request, please pass async_req=True
3993
2437
 
3994
- >>> thread = api.upsert_reconciliation_run_with_http_info(scope, code, upsert_reconciliation_run_request, async_req=True)
2438
+ >>> thread = api.upsert_reconciliation_mapping_with_http_info(mapping, async_req=True)
3995
2439
  >>> result = thread.get()
3996
2440
 
3997
- :param scope: The scope of the reconciliation associated with the run (required)
3998
- :type scope: str
3999
- :param code: The code of the reconciliation associated with the run (required)
4000
- :type code: str
4001
- :param upsert_reconciliation_run_request: The definition of the reconciliation run
4002
- :type upsert_reconciliation_run_request: UpsertReconciliationRunRequest
2441
+ :param mapping: The mapping to be created / updated.
2442
+ :type mapping: Mapping
4003
2443
  :param async_req: Whether to execute the request asynchronously.
4004
2444
  :type async_req: bool, optional
4005
2445
  :param _preload_content: if False, the ApiResponse.data will
@@ -4010,10 +2450,9 @@ class ReconciliationsApi:
4010
2450
  :param _return_http_data_only: response data instead of ApiResponse
4011
2451
  object with status code, headers, etc
4012
2452
  :type _return_http_data_only: bool, optional
4013
- :param _request_timeout: timeout setting for this request. If one
4014
- number provided, it will be total request
4015
- timeout. It can also be a pair (tuple) of
4016
- (connection, read) timeouts.
2453
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
2454
+ :param opts: Configuration options for this request
2455
+ :type opts: ConfigurationOptions, optional
4017
2456
  :param _request_auth: set to override the auth_settings for an a single
4018
2457
  request; this effectively ignores the authentication
4019
2458
  in the spec for a single request.
@@ -4022,15 +2461,13 @@ class ReconciliationsApi:
4022
2461
  :return: Returns the result object.
4023
2462
  If the method is called asynchronously,
4024
2463
  returns the request thread.
4025
- :rtype: tuple(ReconciliationRun, status_code(int), headers(HTTPHeaderDict))
2464
+ :rtype: tuple(Mapping, status_code(int), headers(HTTPHeaderDict))
4026
2465
  """
4027
2466
 
4028
2467
  _params = locals()
4029
2468
 
4030
2469
  _all_params = [
4031
- 'scope',
4032
- 'code',
4033
- 'upsert_reconciliation_run_request'
2470
+ 'mapping'
4034
2471
  ]
4035
2472
  _all_params.extend(
4036
2473
  [
@@ -4040,7 +2477,8 @@ class ReconciliationsApi:
4040
2477
  '_request_timeout',
4041
2478
  '_request_auth',
4042
2479
  '_content_type',
4043
- '_headers'
2480
+ '_headers',
2481
+ 'opts'
4044
2482
  ]
4045
2483
  )
4046
2484
 
@@ -4049,7 +2487,7 @@ class ReconciliationsApi:
4049
2487
  if _key not in _all_params:
4050
2488
  raise ApiTypeError(
4051
2489
  "Got an unexpected keyword argument '%s'"
4052
- " to method upsert_reconciliation_run" % _key
2490
+ " to method upsert_reconciliation_mapping" % _key
4053
2491
  )
4054
2492
  _params[_key] = _val
4055
2493
  del _params['kwargs']
@@ -4058,12 +2496,6 @@ class ReconciliationsApi:
4058
2496
 
4059
2497
  # process the path parameters
4060
2498
  _path_params = {}
4061
- if _params['scope']:
4062
- _path_params['scope'] = _params['scope']
4063
-
4064
- if _params['code']:
4065
- _path_params['code'] = _params['code']
4066
-
4067
2499
 
4068
2500
  # process the query parameters
4069
2501
  _query_params = []
@@ -4074,8 +2506,8 @@ class ReconciliationsApi:
4074
2506
  _files = {}
4075
2507
  # process the body parameter
4076
2508
  _body_params = None
4077
- if _params['upsert_reconciliation_run_request'] is not None:
4078
- _body_params = _params['upsert_reconciliation_run_request']
2509
+ if _params['mapping'] is not None:
2510
+ _body_params = _params['mapping']
4079
2511
 
4080
2512
  # set the HTTP header `Accept`
4081
2513
  _header_params['Accept'] = self.api_client.select_header_accept(
@@ -4092,12 +2524,12 @@ class ReconciliationsApi:
4092
2524
  _auth_settings = ['oauth2'] # noqa: E501
4093
2525
 
4094
2526
  _response_types_map = {
4095
- '201': "ReconciliationRun",
2527
+ '200': "Mapping",
4096
2528
  '400': "LusidValidationProblemDetails",
4097
2529
  }
4098
2530
 
4099
2531
  return self.api_client.call_api(
4100
- '/api/portfolios/$scheduledReconciliations/{scope}/{code}/runs', 'POST',
2532
+ '/api/portfolios/mapping', 'POST',
4101
2533
  _path_params,
4102
2534
  _query_params,
4103
2535
  _header_params,
@@ -4110,5 +2542,6 @@ class ReconciliationsApi:
4110
2542
  _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
4111
2543
  _preload_content=_params.get('_preload_content', True),
4112
2544
  _request_timeout=_params.get('_request_timeout'),
2545
+ opts=_params.get('opts'),
4113
2546
  collection_formats=_collection_formats,
4114
2547
  _request_auth=_params.get('_request_auth'))