@nomalism-com/types 0.44.1 → 0.44.3

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/dist/index.cjs CHANGED
@@ -2520,7 +2520,7 @@ __export(route_schema_exports30, {
2520
2520
  });
2521
2521
  import joi31 from "joi";
2522
2522
  var forgotBodyKeys = {
2523
- account: joi31.string().email({ tlds: { allow: false } }).required()
2523
+ store_operator_id: joi31.string().uuid().required()
2524
2524
  };
2525
2525
  var forgotBody = joi31.object().keys(forgotBodyKeys).messages(messages);
2526
2526
  var resetBodyKeys = {
@@ -3021,7 +3021,6 @@ __export(route_schema_exports42, {
3021
3021
  });
3022
3022
  import joi43 from "joi";
3023
3023
  var sessionBodyKeys = {
3024
- account: joi43.string().required(),
3025
3024
  password: joi43.string().required()
3026
3025
  };
3027
3026
  var sessionBody = joi43.object().keys(sessionBodyKeys).messages(messages);
package/dist/index.js CHANGED
@@ -2520,7 +2520,7 @@ __export(route_schema_exports30, {
2520
2520
  });
2521
2521
  import joi31 from "joi";
2522
2522
  var forgotBodyKeys = {
2523
- account: joi31.string().email({ tlds: { allow: false } }).required()
2523
+ store_operator_id: joi31.string().uuid().required()
2524
2524
  };
2525
2525
  var forgotBody = joi31.object().keys(forgotBodyKeys).messages(messages);
2526
2526
  var resetBodyKeys = {
@@ -3021,7 +3021,6 @@ __export(route_schema_exports42, {
3021
3021
  });
3022
3022
  import joi43 from "joi";
3023
3023
  var sessionBodyKeys = {
3024
- account: joi43.string().required(),
3025
3024
  password: joi43.string().required()
3026
3025
  };
3027
3026
  var sessionBody = joi43.object().keys(sessionBodyKeys).messages(messages);
@@ -1,7 +1,7 @@
1
1
  import * as IShared from '../../../shared/interface';
2
2
  export declare const Route = "password";
3
3
  export interface IForgotPassword {
4
- account: string;
4
+ store_operator_id: string;
5
5
  }
6
6
  export interface IResetPassword {
7
7
  token: string;
@@ -1,6 +1,5 @@
1
1
  import * as Users from '../users/interface';
2
2
  export interface ICreateRequest {
3
- account: string;
4
3
  password: string;
5
4
  }
6
5
  export interface ICreateResponse {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nomalism-com/types",
3
3
  "description": "A nomalism package with all necessary types and validations for developing APIs",
4
- "version": "0.44.1",
4
+ "version": "0.44.3",
5
5
  "author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",