lusid-sdk 1.1.141__py3-none-any.whl → 1.1.171__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


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

Files changed (891) hide show
  1. lusid/__init__.py +41 -2
  2. lusid/__version__.py +1 -1
  3. lusid/api/__init__.py +1 -0
  4. lusid/api/address_key_definition_api.py +4 -4
  5. lusid/api/aggregation_api.py +6 -6
  6. lusid/api/allocations_api.py +7 -7
  7. lusid/api/application_metadata_api.py +4 -4
  8. lusid/api/blocks_api.py +5 -5
  9. lusid/api/calendars_api.py +19 -19
  10. lusid/api/complex_market_data_api.py +6 -6
  11. lusid/api/compliance_api.py +537 -12
  12. lusid/api/configuration_recipe_api.py +5 -5
  13. lusid/api/corporate_action_sources_api.py +9 -9
  14. lusid/api/counterparties_api.py +9 -9
  15. lusid/api/custom_entities_api.py +18 -18
  16. lusid/api/custom_entity_definitions_api.py +5 -5
  17. lusid/api/custom_entity_types_api.py +5 -5
  18. lusid/api/cut_label_definitions_api.py +6 -6
  19. lusid/api/data_types_api.py +8 -8
  20. lusid/api/derived_transaction_portfolios_api.py +3 -3
  21. lusid/api/entities_api.py +4 -4
  22. lusid/api/executions_api.py +9 -9
  23. lusid/api/instrument_events_api.py +185 -0
  24. lusid/api/instruments_api.py +21 -21
  25. lusid/api/legal_entities_api.py +270 -36
  26. lusid/api/order_graph_api.py +4 -4
  27. lusid/api/order_management_api.py +4 -4
  28. lusid/api/orders_api.py +9 -9
  29. lusid/api/participations_api.py +5 -5
  30. lusid/api/persons_api.py +18 -18
  31. lusid/api/placements_api.py +5 -5
  32. lusid/api/portfolio_groups_api.py +38 -31
  33. lusid/api/portfolios_api.py +286 -45
  34. lusid/api/property_definitions_api.py +14 -14
  35. lusid/api/queryable_keys_api.py +2 -2
  36. lusid/api/quotes_api.py +8 -8
  37. lusid/api/reconciliations_api.py +10 -10
  38. lusid/api/reference_lists_api.py +5 -5
  39. lusid/api/reference_portfolio_api.py +5 -5
  40. lusid/api/relationship_definitions_api.py +6 -6
  41. lusid/api/relationships_api.py +5 -5
  42. lusid/api/schemas_api.py +5 -5
  43. lusid/api/scopes_api.py +3 -3
  44. lusid/api/scripted_translation_api.py +9 -9
  45. lusid/api/search_api.py +5 -5
  46. lusid/api/sequences_api.py +5 -5
  47. lusid/api/structured_result_data_api.py +520 -3
  48. lusid/api/system_configuration_api.py +3 -3
  49. lusid/api/transaction_configuration_api.py +12 -12
  50. lusid/api/transaction_portfolios_api.py +510 -31
  51. lusid/api_client.py +2 -2
  52. lusid/configuration.py +3 -3
  53. lusid/exceptions.py +1 -1
  54. lusid/models/__init__.py +39 -1
  55. lusid/models/a2_b_breakdown.py +1 -1
  56. lusid/models/a2_b_category.py +1 -1
  57. lusid/models/a2_b_data_record.py +1 -1
  58. lusid/models/a2_b_movement_record.py +1 -1
  59. lusid/models/access_controlled_action.py +1 -1
  60. lusid/models/access_controlled_resource.py +1 -1
  61. lusid/models/access_metadata_operation.py +5 -5
  62. lusid/models/access_metadata_value.py +1 -1
  63. lusid/models/accumulation_event.py +5 -5
  64. lusid/models/accumulation_event_all_of.py +5 -5
  65. lusid/models/action_id.py +1 -1
  66. lusid/models/add_business_days_to_date_request.py +1 -1
  67. lusid/models/add_business_days_to_date_response.py +1 -1
  68. lusid/models/additional_payment.py +1 -1
  69. lusid/models/address_definition.py +1 -1
  70. lusid/models/address_key_compliance_parameter.py +1 -1
  71. lusid/models/address_key_compliance_parameter_all_of.py +1 -1
  72. lusid/models/address_key_definition.py +1 -1
  73. lusid/models/address_key_filter.py +1 -1
  74. lusid/models/address_key_list.py +1 -1
  75. lusid/models/address_key_list_all_of.py +1 -1
  76. lusid/models/address_key_list_compliance_parameter.py +1 -1
  77. lusid/models/address_key_list_compliance_parameter_all_of.py +1 -1
  78. lusid/models/address_key_option_definition.py +1 -1
  79. lusid/models/adjust_holding.py +1 -1
  80. lusid/models/adjust_holding_for_date_request.py +1 -1
  81. lusid/models/adjust_holding_request.py +1 -1
  82. lusid/models/aggregate_spec.py +1 -1
  83. lusid/models/aggregated_return.py +1 -1
  84. lusid/models/aggregated_returns_dispersion_request.py +1 -1
  85. lusid/models/aggregated_returns_request.py +1 -1
  86. lusid/models/aggregated_returns_response.py +1 -1
  87. lusid/models/aggregation_context.py +1 -1
  88. lusid/models/aggregation_measure_failure_detail.py +1 -1
  89. lusid/models/aggregation_options.py +1 -1
  90. lusid/models/aggregation_query.py +1 -1
  91. lusid/models/allocation.py +1 -1
  92. lusid/models/allocation_request.py +1 -1
  93. lusid/models/allocation_set_request.py +1 -1
  94. lusid/models/amortisation_event.py +5 -5
  95. lusid/models/amortisation_event_all_of.py +5 -5
  96. lusid/models/annul_quotes_response.py +1 -1
  97. lusid/models/annul_single_structured_data_response.py +1 -1
  98. lusid/models/annul_structured_data_response.py +1 -1
  99. lusid/models/asset_leg.py +1 -1
  100. lusid/models/barrier.py +1 -1
  101. lusid/models/basket.py +1 -1
  102. lusid/models/basket_all_of.py +1 -1
  103. lusid/models/basket_identifier.py +1 -1
  104. lusid/models/batch_adjust_holdings_response.py +1 -1
  105. lusid/models/batch_upsert_instrument_properties_response.py +1 -1
  106. lusid/models/batch_upsert_portfolio_transactions_response.py +1 -1
  107. lusid/models/batch_upsert_property_definition_properties_response.py +1 -1
  108. lusid/models/block.py +1 -1
  109. lusid/models/block_and_order_id_request.py +1 -1
  110. lusid/models/block_and_orders.py +1 -1
  111. lusid/models/block_and_orders_create_request.py +1 -1
  112. lusid/models/block_and_orders_request.py +1 -1
  113. lusid/models/block_request.py +1 -1
  114. lusid/models/block_set_request.py +1 -1
  115. lusid/models/blocked_order_request.py +1 -1
  116. lusid/models/bond.py +1 -1
  117. lusid/models/bond_all_of.py +1 -1
  118. lusid/models/bond_coupon_event.py +5 -5
  119. lusid/models/bond_coupon_event_all_of.py +5 -5
  120. lusid/models/bond_default_event.py +5 -5
  121. lusid/models/bond_default_event_all_of.py +5 -5
  122. lusid/models/bond_principal_event.py +5 -5
  123. lusid/models/bond_principal_event_all_of.py +5 -5
  124. lusid/models/bool_compliance_parameter.py +1 -1
  125. lusid/models/bool_compliance_parameter_all_of.py +1 -1
  126. lusid/models/bool_list_compliance_parameter.py +1 -1
  127. lusid/models/branch_step.py +1 -1
  128. lusid/models/branch_step_all_of.py +1 -1
  129. lusid/models/branch_step_request.py +190 -0
  130. lusid/models/branch_step_request_all_of.py +190 -0
  131. lusid/models/bucketed_cash_flow_response.py +291 -0
  132. lusid/models/bucketing_schedule.py +144 -0
  133. lusid/models/calendar.py +1 -1
  134. lusid/models/calendar_date.py +1 -1
  135. lusid/models/calendar_dependency.py +1 -1
  136. lusid/models/calendar_dependency_all_of.py +1 -1
  137. lusid/models/cap_floor.py +1 -1
  138. lusid/models/cap_floor_all_of.py +1 -1
  139. lusid/models/capital_distribution_event.py +308 -0
  140. lusid/models/capital_distribution_event_all_of.py +308 -0
  141. lusid/models/cash_and_security_offer_election.py +335 -0
  142. lusid/models/cash_dependency.py +1 -1
  143. lusid/models/cash_dependency_all_of.py +1 -1
  144. lusid/models/cash_dividend_event.py +5 -5
  145. lusid/models/cash_dividend_event_all_of.py +5 -5
  146. lusid/models/cash_election.py +1 -1
  147. lusid/models/cash_flow_event.py +5 -5
  148. lusid/models/cash_flow_event_all_of.py +5 -5
  149. lusid/models/cash_flow_lineage.py +1 -1
  150. lusid/models/cash_flow_value.py +1 -1
  151. lusid/models/cash_flow_value_all_of.py +1 -1
  152. lusid/models/cash_flow_value_set.py +1 -1
  153. lusid/models/cash_flow_value_set_all_of.py +1 -1
  154. lusid/models/cash_ladder_record.py +1 -1
  155. lusid/models/cash_offer_election.py +275 -0
  156. lusid/models/cash_perpetual.py +1 -1
  157. lusid/models/cash_perpetual_all_of.py +1 -1
  158. lusid/models/cds_flow_conventions.py +1 -1
  159. lusid/models/cds_index.py +1 -1
  160. lusid/models/cds_index_all_of.py +1 -1
  161. lusid/models/cds_protection_detail_specification.py +1 -1
  162. lusid/models/change.py +1 -1
  163. lusid/models/change_history.py +1 -1
  164. lusid/models/change_item.py +1 -1
  165. lusid/models/check_step.py +1 -1
  166. lusid/models/check_step_all_of.py +1 -1
  167. lusid/models/check_step_request.py +190 -0
  168. lusid/models/close_event.py +5 -5
  169. lusid/models/close_event_all_of.py +5 -5
  170. lusid/models/complete_portfolio.py +1 -1
  171. lusid/models/complete_relationship.py +1 -1
  172. lusid/models/complex_bond.py +1 -1
  173. lusid/models/complex_bond_all_of.py +1 -1
  174. lusid/models/complex_market_data.py +1 -1
  175. lusid/models/complex_market_data_id.py +1 -1
  176. lusid/models/compliance_parameter.py +1 -1
  177. lusid/models/compliance_rule_breakdown.py +1 -1
  178. lusid/models/compliance_rule_breakdown_request.py +1 -1
  179. lusid/models/compliance_rule_response.py +1 -1
  180. lusid/models/compliance_rule_result_detail.py +1 -1
  181. lusid/models/compliance_rule_result_portfolio_detail.py +1 -1
  182. lusid/models/compliance_rule_result_v2.py +1 -1
  183. lusid/models/compliance_rule_template.py +331 -0
  184. lusid/models/compliance_run_info_v2.py +1 -1
  185. lusid/models/compliance_step.py +1 -1
  186. lusid/models/compliance_step_request.py +166 -0
  187. lusid/models/compliance_summary_rule_result.py +1 -1
  188. lusid/models/compliance_summary_rule_result_request.py +1 -1
  189. lusid/models/compliance_template.py +1 -1
  190. lusid/models/compliance_template_parameter.py +1 -1
  191. lusid/models/compliance_template_variation.py +1 -1
  192. lusid/models/compliance_template_variation_dto.py +290 -0
  193. lusid/models/compliance_template_variation_request.py +290 -0
  194. lusid/models/composite_breakdown.py +1 -1
  195. lusid/models/composite_breakdown_request.py +1 -1
  196. lusid/models/composite_breakdown_response.py +1 -1
  197. lusid/models/composite_dispersion.py +1 -1
  198. lusid/models/composite_dispersion_response.py +1 -1
  199. lusid/models/compounding.py +1 -1
  200. lusid/models/configuration_recipe.py +1 -1
  201. lusid/models/constant_volatility_surface.py +1 -1
  202. lusid/models/constant_volatility_surface_all_of.py +1 -1
  203. lusid/models/constituents_adjustment_header.py +1 -1
  204. lusid/models/contract_for_difference.py +1 -1
  205. lusid/models/contract_for_difference_all_of.py +1 -1
  206. lusid/models/corporate_action.py +1 -1
  207. lusid/models/corporate_action_source.py +1 -1
  208. lusid/models/corporate_action_transition.py +1 -1
  209. lusid/models/corporate_action_transition_component.py +1 -1
  210. lusid/models/corporate_action_transition_component_request.py +1 -1
  211. lusid/models/corporate_action_transition_request.py +1 -1
  212. lusid/models/counterparty_agreement.py +1 -1
  213. lusid/models/counterparty_risk_information.py +1 -1
  214. lusid/models/counterparty_signatory.py +1 -1
  215. lusid/models/create_address_key_definition_request.py +1 -1
  216. lusid/models/create_calendar_request.py +1 -1
  217. lusid/models/create_compliance_template_request.py +228 -0
  218. lusid/models/create_corporate_action_source_request.py +1 -1
  219. lusid/models/create_custom_entity_type_request.py +1 -1
  220. lusid/models/create_cut_label_definition_request.py +1 -1
  221. lusid/models/create_data_map_request.py +173 -0
  222. lusid/models/create_data_type_request.py +1 -1
  223. lusid/models/create_date_request.py +1 -1
  224. lusid/models/create_derived_property_definition_request.py +5 -5
  225. lusid/models/create_derived_transaction_portfolio_request.py +1 -1
  226. lusid/models/create_portfolio_details.py +1 -1
  227. lusid/models/create_portfolio_group_request.py +1 -1
  228. lusid/models/create_property_definition_request.py +5 -5
  229. lusid/models/create_reference_portfolio_request.py +1 -1
  230. lusid/models/create_relationship_definition_request.py +1 -1
  231. lusid/models/create_relationship_request.py +1 -1
  232. lusid/models/create_sequence_request.py +1 -1
  233. lusid/models/create_trade_tickets_response.py +1 -1
  234. lusid/models/create_transaction_portfolio_request.py +1 -1
  235. lusid/models/create_unit_definition.py +1 -1
  236. lusid/models/credit_default_swap.py +1 -1
  237. lusid/models/credit_default_swap_all_of.py +1 -1
  238. lusid/models/credit_rating.py +1 -1
  239. lusid/models/credit_spread_curve_data.py +1 -1
  240. lusid/models/credit_spread_curve_data_all_of.py +1 -1
  241. lusid/models/credit_support_annex.py +1 -1
  242. lusid/models/currency_and_amount.py +1 -1
  243. lusid/models/custodian_account.py +1 -1
  244. lusid/models/custom_entity_definition.py +1 -1
  245. lusid/models/custom_entity_definition_request.py +1 -1
  246. lusid/models/custom_entity_field.py +1 -1
  247. lusid/models/custom_entity_field_definition.py +1 -1
  248. lusid/models/custom_entity_id.py +1 -1
  249. lusid/models/custom_entity_request.py +1 -1
  250. lusid/models/custom_entity_response.py +1 -1
  251. lusid/models/custom_entity_type.py +1 -1
  252. lusid/models/cut_label_definition.py +1 -1
  253. lusid/models/cut_local_time.py +1 -1
  254. lusid/models/data_definition.py +319 -0
  255. lusid/models/data_map_key.py +192 -0
  256. lusid/models/data_mapping.py +144 -0
  257. lusid/models/data_type.py +1 -1
  258. lusid/models/data_type_summary.py +1 -1
  259. lusid/models/date_attributes.py +1 -1
  260. lusid/models/date_range.py +1 -1
  261. lusid/models/date_time_compliance_parameter.py +1 -1
  262. lusid/models/date_time_compliance_parameter_all_of.py +1 -1
  263. lusid/models/date_time_list_compliance_parameter.py +1 -1
  264. lusid/models/day_of_week.py +1 -1
  265. lusid/models/decimal_compliance_parameter.py +1 -1
  266. lusid/models/decimal_compliance_parameter_all_of.py +1 -1
  267. lusid/models/decimal_list.py +1 -1
  268. lusid/models/decimal_list_all_of.py +1 -1
  269. lusid/models/decimal_list_compliance_parameter.py +1 -1
  270. lusid/models/decorated_compliance_run_summary.py +1 -1
  271. lusid/models/delete_instrument_properties_response.py +1 -1
  272. lusid/models/delete_instrument_response.py +1 -1
  273. lusid/models/delete_instruments_response.py +1 -1
  274. lusid/models/delete_relationship_request.py +1 -1
  275. lusid/models/deleted_entity_response.py +62 -2
  276. lusid/models/dependency_source_filter.py +1 -1
  277. lusid/models/dialect.py +1 -1
  278. lusid/models/dialect_id.py +1 -1
  279. lusid/models/dialect_schema.py +1 -1
  280. lusid/models/discount_factor_curve_data.py +1 -1
  281. lusid/models/discount_factor_curve_data_all_of.py +1 -1
  282. lusid/models/discounting_dependency.py +1 -1
  283. lusid/models/discounting_dependency_all_of.py +1 -1
  284. lusid/models/dividend_option_event.py +5 -5
  285. lusid/models/dividend_option_event_all_of.py +5 -5
  286. lusid/models/dividend_reinvestment_event.py +5 -5
  287. lusid/models/dividend_reinvestment_event_all_of.py +5 -5
  288. lusid/models/economic_dependency.py +1 -1
  289. lusid/models/economic_dependency_with_complex_market_data.py +1 -1
  290. lusid/models/economic_dependency_with_quote.py +1 -1
  291. lusid/models/empty_model_options.py +1 -1
  292. lusid/models/empty_model_options_all_of.py +1 -1
  293. lusid/models/entity_identifier.py +1 -1
  294. lusid/models/equity.py +1 -1
  295. lusid/models/equity_all_of.py +1 -1
  296. lusid/models/equity_all_of_identifiers.py +1 -1
  297. lusid/models/equity_curve_by_prices_data.py +1 -1
  298. lusid/models/equity_curve_by_prices_data_all_of.py +1 -1
  299. lusid/models/equity_curve_dependency.py +1 -1
  300. lusid/models/equity_curve_dependency_all_of.py +1 -1
  301. lusid/models/equity_model_options.py +1 -1
  302. lusid/models/equity_model_options_all_of.py +1 -1
  303. lusid/models/equity_option.py +1 -1
  304. lusid/models/equity_option_all_of.py +1 -1
  305. lusid/models/equity_swap.py +1 -1
  306. lusid/models/equity_swap_all_of.py +1 -1
  307. lusid/models/equity_vol_dependency.py +1 -1
  308. lusid/models/equity_vol_dependency_all_of.py +1 -1
  309. lusid/models/equity_vol_surface_data.py +1 -1
  310. lusid/models/equity_vol_surface_data_all_of.py +1 -1
  311. lusid/models/error_detail.py +1 -1
  312. lusid/models/event_date_range.py +1 -1
  313. lusid/models/ex_dividend_configuration.py +1 -1
  314. lusid/models/exchange_traded_option.py +1 -1
  315. lusid/models/exchange_traded_option_all_of.py +1 -1
  316. lusid/models/exchange_traded_option_contract_details.py +1 -1
  317. lusid/models/execution.py +1 -1
  318. lusid/models/execution_request.py +1 -1
  319. lusid/models/execution_set_request.py +1 -1
  320. lusid/models/exercise_event.py +5 -5
  321. lusid/models/exercise_event_all_of.py +5 -5
  322. lusid/models/exotic_instrument.py +1 -1
  323. lusid/models/exotic_instrument_all_of.py +1 -1
  324. lusid/models/expanded_group.py +1 -1
  325. lusid/models/expiry_event.py +5 -5
  326. lusid/models/expiry_event_all_of.py +5 -5
  327. lusid/models/field_definition.py +1 -1
  328. lusid/models/field_schema.py +1 -1
  329. lusid/models/field_value.py +1 -1
  330. lusid/models/file_response.py +1 -1
  331. lusid/models/filter_predicate_compliance_parameter.py +1 -1
  332. lusid/models/filter_predicate_compliance_parameter_all_of.py +1 -1
  333. lusid/models/filter_step.py +1 -1
  334. lusid/models/filter_step_request.py +190 -0
  335. lusid/models/fixed_leg.py +1 -1
  336. lusid/models/fixed_leg_all_of.py +1 -1
  337. lusid/models/fixed_leg_all_of_overrides.py +1 -1
  338. lusid/models/flexible_loan.py +1 -1
  339. lusid/models/flexible_loan_all_of.py +1 -1
  340. lusid/models/floating_leg.py +1 -1
  341. lusid/models/floating_leg_all_of.py +1 -1
  342. lusid/models/flow_convention_name.py +1 -1
  343. lusid/models/flow_conventions.py +4 -4
  344. lusid/models/forward_rate_agreement.py +1 -1
  345. lusid/models/forward_rate_agreement_all_of.py +1 -1
  346. lusid/models/fund_share_class.py +1 -1
  347. lusid/models/fund_share_class_all_of.py +1 -1
  348. lusid/models/funding_leg.py +1 -1
  349. lusid/models/funding_leg_all_of.py +1 -1
  350. lusid/models/future.py +1 -1
  351. lusid/models/future_all_of.py +1 -1
  352. lusid/models/futures_contract_details.py +1 -1
  353. lusid/models/fx_conventions.py +1 -1
  354. lusid/models/fx_dependency.py +1 -1
  355. lusid/models/fx_dependency_all_of.py +1 -1
  356. lusid/models/fx_forward.py +1 -1
  357. lusid/models/fx_forward_all_of.py +1 -1
  358. lusid/models/fx_forward_curve_by_quote_reference.py +1 -1
  359. lusid/models/fx_forward_curve_by_quote_reference_all_of.py +1 -1
  360. lusid/models/fx_forward_curve_data.py +1 -1
  361. lusid/models/fx_forward_curve_data_all_of.py +1 -1
  362. lusid/models/fx_forward_model_options.py +1 -1
  363. lusid/models/fx_forward_model_options_all_of.py +1 -1
  364. lusid/models/fx_forward_pips_curve_data.py +1 -1
  365. lusid/models/fx_forward_pips_curve_data_all_of.py +1 -1
  366. lusid/models/fx_forward_settlement_event.py +5 -5
  367. lusid/models/fx_forward_settlement_event_all_of.py +5 -5
  368. lusid/models/fx_forward_tenor_curve_data.py +1 -1
  369. lusid/models/fx_forward_tenor_curve_data_all_of.py +1 -1
  370. lusid/models/fx_forward_tenor_pips_curve_data.py +1 -1
  371. lusid/models/fx_forward_tenor_pips_curve_data_all_of.py +1 -1
  372. lusid/models/fx_forwards_dependency.py +1 -1
  373. lusid/models/fx_forwards_dependency_all_of.py +1 -1
  374. lusid/models/fx_linked_notional_schedule.py +5 -5
  375. lusid/models/fx_linked_notional_schedule_all_of.py +5 -5
  376. lusid/models/fx_option.py +1 -1
  377. lusid/models/fx_option_all_of.py +1 -1
  378. lusid/models/fx_swap.py +1 -1
  379. lusid/models/fx_swap_all_of.py +1 -1
  380. lusid/models/fx_tenor_convention.py +1 -1
  381. lusid/models/fx_vol_dependency.py +1 -1
  382. lusid/models/fx_vol_dependency_all_of.py +1 -1
  383. lusid/models/fx_vol_surface_data.py +1 -1
  384. lusid/models/get_complex_market_data_response.py +1 -1
  385. lusid/models/get_counterparty_agreement_response.py +1 -1
  386. lusid/models/get_credit_support_annex_response.py +1 -1
  387. lusid/models/get_instruments_response.py +1 -1
  388. lusid/models/get_quotes_response.py +1 -1
  389. lusid/models/get_recipe_response.py +1 -1
  390. lusid/models/get_reference_portfolio_constituents_response.py +1 -1
  391. lusid/models/get_structured_result_data_response.py +234 -0
  392. lusid/models/group_by_selector_compliance_parameter.py +1 -1
  393. lusid/models/group_by_step.py +1 -1
  394. lusid/models/group_by_step_request.py +190 -0
  395. lusid/models/group_filter_predicate_compliance_parameter.py +1 -1
  396. lusid/models/group_filter_step.py +1 -1
  397. lusid/models/group_filter_step_request.py +190 -0
  398. lusid/models/group_of_market_data_key_rules.py +1 -1
  399. lusid/models/holding_adjustment.py +1 -1
  400. lusid/models/holding_adjustment_with_date.py +1 -1
  401. lusid/models/holding_context.py +1 -1
  402. lusid/models/holding_contributor.py +1 -1
  403. lusid/models/holdings_adjustment.py +1 -1
  404. lusid/models/holdings_adjustment_header.py +1 -1
  405. lusid/models/i_unit_definition_dto.py +1 -1
  406. lusid/models/id_selector_definition.py +1 -1
  407. lusid/models/identifier_part_schema.py +1 -1
  408. lusid/models/index_convention.py +1 -1
  409. lusid/models/index_model_options.py +1 -1
  410. lusid/models/index_model_options_all_of.py +1 -1
  411. lusid/models/index_projection_dependency.py +1 -1
  412. lusid/models/index_projection_dependency_all_of.py +1 -1
  413. lusid/models/industry_classifier.py +1 -1
  414. lusid/models/inflation_fixing_dependency.py +1 -1
  415. lusid/models/inflation_fixing_dependency_all_of.py +1 -1
  416. lusid/models/inflation_index_conventions.py +1 -1
  417. lusid/models/inflation_leg.py +1 -1
  418. lusid/models/inflation_leg_all_of.py +1 -1
  419. lusid/models/inflation_linked_bond.py +1 -1
  420. lusid/models/inflation_linked_bond_all_of.py +1 -1
  421. lusid/models/inflation_swap.py +1 -1
  422. lusid/models/inflation_swap_all_of.py +1 -1
  423. lusid/models/informational_error_event.py +5 -5
  424. lusid/models/informational_error_event_all_of.py +5 -5
  425. lusid/models/informational_event.py +5 -5
  426. lusid/models/informational_event_all_of.py +5 -5
  427. lusid/models/inline_valuation_request.py +1 -1
  428. lusid/models/inline_valuations_reconciliation_request.py +1 -1
  429. lusid/models/input_transition.py +1 -1
  430. lusid/models/instrument.py +1 -1
  431. lusid/models/instrument_cash_flow.py +405 -0
  432. lusid/models/instrument_definition.py +1 -1
  433. lusid/models/instrument_definition_format.py +1 -1
  434. lusid/models/instrument_event.py +8 -5
  435. lusid/models/instrument_event_configuration.py +4 -1
  436. lusid/models/instrument_event_holder.py +1 -1
  437. lusid/models/instrument_event_instruction.py +1 -1
  438. lusid/models/instrument_event_instruction_request.py +1 -1
  439. lusid/models/instrument_event_instructions_response.py +1 -1
  440. lusid/models/instrument_id_type_descriptor.py +1 -1
  441. lusid/models/instrument_id_value.py +1 -1
  442. lusid/models/instrument_leg.py +1 -1
  443. lusid/models/instrument_leg_all_of.py +1 -1
  444. lusid/models/instrument_list.py +1 -1
  445. lusid/models/instrument_list_all_of.py +1 -1
  446. lusid/models/instrument_list_compliance_parameter.py +1 -1
  447. lusid/models/instrument_match.py +1 -1
  448. lusid/models/instrument_models.py +1 -1
  449. lusid/models/instrument_properties.py +1 -1
  450. lusid/models/instrument_search_property.py +1 -1
  451. lusid/models/interest_rate_swap.py +1 -1
  452. lusid/models/interest_rate_swap_all_of.py +1 -1
  453. lusid/models/interest_rate_swaption.py +1 -1
  454. lusid/models/interest_rate_swaption_all_of.py +1 -1
  455. lusid/models/ir_vol_cube_data.py +1 -1
  456. lusid/models/ir_vol_cube_data_all_of.py +1 -1
  457. lusid/models/ir_vol_dependency.py +1 -1
  458. lusid/models/ir_vol_dependency_all_of.py +1 -1
  459. lusid/models/is_business_day_response.py +1 -1
  460. lusid/models/label_value_set.py +1 -1
  461. lusid/models/leg_definition.py +1 -1
  462. lusid/models/legal_entity.py +1 -1
  463. lusid/models/level_step.py +1 -1
  464. lusid/models/life_cycle_event_lineage.py +1 -1
  465. lusid/models/life_cycle_event_value.py +1 -1
  466. lusid/models/life_cycle_event_value_all_of.py +1 -1
  467. lusid/models/lineage_member.py +1 -1
  468. lusid/models/link.py +1 -1
  469. lusid/models/list_aggregation_reconciliation.py +1 -1
  470. lusid/models/list_aggregation_response.py +1 -1
  471. lusid/models/loan_period.py +1 -1
  472. lusid/models/lusid_instrument.py +1 -1
  473. lusid/models/lusid_problem_details.py +1 -1
  474. lusid/models/lusid_trade_ticket.py +1 -1
  475. lusid/models/lusid_unique_id.py +1 -1
  476. lusid/models/lusid_validation_problem_details.py +1 -1
  477. lusid/models/mapped_string.py +1 -1
  478. lusid/models/mapping.py +1 -1
  479. lusid/models/mapping_rule.py +1 -1
  480. lusid/models/market_context.py +1 -1
  481. lusid/models/market_context_suppliers.py +1 -1
  482. lusid/models/market_data_key_rule.py +1 -1
  483. lusid/models/market_data_options.py +1 -1
  484. lusid/models/market_data_overrides.py +1 -1
  485. lusid/models/market_data_specific_rule.py +1 -1
  486. lusid/models/market_options.py +1 -1
  487. lusid/models/market_quote.py +1 -1
  488. lusid/models/maturity_event.py +5 -5
  489. lusid/models/maturity_event_all_of.py +5 -5
  490. lusid/models/merger_event.py +456 -0
  491. lusid/models/merger_event_all_of.py +456 -0
  492. lusid/models/metric_value.py +1 -1
  493. lusid/models/model_options.py +1 -1
  494. lusid/models/model_property.py +1 -1
  495. lusid/models/model_selection.py +1 -1
  496. lusid/models/move_orders_to_different_blocks_request.py +1 -1
  497. lusid/models/moved_order_to_different_block_response.py +1 -1
  498. lusid/models/new_instrument.py +206 -0
  499. lusid/models/next_value_in_sequence_response.py +1 -1
  500. lusid/models/opaque_dependency.py +1 -1
  501. lusid/models/opaque_dependency_all_of.py +1 -1
  502. lusid/models/opaque_market_data.py +1 -1
  503. lusid/models/opaque_market_data_all_of.py +1 -1
  504. lusid/models/opaque_model_options.py +1 -1
  505. lusid/models/opaque_model_options_all_of.py +1 -1
  506. lusid/models/open_event.py +5 -5
  507. lusid/models/open_event_all_of.py +5 -5
  508. lusid/models/operation.py +1 -7
  509. lusid/models/order.py +1 -1
  510. lusid/models/order_by_spec.py +1 -1
  511. lusid/models/order_flow_configuration.py +1 -1
  512. lusid/models/order_graph_block.py +1 -1
  513. lusid/models/order_graph_block_allocation_detail.py +1 -1
  514. lusid/models/order_graph_block_allocation_synopsis.py +1 -1
  515. lusid/models/order_graph_block_execution_detail.py +1 -1
  516. lusid/models/order_graph_block_execution_synopsis.py +1 -1
  517. lusid/models/order_graph_block_order_detail.py +1 -1
  518. lusid/models/order_graph_block_order_synopsis.py +1 -1
  519. lusid/models/order_graph_block_placement_detail.py +1 -1
  520. lusid/models/order_graph_block_placement_synopsis.py +1 -1
  521. lusid/models/order_graph_block_transaction_detail.py +1 -1
  522. lusid/models/order_graph_block_transaction_synopsis.py +1 -1
  523. lusid/models/order_graph_placement.py +1 -1
  524. lusid/models/order_graph_placement_allocation_detail.py +1 -1
  525. lusid/models/order_graph_placement_allocation_synopsis.py +1 -1
  526. lusid/models/order_graph_placement_child_placement_detail.py +1 -1
  527. lusid/models/order_graph_placement_execution_detail.py +1 -1
  528. lusid/models/order_graph_placement_execution_synopsis.py +1 -1
  529. lusid/models/order_graph_placement_order_detail.py +1 -1
  530. lusid/models/order_graph_placement_order_synopsis.py +1 -1
  531. lusid/models/order_graph_placement_placement_synopsis.py +1 -1
  532. lusid/models/order_request.py +1 -1
  533. lusid/models/order_set_request.py +1 -1
  534. lusid/models/otc_confirmation.py +1 -1
  535. lusid/models/output_transaction.py +1 -1
  536. lusid/models/output_transition.py +1 -1
  537. lusid/models/paged_resource_list_of_address_key_definition.py +1 -1
  538. lusid/models/paged_resource_list_of_allocation.py +1 -1
  539. lusid/models/paged_resource_list_of_block.py +1 -1
  540. lusid/models/paged_resource_list_of_calendar.py +1 -1
  541. lusid/models/paged_resource_list_of_compliance_rule_response.py +1 -1
  542. lusid/models/paged_resource_list_of_compliance_run_info_v2.py +1 -1
  543. lusid/models/paged_resource_list_of_compliance_template.py +1 -1
  544. lusid/models/paged_resource_list_of_corporate_action_source.py +1 -1
  545. lusid/models/paged_resource_list_of_custom_entity_definition.py +1 -1
  546. lusid/models/paged_resource_list_of_custom_entity_response.py +1 -1
  547. lusid/models/paged_resource_list_of_custom_entity_type.py +1 -1
  548. lusid/models/paged_resource_list_of_cut_label_definition.py +1 -1
  549. lusid/models/paged_resource_list_of_data_type_summary.py +1 -1
  550. lusid/models/paged_resource_list_of_dialect_id.py +1 -1
  551. lusid/models/paged_resource_list_of_execution.py +1 -1
  552. lusid/models/paged_resource_list_of_instrument.py +1 -1
  553. lusid/models/paged_resource_list_of_instrument_event_holder.py +1 -1
  554. lusid/models/paged_resource_list_of_instrument_event_instruction.py +266 -0
  555. lusid/models/paged_resource_list_of_legal_entity.py +1 -1
  556. lusid/models/paged_resource_list_of_order.py +1 -1
  557. lusid/models/paged_resource_list_of_order_graph_block.py +1 -1
  558. lusid/models/paged_resource_list_of_order_graph_placement.py +1 -1
  559. lusid/models/paged_resource_list_of_participation.py +1 -1
  560. lusid/models/paged_resource_list_of_person.py +1 -1
  561. lusid/models/paged_resource_list_of_placement.py +1 -1
  562. lusid/models/paged_resource_list_of_portfolio_group.py +1 -1
  563. lusid/models/paged_resource_list_of_portfolio_group_search_result.py +1 -1
  564. lusid/models/paged_resource_list_of_portfolio_search_result.py +1 -1
  565. lusid/models/paged_resource_list_of_property_definition.py +1 -1
  566. lusid/models/paged_resource_list_of_property_definition_search_result.py +1 -1
  567. lusid/models/paged_resource_list_of_reference_list_response.py +1 -1
  568. lusid/models/paged_resource_list_of_relationship_definition.py +1 -1
  569. lusid/models/paged_resource_list_of_sequence_definition.py +1 -1
  570. lusid/models/paged_resource_list_of_translation_script_id.py +1 -1
  571. lusid/models/paged_resource_list_of_virtual_row.py +1 -1
  572. lusid/models/participation.py +1 -1
  573. lusid/models/participation_request.py +1 -1
  574. lusid/models/participation_set_request.py +1 -1
  575. lusid/models/performance_return.py +1 -1
  576. lusid/models/performance_returns_metric.py +1 -1
  577. lusid/models/perpetual_property.py +1 -1
  578. lusid/models/person.py +1 -1
  579. lusid/models/place_blocks_request.py +1 -1
  580. lusid/models/placement.py +1 -1
  581. lusid/models/placement_request.py +1 -1
  582. lusid/models/placement_set_request.py +1 -1
  583. lusid/models/portfolio.py +1 -1
  584. lusid/models/portfolio_cash_flow.py +1 -1
  585. lusid/models/portfolio_cash_ladder.py +1 -1
  586. lusid/models/portfolio_details.py +1 -1
  587. lusid/models/portfolio_entity_id.py +9 -5
  588. lusid/models/portfolio_group.py +1 -1
  589. lusid/models/portfolio_group_id_compliance_parameter.py +1 -1
  590. lusid/models/portfolio_group_id_list.py +1 -1
  591. lusid/models/portfolio_group_id_list_all_of.py +1 -1
  592. lusid/models/portfolio_group_id_list_compliance_parameter.py +1 -1
  593. lusid/models/portfolio_group_properties.py +1 -1
  594. lusid/models/portfolio_group_search_result.py +1 -1
  595. lusid/models/portfolio_holding.py +35 -5
  596. lusid/models/portfolio_id_compliance_parameter.py +1 -1
  597. lusid/models/portfolio_id_list.py +1 -1
  598. lusid/models/portfolio_id_list_compliance_parameter.py +1 -1
  599. lusid/models/portfolio_properties.py +1 -1
  600. lusid/models/portfolio_reconciliation_request.py +1 -1
  601. lusid/models/portfolio_result_data_key_rule.py +1 -1
  602. lusid/models/portfolio_result_data_key_rule_all_of.py +1 -1
  603. lusid/models/portfolio_return_breakdown.py +1 -1
  604. lusid/models/portfolio_search_result.py +1 -1
  605. lusid/models/portfolios_reconciliation_request.py +1 -1
  606. lusid/models/premium.py +1 -1
  607. lusid/models/pricing_context.py +1 -1
  608. lusid/models/pricing_options.py +1 -1
  609. lusid/models/processed_command.py +1 -1
  610. lusid/models/property_definition.py +5 -5
  611. lusid/models/property_definition_search_result.py +5 -5
  612. lusid/models/property_filter.py +1 -1
  613. lusid/models/property_interval.py +1 -1
  614. lusid/models/property_key_compliance_parameter.py +1 -1
  615. lusid/models/property_key_compliance_parameter_all_of.py +1 -1
  616. lusid/models/property_key_list_compliance_parameter.py +1 -1
  617. lusid/models/property_list.py +1 -1
  618. lusid/models/property_list_all_of.py +1 -1
  619. lusid/models/property_list_compliance_parameter.py +1 -1
  620. lusid/models/property_schema.py +1 -1
  621. lusid/models/property_value.py +1 -1
  622. lusid/models/query_bucketed_cash_flows_request.py +653 -0
  623. lusid/models/queryable_key.py +1 -1
  624. lusid/models/quote.py +1 -1
  625. lusid/models/quote_dependency.py +1 -1
  626. lusid/models/quote_dependency_all_of.py +1 -1
  627. lusid/models/quote_id.py +1 -1
  628. lusid/models/quote_series_id.py +4 -4
  629. lusid/models/raw_vendor_event.py +5 -5
  630. lusid/models/raw_vendor_event_all_of.py +5 -5
  631. lusid/models/realised_gain_loss.py +1 -1
  632. lusid/models/recombine_step.py +1 -1
  633. lusid/models/reconcile_date_time_rule.py +1 -1
  634. lusid/models/reconcile_date_time_rule_all_of.py +1 -1
  635. lusid/models/reconcile_numeric_rule.py +1 -1
  636. lusid/models/reconcile_numeric_rule_all_of.py +1 -1
  637. lusid/models/reconcile_string_rule.py +1 -1
  638. lusid/models/reconcile_string_rule_all_of.py +1 -1
  639. lusid/models/reconciled_transaction.py +1 -1
  640. lusid/models/reconciliation_break.py +1 -1
  641. lusid/models/reconciliation_left_right_address_key_pair.py +1 -1
  642. lusid/models/reconciliation_line.py +1 -1
  643. lusid/models/reconciliation_request.py +1 -1
  644. lusid/models/reconciliation_response.py +1 -1
  645. lusid/models/reconciliation_rule.py +1 -1
  646. lusid/models/reference_data.py +1 -1
  647. lusid/models/reference_instrument.py +1 -1
  648. lusid/models/reference_instrument_all_of.py +1 -1
  649. lusid/models/reference_list.py +1 -1
  650. lusid/models/reference_list_request.py +1 -1
  651. lusid/models/reference_list_response.py +1 -1
  652. lusid/models/reference_portfolio_constituent.py +1 -1
  653. lusid/models/reference_portfolio_constituent_request.py +1 -1
  654. lusid/models/related_entity.py +1 -1
  655. lusid/models/relation.py +1 -1
  656. lusid/models/relationship.py +1 -1
  657. lusid/models/relationship_definition.py +1 -1
  658. lusid/models/relative_date_offset.py +1 -1
  659. lusid/models/repo.py +1 -1
  660. lusid/models/repo_all_of.py +1 -1
  661. lusid/models/reset_event.py +5 -5
  662. lusid/models/reset_event_all_of.py +5 -5
  663. lusid/models/resource_id.py +1 -1
  664. lusid/models/resource_list_of_access_controlled_resource.py +1 -1
  665. lusid/models/resource_list_of_access_metadata_value_of.py +1 -1
  666. lusid/models/resource_list_of_address_key_definition.py +1 -1
  667. lusid/models/resource_list_of_aggregated_return.py +1 -1
  668. lusid/models/resource_list_of_aggregation_query.py +1 -1
  669. lusid/models/resource_list_of_allocation.py +1 -1
  670. lusid/models/resource_list_of_block.py +1 -1
  671. lusid/models/resource_list_of_block_and_orders.py +1 -1
  672. lusid/models/resource_list_of_calendar_date.py +1 -1
  673. lusid/models/resource_list_of_change.py +1 -1
  674. lusid/models/resource_list_of_change_history.py +1 -1
  675. lusid/models/resource_list_of_constituents_adjustment_header.py +1 -1
  676. lusid/models/resource_list_of_corporate_action.py +1 -1
  677. lusid/models/resource_list_of_data_type.py +1 -1
  678. lusid/models/resource_list_of_execution.py +1 -1
  679. lusid/models/resource_list_of_get_counterparty_agreement_response.py +1 -1
  680. lusid/models/resource_list_of_get_credit_support_annex_response.py +1 -1
  681. lusid/models/resource_list_of_get_recipe_response.py +1 -1
  682. lusid/models/resource_list_of_holdings_adjustment_header.py +1 -1
  683. lusid/models/resource_list_of_i_unit_definition_dto.py +1 -1
  684. lusid/models/resource_list_of_instrument_cash_flow.py +266 -0
  685. lusid/models/resource_list_of_instrument_id_type_descriptor.py +1 -1
  686. lusid/models/resource_list_of_legal_entity.py +1 -1
  687. lusid/models/resource_list_of_mapping.py +1 -1
  688. lusid/models/resource_list_of_moved_order_to_different_block_response.py +1 -1
  689. lusid/models/resource_list_of_order.py +1 -1
  690. lusid/models/resource_list_of_participation.py +1 -1
  691. lusid/models/resource_list_of_performance_return.py +1 -1
  692. lusid/models/resource_list_of_person.py +1 -1
  693. lusid/models/resource_list_of_placement.py +1 -1
  694. lusid/models/resource_list_of_portfolio.py +1 -1
  695. lusid/models/resource_list_of_portfolio_cash_flow.py +1 -1
  696. lusid/models/resource_list_of_portfolio_cash_ladder.py +1 -1
  697. lusid/models/resource_list_of_processed_command.py +1 -1
  698. lusid/models/resource_list_of_property.py +1 -1
  699. lusid/models/resource_list_of_property_definition.py +1 -1
  700. lusid/models/resource_list_of_property_interval.py +1 -1
  701. lusid/models/resource_list_of_queryable_key.py +1 -1
  702. lusid/models/resource_list_of_quote.py +1 -1
  703. lusid/models/resource_list_of_reconciliation_break.py +1 -1
  704. lusid/models/resource_list_of_relation.py +1 -1
  705. lusid/models/resource_list_of_relationship.py +1 -1
  706. lusid/models/resource_list_of_scope_definition.py +1 -1
  707. lusid/models/resource_list_of_side_definition.py +1 -1
  708. lusid/models/resource_list_of_string.py +1 -1
  709. lusid/models/resource_list_of_transaction.py +266 -0
  710. lusid/models/resource_list_of_transaction_type.py +1 -1
  711. lusid/models/resource_list_of_value_type.py +1 -1
  712. lusid/models/response_meta_data.py +1 -1
  713. lusid/models/result_data_key_rule.py +1 -1
  714. lusid/models/result_data_key_rule_all_of.py +1 -1
  715. lusid/models/result_data_schema.py +1 -1
  716. lusid/models/result_key_rule.py +1 -1
  717. lusid/models/result_value.py +1 -1
  718. lusid/models/result_value0_d.py +1 -1
  719. lusid/models/result_value0_d_all_of.py +1 -1
  720. lusid/models/result_value_bool.py +1 -1
  721. lusid/models/result_value_bool_all_of.py +1 -1
  722. lusid/models/result_value_currency.py +1 -1
  723. lusid/models/result_value_currency_all_of.py +1 -1
  724. lusid/models/result_value_date_time_offset.py +1 -1
  725. lusid/models/result_value_date_time_offset_all_of.py +1 -1
  726. lusid/models/result_value_decimal.py +1 -1
  727. lusid/models/result_value_decimal_all_of.py +1 -1
  728. lusid/models/result_value_dictionary.py +1 -1
  729. lusid/models/result_value_dictionary_all_of.py +1 -1
  730. lusid/models/result_value_int.py +1 -1
  731. lusid/models/result_value_int_all_of.py +1 -1
  732. lusid/models/result_value_string.py +1 -1
  733. lusid/models/result_value_string_all_of.py +1 -1
  734. lusid/models/reverse_stock_split_event.py +5 -5
  735. lusid/models/reverse_stock_split_event_all_of.py +5 -5
  736. lusid/models/rounding_configuration.py +1 -1
  737. lusid/models/rounding_configuration_component.py +1 -1
  738. lusid/models/rounding_convention.py +1 -1
  739. lusid/models/schedule.py +5 -5
  740. lusid/models/schema.py +1 -1
  741. lusid/models/scope_definition.py +1 -1
  742. lusid/models/scrip_dividend_event.py +5 -5
  743. lusid/models/scrip_dividend_event_all_of.py +5 -5
  744. lusid/models/script_map_reference.py +1 -1
  745. lusid/models/security_election.py +1 -1
  746. lusid/models/security_offer_election.py +241 -0
  747. lusid/models/sequence_definition.py +1 -1
  748. lusid/models/set_legal_entity_identifiers_request.py +1 -1
  749. lusid/models/set_legal_entity_properties_request.py +1 -1
  750. lusid/models/set_person_identifiers_request.py +1 -1
  751. lusid/models/set_person_properties_request.py +1 -1
  752. lusid/models/settlement_schedule.py +200 -0
  753. lusid/models/side_configuration_data.py +1 -1
  754. lusid/models/side_definition.py +1 -1
  755. lusid/models/side_definition_request.py +1 -1
  756. lusid/models/sides_definition_request.py +1 -1
  757. lusid/models/simple_cash_flow_loan.py +1 -1
  758. lusid/models/simple_cash_flow_loan_all_of.py +1 -1
  759. lusid/models/simple_instrument.py +1 -1
  760. lusid/models/simple_instrument_all_of.py +1 -1
  761. lusid/models/spin_off_event.py +426 -0
  762. lusid/models/spin_off_event_all_of.py +426 -0
  763. lusid/models/staged_modifications_info.py +1 -1
  764. lusid/models/step_schedule.py +5 -5
  765. lusid/models/step_schedule_all_of.py +5 -5
  766. lusid/models/stock_dividend_event.py +5 -5
  767. lusid/models/stock_dividend_event_all_of.py +5 -5
  768. lusid/models/stock_split_event.py +5 -5
  769. lusid/models/stock_split_event_all_of.py +5 -5
  770. lusid/models/stream.py +1 -1
  771. lusid/models/string_compliance_parameter.py +1 -1
  772. lusid/models/string_list.py +1 -1
  773. lusid/models/string_list_compliance_parameter.py +1 -1
  774. lusid/models/structured_result_data.py +285 -0
  775. lusid/models/structured_result_data_id.py +254 -0
  776. lusid/models/target_tax_lot.py +1 -1
  777. lusid/models/target_tax_lot_request.py +1 -1
  778. lusid/models/term_deposit.py +1 -1
  779. lusid/models/term_deposit_all_of.py +1 -1
  780. lusid/models/total_return_swap.py +1 -1
  781. lusid/models/total_return_swap_all_of.py +1 -1
  782. lusid/models/touch.py +1 -1
  783. lusid/models/transaction.py +1 -1
  784. lusid/models/transaction_configuration_data.py +1 -1
  785. lusid/models/transaction_configuration_data_request.py +1 -1
  786. lusid/models/transaction_configuration_movement_data.py +1 -1
  787. lusid/models/transaction_configuration_movement_data_request.py +1 -1
  788. lusid/models/transaction_configuration_type_alias.py +1 -1
  789. lusid/models/transaction_price.py +1 -1
  790. lusid/models/transaction_property_mapping.py +1 -1
  791. lusid/models/transaction_property_mapping_request.py +1 -1
  792. lusid/models/transaction_query_parameters.py +1 -1
  793. lusid/models/transaction_reconciliation_request.py +1 -1
  794. lusid/models/transaction_request.py +1 -1
  795. lusid/models/transaction_set_configuration_data.py +1 -1
  796. lusid/models/transaction_type.py +1 -1
  797. lusid/models/transaction_type_alias.py +1 -1
  798. lusid/models/transaction_type_calculation.py +1 -1
  799. lusid/models/transaction_type_movement.py +1 -1
  800. lusid/models/transaction_type_property_mapping.py +1 -1
  801. lusid/models/transaction_type_request.py +1 -1
  802. lusid/models/transactions_reconciliations_response.py +1 -1
  803. lusid/models/transition_event.py +5 -5
  804. lusid/models/transition_event_all_of.py +5 -5
  805. lusid/models/translate_entities_inlined_request.py +1 -1
  806. lusid/models/translate_entities_request.py +1 -1
  807. lusid/models/translate_entities_response.py +1 -1
  808. lusid/models/translation_context.py +1 -1
  809. lusid/models/translation_input.py +1 -1
  810. lusid/models/translation_result.py +1 -1
  811. lusid/models/translation_script.py +1 -1
  812. lusid/models/translation_script_id.py +1 -1
  813. lusid/models/trigger_event.py +5 -5
  814. lusid/models/trigger_event_all_of.py +5 -5
  815. lusid/models/typed_resource_id.py +1 -1
  816. lusid/models/units_ratio.py +1 -1
  817. lusid/models/update_calendar_request.py +1 -1
  818. lusid/models/update_compliance_template_request.py +228 -0
  819. lusid/models/update_custom_entity_definition_request.py +1 -1
  820. lusid/models/update_custom_entity_type_request.py +1 -1
  821. lusid/models/update_cut_label_definition_request.py +1 -1
  822. lusid/models/update_data_type_request.py +1 -1
  823. lusid/models/update_derived_property_definition_request.py +1 -1
  824. lusid/models/update_instrument_identifier_request.py +1 -1
  825. lusid/models/update_portfolio_group_request.py +1 -1
  826. lusid/models/update_portfolio_request.py +1 -1
  827. lusid/models/update_property_definition_request.py +1 -1
  828. lusid/models/update_relationship_definition_request.py +1 -1
  829. lusid/models/update_unit_request.py +1 -1
  830. lusid/models/upsert_complex_market_data_request.py +1 -1
  831. lusid/models/upsert_compliance_rule_request.py +1 -1
  832. lusid/models/upsert_compliance_run_summary_request.py +1 -1
  833. lusid/models/upsert_compliance_run_summary_result.py +1 -1
  834. lusid/models/upsert_corporate_action_request.py +1 -1
  835. lusid/models/upsert_corporate_actions_response.py +1 -1
  836. lusid/models/upsert_counterparty_agreement_request.py +1 -1
  837. lusid/models/upsert_credit_support_annex_request.py +1 -1
  838. lusid/models/upsert_custom_entities_response.py +1 -1
  839. lusid/models/upsert_custom_entity_access_metadata_request.py +1 -1
  840. lusid/models/upsert_dialect_request.py +1 -1
  841. lusid/models/upsert_instrument_event_request.py +1 -1
  842. lusid/models/upsert_instrument_events_response.py +1 -1
  843. lusid/models/upsert_instrument_properties_response.py +1 -1
  844. lusid/models/upsert_instrument_property_request.py +1 -1
  845. lusid/models/upsert_instruments_response.py +1 -1
  846. lusid/models/upsert_legal_entities_response.py +1 -1
  847. lusid/models/upsert_legal_entity_access_metadata_request.py +1 -1
  848. lusid/models/upsert_legal_entity_request.py +1 -1
  849. lusid/models/upsert_person_access_metadata_request.py +1 -1
  850. lusid/models/upsert_person_request.py +1 -1
  851. lusid/models/upsert_portfolio_access_metadata_request.py +1 -1
  852. lusid/models/upsert_portfolio_group_access_metadata_request.py +1 -1
  853. lusid/models/upsert_portfolio_transactions_response.py +1 -1
  854. lusid/models/upsert_quote_request.py +1 -1
  855. lusid/models/upsert_quotes_response.py +1 -1
  856. lusid/models/upsert_recipe_request.py +1 -1
  857. lusid/models/upsert_reference_portfolio_constituents_request.py +1 -1
  858. lusid/models/upsert_reference_portfolio_constituents_response.py +1 -1
  859. lusid/models/upsert_returns_response.py +1 -1
  860. lusid/models/upsert_single_structured_data_response.py +1 -1
  861. lusid/models/upsert_structured_data_response.py +1 -1
  862. lusid/models/upsert_structured_result_data_request.py +173 -0
  863. lusid/models/upsert_transaction_properties_response.py +1 -1
  864. lusid/models/upsert_translation_script_request.py +1 -1
  865. lusid/models/user.py +1 -1
  866. lusid/models/valuation_request.py +1 -1
  867. lusid/models/valuation_schedule.py +1 -1
  868. lusid/models/valuations_reconciliation_request.py +1 -1
  869. lusid/models/value_type.py +1 -1
  870. lusid/models/vendor_model_rule.py +1 -1
  871. lusid/models/version.py +1 -1
  872. lusid/models/version_summary_dto.py +1 -1
  873. lusid/models/versioned_resource_list_of_a2_b_data_record.py +1 -1
  874. lusid/models/versioned_resource_list_of_a2_b_movement_record.py +1 -1
  875. lusid/models/versioned_resource_list_of_holding_contributor.py +1 -1
  876. lusid/models/versioned_resource_list_of_output_transaction.py +1 -1
  877. lusid/models/versioned_resource_list_of_portfolio_holding.py +1 -1
  878. lusid/models/versioned_resource_list_of_transaction.py +1 -1
  879. lusid/models/virtual_row.py +1 -1
  880. lusid/models/weekend_mask.py +1 -1
  881. lusid/models/weighted_instrument.py +1 -1
  882. lusid/models/weighted_instrument_in_line_lookup_identifiers.py +1 -1
  883. lusid/models/weighted_instruments.py +1 -1
  884. lusid/models/yield_curve_data.py +1 -1
  885. lusid/models/yield_curve_data_all_of.py +1 -1
  886. lusid/rest.py +1 -1
  887. {lusid_sdk-1.1.141.dist-info → lusid_sdk-1.1.171.dist-info}/METADATA +1 -1
  888. lusid_sdk-1.1.171.dist-info/RECORD +908 -0
  889. lusid_sdk-1.1.141.dist-info/RECORD +0 -869
  890. {lusid_sdk-1.1.141.dist-info → lusid_sdk-1.1.171.dist-info}/WHEEL +0 -0
  891. {lusid_sdk-1.1.141.dist-info → lusid_sdk-1.1.171.dist-info}/top_level.txt +0 -0
@@ -5,7 +5,7 @@
5
5
 
6
6
  FINBOURNE Technology # noqa: E501
7
7
 
8
- The version of the OpenAPI document: 1.1.141
8
+ The version of the OpenAPI document: 1.1.171
9
9
  Contact: info@finbourne.com
10
10
  Generated by: https://openapi-generator.tech
11
11
  """
@@ -42,8 +42,10 @@ from lusid.models.portfolio import Portfolio
42
42
  from lusid.models.portfolio_details import PortfolioDetails
43
43
  from lusid.models.resource_list_of_change_history import ResourceListOfChangeHistory
44
44
  from lusid.models.resource_list_of_holdings_adjustment_header import ResourceListOfHoldingsAdjustmentHeader
45
+ from lusid.models.resource_list_of_instrument_cash_flow import ResourceListOfInstrumentCashFlow
45
46
  from lusid.models.resource_list_of_portfolio_cash_flow import ResourceListOfPortfolioCashFlow
46
47
  from lusid.models.resource_list_of_portfolio_cash_ladder import ResourceListOfPortfolioCashLadder
48
+ from lusid.models.resource_list_of_transaction import ResourceListOfTransaction
47
49
  from lusid.models.transaction_query_parameters import TransactionQueryParameters
48
50
  from lusid.models.transaction_request import TransactionRequest
49
51
  from lusid.models.upsert_portfolio_transactions_response import UpsertPortfolioTransactionsResponse
@@ -245,7 +247,7 @@ class TransactionPortfoliosApi(object):
245
247
 
246
248
  # set the LUSID header
247
249
  header_params['X-LUSID-SDK-Language'] = 'Python'
248
- header_params['X-LUSID-SDK-Version'] = '1.1.141'
250
+ header_params['X-LUSID-SDK-Version'] = '1.1.171'
249
251
 
250
252
  # Authentication setting
251
253
  auth_settings = ['oauth2'] # noqa: E501
@@ -455,7 +457,7 @@ class TransactionPortfoliosApi(object):
455
457
 
456
458
  # set the LUSID header
457
459
  header_params['X-LUSID-SDK-Language'] = 'Python'
458
- header_params['X-LUSID-SDK-Version'] = '1.1.141'
460
+ header_params['X-LUSID-SDK-Version'] = '1.1.171'
459
461
 
460
462
  # Authentication setting
461
463
  auth_settings = ['oauth2'] # noqa: E501
@@ -640,7 +642,7 @@ class TransactionPortfoliosApi(object):
640
642
 
641
643
  # set the LUSID header
642
644
  header_params['X-LUSID-SDK-Language'] = 'Python'
643
- header_params['X-LUSID-SDK-Version'] = '1.1.141'
645
+ header_params['X-LUSID-SDK-Version'] = '1.1.171'
644
646
 
645
647
  # Authentication setting
646
648
  auth_settings = ['oauth2'] # noqa: E501
@@ -849,7 +851,7 @@ class TransactionPortfoliosApi(object):
849
851
 
850
852
  # set the LUSID header
851
853
  header_params['X-LUSID-SDK-Language'] = 'Python'
852
- header_params['X-LUSID-SDK-Version'] = '1.1.141'
854
+ header_params['X-LUSID-SDK-Version'] = '1.1.171'
853
855
 
854
856
  # Authentication setting
855
857
  auth_settings = ['oauth2'] # noqa: E501
@@ -1086,7 +1088,7 @@ class TransactionPortfoliosApi(object):
1086
1088
 
1087
1089
  # set the LUSID header
1088
1090
  header_params['X-LUSID-SDK-Language'] = 'Python'
1089
- header_params['X-LUSID-SDK-Version'] = '1.1.141'
1091
+ header_params['X-LUSID-SDK-Version'] = '1.1.171'
1090
1092
 
1091
1093
  # Authentication setting
1092
1094
  auth_settings = ['oauth2'] # noqa: E501
@@ -1268,7 +1270,7 @@ class TransactionPortfoliosApi(object):
1268
1270
 
1269
1271
  # set the LUSID header
1270
1272
  header_params['X-LUSID-SDK-Language'] = 'Python'
1271
- header_params['X-LUSID-SDK-Version'] = '1.1.141'
1273
+ header_params['X-LUSID-SDK-Version'] = '1.1.171'
1272
1274
 
1273
1275
  # Authentication setting
1274
1276
  auth_settings = ['oauth2'] # noqa: E501
@@ -1451,7 +1453,7 @@ class TransactionPortfoliosApi(object):
1451
1453
 
1452
1454
  # set the LUSID header
1453
1455
  header_params['X-LUSID-SDK-Language'] = 'Python'
1454
- header_params['X-LUSID-SDK-Version'] = '1.1.141'
1456
+ header_params['X-LUSID-SDK-Version'] = '1.1.171'
1455
1457
 
1456
1458
  # Authentication setting
1457
1459
  auth_settings = ['oauth2'] # noqa: E501
@@ -1617,7 +1619,7 @@ class TransactionPortfoliosApi(object):
1617
1619
 
1618
1620
  # set the LUSID header
1619
1621
  header_params['X-LUSID-SDK-Language'] = 'Python'
1620
- header_params['X-LUSID-SDK-Version'] = '1.1.141'
1622
+ header_params['X-LUSID-SDK-Version'] = '1.1.171'
1621
1623
 
1622
1624
  # Authentication setting
1623
1625
  auth_settings = ['oauth2'] # noqa: E501
@@ -1798,7 +1800,7 @@ class TransactionPortfoliosApi(object):
1798
1800
 
1799
1801
  # set the LUSID header
1800
1802
  header_params['X-LUSID-SDK-Language'] = 'Python'
1801
- header_params['X-LUSID-SDK-Version'] = '1.1.141'
1803
+ header_params['X-LUSID-SDK-Version'] = '1.1.171'
1802
1804
 
1803
1805
  # Authentication setting
1804
1806
  auth_settings = ['oauth2'] # noqa: E501
@@ -1992,7 +1994,7 @@ class TransactionPortfoliosApi(object):
1992
1994
 
1993
1995
  # set the LUSID header
1994
1996
  header_params['X-LUSID-SDK-Language'] = 'Python'
1995
- header_params['X-LUSID-SDK-Version'] = '1.1.141'
1997
+ header_params['X-LUSID-SDK-Version'] = '1.1.171'
1996
1998
 
1997
1999
  # Authentication setting
1998
2000
  auth_settings = ['oauth2'] # noqa: E501
@@ -2229,7 +2231,7 @@ class TransactionPortfoliosApi(object):
2229
2231
 
2230
2232
  # set the LUSID header
2231
2233
  header_params['X-LUSID-SDK-Language'] = 'Python'
2232
- header_params['X-LUSID-SDK-Version'] = '1.1.141'
2234
+ header_params['X-LUSID-SDK-Version'] = '1.1.171'
2233
2235
 
2234
2236
  # Authentication setting
2235
2237
  auth_settings = ['oauth2'] # noqa: E501
@@ -2466,7 +2468,7 @@ class TransactionPortfoliosApi(object):
2466
2468
 
2467
2469
  # set the LUSID header
2468
2470
  header_params['X-LUSID-SDK-Language'] = 'Python'
2469
- header_params['X-LUSID-SDK-Version'] = '1.1.141'
2471
+ header_params['X-LUSID-SDK-Version'] = '1.1.171'
2470
2472
 
2471
2473
  # Authentication setting
2472
2474
  auth_settings = ['oauth2'] # noqa: E501
@@ -2651,7 +2653,7 @@ class TransactionPortfoliosApi(object):
2651
2653
 
2652
2654
  # set the LUSID header
2653
2655
  header_params['X-LUSID-SDK-Language'] = 'Python'
2654
- header_params['X-LUSID-SDK-Version'] = '1.1.141'
2656
+ header_params['X-LUSID-SDK-Version'] = '1.1.171'
2655
2657
 
2656
2658
  # Authentication setting
2657
2659
  auth_settings = ['oauth2'] # noqa: E501
@@ -2923,7 +2925,7 @@ class TransactionPortfoliosApi(object):
2923
2925
 
2924
2926
  # set the LUSID header
2925
2927
  header_params['X-LUSID-SDK-Language'] = 'Python'
2926
- header_params['X-LUSID-SDK-Version'] = '1.1.141'
2928
+ header_params['X-LUSID-SDK-Version'] = '1.1.171'
2927
2929
 
2928
2930
  # Authentication setting
2929
2931
  auth_settings = ['oauth2'] # noqa: E501
@@ -2974,6 +2976,8 @@ class TransactionPortfoliosApi(object):
2974
2976
  :type property_keys: list[str]
2975
2977
  :param by_taxlots: Whether or not to expand the holdings to return the underlying tax-lots. Defaults to False.
2976
2978
  :type by_taxlots: bool
2979
+ :param include_settlement_events_after_days: Number of days ahead to bring back settlements from, in relation to the specified effectiveAt
2980
+ :type include_settlement_events_after_days: int
2977
2981
  :param async_req: Whether to execute the request asynchronously.
2978
2982
  :type async_req: bool, optional
2979
2983
  :param _preload_content: if False, the urllib3.HTTPResponse object will
@@ -3016,6 +3020,8 @@ class TransactionPortfoliosApi(object):
3016
3020
  :type property_keys: list[str]
3017
3021
  :param by_taxlots: Whether or not to expand the holdings to return the underlying tax-lots. Defaults to False.
3018
3022
  :type by_taxlots: bool
3023
+ :param include_settlement_events_after_days: Number of days ahead to bring back settlements from, in relation to the specified effectiveAt
3024
+ :type include_settlement_events_after_days: int
3019
3025
  :param async_req: Whether to execute the request asynchronously.
3020
3026
  :type async_req: bool, optional
3021
3027
  :param _return_http_data_only: response data without head status code
@@ -3048,7 +3054,8 @@ class TransactionPortfoliosApi(object):
3048
3054
  'as_at',
3049
3055
  'filter',
3050
3056
  'property_keys',
3051
- 'by_taxlots'
3057
+ 'by_taxlots',
3058
+ 'include_settlement_events_after_days'
3052
3059
  ]
3053
3060
  all_params.extend(
3054
3061
  [
@@ -3122,6 +3129,8 @@ class TransactionPortfoliosApi(object):
3122
3129
  collection_formats['propertyKeys'] = 'multi' # noqa: E501
3123
3130
  if 'by_taxlots' in local_var_params and local_var_params['by_taxlots'] is not None: # noqa: E501
3124
3131
  query_params.append(('byTaxlots', local_var_params['by_taxlots'])) # noqa: E501
3132
+ if 'include_settlement_events_after_days' in local_var_params and local_var_params['include_settlement_events_after_days'] is not None: # noqa: E501
3133
+ query_params.append(('includeSettlementEventsAfterDays', local_var_params['include_settlement_events_after_days'])) # noqa: E501
3125
3134
 
3126
3135
  header_params = dict(local_var_params.get('_headers', {}))
3127
3136
 
@@ -3138,7 +3147,7 @@ class TransactionPortfoliosApi(object):
3138
3147
 
3139
3148
  # set the LUSID header
3140
3149
  header_params['X-LUSID-SDK-Language'] = 'Python'
3141
- header_params['X-LUSID-SDK-Version'] = '1.1.141'
3150
+ header_params['X-LUSID-SDK-Version'] = '1.1.171'
3142
3151
 
3143
3152
  # Authentication setting
3144
3153
  auth_settings = ['oauth2'] # noqa: E501
@@ -3335,7 +3344,7 @@ class TransactionPortfoliosApi(object):
3335
3344
 
3336
3345
  # set the LUSID header
3337
3346
  header_params['X-LUSID-SDK-Language'] = 'Python'
3338
- header_params['X-LUSID-SDK-Version'] = '1.1.141'
3347
+ header_params['X-LUSID-SDK-Version'] = '1.1.171'
3339
3348
 
3340
3349
  # Authentication setting
3341
3350
  auth_settings = ['oauth2'] # noqa: E501
@@ -3362,6 +3371,241 @@ class TransactionPortfoliosApi(object):
3362
3371
  collection_formats=collection_formats,
3363
3372
  _request_auth=local_var_params.get('_request_auth'))
3364
3373
 
3374
+ def get_portfolio_cash_flows(self, scope, code, **kwargs): # noqa: E501
3375
+ """GetPortfolioCashFlows: Get portfolio cash flows # noqa: E501
3376
+
3377
+ Get the set of cash flows that occur in a window for the transaction portfolio's instruments. Note that grouping can affect the quantity of information returned; where a holding is an amalgamation of one or more (e.g. cash) instruments, a unique transaction identifier will not be available. The same may go for diagnostic information (e.g. multiple sources of an aggregate cash amount on a date that is not split out. Grouping at the transaction and instrument level is recommended for those seeking to attribute individual flows. # noqa: E501
3378
+ This method makes a synchronous HTTP request by default. To make an
3379
+ asynchronous HTTP request, please pass async_req=True
3380
+
3381
+ >>> thread = api.get_portfolio_cash_flows(scope, code, async_req=True)
3382
+ >>> result = thread.get()
3383
+
3384
+ :param scope: The scope of the transaction portfolio. (required)
3385
+ :type scope: str
3386
+ :param code: The code of the transaction portfolio. Together with the scope this uniquely identifies the portfolio. (required)
3387
+ :type code: str
3388
+ :param effective_at: The valuation (pricing) effective datetime or cut label (inclusive) at which to evaluate the cashflows. This determines whether cashflows are evaluated in a historic or forward looking context and will, for certain models, affect where data is looked up. For example, on a swap if the effectiveAt is in the middle of the window, cashflows before it will be historic and resets assumed to exist where if the effectiveAt is before the start of the range they are forward looking and will be expectations assuming the model supports that. There is evidently a presumption here about availability of data and that the effectiveAt is realistically on or before the real-world today.
3389
+ :type effective_at: str
3390
+ :param window_start: The lower bound effective datetime or cut label (inclusive) from which to retrieve the cashflows. There is no lower bound if this is not specified. i.e. it is the minimum date.
3391
+ :type window_start: str
3392
+ :param window_end: The upper bound effective datetime or cut label (inclusive) from which to retrieve the cashflows. The upper bound defaults to 'max date' if it is not specified
3393
+ :type window_end: str
3394
+ :param as_at: The asAt datetime at which to retrieve the data. Defaults to returning the latest version of each transaction if not specified.
3395
+ :type as_at: datetime
3396
+ :param filter: Expression to filter the result set. For example, to return only transactions with a transaction type of 'Buy', specify \"type eq 'Buy'\". For more information about filtering LUSID results, see https://support.lusid.com/knowledgebase/article/KA-01914.
3397
+ :type filter: str
3398
+ :param recipe_id_scope: The scope of the given recipeId
3399
+ :type recipe_id_scope: str
3400
+ :param recipe_id_code: The code of the given recipeID
3401
+ :type recipe_id_code: str
3402
+ :param exclude_unsettled_trades: If absent or set to false, cashflows will returned based on trade date - more specifically, cashflows from any unsettled trades will be included in the results. If set to true, unsettled trades will be excluded from the result set.
3403
+ :type exclude_unsettled_trades: bool
3404
+ :param async_req: Whether to execute the request asynchronously.
3405
+ :type async_req: bool, optional
3406
+ :param _preload_content: if False, the urllib3.HTTPResponse object will
3407
+ be returned without reading/decoding response
3408
+ data. Default is True.
3409
+ :type _preload_content: bool, optional
3410
+ :param _request_timeout: timeout setting for this request. If one
3411
+ number provided, it will be total request
3412
+ timeout. It can also be a pair (tuple) of
3413
+ (connection, read) timeouts.
3414
+ :return: Returns the result object.
3415
+ If the method is called asynchronously,
3416
+ returns the request thread.
3417
+ :rtype: ResourceListOfInstrumentCashFlow
3418
+ """
3419
+ kwargs['_return_http_data_only'] = True
3420
+ return self.get_portfolio_cash_flows_with_http_info(scope, code, **kwargs) # noqa: E501
3421
+
3422
+ def get_portfolio_cash_flows_with_http_info(self, scope, code, **kwargs): # noqa: E501
3423
+ """GetPortfolioCashFlows: Get portfolio cash flows # noqa: E501
3424
+
3425
+ Get the set of cash flows that occur in a window for the transaction portfolio's instruments. Note that grouping can affect the quantity of information returned; where a holding is an amalgamation of one or more (e.g. cash) instruments, a unique transaction identifier will not be available. The same may go for diagnostic information (e.g. multiple sources of an aggregate cash amount on a date that is not split out. Grouping at the transaction and instrument level is recommended for those seeking to attribute individual flows. # noqa: E501
3426
+ This method makes a synchronous HTTP request by default. To make an
3427
+ asynchronous HTTP request, please pass async_req=True
3428
+
3429
+ >>> thread = api.get_portfolio_cash_flows_with_http_info(scope, code, async_req=True)
3430
+ >>> result = thread.get()
3431
+
3432
+ :param scope: The scope of the transaction portfolio. (required)
3433
+ :type scope: str
3434
+ :param code: The code of the transaction portfolio. Together with the scope this uniquely identifies the portfolio. (required)
3435
+ :type code: str
3436
+ :param effective_at: The valuation (pricing) effective datetime or cut label (inclusive) at which to evaluate the cashflows. This determines whether cashflows are evaluated in a historic or forward looking context and will, for certain models, affect where data is looked up. For example, on a swap if the effectiveAt is in the middle of the window, cashflows before it will be historic and resets assumed to exist where if the effectiveAt is before the start of the range they are forward looking and will be expectations assuming the model supports that. There is evidently a presumption here about availability of data and that the effectiveAt is realistically on or before the real-world today.
3437
+ :type effective_at: str
3438
+ :param window_start: The lower bound effective datetime or cut label (inclusive) from which to retrieve the cashflows. There is no lower bound if this is not specified. i.e. it is the minimum date.
3439
+ :type window_start: str
3440
+ :param window_end: The upper bound effective datetime or cut label (inclusive) from which to retrieve the cashflows. The upper bound defaults to 'max date' if it is not specified
3441
+ :type window_end: str
3442
+ :param as_at: The asAt datetime at which to retrieve the data. Defaults to returning the latest version of each transaction if not specified.
3443
+ :type as_at: datetime
3444
+ :param filter: Expression to filter the result set. For example, to return only transactions with a transaction type of 'Buy', specify \"type eq 'Buy'\". For more information about filtering LUSID results, see https://support.lusid.com/knowledgebase/article/KA-01914.
3445
+ :type filter: str
3446
+ :param recipe_id_scope: The scope of the given recipeId
3447
+ :type recipe_id_scope: str
3448
+ :param recipe_id_code: The code of the given recipeID
3449
+ :type recipe_id_code: str
3450
+ :param exclude_unsettled_trades: If absent or set to false, cashflows will returned based on trade date - more specifically, cashflows from any unsettled trades will be included in the results. If set to true, unsettled trades will be excluded from the result set.
3451
+ :type exclude_unsettled_trades: bool
3452
+ :param async_req: Whether to execute the request asynchronously.
3453
+ :type async_req: bool, optional
3454
+ :param _return_http_data_only: response data without head status code
3455
+ and headers
3456
+ :type _return_http_data_only: bool, optional
3457
+ :param _preload_content: if False, the urllib3.HTTPResponse object will
3458
+ be returned without reading/decoding response
3459
+ data. Default is True.
3460
+ :type _preload_content: bool, optional
3461
+ :param _request_timeout: timeout setting for this request. If one
3462
+ number provided, it will be total request
3463
+ timeout. It can also be a pair (tuple) of
3464
+ (connection, read) timeouts.
3465
+ :param _request_auth: set to override the auth_settings for an a single
3466
+ request; this effectively ignores the authentication
3467
+ in the spec for a single request.
3468
+ :type _request_auth: dict, optional
3469
+ :return: Returns the result object, the HTTP status code, and the headers.
3470
+ If the method is called asynchronously,
3471
+ returns the request thread.
3472
+ :rtype: (ResourceListOfInstrumentCashFlow, int, HTTPHeaderDict)
3473
+ """
3474
+
3475
+ local_var_params = locals()
3476
+
3477
+ all_params = [
3478
+ 'scope',
3479
+ 'code',
3480
+ 'effective_at',
3481
+ 'window_start',
3482
+ 'window_end',
3483
+ 'as_at',
3484
+ 'filter',
3485
+ 'recipe_id_scope',
3486
+ 'recipe_id_code',
3487
+ 'exclude_unsettled_trades'
3488
+ ]
3489
+ all_params.extend(
3490
+ [
3491
+ 'async_req',
3492
+ '_return_http_data_only',
3493
+ '_preload_content',
3494
+ '_request_timeout',
3495
+ '_request_auth',
3496
+ '_headers'
3497
+ ]
3498
+ )
3499
+
3500
+ for key, val in six.iteritems(local_var_params['kwargs']):
3501
+ if key not in all_params:
3502
+ raise ApiTypeError(
3503
+ "Got an unexpected keyword argument '%s'"
3504
+ " to method get_portfolio_cash_flows" % key
3505
+ )
3506
+ local_var_params[key] = val
3507
+ del local_var_params['kwargs']
3508
+ # verify the required parameter 'scope' is set
3509
+ if self.api_client.client_side_validation and ('scope' not in local_var_params or # noqa: E501
3510
+ local_var_params['scope'] is None): # noqa: E501
3511
+ raise ApiValueError("Missing the required parameter `scope` when calling `get_portfolio_cash_flows`") # noqa: E501
3512
+ # verify the required parameter 'code' is set
3513
+ if self.api_client.client_side_validation and ('code' not in local_var_params or # noqa: E501
3514
+ local_var_params['code'] is None): # noqa: E501
3515
+ raise ApiValueError("Missing the required parameter `code` when calling `get_portfolio_cash_flows`") # noqa: E501
3516
+
3517
+ if self.api_client.client_side_validation and ('scope' in local_var_params and # noqa: E501
3518
+ len(local_var_params['scope']) > 64): # noqa: E501
3519
+ raise ApiValueError("Invalid value for parameter `scope` when calling `get_portfolio_cash_flows`, length must be less than or equal to `64`") # noqa: E501
3520
+ if self.api_client.client_side_validation and ('scope' in local_var_params and # noqa: E501
3521
+ len(local_var_params['scope']) < 1): # noqa: E501
3522
+ raise ApiValueError("Invalid value for parameter `scope` when calling `get_portfolio_cash_flows`, length must be greater than or equal to `1`") # noqa: E501
3523
+ if self.api_client.client_side_validation and 'scope' in local_var_params and not re.search(r'^[a-zA-Z0-9\-_]+$', local_var_params['scope']): # noqa: E501
3524
+ raise ApiValueError("Invalid value for parameter `scope` when calling `get_portfolio_cash_flows`, must conform to the pattern `/^[a-zA-Z0-9\-_]+$/`") # noqa: E501
3525
+ if self.api_client.client_side_validation and ('code' in local_var_params and # noqa: E501
3526
+ len(local_var_params['code']) > 64): # noqa: E501
3527
+ raise ApiValueError("Invalid value for parameter `code` when calling `get_portfolio_cash_flows`, length must be less than or equal to `64`") # noqa: E501
3528
+ if self.api_client.client_side_validation and ('code' in local_var_params and # noqa: E501
3529
+ len(local_var_params['code']) < 1): # noqa: E501
3530
+ raise ApiValueError("Invalid value for parameter `code` when calling `get_portfolio_cash_flows`, length must be greater than or equal to `1`") # noqa: E501
3531
+ if self.api_client.client_side_validation and 'code' in local_var_params and not re.search(r'^[a-zA-Z0-9\-_]+$', local_var_params['code']): # noqa: E501
3532
+ raise ApiValueError("Invalid value for parameter `code` when calling `get_portfolio_cash_flows`, must conform to the pattern `/^[a-zA-Z0-9\-_]+$/`") # noqa: E501
3533
+ if self.api_client.client_side_validation and ('filter' in local_var_params and # noqa: E501
3534
+ len(local_var_params['filter']) > 16384): # noqa: E501
3535
+ raise ApiValueError("Invalid value for parameter `filter` when calling `get_portfolio_cash_flows`, length must be less than or equal to `16384`") # noqa: E501
3536
+ if self.api_client.client_side_validation and ('filter' in local_var_params and # noqa: E501
3537
+ len(local_var_params['filter']) < 0): # noqa: E501
3538
+ raise ApiValueError("Invalid value for parameter `filter` when calling `get_portfolio_cash_flows`, length must be greater than or equal to `0`") # noqa: E501
3539
+ if self.api_client.client_side_validation and 'filter' in local_var_params and not re.search(r'^[\s\S]*$', local_var_params['filter']): # noqa: E501
3540
+ raise ApiValueError("Invalid value for parameter `filter` when calling `get_portfolio_cash_flows`, must conform to the pattern `/^[\s\S]*$/`") # noqa: E501
3541
+ collection_formats = {}
3542
+
3543
+ path_params = {}
3544
+ if 'scope' in local_var_params:
3545
+ path_params['scope'] = local_var_params['scope'] # noqa: E501
3546
+ if 'code' in local_var_params:
3547
+ path_params['code'] = local_var_params['code'] # noqa: E501
3548
+
3549
+ query_params = []
3550
+ if 'effective_at' in local_var_params and local_var_params['effective_at'] is not None: # noqa: E501
3551
+ query_params.append(('effectiveAt', local_var_params['effective_at'])) # noqa: E501
3552
+ if 'window_start' in local_var_params and local_var_params['window_start'] is not None: # noqa: E501
3553
+ query_params.append(('windowStart', local_var_params['window_start'])) # noqa: E501
3554
+ if 'window_end' in local_var_params and local_var_params['window_end'] is not None: # noqa: E501
3555
+ query_params.append(('windowEnd', local_var_params['window_end'])) # noqa: E501
3556
+ if 'as_at' in local_var_params and local_var_params['as_at'] is not None: # noqa: E501
3557
+ query_params.append(('asAt', local_var_params['as_at'])) # noqa: E501
3558
+ if 'filter' in local_var_params and local_var_params['filter'] is not None: # noqa: E501
3559
+ query_params.append(('filter', local_var_params['filter'])) # noqa: E501
3560
+ if 'recipe_id_scope' in local_var_params and local_var_params['recipe_id_scope'] is not None: # noqa: E501
3561
+ query_params.append(('recipeIdScope', local_var_params['recipe_id_scope'])) # noqa: E501
3562
+ if 'recipe_id_code' in local_var_params and local_var_params['recipe_id_code'] is not None: # noqa: E501
3563
+ query_params.append(('recipeIdCode', local_var_params['recipe_id_code'])) # noqa: E501
3564
+ if 'exclude_unsettled_trades' in local_var_params and local_var_params['exclude_unsettled_trades'] is not None: # noqa: E501
3565
+ query_params.append(('excludeUnsettledTrades', local_var_params['exclude_unsettled_trades'])) # noqa: E501
3566
+
3567
+ header_params = dict(local_var_params.get('_headers', {}))
3568
+
3569
+ form_params = []
3570
+ local_var_files = {}
3571
+
3572
+ body_params = None
3573
+ # HTTP header `Accept`
3574
+ header_params['Accept'] = self.api_client.select_header_accept(
3575
+ ['text/plain', 'application/json', 'text/json']) # noqa: E501
3576
+
3577
+ header_params['Accept-Encoding'] = "gzip, deflate, br"
3578
+
3579
+
3580
+ # set the LUSID header
3581
+ header_params['X-LUSID-SDK-Language'] = 'Python'
3582
+ header_params['X-LUSID-SDK-Version'] = '1.1.171'
3583
+
3584
+ # Authentication setting
3585
+ auth_settings = ['oauth2'] # noqa: E501
3586
+
3587
+ response_types_map = {
3588
+ 200: "ResourceListOfInstrumentCashFlow",
3589
+ 400: "LusidValidationProblemDetails",
3590
+ }
3591
+
3592
+ return self.api_client.call_api(
3593
+ '/api/transactionportfolios/{scope}/{code}/cashflows', 'GET',
3594
+ path_params,
3595
+ query_params,
3596
+ header_params,
3597
+ body=body_params,
3598
+ post_params=form_params,
3599
+ files=local_var_files,
3600
+ response_types_map=response_types_map,
3601
+ auth_settings=auth_settings,
3602
+ async_req=local_var_params.get('async_req'),
3603
+ _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
3604
+ _preload_content=local_var_params.get('_preload_content', True),
3605
+ _request_timeout=local_var_params.get('_request_timeout'),
3606
+ collection_formats=collection_formats,
3607
+ _request_auth=local_var_params.get('_request_auth'))
3608
+
3365
3609
  def get_portfolio_cash_ladder(self, scope, code, from_effective_at, to_effective_at, effective_at, **kwargs): # noqa: E501
3366
3610
  """GetPortfolioCashLadder: Get portfolio cash ladder # noqa: E501
3367
3611
 
@@ -3582,7 +3826,7 @@ class TransactionPortfoliosApi(object):
3582
3826
 
3583
3827
  # set the LUSID header
3584
3828
  header_params['X-LUSID-SDK-Language'] = 'Python'
3585
- header_params['X-LUSID-SDK-Version'] = '1.1.141'
3829
+ header_params['X-LUSID-SDK-Version'] = '1.1.171'
3586
3830
 
3587
3831
  # Authentication setting
3588
3832
  auth_settings = ['oauth2'] # noqa: E501
@@ -3811,7 +4055,7 @@ class TransactionPortfoliosApi(object):
3811
4055
 
3812
4056
  # set the LUSID header
3813
4057
  header_params['X-LUSID-SDK-Language'] = 'Python'
3814
- header_params['X-LUSID-SDK-Version'] = '1.1.141'
4058
+ header_params['X-LUSID-SDK-Version'] = '1.1.171'
3815
4059
 
3816
4060
  # Authentication setting
3817
4061
  auth_settings = ['oauth2'] # noqa: E501
@@ -4000,7 +4244,7 @@ class TransactionPortfoliosApi(object):
4000
4244
 
4001
4245
  # set the LUSID header
4002
4246
  header_params['X-LUSID-SDK-Language'] = 'Python'
4003
- header_params['X-LUSID-SDK-Version'] = '1.1.141'
4247
+ header_params['X-LUSID-SDK-Version'] = '1.1.171'
4004
4248
 
4005
4249
  # Authentication setting
4006
4250
  auth_settings = ['oauth2'] # noqa: E501
@@ -4252,7 +4496,7 @@ class TransactionPortfoliosApi(object):
4252
4496
 
4253
4497
  # set the LUSID header
4254
4498
  header_params['X-LUSID-SDK-Language'] = 'Python'
4255
- header_params['X-LUSID-SDK-Version'] = '1.1.141'
4499
+ header_params['X-LUSID-SDK-Version'] = '1.1.171'
4256
4500
 
4257
4501
  # Authentication setting
4258
4502
  auth_settings = ['oauth2'] # noqa: E501
@@ -4279,6 +4523,241 @@ class TransactionPortfoliosApi(object):
4279
4523
  collection_formats=collection_formats,
4280
4524
  _request_auth=local_var_params.get('_request_auth'))
4281
4525
 
4526
+ def get_upsertable_portfolio_cash_flows(self, scope, code, **kwargs): # noqa: E501
4527
+ """GetUpsertablePortfolioCashFlows: Get upsertable portfolio cash flows. # noqa: E501
4528
+
4529
+ Get the set of cash flows that occur in a window for the given portfolio instruments as a set of upsertable transactions (DTOs). Note that grouping can affect the quantity of information returned; where a holding is an amalgamation of one or more (e.g. cash) instruments, a unique transaction identifier will not be available. The same may go for diagnostic information (e.g. multiple sources of an aggregate cash amount on a date that is not split out. Grouping at the transaction and instrument level is recommended for those seeking to attribute individual flows. In essence this is identical to the 'GetCashFlows' endpoint but returns the cash flows as a set of transactions suitable for directly putting back into LUSID. There are a couple of important points: (1) Internally it can not be fully known where the user wishes to insert these transactions, e.g. portfolio and movement type. These are therefore defaulted to a sensible option; the user will likely need to change these. (2) Similarly, knowledge of any properties the user might wish to add to a transaction are unknown and consequently left empty. (3) The transaction id that is added is simply a concatenation of the original transaction id, instrument id and payment date and direction. The user can happily override this. # noqa: E501
4530
+ This method makes a synchronous HTTP request by default. To make an
4531
+ asynchronous HTTP request, please pass async_req=True
4532
+
4533
+ >>> thread = api.get_upsertable_portfolio_cash_flows(scope, code, async_req=True)
4534
+ >>> result = thread.get()
4535
+
4536
+ :param scope: The scope of the transaction portfolio. (required)
4537
+ :type scope: str
4538
+ :param code: The code of the transaction portfolio. Together with the scope this uniquely identifies the portfolio. (required)
4539
+ :type code: str
4540
+ :param effective_at: The valuation (pricing) effective datetime or cut label (inclusive) at which to evaluate the cashflows. This determines whether cashflows are evaluated in a historic or forward looking context and will, for certain models, affect where data is looked up. For example, on a swap if the effectiveAt is in the middle of the window, cashflows before it will be historic and resets assumed to exist where if the effectiveAt is before the start of the range they are forward looking and will be expectations assuming the model supports that. There is evidently a presumption here about availability of data and that the effectiveAt is realistically on or before the real-world today.
4541
+ :type effective_at: str
4542
+ :param window_start: The lower bound effective datetime or cut label (inclusive) from which to retrieve the cashflows. There is no lower bound if this is not specified. i.e. uses minimum date-time
4543
+ :type window_start: str
4544
+ :param window_end: The upper bound effective datetime or cut label (inclusive) from which to retrieve the cashflows. The upper bound defaults to 'max date' if it is not specified
4545
+ :type window_end: str
4546
+ :param as_at: The asAt datetime at which to retrieve the portfolio. Defaults to return the latest version of each transaction if not specified.
4547
+ :type as_at: datetime
4548
+ :param filter: Expression to filter the result set. For example, to return only transactions with a transaction type of 'Buy', specify \"type eq 'Buy'\". For more information about filtering LUSID results, see https://support.lusid.com/knowledgebase/article/KA-01914.
4549
+ :type filter: str
4550
+ :param recipe_id_scope: The scope of the given recipeId
4551
+ :type recipe_id_scope: str
4552
+ :param recipe_id_code: The code of the given recipeID
4553
+ :type recipe_id_code: str
4554
+ :param exclude_unsettled_trades: If absent or set to true, unsettled trades will be excluded from the result set. If set to false, cashflows will returned based on trade date - more specifically, cashflows from any unsettled trades will be included in the results.
4555
+ :type exclude_unsettled_trades: bool
4556
+ :param async_req: Whether to execute the request asynchronously.
4557
+ :type async_req: bool, optional
4558
+ :param _preload_content: if False, the urllib3.HTTPResponse object will
4559
+ be returned without reading/decoding response
4560
+ data. Default is True.
4561
+ :type _preload_content: bool, optional
4562
+ :param _request_timeout: timeout setting for this request. If one
4563
+ number provided, it will be total request
4564
+ timeout. It can also be a pair (tuple) of
4565
+ (connection, read) timeouts.
4566
+ :return: Returns the result object.
4567
+ If the method is called asynchronously,
4568
+ returns the request thread.
4569
+ :rtype: ResourceListOfTransaction
4570
+ """
4571
+ kwargs['_return_http_data_only'] = True
4572
+ return self.get_upsertable_portfolio_cash_flows_with_http_info(scope, code, **kwargs) # noqa: E501
4573
+
4574
+ def get_upsertable_portfolio_cash_flows_with_http_info(self, scope, code, **kwargs): # noqa: E501
4575
+ """GetUpsertablePortfolioCashFlows: Get upsertable portfolio cash flows. # noqa: E501
4576
+
4577
+ Get the set of cash flows that occur in a window for the given portfolio instruments as a set of upsertable transactions (DTOs). Note that grouping can affect the quantity of information returned; where a holding is an amalgamation of one or more (e.g. cash) instruments, a unique transaction identifier will not be available. The same may go for diagnostic information (e.g. multiple sources of an aggregate cash amount on a date that is not split out. Grouping at the transaction and instrument level is recommended for those seeking to attribute individual flows. In essence this is identical to the 'GetCashFlows' endpoint but returns the cash flows as a set of transactions suitable for directly putting back into LUSID. There are a couple of important points: (1) Internally it can not be fully known where the user wishes to insert these transactions, e.g. portfolio and movement type. These are therefore defaulted to a sensible option; the user will likely need to change these. (2) Similarly, knowledge of any properties the user might wish to add to a transaction are unknown and consequently left empty. (3) The transaction id that is added is simply a concatenation of the original transaction id, instrument id and payment date and direction. The user can happily override this. # noqa: E501
4578
+ This method makes a synchronous HTTP request by default. To make an
4579
+ asynchronous HTTP request, please pass async_req=True
4580
+
4581
+ >>> thread = api.get_upsertable_portfolio_cash_flows_with_http_info(scope, code, async_req=True)
4582
+ >>> result = thread.get()
4583
+
4584
+ :param scope: The scope of the transaction portfolio. (required)
4585
+ :type scope: str
4586
+ :param code: The code of the transaction portfolio. Together with the scope this uniquely identifies the portfolio. (required)
4587
+ :type code: str
4588
+ :param effective_at: The valuation (pricing) effective datetime or cut label (inclusive) at which to evaluate the cashflows. This determines whether cashflows are evaluated in a historic or forward looking context and will, for certain models, affect where data is looked up. For example, on a swap if the effectiveAt is in the middle of the window, cashflows before it will be historic and resets assumed to exist where if the effectiveAt is before the start of the range they are forward looking and will be expectations assuming the model supports that. There is evidently a presumption here about availability of data and that the effectiveAt is realistically on or before the real-world today.
4589
+ :type effective_at: str
4590
+ :param window_start: The lower bound effective datetime or cut label (inclusive) from which to retrieve the cashflows. There is no lower bound if this is not specified. i.e. uses minimum date-time
4591
+ :type window_start: str
4592
+ :param window_end: The upper bound effective datetime or cut label (inclusive) from which to retrieve the cashflows. The upper bound defaults to 'max date' if it is not specified
4593
+ :type window_end: str
4594
+ :param as_at: The asAt datetime at which to retrieve the portfolio. Defaults to return the latest version of each transaction if not specified.
4595
+ :type as_at: datetime
4596
+ :param filter: Expression to filter the result set. For example, to return only transactions with a transaction type of 'Buy', specify \"type eq 'Buy'\". For more information about filtering LUSID results, see https://support.lusid.com/knowledgebase/article/KA-01914.
4597
+ :type filter: str
4598
+ :param recipe_id_scope: The scope of the given recipeId
4599
+ :type recipe_id_scope: str
4600
+ :param recipe_id_code: The code of the given recipeID
4601
+ :type recipe_id_code: str
4602
+ :param exclude_unsettled_trades: If absent or set to true, unsettled trades will be excluded from the result set. If set to false, cashflows will returned based on trade date - more specifically, cashflows from any unsettled trades will be included in the results.
4603
+ :type exclude_unsettled_trades: bool
4604
+ :param async_req: Whether to execute the request asynchronously.
4605
+ :type async_req: bool, optional
4606
+ :param _return_http_data_only: response data without head status code
4607
+ and headers
4608
+ :type _return_http_data_only: bool, optional
4609
+ :param _preload_content: if False, the urllib3.HTTPResponse object will
4610
+ be returned without reading/decoding response
4611
+ data. Default is True.
4612
+ :type _preload_content: bool, optional
4613
+ :param _request_timeout: timeout setting for this request. If one
4614
+ number provided, it will be total request
4615
+ timeout. It can also be a pair (tuple) of
4616
+ (connection, read) timeouts.
4617
+ :param _request_auth: set to override the auth_settings for an a single
4618
+ request; this effectively ignores the authentication
4619
+ in the spec for a single request.
4620
+ :type _request_auth: dict, optional
4621
+ :return: Returns the result object, the HTTP status code, and the headers.
4622
+ If the method is called asynchronously,
4623
+ returns the request thread.
4624
+ :rtype: (ResourceListOfTransaction, int, HTTPHeaderDict)
4625
+ """
4626
+
4627
+ local_var_params = locals()
4628
+
4629
+ all_params = [
4630
+ 'scope',
4631
+ 'code',
4632
+ 'effective_at',
4633
+ 'window_start',
4634
+ 'window_end',
4635
+ 'as_at',
4636
+ 'filter',
4637
+ 'recipe_id_scope',
4638
+ 'recipe_id_code',
4639
+ 'exclude_unsettled_trades'
4640
+ ]
4641
+ all_params.extend(
4642
+ [
4643
+ 'async_req',
4644
+ '_return_http_data_only',
4645
+ '_preload_content',
4646
+ '_request_timeout',
4647
+ '_request_auth',
4648
+ '_headers'
4649
+ ]
4650
+ )
4651
+
4652
+ for key, val in six.iteritems(local_var_params['kwargs']):
4653
+ if key not in all_params:
4654
+ raise ApiTypeError(
4655
+ "Got an unexpected keyword argument '%s'"
4656
+ " to method get_upsertable_portfolio_cash_flows" % key
4657
+ )
4658
+ local_var_params[key] = val
4659
+ del local_var_params['kwargs']
4660
+ # verify the required parameter 'scope' is set
4661
+ if self.api_client.client_side_validation and ('scope' not in local_var_params or # noqa: E501
4662
+ local_var_params['scope'] is None): # noqa: E501
4663
+ raise ApiValueError("Missing the required parameter `scope` when calling `get_upsertable_portfolio_cash_flows`") # noqa: E501
4664
+ # verify the required parameter 'code' is set
4665
+ if self.api_client.client_side_validation and ('code' not in local_var_params or # noqa: E501
4666
+ local_var_params['code'] is None): # noqa: E501
4667
+ raise ApiValueError("Missing the required parameter `code` when calling `get_upsertable_portfolio_cash_flows`") # noqa: E501
4668
+
4669
+ if self.api_client.client_side_validation and ('scope' in local_var_params and # noqa: E501
4670
+ len(local_var_params['scope']) > 64): # noqa: E501
4671
+ raise ApiValueError("Invalid value for parameter `scope` when calling `get_upsertable_portfolio_cash_flows`, length must be less than or equal to `64`") # noqa: E501
4672
+ if self.api_client.client_side_validation and ('scope' in local_var_params and # noqa: E501
4673
+ len(local_var_params['scope']) < 1): # noqa: E501
4674
+ raise ApiValueError("Invalid value for parameter `scope` when calling `get_upsertable_portfolio_cash_flows`, length must be greater than or equal to `1`") # noqa: E501
4675
+ if self.api_client.client_side_validation and 'scope' in local_var_params and not re.search(r'^[a-zA-Z0-9\-_]+$', local_var_params['scope']): # noqa: E501
4676
+ raise ApiValueError("Invalid value for parameter `scope` when calling `get_upsertable_portfolio_cash_flows`, must conform to the pattern `/^[a-zA-Z0-9\-_]+$/`") # noqa: E501
4677
+ if self.api_client.client_side_validation and ('code' in local_var_params and # noqa: E501
4678
+ len(local_var_params['code']) > 64): # noqa: E501
4679
+ raise ApiValueError("Invalid value for parameter `code` when calling `get_upsertable_portfolio_cash_flows`, length must be less than or equal to `64`") # noqa: E501
4680
+ if self.api_client.client_side_validation and ('code' in local_var_params and # noqa: E501
4681
+ len(local_var_params['code']) < 1): # noqa: E501
4682
+ raise ApiValueError("Invalid value for parameter `code` when calling `get_upsertable_portfolio_cash_flows`, length must be greater than or equal to `1`") # noqa: E501
4683
+ if self.api_client.client_side_validation and 'code' in local_var_params and not re.search(r'^[a-zA-Z0-9\-_]+$', local_var_params['code']): # noqa: E501
4684
+ raise ApiValueError("Invalid value for parameter `code` when calling `get_upsertable_portfolio_cash_flows`, must conform to the pattern `/^[a-zA-Z0-9\-_]+$/`") # noqa: E501
4685
+ if self.api_client.client_side_validation and ('filter' in local_var_params and # noqa: E501
4686
+ len(local_var_params['filter']) > 16384): # noqa: E501
4687
+ raise ApiValueError("Invalid value for parameter `filter` when calling `get_upsertable_portfolio_cash_flows`, length must be less than or equal to `16384`") # noqa: E501
4688
+ if self.api_client.client_side_validation and ('filter' in local_var_params and # noqa: E501
4689
+ len(local_var_params['filter']) < 0): # noqa: E501
4690
+ raise ApiValueError("Invalid value for parameter `filter` when calling `get_upsertable_portfolio_cash_flows`, length must be greater than or equal to `0`") # noqa: E501
4691
+ if self.api_client.client_side_validation and 'filter' in local_var_params and not re.search(r'^[\s\S]*$', local_var_params['filter']): # noqa: E501
4692
+ raise ApiValueError("Invalid value for parameter `filter` when calling `get_upsertable_portfolio_cash_flows`, must conform to the pattern `/^[\s\S]*$/`") # noqa: E501
4693
+ collection_formats = {}
4694
+
4695
+ path_params = {}
4696
+ if 'scope' in local_var_params:
4697
+ path_params['scope'] = local_var_params['scope'] # noqa: E501
4698
+ if 'code' in local_var_params:
4699
+ path_params['code'] = local_var_params['code'] # noqa: E501
4700
+
4701
+ query_params = []
4702
+ if 'effective_at' in local_var_params and local_var_params['effective_at'] is not None: # noqa: E501
4703
+ query_params.append(('effectiveAt', local_var_params['effective_at'])) # noqa: E501
4704
+ if 'window_start' in local_var_params and local_var_params['window_start'] is not None: # noqa: E501
4705
+ query_params.append(('windowStart', local_var_params['window_start'])) # noqa: E501
4706
+ if 'window_end' in local_var_params and local_var_params['window_end'] is not None: # noqa: E501
4707
+ query_params.append(('windowEnd', local_var_params['window_end'])) # noqa: E501
4708
+ if 'as_at' in local_var_params and local_var_params['as_at'] is not None: # noqa: E501
4709
+ query_params.append(('asAt', local_var_params['as_at'])) # noqa: E501
4710
+ if 'filter' in local_var_params and local_var_params['filter'] is not None: # noqa: E501
4711
+ query_params.append(('filter', local_var_params['filter'])) # noqa: E501
4712
+ if 'recipe_id_scope' in local_var_params and local_var_params['recipe_id_scope'] is not None: # noqa: E501
4713
+ query_params.append(('recipeIdScope', local_var_params['recipe_id_scope'])) # noqa: E501
4714
+ if 'recipe_id_code' in local_var_params and local_var_params['recipe_id_code'] is not None: # noqa: E501
4715
+ query_params.append(('recipeIdCode', local_var_params['recipe_id_code'])) # noqa: E501
4716
+ if 'exclude_unsettled_trades' in local_var_params and local_var_params['exclude_unsettled_trades'] is not None: # noqa: E501
4717
+ query_params.append(('excludeUnsettledTrades', local_var_params['exclude_unsettled_trades'])) # noqa: E501
4718
+
4719
+ header_params = dict(local_var_params.get('_headers', {}))
4720
+
4721
+ form_params = []
4722
+ local_var_files = {}
4723
+
4724
+ body_params = None
4725
+ # HTTP header `Accept`
4726
+ header_params['Accept'] = self.api_client.select_header_accept(
4727
+ ['text/plain', 'application/json', 'text/json']) # noqa: E501
4728
+
4729
+ header_params['Accept-Encoding'] = "gzip, deflate, br"
4730
+
4731
+
4732
+ # set the LUSID header
4733
+ header_params['X-LUSID-SDK-Language'] = 'Python'
4734
+ header_params['X-LUSID-SDK-Version'] = '1.1.171'
4735
+
4736
+ # Authentication setting
4737
+ auth_settings = ['oauth2'] # noqa: E501
4738
+
4739
+ response_types_map = {
4740
+ 200: "ResourceListOfTransaction",
4741
+ 400: "LusidValidationProblemDetails",
4742
+ }
4743
+
4744
+ return self.api_client.call_api(
4745
+ '/api/transactionportfolios/{scope}/{code}/upsertablecashflows', 'GET',
4746
+ path_params,
4747
+ query_params,
4748
+ header_params,
4749
+ body=body_params,
4750
+ post_params=form_params,
4751
+ files=local_var_files,
4752
+ response_types_map=response_types_map,
4753
+ auth_settings=auth_settings,
4754
+ async_req=local_var_params.get('async_req'),
4755
+ _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
4756
+ _preload_content=local_var_params.get('_preload_content', True),
4757
+ _request_timeout=local_var_params.get('_request_timeout'),
4758
+ collection_formats=collection_formats,
4759
+ _request_auth=local_var_params.get('_request_auth'))
4760
+
4282
4761
  def list_holdings_adjustments(self, scope, code, **kwargs): # noqa: E501
4283
4762
  """ListHoldingsAdjustments: List holdings adjustments # noqa: E501
4284
4763
 
@@ -4444,7 +4923,7 @@ class TransactionPortfoliosApi(object):
4444
4923
 
4445
4924
  # set the LUSID header
4446
4925
  header_params['X-LUSID-SDK-Language'] = 'Python'
4447
- header_params['X-LUSID-SDK-Version'] = '1.1.141'
4926
+ header_params['X-LUSID-SDK-Version'] = '1.1.171'
4448
4927
 
4449
4928
  # Authentication setting
4450
4929
  auth_settings = ['oauth2'] # noqa: E501
@@ -4472,7 +4951,7 @@ class TransactionPortfoliosApi(object):
4472
4951
  _request_auth=local_var_params.get('_request_auth'))
4473
4952
 
4474
4953
  def patch_portfolio_details(self, scope, code, operation, **kwargs): # noqa: E501
4475
- """[EARLY ACCESS] PatchPortfolioDetails: Patch portfolio details # noqa: E501
4954
+ """PatchPortfolioDetails: Patch portfolio details # noqa: E501
4476
4955
 
4477
4956
  Create or update certain details for a particular transaction portfolio. The behaviour is defined by the JSON Patch specification. Note that not all elements of a transaction portfolio definition are modifiable once it has been created due to the potential implications for data already stored. Currently supported properties are: SubHoldingKeys, BaseCurrency, AmortisationMethod # noqa: E501
4478
4957
  This method makes a synchronous HTTP request by default. To make an
@@ -4508,7 +4987,7 @@ class TransactionPortfoliosApi(object):
4508
4987
  return self.patch_portfolio_details_with_http_info(scope, code, operation, **kwargs) # noqa: E501
4509
4988
 
4510
4989
  def patch_portfolio_details_with_http_info(self, scope, code, operation, **kwargs): # noqa: E501
4511
- """[EARLY ACCESS] PatchPortfolioDetails: Patch portfolio details # noqa: E501
4990
+ """PatchPortfolioDetails: Patch portfolio details # noqa: E501
4512
4991
 
4513
4992
  Create or update certain details for a particular transaction portfolio. The behaviour is defined by the JSON Patch specification. Note that not all elements of a transaction portfolio definition are modifiable once it has been created due to the potential implications for data already stored. Currently supported properties are: SubHoldingKeys, BaseCurrency, AmortisationMethod # noqa: E501
4514
4993
  This method makes a synchronous HTTP request by default. To make an
@@ -4636,7 +5115,7 @@ class TransactionPortfoliosApi(object):
4636
5115
 
4637
5116
  # set the LUSID header
4638
5117
  header_params['X-LUSID-SDK-Language'] = 'Python'
4639
- header_params['X-LUSID-SDK-Version'] = '1.1.141'
5118
+ header_params['X-LUSID-SDK-Version'] = '1.1.171'
4640
5119
 
4641
5120
  # Authentication setting
4642
5121
  auth_settings = ['oauth2'] # noqa: E501
@@ -4853,7 +5332,7 @@ class TransactionPortfoliosApi(object):
4853
5332
 
4854
5333
  # set the LUSID header
4855
5334
  header_params['X-LUSID-SDK-Language'] = 'Python'
4856
- header_params['X-LUSID-SDK-Version'] = '1.1.141'
5335
+ header_params['X-LUSID-SDK-Version'] = '1.1.171'
4857
5336
 
4858
5337
  # Authentication setting
4859
5338
  auth_settings = ['oauth2'] # noqa: E501
@@ -5057,7 +5536,7 @@ class TransactionPortfoliosApi(object):
5057
5536
 
5058
5537
  # set the LUSID header
5059
5538
  header_params['X-LUSID-SDK-Language'] = 'Python'
5060
- header_params['X-LUSID-SDK-Version'] = '1.1.141'
5539
+ header_params['X-LUSID-SDK-Version'] = '1.1.171'
5061
5540
 
5062
5541
  # Authentication setting
5063
5542
  auth_settings = ['oauth2'] # noqa: E501
@@ -5249,7 +5728,7 @@ class TransactionPortfoliosApi(object):
5249
5728
 
5250
5729
  # set the LUSID header
5251
5730
  header_params['X-LUSID-SDK-Language'] = 'Python'
5252
- header_params['X-LUSID-SDK-Version'] = '1.1.141'
5731
+ header_params['X-LUSID-SDK-Version'] = '1.1.171'
5253
5732
 
5254
5733
  # Authentication setting
5255
5734
  auth_settings = ['oauth2'] # noqa: E501
@@ -5445,7 +5924,7 @@ class TransactionPortfoliosApi(object):
5445
5924
 
5446
5925
  # set the LUSID header
5447
5926
  header_params['X-LUSID-SDK-Language'] = 'Python'
5448
- header_params['X-LUSID-SDK-Version'] = '1.1.141'
5927
+ header_params['X-LUSID-SDK-Version'] = '1.1.171'
5449
5928
 
5450
5929
  # Authentication setting
5451
5930
  auth_settings = ['oauth2'] # noqa: E501
@@ -5637,7 +6116,7 @@ class TransactionPortfoliosApi(object):
5637
6116
 
5638
6117
  # set the LUSID header
5639
6118
  header_params['X-LUSID-SDK-Language'] = 'Python'
5640
- header_params['X-LUSID-SDK-Version'] = '1.1.141'
6119
+ header_params['X-LUSID-SDK-Version'] = '1.1.171'
5641
6120
 
5642
6121
  # Authentication setting
5643
6122
  auth_settings = ['oauth2'] # noqa: E501