@gofynd/fdk-client-javascript 1.3.5-beta.4 → 1.3.6-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.
@@ -232,7 +232,8 @@ const Joi = require("joi");
232
232
 
233
233
  /**
234
234
  * @typedef SessionDeleteResponseSchema
235
- * @property {string[]} [items]
235
+ * @property {string} [session_id]
236
+ * @property {string} [user_id]
236
237
  */
237
238
 
238
239
  /**
@@ -256,6 +257,12 @@ const Joi = require("joi");
256
257
  * @property {SessionListResponseInfo[]} [items]
257
258
  */
258
259
 
260
+ /**
261
+ * @typedef SessionsDeleteResponseSchema
262
+ * @property {string[]} [session_ids]
263
+ * @property {string} [user_id]
264
+ */
265
+
259
266
  /**
260
267
  * @typedef Social
261
268
  * @property {boolean} [account_kit]
@@ -664,7 +671,8 @@ class UserPlatformModel {
664
671
  /** @returns {SessionDeleteResponseSchema} */
665
672
  static SessionDeleteResponseSchema() {
666
673
  return Joi.object({
667
- items: Joi.array().items(Joi.string().allow("")),
674
+ session_id: Joi.string().allow(""),
675
+ user_id: Joi.string().allow(""),
668
676
  });
669
677
  }
670
678
 
@@ -695,6 +703,14 @@ class UserPlatformModel {
695
703
  });
696
704
  }
697
705
 
706
+ /** @returns {SessionsDeleteResponseSchema} */
707
+ static SessionsDeleteResponseSchema() {
708
+ return Joi.object({
709
+ session_ids: Joi.array().items(Joi.string().allow("")),
710
+ user_id: Joi.string().allow(""),
711
+ });
712
+ }
713
+
698
714
  /** @returns {Social} */
699
715
  static Social() {
700
716
  return Joi.object({