@gofynd/fdk-client-javascript 1.4.15 → 1.5.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
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.
|
|
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.5.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
|
@@ -3065,7 +3065,7 @@ export = OrderPlatformModel;
|
|
|
3065
3065
|
*/
|
|
3066
3066
|
/**
|
|
3067
3067
|
* @typedef Article
|
|
3068
|
-
* @property {Object
|
|
3068
|
+
* @property {Object} [child_details] - Contains a flexible set of key-value
|
|
3069
3069
|
* pairs representing detailed information about the article's child entities,
|
|
3070
3070
|
* including dimensions (width, height, length), weight, and unique
|
|
3071
3071
|
* identifiers (EAN, article code, seller identifier) for each child entity.
|
|
@@ -11191,7 +11191,7 @@ type Article = {
|
|
|
11191
11191
|
* including dimensions (width, height, length), weight, and unique
|
|
11192
11192
|
* identifiers (EAN, article code, seller identifier) for each child entity.
|
|
11193
11193
|
*/
|
|
11194
|
-
child_details?: any
|
|
11194
|
+
child_details?: any;
|
|
11195
11195
|
/**
|
|
11196
11196
|
* - Unique identifier assigned by the
|
|
11197
11197
|
* seller to the article, used for inventory management.
|
|
@@ -3321,7 +3321,7 @@ const Joi = require("joi");
|
|
|
3321
3321
|
|
|
3322
3322
|
/**
|
|
3323
3323
|
* @typedef Article
|
|
3324
|
-
* @property {Object
|
|
3324
|
+
* @property {Object} [child_details] - Contains a flexible set of key-value
|
|
3325
3325
|
* pairs representing detailed information about the article's child entities,
|
|
3326
3326
|
* including dimensions (width, height, length), weight, and unique
|
|
3327
3327
|
* identifiers (EAN, article code, seller identifier) for each child entity.
|
|
@@ -8218,9 +8218,7 @@ class OrderPlatformModel {
|
|
|
8218
8218
|
/** @returns {Article} */
|
|
8219
8219
|
static Article() {
|
|
8220
8220
|
return Joi.object({
|
|
8221
|
-
child_details: Joi.
|
|
8222
|
-
.items(Joi.object().pattern(/\S/, Joi.any()))
|
|
8223
|
-
.allow(null, ""),
|
|
8221
|
+
child_details: Joi.object().pattern(/\S/, Joi.any()).allow(null, ""),
|
|
8224
8222
|
seller_identifier: Joi.string().allow("").required(),
|
|
8225
8223
|
uid: Joi.string().allow("").required(),
|
|
8226
8224
|
set: Joi.object().pattern(/\S/, Joi.any()).allow(null, ""),
|