lusid-sdk 2.1.734__py3-none-any.whl → 2.1.736__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.
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.7508\n"\
448
+ "Version of the API: 0.11.7521\n"\
449
449
  "SDK Package Version: {package_version}".\
450
450
  format(env=sys.platform, pyversion=sys.version, package_version=package_version)
451
451
 
@@ -18,8 +18,8 @@ import re # noqa: F401
18
18
  import json
19
19
 
20
20
  from datetime import datetime
21
- from typing import Any, Dict, List
22
- from pydantic.v1 import StrictStr, Field, Field, StrictStr, conlist, constr, validator
21
+ from typing import Any, Dict, List, Union
22
+ from pydantic.v1 import StrictStr, Field, Field, StrictFloat, StrictInt, StrictStr, conlist, constr, validator
23
23
  from lusid.models.lusid_instrument import LusidInstrument
24
24
  from lusid.models.schedule import Schedule
25
25
 
@@ -30,11 +30,12 @@ class LoanFacility(LusidInstrument):
30
30
  start_date: datetime = Field(..., alias="startDate", description="The start date of the instrument. This is normally synonymous with the trade-date.")
31
31
  maturity_date: datetime = Field(..., alias="maturityDate", description="The final maturity date of the instrument. This means the last date on which the instruments makes a payment of any amount. For the avoidance of doubt, that is not necessarily prior to its last sensitivity date for the purposes of risk; e.g. instruments such as Constant Maturity Swaps (CMS) often have sensitivities to rates that may well be observed or set prior to the maturity date, but refer to a termination date beyond it.")
32
32
  dom_ccy: StrictStr = Field(...,alias="domCcy", description="The domestic currency of the instrument.")
33
+ initial_commitment: Union[StrictFloat, StrictInt] = Field(..., alias="initialCommitment", description="The initial commitment for the loan facility.")
33
34
  loan_type: StrictStr = Field(...,alias="loanType", description="LoanType for this facility. The facility can either be a revolving or a term loan. Supported string (enumeration) values are: [Revolver, TermLoan].")
34
35
  schedules: conlist(Schedule) = Field(..., description="Repayment schedules for the loan.")
35
36
  instrument_type: StrictStr = Field(...,alias="instrumentType", description="The available values are: QuotedSecurity, InterestRateSwap, FxForward, Future, ExoticInstrument, FxOption, CreditDefaultSwap, InterestRateSwaption, Bond, EquityOption, FixedLeg, FloatingLeg, BespokeCashFlowsLeg, Unknown, TermDeposit, ContractForDifference, EquitySwap, CashPerpetual, CapFloor, CashSettled, CdsIndex, Basket, FundingLeg, FxSwap, ForwardRateAgreement, SimpleInstrument, Repo, Equity, ExchangeTradedOption, ReferenceInstrument, ComplexBond, InflationLinkedBond, InflationSwap, SimpleCashFlowLoan, TotalReturnSwap, InflationLeg, FundShareClass, FlexibleLoan, UnsettledCash, Cash, MasteredInstrument, LoanFacility, FlexibleDeposit")
36
37
  additional_properties: Dict[str, Any] = {}
37
- __properties = ["instrumentType", "startDate", "maturityDate", "domCcy", "loanType", "schedules"]
38
+ __properties = ["instrumentType", "startDate", "maturityDate", "domCcy", "initialCommitment", "loanType", "schedules"]
38
39
 
39
40
  @validator('instrument_type')
40
41
  def instrument_type_validate_enum(cls, value):
@@ -104,6 +105,7 @@ class LoanFacility(LusidInstrument):
104
105
  "start_date": obj.get("startDate"),
105
106
  "maturity_date": obj.get("maturityDate"),
106
107
  "dom_ccy": obj.get("domCcy"),
108
+ "initial_commitment": obj.get("initialCommitment"),
107
109
  "loan_type": obj.get("loanType"),
108
110
  "schedules": [Schedule.from_dict(_item) for _item in obj.get("schedules")] if obj.get("schedules") is not None else None
109
111
  })
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: lusid-sdk
3
- Version: 2.1.734
3
+ Version: 2.1.736
4
4
  Summary: LUSID API
5
5
  Home-page: https://github.com/finbourne/lusid-sdk-python
6
6
  License: MIT
@@ -74,7 +74,7 @@ lusid/api/translation_api.py,sha256=xpRuTfwQvYBlWe6r_L2EI_uVpXqHFnEOim-i-kVQ85E,
74
74
  lusid/api/workspace_api.py,sha256=RplAKcky_SrK0V3nhh2K0UmWGeXggr6RQ4-g9Hqy7hw,190986
75
75
  lusid/api_client.py,sha256=ewMTmf9SRurY8pYnUx9jy24RdldPCOa4US38pnrVxjA,31140
76
76
  lusid/api_response.py,sha256=6-gnhty6lu8MMAERt3_kTVD7UxQgWFfcjgpcq6iN5IU,855
77
- lusid/configuration.py,sha256=2_VrfnRWndw4npIY-Th7q_OcRK2W312KQu0ADEhJr74,17972
77
+ lusid/configuration.py,sha256=FQqq9oWXXmMylGg1hF0hhY9cPQJCXgKx6EIbJyqLOMM,17972
78
78
  lusid/exceptions.py,sha256=HIQwgmQrszLlcVCLaqex8dO0laVuejUyOMz7U2ZWJ6s,5326
79
79
  lusid/extensions/__init__.py,sha256=dzDHEzpn-9smd2-_UMWQzeyX6Ha4jGf6fnqx7qxKxNI,630
80
80
  lusid/extensions/api_client.py,sha256=GzygWg_h603QK1QS2HvAijuE2R1TnvoF6-Yg0CeM3ug,30943
@@ -646,7 +646,7 @@ lusid/models/link.py,sha256=EeEp6CdIum-p7ul97h6HRtzDBTjPKV8wpEfWl8aqQq4,2561
646
646
  lusid/models/list_aggregation_reconciliation.py,sha256=8xvE6dMNrcUqS5scJuEiZj8IQHX8NRQNkRzd2O_l5fk,3577
647
647
  lusid/models/list_aggregation_response.py,sha256=o097jI2ebPqKh7eD3_V784MWQyADBvLqLIRavFXES7w,6080
648
648
  lusid/models/list_complex_market_data_with_meta_data_response.py,sha256=Z49eo02KExtGEbPieM7gsx4tLg_g7MrrNwM3gYqsYpY,3849
649
- lusid/models/loan_facility.py,sha256=0kv59sib2iUUUsCBFJD9dwT7At7RUagx-lWPmbtlRNM,7474
649
+ lusid/models/loan_facility.py,sha256=qWLc__NgOhGogEs3ZvP9zqks39H4avHQ_8gebUsncOY,7745
650
650
  lusid/models/loan_interest_repayment_event.py,sha256=4sAy9qDgywhR1NTXMc50OcP8io4a0-STI_kqukZhhaY,8992
651
651
  lusid/models/loan_period.py,sha256=aYoZLiXQRkjj0DWmXs4ihxHUxYW7Nc0-mfkFaSBAE4k,2383
652
652
  lusid/models/loan_principal_repayment_event.py,sha256=g3MZGV4LGfUiAwz-gVkNRmpmZGOM58WBRyNl0YsmJT8,8839
@@ -1283,6 +1283,6 @@ lusid/models/workspace_update_request.py,sha256=ihKnBY685hfgs9uoyAXQNt1w7iOF-6Jc
1283
1283
  lusid/models/yield_curve_data.py,sha256=eDxj1qjChju3anFaQzywjFOuchX5i0pOTh5N-zcvJzg,6540
1284
1284
  lusid/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
1285
1285
  lusid/rest.py,sha256=HQT__5LQEMu6_1sLKvYj-DI4FH1DJXBIPYfZCTTyrY4,13431
1286
- lusid_sdk-2.1.734.dist-info/METADATA,sha256=ZVs96WdYbxfTF7MZEyWDOWCJwJn7itX1sEqqVW6cC5I,219947
1287
- lusid_sdk-2.1.734.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
1288
- lusid_sdk-2.1.734.dist-info/RECORD,,
1286
+ lusid_sdk-2.1.736.dist-info/METADATA,sha256=ryCx-_CPOcjBo7-8ndUaCODqC6tkzurRpuV4ghqbVaw,219947
1287
+ lusid_sdk-2.1.736.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
1288
+ lusid_sdk-2.1.736.dist-info/RECORD,,