lusid-sdk 2.3.14__py3-none-any.whl → 2.3.16__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.
@@ -439,22 +439,22 @@ class PortfolioGroupsApi:
439
439
 
440
440
 
441
441
  @overload
442
- async def build_transactions_for_portfolio_group(self, scope : Annotated[StrictStr, Field(..., description="The scope of the portfolio group.")], code : Annotated[StrictStr, Field(..., description="The code of the portfolio group. Together with the scope this uniquely identifies the portfolio group.")], transaction_query_parameters : Annotated[TransactionQueryParameters, Field(description="The query queryParameters which control how the output transactions are built.")], as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to build the transactions. Defaults to return the latest version of each transaction if not specified.")] = None, filter : Annotated[Optional[StrictStr], Field( description="Expression to filter the result set. For example, to filter on the Transaction Type, use \"type eq 'Buy'\" Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid.")] = None, property_keys : Annotated[Optional[List[StrictStr]], Field(description="A list of property keys from the \"Instrument\" or \"Transaction\" domain to decorate onto the transactions. These take the format {domain}/{scope}/{code} e.g. \"Instrument/system/Name\" or \"Transaction/strategy/quantsignal\".")] = None, limit : Annotated[Optional[StrictInt], Field(description="When paginating, limit the number of returned results to this many. Defaults to 100 if not specified.")] = None, page : Annotated[Optional[StrictStr], Field( description="The pagination token to use to continue listing transactions from a previous call to BuildTransactions.")] = None, data_model_scope : Annotated[Optional[StrictStr], Field( description="The optional scope of a Custom Data Model to use")] = None, data_model_code : Annotated[Optional[StrictStr], Field( description="The optional code of a Custom Data Model to use")] = None, **kwargs) -> VersionedResourceListOfOutputTransaction: # noqa: E501
442
+ async def build_transactions_for_portfolio_group(self, scope : Annotated[StrictStr, Field(..., description="The scope of the portfolio group.")], code : Annotated[StrictStr, Field(..., description="The code of the portfolio group. Together with the scope this uniquely identifies the portfolio group.")], transaction_query_parameters : Annotated[TransactionQueryParameters, Field(description="The query queryParameters which control how the output transactions are built.")], as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to build the transactions. Defaults to return the latest version of each transaction if not specified.")] = None, filter : Annotated[Optional[StrictStr], Field( description="Expression to filter the result set. For example, to filter on the Transaction Type, use \"type eq 'Buy'\" Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid.")] = None, property_keys : Annotated[Optional[List[StrictStr]], Field(description="A list of property keys from the \"Instrument\" or \"Transaction\" domain to decorate onto the transactions. These take the format {domain}/{scope}/{code} e.g. \"Instrument/system/Name\" or \"Transaction/strategy/quantsignal\".")] = None, limit : Annotated[Optional[StrictInt], Field(description="When paginating, limit the number of returned results to this many. Defaults to 100 if not specified.")] = None, page : Annotated[Optional[StrictStr], Field( description="The pagination token to use to continue listing transactions from a previous call to BuildTransactions.")] = None, data_model_scope : Annotated[Optional[StrictStr], Field( description="The optional scope of a Custom Data Model to use")] = None, data_model_code : Annotated[Optional[StrictStr], Field( description="The optional code of a Custom Data Model to use")] = None, membership_type : Annotated[Optional[StrictStr], Field( description="The membership types of the specified Custom Data Model to return. Allowable values are Member, Candidate and All. Defaults to Member.")] = None, **kwargs) -> VersionedResourceListOfOutputTransaction: # noqa: E501
443
443
  ...
444
444
 
445
445
  @overload
446
- def build_transactions_for_portfolio_group(self, scope : Annotated[StrictStr, Field(..., description="The scope of the portfolio group.")], code : Annotated[StrictStr, Field(..., description="The code of the portfolio group. Together with the scope this uniquely identifies the portfolio group.")], transaction_query_parameters : Annotated[TransactionQueryParameters, Field(description="The query queryParameters which control how the output transactions are built.")], as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to build the transactions. Defaults to return the latest version of each transaction if not specified.")] = None, filter : Annotated[Optional[StrictStr], Field( description="Expression to filter the result set. For example, to filter on the Transaction Type, use \"type eq 'Buy'\" Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid.")] = None, property_keys : Annotated[Optional[List[StrictStr]], Field(description="A list of property keys from the \"Instrument\" or \"Transaction\" domain to decorate onto the transactions. These take the format {domain}/{scope}/{code} e.g. \"Instrument/system/Name\" or \"Transaction/strategy/quantsignal\".")] = None, limit : Annotated[Optional[StrictInt], Field(description="When paginating, limit the number of returned results to this many. Defaults to 100 if not specified.")] = None, page : Annotated[Optional[StrictStr], Field( description="The pagination token to use to continue listing transactions from a previous call to BuildTransactions.")] = None, data_model_scope : Annotated[Optional[StrictStr], Field( description="The optional scope of a Custom Data Model to use")] = None, data_model_code : Annotated[Optional[StrictStr], Field( description="The optional code of a Custom Data Model to use")] = None, async_req: Optional[bool]=True, **kwargs) -> VersionedResourceListOfOutputTransaction: # noqa: E501
446
+ def build_transactions_for_portfolio_group(self, scope : Annotated[StrictStr, Field(..., description="The scope of the portfolio group.")], code : Annotated[StrictStr, Field(..., description="The code of the portfolio group. Together with the scope this uniquely identifies the portfolio group.")], transaction_query_parameters : Annotated[TransactionQueryParameters, Field(description="The query queryParameters which control how the output transactions are built.")], as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to build the transactions. Defaults to return the latest version of each transaction if not specified.")] = None, filter : Annotated[Optional[StrictStr], Field( description="Expression to filter the result set. For example, to filter on the Transaction Type, use \"type eq 'Buy'\" Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid.")] = None, property_keys : Annotated[Optional[List[StrictStr]], Field(description="A list of property keys from the \"Instrument\" or \"Transaction\" domain to decorate onto the transactions. These take the format {domain}/{scope}/{code} e.g. \"Instrument/system/Name\" or \"Transaction/strategy/quantsignal\".")] = None, limit : Annotated[Optional[StrictInt], Field(description="When paginating, limit the number of returned results to this many. Defaults to 100 if not specified.")] = None, page : Annotated[Optional[StrictStr], Field( description="The pagination token to use to continue listing transactions from a previous call to BuildTransactions.")] = None, data_model_scope : Annotated[Optional[StrictStr], Field( description="The optional scope of a Custom Data Model to use")] = None, data_model_code : Annotated[Optional[StrictStr], Field( description="The optional code of a Custom Data Model to use")] = None, membership_type : Annotated[Optional[StrictStr], Field( description="The membership types of the specified Custom Data Model to return. Allowable values are Member, Candidate and All. Defaults to Member.")] = None, async_req: Optional[bool]=True, **kwargs) -> VersionedResourceListOfOutputTransaction: # noqa: E501
447
447
  ...
448
448
 
449
449
  @validate_arguments
450
- def build_transactions_for_portfolio_group(self, scope : Annotated[StrictStr, Field(..., description="The scope of the portfolio group.")], code : Annotated[StrictStr, Field(..., description="The code of the portfolio group. Together with the scope this uniquely identifies the portfolio group.")], transaction_query_parameters : Annotated[TransactionQueryParameters, Field(description="The query queryParameters which control how the output transactions are built.")], as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to build the transactions. Defaults to return the latest version of each transaction if not specified.")] = None, filter : Annotated[Optional[StrictStr], Field( description="Expression to filter the result set. For example, to filter on the Transaction Type, use \"type eq 'Buy'\" Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid.")] = None, property_keys : Annotated[Optional[List[StrictStr]], Field(description="A list of property keys from the \"Instrument\" or \"Transaction\" domain to decorate onto the transactions. These take the format {domain}/{scope}/{code} e.g. \"Instrument/system/Name\" or \"Transaction/strategy/quantsignal\".")] = None, limit : Annotated[Optional[StrictInt], Field(description="When paginating, limit the number of returned results to this many. Defaults to 100 if not specified.")] = None, page : Annotated[Optional[StrictStr], Field( description="The pagination token to use to continue listing transactions from a previous call to BuildTransactions.")] = None, data_model_scope : Annotated[Optional[StrictStr], Field( description="The optional scope of a Custom Data Model to use")] = None, data_model_code : Annotated[Optional[StrictStr], Field( description="The optional code of a Custom Data Model to use")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[VersionedResourceListOfOutputTransaction, Awaitable[VersionedResourceListOfOutputTransaction]]: # noqa: E501
450
+ def build_transactions_for_portfolio_group(self, scope : Annotated[StrictStr, Field(..., description="The scope of the portfolio group.")], code : Annotated[StrictStr, Field(..., description="The code of the portfolio group. Together with the scope this uniquely identifies the portfolio group.")], transaction_query_parameters : Annotated[TransactionQueryParameters, Field(description="The query queryParameters which control how the output transactions are built.")], as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to build the transactions. Defaults to return the latest version of each transaction if not specified.")] = None, filter : Annotated[Optional[StrictStr], Field( description="Expression to filter the result set. For example, to filter on the Transaction Type, use \"type eq 'Buy'\" Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid.")] = None, property_keys : Annotated[Optional[List[StrictStr]], Field(description="A list of property keys from the \"Instrument\" or \"Transaction\" domain to decorate onto the transactions. These take the format {domain}/{scope}/{code} e.g. \"Instrument/system/Name\" or \"Transaction/strategy/quantsignal\".")] = None, limit : Annotated[Optional[StrictInt], Field(description="When paginating, limit the number of returned results to this many. Defaults to 100 if not specified.")] = None, page : Annotated[Optional[StrictStr], Field( description="The pagination token to use to continue listing transactions from a previous call to BuildTransactions.")] = None, data_model_scope : Annotated[Optional[StrictStr], Field( description="The optional scope of a Custom Data Model to use")] = None, data_model_code : Annotated[Optional[StrictStr], Field( description="The optional code of a Custom Data Model to use")] = None, membership_type : Annotated[Optional[StrictStr], Field( description="The membership types of the specified Custom Data Model to return. Allowable values are Member, Candidate and All. Defaults to Member.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[VersionedResourceListOfOutputTransaction, Awaitable[VersionedResourceListOfOutputTransaction]]: # noqa: E501
451
451
  """BuildTransactionsForPortfolioGroup: Build transactions for transaction portfolios in a portfolio group # noqa: E501
452
452
 
453
453
  Build transactions for transaction portfolios in a portfolio group over a given interval of effective time. When the specified portfolio in a portfolio group is a derived transaction portfolio, the returned set of transactions is the union set of all transactions of the parent (and any grandparents etc.) and the specified derived transaction portfolio itself. # noqa: E501
454
454
  This method makes a synchronous HTTP request by default. To make an
455
455
  asynchronous HTTP request, please pass async_req=True
456
456
 
457
- >>> thread = api.build_transactions_for_portfolio_group(scope, code, transaction_query_parameters, as_at, filter, property_keys, limit, page, data_model_scope, data_model_code, async_req=True)
457
+ >>> thread = api.build_transactions_for_portfolio_group(scope, code, transaction_query_parameters, as_at, filter, property_keys, limit, page, data_model_scope, data_model_code, membership_type, async_req=True)
458
458
  >>> result = thread.get()
459
459
 
460
460
  :param scope: The scope of the portfolio group. (required)
@@ -477,6 +477,8 @@ class PortfolioGroupsApi:
477
477
  :type data_model_scope: str
478
478
  :param data_model_code: The optional code of a Custom Data Model to use
479
479
  :type data_model_code: str
480
+ :param membership_type: The membership types of the specified Custom Data Model to return. Allowable values are Member, Candidate and All. Defaults to Member.
481
+ :type membership_type: str
480
482
  :param async_req: Whether to execute the request asynchronously.
481
483
  :type async_req: bool, optional
482
484
  :param _request_timeout: Timeout setting. Do not use - use the opts parameter instead
@@ -493,17 +495,17 @@ class PortfolioGroupsApi:
493
495
  raise ValueError(message)
494
496
  if async_req is not None:
495
497
  kwargs['async_req'] = async_req
496
- return self.build_transactions_for_portfolio_group_with_http_info(scope, code, transaction_query_parameters, as_at, filter, property_keys, limit, page, data_model_scope, data_model_code, **kwargs) # noqa: E501
498
+ return self.build_transactions_for_portfolio_group_with_http_info(scope, code, transaction_query_parameters, as_at, filter, property_keys, limit, page, data_model_scope, data_model_code, membership_type, **kwargs) # noqa: E501
497
499
 
498
500
  @validate_arguments
499
- def build_transactions_for_portfolio_group_with_http_info(self, scope : Annotated[StrictStr, Field(..., description="The scope of the portfolio group.")], code : Annotated[StrictStr, Field(..., description="The code of the portfolio group. Together with the scope this uniquely identifies the portfolio group.")], transaction_query_parameters : Annotated[TransactionQueryParameters, Field(description="The query queryParameters which control how the output transactions are built.")], as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to build the transactions. Defaults to return the latest version of each transaction if not specified.")] = None, filter : Annotated[Optional[StrictStr], Field( description="Expression to filter the result set. For example, to filter on the Transaction Type, use \"type eq 'Buy'\" Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid.")] = None, property_keys : Annotated[Optional[List[StrictStr]], Field(description="A list of property keys from the \"Instrument\" or \"Transaction\" domain to decorate onto the transactions. These take the format {domain}/{scope}/{code} e.g. \"Instrument/system/Name\" or \"Transaction/strategy/quantsignal\".")] = None, limit : Annotated[Optional[StrictInt], Field(description="When paginating, limit the number of returned results to this many. Defaults to 100 if not specified.")] = None, page : Annotated[Optional[StrictStr], Field( description="The pagination token to use to continue listing transactions from a previous call to BuildTransactions.")] = None, data_model_scope : Annotated[Optional[StrictStr], Field( description="The optional scope of a Custom Data Model to use")] = None, data_model_code : Annotated[Optional[StrictStr], Field( description="The optional code of a Custom Data Model to use")] = None, **kwargs) -> ApiResponse: # noqa: E501
501
+ def build_transactions_for_portfolio_group_with_http_info(self, scope : Annotated[StrictStr, Field(..., description="The scope of the portfolio group.")], code : Annotated[StrictStr, Field(..., description="The code of the portfolio group. Together with the scope this uniquely identifies the portfolio group.")], transaction_query_parameters : Annotated[TransactionQueryParameters, Field(description="The query queryParameters which control how the output transactions are built.")], as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to build the transactions. Defaults to return the latest version of each transaction if not specified.")] = None, filter : Annotated[Optional[StrictStr], Field( description="Expression to filter the result set. For example, to filter on the Transaction Type, use \"type eq 'Buy'\" Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid.")] = None, property_keys : Annotated[Optional[List[StrictStr]], Field(description="A list of property keys from the \"Instrument\" or \"Transaction\" domain to decorate onto the transactions. These take the format {domain}/{scope}/{code} e.g. \"Instrument/system/Name\" or \"Transaction/strategy/quantsignal\".")] = None, limit : Annotated[Optional[StrictInt], Field(description="When paginating, limit the number of returned results to this many. Defaults to 100 if not specified.")] = None, page : Annotated[Optional[StrictStr], Field( description="The pagination token to use to continue listing transactions from a previous call to BuildTransactions.")] = None, data_model_scope : Annotated[Optional[StrictStr], Field( description="The optional scope of a Custom Data Model to use")] = None, data_model_code : Annotated[Optional[StrictStr], Field( description="The optional code of a Custom Data Model to use")] = None, membership_type : Annotated[Optional[StrictStr], Field( description="The membership types of the specified Custom Data Model to return. Allowable values are Member, Candidate and All. Defaults to Member.")] = None, **kwargs) -> ApiResponse: # noqa: E501
500
502
  """BuildTransactionsForPortfolioGroup: Build transactions for transaction portfolios in a portfolio group # noqa: E501
501
503
 
502
504
  Build transactions for transaction portfolios in a portfolio group over a given interval of effective time. When the specified portfolio in a portfolio group is a derived transaction portfolio, the returned set of transactions is the union set of all transactions of the parent (and any grandparents etc.) and the specified derived transaction portfolio itself. # noqa: E501
503
505
  This method makes a synchronous HTTP request by default. To make an
504
506
  asynchronous HTTP request, please pass async_req=True
505
507
 
506
- >>> thread = api.build_transactions_for_portfolio_group_with_http_info(scope, code, transaction_query_parameters, as_at, filter, property_keys, limit, page, data_model_scope, data_model_code, async_req=True)
508
+ >>> thread = api.build_transactions_for_portfolio_group_with_http_info(scope, code, transaction_query_parameters, as_at, filter, property_keys, limit, page, data_model_scope, data_model_code, membership_type, async_req=True)
507
509
  >>> result = thread.get()
508
510
 
509
511
  :param scope: The scope of the portfolio group. (required)
@@ -526,6 +528,8 @@ class PortfolioGroupsApi:
526
528
  :type data_model_scope: str
527
529
  :param data_model_code: The optional code of a Custom Data Model to use
528
530
  :type data_model_code: str
531
+ :param membership_type: The membership types of the specified Custom Data Model to return. Allowable values are Member, Candidate and All. Defaults to Member.
532
+ :type membership_type: str
529
533
  :param async_req: Whether to execute the request asynchronously.
530
534
  :type async_req: bool, optional
531
535
  :param _preload_content: if False, the ApiResponse.data will
@@ -562,7 +566,8 @@ class PortfolioGroupsApi:
562
566
  'limit',
563
567
  'page',
564
568
  'data_model_scope',
565
- 'data_model_code'
569
+ 'data_model_code',
570
+ 'membership_type'
566
571
  ]
567
572
  _all_params.extend(
568
573
  [
@@ -625,6 +630,9 @@ class PortfolioGroupsApi:
625
630
  if _params.get('data_model_code') is not None: # noqa: E501
626
631
  _query_params.append(('dataModelCode', _params['data_model_code']))
627
632
 
633
+ if _params.get('membership_type') is not None: # noqa: E501
634
+ _query_params.append(('membershipType', _params['membership_type']))
635
+
628
636
  # process the header parameters
629
637
  _header_params = dict(_params.get('_headers', {}))
630
638
  # process the form parameters
@@ -1706,18 +1706,18 @@ class TimelinesApi:
1706
1706
 
1707
1707
 
1708
1708
  @overload
1709
- async def set_post_close_activity(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Timeline.")], code : Annotated[StrictStr, Field(..., description="The code of the Timeline.")], closed_period_id : Annotated[StrictStr, Field(..., description="The id of the Closed Period. Together with the scope and code of the Timeline, this uniquely identifies the ClosedPeriod")], post_close_activities_request : Annotated[Optional[PostCloseActivitiesRequest], Field(description="Specifies collection of post close activities")] = None, **kwargs) -> ClosedPeriod: # noqa: E501
1709
+ async def set_post_close_activity(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Timeline.")], code : Annotated[StrictStr, Field(..., description="The code of the Timeline.")], closed_period_id : Annotated[StrictStr, Field(..., description="The ID of the Closed Period. This ID together with the scope and code of the Timeline uniquely defines the Closed Period.")], post_close_activities_request : Annotated[Optional[PostCloseActivitiesRequest], Field(description="This specifies a collection of post-close activities.")] = None, **kwargs) -> ClosedPeriod: # noqa: E501
1710
1710
  ...
1711
1711
 
1712
1712
  @overload
1713
- def set_post_close_activity(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Timeline.")], code : Annotated[StrictStr, Field(..., description="The code of the Timeline.")], closed_period_id : Annotated[StrictStr, Field(..., description="The id of the Closed Period. Together with the scope and code of the Timeline, this uniquely identifies the ClosedPeriod")], post_close_activities_request : Annotated[Optional[PostCloseActivitiesRequest], Field(description="Specifies collection of post close activities")] = None, async_req: Optional[bool]=True, **kwargs) -> ClosedPeriod: # noqa: E501
1713
+ def set_post_close_activity(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Timeline.")], code : Annotated[StrictStr, Field(..., description="The code of the Timeline.")], closed_period_id : Annotated[StrictStr, Field(..., description="The ID of the Closed Period. This ID together with the scope and code of the Timeline uniquely defines the Closed Period.")], post_close_activities_request : Annotated[Optional[PostCloseActivitiesRequest], Field(description="This specifies a collection of post-close activities.")] = None, async_req: Optional[bool]=True, **kwargs) -> ClosedPeriod: # noqa: E501
1714
1714
  ...
1715
1715
 
1716
1716
  @validate_arguments
1717
- def set_post_close_activity(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Timeline.")], code : Annotated[StrictStr, Field(..., description="The code of the Timeline.")], closed_period_id : Annotated[StrictStr, Field(..., description="The id of the Closed Period. Together with the scope and code of the Timeline, this uniquely identifies the ClosedPeriod")], post_close_activities_request : Annotated[Optional[PostCloseActivitiesRequest], Field(description="Specifies collection of post close activities")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[ClosedPeriod, Awaitable[ClosedPeriod]]: # noqa: E501
1718
- """[EXPERIMENTAL] SetPostCloseActivity: Sets post close activities to a closed period. # noqa: E501
1717
+ def set_post_close_activity(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Timeline.")], code : Annotated[StrictStr, Field(..., description="The code of the Timeline.")], closed_period_id : Annotated[StrictStr, Field(..., description="The ID of the Closed Period. This ID together with the scope and code of the Timeline uniquely defines the Closed Period.")], post_close_activities_request : Annotated[Optional[PostCloseActivitiesRequest], Field(description="This specifies a collection of post-close activities.")] = None, async_req: Optional[bool]=None, **kwargs) -> Union[ClosedPeriod, Awaitable[ClosedPeriod]]: # noqa: E501
1718
+ """[EXPERIMENTAL] SetPostCloseActivity: Sets post-close activities to a Closed Period. # noqa: E501
1719
1719
 
1720
- Sets empty or more post close activities to the specific closed period. # noqa: E501
1720
+ This sets the given post-close activities to the given Closed Period. **This is an overwriting action!** The possible types of entity are: * `PortfolioTransaction`, * `Instrument`, * `InstrumentEvent`, * `InstrumentEventInstruction`, * `PortfolioSettlementInstruction`, and, * `Quote`. # noqa: E501
1721
1721
  This method makes a synchronous HTTP request by default. To make an
1722
1722
  asynchronous HTTP request, please pass async_req=True
1723
1723
 
@@ -1728,9 +1728,9 @@ class TimelinesApi:
1728
1728
  :type scope: str
1729
1729
  :param code: The code of the Timeline. (required)
1730
1730
  :type code: str
1731
- :param closed_period_id: The id of the Closed Period. Together with the scope and code of the Timeline, this uniquely identifies the ClosedPeriod (required)
1731
+ :param closed_period_id: The ID of the Closed Period. This ID together with the scope and code of the Timeline uniquely defines the Closed Period. (required)
1732
1732
  :type closed_period_id: str
1733
- :param post_close_activities_request: Specifies collection of post close activities
1733
+ :param post_close_activities_request: This specifies a collection of post-close activities.
1734
1734
  :type post_close_activities_request: PostCloseActivitiesRequest
1735
1735
  :param async_req: Whether to execute the request asynchronously.
1736
1736
  :type async_req: bool, optional
@@ -1751,10 +1751,10 @@ class TimelinesApi:
1751
1751
  return self.set_post_close_activity_with_http_info(scope, code, closed_period_id, post_close_activities_request, **kwargs) # noqa: E501
1752
1752
 
1753
1753
  @validate_arguments
1754
- def set_post_close_activity_with_http_info(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Timeline.")], code : Annotated[StrictStr, Field(..., description="The code of the Timeline.")], closed_period_id : Annotated[StrictStr, Field(..., description="The id of the Closed Period. Together with the scope and code of the Timeline, this uniquely identifies the ClosedPeriod")], post_close_activities_request : Annotated[Optional[PostCloseActivitiesRequest], Field(description="Specifies collection of post close activities")] = None, **kwargs) -> ApiResponse: # noqa: E501
1755
- """[EXPERIMENTAL] SetPostCloseActivity: Sets post close activities to a closed period. # noqa: E501
1754
+ def set_post_close_activity_with_http_info(self, scope : Annotated[StrictStr, Field(..., description="The scope of the Timeline.")], code : Annotated[StrictStr, Field(..., description="The code of the Timeline.")], closed_period_id : Annotated[StrictStr, Field(..., description="The ID of the Closed Period. This ID together with the scope and code of the Timeline uniquely defines the Closed Period.")], post_close_activities_request : Annotated[Optional[PostCloseActivitiesRequest], Field(description="This specifies a collection of post-close activities.")] = None, **kwargs) -> ApiResponse: # noqa: E501
1755
+ """[EXPERIMENTAL] SetPostCloseActivity: Sets post-close activities to a Closed Period. # noqa: E501
1756
1756
 
1757
- Sets empty or more post close activities to the specific closed period. # noqa: E501
1757
+ This sets the given post-close activities to the given Closed Period. **This is an overwriting action!** The possible types of entity are: * `PortfolioTransaction`, * `Instrument`, * `InstrumentEvent`, * `InstrumentEventInstruction`, * `PortfolioSettlementInstruction`, and, * `Quote`. # noqa: E501
1758
1758
  This method makes a synchronous HTTP request by default. To make an
1759
1759
  asynchronous HTTP request, please pass async_req=True
1760
1760
 
@@ -1765,9 +1765,9 @@ class TimelinesApi:
1765
1765
  :type scope: str
1766
1766
  :param code: The code of the Timeline. (required)
1767
1767
  :type code: str
1768
- :param closed_period_id: The id of the Closed Period. Together with the scope and code of the Timeline, this uniquely identifies the ClosedPeriod (required)
1768
+ :param closed_period_id: The ID of the Closed Period. This ID together with the scope and code of the Timeline uniquely defines the Closed Period. (required)
1769
1769
  :type closed_period_id: str
1770
- :param post_close_activities_request: Specifies collection of post close activities
1770
+ :param post_close_activities_request: This specifies a collection of post-close activities.
1771
1771
  :type post_close_activities_request: PostCloseActivitiesRequest
1772
1772
  :param async_req: Whether to execute the request asynchronously.
1773
1773
  :type async_req: bool, optional
lusid/configuration.py CHANGED
@@ -445,7 +445,7 @@ class Configuration:
445
445
  return "Python SDK Debug Report:\n"\
446
446
  "OS: {env}\n"\
447
447
  "Python Version: {pyversion}\n"\
448
- "Version of the API: 0.11.8740\n"\
448
+ "Version of the API: 0.11.8744\n"\
449
449
  "SDK Package Version: {package_version}".\
450
450
  format(env=sys.platform, pyversion=sys.version, package_version=package_version)
451
451
 
@@ -28,7 +28,7 @@ class PostCloseActivitiesRequest(BaseModel):
28
28
  """
29
29
  PostCloseActivitiesRequest
30
30
  """
31
- post_close_activities: List[PostCloseActivity] = Field(description="Collection of post close activites.", alias="postCloseActivities")
31
+ post_close_activities: List[PostCloseActivity] = Field(description="A collection of post-close activities.", alias="postCloseActivities")
32
32
  __properties = ["postCloseActivities"]
33
33
 
34
34
  class Config:
@@ -27,10 +27,10 @@ class PostCloseActivity(BaseModel):
27
27
  """
28
28
  PostCloseActivity
29
29
  """
30
- entity_type: StrictStr = Field(...,alias="entityType")
31
- entity_unique_id: StrictStr = Field(...,alias="entityUniqueId")
32
- as_at: datetime = Field(alias="asAt")
33
- effective_at: Optional[StrictStr] = Field(None,alias="effectiveAt")
30
+ entity_type: StrictStr = Field(...,alias="entityType", description="The type of the entity, possible values are: * `PortfolioTransaction`, * `Instrument`, * `InstrumentEvent`, * `InstrumentEventInstruction`, * `PortfolioSettlementInstruction`, and, * `Quote`.")
31
+ entity_unique_id: StrictStr = Field(...,alias="entityUniqueId", description="The entity unique ID. The expected format for each entity is: | entityType | entityUniqueId | |----------------------------------|---------------------------------------------------| | `PortfolioTransaction` | `portfolioUniqueId_transactionId` | | `Instrument` | `instrumentUniqueId` | | `InstrumentEvent` | `corporateActionSourceUniqueId_instrumentEventId` | | `InstrumentEventInstruction` | `portfolioUniqueId_instructionId` | | `PortfolioSettlementInstruction` | `portfolioUniqueId_settlementInstructionId` | | `Quote` | `quoteSeriesUniqueId_quoteSeriesInstrumentId` |")
32
+ as_at: datetime = Field(description="The `AsAt` time of the event that needs to be added to the closed period.", alias="asAt")
33
+ effective_at: Optional[StrictStr] = Field(None,alias="effectiveAt", description="The `EffectiveAt` time of the event that need to be added to the closed period. This can be a date or cut label. Only applicable for `Quote` post-close activities.")
34
34
  __properties = ["entityType", "entityUniqueId", "asAt", "effectiveAt"]
35
35
 
36
36
  class Config:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: lusid-sdk
3
- Version: 2.3.14
3
+ Version: 2.3.16
4
4
  Summary: LUSID API
5
5
  License: MIT
6
6
  Keywords: OpenAPI,OpenAPI-Generator,LUSID API,lusid-sdk
@@ -624,7 +624,7 @@ Class | Method | HTTP request | Description
624
624
  *TimelinesApi* | [**get_timeline**](docs/TimelinesApi.md#get_timeline) | **GET** /api/timelines/{scope}/{code} | [EXPERIMENTAL] GetTimeline: Get a single Timeline by scope and code.
625
625
  *TimelinesApi* | [**list_closed_periods**](docs/TimelinesApi.md#list_closed_periods) | **GET** /api/timelines/{scope}/{code}/closedperiods | [EXPERIMENTAL] ListClosedPeriods: List ClosedPeriods for a specified Timeline.
626
626
  *TimelinesApi* | [**list_timelines**](docs/TimelinesApi.md#list_timelines) | **GET** /api/timelines | [EXPERIMENTAL] ListTimelines: List Timelines
627
- *TimelinesApi* | [**set_post_close_activity**](docs/TimelinesApi.md#set_post_close_activity) | **POST** /api/timelines/{scope}/{code}/closedperiods/{closedPeriodId}/postcloseactivity | [EXPERIMENTAL] SetPostCloseActivity: Sets post close activities to a closed period.
627
+ *TimelinesApi* | [**set_post_close_activity**](docs/TimelinesApi.md#set_post_close_activity) | **POST** /api/timelines/{scope}/{code}/closedperiods/{closedPeriodId}/postcloseactivity | [EXPERIMENTAL] SetPostCloseActivity: Sets post-close activities to a Closed Period.
628
628
  *TimelinesApi* | [**unconfirm_closed_period**](docs/TimelinesApi.md#unconfirm_closed_period) | **POST** /api/timelines/{scope}/{code}/closedperiods/{closedPeriodId}/$unconfirm | [EXPERIMENTAL] UnconfirmClosedPeriod: Unconfirm the last confirmed Closed Period against a Timeline Entity
629
629
  *TimelinesApi* | [**update_timeline**](docs/TimelinesApi.md#update_timeline) | **PUT** /api/timelines/{scope}/{code} | [EXPERIMENTAL] UpdateTimeline: Update Timeline defined by scope and code
630
630
  *TransactionConfigurationApi* | [**delete_side_definition**](docs/TransactionConfigurationApi.md#delete_side_definition) | **DELETE** /api/transactionconfiguration/sides/{side}/$delete | DeleteSideDefinition: Delete the given side definition
@@ -47,7 +47,7 @@ lusid/api/packages_api.py,sha256=bmb1-JiMS9ZFAvgWWDrS6x4POGevnTpAjHrHRA8A6zI,435
47
47
  lusid/api/participations_api.py,sha256=nhxFeLpX1_hymwN4-LRzWDsJ-eiQ1-rbMf_r8euPNd4,44866
48
48
  lusid/api/persons_api.py,sha256=ia_Ysgm3c8bloLy7BrTedGmayGQVyv6ETYbw4afnAMk,249840
49
49
  lusid/api/placements_api.py,sha256=EOPVILTFTlp8S90kZ1Q5P8u76q-UY7TyYw2EmwHMul8,45400
50
- lusid/api/portfolio_groups_api.py,sha256=_omAwy3WNmY_Pf4BhmQaTw1QK4xUIFGy5HJ-DrFuQ0g,372403
50
+ lusid/api/portfolio_groups_api.py,sha256=phkXIgsZGrreTbNRMzuq3HR2PTkDQ09yqBHhcMpjydY,373900
51
51
  lusid/api/portfolios_api.py,sha256=-yAS-uT8PIX0EtZJZy1FOVWWe8ygWfCCbkSrLZP80OU,428313
52
52
  lusid/api/property_definitions_api.py,sha256=MHUqUioZxHG0a0cSmJHffezPi5QKlrhCtgGuYV7Cb38,148811
53
53
  lusid/api/queryable_keys_api.py,sha256=hsgx-JSjncobRaQlDKynpC6MzBeaiMHCAt8Hl-AEK1Q,10275
@@ -72,7 +72,7 @@ lusid/api/staging_rule_set_api.py,sha256=4K930dRdbduXOE_a3zGd2C_-u1uVECy9zkTwjDw
72
72
  lusid/api/structured_result_data_api.py,sha256=l7jhKs7sYQwZxuwz9qCdr4ncg-rR7gIC8MZXO5M7I-4,109432
73
73
  lusid/api/system_configuration_api.py,sha256=3py-ejKMQFIUlTK1J8IcXIBgUBR3JLkkcKwRqLxxEkw,61439
74
74
  lusid/api/tax_rule_sets_api.py,sha256=-ROCfRpxfCHD0e36e3qf5UOoOIIgxbd8qBJHAuD7LL4,48858
75
- lusid/api/timelines_api.py,sha256=4fZWmZ2g_w8a9LSHAVcTNfURL2mK0XkKwrCEdqnlO4A,140948
75
+ lusid/api/timelines_api.py,sha256=gXi4nQnZrV0JvUJzLXi_6-OetU2dhiZZpjzor6u2nww,141508
76
76
  lusid/api/transaction_configuration_api.py,sha256=nIQWvd7Bghl-KQXfKDCXaYXG9dzFtdzDBSfQRWhmCs8,103844
77
77
  lusid/api/transaction_fees_api.py,sha256=e_NUn6jBgTC_rQtv1htJ1K16ZIU-Oq3gg-uyUgxXinY,62619
78
78
  lusid/api/transaction_portfolios_api.py,sha256=MqqcLHvCu5cdLQ5ldtpe9YKTBjlmZKS4VcTRTydJnn0,707085
@@ -81,7 +81,7 @@ lusid/api/translation_api.py,sha256=ykq--aAObjON30cqkCgtlvNVN_X9o1kCFHBuhx0TqOY,
81
81
  lusid/api/workspace_api.py,sha256=cIVlsVXulKjrNIF1NMaEH11-YRF3gOmLN6KaXVeECnk,120530
82
82
  lusid/api_client.py,sha256=9ShwOKmMJEOUj82dVLKP8CIkwu0aGV2H5qwGxTVJp7w,31170
83
83
  lusid/api_response.py,sha256=6-gnhty6lu8MMAERt3_kTVD7UxQgWFfcjgpcq6iN5IU,855
84
- lusid/configuration.py,sha256=jPa6AjQShqyJyP8tJUWae0fJLHmRhrq2rnRRpQ90fBo,17980
84
+ lusid/configuration.py,sha256=oBGbtJljagHhwFWdVLmIrALoHStat_W3SMrPtWBXxKY,17980
85
85
  lusid/exceptions.py,sha256=lYAJyHpruxMPUtZ95NwiYJvqzInY8S0yhRE0-JFYCww,5873
86
86
  lusid/extensions/__init__.py,sha256=dzDHEzpn-9smd2-_UMWQzeyX6Ha4jGf6fnqx7qxKxNI,630
87
87
  lusid/extensions/api_client.py,sha256=cq0kCulu3hsJ7jMPQfsE8B6FIa8ppTSXqneHo19RrXQ,30973
@@ -945,8 +945,8 @@ lusid/models/portfolio_transaction.py,sha256=I_eCP0wTNfdkyCvtJhQhlYXYepBOH4hHgNB
945
945
  lusid/models/portfolio_type.py,sha256=Ytf-09rPfr3NTSxgQIUbJ1HdcbegwueT4n-KrO80etI,1031
946
946
  lusid/models/portfolio_without_href.py,sha256=yvAqZuEPvLj_T6UHgxXtLAht1sfNZ-gESUHsPMYACwQ,21752
947
947
  lusid/models/portfolios_reconciliation_request.py,sha256=rbGyHAWCN3Zf3mTimVCWYwQzwsbCAw6axH_qCc79Rsg,3422
948
- lusid/models/post_close_activities_request.py,sha256=fEEiahx3raFwo_Q9RuwiyZ3ycDrpGsiCJ5_tPqrTsro,3048
949
- lusid/models/post_close_activity.py,sha256=CQlBjRNYCLNrxhX8KjNzSfrUK8u2qud3MGhThkCHYmY,2935
948
+ lusid/models/post_close_activities_request.py,sha256=FImVzWOEGH91belD-9pIEadxK1enn9TPPxjciE1sqP4,3051
949
+ lusid/models/post_close_activity.py,sha256=BpaGCS928iAlvMk3gXbIwDMzSsp-Gl5qYmJoV5JbWg0,4199
950
950
  lusid/models/posting_module_details.py,sha256=TvIlSiWaV4pX5tEV2QdNDpLSL540qvXaTSaVc5WkskU,3048
951
951
  lusid/models/posting_module_request.py,sha256=g6VmFXC9rkxylivlYCYbGdPhar3YnEg9P9idztN6VgQ,3894
952
952
  lusid/models/posting_module_response.py,sha256=moo658_EbRVkXto3-51-Ye1Y1hNWsYjYsS1MBem1y5Y,6144
@@ -1438,6 +1438,6 @@ lusid/models/year_month_day.py,sha256=H4OeBzWuMg6mwiOAHFfAvrzjd3QrFCqx1ldsB4L9YQ
1438
1438
  lusid/models/yield_curve_data.py,sha256=_BmEhhFXrGpBb7qL9WZJpVPeat4twES7nSQggts6_WI,10457
1439
1439
  lusid/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
1440
1440
  lusid/rest.py,sha256=HQT__5LQEMu6_1sLKvYj-DI4FH1DJXBIPYfZCTTyrY4,13431
1441
- lusid_sdk-2.3.14.dist-info/METADATA,sha256=g-UVe1APpMF_9uaEFJ8pyS9ym1i0_rggFGayH8-_FpE,241785
1442
- lusid_sdk-2.3.14.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
1443
- lusid_sdk-2.3.14.dist-info/RECORD,,
1441
+ lusid_sdk-2.3.16.dist-info/METADATA,sha256=XA0XOuCv9vktk-6bFGO3WqItvDW0mBvOHOeoJrBvaR0,241785
1442
+ lusid_sdk-2.3.16.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
1443
+ lusid_sdk-2.3.16.dist-info/RECORD,,