@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.
@@ -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({