@gofynd/fdk-client-javascript 3.12.0 → 3.14.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 +1 -1
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +1 -1
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +1 -1
- package/sdk/platform/Cart/CartPlatformModel.d.ts +21 -8
- package/sdk/platform/Cart/CartPlatformModel.js +10 -4
- package/sdk/platform/Catalog/CatalogPlatformModel.js +7 -7
- package/sdk/platform/Order/OrderPlatformClient.d.ts +1 -1
- package/sdk/platform/Order/OrderPlatformClient.js +1 -1
- package/sdk/platform/Order/OrderPlatformModel.d.ts +241 -207
- package/sdk/platform/Order/OrderPlatformModel.js +117 -104
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +16 -4
- package/sdk/platform/Order/OrderPlatformValidator.js +8 -2
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +14 -0
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +85 -0
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +17 -1
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +16 -0
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +861 -178
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +534 -84
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +5 -0
- package/sdk/public/Webhook/WebhookPublicModel.js +2 -0
|
@@ -53,6 +53,7 @@ const Joi = require("joi");
|
|
|
53
53
|
|
|
54
54
|
/**
|
|
55
55
|
* @typedef TransformEventData
|
|
56
|
+
* @property {string} [region] - The region of the transformation event.
|
|
56
57
|
* @property {InternalTransformEvent} [event]
|
|
57
58
|
* @property {number} [company_id] - The company ID associated with the event.
|
|
58
59
|
* @property {string[]} [contains] - List of strings related to the event.
|
|
@@ -174,6 +175,7 @@ class WebhookPublicModel {
|
|
|
174
175
|
/** @returns {TransformEventData} */
|
|
175
176
|
static TransformEventData() {
|
|
176
177
|
return Joi.object({
|
|
178
|
+
region: Joi.string().allow(""),
|
|
177
179
|
event: WebhookPublicModel.InternalTransformEvent(),
|
|
178
180
|
company_id: Joi.number(),
|
|
179
181
|
contains: Joi.array().items(Joi.string().allow("")),
|