@nomalism-com/types 0.45.23 → 0.45.24

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
@@ -4884,6 +4884,7 @@ __export(route_schema_exports92, {
4884
4884
  findByRef: () => findByRef,
4885
4885
  findForMobileQuery: () => findForMobileQuery,
4886
4886
  findProductSheetByReferenceQuery: () => findProductSheetByReferenceQuery,
4887
+ printLabelBulkQuery: () => printLabelBulkQuery,
4887
4888
  printLabelQuery: () => printLabelQuery3,
4888
4889
  productLocationBody: () => productLocationBody,
4889
4890
  updateBody: () => updateBody50,
@@ -4894,6 +4895,10 @@ var printLabelQueryKeys3 = {
4894
4895
  token: joi93.string().required()
4895
4896
  };
4896
4897
  var printLabelQuery3 = joi93.object().keys(printLabelQueryKeys3).messages(messages);
4898
+ var printLabelBulkQuery = joi93.object().keys({
4899
+ ids: joi93.string().required(),
4900
+ token: joi93.string().required()
4901
+ }).required();
4897
4902
  var checkStockByIdsBody = joi93.object().keys({ ids: joi93.array().items(joi93.string().uuid().required()).required() }).messages(messages);
4898
4903
  var basicSearchQueryKeys2 = {
4899
4904
  per_page: joi93.number().integer().positive().default(10).optional(),
package/dist/index.js CHANGED
@@ -4884,6 +4884,7 @@ __export(route_schema_exports92, {
4884
4884
  findByRef: () => findByRef,
4885
4885
  findForMobileQuery: () => findForMobileQuery,
4886
4886
  findProductSheetByReferenceQuery: () => findProductSheetByReferenceQuery,
4887
+ printLabelBulkQuery: () => printLabelBulkQuery,
4887
4888
  printLabelQuery: () => printLabelQuery3,
4888
4889
  productLocationBody: () => productLocationBody,
4889
4890
  updateBody: () => updateBody50,
@@ -4894,6 +4895,10 @@ var printLabelQueryKeys3 = {
4894
4895
  token: joi93.string().required()
4895
4896
  };
4896
4897
  var printLabelQuery3 = joi93.object().keys(printLabelQueryKeys3).messages(messages);
4898
+ var printLabelBulkQuery = joi93.object().keys({
4899
+ ids: joi93.string().required(),
4900
+ token: joi93.string().required()
4901
+ }).required();
4897
4902
  var checkStockByIdsBody = joi93.object().keys({ ids: joi93.array().items(joi93.string().uuid().required()).required() }).messages(messages);
4898
4903
  var basicSearchQueryKeys2 = {
4899
4904
  per_page: joi93.number().integer().positive().default(10).optional(),
@@ -146,6 +146,10 @@ export interface IEntityMinified {
146
146
  export interface IPrintLabelQueryRequest {
147
147
  token: string;
148
148
  }
149
+ export interface IPrintLabelBulkQueryRequest {
150
+ token: string;
151
+ ids: string;
152
+ }
149
153
  export interface IFindByReferenceRequest {
150
154
  reference: string;
151
155
  allowProviderWildcard?: boolean;
@@ -1,6 +1,7 @@
1
1
  import joi from 'joi';
2
- import { IFindForMobileRequest, ICheckStockByIdsRequest, IFindProductSheetByReference, IProductLocation } from './interface';
2
+ import { IFindForMobileRequest, ICheckStockByIdsRequest, IFindProductSheetByReference, IProductLocation, type IPrintLabelBulkQueryRequest } from './interface';
3
3
  export declare const printLabelQuery: joi.ObjectSchema<any>;
4
+ export declare const printLabelBulkQuery: joi.ObjectSchema<IPrintLabelBulkQueryRequest>;
4
5
  export declare const checkStockByIdsBody: joi.ObjectSchema<ICheckStockByIdsRequest>;
5
6
  export declare const basicSearchQuery: joi.ObjectSchema<any>;
6
7
  export declare const findByRef: joi.ObjectSchema<any>;
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.23",
4
+ "version": "0.45.24",
5
5
  "author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",
@@ -31,8 +31,8 @@
31
31
  "devDependencies": {
32
32
  "@swc/core": "^1.15.40",
33
33
  "@types/node": "^24.12.4",
34
- "@typescript-eslint/eslint-plugin": "^8.59.4",
35
- "@typescript-eslint/parser": "^8.59.4",
34
+ "@typescript-eslint/eslint-plugin": "^8.60.0",
35
+ "@typescript-eslint/parser": "^8.60.0",
36
36
  "eslint": "^9.39.4",
37
37
  "eslint-config-prettier": "^10.1.8",
38
38
  "eslint-import-resolver-typescript": "^4.4.4",