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
@@ -31,6 +31,7 @@ from lusid.models.fund_configuration import FundConfiguration
31
31
  from lusid.models.fund_configuration_properties import FundConfigurationProperties
32
32
  from lusid.models.fund_configuration_request import FundConfigurationRequest
33
33
  from lusid.models.model_property import ModelProperty
34
+ from lusid.models.operation import Operation
34
35
  from lusid.models.paged_resource_list_of_fund_configuration import PagedResourceListOfFundConfiguration
35
36
 
36
37
  from lusid.api_client import ApiClient
@@ -39,9 +40,10 @@ from lusid.exceptions import ( # noqa: F401
39
40
  ApiTypeError,
40
41
  ApiValueError
41
42
  )
43
+ from lusid.extensions.configuration_options import ConfigurationOptions
42
44
 
43
45
 
44
- class FundConfigurationsApi:
46
+ class FundConfigurationApi:
45
47
  """NOTE: This class is auto generated by OpenAPI Generator
46
48
  Ref: https://openapi-generator.tech
47
49
 
@@ -78,10 +80,9 @@ class FundConfigurationsApi:
78
80
  :type fund_configuration_request: FundConfigurationRequest
79
81
  :param async_req: Whether to execute the request asynchronously.
80
82
  :type async_req: bool, optional
81
- :param _request_timeout: timeout setting for this request.
82
- If one number provided, it will be total request
83
- timeout. It can also be a pair (tuple) of
84
- (connection, read) timeouts.
83
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
84
+ :param opts: Configuration options for this request
85
+ :type opts: ConfigurationOptions, optional
85
86
  :return: Returns the result object.
86
87
  If the method is called asynchronously,
87
88
  returns the request thread.
@@ -120,10 +121,9 @@ class FundConfigurationsApi:
120
121
  :param _return_http_data_only: response data instead of ApiResponse
121
122
  object with status code, headers, etc
122
123
  :type _return_http_data_only: bool, optional
123
- :param _request_timeout: timeout setting for this request. If one
124
- number provided, it will be total request
125
- timeout. It can also be a pair (tuple) of
126
- (connection, read) timeouts.
124
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
125
+ :param opts: Configuration options for this request
126
+ :type opts: ConfigurationOptions, optional
127
127
  :param _request_auth: set to override the auth_settings for an a single
128
128
  request; this effectively ignores the authentication
129
129
  in the spec for a single request.
@@ -149,7 +149,8 @@ class FundConfigurationsApi:
149
149
  '_request_timeout',
150
150
  '_request_auth',
151
151
  '_content_type',
152
- '_headers'
152
+ '_headers',
153
+ 'opts'
153
154
  ]
154
155
  )
155
156
 
@@ -216,6 +217,7 @@ class FundConfigurationsApi:
216
217
  _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
217
218
  _preload_content=_params.get('_preload_content', True),
218
219
  _request_timeout=_params.get('_request_timeout'),
220
+ opts=_params.get('opts'),
219
221
  collection_formats=_collection_formats,
220
222
  _request_auth=_params.get('_request_auth'))
221
223
 
@@ -244,10 +246,9 @@ class FundConfigurationsApi:
244
246
  :type code: str
245
247
  :param async_req: Whether to execute the request asynchronously.
246
248
  :type async_req: bool, optional
247
- :param _request_timeout: timeout setting for this request.
248
- If one number provided, it will be total request
249
- timeout. It can also be a pair (tuple) of
250
- (connection, read) timeouts.
249
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
250
+ :param opts: Configuration options for this request
251
+ :type opts: ConfigurationOptions, optional
251
252
  :return: Returns the result object.
252
253
  If the method is called asynchronously,
253
254
  returns the request thread.
@@ -286,10 +287,9 @@ class FundConfigurationsApi:
286
287
  :param _return_http_data_only: response data instead of ApiResponse
287
288
  object with status code, headers, etc
288
289
  :type _return_http_data_only: bool, optional
289
- :param _request_timeout: timeout setting for this request. If one
290
- number provided, it will be total request
291
- timeout. It can also be a pair (tuple) of
292
- (connection, read) timeouts.
290
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
291
+ :param opts: Configuration options for this request
292
+ :type opts: ConfigurationOptions, optional
293
293
  :param _request_auth: set to override the auth_settings for an a single
294
294
  request; this effectively ignores the authentication
295
295
  in the spec for a single request.
@@ -315,7 +315,8 @@ class FundConfigurationsApi:
315
315
  '_request_timeout',
316
316
  '_request_auth',
317
317
  '_content_type',
318
- '_headers'
318
+ '_headers',
319
+ 'opts'
319
320
  ]
320
321
  )
321
322
 
@@ -375,6 +376,7 @@ class FundConfigurationsApi:
375
376
  _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
376
377
  _preload_content=_params.get('_preload_content', True),
377
378
  _request_timeout=_params.get('_request_timeout'),
379
+ opts=_params.get('opts'),
378
380
  collection_formats=_collection_formats,
379
381
  _request_auth=_params.get('_request_auth'))
380
382
 
@@ -409,10 +411,9 @@ class FundConfigurationsApi:
409
411
  :type property_keys: List[str]
410
412
  :param async_req: Whether to execute the request asynchronously.
411
413
  :type async_req: bool, optional
412
- :param _request_timeout: timeout setting for this request.
413
- If one number provided, it will be total request
414
- timeout. It can also be a pair (tuple) of
415
- (connection, read) timeouts.
414
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
415
+ :param opts: Configuration options for this request
416
+ :type opts: ConfigurationOptions, optional
416
417
  :return: Returns the result object.
417
418
  If the method is called asynchronously,
418
419
  returns the request thread.
@@ -457,10 +458,9 @@ class FundConfigurationsApi:
457
458
  :param _return_http_data_only: response data instead of ApiResponse
458
459
  object with status code, headers, etc
459
460
  :type _return_http_data_only: bool, optional
460
- :param _request_timeout: timeout setting for this request. If one
461
- number provided, it will be total request
462
- timeout. It can also be a pair (tuple) of
463
- (connection, read) timeouts.
461
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
462
+ :param opts: Configuration options for this request
463
+ :type opts: ConfigurationOptions, optional
464
464
  :param _request_auth: set to override the auth_settings for an a single
465
465
  request; this effectively ignores the authentication
466
466
  in the spec for a single request.
@@ -489,7 +489,8 @@ class FundConfigurationsApi:
489
489
  '_request_timeout',
490
490
  '_request_auth',
491
491
  '_content_type',
492
- '_headers'
492
+ '_headers',
493
+ 'opts'
493
494
  ]
494
495
  )
495
496
 
@@ -562,6 +563,7 @@ class FundConfigurationsApi:
562
563
  _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
563
564
  _preload_content=_params.get('_preload_content', True),
564
565
  _request_timeout=_params.get('_request_timeout'),
566
+ opts=_params.get('opts'),
565
567
  collection_formats=_collection_formats,
566
568
  _request_auth=_params.get('_request_auth'))
567
569
 
@@ -600,10 +602,9 @@ class FundConfigurationsApi:
600
602
  :type property_keys: List[str]
601
603
  :param async_req: Whether to execute the request asynchronously.
602
604
  :type async_req: bool, optional
603
- :param _request_timeout: timeout setting for this request.
604
- If one number provided, it will be total request
605
- timeout. It can also be a pair (tuple) of
606
- (connection, read) timeouts.
605
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
606
+ :param opts: Configuration options for this request
607
+ :type opts: ConfigurationOptions, optional
607
608
  :return: Returns the result object.
608
609
  If the method is called asynchronously,
609
610
  returns the request thread.
@@ -652,10 +653,9 @@ class FundConfigurationsApi:
652
653
  :param _return_http_data_only: response data instead of ApiResponse
653
654
  object with status code, headers, etc
654
655
  :type _return_http_data_only: bool, optional
655
- :param _request_timeout: timeout setting for this request. If one
656
- number provided, it will be total request
657
- timeout. It can also be a pair (tuple) of
658
- (connection, read) timeouts.
656
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
657
+ :param opts: Configuration options for this request
658
+ :type opts: ConfigurationOptions, optional
659
659
  :param _request_auth: set to override the auth_settings for an a single
660
660
  request; this effectively ignores the authentication
661
661
  in the spec for a single request.
@@ -686,7 +686,8 @@ class FundConfigurationsApi:
686
686
  '_request_timeout',
687
687
  '_request_auth',
688
688
  '_content_type',
689
- '_headers'
689
+ '_headers',
690
+ 'opts'
690
691
  ]
691
692
  )
692
693
 
@@ -766,6 +767,181 @@ class FundConfigurationsApi:
766
767
  _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
767
768
  _preload_content=_params.get('_preload_content', True),
768
769
  _request_timeout=_params.get('_request_timeout'),
770
+ opts=_params.get('opts'),
771
+ collection_formats=_collection_formats,
772
+ _request_auth=_params.get('_request_auth'))
773
+
774
+ @overload
775
+ async def patch_fund_configuration(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the FundConfiguration.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the FundConfiguration. Together with the scope this uniquely identifies the FundConfiguration.")], operation : Annotated[conlist(Operation), Field(..., description="The json patch document. For more information see: https://datatracker.ietf.org/doc/html/rfc6902.")], **kwargs) -> FundConfiguration: # noqa: E501
776
+ ...
777
+
778
+ @overload
779
+ def patch_fund_configuration(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the FundConfiguration.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the FundConfiguration. Together with the scope this uniquely identifies the FundConfiguration.")], operation : Annotated[conlist(Operation), Field(..., description="The json patch document. For more information see: https://datatracker.ietf.org/doc/html/rfc6902.")], async_req: Optional[bool]=True, **kwargs) -> FundConfiguration: # noqa: E501
780
+ ...
781
+
782
+ @validate_arguments
783
+ def patch_fund_configuration(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the FundConfiguration.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the FundConfiguration. Together with the scope this uniquely identifies the FundConfiguration.")], operation : Annotated[conlist(Operation), Field(..., description="The json patch document. For more information see: https://datatracker.ietf.org/doc/html/rfc6902.")], async_req: Optional[bool]=None, **kwargs) -> Union[FundConfiguration, Awaitable[FundConfiguration]]: # noqa: E501
784
+ """[EXPERIMENTAL] PatchFundConfiguration: Patch Fund Configuration. # noqa: E501
785
+
786
+ Create or update certain fields for a particular FundConfiguration. The behaviour is defined by the JSON Patch specification. Currently supported fields are: displayName, description, dealingFilters, pnlFilters, backOutFilters. # noqa: E501
787
+ This method makes a synchronous HTTP request by default. To make an
788
+ asynchronous HTTP request, please pass async_req=True
789
+
790
+ >>> thread = api.patch_fund_configuration(scope, code, operation, async_req=True)
791
+ >>> result = thread.get()
792
+
793
+ :param scope: The scope of the FundConfiguration. (required)
794
+ :type scope: str
795
+ :param code: The code of the FundConfiguration. Together with the scope this uniquely identifies the FundConfiguration. (required)
796
+ :type code: str
797
+ :param operation: The json patch document. For more information see: https://datatracker.ietf.org/doc/html/rfc6902. (required)
798
+ :type operation: List[Operation]
799
+ :param async_req: Whether to execute the request asynchronously.
800
+ :type async_req: bool, optional
801
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
802
+ :param opts: Configuration options for this request
803
+ :type opts: ConfigurationOptions, optional
804
+ :return: Returns the result object.
805
+ If the method is called asynchronously,
806
+ returns the request thread.
807
+ :rtype: FundConfiguration
808
+ """
809
+ kwargs['_return_http_data_only'] = True
810
+ if '_preload_content' in kwargs:
811
+ message = "Error! Please call the patch_fund_configuration_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501
812
+ raise ValueError(message)
813
+ if async_req is not None:
814
+ kwargs['async_req'] = async_req
815
+ return self.patch_fund_configuration_with_http_info(scope, code, operation, **kwargs) # noqa: E501
816
+
817
+ @validate_arguments
818
+ def patch_fund_configuration_with_http_info(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the FundConfiguration.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the FundConfiguration. Together with the scope this uniquely identifies the FundConfiguration.")], operation : Annotated[conlist(Operation), Field(..., description="The json patch document. For more information see: https://datatracker.ietf.org/doc/html/rfc6902.")], **kwargs) -> ApiResponse: # noqa: E501
819
+ """[EXPERIMENTAL] PatchFundConfiguration: Patch Fund Configuration. # noqa: E501
820
+
821
+ Create or update certain fields for a particular FundConfiguration. The behaviour is defined by the JSON Patch specification. Currently supported fields are: displayName, description, dealingFilters, pnlFilters, backOutFilters. # noqa: E501
822
+ This method makes a synchronous HTTP request by default. To make an
823
+ asynchronous HTTP request, please pass async_req=True
824
+
825
+ >>> thread = api.patch_fund_configuration_with_http_info(scope, code, operation, async_req=True)
826
+ >>> result = thread.get()
827
+
828
+ :param scope: The scope of the FundConfiguration. (required)
829
+ :type scope: str
830
+ :param code: The code of the FundConfiguration. Together with the scope this uniquely identifies the FundConfiguration. (required)
831
+ :type code: str
832
+ :param operation: The json patch document. For more information see: https://datatracker.ietf.org/doc/html/rfc6902. (required)
833
+ :type operation: List[Operation]
834
+ :param async_req: Whether to execute the request asynchronously.
835
+ :type async_req: bool, optional
836
+ :param _preload_content: if False, the ApiResponse.data will
837
+ be set to none and raw_data will store the
838
+ HTTP response body without reading/decoding.
839
+ Default is True.
840
+ :type _preload_content: bool, optional
841
+ :param _return_http_data_only: response data instead of ApiResponse
842
+ object with status code, headers, etc
843
+ :type _return_http_data_only: bool, optional
844
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
845
+ :param opts: Configuration options for this request
846
+ :type opts: ConfigurationOptions, optional
847
+ :param _request_auth: set to override the auth_settings for an a single
848
+ request; this effectively ignores the authentication
849
+ in the spec for a single request.
850
+ :type _request_auth: dict, optional
851
+ :type _content_type: string, optional: force content-type for the request
852
+ :return: Returns the result object.
853
+ If the method is called asynchronously,
854
+ returns the request thread.
855
+ :rtype: tuple(FundConfiguration, status_code(int), headers(HTTPHeaderDict))
856
+ """
857
+
858
+ _params = locals()
859
+
860
+ _all_params = [
861
+ 'scope',
862
+ 'code',
863
+ 'operation'
864
+ ]
865
+ _all_params.extend(
866
+ [
867
+ 'async_req',
868
+ '_return_http_data_only',
869
+ '_preload_content',
870
+ '_request_timeout',
871
+ '_request_auth',
872
+ '_content_type',
873
+ '_headers',
874
+ 'opts'
875
+ ]
876
+ )
877
+
878
+ # validate the arguments
879
+ for _key, _val in _params['kwargs'].items():
880
+ if _key not in _all_params:
881
+ raise ApiTypeError(
882
+ "Got an unexpected keyword argument '%s'"
883
+ " to method patch_fund_configuration" % _key
884
+ )
885
+ _params[_key] = _val
886
+ del _params['kwargs']
887
+
888
+ _collection_formats = {}
889
+
890
+ # process the path parameters
891
+ _path_params = {}
892
+ if _params['scope']:
893
+ _path_params['scope'] = _params['scope']
894
+
895
+ if _params['code']:
896
+ _path_params['code'] = _params['code']
897
+
898
+
899
+ # process the query parameters
900
+ _query_params = []
901
+ # process the header parameters
902
+ _header_params = dict(_params.get('_headers', {}))
903
+ # process the form parameters
904
+ _form_params = []
905
+ _files = {}
906
+ # process the body parameter
907
+ _body_params = None
908
+ if _params['operation'] is not None:
909
+ _body_params = _params['operation']
910
+
911
+ # set the HTTP header `Accept`
912
+ _header_params['Accept'] = self.api_client.select_header_accept(
913
+ ['text/plain', 'application/json', 'text/json']) # noqa: E501
914
+
915
+ # set the HTTP header `Content-Type`
916
+ _content_types_list = _params.get('_content_type',
917
+ self.api_client.select_header_content_type(
918
+ ['application/json-patch+json', 'application/json', 'text/json', 'application/*+json']))
919
+ if _content_types_list:
920
+ _header_params['Content-Type'] = _content_types_list
921
+
922
+ # authentication setting
923
+ _auth_settings = ['oauth2'] # noqa: E501
924
+
925
+ _response_types_map = {
926
+ '200': "FundConfiguration",
927
+ '400': "LusidValidationProblemDetails",
928
+ }
929
+
930
+ return self.api_client.call_api(
931
+ '/api/fundconfigurations/{scope}/{code}', 'PATCH',
932
+ _path_params,
933
+ _query_params,
934
+ _header_params,
935
+ body=_body_params,
936
+ post_params=_form_params,
937
+ files=_files,
938
+ response_types_map=_response_types_map,
939
+ auth_settings=_auth_settings,
940
+ async_req=_params.get('async_req'),
941
+ _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
942
+ _preload_content=_params.get('_preload_content', True),
943
+ _request_timeout=_params.get('_request_timeout'),
944
+ opts=_params.get('opts'),
769
945
  collection_formats=_collection_formats,
770
946
  _request_auth=_params.get('_request_auth'))
771
947
 
@@ -796,10 +972,9 @@ class FundConfigurationsApi:
796
972
  :type request_body: Dict[str, ModelProperty]
797
973
  :param async_req: Whether to execute the request asynchronously.
798
974
  :type async_req: bool, optional
799
- :param _request_timeout: timeout setting for this request.
800
- If one number provided, it will be total request
801
- timeout. It can also be a pair (tuple) of
802
- (connection, read) timeouts.
975
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
976
+ :param opts: Configuration options for this request
977
+ :type opts: ConfigurationOptions, optional
803
978
  :return: Returns the result object.
804
979
  If the method is called asynchronously,
805
980
  returns the request thread.
@@ -840,10 +1015,9 @@ class FundConfigurationsApi:
840
1015
  :param _return_http_data_only: response data instead of ApiResponse
841
1016
  object with status code, headers, etc
842
1017
  :type _return_http_data_only: bool, optional
843
- :param _request_timeout: timeout setting for this request. If one
844
- number provided, it will be total request
845
- timeout. It can also be a pair (tuple) of
846
- (connection, read) timeouts.
1018
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
1019
+ :param opts: Configuration options for this request
1020
+ :type opts: ConfigurationOptions, optional
847
1021
  :param _request_auth: set to override the auth_settings for an a single
848
1022
  request; this effectively ignores the authentication
849
1023
  in the spec for a single request.
@@ -870,7 +1044,8 @@ class FundConfigurationsApi:
870
1044
  '_request_timeout',
871
1045
  '_request_auth',
872
1046
  '_content_type',
873
- '_headers'
1047
+ '_headers',
1048
+ 'opts'
874
1049
  ]
875
1050
  )
876
1051
 
@@ -940,5 +1115,6 @@ class FundConfigurationsApi:
940
1115
  _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
941
1116
  _preload_content=_params.get('_preload_content', True),
942
1117
  _request_timeout=_params.get('_request_timeout'),
1118
+ opts=_params.get('opts'),
943
1119
  collection_formats=_collection_formats,
944
1120
  _request_auth=_params.get('_request_auth'))