lusid-sdk 2.1.405__py3-none-any.whl → 2.1.462__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 (247) hide show
  1. lusid/__init__.py +80 -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 +1437 -45
  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 +187 -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 +569 -326
  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 +78 -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/basket.py +3 -3
  88. lusid/models/batch_upsert_dates_for_calendar_response.py +146 -0
  89. lusid/models/batch_upsert_portfolio_access_metadata_request.py +27 -17
  90. lusid/models/batch_upsert_portfolio_access_metadata_response.py +56 -16
  91. lusid/models/{metadata_key_value.py → batch_upsert_portfolio_access_metadata_response_item.py} +15 -9
  92. lusid/models/bond.py +3 -3
  93. lusid/models/bond_coupon_event.py +3 -3
  94. lusid/models/bond_default_event.py +3 -3
  95. lusid/models/bond_principal_event.py +3 -3
  96. lusid/models/bonus_issue_event.py +166 -0
  97. lusid/models/{component_rule.py → break_code_source.py} +17 -21
  98. lusid/models/cancel_order_and_move_remaining_result.py +84 -0
  99. lusid/models/cancel_orders_and_move_remaining_request.py +83 -0
  100. lusid/models/cancel_orders_and_move_remaining_response.py +153 -0
  101. lusid/models/cap_floor.py +3 -3
  102. lusid/models/capital_distribution_event.py +3 -3
  103. lusid/models/cash.py +3 -3
  104. lusid/models/cash_dividend_event.py +3 -3
  105. lusid/models/cash_flow_event.py +3 -3
  106. lusid/models/cash_perpetual.py +3 -3
  107. lusid/models/cds_credit_event.py +6 -6
  108. lusid/models/cds_index.py +3 -3
  109. lusid/models/cdx_credit_event.py +6 -6
  110. lusid/models/change_interval.py +123 -0
  111. lusid/models/change_interval_with_order_management_detail.py +3 -3
  112. lusid/models/close_event.py +3 -3
  113. lusid/models/complex_bond.py +3 -3
  114. lusid/models/contract_for_difference.py +3 -3
  115. lusid/models/create_derived_transaction_portfolio_request.py +3 -3
  116. lusid/models/create_group_reconciliation_definition_request.py +113 -0
  117. lusid/models/create_transaction_portfolio_request.py +3 -3
  118. lusid/models/credit_default_swap.py +3 -3
  119. lusid/models/credit_premium_cash_flow_event.py +3 -3
  120. lusid/models/custom_entity_entity.py +146 -0
  121. lusid/models/custom_entity_response.py +7 -1
  122. lusid/models/decimal_list.py +3 -3
  123. lusid/models/diary_entry_request.py +10 -1
  124. lusid/models/dividend_option_event.py +3 -3
  125. lusid/models/dividend_reinvestment_event.py +3 -3
  126. lusid/models/effective_range.py +71 -0
  127. lusid/models/equity.py +3 -3
  128. lusid/models/equity_option.py +3 -3
  129. lusid/models/equity_swap.py +3 -3
  130. lusid/models/exchange_traded_option.py +3 -3
  131. lusid/models/exercise_event.py +3 -3
  132. lusid/models/exotic_instrument.py +3 -3
  133. lusid/models/expiry_event.py +3 -3
  134. lusid/models/fee.py +8 -8
  135. lusid/models/fee_request.py +8 -8
  136. lusid/models/fee_type.py +4 -4
  137. lusid/models/fee_type_request.py +3 -3
  138. lusid/models/fixed_leg.py +3 -3
  139. lusid/models/fixed_schedule.py +3 -3
  140. lusid/models/flexible_loan.py +3 -3
  141. lusid/models/float_schedule.py +4 -4
  142. lusid/models/floating_leg.py +3 -3
  143. lusid/models/flow_conventions.py +7 -1
  144. lusid/models/forward_rate_agreement.py +3 -3
  145. lusid/models/fund_configuration.py +44 -17
  146. lusid/models/fund_configuration_request.py +31 -19
  147. lusid/models/fund_id_list.py +99 -0
  148. lusid/models/fund_share_class.py +23 -8
  149. lusid/models/funding_leg.py +3 -3
  150. lusid/models/future.py +3 -3
  151. lusid/models/future_expiry_event.py +3 -3
  152. lusid/models/fx_forward.py +3 -3
  153. lusid/models/fx_forward_settlement_event.py +3 -3
  154. lusid/models/fx_option.py +3 -3
  155. lusid/models/fx_swap.py +3 -3
  156. lusid/models/group_reconciliation_aggregate_attribute_rule.py +2 -2
  157. lusid/models/group_reconciliation_aggregate_comparison_rule_operand.py +1 -1
  158. lusid/models/group_reconciliation_core_comparison_rule_operand.py +1 -1
  159. lusid/models/group_reconciliation_definition.py +136 -0
  160. lusid/models/group_reconciliation_definition_comparison_ruleset_ids.py +83 -0
  161. lusid/models/group_reconciliation_definition_currencies.py +71 -0
  162. lusid/models/group_reconciliation_definition_portfolio_entity_ids.py +86 -0
  163. lusid/models/group_reconciliation_definition_recipe_ids.py +78 -0
  164. lusid/models/holding_contributor.py +11 -4
  165. lusid/models/holding_ids_request.py +69 -0
  166. lusid/models/inflation_leg.py +3 -3
  167. lusid/models/inflation_linked_bond.py +3 -3
  168. lusid/models/inflation_swap.py +3 -3
  169. lusid/models/informational_error_event.py +3 -3
  170. lusid/models/informational_event.py +3 -3
  171. lusid/models/instrument.py +7 -1
  172. lusid/models/instrument_definition.py +8 -2
  173. lusid/models/instrument_event.py +12 -5
  174. lusid/models/instrument_event_holder.py +9 -1
  175. lusid/models/instrument_event_type.py +7 -0
  176. lusid/models/instrument_leg.py +3 -3
  177. lusid/models/instrument_list.py +3 -3
  178. lusid/models/instrument_type.py +2 -0
  179. lusid/models/interest_rate_swap.py +3 -3
  180. lusid/models/interest_rate_swaption.py +3 -3
  181. lusid/models/lapse_election.py +73 -0
  182. lusid/models/loan_facility.py +97 -0
  183. lusid/models/lusid_instrument.py +7 -5
  184. lusid/models/market_data_key_rule.py +5 -3
  185. lusid/models/market_data_specific_rule.py +5 -3
  186. lusid/models/mastered_instrument.py +139 -0
  187. lusid/models/maturity_event.py +3 -3
  188. lusid/models/mbs_coupon_event.py +97 -0
  189. lusid/models/mbs_interest_deferral_event.py +97 -0
  190. lusid/models/mbs_interest_shortfall_event.py +97 -0
  191. lusid/models/mbs_principal_event.py +97 -0
  192. lusid/models/mbs_principal_write_off_event.py +97 -0
  193. lusid/models/merger_event.py +22 -22
  194. lusid/models/open_event.py +3 -3
  195. lusid/models/output_transaction.py +9 -2
  196. lusid/models/paged_resource_list_of_group_reconciliation_comparison_ruleset.py +113 -0
  197. lusid/models/paged_resource_list_of_group_reconciliation_definition.py +113 -0
  198. lusid/models/portfolio.py +3 -3
  199. lusid/models/portfolio_details.py +3 -3
  200. lusid/models/portfolio_group_id_list.py +3 -3
  201. lusid/models/portfolio_id_list.py +3 -3
  202. lusid/models/portfolio_without_href.py +3 -3
  203. lusid/models/property_list.py +3 -3
  204. lusid/models/raw_vendor_event.py +3 -3
  205. lusid/models/reference_instrument.py +3 -3
  206. lusid/models/reference_list.py +6 -5
  207. lusid/models/reference_list_type.py +1 -0
  208. lusid/models/repo.py +3 -3
  209. lusid/models/reset_event.py +3 -3
  210. lusid/models/resource_list_of_change_interval.py +113 -0
  211. lusid/models/reverse_stock_split_event.py +21 -7
  212. lusid/models/scrip_dividend_event.py +3 -3
  213. lusid/models/settlement_cycle.py +79 -0
  214. lusid/models/share_class_dealing_breakdown.py +3 -2
  215. lusid/models/share_class_details.py +18 -1
  216. lusid/models/simple_cash_flow_loan.py +3 -3
  217. lusid/models/simple_instrument.py +3 -3
  218. lusid/models/simple_rounding_convention.py +76 -0
  219. lusid/models/spin_off_event.py +3 -3
  220. lusid/models/staged_modification_effective_range.py +2 -2
  221. lusid/models/stock_dividend_event.py +20 -6
  222. lusid/models/stock_split_event.py +3 -3
  223. lusid/models/string_list.py +3 -3
  224. lusid/models/swap_cash_flow_event.py +3 -3
  225. lusid/models/swap_principal_event.py +3 -3
  226. lusid/models/tender_event.py +172 -0
  227. lusid/models/term_deposit.py +3 -3
  228. lusid/models/total_return_swap.py +3 -3
  229. lusid/models/transaction.py +9 -2
  230. lusid/models/transaction_date_windows.py +85 -0
  231. lusid/models/transaction_request.py +9 -2
  232. lusid/models/transition_event.py +3 -3
  233. lusid/models/trigger_event.py +3 -3
  234. lusid/models/update_fee_type_request.py +4 -4
  235. lusid/models/update_group_reconciliation_comparison_ruleset_request.py +91 -0
  236. lusid/models/update_group_reconciliation_definition_request.py +107 -0
  237. lusid/models/update_reference_data_request.py +87 -0
  238. lusid/models/upsert_custom_entities_response.py +20 -1
  239. lusid/models/upsert_reference_portfolio_constituent_properties_request.py +84 -0
  240. lusid/models/upsert_reference_portfolio_constituent_properties_response.py +115 -0
  241. lusid/models/valuation_point_data_query_parameters.py +3 -3
  242. lusid/models/valuation_point_data_response.py +8 -13
  243. lusid/rest.py +70 -20
  244. {lusid_sdk-2.1.405.dist-info → lusid_sdk-2.1.462.dist-info}/METADATA +79 -24
  245. {lusid_sdk-2.1.405.dist-info → lusid_sdk-2.1.462.dist-info}/RECORD +246 -209
  246. lusid/models/metadata_key_value_response.py +0 -86
  247. {lusid_sdk-2.1.405.dist-info → lusid_sdk-2.1.462.dist-info}/WHEEL +0 -0
@@ -1,86 +0,0 @@
1
- # coding: utf-8
2
-
3
- """
4
- LUSID API
5
-
6
- FINBOURNE Technology # noqa: E501
7
-
8
- Contact: info@finbourne.com
9
- Generated by OpenAPI Generator (https://openapi-generator.tech)
10
-
11
- Do not edit the class manually.
12
- """
13
-
14
-
15
- from __future__ import annotations
16
- import pprint
17
- import re # noqa: F401
18
- import json
19
-
20
-
21
- from typing import Any, Dict, List
22
- from pydantic.v1 import BaseModel, Field, conlist
23
- from lusid.models.access_metadata_value import AccessMetadataValue
24
-
25
- class MetadataKeyValueResponse(BaseModel):
26
- """
27
- MetadataKeyValueResponse
28
- """
29
- metadata: Dict[str, conlist(AccessMetadataValue)] = Field(...)
30
- __properties = ["metadata"]
31
-
32
- class Config:
33
- """Pydantic configuration"""
34
- allow_population_by_field_name = True
35
- validate_assignment = True
36
-
37
- def to_str(self) -> str:
38
- """Returns the string representation of the model using alias"""
39
- return pprint.pformat(self.dict(by_alias=True))
40
-
41
- def to_json(self) -> str:
42
- """Returns the JSON representation of the model using alias"""
43
- return json.dumps(self.to_dict())
44
-
45
- @classmethod
46
- def from_json(cls, json_str: str) -> MetadataKeyValueResponse:
47
- """Create an instance of MetadataKeyValueResponse from a JSON string"""
48
- return cls.from_dict(json.loads(json_str))
49
-
50
- def to_dict(self):
51
- """Returns the dictionary representation of the model using alias"""
52
- _dict = self.dict(by_alias=True,
53
- exclude={
54
- },
55
- exclude_none=True)
56
- # override the default output from pydantic by calling `to_dict()` of each value in metadata (dict of array)
57
- _field_dict_of_array = {}
58
- if self.metadata:
59
- for _key in self.metadata:
60
- if self.metadata[_key]:
61
- _field_dict_of_array[_key] = [
62
- _item.to_dict() for _item in self.metadata[_key]
63
- ]
64
- _dict['metadata'] = _field_dict_of_array
65
- return _dict
66
-
67
- @classmethod
68
- def from_dict(cls, obj: dict) -> MetadataKeyValueResponse:
69
- """Create an instance of MetadataKeyValueResponse from a dict"""
70
- if obj is None:
71
- return None
72
-
73
- if not isinstance(obj, dict):
74
- return MetadataKeyValueResponse.parse_obj(obj)
75
-
76
- _obj = MetadataKeyValueResponse.parse_obj({
77
- "metadata": dict(
78
- (_k,
79
- [AccessMetadataValue.from_dict(_item) for _item in _v]
80
- if _v is not None
81
- else None
82
- )
83
- for _k, _v in obj.get("metadata").items()
84
- )
85
- })
86
- return _obj