@nomalism-com/types 0.45.21 → 0.45.23

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
@@ -4971,7 +4971,6 @@ var findProductSheetByReferenceQuery = joi93.object().keys({
4971
4971
  selector: joi93.string().required()
4972
4972
  }).messages(messages);
4973
4973
  var productLocationBody = joi93.object().keys({
4974
- location_type: joi93.valid("local_p", "local_e").required(),
4975
4974
  location_id: joi93.string().required(),
4976
4975
  product_id: joi93.array().items(joi93.string().uuid()).required()
4977
4976
  }).messages(messages);
package/dist/index.js CHANGED
@@ -4971,7 +4971,6 @@ var findProductSheetByReferenceQuery = joi93.object().keys({
4971
4971
  selector: joi93.string().required()
4972
4972
  }).messages(messages);
4973
4973
  var productLocationBody = joi93.object().keys({
4974
- location_type: joi93.valid("local_p", "local_e").required(),
4975
4974
  location_id: joi93.string().required(),
4976
4975
  product_id: joi93.array().items(joi93.string().uuid()).required()
4977
4976
  }).messages(messages);
@@ -208,7 +208,6 @@ export type IFindForMobileRequest = {
208
208
  id: string;
209
209
  };
210
210
  export interface IProductLocation {
211
- location_type: 'local_p' | 'local_e';
212
211
  location_id: string;
213
212
  product_id: string[];
214
213
  }
@@ -69,6 +69,7 @@ export interface IPushNotificationEvent extends IEvent {
69
69
  export type SideMenuSocketEvent = IPushNotificationEvent | IPing | IPong;
70
70
  export interface SocketOptions<T extends IEvent> {
71
71
  token: string;
72
+ channel?: string;
72
73
  onEvent: (evt: T) => void;
73
74
  onOpen?: () => void;
74
75
  onReconnect?: () => void;
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.45.21",
4
+ "version": "0.45.23",
5
5
  "author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",