@nomalism-com/types 0.48.3 → 0.49.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.
Files changed (141) hide show
  1. package/dist/index.cjs +781 -4818
  2. package/dist/index.js +781 -4818
  3. package/dist/main.d.ts +1 -124
  4. package/dist/modules/document/billOfLading/interfaces.d.ts +1 -1
  5. package/dist/modules/documentManagement/multimedia/interfaces.d.ts +2 -2
  6. package/dist/modules/sms/allowedDevice/interfaces.d.ts +8 -2
  7. package/dist/modules/sms/smsSender/interfaces.d.ts +6 -6
  8. package/dist/modules/stock/chat/interfaces.d.ts +0 -1
  9. package/dist/modules/stock/productGoogleSheets/interface.d.ts +2 -2
  10. package/dist/modules/stock/queryList/interfaces.d.ts +1 -2
  11. package/dist/modules/user/systemModule/interface.d.ts +23 -21
  12. package/dist/modules/user/users/interface.d.ts +2 -2
  13. package/dist/shared/entities/integration.d.ts +0 -19
  14. package/dist/shared/entities/user.d.ts +2 -2
  15. package/dist/shared/interface.d.ts +5 -34
  16. package/package.json +12 -11
  17. package/dist/modules/document/CAT/route.schema.d.ts +0 -3
  18. package/dist/modules/document/NPF/route.schema.d.ts +0 -2
  19. package/dist/modules/document/NRCL/route.schema.d.ts +0 -2
  20. package/dist/modules/document/billOfLading/route.schema.d.ts +0 -3
  21. package/dist/modules/document/inventario/route.schema.d.ts +0 -3
  22. package/dist/modules/document/materialEntrance/route.schema.d.ts +0 -7
  23. package/dist/modules/document/order/route.schema.d.ts +0 -9
  24. package/dist/modules/document/productionOrder/route.schema.d.ts +0 -2
  25. package/dist/modules/document/proforma/route.schema.d.ts +0 -4
  26. package/dist/modules/document/propostaFornecedor/route.schema.d.ts +0 -2
  27. package/dist/modules/document/propostaSheets/route.schema.d.ts +0 -6
  28. package/dist/modules/document/providerCreditNoteFromReturn/route.schema.d.ts +0 -3
  29. package/dist/modules/document/providerFinancialCreditNote/route.schema.d.ts +0 -3
  30. package/dist/modules/document/providerServiceInvoice/route.schema.d.ts +0 -2
  31. package/dist/modules/document/purchase/route.schema.d.ts +0 -4
  32. package/dist/modules/document/quebra/route.schema.d.ts +0 -3
  33. package/dist/modules/document/returnToProvider/route.schema.d.ts +0 -2
  34. package/dist/modules/document/transformado/route.schema.d.ts +0 -3
  35. package/dist/modules/document/upfrontReturn/route.schema.d.ts +0 -2
  36. package/dist/modules/documentManagement/multimedia/route.schema.d.ts +0 -2
  37. package/dist/modules/integration/emailLog/route.schema.d.ts +0 -4
  38. package/dist/modules/integration/emailTemplate/route.schema.d.ts +0 -6
  39. package/dist/modules/integration/emailTemplateAttachment/route.schema.d.ts +0 -2
  40. package/dist/modules/integration/emailVerification/route.schema.d.ts +0 -5
  41. package/dist/modules/integration/eupago/interfaces.d.ts +0 -58
  42. package/dist/modules/integration/eupago/route.schema.d.ts +0 -7
  43. package/dist/modules/integration/googleFilePermission/route.schema.d.ts +0 -5
  44. package/dist/modules/integration/googleSheets/route.schema.d.ts +0 -4
  45. package/dist/modules/integration/observation/route.schema.d.ts +0 -5
  46. package/dist/modules/integration/observationType/route.schema.d.ts +0 -7
  47. package/dist/modules/integration/projectInfo/route.schema.d.ts +0 -2
  48. package/dist/modules/integration/settings/route.schema.d.ts +0 -4
  49. package/dist/modules/llm/llm/route.schema.d.ts +0 -4
  50. package/dist/modules/print/npc/route.schema.d.ts +0 -3
  51. package/dist/modules/print/printer/route.schema.d.ts +0 -4
  52. package/dist/modules/print/schedulePrintJob/route.schema.d.ts +0 -5
  53. package/dist/modules/sms/allowedDevice/route.schema.d.ts +0 -3
  54. package/dist/modules/sms/smsTemplate/route.schema.d.ts +0 -3
  55. package/dist/modules/stock/accountCode/route.schema.d.ts +0 -2
  56. package/dist/modules/stock/chat/route.schema.d.ts +0 -6
  57. package/dist/modules/stock/chatRapidMessage/route.schema.d.ts +0 -3
  58. package/dist/modules/stock/dashboard/route.schema.d.ts +0 -3
  59. package/dist/modules/stock/emailAccount/route.schema.d.ts +0 -3
  60. package/dist/modules/stock/file/route.schema.d.ts +0 -5
  61. package/dist/modules/stock/googleCalendar/route.schema.d.ts +0 -3
  62. package/dist/modules/stock/location/route.schema.d.ts +0 -5
  63. package/dist/modules/stock/mobilePrint/route.schema.d.ts +0 -2
  64. package/dist/modules/stock/prison/route.schema.d.ts +0 -4
  65. package/dist/modules/stock/productGoogleSheets/route.schema.d.ts +0 -14
  66. package/dist/modules/stock/productImage/route.schema.d.ts +0 -5
  67. package/dist/modules/stock/promotion/route.schema.d.ts +0 -5
  68. package/dist/modules/stock/promotionAssoc/route.schema.d.ts +0 -5
  69. package/dist/modules/stock/queryList/route.schema.d.ts +0 -7
  70. package/dist/modules/stock/queryParameter/route.schema.d.ts +0 -3
  71. package/dist/modules/stock/returnReason/route.schema.d.ts +0 -3
  72. package/dist/modules/stock/savedEmPicking/route.schema.d.ts +0 -5
  73. package/dist/modules/stock/savedProviderProposal/route.schema.d.ts +0 -2
  74. package/dist/modules/stock/stockMovement/route.schema.d.ts +0 -3
  75. package/dist/modules/stock/tag/route.schema.d.ts +0 -3
  76. package/dist/modules/stock/task/route.schema.d.ts +0 -5
  77. package/dist/modules/stock/taskMessage/route.schema.d.ts +0 -3
  78. package/dist/modules/stock/taskRead/route.schema.d.ts +0 -3
  79. package/dist/modules/stock/typeOfLocation/route.schema.d.ts +0 -5
  80. package/dist/modules/stock/unitOfMeasure/route.schema.d.ts +0 -5
  81. package/dist/modules/stock/vatTax/route.schema.d.ts +0 -5
  82. package/dist/modules/stock/vatTaxZone/route.schema.d.ts +0 -5
  83. package/dist/modules/stock/vatValidation/route.schema.d.ts +0 -2
  84. package/dist/modules/stock/workflow/route.schema.d.ts +0 -4
  85. package/dist/modules/supply/currentAccount/route.schema.d.ts +0 -9
  86. package/dist/modules/supply/documentHeader/route.schema.d.ts +0 -15
  87. package/dist/modules/supply/documentHeaderSubscriber/route.schema.d.ts +0 -2
  88. package/dist/modules/supply/documentHeaderSurvey/route.schema.d.ts +0 -5
  89. package/dist/modules/supply/documentLine/route.schema.d.ts +0 -9
  90. package/dist/modules/supply/documentLineMT/route.schema.d.ts +0 -2
  91. package/dist/modules/supply/documentLineNote/route.schema.d.ts +0 -2
  92. package/dist/modules/supply/documentLineRM/route.schema.d.ts +0 -2
  93. package/dist/modules/supply/documentSet/route.schema.d.ts +0 -3
  94. package/dist/modules/supply/documentType/route.schema.d.ts +0 -3
  95. package/dist/modules/supply/externalDocumentHeader/route.schema.d.ts +0 -3
  96. package/dist/modules/supply/orderManagement/route.schema.d.ts +0 -0
  97. package/dist/modules/supply/payment/route.schema.d.ts +0 -5
  98. package/dist/modules/supply/paymentBatch/route.schema.d.ts +0 -4
  99. package/dist/modules/supply/preSale/route.schema.d.ts +0 -8
  100. package/dist/modules/supply/preSaleProduct/route.schema.d.ts +0 -2
  101. package/dist/modules/supply/schedule/route.schema.d.ts +0 -2
  102. package/dist/modules/tickets/channel/route.schema.d.ts +0 -3
  103. package/dist/modules/tickets/clt/route.schema.d.ts +0 -3
  104. package/dist/modules/tickets/language/route.schema.d.ts +0 -3
  105. package/dist/modules/tickets/tickets/route.schema.d.ts +0 -3
  106. package/dist/modules/ui/portal/route.schema.d.ts +0 -4
  107. package/dist/modules/ui/sideMenu/route.schema.d.ts +0 -3
  108. package/dist/modules/ui/sidemenuHighlight/route.schema.d.ts +0 -3
  109. package/dist/modules/user/bankData/route.schema.d.ts +0 -5
  110. package/dist/modules/user/chatSubscribers/route.schema.d.ts +0 -7
  111. package/dist/modules/user/clientType/route.schema.d.ts +0 -6
  112. package/dist/modules/user/clients/route.schema.d.ts +0 -5
  113. package/dist/modules/user/commissioner/route.schema.d.ts +0 -5
  114. package/dist/modules/user/country/route.schema.d.ts +0 -5
  115. package/dist/modules/user/deliveryMethods/route.schema.d.ts +0 -3
  116. package/dist/modules/user/favorites/route.schema.d.ts +0 -8
  117. package/dist/modules/user/language/route.schema.d.ts +0 -5
  118. package/dist/modules/user/maturityDates/route.schema.d.ts +0 -3
  119. package/dist/modules/user/password/route.schema.d.ts +0 -4
  120. package/dist/modules/user/paymentMethods/route.schema.d.ts +0 -3
  121. package/dist/modules/user/persona/route.schema.d.ts +0 -10
  122. package/dist/modules/user/providerType/route.schema.d.ts +0 -5
  123. package/dist/modules/user/providers/route.schema.d.ts +0 -7
  124. package/dist/modules/user/purchaseConditions/route.schema.d.ts +0 -5
  125. package/dist/modules/user/reasonForExemption/route.schema.d.ts +0 -5
  126. package/dist/modules/user/refreshToken/route.schema.d.ts +0 -2
  127. package/dist/modules/user/segmentsArea/route.schema.d.ts +0 -5
  128. package/dist/modules/user/sessions/route.schema.d.ts +0 -2
  129. package/dist/modules/user/shippings/route.schema.d.ts +0 -5
  130. package/dist/modules/user/storeOperator/route.schema.d.ts +0 -6
  131. package/dist/modules/user/swift/route.schema.d.ts +0 -5
  132. package/dist/modules/user/systemModule/route.schema.d.ts +0 -3
  133. package/dist/modules/user/tenant/route.schema.d.ts +0 -3
  134. package/dist/modules/user/theme/route.schema.d.ts +0 -2
  135. package/dist/modules/user/timeSheet/route.schema.d.ts +0 -6
  136. package/dist/modules/user/userPositions/route.schema.d.ts +0 -5
  137. package/dist/modules/user/userTokens/route.schema.d.ts +0 -3
  138. package/dist/modules/user/users/route.schema.d.ts +0 -7
  139. package/dist/modules/user/vehicles/route.schema.d.ts +0 -3
  140. package/dist/modules/view/errorLog/route.schema.d.ts +0 -2
  141. package/dist/shared/messages.d.ts +0 -2
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.48.3",
4
+ "version": "0.49.1",
5
5
  "author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",
@@ -26,24 +26,21 @@
26
26
  "prepack": "npm run lint && npm run build",
27
27
  "prepare": "husky"
28
28
  },
29
- "dependencies": {
30
- "joi": "^18.2.3"
31
- },
32
29
  "devDependencies": {
33
30
  "@eslint/js": "^10.0.1",
34
- "@swc/core": "^1.15.46",
35
- "@types/node": "^26.1.1",
31
+ "@swc/core": "^1.16.2",
32
+ "@types/node": "^26.5.0",
36
33
  "@typescript-eslint/eslint-plugin": "^8.62.0",
37
34
  "@typescript-eslint/parser": "^8.62.0",
38
- "eslint": "^10.7.0",
35
+ "eslint": "^10.10.0",
39
36
  "eslint-config-prettier": "^10.1.8",
40
37
  "eslint-plugin-simple-import-sort": "^14.0.0",
41
- "globals": "^17.7.0",
38
+ "globals": "^17.12.0",
42
39
  "husky": "^9.1.7",
43
- "lint-staged": "^17.1.0",
44
- "prettier": "^3.9.5",
40
+ "lint-staged": "^17.5.0",
41
+ "prettier": "^3.9.6",
45
42
  "tsup": "^8.5.1",
46
- "typescript-eslint": "^8.65.0"
43
+ "typescript-eslint": "^8.69.0"
47
44
  },
48
45
  "repository": {
49
46
  "type": "git",
@@ -62,5 +59,9 @@
62
59
  "*.{json,jsonc,css,scss,md,html,yml,yaml}": [
63
60
  "prettier --write"
64
61
  ]
62
+ },
63
+ "allowScripts": {
64
+ "esbuild@0.27.7": true,
65
+ "@swc/core@1.16.2": true
65
66
  }
66
67
  }
@@ -1,3 +0,0 @@
1
- import joi from "joi";
2
- import { type ICreateRequest } from "./interfaces";
3
- export declare const createBody: joi.ObjectSchema<ICreateRequest>;
@@ -1,2 +0,0 @@
1
- import joi from "joi";
2
- export declare const providerPaymentBody: joi.ArraySchema<any[]>;
@@ -1,2 +0,0 @@
1
- import joi from "joi";
2
- export declare const regularizarMultiplosBody: joi.ObjectSchema<any>;
@@ -1,3 +0,0 @@
1
- import joi from "joi";
2
- import { ICreateRequest } from "./interfaces";
3
- export declare const createBillOfLadingBody: joi.ObjectSchema<ICreateRequest>;
@@ -1,3 +0,0 @@
1
- import joi from "joi";
2
- export declare const createInventoryRequest: joi.ObjectSchema<any>;
3
- export declare const createManyInventoryRequest: joi.ArraySchema<any[]>;
@@ -1,7 +0,0 @@
1
- import joi from "joi";
2
- import { IPrintBulkLabelRequest } from "./interfaces";
3
- export declare const finalizarEntradaDeMaterialBody: joi.ObjectSchema<any>;
4
- export declare const undoEntradaDeMaterialBody: joi.ObjectSchema<any>;
5
- export declare const printLabelParams: joi.ObjectSchema<any>;
6
- export declare const printLabelQuery: joi.ObjectSchema<any>;
7
- export declare const printBulkLabelQuery: joi.ObjectSchema<IPrintBulkLabelRequest>;
@@ -1,9 +0,0 @@
1
- import joi from "joi";
2
- import { IConferirEncomendaClienteRequest, IFindByIdsRequest, IFindRequest } from "./interfaces";
3
- export declare const undoProviderOrderBody: joi.ObjectSchema<any>;
4
- export declare const createProviderOrderChatBody: joi.ObjectSchema<any>;
5
- export declare const conferirEncomendaClienteBody: joi.ObjectSchema<IConferirEncomendaClienteRequest>;
6
- export declare const setProviderBody: joi.ObjectSchema<any>;
7
- export declare const unsetCativadoBody: joi.ObjectSchema<any>;
8
- export declare const findQuery: joi.ObjectSchema<IFindRequest>;
9
- export declare const findByIdsQuery: joi.ObjectSchema<IFindByIdsRequest>;
@@ -1,2 +0,0 @@
1
- import joi from "joi";
2
- export declare const createProductionOrderBody: joi.ObjectSchema<any>;
@@ -1,4 +0,0 @@
1
- import joi from "joi";
2
- import { type ICreateFromLinesRequest, type ICreateRequest } from "./interfaces";
3
- export declare const createBody: joi.ObjectSchema<ICreateRequest>;
4
- export declare const createFromLinesBody: joi.ObjectSchema<ICreateFromLinesRequest>;
@@ -1,2 +0,0 @@
1
- import joi from "joi";
2
- export declare const providerProposalBody: joi.ObjectSchema<any>;
@@ -1,6 +0,0 @@
1
- import joi from "joi";
2
- import { ICloneSheetToNewDocumentRequest, IImportFromSheetRequest, IRmUpdateDataBySheetIdRequest } from "./interface";
3
- export declare const importFromSheetKeys: joi.ObjectSchema<IImportFromSheetRequest>;
4
- export declare const findByGoogleSheetId: joi.ObjectSchema<any>;
5
- export declare const cloneSheetToNewDocumentQuery: joi.ObjectSchema<ICloneSheetToNewDocumentRequest>;
6
- export declare const rmUpdateDataByDocumentLineIdValidation: joi.ObjectSchema<IRmUpdateDataBySheetIdRequest>;
@@ -1,3 +0,0 @@
1
- import joi from "joi";
2
- export declare const findProviderReturnQuery: joi.ObjectSchema<any>;
3
- export declare const createProviderCreditNoteFromReturnBody: joi.ObjectSchema<any>;
@@ -1,3 +0,0 @@
1
- import joi from "joi";
2
- export declare const findProviderInvoiceQuery: joi.ObjectSchema<any>;
3
- export declare const createProviderFinancialCreditNoteBody: joi.ObjectSchema<any>;
@@ -1,2 +0,0 @@
1
- import joi from "joi";
2
- export declare const createProviderServiceInvoiceBody: joi.ObjectSchema<any>;
@@ -1,4 +0,0 @@
1
- import joi from "joi";
2
- import { ISyncRequest } from "./interfaces";
3
- export declare const purchaseFromProviderBody: joi.ObjectSchema<any>;
4
- export declare const syncBody: joi.ObjectSchema<ISyncRequest>;
@@ -1,3 +0,0 @@
1
- import joi from "joi";
2
- export declare const createQuebraBody: joi.ObjectSchema<any>;
3
- export declare const deleteInventoryLossBody: joi.ObjectSchema<any>;
@@ -1,2 +0,0 @@
1
- import joi from "joi";
2
- export declare const checkLinesToReturnBody: joi.ObjectSchema<any>;
@@ -1,3 +0,0 @@
1
- import joi from "joi";
2
- export declare const transformarBody: joi.ObjectSchema<any>;
3
- export declare const destransformarBody: joi.ObjectSchema<any>;
@@ -1,2 +0,0 @@
1
- import joi from "joi";
2
- export declare const createBody: joi.ObjectSchema<any>;
@@ -1,2 +0,0 @@
1
- import joi from "joi";
2
- export declare const findByIdQuery: joi.ObjectSchema<any>;
@@ -1,4 +0,0 @@
1
- import joi from "joi";
2
- import { ICheckSent, IFindRequest } from "./interfaces";
3
- export declare const findQuery: joi.ObjectSchema<IFindRequest>;
4
- export declare const checkSentBody: joi.ObjectSchema<ICheckSent>;
@@ -1,6 +0,0 @@
1
- import joi from "joi";
2
- import { EmailPreviewRequest } from "./interfaces";
3
- export declare const createBody: joi.ObjectSchema<any>;
4
- export declare const updateBody: joi.ObjectSchema<any>;
5
- export declare const sendBody: joi.ObjectSchema<any>;
6
- export declare const previewBody: joi.ObjectSchema<EmailPreviewRequest>;
@@ -1,2 +0,0 @@
1
- import joi from "joi";
2
- export declare const createBody: joi.ObjectSchema<any>;
@@ -1,5 +0,0 @@
1
- import joi from "joi";
2
- import { IIsVerifiedRequest, IMarkAsVerifiedRequest, ISendVerificationRequest } from "./interfaces";
3
- export declare const isVerifiedQuery: joi.ObjectSchema<IIsVerifiedRequest>;
4
- export declare const sendVerificationBody: joi.ObjectSchema<ISendVerificationRequest>;
5
- export declare const markAsVerifiedBody: joi.ObjectSchema<IMarkAsVerifiedRequest>;
@@ -1,58 +0,0 @@
1
- import { EuPagoTransaction } from "../../../shared/entities/integration";
2
- export type Entity = EuPagoTransaction;
3
- export declare const Route = "eupago";
4
- export declare const EuPagoMethodEnum: {
5
- multibanco: "multibanco";
6
- mbway: "mbway";
7
- creditcard: "creditcard";
8
- };
9
- export type EuPagoMethod = (typeof EuPagoMethodEnum)[keyof typeof EuPagoMethodEnum];
10
- export declare const EuPagoStatusEnum: {
11
- awaiting_method: "awaiting_method";
12
- pending: "pending";
13
- confirmed: "confirmed";
14
- rejected: "rejected";
15
- cancelled: "cancelled";
16
- expired: "expired";
17
- error: "error";
18
- };
19
- export type EuPagoStatus = (typeof EuPagoStatusEnum)[keyof typeof EuPagoStatusEnum];
20
- export interface ICreatePendingPaymentRequest {
21
- from_document_header_id: string;
22
- amount: number;
23
- }
24
- export interface IChooseMethodRequest {
25
- id: string;
26
- method: Extract<EuPagoMethod, "multibanco" | "mbway">;
27
- client: {
28
- name: string;
29
- email?: string;
30
- phone?: string;
31
- };
32
- }
33
- export interface IWebhookTransaction {
34
- entity?: number;
35
- reference?: number;
36
- identifier: string;
37
- method: string;
38
- amount: {
39
- value: number;
40
- currency?: string;
41
- };
42
- trid: number;
43
- status: string;
44
- }
45
- export interface IWebhookBody {
46
- transactions: IWebhookTransaction;
47
- channel?: {
48
- name: string;
49
- };
50
- }
51
- export interface IFindResponse extends Entity {
52
- document_link?: string;
53
- }
54
- export interface IApi {
55
- generate(data: ICreatePendingPaymentRequest): Promise<Entity>;
56
- chooseMethod(data: IChooseMethodRequest): Promise<Entity>;
57
- find(): Promise<IFindResponse[]>;
58
- }
@@ -1,7 +0,0 @@
1
- import joi from "joi";
2
- import * as IShared from "../../../shared/interface";
3
- import { IChooseMethodRequest, ICreatePendingPaymentRequest } from "./interfaces";
4
- export declare const generateBodyKeys: IShared.IRouteRequest<ICreatePendingPaymentRequest>;
5
- export declare const generateBody: joi.ObjectSchema<any>;
6
- export declare const chooseMethodBodyKeys: IShared.IRouteRequest<Omit<IChooseMethodRequest, "id">>;
7
- export declare const chooseMethodBody: joi.ObjectSchema<any>;
@@ -1,5 +0,0 @@
1
- import joi from "joi";
2
- import * as IShared from "../../../shared/interface";
3
- import { ICreateRequest } from "./interfaces";
4
- export declare const createBodyKeys: IShared.IRouteRequest<ICreateRequest>;
5
- export declare const createBody: joi.ObjectSchema<any>;
@@ -1,4 +0,0 @@
1
- import joi from "joi";
2
- export declare const cloneQuery: joi.ObjectSchema<any>;
3
- export declare const exportQuery: joi.ObjectSchema<any>;
4
- export declare const updateQuery: joi.ObjectSchema<any>;
@@ -1,5 +0,0 @@
1
- import joi from "joi";
2
- export declare const createBody: joi.ObjectSchema<any>;
3
- export declare const updateBody: joi.ObjectSchema<any>;
4
- export declare const findByOwnersBody: joi.ObjectSchema<any>;
5
- export declare const findByOwnerQuery: joi.ObjectSchema<any>;
@@ -1,7 +0,0 @@
1
- import joi from "joi";
2
- import * as IShared from "../../../shared/interface";
3
- import { ICreateRequest, IUpdateRequest } from "./interfaces";
4
- export declare const createBodyKeys: IShared.IRouteRequest<ICreateRequest>;
5
- export declare const createBody: joi.ObjectSchema<any>;
6
- export declare const updateBodyKeys: IShared.IRouteRequest<IUpdateRequest>;
7
- export declare const updateBody: joi.ObjectSchema<any>;
@@ -1,2 +0,0 @@
1
- import joi from "joi";
2
- export declare const sendEmailBody: joi.ObjectSchema<any>;
@@ -1,4 +0,0 @@
1
- import joi from "joi";
2
- export declare const createBody: joi.ObjectSchema<any>;
3
- export declare const updateBody: joi.ObjectSchema<any>;
4
- export declare const findQuery: joi.ObjectSchema<any>;
@@ -1,4 +0,0 @@
1
- import joi from "joi";
2
- export declare const promptBody: joi.ObjectSchema<any>;
3
- export declare const translateSchema: joi.ObjectSchema<any>;
4
- export declare const identifyLanguageSchema: joi.ObjectSchema<any>;
@@ -1,3 +0,0 @@
1
- import joi from "joi";
2
- export declare const updateBody: joi.ObjectSchema<any>;
3
- export declare const findPrintJobsForComputerIdRequestParams: joi.ObjectSchema<any>;
@@ -1,4 +0,0 @@
1
- import joi from "joi";
2
- export declare const updateBody: joi.ObjectSchema<any>;
3
- export declare const getOrSetPrintersBody: joi.ObjectSchema<any>;
4
- export declare const updateManyBody: joi.ArraySchema<any[]>;
@@ -1,5 +0,0 @@
1
- import joi from "joi";
2
- import { ICreateManySchedulePrintJobRequest } from "./interfaces";
3
- export declare const dispatchSchedulePrintJobBody: joi.ObjectSchema<any>;
4
- export declare const createSchedulePrintJobBody: joi.ObjectSchema<any>;
5
- export declare const createManySchedulePrintJobBody: joi.ObjectSchema<ICreateManySchedulePrintJobRequest>;
@@ -1,3 +0,0 @@
1
- import joi from "joi";
2
- export declare const createBody: joi.ObjectSchema<any>;
3
- export declare const updateBody: joi.ObjectSchema<any>;
@@ -1,3 +0,0 @@
1
- import joi from "joi";
2
- export declare const createBody: joi.ObjectSchema<any>;
3
- export declare const updateBody: joi.ObjectSchema<any>;
@@ -1,2 +0,0 @@
1
- import joi from "joi";
2
- export declare const findByCode: joi.ObjectSchema<any>;
@@ -1,6 +0,0 @@
1
- import joi from "joi";
2
- import { ITranslateRequest } from "./interfaces";
3
- export declare const createBody: joi.ObjectSchema<any>;
4
- export declare const updateBody: joi.ObjectSchema<any>;
5
- export declare const markAllClientReadUnreadParams: joi.ObjectSchema<any>;
6
- export declare const translateBody: joi.ObjectSchema<ITranslateRequest>;
@@ -1,3 +0,0 @@
1
- import joi from "joi";
2
- export declare const createBody: joi.ObjectSchema<any>;
3
- export declare const updateBody: joi.ObjectSchema<any>;
@@ -1,3 +0,0 @@
1
- import joi from "joi";
2
- export declare const findByDateParams: joi.ObjectSchema<any>;
3
- export declare const findTodoCountsParams: joi.ObjectSchema<any>;
@@ -1,3 +0,0 @@
1
- import joi from "joi";
2
- export declare const createBody: joi.ObjectSchema<any>;
3
- export declare const updateBody: joi.ObjectSchema<any>;
@@ -1,5 +0,0 @@
1
- import joi from "joi";
2
- import { IFindByOwnerRequest } from "./interface";
3
- export declare const createBody: joi.ObjectSchema<any>;
4
- export declare const updateBody: joi.ObjectSchema<any>;
5
- export declare const findByOwnerIdQuery: joi.ObjectSchema<IFindByOwnerRequest>;
@@ -1,3 +0,0 @@
1
- import joi from "joi";
2
- import { IListEventsInRangeRequest } from "./interface";
3
- export declare const listEventsInRangeQuery: joi.ObjectSchema<IListEventsInRangeRequest>;
@@ -1,5 +0,0 @@
1
- import joi from "joi";
2
- export declare const createBody: joi.ObjectSchema<any>;
3
- export declare const updateBody: joi.ObjectSchema<any>;
4
- export declare const findQuery: joi.ObjectSchema<any>;
5
- export declare const findWithPaginationQuery: joi.ObjectSchema<any>;
@@ -1,2 +0,0 @@
1
- import joi from "joi";
2
- export declare const printLocationsQuery: joi.ObjectSchema<any>;
@@ -1,4 +0,0 @@
1
- import joi from "joi";
2
- import { ICreateLinesInPrisonRequest } from "./interface";
3
- export declare const checkLinesInPrisonBody: joi.ObjectSchema<any>;
4
- export declare const createLinesInPrisonBody: joi.ObjectSchema<ICreateLinesInPrisonRequest>;
@@ -1,14 +0,0 @@
1
- import joi from "joi";
2
- import { ICheckStockByIdsRequest, IFindForMobileRequest, IFindProductSheetByReference, type IPrintLabelBulkQueryRequest, IProductLocation } from "./interface";
3
- export declare const printLabelQuery: joi.ObjectSchema<any>;
4
- export declare const printLabelBulkQuery: joi.ObjectSchema<IPrintLabelBulkQueryRequest>;
5
- export declare const checkStockByIdsBody: joi.ObjectSchema<ICheckStockByIdsRequest>;
6
- export declare const basicSearchQuery: joi.ObjectSchema<any>;
7
- export declare const findByRef: joi.ObjectSchema<any>;
8
- export declare const validateByRef: joi.ObjectSchema<any>;
9
- export declare const findByProductTypeParams: joi.ObjectSchema<any>;
10
- export declare const createBody: joi.ObjectSchema<any>;
11
- export declare const updateBody: joi.ObjectSchema<any>;
12
- export declare const findForMobileQuery: joi.ObjectSchema<IFindForMobileRequest>;
13
- export declare const findProductSheetByReferenceQuery: joi.ObjectSchema<IFindProductSheetByReference>;
14
- export declare const productLocationBody: joi.ObjectSchema<IProductLocation>;
@@ -1,5 +0,0 @@
1
- import joi from "joi";
2
- export declare const createBody: joi.ObjectSchema<any>;
3
- export declare const updateBody: joi.ObjectSchema<any>;
4
- export declare const findQuery: joi.ObjectSchema<any>;
5
- export declare const findWithPaginationQuery: joi.ObjectSchema<any>;
@@ -1,5 +0,0 @@
1
- import joi from "joi";
2
- export declare const createBody: joi.ObjectSchema<any>;
3
- export declare const updateBody: joi.ObjectSchema<any>;
4
- export declare const findQuery: joi.ObjectSchema<any>;
5
- export declare const findWithPaginationQuery: joi.ObjectSchema<any>;
@@ -1,5 +0,0 @@
1
- import joi from "joi";
2
- export declare const createBody: joi.ObjectSchema<any>;
3
- export declare const updateBody: joi.ObjectSchema<any>;
4
- export declare const findQuery: joi.ObjectSchema<any>;
5
- export declare const findWithPaginationQuery: joi.ObjectSchema<any>;
@@ -1,7 +0,0 @@
1
- import joi from "joi";
2
- import * as IShared from "../../../shared/interface";
3
- import { IExecuteRequest } from "./interfaces";
4
- export declare const createBody: joi.ObjectSchema<any>;
5
- export declare const updateBody: joi.ObjectSchema<any>;
6
- export declare const executeBodyKeys: IShared.IRouteRequest<IExecuteRequest>;
7
- export declare const executeBody: joi.ObjectSchema<any>;
@@ -1,3 +0,0 @@
1
- import joi from "joi";
2
- export declare const createBody: joi.ObjectSchema<any>;
3
- export declare const updateBody: joi.ObjectSchema<any>;
@@ -1,3 +0,0 @@
1
- import joi from "joi";
2
- export declare const createBody: joi.ObjectSchema<any>;
3
- export declare const updateBody: joi.ObjectSchema<any>;
@@ -1,5 +0,0 @@
1
- import joi from "joi";
2
- import { ICreateManyRequest, type IDeleteManyRequest } from "./interfaces";
3
- export declare const createBody: joi.ObjectSchema<any>;
4
- export declare const createManyBody: joi.ObjectSchema<ICreateManyRequest>;
5
- export declare const deleteManyBody: joi.ObjectSchema<IDeleteManyRequest>;
@@ -1,2 +0,0 @@
1
- import joi from "joi";
2
- export declare const setBody: joi.ObjectSchema<any>;
@@ -1,3 +0,0 @@
1
- import joi from "joi";
2
- export declare const exportCsvQuery: joi.ObjectSchema<any>;
3
- export declare const findStockMovementWithPaginationQuery: joi.ObjectSchema<any>;
@@ -1,3 +0,0 @@
1
- import joi from "joi";
2
- export declare const createBody: joi.ObjectSchema<any>;
3
- export declare const updateManyBody: joi.ArraySchema<any[]>;
@@ -1,5 +0,0 @@
1
- import joi from "joi";
2
- export declare const createBody: joi.ObjectSchema<any>;
3
- export declare const createFromDossierBody: joi.ObjectSchema<any>;
4
- export declare const updateBody: joi.ObjectSchema<any>;
5
- export declare const findTaskParams: joi.ObjectSchema<any>;
@@ -1,3 +0,0 @@
1
- import joi from "joi";
2
- export declare const createBody: joi.ObjectSchema<any>;
3
- export declare const updateBody: joi.ObjectSchema<any>;
@@ -1,3 +0,0 @@
1
- import joi from "joi";
2
- export declare const createBody: joi.ObjectSchema<any>;
3
- export declare const deleteBody: joi.ObjectSchema<any>;
@@ -1,5 +0,0 @@
1
- import joi from "joi";
2
- export declare const createBody: joi.ObjectSchema<any>;
3
- export declare const updateBody: joi.ObjectSchema<any>;
4
- export declare const findQuery: joi.ObjectSchema<any>;
5
- export declare const findWithPaginationQuery: joi.ObjectSchema<any>;
@@ -1,5 +0,0 @@
1
- import joi from "joi";
2
- export declare const createBody: joi.ObjectSchema<any>;
3
- export declare const updateBody: joi.ObjectSchema<any>;
4
- export declare const findQuery: joi.ObjectSchema<any>;
5
- export declare const findWithPaginationQuery: joi.ObjectSchema<any>;
@@ -1,5 +0,0 @@
1
- import joi from "joi";
2
- export declare const createBody: joi.ObjectSchema<any>;
3
- export declare const updateBody: joi.ObjectSchema<any>;
4
- export declare const findQuery: joi.ObjectSchema<any>;
5
- export declare const findWithPaginationQuery: joi.ObjectSchema<any>;
@@ -1,5 +0,0 @@
1
- import joi from "joi";
2
- export declare const createBody: joi.ObjectSchema<any>;
3
- export declare const updateBody: joi.ObjectSchema<any>;
4
- export declare const findQuery: joi.ObjectSchema<any>;
5
- export declare const findWithPaginationQuery: joi.ObjectSchema<any>;
@@ -1,2 +0,0 @@
1
- import joi from "joi";
2
- export declare const findByLatestBody: joi.ObjectSchema<any>;
@@ -1,4 +0,0 @@
1
- import joi from "joi";
2
- export declare const postBodyValidator: joi.ObjectSchema<any>;
3
- export declare const putBodyValidator: joi.ObjectSchema<any>;
4
- export declare const getByOwnerQuery: joi.ObjectSchema<any>;
@@ -1,9 +0,0 @@
1
- import joi from "joi";
2
- import { IPaymentsNotExportedRequest } from "./interface";
3
- export declare const findQuery: joi.ObjectSchema<any>;
4
- export declare const findWithPaginationQuery: joi.ObjectSchema<any>;
5
- export declare const findSettledMaterialEntranceQuery: joi.ObjectSchema<any>;
6
- export declare const exportPaymentsBody: joi.ArraySchema<any[]>;
7
- export declare const exportCurrentAccountBetweenDatesQuery: joi.ObjectSchema<any>;
8
- export declare const findSettledMaterialEntranceBuDateParams: joi.ObjectSchema<any>;
9
- export declare const findPaymentsNotExportedQuery: joi.ObjectSchema<IPaymentsNotExportedRequest>;
@@ -1,15 +0,0 @@
1
- import joi from "joi";
2
- import * as IShared from "../../../shared/interface";
3
- import { IDocumentListRequest } from "./interfaces";
4
- export declare const createBody: joi.ObjectSchema<any>;
5
- export declare const createFromHeaderBody: joi.ObjectSchema<any>;
6
- export declare const findQuery: joi.ObjectSchema<any>;
7
- export declare const basicSearchQuery: joi.ObjectSchema<any>;
8
- export declare const updateBody: joi.ObjectSchema<any>;
9
- export declare const transferClientOwnershipBody: joi.ObjectSchema<any>;
10
- export declare const sendClientNotificationBody: joi.ObjectSchema<any>;
11
- export declare const findByTypeQuery: joi.ObjectSchema<any>;
12
- export declare const documentPdfQuery: joi.ObjectSchema<any>;
13
- export declare const documentLineQuery: joi.ObjectSchema<IShared.IRouteRequest<IDocumentListRequest>>;
14
- export declare const createSiteProposalBody: joi.ObjectSchema<import("../../../shared/entities/integration").ProjectInfo>;
15
- export declare const findCountByOwnersIds: joi.ObjectSchema<any>;
@@ -1,2 +0,0 @@
1
- import joi from "joi";
2
- export declare const createBody: joi.ObjectSchema<any>;
@@ -1,5 +0,0 @@
1
- import joi from "joi";
2
- import { IFindRequest } from "./interfaces";
3
- export declare const findQuery: joi.ObjectSchema<IFindRequest>;
4
- export declare const updateSentBody: joi.ObjectSchema<any>;
5
- export declare const updateSurveyBody: joi.ObjectSchema<any>;
@@ -1,9 +0,0 @@
1
- import joi from "joi";
2
- import { IUpdateManyByDocumentHeaderRequest } from "./interfaces";
3
- export declare const createBody: joi.ArraySchema<any[]>;
4
- export declare const updateBody: joi.ObjectSchema<any>;
5
- export declare const updateManyBody: joi.ObjectSchema<any>;
6
- export declare const deleteBody: joi.ArraySchema<string[]>;
7
- export declare const printLabelParams: joi.ObjectSchema<any>;
8
- export declare const printLabelQuery: joi.ObjectSchema<any>;
9
- export declare const updateManyByDocumentHeaderBody: joi.ObjectSchema<IUpdateManyByDocumentHeaderRequest>;
@@ -1,2 +0,0 @@
1
- import joi from "joi";
2
- export declare const updateBody: joi.ObjectSchema<any>;
@@ -1,2 +0,0 @@
1
- import joi from "joi";
2
- export declare const upsertOrDeleteBody: joi.ObjectSchema<any>;
@@ -1,2 +0,0 @@
1
- import joi from "joi";
2
- export declare const updateBody: joi.ObjectSchema<any>;
@@ -1,3 +0,0 @@
1
- import joi from "joi";
2
- export declare const createBody: joi.ObjectSchema<any>;
3
- export declare const updateBody: joi.ObjectSchema<any>;
@@ -1,3 +0,0 @@
1
- import joi from "joi";
2
- export declare const createBody: joi.ObjectSchema<any>;
3
- export declare const updateBody: joi.ObjectSchema<any>;
@@ -1,3 +0,0 @@
1
- import joi from "joi";
2
- export declare const createBody: joi.ObjectSchema<any>;
3
- export declare const sendEmailDocumentBody: joi.ObjectSchema<any>;