@gofynd/fdk-client-javascript 3.12.0 → 3.13.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/Order/OrderPlatformClient.d.ts +1 -1
- package/sdk/platform/Order/OrderPlatformClient.js +1 -1
- package/sdk/platform/Order/OrderPlatformModel.d.ts +232 -207
- package/sdk/platform/Order/OrderPlatformModel.js +113 -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
|
@@ -32,6 +32,13 @@ const ServiceabilityPlatformModel = require("./ServiceabilityPlatformModel");
|
|
|
32
32
|
* @property {string} geoareaId - The unique identifier of the Geoarea.
|
|
33
33
|
*/
|
|
34
34
|
|
|
35
|
+
/**
|
|
36
|
+
* @typedef CreateShipmentsParam
|
|
37
|
+
* @property {string} [xOrderingSource] - Ordering source header, to be used to
|
|
38
|
+
* identify source of order creation.
|
|
39
|
+
* @property {ServiceabilityPlatformModel.PlatformShipmentsRequestSchema} body
|
|
40
|
+
*/
|
|
41
|
+
|
|
35
42
|
/**
|
|
36
43
|
* @typedef CreateStoreRulesParam
|
|
37
44
|
* @property {ServiceabilityPlatformModel.CreateStoreRuleDetailsSchema} body
|
|
@@ -323,6 +330,15 @@ class ServiceabilityPlatformApplicationValidator {
|
|
|
323
330
|
}).required();
|
|
324
331
|
}
|
|
325
332
|
|
|
333
|
+
/** @returns {CreateShipmentsParam} */
|
|
334
|
+
static createShipments() {
|
|
335
|
+
return Joi.object({
|
|
336
|
+
xOrderingSource: Joi.string().allow(""),
|
|
337
|
+
|
|
338
|
+
body: ServiceabilityPlatformModel.PlatformShipmentsRequestSchema().required(),
|
|
339
|
+
}).required();
|
|
340
|
+
}
|
|
341
|
+
|
|
326
342
|
/** @returns {CreateStoreRulesParam} */
|
|
327
343
|
static createStoreRules() {
|
|
328
344
|
return Joi.object({
|