lusid-sdk 2.1.405__py3-none-any.whl → 2.1.450__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 (239) hide show
  1. lusid/__init__.py +66 -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 +163 -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 +91 -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 +327 -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 +64 -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/cap_floor.py +3 -3
  99. lusid/models/capital_distribution_event.py +3 -3
  100. lusid/models/cash.py +3 -3
  101. lusid/models/cash_dividend_event.py +3 -3
  102. lusid/models/cash_flow_event.py +3 -3
  103. lusid/models/cash_perpetual.py +3 -3
  104. lusid/models/cds_credit_event.py +6 -6
  105. lusid/models/cds_index.py +3 -3
  106. lusid/models/cdx_credit_event.py +6 -6
  107. lusid/models/change_interval.py +123 -0
  108. lusid/models/change_interval_with_order_management_detail.py +3 -3
  109. lusid/models/close_event.py +3 -3
  110. lusid/models/complex_bond.py +3 -3
  111. lusid/models/contract_for_difference.py +3 -3
  112. lusid/models/create_derived_transaction_portfolio_request.py +3 -3
  113. lusid/models/create_group_reconciliation_definition_request.py +113 -0
  114. lusid/models/create_transaction_portfolio_request.py +3 -3
  115. lusid/models/credit_default_swap.py +3 -3
  116. lusid/models/credit_premium_cash_flow_event.py +3 -3
  117. lusid/models/custom_entity_entity.py +146 -0
  118. lusid/models/custom_entity_response.py +7 -1
  119. lusid/models/decimal_list.py +3 -3
  120. lusid/models/diary_entry_request.py +10 -1
  121. lusid/models/dividend_option_event.py +3 -3
  122. lusid/models/dividend_reinvestment_event.py +3 -3
  123. lusid/models/effective_range.py +71 -0
  124. lusid/models/equity.py +3 -3
  125. lusid/models/equity_option.py +3 -3
  126. lusid/models/equity_swap.py +3 -3
  127. lusid/models/exchange_traded_option.py +3 -3
  128. lusid/models/exercise_event.py +3 -3
  129. lusid/models/exotic_instrument.py +3 -3
  130. lusid/models/expiry_event.py +3 -3
  131. lusid/models/fee.py +8 -8
  132. lusid/models/fee_request.py +8 -8
  133. lusid/models/fee_type.py +4 -4
  134. lusid/models/fee_type_request.py +3 -3
  135. lusid/models/fixed_leg.py +3 -3
  136. lusid/models/fixed_schedule.py +3 -3
  137. lusid/models/flexible_loan.py +3 -3
  138. lusid/models/float_schedule.py +4 -4
  139. lusid/models/floating_leg.py +3 -3
  140. lusid/models/flow_conventions.py +7 -1
  141. lusid/models/forward_rate_agreement.py +3 -3
  142. lusid/models/fund_configuration.py +44 -17
  143. lusid/models/fund_configuration_request.py +31 -19
  144. lusid/models/fund_id_list.py +99 -0
  145. lusid/models/fund_share_class.py +23 -8
  146. lusid/models/funding_leg.py +3 -3
  147. lusid/models/future.py +3 -3
  148. lusid/models/future_expiry_event.py +3 -3
  149. lusid/models/fx_forward.py +3 -3
  150. lusid/models/fx_forward_settlement_event.py +3 -3
  151. lusid/models/fx_option.py +3 -3
  152. lusid/models/fx_swap.py +3 -3
  153. lusid/models/group_reconciliation_aggregate_attribute_rule.py +2 -2
  154. lusid/models/group_reconciliation_aggregate_comparison_rule_operand.py +1 -1
  155. lusid/models/group_reconciliation_core_comparison_rule_operand.py +1 -1
  156. lusid/models/group_reconciliation_definition.py +136 -0
  157. lusid/models/group_reconciliation_definition_comparison_ruleset_ids.py +83 -0
  158. lusid/models/group_reconciliation_definition_currencies.py +71 -0
  159. lusid/models/group_reconciliation_definition_portfolio_entity_ids.py +86 -0
  160. lusid/models/group_reconciliation_definition_recipe_ids.py +78 -0
  161. lusid/models/inflation_leg.py +3 -3
  162. lusid/models/inflation_linked_bond.py +3 -3
  163. lusid/models/inflation_swap.py +3 -3
  164. lusid/models/informational_error_event.py +3 -3
  165. lusid/models/informational_event.py +3 -3
  166. lusid/models/instrument.py +7 -1
  167. lusid/models/instrument_definition.py +8 -2
  168. lusid/models/instrument_event.py +10 -5
  169. lusid/models/instrument_event_holder.py +9 -1
  170. lusid/models/instrument_event_type.py +5 -0
  171. lusid/models/instrument_leg.py +3 -3
  172. lusid/models/instrument_list.py +3 -3
  173. lusid/models/instrument_type.py +1 -0
  174. lusid/models/interest_rate_swap.py +3 -3
  175. lusid/models/interest_rate_swaption.py +3 -3
  176. lusid/models/lapse_election.py +73 -0
  177. lusid/models/lusid_instrument.py +6 -5
  178. lusid/models/market_data_key_rule.py +5 -3
  179. lusid/models/market_data_specific_rule.py +5 -3
  180. lusid/models/mastered_instrument.py +139 -0
  181. lusid/models/maturity_event.py +3 -3
  182. lusid/models/mbs_coupon_event.py +97 -0
  183. lusid/models/mbs_interest_deferral_event.py +97 -0
  184. lusid/models/mbs_principal_event.py +97 -0
  185. lusid/models/mbs_principal_write_off_event.py +97 -0
  186. lusid/models/merger_event.py +22 -22
  187. lusid/models/open_event.py +3 -3
  188. lusid/models/output_transaction.py +9 -2
  189. lusid/models/paged_resource_list_of_group_reconciliation_comparison_ruleset.py +113 -0
  190. lusid/models/paged_resource_list_of_group_reconciliation_definition.py +113 -0
  191. lusid/models/portfolio.py +3 -3
  192. lusid/models/portfolio_details.py +3 -3
  193. lusid/models/portfolio_group_id_list.py +3 -3
  194. lusid/models/portfolio_id_list.py +3 -3
  195. lusid/models/portfolio_without_href.py +3 -3
  196. lusid/models/property_list.py +3 -3
  197. lusid/models/raw_vendor_event.py +3 -3
  198. lusid/models/reference_instrument.py +3 -3
  199. lusid/models/reference_list.py +6 -5
  200. lusid/models/reference_list_type.py +1 -0
  201. lusid/models/repo.py +3 -3
  202. lusid/models/reset_event.py +3 -3
  203. lusid/models/resource_list_of_change_interval.py +113 -0
  204. lusid/models/reverse_stock_split_event.py +3 -3
  205. lusid/models/scrip_dividend_event.py +3 -3
  206. lusid/models/settlement_cycle.py +79 -0
  207. lusid/models/share_class_dealing_breakdown.py +3 -2
  208. lusid/models/share_class_details.py +18 -1
  209. lusid/models/simple_cash_flow_loan.py +3 -3
  210. lusid/models/simple_instrument.py +3 -3
  211. lusid/models/simple_rounding_convention.py +76 -0
  212. lusid/models/spin_off_event.py +3 -3
  213. lusid/models/staged_modification_effective_range.py +2 -2
  214. lusid/models/stock_dividend_event.py +20 -6
  215. lusid/models/stock_split_event.py +3 -3
  216. lusid/models/string_list.py +3 -3
  217. lusid/models/swap_cash_flow_event.py +3 -3
  218. lusid/models/swap_principal_event.py +3 -3
  219. lusid/models/term_deposit.py +3 -3
  220. lusid/models/total_return_swap.py +3 -3
  221. lusid/models/transaction.py +9 -2
  222. lusid/models/transaction_date_windows.py +85 -0
  223. lusid/models/transaction_request.py +9 -2
  224. lusid/models/transition_event.py +3 -3
  225. lusid/models/trigger_event.py +3 -3
  226. lusid/models/update_fee_type_request.py +4 -4
  227. lusid/models/update_group_reconciliation_comparison_ruleset_request.py +91 -0
  228. lusid/models/update_group_reconciliation_definition_request.py +107 -0
  229. lusid/models/update_reference_data_request.py +87 -0
  230. lusid/models/upsert_custom_entities_response.py +20 -1
  231. lusid/models/upsert_reference_portfolio_constituent_properties_request.py +84 -0
  232. lusid/models/upsert_reference_portfolio_constituent_properties_response.py +115 -0
  233. lusid/models/valuation_point_data_query_parameters.py +3 -3
  234. lusid/models/valuation_point_data_response.py +8 -13
  235. lusid/rest.py +70 -20
  236. {lusid_sdk-2.1.405.dist-info → lusid_sdk-2.1.450.dist-info}/METADATA +69 -24
  237. {lusid_sdk-2.1.405.dist-info → lusid_sdk-2.1.450.dist-info}/RECORD +238 -208
  238. lusid/models/metadata_key_value_response.py +0 -86
  239. {lusid_sdk-2.1.405.dist-info → lusid_sdk-2.1.450.dist-info}/WHEEL +0 -0
lusid/models/__init__.py CHANGED
@@ -67,6 +67,7 @@ from lusid.models.allocation_set_request import AllocationSetRequest
67
67
  from lusid.models.amortisation_event import AmortisationEvent
68
68
  from lusid.models.amortisation_rule import AmortisationRule
69
69
  from lusid.models.amortisation_rule_set import AmortisationRuleSet
70
+ from lusid.models.amount import Amount
70
71
  from lusid.models.annul_quotes_response import AnnulQuotesResponse
71
72
  from lusid.models.annul_single_structured_data_response import AnnulSingleStructuredDataResponse
72
73
  from lusid.models.annul_structured_data_response import AnnulStructuredDataResponse
@@ -77,9 +78,11 @@ from lusid.models.barrier import Barrier
77
78
  from lusid.models.basket import Basket
78
79
  from lusid.models.basket_identifier import BasketIdentifier
79
80
  from lusid.models.batch_adjust_holdings_response import BatchAdjustHoldingsResponse
81
+ from lusid.models.batch_upsert_dates_for_calendar_response import BatchUpsertDatesForCalendarResponse
80
82
  from lusid.models.batch_upsert_instrument_properties_response import BatchUpsertInstrumentPropertiesResponse
81
83
  from lusid.models.batch_upsert_portfolio_access_metadata_request import BatchUpsertPortfolioAccessMetadataRequest
82
84
  from lusid.models.batch_upsert_portfolio_access_metadata_response import BatchUpsertPortfolioAccessMetadataResponse
85
+ from lusid.models.batch_upsert_portfolio_access_metadata_response_item import BatchUpsertPortfolioAccessMetadataResponseItem
83
86
  from lusid.models.batch_upsert_portfolio_transactions_response import BatchUpsertPortfolioTransactionsResponse
84
87
  from lusid.models.batch_upsert_property_definition_properties_response import BatchUpsertPropertyDefinitionPropertiesResponse
85
88
  from lusid.models.block import Block
@@ -96,12 +99,14 @@ from lusid.models.bond_conversion_schedule import BondConversionSchedule
96
99
  from lusid.models.bond_coupon_event import BondCouponEvent
97
100
  from lusid.models.bond_default_event import BondDefaultEvent
98
101
  from lusid.models.bond_principal_event import BondPrincipalEvent
102
+ from lusid.models.bonus_issue_event import BonusIssueEvent
99
103
  from lusid.models.book_transactions_request import BookTransactionsRequest
100
104
  from lusid.models.book_transactions_response import BookTransactionsResponse
101
105
  from lusid.models.bool_compliance_parameter import BoolComplianceParameter
102
106
  from lusid.models.bool_list_compliance_parameter import BoolListComplianceParameter
103
107
  from lusid.models.branch_step import BranchStep
104
108
  from lusid.models.branch_step_request import BranchStepRequest
109
+ from lusid.models.break_code_source import BreakCodeSource
105
110
  from lusid.models.bucketed_cash_flow_request import BucketedCashFlowRequest
106
111
  from lusid.models.bucketed_cash_flow_response import BucketedCashFlowResponse
107
112
  from lusid.models.bucketing_schedule import BucketingSchedule
@@ -135,6 +140,7 @@ from lusid.models.cdx_credit_event import CdxCreditEvent
135
140
  from lusid.models.change import Change
136
141
  from lusid.models.change_history import ChangeHistory
137
142
  from lusid.models.change_history_action import ChangeHistoryAction
143
+ from lusid.models.change_interval import ChangeInterval
138
144
  from lusid.models.change_interval_with_order_management_detail import ChangeIntervalWithOrderManagementDetail
139
145
  from lusid.models.change_item import ChangeItem
140
146
  from lusid.models.chart_of_accounts import ChartOfAccounts
@@ -185,7 +191,6 @@ from lusid.models.compliance_template_variation import ComplianceTemplateVariati
185
191
  from lusid.models.compliance_template_variation_dto import ComplianceTemplateVariationDto
186
192
  from lusid.models.compliance_template_variation_request import ComplianceTemplateVariationRequest
187
193
  from lusid.models.component_filter import ComponentFilter
188
- from lusid.models.component_rule import ComponentRule
189
194
  from lusid.models.component_transaction import ComponentTransaction
190
195
  from lusid.models.composite_breakdown import CompositeBreakdown
191
196
  from lusid.models.composite_breakdown_request import CompositeBreakdownRequest
@@ -219,6 +224,7 @@ from lusid.models.create_date_request import CreateDateRequest
219
224
  from lusid.models.create_derived_property_definition_request import CreateDerivedPropertyDefinitionRequest
220
225
  from lusid.models.create_derived_transaction_portfolio_request import CreateDerivedTransactionPortfolioRequest
221
226
  from lusid.models.create_group_reconciliation_comparison_ruleset_request import CreateGroupReconciliationComparisonRulesetRequest
227
+ from lusid.models.create_group_reconciliation_definition_request import CreateGroupReconciliationDefinitionRequest
222
228
  from lusid.models.create_portfolio_details import CreatePortfolioDetails
223
229
  from lusid.models.create_portfolio_group_request import CreatePortfolioGroupRequest
224
230
  from lusid.models.create_property_definition_request import CreatePropertyDefinitionRequest
@@ -249,6 +255,7 @@ from lusid.models.custodian_account_request import CustodianAccountRequest
249
255
  from lusid.models.custodian_accounts_upsert_response import CustodianAccountsUpsertResponse
250
256
  from lusid.models.custom_entity_definition import CustomEntityDefinition
251
257
  from lusid.models.custom_entity_definition_request import CustomEntityDefinitionRequest
258
+ from lusid.models.custom_entity_entity import CustomEntityEntity
252
259
  from lusid.models.custom_entity_field import CustomEntityField
253
260
  from lusid.models.custom_entity_field_definition import CustomEntityFieldDefinition
254
261
  from lusid.models.custom_entity_id import CustomEntityId
@@ -302,6 +309,7 @@ from lusid.models.economic_dependency import EconomicDependency
302
309
  from lusid.models.economic_dependency_type import EconomicDependencyType
303
310
  from lusid.models.economic_dependency_with_complex_market_data import EconomicDependencyWithComplexMarketData
304
311
  from lusid.models.economic_dependency_with_quote import EconomicDependencyWithQuote
312
+ from lusid.models.effective_range import EffectiveRange
305
313
  from lusid.models.election_specification import ElectionSpecification
306
314
  from lusid.models.eligibility_calculation import EligibilityCalculation
307
315
  from lusid.models.empty_model_options import EmptyModelOptions
@@ -360,6 +368,7 @@ from lusid.models.fund_configuration import FundConfiguration
360
368
  from lusid.models.fund_configuration_properties import FundConfigurationProperties
361
369
  from lusid.models.fund_configuration_request import FundConfigurationRequest
362
370
  from lusid.models.fund_details import FundDetails
371
+ from lusid.models.fund_id_list import FundIdList
363
372
  from lusid.models.fund_pnl_breakdown import FundPnlBreakdown
364
373
  from lusid.models.fund_previous_nav import FundPreviousNAV
365
374
  from lusid.models.fund_properties import FundProperties
@@ -422,6 +431,11 @@ from lusid.models.group_reconciliation_comparison_rule_tolerance import GroupRec
422
431
  from lusid.models.group_reconciliation_comparison_ruleset import GroupReconciliationComparisonRuleset
423
432
  from lusid.models.group_reconciliation_core_attribute_rule import GroupReconciliationCoreAttributeRule
424
433
  from lusid.models.group_reconciliation_core_comparison_rule_operand import GroupReconciliationCoreComparisonRuleOperand
434
+ from lusid.models.group_reconciliation_definition import GroupReconciliationDefinition
435
+ from lusid.models.group_reconciliation_definition_comparison_ruleset_ids import GroupReconciliationDefinitionComparisonRulesetIds
436
+ from lusid.models.group_reconciliation_definition_currencies import GroupReconciliationDefinitionCurrencies
437
+ from lusid.models.group_reconciliation_definition_portfolio_entity_ids import GroupReconciliationDefinitionPortfolioEntityIds
438
+ from lusid.models.group_reconciliation_definition_recipe_ids import GroupReconciliationDefinitionRecipeIds
425
439
  from lusid.models.grouped_result_of_address_key import GroupedResultOfAddressKey
426
440
  from lusid.models.holding_adjustment import HoldingAdjustment
427
441
  from lusid.models.holding_adjustment_with_date import HoldingAdjustmentWithDate
@@ -485,6 +499,7 @@ from lusid.models.is_business_day_response import IsBusinessDayResponse
485
499
  from lusid.models.journal_entry_line import JournalEntryLine
486
500
  from lusid.models.journal_entry_lines_query_parameters import JournalEntryLinesQueryParameters
487
501
  from lusid.models.label_value_set import LabelValueSet
502
+ from lusid.models.lapse_election import LapseElection
488
503
  from lusid.models.leg_definition import LegDefinition
489
504
  from lusid.models.legal_entity import LegalEntity
490
505
  from lusid.models.level_step import LevelStep
@@ -516,11 +531,14 @@ from lusid.models.market_data_type import MarketDataType
516
531
  from lusid.models.market_observable_type import MarketObservableType
517
532
  from lusid.models.market_options import MarketOptions
518
533
  from lusid.models.market_quote import MarketQuote
534
+ from lusid.models.mastered_instrument import MasteredInstrument
519
535
  from lusid.models.match_criterion import MatchCriterion
520
536
  from lusid.models.maturity_event import MaturityEvent
537
+ from lusid.models.mbs_coupon_event import MbsCouponEvent
538
+ from lusid.models.mbs_interest_deferral_event import MbsInterestDeferralEvent
539
+ from lusid.models.mbs_principal_event import MbsPrincipalEvent
540
+ from lusid.models.mbs_principal_write_off_event import MbsPrincipalWriteOffEvent
521
541
  from lusid.models.merger_event import MergerEvent
522
- from lusid.models.metadata_key_value import MetadataKeyValue
523
- from lusid.models.metadata_key_value_response import MetadataKeyValueResponse
524
542
  from lusid.models.metric_value import MetricValue
525
543
  from lusid.models.model_options import ModelOptions
526
544
  from lusid.models.model_options_type import ModelOptionsType
@@ -608,6 +626,8 @@ from lusid.models.paged_resource_list_of_fee_type import PagedResourceListOfFeeT
608
626
  from lusid.models.paged_resource_list_of_fund import PagedResourceListOfFund
609
627
  from lusid.models.paged_resource_list_of_fund_configuration import PagedResourceListOfFundConfiguration
610
628
  from lusid.models.paged_resource_list_of_general_ledger_profile_response import PagedResourceListOfGeneralLedgerProfileResponse
629
+ from lusid.models.paged_resource_list_of_group_reconciliation_comparison_ruleset import PagedResourceListOfGroupReconciliationComparisonRuleset
630
+ from lusid.models.paged_resource_list_of_group_reconciliation_definition import PagedResourceListOfGroupReconciliationDefinition
611
631
  from lusid.models.paged_resource_list_of_instrument import PagedResourceListOfInstrument
612
632
  from lusid.models.paged_resource_list_of_instrument_event_holder import PagedResourceListOfInstrumentEventHolder
613
633
  from lusid.models.paged_resource_list_of_instrument_event_instruction import PagedResourceListOfInstrumentEventInstruction
@@ -782,6 +802,7 @@ from lusid.models.resource_list_of_block_and_orders import ResourceListOfBlockAn
782
802
  from lusid.models.resource_list_of_calendar_date import ResourceListOfCalendarDate
783
803
  from lusid.models.resource_list_of_change import ResourceListOfChange
784
804
  from lusid.models.resource_list_of_change_history import ResourceListOfChangeHistory
805
+ from lusid.models.resource_list_of_change_interval import ResourceListOfChangeInterval
785
806
  from lusid.models.resource_list_of_change_interval_with_order_management_detail import ResourceListOfChangeIntervalWithOrderManagementDetail
786
807
  from lusid.models.resource_list_of_compliance_breached_order_info import ResourceListOfComplianceBreachedOrderInfo
787
808
  from lusid.models.resource_list_of_compliance_rule import ResourceListOfComplianceRule
@@ -873,6 +894,7 @@ from lusid.models.set_person_properties_request import SetPersonPropertiesReques
873
894
  from lusid.models.set_share_class_instruments_request import SetShareClassInstrumentsRequest
874
895
  from lusid.models.set_transaction_configuration_alias import SetTransactionConfigurationAlias
875
896
  from lusid.models.set_transaction_configuration_source_request import SetTransactionConfigurationSourceRequest
897
+ from lusid.models.settlement_cycle import SettlementCycle
876
898
  from lusid.models.settlement_schedule import SettlementSchedule
877
899
  from lusid.models.share_class_amount import ShareClassAmount
878
900
  from lusid.models.share_class_breakdown import ShareClassBreakdown
@@ -887,6 +909,7 @@ from lusid.models.side_definition_request import SideDefinitionRequest
887
909
  from lusid.models.sides_definition_request import SidesDefinitionRequest
888
910
  from lusid.models.simple_cash_flow_loan import SimpleCashFlowLoan
889
911
  from lusid.models.simple_instrument import SimpleInstrument
912
+ from lusid.models.simple_rounding_convention import SimpleRoundingConvention
890
913
  from lusid.models.sort_order import SortOrder
891
914
  from lusid.models.specific_holding_pricing_info import SpecificHoldingPricingInfo
892
915
  from lusid.models.spin_off_event import SpinOffEvent
@@ -932,6 +955,7 @@ from lusid.models.transaction_configuration_movement_data import TransactionConf
932
955
  from lusid.models.transaction_configuration_movement_data_request import TransactionConfigurationMovementDataRequest
933
956
  from lusid.models.transaction_configuration_type_alias import TransactionConfigurationTypeAlias
934
957
  from lusid.models.transaction_currency_and_amount import TransactionCurrencyAndAmount
958
+ from lusid.models.transaction_date_windows import TransactionDateWindows
935
959
  from lusid.models.transaction_diagnostics import TransactionDiagnostics
936
960
  from lusid.models.transaction_field_map import TransactionFieldMap
937
961
  from lusid.models.transaction_price import TransactionPrice
@@ -989,6 +1013,8 @@ from lusid.models.update_cut_label_definition_request import UpdateCutLabelDefin
989
1013
  from lusid.models.update_data_type_request import UpdateDataTypeRequest
990
1014
  from lusid.models.update_derived_property_definition_request import UpdateDerivedPropertyDefinitionRequest
991
1015
  from lusid.models.update_fee_type_request import UpdateFeeTypeRequest
1016
+ from lusid.models.update_group_reconciliation_comparison_ruleset_request import UpdateGroupReconciliationComparisonRulesetRequest
1017
+ from lusid.models.update_group_reconciliation_definition_request import UpdateGroupReconciliationDefinitionRequest
992
1018
  from lusid.models.update_instrument_identifier_request import UpdateInstrumentIdentifierRequest
993
1019
  from lusid.models.update_orders_response import UpdateOrdersResponse
994
1020
  from lusid.models.update_placements_response import UpdatePlacementsResponse
@@ -996,6 +1022,7 @@ from lusid.models.update_portfolio_group_request import UpdatePortfolioGroupRequ
996
1022
  from lusid.models.update_portfolio_request import UpdatePortfolioRequest
997
1023
  from lusid.models.update_property_definition_request import UpdatePropertyDefinitionRequest
998
1024
  from lusid.models.update_reconciliation_request import UpdateReconciliationRequest
1025
+ from lusid.models.update_reference_data_request import UpdateReferenceDataRequest
999
1026
  from lusid.models.update_relationship_definition_request import UpdateRelationshipDefinitionRequest
1000
1027
  from lusid.models.update_staging_rule_set_request import UpdateStagingRuleSetRequest
1001
1028
  from lusid.models.update_tax_rule_set_request import UpdateTaxRuleSetRequest
@@ -1033,6 +1060,8 @@ from lusid.models.upsert_quote_request import UpsertQuoteRequest
1033
1060
  from lusid.models.upsert_quotes_response import UpsertQuotesResponse
1034
1061
  from lusid.models.upsert_recipe_composer_request import UpsertRecipeComposerRequest
1035
1062
  from lusid.models.upsert_recipe_request import UpsertRecipeRequest
1063
+ from lusid.models.upsert_reference_portfolio_constituent_properties_request import UpsertReferencePortfolioConstituentPropertiesRequest
1064
+ from lusid.models.upsert_reference_portfolio_constituent_properties_response import UpsertReferencePortfolioConstituentPropertiesResponse
1036
1065
  from lusid.models.upsert_reference_portfolio_constituents_request import UpsertReferencePortfolioConstituentsRequest
1037
1066
  from lusid.models.upsert_reference_portfolio_constituents_response import UpsertReferencePortfolioConstituentsResponse
1038
1067
  from lusid.models.upsert_result_values_data_request import UpsertResultValuesDataRequest
@@ -1137,6 +1166,7 @@ __all__ = [
1137
1166
  "AmortisationEvent",
1138
1167
  "AmortisationRule",
1139
1168
  "AmortisationRuleSet",
1169
+ "Amount",
1140
1170
  "AnnulQuotesResponse",
1141
1171
  "AnnulSingleStructuredDataResponse",
1142
1172
  "AnnulStructuredDataResponse",
@@ -1147,9 +1177,11 @@ __all__ = [
1147
1177
  "Basket",
1148
1178
  "BasketIdentifier",
1149
1179
  "BatchAdjustHoldingsResponse",
1180
+ "BatchUpsertDatesForCalendarResponse",
1150
1181
  "BatchUpsertInstrumentPropertiesResponse",
1151
1182
  "BatchUpsertPortfolioAccessMetadataRequest",
1152
1183
  "BatchUpsertPortfolioAccessMetadataResponse",
1184
+ "BatchUpsertPortfolioAccessMetadataResponseItem",
1153
1185
  "BatchUpsertPortfolioTransactionsResponse",
1154
1186
  "BatchUpsertPropertyDefinitionPropertiesResponse",
1155
1187
  "Block",
@@ -1166,12 +1198,14 @@ __all__ = [
1166
1198
  "BondCouponEvent",
1167
1199
  "BondDefaultEvent",
1168
1200
  "BondPrincipalEvent",
1201
+ "BonusIssueEvent",
1169
1202
  "BookTransactionsRequest",
1170
1203
  "BookTransactionsResponse",
1171
1204
  "BoolComplianceParameter",
1172
1205
  "BoolListComplianceParameter",
1173
1206
  "BranchStep",
1174
1207
  "BranchStepRequest",
1208
+ "BreakCodeSource",
1175
1209
  "BucketedCashFlowRequest",
1176
1210
  "BucketedCashFlowResponse",
1177
1211
  "BucketingSchedule",
@@ -1205,6 +1239,7 @@ __all__ = [
1205
1239
  "Change",
1206
1240
  "ChangeHistory",
1207
1241
  "ChangeHistoryAction",
1242
+ "ChangeInterval",
1208
1243
  "ChangeIntervalWithOrderManagementDetail",
1209
1244
  "ChangeItem",
1210
1245
  "ChartOfAccounts",
@@ -1255,7 +1290,6 @@ __all__ = [
1255
1290
  "ComplianceTemplateVariationDto",
1256
1291
  "ComplianceTemplateVariationRequest",
1257
1292
  "ComponentFilter",
1258
- "ComponentRule",
1259
1293
  "ComponentTransaction",
1260
1294
  "CompositeBreakdown",
1261
1295
  "CompositeBreakdownRequest",
@@ -1289,6 +1323,7 @@ __all__ = [
1289
1323
  "CreateDerivedPropertyDefinitionRequest",
1290
1324
  "CreateDerivedTransactionPortfolioRequest",
1291
1325
  "CreateGroupReconciliationComparisonRulesetRequest",
1326
+ "CreateGroupReconciliationDefinitionRequest",
1292
1327
  "CreatePortfolioDetails",
1293
1328
  "CreatePortfolioGroupRequest",
1294
1329
  "CreatePropertyDefinitionRequest",
@@ -1319,6 +1354,7 @@ __all__ = [
1319
1354
  "CustodianAccountsUpsertResponse",
1320
1355
  "CustomEntityDefinition",
1321
1356
  "CustomEntityDefinitionRequest",
1357
+ "CustomEntityEntity",
1322
1358
  "CustomEntityField",
1323
1359
  "CustomEntityFieldDefinition",
1324
1360
  "CustomEntityId",
@@ -1372,6 +1408,7 @@ __all__ = [
1372
1408
  "EconomicDependencyType",
1373
1409
  "EconomicDependencyWithComplexMarketData",
1374
1410
  "EconomicDependencyWithQuote",
1411
+ "EffectiveRange",
1375
1412
  "ElectionSpecification",
1376
1413
  "EligibilityCalculation",
1377
1414
  "EmptyModelOptions",
@@ -1430,6 +1467,7 @@ __all__ = [
1430
1467
  "FundConfigurationProperties",
1431
1468
  "FundConfigurationRequest",
1432
1469
  "FundDetails",
1470
+ "FundIdList",
1433
1471
  "FundPnlBreakdown",
1434
1472
  "FundPreviousNAV",
1435
1473
  "FundProperties",
@@ -1492,6 +1530,11 @@ __all__ = [
1492
1530
  "GroupReconciliationComparisonRuleset",
1493
1531
  "GroupReconciliationCoreAttributeRule",
1494
1532
  "GroupReconciliationCoreComparisonRuleOperand",
1533
+ "GroupReconciliationDefinition",
1534
+ "GroupReconciliationDefinitionComparisonRulesetIds",
1535
+ "GroupReconciliationDefinitionCurrencies",
1536
+ "GroupReconciliationDefinitionPortfolioEntityIds",
1537
+ "GroupReconciliationDefinitionRecipeIds",
1495
1538
  "GroupedResultOfAddressKey",
1496
1539
  "HoldingAdjustment",
1497
1540
  "HoldingAdjustmentWithDate",
@@ -1555,6 +1598,7 @@ __all__ = [
1555
1598
  "JournalEntryLine",
1556
1599
  "JournalEntryLinesQueryParameters",
1557
1600
  "LabelValueSet",
1601
+ "LapseElection",
1558
1602
  "LegDefinition",
1559
1603
  "LegalEntity",
1560
1604
  "LevelStep",
@@ -1586,11 +1630,14 @@ __all__ = [
1586
1630
  "MarketObservableType",
1587
1631
  "MarketOptions",
1588
1632
  "MarketQuote",
1633
+ "MasteredInstrument",
1589
1634
  "MatchCriterion",
1590
1635
  "MaturityEvent",
1636
+ "MbsCouponEvent",
1637
+ "MbsInterestDeferralEvent",
1638
+ "MbsPrincipalEvent",
1639
+ "MbsPrincipalWriteOffEvent",
1591
1640
  "MergerEvent",
1592
- "MetadataKeyValue",
1593
- "MetadataKeyValueResponse",
1594
1641
  "MetricValue",
1595
1642
  "ModelOptions",
1596
1643
  "ModelOptionsType",
@@ -1678,6 +1725,8 @@ __all__ = [
1678
1725
  "PagedResourceListOfFund",
1679
1726
  "PagedResourceListOfFundConfiguration",
1680
1727
  "PagedResourceListOfGeneralLedgerProfileResponse",
1728
+ "PagedResourceListOfGroupReconciliationComparisonRuleset",
1729
+ "PagedResourceListOfGroupReconciliationDefinition",
1681
1730
  "PagedResourceListOfInstrument",
1682
1731
  "PagedResourceListOfInstrumentEventHolder",
1683
1732
  "PagedResourceListOfInstrumentEventInstruction",
@@ -1852,6 +1901,7 @@ __all__ = [
1852
1901
  "ResourceListOfCalendarDate",
1853
1902
  "ResourceListOfChange",
1854
1903
  "ResourceListOfChangeHistory",
1904
+ "ResourceListOfChangeInterval",
1855
1905
  "ResourceListOfChangeIntervalWithOrderManagementDetail",
1856
1906
  "ResourceListOfComplianceBreachedOrderInfo",
1857
1907
  "ResourceListOfComplianceRule",
@@ -1943,6 +1993,7 @@ __all__ = [
1943
1993
  "SetShareClassInstrumentsRequest",
1944
1994
  "SetTransactionConfigurationAlias",
1945
1995
  "SetTransactionConfigurationSourceRequest",
1996
+ "SettlementCycle",
1946
1997
  "SettlementSchedule",
1947
1998
  "ShareClassAmount",
1948
1999
  "ShareClassBreakdown",
@@ -1957,6 +2008,7 @@ __all__ = [
1957
2008
  "SidesDefinitionRequest",
1958
2009
  "SimpleCashFlowLoan",
1959
2010
  "SimpleInstrument",
2011
+ "SimpleRoundingConvention",
1960
2012
  "SortOrder",
1961
2013
  "SpecificHoldingPricingInfo",
1962
2014
  "SpinOffEvent",
@@ -2002,6 +2054,7 @@ __all__ = [
2002
2054
  "TransactionConfigurationMovementDataRequest",
2003
2055
  "TransactionConfigurationTypeAlias",
2004
2056
  "TransactionCurrencyAndAmount",
2057
+ "TransactionDateWindows",
2005
2058
  "TransactionDiagnostics",
2006
2059
  "TransactionFieldMap",
2007
2060
  "TransactionPrice",
@@ -2059,6 +2112,8 @@ __all__ = [
2059
2112
  "UpdateDataTypeRequest",
2060
2113
  "UpdateDerivedPropertyDefinitionRequest",
2061
2114
  "UpdateFeeTypeRequest",
2115
+ "UpdateGroupReconciliationComparisonRulesetRequest",
2116
+ "UpdateGroupReconciliationDefinitionRequest",
2062
2117
  "UpdateInstrumentIdentifierRequest",
2063
2118
  "UpdateOrdersResponse",
2064
2119
  "UpdatePlacementsResponse",
@@ -2066,6 +2121,7 @@ __all__ = [
2066
2121
  "UpdatePortfolioRequest",
2067
2122
  "UpdatePropertyDefinitionRequest",
2068
2123
  "UpdateReconciliationRequest",
2124
+ "UpdateReferenceDataRequest",
2069
2125
  "UpdateRelationshipDefinitionRequest",
2070
2126
  "UpdateStagingRuleSetRequest",
2071
2127
  "UpdateTaxRuleSetRequest",
@@ -2103,6 +2159,8 @@ __all__ = [
2103
2159
  "UpsertQuotesResponse",
2104
2160
  "UpsertRecipeComposerRequest",
2105
2161
  "UpsertRecipeRequest",
2162
+ "UpsertReferencePortfolioConstituentPropertiesRequest",
2163
+ "UpsertReferencePortfolioConstituentPropertiesResponse",
2106
2164
  "UpsertReferencePortfolioConstituentsRequest",
2107
2165
  "UpsertReferencePortfolioConstituentsResponse",
2108
2166
  "UpsertResultValuesDataRequest",
@@ -23,7 +23,7 @@ from pydantic.v1 import BaseModel, Field, constr
23
23
 
24
24
  class AccessMetadataValue(BaseModel):
25
25
  """
26
- An access control value. Provider should only be used if you are a service provide licensing data. In that case the provider value must match your domain. # noqa: E501
26
+ An access control value. Provider should only be used if you are a service provider licensing data. In that case the provider value must match your domain. # noqa: E501
27
27
  """
28
28
  value: constr(strict=True, max_length=2048, min_length=0) = Field(...)
29
29
  provider: Optional[constr(strict=True, max_length=50, min_length=0)] = None
@@ -38,6 +38,13 @@ class AccountingMethod(str, Enum):
38
38
  PRORATEBYUNITS = 'ProRateByUnits'
39
39
  PRORATEBYCOST = 'ProRateByCost'
40
40
  PRORATEBYCOSTPORTFOLIOCURRENCY = 'ProRateByCostPortfolioCurrency'
41
+ INTRADAYTHENFIRSTINFIRSTOUT = 'IntraDayThenFirstInFirstOut'
42
+ LONGTERMHIGHESTCOSTFIRST = 'LongTermHighestCostFirst'
43
+ LONGTERMHIGHESTCOSTFIRSTPORTFOLIOCURRENCY = 'LongTermHighestCostFirstPortfolioCurrency'
44
+ HIGHESTCOSTFIRSTPORTFOLIOCURRENCY = 'HighestCostFirstPortfolioCurrency'
45
+ LOWESTCOSTFIRSTPORTFOLIOCURRENCY = 'LowestCostFirstPortfolioCurrency'
46
+ MAXIMUMLOSSMINIMUMGAIN = 'MaximumLossMinimumGain'
47
+ MAXIMUMLOSSMINIMUMGAINPORTFOLIOCURRENCY = 'MaximumLossMinimumGainPortfolioCurrency'
41
48
 
42
49
  @classmethod
43
50
  def from_json(cls, json_str: str) -> AccountingMethod:
@@ -31,15 +31,15 @@ class AccumulationEvent(InstrumentEvent):
31
31
  dividend_rate: Union[StrictFloat, StrictInt] = Field(..., alias="dividendRate", description="Dividend rate or payment rate as a percentage. i.e. 5% is written as 0.05")
32
32
  ex_date: datetime = Field(..., alias="exDate", description="The first business day on which the dividend is not owed to the buying party. Typically this is T-1 from the RecordDate.")
33
33
  payment_date: datetime = Field(..., alias="paymentDate", description="The date the company pays out dividends to shareholders.")
34
- instrument_event_type: StrictStr = Field(..., alias="instrumentEventType", description="The Type of Event. The available values are: TransitionEvent, InformationalEvent, OpenEvent, CloseEvent, StockSplitEvent, BondDefaultEvent, CashDividendEvent, AmortisationEvent, CashFlowEvent, ExerciseEvent, ResetEvent, TriggerEvent, RawVendorEvent, InformationalErrorEvent, BondCouponEvent, DividendReinvestmentEvent, AccumulationEvent, BondPrincipalEvent, DividendOptionEvent, MaturityEvent, FxForwardSettlementEvent, ExpiryEvent, ScripDividendEvent, StockDividendEvent, ReverseStockSplitEvent, CapitalDistributionEvent, SpinOffEvent, MergerEvent, FutureExpiryEvent, SwapCashFlowEvent, SwapPrincipalEvent, CreditPremiumCashFlowEvent, CdsCreditEvent, CdxCreditEvent")
34
+ instrument_event_type: StrictStr = Field(..., alias="instrumentEventType", description="The Type of Event. The available values are: TransitionEvent, InformationalEvent, OpenEvent, CloseEvent, StockSplitEvent, BondDefaultEvent, CashDividendEvent, AmortisationEvent, CashFlowEvent, ExerciseEvent, ResetEvent, TriggerEvent, RawVendorEvent, InformationalErrorEvent, BondCouponEvent, DividendReinvestmentEvent, AccumulationEvent, BondPrincipalEvent, DividendOptionEvent, MaturityEvent, FxForwardSettlementEvent, ExpiryEvent, ScripDividendEvent, StockDividendEvent, ReverseStockSplitEvent, CapitalDistributionEvent, SpinOffEvent, MergerEvent, FutureExpiryEvent, SwapCashFlowEvent, SwapPrincipalEvent, CreditPremiumCashFlowEvent, CdsCreditEvent, CdxCreditEvent, MbsCouponEvent, MbsPrincipalEvent, BonusIssueEvent, MbsPrincipalWriteOffEvent, MbsInterestDeferralEvent")
35
35
  additional_properties: Dict[str, Any] = {}
36
36
  __properties = ["instrumentEventType", "announcementDate", "dividendCurrency", "dividendRate", "exDate", "paymentDate"]
37
37
 
38
38
  @validator('instrument_event_type')
39
39
  def instrument_event_type_validate_enum(cls, value):
40
40
  """Validates the enum"""
41
- if value not in ('TransitionEvent', 'InformationalEvent', 'OpenEvent', 'CloseEvent', 'StockSplitEvent', 'BondDefaultEvent', 'CashDividendEvent', 'AmortisationEvent', 'CashFlowEvent', 'ExerciseEvent', 'ResetEvent', 'TriggerEvent', 'RawVendorEvent', 'InformationalErrorEvent', 'BondCouponEvent', 'DividendReinvestmentEvent', 'AccumulationEvent', 'BondPrincipalEvent', 'DividendOptionEvent', 'MaturityEvent', 'FxForwardSettlementEvent', 'ExpiryEvent', 'ScripDividendEvent', 'StockDividendEvent', 'ReverseStockSplitEvent', 'CapitalDistributionEvent', 'SpinOffEvent', 'MergerEvent', 'FutureExpiryEvent', 'SwapCashFlowEvent', 'SwapPrincipalEvent', 'CreditPremiumCashFlowEvent', 'CdsCreditEvent', 'CdxCreditEvent'):
42
- raise ValueError("must be one of enum values ('TransitionEvent', 'InformationalEvent', 'OpenEvent', 'CloseEvent', 'StockSplitEvent', 'BondDefaultEvent', 'CashDividendEvent', 'AmortisationEvent', 'CashFlowEvent', 'ExerciseEvent', 'ResetEvent', 'TriggerEvent', 'RawVendorEvent', 'InformationalErrorEvent', 'BondCouponEvent', 'DividendReinvestmentEvent', 'AccumulationEvent', 'BondPrincipalEvent', 'DividendOptionEvent', 'MaturityEvent', 'FxForwardSettlementEvent', 'ExpiryEvent', 'ScripDividendEvent', 'StockDividendEvent', 'ReverseStockSplitEvent', 'CapitalDistributionEvent', 'SpinOffEvent', 'MergerEvent', 'FutureExpiryEvent', 'SwapCashFlowEvent', 'SwapPrincipalEvent', 'CreditPremiumCashFlowEvent', 'CdsCreditEvent', 'CdxCreditEvent')")
41
+ if value not in ('TransitionEvent', 'InformationalEvent', 'OpenEvent', 'CloseEvent', 'StockSplitEvent', 'BondDefaultEvent', 'CashDividendEvent', 'AmortisationEvent', 'CashFlowEvent', 'ExerciseEvent', 'ResetEvent', 'TriggerEvent', 'RawVendorEvent', 'InformationalErrorEvent', 'BondCouponEvent', 'DividendReinvestmentEvent', 'AccumulationEvent', 'BondPrincipalEvent', 'DividendOptionEvent', 'MaturityEvent', 'FxForwardSettlementEvent', 'ExpiryEvent', 'ScripDividendEvent', 'StockDividendEvent', 'ReverseStockSplitEvent', 'CapitalDistributionEvent', 'SpinOffEvent', 'MergerEvent', 'FutureExpiryEvent', 'SwapCashFlowEvent', 'SwapPrincipalEvent', 'CreditPremiumCashFlowEvent', 'CdsCreditEvent', 'CdxCreditEvent', 'MbsCouponEvent', 'MbsPrincipalEvent', 'BonusIssueEvent', 'MbsPrincipalWriteOffEvent', 'MbsInterestDeferralEvent'):
42
+ raise ValueError("must be one of enum values ('TransitionEvent', 'InformationalEvent', 'OpenEvent', 'CloseEvent', 'StockSplitEvent', 'BondDefaultEvent', 'CashDividendEvent', 'AmortisationEvent', 'CashFlowEvent', 'ExerciseEvent', 'ResetEvent', 'TriggerEvent', 'RawVendorEvent', 'InformationalErrorEvent', 'BondCouponEvent', 'DividendReinvestmentEvent', 'AccumulationEvent', 'BondPrincipalEvent', 'DividendOptionEvent', 'MaturityEvent', 'FxForwardSettlementEvent', 'ExpiryEvent', 'ScripDividendEvent', 'StockDividendEvent', 'ReverseStockSplitEvent', 'CapitalDistributionEvent', 'SpinOffEvent', 'MergerEvent', 'FutureExpiryEvent', 'SwapCashFlowEvent', 'SwapPrincipalEvent', 'CreditPremiumCashFlowEvent', 'CdsCreditEvent', 'CdxCreditEvent', 'MbsCouponEvent', 'MbsPrincipalEvent', 'BonusIssueEvent', 'MbsPrincipalWriteOffEvent', 'MbsInterestDeferralEvent')")
43
43
  return value
44
44
 
45
45
  class Config:
@@ -27,15 +27,15 @@ class AddressKeyList(ReferenceList):
27
27
  AddressKeyList
28
28
  """
29
29
  values: conlist(StrictStr, max_items=100, min_items=0) = Field(...)
30
- reference_list_type: StrictStr = Field(..., alias="referenceListType", description="The reference list values. The available values are: PortfolioGroupIdList, PortfolioIdList, AddressKeyList, StringList, InstrumentList, DecimalList, PropertyList")
30
+ reference_list_type: StrictStr = Field(..., alias="referenceListType", description="The reference list values. The available values are: PortfolioGroupIdList, PortfolioIdList, AddressKeyList, StringList, InstrumentList, DecimalList, PropertyList, FundIdList")
31
31
  additional_properties: Dict[str, Any] = {}
32
32
  __properties = ["referenceListType", "values"]
33
33
 
34
34
  @validator('reference_list_type')
35
35
  def reference_list_type_validate_enum(cls, value):
36
36
  """Validates the enum"""
37
- if value not in ('PortfolioGroupIdList', 'PortfolioIdList', 'AddressKeyList', 'StringList', 'InstrumentList', 'DecimalList', 'PropertyList'):
38
- raise ValueError("must be one of enum values ('PortfolioGroupIdList', 'PortfolioIdList', 'AddressKeyList', 'StringList', 'InstrumentList', 'DecimalList', 'PropertyList')")
37
+ if value not in ('PortfolioGroupIdList', 'PortfolioIdList', 'AddressKeyList', 'StringList', 'InstrumentList', 'DecimalList', 'PropertyList', 'FundIdList'):
38
+ raise ValueError("must be one of enum values ('PortfolioGroupIdList', 'PortfolioIdList', 'AddressKeyList', 'StringList', 'InstrumentList', 'DecimalList', 'PropertyList', 'FundIdList')")
39
39
  return value
40
40
 
41
41
  class Config:
@@ -30,15 +30,15 @@ class AmortisationEvent(InstrumentEvent):
30
30
  dom_ccy: StrictStr = Field(..., alias="domCcy", description="Domestic currency of the originating instrument")
31
31
  pay_receive: constr(strict=True, min_length=1) = Field(..., alias="payReceive", description="Is this event in relation to the Pay or Receive leg")
32
32
  payment_date: datetime = Field(..., alias="paymentDate", description="The date the principal payment is to be made.")
33
- instrument_event_type: StrictStr = Field(..., alias="instrumentEventType", description="The Type of Event. The available values are: TransitionEvent, InformationalEvent, OpenEvent, CloseEvent, StockSplitEvent, BondDefaultEvent, CashDividendEvent, AmortisationEvent, CashFlowEvent, ExerciseEvent, ResetEvent, TriggerEvent, RawVendorEvent, InformationalErrorEvent, BondCouponEvent, DividendReinvestmentEvent, AccumulationEvent, BondPrincipalEvent, DividendOptionEvent, MaturityEvent, FxForwardSettlementEvent, ExpiryEvent, ScripDividendEvent, StockDividendEvent, ReverseStockSplitEvent, CapitalDistributionEvent, SpinOffEvent, MergerEvent, FutureExpiryEvent, SwapCashFlowEvent, SwapPrincipalEvent, CreditPremiumCashFlowEvent, CdsCreditEvent, CdxCreditEvent")
33
+ instrument_event_type: StrictStr = Field(..., alias="instrumentEventType", description="The Type of Event. The available values are: TransitionEvent, InformationalEvent, OpenEvent, CloseEvent, StockSplitEvent, BondDefaultEvent, CashDividendEvent, AmortisationEvent, CashFlowEvent, ExerciseEvent, ResetEvent, TriggerEvent, RawVendorEvent, InformationalErrorEvent, BondCouponEvent, DividendReinvestmentEvent, AccumulationEvent, BondPrincipalEvent, DividendOptionEvent, MaturityEvent, FxForwardSettlementEvent, ExpiryEvent, ScripDividendEvent, StockDividendEvent, ReverseStockSplitEvent, CapitalDistributionEvent, SpinOffEvent, MergerEvent, FutureExpiryEvent, SwapCashFlowEvent, SwapPrincipalEvent, CreditPremiumCashFlowEvent, CdsCreditEvent, CdxCreditEvent, MbsCouponEvent, MbsPrincipalEvent, BonusIssueEvent, MbsPrincipalWriteOffEvent, MbsInterestDeferralEvent")
34
34
  additional_properties: Dict[str, Any] = {}
35
35
  __properties = ["instrumentEventType", "amountReduced", "domCcy", "payReceive", "paymentDate"]
36
36
 
37
37
  @validator('instrument_event_type')
38
38
  def instrument_event_type_validate_enum(cls, value):
39
39
  """Validates the enum"""
40
- if value not in ('TransitionEvent', 'InformationalEvent', 'OpenEvent', 'CloseEvent', 'StockSplitEvent', 'BondDefaultEvent', 'CashDividendEvent', 'AmortisationEvent', 'CashFlowEvent', 'ExerciseEvent', 'ResetEvent', 'TriggerEvent', 'RawVendorEvent', 'InformationalErrorEvent', 'BondCouponEvent', 'DividendReinvestmentEvent', 'AccumulationEvent', 'BondPrincipalEvent', 'DividendOptionEvent', 'MaturityEvent', 'FxForwardSettlementEvent', 'ExpiryEvent', 'ScripDividendEvent', 'StockDividendEvent', 'ReverseStockSplitEvent', 'CapitalDistributionEvent', 'SpinOffEvent', 'MergerEvent', 'FutureExpiryEvent', 'SwapCashFlowEvent', 'SwapPrincipalEvent', 'CreditPremiumCashFlowEvent', 'CdsCreditEvent', 'CdxCreditEvent'):
41
- raise ValueError("must be one of enum values ('TransitionEvent', 'InformationalEvent', 'OpenEvent', 'CloseEvent', 'StockSplitEvent', 'BondDefaultEvent', 'CashDividendEvent', 'AmortisationEvent', 'CashFlowEvent', 'ExerciseEvent', 'ResetEvent', 'TriggerEvent', 'RawVendorEvent', 'InformationalErrorEvent', 'BondCouponEvent', 'DividendReinvestmentEvent', 'AccumulationEvent', 'BondPrincipalEvent', 'DividendOptionEvent', 'MaturityEvent', 'FxForwardSettlementEvent', 'ExpiryEvent', 'ScripDividendEvent', 'StockDividendEvent', 'ReverseStockSplitEvent', 'CapitalDistributionEvent', 'SpinOffEvent', 'MergerEvent', 'FutureExpiryEvent', 'SwapCashFlowEvent', 'SwapPrincipalEvent', 'CreditPremiumCashFlowEvent', 'CdsCreditEvent', 'CdxCreditEvent')")
40
+ if value not in ('TransitionEvent', 'InformationalEvent', 'OpenEvent', 'CloseEvent', 'StockSplitEvent', 'BondDefaultEvent', 'CashDividendEvent', 'AmortisationEvent', 'CashFlowEvent', 'ExerciseEvent', 'ResetEvent', 'TriggerEvent', 'RawVendorEvent', 'InformationalErrorEvent', 'BondCouponEvent', 'DividendReinvestmentEvent', 'AccumulationEvent', 'BondPrincipalEvent', 'DividendOptionEvent', 'MaturityEvent', 'FxForwardSettlementEvent', 'ExpiryEvent', 'ScripDividendEvent', 'StockDividendEvent', 'ReverseStockSplitEvent', 'CapitalDistributionEvent', 'SpinOffEvent', 'MergerEvent', 'FutureExpiryEvent', 'SwapCashFlowEvent', 'SwapPrincipalEvent', 'CreditPremiumCashFlowEvent', 'CdsCreditEvent', 'CdxCreditEvent', 'MbsCouponEvent', 'MbsPrincipalEvent', 'BonusIssueEvent', 'MbsPrincipalWriteOffEvent', 'MbsInterestDeferralEvent'):
41
+ raise ValueError("must be one of enum values ('TransitionEvent', 'InformationalEvent', 'OpenEvent', 'CloseEvent', 'StockSplitEvent', 'BondDefaultEvent', 'CashDividendEvent', 'AmortisationEvent', 'CashFlowEvent', 'ExerciseEvent', 'ResetEvent', 'TriggerEvent', 'RawVendorEvent', 'InformationalErrorEvent', 'BondCouponEvent', 'DividendReinvestmentEvent', 'AccumulationEvent', 'BondPrincipalEvent', 'DividendOptionEvent', 'MaturityEvent', 'FxForwardSettlementEvent', 'ExpiryEvent', 'ScripDividendEvent', 'StockDividendEvent', 'ReverseStockSplitEvent', 'CapitalDistributionEvent', 'SpinOffEvent', 'MergerEvent', 'FutureExpiryEvent', 'SwapCashFlowEvent', 'SwapPrincipalEvent', 'CreditPremiumCashFlowEvent', 'CdsCreditEvent', 'CdxCreditEvent', 'MbsCouponEvent', 'MbsPrincipalEvent', 'BonusIssueEvent', 'MbsPrincipalWriteOffEvent', 'MbsInterestDeferralEvent')")
42
42
  return value
43
43
 
44
44
  class Config:
lusid/models/amount.py ADDED
@@ -0,0 +1,69 @@
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, Optional, Union
22
+ from pydantic.v1 import BaseModel, StrictFloat, StrictInt
23
+
24
+ class Amount(BaseModel):
25
+ """
26
+ Amount
27
+ """
28
+ value: Optional[Union[StrictFloat, StrictInt]] = None
29
+ __properties = ["value"]
30
+
31
+ class Config:
32
+ """Pydantic configuration"""
33
+ allow_population_by_field_name = True
34
+ validate_assignment = True
35
+
36
+ def to_str(self) -> str:
37
+ """Returns the string representation of the model using alias"""
38
+ return pprint.pformat(self.dict(by_alias=True))
39
+
40
+ def to_json(self) -> str:
41
+ """Returns the JSON representation of the model using alias"""
42
+ return json.dumps(self.to_dict())
43
+
44
+ @classmethod
45
+ def from_json(cls, json_str: str) -> Amount:
46
+ """Create an instance of Amount from a JSON string"""
47
+ return cls.from_dict(json.loads(json_str))
48
+
49
+ def to_dict(self):
50
+ """Returns the dictionary representation of the model using alias"""
51
+ _dict = self.dict(by_alias=True,
52
+ exclude={
53
+ },
54
+ exclude_none=True)
55
+ return _dict
56
+
57
+ @classmethod
58
+ def from_dict(cls, obj: dict) -> Amount:
59
+ """Create an instance of Amount from a dict"""
60
+ if obj is None:
61
+ return None
62
+
63
+ if not isinstance(obj, dict):
64
+ return Amount.parse_obj(obj)
65
+
66
+ _obj = Amount.parse_obj({
67
+ "value": obj.get("value")
68
+ })
69
+ return _obj
lusid/models/basket.py CHANGED
@@ -31,15 +31,15 @@ class Basket(LusidInstrument):
31
31
  basket_name: BasketIdentifier = Field(..., alias="basketName")
32
32
  basket_type: constr(strict=True, min_length=1) = Field(..., alias="basketType", description="What contents does the basket have. The validation will check that the instrument types contained match those expected. Supported string (enumeration) values are: [Bonds, Credits, Equities, EquitySwap].")
33
33
  weighted_instruments: WeightedInstruments = Field(..., alias="weightedInstruments")
34
- instrument_type: StrictStr = Field(..., alias="instrumentType", description="The available values are: QuotedSecurity, InterestRateSwap, FxForward, Future, ExoticInstrument, FxOption, CreditDefaultSwap, InterestRateSwaption, Bond, EquityOption, FixedLeg, FloatingLeg, BespokeCashFlowsLeg, Unknown, TermDeposit, ContractForDifference, EquitySwap, CashPerpetual, CapFloor, CashSettled, CdsIndex, Basket, FundingLeg, FxSwap, ForwardRateAgreement, SimpleInstrument, Repo, Equity, ExchangeTradedOption, ReferenceInstrument, ComplexBond, InflationLinkedBond, InflationSwap, SimpleCashFlowLoan, TotalReturnSwap, InflationLeg, FundShareClass, FlexibleLoan, UnsettledCash, Cash")
34
+ instrument_type: StrictStr = Field(..., alias="instrumentType", description="The available values are: QuotedSecurity, InterestRateSwap, FxForward, Future, ExoticInstrument, FxOption, CreditDefaultSwap, InterestRateSwaption, Bond, EquityOption, FixedLeg, FloatingLeg, BespokeCashFlowsLeg, Unknown, TermDeposit, ContractForDifference, EquitySwap, CashPerpetual, CapFloor, CashSettled, CdsIndex, Basket, FundingLeg, FxSwap, ForwardRateAgreement, SimpleInstrument, Repo, Equity, ExchangeTradedOption, ReferenceInstrument, ComplexBond, InflationLinkedBond, InflationSwap, SimpleCashFlowLoan, TotalReturnSwap, InflationLeg, FundShareClass, FlexibleLoan, UnsettledCash, Cash, MasteredInstrument")
35
35
  additional_properties: Dict[str, Any] = {}
36
36
  __properties = ["instrumentType", "basketName", "basketType", "weightedInstruments"]
37
37
 
38
38
  @validator('instrument_type')
39
39
  def instrument_type_validate_enum(cls, value):
40
40
  """Validates the enum"""
41
- if value not in ('QuotedSecurity', 'InterestRateSwap', 'FxForward', 'Future', 'ExoticInstrument', 'FxOption', 'CreditDefaultSwap', 'InterestRateSwaption', 'Bond', 'EquityOption', 'FixedLeg', 'FloatingLeg', 'BespokeCashFlowsLeg', 'Unknown', 'TermDeposit', 'ContractForDifference', 'EquitySwap', 'CashPerpetual', 'CapFloor', 'CashSettled', 'CdsIndex', 'Basket', 'FundingLeg', 'FxSwap', 'ForwardRateAgreement', 'SimpleInstrument', 'Repo', 'Equity', 'ExchangeTradedOption', 'ReferenceInstrument', 'ComplexBond', 'InflationLinkedBond', 'InflationSwap', 'SimpleCashFlowLoan', 'TotalReturnSwap', 'InflationLeg', 'FundShareClass', 'FlexibleLoan', 'UnsettledCash', 'Cash'):
42
- raise ValueError("must be one of enum values ('QuotedSecurity', 'InterestRateSwap', 'FxForward', 'Future', 'ExoticInstrument', 'FxOption', 'CreditDefaultSwap', 'InterestRateSwaption', 'Bond', 'EquityOption', 'FixedLeg', 'FloatingLeg', 'BespokeCashFlowsLeg', 'Unknown', 'TermDeposit', 'ContractForDifference', 'EquitySwap', 'CashPerpetual', 'CapFloor', 'CashSettled', 'CdsIndex', 'Basket', 'FundingLeg', 'FxSwap', 'ForwardRateAgreement', 'SimpleInstrument', 'Repo', 'Equity', 'ExchangeTradedOption', 'ReferenceInstrument', 'ComplexBond', 'InflationLinkedBond', 'InflationSwap', 'SimpleCashFlowLoan', 'TotalReturnSwap', 'InflationLeg', 'FundShareClass', 'FlexibleLoan', 'UnsettledCash', 'Cash')")
41
+ if value not in ('QuotedSecurity', 'InterestRateSwap', 'FxForward', 'Future', 'ExoticInstrument', 'FxOption', 'CreditDefaultSwap', 'InterestRateSwaption', 'Bond', 'EquityOption', 'FixedLeg', 'FloatingLeg', 'BespokeCashFlowsLeg', 'Unknown', 'TermDeposit', 'ContractForDifference', 'EquitySwap', 'CashPerpetual', 'CapFloor', 'CashSettled', 'CdsIndex', 'Basket', 'FundingLeg', 'FxSwap', 'ForwardRateAgreement', 'SimpleInstrument', 'Repo', 'Equity', 'ExchangeTradedOption', 'ReferenceInstrument', 'ComplexBond', 'InflationLinkedBond', 'InflationSwap', 'SimpleCashFlowLoan', 'TotalReturnSwap', 'InflationLeg', 'FundShareClass', 'FlexibleLoan', 'UnsettledCash', 'Cash', 'MasteredInstrument'):
42
+ raise ValueError("must be one of enum values ('QuotedSecurity', 'InterestRateSwap', 'FxForward', 'Future', 'ExoticInstrument', 'FxOption', 'CreditDefaultSwap', 'InterestRateSwaption', 'Bond', 'EquityOption', 'FixedLeg', 'FloatingLeg', 'BespokeCashFlowsLeg', 'Unknown', 'TermDeposit', 'ContractForDifference', 'EquitySwap', 'CashPerpetual', 'CapFloor', 'CashSettled', 'CdsIndex', 'Basket', 'FundingLeg', 'FxSwap', 'ForwardRateAgreement', 'SimpleInstrument', 'Repo', 'Equity', 'ExchangeTradedOption', 'ReferenceInstrument', 'ComplexBond', 'InflationLinkedBond', 'InflationSwap', 'SimpleCashFlowLoan', 'TotalReturnSwap', 'InflationLeg', 'FundShareClass', 'FlexibleLoan', 'UnsettledCash', 'Cash', 'MasteredInstrument')")
43
43
  return value
44
44
 
45
45
  class Config: