@gofynd/fdk-client-javascript 1.3.9 → 1.3.10-beta.1
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
|
@@ -214,7 +214,7 @@ console.log("Active Theme: ", response.information.name);
|
|
|
214
214
|
The above code will log the curl command in the console
|
|
215
215
|
|
|
216
216
|
```bash
|
|
217
|
-
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.3.
|
|
217
|
+
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.3.10-beta.1' --header 'x-fp-date: 20230222T115108Z' --header 'x-fp-signature: v1.1:1e3ab3b02b5bc626e3c32a37ee844266ade02bbcbaafc28fc7a0e46a76a7a1a8'
|
|
218
218
|
Active Theme: Emerge
|
|
219
219
|
```
|
|
220
220
|
|
package/package.json
CHANGED
|
@@ -76,6 +76,7 @@ export = OrderPlatformModel;
|
|
|
76
76
|
/**
|
|
77
77
|
* @typedef AffiliateBagsDetails
|
|
78
78
|
* @property {string} [affiliate_bag_id]
|
|
79
|
+
* @property {AffiliateMeta} [affiliate_meta]
|
|
79
80
|
* @property {string} [coupon_code]
|
|
80
81
|
*/
|
|
81
82
|
/**
|
|
@@ -2484,6 +2485,7 @@ type AffiliateBagDetails = {
|
|
|
2484
2485
|
declare function AffiliateBagsDetails(): AffiliateBagsDetails;
|
|
2485
2486
|
type AffiliateBagsDetails = {
|
|
2486
2487
|
affiliate_bag_id?: string;
|
|
2488
|
+
affiliate_meta?: AffiliateMeta;
|
|
2487
2489
|
coupon_code?: string;
|
|
2488
2490
|
};
|
|
2489
2491
|
/** @returns {AffiliateConfig} */
|
|
@@ -84,6 +84,7 @@ const Joi = require("joi");
|
|
|
84
84
|
/**
|
|
85
85
|
* @typedef AffiliateBagsDetails
|
|
86
86
|
* @property {string} [affiliate_bag_id]
|
|
87
|
+
* @property {AffiliateMeta} [affiliate_meta]
|
|
87
88
|
* @property {string} [coupon_code]
|
|
88
89
|
*/
|
|
89
90
|
|
|
@@ -2752,6 +2753,7 @@ class OrderPlatformModel {
|
|
|
2752
2753
|
static AffiliateBagsDetails() {
|
|
2753
2754
|
return Joi.object({
|
|
2754
2755
|
affiliate_bag_id: Joi.string().allow("").allow(null),
|
|
2756
|
+
affiliate_meta: OrderPlatformModel.AffiliateMeta(),
|
|
2755
2757
|
coupon_code: Joi.string().allow("").allow(null),
|
|
2756
2758
|
});
|
|
2757
2759
|
}
|