@gofynd/fdk-client-javascript 1.6.2 → 1.6.3
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
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: 1.6.
|
|
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: 1.6.3' --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
|
@@ -2629,7 +2629,7 @@ export = OrderPlatformModel;
|
|
|
2629
2629
|
* @property {string} [last_name] - The last name of the user.
|
|
2630
2630
|
* @property {string} [mobile] - The mobile phone number of the user.
|
|
2631
2631
|
* @property {string} [email] - The email address of the user.
|
|
2632
|
-
* @property {
|
|
2632
|
+
* @property {Object} [meta] - Additional metadata related to the user.
|
|
2633
2633
|
* @property {boolean} [is_anonymous_user] - Indicates whether the user is an
|
|
2634
2634
|
* anonymous user (true) or registered (false).
|
|
2635
2635
|
* @property {string} [name] - A full name of the user, which may be a
|
|
@@ -10202,7 +10202,7 @@ type UserDataInfo = {
|
|
|
10202
10202
|
/**
|
|
10203
10203
|
* - Additional metadata related to the user.
|
|
10204
10204
|
*/
|
|
10205
|
-
meta?:
|
|
10205
|
+
meta?: any;
|
|
10206
10206
|
/**
|
|
10207
10207
|
* - Indicates whether the user is an
|
|
10208
10208
|
* anonymous user (true) or registered (false).
|
|
@@ -2867,7 +2867,7 @@ const Joi = require("joi");
|
|
|
2867
2867
|
* @property {string} [last_name] - The last name of the user.
|
|
2868
2868
|
* @property {string} [mobile] - The mobile phone number of the user.
|
|
2869
2869
|
* @property {string} [email] - The email address of the user.
|
|
2870
|
-
* @property {
|
|
2870
|
+
* @property {Object} [meta] - Additional metadata related to the user.
|
|
2871
2871
|
* @property {boolean} [is_anonymous_user] - Indicates whether the user is an
|
|
2872
2872
|
* anonymous user (true) or registered (false).
|
|
2873
2873
|
* @property {string} [name] - A full name of the user, which may be a
|
|
@@ -7924,7 +7924,7 @@ class OrderPlatformModel {
|
|
|
7924
7924
|
last_name: Joi.string().allow("").allow(null),
|
|
7925
7925
|
mobile: Joi.string().allow("").allow(null),
|
|
7926
7926
|
email: Joi.string().allow("").allow(null),
|
|
7927
|
-
meta: Joi.
|
|
7927
|
+
meta: Joi.object().pattern(/\S/, Joi.any()).allow(null, ""),
|
|
7928
7928
|
is_anonymous_user: Joi.boolean().allow(null),
|
|
7929
7929
|
name: Joi.string().allow("").allow(null),
|
|
7930
7930
|
gender: Joi.string().allow("").allow(null),
|