lusid-sdk 2.1.728__py3-none-any.whl → 2.1.730__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (95) hide show
  1. lusid/api/abor_api.py +8 -8
  2. lusid/api/abor_configuration_api.py +4 -4
  3. lusid/api/address_key_definition_api.py +4 -4
  4. lusid/api/allocations_api.py +4 -4
  5. lusid/api/amortisation_rule_sets_api.py +4 -4
  6. lusid/api/blocks_api.py +4 -4
  7. lusid/api/calendars_api.py +8 -8
  8. lusid/api/chart_of_accounts_api.py +28 -28
  9. lusid/api/compliance_api.py +12 -12
  10. lusid/api/corporate_action_sources_api.py +16 -16
  11. lusid/api/custom_entities_api.py +4 -4
  12. lusid/api/custom_entity_definitions_api.py +4 -4
  13. lusid/api/custom_entity_types_api.py +4 -4
  14. lusid/api/data_types_api.py +4 -4
  15. lusid/api/entities_api.py +4 -4
  16. lusid/api/executions_api.py +4 -4
  17. lusid/api/fee_types_api.py +4 -4
  18. lusid/api/fund_configuration_api.py +4 -4
  19. lusid/api/funds_api.py +24 -24
  20. lusid/api/group_reconciliations_api.py +12 -12
  21. lusid/api/identifier_definitions_api.py +4 -4
  22. lusid/api/instrument_event_types_api.py +8 -8
  23. lusid/api/instruments_api.py +12 -12
  24. lusid/api/legacy_compliance_api.py +16 -16
  25. lusid/api/legal_entities_api.py +12 -12
  26. lusid/api/order_graph_api.py +12 -12
  27. lusid/api/order_instructions_api.py +4 -4
  28. lusid/api/order_management_api.py +4 -4
  29. lusid/api/orders_api.py +4 -4
  30. lusid/api/packages_api.py +4 -4
  31. lusid/api/participations_api.py +4 -4
  32. lusid/api/persons_api.py +12 -12
  33. lusid/api/placements_api.py +4 -4
  34. lusid/api/portfolio_groups_api.py +8 -8
  35. lusid/api/portfolios_api.py +24 -24
  36. lusid/api/property_definitions_api.py +8 -8
  37. lusid/api/reconciliations_api.py +4 -4
  38. lusid/api/reference_lists_api.py +4 -4
  39. lusid/api/scopes_api.py +4 -4
  40. lusid/api/scripted_translation_api.py +8 -8
  41. lusid/api/sequences_api.py +8 -8
  42. lusid/api/staged_modifications_api.py +8 -8
  43. lusid/api/staging_rule_set_api.py +4 -4
  44. lusid/api/structured_result_data_api.py +4 -4
  45. lusid/api/timelines_api.py +4 -4
  46. lusid/api/transaction_fees_api.py +4 -4
  47. lusid/api/transaction_portfolios_api.py +8 -8
  48. lusid/api/workspace_api.py +16 -16
  49. lusid/configuration.py +1 -1
  50. lusid/models/access_metadata_operation.py +1 -1
  51. lusid/models/address_key_list.py +1 -1
  52. lusid/models/block_and_orders_create_request.py +1 -1
  53. lusid/models/book_transactions_request.py +1 -1
  54. lusid/models/create_corporate_action_source_request.py +1 -1
  55. lusid/models/create_derived_transaction_portfolio_request.py +1 -1
  56. lusid/models/create_group_reconciliation_comparison_ruleset_request.py +2 -2
  57. lusid/models/create_reference_portfolio_request.py +1 -1
  58. lusid/models/create_simple_position_portfolio_request.py +2 -2
  59. lusid/models/create_tax_rule_set_request.py +1 -1
  60. lusid/models/create_transaction_portfolio_request.py +2 -2
  61. lusid/models/day_month.py +2 -2
  62. lusid/models/decimal_list.py +1 -1
  63. lusid/models/fee_type_request.py +1 -1
  64. lusid/models/fund.py +1 -1
  65. lusid/models/fund_id_list.py +1 -1
  66. lusid/models/fund_request.py +2 -2
  67. lusid/models/general_ledger_profile_mapping.py +1 -1
  68. lusid/models/general_ledger_profile_request.py +1 -1
  69. lusid/models/general_ledger_profile_response.py +1 -1
  70. lusid/models/group_reconciliation_definition_portfolio_entity_ids.py +2 -2
  71. lusid/models/holding_ids_request.py +1 -1
  72. lusid/models/id_selector_definition.py +1 -1
  73. lusid/models/instrument_event_configuration.py +1 -1
  74. lusid/models/instrument_list.py +1 -1
  75. lusid/models/label_value_set.py +1 -1
  76. lusid/models/move_orders_to_different_blocks_request.py +1 -1
  77. lusid/models/place_blocks_request.py +1 -1
  78. lusid/models/portfolio_group_id_list.py +1 -1
  79. lusid/models/portfolio_id_list.py +1 -1
  80. lusid/models/pricing_options.py +1 -3
  81. lusid/models/property_list.py +1 -1
  82. lusid/models/rules_interval.py +1 -1
  83. lusid/models/set_share_class_instruments_request.py +1 -1
  84. lusid/models/settlement_cycle.py +1 -1
  85. lusid/models/strategy.py +1 -1
  86. lusid/models/string_list.py +1 -1
  87. lusid/models/tax_rule.py +1 -1
  88. lusid/models/tax_rule_set.py +1 -1
  89. lusid/models/transaction_type_movement.py +1 -1
  90. lusid/models/update_fee_type_request.py +1 -1
  91. lusid/models/update_group_reconciliation_comparison_ruleset_request.py +2 -2
  92. lusid/models/update_tax_rule_set_request.py +1 -1
  93. {lusid_sdk-2.1.728.dist-info → lusid_sdk-2.1.730.dist-info}/METADATA +1 -1
  94. {lusid_sdk-2.1.728.dist-info → lusid_sdk-2.1.730.dist-info}/RECORD +95 -95
  95. {lusid_sdk-2.1.728.dist-info → lusid_sdk-2.1.730.dist-info}/WHEEL +0 -0
@@ -27,7 +27,7 @@ class IdSelectorDefinition(BaseModel):
27
27
  IdSelectorDefinition
28
28
  """
29
29
  identifier: Dict[str, StrictStr] = Field(...)
30
- actions: conlist(ActionId, min_items=1) = Field(...)
30
+ actions: conlist(ActionId) = Field(...)
31
31
  name: Optional[StrictStr] = Field(None,alias="name")
32
32
  description: Optional[StrictStr] = Field(None,alias="description")
33
33
  __properties = ["identifier", "actions", "name", "description"]
@@ -26,7 +26,7 @@ class InstrumentEventConfiguration(BaseModel):
26
26
  """
27
27
  InstrumentEventConfiguration
28
28
  """
29
- transaction_template_scopes: Optional[conlist(StrictStr, max_items=1)] = Field(None, alias="transactionTemplateScopes")
29
+ transaction_template_scopes: Optional[conlist(StrictStr)] = Field(None, alias="transactionTemplateScopes")
30
30
  recipe_id: Optional[ResourceId] = Field(None, alias="recipeId")
31
31
  __properties = ["transactionTemplateScopes", "recipeId"]
32
32
 
@@ -26,7 +26,7 @@ class InstrumentList(ReferenceList):
26
26
  """
27
27
  InstrumentList
28
28
  """
29
- values: conlist(StrictStr, max_items=10000, min_items=0) = Field(...)
29
+ values: conlist(StrictStr) = Field(...)
30
30
  reference_list_type: StrictStr = Field(...,alias="referenceListType", description="The reference list values. The available values are: PortfolioGroupIdList, PortfolioIdList, AddressKeyList, StringList, InstrumentList, DecimalList, PropertyList, FundIdList")
31
31
  additional_properties: Dict[str, Any] = {}
32
32
  __properties = ["referenceListType", "values"]
@@ -25,7 +25,7 @@ class LabelValueSet(BaseModel):
25
25
  """
26
26
  The set of string labels in a multi-value property. # noqa: E501
27
27
  """
28
- values: conlist(StrictStr, min_items=1) = Field(...)
28
+ values: conlist(StrictStr) = Field(...)
29
29
  __properties = ["values"]
30
30
 
31
31
  class Config:
@@ -26,7 +26,7 @@ class MoveOrdersToDifferentBlocksRequest(BaseModel):
26
26
  """
27
27
  MoveOrdersToDifferentBlocksRequest
28
28
  """
29
- requests: conlist(BlockAndOrderIdRequest, max_items=100, min_items=1) = Field(..., description="A collection of BlockAndOrderId.")
29
+ requests: conlist(BlockAndOrderIdRequest) = Field(..., description="A collection of BlockAndOrderId.")
30
30
  __properties = ["requests"]
31
31
 
32
32
  class Config:
@@ -26,7 +26,7 @@ class PlaceBlocksRequest(BaseModel):
26
26
  """
27
27
  PlaceBlocksRequest
28
28
  """
29
- requests: conlist(PlacementRequest, max_items=100, min_items=1) = Field(..., description="A collection of PlacementRequest.")
29
+ requests: conlist(PlacementRequest) = Field(..., description="A collection of PlacementRequest.")
30
30
  __properties = ["requests"]
31
31
 
32
32
  class Config:
@@ -27,7 +27,7 @@ class PortfolioGroupIdList(ReferenceList):
27
27
  """
28
28
  PortfolioGroupIdList
29
29
  """
30
- values: conlist(ResourceId, max_items=10000) = Field(...)
30
+ values: conlist(ResourceId) = Field(...)
31
31
  reference_list_type: StrictStr = Field(...,alias="referenceListType", description="The reference list values. The available values are: PortfolioGroupIdList, PortfolioIdList, AddressKeyList, StringList, InstrumentList, DecimalList, PropertyList, FundIdList")
32
32
  additional_properties: Dict[str, Any] = {}
33
33
  __properties = ["referenceListType", "values"]
@@ -27,7 +27,7 @@ class PortfolioIdList(ReferenceList):
27
27
  """
28
28
  PortfolioIdList
29
29
  """
30
- values: conlist(ResourceId, max_items=10000) = Field(...)
30
+ values: conlist(ResourceId) = Field(...)
31
31
  reference_list_type: StrictStr = Field(...,alias="referenceListType", description="The reference list values. The available values are: PortfolioGroupIdList, PortfolioIdList, AddressKeyList, StringList, InstrumentList, DecimalList, PropertyList, FundIdList")
32
32
  additional_properties: Dict[str, Any] = {}
33
33
  __properties = ["referenceListType", "values"]
@@ -37,10 +37,9 @@ class PricingOptions(BaseModel):
37
37
  remove_contingent_cashflows_in_payment_diary: Optional[StrictBool] = Field(None, alias="removeContingentCashflowsInPaymentDiary", description="When creating a payment diary, should contingent cash payments (e.g. from exercise of a swaption into a swap) be included or not. i.e. Is exercise or default being assumed to happen or not.")
38
38
  use_child_sub_holding_keys_for_portfolio_expansion: Optional[StrictBool] = Field(None, alias="useChildSubHoldingKeysForPortfolioExpansion", description="Should fund constituents inherit subholding keys from the parent subholding keyb")
39
39
  validate_domestic_and_quote_currencies_are_consistent: Optional[StrictBool] = Field(None, alias="validateDomesticAndQuoteCurrenciesAreConsistent", description="Do we validate that the instrument domestic currency matches the quote currency (unless unknown/zzz) when using lookup pricing.")
40
- mbs_valuation_using_holding_current_face: Optional[StrictBool] = Field(None, alias="mbsValuationUsingHoldingCurrentFace")
41
40
  conserved_quantity_for_lookthrough_expansion: Optional[StrictStr] = Field(None,alias="conservedQuantityForLookthroughExpansion", description="When performing lookthrough portfolio expansion with ScalingMethodology set to \"Sum\" or \"AbsoluteSum\", the quantity specified here will be conserved and apportioned to lookthrough constituents. For example, an equal-weighting index with 100 constituents can be modelled as a reference portfolio with 1% weights on each equity. When expanding a $9000 holding of that index into its constituents while conserving PV, we end up with $90 of each equity. The number of units of each equity held is then implied. Note that conservation of one quantity may imply non-conservation of others, especially when some constituents are OTCs. Allowed values are: \"PV\" (default), \"Exposure\".")
42
41
  return_zero_pv: Optional[ReturnZeroPvOptions] = Field(None, alias="returnZeroPv")
43
- __properties = ["modelSelection", "useInstrumentTypeToDeterminePricer", "allowAnyInstrumentsWithSecUidToPriceOffLookup", "allowPartiallySuccessfulEvaluation", "produceSeparateResultForLinearOtcLegs", "enableUseOfCachedUnitResults", "windowValuationOnInstrumentStartEnd", "removeContingentCashflowsInPaymentDiary", "useChildSubHoldingKeysForPortfolioExpansion", "validateDomesticAndQuoteCurrenciesAreConsistent", "mbsValuationUsingHoldingCurrentFace", "conservedQuantityForLookthroughExpansion", "returnZeroPv"]
42
+ __properties = ["modelSelection", "useInstrumentTypeToDeterminePricer", "allowAnyInstrumentsWithSecUidToPriceOffLookup", "allowPartiallySuccessfulEvaluation", "produceSeparateResultForLinearOtcLegs", "enableUseOfCachedUnitResults", "windowValuationOnInstrumentStartEnd", "removeContingentCashflowsInPaymentDiary", "useChildSubHoldingKeysForPortfolioExpansion", "validateDomesticAndQuoteCurrenciesAreConsistent", "conservedQuantityForLookthroughExpansion", "returnZeroPv"]
44
43
 
45
44
  class Config:
46
45
  """Pydantic configuration"""
@@ -107,7 +106,6 @@ class PricingOptions(BaseModel):
107
106
  "remove_contingent_cashflows_in_payment_diary": obj.get("removeContingentCashflowsInPaymentDiary"),
108
107
  "use_child_sub_holding_keys_for_portfolio_expansion": obj.get("useChildSubHoldingKeysForPortfolioExpansion"),
109
108
  "validate_domestic_and_quote_currencies_are_consistent": obj.get("validateDomesticAndQuoteCurrenciesAreConsistent"),
110
- "mbs_valuation_using_holding_current_face": obj.get("mbsValuationUsingHoldingCurrentFace"),
111
109
  "conserved_quantity_for_lookthrough_expansion": obj.get("conservedQuantityForLookthroughExpansion"),
112
110
  "return_zero_pv": ReturnZeroPvOptions.from_dict(obj.get("returnZeroPv")) if obj.get("returnZeroPv") is not None else None
113
111
  })
@@ -27,7 +27,7 @@ class PropertyList(ReferenceList):
27
27
  """
28
28
  PropertyList
29
29
  """
30
- values: conlist(ModelProperty, max_items=10000, min_items=0) = Field(...)
30
+ values: conlist(ModelProperty) = Field(...)
31
31
  reference_list_type: StrictStr = Field(...,alias="referenceListType", description="The reference list values. The available values are: PortfolioGroupIdList, PortfolioIdList, AddressKeyList, StringList, InstrumentList, DecimalList, PropertyList, FundIdList")
32
32
  additional_properties: Dict[str, Any] = {}
33
33
  __properties = ["referenceListType", "values"]
@@ -28,7 +28,7 @@ class RulesInterval(BaseModel):
28
28
  RulesInterval
29
29
  """
30
30
  effective_range: DateRange = Field(..., alias="effectiveRange")
31
- rules: conlist(AmortisationRule, max_items=100) = Field(..., description="The rules of this rule set.")
31
+ rules: conlist(AmortisationRule) = Field(..., description="The rules of this rule set.")
32
32
  __properties = ["effectiveRange", "rules"]
33
33
 
34
34
  class Config:
@@ -26,7 +26,7 @@ class SetShareClassInstrumentsRequest(BaseModel):
26
26
  """
27
27
  The request used to create a Fund. # noqa: E501
28
28
  """
29
- share_class_instrument_scopes: conlist(StrictStr, max_items=1) = Field(..., alias="shareClassInstrumentScopes", description="The scopes in which the instruments lie, currently limited to one.")
29
+ share_class_instrument_scopes: conlist(StrictStr) = Field(..., alias="shareClassInstrumentScopes", description="The scopes in which the instruments lie, currently limited to one.")
30
30
  share_class_instruments: conlist(InstrumentResolutionDetail) = Field(..., alias="shareClassInstruments", description="Details the user-provided instrument identifiers and the instrument resolved from them.")
31
31
  __properties = ["shareClassInstrumentScopes", "shareClassInstruments"]
32
32
 
@@ -26,7 +26,7 @@ class SettlementCycle(BaseModel):
26
26
  """
27
27
  The settlement cycle for an instrument # noqa: E501
28
28
  """
29
- business_day_offset: conint(strict=True, le=2147483647, ge=0) = Field(..., alias="businessDayOffset")
29
+ business_day_offset: conint(strict=True) = Field(..., alias="businessDayOffset")
30
30
  calendars: conlist(ResourceId) = Field(...)
31
31
  __properties = ["businessDayOffset", "calendars"]
32
32
 
lusid/models/strategy.py CHANGED
@@ -26,7 +26,7 @@ class Strategy(BaseModel):
26
26
  """
27
27
  Strategy
28
28
  """
29
- keys: conlist(PerpetualProperty, min_items=1) = Field(...)
29
+ keys: conlist(PerpetualProperty) = Field(...)
30
30
  value_type: StrictStr = Field(...,alias="valueType")
31
31
  value: Union[StrictFloat, StrictInt] = Field(...)
32
32
  __properties = ["keys", "valueType", "value"]
@@ -26,7 +26,7 @@ class StringList(ReferenceList):
26
26
  """
27
27
  StringList
28
28
  """
29
- values: conlist(StrictStr, max_items=10000, min_items=0) = Field(...)
29
+ values: conlist(StrictStr) = Field(...)
30
30
  reference_list_type: StrictStr = Field(...,alias="referenceListType", description="The reference list values. The available values are: PortfolioGroupIdList, PortfolioIdList, AddressKeyList, StringList, InstrumentList, DecimalList, PropertyList, FundIdList")
31
31
  additional_properties: Dict[str, Any] = {}
32
32
  __properties = ["referenceListType", "values"]
lusid/models/tax_rule.py CHANGED
@@ -29,7 +29,7 @@ class TaxRule(BaseModel):
29
29
  name: StrictStr = Field(...,alias="name", description="A user-friendly name")
30
30
  description: StrictStr = Field(...,alias="description", description="A description for this rule")
31
31
  rate: Union[StrictFloat, StrictInt] = Field(..., description="The rate to be applied if all criteria are met")
32
- match_criteria: conlist(MatchCriterion, max_items=20) = Field(..., alias="matchCriteria", description="A set of criteria to be met for this rule to be applied")
32
+ match_criteria: conlist(MatchCriterion) = Field(..., alias="matchCriteria", description="A set of criteria to be met for this rule to be applied")
33
33
  __properties = ["name", "description", "rate", "matchCriteria"]
34
34
 
35
35
  class Config:
@@ -33,7 +33,7 @@ class TaxRuleSet(BaseModel):
33
33
  display_name: StrictStr = Field(...,alias="displayName", description="A user-friendly name")
34
34
  description: StrictStr = Field(...,alias="description", description="A description of what this rule set is for")
35
35
  output_property_key: StrictStr = Field(...,alias="outputPropertyKey", description="The property key that this rule set will write to")
36
- rules: conlist(TaxRule, max_items=100) = Field(..., description="The rules of this rule set, which stipulate what rate to apply (i.e. write to the OutputPropertyKey) under certain conditions")
36
+ rules: conlist(TaxRule) = Field(..., description="The rules of this rule set, which stipulate what rate to apply (i.e. write to the OutputPropertyKey) under certain conditions")
37
37
  version: Optional[Version] = None
38
38
  links: Optional[conlist(Link)] = None
39
39
  __properties = ["id", "displayName", "description", "outputPropertyKey", "rules", "version", "links"]
@@ -31,7 +31,7 @@ class TransactionTypeMovement(BaseModel):
31
31
  side: StrictStr = Field(...,alias="side", description="The Side determines which of the fields from our transaction are used to generate the Movement. Side1 means the 'security' side of the transaction, ie the Instrument and Units; Side2 means the 'cash' side, ie the Total Consideration")
32
32
  direction: StrictInt = Field(..., description=" A multiplier to apply to Transaction amounts; the values are -1 to indicate to reverse the signs and 1 to indicate to use the signed values from the Transaction directly. For a typical Transaction with unsigned values, 1 means increase, -1 means decrease")
33
33
  properties: Optional[Dict[str, PerpetualProperty]] = Field(None, description="The properties associated with the underlying Movement")
34
- mappings: Optional[conlist(TransactionTypePropertyMapping, max_items=5000)] = Field(None, description="This allows you to map a transaction property to a property on the underlying holding")
34
+ mappings: Optional[conlist(TransactionTypePropertyMapping)] = Field(None, description="This allows you to map a transaction property to a property on the underlying holding")
35
35
  name: Optional[StrictStr] = Field(None,alias="name", description="The movement name (optional)")
36
36
  movement_options: Optional[conlist(StrictStr)] = Field(None, alias="movementOptions", description="Allows extra specifications for the movement. The options currently available are 'DirectAdjustment', 'IncludesTradedInterest' and 'Virtual' (works only with the movement type 'StockMovement'). A movement type of 'StockMovement' with an option of 'DirectAdjusment' will allow you to adjust the units of a holding without affecting its cost base. You will, therefore, be able to reflect the impact of a stock split by loading a Transaction.")
37
37
  settlement_date_override: Optional[StrictStr] = Field(None,alias="settlementDateOverride", description="Optional property key that must be in the Transaction domain when specified. When the movement is processed and the transaction has this property set to a valid date, then the property value will override the SettlementDate of the transaction.")
@@ -28,7 +28,7 @@ class UpdateFeeTypeRequest(BaseModel):
28
28
  """
29
29
  display_name: StrictStr = Field(...,alias="displayName", description="The name of the fee type.")
30
30
  description: Optional[StrictStr] = Field(None,alias="description", description="The description of the fee type.")
31
- component_transactions: conlist(ComponentTransaction, max_items=1000) = Field(..., alias="componentTransactions", description="A set of component transactions that relate to the fee type to be created.")
31
+ component_transactions: conlist(ComponentTransaction) = Field(..., alias="componentTransactions", description="A set of component transactions that relate to the fee type to be created.")
32
32
  __properties = ["displayName", "description", "componentTransactions"]
33
33
 
34
34
  class Config:
@@ -29,8 +29,8 @@ class UpdateGroupReconciliationComparisonRulesetRequest(BaseModel):
29
29
  """
30
30
  display_name: StrictStr = Field(...,alias="displayName", description="The name of the ruleset")
31
31
  reconciliation_type: StrictStr = Field(...,alias="reconciliationType", description="The type of reconciliation to perform. \"Holding\" | \"Transaction\" | \"Valuation\"")
32
- core_attribute_rules: conlist(GroupReconciliationCoreAttributeRule, min_items=1) = Field(..., alias="coreAttributeRules", description="The core comparison rules")
33
- aggregate_attribute_rules: conlist(GroupReconciliationAggregateAttributeRule, min_items=1) = Field(..., alias="aggregateAttributeRules", description="The aggregate comparison rules")
32
+ core_attribute_rules: conlist(GroupReconciliationCoreAttributeRule) = Field(..., alias="coreAttributeRules", description="The core comparison rules")
33
+ aggregate_attribute_rules: conlist(GroupReconciliationAggregateAttributeRule) = Field(..., alias="aggregateAttributeRules", description="The aggregate comparison rules")
34
34
  __properties = ["displayName", "reconciliationType", "coreAttributeRules", "aggregateAttributeRules"]
35
35
 
36
36
  class Config:
@@ -28,7 +28,7 @@ class UpdateTaxRuleSetRequest(BaseModel):
28
28
  """
29
29
  display_name: StrictStr = Field(...,alias="displayName", description="")
30
30
  description: StrictStr = Field(...,alias="description", description="")
31
- rules: conlist(TaxRule, max_items=100) = Field(...)
31
+ rules: conlist(TaxRule) = Field(...)
32
32
  __properties = ["displayName", "description", "rules"]
33
33
 
34
34
  class Config:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: lusid-sdk
3
- Version: 2.1.728
3
+ Version: 2.1.730
4
4
  Summary: LUSID API
5
5
  Home-page: https://github.com/finbourne/lusid-sdk-python
6
6
  License: MIT