@gofynd/fdk-client-javascript 3.1.0 → 3.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +2 -2
- package/sdk/application/Cart/CartApplicationClient.d.ts +1 -1
- package/sdk/application/Cart/CartApplicationClient.js +1 -1
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +1 -1
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +1 -1
package/README.md
CHANGED
|
@@ -237,7 +237,7 @@ console.log("Active Theme: ", response.information.name);
|
|
|
237
237
|
The above code will log the curl command in the console
|
|
238
238
|
|
|
239
239
|
```bash
|
|
240
|
-
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.
|
|
240
|
+
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.2.0' --header 'x-fp-date: 20230222T115108Z' --header 'x-fp-signature: v1.1:1e3ab3b02b5bc626e3c32a37ee844266ade02bbcbaafc28fc7a0e46a76a7a1a8'
|
|
241
241
|
Active Theme: Emerge
|
|
242
242
|
```
|
|
243
243
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gofynd/fdk-client-javascript",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.2.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"build": "webpack",
|
|
11
11
|
"prettier": "npx prettier -w ./sdk ./tests && npx tsc"
|
|
12
12
|
},
|
|
13
|
-
"author": "Jigar Dafda
|
|
13
|
+
"author": "Jigar Dafda",
|
|
14
14
|
"license": "ISC",
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"axios": "^1.6.4",
|
|
@@ -87,7 +87,7 @@ declare class Cart {
|
|
|
87
87
|
* @returns {Promise<CartCheckoutResult>} - Success response
|
|
88
88
|
* @name checkoutCartV2
|
|
89
89
|
* @summary: Checkout cart
|
|
90
|
-
* @description: The checkout cart initiates the order creation process based on the items in the user
|
|
90
|
+
* @description: The checkout cart initiates the order creation process based on the items in the user's cart, their selected address, and chosen payment methods. It also supports multiple payment method options and revalidates the cart details to ensure a secure and seamless order placement. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/checkoutCartV2/).
|
|
91
91
|
*/
|
|
92
92
|
checkoutCartV2({ body, xOrderingSource, buyNow, cartType, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<CartCheckoutResult>;
|
|
93
93
|
/**
|
|
@@ -291,7 +291,7 @@ class Cart {
|
|
|
291
291
|
* @returns {Promise<CartCheckoutResult>} - Success response
|
|
292
292
|
* @name checkoutCartV2
|
|
293
293
|
* @summary: Checkout cart
|
|
294
|
-
* @description: The checkout cart initiates the order creation process based on the items in the user
|
|
294
|
+
* @description: The checkout cart initiates the order creation process based on the items in the user's cart, their selected address, and chosen payment methods. It also supports multiple payment method options and revalidates the cart details to ensure a secure and seamless order placement. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/checkoutCartV2/).
|
|
295
295
|
*/
|
|
296
296
|
async checkoutCartV2(
|
|
297
297
|
{ body, xOrderingSource, buyNow, cartType, requestHeaders } = {
|
|
@@ -36,7 +36,7 @@ declare class Configuration {
|
|
|
36
36
|
* Success response
|
|
37
37
|
* @name getAppApiTokens
|
|
38
38
|
* @summary: Get sales channel API tokens
|
|
39
|
-
* @description: Retrieve the tokens used for integrating Firebase, MoEngage, Segment, GTM, Freshchat, Safetynet, Google Map, Google, and Facebook auth.
|
|
39
|
+
* @description: Retrieve the tokens used for integrating Firebase, MoEngage, Segment, GTM, Freshchat, Safetynet, Google Map, Google, and Facebook auth. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/configuration/getAppApiTokens/).
|
|
40
40
|
*/
|
|
41
41
|
getAppApiTokens({ requestHeaders }?: any, { responseHeaders }?: object): Promise<ConfigurationPlatformModel.TokenResponseSchema>;
|
|
42
42
|
/**
|
|
@@ -186,7 +186,7 @@ class Configuration {
|
|
|
186
186
|
* Success response
|
|
187
187
|
* @name getAppApiTokens
|
|
188
188
|
* @summary: Get sales channel API tokens
|
|
189
|
-
* @description: Retrieve the tokens used for integrating Firebase, MoEngage, Segment, GTM, Freshchat, Safetynet, Google Map, Google, and Facebook auth.
|
|
189
|
+
* @description: Retrieve the tokens used for integrating Firebase, MoEngage, Segment, GTM, Freshchat, Safetynet, Google Map, Google, and Facebook auth. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/configuration/getAppApiTokens/).
|
|
190
190
|
*/
|
|
191
191
|
async getAppApiTokens(
|
|
192
192
|
{ requestHeaders } = { requestHeaders: {} },
|