From 5dd5bbc142ad8b55398622b13365e1f33006f0a6 Mon Sep 17 00:00:00 2001 From: Suhas Date: Fri, 23 Aug 2024 13:19:08 +0530 Subject: [PATCH] version 4.2.4 with base64 big fix --- cashfree_pg/api_client.py | 137 ++++++++++++++++++----------------- cashfree_pg/configuration.py | 2 +- pyproject.toml | 2 +- setup.py | 2 +- 4 files changed, 73 insertions(+), 70 deletions(-) diff --git a/cashfree_pg/api_client.py b/cashfree_pg/api_client.py index f164461..5e83756 100644 --- a/cashfree_pg/api_client.py +++ b/cashfree_pg/api_client.py @@ -286,6 +286,9 @@ from cashfree_pg.models.vendor_entity_related_docs_inner import * from cashfree_pg.models.vendor_split import * from cashfree_pg.models.wallet_offer import * +import base64 +import hashlib +import hmac class CFEnvironment(Enum): SANDBOX = 1 @@ -429,7 +432,7 @@ def PGCreateCustomer(self, x_api_version : Annotated[StrictStr, Field(..., descr if x_idempotency_key: _header_params["x-idempotency-key"] = x_idempotency_key - _header_params["x-sdk-platform"] = "pythonsdk-4.2.3" + _header_params["x-sdk-platform"] = "pythonsdk-4.2.4" # process the form parameters _form_params = [] @@ -591,7 +594,7 @@ def PGOrderSplitAfterPayment(self, x_api_version : Annotated[StrictStr, Field(.. if x_idempotency_key: _header_params["x-idempotency-key"] = x_idempotency_key - _header_params["x-sdk-platform"] = "pythonsdk-4.2.3" + _header_params["x-sdk-platform"] = "pythonsdk-4.2.4" # process the form parameters _form_params = [] @@ -742,7 +745,7 @@ def PGOrderStaticSplit(self, x_api_version : Annotated[StrictStr, Field(..., des if x_idempotency_key: _header_params["x-idempotency-key"] = x_idempotency_key - _header_params["x-sdk-platform"] = "pythonsdk-4.2.3" + _header_params["x-sdk-platform"] = "pythonsdk-4.2.4" # process the form parameters _form_params = [] @@ -897,7 +900,7 @@ def PGesCreateOnDemandTransfer(self, x_api_version : Annotated[StrictStr, Field( if x_idempotency_key: _header_params["x-idempotency-key"] = x_idempotency_key - _header_params["x-sdk-platform"] = "pythonsdk-4.2.3" + _header_params["x-sdk-platform"] = "pythonsdk-4.2.4" # process the form parameters _form_params = [] @@ -1046,7 +1049,7 @@ def PGesCreateVendors(self, x_api_version : Annotated[StrictStr, Field(..., desc if x_idempotency_key: _header_params["x-idempotency-key"] = x_idempotency_key - _header_params["x-sdk-platform"] = "pythonsdk-4.2.3" + _header_params["x-sdk-platform"] = "pythonsdk-4.2.4" # process the form parameters _form_params = [] @@ -1204,7 +1207,7 @@ def PGesDownloadVendorsDocs(self, x_api_version : Annotated[StrictStr, Field(... if x_idempotency_key: _header_params["x-idempotency-key"] = x_idempotency_key - _header_params["x-sdk-platform"] = "pythonsdk-4.2.3" + _header_params["x-sdk-platform"] = "pythonsdk-4.2.4" # process the form parameters _form_params = [] @@ -1345,7 +1348,7 @@ def PGesFetchVendors(self, x_api_version : Annotated[StrictStr, Field(..., descr if x_idempotency_key: _header_params["x-idempotency-key"] = x_idempotency_key - _header_params["x-sdk-platform"] = "pythonsdk-4.2.3" + _header_params["x-sdk-platform"] = "pythonsdk-4.2.4" # process the form parameters _form_params = [] @@ -1487,7 +1490,7 @@ def PGesGetVendorBalance(self, x_api_version : Annotated[StrictStr, Field(..., d if x_idempotency_key: _header_params["x-idempotency-key"] = x_idempotency_key - _header_params["x-sdk-platform"] = "pythonsdk-4.2.3" + _header_params["x-sdk-platform"] = "pythonsdk-4.2.4" # process the form parameters _form_params = [] @@ -1635,7 +1638,7 @@ def PGesGetVendorBalanceTransferCharges(self, x_api_version : Annotated[StrictSt if x_idempotency_key: _header_params["x-idempotency-key"] = x_idempotency_key - _header_params["x-sdk-platform"] = "pythonsdk-4.2.3" + _header_params["x-sdk-platform"] = "pythonsdk-4.2.4" # process the form parameters _form_params = [] @@ -1777,7 +1780,7 @@ def PGesGetVendorsDocs(self, x_api_version : Annotated[StrictStr, Field(..., des if x_idempotency_key: _header_params["x-idempotency-key"] = x_idempotency_key - _header_params["x-sdk-platform"] = "pythonsdk-4.2.3" + _header_params["x-sdk-platform"] = "pythonsdk-4.2.4" # process the form parameters _form_params = [] @@ -1916,7 +1919,7 @@ def PGesOrderRecon(self, x_api_version : Annotated[StrictStr, Field(..., descrip if x_idempotency_key: _header_params["x-idempotency-key"] = x_idempotency_key - _header_params["x-sdk-platform"] = "pythonsdk-4.2.3" + _header_params["x-sdk-platform"] = "pythonsdk-4.2.4" # process the form parameters _form_params = [] @@ -2073,7 +2076,7 @@ def PGesUpdateVendors(self, x_api_version : Annotated[StrictStr, Field(..., desc if x_idempotency_key: _header_params["x-idempotency-key"] = x_idempotency_key - _header_params["x-sdk-platform"] = "pythonsdk-4.2.3" + _header_params["x-sdk-platform"] = "pythonsdk-4.2.4" # process the form parameters _form_params = [] @@ -2234,7 +2237,7 @@ def PGesUploadVendorsDocs(self, x_api_version : Annotated[StrictStr, Field(..., if x_idempotency_key: _header_params["x-idempotency-key"] = x_idempotency_key - _header_params["x-sdk-platform"] = "pythonsdk-4.2.3" + _header_params["x-sdk-platform"] = "pythonsdk-4.2.4" # process the form parameters _form_params = [] @@ -2390,7 +2393,7 @@ def PGEligibilityFetchCardlessEmi(self, x_api_version : Annotated[StrictStr, Fie if x_idempotency_key: _header_params["x-idempotency-key"] = x_idempotency_key - _header_params["x-sdk-platform"] = "pythonsdk-4.2.3" + _header_params["x-sdk-platform"] = "pythonsdk-4.2.4" # process the form parameters _form_params = [] @@ -2546,7 +2549,7 @@ def PGEligibilityFetchOffers(self, x_api_version : Annotated[StrictStr, Field(.. if x_idempotency_key: _header_params["x-idempotency-key"] = x_idempotency_key - _header_params["x-sdk-platform"] = "pythonsdk-4.2.3" + _header_params["x-sdk-platform"] = "pythonsdk-4.2.4" # process the form parameters _form_params = [] @@ -2701,7 +2704,7 @@ def PGEligibilityFetchPaylater(self, x_api_version : Annotated[StrictStr, Field( if x_idempotency_key: _header_params["x-idempotency-key"] = x_idempotency_key - _header_params["x-sdk-platform"] = "pythonsdk-4.2.3" + _header_params["x-sdk-platform"] = "pythonsdk-4.2.4" # process the form parameters _form_params = [] @@ -2857,7 +2860,7 @@ def PGEligibilityFetchPaymentMethods(self, x_api_version : Annotated[StrictStr, if x_idempotency_key: _header_params["x-idempotency-key"] = x_idempotency_key - _header_params["x-sdk-platform"] = "pythonsdk-4.2.3" + _header_params["x-sdk-platform"] = "pythonsdk-4.2.4" # process the form parameters _form_params = [] @@ -3014,7 +3017,7 @@ def PGCreateOffer(self, x_api_version : Annotated[StrictStr, Field(..., descript if x_idempotency_key: _header_params["x-idempotency-key"] = x_idempotency_key - _header_params["x-sdk-platform"] = "pythonsdk-4.2.3" + _header_params["x-sdk-platform"] = "pythonsdk-4.2.4" # process the form parameters _form_params = [] @@ -3172,7 +3175,7 @@ def PGFetchOffer(self, x_api_version : Annotated[StrictStr, Field(..., descripti if x_idempotency_key: _header_params["x-idempotency-key"] = x_idempotency_key - _header_params["x-sdk-platform"] = "pythonsdk-4.2.3" + _header_params["x-sdk-platform"] = "pythonsdk-4.2.4" # process the form parameters _form_params = [] @@ -3318,7 +3321,7 @@ def PGCreateOrder(self, x_api_version : Annotated[StrictStr, Field(..., descript if x_idempotency_key: _header_params["x-idempotency-key"] = x_idempotency_key - _header_params["x-sdk-platform"] = "pythonsdk-4.2.3" + _header_params["x-sdk-platform"] = "pythonsdk-4.2.4" # process the form parameters _form_params = [] @@ -3476,7 +3479,7 @@ def PGFetchOrder(self, x_api_version : Annotated[StrictStr, Field(..., descripti if x_idempotency_key: _header_params["x-idempotency-key"] = x_idempotency_key - _header_params["x-sdk-platform"] = "pythonsdk-4.2.3" + _header_params["x-sdk-platform"] = "pythonsdk-4.2.4" # process the form parameters _form_params = [] @@ -3627,7 +3630,7 @@ def PGTerminateOrder(self, x_api_version : Annotated[StrictStr, Field(..., descr if x_idempotency_key: _header_params["x-idempotency-key"] = x_idempotency_key - _header_params["x-sdk-platform"] = "pythonsdk-4.2.3" + _header_params["x-sdk-platform"] = "pythonsdk-4.2.4" # process the form parameters _form_params = [] @@ -3789,7 +3792,7 @@ def PGFetchRecon(self, x_api_version : Annotated[StrictStr, Field(..., descripti if x_idempotency_key: _header_params["x-idempotency-key"] = x_idempotency_key - _header_params["x-sdk-platform"] = "pythonsdk-4.2.3" + _header_params["x-sdk-platform"] = "pythonsdk-4.2.4" # process the form parameters _form_params = [] @@ -3948,7 +3951,7 @@ def PGCancelLink(self, x_api_version : Annotated[StrictStr, Field(..., descripti if x_idempotency_key: _header_params["x-idempotency-key"] = x_idempotency_key - _header_params["x-sdk-platform"] = "pythonsdk-4.2.3" + _header_params["x-sdk-platform"] = "pythonsdk-4.2.4" # process the form parameters _form_params = [] @@ -4093,7 +4096,7 @@ def PGCreateLink(self, x_api_version : Annotated[StrictStr, Field(..., descripti if x_idempotency_key: _header_params["x-idempotency-key"] = x_idempotency_key - _header_params["x-sdk-platform"] = "pythonsdk-4.2.3" + _header_params["x-sdk-platform"] = "pythonsdk-4.2.4" # process the form parameters _form_params = [] @@ -4251,7 +4254,7 @@ def PGFetchLink(self, x_api_version : Annotated[StrictStr, Field(..., descriptio if x_idempotency_key: _header_params["x-idempotency-key"] = x_idempotency_key - _header_params["x-sdk-platform"] = "pythonsdk-4.2.3" + _header_params["x-sdk-platform"] = "pythonsdk-4.2.4" # process the form parameters _form_params = [] @@ -4406,7 +4409,7 @@ def PGLinkFetchOrders(self, x_api_version : Annotated[StrictStr, Field(..., desc if x_idempotency_key: _header_params["x-idempotency-key"] = x_idempotency_key - _header_params["x-sdk-platform"] = "pythonsdk-4.2.3" + _header_params["x-sdk-platform"] = "pythonsdk-4.2.4" # process the form parameters _form_params = [] @@ -4558,7 +4561,7 @@ def PGAuthorizeOrder(self, x_api_version : Annotated[StrictStr, Field(..., descr if x_idempotency_key: _header_params["x-idempotency-key"] = x_idempotency_key - _header_params["x-sdk-platform"] = "pythonsdk-4.2.3" + _header_params["x-sdk-platform"] = "pythonsdk-4.2.4" # process the form parameters _form_params = [] @@ -4720,7 +4723,7 @@ def PGOrderAuthenticatePayment(self, x_api_version : Annotated[StrictStr, Field( if x_idempotency_key: _header_params["x-idempotency-key"] = x_idempotency_key - _header_params["x-sdk-platform"] = "pythonsdk-4.2.3" + _header_params["x-sdk-platform"] = "pythonsdk-4.2.4" # process the form parameters _form_params = [] @@ -4885,7 +4888,7 @@ def PGOrderFetchPayment(self, x_api_version : Annotated[StrictStr, Field(..., de if x_idempotency_key: _header_params["x-idempotency-key"] = x_idempotency_key - _header_params["x-sdk-platform"] = "pythonsdk-4.2.3" + _header_params["x-sdk-platform"] = "pythonsdk-4.2.4" # process the form parameters _form_params = [] @@ -5034,7 +5037,7 @@ def PGOrderFetchPayments(self, x_api_version : Annotated[StrictStr, Field(..., d if x_idempotency_key: _header_params["x-idempotency-key"] = x_idempotency_key - _header_params["x-sdk-platform"] = "pythonsdk-4.2.3" + _header_params["x-sdk-platform"] = "pythonsdk-4.2.4" # process the form parameters _form_params = [] @@ -5180,7 +5183,7 @@ def PGPayOrder(self, x_api_version : Annotated[StrictStr, Field(..., description if x_idempotency_key: _header_params["x-idempotency-key"] = x_idempotency_key - _header_params["x-sdk-platform"] = "pythonsdk-4.2.3" + _header_params["x-sdk-platform"] = "pythonsdk-4.2.4" # process the form parameters _form_params = [] @@ -5343,7 +5346,7 @@ def PGOrderCreateRefund(self, x_api_version : Annotated[StrictStr, Field(..., de if x_idempotency_key: _header_params["x-idempotency-key"] = x_idempotency_key - _header_params["x-sdk-platform"] = "pythonsdk-4.2.3" + _header_params["x-sdk-platform"] = "pythonsdk-4.2.4" # process the form parameters _form_params = [] @@ -5508,7 +5511,7 @@ def PGOrderFetchRefund(self, x_api_version : Annotated[StrictStr, Field(..., des if x_idempotency_key: _header_params["x-idempotency-key"] = x_idempotency_key - _header_params["x-sdk-platform"] = "pythonsdk-4.2.3" + _header_params["x-sdk-platform"] = "pythonsdk-4.2.4" # process the form parameters _form_params = [] @@ -5657,7 +5660,7 @@ def PGOrderFetchRefunds(self, x_api_version : Annotated[StrictStr, Field(..., de if x_idempotency_key: _header_params["x-idempotency-key"] = x_idempotency_key - _header_params["x-sdk-platform"] = "pythonsdk-4.2.3" + _header_params["x-sdk-platform"] = "pythonsdk-4.2.4" # process the form parameters _form_params = [] @@ -5809,7 +5812,7 @@ def PGFetchSettlements(self, x_api_version : Annotated[StrictStr, Field(..., des if x_idempotency_key: _header_params["x-idempotency-key"] = x_idempotency_key - _header_params["x-sdk-platform"] = "pythonsdk-4.2.3" + _header_params["x-sdk-platform"] = "pythonsdk-4.2.4" # process the form parameters _form_params = [] @@ -5970,7 +5973,7 @@ def PGSettlementFetchRecon(self, x_api_version : Annotated[StrictStr, Field(..., if x_idempotency_key: _header_params["x-idempotency-key"] = x_idempotency_key - _header_params["x-sdk-platform"] = "pythonsdk-4.2.3" + _header_params["x-sdk-platform"] = "pythonsdk-4.2.4" # process the form parameters _form_params = [] @@ -6126,7 +6129,7 @@ def MarkForSettlement(self, x_api_version : Annotated[StrictStr, Field(..., desc if x_idempotency_key: _header_params["x-idempotency-key"] = x_idempotency_key - _header_params["x-sdk-platform"] = "pythonsdk-4.2.3" + _header_params["x-sdk-platform"] = "pythonsdk-4.2.4" # process the form parameters _form_params = [] @@ -6281,7 +6284,7 @@ def PGOrderFetchSettlement(self, x_api_version : Annotated[StrictStr, Field(..., if x_idempotency_key: _header_params["x-idempotency-key"] = x_idempotency_key - _header_params["x-sdk-platform"] = "pythonsdk-4.2.3" + _header_params["x-sdk-platform"] = "pythonsdk-4.2.4" # process the form parameters _form_params = [] @@ -6431,7 +6434,7 @@ def PGFetchSimulation(self, x_api_version : Annotated[StrictStr, Field(..., desc if x_idempotency_key: _header_params["x-idempotency-key"] = x_idempotency_key - _header_params["x-sdk-platform"] = "pythonsdk-4.2.3" + _header_params["x-sdk-platform"] = "pythonsdk-4.2.4" # process the form parameters _form_params = [] @@ -6574,7 +6577,7 @@ def PGSimulatePayment(self, x_api_version : Annotated[StrictStr, Field(..., desc if x_idempotency_key: _header_params["x-idempotency-key"] = x_idempotency_key - _header_params["x-sdk-platform"] = "pythonsdk-4.2.3" + _header_params["x-sdk-platform"] = "pythonsdk-4.2.4" # process the form parameters _form_params = [] @@ -6728,7 +6731,7 @@ def SubsCreatePayment(self, x_api_version : Annotated[StrictStr, Field(..., desc if x_idempotency_key: _header_params["x-idempotency-key"] = x_idempotency_key - _header_params["x-sdk-platform"] = "pythonsdk-4.2.3" + _header_params["x-sdk-platform"] = "pythonsdk-4.2.4" # process the form parameters _form_params = [] @@ -6882,7 +6885,7 @@ def SubsCreatePlan(self, x_api_version : Annotated[StrictStr, Field(..., descrip if x_idempotency_key: _header_params["x-idempotency-key"] = x_idempotency_key - _header_params["x-sdk-platform"] = "pythonsdk-4.2.3" + _header_params["x-sdk-platform"] = "pythonsdk-4.2.4" # process the form parameters _form_params = [] @@ -7042,7 +7045,7 @@ def SubsCreateRefund(self, x_api_version : Annotated[StrictStr, Field(..., descr if x_idempotency_key: _header_params["x-idempotency-key"] = x_idempotency_key - _header_params["x-sdk-platform"] = "pythonsdk-4.2.3" + _header_params["x-sdk-platform"] = "pythonsdk-4.2.4" # process the form parameters _form_params = [] @@ -7196,7 +7199,7 @@ def SubsCreateSubscription(self, x_api_version : Annotated[StrictStr, Field(..., if x_idempotency_key: _header_params["x-idempotency-key"] = x_idempotency_key - _header_params["x-sdk-platform"] = "pythonsdk-4.2.3" + _header_params["x-sdk-platform"] = "pythonsdk-4.2.4" # process the form parameters _form_params = [] @@ -7353,7 +7356,7 @@ def SubsFetchPlan(self, x_api_version : Annotated[StrictStr, Field(..., descript if x_idempotency_key: _header_params["x-idempotency-key"] = x_idempotency_key - _header_params["x-sdk-platform"] = "pythonsdk-4.2.3" + _header_params["x-sdk-platform"] = "pythonsdk-4.2.4" # process the form parameters _form_params = [] @@ -7499,7 +7502,7 @@ def SubsFetchSubscription(self, x_api_version : Annotated[StrictStr, Field(..., if x_idempotency_key: _header_params["x-idempotency-key"] = x_idempotency_key - _header_params["x-sdk-platform"] = "pythonsdk-4.2.3" + _header_params["x-sdk-platform"] = "pythonsdk-4.2.4" # process the form parameters _form_params = [] @@ -7651,7 +7654,7 @@ def SubsFetchSubscriptionPayment(self, x_api_version : Annotated[StrictStr, Fiel if x_idempotency_key: _header_params["x-idempotency-key"] = x_idempotency_key - _header_params["x-sdk-platform"] = "pythonsdk-4.2.3" + _header_params["x-sdk-platform"] = "pythonsdk-4.2.4" # process the form parameters _form_params = [] @@ -7797,7 +7800,7 @@ def SubsFetchSubscriptionPayments(self, x_api_version : Annotated[StrictStr, Fie if x_idempotency_key: _header_params["x-idempotency-key"] = x_idempotency_key - _header_params["x-sdk-platform"] = "pythonsdk-4.2.3" + _header_params["x-sdk-platform"] = "pythonsdk-4.2.4" # process the form parameters _form_params = [] @@ -7950,7 +7953,7 @@ def SubsFetchSubscriptionRefund(self, x_api_version : Annotated[StrictStr, Field if x_idempotency_key: _header_params["x-idempotency-key"] = x_idempotency_key - _header_params["x-sdk-platform"] = "pythonsdk-4.2.3" + _header_params["x-sdk-platform"] = "pythonsdk-4.2.4" # process the form parameters _form_params = [] @@ -8099,7 +8102,7 @@ def SubsManageSubscription(self, x_api_version : Annotated[StrictStr, Field(..., if x_idempotency_key: _header_params["x-idempotency-key"] = x_idempotency_key - _header_params["x-sdk-platform"] = "pythonsdk-4.2.3" + _header_params["x-sdk-platform"] = "pythonsdk-4.2.4" # process the form parameters _form_params = [] @@ -8265,7 +8268,7 @@ def SubsManageSubscriptionPayment(self, x_api_version : Annotated[StrictStr, Fie if x_idempotency_key: _header_params["x-idempotency-key"] = x_idempotency_key - _header_params["x-sdk-platform"] = "pythonsdk-4.2.3" + _header_params["x-sdk-platform"] = "pythonsdk-4.2.4" # process the form parameters _form_params = [] @@ -8430,7 +8433,7 @@ def SubscriptionDocumentUpload(self, x_api_version : Annotated[StrictStr, Field( if x_idempotency_key: _header_params["x-idempotency-key"] = x_idempotency_key - _header_params["x-sdk-platform"] = "pythonsdk-4.2.3" + _header_params["x-sdk-platform"] = "pythonsdk-4.2.4" # process the form parameters _form_params = [] @@ -8590,7 +8593,7 @@ def SubscriptionEligibility(self, x_api_version : Annotated[StrictStr, Field(... if x_idempotency_key: _header_params["x-idempotency-key"] = x_idempotency_key - _header_params["x-sdk-platform"] = "pythonsdk-4.2.3" + _header_params["x-sdk-platform"] = "pythonsdk-4.2.4" # process the form parameters _form_params = [] @@ -8754,7 +8757,7 @@ def PGCustomerDeleteInstrument(self, x_api_version : Annotated[StrictStr, Field( if x_idempotency_key: _header_params["x-idempotency-key"] = x_idempotency_key - _header_params["x-sdk-platform"] = "pythonsdk-4.2.3" + _header_params["x-sdk-platform"] = "pythonsdk-4.2.4" # process the form parameters _form_params = [] @@ -8909,7 +8912,7 @@ def PGCustomerFetchInstrument(self, x_api_version : Annotated[StrictStr, Field(. if x_idempotency_key: _header_params["x-idempotency-key"] = x_idempotency_key - _header_params["x-sdk-platform"] = "pythonsdk-4.2.3" + _header_params["x-sdk-platform"] = "pythonsdk-4.2.4" # process the form parameters _form_params = [] @@ -9064,7 +9067,7 @@ def PGCustomerFetchInstruments(self, x_api_version : Annotated[StrictStr, Field( if x_idempotency_key: _header_params["x-idempotency-key"] = x_idempotency_key - _header_params["x-sdk-platform"] = "pythonsdk-4.2.3" + _header_params["x-sdk-platform"] = "pythonsdk-4.2.4" # process the form parameters _form_params = [] @@ -9218,7 +9221,7 @@ def PGCustomerInstrumentsFetchCryptogram(self, x_api_version : Annotated[StrictS if x_idempotency_key: _header_params["x-idempotency-key"] = x_idempotency_key - _header_params["x-sdk-platform"] = "pythonsdk-4.2.3" + _header_params["x-sdk-platform"] = "pythonsdk-4.2.4" # process the form parameters _form_params = [] @@ -9365,7 +9368,7 @@ def SposCreateTerminal(self, x_api_version : Annotated[StrictStr, Field(..., des if x_idempotency_key: _header_params["x-idempotency-key"] = x_idempotency_key - _header_params["x-sdk-platform"] = "pythonsdk-4.2.3" + _header_params["x-sdk-platform"] = "pythonsdk-4.2.4" # process the form parameters _form_params = [] @@ -9520,7 +9523,7 @@ def SposCreateTerminalTransaction(self, x_api_version : Annotated[StrictStr, Fie if x_idempotency_key: _header_params["x-idempotency-key"] = x_idempotency_key - _header_params["x-sdk-platform"] = "pythonsdk-4.2.3" + _header_params["x-sdk-platform"] = "pythonsdk-4.2.4" # process the form parameters _form_params = [] @@ -9678,7 +9681,7 @@ def SposFetchTerminal(self, x_api_version : Annotated[StrictStr, Field(..., desc if x_idempotency_key: _header_params["x-idempotency-key"] = x_idempotency_key - _header_params["x-sdk-platform"] = "pythonsdk-4.2.3" + _header_params["x-sdk-platform"] = "pythonsdk-4.2.4" # process the form parameters _form_params = [] @@ -9832,7 +9835,7 @@ def SposFetchTerminalQrCodes(self, x_api_version : Annotated[StrictStr, Field(.. if x_idempotency_key: _header_params["x-idempotency-key"] = x_idempotency_key - _header_params["x-sdk-platform"] = "pythonsdk-4.2.3" + _header_params["x-sdk-platform"] = "pythonsdk-4.2.4" # process the form parameters _form_params = [] @@ -9986,7 +9989,7 @@ def SposFetchTerminalTransaction(self, x_api_version : Annotated[StrictStr, Fiel if x_idempotency_key: _header_params["x-idempotency-key"] = x_idempotency_key - _header_params["x-sdk-platform"] = "pythonsdk-4.2.3" + _header_params["x-sdk-platform"] = "pythonsdk-4.2.4" # process the form parameters _form_params = [] @@ -10137,7 +10140,7 @@ def SposUpdateTerminal(self, x_api_version : Annotated[StrictStr, Field(..., des if x_idempotency_key: _header_params["x-idempotency-key"] = x_idempotency_key - _header_params["x-sdk-platform"] = "pythonsdk-4.2.3" + _header_params["x-sdk-platform"] = "pythonsdk-4.2.4" # process the form parameters _form_params = [] @@ -10298,7 +10301,7 @@ def SposUpdateTerminalStatus(self, x_api_version : Annotated[StrictStr, Field(.. if x_idempotency_key: _header_params["x-idempotency-key"] = x_idempotency_key - _header_params["x-sdk-platform"] = "pythonsdk-4.2.3" + _header_params["x-sdk-platform"] = "pythonsdk-4.2.4" # process the form parameters _form_params = [] @@ -10459,7 +10462,7 @@ def SposUploadTerminalDocs(self, x_api_version : Annotated[StrictStr, Field(..., if x_idempotency_key: _header_params["x-idempotency-key"] = x_idempotency_key - _header_params["x-sdk-platform"] = "pythonsdk-4.2.3" + _header_params["x-sdk-platform"] = "pythonsdk-4.2.4" # process the form parameters _form_params = [] @@ -10558,7 +10561,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None, self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'OpenAPI-Generator/4.2.3/python' + self.user_agent = 'OpenAPI-Generator/4.2.4/python' self.client_side_validation = configuration.client_side_validation def __enter__(self): diff --git a/cashfree_pg/configuration.py b/cashfree_pg/configuration.py index 2cf1b95..c7419b6 100644 --- a/cashfree_pg/configuration.py +++ b/cashfree_pg/configuration.py @@ -434,7 +434,7 @@ def to_debug_report(self): "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: 2023-08-01\n"\ - "SDK Package Version: 4.2.3".\ + "SDK Package Version: 4.2.4".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self): diff --git a/pyproject.toml b/pyproject.toml index 7dcf63f..286ae95 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "cashfree_pg" -version = "4.2.3" +version = "4.2.4" description = "Cashfree Payment Gateway APIs" authors = ["API Support "] license = "Apache 2.0" diff --git a/setup.py b/setup.py index 9ae8db8..94e995f 100644 --- a/setup.py +++ b/setup.py @@ -22,7 +22,7 @@ # prerequisite: setuptools # http://pypi.python.org/pypi/setuptools NAME = "cashfree_pg" -VERSION = "4.2.3" +VERSION = "4.2.4" with open("README.md", "r", encoding="utf-8") as fh: readme = fh.read() PYTHON_REQUIRES = ">=3.7"