lusid-sdk 2.1.991__py3-none-any.whl → 2.2.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of lusid-sdk might be problematic. Click here for more details.
- lusid/api/abor_api.py +39 -42
- lusid/api/abor_configuration_api.py +19 -22
- lusid/api/address_key_definition_api.py +10 -13
- lusid/api/aggregated_returns_api.py +6 -9
- lusid/api/aggregation_api.py +2 -4
- lusid/api/allocations_api.py +15 -18
- lusid/api/amortisation_rule_sets_api.py +19 -22
- lusid/api/application_metadata_api.py +2 -4
- lusid/api/blocks_api.py +11 -14
- lusid/api/calendars_api.py +50 -53
- lusid/api/chart_of_accounts_api.py +95 -98
- lusid/api/check_definitions_api.py +19 -22
- lusid/api/complex_market_data_api.py +22 -25
- lusid/api/compliance_api.py +35 -38
- lusid/api/configuration_recipe_api.py +14 -17
- lusid/api/conventions_api.py +14 -17
- lusid/api/corporate_action_sources_api.py +31 -34
- lusid/api/counterparties_api.py +10 -13
- lusid/api/custom_data_models_api.py +11 -14
- lusid/api/custom_entities_api.py +30 -33
- lusid/api/custom_entity_definitions_api.py +14 -17
- lusid/api/custom_entity_types_api.py +15 -18
- lusid/api/cut_label_definitions_api.py +7 -10
- lusid/api/data_types_api.py +27 -30
- lusid/api/derived_transaction_portfolios_api.py +2 -4
- lusid/api/entities_api.py +27 -30
- lusid/api/executions_api.py +11 -14
- lusid/api/fee_types_api.py +15 -18
- lusid/api/fund_configuration_api.py +19 -22
- lusid/api/funds_api.py +91 -94
- lusid/api/group_reconciliations_api.py +19 -22
- lusid/api/identifier_definitions_api.py +11 -14
- lusid/api/instrument_event_types_api.py +19 -22
- lusid/api/instrument_events_api.py +2 -5
- lusid/api/instruments_api.py +54 -57
- lusid/api/investment_accounts_api.py +15 -18
- lusid/api/investor_records_api.py +15 -18
- lusid/api/legacy_compliance_api.py +26 -29
- lusid/api/legal_entities_api.py +58 -61
- lusid/api/order_graph_api.py +15 -18
- lusid/api/order_instructions_api.py +11 -14
- lusid/api/order_management_api.py +39 -42
- lusid/api/orders_api.py +15 -18
- lusid/api/packages_api.py +11 -14
- lusid/api/participations_api.py +11 -14
- lusid/api/persons_api.py +58 -61
- lusid/api/placements_api.py +11 -14
- lusid/api/portfolio_groups_api.py +54 -57
- lusid/api/portfolios_api.py +90 -93
- lusid/api/property_definitions_api.py +43 -46
- lusid/api/queryable_keys_api.py +2 -5
- lusid/api/quotes_api.py +34 -37
- lusid/api/reconciliations_api.py +15 -18
- lusid/api/reference_lists_api.py +6 -9
- lusid/api/reference_portfolio_api.py +19 -22
- lusid/api/relation_definitions_api.py +6 -9
- lusid/api/relational_dataset_definition_api.py +11 -14
- lusid/api/relational_datasets_api.py +10 -13
- lusid/api/relations_api.py +10 -12
- lusid/api/relationship_definitions_api.py +15 -18
- lusid/api/relationships_api.py +9 -10
- lusid/api/schemas_api.py +11 -14
- lusid/api/scopes_api.py +6 -9
- lusid/api/scripted_translation_api.py +26 -29
- lusid/api/search_api.py +6 -8
- lusid/api/sequences_api.py +14 -16
- lusid/api/simple_position_portfolios_api.py +5 -6
- lusid/api/staged_modifications_api.py +15 -18
- lusid/api/staging_rule_set_api.py +15 -18
- lusid/api/structured_result_data_api.py +34 -37
- lusid/api/system_configuration_api.py +7 -10
- lusid/api/tax_rule_sets_api.py +10 -13
- lusid/api/timelines_api.py +19 -22
- lusid/api/transaction_configuration_api.py +18 -21
- lusid/api/transaction_fees_api.py +10 -13
- lusid/api/transaction_portfolios_api.py +139 -142
- lusid/api/transfer_agency_api.py +5 -7
- lusid/api/translation_api.py +9 -10
- lusid/api/workspace_api.py +15 -18
- lusid/api_client.py +1 -1
- lusid/configuration.py +1 -1
- lusid/exceptions.py +58 -25
- lusid/extensions/api_client.py +1 -1
- lusid/models/a2_b_breakdown.py +8 -4
- lusid/models/a2_b_category.py +8 -4
- lusid/models/a2_b_data_record.py +10 -6
- lusid/models/a2_b_movement_record.py +12 -8
- lusid/models/abor.py +11 -7
- lusid/models/abor_configuration.py +13 -9
- lusid/models/abor_configuration_properties.py +8 -4
- lusid/models/abor_configuration_request.py +11 -7
- lusid/models/abor_properties.py +8 -4
- lusid/models/abor_request.py +9 -5
- lusid/models/accept_estimate_valuation_point_response.py +9 -5
- lusid/models/access_controlled_action.py +9 -5
- lusid/models/access_controlled_resource.py +9 -5
- lusid/models/access_metadata_operation.py +14 -5
- lusid/models/access_metadata_value.py +6 -2
- lusid/models/account.py +14 -5
- lusid/models/account_holder.py +8 -4
- lusid/models/account_holder_identifier.py +7 -3
- lusid/models/account_properties.py +8 -4
- lusid/models/accounted_transaction.py +8 -4
- lusid/models/accounting_method.py +4 -2
- lusid/models/accounts_upsert_response.py +8 -4
- lusid/models/accumulation_event.py +17 -8
- lusid/models/action_id.py +6 -2
- lusid/models/add_business_days_to_date_request.py +10 -6
- lusid/models/add_business_days_to_date_response.py +7 -3
- lusid/models/additional_payment.py +8 -4
- lusid/models/address_definition.py +14 -5
- lusid/models/address_key_compliance_parameter.py +13 -4
- lusid/models/address_key_definition.py +7 -3
- lusid/models/address_key_filter.py +6 -2
- lusid/models/address_key_list.py +14 -5
- lusid/models/address_key_list_compliance_parameter.py +14 -5
- lusid/models/address_key_option_definition.py +8 -4
- lusid/models/adjust_global_commitment_event.py +15 -6
- lusid/models/adjust_holding.py +9 -5
- lusid/models/adjust_holding_for_date_request.py +11 -7
- lusid/models/adjust_holding_request.py +11 -7
- lusid/models/aggregate_spec.py +14 -5
- lusid/models/aggregated_return.py +14 -10
- lusid/models/aggregated_returns_dispersion_request.py +9 -5
- lusid/models/aggregated_returns_request.py +10 -6
- lusid/models/aggregated_returns_response.py +8 -4
- lusid/models/aggregated_transactions_request.py +15 -11
- lusid/models/aggregation_context.py +6 -2
- lusid/models/aggregation_measure_failure_detail.py +7 -3
- lusid/models/aggregation_op.py +4 -2
- lusid/models/aggregation_options.py +9 -5
- lusid/models/aggregation_query.py +23 -9
- lusid/models/aggregation_type.py +4 -2
- lusid/models/alias.py +6 -2
- lusid/models/allocation.py +19 -15
- lusid/models/allocation_request.py +17 -13
- lusid/models/allocation_service_run_response.py +7 -3
- lusid/models/allocation_set_request.py +7 -3
- lusid/models/amortisation_event.py +15 -6
- lusid/models/amortisation_rule.py +6 -2
- lusid/models/amortisation_rule_set.py +9 -5
- lusid/models/amount.py +6 -2
- lusid/models/annul_quotes_response.py +9 -5
- lusid/models/annul_single_structured_data_response.py +8 -4
- lusid/models/annul_structured_data_response.py +9 -5
- lusid/models/append_complex_market_data_request.py +8 -4
- lusid/models/append_fx_forward_curve_by_quote_reference.py +14 -5
- lusid/models/append_fx_forward_curve_data.py +15 -6
- lusid/models/append_fx_forward_pips_curve_data.py +15 -6
- lusid/models/append_fx_forward_tenor_curve_data.py +14 -5
- lusid/models/append_fx_forward_tenor_pips_curve_data.py +14 -5
- lusid/models/append_market_data.py +13 -4
- lusid/models/append_market_data_type.py +4 -2
- lusid/models/applicable_entity.py +6 -2
- lusid/models/applicable_instrument_event.py +13 -9
- lusid/models/asset_class.py +4 -2
- lusid/models/asset_leg.py +7 -3
- lusid/models/barrier.py +7 -3
- lusid/models/basket.py +15 -6
- lusid/models/basket_identifier.py +7 -3
- lusid/models/batch_adjust_holdings_response.py +10 -6
- lusid/models/batch_amend_custom_data_model_membership_response.py +7 -3
- lusid/models/batch_update_user_review_for_comparison_result_request.py +8 -4
- lusid/models/batch_update_user_review_for_comparison_result_response.py +10 -6
- lusid/models/batch_upsert_dates_for_calendar_response.py +10 -6
- lusid/models/batch_upsert_instrument_properties_response.py +10 -6
- lusid/models/batch_upsert_portfolio_access_metadata_request.py +8 -4
- lusid/models/batch_upsert_portfolio_access_metadata_response.py +9 -5
- lusid/models/batch_upsert_portfolio_access_metadata_response_item.py +8 -4
- lusid/models/batch_upsert_portfolio_transactions_response.py +10 -6
- lusid/models/batch_upsert_property_definition_properties_response.py +10 -6
- lusid/models/batch_upsert_relational_datasets_response.py +9 -5
- lusid/models/batch_upsert_transaction_settlement_instruction_response.py +9 -5
- lusid/models/block.py +17 -13
- lusid/models/block_and_order_id_request.py +8 -4
- lusid/models/block_and_orders.py +8 -4
- lusid/models/block_and_orders_create_request.py +7 -3
- lusid/models/block_and_orders_request.py +13 -9
- lusid/models/block_request.py +15 -11
- lusid/models/block_set_request.py +7 -3
- lusid/models/blocked_order_request.py +13 -9
- lusid/models/bond.py +27 -18
- lusid/models/bond_conversion_entry.py +10 -6
- lusid/models/bond_conversion_schedule.py +19 -10
- lusid/models/bond_coupon_event.py +16 -7
- lusid/models/bond_default_event.py +14 -5
- lusid/models/bond_principal_event.py +16 -7
- lusid/models/bonus_issue_event.py +21 -12
- lusid/models/book_transactions_request.py +8 -4
- lusid/models/book_transactions_response.py +6 -2
- lusid/models/bool_compliance_parameter.py +14 -5
- lusid/models/bool_list_compliance_parameter.py +14 -5
- lusid/models/branch_step.py +14 -5
- lusid/models/branch_step_request.py +13 -4
- lusid/models/break_code_source.py +7 -3
- lusid/models/bucket.py +8 -4
- lusid/models/bucketed_cash_flow_request.py +15 -11
- lusid/models/bucketed_cash_flow_response.py +10 -6
- lusid/models/bucketing_schedule.py +6 -2
- lusid/models/calculate_order_dates_request.py +8 -4
- lusid/models/calculate_order_dates_response.py +9 -5
- lusid/models/calculation_info.py +7 -3
- lusid/models/calendar.py +10 -6
- lusid/models/calendar_date.py +9 -5
- lusid/models/calendar_dependency.py +14 -5
- lusid/models/call_on_intermediate_securities_event.py +20 -11
- lusid/models/cancel_order_and_move_remaining_result.py +9 -5
- lusid/models/cancel_orders_and_move_remaining_request.py +9 -5
- lusid/models/cancel_orders_and_move_remaining_response.py +10 -6
- lusid/models/cancel_orders_response.py +10 -6
- lusid/models/cancel_placements_response.py +10 -6
- lusid/models/cancel_single_holding_adjustment_request.py +9 -5
- lusid/models/cancelled_order_result.py +7 -3
- lusid/models/cancelled_placement_result.py +8 -4
- lusid/models/cap_floor.py +19 -10
- lusid/models/capital_distribution_event.py +18 -9
- lusid/models/caplet_floorlet_cash_flow_event.py +16 -7
- lusid/models/cash.py +14 -5
- lusid/models/cash_and_security_offer_election.py +11 -7
- lusid/models/cash_dependency.py +14 -5
- lusid/models/cash_dividend_event.py +18 -9
- lusid/models/cash_election.py +11 -7
- lusid/models/cash_flow_event.py +14 -5
- lusid/models/cash_flow_lineage.py +6 -2
- lusid/models/cash_flow_value.py +16 -7
- lusid/models/cash_flow_value_set.py +14 -5
- lusid/models/cash_ladder_record.py +10 -6
- lusid/models/cash_offer_election.py +9 -5
- lusid/models/cash_perpetual.py +15 -6
- lusid/models/cds_credit_event.py +16 -7
- lusid/models/cds_flow_conventions.py +10 -6
- lusid/models/cds_index.py +22 -13
- lusid/models/cds_model_options.py +14 -5
- lusid/models/cds_protection_detail_specification.py +8 -4
- lusid/models/cdx_credit_event.py +18 -9
- lusid/models/change.py +14 -10
- lusid/models/change_history.py +16 -7
- lusid/models/change_history_action.py +4 -2
- lusid/models/change_interval.py +11 -7
- lusid/models/change_interval_with_order_management_detail.py +12 -8
- lusid/models/change_item.py +8 -4
- lusid/models/chart_of_accounts.py +9 -5
- lusid/models/chart_of_accounts_properties.py +8 -4
- lusid/models/chart_of_accounts_request.py +7 -3
- lusid/models/check_definition.py +11 -7
- lusid/models/check_definition_dataset_schema.py +6 -2
- lusid/models/check_definition_rule.py +7 -3
- lusid/models/check_definition_rule_set.py +7 -3
- lusid/models/check_step.py +15 -6
- lusid/models/check_step_request.py +13 -4
- lusid/models/cleardown_module_details.py +6 -2
- lusid/models/cleardown_module_request.py +7 -3
- lusid/models/cleardown_module_response.py +9 -5
- lusid/models/cleardown_module_rule.py +6 -2
- lusid/models/cleardown_module_rules_updated_response.py +8 -4
- lusid/models/client.py +6 -2
- lusid/models/close_event.py +15 -6
- lusid/models/close_period_diary_entry_request.py +10 -6
- lusid/models/closed_period.py +13 -9
- lusid/models/collateral.py +10 -6
- lusid/models/collateral_instrument.py +8 -4
- lusid/models/comparison_attribute_value_pair.py +6 -2
- lusid/models/complete_portfolio.py +21 -12
- lusid/models/complete_relation.py +10 -6
- lusid/models/complete_relationship.py +11 -7
- lusid/models/complex_bond.py +20 -11
- lusid/models/complex_market_data.py +13 -4
- lusid/models/complex_market_data_id.py +6 -2
- lusid/models/compliance_breached_order_info.py +8 -4
- lusid/models/compliance_parameter.py +13 -4
- lusid/models/compliance_parameter_type.py +4 -2
- lusid/models/compliance_rule.py +10 -6
- lusid/models/compliance_rule_breakdown.py +10 -6
- lusid/models/compliance_rule_breakdown_request.py +10 -6
- lusid/models/compliance_rule_response.py +9 -5
- lusid/models/compliance_rule_result.py +11 -7
- lusid/models/compliance_rule_result_detail.py +10 -6
- lusid/models/compliance_rule_result_portfolio_detail.py +7 -3
- lusid/models/compliance_rule_result_v2.py +10 -6
- lusid/models/compliance_rule_template.py +9 -5
- lusid/models/compliance_rule_upsert_request.py +10 -6
- lusid/models/compliance_rule_upsert_response.py +7 -3
- lusid/models/compliance_run_configuration.py +7 -3
- lusid/models/compliance_run_info.py +11 -7
- lusid/models/compliance_run_info_v2.py +9 -5
- lusid/models/compliance_step.py +13 -4
- lusid/models/compliance_step_request.py +13 -4
- lusid/models/compliance_step_type.py +4 -2
- lusid/models/compliance_step_type_request.py +4 -2
- lusid/models/compliance_summary_rule_result.py +12 -8
- lusid/models/compliance_summary_rule_result_request.py +12 -8
- lusid/models/compliance_template.py +10 -6
- lusid/models/compliance_template_parameter.py +6 -2
- lusid/models/compliance_template_variation.py +10 -6
- lusid/models/compliance_template_variation_dto.py +7 -3
- lusid/models/compliance_template_variation_request.py +7 -3
- lusid/models/component_filter.py +6 -2
- lusid/models/component_transaction.py +10 -6
- lusid/models/composite_breakdown.py +8 -4
- lusid/models/composite_breakdown_request.py +9 -5
- lusid/models/composite_breakdown_response.py +8 -4
- lusid/models/composite_dispersion.py +14 -10
- lusid/models/composite_dispersion_response.py +8 -4
- lusid/models/compounding.py +8 -4
- lusid/models/configuration_recipe.py +6 -2
- lusid/models/constant_volatility_surface.py +15 -6
- lusid/models/constituents_adjustment_header.py +8 -4
- lusid/models/contract_details.py +7 -3
- lusid/models/contract_for_difference.py +19 -10
- lusid/models/contract_initialisation_event.py +16 -7
- lusid/models/contribution_to_non_passing_rule_detail.py +9 -5
- lusid/models/conversion_event.py +23 -14
- lusid/models/corporate_action.py +11 -7
- lusid/models/corporate_action_source.py +8 -4
- lusid/models/corporate_action_transition.py +8 -4
- lusid/models/corporate_action_transition_component.py +9 -5
- lusid/models/corporate_action_transition_component_request.py +9 -5
- lusid/models/corporate_action_transition_request.py +8 -4
- lusid/models/counterparty_agreement.py +10 -6
- lusid/models/counterparty_risk_information.py +8 -4
- lusid/models/counterparty_signatory.py +7 -3
- lusid/models/create_address_key_definition_request.py +6 -2
- lusid/models/create_amortisation_rule_set_request.py +6 -2
- lusid/models/create_calendar_request.py +9 -5
- lusid/models/create_check_definition_request.py +10 -6
- lusid/models/create_closed_period_request.py +10 -6
- lusid/models/create_compliance_template_request.py +7 -3
- lusid/models/create_corporate_action_source_request.py +7 -3
- lusid/models/create_custom_data_model_request.py +12 -8
- lusid/models/create_custom_entity_type_request.py +7 -3
- lusid/models/create_cut_label_definition_request.py +7 -3
- lusid/models/create_data_map_request.py +7 -3
- lusid/models/create_data_type_request.py +30 -11
- lusid/models/create_date_request.py +9 -5
- lusid/models/create_derived_property_definition_request.py +15 -6
- lusid/models/create_derived_transaction_portfolio_request.py +21 -12
- lusid/models/create_group_reconciliation_comparison_ruleset_request.py +9 -5
- lusid/models/create_group_reconciliation_definition_request.py +12 -8
- lusid/models/create_identifier_definition_request.py +21 -7
- lusid/models/create_portfolio_details.py +7 -3
- lusid/models/create_portfolio_group_request.py +10 -6
- lusid/models/create_property_definition_request.py +23 -9
- lusid/models/create_recipe_request.py +10 -6
- lusid/models/create_reconciliation_request.py +8 -4
- lusid/models/create_reference_portfolio_request.py +9 -5
- lusid/models/create_relation_definition_request.py +6 -2
- lusid/models/create_relation_request.py +8 -4
- lusid/models/create_relational_dataset_definition_request.py +9 -5
- lusid/models/create_relationship_definition_request.py +6 -2
- lusid/models/create_relationship_request.py +8 -4
- lusid/models/create_sequence_request.py +11 -7
- lusid/models/create_simple_position_portfolio_request.py +20 -11
- lusid/models/create_staging_rule_set_request.py +7 -3
- lusid/models/create_tax_rule_set_request.py +8 -4
- lusid/models/create_timeline_request.py +8 -4
- lusid/models/create_trade_tickets_response.py +8 -4
- lusid/models/create_transaction_portfolio_request.py +21 -12
- lusid/models/create_unit_definition.py +7 -3
- lusid/models/credit_default_swap.py +22 -13
- lusid/models/credit_premium_cash_flow_event.py +16 -7
- lusid/models/credit_rating.py +6 -2
- lusid/models/credit_spread_curve_data.py +20 -11
- lusid/models/credit_support_annex.py +12 -8
- lusid/models/criterion_type.py +4 -2
- lusid/models/currency_and_amount.py +6 -2
- lusid/models/curve_options.py +13 -4
- lusid/models/custodian_account.py +9 -5
- lusid/models/custodian_account_properties.py +8 -4
- lusid/models/custodian_account_request.py +8 -4
- lusid/models/custodian_accounts_upsert_response.py +8 -4
- lusid/models/custom_data_model.py +7 -3
- lusid/models/custom_data_model_criteria.py +11 -7
- lusid/models/custom_data_model_identifier_type_specification.py +7 -3
- lusid/models/custom_data_model_identifier_type_specification_with_display_name.py +7 -3
- lusid/models/custom_data_model_property_specification.py +7 -3
- lusid/models/custom_data_model_property_specification_with_display_name.py +7 -3
- lusid/models/custom_entity_definition.py +9 -5
- lusid/models/custom_entity_definition_request.py +7 -3
- lusid/models/custom_entity_entity.py +13 -9
- lusid/models/custom_entity_field.py +9 -5
- lusid/models/custom_entity_field_definition.py +7 -3
- lusid/models/custom_entity_id.py +8 -4
- lusid/models/custom_entity_properties.py +10 -6
- lusid/models/custom_entity_request.py +9 -5
- lusid/models/custom_entity_response.py +13 -9
- lusid/models/custom_entity_type.py +9 -5
- lusid/models/cut_label_definition.py +8 -4
- lusid/models/cut_local_time.py +6 -2
- lusid/models/data_definition.py +8 -4
- lusid/models/data_map_key.py +6 -2
- lusid/models/data_mapping.py +7 -3
- lusid/models/data_model_membership.py +8 -4
- lusid/models/data_model_summary.py +9 -5
- lusid/models/data_quality_check_result.py +10 -6
- lusid/models/data_scope.py +6 -2
- lusid/models/data_type.py +33 -14
- lusid/models/data_type_entity.py +13 -9
- lusid/models/data_type_summary.py +30 -11
- lusid/models/data_type_value_range.py +4 -2
- lusid/models/date_attributes.py +9 -5
- lusid/models/date_or_diary_entry.py +6 -2
- lusid/models/date_range.py +8 -4
- lusid/models/date_time_comparison_type.py +4 -2
- lusid/models/date_time_compliance_parameter.py +14 -5
- lusid/models/date_time_list_compliance_parameter.py +14 -5
- lusid/models/day_month.py +8 -4
- lusid/models/day_of_week.py +4 -2
- lusid/models/decimal_compliance_parameter.py +14 -5
- lusid/models/decimal_list.py +14 -5
- lusid/models/decimal_list_compliance_parameter.py +14 -5
- lusid/models/decorated_compliance_run_summary.py +8 -4
- lusid/models/delete_accounts_response.py +8 -4
- lusid/models/delete_custodian_accounts_response.py +8 -4
- lusid/models/delete_data_quality_rule.py +6 -2
- lusid/models/delete_instrument_properties_response.py +9 -5
- lusid/models/delete_instrument_response.py +9 -5
- lusid/models/delete_instruments_response.py +9 -5
- lusid/models/delete_modes.py +4 -2
- lusid/models/delete_relation_request.py +8 -4
- lusid/models/delete_relationship_request.py +8 -4
- lusid/models/deleted_entity_response.py +10 -6
- lusid/models/dependency_source_filter.py +7 -3
- lusid/models/deposit_close_event.py +14 -5
- lusid/models/deposit_interest_payment_event.py +15 -6
- lusid/models/derivation_formula_explain_request.py +7 -3
- lusid/models/derived_property_component.py +8 -4
- lusid/models/described_address_key.py +6 -2
- lusid/models/dialect.py +8 -4
- lusid/models/dialect_id.py +6 -2
- lusid/models/dialect_schema.py +6 -2
- lusid/models/diary_entry.py +13 -9
- lusid/models/diary_entry_request.py +9 -5
- lusid/models/discount_factor_curve_data.py +17 -8
- lusid/models/discounting_dependency.py +14 -5
- lusid/models/discounting_method.py +4 -2
- lusid/models/dividend_option_event.py +20 -11
- lusid/models/dividend_reinvestment_event.py +20 -11
- lusid/models/drawdown_event.py +16 -7
- lusid/models/early_redemption_election.py +8 -4
- lusid/models/early_redemption_event.py +18 -9
- lusid/models/economic_dependency.py +13 -4
- lusid/models/economic_dependency_type.py +4 -2
- lusid/models/economic_dependency_with_complex_market_data.py +8 -4
- lusid/models/economic_dependency_with_quote.py +9 -5
- lusid/models/economics.py +8 -4
- lusid/models/effective_range.py +8 -4
- lusid/models/election_specification.py +8 -4
- lusid/models/eligibility_calculation.py +7 -3
- lusid/models/empty_model_options.py +13 -4
- lusid/models/entity_identifier.py +6 -2
- lusid/models/equity.py +16 -7
- lusid/models/equity_all_of_identifiers.py +6 -2
- lusid/models/equity_curve_by_prices_data.py +17 -8
- lusid/models/equity_curve_dependency.py +14 -5
- lusid/models/equity_model_options.py +13 -4
- lusid/models/equity_option.py +21 -12
- lusid/models/equity_swap.py +23 -14
- lusid/models/equity_vol_dependency.py +14 -5
- lusid/models/equity_vol_surface_data.py +16 -7
- lusid/models/error_detail.py +7 -3
- lusid/models/event_date_range.py +6 -2
- lusid/models/ex_dividend_configuration.py +10 -6
- lusid/models/exchange_traded_option.py +19 -10
- lusid/models/exchange_traded_option_contract_details.py +12 -8
- lusid/models/execution.py +18 -14
- lusid/models/execution_request.py +16 -12
- lusid/models/execution_set_request.py +7 -3
- lusid/models/exercise_event.py +16 -7
- lusid/models/exotic_instrument.py +14 -5
- lusid/models/expanded_group.py +10 -6
- lusid/models/expiry_event.py +14 -5
- lusid/models/external_fee_component_filter.py +6 -2
- lusid/models/fee.py +16 -12
- lusid/models/fee_accrual.py +13 -9
- lusid/models/fee_properties.py +8 -4
- lusid/models/fee_request.py +15 -11
- lusid/models/fee_rule.py +11 -7
- lusid/models/fee_rule_upsert_request.py +10 -6
- lusid/models/fee_rule_upsert_response.py +8 -4
- lusid/models/fee_transaction_template_specification.py +7 -3
- lusid/models/fee_type.py +9 -5
- lusid/models/fee_type_request.py +7 -3
- lusid/models/field_definition.py +8 -4
- lusid/models/field_schema.py +14 -5
- lusid/models/field_value.py +8 -4
- lusid/models/file_response.py +7 -3
- lusid/models/filter_predicate_compliance_parameter.py +13 -4
- lusid/models/filter_step.py +14 -5
- lusid/models/filter_step_request.py +13 -4
- lusid/models/fixed_leg.py +18 -9
- lusid/models/fixed_leg_all_of_overrides.py +8 -4
- lusid/models/fixed_schedule.py +21 -12
- lusid/models/flexible_deposit.py +18 -9
- lusid/models/flexible_loan.py +17 -8
- lusid/models/flexible_repo.py +23 -14
- lusid/models/flexible_repo_cash_flow_event.py +16 -7
- lusid/models/flexible_repo_collateral_event.py +17 -8
- lusid/models/flexible_repo_full_closure_event.py +15 -6
- lusid/models/flexible_repo_interest_payment_event.py +16 -7
- lusid/models/flexible_repo_partial_closure_event.py +17 -8
- lusid/models/float_schedule.py +24 -15
- lusid/models/floating_leg.py +20 -11
- lusid/models/flow_convention_name.py +6 -2
- lusid/models/flow_conventions.py +12 -8
- lusid/models/forward_rate_agreement.py +20 -11
- lusid/models/from_recipe.py +6 -2
- lusid/models/fund.py +18 -14
- lusid/models/fund_amount.py +7 -3
- lusid/models/fund_calendar_entry.py +19 -10
- lusid/models/fund_calendar_entry_type.py +4 -2
- lusid/models/fund_configuration.py +13 -9
- lusid/models/fund_configuration_properties.py +8 -4
- lusid/models/fund_configuration_request.py +11 -7
- lusid/models/fund_definition_request.py +15 -11
- lusid/models/fund_details.py +6 -2
- lusid/models/fund_id_list.py +14 -5
- lusid/models/fund_journal_entry_line.py +19 -15
- lusid/models/fund_pnl_breakdown.py +9 -5
- lusid/models/fund_previous_nav.py +7 -3
- lusid/models/fund_properties.py +8 -4
- lusid/models/fund_request.py +14 -10
- lusid/models/fund_share_class.py +16 -7
- lusid/models/fund_valuation_point_data.py +14 -10
- lusid/models/fund_valuation_request.py +17 -13
- lusid/models/fund_valuation_schedule.py +8 -4
- lusid/models/funding_leg.py +18 -9
- lusid/models/funding_leg_options.py +13 -4
- lusid/models/future.py +22 -13
- lusid/models/future_expiry_event.py +15 -6
- lusid/models/future_mark_to_market_event.py +15 -6
- lusid/models/futures_contract_details.py +10 -6
- lusid/models/fx_conventions.py +6 -2
- lusid/models/fx_dependency.py +14 -5
- lusid/models/fx_forward.py +22 -13
- lusid/models/fx_forward_curve_by_quote_reference.py +17 -8
- lusid/models/fx_forward_curve_data.py +17 -8
- lusid/models/fx_forward_model_options.py +28 -9
- lusid/models/fx_forward_pips_curve_data.py +17 -8
- lusid/models/fx_forward_settlement_event.py +22 -13
- lusid/models/fx_forward_tenor_curve_data.py +18 -9
- lusid/models/fx_forward_tenor_pips_curve_data.py +18 -9
- lusid/models/fx_forwards_dependency.py +14 -5
- lusid/models/fx_linked_notional_schedule.py +16 -7
- lusid/models/fx_option.py +25 -16
- lusid/models/fx_rate_schedule.py +16 -7
- lusid/models/fx_swap.py +16 -7
- lusid/models/fx_tenor_convention.py +7 -3
- lusid/models/fx_vol_dependency.py +14 -5
- lusid/models/fx_vol_surface_data.py +16 -7
- lusid/models/general_ledger_profile_mapping.py +7 -3
- lusid/models/general_ledger_profile_request.py +7 -3
- lusid/models/general_ledger_profile_response.py +9 -5
- lusid/models/generated_event_diagnostics.py +7 -3
- lusid/models/get_cds_flow_conventions_response.py +8 -4
- lusid/models/get_complex_market_data_response.py +9 -5
- lusid/models/get_counterparty_agreement_response.py +8 -4
- lusid/models/get_credit_support_annex_response.py +8 -4
- lusid/models/get_data_map_response.py +9 -5
- lusid/models/get_flow_conventions_response.py +8 -4
- lusid/models/get_index_convention_response.py +8 -4
- lusid/models/get_instruments_response.py +9 -5
- lusid/models/get_quotes_response.py +10 -6
- lusid/models/get_recipe_composer_response.py +7 -3
- lusid/models/get_recipe_response.py +7 -3
- lusid/models/get_reference_portfolio_constituents_response.py +24 -10
- lusid/models/get_structured_result_data_response.py +9 -5
- lusid/models/get_virtual_document_response.py +9 -5
- lusid/models/group_by_selector_compliance_parameter.py +13 -4
- lusid/models/group_by_step.py +14 -5
- lusid/models/group_by_step_request.py +13 -4
- lusid/models/group_calculation_compliance_parameter.py +13 -4
- lusid/models/group_filter_predicate_compliance_parameter.py +13 -4
- lusid/models/group_filter_step.py +14 -5
- lusid/models/group_filter_step_request.py +13 -4
- lusid/models/group_of_market_data_key_rules.py +7 -3
- lusid/models/group_reconciliation_aggregate_attribute_rule.py +8 -4
- lusid/models/group_reconciliation_aggregate_attribute_values.py +8 -4
- lusid/models/group_reconciliation_aggregate_comparison_rule_operand.py +6 -2
- lusid/models/group_reconciliation_comparison_result.py +15 -11
- lusid/models/group_reconciliation_comparison_rule_string_value_map.py +6 -2
- lusid/models/group_reconciliation_comparison_rule_tolerance.py +7 -3
- lusid/models/group_reconciliation_comparison_ruleset.py +10 -6
- lusid/models/group_reconciliation_core_attribute_rule.py +10 -6
- lusid/models/group_reconciliation_core_attribute_values.py +8 -4
- lusid/models/group_reconciliation_core_comparison_rule_operand.py +6 -2
- lusid/models/group_reconciliation_date_pair.py +8 -4
- lusid/models/group_reconciliation_dates.py +6 -2
- lusid/models/group_reconciliation_definition.py +12 -8
- lusid/models/group_reconciliation_definition_comparison_ruleset_ids.py +9 -5
- lusid/models/group_reconciliation_definition_currencies.py +6 -2
- lusid/models/group_reconciliation_definition_portfolio_entity_ids.py +8 -4
- lusid/models/group_reconciliation_definition_recipe_ids.py +8 -4
- lusid/models/group_reconciliation_instance_id.py +6 -2
- lusid/models/group_reconciliation_result_statuses.py +12 -8
- lusid/models/group_reconciliation_result_types.py +14 -10
- lusid/models/group_reconciliation_review_statuses.py +14 -10
- lusid/models/group_reconciliation_run_details.py +6 -2
- lusid/models/group_reconciliation_run_request.py +7 -3
- lusid/models/group_reconciliation_run_response.py +7 -3
- lusid/models/group_reconciliation_summary.py +16 -12
- lusid/models/group_reconciliation_user_review.py +9 -5
- lusid/models/group_reconciliation_user_review_add.py +6 -2
- lusid/models/group_reconciliation_user_review_break_code.py +8 -4
- lusid/models/group_reconciliation_user_review_comment.py +8 -4
- lusid/models/group_reconciliation_user_review_match_key.py +8 -4
- lusid/models/group_reconciliation_user_review_remove.py +9 -5
- lusid/models/grouped_result_of_address_key.py +8 -4
- lusid/models/holding_adjustment.py +11 -7
- lusid/models/holding_adjustment_with_date.py +12 -8
- lusid/models/holding_context.py +7 -3
- lusid/models/holding_contributor.py +9 -5
- lusid/models/holding_ids_request.py +7 -3
- lusid/models/holding_pricing_info.py +8 -4
- lusid/models/holdings_adjustment.py +17 -8
- lusid/models/holdings_adjustment_header.py +16 -7
- lusid/models/i_unit_definition_dto.py +13 -4
- lusid/models/id_selector_definition.py +8 -4
- lusid/models/identifier_definition.py +21 -7
- lusid/models/identifier_part_schema.py +9 -5
- lusid/models/index_convention.py +7 -3
- lusid/models/index_model_options.py +20 -6
- lusid/models/index_projection_dependency.py +14 -5
- lusid/models/industry_classifier.py +6 -2
- lusid/models/inflation_fixing_dependency.py +14 -5
- lusid/models/inflation_index_conventions.py +7 -3
- lusid/models/inflation_leg.py +22 -13
- lusid/models/inflation_linked_bond.py +29 -20
- lusid/models/inflation_swap.py +19 -10
- lusid/models/informational_error_event.py +14 -5
- lusid/models/informational_event.py +15 -6
- lusid/models/inline_valuation_request.py +18 -14
- lusid/models/inline_valuations_reconciliation_request.py +10 -6
- lusid/models/input_transition.py +8 -4
- lusid/models/instrument.py +30 -16
- lusid/models/instrument_capabilities.py +10 -6
- lusid/models/instrument_cash_flow.py +11 -7
- lusid/models/instrument_definition.py +10 -6
- lusid/models/instrument_definition_format.py +6 -2
- lusid/models/instrument_delete_modes.py +4 -2
- lusid/models/instrument_entity.py +13 -9
- lusid/models/instrument_event.py +13 -4
- lusid/models/instrument_event_configuration.py +8 -4
- lusid/models/instrument_event_holder.py +13 -9
- lusid/models/instrument_event_instruction.py +11 -7
- lusid/models/instrument_event_instruction_request.py +9 -5
- lusid/models/instrument_event_instructions_response.py +8 -4
- lusid/models/instrument_event_type.py +4 -2
- lusid/models/instrument_id_type_descriptor.py +7 -3
- lusid/models/instrument_id_value.py +7 -3
- lusid/models/instrument_leg.py +13 -4
- lusid/models/instrument_list.py +14 -5
- lusid/models/instrument_list_compliance_parameter.py +14 -5
- lusid/models/instrument_match.py +8 -4
- lusid/models/instrument_models.py +8 -4
- lusid/models/instrument_payment_diary.py +8 -4
- lusid/models/instrument_payment_diary_leg.py +8 -4
- lusid/models/instrument_payment_diary_row.py +18 -14
- lusid/models/instrument_properties.py +8 -4
- lusid/models/instrument_resolution_detail.py +9 -5
- lusid/models/instrument_search_property.py +6 -2
- lusid/models/instrument_type.py +4 -2
- lusid/models/interest_rate_swap.py +19 -10
- lusid/models/interest_rate_swaption.py +17 -8
- lusid/models/intermediate_compliance_step.py +14 -5
- lusid/models/intermediate_compliance_step_request.py +13 -4
- lusid/models/intermediate_securities_distribution_event.py +21 -12
- lusid/models/investment_account.py +12 -8
- lusid/models/investment_portfolio.py +7 -3
- lusid/models/investment_portfolio_identifier.py +7 -3
- lusid/models/investor.py +8 -4
- lusid/models/investor_identifier.py +7 -3
- lusid/models/investor_record.py +10 -6
- lusid/models/ir_vol_cube_data.py +16 -7
- lusid/models/ir_vol_dependency.py +14 -5
- lusid/models/is_business_day_response.py +8 -4
- lusid/models/item_and_workspace.py +7 -3
- lusid/models/journal_entry_line.py +18 -14
- lusid/models/journal_entry_line_share_class_breakdown.py +9 -5
- lusid/models/journal_entry_lines_query_parameters.py +7 -3
- lusid/models/label_value_set.py +7 -3
- lusid/models/lapse_election.py +8 -4
- lusid/models/leg_definition.py +14 -10
- lusid/models/legal_entity.py +11 -7
- lusid/models/level_step.py +8 -4
- lusid/models/life_cycle_event_lineage.py +6 -2
- lusid/models/life_cycle_event_value.py +16 -7
- lusid/models/lineage_member.py +7 -3
- lusid/models/link.py +6 -2
- lusid/models/list_aggregation_reconciliation.py +8 -4
- lusid/models/list_aggregation_response.py +13 -9
- lusid/models/list_complex_market_data_with_meta_data_response.py +8 -4
- lusid/models/loan_facility.py +18 -9
- lusid/models/loan_facility_contract_rollover_event.py +16 -7
- lusid/models/loan_interest_repayment_event.py +17 -8
- lusid/models/loan_period.py +9 -5
- lusid/models/loan_principal_repayment_event.py +18 -9
- lusid/models/lock_period_diary_entry_request.py +7 -3
- lusid/models/lusid_entity_dataset.py +9 -5
- lusid/models/lusid_entity_result.py +8 -4
- lusid/models/lusid_instrument.py +13 -4
- lusid/models/lusid_problem_details.py +8 -4
- lusid/models/lusid_trade_ticket.py +20 -11
- lusid/models/lusid_unique_id.py +6 -2
- lusid/models/lusid_validation_problem_details.py +9 -5
- lusid/models/mapped_string.py +7 -3
- lusid/models/mapping.py +7 -3
- lusid/models/mapping_rule.py +10 -6
- lusid/models/mark_to_market_conventions.py +6 -2
- lusid/models/market_context.py +9 -5
- lusid/models/market_context_suppliers.py +6 -2
- lusid/models/market_data_key_rule.py +19 -10
- lusid/models/market_data_options.py +13 -4
- lusid/models/market_data_options_type.py +4 -2
- lusid/models/market_data_overrides.py +8 -4
- lusid/models/market_data_specific_rule.py +18 -9
- lusid/models/market_data_type.py +4 -2
- lusid/models/market_observable_type.py +4 -2
- lusid/models/market_options.py +7 -3
- lusid/models/market_quote.py +14 -5
- lusid/models/mastered_instrument.py +14 -5
- lusid/models/match_criterion.py +13 -4
- lusid/models/maturity_event.py +14 -5
- lusid/models/mbs_coupon_event.py +16 -7
- lusid/models/mbs_interest_deferral_event.py +16 -7
- lusid/models/mbs_interest_shortfall_event.py +16 -7
- lusid/models/mbs_principal_event.py +16 -7
- lusid/models/mbs_principal_write_off_event.py +16 -7
- lusid/models/membership.py +6 -2
- lusid/models/membership_amendment_request.py +7 -3
- lusid/models/membership_amendment_response.py +9 -5
- lusid/models/membership_and_status.py +6 -2
- lusid/models/merger_event.py +22 -13
- lusid/models/metric_value.py +7 -3
- lusid/models/model_options.py +13 -4
- lusid/models/model_options_type.py +4 -2
- lusid/models/model_property.py +9 -5
- lusid/models/model_schema.py +7 -3
- lusid/models/model_selection.py +20 -6
- lusid/models/move_orders_to_different_blocks_request.py +7 -3
- lusid/models/moved_order_to_different_block_response.py +8 -4
- lusid/models/movement_settlement_summary.py +9 -5
- lusid/models/movement_type.py +4 -2
- lusid/models/multi_currency_amounts.py +8 -4
- lusid/models/nav_type_definition.py +12 -8
- lusid/models/new_instrument.py +7 -3
- lusid/models/next_value_in_sequence_response.py +8 -4
- lusid/models/numeric_comparison_type.py +4 -2
- lusid/models/opaque_dependency.py +13 -4
- lusid/models/opaque_market_data.py +13 -4
- lusid/models/opaque_model_options.py +14 -5
- lusid/models/open_event.py +14 -5
- lusid/models/operand_type.py +4 -2
- lusid/models/operation.py +6 -2
- lusid/models/operation_type.py +4 -2
- lusid/models/operator.py +4 -2
- lusid/models/option_entry.py +9 -5
- lusid/models/option_exercise_cash_event.py +21 -12
- lusid/models/option_exercise_election.py +8 -4
- lusid/models/option_exercise_physical_event.py +22 -13
- lusid/models/optionality_schedule.py +14 -5
- lusid/models/order.py +20 -16
- lusid/models/order_breach_history.py +11 -7
- lusid/models/order_by_spec.py +13 -4
- lusid/models/order_flow_configuration.py +6 -2
- lusid/models/order_graph_block.py +12 -8
- lusid/models/order_graph_block_allocation_detail.py +7 -3
- lusid/models/order_graph_block_allocation_synopsis.py +8 -4
- lusid/models/order_graph_block_execution_detail.py +7 -3
- lusid/models/order_graph_block_execution_synopsis.py +8 -4
- lusid/models/order_graph_block_order_detail.py +10 -6
- lusid/models/order_graph_block_order_synopsis.py +9 -5
- lusid/models/order_graph_block_placement_detail.py +7 -3
- lusid/models/order_graph_block_placement_synopsis.py +9 -5
- lusid/models/order_graph_block_transaction_detail.py +6 -2
- lusid/models/order_graph_block_transaction_synopsis.py +8 -4
- lusid/models/order_graph_placement.py +13 -9
- lusid/models/order_graph_placement_allocation_detail.py +7 -3
- lusid/models/order_graph_placement_allocation_synopsis.py +8 -4
- lusid/models/order_graph_placement_child_placement_detail.py +7 -3
- lusid/models/order_graph_placement_execution_detail.py +7 -3
- lusid/models/order_graph_placement_execution_synopsis.py +8 -4
- lusid/models/order_graph_placement_order_detail.py +7 -3
- lusid/models/order_graph_placement_order_synopsis.py +7 -3
- lusid/models/order_graph_placement_placement_synopsis.py +8 -4
- lusid/models/order_instruction.py +15 -11
- lusid/models/order_instruction_request.py +13 -9
- lusid/models/order_instruction_set_request.py +7 -3
- lusid/models/order_request.py +17 -13
- lusid/models/order_rule_breach.py +6 -2
- lusid/models/order_set_request.py +7 -3
- lusid/models/order_update_request.py +13 -9
- lusid/models/otc_confirmation.py +7 -3
- lusid/models/output_transaction.py +38 -29
- lusid/models/output_transition.py +9 -5
- lusid/models/package.py +12 -8
- lusid/models/package_request.py +10 -6
- lusid/models/package_set_request.py +7 -3
- lusid/models/paged_resource_list_of_abor.py +8 -4
- lusid/models/paged_resource_list_of_abor_configuration.py +8 -4
- lusid/models/paged_resource_list_of_account.py +8 -4
- lusid/models/paged_resource_list_of_address_key_definition.py +8 -4
- lusid/models/paged_resource_list_of_allocation.py +8 -4
- lusid/models/paged_resource_list_of_amortisation_rule_set.py +8 -4
- lusid/models/paged_resource_list_of_block.py +8 -4
- lusid/models/paged_resource_list_of_calendar.py +8 -4
- lusid/models/paged_resource_list_of_chart_of_accounts.py +8 -4
- lusid/models/paged_resource_list_of_check_definition.py +8 -4
- lusid/models/paged_resource_list_of_cleardown_module_response.py +8 -4
- lusid/models/paged_resource_list_of_cleardown_module_rule.py +8 -4
- lusid/models/paged_resource_list_of_closed_period.py +8 -4
- lusid/models/paged_resource_list_of_compliance_rule_response.py +8 -4
- lusid/models/paged_resource_list_of_compliance_run_info_v2.py +8 -4
- lusid/models/paged_resource_list_of_compliance_template.py +8 -4
- lusid/models/paged_resource_list_of_corporate_action_source.py +8 -4
- lusid/models/paged_resource_list_of_custodian_account.py +8 -4
- lusid/models/paged_resource_list_of_custom_entity_definition.py +8 -4
- lusid/models/paged_resource_list_of_custom_entity_response.py +8 -4
- lusid/models/paged_resource_list_of_custom_entity_type.py +8 -4
- lusid/models/paged_resource_list_of_cut_label_definition.py +8 -4
- lusid/models/paged_resource_list_of_data_type_summary.py +8 -4
- lusid/models/paged_resource_list_of_dialect_id.py +8 -4
- lusid/models/paged_resource_list_of_diary_entry.py +8 -4
- lusid/models/paged_resource_list_of_execution.py +8 -4
- lusid/models/paged_resource_list_of_fee.py +8 -4
- lusid/models/paged_resource_list_of_fee_type.py +8 -4
- lusid/models/paged_resource_list_of_fund.py +8 -4
- lusid/models/paged_resource_list_of_fund_calendar_entry.py +8 -4
- lusid/models/paged_resource_list_of_fund_configuration.py +8 -4
- lusid/models/paged_resource_list_of_general_ledger_profile_response.py +8 -4
- lusid/models/paged_resource_list_of_group_reconciliation_comparison_result.py +8 -4
- lusid/models/paged_resource_list_of_group_reconciliation_comparison_ruleset.py +8 -4
- lusid/models/paged_resource_list_of_group_reconciliation_definition.py +8 -4
- lusid/models/paged_resource_list_of_identifier_definition.py +8 -4
- lusid/models/paged_resource_list_of_instrument.py +8 -4
- lusid/models/paged_resource_list_of_instrument_event_holder.py +8 -4
- lusid/models/paged_resource_list_of_instrument_event_instruction.py +8 -4
- lusid/models/paged_resource_list_of_item_and_workspace.py +8 -4
- lusid/models/paged_resource_list_of_legal_entity.py +8 -4
- lusid/models/paged_resource_list_of_order.py +8 -4
- lusid/models/paged_resource_list_of_order_breach_history.py +8 -4
- lusid/models/paged_resource_list_of_order_graph_block.py +8 -4
- lusid/models/paged_resource_list_of_order_graph_placement.py +8 -4
- lusid/models/paged_resource_list_of_order_instruction.py +8 -4
- lusid/models/paged_resource_list_of_package.py +8 -4
- lusid/models/paged_resource_list_of_participation.py +8 -4
- lusid/models/paged_resource_list_of_person.py +8 -4
- lusid/models/paged_resource_list_of_placement.py +8 -4
- lusid/models/paged_resource_list_of_portfolio_group.py +8 -4
- lusid/models/paged_resource_list_of_portfolio_group_search_result.py +8 -4
- lusid/models/paged_resource_list_of_portfolio_search_result.py +8 -4
- lusid/models/paged_resource_list_of_posting_module_response.py +8 -4
- lusid/models/paged_resource_list_of_posting_module_rule.py +8 -4
- lusid/models/paged_resource_list_of_property_definition.py +8 -4
- lusid/models/paged_resource_list_of_property_definition_search_result.py +8 -4
- lusid/models/paged_resource_list_of_reconciliation.py +8 -4
- lusid/models/paged_resource_list_of_reference_list_response.py +8 -4
- lusid/models/paged_resource_list_of_relational_data_point_response.py +8 -4
- lusid/models/paged_resource_list_of_relational_dataset_definition.py +8 -4
- lusid/models/paged_resource_list_of_relationship_definition.py +8 -4
- lusid/models/paged_resource_list_of_sequence_definition.py +8 -4
- lusid/models/paged_resource_list_of_staged_modification.py +8 -4
- lusid/models/paged_resource_list_of_staged_modifications_requested_change_interval.py +8 -4
- lusid/models/paged_resource_list_of_staging_rule_set.py +8 -4
- lusid/models/paged_resource_list_of_timeline.py +8 -4
- lusid/models/paged_resource_list_of_transaction_template.py +8 -4
- lusid/models/paged_resource_list_of_transaction_template_specification.py +8 -4
- lusid/models/paged_resource_list_of_translation_script_id.py +8 -4
- lusid/models/paged_resource_list_of_valuation_point_overview.py +8 -4
- lusid/models/paged_resource_list_of_virtual_row.py +8 -4
- lusid/models/paged_resource_list_of_workspace.py +8 -4
- lusid/models/paged_resource_list_of_workspace_item.py +8 -4
- lusid/models/partial_closure_constituent.py +8 -4
- lusid/models/participation.py +11 -7
- lusid/models/participation_request.py +9 -5
- lusid/models/participation_set_request.py +7 -3
- lusid/models/percent_check_step.py +15 -6
- lusid/models/percent_check_step_request.py +13 -4
- lusid/models/performance_return.py +10 -6
- lusid/models/performance_returns_metric.py +9 -5
- lusid/models/period_diary_entries_reopened_response.py +12 -8
- lusid/models/period_type.py +4 -2
- lusid/models/perpetual_entity_state.py +4 -2
- lusid/models/perpetual_property.py +7 -3
- lusid/models/person.py +10 -6
- lusid/models/place_blocks_request.py +7 -3
- lusid/models/placement.py +17 -13
- lusid/models/placement_request.py +15 -11
- lusid/models/placement_set_request.py +7 -3
- lusid/models/placement_update_request.py +9 -5
- lusid/models/pnl_journal_entry_line.py +8 -4
- lusid/models/portfolio.py +32 -18
- lusid/models/portfolio_cash_flow.py +19 -15
- lusid/models/portfolio_cash_ladder.py +10 -6
- lusid/models/portfolio_details.py +23 -14
- lusid/models/portfolio_entity.py +13 -9
- lusid/models/portfolio_entity_id.py +6 -2
- lusid/models/portfolio_entity_id_with_details.py +6 -2
- lusid/models/portfolio_group.py +12 -8
- lusid/models/portfolio_group_id_compliance_parameter.py +14 -5
- lusid/models/portfolio_group_id_list.py +14 -5
- lusid/models/portfolio_group_id_list_compliance_parameter.py +14 -5
- lusid/models/portfolio_group_properties.py +8 -4
- lusid/models/portfolio_group_search_result.py +11 -7
- lusid/models/portfolio_holding.py +23 -19
- lusid/models/portfolio_id.py +6 -2
- lusid/models/portfolio_id_compliance_parameter.py +14 -5
- lusid/models/portfolio_id_list.py +14 -5
- lusid/models/portfolio_id_list_compliance_parameter.py +14 -5
- lusid/models/portfolio_properties.py +9 -5
- lusid/models/portfolio_reconciliation_request.py +8 -4
- lusid/models/portfolio_result_data_key_rule.py +14 -5
- lusid/models/portfolio_return_breakdown.py +18 -14
- lusid/models/portfolio_search_result.py +19 -10
- lusid/models/portfolio_settlement_configuration.py +10 -6
- lusid/models/portfolio_trade_ticket.py +8 -4
- lusid/models/portfolio_type.py +4 -2
- lusid/models/portfolio_without_href.py +32 -18
- lusid/models/portfolios_reconciliation_request.py +9 -5
- lusid/models/post_close_activities_request.py +7 -3
- lusid/models/post_close_activity.py +7 -3
- lusid/models/posting_module_details.py +6 -2
- lusid/models/posting_module_request.py +7 -3
- lusid/models/posting_module_response.py +9 -5
- lusid/models/posting_module_rule.py +6 -2
- lusid/models/posting_module_rules_updated_response.py +8 -4
- lusid/models/pre_trade_configuration.py +6 -2
- lusid/models/premium.py +8 -4
- lusid/models/previous_fund_calendar_entry.py +8 -4
- lusid/models/previous_fund_valuation_point_data.py +7 -3
- lusid/models/previous_nav.py +6 -2
- lusid/models/previous_share_class_breakdown.py +8 -4
- lusid/models/pricing_context.py +10 -6
- lusid/models/pricing_model.py +4 -2
- lusid/models/pricing_options.py +21 -17
- lusid/models/primary_schedule.py +7 -3
- lusid/models/processed_command.py +8 -4
- lusid/models/property_definition.py +55 -21
- lusid/models/property_definition_entity.py +13 -9
- lusid/models/property_definition_search_result.py +52 -18
- lusid/models/property_definition_type.py +4 -2
- lusid/models/property_domain.py +4 -2
- lusid/models/property_filter.py +20 -6
- lusid/models/property_interval.py +9 -5
- lusid/models/property_key_compliance_parameter.py +13 -4
- lusid/models/property_key_list_compliance_parameter.py +14 -5
- lusid/models/property_life_time.py +4 -2
- lusid/models/property_list.py +14 -5
- lusid/models/property_list_compliance_parameter.py +14 -5
- lusid/models/property_reference_data_value.py +7 -3
- lusid/models/property_schema.py +7 -3
- lusid/models/property_type.py +4 -2
- lusid/models/property_value.py +8 -4
- lusid/models/property_value_equals.py +13 -4
- lusid/models/property_value_in.py +14 -5
- lusid/models/protection_payout_cash_flow_event.py +16 -7
- lusid/models/quantity_instructed.py +7 -3
- lusid/models/query_applicable_instrument_events_request.py +11 -7
- lusid/models/query_bucketed_cash_flows_request.py +19 -15
- lusid/models/query_cash_flows_request.py +12 -8
- lusid/models/query_instrument_events_request.py +12 -8
- lusid/models/query_relational_dataset_request.py +7 -3
- lusid/models/query_trade_tickets_request.py +12 -8
- lusid/models/queryable_key.py +10 -6
- lusid/models/quote.py +10 -6
- lusid/models/quote_access_metadata_rule.py +8 -4
- lusid/models/quote_access_metadata_rule_id.py +10 -6
- lusid/models/quote_dependency.py +14 -5
- lusid/models/quote_id.py +7 -3
- lusid/models/quote_instrument_id_type.py +4 -2
- lusid/models/quote_series_id.py +22 -8
- lusid/models/quote_type.py +4 -2
- lusid/models/raw_vendor_event.py +15 -6
- lusid/models/re_open_period_diary_entry_request.py +6 -2
- lusid/models/realised_gain_loss.py +17 -13
- lusid/models/recipe_block.py +6 -2
- lusid/models/recipe_composer.py +7 -3
- lusid/models/recipe_value.py +7 -3
- lusid/models/recombine_step.py +14 -5
- lusid/models/recommended_sort_by.py +6 -2
- lusid/models/reconcile_date_time_rule.py +22 -8
- lusid/models/reconcile_numeric_rule.py +22 -8
- lusid/models/reconcile_string_rule.py +22 -8
- lusid/models/reconciled_transaction.py +8 -4
- lusid/models/reconciliation.py +9 -5
- lusid/models/reconciliation_break.py +14 -10
- lusid/models/reconciliation_configuration.py +7 -3
- lusid/models/reconciliation_id.py +6 -2
- lusid/models/reconciliation_left_right_address_key_pair.py +6 -2
- lusid/models/reconciliation_line.py +10 -6
- lusid/models/reconciliation_request.py +11 -7
- lusid/models/reconciliation_response.py +8 -4
- lusid/models/reconciliation_rule.py +13 -4
- lusid/models/reconciliation_rule_type.py +4 -2
- lusid/models/reconciliation_side_configuration.py +9 -5
- lusid/models/reconciliation_transactions.py +8 -4
- lusid/models/reference_data.py +8 -4
- lusid/models/reference_instrument.py +13 -4
- lusid/models/reference_list.py +13 -4
- lusid/models/reference_list_request.py +9 -5
- lusid/models/reference_list_response.py +11 -7
- lusid/models/reference_list_type.py +4 -2
- lusid/models/reference_portfolio_constituent.py +10 -6
- lusid/models/reference_portfolio_constituent_request.py +8 -4
- lusid/models/reference_portfolio_weight_type.py +4 -2
- lusid/models/related_entity.py +10 -6
- lusid/models/relation.py +9 -5
- lusid/models/relation_definition.py +8 -4
- lusid/models/relational_data_point_field_value_response.py +7 -3
- lusid/models/relational_data_point_response.py +11 -7
- lusid/models/relational_data_series_response.py +8 -4
- lusid/models/relational_dataset_definition.py +10 -6
- lusid/models/relational_dataset_field_definition.py +8 -4
- lusid/models/relationship.py +10 -6
- lusid/models/relationship_definition.py +8 -4
- lusid/models/relative_date_offset.py +7 -3
- lusid/models/repo.py +23 -14
- lusid/models/repo_cash_flow_event.py +16 -7
- lusid/models/repo_partial_closure_event.py +17 -8
- lusid/models/repurchase_offer_event.py +21 -12
- lusid/models/requested_changes.py +8 -4
- lusid/models/reset_event.py +15 -6
- lusid/models/resource_id.py +6 -2
- lusid/models/resource_list_of_access_controlled_resource.py +8 -4
- lusid/models/resource_list_of_access_metadata_value_of.py +8 -4
- lusid/models/resource_list_of_address_key_definition.py +8 -4
- lusid/models/resource_list_of_aggregated_return.py +8 -4
- lusid/models/resource_list_of_aggregation_query.py +8 -4
- lusid/models/resource_list_of_allocation.py +8 -4
- lusid/models/resource_list_of_applicable_instrument_event.py +8 -4
- lusid/models/resource_list_of_block.py +8 -4
- lusid/models/resource_list_of_block_and_orders.py +8 -4
- lusid/models/resource_list_of_calendar_date.py +8 -4
- lusid/models/resource_list_of_change.py +8 -4
- lusid/models/resource_list_of_change_history.py +8 -4
- lusid/models/resource_list_of_change_interval.py +8 -4
- lusid/models/resource_list_of_change_interval_with_order_management_detail.py +8 -4
- lusid/models/resource_list_of_compliance_breached_order_info.py +8 -4
- lusid/models/resource_list_of_compliance_rule.py +8 -4
- lusid/models/resource_list_of_compliance_rule_result.py +8 -4
- lusid/models/resource_list_of_compliance_run_info.py +8 -4
- lusid/models/resource_list_of_constituents_adjustment_header.py +8 -4
- lusid/models/resource_list_of_corporate_action.py +8 -4
- lusid/models/resource_list_of_data_model_summary.py +8 -4
- lusid/models/resource_list_of_data_type.py +8 -4
- lusid/models/resource_list_of_execution.py +8 -4
- lusid/models/resource_list_of_fee_rule.py +8 -4
- lusid/models/resource_list_of_get_cds_flow_conventions_response.py +8 -4
- lusid/models/resource_list_of_get_counterparty_agreement_response.py +8 -4
- lusid/models/resource_list_of_get_credit_support_annex_response.py +8 -4
- lusid/models/resource_list_of_get_flow_conventions_response.py +8 -4
- lusid/models/resource_list_of_get_index_convention_response.py +8 -4
- lusid/models/resource_list_of_get_recipe_composer_response.py +8 -4
- lusid/models/resource_list_of_get_recipe_response.py +8 -4
- lusid/models/resource_list_of_holdings_adjustment_header.py +8 -4
- lusid/models/resource_list_of_i_unit_definition_dto.py +8 -4
- lusid/models/resource_list_of_instrument_cash_flow.py +8 -4
- lusid/models/resource_list_of_instrument_event_holder.py +8 -4
- lusid/models/resource_list_of_instrument_id_type_descriptor.py +8 -4
- lusid/models/resource_list_of_investment_account.py +8 -4
- lusid/models/resource_list_of_investor_record.py +8 -4
- lusid/models/resource_list_of_legal_entity.py +8 -4
- lusid/models/resource_list_of_list_complex_market_data_with_meta_data_response.py +8 -4
- lusid/models/resource_list_of_mapping.py +8 -4
- lusid/models/resource_list_of_moved_order_to_different_block_response.py +8 -4
- lusid/models/resource_list_of_order.py +8 -4
- lusid/models/resource_list_of_order_instruction.py +8 -4
- lusid/models/resource_list_of_output_transaction.py +8 -4
- lusid/models/resource_list_of_package.py +8 -4
- lusid/models/resource_list_of_participation.py +8 -4
- lusid/models/resource_list_of_performance_return.py +8 -4
- lusid/models/resource_list_of_person.py +8 -4
- lusid/models/resource_list_of_placement.py +8 -4
- lusid/models/resource_list_of_portfolio.py +8 -4
- lusid/models/resource_list_of_portfolio_cash_flow.py +8 -4
- lusid/models/resource_list_of_portfolio_cash_ladder.py +8 -4
- lusid/models/resource_list_of_portfolio_trade_ticket.py +8 -4
- lusid/models/resource_list_of_processed_command.py +8 -4
- lusid/models/resource_list_of_property.py +8 -4
- lusid/models/resource_list_of_property_definition.py +8 -4
- lusid/models/resource_list_of_property_interval.py +8 -4
- lusid/models/resource_list_of_queryable_key.py +8 -4
- lusid/models/resource_list_of_quote.py +8 -4
- lusid/models/resource_list_of_quote_access_metadata_rule.py +8 -4
- lusid/models/resource_list_of_reconciliation_break.py +8 -4
- lusid/models/resource_list_of_relation.py +8 -4
- lusid/models/resource_list_of_relationship.py +8 -4
- lusid/models/resource_list_of_returns_entity.py +8 -4
- lusid/models/resource_list_of_scope_definition.py +8 -4
- lusid/models/resource_list_of_side_definition.py +8 -4
- lusid/models/resource_list_of_string.py +8 -4
- lusid/models/resource_list_of_tax_rule_set.py +8 -4
- lusid/models/resource_list_of_transaction.py +8 -4
- lusid/models/resource_list_of_transaction_settlement_instruction.py +8 -4
- lusid/models/resource_list_of_transaction_type.py +8 -4
- lusid/models/resource_list_of_value_type.py +7 -3
- lusid/models/response_meta_data.py +7 -3
- lusid/models/result_data_key_rule.py +15 -6
- lusid/models/result_data_schema.py +9 -5
- lusid/models/result_key_rule.py +13 -4
- lusid/models/result_key_rule_type.py +4 -2
- lusid/models/result_value.py +13 -4
- lusid/models/result_value0_d.py +15 -6
- lusid/models/result_value_bool.py +14 -5
- lusid/models/result_value_currency.py +13 -4
- lusid/models/result_value_date_time_offset.py +15 -6
- lusid/models/result_value_decimal.py +15 -6
- lusid/models/result_value_dictionary.py +14 -5
- lusid/models/result_value_int.py +15 -6
- lusid/models/result_value_string.py +13 -4
- lusid/models/result_value_type.py +4 -2
- lusid/models/return_zero_pv_options.py +7 -3
- lusid/models/returns_entity.py +8 -4
- lusid/models/reverse_stock_split_event.py +19 -10
- lusid/models/rollover_constituent.py +8 -4
- lusid/models/rounding_configuration.py +7 -3
- lusid/models/rounding_configuration_component.py +6 -2
- lusid/models/rounding_convention.py +8 -4
- lusid/models/rules_interval.py +8 -4
- lusid/models/run_check_request.py +8 -4
- lusid/models/run_check_response.py +7 -3
- lusid/models/scaling_methodology.py +4 -2
- lusid/models/schedule.py +13 -4
- lusid/models/schedule_type.py +4 -2
- lusid/models/scope_definition.py +6 -2
- lusid/models/scrip_dividend_event.py +19 -10
- lusid/models/script_map_reference.py +6 -2
- lusid/models/security_election.py +10 -6
- lusid/models/security_offer_election.py +9 -5
- lusid/models/sequence_definition.py +14 -10
- lusid/models/set_amortisation_rules_request.py +7 -3
- lusid/models/set_legal_entity_identifiers_request.py +7 -3
- lusid/models/set_legal_entity_properties_request.py +7 -3
- lusid/models/set_person_identifiers_request.py +7 -3
- lusid/models/set_person_properties_request.py +7 -3
- lusid/models/set_share_class_instruments_request.py +8 -4
- lusid/models/set_transaction_configuration_alias.py +7 -3
- lusid/models/set_transaction_configuration_source_request.py +8 -4
- lusid/models/settlement_configuration_category.py +8 -4
- lusid/models/settlement_cycle.py +8 -4
- lusid/models/settlement_in_lieu.py +6 -2
- lusid/models/settlement_instruction_query.py +9 -5
- lusid/models/settlement_instruction_request.py +15 -11
- lusid/models/settlement_instruction_with_transaction.py +8 -4
- lusid/models/settlement_schedule.py +10 -6
- lusid/models/share_class_amount.py +8 -4
- lusid/models/share_class_breakdown.py +16 -12
- lusid/models/share_class_data.py +8 -4
- lusid/models/share_class_dealing_breakdown.py +8 -4
- lusid/models/share_class_details.py +7 -3
- lusid/models/share_class_pnl_breakdown.py +9 -5
- lusid/models/side_configuration_data.py +7 -3
- lusid/models/side_configuration_data_request.py +6 -2
- lusid/models/side_definition.py +7 -3
- lusid/models/side_definition_request.py +6 -2
- lusid/models/sides_definition_request.py +7 -3
- lusid/models/simple_cash_flow_loan.py +17 -8
- lusid/models/simple_instrument.py +24 -10
- lusid/models/simple_rounding_convention.py +7 -3
- lusid/models/single_valuation_point_query_parameters.py +7 -3
- lusid/models/sort_order.py +4 -2
- lusid/models/specific_holding_pricing_info.py +9 -5
- lusid/models/spin_off_event.py +21 -12
- lusid/models/staged_modification.py +14 -10
- lusid/models/staged_modification_decision.py +7 -3
- lusid/models/staged_modification_decision_request.py +6 -2
- lusid/models/staged_modification_effective_range.py +8 -4
- lusid/models/staged_modification_staging_rule.py +8 -4
- lusid/models/staged_modifications_entity_hrefs.py +7 -3
- lusid/models/staged_modifications_info.py +8 -4
- lusid/models/staged_modifications_requested_change_interval.py +10 -6
- lusid/models/staging_rule.py +8 -4
- lusid/models/staging_rule_approval_criteria.py +8 -4
- lusid/models/staging_rule_match_criteria.py +8 -4
- lusid/models/staging_rule_set.py +8 -4
- lusid/models/step_schedule.py +14 -5
- lusid/models/stock_dividend_event.py +19 -10
- lusid/models/stock_split_event.py +19 -10
- lusid/models/strategy.py +8 -4
- lusid/models/string_comparison_type.py +4 -2
- lusid/models/string_compliance_parameter.py +13 -4
- lusid/models/string_list.py +14 -5
- lusid/models/string_list_compliance_parameter.py +14 -5
- lusid/models/structured_result_data.py +7 -3
- lusid/models/structured_result_data_id.py +6 -2
- lusid/models/sub_holding_key_value_equals.py +13 -4
- lusid/models/swap_cash_flow_event.py +16 -7
- lusid/models/swap_principal_event.py +16 -7
- lusid/models/sweep_blocks_request.py +7 -3
- lusid/models/sweep_blocks_response.py +8 -4
- lusid/models/target_tax_lot.py +14 -10
- lusid/models/target_tax_lot_request.py +14 -10
- lusid/models/tax_rule.py +8 -4
- lusid/models/tax_rule_set.py +9 -5
- lusid/models/template_field.py +7 -3
- lusid/models/tender_event.py +22 -13
- lusid/models/tender_offer_election.py +9 -5
- lusid/models/term_deposit.py +20 -11
- lusid/models/term_deposit_interest_event.py +15 -6
- lusid/models/term_deposit_principal_event.py +15 -6
- lusid/models/time_zone_conventions.py +6 -2
- lusid/models/timeline.py +8 -4
- lusid/models/total_return_swap.py +19 -10
- lusid/models/touch.py +7 -3
- lusid/models/trade_ticket.py +13 -4
- lusid/models/trade_ticket_type.py +4 -2
- lusid/models/trading_conventions.py +9 -5
- lusid/models/transaction.py +30 -21
- lusid/models/transaction_configuration_data.py +9 -5
- lusid/models/transaction_configuration_data_request.py +9 -5
- lusid/models/transaction_configuration_movement_data.py +17 -8
- lusid/models/transaction_configuration_movement_data_request.py +17 -8
- lusid/models/transaction_configuration_type_alias.py +14 -5
- lusid/models/transaction_currency_and_amount.py +6 -2
- lusid/models/transaction_date_windows.py +6 -2
- lusid/models/transaction_diagnostics.py +7 -3
- lusid/models/transaction_field_map.py +8 -4
- lusid/models/transaction_matching_alternative_id.py +6 -2
- lusid/models/transaction_price.py +13 -4
- lusid/models/transaction_price_and_type.py +6 -2
- lusid/models/transaction_price_type.py +4 -2
- lusid/models/transaction_property_map.py +6 -2
- lusid/models/transaction_property_mapping.py +7 -3
- lusid/models/transaction_property_mapping_request.py +7 -3
- lusid/models/transaction_query_mode.py +4 -2
- lusid/models/transaction_query_parameters.py +15 -6
- lusid/models/transaction_reconciliation_request.py +13 -9
- lusid/models/transaction_reconciliation_request_v2.py +11 -7
- lusid/models/transaction_request.py +17 -13
- lusid/models/transaction_roles.py +4 -2
- lusid/models/transaction_set_configuration_data.py +9 -5
- lusid/models/transaction_set_configuration_data_request.py +8 -4
- lusid/models/transaction_settlement_bucket.py +13 -9
- lusid/models/transaction_settlement_instruction.py +15 -11
- lusid/models/transaction_settlement_movement.py +8 -4
- lusid/models/transaction_settlement_status.py +9 -5
- lusid/models/transaction_status.py +4 -2
- lusid/models/transaction_template.py +8 -4
- lusid/models/transaction_template_request.py +7 -3
- lusid/models/transaction_template_specification.py +11 -7
- lusid/models/transaction_type.py +11 -7
- lusid/models/transaction_type_alias.py +7 -3
- lusid/models/transaction_type_calculation.py +6 -2
- lusid/models/transaction_type_details.py +6 -2
- lusid/models/transaction_type_movement.py +10 -6
- lusid/models/transaction_type_property_mapping.py +7 -3
- lusid/models/transaction_type_request.py +10 -6
- lusid/models/transactions_reconciliations_response.py +7 -3
- lusid/models/transfer_agency_dates.py +10 -6
- lusid/models/transition_event.py +19 -10
- lusid/models/translate_entities_inlined_request.py +8 -4
- lusid/models/translate_entities_request.py +9 -5
- lusid/models/translate_entities_response.py +9 -5
- lusid/models/translate_instrument_definitions_request.py +7 -3
- lusid/models/translate_instrument_definitions_response.py +9 -5
- lusid/models/translate_trade_ticket_request.py +7 -3
- lusid/models/translate_trade_tickets_response.py +9 -5
- lusid/models/translation_context.py +8 -4
- lusid/models/translation_input.py +6 -2
- lusid/models/translation_result.py +7 -3
- lusid/models/translation_script.py +7 -3
- lusid/models/translation_script_id.py +6 -2
- lusid/models/trial_balance.py +13 -9
- lusid/models/trial_balance_query_parameters.py +8 -4
- lusid/models/trigger_event.py +16 -7
- lusid/models/typed_resource_id.py +6 -2
- lusid/models/unit_schema.py +4 -2
- lusid/models/unitisation_data.py +9 -5
- lusid/models/units_ratio.py +8 -4
- lusid/models/unmatched_holding_method.py +4 -2
- lusid/models/update_amortisation_rule_set_details_request.py +6 -2
- lusid/models/update_calendar_request.py +8 -4
- lusid/models/update_check_definition_request.py +9 -5
- lusid/models/update_compliance_template_request.py +7 -3
- lusid/models/update_custom_data_model_request.py +11 -7
- lusid/models/update_custom_entity_definition_request.py +7 -3
- lusid/models/update_custom_entity_type_request.py +7 -3
- lusid/models/update_cut_label_definition_request.py +7 -3
- lusid/models/update_data_type_request.py +8 -4
- lusid/models/update_deposit_amount_event.py +15 -6
- lusid/models/update_derived_property_definition_request.py +8 -4
- lusid/models/update_fee_type_request.py +7 -3
- lusid/models/update_group_reconciliation_comparison_ruleset_request.py +8 -4
- lusid/models/update_group_reconciliation_definition_request.py +12 -8
- lusid/models/update_identifier_definition_request.py +7 -3
- lusid/models/update_instrument_identifier_request.py +6 -2
- lusid/models/update_orders_response.py +10 -6
- lusid/models/update_placements_response.py +10 -6
- lusid/models/update_portfolio_group_request.py +6 -2
- lusid/models/update_portfolio_request.py +6 -2
- lusid/models/update_property_definition_request.py +7 -3
- lusid/models/update_reconciliation_request.py +8 -4
- lusid/models/update_reference_data_request.py +8 -4
- lusid/models/update_relational_dataset_definition_request.py +8 -4
- lusid/models/update_relationship_definition_request.py +6 -2
- lusid/models/update_staging_rule_set_request.py +7 -3
- lusid/models/update_tax_rule_set_request.py +7 -3
- lusid/models/update_timeline_request.py +7 -3
- lusid/models/update_unit_request.py +6 -2
- lusid/models/upsert_cds_flow_conventions_request.py +7 -3
- lusid/models/upsert_complex_market_data_request.py +8 -4
- lusid/models/upsert_compliance_rule_request.py +12 -8
- lusid/models/upsert_compliance_run_summary_request.py +10 -6
- lusid/models/upsert_compliance_run_summary_result.py +10 -6
- lusid/models/upsert_corporate_action_request.py +11 -7
- lusid/models/upsert_corporate_actions_response.py +9 -5
- lusid/models/upsert_counterparty_agreement_request.py +7 -3
- lusid/models/upsert_credit_support_annex_request.py +7 -3
- lusid/models/upsert_custom_entities_response.py +10 -6
- lusid/models/upsert_custom_entity_access_metadata_request.py +7 -3
- lusid/models/upsert_data_quality_rule.py +6 -2
- lusid/models/upsert_dialect_request.py +8 -4
- lusid/models/upsert_flow_conventions_request.py +7 -3
- lusid/models/upsert_fund_bookmark_request.py +9 -5
- lusid/models/upsert_index_convention_request.py +7 -3
- lusid/models/upsert_instrument_event_request.py +11 -7
- lusid/models/upsert_instrument_events_response.py +9 -5
- lusid/models/upsert_instrument_properties_response.py +8 -4
- lusid/models/upsert_instrument_property_request.py +7 -3
- lusid/models/upsert_instruments_response.py +11 -7
- lusid/models/upsert_investment_account_request.py +10 -6
- lusid/models/upsert_investment_accounts_response.py +9 -5
- lusid/models/upsert_investor_record_request.py +9 -5
- lusid/models/upsert_investor_records_response.py +9 -5
- lusid/models/upsert_legal_entities_response.py +9 -5
- lusid/models/upsert_legal_entity_access_metadata_request.py +7 -3
- lusid/models/upsert_legal_entity_request.py +9 -5
- lusid/models/upsert_person_access_metadata_request.py +7 -3
- lusid/models/upsert_person_request.py +8 -4
- lusid/models/upsert_persons_response.py +10 -6
- lusid/models/upsert_portfolio_access_metadata_request.py +7 -3
- lusid/models/upsert_portfolio_group_access_metadata_request.py +7 -3
- lusid/models/upsert_portfolio_transactions_response.py +9 -5
- lusid/models/upsert_quote_access_metadata_rule_request.py +8 -4
- lusid/models/upsert_quote_request.py +9 -5
- lusid/models/upsert_quotes_response.py +9 -5
- lusid/models/upsert_recipe_composer_request.py +7 -3
- lusid/models/upsert_recipe_request.py +7 -3
- lusid/models/upsert_reference_portfolio_constituent_properties_request.py +8 -4
- lusid/models/upsert_reference_portfolio_constituent_properties_response.py +8 -4
- lusid/models/upsert_reference_portfolio_constituents_request.py +22 -8
- lusid/models/upsert_reference_portfolio_constituents_response.py +7 -3
- lusid/models/upsert_relational_data_point_data_series.py +8 -4
- lusid/models/upsert_relational_data_point_request.py +9 -5
- lusid/models/upsert_result_values_data_request.py +9 -5
- lusid/models/upsert_returns_response.py +10 -6
- lusid/models/upsert_single_structured_data_response.py +8 -4
- lusid/models/upsert_structured_data_response.py +9 -5
- lusid/models/upsert_structured_result_data_request.py +7 -3
- lusid/models/upsert_transaction_properties_response.py +7 -3
- lusid/models/upsert_translation_script_request.py +7 -3
- lusid/models/upsert_valuation_point_request.py +10 -6
- lusid/models/user.py +6 -2
- lusid/models/valuation_point_data_query_parameters.py +7 -3
- lusid/models/valuation_point_data_request.py +6 -2
- lusid/models/valuation_point_data_response.py +10 -6
- lusid/models/valuation_point_overview.py +13 -9
- lusid/models/valuation_point_resource_list_of_accounted_transaction.py +10 -6
- lusid/models/valuation_point_resource_list_of_fund_journal_entry_line.py +10 -6
- lusid/models/valuation_point_resource_list_of_pnl_journal_entry_line.py +10 -6
- lusid/models/valuation_point_resource_list_of_trial_balance.py +10 -6
- lusid/models/valuation_request.py +19 -15
- lusid/models/valuation_schedule.py +9 -5
- lusid/models/valuations_reconciliation_request.py +10 -6
- lusid/models/value_type.py +4 -2
- lusid/models/vendor_dependency.py +15 -6
- lusid/models/vendor_library.py +4 -2
- lusid/models/vendor_model_rule.py +15 -6
- lusid/models/version.py +11 -7
- lusid/models/version_summary_dto.py +7 -3
- lusid/models/versioned_resource_list_of_a2_b_data_record.py +9 -5
- lusid/models/versioned_resource_list_of_a2_b_movement_record.py +9 -5
- lusid/models/versioned_resource_list_of_holding_contributor.py +9 -5
- lusid/models/versioned_resource_list_of_journal_entry_line.py +9 -5
- lusid/models/versioned_resource_list_of_output_transaction.py +9 -5
- lusid/models/versioned_resource_list_of_portfolio_holding.py +9 -5
- lusid/models/versioned_resource_list_of_transaction.py +9 -5
- lusid/models/versioned_resource_list_of_trial_balance.py +9 -5
- lusid/models/versioned_resource_list_with_post_bodies_of_settlement_instruction_with_transaction_to_settlement_instruction_query.py +12 -8
- lusid/models/versioned_resource_list_with_warnings_of_portfolio_holding.py +10 -6
- lusid/models/virtual_document.py +8 -4
- lusid/models/virtual_document_row.py +8 -4
- lusid/models/virtual_row.py +8 -4
- lusid/models/warning.py +6 -2
- lusid/models/weekend_mask.py +6 -2
- lusid/models/weighted_instrument.py +8 -4
- lusid/models/weighted_instrument_in_line_lookup_identifiers.py +6 -2
- lusid/models/weighted_instruments.py +7 -3
- lusid/models/workspace.py +7 -3
- lusid/models/workspace_creation_request.py +6 -2
- lusid/models/workspace_item.py +9 -5
- lusid/models/workspace_item_creation_request.py +8 -4
- lusid/models/workspace_item_update_request.py +8 -4
- lusid/models/workspace_update_request.py +6 -2
- lusid/models/workspace_visibility.py +4 -2
- lusid/models/year_month_day.py +9 -5
- lusid/models/yield_curve_data.py +17 -8
- {lusid_sdk-2.1.991.dist-info → lusid_sdk-2.2.1.dist-info}/METADATA +1 -1
- lusid_sdk-2.2.1.dist-info/RECORD +1417 -0
- lusid_sdk-2.1.991.dist-info/RECORD +0 -1417
- {lusid_sdk-2.1.991.dist-info → lusid_sdk-2.2.1.dist-info}/WHEEL +0 -0
|
@@ -17,19 +17,21 @@ import pprint
|
|
|
17
17
|
import re # noqa: F401
|
|
18
18
|
import json
|
|
19
19
|
|
|
20
|
+
|
|
21
|
+
from typing import List, Dict, Optional, Any, Union, TYPE_CHECKING
|
|
22
|
+
from typing_extensions import Annotated
|
|
23
|
+
from pydantic.v1 import BaseModel, StrictStr, StrictInt, StrictBool, StrictFloat, StrictBytes, Field, validator, ValidationError, conlist, constr
|
|
20
24
|
from datetime import datetime
|
|
21
|
-
from typing import Any, Dict, Optional, Union
|
|
22
|
-
from pydantic.v1 import StrictStr, Field, Field, StrictFloat, StrictInt, StrictStr, validator
|
|
23
25
|
from lusid.models.instrument_event import InstrumentEvent
|
|
24
26
|
|
|
25
27
|
class FlexibleRepoCashFlowEvent(InstrumentEvent):
|
|
26
28
|
"""
|
|
27
29
|
Definition of FlexibleRepoCashFlowEvent which represents a cash transfer as part of a repo contract modelled as a FlexibleRepo, either as part of the purchase leg or repurchase leg, or any early closure. # noqa: E501
|
|
28
30
|
"""
|
|
29
|
-
settlement_date: Optional[datetime] = Field(None,
|
|
30
|
-
entitlement_date: Optional[datetime] = Field(None,
|
|
31
|
+
settlement_date: Optional[datetime] = Field(default=None, description="Date that the cash payment settles. This is a required field.", alias="settlementDate")
|
|
32
|
+
entitlement_date: Optional[datetime] = Field(default=None, description="Date the recipient of the cash payment is entitled to receive the cash. This is a required field.", alias="entitlementDate")
|
|
31
33
|
currency: StrictStr = Field(...,alias="currency", description="Currency of the payment. This is a required field.")
|
|
32
|
-
cash_flow_per_unit: Optional[Union[StrictFloat, StrictInt]] = Field(None,
|
|
34
|
+
cash_flow_per_unit: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Amount of cash to be paid per unit of the instrument. This amount is signed to indicate direction of the payment, i.e. as part of the purchase leg vs the repurchase leg. This field is optional. If not specified, the system will not generate a virtual transaction for this event.", alias="cashFlowPerUnit")
|
|
33
35
|
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, MbsInterestShortfallEvent, TenderEvent, CallOnIntermediateSecuritiesEvent, IntermediateSecuritiesDistributionEvent, OptionExercisePhysicalEvent, OptionExerciseCashEvent, ProtectionPayoutCashFlowEvent, TermDepositInterestEvent, TermDepositPrincipalEvent, EarlyRedemptionEvent, FutureMarkToMarketEvent, AdjustGlobalCommitmentEvent, ContractInitialisationEvent, DrawdownEvent, LoanInterestRepaymentEvent, UpdateDepositAmountEvent, LoanPrincipalRepaymentEvent, DepositInterestPaymentEvent, DepositCloseEvent, LoanFacilityContractRolloverEvent, RepurchaseOfferEvent, RepoPartialClosureEvent, RepoCashFlowEvent, FlexibleRepoInterestPaymentEvent, FlexibleRepoCashFlowEvent, FlexibleRepoCollateralEvent, ConversionEvent, FlexibleRepoPartialClosureEvent, FlexibleRepoFullClosureEvent, CapletFloorletCashFlowEvent")
|
|
34
36
|
additional_properties: Dict[str, Any] = {}
|
|
35
37
|
__properties = ["instrumentEventType", "settlementDate", "entitlementDate", "currency", "cashFlowPerUnit"]
|
|
@@ -84,14 +86,19 @@ class FlexibleRepoCashFlowEvent(InstrumentEvent):
|
|
|
84
86
|
'SchedulerJobResponse',
|
|
85
87
|
'SleepResponse',
|
|
86
88
|
'Library',
|
|
87
|
-
'LibraryResponse'
|
|
89
|
+
'LibraryResponse',
|
|
90
|
+
'DayRegularity',
|
|
91
|
+
'RelativeMonthRegularity',
|
|
92
|
+
'SpecificMonthRegularity',
|
|
93
|
+
'WeekRegularity',
|
|
94
|
+
'YearRegularity']:
|
|
88
95
|
return value
|
|
89
96
|
|
|
90
97
|
# Only validate the 'type' property of the class
|
|
91
98
|
if "instrument_event_type" != "type":
|
|
92
99
|
return value
|
|
93
100
|
|
|
94
|
-
if value not in
|
|
101
|
+
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', 'MbsInterestShortfallEvent', 'TenderEvent', 'CallOnIntermediateSecuritiesEvent', 'IntermediateSecuritiesDistributionEvent', 'OptionExercisePhysicalEvent', 'OptionExerciseCashEvent', 'ProtectionPayoutCashFlowEvent', 'TermDepositInterestEvent', 'TermDepositPrincipalEvent', 'EarlyRedemptionEvent', 'FutureMarkToMarketEvent', 'AdjustGlobalCommitmentEvent', 'ContractInitialisationEvent', 'DrawdownEvent', 'LoanInterestRepaymentEvent', 'UpdateDepositAmountEvent', 'LoanPrincipalRepaymentEvent', 'DepositInterestPaymentEvent', 'DepositCloseEvent', 'LoanFacilityContractRolloverEvent', 'RepurchaseOfferEvent', 'RepoPartialClosureEvent', 'RepoCashFlowEvent', 'FlexibleRepoInterestPaymentEvent', 'FlexibleRepoCashFlowEvent', 'FlexibleRepoCollateralEvent', 'ConversionEvent', 'FlexibleRepoPartialClosureEvent', 'FlexibleRepoFullClosureEvent', 'CapletFloorletCashFlowEvent']:
|
|
95
102
|
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', 'MbsInterestShortfallEvent', 'TenderEvent', 'CallOnIntermediateSecuritiesEvent', 'IntermediateSecuritiesDistributionEvent', 'OptionExercisePhysicalEvent', 'OptionExerciseCashEvent', 'ProtectionPayoutCashFlowEvent', 'TermDepositInterestEvent', 'TermDepositPrincipalEvent', 'EarlyRedemptionEvent', 'FutureMarkToMarketEvent', 'AdjustGlobalCommitmentEvent', 'ContractInitialisationEvent', 'DrawdownEvent', 'LoanInterestRepaymentEvent', 'UpdateDepositAmountEvent', 'LoanPrincipalRepaymentEvent', 'DepositInterestPaymentEvent', 'DepositCloseEvent', 'LoanFacilityContractRolloverEvent', 'RepurchaseOfferEvent', 'RepoPartialClosureEvent', 'RepoCashFlowEvent', 'FlexibleRepoInterestPaymentEvent', 'FlexibleRepoCashFlowEvent', 'FlexibleRepoCollateralEvent', 'ConversionEvent', 'FlexibleRepoPartialClosureEvent', 'FlexibleRepoFullClosureEvent', 'CapletFloorletCashFlowEvent')")
|
|
96
103
|
return value
|
|
97
104
|
|
|
@@ -162,3 +169,5 @@ class FlexibleRepoCashFlowEvent(InstrumentEvent):
|
|
|
162
169
|
_obj.additional_properties[_key] = obj.get(_key)
|
|
163
170
|
|
|
164
171
|
return _obj
|
|
172
|
+
|
|
173
|
+
FlexibleRepoCashFlowEvent.update_forward_refs()
|
|
@@ -17,9 +17,11 @@ import pprint
|
|
|
17
17
|
import re # noqa: F401
|
|
18
18
|
import json
|
|
19
19
|
|
|
20
|
+
|
|
21
|
+
from typing import List, Dict, Optional, Any, Union, TYPE_CHECKING
|
|
22
|
+
from typing_extensions import Annotated
|
|
23
|
+
from pydantic.v1 import BaseModel, StrictStr, StrictInt, StrictBool, StrictFloat, StrictBytes, Field, validator, ValidationError, conlist, constr
|
|
20
24
|
from datetime import datetime
|
|
21
|
-
from typing import Any, Dict, Optional, Union
|
|
22
|
-
from pydantic.v1 import StrictStr, Field, Field, StrictFloat, StrictInt, StrictStr, validator
|
|
23
25
|
from lusid.models.instrument_event import InstrumentEvent
|
|
24
26
|
from lusid.models.new_instrument import NewInstrument
|
|
25
27
|
|
|
@@ -27,10 +29,10 @@ class FlexibleRepoCollateralEvent(InstrumentEvent):
|
|
|
27
29
|
"""
|
|
28
30
|
Definition of FlexibleRepoCollateralEvent which represents a single collateral transfer as part of a repo contract modelled as a FlexibleRepo, either as part of the purchase leg or repurchase leg, or any early closure. # noqa: E501
|
|
29
31
|
"""
|
|
30
|
-
settlement_date: Optional[datetime] = Field(None,
|
|
31
|
-
entitlement_date: Optional[datetime] = Field(None,
|
|
32
|
-
amount: Union[StrictFloat, StrictInt] = Field(
|
|
33
|
-
collateral_instrument: NewInstrument = Field(
|
|
32
|
+
settlement_date: Optional[datetime] = Field(default=None, description="Date at which the transfer of units settles. This is a required field.", alias="settlementDate")
|
|
33
|
+
entitlement_date: Optional[datetime] = Field(default=None, description="Date at which the recipient of the collateral is entitled to the units being transferred. This is a required field.", alias="entitlementDate")
|
|
34
|
+
amount: Union[StrictFloat, StrictInt] = Field(description="The total amount of collateral being transferred as part of the repo contract. Signed to indicate direction of transfer. This is a required field.")
|
|
35
|
+
collateral_instrument: NewInstrument = Field(alias="collateralInstrument")
|
|
34
36
|
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, MbsInterestShortfallEvent, TenderEvent, CallOnIntermediateSecuritiesEvent, IntermediateSecuritiesDistributionEvent, OptionExercisePhysicalEvent, OptionExerciseCashEvent, ProtectionPayoutCashFlowEvent, TermDepositInterestEvent, TermDepositPrincipalEvent, EarlyRedemptionEvent, FutureMarkToMarketEvent, AdjustGlobalCommitmentEvent, ContractInitialisationEvent, DrawdownEvent, LoanInterestRepaymentEvent, UpdateDepositAmountEvent, LoanPrincipalRepaymentEvent, DepositInterestPaymentEvent, DepositCloseEvent, LoanFacilityContractRolloverEvent, RepurchaseOfferEvent, RepoPartialClosureEvent, RepoCashFlowEvent, FlexibleRepoInterestPaymentEvent, FlexibleRepoCashFlowEvent, FlexibleRepoCollateralEvent, ConversionEvent, FlexibleRepoPartialClosureEvent, FlexibleRepoFullClosureEvent, CapletFloorletCashFlowEvent")
|
|
35
37
|
additional_properties: Dict[str, Any] = {}
|
|
36
38
|
__properties = ["instrumentEventType", "settlementDate", "entitlementDate", "amount", "collateralInstrument"]
|
|
@@ -85,14 +87,19 @@ class FlexibleRepoCollateralEvent(InstrumentEvent):
|
|
|
85
87
|
'SchedulerJobResponse',
|
|
86
88
|
'SleepResponse',
|
|
87
89
|
'Library',
|
|
88
|
-
'LibraryResponse'
|
|
90
|
+
'LibraryResponse',
|
|
91
|
+
'DayRegularity',
|
|
92
|
+
'RelativeMonthRegularity',
|
|
93
|
+
'SpecificMonthRegularity',
|
|
94
|
+
'WeekRegularity',
|
|
95
|
+
'YearRegularity']:
|
|
89
96
|
return value
|
|
90
97
|
|
|
91
98
|
# Only validate the 'type' property of the class
|
|
92
99
|
if "instrument_event_type" != "type":
|
|
93
100
|
return value
|
|
94
101
|
|
|
95
|
-
if value not in
|
|
102
|
+
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', 'MbsInterestShortfallEvent', 'TenderEvent', 'CallOnIntermediateSecuritiesEvent', 'IntermediateSecuritiesDistributionEvent', 'OptionExercisePhysicalEvent', 'OptionExerciseCashEvent', 'ProtectionPayoutCashFlowEvent', 'TermDepositInterestEvent', 'TermDepositPrincipalEvent', 'EarlyRedemptionEvent', 'FutureMarkToMarketEvent', 'AdjustGlobalCommitmentEvent', 'ContractInitialisationEvent', 'DrawdownEvent', 'LoanInterestRepaymentEvent', 'UpdateDepositAmountEvent', 'LoanPrincipalRepaymentEvent', 'DepositInterestPaymentEvent', 'DepositCloseEvent', 'LoanFacilityContractRolloverEvent', 'RepurchaseOfferEvent', 'RepoPartialClosureEvent', 'RepoCashFlowEvent', 'FlexibleRepoInterestPaymentEvent', 'FlexibleRepoCashFlowEvent', 'FlexibleRepoCollateralEvent', 'ConversionEvent', 'FlexibleRepoPartialClosureEvent', 'FlexibleRepoFullClosureEvent', 'CapletFloorletCashFlowEvent']:
|
|
96
103
|
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', 'MbsInterestShortfallEvent', 'TenderEvent', 'CallOnIntermediateSecuritiesEvent', 'IntermediateSecuritiesDistributionEvent', 'OptionExercisePhysicalEvent', 'OptionExerciseCashEvent', 'ProtectionPayoutCashFlowEvent', 'TermDepositInterestEvent', 'TermDepositPrincipalEvent', 'EarlyRedemptionEvent', 'FutureMarkToMarketEvent', 'AdjustGlobalCommitmentEvent', 'ContractInitialisationEvent', 'DrawdownEvent', 'LoanInterestRepaymentEvent', 'UpdateDepositAmountEvent', 'LoanPrincipalRepaymentEvent', 'DepositInterestPaymentEvent', 'DepositCloseEvent', 'LoanFacilityContractRolloverEvent', 'RepurchaseOfferEvent', 'RepoPartialClosureEvent', 'RepoCashFlowEvent', 'FlexibleRepoInterestPaymentEvent', 'FlexibleRepoCashFlowEvent', 'FlexibleRepoCollateralEvent', 'ConversionEvent', 'FlexibleRepoPartialClosureEvent', 'FlexibleRepoFullClosureEvent', 'CapletFloorletCashFlowEvent')")
|
|
97
104
|
return value
|
|
98
105
|
|
|
@@ -161,3 +168,5 @@ class FlexibleRepoCollateralEvent(InstrumentEvent):
|
|
|
161
168
|
_obj.additional_properties[_key] = obj.get(_key)
|
|
162
169
|
|
|
163
170
|
return _obj
|
|
171
|
+
|
|
172
|
+
FlexibleRepoCollateralEvent.update_forward_refs()
|
|
@@ -17,17 +17,19 @@ import pprint
|
|
|
17
17
|
import re # noqa: F401
|
|
18
18
|
import json
|
|
19
19
|
|
|
20
|
+
|
|
21
|
+
from typing import List, Dict, Optional, Any, Union, TYPE_CHECKING
|
|
22
|
+
from typing_extensions import Annotated
|
|
23
|
+
from pydantic.v1 import BaseModel, StrictStr, StrictInt, StrictBool, StrictFloat, StrictBytes, Field, validator, ValidationError, conlist, constr
|
|
20
24
|
from datetime import datetime
|
|
21
|
-
from typing import Any, Dict, Optional
|
|
22
|
-
from pydantic.v1 import StrictStr, Field, Field, StrictStr, validator
|
|
23
25
|
from lusid.models.instrument_event import InstrumentEvent
|
|
24
26
|
|
|
25
27
|
class FlexibleRepoFullClosureEvent(InstrumentEvent):
|
|
26
28
|
"""
|
|
27
29
|
Event to trigger the full closure of a repurchase agreement booked as a FlexibleRepo. Specific to a FlexibleRepo instrument. # noqa: E501
|
|
28
30
|
"""
|
|
29
|
-
entitlement_date: Optional[datetime] = Field(None,
|
|
30
|
-
settlement_date: Optional[datetime] = Field(None,
|
|
31
|
+
entitlement_date: Optional[datetime] = Field(default=None, description="Date on which the closure begins This is a required field, unless otherwise supplied via \"EventDateStamps\" in the instrument event upsert request.", alias="entitlementDate")
|
|
32
|
+
settlement_date: Optional[datetime] = Field(default=None, description="Date on which closure takes place, i.e., when all repurchase trades settle.", alias="settlementDate")
|
|
31
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, MbsInterestShortfallEvent, TenderEvent, CallOnIntermediateSecuritiesEvent, IntermediateSecuritiesDistributionEvent, OptionExercisePhysicalEvent, OptionExerciseCashEvent, ProtectionPayoutCashFlowEvent, TermDepositInterestEvent, TermDepositPrincipalEvent, EarlyRedemptionEvent, FutureMarkToMarketEvent, AdjustGlobalCommitmentEvent, ContractInitialisationEvent, DrawdownEvent, LoanInterestRepaymentEvent, UpdateDepositAmountEvent, LoanPrincipalRepaymentEvent, DepositInterestPaymentEvent, DepositCloseEvent, LoanFacilityContractRolloverEvent, RepurchaseOfferEvent, RepoPartialClosureEvent, RepoCashFlowEvent, FlexibleRepoInterestPaymentEvent, FlexibleRepoCashFlowEvent, FlexibleRepoCollateralEvent, ConversionEvent, FlexibleRepoPartialClosureEvent, FlexibleRepoFullClosureEvent, CapletFloorletCashFlowEvent")
|
|
32
34
|
additional_properties: Dict[str, Any] = {}
|
|
33
35
|
__properties = ["instrumentEventType", "entitlementDate", "settlementDate"]
|
|
@@ -82,14 +84,19 @@ class FlexibleRepoFullClosureEvent(InstrumentEvent):
|
|
|
82
84
|
'SchedulerJobResponse',
|
|
83
85
|
'SleepResponse',
|
|
84
86
|
'Library',
|
|
85
|
-
'LibraryResponse'
|
|
87
|
+
'LibraryResponse',
|
|
88
|
+
'DayRegularity',
|
|
89
|
+
'RelativeMonthRegularity',
|
|
90
|
+
'SpecificMonthRegularity',
|
|
91
|
+
'WeekRegularity',
|
|
92
|
+
'YearRegularity']:
|
|
86
93
|
return value
|
|
87
94
|
|
|
88
95
|
# Only validate the 'type' property of the class
|
|
89
96
|
if "instrument_event_type" != "type":
|
|
90
97
|
return value
|
|
91
98
|
|
|
92
|
-
if value not in
|
|
99
|
+
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', 'MbsInterestShortfallEvent', 'TenderEvent', 'CallOnIntermediateSecuritiesEvent', 'IntermediateSecuritiesDistributionEvent', 'OptionExercisePhysicalEvent', 'OptionExerciseCashEvent', 'ProtectionPayoutCashFlowEvent', 'TermDepositInterestEvent', 'TermDepositPrincipalEvent', 'EarlyRedemptionEvent', 'FutureMarkToMarketEvent', 'AdjustGlobalCommitmentEvent', 'ContractInitialisationEvent', 'DrawdownEvent', 'LoanInterestRepaymentEvent', 'UpdateDepositAmountEvent', 'LoanPrincipalRepaymentEvent', 'DepositInterestPaymentEvent', 'DepositCloseEvent', 'LoanFacilityContractRolloverEvent', 'RepurchaseOfferEvent', 'RepoPartialClosureEvent', 'RepoCashFlowEvent', 'FlexibleRepoInterestPaymentEvent', 'FlexibleRepoCashFlowEvent', 'FlexibleRepoCollateralEvent', 'ConversionEvent', 'FlexibleRepoPartialClosureEvent', 'FlexibleRepoFullClosureEvent', 'CapletFloorletCashFlowEvent']:
|
|
93
100
|
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', 'MbsInterestShortfallEvent', 'TenderEvent', 'CallOnIntermediateSecuritiesEvent', 'IntermediateSecuritiesDistributionEvent', 'OptionExercisePhysicalEvent', 'OptionExerciseCashEvent', 'ProtectionPayoutCashFlowEvent', 'TermDepositInterestEvent', 'TermDepositPrincipalEvent', 'EarlyRedemptionEvent', 'FutureMarkToMarketEvent', 'AdjustGlobalCommitmentEvent', 'ContractInitialisationEvent', 'DrawdownEvent', 'LoanInterestRepaymentEvent', 'UpdateDepositAmountEvent', 'LoanPrincipalRepaymentEvent', 'DepositInterestPaymentEvent', 'DepositCloseEvent', 'LoanFacilityContractRolloverEvent', 'RepurchaseOfferEvent', 'RepoPartialClosureEvent', 'RepoCashFlowEvent', 'FlexibleRepoInterestPaymentEvent', 'FlexibleRepoCashFlowEvent', 'FlexibleRepoCollateralEvent', 'ConversionEvent', 'FlexibleRepoPartialClosureEvent', 'FlexibleRepoFullClosureEvent', 'CapletFloorletCashFlowEvent')")
|
|
94
101
|
return value
|
|
95
102
|
|
|
@@ -153,3 +160,5 @@ class FlexibleRepoFullClosureEvent(InstrumentEvent):
|
|
|
153
160
|
_obj.additional_properties[_key] = obj.get(_key)
|
|
154
161
|
|
|
155
162
|
return _obj
|
|
163
|
+
|
|
164
|
+
FlexibleRepoFullClosureEvent.update_forward_refs()
|
|
@@ -17,19 +17,21 @@ import pprint
|
|
|
17
17
|
import re # noqa: F401
|
|
18
18
|
import json
|
|
19
19
|
|
|
20
|
+
|
|
21
|
+
from typing import List, Dict, Optional, Any, Union, TYPE_CHECKING
|
|
22
|
+
from typing_extensions import Annotated
|
|
23
|
+
from pydantic.v1 import BaseModel, StrictStr, StrictInt, StrictBool, StrictFloat, StrictBytes, Field, validator, ValidationError, conlist, constr
|
|
20
24
|
from datetime import datetime
|
|
21
|
-
from typing import Any, Dict, Optional, Union
|
|
22
|
-
from pydantic.v1 import StrictStr, Field, Field, StrictFloat, StrictInt, StrictStr, validator
|
|
23
25
|
from lusid.models.instrument_event import InstrumentEvent
|
|
24
26
|
|
|
25
27
|
class FlexibleRepoInterestPaymentEvent(InstrumentEvent):
|
|
26
28
|
"""
|
|
27
29
|
Definition of FlexibleRepoInterestPaymentEvent, which represents the regular interest payments associated with an open repo contract modelled as a FlexibleRepo. # noqa: E501
|
|
28
30
|
"""
|
|
29
|
-
settlement_date: Optional[datetime] = Field(None,
|
|
30
|
-
entitlement_date: Optional[datetime] = Field(None,
|
|
31
|
+
settlement_date: Optional[datetime] = Field(default=None, description="Settlement date of the interest payment. This is a required field.", alias="settlementDate")
|
|
32
|
+
entitlement_date: Optional[datetime] = Field(default=None, description="EntitlementDate of the interest payment. This is a required field.", alias="entitlementDate")
|
|
31
33
|
currency: StrictStr = Field(...,alias="currency", description="Currency of the interest payment. This is a required field.")
|
|
32
|
-
interest_per_unit: Optional[Union[StrictFloat, StrictInt]] = Field(None,
|
|
34
|
+
interest_per_unit: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Interest payment per unit held of the FlexibleRepo. This field is optional. If not specified, the system will not generate a virtual transaction for this event", alias="interestPerUnit")
|
|
33
35
|
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, MbsInterestShortfallEvent, TenderEvent, CallOnIntermediateSecuritiesEvent, IntermediateSecuritiesDistributionEvent, OptionExercisePhysicalEvent, OptionExerciseCashEvent, ProtectionPayoutCashFlowEvent, TermDepositInterestEvent, TermDepositPrincipalEvent, EarlyRedemptionEvent, FutureMarkToMarketEvent, AdjustGlobalCommitmentEvent, ContractInitialisationEvent, DrawdownEvent, LoanInterestRepaymentEvent, UpdateDepositAmountEvent, LoanPrincipalRepaymentEvent, DepositInterestPaymentEvent, DepositCloseEvent, LoanFacilityContractRolloverEvent, RepurchaseOfferEvent, RepoPartialClosureEvent, RepoCashFlowEvent, FlexibleRepoInterestPaymentEvent, FlexibleRepoCashFlowEvent, FlexibleRepoCollateralEvent, ConversionEvent, FlexibleRepoPartialClosureEvent, FlexibleRepoFullClosureEvent, CapletFloorletCashFlowEvent")
|
|
34
36
|
additional_properties: Dict[str, Any] = {}
|
|
35
37
|
__properties = ["instrumentEventType", "settlementDate", "entitlementDate", "currency", "interestPerUnit"]
|
|
@@ -84,14 +86,19 @@ class FlexibleRepoInterestPaymentEvent(InstrumentEvent):
|
|
|
84
86
|
'SchedulerJobResponse',
|
|
85
87
|
'SleepResponse',
|
|
86
88
|
'Library',
|
|
87
|
-
'LibraryResponse'
|
|
89
|
+
'LibraryResponse',
|
|
90
|
+
'DayRegularity',
|
|
91
|
+
'RelativeMonthRegularity',
|
|
92
|
+
'SpecificMonthRegularity',
|
|
93
|
+
'WeekRegularity',
|
|
94
|
+
'YearRegularity']:
|
|
88
95
|
return value
|
|
89
96
|
|
|
90
97
|
# Only validate the 'type' property of the class
|
|
91
98
|
if "instrument_event_type" != "type":
|
|
92
99
|
return value
|
|
93
100
|
|
|
94
|
-
if value not in
|
|
101
|
+
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', 'MbsInterestShortfallEvent', 'TenderEvent', 'CallOnIntermediateSecuritiesEvent', 'IntermediateSecuritiesDistributionEvent', 'OptionExercisePhysicalEvent', 'OptionExerciseCashEvent', 'ProtectionPayoutCashFlowEvent', 'TermDepositInterestEvent', 'TermDepositPrincipalEvent', 'EarlyRedemptionEvent', 'FutureMarkToMarketEvent', 'AdjustGlobalCommitmentEvent', 'ContractInitialisationEvent', 'DrawdownEvent', 'LoanInterestRepaymentEvent', 'UpdateDepositAmountEvent', 'LoanPrincipalRepaymentEvent', 'DepositInterestPaymentEvent', 'DepositCloseEvent', 'LoanFacilityContractRolloverEvent', 'RepurchaseOfferEvent', 'RepoPartialClosureEvent', 'RepoCashFlowEvent', 'FlexibleRepoInterestPaymentEvent', 'FlexibleRepoCashFlowEvent', 'FlexibleRepoCollateralEvent', 'ConversionEvent', 'FlexibleRepoPartialClosureEvent', 'FlexibleRepoFullClosureEvent', 'CapletFloorletCashFlowEvent']:
|
|
95
102
|
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', 'MbsInterestShortfallEvent', 'TenderEvent', 'CallOnIntermediateSecuritiesEvent', 'IntermediateSecuritiesDistributionEvent', 'OptionExercisePhysicalEvent', 'OptionExerciseCashEvent', 'ProtectionPayoutCashFlowEvent', 'TermDepositInterestEvent', 'TermDepositPrincipalEvent', 'EarlyRedemptionEvent', 'FutureMarkToMarketEvent', 'AdjustGlobalCommitmentEvent', 'ContractInitialisationEvent', 'DrawdownEvent', 'LoanInterestRepaymentEvent', 'UpdateDepositAmountEvent', 'LoanPrincipalRepaymentEvent', 'DepositInterestPaymentEvent', 'DepositCloseEvent', 'LoanFacilityContractRolloverEvent', 'RepurchaseOfferEvent', 'RepoPartialClosureEvent', 'RepoCashFlowEvent', 'FlexibleRepoInterestPaymentEvent', 'FlexibleRepoCashFlowEvent', 'FlexibleRepoCollateralEvent', 'ConversionEvent', 'FlexibleRepoPartialClosureEvent', 'FlexibleRepoFullClosureEvent', 'CapletFloorletCashFlowEvent')")
|
|
96
103
|
return value
|
|
97
104
|
|
|
@@ -162,3 +169,5 @@ class FlexibleRepoInterestPaymentEvent(InstrumentEvent):
|
|
|
162
169
|
_obj.additional_properties[_key] = obj.get(_key)
|
|
163
170
|
|
|
164
171
|
return _obj
|
|
172
|
+
|
|
173
|
+
FlexibleRepoInterestPaymentEvent.update_forward_refs()
|
|
@@ -17,9 +17,11 @@ import pprint
|
|
|
17
17
|
import re # noqa: F401
|
|
18
18
|
import json
|
|
19
19
|
|
|
20
|
+
|
|
21
|
+
from typing import List, Dict, Optional, Any, Union, TYPE_CHECKING
|
|
22
|
+
from typing_extensions import Annotated
|
|
23
|
+
from pydantic.v1 import BaseModel, StrictStr, StrictInt, StrictBool, StrictFloat, StrictBytes, Field, validator, ValidationError, conlist, constr
|
|
20
24
|
from datetime import datetime
|
|
21
|
-
from typing import Any, Dict, List, Optional, Union
|
|
22
|
-
from pydantic.v1 import StrictStr, Field, Field, StrictFloat, StrictInt, StrictStr, conlist, constr, validator
|
|
23
25
|
from lusid.models.instrument_event import InstrumentEvent
|
|
24
26
|
from lusid.models.partial_closure_constituent import PartialClosureConstituent
|
|
25
27
|
|
|
@@ -27,11 +29,11 @@ class FlexibleRepoPartialClosureEvent(InstrumentEvent):
|
|
|
27
29
|
"""
|
|
28
30
|
Event representing the partial closure of a repurchase agreement. Each event reduces the outstanding notional and generates a corresponding receive-leg cashflow. The final maturity cashflow is adjusted accordingly. If multiple events are created, their effects compound. Once the total repaid amount reaches the original purchase price, no further receive-leg cashflows are generated. Any event exceeding the remaining notional is marked with a diagnostic to indicate it is invalid due to excessive repayment. For example, for a repo with a 5% rate, 1% haircut and collateral value of 100 (purchase price = 99), a partial closure of cash amount 10 followed by one of 100 results in only the first event producing a cashflow. The second, exceeding the remaining balance, is ignored and flagged with a diagnostic. The remaining balance is settled at maturity of the repurchase agreement. Specific to a FlexibleRepo instrument. # noqa: E501
|
|
29
31
|
"""
|
|
30
|
-
entitlement_date: Optional[datetime] = Field(None,
|
|
31
|
-
settlement_date: Optional[datetime] = Field(None,
|
|
32
|
-
amount: Union[StrictFloat, StrictInt] = Field(
|
|
32
|
+
entitlement_date: Optional[datetime] = Field(default=None, description="Required property. The date on which the counterparties become entitled to exchange cash as part of a partial closure of the repurchase agreement. The date must be before or on the settlement date, and on or before the maturity date of the repo. This is a required field, unless otherwise supplied via \"EventDateStamps\" in the instrument event upsert request.", alias="entitlementDate")
|
|
33
|
+
settlement_date: Optional[datetime] = Field(default=None, description="Required property. The date on which the exchange of cash is settled. The date must be on or after the entitlement date, and on or before the maturity date of the repo. This is a required field, unless otherwise supplied via \"EventDateStamps\" in the instrument event upsert request.", alias="settlementDate")
|
|
34
|
+
amount: Union[StrictFloat, StrictInt] = Field(description="The amount of cash to be exchanged as part of a partial closure of the repurchase agreement. Either the absolute cash amount or a percentage of the remaining amount, depending on the AmountType.")
|
|
33
35
|
amount_type: StrictStr = Field(...,alias="amountType", description="AmountType of the cash amount to be exchanged as part of a partial closure of the repurchase agreement. Either percentage or absolute cash amount. Supported string (enumeration) values are: [Percentage, Units].")
|
|
34
|
-
partial_closure_constituents:
|
|
36
|
+
partial_closure_constituents: List[PartialClosureConstituent] = Field(description="List of the collateral instruments involved in this partial closure, along with how they are affected.", alias="partialClosureConstituents")
|
|
35
37
|
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, MbsInterestShortfallEvent, TenderEvent, CallOnIntermediateSecuritiesEvent, IntermediateSecuritiesDistributionEvent, OptionExercisePhysicalEvent, OptionExerciseCashEvent, ProtectionPayoutCashFlowEvent, TermDepositInterestEvent, TermDepositPrincipalEvent, EarlyRedemptionEvent, FutureMarkToMarketEvent, AdjustGlobalCommitmentEvent, ContractInitialisationEvent, DrawdownEvent, LoanInterestRepaymentEvent, UpdateDepositAmountEvent, LoanPrincipalRepaymentEvent, DepositInterestPaymentEvent, DepositCloseEvent, LoanFacilityContractRolloverEvent, RepurchaseOfferEvent, RepoPartialClosureEvent, RepoCashFlowEvent, FlexibleRepoInterestPaymentEvent, FlexibleRepoCashFlowEvent, FlexibleRepoCollateralEvent, ConversionEvent, FlexibleRepoPartialClosureEvent, FlexibleRepoFullClosureEvent, CapletFloorletCashFlowEvent")
|
|
36
38
|
additional_properties: Dict[str, Any] = {}
|
|
37
39
|
__properties = ["instrumentEventType", "entitlementDate", "settlementDate", "amount", "amountType", "partialClosureConstituents"]
|
|
@@ -86,14 +88,19 @@ class FlexibleRepoPartialClosureEvent(InstrumentEvent):
|
|
|
86
88
|
'SchedulerJobResponse',
|
|
87
89
|
'SleepResponse',
|
|
88
90
|
'Library',
|
|
89
|
-
'LibraryResponse'
|
|
91
|
+
'LibraryResponse',
|
|
92
|
+
'DayRegularity',
|
|
93
|
+
'RelativeMonthRegularity',
|
|
94
|
+
'SpecificMonthRegularity',
|
|
95
|
+
'WeekRegularity',
|
|
96
|
+
'YearRegularity']:
|
|
90
97
|
return value
|
|
91
98
|
|
|
92
99
|
# Only validate the 'type' property of the class
|
|
93
100
|
if "instrument_event_type" != "type":
|
|
94
101
|
return value
|
|
95
102
|
|
|
96
|
-
if value not in
|
|
103
|
+
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', 'MbsInterestShortfallEvent', 'TenderEvent', 'CallOnIntermediateSecuritiesEvent', 'IntermediateSecuritiesDistributionEvent', 'OptionExercisePhysicalEvent', 'OptionExerciseCashEvent', 'ProtectionPayoutCashFlowEvent', 'TermDepositInterestEvent', 'TermDepositPrincipalEvent', 'EarlyRedemptionEvent', 'FutureMarkToMarketEvent', 'AdjustGlobalCommitmentEvent', 'ContractInitialisationEvent', 'DrawdownEvent', 'LoanInterestRepaymentEvent', 'UpdateDepositAmountEvent', 'LoanPrincipalRepaymentEvent', 'DepositInterestPaymentEvent', 'DepositCloseEvent', 'LoanFacilityContractRolloverEvent', 'RepurchaseOfferEvent', 'RepoPartialClosureEvent', 'RepoCashFlowEvent', 'FlexibleRepoInterestPaymentEvent', 'FlexibleRepoCashFlowEvent', 'FlexibleRepoCollateralEvent', 'ConversionEvent', 'FlexibleRepoPartialClosureEvent', 'FlexibleRepoFullClosureEvent', 'CapletFloorletCashFlowEvent']:
|
|
97
104
|
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', 'MbsInterestShortfallEvent', 'TenderEvent', 'CallOnIntermediateSecuritiesEvent', 'IntermediateSecuritiesDistributionEvent', 'OptionExercisePhysicalEvent', 'OptionExerciseCashEvent', 'ProtectionPayoutCashFlowEvent', 'TermDepositInterestEvent', 'TermDepositPrincipalEvent', 'EarlyRedemptionEvent', 'FutureMarkToMarketEvent', 'AdjustGlobalCommitmentEvent', 'ContractInitialisationEvent', 'DrawdownEvent', 'LoanInterestRepaymentEvent', 'UpdateDepositAmountEvent', 'LoanPrincipalRepaymentEvent', 'DepositInterestPaymentEvent', 'DepositCloseEvent', 'LoanFacilityContractRolloverEvent', 'RepurchaseOfferEvent', 'RepoPartialClosureEvent', 'RepoCashFlowEvent', 'FlexibleRepoInterestPaymentEvent', 'FlexibleRepoCashFlowEvent', 'FlexibleRepoCollateralEvent', 'ConversionEvent', 'FlexibleRepoPartialClosureEvent', 'FlexibleRepoFullClosureEvent', 'CapletFloorletCashFlowEvent')")
|
|
98
105
|
return value
|
|
99
106
|
|
|
@@ -167,3 +174,5 @@ class FlexibleRepoPartialClosureEvent(InstrumentEvent):
|
|
|
167
174
|
_obj.additional_properties[_key] = obj.get(_key)
|
|
168
175
|
|
|
169
176
|
return _obj
|
|
177
|
+
|
|
178
|
+
FlexibleRepoPartialClosureEvent.update_forward_refs()
|
lusid/models/float_schedule.py
CHANGED
|
@@ -17,9 +17,11 @@ import pprint
|
|
|
17
17
|
import re # noqa: F401
|
|
18
18
|
import json
|
|
19
19
|
|
|
20
|
+
|
|
21
|
+
from typing import List, Dict, Optional, Any, Union, TYPE_CHECKING
|
|
22
|
+
from typing_extensions import Annotated
|
|
23
|
+
from pydantic.v1 import BaseModel, StrictStr, StrictInt, StrictBool, StrictFloat, StrictBytes, Field, validator, ValidationError, conlist, constr
|
|
20
24
|
from datetime import datetime
|
|
21
|
-
from typing import Any, Dict, Optional, Union
|
|
22
|
-
from pydantic.v1 import StrictStr, Field, Field, StrictBool, StrictFloat, StrictInt, StrictStr, constr, validator
|
|
23
25
|
from lusid.models.compounding import Compounding
|
|
24
26
|
from lusid.models.ex_dividend_configuration import ExDividendConfiguration
|
|
25
27
|
from lusid.models.flow_convention_name import FlowConventionName
|
|
@@ -31,21 +33,21 @@ class FloatSchedule(Schedule):
|
|
|
31
33
|
"""
|
|
32
34
|
Schedule for floating rate coupon payments. # noqa: E501
|
|
33
35
|
"""
|
|
34
|
-
start_date: Optional[datetime] = Field(None,
|
|
35
|
-
maturity_date: Optional[datetime] = Field(None,
|
|
36
|
-
flow_conventions: Optional[FlowConventions] = Field(None, alias="flowConventions")
|
|
37
|
-
convention_name: Optional[FlowConventionName] = Field(None, alias="conventionName")
|
|
38
|
-
ex_dividend_days: Optional[StrictInt] = Field(None,
|
|
39
|
-
index_convention_name: Optional[FlowConventionName] = Field(None, alias="indexConventionName")
|
|
40
|
-
index_conventions: Optional[IndexConvention] = Field(None, alias="indexConventions")
|
|
41
|
-
notional: Optional[Union[StrictFloat, StrictInt]] = Field(None, description="Scaling factor, the quantity outstanding on which the rate will be paid.")
|
|
36
|
+
start_date: Optional[datetime] = Field(default=None, description="Date from which LUSID starts generating the payment schedule.", alias="startDate")
|
|
37
|
+
maturity_date: Optional[datetime] = Field(default=None, description="Last date of the payment generation schedule. May not necessarily be the maturity date of the underlying instrument (e.g. in case the instrument has multiple payment schedules).", alias="maturityDate")
|
|
38
|
+
flow_conventions: Optional[FlowConventions] = Field(default=None, alias="flowConventions")
|
|
39
|
+
convention_name: Optional[FlowConventionName] = Field(default=None, alias="conventionName")
|
|
40
|
+
ex_dividend_days: Optional[StrictInt] = Field(default=None, description="Optional. Number of calendar days in the ex-dividend period. If the settlement date falls in the ex-dividend period then the coupon paid is zero and the accrued interest is negative. If set, this must be a non-negative number. If not set, or set to 0, then there is no ex-dividend period. NOTE: This field is deprecated. If you wish to set the ExDividendDays on a bond, please use the ExDividendConfiguration.", alias="exDividendDays")
|
|
41
|
+
index_convention_name: Optional[FlowConventionName] = Field(default=None, alias="indexConventionName")
|
|
42
|
+
index_conventions: Optional[IndexConvention] = Field(default=None, alias="indexConventions")
|
|
43
|
+
notional: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Scaling factor, the quantity outstanding on which the rate will be paid.")
|
|
42
44
|
payment_currency: StrictStr = Field(...,alias="paymentCurrency", description="Payment currency. This does not have to be the same as the nominal bond or observation/reset currency.")
|
|
43
|
-
spread: Optional[Union[StrictFloat, StrictInt]] = Field(None, description="Spread over floating rate given as a fraction.")
|
|
45
|
+
spread: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Spread over floating rate given as a fraction.")
|
|
44
46
|
stub_type: Optional[StrictStr] = Field(None,alias="stubType", description="When a payment schedule doesn't have regular payment intervals just because of the first and/or last coupons of the schedule, we call those irregular coupons stubs. This configuration specifies what type of stub is used when building the schedule Supported values are: None = this is a regular payment schedule with no stubs. DO NOT use it with irregular schedules or you will get incorrect and unexpected behaviour. ShortFront = this is an irregular payment schedule where only the first coupon is irregular, and covers a payment period that is shorter than the regular payment period. ShortBack = this is an irregular payment schedule where only the last coupon is irregular, and covers a payment period that is shorter than the regular payment period. LongFront = this is an irregular payment schedule where only the first coupon is irregular, and covers a payment period that is longer than the regular payment period. LongBack = this is an irregular payment schedule where only the last coupon is irregular, and covers a payment period that is longer than the regular payment period. Both = this is an irregular payment schedule where both the first and the last coupons are irregular, and the length of these periods is calculated based on the first coupon payment date that should have been explicitly set.")
|
|
45
|
-
ex_dividend_configuration: Optional[ExDividendConfiguration] = Field(None, alias="exDividendConfiguration")
|
|
47
|
+
ex_dividend_configuration: Optional[ExDividendConfiguration] = Field(default=None, alias="exDividendConfiguration")
|
|
46
48
|
compounding: Optional[Compounding] = None
|
|
47
49
|
reset_convention: Optional[StrictStr] = Field(None,alias="resetConvention", description="Control how resets are generated relative to payment convention(s). Supported string (enumeration) values are: [InAdvance, InArrears]. Defaults to \"InAdvance\" if not set.")
|
|
48
|
-
use_annualised_direct_rates: Optional[StrictBool] = Field(None,
|
|
50
|
+
use_annualised_direct_rates: Optional[StrictBool] = Field(default=None, description="Flag indicating whether to use daily updated annualised interest rates for calculating the accrued interest. Defaults to false.", alias="useAnnualisedDirectRates")
|
|
49
51
|
schedule_type: StrictStr = Field(...,alias="scheduleType", description="The available values are: FixedSchedule, FloatSchedule, OptionalitySchedule, StepSchedule, Exercise, FxRateSchedule, FxLinkedNotionalSchedule, BondConversionSchedule, Invalid")
|
|
50
52
|
additional_properties: Dict[str, Any] = {}
|
|
51
53
|
__properties = ["scheduleType", "startDate", "maturityDate", "flowConventions", "conventionName", "exDividendDays", "indexConventionName", "indexConventions", "notional", "paymentCurrency", "spread", "stubType", "exDividendConfiguration", "compounding", "resetConvention", "useAnnualisedDirectRates"]
|
|
@@ -100,14 +102,19 @@ class FloatSchedule(Schedule):
|
|
|
100
102
|
'SchedulerJobResponse',
|
|
101
103
|
'SleepResponse',
|
|
102
104
|
'Library',
|
|
103
|
-
'LibraryResponse'
|
|
105
|
+
'LibraryResponse',
|
|
106
|
+
'DayRegularity',
|
|
107
|
+
'RelativeMonthRegularity',
|
|
108
|
+
'SpecificMonthRegularity',
|
|
109
|
+
'WeekRegularity',
|
|
110
|
+
'YearRegularity']:
|
|
104
111
|
return value
|
|
105
112
|
|
|
106
113
|
# Only validate the 'type' property of the class
|
|
107
114
|
if "schedule_type" != "type":
|
|
108
115
|
return value
|
|
109
116
|
|
|
110
|
-
if value not in
|
|
117
|
+
if value not in ['FixedSchedule', 'FloatSchedule', 'OptionalitySchedule', 'StepSchedule', 'Exercise', 'FxRateSchedule', 'FxLinkedNotionalSchedule', 'BondConversionSchedule', 'Invalid']:
|
|
111
118
|
raise ValueError("must be one of enum values ('FixedSchedule', 'FloatSchedule', 'OptionalitySchedule', 'StepSchedule', 'Exercise', 'FxRateSchedule', 'FxLinkedNotionalSchedule', 'BondConversionSchedule', 'Invalid')")
|
|
112
119
|
return value
|
|
113
120
|
|
|
@@ -217,3 +224,5 @@ class FloatSchedule(Schedule):
|
|
|
217
224
|
_obj.additional_properties[_key] = obj.get(_key)
|
|
218
225
|
|
|
219
226
|
return _obj
|
|
227
|
+
|
|
228
|
+
FloatSchedule.update_forward_refs()
|
lusid/models/floating_leg.py
CHANGED
|
@@ -17,9 +17,11 @@ import pprint
|
|
|
17
17
|
import re # noqa: F401
|
|
18
18
|
import json
|
|
19
19
|
|
|
20
|
+
|
|
21
|
+
from typing import List, Dict, Optional, Any, Union, TYPE_CHECKING
|
|
22
|
+
from typing_extensions import Annotated
|
|
23
|
+
from pydantic.v1 import BaseModel, StrictStr, StrictInt, StrictBool, StrictFloat, StrictBytes, Field, validator, ValidationError, conlist, constr
|
|
20
24
|
from datetime import datetime
|
|
21
|
-
from typing import Any, Dict, Optional, Union
|
|
22
|
-
from pydantic.v1 import StrictStr, Field, Field, StrictFloat, StrictInt, StrictStr, validator
|
|
23
25
|
from lusid.models.fixed_leg_all_of_overrides import FixedLegAllOfOverrides
|
|
24
26
|
from lusid.models.instrument_leg import InstrumentLeg
|
|
25
27
|
from lusid.models.leg_definition import LegDefinition
|
|
@@ -29,14 +31,14 @@ class FloatingLeg(InstrumentLeg):
|
|
|
29
31
|
"""
|
|
30
32
|
LUSID representation of a Floating Rate Leg. # noqa: E501
|
|
31
33
|
"""
|
|
32
|
-
start_date: datetime = Field(
|
|
33
|
-
maturity_date: datetime = Field(
|
|
34
|
-
leg_definition: LegDefinition = Field(
|
|
35
|
-
notional: Union[StrictFloat, StrictInt] = Field(
|
|
34
|
+
start_date: datetime = Field(description="The start date of the instrument. This is normally synonymous with the trade-date.", alias="startDate")
|
|
35
|
+
maturity_date: datetime = Field(description="The final maturity date of the instrument. This means the last date on which the instruments makes a payment of any amount. For the avoidance of doubt, that is not necessarily prior to its last sensitivity date for the purposes of risk; e.g. instruments such as Constant Maturity Swaps (CMS) often have sensitivities to rates that may well be observed or set prior to the maturity date, but refer to a termination date beyond it.", alias="maturityDate")
|
|
36
|
+
leg_definition: LegDefinition = Field(alias="legDefinition")
|
|
37
|
+
notional: Union[StrictFloat, StrictInt] = Field(description="Scaling factor to apply to leg quantities.")
|
|
36
38
|
overrides: Optional[FixedLegAllOfOverrides] = None
|
|
37
|
-
cap_rate: Optional[Union[StrictFloat, StrictInt]] = Field(None,
|
|
38
|
-
floor_rate: Optional[Union[StrictFloat, StrictInt]] = Field(None,
|
|
39
|
-
time_zone_conventions: Optional[TimeZoneConventions] = Field(None, alias="timeZoneConventions")
|
|
39
|
+
cap_rate: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The maximum floating rate which a cashflow can accrue.", alias="capRate")
|
|
40
|
+
floor_rate: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The minimum floating rate which a cashflow can accrue.", alias="floorRate")
|
|
41
|
+
time_zone_conventions: Optional[TimeZoneConventions] = Field(default=None, alias="timeZoneConventions")
|
|
40
42
|
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, LoanFacility, FlexibleDeposit, FlexibleRepo")
|
|
41
43
|
additional_properties: Dict[str, Any] = {}
|
|
42
44
|
__properties = ["instrumentType", "startDate", "maturityDate", "legDefinition", "notional", "overrides", "capRate", "floorRate", "timeZoneConventions"]
|
|
@@ -91,14 +93,19 @@ class FloatingLeg(InstrumentLeg):
|
|
|
91
93
|
'SchedulerJobResponse',
|
|
92
94
|
'SleepResponse',
|
|
93
95
|
'Library',
|
|
94
|
-
'LibraryResponse'
|
|
96
|
+
'LibraryResponse',
|
|
97
|
+
'DayRegularity',
|
|
98
|
+
'RelativeMonthRegularity',
|
|
99
|
+
'SpecificMonthRegularity',
|
|
100
|
+
'WeekRegularity',
|
|
101
|
+
'YearRegularity']:
|
|
95
102
|
return value
|
|
96
103
|
|
|
97
104
|
# Only validate the 'type' property of the class
|
|
98
105
|
if "instrument_type" != "type":
|
|
99
106
|
return value
|
|
100
107
|
|
|
101
|
-
if value not in
|
|
108
|
+
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', 'LoanFacility', 'FlexibleDeposit', 'FlexibleRepo']:
|
|
102
109
|
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', 'LoanFacility', 'FlexibleDeposit', 'FlexibleRepo')")
|
|
103
110
|
return value
|
|
104
111
|
|
|
@@ -192,3 +199,5 @@ class FloatingLeg(InstrumentLeg):
|
|
|
192
199
|
_obj.additional_properties[_key] = obj.get(_key)
|
|
193
200
|
|
|
194
201
|
return _obj
|
|
202
|
+
|
|
203
|
+
FloatingLeg.update_forward_refs()
|
|
@@ -18,8 +18,10 @@ import re # noqa: F401
|
|
|
18
18
|
import json
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
from typing import
|
|
22
|
-
from
|
|
21
|
+
from typing import List, Dict, Optional, Any, Union, TYPE_CHECKING
|
|
22
|
+
from typing_extensions import Annotated
|
|
23
|
+
from pydantic.v1 import BaseModel, StrictStr, StrictInt, StrictBool, StrictFloat, StrictBytes, Field, validator, ValidationError, conlist, constr
|
|
24
|
+
from datetime import datetime
|
|
23
25
|
|
|
24
26
|
class FlowConventionName(BaseModel):
|
|
25
27
|
"""
|
|
@@ -84,3 +86,5 @@ class FlowConventionName(BaseModel):
|
|
|
84
86
|
"tenor": obj.get("tenor")
|
|
85
87
|
})
|
|
86
88
|
return _obj
|
|
89
|
+
|
|
90
|
+
FlowConventionName.update_forward_refs()
|
lusid/models/flow_conventions.py
CHANGED
|
@@ -18,8 +18,10 @@ import re # noqa: F401
|
|
|
18
18
|
import json
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
from typing import
|
|
22
|
-
from
|
|
21
|
+
from typing import List, Dict, Optional, Any, Union, TYPE_CHECKING
|
|
22
|
+
from typing_extensions import Annotated
|
|
23
|
+
from pydantic.v1 import BaseModel, StrictStr, StrictInt, StrictBool, StrictFloat, StrictBytes, Field, validator, ValidationError, conlist, constr
|
|
24
|
+
from datetime import datetime
|
|
23
25
|
from lusid.models.relative_date_offset import RelativeDateOffset
|
|
24
26
|
|
|
25
27
|
class FlowConventions(BaseModel):
|
|
@@ -30,15 +32,15 @@ class FlowConventions(BaseModel):
|
|
|
30
32
|
payment_frequency: StrictStr = Field(...,alias="paymentFrequency", description="When generating a multiperiod flow, or when the maturity of the flow is not given but the start date is, the tenor is the time-step from the anchor-date to the nominal maturity of the flow prior to any adjustment. For more information on tenors, see [knowledge base article KA-02097](https://support.lusid.com/knowledgebase/article/KA-02097)")
|
|
31
33
|
day_count_convention: StrictStr = Field(...,alias="dayCountConvention", description="when calculating the fraction of a year between two dates, what convention is used to represent the number of days in a year and difference between them. For more information on day counts, see [knowledge base article KA-01798](https://support.lusid.com/knowledgebase/article/KA-01798) Supported string (enumeration) values are: [Actual360, Act360, MoneyMarket, Actual365, Act365, Thirty360, ThirtyU360, Bond, ThirtyE360, EuroBond, ActualActual, ActAct, ActActIsda, ActActIsma, ActActIcma, OneOne, Act364, Act365F, Act365L, Act365_25, Act252, Bus252, NL360, NL365, ActActAFB, Act365Cad, ThirtyActIsda, Thirty365Isda, ThirtyEActIsda, ThirtyE360Isda, ThirtyE365Isda, ThirtyU360EOM].")
|
|
32
34
|
roll_convention: StrictStr = Field(...,alias="rollConvention", description="For backward compatibility, this can either specify a business day convention or a roll convention. If the business day convention is provided using the BusinessDayConvention property, this must be a valid roll convention. When used as a roll convention: The conventions specifying the rule used to generate dates in a schedule. Supported string (enumeration) values are: [None, EndOfMonth, IMM, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, FirstMonday, FirstTuesday, FirstWednesday, FirstThursday, FirstFriday, SecondMonday, SecondTuesday, SecondWednesday, SecondThursday, SecondFriday, ThirdMonday, ThirdTuesday, ThirdWednesday, ThirdThursday, ThirdFriday, FourthMonday, FourthTuesday, FourthWednesday, FourthThursday, FourthFriday, LastMonday, LastTuesday, LastWednesday, LastThursday, LastFriday]. When in backward compatible mode: Supported string (enumeration) values are: [NoAdjustment, None, Previous, P, Following, F, ModifiedPrevious, MP, ModifiedFollowing, MF, HalfMonthModifiedFollowing].")
|
|
33
|
-
payment_calendars:
|
|
34
|
-
reset_calendars:
|
|
35
|
-
settle_days: Optional[StrictInt] = Field(None,
|
|
36
|
-
reset_days: Optional[StrictInt] = Field(None,
|
|
37
|
-
leap_days_included: Optional[StrictBool] = Field(None,
|
|
35
|
+
payment_calendars: List[StrictStr] = Field(description="An array of strings denoting holiday calendars that apply to generation of payment schedules.", alias="paymentCalendars")
|
|
36
|
+
reset_calendars: List[StrictStr] = Field(description="An array of strings denoting holiday calendars that apply to generation of reset schedules.", alias="resetCalendars")
|
|
37
|
+
settle_days: Optional[StrictInt] = Field(default=None, description="DEPRECATED Number of Good Business Days between the trade date and the effective or settlement date of the instrument. This field is now deprecated and not picked up in schedule generation or adjustment to bond accrual start date. Defaulted to 0 if not set.", alias="settleDays")
|
|
38
|
+
reset_days: Optional[StrictInt] = Field(default=None, description="The number of Good Business Days between determination and payment of reset. Defaulted to 0 if not set.", alias="resetDays")
|
|
39
|
+
leap_days_included: Optional[StrictBool] = Field(default=None, description="If this flag is set to true, the 29th of February is included in the date schedule when the business roll convention is applied. If this flag is set to false, the business roll convention ignores February 29 for date schedules, cash flow payments etc. This flag defaults to true if not specified, i.e., leap days are included in a date schedule generation.", alias="leapDaysIncluded")
|
|
38
40
|
accrual_date_adjustment: Optional[StrictStr] = Field(None,alias="accrualDateAdjustment", description="Indicates if the accrual dates are adjusted using the business day convention. The default value is 'Adjusted'. Supported string (enumeration) values are: [Adjusted, Unadjusted].")
|
|
39
41
|
business_day_convention: Optional[StrictStr] = Field(None,alias="businessDayConvention", description="When generating a set of dates, what convention should be used for adjusting dates that coincide with a non-business day. Supported string (enumeration) values are: [NoAdjustment, None, Previous, P, Following, F, ModifiedPrevious, MP, ModifiedFollowing, MF, HalfMonthModifiedFollowing, Nearest]. If not set, defaults to the value of RollConvention.")
|
|
40
42
|
accrual_day_count_convention: Optional[StrictStr] = Field(None,alias="accrualDayCountConvention", description="Optional, if not set the main DayCountConvention is used for all accrual calculations. This only needs to be set when accrual uses a different day count to the coupon calculation.")
|
|
41
|
-
coupon_payment_lag: Optional[RelativeDateOffset] = Field(None, alias="couponPaymentLag")
|
|
43
|
+
coupon_payment_lag: Optional[RelativeDateOffset] = Field(default=None, alias="couponPaymentLag")
|
|
42
44
|
scope: Optional[StrictStr] = Field(None,alias="scope", description="The scope used when updating or inserting the convention.")
|
|
43
45
|
code: Optional[StrictStr] = Field(None,alias="code", description="The code of the convention.")
|
|
44
46
|
__properties = ["currency", "paymentFrequency", "dayCountConvention", "rollConvention", "paymentCalendars", "resetCalendars", "settleDays", "resetDays", "leapDaysIncluded", "accrualDateAdjustment", "businessDayConvention", "accrualDayCountConvention", "couponPaymentLag", "scope", "code"]
|
|
@@ -137,3 +139,5 @@ class FlowConventions(BaseModel):
|
|
|
137
139
|
"code": obj.get("code")
|
|
138
140
|
})
|
|
139
141
|
return _obj
|
|
142
|
+
|
|
143
|
+
FlowConventions.update_forward_refs()
|