lusid-sdk 2.1.405__py3-none-any.whl → 2.1.537__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (294) hide show
  1. lusid/__init__.py +142 -8
  2. lusid/api/__init__.py +2 -2
  3. lusid/api/abor_api.py +126 -133
  4. lusid/api/abor_configuration_api.py +46 -45
  5. lusid/api/address_key_definition_api.py +28 -27
  6. lusid/api/aggregation_api.py +37 -36
  7. lusid/api/allocations_api.py +39 -38
  8. lusid/api/amortisation_rule_sets_api.py +55 -54
  9. lusid/api/application_metadata_api.py +28 -27
  10. lusid/api/blocks_api.py +37 -36
  11. lusid/api/calendars_api.py +469 -111
  12. lusid/api/chart_of_accounts_api.py +454 -279
  13. lusid/api/complex_market_data_api.py +37 -36
  14. lusid/api/compliance_api.py +136 -135
  15. lusid/api/configuration_recipe_api.py +100 -99
  16. lusid/api/conventions_api.py +109 -108
  17. lusid/api/corporate_action_sources_api.py +82 -81
  18. lusid/api/counterparties_api.py +73 -72
  19. lusid/api/custom_entities_api.py +102 -101
  20. lusid/api/custom_entity_definitions_api.py +37 -36
  21. lusid/api/custom_entity_types_api.py +37 -36
  22. lusid/api/cut_label_definitions_api.py +46 -45
  23. lusid/api/data_types_api.py +248 -72
  24. lusid/api/derived_transaction_portfolios_api.py +19 -18
  25. lusid/api/entities_api.py +431 -46
  26. lusid/api/executions_api.py +37 -36
  27. lusid/api/fee_types_api.py +55 -54
  28. lusid/api/{fund_configurations_api.py → fund_configuration_api.py} +222 -46
  29. lusid/api/funds_api.py +337 -162
  30. lusid/api/group_reconciliations_api.py +2182 -63
  31. lusid/api/instrument_event_types_api.py +64 -63
  32. lusid/api/instrument_events_api.py +46 -45
  33. lusid/api/instruments_api.py +374 -186
  34. lusid/api/legacy_compliance_api.py +73 -72
  35. lusid/api/legal_entities_api.py +167 -166
  36. lusid/api/order_graph_api.py +32 -31
  37. lusid/api/order_instructions_api.py +37 -36
  38. lusid/api/order_management_api.py +251 -90
  39. lusid/api/orders_api.py +37 -36
  40. lusid/api/packages_api.py +37 -36
  41. lusid/api/participations_api.py +37 -36
  42. lusid/api/persons_api.py +163 -162
  43. lusid/api/placements_api.py +37 -36
  44. lusid/api/portfolio_groups_api.py +235 -234
  45. lusid/api/portfolios_api.py +307 -309
  46. lusid/api/property_definitions_api.py +100 -99
  47. lusid/api/queryable_keys_api.py +10 -9
  48. lusid/api/quotes_api.py +82 -81
  49. lusid/api/reconciliations_api.py +136 -135
  50. lusid/api/reference_lists_api.py +39 -38
  51. lusid/api/reference_portfolio_api.py +213 -36
  52. lusid/api/relation_definitions_api.py +28 -27
  53. lusid/api/relations_api.py +19 -18
  54. lusid/api/relationship_definitions_api.py +46 -45
  55. lusid/api/relationships_api.py +19 -18
  56. lusid/api/schemas_api.py +37 -36
  57. lusid/api/scopes_api.py +19 -18
  58. lusid/api/scripted_translation_api.py +73 -72
  59. lusid/api/search_api.py +37 -36
  60. lusid/api/sequences_api.py +37 -36
  61. lusid/api/staged_modifications_api.py +37 -36
  62. lusid/api/staging_rule_set_api.py +46 -45
  63. lusid/api/structured_result_data_api.py +82 -81
  64. lusid/api/system_configuration_api.py +64 -63
  65. lusid/api/tax_rule_sets_api.py +46 -45
  66. lusid/api/transaction_configuration_api.py +100 -99
  67. lusid/api/transaction_fees_api.py +46 -45
  68. lusid/api/transaction_portfolios_api.py +771 -328
  69. lusid/api/translation_api.py +19 -18
  70. lusid/api/workspace_api.py +181 -180
  71. lusid/api_client.py +26 -17
  72. lusid/configuration.py +87 -2
  73. lusid/extensions/api_client.py +25 -17
  74. lusid/extensions/api_client_factory.py +14 -5
  75. lusid/extensions/api_configuration.py +50 -1
  76. lusid/extensions/configuration_loaders.py +39 -11
  77. lusid/extensions/configuration_options.py +67 -0
  78. lusid/extensions/rest.py +78 -26
  79. lusid/extensions/retry.py +109 -37
  80. lusid/models/__init__.py +140 -6
  81. lusid/models/access_metadata_value.py +1 -1
  82. lusid/models/accounting_method.py +7 -0
  83. lusid/models/accumulation_event.py +3 -3
  84. lusid/models/address_key_list.py +3 -3
  85. lusid/models/amortisation_event.py +3 -3
  86. lusid/models/amount.py +69 -0
  87. lusid/models/applicable_instrument_event.py +7 -2
  88. lusid/models/asset_leg.py +1 -1
  89. lusid/models/basket.py +3 -3
  90. lusid/models/batch_update_user_review_for_comparison_result_request.py +81 -0
  91. lusid/models/batch_update_user_review_for_comparison_result_response.py +146 -0
  92. lusid/models/batch_upsert_dates_for_calendar_response.py +146 -0
  93. lusid/models/batch_upsert_portfolio_access_metadata_request.py +27 -17
  94. lusid/models/batch_upsert_portfolio_access_metadata_response.py +56 -16
  95. lusid/models/{metadata_key_value.py → batch_upsert_portfolio_access_metadata_response_item.py} +15 -9
  96. lusid/models/bond.py +3 -3
  97. lusid/models/bond_coupon_event.py +10 -5
  98. lusid/models/bond_default_event.py +3 -3
  99. lusid/models/bond_principal_event.py +10 -5
  100. lusid/models/bonus_issue_event.py +166 -0
  101. lusid/models/{component_rule.py → break_code_source.py} +17 -21
  102. lusid/models/call_on_intermediate_securities_event.py +139 -0
  103. lusid/models/cancel_order_and_move_remaining_result.py +84 -0
  104. lusid/models/cancel_orders_and_move_remaining_request.py +83 -0
  105. lusid/models/cancel_orders_and_move_remaining_response.py +153 -0
  106. lusid/models/cap_floor.py +3 -3
  107. lusid/models/capital_distribution_event.py +3 -3
  108. lusid/models/cash.py +3 -3
  109. lusid/models/cash_dividend_event.py +3 -3
  110. lusid/models/cash_flow_event.py +3 -3
  111. lusid/models/cash_perpetual.py +3 -3
  112. lusid/models/cds_credit_event.py +6 -6
  113. lusid/models/cds_index.py +3 -3
  114. lusid/models/cdx_credit_event.py +6 -6
  115. lusid/models/change_interval.py +123 -0
  116. lusid/models/change_interval_with_order_management_detail.py +3 -3
  117. lusid/models/close_event.py +3 -3
  118. lusid/models/comparison_attribute_value_pair.py +71 -0
  119. lusid/models/complex_bond.py +3 -3
  120. lusid/models/component_transaction.py +10 -3
  121. lusid/models/contract_for_difference.py +3 -3
  122. lusid/models/create_derived_transaction_portfolio_request.py +3 -3
  123. lusid/models/create_group_reconciliation_definition_request.py +113 -0
  124. lusid/models/create_staging_rule_set_request.py +1 -6
  125. lusid/models/create_transaction_portfolio_request.py +3 -3
  126. lusid/models/credit_default_swap.py +3 -3
  127. lusid/models/credit_premium_cash_flow_event.py +3 -3
  128. lusid/models/custodian_account_request.py +1 -1
  129. lusid/models/custom_entity_entity.py +146 -0
  130. lusid/models/custom_entity_response.py +7 -1
  131. lusid/models/decimal_list.py +3 -3
  132. lusid/models/delete_instrument_properties_response.py +7 -1
  133. lusid/models/delete_instrument_response.py +7 -1
  134. lusid/models/delete_instruments_response.py +22 -1
  135. lusid/models/deleted_entity_response.py +7 -1
  136. lusid/models/diary_entry_request.py +10 -1
  137. lusid/models/dividend_option_event.py +3 -3
  138. lusid/models/dividend_reinvestment_event.py +9 -4
  139. lusid/models/effective_range.py +71 -0
  140. lusid/models/equity.py +3 -3
  141. lusid/models/equity_option.py +22 -7
  142. lusid/models/equity_swap.py +3 -3
  143. lusid/models/exchange_traded_option.py +3 -3
  144. lusid/models/exchange_traded_option_contract_details.py +1 -1
  145. lusid/models/exercise_event.py +3 -3
  146. lusid/models/exotic_instrument.py +3 -3
  147. lusid/models/expiry_event.py +3 -3
  148. lusid/models/fee.py +17 -10
  149. lusid/models/fee_request.py +20 -13
  150. lusid/models/fee_type.py +4 -4
  151. lusid/models/fee_type_request.py +3 -3
  152. lusid/models/fixed_leg.py +3 -3
  153. lusid/models/fixed_schedule.py +3 -3
  154. lusid/models/flexible_loan.py +3 -3
  155. lusid/models/float_schedule.py +4 -4
  156. lusid/models/floating_leg.py +3 -3
  157. lusid/models/flow_conventions.py +7 -1
  158. lusid/models/forward_rate_agreement.py +3 -3
  159. lusid/models/fund_configuration.py +44 -17
  160. lusid/models/fund_configuration_request.py +31 -19
  161. lusid/models/fund_id_list.py +99 -0
  162. lusid/models/fund_share_class.py +23 -8
  163. lusid/models/funding_leg.py +3 -3
  164. lusid/models/future.py +3 -3
  165. lusid/models/future_expiry_event.py +3 -3
  166. lusid/models/fx_forward.py +3 -3
  167. lusid/models/fx_forward_settlement_event.py +3 -3
  168. lusid/models/fx_option.py +3 -3
  169. lusid/models/fx_swap.py +3 -3
  170. lusid/models/group_reconciliation_aggregate_attribute_rule.py +2 -2
  171. lusid/models/group_reconciliation_aggregate_attribute_values.py +86 -0
  172. lusid/models/group_reconciliation_aggregate_comparison_rule_operand.py +1 -1
  173. lusid/models/group_reconciliation_comparison_result.py +148 -0
  174. lusid/models/group_reconciliation_core_attribute_values.py +86 -0
  175. lusid/models/group_reconciliation_core_comparison_rule_operand.py +1 -1
  176. lusid/models/group_reconciliation_date_pair.py +81 -0
  177. lusid/models/group_reconciliation_dates.py +78 -0
  178. lusid/models/group_reconciliation_definition.py +136 -0
  179. lusid/models/group_reconciliation_definition_comparison_ruleset_ids.py +83 -0
  180. lusid/models/group_reconciliation_definition_currencies.py +71 -0
  181. lusid/models/group_reconciliation_definition_portfolio_entity_ids.py +86 -0
  182. lusid/models/group_reconciliation_definition_recipe_ids.py +78 -0
  183. lusid/models/group_reconciliation_instance_id.py +71 -0
  184. lusid/models/group_reconciliation_result_statuses.py +89 -0
  185. lusid/models/group_reconciliation_result_types.py +96 -0
  186. lusid/models/group_reconciliation_review_statuses.py +96 -0
  187. lusid/models/group_reconciliation_run_details.py +76 -0
  188. lusid/models/group_reconciliation_run_request.py +75 -0
  189. lusid/models/{metadata_key_value_response.py → group_reconciliation_run_response.py} +20 -29
  190. lusid/models/group_reconciliation_summary.py +121 -0
  191. lusid/models/group_reconciliation_user_review.py +112 -0
  192. lusid/models/group_reconciliation_user_review_add.py +88 -0
  193. lusid/models/group_reconciliation_user_review_break_code.py +80 -0
  194. lusid/models/group_reconciliation_user_review_comment.py +80 -0
  195. lusid/models/group_reconciliation_user_review_match_key.py +80 -0
  196. lusid/models/group_reconciliation_user_review_remove.py +88 -0
  197. lusid/models/holding_contributor.py +11 -4
  198. lusid/models/holding_ids_request.py +69 -0
  199. lusid/models/inflation_leg.py +3 -3
  200. lusid/models/inflation_linked_bond.py +3 -3
  201. lusid/models/inflation_swap.py +3 -3
  202. lusid/models/informational_error_event.py +3 -3
  203. lusid/models/informational_event.py +3 -3
  204. lusid/models/instrument.py +7 -1
  205. lusid/models/instrument_definition.py +8 -2
  206. lusid/models/instrument_event.py +17 -5
  207. lusid/models/instrument_event_holder.py +9 -1
  208. lusid/models/instrument_event_type.py +12 -0
  209. lusid/models/instrument_leg.py +3 -3
  210. lusid/models/instrument_list.py +3 -3
  211. lusid/models/instrument_type.py +2 -0
  212. lusid/models/interest_rate_swap.py +3 -3
  213. lusid/models/interest_rate_swaption.py +3 -3
  214. lusid/models/intermediate_securities_distribution_event.py +140 -0
  215. lusid/models/lapse_election.py +73 -0
  216. lusid/models/loan_facility.py +97 -0
  217. lusid/models/lusid_instrument.py +7 -5
  218. lusid/models/market_data_key_rule.py +5 -3
  219. lusid/models/market_data_specific_rule.py +5 -3
  220. lusid/models/mastered_instrument.py +139 -0
  221. lusid/models/maturity_event.py +3 -3
  222. lusid/models/mbs_coupon_event.py +102 -0
  223. lusid/models/mbs_interest_deferral_event.py +102 -0
  224. lusid/models/mbs_interest_shortfall_event.py +102 -0
  225. lusid/models/mbs_principal_event.py +102 -0
  226. lusid/models/mbs_principal_write_off_event.py +102 -0
  227. lusid/models/merger_event.py +22 -22
  228. lusid/models/new_instrument.py +1 -1
  229. lusid/models/open_event.py +3 -3
  230. lusid/models/option_exercise_cash_event.py +144 -0
  231. lusid/models/option_exercise_election.py +73 -0
  232. lusid/models/option_exercise_physical_event.py +149 -0
  233. lusid/models/output_transaction.py +9 -2
  234. lusid/models/paged_resource_list_of_group_reconciliation_comparison_result.py +113 -0
  235. lusid/models/paged_resource_list_of_group_reconciliation_comparison_ruleset.py +113 -0
  236. lusid/models/paged_resource_list_of_group_reconciliation_definition.py +113 -0
  237. lusid/models/portfolio.py +3 -3
  238. lusid/models/portfolio_details.py +3 -3
  239. lusid/models/portfolio_group_id_list.py +3 -3
  240. lusid/models/portfolio_id_list.py +3 -3
  241. lusid/models/portfolio_without_href.py +3 -3
  242. lusid/models/pricing_options.py +8 -2
  243. lusid/models/property_list.py +3 -3
  244. lusid/models/protection_payout_cash_flow_event.py +102 -0
  245. lusid/models/raw_vendor_event.py +3 -3
  246. lusid/models/reference_instrument.py +3 -3
  247. lusid/models/reference_list.py +6 -5
  248. lusid/models/reference_list_type.py +1 -0
  249. lusid/models/repo.py +3 -3
  250. lusid/models/reset_event.py +3 -3
  251. lusid/models/resource_list_of_change_interval.py +113 -0
  252. lusid/models/resource_list_of_output_transaction.py +113 -0
  253. lusid/models/return_zero_pv_options.py +69 -0
  254. lusid/models/reverse_stock_split_event.py +21 -7
  255. lusid/models/scrip_dividend_event.py +3 -3
  256. lusid/models/settlement_cycle.py +79 -0
  257. lusid/models/share_class_dealing_breakdown.py +3 -2
  258. lusid/models/share_class_details.py +18 -1
  259. lusid/models/simple_cash_flow_loan.py +3 -3
  260. lusid/models/simple_instrument.py +3 -3
  261. lusid/models/simple_rounding_convention.py +76 -0
  262. lusid/models/spin_off_event.py +3 -3
  263. lusid/models/staged_modification_effective_range.py +2 -2
  264. lusid/models/stock_dividend_event.py +20 -6
  265. lusid/models/stock_split_event.py +3 -3
  266. lusid/models/string_list.py +3 -3
  267. lusid/models/swap_cash_flow_event.py +3 -3
  268. lusid/models/swap_principal_event.py +3 -3
  269. lusid/models/target_tax_lot.py +23 -2
  270. lusid/models/target_tax_lot_request.py +23 -2
  271. lusid/models/tender_event.py +172 -0
  272. lusid/models/term_deposit.py +3 -3
  273. lusid/models/total_return_swap.py +4 -4
  274. lusid/models/transaction.py +9 -2
  275. lusid/models/transaction_date_windows.py +85 -0
  276. lusid/models/transaction_price.py +3 -3
  277. lusid/models/transaction_price_type.py +2 -0
  278. lusid/models/transaction_request.py +9 -2
  279. lusid/models/transition_event.py +3 -3
  280. lusid/models/trigger_event.py +3 -3
  281. lusid/models/update_fee_type_request.py +4 -4
  282. lusid/models/update_group_reconciliation_comparison_ruleset_request.py +91 -0
  283. lusid/models/update_group_reconciliation_definition_request.py +107 -0
  284. lusid/models/update_reference_data_request.py +87 -0
  285. lusid/models/update_staging_rule_set_request.py +1 -6
  286. lusid/models/upsert_custom_entities_response.py +20 -1
  287. lusid/models/upsert_reference_portfolio_constituent_properties_request.py +84 -0
  288. lusid/models/upsert_reference_portfolio_constituent_properties_response.py +115 -0
  289. lusid/models/valuation_point_data_query_parameters.py +3 -3
  290. lusid/models/valuation_point_data_response.py +8 -13
  291. lusid/rest.py +70 -20
  292. {lusid_sdk-2.1.405.dist-info → lusid_sdk-2.1.537.dist-info}/METADATA +118 -26
  293. {lusid_sdk-2.1.405.dist-info → lusid_sdk-2.1.537.dist-info}/RECORD +294 -226
  294. {lusid_sdk-2.1.405.dist-info → lusid_sdk-2.1.537.dist-info}/WHEEL +0 -0
@@ -42,6 +42,7 @@ from lusid.models.custodian_account_request import CustodianAccountRequest
42
42
  from lusid.models.custodian_accounts_upsert_response import CustodianAccountsUpsertResponse
43
43
  from lusid.models.delete_custodian_accounts_response import DeleteCustodianAccountsResponse
44
44
  from lusid.models.deleted_entity_response import DeletedEntityResponse
45
+ from lusid.models.holding_ids_request import HoldingIdsRequest
45
46
  from lusid.models.holdings_adjustment import HoldingsAdjustment
46
47
  from lusid.models.lusid_trade_ticket import LusidTradeTicket
47
48
  from lusid.models.model_property import ModelProperty
@@ -54,6 +55,7 @@ from lusid.models.resource_id import ResourceId
54
55
  from lusid.models.resource_list_of_change_history import ResourceListOfChangeHistory
55
56
  from lusid.models.resource_list_of_holdings_adjustment_header import ResourceListOfHoldingsAdjustmentHeader
56
57
  from lusid.models.resource_list_of_instrument_cash_flow import ResourceListOfInstrumentCashFlow
58
+ from lusid.models.resource_list_of_output_transaction import ResourceListOfOutputTransaction
57
59
  from lusid.models.resource_list_of_portfolio_cash_flow import ResourceListOfPortfolioCashFlow
58
60
  from lusid.models.resource_list_of_portfolio_cash_ladder import ResourceListOfPortfolioCashLadder
59
61
  from lusid.models.resource_list_of_transaction import ResourceListOfTransaction
@@ -75,6 +77,7 @@ from lusid.exceptions import ( # noqa: F401
75
77
  ApiTypeError,
76
78
  ApiValueError
77
79
  )
80
+ from lusid.extensions.configuration_options import ConfigurationOptions
78
81
 
79
82
 
80
83
  class TransactionPortfoliosApi:
@@ -120,10 +123,9 @@ class TransactionPortfoliosApi:
120
123
  :type reconciliation_methods: List[str]
121
124
  :param async_req: Whether to execute the request asynchronously.
122
125
  :type async_req: bool, optional
123
- :param _request_timeout: timeout setting for this request.
124
- If one number provided, it will be total request
125
- timeout. It can also be a pair (tuple) of
126
- (connection, read) timeouts.
126
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
127
+ :param opts: Configuration options for this request
128
+ :type opts: ConfigurationOptions, optional
127
129
  :return: Returns the result object.
128
130
  If the method is called asynchronously,
129
131
  returns the request thread.
@@ -168,10 +170,9 @@ class TransactionPortfoliosApi:
168
170
  :param _return_http_data_only: response data instead of ApiResponse
169
171
  object with status code, headers, etc
170
172
  :type _return_http_data_only: bool, optional
171
- :param _request_timeout: timeout setting for this request. If one
172
- number provided, it will be total request
173
- timeout. It can also be a pair (tuple) of
174
- (connection, read) timeouts.
173
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
174
+ :param opts: Configuration options for this request
175
+ :type opts: ConfigurationOptions, optional
175
176
  :param _request_auth: set to override the auth_settings for an a single
176
177
  request; this effectively ignores the authentication
177
178
  in the spec for a single request.
@@ -200,7 +201,8 @@ class TransactionPortfoliosApi:
200
201
  '_request_timeout',
201
202
  '_request_auth',
202
203
  '_content_type',
203
- '_headers'
204
+ '_headers',
205
+ 'opts'
204
206
  ]
205
207
  )
206
208
 
@@ -277,6 +279,7 @@ class TransactionPortfoliosApi:
277
279
  _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
278
280
  _preload_content=_params.get('_preload_content', True),
279
281
  _request_timeout=_params.get('_request_timeout'),
282
+ opts=_params.get('opts'),
280
283
  collection_formats=_collection_formats,
281
284
  _request_auth=_params.get('_request_auth'))
282
285
 
@@ -311,10 +314,9 @@ class TransactionPortfoliosApi:
311
314
  :type reconciliation_methods: List[str]
312
315
  :param async_req: Whether to execute the request asynchronously.
313
316
  :type async_req: bool, optional
314
- :param _request_timeout: timeout setting for this request.
315
- If one number provided, it will be total request
316
- timeout. It can also be a pair (tuple) of
317
- (connection, read) timeouts.
317
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
318
+ :param opts: Configuration options for this request
319
+ :type opts: ConfigurationOptions, optional
318
320
  :return: Returns the result object.
319
321
  If the method is called asynchronously,
320
322
  returns the request thread.
@@ -359,10 +361,9 @@ class TransactionPortfoliosApi:
359
361
  :param _return_http_data_only: response data instead of ApiResponse
360
362
  object with status code, headers, etc
361
363
  :type _return_http_data_only: bool, optional
362
- :param _request_timeout: timeout setting for this request. If one
363
- number provided, it will be total request
364
- timeout. It can also be a pair (tuple) of
365
- (connection, read) timeouts.
364
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
365
+ :param opts: Configuration options for this request
366
+ :type opts: ConfigurationOptions, optional
366
367
  :param _request_auth: set to override the auth_settings for an a single
367
368
  request; this effectively ignores the authentication
368
369
  in the spec for a single request.
@@ -391,7 +392,8 @@ class TransactionPortfoliosApi:
391
392
  '_request_timeout',
392
393
  '_request_auth',
393
394
  '_content_type',
394
- '_headers'
395
+ '_headers',
396
+ 'opts'
395
397
  ]
396
398
  )
397
399
 
@@ -468,6 +470,7 @@ class TransactionPortfoliosApi:
468
470
  _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
469
471
  _preload_content=_params.get('_preload_content', True),
470
472
  _request_timeout=_params.get('_request_timeout'),
473
+ opts=_params.get('opts'),
471
474
  collection_formats=_collection_formats,
472
475
  _request_auth=_params.get('_request_auth'))
473
476
 
@@ -498,10 +501,9 @@ class TransactionPortfoliosApi:
498
501
  :type lusid_trade_ticket: List[LusidTradeTicket]
499
502
  :param async_req: Whether to execute the request asynchronously.
500
503
  :type async_req: bool, optional
501
- :param _request_timeout: timeout setting for this request.
502
- If one number provided, it will be total request
503
- timeout. It can also be a pair (tuple) of
504
- (connection, read) timeouts.
504
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
505
+ :param opts: Configuration options for this request
506
+ :type opts: ConfigurationOptions, optional
505
507
  :return: Returns the result object.
506
508
  If the method is called asynchronously,
507
509
  returns the request thread.
@@ -542,10 +544,9 @@ class TransactionPortfoliosApi:
542
544
  :param _return_http_data_only: response data instead of ApiResponse
543
545
  object with status code, headers, etc
544
546
  :type _return_http_data_only: bool, optional
545
- :param _request_timeout: timeout setting for this request. If one
546
- number provided, it will be total request
547
- timeout. It can also be a pair (tuple) of
548
- (connection, read) timeouts.
547
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
548
+ :param opts: Configuration options for this request
549
+ :type opts: ConfigurationOptions, optional
549
550
  :param _request_auth: set to override the auth_settings for an a single
550
551
  request; this effectively ignores the authentication
551
552
  in the spec for a single request.
@@ -572,7 +573,8 @@ class TransactionPortfoliosApi:
572
573
  '_request_timeout',
573
574
  '_request_auth',
574
575
  '_content_type',
575
- '_headers'
576
+ '_headers',
577
+ 'opts'
576
578
  ]
577
579
  )
578
580
 
@@ -642,6 +644,7 @@ class TransactionPortfoliosApi:
642
644
  _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
643
645
  _preload_content=_params.get('_preload_content', True),
644
646
  _request_timeout=_params.get('_request_timeout'),
647
+ opts=_params.get('opts'),
645
648
  collection_formats=_collection_formats,
646
649
  _request_auth=_params.get('_request_auth'))
647
650
 
@@ -676,10 +679,9 @@ class TransactionPortfoliosApi:
676
679
  :type preserve_properties: bool
677
680
  :param async_req: Whether to execute the request asynchronously.
678
681
  :type async_req: bool, optional
679
- :param _request_timeout: timeout setting for this request.
680
- If one number provided, it will be total request
681
- timeout. It can also be a pair (tuple) of
682
- (connection, read) timeouts.
682
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
683
+ :param opts: Configuration options for this request
684
+ :type opts: ConfigurationOptions, optional
683
685
  :return: Returns the result object.
684
686
  If the method is called asynchronously,
685
687
  returns the request thread.
@@ -724,10 +726,9 @@ class TransactionPortfoliosApi:
724
726
  :param _return_http_data_only: response data instead of ApiResponse
725
727
  object with status code, headers, etc
726
728
  :type _return_http_data_only: bool, optional
727
- :param _request_timeout: timeout setting for this request. If one
728
- number provided, it will be total request
729
- timeout. It can also be a pair (tuple) of
730
- (connection, read) timeouts.
729
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
730
+ :param opts: Configuration options for this request
731
+ :type opts: ConfigurationOptions, optional
731
732
  :param _request_auth: set to override the auth_settings for an a single
732
733
  request; this effectively ignores the authentication
733
734
  in the spec for a single request.
@@ -756,7 +757,8 @@ class TransactionPortfoliosApi:
756
757
  '_request_timeout',
757
758
  '_request_auth',
758
759
  '_content_type',
759
- '_headers'
760
+ '_headers',
761
+ 'opts'
760
762
  ]
761
763
  )
762
764
 
@@ -832,6 +834,7 @@ class TransactionPortfoliosApi:
832
834
  _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
833
835
  _preload_content=_params.get('_preload_content', True),
834
836
  _request_timeout=_params.get('_request_timeout'),
837
+ opts=_params.get('opts'),
835
838
  collection_formats=_collection_formats,
836
839
  _request_auth=_params.get('_request_auth'))
837
840
 
@@ -872,10 +875,9 @@ class TransactionPortfoliosApi:
872
875
  :type page: str
873
876
  :param async_req: Whether to execute the request asynchronously.
874
877
  :type async_req: bool, optional
875
- :param _request_timeout: timeout setting for this request.
876
- If one number provided, it will be total request
877
- timeout. It can also be a pair (tuple) of
878
- (connection, read) timeouts.
878
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
879
+ :param opts: Configuration options for this request
880
+ :type opts: ConfigurationOptions, optional
879
881
  :return: Returns the result object.
880
882
  If the method is called asynchronously,
881
883
  returns the request thread.
@@ -926,10 +928,9 @@ class TransactionPortfoliosApi:
926
928
  :param _return_http_data_only: response data instead of ApiResponse
927
929
  object with status code, headers, etc
928
930
  :type _return_http_data_only: bool, optional
929
- :param _request_timeout: timeout setting for this request. If one
930
- number provided, it will be total request
931
- timeout. It can also be a pair (tuple) of
932
- (connection, read) timeouts.
931
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
932
+ :param opts: Configuration options for this request
933
+ :type opts: ConfigurationOptions, optional
933
934
  :param _request_auth: set to override the auth_settings for an a single
934
935
  request; this effectively ignores the authentication
935
936
  in the spec for a single request.
@@ -961,7 +962,8 @@ class TransactionPortfoliosApi:
961
962
  '_request_timeout',
962
963
  '_request_auth',
963
964
  '_content_type',
964
- '_headers'
965
+ '_headers',
966
+ 'opts'
965
967
  ]
966
968
  )
967
969
 
@@ -1050,6 +1052,7 @@ class TransactionPortfoliosApi:
1050
1052
  _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
1051
1053
  _preload_content=_params.get('_preload_content', True),
1052
1054
  _request_timeout=_params.get('_request_timeout'),
1055
+ opts=_params.get('opts'),
1053
1056
  collection_formats=_collection_formats,
1054
1057
  _request_auth=_params.get('_request_auth'))
1055
1058
 
@@ -1080,10 +1083,9 @@ class TransactionPortfoliosApi:
1080
1083
  :type effective_at: str
1081
1084
  :param async_req: Whether to execute the request asynchronously.
1082
1085
  :type async_req: bool, optional
1083
- :param _request_timeout: timeout setting for this request.
1084
- If one number provided, it will be total request
1085
- timeout. It can also be a pair (tuple) of
1086
- (connection, read) timeouts.
1086
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
1087
+ :param opts: Configuration options for this request
1088
+ :type opts: ConfigurationOptions, optional
1087
1089
  :return: Returns the result object.
1088
1090
  If the method is called asynchronously,
1089
1091
  returns the request thread.
@@ -1124,10 +1126,9 @@ class TransactionPortfoliosApi:
1124
1126
  :param _return_http_data_only: response data instead of ApiResponse
1125
1127
  object with status code, headers, etc
1126
1128
  :type _return_http_data_only: bool, optional
1127
- :param _request_timeout: timeout setting for this request. If one
1128
- number provided, it will be total request
1129
- timeout. It can also be a pair (tuple) of
1130
- (connection, read) timeouts.
1129
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
1130
+ :param opts: Configuration options for this request
1131
+ :type opts: ConfigurationOptions, optional
1131
1132
  :param _request_auth: set to override the auth_settings for an a single
1132
1133
  request; this effectively ignores the authentication
1133
1134
  in the spec for a single request.
@@ -1154,7 +1155,8 @@ class TransactionPortfoliosApi:
1154
1155
  '_request_timeout',
1155
1156
  '_request_auth',
1156
1157
  '_content_type',
1157
- '_headers'
1158
+ '_headers',
1159
+ 'opts'
1158
1160
  ]
1159
1161
  )
1160
1162
 
@@ -1217,6 +1219,7 @@ class TransactionPortfoliosApi:
1217
1219
  _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
1218
1220
  _preload_content=_params.get('_preload_content', True),
1219
1221
  _request_timeout=_params.get('_request_timeout'),
1222
+ opts=_params.get('opts'),
1220
1223
  collection_formats=_collection_formats,
1221
1224
  _request_auth=_params.get('_request_auth'))
1222
1225
 
@@ -1247,10 +1250,9 @@ class TransactionPortfoliosApi:
1247
1250
  :type transaction_ids: List[str]
1248
1251
  :param async_req: Whether to execute the request asynchronously.
1249
1252
  :type async_req: bool, optional
1250
- :param _request_timeout: timeout setting for this request.
1251
- If one number provided, it will be total request
1252
- timeout. It can also be a pair (tuple) of
1253
- (connection, read) timeouts.
1253
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
1254
+ :param opts: Configuration options for this request
1255
+ :type opts: ConfigurationOptions, optional
1254
1256
  :return: Returns the result object.
1255
1257
  If the method is called asynchronously,
1256
1258
  returns the request thread.
@@ -1291,10 +1293,9 @@ class TransactionPortfoliosApi:
1291
1293
  :param _return_http_data_only: response data instead of ApiResponse
1292
1294
  object with status code, headers, etc
1293
1295
  :type _return_http_data_only: bool, optional
1294
- :param _request_timeout: timeout setting for this request. If one
1295
- number provided, it will be total request
1296
- timeout. It can also be a pair (tuple) of
1297
- (connection, read) timeouts.
1296
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
1297
+ :param opts: Configuration options for this request
1298
+ :type opts: ConfigurationOptions, optional
1298
1299
  :param _request_auth: set to override the auth_settings for an a single
1299
1300
  request; this effectively ignores the authentication
1300
1301
  in the spec for a single request.
@@ -1321,7 +1322,8 @@ class TransactionPortfoliosApi:
1321
1322
  '_request_timeout',
1322
1323
  '_request_auth',
1323
1324
  '_content_type',
1324
- '_headers'
1325
+ '_headers',
1326
+ 'opts'
1325
1327
  ]
1326
1328
  )
1327
1329
 
@@ -1385,6 +1387,7 @@ class TransactionPortfoliosApi:
1385
1387
  _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
1386
1388
  _preload_content=_params.get('_preload_content', True),
1387
1389
  _request_timeout=_params.get('_request_timeout'),
1390
+ opts=_params.get('opts'),
1388
1391
  collection_formats=_collection_formats,
1389
1392
  _request_auth=_params.get('_request_auth'))
1390
1393
 
@@ -1413,10 +1416,9 @@ class TransactionPortfoliosApi:
1413
1416
  :type create_transaction_portfolio_request: CreateTransactionPortfolioRequest
1414
1417
  :param async_req: Whether to execute the request asynchronously.
1415
1418
  :type async_req: bool, optional
1416
- :param _request_timeout: timeout setting for this request.
1417
- If one number provided, it will be total request
1418
- timeout. It can also be a pair (tuple) of
1419
- (connection, read) timeouts.
1419
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
1420
+ :param opts: Configuration options for this request
1421
+ :type opts: ConfigurationOptions, optional
1420
1422
  :return: Returns the result object.
1421
1423
  If the method is called asynchronously,
1422
1424
  returns the request thread.
@@ -1455,10 +1457,9 @@ class TransactionPortfoliosApi:
1455
1457
  :param _return_http_data_only: response data instead of ApiResponse
1456
1458
  object with status code, headers, etc
1457
1459
  :type _return_http_data_only: bool, optional
1458
- :param _request_timeout: timeout setting for this request. If one
1459
- number provided, it will be total request
1460
- timeout. It can also be a pair (tuple) of
1461
- (connection, read) timeouts.
1460
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
1461
+ :param opts: Configuration options for this request
1462
+ :type opts: ConfigurationOptions, optional
1462
1463
  :param _request_auth: set to override the auth_settings for an a single
1463
1464
  request; this effectively ignores the authentication
1464
1465
  in the spec for a single request.
@@ -1484,7 +1485,8 @@ class TransactionPortfoliosApi:
1484
1485
  '_request_timeout',
1485
1486
  '_request_auth',
1486
1487
  '_content_type',
1487
- '_headers'
1488
+ '_headers',
1489
+ 'opts'
1488
1490
  ]
1489
1491
  )
1490
1492
 
@@ -1551,6 +1553,7 @@ class TransactionPortfoliosApi:
1551
1553
  _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
1552
1554
  _preload_content=_params.get('_preload_content', True),
1553
1555
  _request_timeout=_params.get('_request_timeout'),
1556
+ opts=_params.get('opts'),
1554
1557
  collection_formats=_collection_formats,
1555
1558
  _request_auth=_params.get('_request_auth'))
1556
1559
 
@@ -1581,10 +1584,9 @@ class TransactionPortfoliosApi:
1581
1584
  :type lusid_trade_ticket: LusidTradeTicket
1582
1585
  :param async_req: Whether to execute the request asynchronously.
1583
1586
  :type async_req: bool, optional
1584
- :param _request_timeout: timeout setting for this request.
1585
- If one number provided, it will be total request
1586
- timeout. It can also be a pair (tuple) of
1587
- (connection, read) timeouts.
1587
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
1588
+ :param opts: Configuration options for this request
1589
+ :type opts: ConfigurationOptions, optional
1588
1590
  :return: Returns the result object.
1589
1591
  If the method is called asynchronously,
1590
1592
  returns the request thread.
@@ -1625,10 +1627,9 @@ class TransactionPortfoliosApi:
1625
1627
  :param _return_http_data_only: response data instead of ApiResponse
1626
1628
  object with status code, headers, etc
1627
1629
  :type _return_http_data_only: bool, optional
1628
- :param _request_timeout: timeout setting for this request. If one
1629
- number provided, it will be total request
1630
- timeout. It can also be a pair (tuple) of
1631
- (connection, read) timeouts.
1630
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
1631
+ :param opts: Configuration options for this request
1632
+ :type opts: ConfigurationOptions, optional
1632
1633
  :param _request_auth: set to override the auth_settings for an a single
1633
1634
  request; this effectively ignores the authentication
1634
1635
  in the spec for a single request.
@@ -1655,7 +1656,8 @@ class TransactionPortfoliosApi:
1655
1656
  '_request_timeout',
1656
1657
  '_request_auth',
1657
1658
  '_content_type',
1658
- '_headers'
1659
+ '_headers',
1660
+ 'opts'
1659
1661
  ]
1660
1662
  )
1661
1663
 
@@ -1725,6 +1727,7 @@ class TransactionPortfoliosApi:
1725
1727
  _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
1726
1728
  _preload_content=_params.get('_preload_content', True),
1727
1729
  _request_timeout=_params.get('_request_timeout'),
1730
+ opts=_params.get('opts'),
1728
1731
  collection_formats=_collection_formats,
1729
1732
  _request_auth=_params.get('_request_auth'))
1730
1733
 
@@ -1757,10 +1760,9 @@ class TransactionPortfoliosApi:
1757
1760
  :type delete_mode: str
1758
1761
  :param async_req: Whether to execute the request asynchronously.
1759
1762
  :type async_req: bool, optional
1760
- :param _request_timeout: timeout setting for this request.
1761
- If one number provided, it will be total request
1762
- timeout. It can also be a pair (tuple) of
1763
- (connection, read) timeouts.
1763
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
1764
+ :param opts: Configuration options for this request
1765
+ :type opts: ConfigurationOptions, optional
1764
1766
  :return: Returns the result object.
1765
1767
  If the method is called asynchronously,
1766
1768
  returns the request thread.
@@ -1803,10 +1805,9 @@ class TransactionPortfoliosApi:
1803
1805
  :param _return_http_data_only: response data instead of ApiResponse
1804
1806
  object with status code, headers, etc
1805
1807
  :type _return_http_data_only: bool, optional
1806
- :param _request_timeout: timeout setting for this request. If one
1807
- number provided, it will be total request
1808
- timeout. It can also be a pair (tuple) of
1809
- (connection, read) timeouts.
1808
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
1809
+ :param opts: Configuration options for this request
1810
+ :type opts: ConfigurationOptions, optional
1810
1811
  :param _request_auth: set to override the auth_settings for an a single
1811
1812
  request; this effectively ignores the authentication
1812
1813
  in the spec for a single request.
@@ -1834,7 +1835,8 @@ class TransactionPortfoliosApi:
1834
1835
  '_request_timeout',
1835
1836
  '_request_auth',
1836
1837
  '_content_type',
1837
- '_headers'
1838
+ '_headers',
1839
+ 'opts'
1838
1840
  ]
1839
1841
  )
1840
1842
 
@@ -1907,6 +1909,7 @@ class TransactionPortfoliosApi:
1907
1909
  _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
1908
1910
  _preload_content=_params.get('_preload_content', True),
1909
1911
  _request_timeout=_params.get('_request_timeout'),
1912
+ opts=_params.get('opts'),
1910
1913
  collection_formats=_collection_formats,
1911
1914
  _request_auth=_params.get('_request_auth'))
1912
1915
 
@@ -1939,10 +1942,9 @@ class TransactionPortfoliosApi:
1939
1942
  :type property_keys: List[str]
1940
1943
  :param async_req: Whether to execute the request asynchronously.
1941
1944
  :type async_req: bool, optional
1942
- :param _request_timeout: timeout setting for this request.
1943
- If one number provided, it will be total request
1944
- timeout. It can also be a pair (tuple) of
1945
- (connection, read) timeouts.
1945
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
1946
+ :param opts: Configuration options for this request
1947
+ :type opts: ConfigurationOptions, optional
1946
1948
  :return: Returns the result object.
1947
1949
  If the method is called asynchronously,
1948
1950
  returns the request thread.
@@ -1985,10 +1987,9 @@ class TransactionPortfoliosApi:
1985
1987
  :param _return_http_data_only: response data instead of ApiResponse
1986
1988
  object with status code, headers, etc
1987
1989
  :type _return_http_data_only: bool, optional
1988
- :param _request_timeout: timeout setting for this request. If one
1989
- number provided, it will be total request
1990
- timeout. It can also be a pair (tuple) of
1991
- (connection, read) timeouts.
1990
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
1991
+ :param opts: Configuration options for this request
1992
+ :type opts: ConfigurationOptions, optional
1992
1993
  :param _request_auth: set to override the auth_settings for an a single
1993
1994
  request; this effectively ignores the authentication
1994
1995
  in the spec for a single request.
@@ -2016,7 +2017,8 @@ class TransactionPortfoliosApi:
2016
2017
  '_request_timeout',
2017
2018
  '_request_auth',
2018
2019
  '_content_type',
2019
- '_headers'
2020
+ '_headers',
2021
+ 'opts'
2020
2022
  ]
2021
2023
  )
2022
2024
 
@@ -2083,6 +2085,7 @@ class TransactionPortfoliosApi:
2083
2085
  _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
2084
2086
  _preload_content=_params.get('_preload_content', True),
2085
2087
  _request_timeout=_params.get('_request_timeout'),
2088
+ opts=_params.get('opts'),
2086
2089
  collection_formats=_collection_formats,
2087
2090
  _request_auth=_params.get('_request_auth'))
2088
2091
 
@@ -2125,10 +2128,9 @@ class TransactionPortfoliosApi:
2125
2128
  :type filter: str
2126
2129
  :param async_req: Whether to execute the request asynchronously.
2127
2130
  :type async_req: bool, optional
2128
- :param _request_timeout: timeout setting for this request.
2129
- If one number provided, it will be total request
2130
- timeout. It can also be a pair (tuple) of
2131
- (connection, read) timeouts.
2131
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
2132
+ :param opts: Configuration options for this request
2133
+ :type opts: ConfigurationOptions, optional
2132
2134
  :return: Returns the result object.
2133
2135
  If the method is called asynchronously,
2134
2136
  returns the request thread.
@@ -2181,10 +2183,9 @@ class TransactionPortfoliosApi:
2181
2183
  :param _return_http_data_only: response data instead of ApiResponse
2182
2184
  object with status code, headers, etc
2183
2185
  :type _return_http_data_only: bool, optional
2184
- :param _request_timeout: timeout setting for this request. If one
2185
- number provided, it will be total request
2186
- timeout. It can also be a pair (tuple) of
2187
- (connection, read) timeouts.
2186
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
2187
+ :param opts: Configuration options for this request
2188
+ :type opts: ConfigurationOptions, optional
2188
2189
  :param _request_auth: set to override the auth_settings for an a single
2189
2190
  request; this effectively ignores the authentication
2190
2191
  in the spec for a single request.
@@ -2217,7 +2218,8 @@ class TransactionPortfoliosApi:
2217
2218
  '_request_timeout',
2218
2219
  '_request_auth',
2219
2220
  '_content_type',
2220
- '_headers'
2221
+ '_headers',
2222
+ 'opts'
2221
2223
  ]
2222
2224
  )
2223
2225
 
@@ -2302,6 +2304,7 @@ class TransactionPortfoliosApi:
2302
2304
  _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
2303
2305
  _preload_content=_params.get('_preload_content', True),
2304
2306
  _request_timeout=_params.get('_request_timeout'),
2307
+ opts=_params.get('opts'),
2305
2308
  collection_formats=_collection_formats,
2306
2309
  _request_auth=_params.get('_request_auth'))
2307
2310
 
@@ -2344,10 +2347,9 @@ class TransactionPortfoliosApi:
2344
2347
  :type filter: str
2345
2348
  :param async_req: Whether to execute the request asynchronously.
2346
2349
  :type async_req: bool, optional
2347
- :param _request_timeout: timeout setting for this request.
2348
- If one number provided, it will be total request
2349
- timeout. It can also be a pair (tuple) of
2350
- (connection, read) timeouts.
2350
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
2351
+ :param opts: Configuration options for this request
2352
+ :type opts: ConfigurationOptions, optional
2351
2353
  :return: Returns the result object.
2352
2354
  If the method is called asynchronously,
2353
2355
  returns the request thread.
@@ -2400,10 +2402,9 @@ class TransactionPortfoliosApi:
2400
2402
  :param _return_http_data_only: response data instead of ApiResponse
2401
2403
  object with status code, headers, etc
2402
2404
  :type _return_http_data_only: bool, optional
2403
- :param _request_timeout: timeout setting for this request. If one
2404
- number provided, it will be total request
2405
- timeout. It can also be a pair (tuple) of
2406
- (connection, read) timeouts.
2405
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
2406
+ :param opts: Configuration options for this request
2407
+ :type opts: ConfigurationOptions, optional
2407
2408
  :param _request_auth: set to override the auth_settings for an a single
2408
2409
  request; this effectively ignores the authentication
2409
2410
  in the spec for a single request.
@@ -2436,7 +2437,8 @@ class TransactionPortfoliosApi:
2436
2437
  '_request_timeout',
2437
2438
  '_request_auth',
2438
2439
  '_content_type',
2439
- '_headers'
2440
+ '_headers',
2441
+ 'opts'
2440
2442
  ]
2441
2443
  )
2442
2444
 
@@ -2521,6 +2523,7 @@ class TransactionPortfoliosApi:
2521
2523
  _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
2522
2524
  _preload_content=_params.get('_preload_content', True),
2523
2525
  _request_timeout=_params.get('_request_timeout'),
2526
+ opts=_params.get('opts'),
2524
2527
  collection_formats=_collection_formats,
2525
2528
  _request_auth=_params.get('_request_auth'))
2526
2529
 
@@ -2551,10 +2554,9 @@ class TransactionPortfoliosApi:
2551
2554
  :type bucketed_cash_flow_request: BucketedCashFlowRequest
2552
2555
  :param async_req: Whether to execute the request asynchronously.
2553
2556
  :type async_req: bool, optional
2554
- :param _request_timeout: timeout setting for this request.
2555
- If one number provided, it will be total request
2556
- timeout. It can also be a pair (tuple) of
2557
- (connection, read) timeouts.
2557
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
2558
+ :param opts: Configuration options for this request
2559
+ :type opts: ConfigurationOptions, optional
2558
2560
  :return: Returns the result object.
2559
2561
  If the method is called asynchronously,
2560
2562
  returns the request thread.
@@ -2595,10 +2597,9 @@ class TransactionPortfoliosApi:
2595
2597
  :param _return_http_data_only: response data instead of ApiResponse
2596
2598
  object with status code, headers, etc
2597
2599
  :type _return_http_data_only: bool, optional
2598
- :param _request_timeout: timeout setting for this request. If one
2599
- number provided, it will be total request
2600
- timeout. It can also be a pair (tuple) of
2601
- (connection, read) timeouts.
2600
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
2601
+ :param opts: Configuration options for this request
2602
+ :type opts: ConfigurationOptions, optional
2602
2603
  :param _request_auth: set to override the auth_settings for an a single
2603
2604
  request; this effectively ignores the authentication
2604
2605
  in the spec for a single request.
@@ -2625,7 +2626,8 @@ class TransactionPortfoliosApi:
2625
2626
  '_request_timeout',
2626
2627
  '_request_auth',
2627
2628
  '_content_type',
2628
- '_headers'
2629
+ '_headers',
2630
+ 'opts'
2629
2631
  ]
2630
2632
  )
2631
2633
 
@@ -2695,6 +2697,7 @@ class TransactionPortfoliosApi:
2695
2697
  _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
2696
2698
  _preload_content=_params.get('_preload_content', True),
2697
2699
  _request_timeout=_params.get('_request_timeout'),
2700
+ opts=_params.get('opts'),
2698
2701
  collection_formats=_collection_formats,
2699
2702
  _request_auth=_params.get('_request_auth'))
2700
2703
 
@@ -2733,10 +2736,9 @@ class TransactionPortfoliosApi:
2733
2736
  :type property_keys: List[str]
2734
2737
  :param async_req: Whether to execute the request asynchronously.
2735
2738
  :type async_req: bool, optional
2736
- :param _request_timeout: timeout setting for this request.
2737
- If one number provided, it will be total request
2738
- timeout. It can also be a pair (tuple) of
2739
- (connection, read) timeouts.
2739
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
2740
+ :param opts: Configuration options for this request
2741
+ :type opts: ConfigurationOptions, optional
2740
2742
  :return: Returns the result object.
2741
2743
  If the method is called asynchronously,
2742
2744
  returns the request thread.
@@ -2785,10 +2787,9 @@ class TransactionPortfoliosApi:
2785
2787
  :param _return_http_data_only: response data instead of ApiResponse
2786
2788
  object with status code, headers, etc
2787
2789
  :type _return_http_data_only: bool, optional
2788
- :param _request_timeout: timeout setting for this request. If one
2789
- number provided, it will be total request
2790
- timeout. It can also be a pair (tuple) of
2791
- (connection, read) timeouts.
2790
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
2791
+ :param opts: Configuration options for this request
2792
+ :type opts: ConfigurationOptions, optional
2792
2793
  :param _request_auth: set to override the auth_settings for an a single
2793
2794
  request; this effectively ignores the authentication
2794
2795
  in the spec for a single request.
@@ -2819,7 +2820,8 @@ class TransactionPortfoliosApi:
2819
2820
  '_request_timeout',
2820
2821
  '_request_auth',
2821
2822
  '_content_type',
2822
- '_headers'
2823
+ '_headers',
2824
+ 'opts'
2823
2825
  ]
2824
2826
  )
2825
2827
 
@@ -2898,6 +2900,7 @@ class TransactionPortfoliosApi:
2898
2900
  _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
2899
2901
  _preload_content=_params.get('_preload_content', True),
2900
2902
  _request_timeout=_params.get('_request_timeout'),
2903
+ opts=_params.get('opts'),
2901
2904
  collection_formats=_collection_formats,
2902
2905
  _request_auth=_params.get('_request_auth'))
2903
2906
 
@@ -2930,10 +2933,9 @@ class TransactionPortfoliosApi:
2930
2933
  :type as_at: datetime
2931
2934
  :param async_req: Whether to execute the request asynchronously.
2932
2935
  :type async_req: bool, optional
2933
- :param _request_timeout: timeout setting for this request.
2934
- If one number provided, it will be total request
2935
- timeout. It can also be a pair (tuple) of
2936
- (connection, read) timeouts.
2936
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
2937
+ :param opts: Configuration options for this request
2938
+ :type opts: ConfigurationOptions, optional
2937
2939
  :return: Returns the result object.
2938
2940
  If the method is called asynchronously,
2939
2941
  returns the request thread.
@@ -2976,10 +2978,9 @@ class TransactionPortfoliosApi:
2976
2978
  :param _return_http_data_only: response data instead of ApiResponse
2977
2979
  object with status code, headers, etc
2978
2980
  :type _return_http_data_only: bool, optional
2979
- :param _request_timeout: timeout setting for this request. If one
2980
- number provided, it will be total request
2981
- timeout. It can also be a pair (tuple) of
2982
- (connection, read) timeouts.
2981
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
2982
+ :param opts: Configuration options for this request
2983
+ :type opts: ConfigurationOptions, optional
2983
2984
  :param _request_auth: set to override the auth_settings for an a single
2984
2985
  request; this effectively ignores the authentication
2985
2986
  in the spec for a single request.
@@ -3007,7 +3008,8 @@ class TransactionPortfoliosApi:
3007
3008
  '_request_timeout',
3008
3009
  '_request_auth',
3009
3010
  '_content_type',
3010
- '_headers'
3011
+ '_headers',
3012
+ 'opts'
3011
3013
  ]
3012
3014
  )
3013
3015
 
@@ -3076,6 +3078,7 @@ class TransactionPortfoliosApi:
3076
3078
  _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
3077
3079
  _preload_content=_params.get('_preload_content', True),
3078
3080
  _request_timeout=_params.get('_request_timeout'),
3081
+ opts=_params.get('opts'),
3079
3082
  collection_formats=_collection_formats,
3080
3083
  _request_auth=_params.get('_request_auth'))
3081
3084
 
@@ -3122,10 +3125,9 @@ class TransactionPortfoliosApi:
3122
3125
  :type page: str
3123
3126
  :param async_req: Whether to execute the request asynchronously.
3124
3127
  :type async_req: bool, optional
3125
- :param _request_timeout: timeout setting for this request.
3126
- If one number provided, it will be total request
3127
- timeout. It can also be a pair (tuple) of
3128
- (connection, read) timeouts.
3128
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
3129
+ :param opts: Configuration options for this request
3130
+ :type opts: ConfigurationOptions, optional
3129
3131
  :return: Returns the result object.
3130
3132
  If the method is called asynchronously,
3131
3133
  returns the request thread.
@@ -3182,10 +3184,9 @@ class TransactionPortfoliosApi:
3182
3184
  :param _return_http_data_only: response data instead of ApiResponse
3183
3185
  object with status code, headers, etc
3184
3186
  :type _return_http_data_only: bool, optional
3185
- :param _request_timeout: timeout setting for this request. If one
3186
- number provided, it will be total request
3187
- timeout. It can also be a pair (tuple) of
3188
- (connection, read) timeouts.
3187
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
3188
+ :param opts: Configuration options for this request
3189
+ :type opts: ConfigurationOptions, optional
3189
3190
  :param _request_auth: set to override the auth_settings for an a single
3190
3191
  request; this effectively ignores the authentication
3191
3192
  in the spec for a single request.
@@ -3220,7 +3221,8 @@ class TransactionPortfoliosApi:
3220
3221
  '_request_timeout',
3221
3222
  '_request_auth',
3222
3223
  '_content_type',
3223
- '_headers'
3224
+ '_headers',
3225
+ 'opts'
3224
3226
  ]
3225
3227
  )
3226
3228
 
@@ -3310,6 +3312,7 @@ class TransactionPortfoliosApi:
3310
3312
  _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
3311
3313
  _preload_content=_params.get('_preload_content', True),
3312
3314
  _request_timeout=_params.get('_request_timeout'),
3315
+ opts=_params.get('opts'),
3313
3316
  collection_formats=_collection_formats,
3314
3317
  _request_auth=_params.get('_request_auth'))
3315
3318
 
@@ -3350,10 +3353,9 @@ class TransactionPortfoliosApi:
3350
3353
  :type include_settlement_events_after_days: int
3351
3354
  :param async_req: Whether to execute the request asynchronously.
3352
3355
  :type async_req: bool, optional
3353
- :param _request_timeout: timeout setting for this request.
3354
- If one number provided, it will be total request
3355
- timeout. It can also be a pair (tuple) of
3356
- (connection, read) timeouts.
3356
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
3357
+ :param opts: Configuration options for this request
3358
+ :type opts: ConfigurationOptions, optional
3357
3359
  :return: Returns the result object.
3358
3360
  If the method is called asynchronously,
3359
3361
  returns the request thread.
@@ -3404,10 +3406,9 @@ class TransactionPortfoliosApi:
3404
3406
  :param _return_http_data_only: response data instead of ApiResponse
3405
3407
  object with status code, headers, etc
3406
3408
  :type _return_http_data_only: bool, optional
3407
- :param _request_timeout: timeout setting for this request. If one
3408
- number provided, it will be total request
3409
- timeout. It can also be a pair (tuple) of
3410
- (connection, read) timeouts.
3409
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
3410
+ :param opts: Configuration options for this request
3411
+ :type opts: ConfigurationOptions, optional
3411
3412
  :param _request_auth: set to override the auth_settings for an a single
3412
3413
  request; this effectively ignores the authentication
3413
3414
  in the spec for a single request.
@@ -3439,7 +3440,8 @@ class TransactionPortfoliosApi:
3439
3440
  '_request_timeout',
3440
3441
  '_request_auth',
3441
3442
  '_content_type',
3442
- '_headers'
3443
+ '_headers',
3444
+ 'opts'
3443
3445
  ]
3444
3446
  )
3445
3447
 
@@ -3521,6 +3523,7 @@ class TransactionPortfoliosApi:
3521
3523
  _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
3522
3524
  _preload_content=_params.get('_preload_content', True),
3523
3525
  _request_timeout=_params.get('_request_timeout'),
3526
+ opts=_params.get('opts'),
3524
3527
  collection_formats=_collection_formats,
3525
3528
  _request_auth=_params.get('_request_auth'))
3526
3529
 
@@ -3555,10 +3558,9 @@ class TransactionPortfoliosApi:
3555
3558
  :type property_keys: List[str]
3556
3559
  :param async_req: Whether to execute the request asynchronously.
3557
3560
  :type async_req: bool, optional
3558
- :param _request_timeout: timeout setting for this request.
3559
- If one number provided, it will be total request
3560
- timeout. It can also be a pair (tuple) of
3561
- (connection, read) timeouts.
3561
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
3562
+ :param opts: Configuration options for this request
3563
+ :type opts: ConfigurationOptions, optional
3562
3564
  :return: Returns the result object.
3563
3565
  If the method is called asynchronously,
3564
3566
  returns the request thread.
@@ -3603,10 +3605,9 @@ class TransactionPortfoliosApi:
3603
3605
  :param _return_http_data_only: response data instead of ApiResponse
3604
3606
  object with status code, headers, etc
3605
3607
  :type _return_http_data_only: bool, optional
3606
- :param _request_timeout: timeout setting for this request. If one
3607
- number provided, it will be total request
3608
- timeout. It can also be a pair (tuple) of
3609
- (connection, read) timeouts.
3608
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
3609
+ :param opts: Configuration options for this request
3610
+ :type opts: ConfigurationOptions, optional
3610
3611
  :param _request_auth: set to override the auth_settings for an a single
3611
3612
  request; this effectively ignores the authentication
3612
3613
  in the spec for a single request.
@@ -3635,7 +3636,8 @@ class TransactionPortfoliosApi:
3635
3636
  '_request_timeout',
3636
3637
  '_request_auth',
3637
3638
  '_content_type',
3638
- '_headers'
3639
+ '_headers',
3640
+ 'opts'
3639
3641
  ]
3640
3642
  )
3641
3643
 
@@ -3708,6 +3710,7 @@ class TransactionPortfoliosApi:
3708
3710
  _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
3709
3711
  _preload_content=_params.get('_preload_content', True),
3710
3712
  _request_timeout=_params.get('_request_timeout'),
3713
+ opts=_params.get('opts'),
3711
3714
  collection_formats=_collection_formats,
3712
3715
  _request_auth=_params.get('_request_auth'))
3713
3716
 
@@ -3752,10 +3755,9 @@ class TransactionPortfoliosApi:
3752
3755
  :type include_settlement_events_after_days: int
3753
3756
  :param async_req: Whether to execute the request asynchronously.
3754
3757
  :type async_req: bool, optional
3755
- :param _request_timeout: timeout setting for this request.
3756
- If one number provided, it will be total request
3757
- timeout. It can also be a pair (tuple) of
3758
- (connection, read) timeouts.
3758
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
3759
+ :param opts: Configuration options for this request
3760
+ :type opts: ConfigurationOptions, optional
3759
3761
  :return: Returns the result object.
3760
3762
  If the method is called asynchronously,
3761
3763
  returns the request thread.
@@ -3810,10 +3812,9 @@ class TransactionPortfoliosApi:
3810
3812
  :param _return_http_data_only: response data instead of ApiResponse
3811
3813
  object with status code, headers, etc
3812
3814
  :type _return_http_data_only: bool, optional
3813
- :param _request_timeout: timeout setting for this request. If one
3814
- number provided, it will be total request
3815
- timeout. It can also be a pair (tuple) of
3816
- (connection, read) timeouts.
3815
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
3816
+ :param opts: Configuration options for this request
3817
+ :type opts: ConfigurationOptions, optional
3817
3818
  :param _request_auth: set to override the auth_settings for an a single
3818
3819
  request; this effectively ignores the authentication
3819
3820
  in the spec for a single request.
@@ -3847,7 +3848,8 @@ class TransactionPortfoliosApi:
3847
3848
  '_request_timeout',
3848
3849
  '_request_auth',
3849
3850
  '_content_type',
3850
- '_headers'
3851
+ '_headers',
3852
+ 'opts'
3851
3853
  ]
3852
3854
  )
3853
3855
 
@@ -3935,6 +3937,248 @@ class TransactionPortfoliosApi:
3935
3937
  _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
3936
3938
  _preload_content=_params.get('_preload_content', True),
3937
3939
  _request_timeout=_params.get('_request_timeout'),
3940
+ opts=_params.get('opts'),
3941
+ collection_formats=_collection_formats,
3942
+ _request_auth=_params.get('_request_auth'))
3943
+
3944
+ @overload
3945
+ async def get_multiple_holding_contributors(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the transaction portfolio.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio.")], holding_ids_request : Annotated[HoldingIdsRequest, Field(..., description="The array of unique holding identifiers")], effective_date : Annotated[Optional[constr(strict=True, max_length=6000, min_length=0)], Field(description="Effective date")] = None, from_transaction_date : Annotated[Optional[constr(strict=True, max_length=6000, min_length=0)], Field(description="The from trade date, defaults to first time this holding is opened, lower bound for transactions")] = None, to_transaction_date : Annotated[Optional[constr(strict=True, max_length=6000, min_length=0)], Field(description="The to trade date upper bound date, defaults to effectiveDate. upper bound for transactions")] = None, include_historic : Annotated[Optional[StrictBool], Field(description="If true, transactions from previously closed holdings are returned. If false, only transactions from last time position is opened.")] = None, tax_lot_id : Annotated[Optional[constr(strict=True, max_length=6000, min_length=0)], Field(description="Constrains the Holding Contributors to those which contributed to the specified tax lot.")] = None, limit : Annotated[Optional[StrictInt], Field(description="When paginating, limit the number of returned results to this many. Defaults to 100 if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to build the transactions. Defaults to return the latest version of each transaction if not specified.")] = None, page : Annotated[Optional[constr(strict=True, max_length=500, min_length=1)], Field(description="The pagination token to use to continue listing transactions from a previous call to GetHoldingContributors.")] = None, **kwargs) -> VersionedResourceListOfHoldingContributor: # noqa: E501
3946
+ ...
3947
+
3948
+ @overload
3949
+ def get_multiple_holding_contributors(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the transaction portfolio.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio.")], holding_ids_request : Annotated[HoldingIdsRequest, Field(..., description="The array of unique holding identifiers")], effective_date : Annotated[Optional[constr(strict=True, max_length=6000, min_length=0)], Field(description="Effective date")] = None, from_transaction_date : Annotated[Optional[constr(strict=True, max_length=6000, min_length=0)], Field(description="The from trade date, defaults to first time this holding is opened, lower bound for transactions")] = None, to_transaction_date : Annotated[Optional[constr(strict=True, max_length=6000, min_length=0)], Field(description="The to trade date upper bound date, defaults to effectiveDate. upper bound for transactions")] = None, include_historic : Annotated[Optional[StrictBool], Field(description="If true, transactions from previously closed holdings are returned. If false, only transactions from last time position is opened.")] = None, tax_lot_id : Annotated[Optional[constr(strict=True, max_length=6000, min_length=0)], Field(description="Constrains the Holding Contributors to those which contributed to the specified tax lot.")] = None, limit : Annotated[Optional[StrictInt], Field(description="When paginating, limit the number of returned results to this many. Defaults to 100 if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to build the transactions. Defaults to return the latest version of each transaction if not specified.")] = None, page : Annotated[Optional[constr(strict=True, max_length=500, min_length=1)], Field(description="The pagination token to use to continue listing transactions from a previous call to GetHoldingContributors.")] = None, async_req: Optional[bool]=True, **kwargs) -> VersionedResourceListOfHoldingContributor: # noqa: E501
3950
+ ...
3951
+
3952
+ @validate_arguments
3953
+ def get_multiple_holding_contributors(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the transaction portfolio.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio.")], holding_ids_request : Annotated[HoldingIdsRequest, Field(..., description="The array of unique holding identifiers")], effective_date : Annotated[Optional[constr(strict=True, max_length=6000, min_length=0)], Field(description="Effective date")] = None, from_transaction_date : Annotated[Optional[constr(strict=True, max_length=6000, min_length=0)], Field(description="The from trade date, defaults to first time this holding is opened, lower bound for transactions")] = None, to_transaction_date : Annotated[Optional[constr(strict=True, max_length=6000, min_length=0)], Field(description="The to trade date upper bound date, defaults to effectiveDate. upper bound for transactions")] = None, include_historic : Annotated[Optional[StrictBool], Field(description="If true, transactions from previously closed holdings are returned. If false, only transactions from last time position is opened.")] = None, tax_lot_id : Annotated[Optional[constr(strict=True, max_length=6000, min_length=0)], Field(description="Constrains the Holding Contributors to those which contributed to the specified tax lot.")] = None, limit : Annotated[Optional[StrictInt], Field(description="When paginating, limit the number of returned results to this many. Defaults to 100 if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to build the transactions. Defaults to return the latest version of each transaction if not specified.")] = None, page : Annotated[Optional[constr(strict=True, max_length=500, min_length=1)], Field(description="The pagination token to use to continue listing transactions from a previous call to GetHoldingContributors.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[VersionedResourceListOfHoldingContributor, Awaitable[VersionedResourceListOfHoldingContributor]]: # noqa: E501
3954
+ """[EARLY ACCESS] GetMultipleHoldingContributors: Get Multiple Holding Contributors # noqa: E501
3955
+
3956
+ Lists all transactions that affect multiple specified holdings of a portfolio over a given effective interval. This includes transactions automatically generated by LUSID such as holding adjustments. # noqa: E501
3957
+ This method makes a synchronous HTTP request by default. To make an
3958
+ asynchronous HTTP request, please pass async_req=True
3959
+
3960
+ >>> thread = api.get_multiple_holding_contributors(scope, code, holding_ids_request, effective_date, from_transaction_date, to_transaction_date, include_historic, tax_lot_id, limit, as_at, page, async_req=True)
3961
+ >>> result = thread.get()
3962
+
3963
+ :param scope: The scope of the transaction portfolio. (required)
3964
+ :type scope: str
3965
+ :param code: The code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio. (required)
3966
+ :type code: str
3967
+ :param holding_ids_request: The array of unique holding identifiers (required)
3968
+ :type holding_ids_request: HoldingIdsRequest
3969
+ :param effective_date: Effective date
3970
+ :type effective_date: str
3971
+ :param from_transaction_date: The from trade date, defaults to first time this holding is opened, lower bound for transactions
3972
+ :type from_transaction_date: str
3973
+ :param to_transaction_date: The to trade date upper bound date, defaults to effectiveDate. upper bound for transactions
3974
+ :type to_transaction_date: str
3975
+ :param include_historic: If true, transactions from previously closed holdings are returned. If false, only transactions from last time position is opened.
3976
+ :type include_historic: bool
3977
+ :param tax_lot_id: Constrains the Holding Contributors to those which contributed to the specified tax lot.
3978
+ :type tax_lot_id: str
3979
+ :param limit: When paginating, limit the number of returned results to this many. Defaults to 100 if not specified.
3980
+ :type limit: int
3981
+ :param as_at: The asAt datetime at which to build the transactions. Defaults to return the latest version of each transaction if not specified.
3982
+ :type as_at: datetime
3983
+ :param page: The pagination token to use to continue listing transactions from a previous call to GetHoldingContributors.
3984
+ :type page: str
3985
+ :param async_req: Whether to execute the request asynchronously.
3986
+ :type async_req: bool, optional
3987
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
3988
+ :param opts: Configuration options for this request
3989
+ :type opts: ConfigurationOptions, optional
3990
+ :return: Returns the result object.
3991
+ If the method is called asynchronously,
3992
+ returns the request thread.
3993
+ :rtype: VersionedResourceListOfHoldingContributor
3994
+ """
3995
+ kwargs['_return_http_data_only'] = True
3996
+ if '_preload_content' in kwargs:
3997
+ message = "Error! Please call the get_multiple_holding_contributors_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501
3998
+ raise ValueError(message)
3999
+ if async_req is not None:
4000
+ kwargs['async_req'] = async_req
4001
+ return self.get_multiple_holding_contributors_with_http_info(scope, code, holding_ids_request, effective_date, from_transaction_date, to_transaction_date, include_historic, tax_lot_id, limit, as_at, page, **kwargs) # noqa: E501
4002
+
4003
+ @validate_arguments
4004
+ def get_multiple_holding_contributors_with_http_info(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the transaction portfolio.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio.")], holding_ids_request : Annotated[HoldingIdsRequest, Field(..., description="The array of unique holding identifiers")], effective_date : Annotated[Optional[constr(strict=True, max_length=6000, min_length=0)], Field(description="Effective date")] = None, from_transaction_date : Annotated[Optional[constr(strict=True, max_length=6000, min_length=0)], Field(description="The from trade date, defaults to first time this holding is opened, lower bound for transactions")] = None, to_transaction_date : Annotated[Optional[constr(strict=True, max_length=6000, min_length=0)], Field(description="The to trade date upper bound date, defaults to effectiveDate. upper bound for transactions")] = None, include_historic : Annotated[Optional[StrictBool], Field(description="If true, transactions from previously closed holdings are returned. If false, only transactions from last time position is opened.")] = None, tax_lot_id : Annotated[Optional[constr(strict=True, max_length=6000, min_length=0)], Field(description="Constrains the Holding Contributors to those which contributed to the specified tax lot.")] = None, limit : Annotated[Optional[StrictInt], Field(description="When paginating, limit the number of returned results to this many. Defaults to 100 if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to build the transactions. Defaults to return the latest version of each transaction if not specified.")] = None, page : Annotated[Optional[constr(strict=True, max_length=500, min_length=1)], Field(description="The pagination token to use to continue listing transactions from a previous call to GetHoldingContributors.")] = None, **kwargs) -> ApiResponse: # noqa: E501
4005
+ """[EARLY ACCESS] GetMultipleHoldingContributors: Get Multiple Holding Contributors # noqa: E501
4006
+
4007
+ Lists all transactions that affect multiple specified holdings of a portfolio over a given effective interval. This includes transactions automatically generated by LUSID such as holding adjustments. # noqa: E501
4008
+ This method makes a synchronous HTTP request by default. To make an
4009
+ asynchronous HTTP request, please pass async_req=True
4010
+
4011
+ >>> thread = api.get_multiple_holding_contributors_with_http_info(scope, code, holding_ids_request, effective_date, from_transaction_date, to_transaction_date, include_historic, tax_lot_id, limit, as_at, page, async_req=True)
4012
+ >>> result = thread.get()
4013
+
4014
+ :param scope: The scope of the transaction portfolio. (required)
4015
+ :type scope: str
4016
+ :param code: The code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio. (required)
4017
+ :type code: str
4018
+ :param holding_ids_request: The array of unique holding identifiers (required)
4019
+ :type holding_ids_request: HoldingIdsRequest
4020
+ :param effective_date: Effective date
4021
+ :type effective_date: str
4022
+ :param from_transaction_date: The from trade date, defaults to first time this holding is opened, lower bound for transactions
4023
+ :type from_transaction_date: str
4024
+ :param to_transaction_date: The to trade date upper bound date, defaults to effectiveDate. upper bound for transactions
4025
+ :type to_transaction_date: str
4026
+ :param include_historic: If true, transactions from previously closed holdings are returned. If false, only transactions from last time position is opened.
4027
+ :type include_historic: bool
4028
+ :param tax_lot_id: Constrains the Holding Contributors to those which contributed to the specified tax lot.
4029
+ :type tax_lot_id: str
4030
+ :param limit: When paginating, limit the number of returned results to this many. Defaults to 100 if not specified.
4031
+ :type limit: int
4032
+ :param as_at: The asAt datetime at which to build the transactions. Defaults to return the latest version of each transaction if not specified.
4033
+ :type as_at: datetime
4034
+ :param page: The pagination token to use to continue listing transactions from a previous call to GetHoldingContributors.
4035
+ :type page: str
4036
+ :param async_req: Whether to execute the request asynchronously.
4037
+ :type async_req: bool, optional
4038
+ :param _preload_content: if False, the ApiResponse.data will
4039
+ be set to none and raw_data will store the
4040
+ HTTP response body without reading/decoding.
4041
+ Default is True.
4042
+ :type _preload_content: bool, optional
4043
+ :param _return_http_data_only: response data instead of ApiResponse
4044
+ object with status code, headers, etc
4045
+ :type _return_http_data_only: bool, optional
4046
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
4047
+ :param opts: Configuration options for this request
4048
+ :type opts: ConfigurationOptions, optional
4049
+ :param _request_auth: set to override the auth_settings for an a single
4050
+ request; this effectively ignores the authentication
4051
+ in the spec for a single request.
4052
+ :type _request_auth: dict, optional
4053
+ :type _content_type: string, optional: force content-type for the request
4054
+ :return: Returns the result object.
4055
+ If the method is called asynchronously,
4056
+ returns the request thread.
4057
+ :rtype: tuple(VersionedResourceListOfHoldingContributor, status_code(int), headers(HTTPHeaderDict))
4058
+ """
4059
+
4060
+ _params = locals()
4061
+
4062
+ _all_params = [
4063
+ 'scope',
4064
+ 'code',
4065
+ 'holding_ids_request',
4066
+ 'effective_date',
4067
+ 'from_transaction_date',
4068
+ 'to_transaction_date',
4069
+ 'include_historic',
4070
+ 'tax_lot_id',
4071
+ 'limit',
4072
+ 'as_at',
4073
+ 'page'
4074
+ ]
4075
+ _all_params.extend(
4076
+ [
4077
+ 'async_req',
4078
+ '_return_http_data_only',
4079
+ '_preload_content',
4080
+ '_request_timeout',
4081
+ '_request_auth',
4082
+ '_content_type',
4083
+ '_headers',
4084
+ 'opts'
4085
+ ]
4086
+ )
4087
+
4088
+ # validate the arguments
4089
+ for _key, _val in _params['kwargs'].items():
4090
+ if _key not in _all_params:
4091
+ raise ApiTypeError(
4092
+ "Got an unexpected keyword argument '%s'"
4093
+ " to method get_multiple_holding_contributors" % _key
4094
+ )
4095
+ _params[_key] = _val
4096
+ del _params['kwargs']
4097
+
4098
+ _collection_formats = {}
4099
+
4100
+ # process the path parameters
4101
+ _path_params = {}
4102
+ if _params['scope']:
4103
+ _path_params['scope'] = _params['scope']
4104
+
4105
+ if _params['code']:
4106
+ _path_params['code'] = _params['code']
4107
+
4108
+
4109
+ # process the query parameters
4110
+ _query_params = []
4111
+ if _params.get('effective_date') is not None: # noqa: E501
4112
+ _query_params.append(('effectiveDate', _params['effective_date']))
4113
+
4114
+ if _params.get('from_transaction_date') is not None: # noqa: E501
4115
+ _query_params.append(('fromTransactionDate', _params['from_transaction_date']))
4116
+
4117
+ if _params.get('to_transaction_date') is not None: # noqa: E501
4118
+ _query_params.append(('toTransactionDate', _params['to_transaction_date']))
4119
+
4120
+ if _params.get('include_historic') is not None: # noqa: E501
4121
+ _query_params.append(('includeHistoric', _params['include_historic']))
4122
+
4123
+ if _params.get('tax_lot_id') is not None: # noqa: E501
4124
+ _query_params.append(('taxLotId', _params['tax_lot_id']))
4125
+
4126
+ if _params.get('limit') is not None: # noqa: E501
4127
+ _query_params.append(('limit', _params['limit']))
4128
+
4129
+ if _params.get('as_at') is not None: # noqa: E501
4130
+ if isinstance(_params['as_at'], datetime):
4131
+ _query_params.append(('asAt', _params['as_at'].strftime(self.api_client.configuration.datetime_format)))
4132
+ else:
4133
+ _query_params.append(('asAt', _params['as_at']))
4134
+
4135
+ if _params.get('page') is not None: # noqa: E501
4136
+ _query_params.append(('page', _params['page']))
4137
+
4138
+ # process the header parameters
4139
+ _header_params = dict(_params.get('_headers', {}))
4140
+ # process the form parameters
4141
+ _form_params = []
4142
+ _files = {}
4143
+ # process the body parameter
4144
+ _body_params = None
4145
+ if _params['holding_ids_request'] is not None:
4146
+ _body_params = _params['holding_ids_request']
4147
+
4148
+ # set the HTTP header `Accept`
4149
+ _header_params['Accept'] = self.api_client.select_header_accept(
4150
+ ['text/plain', 'application/json', 'text/json']) # noqa: E501
4151
+
4152
+ # set the HTTP header `Content-Type`
4153
+ _content_types_list = _params.get('_content_type',
4154
+ self.api_client.select_header_content_type(
4155
+ ['application/json-patch+json', 'application/json', 'text/json', 'application/*+json']))
4156
+ if _content_types_list:
4157
+ _header_params['Content-Type'] = _content_types_list
4158
+
4159
+ # authentication setting
4160
+ _auth_settings = ['oauth2'] # noqa: E501
4161
+
4162
+ _response_types_map = {
4163
+ '200': "VersionedResourceListOfHoldingContributor",
4164
+ '400': "LusidValidationProblemDetails",
4165
+ }
4166
+
4167
+ return self.api_client.call_api(
4168
+ '/api/transactionportfolios/{scope}/{code}/holdings/contributors/$get', 'POST',
4169
+ _path_params,
4170
+ _query_params,
4171
+ _header_params,
4172
+ body=_body_params,
4173
+ post_params=_form_params,
4174
+ files=_files,
4175
+ response_types_map=_response_types_map,
4176
+ auth_settings=_auth_settings,
4177
+ async_req=_params.get('async_req'),
4178
+ _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
4179
+ _preload_content=_params.get('_preload_content', True),
4180
+ _request_timeout=_params.get('_request_timeout'),
4181
+ opts=_params.get('opts'),
3938
4182
  collection_formats=_collection_formats,
3939
4183
  _request_auth=_params.get('_request_auth'))
3940
4184
 
@@ -3979,10 +4223,9 @@ class TransactionPortfoliosApi:
3979
4223
  :type exclude_unsettled_trades: bool
3980
4224
  :param async_req: Whether to execute the request asynchronously.
3981
4225
  :type async_req: bool, optional
3982
- :param _request_timeout: timeout setting for this request.
3983
- If one number provided, it will be total request
3984
- timeout. It can also be a pair (tuple) of
3985
- (connection, read) timeouts.
4226
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
4227
+ :param opts: Configuration options for this request
4228
+ :type opts: ConfigurationOptions, optional
3986
4229
  :return: Returns the result object.
3987
4230
  If the method is called asynchronously,
3988
4231
  returns the request thread.
@@ -4037,10 +4280,9 @@ class TransactionPortfoliosApi:
4037
4280
  :param _return_http_data_only: response data instead of ApiResponse
4038
4281
  object with status code, headers, etc
4039
4282
  :type _return_http_data_only: bool, optional
4040
- :param _request_timeout: timeout setting for this request. If one
4041
- number provided, it will be total request
4042
- timeout. It can also be a pair (tuple) of
4043
- (connection, read) timeouts.
4283
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
4284
+ :param opts: Configuration options for this request
4285
+ :type opts: ConfigurationOptions, optional
4044
4286
  :param _request_auth: set to override the auth_settings for an a single
4045
4287
  request; this effectively ignores the authentication
4046
4288
  in the spec for a single request.
@@ -4074,7 +4316,8 @@ class TransactionPortfoliosApi:
4074
4316
  '_request_timeout',
4075
4317
  '_request_auth',
4076
4318
  '_content_type',
4077
- '_headers'
4319
+ '_headers',
4320
+ 'opts'
4078
4321
  ]
4079
4322
  )
4080
4323
 
@@ -4161,6 +4404,7 @@ class TransactionPortfoliosApi:
4161
4404
  _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
4162
4405
  _preload_content=_params.get('_preload_content', True),
4163
4406
  _request_timeout=_params.get('_request_timeout'),
4407
+ opts=_params.get('opts'),
4164
4408
  collection_formats=_collection_formats,
4165
4409
  _request_auth=_params.get('_request_auth'))
4166
4410
 
@@ -4205,10 +4449,9 @@ class TransactionPortfoliosApi:
4205
4449
  :type exclude_unsettled_trades: bool
4206
4450
  :param async_req: Whether to execute the request asynchronously.
4207
4451
  :type async_req: bool, optional
4208
- :param _request_timeout: timeout setting for this request.
4209
- If one number provided, it will be total request
4210
- timeout. It can also be a pair (tuple) of
4211
- (connection, read) timeouts.
4452
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
4453
+ :param opts: Configuration options for this request
4454
+ :type opts: ConfigurationOptions, optional
4212
4455
  :return: Returns the result object.
4213
4456
  If the method is called asynchronously,
4214
4457
  returns the request thread.
@@ -4263,10 +4506,9 @@ class TransactionPortfoliosApi:
4263
4506
  :param _return_http_data_only: response data instead of ApiResponse
4264
4507
  object with status code, headers, etc
4265
4508
  :type _return_http_data_only: bool, optional
4266
- :param _request_timeout: timeout setting for this request. If one
4267
- number provided, it will be total request
4268
- timeout. It can also be a pair (tuple) of
4269
- (connection, read) timeouts.
4509
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
4510
+ :param opts: Configuration options for this request
4511
+ :type opts: ConfigurationOptions, optional
4270
4512
  :param _request_auth: set to override the auth_settings for an a single
4271
4513
  request; this effectively ignores the authentication
4272
4514
  in the spec for a single request.
@@ -4300,7 +4542,8 @@ class TransactionPortfoliosApi:
4300
4542
  '_request_timeout',
4301
4543
  '_request_auth',
4302
4544
  '_content_type',
4303
- '_headers'
4545
+ '_headers',
4546
+ 'opts'
4304
4547
  ]
4305
4548
  )
4306
4549
 
@@ -4387,6 +4630,7 @@ class TransactionPortfoliosApi:
4387
4630
  _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
4388
4631
  _preload_content=_params.get('_preload_content', True),
4389
4632
  _request_timeout=_params.get('_request_timeout'),
4633
+ opts=_params.get('opts'),
4390
4634
  collection_formats=_collection_formats,
4391
4635
  _request_auth=_params.get('_request_auth'))
4392
4636
 
@@ -4427,10 +4671,9 @@ class TransactionPortfoliosApi:
4427
4671
  :type recipe_id_code: str
4428
4672
  :param async_req: Whether to execute the request asynchronously.
4429
4673
  :type async_req: bool, optional
4430
- :param _request_timeout: timeout setting for this request.
4431
- If one number provided, it will be total request
4432
- timeout. It can also be a pair (tuple) of
4433
- (connection, read) timeouts.
4674
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
4675
+ :param opts: Configuration options for this request
4676
+ :type opts: ConfigurationOptions, optional
4434
4677
  :return: Returns the result object.
4435
4678
  If the method is called asynchronously,
4436
4679
  returns the request thread.
@@ -4481,10 +4724,9 @@ class TransactionPortfoliosApi:
4481
4724
  :param _return_http_data_only: response data instead of ApiResponse
4482
4725
  object with status code, headers, etc
4483
4726
  :type _return_http_data_only: bool, optional
4484
- :param _request_timeout: timeout setting for this request. If one
4485
- number provided, it will be total request
4486
- timeout. It can also be a pair (tuple) of
4487
- (connection, read) timeouts.
4727
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
4728
+ :param opts: Configuration options for this request
4729
+ :type opts: ConfigurationOptions, optional
4488
4730
  :param _request_auth: set to override the auth_settings for an a single
4489
4731
  request; this effectively ignores the authentication
4490
4732
  in the spec for a single request.
@@ -4516,7 +4758,8 @@ class TransactionPortfoliosApi:
4516
4758
  '_request_timeout',
4517
4759
  '_request_auth',
4518
4760
  '_content_type',
4519
- '_headers'
4761
+ '_headers',
4762
+ 'opts'
4520
4763
  ]
4521
4764
  )
4522
4765
 
@@ -4597,6 +4840,7 @@ class TransactionPortfoliosApi:
4597
4840
  _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
4598
4841
  _preload_content=_params.get('_preload_content', True),
4599
4842
  _request_timeout=_params.get('_request_timeout'),
4843
+ opts=_params.get('opts'),
4600
4844
  collection_formats=_collection_formats,
4601
4845
  _request_auth=_params.get('_request_auth'))
4602
4846
 
@@ -4610,7 +4854,7 @@ class TransactionPortfoliosApi:
4610
4854
 
4611
4855
  @validate_arguments
4612
4856
  def get_transaction_history(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the transaction portfolio.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio.")], transaction_id : Annotated[StrictStr, Field(..., description="The unique ID of the transaction to create or update.")], as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the history of the transaction. Defaults to return the latest version if not specified.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[ResourceListOfChangeHistory, Awaitable[ResourceListOfChangeHistory]]: # noqa: E501
4613
- """[EARLY ACCESS] GetTransactionHistory: Get the history of a transaction # noqa: E501
4857
+ """GetTransactionHistory: Get the history of a transaction # noqa: E501
4614
4858
 
4615
4859
  Get all of the changes that have happened to a transaction. # noqa: E501
4616
4860
  This method makes a synchronous HTTP request by default. To make an
@@ -4629,10 +4873,9 @@ class TransactionPortfoliosApi:
4629
4873
  :type as_at: datetime
4630
4874
  :param async_req: Whether to execute the request asynchronously.
4631
4875
  :type async_req: bool, optional
4632
- :param _request_timeout: timeout setting for this request.
4633
- If one number provided, it will be total request
4634
- timeout. It can also be a pair (tuple) of
4635
- (connection, read) timeouts.
4876
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
4877
+ :param opts: Configuration options for this request
4878
+ :type opts: ConfigurationOptions, optional
4636
4879
  :return: Returns the result object.
4637
4880
  If the method is called asynchronously,
4638
4881
  returns the request thread.
@@ -4648,7 +4891,7 @@ class TransactionPortfoliosApi:
4648
4891
 
4649
4892
  @validate_arguments
4650
4893
  def get_transaction_history_with_http_info(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the transaction portfolio.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio.")], transaction_id : Annotated[StrictStr, Field(..., description="The unique ID of the transaction to create or update.")], as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the history of the transaction. Defaults to return the latest version if not specified.")] = None, **kwargs) -> ApiResponse: # noqa: E501
4651
- """[EARLY ACCESS] GetTransactionHistory: Get the history of a transaction # noqa: E501
4894
+ """GetTransactionHistory: Get the history of a transaction # noqa: E501
4652
4895
 
4653
4896
  Get all of the changes that have happened to a transaction. # noqa: E501
4654
4897
  This method makes a synchronous HTTP request by default. To make an
@@ -4675,10 +4918,9 @@ class TransactionPortfoliosApi:
4675
4918
  :param _return_http_data_only: response data instead of ApiResponse
4676
4919
  object with status code, headers, etc
4677
4920
  :type _return_http_data_only: bool, optional
4678
- :param _request_timeout: timeout setting for this request. If one
4679
- number provided, it will be total request
4680
- timeout. It can also be a pair (tuple) of
4681
- (connection, read) timeouts.
4921
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
4922
+ :param opts: Configuration options for this request
4923
+ :type opts: ConfigurationOptions, optional
4682
4924
  :param _request_auth: set to override the auth_settings for an a single
4683
4925
  request; this effectively ignores the authentication
4684
4926
  in the spec for a single request.
@@ -4706,7 +4948,8 @@ class TransactionPortfoliosApi:
4706
4948
  '_request_timeout',
4707
4949
  '_request_auth',
4708
4950
  '_content_type',
4709
- '_headers'
4951
+ '_headers',
4952
+ 'opts'
4710
4953
  ]
4711
4954
  )
4712
4955
 
@@ -4775,6 +5018,7 @@ class TransactionPortfoliosApi:
4775
5018
  _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
4776
5019
  _preload_content=_params.get('_preload_content', True),
4777
5020
  _request_timeout=_params.get('_request_timeout'),
5021
+ opts=_params.get('opts'),
4778
5022
  collection_formats=_collection_formats,
4779
5023
  _request_auth=_params.get('_request_auth'))
4780
5024
 
@@ -4821,10 +5065,9 @@ class TransactionPortfoliosApi:
4821
5065
  :type sort_by: List[str]
4822
5066
  :param async_req: Whether to execute the request asynchronously.
4823
5067
  :type async_req: bool, optional
4824
- :param _request_timeout: timeout setting for this request.
4825
- If one number provided, it will be total request
4826
- timeout. It can also be a pair (tuple) of
4827
- (connection, read) timeouts.
5068
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
5069
+ :param opts: Configuration options for this request
5070
+ :type opts: ConfigurationOptions, optional
4828
5071
  :return: Returns the result object.
4829
5072
  If the method is called asynchronously,
4830
5073
  returns the request thread.
@@ -4881,10 +5124,9 @@ class TransactionPortfoliosApi:
4881
5124
  :param _return_http_data_only: response data instead of ApiResponse
4882
5125
  object with status code, headers, etc
4883
5126
  :type _return_http_data_only: bool, optional
4884
- :param _request_timeout: timeout setting for this request. If one
4885
- number provided, it will be total request
4886
- timeout. It can also be a pair (tuple) of
4887
- (connection, read) timeouts.
5127
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
5128
+ :param opts: Configuration options for this request
5129
+ :type opts: ConfigurationOptions, optional
4888
5130
  :param _request_auth: set to override the auth_settings for an a single
4889
5131
  request; this effectively ignores the authentication
4890
5132
  in the spec for a single request.
@@ -4919,7 +5161,8 @@ class TransactionPortfoliosApi:
4919
5161
  '_request_timeout',
4920
5162
  '_request_auth',
4921
5163
  '_content_type',
4922
- '_headers'
5164
+ '_headers',
5165
+ 'opts'
4923
5166
  ]
4924
5167
  )
4925
5168
 
@@ -5011,6 +5254,7 @@ class TransactionPortfoliosApi:
5011
5254
  _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
5012
5255
  _preload_content=_params.get('_preload_content', True),
5013
5256
  _request_timeout=_params.get('_request_timeout'),
5257
+ opts=_params.get('opts'),
5014
5258
  collection_formats=_collection_formats,
5015
5259
  _request_auth=_params.get('_request_auth'))
5016
5260
 
@@ -5055,10 +5299,9 @@ class TransactionPortfoliosApi:
5055
5299
  :type exclude_unsettled_trades: bool
5056
5300
  :param async_req: Whether to execute the request asynchronously.
5057
5301
  :type async_req: bool, optional
5058
- :param _request_timeout: timeout setting for this request.
5059
- If one number provided, it will be total request
5060
- timeout. It can also be a pair (tuple) of
5061
- (connection, read) timeouts.
5302
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
5303
+ :param opts: Configuration options for this request
5304
+ :type opts: ConfigurationOptions, optional
5062
5305
  :return: Returns the result object.
5063
5306
  If the method is called asynchronously,
5064
5307
  returns the request thread.
@@ -5113,10 +5356,9 @@ class TransactionPortfoliosApi:
5113
5356
  :param _return_http_data_only: response data instead of ApiResponse
5114
5357
  object with status code, headers, etc
5115
5358
  :type _return_http_data_only: bool, optional
5116
- :param _request_timeout: timeout setting for this request. If one
5117
- number provided, it will be total request
5118
- timeout. It can also be a pair (tuple) of
5119
- (connection, read) timeouts.
5359
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
5360
+ :param opts: Configuration options for this request
5361
+ :type opts: ConfigurationOptions, optional
5120
5362
  :param _request_auth: set to override the auth_settings for an a single
5121
5363
  request; this effectively ignores the authentication
5122
5364
  in the spec for a single request.
@@ -5150,7 +5392,8 @@ class TransactionPortfoliosApi:
5150
5392
  '_request_timeout',
5151
5393
  '_request_auth',
5152
5394
  '_content_type',
5153
- '_headers'
5395
+ '_headers',
5396
+ 'opts'
5154
5397
  ]
5155
5398
  )
5156
5399
 
@@ -5237,6 +5480,7 @@ class TransactionPortfoliosApi:
5237
5480
  _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
5238
5481
  _preload_content=_params.get('_preload_content', True),
5239
5482
  _request_timeout=_params.get('_request_timeout'),
5483
+ opts=_params.get('opts'),
5240
5484
  collection_formats=_collection_formats,
5241
5485
  _request_auth=_params.get('_request_auth'))
5242
5486
 
@@ -5277,10 +5521,9 @@ class TransactionPortfoliosApi:
5277
5521
  :type property_keys: List[str]
5278
5522
  :param async_req: Whether to execute the request asynchronously.
5279
5523
  :type async_req: bool, optional
5280
- :param _request_timeout: timeout setting for this request.
5281
- If one number provided, it will be total request
5282
- timeout. It can also be a pair (tuple) of
5283
- (connection, read) timeouts.
5524
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
5525
+ :param opts: Configuration options for this request
5526
+ :type opts: ConfigurationOptions, optional
5284
5527
  :return: Returns the result object.
5285
5528
  If the method is called asynchronously,
5286
5529
  returns the request thread.
@@ -5331,10 +5574,9 @@ class TransactionPortfoliosApi:
5331
5574
  :param _return_http_data_only: response data instead of ApiResponse
5332
5575
  object with status code, headers, etc
5333
5576
  :type _return_http_data_only: bool, optional
5334
- :param _request_timeout: timeout setting for this request. If one
5335
- number provided, it will be total request
5336
- timeout. It can also be a pair (tuple) of
5337
- (connection, read) timeouts.
5577
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
5578
+ :param opts: Configuration options for this request
5579
+ :type opts: ConfigurationOptions, optional
5338
5580
  :param _request_auth: set to override the auth_settings for an a single
5339
5581
  request; this effectively ignores the authentication
5340
5582
  in the spec for a single request.
@@ -5366,7 +5608,8 @@ class TransactionPortfoliosApi:
5366
5608
  '_request_timeout',
5367
5609
  '_request_auth',
5368
5610
  '_content_type',
5369
- '_headers'
5611
+ '_headers',
5612
+ 'opts'
5370
5613
  ]
5371
5614
  )
5372
5615
 
@@ -5448,6 +5691,7 @@ class TransactionPortfoliosApi:
5448
5691
  _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
5449
5692
  _preload_content=_params.get('_preload_content', True),
5450
5693
  _request_timeout=_params.get('_request_timeout'),
5694
+ opts=_params.get('opts'),
5451
5695
  collection_formats=_collection_formats,
5452
5696
  _request_auth=_params.get('_request_auth'))
5453
5697
 
@@ -5482,10 +5726,9 @@ class TransactionPortfoliosApi:
5482
5726
  :type as_at: datetime
5483
5727
  :param async_req: Whether to execute the request asynchronously.
5484
5728
  :type async_req: bool, optional
5485
- :param _request_timeout: timeout setting for this request.
5486
- If one number provided, it will be total request
5487
- timeout. It can also be a pair (tuple) of
5488
- (connection, read) timeouts.
5729
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
5730
+ :param opts: Configuration options for this request
5731
+ :type opts: ConfigurationOptions, optional
5489
5732
  :return: Returns the result object.
5490
5733
  If the method is called asynchronously,
5491
5734
  returns the request thread.
@@ -5530,10 +5773,9 @@ class TransactionPortfoliosApi:
5530
5773
  :param _return_http_data_only: response data instead of ApiResponse
5531
5774
  object with status code, headers, etc
5532
5775
  :type _return_http_data_only: bool, optional
5533
- :param _request_timeout: timeout setting for this request. If one
5534
- number provided, it will be total request
5535
- timeout. It can also be a pair (tuple) of
5536
- (connection, read) timeouts.
5776
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
5777
+ :param opts: Configuration options for this request
5778
+ :type opts: ConfigurationOptions, optional
5537
5779
  :param _request_auth: set to override the auth_settings for an a single
5538
5780
  request; this effectively ignores the authentication
5539
5781
  in the spec for a single request.
@@ -5562,7 +5804,8 @@ class TransactionPortfoliosApi:
5562
5804
  '_request_timeout',
5563
5805
  '_request_auth',
5564
5806
  '_content_type',
5565
- '_headers'
5807
+ '_headers',
5808
+ 'opts'
5566
5809
  ]
5567
5810
  )
5568
5811
 
@@ -5634,6 +5877,7 @@ class TransactionPortfoliosApi:
5634
5877
  _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
5635
5878
  _preload_content=_params.get('_preload_content', True),
5636
5879
  _request_timeout=_params.get('_request_timeout'),
5880
+ opts=_params.get('opts'),
5637
5881
  collection_formats=_collection_formats,
5638
5882
  _request_auth=_params.get('_request_auth'))
5639
5883
 
@@ -5666,10 +5910,9 @@ class TransactionPortfoliosApi:
5666
5910
  :type effective_at: str
5667
5911
  :param async_req: Whether to execute the request asynchronously.
5668
5912
  :type async_req: bool, optional
5669
- :param _request_timeout: timeout setting for this request.
5670
- If one number provided, it will be total request
5671
- timeout. It can also be a pair (tuple) of
5672
- (connection, read) timeouts.
5913
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
5914
+ :param opts: Configuration options for this request
5915
+ :type opts: ConfigurationOptions, optional
5673
5916
  :return: Returns the result object.
5674
5917
  If the method is called asynchronously,
5675
5918
  returns the request thread.
@@ -5712,10 +5955,9 @@ class TransactionPortfoliosApi:
5712
5955
  :param _return_http_data_only: response data instead of ApiResponse
5713
5956
  object with status code, headers, etc
5714
5957
  :type _return_http_data_only: bool, optional
5715
- :param _request_timeout: timeout setting for this request. If one
5716
- number provided, it will be total request
5717
- timeout. It can also be a pair (tuple) of
5718
- (connection, read) timeouts.
5958
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
5959
+ :param opts: Configuration options for this request
5960
+ :type opts: ConfigurationOptions, optional
5719
5961
  :param _request_auth: set to override the auth_settings for an a single
5720
5962
  request; this effectively ignores the authentication
5721
5963
  in the spec for a single request.
@@ -5743,7 +5985,8 @@ class TransactionPortfoliosApi:
5743
5985
  '_request_timeout',
5744
5986
  '_request_auth',
5745
5987
  '_content_type',
5746
- '_headers'
5988
+ '_headers',
5989
+ 'opts'
5747
5990
  ]
5748
5991
  )
5749
5992
 
@@ -5816,6 +6059,206 @@ class TransactionPortfoliosApi:
5816
6059
  _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
5817
6060
  _preload_content=_params.get('_preload_content', True),
5818
6061
  _request_timeout=_params.get('_request_timeout'),
6062
+ opts=_params.get('opts'),
6063
+ collection_formats=_collection_formats,
6064
+ _request_auth=_params.get('_request_auth'))
6065
+
6066
+ @overload
6067
+ async def preview_transaction(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the transaction portfolio.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio.")], transaction_request : Annotated[TransactionRequest, Field(..., description="The transaction to be previewed.")], property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the \"Instrument\" or \"Transaction\" domain to decorate onto the transactions. These take the format {domain}/{scope}/{code} e.g. \"Instrument/system/Name\" or \"Transaction/strategy/quantsignal\".")] = None, show_cancelled_transactions : Annotated[Optional[StrictBool], Field(description="Option to specify whether to include previous versions of an amended transaction in the response. Defaults to False if not specified.")] = None, preserve_properties : Annotated[Optional[StrictBool], Field(description="If the preview transaction is an amendment to an existing transaction, then setting this to true will carry forward any unmodified properties from the earlier version.")] = None, **kwargs) -> ResourceListOfOutputTransaction: # noqa: E501
6068
+ ...
6069
+
6070
+ @overload
6071
+ def preview_transaction(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the transaction portfolio.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio.")], transaction_request : Annotated[TransactionRequest, Field(..., description="The transaction to be previewed.")], property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the \"Instrument\" or \"Transaction\" domain to decorate onto the transactions. These take the format {domain}/{scope}/{code} e.g. \"Instrument/system/Name\" or \"Transaction/strategy/quantsignal\".")] = None, show_cancelled_transactions : Annotated[Optional[StrictBool], Field(description="Option to specify whether to include previous versions of an amended transaction in the response. Defaults to False if not specified.")] = None, preserve_properties : Annotated[Optional[StrictBool], Field(description="If the preview transaction is an amendment to an existing transaction, then setting this to true will carry forward any unmodified properties from the earlier version.")] = None, async_req: Optional[bool]=True, **kwargs) -> ResourceListOfOutputTransaction: # noqa: E501
6072
+ ...
6073
+
6074
+ @validate_arguments
6075
+ def preview_transaction(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the transaction portfolio.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio.")], transaction_request : Annotated[TransactionRequest, Field(..., description="The transaction to be previewed.")], property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the \"Instrument\" or \"Transaction\" domain to decorate onto the transactions. These take the format {domain}/{scope}/{code} e.g. \"Instrument/system/Name\" or \"Transaction/strategy/quantsignal\".")] = None, show_cancelled_transactions : Annotated[Optional[StrictBool], Field(description="Option to specify whether to include previous versions of an amended transaction in the response. Defaults to False if not specified.")] = None, preserve_properties : Annotated[Optional[StrictBool], Field(description="If the preview transaction is an amendment to an existing transaction, then setting this to true will carry forward any unmodified properties from the earlier version.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[ResourceListOfOutputTransaction, Awaitable[ResourceListOfOutputTransaction]]: # noqa: E501
6076
+ """[EARLY ACCESS] PreviewTransaction: Preview a transaction # noqa: E501
6077
+
6078
+ Returns the output-transaction(s) - e.g. as returned by BuildTransactions that would come out of LUSID if the provided TransactionRequest was booked. # noqa: E501
6079
+ This method makes a synchronous HTTP request by default. To make an
6080
+ asynchronous HTTP request, please pass async_req=True
6081
+
6082
+ >>> thread = api.preview_transaction(scope, code, transaction_request, property_keys, show_cancelled_transactions, preserve_properties, async_req=True)
6083
+ >>> result = thread.get()
6084
+
6085
+ :param scope: The scope of the transaction portfolio. (required)
6086
+ :type scope: str
6087
+ :param code: The code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio. (required)
6088
+ :type code: str
6089
+ :param transaction_request: The transaction to be previewed. (required)
6090
+ :type transaction_request: TransactionRequest
6091
+ :param property_keys: A list of property keys from the \"Instrument\" or \"Transaction\" domain to decorate onto the transactions. These take the format {domain}/{scope}/{code} e.g. \"Instrument/system/Name\" or \"Transaction/strategy/quantsignal\".
6092
+ :type property_keys: List[str]
6093
+ :param show_cancelled_transactions: Option to specify whether to include previous versions of an amended transaction in the response. Defaults to False if not specified.
6094
+ :type show_cancelled_transactions: bool
6095
+ :param preserve_properties: If the preview transaction is an amendment to an existing transaction, then setting this to true will carry forward any unmodified properties from the earlier version.
6096
+ :type preserve_properties: bool
6097
+ :param async_req: Whether to execute the request asynchronously.
6098
+ :type async_req: bool, optional
6099
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
6100
+ :param opts: Configuration options for this request
6101
+ :type opts: ConfigurationOptions, optional
6102
+ :return: Returns the result object.
6103
+ If the method is called asynchronously,
6104
+ returns the request thread.
6105
+ :rtype: ResourceListOfOutputTransaction
6106
+ """
6107
+ kwargs['_return_http_data_only'] = True
6108
+ if '_preload_content' in kwargs:
6109
+ message = "Error! Please call the preview_transaction_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501
6110
+ raise ValueError(message)
6111
+ if async_req is not None:
6112
+ kwargs['async_req'] = async_req
6113
+ return self.preview_transaction_with_http_info(scope, code, transaction_request, property_keys, show_cancelled_transactions, preserve_properties, **kwargs) # noqa: E501
6114
+
6115
+ @validate_arguments
6116
+ def preview_transaction_with_http_info(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the transaction portfolio.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio.")], transaction_request : Annotated[TransactionRequest, Field(..., description="The transaction to be previewed.")], property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the \"Instrument\" or \"Transaction\" domain to decorate onto the transactions. These take the format {domain}/{scope}/{code} e.g. \"Instrument/system/Name\" or \"Transaction/strategy/quantsignal\".")] = None, show_cancelled_transactions : Annotated[Optional[StrictBool], Field(description="Option to specify whether to include previous versions of an amended transaction in the response. Defaults to False if not specified.")] = None, preserve_properties : Annotated[Optional[StrictBool], Field(description="If the preview transaction is an amendment to an existing transaction, then setting this to true will carry forward any unmodified properties from the earlier version.")] = None, **kwargs) -> ApiResponse: # noqa: E501
6117
+ """[EARLY ACCESS] PreviewTransaction: Preview a transaction # noqa: E501
6118
+
6119
+ Returns the output-transaction(s) - e.g. as returned by BuildTransactions that would come out of LUSID if the provided TransactionRequest was booked. # noqa: E501
6120
+ This method makes a synchronous HTTP request by default. To make an
6121
+ asynchronous HTTP request, please pass async_req=True
6122
+
6123
+ >>> thread = api.preview_transaction_with_http_info(scope, code, transaction_request, property_keys, show_cancelled_transactions, preserve_properties, async_req=True)
6124
+ >>> result = thread.get()
6125
+
6126
+ :param scope: The scope of the transaction portfolio. (required)
6127
+ :type scope: str
6128
+ :param code: The code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio. (required)
6129
+ :type code: str
6130
+ :param transaction_request: The transaction to be previewed. (required)
6131
+ :type transaction_request: TransactionRequest
6132
+ :param property_keys: A list of property keys from the \"Instrument\" or \"Transaction\" domain to decorate onto the transactions. These take the format {domain}/{scope}/{code} e.g. \"Instrument/system/Name\" or \"Transaction/strategy/quantsignal\".
6133
+ :type property_keys: List[str]
6134
+ :param show_cancelled_transactions: Option to specify whether to include previous versions of an amended transaction in the response. Defaults to False if not specified.
6135
+ :type show_cancelled_transactions: bool
6136
+ :param preserve_properties: If the preview transaction is an amendment to an existing transaction, then setting this to true will carry forward any unmodified properties from the earlier version.
6137
+ :type preserve_properties: bool
6138
+ :param async_req: Whether to execute the request asynchronously.
6139
+ :type async_req: bool, optional
6140
+ :param _preload_content: if False, the ApiResponse.data will
6141
+ be set to none and raw_data will store the
6142
+ HTTP response body without reading/decoding.
6143
+ Default is True.
6144
+ :type _preload_content: bool, optional
6145
+ :param _return_http_data_only: response data instead of ApiResponse
6146
+ object with status code, headers, etc
6147
+ :type _return_http_data_only: bool, optional
6148
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
6149
+ :param opts: Configuration options for this request
6150
+ :type opts: ConfigurationOptions, optional
6151
+ :param _request_auth: set to override the auth_settings for an a single
6152
+ request; this effectively ignores the authentication
6153
+ in the spec for a single request.
6154
+ :type _request_auth: dict, optional
6155
+ :type _content_type: string, optional: force content-type for the request
6156
+ :return: Returns the result object.
6157
+ If the method is called asynchronously,
6158
+ returns the request thread.
6159
+ :rtype: tuple(ResourceListOfOutputTransaction, status_code(int), headers(HTTPHeaderDict))
6160
+ """
6161
+
6162
+ _params = locals()
6163
+
6164
+ _all_params = [
6165
+ 'scope',
6166
+ 'code',
6167
+ 'transaction_request',
6168
+ 'property_keys',
6169
+ 'show_cancelled_transactions',
6170
+ 'preserve_properties'
6171
+ ]
6172
+ _all_params.extend(
6173
+ [
6174
+ 'async_req',
6175
+ '_return_http_data_only',
6176
+ '_preload_content',
6177
+ '_request_timeout',
6178
+ '_request_auth',
6179
+ '_content_type',
6180
+ '_headers',
6181
+ 'opts'
6182
+ ]
6183
+ )
6184
+
6185
+ # validate the arguments
6186
+ for _key, _val in _params['kwargs'].items():
6187
+ if _key not in _all_params:
6188
+ raise ApiTypeError(
6189
+ "Got an unexpected keyword argument '%s'"
6190
+ " to method preview_transaction" % _key
6191
+ )
6192
+ _params[_key] = _val
6193
+ del _params['kwargs']
6194
+
6195
+ _collection_formats = {}
6196
+
6197
+ # process the path parameters
6198
+ _path_params = {}
6199
+ if _params['scope']:
6200
+ _path_params['scope'] = _params['scope']
6201
+
6202
+ if _params['code']:
6203
+ _path_params['code'] = _params['code']
6204
+
6205
+
6206
+ # process the query parameters
6207
+ _query_params = []
6208
+ if _params.get('property_keys') is not None: # noqa: E501
6209
+ _query_params.append(('propertyKeys', _params['property_keys']))
6210
+ _collection_formats['propertyKeys'] = 'multi'
6211
+
6212
+ if _params.get('show_cancelled_transactions') is not None: # noqa: E501
6213
+ _query_params.append(('showCancelledTransactions', _params['show_cancelled_transactions']))
6214
+
6215
+ if _params.get('preserve_properties') is not None: # noqa: E501
6216
+ _query_params.append(('preserveProperties', _params['preserve_properties']))
6217
+
6218
+ # process the header parameters
6219
+ _header_params = dict(_params.get('_headers', {}))
6220
+ # process the form parameters
6221
+ _form_params = []
6222
+ _files = {}
6223
+ # process the body parameter
6224
+ _body_params = None
6225
+ if _params['transaction_request'] is not None:
6226
+ _body_params = _params['transaction_request']
6227
+
6228
+ # set the HTTP header `Accept`
6229
+ _header_params['Accept'] = self.api_client.select_header_accept(
6230
+ ['text/plain', 'application/json', 'text/json']) # noqa: E501
6231
+
6232
+ # set the HTTP header `Content-Type`
6233
+ _content_types_list = _params.get('_content_type',
6234
+ self.api_client.select_header_content_type(
6235
+ ['application/json-patch+json', 'application/json', 'text/json', 'application/*+json']))
6236
+ if _content_types_list:
6237
+ _header_params['Content-Type'] = _content_types_list
6238
+
6239
+ # authentication setting
6240
+ _auth_settings = ['oauth2'] # noqa: E501
6241
+
6242
+ _response_types_map = {
6243
+ '200': "ResourceListOfOutputTransaction",
6244
+ '400': "LusidValidationProblemDetails",
6245
+ }
6246
+
6247
+ return self.api_client.call_api(
6248
+ '/api/transactionportfolios/{scope}/{code}/previewTransaction', 'POST',
6249
+ _path_params,
6250
+ _query_params,
6251
+ _header_params,
6252
+ body=_body_params,
6253
+ post_params=_form_params,
6254
+ files=_files,
6255
+ response_types_map=_response_types_map,
6256
+ auth_settings=_auth_settings,
6257
+ async_req=_params.get('async_req'),
6258
+ _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
6259
+ _preload_content=_params.get('_preload_content', True),
6260
+ _request_timeout=_params.get('_request_timeout'),
6261
+ opts=_params.get('opts'),
5819
6262
  collection_formats=_collection_formats,
5820
6263
  _request_auth=_params.get('_request_auth'))
5821
6264
 
@@ -5829,7 +6272,7 @@ class TransactionPortfoliosApi:
5829
6272
 
5830
6273
  @validate_arguments
5831
6274
  def resolve_instrument(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the transaction portfolio.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio.")], instrument_identifier_type : Annotated[StrictStr, Field(..., description="The instrument identifier type.")], instrument_identifier_value : Annotated[StrictStr, Field(..., description="The value for the given instrument identifier.")], from_effective_at : Annotated[Optional[StrictStr], Field(description="The lower bound effective datetime or cut label (inclusive) from which to retrieve the data. There is no lower bound if this is not specified.")] = None, re_resolve : Annotated[Optional[StrictBool], Field(description="When set to true, instrument resolution will be attempted for all transactions and holdings for the given identifier and date range. When set to false (default behaviour), instrument resolution will only be attempted for those transactions and holdings that were previously unresolved.")] = None, request_body : Annotated[Optional[Dict[str, StrictStr]], Field(description="The dictionary with the instrument identifiers to be updated on the transaction and holdings.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[UpsertPortfolioTransactionsResponse, Awaitable[UpsertPortfolioTransactionsResponse]]: # noqa: E501
5832
- """[EARLY ACCESS] ResolveInstrument: Resolve instrument # noqa: E501
6275
+ """ResolveInstrument: Resolve instrument # noqa: E501
5833
6276
 
5834
6277
  Try to resolve the instrument for transaction and holdings for a given instrument identifier and a specified period of time. Also update the instrument identifiers with the given instrument identifiers collection. # noqa: E501
5835
6278
  This method makes a synchronous HTTP request by default. To make an
@@ -5854,10 +6297,9 @@ class TransactionPortfoliosApi:
5854
6297
  :type request_body: Dict[str, str]
5855
6298
  :param async_req: Whether to execute the request asynchronously.
5856
6299
  :type async_req: bool, optional
5857
- :param _request_timeout: timeout setting for this request.
5858
- If one number provided, it will be total request
5859
- timeout. It can also be a pair (tuple) of
5860
- (connection, read) timeouts.
6300
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
6301
+ :param opts: Configuration options for this request
6302
+ :type opts: ConfigurationOptions, optional
5861
6303
  :return: Returns the result object.
5862
6304
  If the method is called asynchronously,
5863
6305
  returns the request thread.
@@ -5873,7 +6315,7 @@ class TransactionPortfoliosApi:
5873
6315
 
5874
6316
  @validate_arguments
5875
6317
  def resolve_instrument_with_http_info(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the transaction portfolio.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio.")], instrument_identifier_type : Annotated[StrictStr, Field(..., description="The instrument identifier type.")], instrument_identifier_value : Annotated[StrictStr, Field(..., description="The value for the given instrument identifier.")], from_effective_at : Annotated[Optional[StrictStr], Field(description="The lower bound effective datetime or cut label (inclusive) from which to retrieve the data. There is no lower bound if this is not specified.")] = None, re_resolve : Annotated[Optional[StrictBool], Field(description="When set to true, instrument resolution will be attempted for all transactions and holdings for the given identifier and date range. When set to false (default behaviour), instrument resolution will only be attempted for those transactions and holdings that were previously unresolved.")] = None, request_body : Annotated[Optional[Dict[str, StrictStr]], Field(description="The dictionary with the instrument identifiers to be updated on the transaction and holdings.")] = None, **kwargs) -> ApiResponse: # noqa: E501
5876
- """[EARLY ACCESS] ResolveInstrument: Resolve instrument # noqa: E501
6318
+ """ResolveInstrument: Resolve instrument # noqa: E501
5877
6319
 
5878
6320
  Try to resolve the instrument for transaction and holdings for a given instrument identifier and a specified period of time. Also update the instrument identifiers with the given instrument identifiers collection. # noqa: E501
5879
6321
  This method makes a synchronous HTTP request by default. To make an
@@ -5906,10 +6348,9 @@ class TransactionPortfoliosApi:
5906
6348
  :param _return_http_data_only: response data instead of ApiResponse
5907
6349
  object with status code, headers, etc
5908
6350
  :type _return_http_data_only: bool, optional
5909
- :param _request_timeout: timeout setting for this request. If one
5910
- number provided, it will be total request
5911
- timeout. It can also be a pair (tuple) of
5912
- (connection, read) timeouts.
6351
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
6352
+ :param opts: Configuration options for this request
6353
+ :type opts: ConfigurationOptions, optional
5913
6354
  :param _request_auth: set to override the auth_settings for an a single
5914
6355
  request; this effectively ignores the authentication
5915
6356
  in the spec for a single request.
@@ -5940,7 +6381,8 @@ class TransactionPortfoliosApi:
5940
6381
  '_request_timeout',
5941
6382
  '_request_auth',
5942
6383
  '_content_type',
5943
- '_headers'
6384
+ '_headers',
6385
+ 'opts'
5944
6386
  ]
5945
6387
  )
5946
6388
 
@@ -6022,6 +6464,7 @@ class TransactionPortfoliosApi:
6022
6464
  _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
6023
6465
  _preload_content=_params.get('_preload_content', True),
6024
6466
  _request_timeout=_params.get('_request_timeout'),
6467
+ opts=_params.get('opts'),
6025
6468
  collection_formats=_collection_formats,
6026
6469
  _request_auth=_params.get('_request_auth'))
6027
6470
 
@@ -6056,10 +6499,9 @@ class TransactionPortfoliosApi:
6056
6499
  :type reconciliation_methods: List[str]
6057
6500
  :param async_req: Whether to execute the request asynchronously.
6058
6501
  :type async_req: bool, optional
6059
- :param _request_timeout: timeout setting for this request.
6060
- If one number provided, it will be total request
6061
- timeout. It can also be a pair (tuple) of
6062
- (connection, read) timeouts.
6502
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
6503
+ :param opts: Configuration options for this request
6504
+ :type opts: ConfigurationOptions, optional
6063
6505
  :return: Returns the result object.
6064
6506
  If the method is called asynchronously,
6065
6507
  returns the request thread.
@@ -6104,10 +6546,9 @@ class TransactionPortfoliosApi:
6104
6546
  :param _return_http_data_only: response data instead of ApiResponse
6105
6547
  object with status code, headers, etc
6106
6548
  :type _return_http_data_only: bool, optional
6107
- :param _request_timeout: timeout setting for this request. If one
6108
- number provided, it will be total request
6109
- timeout. It can also be a pair (tuple) of
6110
- (connection, read) timeouts.
6549
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
6550
+ :param opts: Configuration options for this request
6551
+ :type opts: ConfigurationOptions, optional
6111
6552
  :param _request_auth: set to override the auth_settings for an a single
6112
6553
  request; this effectively ignores the authentication
6113
6554
  in the spec for a single request.
@@ -6136,7 +6577,8 @@ class TransactionPortfoliosApi:
6136
6577
  '_request_timeout',
6137
6578
  '_request_auth',
6138
6579
  '_content_type',
6139
- '_headers'
6580
+ '_headers',
6581
+ 'opts'
6140
6582
  ]
6141
6583
  )
6142
6584
 
@@ -6213,6 +6655,7 @@ class TransactionPortfoliosApi:
6213
6655
  _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
6214
6656
  _preload_content=_params.get('_preload_content', True),
6215
6657
  _request_timeout=_params.get('_request_timeout'),
6658
+ opts=_params.get('opts'),
6216
6659
  collection_formats=_collection_formats,
6217
6660
  _request_auth=_params.get('_request_auth'))
6218
6661
 
@@ -6243,10 +6686,9 @@ class TransactionPortfoliosApi:
6243
6686
  :type custodian_account_request: List[CustodianAccountRequest]
6244
6687
  :param async_req: Whether to execute the request asynchronously.
6245
6688
  :type async_req: bool, optional
6246
- :param _request_timeout: timeout setting for this request.
6247
- If one number provided, it will be total request
6248
- timeout. It can also be a pair (tuple) of
6249
- (connection, read) timeouts.
6689
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
6690
+ :param opts: Configuration options for this request
6691
+ :type opts: ConfigurationOptions, optional
6250
6692
  :return: Returns the result object.
6251
6693
  If the method is called asynchronously,
6252
6694
  returns the request thread.
@@ -6287,10 +6729,9 @@ class TransactionPortfoliosApi:
6287
6729
  :param _return_http_data_only: response data instead of ApiResponse
6288
6730
  object with status code, headers, etc
6289
6731
  :type _return_http_data_only: bool, optional
6290
- :param _request_timeout: timeout setting for this request. If one
6291
- number provided, it will be total request
6292
- timeout. It can also be a pair (tuple) of
6293
- (connection, read) timeouts.
6732
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
6733
+ :param opts: Configuration options for this request
6734
+ :type opts: ConfigurationOptions, optional
6294
6735
  :param _request_auth: set to override the auth_settings for an a single
6295
6736
  request; this effectively ignores the authentication
6296
6737
  in the spec for a single request.
@@ -6317,7 +6758,8 @@ class TransactionPortfoliosApi:
6317
6758
  '_request_timeout',
6318
6759
  '_request_auth',
6319
6760
  '_content_type',
6320
- '_headers'
6761
+ '_headers',
6762
+ 'opts'
6321
6763
  ]
6322
6764
  )
6323
6765
 
@@ -6387,6 +6829,7 @@ class TransactionPortfoliosApi:
6387
6829
  _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
6388
6830
  _preload_content=_params.get('_preload_content', True),
6389
6831
  _request_timeout=_params.get('_request_timeout'),
6832
+ opts=_params.get('opts'),
6390
6833
  collection_formats=_collection_formats,
6391
6834
  _request_auth=_params.get('_request_auth'))
6392
6835
 
@@ -6421,10 +6864,9 @@ class TransactionPortfoliosApi:
6421
6864
  :type request_body: Dict[str, ModelProperty]
6422
6865
  :param async_req: Whether to execute the request asynchronously.
6423
6866
  :type async_req: bool, optional
6424
- :param _request_timeout: timeout setting for this request.
6425
- If one number provided, it will be total request
6426
- timeout. It can also be a pair (tuple) of
6427
- (connection, read) timeouts.
6867
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
6868
+ :param opts: Configuration options for this request
6869
+ :type opts: ConfigurationOptions, optional
6428
6870
  :return: Returns the result object.
6429
6871
  If the method is called asynchronously,
6430
6872
  returns the request thread.
@@ -6469,10 +6911,9 @@ class TransactionPortfoliosApi:
6469
6911
  :param _return_http_data_only: response data instead of ApiResponse
6470
6912
  object with status code, headers, etc
6471
6913
  :type _return_http_data_only: bool, optional
6472
- :param _request_timeout: timeout setting for this request. If one
6473
- number provided, it will be total request
6474
- timeout. It can also be a pair (tuple) of
6475
- (connection, read) timeouts.
6914
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
6915
+ :param opts: Configuration options for this request
6916
+ :type opts: ConfigurationOptions, optional
6476
6917
  :param _request_auth: set to override the auth_settings for an a single
6477
6918
  request; this effectively ignores the authentication
6478
6919
  in the spec for a single request.
@@ -6501,7 +6942,8 @@ class TransactionPortfoliosApi:
6501
6942
  '_request_timeout',
6502
6943
  '_request_auth',
6503
6944
  '_content_type',
6504
- '_headers'
6945
+ '_headers',
6946
+ 'opts'
6505
6947
  ]
6506
6948
  )
6507
6949
 
@@ -6577,6 +7019,7 @@ class TransactionPortfoliosApi:
6577
7019
  _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
6578
7020
  _preload_content=_params.get('_preload_content', True),
6579
7021
  _request_timeout=_params.get('_request_timeout'),
7022
+ opts=_params.get('opts'),
6580
7023
  collection_formats=_collection_formats,
6581
7024
  _request_auth=_params.get('_request_auth'))
6582
7025
 
@@ -6609,10 +7052,9 @@ class TransactionPortfoliosApi:
6609
7052
  :type effective_at: str
6610
7053
  :param async_req: Whether to execute the request asynchronously.
6611
7054
  :type async_req: bool, optional
6612
- :param _request_timeout: timeout setting for this request.
6613
- If one number provided, it will be total request
6614
- timeout. It can also be a pair (tuple) of
6615
- (connection, read) timeouts.
7055
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
7056
+ :param opts: Configuration options for this request
7057
+ :type opts: ConfigurationOptions, optional
6616
7058
  :return: Returns the result object.
6617
7059
  If the method is called asynchronously,
6618
7060
  returns the request thread.
@@ -6655,10 +7097,9 @@ class TransactionPortfoliosApi:
6655
7097
  :param _return_http_data_only: response data instead of ApiResponse
6656
7098
  object with status code, headers, etc
6657
7099
  :type _return_http_data_only: bool, optional
6658
- :param _request_timeout: timeout setting for this request. If one
6659
- number provided, it will be total request
6660
- timeout. It can also be a pair (tuple) of
6661
- (connection, read) timeouts.
7100
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
7101
+ :param opts: Configuration options for this request
7102
+ :type opts: ConfigurationOptions, optional
6662
7103
  :param _request_auth: set to override the auth_settings for an a single
6663
7104
  request; this effectively ignores the authentication
6664
7105
  in the spec for a single request.
@@ -6686,7 +7127,8 @@ class TransactionPortfoliosApi:
6686
7127
  '_request_timeout',
6687
7128
  '_request_auth',
6688
7129
  '_content_type',
6689
- '_headers'
7130
+ '_headers',
7131
+ 'opts'
6690
7132
  ]
6691
7133
  )
6692
7134
 
@@ -6759,6 +7201,7 @@ class TransactionPortfoliosApi:
6759
7201
  _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
6760
7202
  _preload_content=_params.get('_preload_content', True),
6761
7203
  _request_timeout=_params.get('_request_timeout'),
7204
+ opts=_params.get('opts'),
6762
7205
  collection_formats=_collection_formats,
6763
7206
  _request_auth=_params.get('_request_auth'))
6764
7207
 
@@ -6791,10 +7234,9 @@ class TransactionPortfoliosApi:
6791
7234
  :type request_body: Dict[str, PerpetualProperty]
6792
7235
  :param async_req: Whether to execute the request asynchronously.
6793
7236
  :type async_req: bool, optional
6794
- :param _request_timeout: timeout setting for this request.
6795
- If one number provided, it will be total request
6796
- timeout. It can also be a pair (tuple) of
6797
- (connection, read) timeouts.
7237
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
7238
+ :param opts: Configuration options for this request
7239
+ :type opts: ConfigurationOptions, optional
6798
7240
  :return: Returns the result object.
6799
7241
  If the method is called asynchronously,
6800
7242
  returns the request thread.
@@ -6837,10 +7279,9 @@ class TransactionPortfoliosApi:
6837
7279
  :param _return_http_data_only: response data instead of ApiResponse
6838
7280
  object with status code, headers, etc
6839
7281
  :type _return_http_data_only: bool, optional
6840
- :param _request_timeout: timeout setting for this request. If one
6841
- number provided, it will be total request
6842
- timeout. It can also be a pair (tuple) of
6843
- (connection, read) timeouts.
7282
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
7283
+ :param opts: Configuration options for this request
7284
+ :type opts: ConfigurationOptions, optional
6844
7285
  :param _request_auth: set to override the auth_settings for an a single
6845
7286
  request; this effectively ignores the authentication
6846
7287
  in the spec for a single request.
@@ -6868,7 +7309,8 @@ class TransactionPortfoliosApi:
6868
7309
  '_request_timeout',
6869
7310
  '_request_auth',
6870
7311
  '_content_type',
6871
- '_headers'
7312
+ '_headers',
7313
+ 'opts'
6872
7314
  ]
6873
7315
  )
6874
7316
 
@@ -6941,6 +7383,7 @@ class TransactionPortfoliosApi:
6941
7383
  _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
6942
7384
  _preload_content=_params.get('_preload_content', True),
6943
7385
  _request_timeout=_params.get('_request_timeout'),
7386
+ opts=_params.get('opts'),
6944
7387
  collection_formats=_collection_formats,
6945
7388
  _request_auth=_params.get('_request_auth'))
6946
7389
 
@@ -6973,10 +7416,9 @@ class TransactionPortfoliosApi:
6973
7416
  :type preserve_properties: bool
6974
7417
  :param async_req: Whether to execute the request asynchronously.
6975
7418
  :type async_req: bool, optional
6976
- :param _request_timeout: timeout setting for this request.
6977
- If one number provided, it will be total request
6978
- timeout. It can also be a pair (tuple) of
6979
- (connection, read) timeouts.
7419
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
7420
+ :param opts: Configuration options for this request
7421
+ :type opts: ConfigurationOptions, optional
6980
7422
  :return: Returns the result object.
6981
7423
  If the method is called asynchronously,
6982
7424
  returns the request thread.
@@ -7019,10 +7461,9 @@ class TransactionPortfoliosApi:
7019
7461
  :param _return_http_data_only: response data instead of ApiResponse
7020
7462
  object with status code, headers, etc
7021
7463
  :type _return_http_data_only: bool, optional
7022
- :param _request_timeout: timeout setting for this request. If one
7023
- number provided, it will be total request
7024
- timeout. It can also be a pair (tuple) of
7025
- (connection, read) timeouts.
7464
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
7465
+ :param opts: Configuration options for this request
7466
+ :type opts: ConfigurationOptions, optional
7026
7467
  :param _request_auth: set to override the auth_settings for an a single
7027
7468
  request; this effectively ignores the authentication
7028
7469
  in the spec for a single request.
@@ -7050,7 +7491,8 @@ class TransactionPortfoliosApi:
7050
7491
  '_request_timeout',
7051
7492
  '_request_auth',
7052
7493
  '_content_type',
7053
- '_headers'
7494
+ '_headers',
7495
+ 'opts'
7054
7496
  ]
7055
7497
  )
7056
7498
 
@@ -7123,5 +7565,6 @@ class TransactionPortfoliosApi:
7123
7565
  _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
7124
7566
  _preload_content=_params.get('_preload_content', True),
7125
7567
  _request_timeout=_params.get('_request_timeout'),
7568
+ opts=_params.get('opts'),
7126
7569
  collection_formats=_collection_formats,
7127
7570
  _request_auth=_params.get('_request_auth'))