lusid-sdk 2.1.198__py3-none-any.whl → 2.1.261__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of lusid-sdk might be problematic. Click here for more details.
- lusid/__init__.py +36 -0
- lusid/api/__init__.py +2 -0
- lusid/api/entities_api.py +360 -0
- lusid/api/fee_types_api.py +143 -0
- lusid/api/fund_configurations_api.py +944 -0
- lusid/api/funds_api.py +8 -16
- lusid/api/order_management_api.py +320 -1
- lusid/api/persons_api.py +167 -0
- lusid/api/portfolios_api.py +2 -2
- lusid/configuration.py +1 -1
- lusid/extensions/__init__.py +1 -1
- lusid/models/__init__.py +34 -0
- lusid/models/accounting_method.py +3 -0
- lusid/models/accumulation_event.py +3 -3
- lusid/models/address_key_compliance_parameter.py +3 -3
- lusid/models/address_key_list_compliance_parameter.py +3 -3
- lusid/models/amortisation_event.py +3 -3
- lusid/models/basket.py +3 -3
- lusid/models/bond.py +3 -3
- lusid/models/bond_coupon_event.py +3 -3
- lusid/models/bond_default_event.py +3 -3
- lusid/models/bond_principal_event.py +3 -3
- lusid/models/bool_compliance_parameter.py +3 -3
- lusid/models/bool_list_compliance_parameter.py +3 -3
- lusid/models/branch_step.py +3 -3
- lusid/models/branch_step_request.py +10 -3
- lusid/models/cancel_placements_response.py +153 -0
- lusid/models/cancelled_placement_result.py +83 -0
- lusid/models/cap_floor.py +3 -3
- lusid/models/capital_distribution_event.py +3 -3
- lusid/models/cash_dividend_event.py +3 -3
- lusid/models/cash_flow_event.py +3 -3
- lusid/models/cash_perpetual.py +3 -3
- lusid/models/cds_index.py +3 -3
- lusid/models/check_step.py +3 -3
- lusid/models/check_step_request.py +10 -3
- lusid/models/close_event.py +3 -3
- lusid/models/complex_bond.py +3 -3
- lusid/models/compliance_parameter.py +6 -5
- lusid/models/compliance_parameter_type.py +1 -0
- lusid/models/compliance_step.py +6 -5
- lusid/models/compliance_step_request.py +7 -6
- lusid/models/compliance_step_type.py +1 -0
- lusid/models/compliance_step_type_request.py +1 -0
- lusid/models/component_rule.py +83 -0
- lusid/models/contract_for_difference.py +3 -3
- lusid/models/create_derived_property_definition_request.py +3 -3
- lusid/models/create_derived_transaction_portfolio_request.py +3 -3
- lusid/models/create_property_definition_request.py +3 -3
- lusid/models/create_transaction_portfolio_request.py +3 -3
- lusid/models/credit_default_swap.py +3 -3
- lusid/models/currency_and_amount.py +2 -7
- lusid/models/date_time_compliance_parameter.py +3 -3
- lusid/models/date_time_list_compliance_parameter.py +3 -3
- lusid/models/decimal_compliance_parameter.py +3 -3
- lusid/models/decimal_list_compliance_parameter.py +3 -3
- lusid/models/dependency_source_filter.py +9 -2
- lusid/models/dividend_option_event.py +3 -3
- lusid/models/dividend_reinvestment_event.py +3 -3
- lusid/models/equity.py +3 -3
- lusid/models/equity_option.py +3 -3
- lusid/models/equity_swap.py +3 -3
- lusid/models/exchange_traded_option.py +3 -3
- lusid/models/exercise_event.py +3 -3
- lusid/models/exotic_instrument.py +3 -3
- lusid/models/expiry_event.py +3 -3
- lusid/models/fee.py +1 -15
- lusid/models/fee_accrual.py +32 -14
- lusid/models/fee_request.py +10 -1
- lusid/models/fee_transaction_template_specification.py +79 -0
- lusid/models/filter_predicate_compliance_parameter.py +3 -3
- lusid/models/filter_step.py +3 -3
- lusid/models/filter_step_request.py +10 -3
- lusid/models/fixed_leg.py +3 -3
- lusid/models/flexible_loan.py +3 -3
- lusid/models/floating_leg.py +3 -3
- lusid/models/forward_rate_agreement.py +3 -3
- lusid/models/fund_configuration.py +150 -0
- lusid/models/fund_configuration_properties.py +115 -0
- lusid/models/fund_configuration_request.py +130 -0
- lusid/models/fund_share_class.py +3 -3
- lusid/models/funding_leg.py +3 -3
- lusid/models/future.py +3 -3
- lusid/models/future_expiry_event.py +100 -0
- lusid/models/fx_forward.py +3 -3
- lusid/models/fx_forward_settlement_event.py +3 -3
- lusid/models/fx_option.py +3 -3
- lusid/models/fx_swap.py +3 -3
- lusid/models/group_by_selector_compliance_parameter.py +3 -3
- lusid/models/group_by_step.py +3 -3
- lusid/models/group_by_step_request.py +10 -3
- lusid/models/group_calculation_compliance_parameter.py +91 -0
- lusid/models/group_filter_predicate_compliance_parameter.py +3 -3
- lusid/models/group_filter_step.py +3 -3
- lusid/models/group_filter_step_request.py +10 -3
- lusid/models/inflation_leg.py +3 -3
- lusid/models/inflation_linked_bond.py +3 -3
- lusid/models/inflation_swap.py +3 -3
- lusid/models/informational_error_event.py +3 -3
- lusid/models/informational_event.py +3 -3
- lusid/models/instrument.py +7 -1
- lusid/models/instrument_entity.py +146 -0
- lusid/models/instrument_event.py +6 -5
- lusid/models/instrument_event_type.py +1 -0
- lusid/models/instrument_leg.py +3 -3
- lusid/models/instrument_list_compliance_parameter.py +3 -3
- lusid/models/instrument_type.py +2 -0
- lusid/models/interest_rate_swap.py +3 -3
- lusid/models/interest_rate_swaption.py +3 -3
- lusid/models/intermediate_compliance_step.py +3 -3
- lusid/models/intermediate_compliance_step_request.py +10 -3
- lusid/models/lusid_instrument.py +3 -3
- lusid/models/maturity_event.py +3 -3
- lusid/models/merger_event.py +3 -3
- lusid/models/open_event.py +3 -3
- lusid/models/order_flow_configuration.py +1 -1
- lusid/models/paged_resource_list_of_fund_configuration.py +113 -0
- lusid/models/percent_check_step.py +110 -0
- lusid/models/percent_check_step_request.py +98 -0
- lusid/models/placement_update_request.py +116 -0
- lusid/models/portfolio.py +3 -3
- lusid/models/portfolio_details.py +3 -3
- lusid/models/portfolio_group_id_compliance_parameter.py +3 -3
- lusid/models/portfolio_group_id_list_compliance_parameter.py +3 -3
- lusid/models/portfolio_id_compliance_parameter.py +3 -3
- lusid/models/portfolio_id_list_compliance_parameter.py +3 -3
- lusid/models/portfolio_without_href.py +3 -3
- lusid/models/property_definition.py +10 -4
- lusid/models/property_definition_entity.py +146 -0
- lusid/models/property_definition_search_result.py +3 -3
- lusid/models/property_domain.py +34 -0
- lusid/models/property_key_compliance_parameter.py +3 -3
- lusid/models/property_key_list_compliance_parameter.py +3 -3
- lusid/models/property_list_compliance_parameter.py +3 -3
- lusid/models/quote_access_metadata_rule_id.py +2 -2
- lusid/models/quote_series_id.py +2 -2
- lusid/models/raw_vendor_event.py +3 -3
- lusid/models/realised_gain_loss.py +2 -2
- lusid/models/recombine_step.py +3 -3
- lusid/models/reference_instrument.py +3 -3
- lusid/models/repo.py +3 -3
- lusid/models/reset_event.py +3 -3
- lusid/models/reverse_stock_split_event.py +3 -3
- lusid/models/scrip_dividend_event.py +3 -3
- lusid/models/simple_cash_flow_loan.py +3 -3
- lusid/models/simple_instrument.py +3 -3
- lusid/models/spin_off_event.py +3 -3
- lusid/models/staging_rule_approval_criteria.py +10 -3
- lusid/models/stock_dividend_event.py +3 -3
- lusid/models/stock_split_event.py +3 -3
- lusid/models/string_compliance_parameter.py +3 -3
- lusid/models/string_list_compliance_parameter.py +3 -3
- lusid/models/term_deposit.py +3 -3
- lusid/models/total_return_swap.py +3 -3
- lusid/models/transaction_configuration_movement_data.py +1 -1
- lusid/models/transaction_configuration_movement_data_request.py +1 -1
- lusid/models/transaction_field_map.py +7 -2
- lusid/models/transaction_type_calculation.py +11 -14
- lusid/models/transaction_type_movement.py +20 -3
- lusid/models/transition_event.py +3 -3
- lusid/models/trigger_event.py +3 -3
- lusid/models/update_placements_response.py +153 -0
- lusid/models/upsert_instruments_response.py +20 -1
- lusid/models/upsert_persons_response.py +114 -0
- {lusid_sdk-2.1.198.dist-info → lusid_sdk-2.1.261.dist-info}/METADATA +32 -4
- {lusid_sdk-2.1.198.dist-info → lusid_sdk-2.1.261.dist-info}/RECORD +167 -149
- {lusid_sdk-2.1.198.dist-info → lusid_sdk-2.1.261.dist-info}/WHEEL +0 -0
lusid/api/fee_types_api.py
CHANGED
|
@@ -27,6 +27,7 @@ from pydantic.v1 import Field, StrictStr, conint, conlist, constr, validator
|
|
|
27
27
|
from typing import Optional
|
|
28
28
|
|
|
29
29
|
from lusid.models.deleted_entity_response import DeletedEntityResponse
|
|
30
|
+
from lusid.models.fee_transaction_template_specification import FeeTransactionTemplateSpecification
|
|
30
31
|
from lusid.models.fee_type import FeeType
|
|
31
32
|
from lusid.models.fee_type_request import FeeTypeRequest
|
|
32
33
|
from lusid.models.paged_resource_list_of_fee_type import PagedResourceListOfFeeType
|
|
@@ -377,6 +378,148 @@ class FeeTypesApi:
|
|
|
377
378
|
collection_formats=_collection_formats,
|
|
378
379
|
_request_auth=_params.get('_request_auth'))
|
|
379
380
|
|
|
381
|
+
@overload
|
|
382
|
+
async def get_fee_template_specifications(self, **kwargs) -> FeeTransactionTemplateSpecification: # noqa: E501
|
|
383
|
+
...
|
|
384
|
+
|
|
385
|
+
@overload
|
|
386
|
+
def get_fee_template_specifications(self, async_req: Optional[bool]=True, **kwargs) -> FeeTransactionTemplateSpecification: # noqa: E501
|
|
387
|
+
...
|
|
388
|
+
|
|
389
|
+
@validate_arguments
|
|
390
|
+
def get_fee_template_specifications(self, async_req: Optional[bool]=None, **kwargs) -> Union[FeeTransactionTemplateSpecification, Awaitable[FeeTransactionTemplateSpecification]]: # noqa: E501
|
|
391
|
+
"""[EXPERIMENTAL] GetFeeTemplateSpecifications: Get FeeTemplateSpecifications used in the FeeType. # noqa: E501
|
|
392
|
+
|
|
393
|
+
Get FeeTemplateSpecifications used in the FeeType. # noqa: E501
|
|
394
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
395
|
+
asynchronous HTTP request, please pass async_req=True
|
|
396
|
+
|
|
397
|
+
>>> thread = api.get_fee_template_specifications(async_req=True)
|
|
398
|
+
>>> result = thread.get()
|
|
399
|
+
|
|
400
|
+
:param async_req: Whether to execute the request asynchronously.
|
|
401
|
+
:type async_req: bool, optional
|
|
402
|
+
:param _request_timeout: timeout setting for this request.
|
|
403
|
+
If one number provided, it will be total request
|
|
404
|
+
timeout. It can also be a pair (tuple) of
|
|
405
|
+
(connection, read) timeouts.
|
|
406
|
+
:return: Returns the result object.
|
|
407
|
+
If the method is called asynchronously,
|
|
408
|
+
returns the request thread.
|
|
409
|
+
:rtype: FeeTransactionTemplateSpecification
|
|
410
|
+
"""
|
|
411
|
+
kwargs['_return_http_data_only'] = True
|
|
412
|
+
if '_preload_content' in kwargs:
|
|
413
|
+
message = "Error! Please call the get_fee_template_specifications_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501
|
|
414
|
+
raise ValueError(message)
|
|
415
|
+
if async_req is not None:
|
|
416
|
+
kwargs['async_req'] = async_req
|
|
417
|
+
return self.get_fee_template_specifications_with_http_info(**kwargs) # noqa: E501
|
|
418
|
+
|
|
419
|
+
@validate_arguments
|
|
420
|
+
def get_fee_template_specifications_with_http_info(self, **kwargs) -> ApiResponse: # noqa: E501
|
|
421
|
+
"""[EXPERIMENTAL] GetFeeTemplateSpecifications: Get FeeTemplateSpecifications used in the FeeType. # noqa: E501
|
|
422
|
+
|
|
423
|
+
Get FeeTemplateSpecifications used in the FeeType. # noqa: E501
|
|
424
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
425
|
+
asynchronous HTTP request, please pass async_req=True
|
|
426
|
+
|
|
427
|
+
>>> thread = api.get_fee_template_specifications_with_http_info(async_req=True)
|
|
428
|
+
>>> result = thread.get()
|
|
429
|
+
|
|
430
|
+
:param async_req: Whether to execute the request asynchronously.
|
|
431
|
+
:type async_req: bool, optional
|
|
432
|
+
:param _preload_content: if False, the ApiResponse.data will
|
|
433
|
+
be set to none and raw_data will store the
|
|
434
|
+
HTTP response body without reading/decoding.
|
|
435
|
+
Default is True.
|
|
436
|
+
:type _preload_content: bool, optional
|
|
437
|
+
:param _return_http_data_only: response data instead of ApiResponse
|
|
438
|
+
object with status code, headers, etc
|
|
439
|
+
:type _return_http_data_only: bool, optional
|
|
440
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
441
|
+
number provided, it will be total request
|
|
442
|
+
timeout. It can also be a pair (tuple) of
|
|
443
|
+
(connection, read) timeouts.
|
|
444
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
445
|
+
request; this effectively ignores the authentication
|
|
446
|
+
in the spec for a single request.
|
|
447
|
+
:type _request_auth: dict, optional
|
|
448
|
+
:type _content_type: string, optional: force content-type for the request
|
|
449
|
+
:return: Returns the result object.
|
|
450
|
+
If the method is called asynchronously,
|
|
451
|
+
returns the request thread.
|
|
452
|
+
:rtype: tuple(FeeTransactionTemplateSpecification, status_code(int), headers(HTTPHeaderDict))
|
|
453
|
+
"""
|
|
454
|
+
|
|
455
|
+
_params = locals()
|
|
456
|
+
|
|
457
|
+
_all_params = [
|
|
458
|
+
]
|
|
459
|
+
_all_params.extend(
|
|
460
|
+
[
|
|
461
|
+
'async_req',
|
|
462
|
+
'_return_http_data_only',
|
|
463
|
+
'_preload_content',
|
|
464
|
+
'_request_timeout',
|
|
465
|
+
'_request_auth',
|
|
466
|
+
'_content_type',
|
|
467
|
+
'_headers'
|
|
468
|
+
]
|
|
469
|
+
)
|
|
470
|
+
|
|
471
|
+
# validate the arguments
|
|
472
|
+
for _key, _val in _params['kwargs'].items():
|
|
473
|
+
if _key not in _all_params:
|
|
474
|
+
raise ApiTypeError(
|
|
475
|
+
"Got an unexpected keyword argument '%s'"
|
|
476
|
+
" to method get_fee_template_specifications" % _key
|
|
477
|
+
)
|
|
478
|
+
_params[_key] = _val
|
|
479
|
+
del _params['kwargs']
|
|
480
|
+
|
|
481
|
+
_collection_formats = {}
|
|
482
|
+
|
|
483
|
+
# process the path parameters
|
|
484
|
+
_path_params = {}
|
|
485
|
+
|
|
486
|
+
# process the query parameters
|
|
487
|
+
_query_params = []
|
|
488
|
+
# process the header parameters
|
|
489
|
+
_header_params = dict(_params.get('_headers', {}))
|
|
490
|
+
# process the form parameters
|
|
491
|
+
_form_params = []
|
|
492
|
+
_files = {}
|
|
493
|
+
# process the body parameter
|
|
494
|
+
_body_params = None
|
|
495
|
+
# set the HTTP header `Accept`
|
|
496
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
497
|
+
['text/plain', 'application/json', 'text/json']) # noqa: E501
|
|
498
|
+
|
|
499
|
+
# authentication setting
|
|
500
|
+
_auth_settings = ['oauth2'] # noqa: E501
|
|
501
|
+
|
|
502
|
+
_response_types_map = {
|
|
503
|
+
'200': "FeeTransactionTemplateSpecification",
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
return self.api_client.call_api(
|
|
507
|
+
'/api/feetypes/feetransactiontemplatespecification', 'GET',
|
|
508
|
+
_path_params,
|
|
509
|
+
_query_params,
|
|
510
|
+
_header_params,
|
|
511
|
+
body=_body_params,
|
|
512
|
+
post_params=_form_params,
|
|
513
|
+
files=_files,
|
|
514
|
+
response_types_map=_response_types_map,
|
|
515
|
+
auth_settings=_auth_settings,
|
|
516
|
+
async_req=_params.get('async_req'),
|
|
517
|
+
_return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
|
|
518
|
+
_preload_content=_params.get('_preload_content', True),
|
|
519
|
+
_request_timeout=_params.get('_request_timeout'),
|
|
520
|
+
collection_formats=_collection_formats,
|
|
521
|
+
_request_auth=_params.get('_request_auth'))
|
|
522
|
+
|
|
380
523
|
@overload
|
|
381
524
|
async def get_fee_type(self, scope : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The scope of the FeeType")], code : Annotated[constr(strict=True, max_length=64, min_length=1), Field(..., description="The code of the FeeType")], as_at : Annotated[Optional[datetime], Field(description="The asAt datetime at which to retrieve the FeeType. Defaults to returning the latest version of the FeeType, if not specified.")] = None, **kwargs) -> FeeType: # noqa: E501
|
|
382
525
|
...
|