Skip to content

Commit 1e5b785

Browse files
committed
[Auto Generated] 3.7.0
1 parent aefa6c6 commit 1e5b785

29 files changed

+569
-4102
lines changed

CHANGELOG.md

Lines changed: 17 additions & 407 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ console.log("Active Theme: ", response.information.name);
234234
The above code will log the curl command in the console
235235

236236
```bash
237-
curl --request GET "https://api.fynd.com/service/application/theme/v1.0/applied-theme" --header 'authorization: Bearer <authorization-token>' --header 'x-fp-sdk-version: 3.6.0' --header 'x-fp-date: 20230222T115108Z' --header 'x-fp-signature: v1.1:1e3ab3b02b5bc626e3c32a37ee844266ade02bbcbaafc28fc7a0e46a76a7a1a8'
237+
curl --request GET "https://api.fynd.com/service/application/theme/v1.0/applied-theme" --header 'authorization: Bearer <authorization-token>' --header 'x-fp-sdk-version: 3.7.0' --header 'x-fp-date: 20230222T115108Z' --header 'x-fp-signature: v1.1:1e3ab3b02b5bc626e3c32a37ee844266ade02bbcbaafc28fc7a0e46a76a7a1a8'
238238
Active Theme: Emerge
239239
```
240240

dist/application.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@gofynd/fdk-client-javascript",
3-
"version": "3.6.0",
3+
"version": "3.7.0",
44
"description": "",
55
"main": "index.js",
66
"scripts": {

sdk/application/Payment/PaymentApplicationClient.d.ts

Lines changed: 0 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,8 @@ declare class Payment {
33
constructor(_conf: any);
44
_conf: any;
55
_relativeUrls: {
6-
addBeneficiary: string;
76
addBeneficiaryDetails: string;
87
addRefundBankAccountUsingOTP: string;
9-
addRefundBeneficiaryUsingOTPSession: string;
108
attachCardToCustomer: string;
119
cancelPaymentLink: string;
1210
cardDetails: string;
@@ -18,7 +16,6 @@ declare class Payment {
1816
createPaymentOrder: string;
1917
customerCreditSummary: string;
2018
customerOnboard: string;
21-
deleteBeneficiary: string;
2219
deleteUserCard: string;
2320
delinkWallet: string;
2421
enableOrDisableRefundTransferMode: string;
@@ -32,8 +29,6 @@ declare class Payment {
3229
getPaymentModeRoutes: string;
3330
getPaymentModeRoutesPaymentLink: string;
3431
getPosPaymentModeRoutes: string;
35-
getRefundBeneficiaries: string;
36-
getRefundBeneficiariesUsingOTPSession: string;
3732
getRupifiBannerDetails: string;
3833
getUserBeneficiariesDetail: string;
3934
initialisePayment: string;
@@ -57,15 +52,6 @@ declare class Payment {
5752
};
5853
_urls: {};
5954
updateUrls(urls: any): void;
60-
/**
61-
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
62-
* @param {import("../ApplicationAPIClient").Options} - Options
63-
* @returns {Promise<AddBeneficiaryResponseDetails>} - Success response
64-
* @name addBeneficiary
65-
* @summary: Add a beneficiary for refunds
66-
* @description: Adds a bank or UPI beneficiary to the user account for processing refunds. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/payment/addBeneficiary/).
67-
*/
68-
addBeneficiary({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<AddBeneficiaryResponseDetails>;
6955
/**
7056
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
7157
* @param {import("../ApplicationAPIClient").Options} - Options
@@ -84,15 +70,6 @@ declare class Payment {
8470
* @description: Add bank account specifically for refunds, employing OTP verification for security. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/payment/addRefundBankAccountUsingOTP/).
8571
*/
8672
addRefundBankAccountUsingOTP({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<RefundAccountDetails>;
87-
/**
88-
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
89-
* @param {import("../ApplicationAPIClient").Options} - Options
90-
* @returns {Promise<AddBeneficiaryResponseDetails>} - Success response
91-
* @name addRefundBeneficiaryUsingOTPSession
92-
* @summary: Add a beneficiary for refunds using OTP session
93-
* @description: Adds a bank or UPI beneficiary to the user account after completing an OTP verification session. The beneficiary details are securely linked with the user's refund preferences and will be used for processing refunds against specific orders and shipments. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/payment/addRefundBeneficiaryUsingOTPSession/).
94-
*/
95-
addRefundBeneficiaryUsingOTPSession({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<AddBeneficiaryResponseDetails>;
9673
/**
9774
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
9875
* @param {import("../ApplicationAPIClient").Options} - Options
@@ -192,15 +169,6 @@ declare class Payment {
192169
* @description: Initiate the onboarding process for payment services, providing personal, business, and device information, along with marketplace details, to enable customer registration and credit availability. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/payment/customerOnboard/).
193170
*/
194171
customerOnboard({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<CustomerOnboardingDetails>;
195-
/**
196-
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
197-
* @param {import("../ApplicationAPIClient").Options} - Options
198-
* @returns {Promise<DeleteBeneficiaryDetails>} - Success response
199-
* @name deleteBeneficiary
200-
* @summary: Delete a refund beneficiary
201-
* @description: This API endpoint is used to delete a refund beneficiary using their beneficiary ID. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/payment/deleteBeneficiary/).
202-
*/
203-
deleteBeneficiary({ id, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<DeleteBeneficiaryDetails>;
204172
/**
205173
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
206174
* @param {import("../ApplicationAPIClient").Options} - Options
@@ -318,24 +286,6 @@ declare class Payment {
318286
* @description: Get available payment methods on the payment page for POS, specifying the aggregator for each option, such as 'CARD powered by Juspay' and 'QR powered by Razorpay'. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/payment/getPosPaymentModeRoutes/).
319287
*/
320288
getPosPaymentModeRoutes({ amount, cartId, pincode, orderType, checkoutMode, refresh, cardReference, userDetails, requestHeaders, }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<PaymentModeRouteDetails>;
321-
/**
322-
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
323-
* @param {import("../ApplicationAPIClient").Options} - Options
324-
* @returns {Promise<RefundBeneficiaries>} - Success response
325-
* @name getRefundBeneficiaries
326-
* @summary: Get Refund Beneficiaries
327-
* @description: Returns a list of UPI and Bank refund beneficiaries associated with a user. Both `order_id` and `shipment_id` are optional query parameters. Use the optional filter_by enum parameter to refine the response. When the value of filter_by is order, the API returns only beneficiaries associated with the order. When the value of filter_by is shipment, it returns only beneficiaries associated with the shipment. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/payment/getRefundBeneficiaries/).
328-
*/
329-
getRefundBeneficiaries({ orderId, shipmentId, filterBy, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<RefundBeneficiaries>;
330-
/**
331-
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
332-
* @param {import("../ApplicationAPIClient").Options} - Options
333-
* @returns {Promise<RefundBeneficiaries>} - Success response
334-
* @name getRefundBeneficiariesUsingOTPSession
335-
* @summary: Get Refund Beneficiaries using OTP session
336-
* @description: Returns a list of UPI and Bank refund beneficiaries associated with a user for a given order and shipment. Use the optional filter_by enum parameter to refine the response. When the value of filter_by is order, the API returns only beneficiaries associated with the order. When the value of filter_by is shipment, it returns only beneficiaries associated with the shipment. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/payment/getRefundBeneficiariesUsingOTPSession/).
337-
*/
338-
getRefundBeneficiariesUsingOTPSession({ orderId, shipmentId, filterBy, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<RefundBeneficiaries>;
339289
/**
340290
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
341291
* @param {import("../ApplicationAPIClient").Options} - Options

0 commit comments

Comments
 (0)