From 435a898c7c7f3b0cae883404bd6d2ee68190752f Mon Sep 17 00:00:00 2001 From: bitbucket-pipelines Date: Mon, 5 Feb 2024 06:04:32 +0000 Subject: [PATCH] Generating Node SDK. --- api.ts | 1047 +++++++++++++++++----------------------------- base.ts | 2 +- common.ts | 2 +- configuration.ts | 2 +- index.ts | 2 +- package.json | 2 +- 6 files changed, 378 insertions(+), 679 deletions(-) diff --git a/api.ts b/api.ts index 184798d..5ba5f56 100644 --- a/api.ts +++ b/api.ts @@ -4,7 +4,7 @@ * Cashfree Payment Gateway APIs * Cashfree\'s Payment Gateway APIs provide developers with a streamlined pathway to integrate advanced payment processing capabilities into their applications, platforms and websites. * - * The version of the OpenAPI document: 2023-08-01 + * The version of the OpenAPI document: 2022-09-01 * Contact: developers@cashfree.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -756,31 +756,6 @@ export const CashbackDetailsCashbackTypeEnum = { export type CashbackDetailsCashbackTypeEnum = typeof CashbackDetailsCashbackTypeEnum[keyof typeof CashbackDetailsCashbackTypeEnum]; -/** - * Request body to create a customer at cashfree - * @export - * @interface CreateCustomerRequest - */ -export interface CreateCustomerRequest { - /** - * Customer Phone Number - * @type {string} - * @memberof CreateCustomerRequest - */ - 'customer_phone': string; - /** - * Customer Email - * @type {string} - * @memberof CreateCustomerRequest - */ - 'customer_email'?: string; - /** - * Customer Name - * @type {string} - * @memberof CreateCustomerRequest - */ - 'customer_name'?: string; -} /** * Request paramenters for link creation * @export @@ -855,10 +830,10 @@ export interface CreateLinkRequest { 'link_notes'?: { [key: string]: string; }; /** * - * @type {LinkMetaResponseEntity} + * @type {LinkMetaEntity} * @memberof CreateLinkRequest */ - 'link_meta'?: LinkMetaResponseEntity; + 'link_meta'?: LinkMetaEntity; } /** * create offer backend request object @@ -1034,16 +1009,16 @@ export interface CreateTerminalRequestTerminalMeta { export interface CreateTerminalTransactionRequest { /** * cashfree order ID that was returned while creating an order. - * @type {string} + * @type {number} * @memberof CreateTerminalTransactionRequest */ - 'cf_order_id': string; + 'cf_order_id': number; /** * cashfree terminal id. this is a required parameter when you do not provide the terminal phone number. - * @type {string} + * @type {number} * @memberof CreateTerminalTransactionRequest */ - 'cf_terminal_id'?: string; + 'cf_terminal_id'?: number; /** * mention the payment method used for the transaction. possible values - QR_CODE, LINK. * @type {string} @@ -1154,12 +1129,6 @@ export interface CustomerDetails { * @memberof CustomerDetails */ 'customer_bank_code'?: number; - /** - * Customer identifier at Cashfree. You will get this when you create/get customer - * @type {string} - * @memberof CustomerDetails - */ - 'customer_uid'?: string; } /** * Details of the customer for whom eligibility is being checked. @@ -1174,37 +1143,6 @@ export interface CustomerDetailsCardlessEMI { */ 'customer_phone': string; } -/** - * The complete customer entity - * @export - * @interface CustomerEntity - */ -export interface CustomerEntity { - /** - * unique id generated by cashfree for your customer - * @type {string} - * @memberof CustomerEntity - */ - 'customer_uid'?: string; - /** - * Customer Phone Number - * @type {string} - * @memberof CustomerEntity - */ - 'customer_phone'?: string; - /** - * Customer Email - * @type {string} - * @memberof CustomerEntity - */ - 'customer_email'?: string; - /** - * Customer Name - * @type {string} - * @memberof CustomerEntity - */ - 'customer_name'?: string; -} /** * detils of the discount object of offer * @export @@ -1641,10 +1579,10 @@ export interface FetchSettlementsRequest { export interface FetchSettlementsRequestFilters { /** * List of settlement IDs for which you want the settlement reconciliation details. - * @type {Array} + * @type {Array} * @memberof FetchSettlementsRequestFilters */ - 'cf_settlement_ids'?: Array; + 'cf_settlement_ids'?: Array; /** * List of settlement UTRs for which you want the settlement reconciliation details. * @type {Array} @@ -1907,10 +1845,10 @@ export interface LinkCustomerDetailsEntity { export interface LinkEntity { /** * - * @type {string} + * @type {number} * @memberof LinkEntity */ - 'cf_link_id'?: string; + 'cf_link_id'?: number; /** * * @type {string} @@ -1972,11 +1910,11 @@ export interface LinkEntity { */ 'customer_details'?: LinkCustomerDetailsEntity; /** - * - * @type {LinkMetaResponseEntity} + * Payment link meta information object. + * @type {{ [key: string]: string; }} * @memberof LinkEntity */ - 'link_meta'?: LinkMetaResponseEntity; + 'link_meta'?: { [key: string]: string; }; /** * * @type {string} @@ -2011,31 +1949,31 @@ export interface LinkEntity { /** * Payment link meta information object * @export - * @interface LinkMetaResponseEntity + * @interface LinkMetaEntity */ -export interface LinkMetaResponseEntity { +export interface LinkMetaEntity { /** * Notification URL for server-server communication. It should be an https URL. * @type {string} - * @memberof LinkMetaResponseEntity + * @memberof LinkMetaEntity */ 'notify_url'?: string; /** * If \"true\", link will directly open UPI Intent flow on mobile, and normal link flow elsewhere * @type {boolean} - * @memberof LinkMetaResponseEntity + * @memberof LinkMetaEntity */ 'upi_intent'?: boolean; /** * The URL to which user will be redirected to after the payment is done on the link. Maximum length: 250. * @type {string} - * @memberof LinkMetaResponseEntity + * @memberof LinkMetaEntity */ 'return_url'?: string; /** * Allowed payment modes for this link. Pass comma-separated values among following options - \"cc\", \"dc\", \"ccc\", \"ppc\", \"nb\", \"upi\", \"paypal\", \"app\". Leave it blank to show all available payment methods * @type {string} - * @memberof LinkMetaResponseEntity + * @memberof LinkMetaEntity */ 'payment_methods'?: string; } @@ -2398,6 +2336,12 @@ export interface OfferValidations { * @memberof OfferValidations */ 'payment_method': OfferValidationsPaymentMethod; + /** + * Maximum amount of Offer that can be availed. + * @type {number} + * @memberof OfferValidations + */ + 'max_allowed': number; } /** * @type OfferValidationsPaymentMethod @@ -2426,10 +2370,10 @@ export interface OfferWallet { export interface OrderAuthenticateEntity { /** * The payment id for which this request was sent - * @type {string} + * @type {number} * @memberof OrderAuthenticateEntity */ - 'cf_payment_id'?: string; + 'cf_payment_id'?: number; /** * The action that was invoked for this request. * @type {string} @@ -2547,10 +2491,10 @@ export type OrderCreateRefundRequestRefundSpeedEnum = typeof OrderCreateRefundRe export interface OrderEntity { /** * unique id generated by cashfree for your order - * @type {string} + * @type {number} * @memberof OrderEntity */ - 'cf_order_id'?: string; + 'cf_order_id'?: number; /** * order_id sent during the api request * @type {string} @@ -2576,7 +2520,7 @@ export interface OrderEntity { */ 'order_amount'?: number; /** - * Possible values are - `ACTIVE`: Order does not have a sucessful transaction yet - `PAID`: Order is PAID with one successful transaction - `EXPIRED`: Order was not PAID and not it has expired. No transaction can be initiated for an EXPIRED order. `TERMINATED`: Order terminated `TERMINATION_REQUESTED`: Order termination requested + * Possible values are - `ACTIVE`: Order does not have a sucessful transaction yet - `PAID`: Order is PAID with one successful transaction - `EXPIRED`: Order was not PAID and not it has expired. No transaction can be initiated for an EXPIRED order. * @type {string} * @memberof OrderEntity */ @@ -2623,6 +2567,24 @@ export interface OrderEntity { * @memberof OrderEntity */ 'order_meta'?: OrderMeta; + /** + * + * @type {PaymentURLObject} + * @memberof OrderEntity + */ + 'payments'?: PaymentURLObject; + /** + * + * @type {SettlementURLObject} + * @memberof OrderEntity + */ + 'settlements'?: SettlementURLObject; + /** + * + * @type {RefundURLObject} + * @memberof OrderEntity + */ + 'refunds'?: RefundURLObject; /** * Custom Tags in thr form of {\"key\":\"value\"} which can be passed for an order. A maximum of 10 tags can be added * @type {{ [key: string]: string; }} @@ -2637,7 +2599,7 @@ export interface OrderEntity { */ export interface OrderMeta { /** - * The URL to which user will be redirected to after the payment on bank OTP page. Maximum length: 250. We suggest to keep context of order_id in your return_url so that you can identify the order when customer lands on your page. Example of return_url format could be https://example.com/return?order_id=myOrderId + * The URL to which user will be redirected to after the payment on bank OTP page. Maximum length: 250. The return_url must contain placeholder {order_id}. When redirecting the customer back to the return url from the bank’s OTP page, Cashfree will replace this placeholder with the actual value for that order. * @type {string} * @memberof OrderMeta */ @@ -2700,10 +2662,10 @@ export interface PayOrderEntity { 'payment_amount'?: number; /** * Payment identifier created by Cashfree - * @type {string} + * @type {number} * @memberof PayOrderEntity */ - 'cf_payment_id'?: string; + 'cf_payment_id'?: number; /** * One of [\"upi\", \"netbanking\", \"card\", \"app\", \"cardless_emi\", \"paylater\", \"banktransfer\"] * @type {string} @@ -2884,10 +2846,10 @@ export interface PaylaterPaymentMethod { export interface PaymentEntity { /** * - * @type {string} + * @type {number} * @memberof PaymentEntity */ - 'cf_payment_id'?: string; + 'cf_payment_id'?: number; /** * * @type {string} @@ -3062,10 +3024,10 @@ export interface PaymentLinkCustomerDetails { export interface PaymentLinkOrderEntity { /** * unique id generated by cashfree for your order - * @type {string} + * @type {number} * @memberof PaymentLinkOrderEntity */ - 'cf_order_id'?: string; + 'cf_order_id'?: number; /** * link id of the order * @type {string} @@ -3144,6 +3106,24 @@ export interface PaymentLinkOrderEntity { * @memberof PaymentLinkOrderEntity */ 'order_meta'?: OrderMeta; + /** + * + * @type {PaymentURLObject} + * @memberof PaymentLinkOrderEntity + */ + 'payments'?: PaymentURLObject; + /** + * + * @type {SettlementURLObject} + * @memberof PaymentLinkOrderEntity + */ + 'settlements'?: SettlementURLObject; + /** + * + * @type {RefundURLObject} + * @memberof PaymentLinkOrderEntity + */ + 'refunds'?: RefundURLObject; /** * Custom Tags in thr form of {\"key\":\"value\"} which can be passed for an order. A maximum of 10 tags can be added * @type {{ [key: string]: string; }} @@ -3447,7 +3427,7 @@ export interface PaymentMethodUPIInPaymentsEntityUpi { 'upi_id'?: string; } /** - * Filter for Payment Methods + * Filter for specific Payment Methods * @export * @interface PaymentMethodsFilters */ @@ -3509,6 +3489,19 @@ export interface PaymentModeDetails { */ 'code'?: number; } +/** + * URL for payment retrieval for an order + * @export + * @interface PaymentURLObject + */ +export interface PaymentURLObject { + /** + * + * @type {string} + * @memberof PaymentURLObject + */ + 'url'?: string; +} /** * payment webhook object * @export @@ -3899,16 +3892,16 @@ export interface ReconEntityDataInner { 'payment_service_tax'?: number; /** * Cashfree Payments unique ID to identify a payment. - * @type {string} + * @type {number} * @memberof ReconEntityDataInner */ - 'cf_payment_id'?: string; + 'cf_payment_id'?: number; /** * Unique ID to identify the settlement. - * @type {string} + * @type {number} * @memberof ReconEntityDataInner */ - 'cf_settlement_id'?: string; + 'cf_settlement_id'?: number; /** * Date and time when the settlement was processed. * @type {string} @@ -4074,10 +4067,10 @@ export interface ReconEntityDataInner { export interface RefundEntity { /** * Cashfree Payments ID of the payment for which refund is initiated - * @type {string} + * @type {number} * @memberof RefundEntity */ - 'cf_payment_id'?: string; + 'cf_payment_id'?: number; /** * Cashfree Payments ID for a refund * @type {string} @@ -4250,6 +4243,19 @@ export interface RefundSpeed { */ 'message'?: string; } +/** + * URL to get refunds for order + * @export + * @interface RefundURLObject + */ +export interface RefundURLObject { + /** + * + * @type {string} + * @memberof RefundURLObject + */ + 'url'?: string; +} /** * refund webhook object * @export @@ -4333,16 +4339,16 @@ export interface SavedInstrumentMeta { export interface SettlementEntity { /** * - * @type {string} + * @type {number} * @memberof SettlementEntity */ - 'cf_payment_id'?: string; + 'cf_payment_id'?: number; /** * - * @type {string} + * @type {number} * @memberof SettlementEntity */ - 'cf_settlement_id'?: string; + 'cf_settlement_id'?: number; /** * * @type {string} @@ -4430,10 +4436,41 @@ export interface SettlementFetchReconRequest { 'pagination': FetchSettlementsRequestPagination; /** * - * @type {FetchSettlementsRequestFilters} + * @type {SettlementFetchReconRequestFilters} * @memberof SettlementFetchReconRequest */ - 'filters': FetchSettlementsRequestFilters; + 'filters': SettlementFetchReconRequestFilters; +} +/** + * Specify either the Settlement ID, Settlement UTR, or start date and end date to fetch the settlement details. + * @export + * @interface SettlementFetchReconRequestFilters + */ +export interface SettlementFetchReconRequestFilters { + /** + * List of settlement IDs for which you want the settlement reconciliation details. + * @type {Array} + * @memberof SettlementFetchReconRequestFilters + */ + 'cf_settlement_ids'?: Array; + /** + * List of settlement UTRs for which you want the settlement reconciliation details. + * @type {Array} + * @memberof SettlementFetchReconRequestFilters + */ + 'settlement_utrs'?: Array; + /** + * Specify the start date from when you want the settlement reconciliation details. + * @type {string} + * @memberof SettlementFetchReconRequestFilters + */ + 'start_date'?: string; + /** + * Specify the end date till when you want the settlement reconciliation details. + * @type {string} + * @memberof SettlementFetchReconRequestFilters + */ + 'end_date'?: string; } /** * Recon object for settlement @@ -4582,16 +4619,16 @@ export interface SettlementReconEntityDataInner { 'payment_service_tax'?: number; /** * Cashfree Payments unique ID to identify a payment. - * @type {string} + * @type {number} * @memberof SettlementReconEntityDataInner */ - 'cf_payment_id'?: string; + 'cf_payment_id'?: number; /** * Unique ID to identify the settlement. - * @type {string} + * @type {number} * @memberof SettlementReconEntityDataInner */ - 'cf_settlement_id'?: string; + 'cf_settlement_id'?: number; /** * Date and time when the settlement was processed. * @type {string} @@ -4677,6 +4714,19 @@ export interface SettlementReconEntityDataInner { */ 'adjustment_remarks'?: string; } +/** + * Settlement URL object + * @export + * @interface SettlementURLObject + */ +export interface SettlementURLObject { + /** + * + * @type {string} + * @memberof SettlementURLObject + */ + 'url'?: string; +} /** * Settlement webhook object * @export @@ -4729,10 +4779,10 @@ export interface TerminalDetails { 'added_on'?: string; /** * cashfree terminal id - * @type {string} + * @type {number} * @memberof TerminalDetails */ - 'cf_terminal_id'?: string; + 'cf_terminal_id'?: number; /** * last instant when this terminal was updated * @type {string} @@ -4869,10 +4919,10 @@ export interface TerminalEntity { export interface TerminalTransactionEntity { /** * - * @type {string} + * @type {number} * @memberof TerminalTransactionEntity */ - 'cf_payment_id'?: string; + 'cf_payment_id'?: number; /** * * @type {number} @@ -4904,19 +4954,6 @@ export interface TerminalTransactionEntity { */ 'timeout'?: string; } -/** - * Request to terminate an active order at Cashfree - * @export - * @interface TerminateOrderRequest - */ -export interface TerminateOrderRequest { - /** - * To terminate an order, pass order_status as \"TERMINATE\". Please note, order might not be terminated - confirm with the order_status in response. \"TERMINATION_REQUESTED\" states that the request is recieved and we are working on it. If the order terminates successfully, status will change to \"TERMINATED\". Incase there\'s any active transaction which moved to success - order might not get terminated. - * @type {string} - * @memberof TerminateOrderRequest - */ - 'order_status': string; -} /** * object when you are using preauth in UPI in order pay * @export @@ -5047,126 +5084,6 @@ export interface WalletOffer { 'provider'?: string; } -/** - * CustomersApi - axios parameter creator - * @export - */ -const CustomersApiAxiosParamCreator = function (configuration?: Configuration) { - return { - /** - * Create Customer at Cashfree - * @summary Create Customer at Cashfree - - * @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD - * @param {CreateCustomerRequest} CreateCustomerRequest Request to create a new customer at Cashfree - * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * x_idempotency_key?: string, - */ - pGCreateCustomer: async (x_api_version: string, CreateCustomerRequest: CreateCustomerRequest, x_request_id?: string, x_idempotency_key?: string, options: AxiosRequestConfig = {}): Promise => { - // verify required parameter 'x_api_version' is not null or undefined - assertParamExists('pGCreateCustomer', 'x_api_version', x_api_version) - // verify required parameter 'CreateCustomerRequest' is not null or undefined - assertParamExists('pGCreateCustomer', 'CreateCustomerRequest', CreateCustomerRequest) - const localVarPath = `/customers`; - // use dummy base URL string because the URL constructor only accepts absolute URLs. - var url = "https://sandbox.cashfree.com/pg"; - if(Cashfree.XEnvironment == CFEnvironment.PRODUCTION) { - url = "https://api.cashfree.com/pg" - } - const localVarUrlObj = new URL(localVarPath, url); - let baseOptions; - if (configuration) { - baseOptions = configuration.baseOptions; - } - - const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; - const localVarHeaderParameter = {} as any; - const localVarQueryParameter = {} as any; - - // authentication XPartnerAPIKey required - await setApiKeyToObject(localVarHeaderParameter, "x-partner-apikey") - - // authentication XClientSecret required - await setApiKeyToObject(localVarHeaderParameter, "x-client-secret") - - // authentication XPartnerMerchantID required - await setApiKeyToObject(localVarHeaderParameter, "x-partner-merchantid") - - // authentication XClientID required - await setApiKeyToObject(localVarHeaderParameter, "x-client-id") - - // authentication XClientSignatureHeader required - await setApiKeyToObject(localVarHeaderParameter, "x-client-signature") - - - - localVarHeaderParameter['Content-Type'] = 'application/json'; - - localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.3'; - if (x_api_version != null && x_api_version != undefined) { - localVarHeaderParameter['x-api-version'] = x_api_version; - } - - if (x_request_id != null && x_request_id != undefined) { - localVarHeaderParameter['x-request-id'] = x_request_id; - } - - if (x_idempotency_key != null && x_idempotency_key != undefined) { - localVarHeaderParameter['x-idempotency-key'] = x_idempotency_key; - } - setSearchParams(localVarUrlObj, localVarQueryParameter); - let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; - localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; - localVarRequestOptions.data = serializeDataIfNeeded(CreateCustomerRequest, localVarRequestOptions, configuration) - - return { - url: toPathString(localVarUrlObj), - options: localVarRequestOptions, - }; - }, - } -}; - -/** - * CustomersApi - functional programming interface - * @export - */ -const CustomersApiFp = function(configuration?: Configuration) { - const localVarAxiosParamCreator = CustomersApiAxiosParamCreator(configuration) - return { - /** - * Create Customer at Cashfree - * @summary Create Customer at Cashfree - * @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD - * @param {CreateCustomerRequest} CreateCustomerRequest Request to create a new customer at Cashfree - * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. - * @param {*} [options] Override http request option. - * @throws {RequiredError} - */ - async pGCreateCustomer(x_api_version: string, CreateCustomerRequest: CreateCustomerRequest, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.pGCreateCustomer(x_api_version, CreateCustomerRequest, x_request_id, x_idempotency_key, options); - var url = "https://sandbox.cashfree.com/pg"; - if(Cashfree.XEnvironment == CFEnvironment.PRODUCTION) { - url = "https://api.cashfree.com/pg" - } - return createRequestFunction(localVarAxiosArgs, globalAxios, url, configuration); - }, - } -}; - -/** - * CustomersApi - object-oriented interface - * @export - * @class CustomersApi - * @extends {BaseAPI} - */ - - - /** * EligibilityApi - axios parameter creator * @export @@ -5175,12 +5092,12 @@ const EligibilityApiAxiosParamCreator = function (configuration?: Configuration) return { /** * Use this API to get eligible Cardless EMI Payment Methods available for a customer on an order basis their phone number. - * @summary Get Eligible Cardless EMI Payment Methods for a customer on an order + * @summary Get Eligible Cardless EMI * @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD * @param {EligibilityFetchCardlessEMIRequest} EligibilityFetchCardlessEMIRequest Request Body to get eligible cardless emi options for a customer and order * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} * x_idempotency_key?: string, @@ -5225,7 +5142,7 @@ const EligibilityApiAxiosParamCreator = function (configuration?: Configuration) localVarHeaderParameter['Content-Type'] = 'application/json'; - localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.3'; + localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.2.14'; if (x_api_version != null && x_api_version != undefined) { localVarHeaderParameter['x-api-version'] = x_api_version; } @@ -5249,12 +5166,12 @@ const EligibilityApiAxiosParamCreator = function (configuration?: Configuration) }, /** * Use this API to get eligible offers for an order_id or order amount. - * @summary Get Eligible Offers for an Order + * @summary Get Eligible Offers * @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD * @param {EligibilityFetchOffersRequest} EligibilityFetchOffersRequest Request Body to get eligible offers for a customer and order * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} * x_idempotency_key?: string, @@ -5299,7 +5216,7 @@ const EligibilityApiAxiosParamCreator = function (configuration?: Configuration) localVarHeaderParameter['Content-Type'] = 'application/json'; - localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.3'; + localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.2.14'; if (x_api_version != null && x_api_version != undefined) { localVarHeaderParameter['x-api-version'] = x_api_version; } @@ -5323,12 +5240,12 @@ const EligibilityApiAxiosParamCreator = function (configuration?: Configuration) }, /** * Use this API to get eligible Paylater Payment Methods for a customer on an order. - * @summary Get Eligible Paylater for a customer on an order + * @summary Get Eligible Paylater * @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD * @param {EligibilityFetchPaylaterRequest} EligibilityFetchPaylaterRequest Request Body to get eligible paylater options for a customer and order * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} * x_idempotency_key?: string, @@ -5373,7 +5290,7 @@ const EligibilityApiAxiosParamCreator = function (configuration?: Configuration) localVarHeaderParameter['Content-Type'] = 'application/json'; - localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.3'; + localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.2.14'; if (x_api_version != null && x_api_version != undefined) { localVarHeaderParameter['x-api-version'] = x_api_version; } @@ -5397,12 +5314,12 @@ const EligibilityApiAxiosParamCreator = function (configuration?: Configuration) }, /** * Use this API to get eligible Payment Methods - * @summary Get eligible Payment Methods + * @summary Get Eligible Payment Methods * @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD * @param {EligibilityFetchPaymentMethodsRequest} EligibilityFetchPaymentMethodsRequest Request Body to get eligible payment methods for an account and order * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} * x_idempotency_key?: string, @@ -5447,7 +5364,7 @@ const EligibilityApiAxiosParamCreator = function (configuration?: Configuration) localVarHeaderParameter['Content-Type'] = 'application/json'; - localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.3'; + localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.2.14'; if (x_api_version != null && x_api_version != undefined) { localVarHeaderParameter['x-api-version'] = x_api_version; } @@ -5481,11 +5398,11 @@ const EligibilityApiFp = function(configuration?: Configuration) { return { /** * Use this API to get eligible Cardless EMI Payment Methods available for a customer on an order basis their phone number. - * @summary Get Eligible Cardless EMI Payment Methods for a customer on an order + * @summary Get Eligible Cardless EMI * @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD * @param {EligibilityFetchCardlessEMIRequest} EligibilityFetchCardlessEMIRequest Request Body to get eligible cardless emi options for a customer and order * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5499,11 +5416,11 @@ const EligibilityApiFp = function(configuration?: Configuration) { }, /** * Use this API to get eligible offers for an order_id or order amount. - * @summary Get Eligible Offers for an Order + * @summary Get Eligible Offers * @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD * @param {EligibilityFetchOffersRequest} EligibilityFetchOffersRequest Request Body to get eligible offers for a customer and order * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5517,11 +5434,11 @@ const EligibilityApiFp = function(configuration?: Configuration) { }, /** * Use this API to get eligible Paylater Payment Methods for a customer on an order. - * @summary Get Eligible Paylater for a customer on an order + * @summary Get Eligible Paylater * @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD * @param {EligibilityFetchPaylaterRequest} EligibilityFetchPaylaterRequest Request Body to get eligible paylater options for a customer and order * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5535,11 +5452,11 @@ const EligibilityApiFp = function(configuration?: Configuration) { }, /** * Use this API to get eligible Payment Methods - * @summary Get eligible Payment Methods + * @summary Get Eligible Payment Methods * @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD * @param {EligibilityFetchPaymentMethodsRequest} EligibilityFetchPaymentMethodsRequest Request Body to get eligible payment methods for an account and order * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5576,7 +5493,7 @@ const OffersApiAxiosParamCreator = function (configuration?: Configuration) { * @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD * @param {CreateOfferRequest} CreateOfferRequest Request body to create an offer at Cashfree * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} * x_idempotency_key?: string, @@ -5621,7 +5538,7 @@ const OffersApiAxiosParamCreator = function (configuration?: Configuration) { localVarHeaderParameter['Content-Type'] = 'application/json'; - localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.3'; + localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.2.14'; if (x_api_version != null && x_api_version != undefined) { localVarHeaderParameter['x-api-version'] = x_api_version; } @@ -5650,7 +5567,7 @@ const OffersApiAxiosParamCreator = function (configuration?: Configuration) { * @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD * @param {string} offer_id The offer ID for which you want to view the offer details. * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} * x_idempotency_key?: string, @@ -5694,7 +5611,7 @@ const OffersApiAxiosParamCreator = function (configuration?: Configuration) { - localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.3'; + localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.2.14'; if (x_api_version != null && x_api_version != undefined) { localVarHeaderParameter['x-api-version'] = x_api_version; } @@ -5731,7 +5648,7 @@ const OffersApiFp = function(configuration?: Configuration) { * @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD * @param {CreateOfferRequest} CreateOfferRequest Request body to create an offer at Cashfree * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5749,7 +5666,7 @@ const OffersApiFp = function(configuration?: Configuration) { * @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD * @param {string} offer_id The offer ID for which you want to view the offer details. * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -5786,7 +5703,7 @@ const OrdersApiAxiosParamCreator = function (configuration?: Configuration) { * @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD * @param {CreateOrderRequest} CreateOrderRequest Request body to create an order at cashfree * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} * x_idempotency_key?: string, @@ -5831,7 +5748,7 @@ const OrdersApiAxiosParamCreator = function (configuration?: Configuration) { localVarHeaderParameter['Content-Type'] = 'application/json'; - localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.3'; + localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.2.14'; if (x_api_version != null && x_api_version != undefined) { localVarHeaderParameter['x-api-version'] = x_api_version; } @@ -5860,7 +5777,7 @@ const OrdersApiAxiosParamCreator = function (configuration?: Configuration) { * @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD * @param {string} order_id The id which uniquely identifies your order * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} * x_idempotency_key?: string, @@ -5904,7 +5821,7 @@ const OrdersApiAxiosParamCreator = function (configuration?: Configuration) { - localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.3'; + localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.2.14'; if (x_api_version != null && x_api_version != undefined) { localVarHeaderParameter['x-api-version'] = x_api_version; } @@ -5920,84 +5837,6 @@ const OrdersApiAxiosParamCreator = function (configuration?: Configuration) { let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; - return { - url: toPathString(localVarUrlObj), - options: localVarRequestOptions, - }; - }, - /** - * Use this API to terminate the order that was created at Cashfree\'s using the `order_id`. - * @summary Terminate Order - - * @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD - * @param {string} order_id The id which uniquely identifies your order - * @param {TerminateOrderRequest} TerminateOrderRequest Request body to terminate an order at cashfree - * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * x_request_id?: string, - */ - pGTerminateOrder: async (x_api_version: string, order_id: string, TerminateOrderRequest: TerminateOrderRequest, x_request_id?: string, x_idempotency_key?: string, options: AxiosRequestConfig = {}): Promise => { - // verify required parameter 'x_api_version' is not null or undefined - assertParamExists('pGTerminateOrder', 'x_api_version', x_api_version) - // verify required parameter 'order_id' is not null or undefined - assertParamExists('pGTerminateOrder', 'order_id', order_id) - // verify required parameter 'TerminateOrderRequest' is not null or undefined - assertParamExists('pGTerminateOrder', 'TerminateOrderRequest', TerminateOrderRequest) - const localVarPath = `/orders/{order_id}` - .replace(`{${"order_id"}}`, encodeURIComponent(String(order_id))); - // use dummy base URL string because the URL constructor only accepts absolute URLs. - var url = "https://sandbox.cashfree.com/pg"; - if(Cashfree.XEnvironment == CFEnvironment.PRODUCTION) { - url = "https://api.cashfree.com/pg" - } - const localVarUrlObj = new URL(localVarPath, url); - let baseOptions; - if (configuration) { - baseOptions = configuration.baseOptions; - } - - const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options}; - const localVarHeaderParameter = {} as any; - const localVarQueryParameter = {} as any; - - // authentication XPartnerAPIKey required - await setApiKeyToObject(localVarHeaderParameter, "x-partner-apikey") - - // authentication XClientSecret required - await setApiKeyToObject(localVarHeaderParameter, "x-client-secret") - - // authentication XPartnerMerchantID required - await setApiKeyToObject(localVarHeaderParameter, "x-partner-merchantid") - - // authentication XClientID required - await setApiKeyToObject(localVarHeaderParameter, "x-client-id") - - // authentication XClientSignatureHeader required - await setApiKeyToObject(localVarHeaderParameter, "x-client-signature") - - - - localVarHeaderParameter['Content-Type'] = 'application/json'; - - localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.3'; - if (x_api_version != null && x_api_version != undefined) { - localVarHeaderParameter['x-api-version'] = x_api_version; - } - - if (x_request_id != null && x_request_id != undefined) { - localVarHeaderParameter['x-request-id'] = x_request_id; - } - - if (x_idempotency_key != null && x_idempotency_key != undefined) { - localVarHeaderParameter['x-idempotency-key'] = x_idempotency_key; - } - setSearchParams(localVarUrlObj, localVarQueryParameter); - let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; - localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; - localVarRequestOptions.data = serializeDataIfNeeded(TerminateOrderRequest, localVarRequestOptions, configuration) - return { url: toPathString(localVarUrlObj), options: localVarRequestOptions, @@ -6019,7 +5858,7 @@ const OrdersApiFp = function(configuration?: Configuration) { * @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD * @param {CreateOrderRequest} CreateOrderRequest Request body to create an order at cashfree * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6037,7 +5876,7 @@ const OrdersApiFp = function(configuration?: Configuration) { * @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD * @param {string} order_id The id which uniquely identifies your order * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6049,25 +5888,6 @@ const OrdersApiFp = function(configuration?: Configuration) { } return createRequestFunction(localVarAxiosArgs, globalAxios, url, configuration); }, - /** - * Use this API to terminate the order that was created at Cashfree\'s using the `order_id`. - * @summary Terminate Order - * @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD - * @param {string} order_id The id which uniquely identifies your order - * @param {TerminateOrderRequest} TerminateOrderRequest Request body to terminate an order at cashfree - * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. - * @param {*} [options] Override http request option. - * @throws {RequiredError} - */ - async pGTerminateOrder(x_api_version: string, order_id: string, TerminateOrderRequest: TerminateOrderRequest, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.pGTerminateOrder(x_api_version, order_id, TerminateOrderRequest, x_request_id, x_idempotency_key, options); - var url = "https://sandbox.cashfree.com/pg"; - if(Cashfree.XEnvironment == CFEnvironment.PRODUCTION) { - url = "https://api.cashfree.com/pg" - } - return createRequestFunction(localVarAxiosArgs, globalAxios, url, configuration); - }, } }; @@ -6094,7 +5914,7 @@ const PGReconciliationApiAxiosParamCreator = function (configuration?: Configura * @param {FetchReconRequest} FetchReconRequest Request Body for the reconciliation * @param {string} [Content_Type] application/json * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {string} [Accept] application/json * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -6140,7 +5960,7 @@ const PGReconciliationApiAxiosParamCreator = function (configuration?: Configura localVarHeaderParameter['Content-Type'] = 'application/json'; - localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.3'; + localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.2.14'; if (x_api_version != null && x_api_version != undefined) { localVarHeaderParameter['x-api-version'] = x_api_version; } @@ -6179,7 +5999,7 @@ const PGReconciliationApiFp = function(configuration?: Configuration) { * @param {FetchReconRequest} FetchReconRequest Request Body for the reconciliation * @param {string} [Content_Type] application/json * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {string} [Accept] application/json * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -6217,7 +6037,7 @@ const PaymentLinksApiAxiosParamCreator = function (configuration?: Configuration * @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD * @param {string} link_id The payment link ID for which you want to view the details. * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} * x_idempotency_key?: string, @@ -6261,7 +6081,7 @@ const PaymentLinksApiAxiosParamCreator = function (configuration?: Configuration - localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.3'; + localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.2.14'; if (x_api_version != null && x_api_version != undefined) { localVarHeaderParameter['x-api-version'] = x_api_version; } @@ -6289,7 +6109,7 @@ const PaymentLinksApiAxiosParamCreator = function (configuration?: Configuration * @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD * @param {CreateLinkRequest} CreateLinkRequest Request Body to Create Payment Links * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} * x_idempotency_key?: string, @@ -6334,7 +6154,7 @@ const PaymentLinksApiAxiosParamCreator = function (configuration?: Configuration localVarHeaderParameter['Content-Type'] = 'application/json'; - localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.3'; + localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.2.14'; if (x_api_version != null && x_api_version != undefined) { localVarHeaderParameter['x-api-version'] = x_api_version; } @@ -6363,7 +6183,7 @@ const PaymentLinksApiAxiosParamCreator = function (configuration?: Configuration * @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD * @param {string} link_id The payment link ID for which you want to view the details. * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} * x_idempotency_key?: string, @@ -6407,7 +6227,7 @@ const PaymentLinksApiAxiosParamCreator = function (configuration?: Configuration - localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.3'; + localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.2.14'; if (x_api_version != null && x_api_version != undefined) { localVarHeaderParameter['x-api-version'] = x_api_version; } @@ -6435,7 +6255,7 @@ const PaymentLinksApiAxiosParamCreator = function (configuration?: Configuration * @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD * @param {string} link_id The payment link ID for which you want to view the details. * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} * x_idempotency_key?: string, @@ -6479,7 +6299,7 @@ const PaymentLinksApiAxiosParamCreator = function (configuration?: Configuration - localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.3'; + localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.2.14'; if (x_api_version != null && x_api_version != undefined) { localVarHeaderParameter['x-api-version'] = x_api_version; } @@ -6516,7 +6336,7 @@ const PaymentLinksApiFp = function(configuration?: Configuration) { * @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD * @param {string} link_id The payment link ID for which you want to view the details. * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6534,7 +6354,7 @@ const PaymentLinksApiFp = function(configuration?: Configuration) { * @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD * @param {CreateLinkRequest} CreateLinkRequest Request Body to Create Payment Links * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6552,7 +6372,7 @@ const PaymentLinksApiFp = function(configuration?: Configuration) { * @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD * @param {string} link_id The payment link ID for which you want to view the details. * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6570,7 +6390,7 @@ const PaymentLinksApiFp = function(configuration?: Configuration) { * @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD * @param {string} link_id The payment link ID for which you want to view the details. * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6608,7 +6428,7 @@ const PaymentsApiAxiosParamCreator = function (configuration?: Configuration) { * @param {string} order_id The id which uniquely identifies your order * @param {AuthorizeOrderRequest} AuthorizeOrderRequest Request to Capture or Void Transactions * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} * x_request_id?: string, @@ -6656,7 +6476,7 @@ const PaymentsApiAxiosParamCreator = function (configuration?: Configuration) { localVarHeaderParameter['Content-Type'] = 'application/json'; - localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.3'; + localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.2.14'; if (x_api_version != null && x_api_version != undefined) { localVarHeaderParameter['x-api-version'] = x_api_version; } @@ -6686,7 +6506,7 @@ const PaymentsApiAxiosParamCreator = function (configuration?: Configuration) { * @param {string} cf_payment_id The Cashfree payment or transaction ID. * @param {OrderAuthenticatePaymentRequest} OrderAuthenticatePaymentRequest Request body to submit/resend headless OTP. To use this API make sure you have headless OTP enabled for your account * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} * x_request_id?: string, @@ -6719,7 +6539,7 @@ const PaymentsApiAxiosParamCreator = function (configuration?: Configuration) { localVarHeaderParameter['Content-Type'] = 'application/json'; - localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.3'; + localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.2.14'; if (x_api_version != null && x_api_version != undefined) { localVarHeaderParameter['x-api-version'] = x_api_version; } @@ -6749,7 +6569,7 @@ const PaymentsApiAxiosParamCreator = function (configuration?: Configuration) { * @param {string} order_id The id which uniquely identifies your order * @param {string} cf_payment_id The Cashfree payment or transaction ID. * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} * x_request_id?: string, @@ -6796,7 +6616,7 @@ const PaymentsApiAxiosParamCreator = function (configuration?: Configuration) { - localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.3'; + localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.2.14'; if (x_api_version != null && x_api_version != undefined) { localVarHeaderParameter['x-api-version'] = x_api_version; } @@ -6824,7 +6644,7 @@ const PaymentsApiAxiosParamCreator = function (configuration?: Configuration) { * @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD * @param {string} order_id The id which uniquely identifies your order * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} * x_idempotency_key?: string, @@ -6868,7 +6688,7 @@ const PaymentsApiAxiosParamCreator = function (configuration?: Configuration) { - localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.3'; + localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.2.14'; if (x_api_version != null && x_api_version != undefined) { localVarHeaderParameter['x-api-version'] = x_api_version; } @@ -6896,7 +6716,7 @@ const PaymentsApiAxiosParamCreator = function (configuration?: Configuration) { * @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD * @param {PayOrderRequest} PayOrderRequest Request body to create a transaction at cashfree using `payment_session_id` * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} * x_idempotency_key?: string, @@ -6926,7 +6746,7 @@ const PaymentsApiAxiosParamCreator = function (configuration?: Configuration) { localVarHeaderParameter['Content-Type'] = 'application/json'; - localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.3'; + localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.2.14'; if (x_api_version != null && x_api_version != undefined) { localVarHeaderParameter['x-api-version'] = x_api_version; } @@ -6965,7 +6785,7 @@ const PaymentsApiFp = function(configuration?: Configuration) { * @param {string} order_id The id which uniquely identifies your order * @param {AuthorizeOrderRequest} AuthorizeOrderRequest Request to Capture or Void Transactions * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -6984,7 +6804,7 @@ const PaymentsApiFp = function(configuration?: Configuration) { * @param {string} cf_payment_id The Cashfree payment or transaction ID. * @param {OrderAuthenticatePaymentRequest} OrderAuthenticatePaymentRequest Request body to submit/resend headless OTP. To use this API make sure you have headless OTP enabled for your account * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7003,7 +6823,7 @@ const PaymentsApiFp = function(configuration?: Configuration) { * @param {string} order_id The id which uniquely identifies your order * @param {string} cf_payment_id The Cashfree payment or transaction ID. * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7021,7 +6841,7 @@ const PaymentsApiFp = function(configuration?: Configuration) { * @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD * @param {string} order_id The id which uniquely identifies your order * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7039,7 +6859,7 @@ const PaymentsApiFp = function(configuration?: Configuration) { * @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD * @param {PayOrderRequest} PayOrderRequest Request body to create a transaction at cashfree using `payment_session_id` * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7077,7 +6897,7 @@ const RefundsApiAxiosParamCreator = function (configuration?: Configuration) { * @param {string} order_id The id which uniquely identifies your order * @param {OrderCreateRefundRequest} OrderCreateRefundRequest Request Body to Create Refunds * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} * x_request_id?: string, @@ -7125,7 +6945,7 @@ const RefundsApiAxiosParamCreator = function (configuration?: Configuration) { localVarHeaderParameter['Content-Type'] = 'application/json'; - localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.3'; + localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.2.14'; if (x_api_version != null && x_api_version != undefined) { localVarHeaderParameter['x-api-version'] = x_api_version; } @@ -7155,7 +6975,7 @@ const RefundsApiAxiosParamCreator = function (configuration?: Configuration) { * @param {string} order_id The id which uniquely identifies your order * @param {string} refund_id Refund Id of the refund you want to fetch. * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} * x_request_id?: string, @@ -7202,7 +7022,7 @@ const RefundsApiAxiosParamCreator = function (configuration?: Configuration) { - localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.3'; + localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.2.14'; if (x_api_version != null && x_api_version != undefined) { localVarHeaderParameter['x-api-version'] = x_api_version; } @@ -7230,7 +7050,7 @@ const RefundsApiAxiosParamCreator = function (configuration?: Configuration) { * @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD * @param {string} order_id The id which uniquely identifies your order * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} * x_idempotency_key?: string, @@ -7274,7 +7094,7 @@ const RefundsApiAxiosParamCreator = function (configuration?: Configuration) { - localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.3'; + localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.2.14'; if (x_api_version != null && x_api_version != undefined) { localVarHeaderParameter['x-api-version'] = x_api_version; } @@ -7312,7 +7132,7 @@ const RefundsApiFp = function(configuration?: Configuration) { * @param {string} order_id The id which uniquely identifies your order * @param {OrderCreateRefundRequest} OrderCreateRefundRequest Request Body to Create Refunds * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7331,7 +7151,7 @@ const RefundsApiFp = function(configuration?: Configuration) { * @param {string} order_id The id which uniquely identifies your order * @param {string} refund_id Refund Id of the refund you want to fetch. * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7349,7 +7169,7 @@ const RefundsApiFp = function(configuration?: Configuration) { * @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD * @param {string} order_id The id which uniquely identifies your order * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7387,7 +7207,7 @@ const SettlementReconciliationApiAxiosParamCreator = function (configuration?: C * @param {FetchSettlementsRequest} FetchSettlementsRequest Request Body to get the settlements * @param {string} [Content_Type] application/json * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {string} [Accept] application/json * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -7433,7 +7253,7 @@ const SettlementReconciliationApiAxiosParamCreator = function (configuration?: C localVarHeaderParameter['Content-Type'] = 'application/json'; - localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.3'; + localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.2.14'; if (x_api_version != null && x_api_version != undefined) { localVarHeaderParameter['x-api-version'] = x_api_version; } @@ -7463,7 +7283,7 @@ const SettlementReconciliationApiAxiosParamCreator = function (configuration?: C * @param {SettlementFetchReconRequest} SettlementFetchReconRequest Request Body for the settlement reconciliation * @param {string} [Content_Type] application/json * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {string} [Accept] application/json * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -7509,7 +7329,7 @@ const SettlementReconciliationApiAxiosParamCreator = function (configuration?: C localVarHeaderParameter['Content-Type'] = 'application/json'; - localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.3'; + localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.2.14'; if (x_api_version != null && x_api_version != undefined) { localVarHeaderParameter['x-api-version'] = x_api_version; } @@ -7548,7 +7368,7 @@ const SettlementReconciliationApiFp = function(configuration?: Configuration) { * @param {FetchSettlementsRequest} FetchSettlementsRequest Request Body to get the settlements * @param {string} [Content_Type] application/json * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {string} [Accept] application/json * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -7568,7 +7388,7 @@ const SettlementReconciliationApiFp = function(configuration?: Configuration) { * @param {SettlementFetchReconRequest} SettlementFetchReconRequest Request Body for the settlement reconciliation * @param {string} [Content_Type] application/json * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {string} [Accept] application/json * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -7606,7 +7426,7 @@ const SettlementsApiAxiosParamCreator = function (configuration?: Configuration) * @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD * @param {string} order_id The id which uniquely identifies your order * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} * x_idempotency_key?: string, @@ -7650,7 +7470,7 @@ const SettlementsApiAxiosParamCreator = function (configuration?: Configuration) - localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.3'; + localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.2.14'; if (x_api_version != null && x_api_version != undefined) { localVarHeaderParameter['x-api-version'] = x_api_version; } @@ -7687,7 +7507,7 @@ const SettlementsApiFp = function(configuration?: Configuration) { * @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD * @param {string} order_id The id which uniquely identifies your order * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -7724,7 +7544,7 @@ const SoftPOSApiAxiosParamCreator = function (configuration?: Configuration) { * @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD * @param {CreateTerminalRequest} CreateTerminalRequest Request Body to Create Terminal for SPOS * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} * x_idempotency_key?: string, @@ -7769,7 +7589,7 @@ const SoftPOSApiAxiosParamCreator = function (configuration?: Configuration) { localVarHeaderParameter['Content-Type'] = 'application/json'; - localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.3'; + localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.2.14'; if (x_api_version != null && x_api_version != undefined) { localVarHeaderParameter['x-api-version'] = x_api_version; } @@ -7793,12 +7613,12 @@ const SoftPOSApiAxiosParamCreator = function (configuration?: Configuration) { }, /** * Use this API to create a new terminal transaction. To use this API you should first create an order using the Create Order API. Also, you need to enter the terminal details while creating the order and pass the same terminal information while creating a transaction using the below mentioned API. - * @summary Create Terminal Transaction + * @summary Create Terminal * @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD * @param {CreateTerminalTransactionRequest} CreateTerminalTransactionRequest Request body to create a terminal transaction * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} * x_idempotency_key?: string, @@ -7843,7 +7663,7 @@ const SoftPOSApiAxiosParamCreator = function (configuration?: Configuration) { localVarHeaderParameter['Content-Type'] = 'application/json'; - localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.3'; + localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.2.14'; if (x_api_version != null && x_api_version != undefined) { localVarHeaderParameter['x-api-version'] = x_api_version; } @@ -7872,7 +7692,7 @@ const SoftPOSApiAxiosParamCreator = function (configuration?: Configuration) { * @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD * @param {string} terminal_phone_no The terminal for which you want to view the order details. * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} * x_idempotency_key?: string, @@ -7916,7 +7736,7 @@ const SoftPOSApiAxiosParamCreator = function (configuration?: Configuration) { - localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.3'; + localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.2.14'; if (x_api_version != null && x_api_version != undefined) { localVarHeaderParameter['x-api-version'] = x_api_version; } @@ -7945,7 +7765,7 @@ const SoftPOSApiAxiosParamCreator = function (configuration?: Configuration) { * @param {string} terminal_phone_no Phone number assigned to the terminal. Required if you are not providing the cf_terminal_id in the request. * @param {string} cf_terminal_id Cashfree terminal id for which you want to get staticQRs. Required if you are not providing the terminal_phone_number in the request. * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} * x_request_id?: string, @@ -7998,7 +7818,7 @@ const SoftPOSApiAxiosParamCreator = function (configuration?: Configuration) { - localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.3'; + localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.2.14'; if (x_api_version != null && x_api_version != undefined) { localVarHeaderParameter['x-api-version'] = x_api_version; } @@ -8035,7 +7855,7 @@ const SoftPOSApiFp = function(configuration?: Configuration) { * @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD * @param {CreateTerminalRequest} CreateTerminalRequest Request Body to Create Terminal for SPOS * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8049,11 +7869,11 @@ const SoftPOSApiFp = function(configuration?: Configuration) { }, /** * Use this API to create a new terminal transaction. To use this API you should first create an order using the Create Order API. Also, you need to enter the terminal details while creating the order and pass the same terminal information while creating a transaction using the below mentioned API. - * @summary Create Terminal Transaction + * @summary Create Terminal * @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD * @param {CreateTerminalTransactionRequest} CreateTerminalTransactionRequest Request body to create a terminal transaction * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8071,7 +7891,7 @@ const SoftPOSApiFp = function(configuration?: Configuration) { * @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD * @param {string} terminal_phone_no The terminal for which you want to view the order details. * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8090,7 +7910,7 @@ const SoftPOSApiFp = function(configuration?: Configuration) { * @param {string} terminal_phone_no Phone number assigned to the terminal. Required if you are not providing the cf_terminal_id in the request. * @param {string} cf_terminal_id Cashfree terminal id for which you want to get staticQRs. Required if you are not providing the terminal_phone_number in the request. * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8128,7 +7948,7 @@ const TokenVaultApiAxiosParamCreator = function (configuration?: Configuration) * @param {string} customer_id Your Customer ID that you had sent during create order API `POST/orders` * @param {string} instrument_id The instrument_id which needs to be deleted * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} * x_request_id?: string, @@ -8175,7 +7995,7 @@ const TokenVaultApiAxiosParamCreator = function (configuration?: Configuration) - localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.3'; + localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.2.14'; if (x_api_version != null && x_api_version != undefined) { localVarHeaderParameter['x-api-version'] = x_api_version; } @@ -8204,7 +8024,7 @@ const TokenVaultApiAxiosParamCreator = function (configuration?: Configuration) * @param {string} customer_id Your Customer ID that you had sent during create order API `POST/orders` * @param {string} instrument_id The instrument_id of the saved instrument which needs to be queried * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} * x_request_id?: string, @@ -8251,7 +8071,7 @@ const TokenVaultApiAxiosParamCreator = function (configuration?: Configuration) - localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.3'; + localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.2.14'; if (x_api_version != null && x_api_version != undefined) { localVarHeaderParameter['x-api-version'] = x_api_version; } @@ -8280,7 +8100,7 @@ const TokenVaultApiAxiosParamCreator = function (configuration?: Configuration) * @param {string} customer_id Your Customer ID that you had sent during create order API `POST/orders` * @param {PGCustomerFetchInstrumentsInstrumentTypeEnum} instrument_type Payment mode or type of saved instrument * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} * x_request_id?: string, @@ -8330,7 +8150,7 @@ const TokenVaultApiAxiosParamCreator = function (configuration?: Configuration) - localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.3'; + localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.2.14'; if (x_api_version != null && x_api_version != undefined) { localVarHeaderParameter['x-api-version'] = x_api_version; } @@ -8359,7 +8179,7 @@ const TokenVaultApiAxiosParamCreator = function (configuration?: Configuration) * @param {string} customer_id Your Customer ID that you had sent during create order API `POST/orders` * @param {string} instrument_id The instrument_id of the saved card instrument which needs to be queried * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} * x_request_id?: string, @@ -8406,7 +8226,7 @@ const TokenVaultApiAxiosParamCreator = function (configuration?: Configuration) - localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.3'; + localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.2.14'; if (x_api_version != null && x_api_version != undefined) { localVarHeaderParameter['x-api-version'] = x_api_version; } @@ -8444,7 +8264,7 @@ const TokenVaultApiFp = function(configuration?: Configuration) { * @param {string} customer_id Your Customer ID that you had sent during create order API `POST/orders` * @param {string} instrument_id The instrument_id which needs to be deleted * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8463,7 +8283,7 @@ const TokenVaultApiFp = function(configuration?: Configuration) { * @param {string} customer_id Your Customer ID that you had sent during create order API `POST/orders` * @param {string} instrument_id The instrument_id of the saved instrument which needs to be queried * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8482,7 +8302,7 @@ const TokenVaultApiFp = function(configuration?: Configuration) { * @param {string} customer_id Your Customer ID that you had sent during create order API `POST/orders` * @param {PGCustomerFetchInstrumentsInstrumentTypeEnum} instrument_type Payment mode or type of saved instrument * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8501,7 +8321,7 @@ const TokenVaultApiFp = function(configuration?: Configuration) { * @param {string} customer_id Your Customer ID that you had sent during create order API `POST/orders` * @param {string} instrument_id The instrument_id of the saved card instrument which needs to be queried * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -8563,7 +8383,7 @@ export class Cashfree { static XPartnerMerchantId?: string; static XEnvironment: CFEnvironment; static XEnableErrorAnalytics: boolean = true; - static XApiVersion: string = "2023-08-01"; + static XApiVersion: string = "2022-09-01"; static Environment = new Environment(); @@ -8587,73 +8407,13 @@ export class Cashfree { } - /** - * Create Customer at Cashfree - * @summary Create Customer at Cashfree - * @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD - * @param {CreateCustomerRequest} CreateCustomerRequest Request to create a new customer at Cashfree - * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof CustomersApi - */ - public static PGCreateCustomer(x_api_version: string, CreateCustomerRequest: CreateCustomerRequest, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig) { - if(Cashfree.XEnableErrorAnalytics) { - Sentry.init({ - dsn: 'https://ad7936cb4d7f4f2b99c6571a8e7a4df7@o330525.ingest.sentry.io/4505085005725696', - // Performance Monitoring - tracesSampleRate: 1.0, // Capture 100% of the transactions, reduce in production! - // Set sampling rate for profiling - this is relative to tracesSampleRate - profilesSampleRate: 1.0, // Capture 100% of the transactions, reduce in production!, - attachStacktrace: true, - enableTracing: true, - beforeSend: (event) => { - delete event.contexts.os; - delete event.contexts.device; - delete event.server_name; - if (event.exception && event.exception.values && event.exception.values[0].stacktrace) { - const stackTrace = event.exception.values[0].stacktrace; - if (stackTrace && stackTrace.frames) { - - const filteredDomains = stackTrace.frames.filter((x) => x.filename.includes("cashfree-pg")).map((x) => x.filename); - if (filteredDomains[0].includes("cashfree-pg")) { - if(Cashfree.XEnableErrorAnalytics) { - return event; - } - return null; - } - } - } - return null; - }, - }); - Sentry.configureScope((scope) => { - if(Cashfree.XEnvironment == CFEnvironment.SANDBOX) { - scope.setExtra('environment', 'sandbox'); - } else { - scope.setExtra('environment', 'production'); - } - scope.setExtra('release', "4.0.3"); - }); - } - try { - return CustomersApiFp().pGCreateCustomer(x_api_version, CreateCustomerRequest, x_request_id, x_idempotency_key, options).then((request) => request(Cashfree.axios, Cashfree.basePath)); - } catch (error) { - if(Cashfree.XEnableErrorAnalytics) { - Sentry.captureException(error); - } - throw error; - } - } - /** * Use this API to get eligible Cardless EMI Payment Methods available for a customer on an order basis their phone number. - * @summary Get Eligible Cardless EMI Payment Methods for a customer on an order + * @summary Get Eligible Cardless EMI * @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD * @param {EligibilityFetchCardlessEMIRequest} EligibilityFetchCardlessEMIRequest Request Body to get eligible cardless emi options for a customer and order * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof EligibilityApi @@ -8677,7 +8437,7 @@ export class Cashfree { if (stackTrace && stackTrace.frames) { const filteredDomains = stackTrace.frames.filter((x) => x.filename.includes("cashfree-pg")).map((x) => x.filename); - if (filteredDomains[0].includes("cashfree-pg")) { + if (filteredDomains && filteredDomains.length > 0 && filteredDomains[0].includes("cashfree-pg")) { if(Cashfree.XEnableErrorAnalytics) { return event; } @@ -8694,7 +8454,7 @@ export class Cashfree { } else { scope.setExtra('environment', 'production'); } - scope.setExtra('release', "4.0.3"); + scope.setExtra('release', "3.2.14"); }); } try { @@ -8709,11 +8469,11 @@ export class Cashfree { /** * Use this API to get eligible offers for an order_id or order amount. - * @summary Get Eligible Offers for an Order + * @summary Get Eligible Offers * @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD * @param {EligibilityFetchOffersRequest} EligibilityFetchOffersRequest Request Body to get eligible offers for a customer and order * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof EligibilityApi @@ -8737,7 +8497,7 @@ export class Cashfree { if (stackTrace && stackTrace.frames) { const filteredDomains = stackTrace.frames.filter((x) => x.filename.includes("cashfree-pg")).map((x) => x.filename); - if (filteredDomains[0].includes("cashfree-pg")) { + if (filteredDomains && filteredDomains.length > 0 && filteredDomains[0].includes("cashfree-pg")) { if(Cashfree.XEnableErrorAnalytics) { return event; } @@ -8754,7 +8514,7 @@ export class Cashfree { } else { scope.setExtra('environment', 'production'); } - scope.setExtra('release', "4.0.3"); + scope.setExtra('release', "3.2.14"); }); } try { @@ -8769,11 +8529,11 @@ export class Cashfree { /** * Use this API to get eligible Paylater Payment Methods for a customer on an order. - * @summary Get Eligible Paylater for a customer on an order + * @summary Get Eligible Paylater * @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD * @param {EligibilityFetchPaylaterRequest} EligibilityFetchPaylaterRequest Request Body to get eligible paylater options for a customer and order * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof EligibilityApi @@ -8797,7 +8557,7 @@ export class Cashfree { if (stackTrace && stackTrace.frames) { const filteredDomains = stackTrace.frames.filter((x) => x.filename.includes("cashfree-pg")).map((x) => x.filename); - if (filteredDomains[0].includes("cashfree-pg")) { + if (filteredDomains && filteredDomains.length > 0 && filteredDomains[0].includes("cashfree-pg")) { if(Cashfree.XEnableErrorAnalytics) { return event; } @@ -8814,7 +8574,7 @@ export class Cashfree { } else { scope.setExtra('environment', 'production'); } - scope.setExtra('release', "4.0.3"); + scope.setExtra('release', "3.2.14"); }); } try { @@ -8829,11 +8589,11 @@ export class Cashfree { /** * Use this API to get eligible Payment Methods - * @summary Get eligible Payment Methods + * @summary Get Eligible Payment Methods * @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD * @param {EligibilityFetchPaymentMethodsRequest} EligibilityFetchPaymentMethodsRequest Request Body to get eligible payment methods for an account and order * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof EligibilityApi @@ -8857,7 +8617,7 @@ export class Cashfree { if (stackTrace && stackTrace.frames) { const filteredDomains = stackTrace.frames.filter((x) => x.filename.includes("cashfree-pg")).map((x) => x.filename); - if (filteredDomains[0].includes("cashfree-pg")) { + if (filteredDomains && filteredDomains.length > 0 && filteredDomains[0].includes("cashfree-pg")) { if(Cashfree.XEnableErrorAnalytics) { return event; } @@ -8874,7 +8634,7 @@ export class Cashfree { } else { scope.setExtra('environment', 'production'); } - scope.setExtra('release', "4.0.3"); + scope.setExtra('release', "3.2.14"); }); } try { @@ -8893,7 +8653,7 @@ export class Cashfree { * @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD * @param {CreateOfferRequest} CreateOfferRequest Request body to create an offer at Cashfree * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof OffersApi @@ -8917,7 +8677,7 @@ export class Cashfree { if (stackTrace && stackTrace.frames) { const filteredDomains = stackTrace.frames.filter((x) => x.filename.includes("cashfree-pg")).map((x) => x.filename); - if (filteredDomains[0].includes("cashfree-pg")) { + if (filteredDomains && filteredDomains.length > 0 && filteredDomains[0].includes("cashfree-pg")) { if(Cashfree.XEnableErrorAnalytics) { return event; } @@ -8934,7 +8694,7 @@ export class Cashfree { } else { scope.setExtra('environment', 'production'); } - scope.setExtra('release', "4.0.3"); + scope.setExtra('release', "3.2.14"); }); } try { @@ -8953,7 +8713,7 @@ export class Cashfree { * @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD * @param {string} offer_id The offer ID for which you want to view the offer details. * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof OffersApi @@ -8977,7 +8737,7 @@ export class Cashfree { if (stackTrace && stackTrace.frames) { const filteredDomains = stackTrace.frames.filter((x) => x.filename.includes("cashfree-pg")).map((x) => x.filename); - if (filteredDomains[0].includes("cashfree-pg")) { + if (filteredDomains && filteredDomains.length > 0 && filteredDomains[0].includes("cashfree-pg")) { if(Cashfree.XEnableErrorAnalytics) { return event; } @@ -8994,7 +8754,7 @@ export class Cashfree { } else { scope.setExtra('environment', 'production'); } - scope.setExtra('release', "4.0.3"); + scope.setExtra('release', "3.2.14"); }); } try { @@ -9013,7 +8773,7 @@ export class Cashfree { * @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD * @param {CreateOrderRequest} CreateOrderRequest Request body to create an order at cashfree * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof OrdersApi @@ -9037,7 +8797,7 @@ export class Cashfree { if (stackTrace && stackTrace.frames) { const filteredDomains = stackTrace.frames.filter((x) => x.filename.includes("cashfree-pg")).map((x) => x.filename); - if (filteredDomains[0].includes("cashfree-pg")) { + if (filteredDomains && filteredDomains.length > 0 && filteredDomains[0].includes("cashfree-pg")) { if(Cashfree.XEnableErrorAnalytics) { return event; } @@ -9054,7 +8814,7 @@ export class Cashfree { } else { scope.setExtra('environment', 'production'); } - scope.setExtra('release', "4.0.3"); + scope.setExtra('release', "3.2.14"); }); } try { @@ -9073,7 +8833,7 @@ export class Cashfree { * @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD * @param {string} order_id The id which uniquely identifies your order * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof OrdersApi @@ -9097,7 +8857,7 @@ export class Cashfree { if (stackTrace && stackTrace.frames) { const filteredDomains = stackTrace.frames.filter((x) => x.filename.includes("cashfree-pg")).map((x) => x.filename); - if (filteredDomains[0].includes("cashfree-pg")) { + if (filteredDomains && filteredDomains.length > 0 && filteredDomains[0].includes("cashfree-pg")) { if(Cashfree.XEnableErrorAnalytics) { return event; } @@ -9114,7 +8874,7 @@ export class Cashfree { } else { scope.setExtra('environment', 'production'); } - scope.setExtra('release', "4.0.3"); + scope.setExtra('release', "3.2.14"); }); } try { @@ -9126,67 +8886,6 @@ export class Cashfree { throw error; } } - - /** - * Use this API to terminate the order that was created at Cashfree\'s using the `order_id`. - * @summary Terminate Order - * @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD - * @param {string} order_id The id which uniquely identifies your order - * @param {TerminateOrderRequest} TerminateOrderRequest Request body to terminate an order at cashfree - * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof OrdersApi - */ - public static PGTerminateOrder(x_api_version: string, order_id: string, TerminateOrderRequest: TerminateOrderRequest, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig) { - if(Cashfree.XEnableErrorAnalytics) { - Sentry.init({ - dsn: 'https://ad7936cb4d7f4f2b99c6571a8e7a4df7@o330525.ingest.sentry.io/4505085005725696', - // Performance Monitoring - tracesSampleRate: 1.0, // Capture 100% of the transactions, reduce in production! - // Set sampling rate for profiling - this is relative to tracesSampleRate - profilesSampleRate: 1.0, // Capture 100% of the transactions, reduce in production!, - attachStacktrace: true, - enableTracing: true, - beforeSend: (event) => { - delete event.contexts.os; - delete event.contexts.device; - delete event.server_name; - if (event.exception && event.exception.values && event.exception.values[0].stacktrace) { - const stackTrace = event.exception.values[0].stacktrace; - if (stackTrace && stackTrace.frames) { - - const filteredDomains = stackTrace.frames.filter((x) => x.filename.includes("cashfree-pg")).map((x) => x.filename); - if (filteredDomains[0].includes("cashfree-pg")) { - if(Cashfree.XEnableErrorAnalytics) { - return event; - } - return null; - } - } - } - return null; - }, - }); - Sentry.configureScope((scope) => { - if(Cashfree.XEnvironment == CFEnvironment.SANDBOX) { - scope.setExtra('environment', 'sandbox'); - } else { - scope.setExtra('environment', 'production'); - } - scope.setExtra('release', "4.0.3"); - }); - } - try { - return OrdersApiFp().pGTerminateOrder(x_api_version, order_id, TerminateOrderRequest, x_request_id, x_idempotency_key, options).then((request) => request(Cashfree.axios, Cashfree.basePath)); - } catch (error) { - if(Cashfree.XEnableErrorAnalytics) { - Sentry.captureException(error); - } - throw error; - } - } /** * - Use this API to get the payment gateway reconciliation details with date range. - It will have events for your payment account @@ -9195,7 +8894,7 @@ export class Cashfree { * @param {FetchReconRequest} FetchReconRequest Request Body for the reconciliation * @param {string} [Content_Type] application/json * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {string} [Accept] application/json * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -9220,7 +8919,7 @@ export class Cashfree { if (stackTrace && stackTrace.frames) { const filteredDomains = stackTrace.frames.filter((x) => x.filename.includes("cashfree-pg")).map((x) => x.filename); - if (filteredDomains[0].includes("cashfree-pg")) { + if (filteredDomains && filteredDomains.length > 0 && filteredDomains[0].includes("cashfree-pg")) { if(Cashfree.XEnableErrorAnalytics) { return event; } @@ -9237,7 +8936,7 @@ export class Cashfree { } else { scope.setExtra('environment', 'production'); } - scope.setExtra('release', "4.0.3"); + scope.setExtra('release', "3.2.14"); }); } try { @@ -9256,7 +8955,7 @@ export class Cashfree { * @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD * @param {string} link_id The payment link ID for which you want to view the details. * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof PaymentLinksApi @@ -9280,7 +8979,7 @@ export class Cashfree { if (stackTrace && stackTrace.frames) { const filteredDomains = stackTrace.frames.filter((x) => x.filename.includes("cashfree-pg")).map((x) => x.filename); - if (filteredDomains[0].includes("cashfree-pg")) { + if (filteredDomains && filteredDomains.length > 0 && filteredDomains[0].includes("cashfree-pg")) { if(Cashfree.XEnableErrorAnalytics) { return event; } @@ -9297,7 +8996,7 @@ export class Cashfree { } else { scope.setExtra('environment', 'production'); } - scope.setExtra('release', "4.0.3"); + scope.setExtra('release', "3.2.14"); }); } try { @@ -9316,7 +9015,7 @@ export class Cashfree { * @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD * @param {CreateLinkRequest} CreateLinkRequest Request Body to Create Payment Links * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof PaymentLinksApi @@ -9340,7 +9039,7 @@ export class Cashfree { if (stackTrace && stackTrace.frames) { const filteredDomains = stackTrace.frames.filter((x) => x.filename.includes("cashfree-pg")).map((x) => x.filename); - if (filteredDomains[0].includes("cashfree-pg")) { + if (filteredDomains && filteredDomains.length > 0 && filteredDomains[0].includes("cashfree-pg")) { if(Cashfree.XEnableErrorAnalytics) { return event; } @@ -9357,7 +9056,7 @@ export class Cashfree { } else { scope.setExtra('environment', 'production'); } - scope.setExtra('release', "4.0.3"); + scope.setExtra('release', "3.2.14"); }); } try { @@ -9376,7 +9075,7 @@ export class Cashfree { * @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD * @param {string} link_id The payment link ID for which you want to view the details. * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof PaymentLinksApi @@ -9400,7 +9099,7 @@ export class Cashfree { if (stackTrace && stackTrace.frames) { const filteredDomains = stackTrace.frames.filter((x) => x.filename.includes("cashfree-pg")).map((x) => x.filename); - if (filteredDomains[0].includes("cashfree-pg")) { + if (filteredDomains && filteredDomains.length > 0 && filteredDomains[0].includes("cashfree-pg")) { if(Cashfree.XEnableErrorAnalytics) { return event; } @@ -9417,7 +9116,7 @@ export class Cashfree { } else { scope.setExtra('environment', 'production'); } - scope.setExtra('release', "4.0.3"); + scope.setExtra('release', "3.2.14"); }); } try { @@ -9436,7 +9135,7 @@ export class Cashfree { * @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD * @param {string} link_id The payment link ID for which you want to view the details. * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof PaymentLinksApi @@ -9460,7 +9159,7 @@ export class Cashfree { if (stackTrace && stackTrace.frames) { const filteredDomains = stackTrace.frames.filter((x) => x.filename.includes("cashfree-pg")).map((x) => x.filename); - if (filteredDomains[0].includes("cashfree-pg")) { + if (filteredDomains && filteredDomains.length > 0 && filteredDomains[0].includes("cashfree-pg")) { if(Cashfree.XEnableErrorAnalytics) { return event; } @@ -9477,7 +9176,7 @@ export class Cashfree { } else { scope.setExtra('environment', 'production'); } - scope.setExtra('release', "4.0.3"); + scope.setExtra('release', "3.2.14"); }); } try { @@ -9497,7 +9196,7 @@ export class Cashfree { * @param {string} order_id The id which uniquely identifies your order * @param {AuthorizeOrderRequest} AuthorizeOrderRequest Request to Capture or Void Transactions * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof PaymentsApi @@ -9521,7 +9220,7 @@ export class Cashfree { if (stackTrace && stackTrace.frames) { const filteredDomains = stackTrace.frames.filter((x) => x.filename.includes("cashfree-pg")).map((x) => x.filename); - if (filteredDomains[0].includes("cashfree-pg")) { + if (filteredDomains && filteredDomains.length > 0 && filteredDomains[0].includes("cashfree-pg")) { if(Cashfree.XEnableErrorAnalytics) { return event; } @@ -9538,7 +9237,7 @@ export class Cashfree { } else { scope.setExtra('environment', 'production'); } - scope.setExtra('release', "4.0.3"); + scope.setExtra('release', "3.2.14"); }); } try { @@ -9558,7 +9257,7 @@ export class Cashfree { * @param {string} cf_payment_id The Cashfree payment or transaction ID. * @param {OrderAuthenticatePaymentRequest} OrderAuthenticatePaymentRequest Request body to submit/resend headless OTP. To use this API make sure you have headless OTP enabled for your account * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof PaymentsApi @@ -9582,7 +9281,7 @@ export class Cashfree { if (stackTrace && stackTrace.frames) { const filteredDomains = stackTrace.frames.filter((x) => x.filename.includes("cashfree-pg")).map((x) => x.filename); - if (filteredDomains[0].includes("cashfree-pg")) { + if (filteredDomains && filteredDomains.length > 0 && filteredDomains[0].includes("cashfree-pg")) { if(Cashfree.XEnableErrorAnalytics) { return event; } @@ -9599,7 +9298,7 @@ export class Cashfree { } else { scope.setExtra('environment', 'production'); } - scope.setExtra('release', "4.0.3"); + scope.setExtra('release', "3.2.14"); }); } try { @@ -9619,7 +9318,7 @@ export class Cashfree { * @param {string} order_id The id which uniquely identifies your order * @param {string} cf_payment_id The Cashfree payment or transaction ID. * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof PaymentsApi @@ -9643,7 +9342,7 @@ export class Cashfree { if (stackTrace && stackTrace.frames) { const filteredDomains = stackTrace.frames.filter((x) => x.filename.includes("cashfree-pg")).map((x) => x.filename); - if (filteredDomains[0].includes("cashfree-pg")) { + if (filteredDomains && filteredDomains.length > 0 && filteredDomains[0].includes("cashfree-pg")) { if(Cashfree.XEnableErrorAnalytics) { return event; } @@ -9660,7 +9359,7 @@ export class Cashfree { } else { scope.setExtra('environment', 'production'); } - scope.setExtra('release', "4.0.3"); + scope.setExtra('release', "3.2.14"); }); } try { @@ -9679,7 +9378,7 @@ export class Cashfree { * @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD * @param {string} order_id The id which uniquely identifies your order * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof PaymentsApi @@ -9703,7 +9402,7 @@ export class Cashfree { if (stackTrace && stackTrace.frames) { const filteredDomains = stackTrace.frames.filter((x) => x.filename.includes("cashfree-pg")).map((x) => x.filename); - if (filteredDomains[0].includes("cashfree-pg")) { + if (filteredDomains && filteredDomains.length > 0 && filteredDomains[0].includes("cashfree-pg")) { if(Cashfree.XEnableErrorAnalytics) { return event; } @@ -9720,7 +9419,7 @@ export class Cashfree { } else { scope.setExtra('environment', 'production'); } - scope.setExtra('release', "4.0.3"); + scope.setExtra('release', "3.2.14"); }); } try { @@ -9739,7 +9438,7 @@ export class Cashfree { * @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD * @param {PayOrderRequest} PayOrderRequest Request body to create a transaction at cashfree using `payment_session_id` * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof PaymentsApi @@ -9763,7 +9462,7 @@ export class Cashfree { if (stackTrace && stackTrace.frames) { const filteredDomains = stackTrace.frames.filter((x) => x.filename.includes("cashfree-pg")).map((x) => x.filename); - if (filteredDomains[0].includes("cashfree-pg")) { + if (filteredDomains && filteredDomains.length > 0 && filteredDomains[0].includes("cashfree-pg")) { if(Cashfree.XEnableErrorAnalytics) { return event; } @@ -9780,7 +9479,7 @@ export class Cashfree { } else { scope.setExtra('environment', 'production'); } - scope.setExtra('release', "4.0.3"); + scope.setExtra('release', "3.2.14"); }); } try { @@ -9800,7 +9499,7 @@ export class Cashfree { * @param {string} order_id The id which uniquely identifies your order * @param {OrderCreateRefundRequest} OrderCreateRefundRequest Request Body to Create Refunds * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof RefundsApi @@ -9824,7 +9523,7 @@ export class Cashfree { if (stackTrace && stackTrace.frames) { const filteredDomains = stackTrace.frames.filter((x) => x.filename.includes("cashfree-pg")).map((x) => x.filename); - if (filteredDomains[0].includes("cashfree-pg")) { + if (filteredDomains && filteredDomains.length > 0 && filteredDomains[0].includes("cashfree-pg")) { if(Cashfree.XEnableErrorAnalytics) { return event; } @@ -9841,7 +9540,7 @@ export class Cashfree { } else { scope.setExtra('environment', 'production'); } - scope.setExtra('release', "4.0.3"); + scope.setExtra('release', "3.2.14"); }); } try { @@ -9861,7 +9560,7 @@ export class Cashfree { * @param {string} order_id The id which uniquely identifies your order * @param {string} refund_id Refund Id of the refund you want to fetch. * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof RefundsApi @@ -9885,7 +9584,7 @@ export class Cashfree { if (stackTrace && stackTrace.frames) { const filteredDomains = stackTrace.frames.filter((x) => x.filename.includes("cashfree-pg")).map((x) => x.filename); - if (filteredDomains[0].includes("cashfree-pg")) { + if (filteredDomains && filteredDomains.length > 0 && filteredDomains[0].includes("cashfree-pg")) { if(Cashfree.XEnableErrorAnalytics) { return event; } @@ -9902,7 +9601,7 @@ export class Cashfree { } else { scope.setExtra('environment', 'production'); } - scope.setExtra('release', "4.0.3"); + scope.setExtra('release', "3.2.14"); }); } try { @@ -9921,7 +9620,7 @@ export class Cashfree { * @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD * @param {string} order_id The id which uniquely identifies your order * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof RefundsApi @@ -9945,7 +9644,7 @@ export class Cashfree { if (stackTrace && stackTrace.frames) { const filteredDomains = stackTrace.frames.filter((x) => x.filename.includes("cashfree-pg")).map((x) => x.filename); - if (filteredDomains[0].includes("cashfree-pg")) { + if (filteredDomains && filteredDomains.length > 0 && filteredDomains[0].includes("cashfree-pg")) { if(Cashfree.XEnableErrorAnalytics) { return event; } @@ -9962,7 +9661,7 @@ export class Cashfree { } else { scope.setExtra('environment', 'production'); } - scope.setExtra('release', "4.0.3"); + scope.setExtra('release', "3.2.14"); }); } try { @@ -9982,7 +9681,7 @@ export class Cashfree { * @param {FetchSettlementsRequest} FetchSettlementsRequest Request Body to get the settlements * @param {string} [Content_Type] application/json * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {string} [Accept] application/json * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -10007,7 +9706,7 @@ export class Cashfree { if (stackTrace && stackTrace.frames) { const filteredDomains = stackTrace.frames.filter((x) => x.filename.includes("cashfree-pg")).map((x) => x.filename); - if (filteredDomains[0].includes("cashfree-pg")) { + if (filteredDomains && filteredDomains.length > 0 && filteredDomains[0].includes("cashfree-pg")) { if(Cashfree.XEnableErrorAnalytics) { return event; } @@ -10024,7 +9723,7 @@ export class Cashfree { } else { scope.setExtra('environment', 'production'); } - scope.setExtra('release', "4.0.3"); + scope.setExtra('release', "3.2.14"); }); } try { @@ -10044,7 +9743,7 @@ export class Cashfree { * @param {SettlementFetchReconRequest} SettlementFetchReconRequest Request Body for the settlement reconciliation * @param {string} [Content_Type] application/json * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {string} [Accept] application/json * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -10069,7 +9768,7 @@ export class Cashfree { if (stackTrace && stackTrace.frames) { const filteredDomains = stackTrace.frames.filter((x) => x.filename.includes("cashfree-pg")).map((x) => x.filename); - if (filteredDomains[0].includes("cashfree-pg")) { + if (filteredDomains && filteredDomains.length > 0 && filteredDomains[0].includes("cashfree-pg")) { if(Cashfree.XEnableErrorAnalytics) { return event; } @@ -10086,7 +9785,7 @@ export class Cashfree { } else { scope.setExtra('environment', 'production'); } - scope.setExtra('release', "4.0.3"); + scope.setExtra('release', "3.2.14"); }); } try { @@ -10105,7 +9804,7 @@ export class Cashfree { * @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD * @param {string} order_id The id which uniquely identifies your order * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SettlementsApi @@ -10129,7 +9828,7 @@ export class Cashfree { if (stackTrace && stackTrace.frames) { const filteredDomains = stackTrace.frames.filter((x) => x.filename.includes("cashfree-pg")).map((x) => x.filename); - if (filteredDomains[0].includes("cashfree-pg")) { + if (filteredDomains && filteredDomains.length > 0 && filteredDomains[0].includes("cashfree-pg")) { if(Cashfree.XEnableErrorAnalytics) { return event; } @@ -10146,7 +9845,7 @@ export class Cashfree { } else { scope.setExtra('environment', 'production'); } - scope.setExtra('release', "4.0.3"); + scope.setExtra('release', "3.2.14"); }); } try { @@ -10165,7 +9864,7 @@ export class Cashfree { * @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD * @param {CreateTerminalRequest} CreateTerminalRequest Request Body to Create Terminal for SPOS * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SoftPOSApi @@ -10189,7 +9888,7 @@ export class Cashfree { if (stackTrace && stackTrace.frames) { const filteredDomains = stackTrace.frames.filter((x) => x.filename.includes("cashfree-pg")).map((x) => x.filename); - if (filteredDomains[0].includes("cashfree-pg")) { + if (filteredDomains && filteredDomains.length > 0 && filteredDomains[0].includes("cashfree-pg")) { if(Cashfree.XEnableErrorAnalytics) { return event; } @@ -10206,7 +9905,7 @@ export class Cashfree { } else { scope.setExtra('environment', 'production'); } - scope.setExtra('release', "4.0.3"); + scope.setExtra('release', "3.2.14"); }); } try { @@ -10221,11 +9920,11 @@ export class Cashfree { /** * Use this API to create a new terminal transaction. To use this API you should first create an order using the Create Order API. Also, you need to enter the terminal details while creating the order and pass the same terminal information while creating a transaction using the below mentioned API. - * @summary Create Terminal Transaction + * @summary Create Terminal * @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD * @param {CreateTerminalTransactionRequest} CreateTerminalTransactionRequest Request body to create a terminal transaction * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SoftPOSApi @@ -10249,7 +9948,7 @@ export class Cashfree { if (stackTrace && stackTrace.frames) { const filteredDomains = stackTrace.frames.filter((x) => x.filename.includes("cashfree-pg")).map((x) => x.filename); - if (filteredDomains[0].includes("cashfree-pg")) { + if (filteredDomains && filteredDomains.length > 0 && filteredDomains[0].includes("cashfree-pg")) { if(Cashfree.XEnableErrorAnalytics) { return event; } @@ -10266,7 +9965,7 @@ export class Cashfree { } else { scope.setExtra('environment', 'production'); } - scope.setExtra('release', "4.0.3"); + scope.setExtra('release', "3.2.14"); }); } try { @@ -10285,7 +9984,7 @@ export class Cashfree { * @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD * @param {string} terminal_phone_no The terminal for which you want to view the order details. * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SoftPOSApi @@ -10309,7 +10008,7 @@ export class Cashfree { if (stackTrace && stackTrace.frames) { const filteredDomains = stackTrace.frames.filter((x) => x.filename.includes("cashfree-pg")).map((x) => x.filename); - if (filteredDomains[0].includes("cashfree-pg")) { + if (filteredDomains && filteredDomains.length > 0 && filteredDomains[0].includes("cashfree-pg")) { if(Cashfree.XEnableErrorAnalytics) { return event; } @@ -10326,7 +10025,7 @@ export class Cashfree { } else { scope.setExtra('environment', 'production'); } - scope.setExtra('release', "4.0.3"); + scope.setExtra('release', "3.2.14"); }); } try { @@ -10346,7 +10045,7 @@ export class Cashfree { * @param {string} terminal_phone_no Phone number assigned to the terminal. Required if you are not providing the cf_terminal_id in the request. * @param {string} cf_terminal_id Cashfree terminal id for which you want to get staticQRs. Required if you are not providing the terminal_phone_number in the request. * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SoftPOSApi @@ -10370,7 +10069,7 @@ export class Cashfree { if (stackTrace && stackTrace.frames) { const filteredDomains = stackTrace.frames.filter((x) => x.filename.includes("cashfree-pg")).map((x) => x.filename); - if (filteredDomains[0].includes("cashfree-pg")) { + if (filteredDomains && filteredDomains.length > 0 && filteredDomains[0].includes("cashfree-pg")) { if(Cashfree.XEnableErrorAnalytics) { return event; } @@ -10387,7 +10086,7 @@ export class Cashfree { } else { scope.setExtra('environment', 'production'); } - scope.setExtra('release', "4.0.3"); + scope.setExtra('release', "3.2.14"); }); } try { @@ -10407,7 +10106,7 @@ export class Cashfree { * @param {string} customer_id Your Customer ID that you had sent during create order API `POST/orders` * @param {string} instrument_id The instrument_id which needs to be deleted * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TokenVaultApi @@ -10431,7 +10130,7 @@ export class Cashfree { if (stackTrace && stackTrace.frames) { const filteredDomains = stackTrace.frames.filter((x) => x.filename.includes("cashfree-pg")).map((x) => x.filename); - if (filteredDomains[0].includes("cashfree-pg")) { + if (filteredDomains && filteredDomains.length > 0 && filteredDomains[0].includes("cashfree-pg")) { if(Cashfree.XEnableErrorAnalytics) { return event; } @@ -10448,7 +10147,7 @@ export class Cashfree { } else { scope.setExtra('environment', 'production'); } - scope.setExtra('release', "4.0.3"); + scope.setExtra('release', "3.2.14"); }); } try { @@ -10468,7 +10167,7 @@ export class Cashfree { * @param {string} customer_id Your Customer ID that you had sent during create order API `POST/orders` * @param {string} instrument_id The instrument_id of the saved instrument which needs to be queried * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TokenVaultApi @@ -10492,7 +10191,7 @@ export class Cashfree { if (stackTrace && stackTrace.frames) { const filteredDomains = stackTrace.frames.filter((x) => x.filename.includes("cashfree-pg")).map((x) => x.filename); - if (filteredDomains[0].includes("cashfree-pg")) { + if (filteredDomains && filteredDomains.length > 0 && filteredDomains[0].includes("cashfree-pg")) { if(Cashfree.XEnableErrorAnalytics) { return event; } @@ -10509,7 +10208,7 @@ export class Cashfree { } else { scope.setExtra('environment', 'production'); } - scope.setExtra('release', "4.0.3"); + scope.setExtra('release', "3.2.14"); }); } try { @@ -10529,7 +10228,7 @@ export class Cashfree { * @param {string} customer_id Your Customer ID that you had sent during create order API `POST/orders` * @param {PGCustomerFetchInstrumentsInstrumentTypeEnum} instrument_type Payment mode or type of saved instrument * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TokenVaultApi @@ -10553,7 +10252,7 @@ export class Cashfree { if (stackTrace && stackTrace.frames) { const filteredDomains = stackTrace.frames.filter((x) => x.filename.includes("cashfree-pg")).map((x) => x.filename); - if (filteredDomains[0].includes("cashfree-pg")) { + if (filteredDomains && filteredDomains.length > 0 && filteredDomains[0].includes("cashfree-pg")) { if(Cashfree.XEnableErrorAnalytics) { return event; } @@ -10570,7 +10269,7 @@ export class Cashfree { } else { scope.setExtra('environment', 'production'); } - scope.setExtra('release', "4.0.3"); + scope.setExtra('release', "3.2.14"); }); } try { @@ -10590,7 +10289,7 @@ export class Cashfree { * @param {string} customer_id Your Customer ID that you had sent during create order API `POST/orders` * @param {string} instrument_id The instrument_id of the saved card instrument which needs to be queried * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree - * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. + * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TokenVaultApi @@ -10614,7 +10313,7 @@ export class Cashfree { if (stackTrace && stackTrace.frames) { const filteredDomains = stackTrace.frames.filter((x) => x.filename.includes("cashfree-pg")).map((x) => x.filename); - if (filteredDomains[0].includes("cashfree-pg")) { + if (filteredDomains && filteredDomains.length > 0 && filteredDomains[0].includes("cashfree-pg")) { if(Cashfree.XEnableErrorAnalytics) { return event; } @@ -10631,7 +10330,7 @@ export class Cashfree { } else { scope.setExtra('environment', 'production'); } - scope.setExtra('release', "4.0.3"); + scope.setExtra('release', "3.2.14"); }); } try { diff --git a/base.ts b/base.ts index 2370b6b..da48b02 100644 --- a/base.ts +++ b/base.ts @@ -4,7 +4,7 @@ * Cashfree Payment Gateway APIs * Cashfree\'s Payment Gateway APIs provide developers with a streamlined pathway to integrate advanced payment processing capabilities into their applications, platforms and websites. * - * The version of the OpenAPI document: 2023-08-01 + * The version of the OpenAPI document: 2022-09-01 * Contact: developers@cashfree.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/common.ts b/common.ts index c0ff14b..67c9eeb 100644 --- a/common.ts +++ b/common.ts @@ -4,7 +4,7 @@ * Cashfree Payment Gateway APIs * Cashfree\'s Payment Gateway APIs provide developers with a streamlined pathway to integrate advanced payment processing capabilities into their applications, platforms and websites. * - * The version of the OpenAPI document: 2023-08-01 + * The version of the OpenAPI document: 2022-09-01 * Contact: developers@cashfree.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/configuration.ts b/configuration.ts index da9337b..01c96e5 100644 --- a/configuration.ts +++ b/configuration.ts @@ -4,7 +4,7 @@ * Cashfree Payment Gateway APIs * Cashfree\'s Payment Gateway APIs provide developers with a streamlined pathway to integrate advanced payment processing capabilities into their applications, platforms and websites. * - * The version of the OpenAPI document: 2023-08-01 + * The version of the OpenAPI document: 2022-09-01 * Contact: developers@cashfree.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/index.ts b/index.ts index a1e14b5..72fccf3 100644 --- a/index.ts +++ b/index.ts @@ -4,7 +4,7 @@ * Cashfree Payment Gateway APIs * Cashfree\'s Payment Gateway APIs provide developers with a streamlined pathway to integrate advanced payment processing capabilities into their applications, platforms and websites. * - * The version of the OpenAPI document: 2023-08-01 + * The version of the OpenAPI document: 2022-09-01 * Contact: developers@cashfree.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/package.json b/package.json index dd6dc7d..73b07e3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cashfree-pg", - "version": "4.0.3", + "version": "3.2.14", "description": "Cashfree client for cashfree-pg", "author": "Cashfree Payments", "repository": {