lusid-sdk 2.1.590__py3-none-any.whl → 2.1.637__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 (154) hide show
  1. lusid/__init__.py +42 -0
  2. lusid/api/__init__.py +2 -0
  3. lusid/api/chart_of_accounts_api.py +6 -6
  4. lusid/api/corporate_action_sources_api.py +6 -6
  5. lusid/api/entities_api.py +24 -24
  6. lusid/api/funds_api.py +438 -1
  7. lusid/api/order_management_api.py +16 -8
  8. lusid/api/staged_modifications_api.py +12 -12
  9. lusid/api/timelines_api.py +1094 -0
  10. lusid/api/transaction_portfolios_api.py +189 -6
  11. lusid/api/workspace_api.py +96 -48
  12. lusid/configuration.py +1 -1
  13. lusid/models/__init__.py +40 -0
  14. lusid/models/accounted_transaction.py +88 -0
  15. lusid/models/accumulation_event.py +3 -3
  16. lusid/models/adjust_global_commitment_event.py +93 -0
  17. lusid/models/amortisation_event.py +3 -3
  18. lusid/models/basket.py +3 -3
  19. lusid/models/bond.py +11 -5
  20. lusid/models/bond_coupon_event.py +3 -3
  21. lusid/models/bond_default_event.py +3 -3
  22. lusid/models/bond_principal_event.py +3 -3
  23. lusid/models/bonus_issue_event.py +3 -3
  24. lusid/models/call_on_intermediate_securities_event.py +3 -3
  25. lusid/models/cancel_single_holding_adjustment_request.py +96 -0
  26. lusid/models/cap_floor.py +22 -7
  27. lusid/models/capital_distribution_event.py +3 -3
  28. lusid/models/cash.py +3 -3
  29. lusid/models/cash_dividend_event.py +3 -3
  30. lusid/models/cash_flow_event.py +3 -3
  31. lusid/models/cash_perpetual.py +3 -3
  32. lusid/models/cds_credit_event.py +3 -3
  33. lusid/models/cds_index.py +3 -3
  34. lusid/models/cdx_credit_event.py +3 -3
  35. lusid/models/close_event.py +3 -3
  36. lusid/models/closed_period.py +128 -0
  37. lusid/models/complete_portfolio.py +3 -3
  38. lusid/models/complex_bond.py +20 -7
  39. lusid/models/contract_details.py +101 -0
  40. lusid/models/contract_for_difference.py +3 -3
  41. lusid/models/contract_initialisation_event.py +99 -0
  42. lusid/models/create_closed_period_request.py +96 -0
  43. lusid/models/create_derived_property_definition_request.py +8 -6
  44. lusid/models/create_derived_transaction_portfolio_request.py +8 -2
  45. lusid/models/create_property_definition_request.py +3 -3
  46. lusid/models/create_timeline_request.py +102 -0
  47. lusid/models/credit_default_swap.py +3 -3
  48. lusid/models/credit_premium_cash_flow_event.py +3 -3
  49. lusid/models/dependency_source_filter.py +19 -4
  50. lusid/models/dividend_option_event.py +3 -3
  51. lusid/models/dividend_reinvestment_event.py +3 -3
  52. lusid/models/drawdown_event.py +99 -0
  53. lusid/models/early_redemption_event.py +3 -3
  54. lusid/models/eligibility_calculation.py +6 -4
  55. lusid/models/equity.py +3 -3
  56. lusid/models/equity_option.py +29 -8
  57. lusid/models/equity_swap.py +3 -3
  58. lusid/models/exchange_traded_option.py +12 -6
  59. lusid/models/exercise_event.py +3 -3
  60. lusid/models/exotic_instrument.py +3 -3
  61. lusid/models/expiry_event.py +3 -3
  62. lusid/models/fee_accrual.py +3 -1
  63. lusid/models/fixed_leg.py +3 -3
  64. lusid/models/flexible_deposit.py +105 -0
  65. lusid/models/flexible_loan.py +3 -3
  66. lusid/models/floating_leg.py +3 -3
  67. lusid/models/forward_rate_agreement.py +3 -3
  68. lusid/models/fund_share_class.py +3 -3
  69. lusid/models/funding_leg.py +3 -3
  70. lusid/models/future.py +19 -7
  71. lusid/models/future_expiry_event.py +3 -3
  72. lusid/models/future_mark_to_market_event.py +100 -0
  73. lusid/models/fx_forward.py +3 -3
  74. lusid/models/fx_forward_settlement_event.py +3 -3
  75. lusid/models/fx_option.py +3 -3
  76. lusid/models/fx_swap.py +3 -3
  77. lusid/models/group_reconciliation_summary.py +2 -2
  78. lusid/models/inflation_leg.py +3 -3
  79. lusid/models/inflation_linked_bond.py +11 -5
  80. lusid/models/inflation_swap.py +3 -3
  81. lusid/models/informational_error_event.py +3 -3
  82. lusid/models/informational_event.py +3 -3
  83. lusid/models/instrument_event.py +10 -5
  84. lusid/models/instrument_event_instruction.py +9 -2
  85. lusid/models/instrument_event_instruction_request.py +10 -3
  86. lusid/models/instrument_event_type.py +5 -0
  87. lusid/models/instrument_leg.py +3 -3
  88. lusid/models/instrument_type.py +1 -0
  89. lusid/models/interest_rate_swap.py +3 -3
  90. lusid/models/interest_rate_swaption.py +4 -4
  91. lusid/models/intermediate_securities_distribution_event.py +3 -3
  92. lusid/models/loan_facility.py +3 -3
  93. lusid/models/loan_interest_repayment_event.py +97 -0
  94. lusid/models/lusid_instrument.py +6 -5
  95. lusid/models/mark_to_market_conventions.py +74 -0
  96. lusid/models/market_data_key_rule.py +1 -1
  97. lusid/models/market_data_specific_rule.py +1 -1
  98. lusid/models/mastered_instrument.py +3 -3
  99. lusid/models/maturity_event.py +3 -3
  100. lusid/models/mbs_coupon_event.py +3 -3
  101. lusid/models/mbs_interest_deferral_event.py +3 -3
  102. lusid/models/mbs_interest_shortfall_event.py +3 -3
  103. lusid/models/mbs_principal_event.py +3 -3
  104. lusid/models/mbs_principal_write_off_event.py +3 -3
  105. lusid/models/merger_event.py +3 -3
  106. lusid/models/open_event.py +3 -3
  107. lusid/models/option_exercise_cash_event.py +3 -3
  108. lusid/models/option_exercise_physical_event.py +3 -3
  109. lusid/models/output_transaction.py +7 -1
  110. lusid/models/pnl_journal_entry_line.py +95 -0
  111. lusid/models/portfolio.py +3 -3
  112. lusid/models/portfolio_id.py +80 -0
  113. lusid/models/portfolio_search_result.py +3 -3
  114. lusid/models/portfolio_type.py +1 -0
  115. lusid/models/portfolio_without_href.py +3 -3
  116. lusid/models/property_definition.py +6 -4
  117. lusid/models/property_definition_search_result.py +6 -4
  118. lusid/models/property_domain.py +1 -0
  119. lusid/models/protection_payout_cash_flow_event.py +3 -3
  120. lusid/models/raw_vendor_event.py +3 -3
  121. lusid/models/reference_instrument.py +3 -3
  122. lusid/models/repo.py +3 -3
  123. lusid/models/reset_event.py +3 -3
  124. lusid/models/reverse_stock_split_event.py +3 -3
  125. lusid/models/scrip_dividend_event.py +3 -3
  126. lusid/models/side_definition.py +8 -1
  127. lusid/models/side_definition_request.py +9 -2
  128. lusid/models/simple_cash_flow_loan.py +3 -3
  129. lusid/models/simple_instrument.py +3 -3
  130. lusid/models/spin_off_event.py +3 -3
  131. lusid/models/stock_dividend_event.py +3 -3
  132. lusid/models/stock_split_event.py +3 -3
  133. lusid/models/swap_cash_flow_event.py +3 -3
  134. lusid/models/swap_principal_event.py +3 -3
  135. lusid/models/tender_event.py +3 -3
  136. lusid/models/term_deposit.py +3 -3
  137. lusid/models/term_deposit_interest_event.py +3 -3
  138. lusid/models/term_deposit_principal_event.py +3 -3
  139. lusid/models/timeline.py +135 -0
  140. lusid/models/total_return_swap.py +3 -3
  141. lusid/models/trading_conventions.py +73 -0
  142. lusid/models/transition_event.py +3 -3
  143. lusid/models/trigger_event.py +3 -3
  144. lusid/models/update_derived_property_definition_request.py +5 -3
  145. lusid/models/update_timeline_request.py +96 -0
  146. lusid/models/valuation_point_resource_list_of_accounted_transaction.py +125 -0
  147. lusid/models/valuation_point_resource_list_of_pnl_journal_entry_line.py +125 -0
  148. lusid/models/workspace.py +1 -1
  149. lusid/models/workspace_creation_request.py +1 -1
  150. lusid/models/workspace_item.py +4 -2
  151. lusid/models/workspace_item_creation_request.py +11 -2
  152. {lusid_sdk-2.1.590.dist-info → lusid_sdk-2.1.637.dist-info}/METADATA +40 -10
  153. {lusid_sdk-2.1.590.dist-info → lusid_sdk-2.1.637.dist-info}/RECORD +154 -133
  154. {lusid_sdk-2.1.590.dist-info → lusid_sdk-2.1.637.dist-info}/WHEEL +1 -1
@@ -33,6 +33,7 @@ from lusid.models.batch_adjust_holdings_response import BatchAdjustHoldingsRespo
33
33
  from lusid.models.batch_upsert_portfolio_transactions_response import BatchUpsertPortfolioTransactionsResponse
34
34
  from lusid.models.bucketed_cash_flow_request import BucketedCashFlowRequest
35
35
  from lusid.models.bucketed_cash_flow_response import BucketedCashFlowResponse
36
+ from lusid.models.cancel_single_holding_adjustment_request import CancelSingleHoldingAdjustmentRequest
36
37
  from lusid.models.create_portfolio_details import CreatePortfolioDetails
37
38
  from lusid.models.create_trade_tickets_response import CreateTradeTicketsResponse
38
39
  from lusid.models.create_transaction_portfolio_request import CreateTransactionPortfolioRequest
@@ -1414,6 +1415,188 @@ class TransactionPortfoliosApi:
1414
1415
  collection_formats=_collection_formats,
1415
1416
  _request_auth=_params.get('_request_auth'))
1416
1417
 
1418
+ @overload
1419
+ async def cancel_single_adjust_holding(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the transaction portfolio.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio.")], effective_at : Annotated[StrictStr, Field(..., description="The effective datetime or cut label at which the previous adjustment was made.")], cancel_single_holding_adjustment_request : Annotated[CancelSingleHoldingAdjustmentRequest, Field(..., description="The selected holding adjustment to be canceled.")], **kwargs) -> DeletedEntityResponse: # noqa: E501
1420
+ ...
1421
+
1422
+ @overload
1423
+ def cancel_single_adjust_holding(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the transaction portfolio.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio.")], effective_at : Annotated[StrictStr, Field(..., description="The effective datetime or cut label at which the previous adjustment was made.")], cancel_single_holding_adjustment_request : Annotated[CancelSingleHoldingAdjustmentRequest, Field(..., description="The selected holding adjustment to be canceled.")], async_req: Optional[bool]=True, **kwargs) -> DeletedEntityResponse: # noqa: E501
1424
+ ...
1425
+
1426
+ @validate_arguments
1427
+ def cancel_single_adjust_holding(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the transaction portfolio.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio.")], effective_at : Annotated[StrictStr, Field(..., description="The effective datetime or cut label at which the previous adjustment was made.")], cancel_single_holding_adjustment_request : Annotated[CancelSingleHoldingAdjustmentRequest, Field(..., description="The selected holding adjustment to be canceled.")], async_req: Optional[bool]=None, **kwargs) -> Union[DeletedEntityResponse, Awaitable[DeletedEntityResponse]]: # noqa: E501
1428
+ """[EARLY ACCESS] CancelSingleAdjustHolding: Cancel single holding adjustment. # noqa: E501
1429
+
1430
+ Cancel one previously sent holding adjustment without affecting the rest of the adjustment in the previous request on the specified effective datetime. # noqa: E501
1431
+ This method makes a synchronous HTTP request by default. To make an
1432
+ asynchronous HTTP request, please pass async_req=True
1433
+
1434
+ >>> thread = api.cancel_single_adjust_holding(scope, code, effective_at, cancel_single_holding_adjustment_request, async_req=True)
1435
+ >>> result = thread.get()
1436
+
1437
+ :param scope: The scope of the transaction portfolio. (required)
1438
+ :type scope: str
1439
+ :param code: The code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio. (required)
1440
+ :type code: str
1441
+ :param effective_at: The effective datetime or cut label at which the previous adjustment was made. (required)
1442
+ :type effective_at: str
1443
+ :param cancel_single_holding_adjustment_request: The selected holding adjustment to be canceled. (required)
1444
+ :type cancel_single_holding_adjustment_request: CancelSingleHoldingAdjustmentRequest
1445
+ :param async_req: Whether to execute the request asynchronously.
1446
+ :type async_req: bool, optional
1447
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
1448
+ :param opts: Configuration options for this request
1449
+ :type opts: ConfigurationOptions, optional
1450
+ :return: Returns the result object.
1451
+ If the method is called asynchronously,
1452
+ returns the request thread.
1453
+ :rtype: DeletedEntityResponse
1454
+ """
1455
+ kwargs['_return_http_data_only'] = True
1456
+ if '_preload_content' in kwargs:
1457
+ message = "Error! Please call the cancel_single_adjust_holding_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501
1458
+ raise ValueError(message)
1459
+ if async_req is not None:
1460
+ kwargs['async_req'] = async_req
1461
+ return self.cancel_single_adjust_holding_with_http_info(scope, code, effective_at, cancel_single_holding_adjustment_request, **kwargs) # noqa: E501
1462
+
1463
+ @validate_arguments
1464
+ def cancel_single_adjust_holding_with_http_info(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the transaction portfolio.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio.")], effective_at : Annotated[StrictStr, Field(..., description="The effective datetime or cut label at which the previous adjustment was made.")], cancel_single_holding_adjustment_request : Annotated[CancelSingleHoldingAdjustmentRequest, Field(..., description="The selected holding adjustment to be canceled.")], **kwargs) -> ApiResponse: # noqa: E501
1465
+ """[EARLY ACCESS] CancelSingleAdjustHolding: Cancel single holding adjustment. # noqa: E501
1466
+
1467
+ Cancel one previously sent holding adjustment without affecting the rest of the adjustment in the previous request on the specified effective datetime. # noqa: E501
1468
+ This method makes a synchronous HTTP request by default. To make an
1469
+ asynchronous HTTP request, please pass async_req=True
1470
+
1471
+ >>> thread = api.cancel_single_adjust_holding_with_http_info(scope, code, effective_at, cancel_single_holding_adjustment_request, async_req=True)
1472
+ >>> result = thread.get()
1473
+
1474
+ :param scope: The scope of the transaction portfolio. (required)
1475
+ :type scope: str
1476
+ :param code: The code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio. (required)
1477
+ :type code: str
1478
+ :param effective_at: The effective datetime or cut label at which the previous adjustment was made. (required)
1479
+ :type effective_at: str
1480
+ :param cancel_single_holding_adjustment_request: The selected holding adjustment to be canceled. (required)
1481
+ :type cancel_single_holding_adjustment_request: CancelSingleHoldingAdjustmentRequest
1482
+ :param async_req: Whether to execute the request asynchronously.
1483
+ :type async_req: bool, optional
1484
+ :param _preload_content: if False, the ApiResponse.data will
1485
+ be set to none and raw_data will store the
1486
+ HTTP response body without reading/decoding.
1487
+ Default is True.
1488
+ :type _preload_content: bool, optional
1489
+ :param _return_http_data_only: response data instead of ApiResponse
1490
+ object with status code, headers, etc
1491
+ :type _return_http_data_only: bool, optional
1492
+ :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
1493
+ :param opts: Configuration options for this request
1494
+ :type opts: ConfigurationOptions, optional
1495
+ :param _request_auth: set to override the auth_settings for an a single
1496
+ request; this effectively ignores the authentication
1497
+ in the spec for a single request.
1498
+ :type _request_auth: dict, optional
1499
+ :type _content_type: string, optional: force content-type for the request
1500
+ :return: Returns the result object.
1501
+ If the method is called asynchronously,
1502
+ returns the request thread.
1503
+ :rtype: tuple(DeletedEntityResponse, status_code(int), headers(HTTPHeaderDict))
1504
+ """
1505
+
1506
+ _params = locals()
1507
+
1508
+ _all_params = [
1509
+ 'scope',
1510
+ 'code',
1511
+ 'effective_at',
1512
+ 'cancel_single_holding_adjustment_request'
1513
+ ]
1514
+ _all_params.extend(
1515
+ [
1516
+ 'async_req',
1517
+ '_return_http_data_only',
1518
+ '_preload_content',
1519
+ '_request_timeout',
1520
+ '_request_auth',
1521
+ '_content_type',
1522
+ '_headers',
1523
+ 'opts'
1524
+ ]
1525
+ )
1526
+
1527
+ # validate the arguments
1528
+ for _key, _val in _params['kwargs'].items():
1529
+ if _key not in _all_params:
1530
+ raise ApiTypeError(
1531
+ "Got an unexpected keyword argument '%s'"
1532
+ " to method cancel_single_adjust_holding" % _key
1533
+ )
1534
+ _params[_key] = _val
1535
+ del _params['kwargs']
1536
+
1537
+ _collection_formats = {}
1538
+
1539
+ # process the path parameters
1540
+ _path_params = {}
1541
+ if _params['scope']:
1542
+ _path_params['scope'] = _params['scope']
1543
+
1544
+ if _params['code']:
1545
+ _path_params['code'] = _params['code']
1546
+
1547
+
1548
+ # process the query parameters
1549
+ _query_params = []
1550
+ if _params.get('effective_at') is not None: # noqa: E501
1551
+ _query_params.append(('effectiveAt', _params['effective_at']))
1552
+
1553
+ # process the header parameters
1554
+ _header_params = dict(_params.get('_headers', {}))
1555
+ # process the form parameters
1556
+ _form_params = []
1557
+ _files = {}
1558
+ # process the body parameter
1559
+ _body_params = None
1560
+ if _params['cancel_single_holding_adjustment_request'] is not None:
1561
+ _body_params = _params['cancel_single_holding_adjustment_request']
1562
+
1563
+ # set the HTTP header `Accept`
1564
+ _header_params['Accept'] = self.api_client.select_header_accept(
1565
+ ['text/plain', 'application/json', 'text/json']) # noqa: E501
1566
+
1567
+ # set the HTTP header `Content-Type`
1568
+ _content_types_list = _params.get('_content_type',
1569
+ self.api_client.select_header_content_type(
1570
+ ['application/json-patch+json', 'application/json', 'text/json', 'application/*+json']))
1571
+ if _content_types_list:
1572
+ _header_params['Content-Type'] = _content_types_list
1573
+
1574
+ # authentication setting
1575
+ _auth_settings = ['oauth2'] # noqa: E501
1576
+
1577
+ _response_types_map = {
1578
+ '200': "DeletedEntityResponse",
1579
+ '400': "LusidValidationProblemDetails",
1580
+ }
1581
+
1582
+ return self.api_client.call_api(
1583
+ '/api/transactionportfolios/{scope}/{code}/holdings/$cancelAdjustment', 'POST',
1584
+ _path_params,
1585
+ _query_params,
1586
+ _header_params,
1587
+ body=_body_params,
1588
+ post_params=_form_params,
1589
+ files=_files,
1590
+ response_types_map=_response_types_map,
1591
+ auth_settings=_auth_settings,
1592
+ async_req=_params.get('async_req'),
1593
+ _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
1594
+ _preload_content=_params.get('_preload_content', True),
1595
+ _request_timeout=_params.get('_request_timeout'),
1596
+ opts=_params.get('opts'),
1597
+ collection_formats=_collection_formats,
1598
+ _request_auth=_params.get('_request_auth'))
1599
+
1417
1600
  @overload
1418
1601
  async def cancel_transactions(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the transaction portfolio.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the transaction portfolio. Together with the scope this uniquely identifies the transaction portfolio.")], transaction_ids : Annotated[conlist(StrictStr), Field(..., description="The IDs of the transactions to cancel.")], **kwargs) -> DeletedEntityResponse: # noqa: E501
1419
1602
  ...
@@ -2893,15 +3076,15 @@ class TransactionPortfoliosApi:
2893
3076
  _request_auth=_params.get('_request_auth'))
2894
3077
 
2895
3078
  @overload
2896
- async def get_custodian_account(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the Transaction Portfolio.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the Transaction Portfolio. Together with the scope this uniquely identifies the Transaction Portfolio.")], custodian_account_scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the Custodian Account.")], custodian_account_code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the Custodian Account.")], effective_at : Annotated[Optional[StrictStr], Field(description="The effective datetime or cut label at which to retrieve the Custodian Account properties. Defaults to the current LUSID system datetime if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the Custodian Account definition. Defaults to returning the latest version of the Custodian Account definition if not specified.")] = None, property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the 'CustodianAccount' domain to decorate onto the Custodian Account. These must take the format {domain}/{scope}/{code}, for example 'CustodianAccount/Manager/Id'. If not provided will return all the entitled properties for that Custodian Account.")] = None, **kwargs) -> CustodianAccount: # noqa: E501
3079
+ async def get_custodian_account(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the Transaction Portfolio.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the Transaction Portfolio. Together with the scope this uniquely identifies the Transaction Portfolio.")], custodian_account_scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the Custodian Account.")], custodian_account_code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the Custodian Account.")], effective_at : Annotated[Optional[StrictStr], Field(description="The effective datetime or cut label at which to retrieve the Custodian Account properties. Defaults to the current LUSID system datetime if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the Custodian Account definition. Defaults to returning the latest version of the Custodian Account definition if not specified.")] = None, property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the 'CustodianAccount' domain to decorate onto the Custodian Account. These must take the format {domain}/{scope}/{code}, for example 'CustodianAccount/Manager/Id'. If no properties are specified, then no properties will be returned.")] = None, **kwargs) -> CustodianAccount: # noqa: E501
2897
3080
  ...
2898
3081
 
2899
3082
  @overload
2900
- def get_custodian_account(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the Transaction Portfolio.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the Transaction Portfolio. Together with the scope this uniquely identifies the Transaction Portfolio.")], custodian_account_scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the Custodian Account.")], custodian_account_code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the Custodian Account.")], effective_at : Annotated[Optional[StrictStr], Field(description="The effective datetime or cut label at which to retrieve the Custodian Account properties. Defaults to the current LUSID system datetime if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the Custodian Account definition. Defaults to returning the latest version of the Custodian Account definition if not specified.")] = None, property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the 'CustodianAccount' domain to decorate onto the Custodian Account. These must take the format {domain}/{scope}/{code}, for example 'CustodianAccount/Manager/Id'. If not provided will return all the entitled properties for that Custodian Account.")] = None, async_req: Optional[bool]=True, **kwargs) -> CustodianAccount: # noqa: E501
3083
+ def get_custodian_account(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the Transaction Portfolio.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the Transaction Portfolio. Together with the scope this uniquely identifies the Transaction Portfolio.")], custodian_account_scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the Custodian Account.")], custodian_account_code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the Custodian Account.")], effective_at : Annotated[Optional[StrictStr], Field(description="The effective datetime or cut label at which to retrieve the Custodian Account properties. Defaults to the current LUSID system datetime if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the Custodian Account definition. Defaults to returning the latest version of the Custodian Account definition if not specified.")] = None, property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the 'CustodianAccount' domain to decorate onto the Custodian Account. These must take the format {domain}/{scope}/{code}, for example 'CustodianAccount/Manager/Id'. If no properties are specified, then no properties will be returned.")] = None, async_req: Optional[bool]=True, **kwargs) -> CustodianAccount: # noqa: E501
2901
3084
  ...
2902
3085
 
2903
3086
  @validate_arguments
2904
- def get_custodian_account(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the Transaction Portfolio.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the Transaction Portfolio. Together with the scope this uniquely identifies the Transaction Portfolio.")], custodian_account_scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the Custodian Account.")], custodian_account_code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the Custodian Account.")], effective_at : Annotated[Optional[StrictStr], Field(description="The effective datetime or cut label at which to retrieve the Custodian Account properties. Defaults to the current LUSID system datetime if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the Custodian Account definition. Defaults to returning the latest version of the Custodian Account definition if not specified.")] = None, property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the 'CustodianAccount' domain to decorate onto the Custodian Account. These must take the format {domain}/{scope}/{code}, for example 'CustodianAccount/Manager/Id'. If not provided will return all the entitled properties for that Custodian Account.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[CustodianAccount, Awaitable[CustodianAccount]]: # noqa: E501
3087
+ def get_custodian_account(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the Transaction Portfolio.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the Transaction Portfolio. Together with the scope this uniquely identifies the Transaction Portfolio.")], custodian_account_scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the Custodian Account.")], custodian_account_code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the Custodian Account.")], effective_at : Annotated[Optional[StrictStr], Field(description="The effective datetime or cut label at which to retrieve the Custodian Account properties. Defaults to the current LUSID system datetime if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the Custodian Account definition. Defaults to returning the latest version of the Custodian Account definition if not specified.")] = None, property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the 'CustodianAccount' domain to decorate onto the Custodian Account. These must take the format {domain}/{scope}/{code}, for example 'CustodianAccount/Manager/Id'. If no properties are specified, then no properties will be returned.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[CustodianAccount, Awaitable[CustodianAccount]]: # noqa: E501
2905
3088
  """[EXPERIMENTAL] GetCustodianAccount: Get Custodian Account # noqa: E501
2906
3089
 
2907
3090
  Retrieve the definition of a particular Custodian Account which is part of a Transaction Portfolios. # noqa: E501
@@ -2923,7 +3106,7 @@ class TransactionPortfoliosApi:
2923
3106
  :type effective_at: str
2924
3107
  :param as_at: The asAt datetime at which to retrieve the Custodian Account definition. Defaults to returning the latest version of the Custodian Account definition if not specified.
2925
3108
  :type as_at: datetime
2926
- :param property_keys: A list of property keys from the 'CustodianAccount' domain to decorate onto the Custodian Account. These must take the format {domain}/{scope}/{code}, for example 'CustodianAccount/Manager/Id'. If not provided will return all the entitled properties for that Custodian Account.
3109
+ :param property_keys: A list of property keys from the 'CustodianAccount' domain to decorate onto the Custodian Account. These must take the format {domain}/{scope}/{code}, for example 'CustodianAccount/Manager/Id'. If no properties are specified, then no properties will be returned.
2927
3110
  :type property_keys: List[str]
2928
3111
  :param async_req: Whether to execute the request asynchronously.
2929
3112
  :type async_req: bool, optional
@@ -2944,7 +3127,7 @@ class TransactionPortfoliosApi:
2944
3127
  return self.get_custodian_account_with_http_info(scope, code, custodian_account_scope, custodian_account_code, effective_at, as_at, property_keys, **kwargs) # noqa: E501
2945
3128
 
2946
3129
  @validate_arguments
2947
- def get_custodian_account_with_http_info(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the Transaction Portfolio.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the Transaction Portfolio. Together with the scope this uniquely identifies the Transaction Portfolio.")], custodian_account_scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the Custodian Account.")], custodian_account_code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the Custodian Account.")], effective_at : Annotated[Optional[StrictStr], Field(description="The effective datetime or cut label at which to retrieve the Custodian Account properties. Defaults to the current LUSID system datetime if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the Custodian Account definition. Defaults to returning the latest version of the Custodian Account definition if not specified.")] = None, property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the 'CustodianAccount' domain to decorate onto the Custodian Account. These must take the format {domain}/{scope}/{code}, for example 'CustodianAccount/Manager/Id'. If not provided will return all the entitled properties for that Custodian Account.")] = None, **kwargs) -> ApiResponse: # noqa: E501
3130
+ def get_custodian_account_with_http_info(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the Transaction Portfolio.")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the Transaction Portfolio. Together with the scope this uniquely identifies the Transaction Portfolio.")], custodian_account_scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the Custodian Account.")], custodian_account_code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the Custodian Account.")], effective_at : Annotated[Optional[StrictStr], Field(description="The effective datetime or cut label at which to retrieve the Custodian Account properties. Defaults to the current LUSID system datetime if not specified.")] = None, as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the Custodian Account definition. Defaults to returning the latest version of the Custodian Account definition if not specified.")] = None, property_keys : Annotated[Optional[conlist(StrictStr)], Field(description="A list of property keys from the 'CustodianAccount' domain to decorate onto the Custodian Account. These must take the format {domain}/{scope}/{code}, for example 'CustodianAccount/Manager/Id'. If no properties are specified, then no properties will be returned.")] = None, **kwargs) -> ApiResponse: # noqa: E501
2948
3131
  """[EXPERIMENTAL] GetCustodianAccount: Get Custodian Account # noqa: E501
2949
3132
 
2950
3133
  Retrieve the definition of a particular Custodian Account which is part of a Transaction Portfolios. # noqa: E501
@@ -2966,7 +3149,7 @@ class TransactionPortfoliosApi:
2966
3149
  :type effective_at: str
2967
3150
  :param as_at: The asAt datetime at which to retrieve the Custodian Account definition. Defaults to returning the latest version of the Custodian Account definition if not specified.
2968
3151
  :type as_at: datetime
2969
- :param property_keys: A list of property keys from the 'CustodianAccount' domain to decorate onto the Custodian Account. These must take the format {domain}/{scope}/{code}, for example 'CustodianAccount/Manager/Id'. If not provided will return all the entitled properties for that Custodian Account.
3152
+ :param property_keys: A list of property keys from the 'CustodianAccount' domain to decorate onto the Custodian Account. These must take the format {domain}/{scope}/{code}, for example 'CustodianAccount/Manager/Id'. If no properties are specified, then no properties will be returned.
2970
3153
  :type property_keys: List[str]
2971
3154
  :param async_req: Whether to execute the request asynchronously.
2972
3155
  :type async_req: bool, optional