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.

Files changed (167) hide show
  1. lusid/__init__.py +36 -0
  2. lusid/api/__init__.py +2 -0
  3. lusid/api/entities_api.py +360 -0
  4. lusid/api/fee_types_api.py +143 -0
  5. lusid/api/fund_configurations_api.py +944 -0
  6. lusid/api/funds_api.py +8 -16
  7. lusid/api/order_management_api.py +320 -1
  8. lusid/api/persons_api.py +167 -0
  9. lusid/api/portfolios_api.py +2 -2
  10. lusid/configuration.py +1 -1
  11. lusid/extensions/__init__.py +1 -1
  12. lusid/models/__init__.py +34 -0
  13. lusid/models/accounting_method.py +3 -0
  14. lusid/models/accumulation_event.py +3 -3
  15. lusid/models/address_key_compliance_parameter.py +3 -3
  16. lusid/models/address_key_list_compliance_parameter.py +3 -3
  17. lusid/models/amortisation_event.py +3 -3
  18. lusid/models/basket.py +3 -3
  19. lusid/models/bond.py +3 -3
  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/bool_compliance_parameter.py +3 -3
  24. lusid/models/bool_list_compliance_parameter.py +3 -3
  25. lusid/models/branch_step.py +3 -3
  26. lusid/models/branch_step_request.py +10 -3
  27. lusid/models/cancel_placements_response.py +153 -0
  28. lusid/models/cancelled_placement_result.py +83 -0
  29. lusid/models/cap_floor.py +3 -3
  30. lusid/models/capital_distribution_event.py +3 -3
  31. lusid/models/cash_dividend_event.py +3 -3
  32. lusid/models/cash_flow_event.py +3 -3
  33. lusid/models/cash_perpetual.py +3 -3
  34. lusid/models/cds_index.py +3 -3
  35. lusid/models/check_step.py +3 -3
  36. lusid/models/check_step_request.py +10 -3
  37. lusid/models/close_event.py +3 -3
  38. lusid/models/complex_bond.py +3 -3
  39. lusid/models/compliance_parameter.py +6 -5
  40. lusid/models/compliance_parameter_type.py +1 -0
  41. lusid/models/compliance_step.py +6 -5
  42. lusid/models/compliance_step_request.py +7 -6
  43. lusid/models/compliance_step_type.py +1 -0
  44. lusid/models/compliance_step_type_request.py +1 -0
  45. lusid/models/component_rule.py +83 -0
  46. lusid/models/contract_for_difference.py +3 -3
  47. lusid/models/create_derived_property_definition_request.py +3 -3
  48. lusid/models/create_derived_transaction_portfolio_request.py +3 -3
  49. lusid/models/create_property_definition_request.py +3 -3
  50. lusid/models/create_transaction_portfolio_request.py +3 -3
  51. lusid/models/credit_default_swap.py +3 -3
  52. lusid/models/currency_and_amount.py +2 -7
  53. lusid/models/date_time_compliance_parameter.py +3 -3
  54. lusid/models/date_time_list_compliance_parameter.py +3 -3
  55. lusid/models/decimal_compliance_parameter.py +3 -3
  56. lusid/models/decimal_list_compliance_parameter.py +3 -3
  57. lusid/models/dependency_source_filter.py +9 -2
  58. lusid/models/dividend_option_event.py +3 -3
  59. lusid/models/dividend_reinvestment_event.py +3 -3
  60. lusid/models/equity.py +3 -3
  61. lusid/models/equity_option.py +3 -3
  62. lusid/models/equity_swap.py +3 -3
  63. lusid/models/exchange_traded_option.py +3 -3
  64. lusid/models/exercise_event.py +3 -3
  65. lusid/models/exotic_instrument.py +3 -3
  66. lusid/models/expiry_event.py +3 -3
  67. lusid/models/fee.py +1 -15
  68. lusid/models/fee_accrual.py +32 -14
  69. lusid/models/fee_request.py +10 -1
  70. lusid/models/fee_transaction_template_specification.py +79 -0
  71. lusid/models/filter_predicate_compliance_parameter.py +3 -3
  72. lusid/models/filter_step.py +3 -3
  73. lusid/models/filter_step_request.py +10 -3
  74. lusid/models/fixed_leg.py +3 -3
  75. lusid/models/flexible_loan.py +3 -3
  76. lusid/models/floating_leg.py +3 -3
  77. lusid/models/forward_rate_agreement.py +3 -3
  78. lusid/models/fund_configuration.py +150 -0
  79. lusid/models/fund_configuration_properties.py +115 -0
  80. lusid/models/fund_configuration_request.py +130 -0
  81. lusid/models/fund_share_class.py +3 -3
  82. lusid/models/funding_leg.py +3 -3
  83. lusid/models/future.py +3 -3
  84. lusid/models/future_expiry_event.py +100 -0
  85. lusid/models/fx_forward.py +3 -3
  86. lusid/models/fx_forward_settlement_event.py +3 -3
  87. lusid/models/fx_option.py +3 -3
  88. lusid/models/fx_swap.py +3 -3
  89. lusid/models/group_by_selector_compliance_parameter.py +3 -3
  90. lusid/models/group_by_step.py +3 -3
  91. lusid/models/group_by_step_request.py +10 -3
  92. lusid/models/group_calculation_compliance_parameter.py +91 -0
  93. lusid/models/group_filter_predicate_compliance_parameter.py +3 -3
  94. lusid/models/group_filter_step.py +3 -3
  95. lusid/models/group_filter_step_request.py +10 -3
  96. lusid/models/inflation_leg.py +3 -3
  97. lusid/models/inflation_linked_bond.py +3 -3
  98. lusid/models/inflation_swap.py +3 -3
  99. lusid/models/informational_error_event.py +3 -3
  100. lusid/models/informational_event.py +3 -3
  101. lusid/models/instrument.py +7 -1
  102. lusid/models/instrument_entity.py +146 -0
  103. lusid/models/instrument_event.py +6 -5
  104. lusid/models/instrument_event_type.py +1 -0
  105. lusid/models/instrument_leg.py +3 -3
  106. lusid/models/instrument_list_compliance_parameter.py +3 -3
  107. lusid/models/instrument_type.py +2 -0
  108. lusid/models/interest_rate_swap.py +3 -3
  109. lusid/models/interest_rate_swaption.py +3 -3
  110. lusid/models/intermediate_compliance_step.py +3 -3
  111. lusid/models/intermediate_compliance_step_request.py +10 -3
  112. lusid/models/lusid_instrument.py +3 -3
  113. lusid/models/maturity_event.py +3 -3
  114. lusid/models/merger_event.py +3 -3
  115. lusid/models/open_event.py +3 -3
  116. lusid/models/order_flow_configuration.py +1 -1
  117. lusid/models/paged_resource_list_of_fund_configuration.py +113 -0
  118. lusid/models/percent_check_step.py +110 -0
  119. lusid/models/percent_check_step_request.py +98 -0
  120. lusid/models/placement_update_request.py +116 -0
  121. lusid/models/portfolio.py +3 -3
  122. lusid/models/portfolio_details.py +3 -3
  123. lusid/models/portfolio_group_id_compliance_parameter.py +3 -3
  124. lusid/models/portfolio_group_id_list_compliance_parameter.py +3 -3
  125. lusid/models/portfolio_id_compliance_parameter.py +3 -3
  126. lusid/models/portfolio_id_list_compliance_parameter.py +3 -3
  127. lusid/models/portfolio_without_href.py +3 -3
  128. lusid/models/property_definition.py +10 -4
  129. lusid/models/property_definition_entity.py +146 -0
  130. lusid/models/property_definition_search_result.py +3 -3
  131. lusid/models/property_domain.py +34 -0
  132. lusid/models/property_key_compliance_parameter.py +3 -3
  133. lusid/models/property_key_list_compliance_parameter.py +3 -3
  134. lusid/models/property_list_compliance_parameter.py +3 -3
  135. lusid/models/quote_access_metadata_rule_id.py +2 -2
  136. lusid/models/quote_series_id.py +2 -2
  137. lusid/models/raw_vendor_event.py +3 -3
  138. lusid/models/realised_gain_loss.py +2 -2
  139. lusid/models/recombine_step.py +3 -3
  140. lusid/models/reference_instrument.py +3 -3
  141. lusid/models/repo.py +3 -3
  142. lusid/models/reset_event.py +3 -3
  143. lusid/models/reverse_stock_split_event.py +3 -3
  144. lusid/models/scrip_dividend_event.py +3 -3
  145. lusid/models/simple_cash_flow_loan.py +3 -3
  146. lusid/models/simple_instrument.py +3 -3
  147. lusid/models/spin_off_event.py +3 -3
  148. lusid/models/staging_rule_approval_criteria.py +10 -3
  149. lusid/models/stock_dividend_event.py +3 -3
  150. lusid/models/stock_split_event.py +3 -3
  151. lusid/models/string_compliance_parameter.py +3 -3
  152. lusid/models/string_list_compliance_parameter.py +3 -3
  153. lusid/models/term_deposit.py +3 -3
  154. lusid/models/total_return_swap.py +3 -3
  155. lusid/models/transaction_configuration_movement_data.py +1 -1
  156. lusid/models/transaction_configuration_movement_data_request.py +1 -1
  157. lusid/models/transaction_field_map.py +7 -2
  158. lusid/models/transaction_type_calculation.py +11 -14
  159. lusid/models/transaction_type_movement.py +20 -3
  160. lusid/models/transition_event.py +3 -3
  161. lusid/models/trigger_event.py +3 -3
  162. lusid/models/update_placements_response.py +153 -0
  163. lusid/models/upsert_instruments_response.py +20 -1
  164. lusid/models/upsert_persons_response.py +114 -0
  165. {lusid_sdk-2.1.198.dist-info → lusid_sdk-2.1.261.dist-info}/METADATA +32 -4
  166. {lusid_sdk-2.1.198.dist-info → lusid_sdk-2.1.261.dist-info}/RECORD +167 -149
  167. {lusid_sdk-2.1.198.dist-info → lusid_sdk-2.1.261.dist-info}/WHEEL +0 -0
@@ -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
  ...