@nomalism-com/types 1.3.47 → 1.3.49

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 (182) hide show
  1. package/dist/index.cjs +1150 -4703
  2. package/dist/index.d.ts +1 -0
  3. package/dist/index.js +995 -4704
  4. package/dist/main.d.ts +13 -123
  5. package/dist/modules/document/NRCL/interface.d.ts +1 -1
  6. package/dist/modules/document/adiantamento/interfaces.d.ts +24 -0
  7. package/dist/modules/document/billOfLading/interfaces.d.ts +1 -1
  8. package/dist/modules/document/faturaCredito/interfaces.d.ts +26 -0
  9. package/dist/modules/document/faturaRecibo/interfaces.d.ts +25 -0
  10. package/dist/modules/document/faturaSimplificada/interfaces.d.ts +24 -0
  11. package/dist/modules/document/notaCredito/interfaces.d.ts +29 -0
  12. package/dist/modules/document/notaCreditoAdiantamento/interfaces.d.ts +25 -0
  13. package/dist/modules/document/recibo/interfaces.d.ts +21 -0
  14. package/dist/modules/documentManagement/multimedia/interfaces.d.ts +2 -2
  15. package/dist/modules/integration/emailLog/interfaces.d.ts +5 -0
  16. package/dist/modules/integration/eupago/interfaces.d.ts +74 -0
  17. package/dist/modules/integration/googleSheets/interfaces.d.ts +1 -0
  18. package/dist/modules/integration/patchNotes/interfaces.d.ts +1 -1
  19. package/dist/modules/integration/personaMerge/interfaces.d.ts +11 -0
  20. package/dist/modules/llm/llm/interfaces.d.ts +10 -0
  21. package/dist/modules/print/printer/interfaces.d.ts +1 -1
  22. package/dist/modules/sms/allowedDevice/interfaces.d.ts +11 -2
  23. package/dist/modules/sms/smsSender/interfaces.d.ts +6 -6
  24. package/dist/modules/sms/smsTemplate/interfaces.d.ts +3 -0
  25. package/dist/modules/stock/chat/interfaces.d.ts +1 -0
  26. package/dist/modules/stock/displayLabel/interface.d.ts +14 -0
  27. package/dist/modules/stock/emailAccount/interface.d.ts +4 -0
  28. package/dist/modules/stock/gmails/interface.d.ts +4 -0
  29. package/dist/modules/stock/location/interface.d.ts +10 -8
  30. package/dist/modules/stock/mobilePrint/interface.d.ts +3 -0
  31. package/dist/modules/stock/productGoogleSheets/interface.d.ts +11 -10
  32. package/dist/modules/stock/queryList/interfaces.d.ts +1 -2
  33. package/dist/modules/stock/saft/interfaces.d.ts +19 -0
  34. package/dist/modules/stock/vatValidation/interfaces.d.ts +3 -0
  35. package/dist/modules/stock/workflow/interfaces.d.ts +0 -41
  36. package/dist/modules/supply/currentAccount/interface.d.ts +2 -0
  37. package/dist/modules/supply/documentHeader/interfaces.d.ts +24 -0
  38. package/dist/modules/supply/documentLine/interfaces.d.ts +3 -1
  39. package/dist/modules/supply/documentType/interfaces.d.ts +0 -51
  40. package/dist/modules/supply/externalDocumentHeader/interface.d.ts +5 -4
  41. package/dist/modules/supply/payment/interface.d.ts +3 -0
  42. package/dist/modules/supply/paymentBatch/interface.d.ts +5 -0
  43. package/dist/modules/tickets/channel/interfaces.d.ts +4 -3
  44. package/dist/modules/tickets/clt/interfaces.d.ts +4 -3
  45. package/dist/modules/tickets/language/interfaces.d.ts +4 -3
  46. package/dist/modules/user/clients/interface.d.ts +1 -1
  47. package/dist/modules/user/persona/interface.d.ts +60 -0
  48. package/dist/modules/user/providers/interface.d.ts +6 -6
  49. package/dist/modules/user/swift/interface.d.ts +1 -1
  50. package/dist/modules/user/systemModule/interface.d.ts +24 -21
  51. package/dist/modules/user/users/interface.d.ts +2 -2
  52. package/dist/modules/view/adminPanel/interfaces.d.ts +37 -0
  53. package/dist/modules/view/errorLog/interfaces.d.ts +13 -11
  54. package/dist/shared/entities/integration.d.ts +19 -0
  55. package/dist/shared/entities/stock.d.ts +11 -0
  56. package/dist/shared/entities/user.d.ts +3 -2
  57. package/dist/shared/interface.d.ts +46 -53
  58. package/package.json +12 -12
  59. package/dist/modules/document/CAT/route.schema.d.ts +0 -3
  60. package/dist/modules/document/NPF/route.schema.d.ts +0 -2
  61. package/dist/modules/document/NRCL/route.schema.d.ts +0 -2
  62. package/dist/modules/document/billOfLading/route.schema.d.ts +0 -3
  63. package/dist/modules/document/inventario/route.schema.d.ts +0 -3
  64. package/dist/modules/document/materialEntrance/route.schema.d.ts +0 -7
  65. package/dist/modules/document/order/route.schema.d.ts +0 -9
  66. package/dist/modules/document/productionOrder/route.schema.d.ts +0 -2
  67. package/dist/modules/document/proforma/route.schema.d.ts +0 -4
  68. package/dist/modules/document/propostaFornecedor/route.schema.d.ts +0 -2
  69. package/dist/modules/document/propostaSheets/route.schema.d.ts +0 -6
  70. package/dist/modules/document/providerCreditNoteFromReturn/route.schema.d.ts +0 -3
  71. package/dist/modules/document/providerFinancialCreditNote/route.schema.d.ts +0 -3
  72. package/dist/modules/document/providerServiceInvoice/route.schema.d.ts +0 -2
  73. package/dist/modules/document/purchase/route.schema.d.ts +0 -4
  74. package/dist/modules/document/quebra/route.schema.d.ts +0 -3
  75. package/dist/modules/document/returnToProvider/route.schema.d.ts +0 -2
  76. package/dist/modules/document/transformado/route.schema.d.ts +0 -3
  77. package/dist/modules/document/upfrontReturn/route.schema.d.ts +0 -2
  78. package/dist/modules/documentManagement/multimedia/route.schema.d.ts +0 -2
  79. package/dist/modules/integration/emailLog/route.schema.d.ts +0 -4
  80. package/dist/modules/integration/emailTemplate/route.schema.d.ts +0 -6
  81. package/dist/modules/integration/emailTemplateAttachment/route.schema.d.ts +0 -2
  82. package/dist/modules/integration/emailVerification/route.schema.d.ts +0 -5
  83. package/dist/modules/integration/googleFilePermission/route.schema.d.ts +0 -5
  84. package/dist/modules/integration/googleSheets/route.schema.d.ts +0 -4
  85. package/dist/modules/integration/observation/route.schema.d.ts +0 -5
  86. package/dist/modules/integration/observationType/route.schema.d.ts +0 -7
  87. package/dist/modules/integration/projectInfo/route.schema.d.ts +0 -2
  88. package/dist/modules/integration/settings/route.schema.d.ts +0 -4
  89. package/dist/modules/llm/llm/route.schema.d.ts +0 -4
  90. package/dist/modules/print/npc/route.schema.d.ts +0 -3
  91. package/dist/modules/print/printer/route.schema.d.ts +0 -4
  92. package/dist/modules/print/schedulePrintJob/route.schema.d.ts +0 -5
  93. package/dist/modules/sms/allowedDevice/route.schema.d.ts +0 -3
  94. package/dist/modules/sms/smsTemplate/route.schema.d.ts +0 -3
  95. package/dist/modules/stock/accountCode/route.schema.d.ts +0 -2
  96. package/dist/modules/stock/chat/route.schema.d.ts +0 -6
  97. package/dist/modules/stock/chatRapidMessage/route.schema.d.ts +0 -3
  98. package/dist/modules/stock/dashboard/route.schema.d.ts +0 -3
  99. package/dist/modules/stock/emailAccount/route.schema.d.ts +0 -3
  100. package/dist/modules/stock/file/route.schema.d.ts +0 -5
  101. package/dist/modules/stock/googleCalendar/route.schema.d.ts +0 -3
  102. package/dist/modules/stock/location/route.schema.d.ts +0 -5
  103. package/dist/modules/stock/mobilePrint/route.schema.d.ts +0 -2
  104. package/dist/modules/stock/prison/route.schema.d.ts +0 -4
  105. package/dist/modules/stock/productGoogleSheets/route.schema.d.ts +0 -14
  106. package/dist/modules/stock/productImage/route.schema.d.ts +0 -5
  107. package/dist/modules/stock/promotion/route.schema.d.ts +0 -5
  108. package/dist/modules/stock/promotionAssoc/interface.d.ts +0 -38
  109. package/dist/modules/stock/promotionAssoc/route.schema.d.ts +0 -5
  110. package/dist/modules/stock/queryList/route.schema.d.ts +0 -7
  111. package/dist/modules/stock/queryParameter/route.schema.d.ts +0 -3
  112. package/dist/modules/stock/returnReason/route.schema.d.ts +0 -3
  113. package/dist/modules/stock/savedEmPicking/route.schema.d.ts +0 -5
  114. package/dist/modules/stock/savedProviderProposal/route.schema.d.ts +0 -2
  115. package/dist/modules/stock/stockMovement/route.schema.d.ts +0 -3
  116. package/dist/modules/stock/tag/route.schema.d.ts +0 -3
  117. package/dist/modules/stock/task/route.schema.d.ts +0 -5
  118. package/dist/modules/stock/taskMessage/route.schema.d.ts +0 -3
  119. package/dist/modules/stock/taskRead/route.schema.d.ts +0 -3
  120. package/dist/modules/stock/typeOfLocation/route.schema.d.ts +0 -5
  121. package/dist/modules/stock/unitOfMeasure/route.schema.d.ts +0 -5
  122. package/dist/modules/stock/vatTax/route.schema.d.ts +0 -5
  123. package/dist/modules/stock/vatTaxZone/route.schema.d.ts +0 -5
  124. package/dist/modules/stock/vatValidation/route.schema.d.ts +0 -2
  125. package/dist/modules/stock/workflow/route.schema.d.ts +0 -4
  126. package/dist/modules/supply/currentAccount/route.schema.d.ts +0 -9
  127. package/dist/modules/supply/documentHeader/route.schema.d.ts +0 -15
  128. package/dist/modules/supply/documentHeaderSubscriber/route.schema.d.ts +0 -2
  129. package/dist/modules/supply/documentHeaderSurvey/route.schema.d.ts +0 -5
  130. package/dist/modules/supply/documentLine/route.schema.d.ts +0 -9
  131. package/dist/modules/supply/documentLineMT/route.schema.d.ts +0 -2
  132. package/dist/modules/supply/documentLineNote/route.schema.d.ts +0 -2
  133. package/dist/modules/supply/documentLineRM/route.schema.d.ts +0 -2
  134. package/dist/modules/supply/documentSet/route.schema.d.ts +0 -3
  135. package/dist/modules/supply/documentType/route.schema.d.ts +0 -3
  136. package/dist/modules/supply/externalDocumentHeader/route.schema.d.ts +0 -3
  137. package/dist/modules/supply/orderManagement/route.schema.d.ts +0 -0
  138. package/dist/modules/supply/payment/route.schema.d.ts +0 -5
  139. package/dist/modules/supply/paymentBatch/route.schema.d.ts +0 -4
  140. package/dist/modules/supply/preSale/route.schema.d.ts +0 -8
  141. package/dist/modules/supply/preSaleProduct/route.schema.d.ts +0 -2
  142. package/dist/modules/supply/schedule/route.schema.d.ts +0 -2
  143. package/dist/modules/tickets/channel/route.schema.d.ts +0 -3
  144. package/dist/modules/tickets/clt/route.schema.d.ts +0 -3
  145. package/dist/modules/tickets/language/route.schema.d.ts +0 -3
  146. package/dist/modules/tickets/tickets/route.schema.d.ts +0 -3
  147. package/dist/modules/ui/portal/route.schema.d.ts +0 -4
  148. package/dist/modules/ui/sideMenu/route.schema.d.ts +0 -3
  149. package/dist/modules/ui/sidemenuHighlight/route.schema.d.ts +0 -3
  150. package/dist/modules/user/bankData/route.schema.d.ts +0 -5
  151. package/dist/modules/user/chatSubscribers/route.schema.d.ts +0 -7
  152. package/dist/modules/user/clientType/route.schema.d.ts +0 -6
  153. package/dist/modules/user/clients/route.schema.d.ts +0 -5
  154. package/dist/modules/user/commissioner/route.schema.d.ts +0 -5
  155. package/dist/modules/user/country/route.schema.d.ts +0 -5
  156. package/dist/modules/user/deliveryMethods/route.schema.d.ts +0 -3
  157. package/dist/modules/user/favorites/route.schema.d.ts +0 -8
  158. package/dist/modules/user/language/route.schema.d.ts +0 -5
  159. package/dist/modules/user/maturityDates/route.schema.d.ts +0 -3
  160. package/dist/modules/user/password/route.schema.d.ts +0 -4
  161. package/dist/modules/user/paymentMethods/route.schema.d.ts +0 -3
  162. package/dist/modules/user/persona/route.schema.d.ts +0 -10
  163. package/dist/modules/user/providerType/route.schema.d.ts +0 -5
  164. package/dist/modules/user/providers/route.schema.d.ts +0 -7
  165. package/dist/modules/user/purchaseConditions/route.schema.d.ts +0 -5
  166. package/dist/modules/user/reasonForExemption/route.schema.d.ts +0 -5
  167. package/dist/modules/user/refreshToken/route.schema.d.ts +0 -2
  168. package/dist/modules/user/segmentsArea/route.schema.d.ts +0 -5
  169. package/dist/modules/user/sessions/route.schema.d.ts +0 -2
  170. package/dist/modules/user/shippings/route.schema.d.ts +0 -5
  171. package/dist/modules/user/storeOperator/route.schema.d.ts +0 -6
  172. package/dist/modules/user/swift/route.schema.d.ts +0 -5
  173. package/dist/modules/user/systemModule/route.schema.d.ts +0 -3
  174. package/dist/modules/user/tenant/route.schema.d.ts +0 -3
  175. package/dist/modules/user/theme/route.schema.d.ts +0 -2
  176. package/dist/modules/user/timeSheet/route.schema.d.ts +0 -6
  177. package/dist/modules/user/userPositions/route.schema.d.ts +0 -5
  178. package/dist/modules/user/userTokens/route.schema.d.ts +0 -3
  179. package/dist/modules/user/users/route.schema.d.ts +0 -7
  180. package/dist/modules/user/vehicles/route.schema.d.ts +0 -3
  181. package/dist/modules/view/errorLog/route.schema.d.ts +0 -2
  182. package/dist/shared/messages.d.ts +0 -2
@@ -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,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,38 +0,0 @@
1
- import { Location, Promotion, PromotionAssoc } from "../../../shared/entities/stock";
2
- import * as IShared from "../../../shared/interface";
3
- export type Entity = PromotionAssoc;
4
- export declare const Route = "promotion_assoc";
5
- interface IFindDetailedResponse extends Entity {
6
- location: Location | null;
7
- promotion: Promotion;
8
- }
9
- export type IFindByIdResponse = Omit<IFindDetailedResponse, "location" | "promotion">;
10
- export type IFindByOwnerIdResponse = Omit<IFindDetailedResponse, "">;
11
- export type IFindRequest = Record<string, unknown>;
12
- export type IFindResponse = Omit<IFindDetailedResponse, "location" | "promotion">;
13
- export interface IFindPaginatedRequest extends IFindRequest, IShared.IPaginationRequest {
14
- }
15
- export type IFindWithPaginationResponse = IShared.IPaginationResponse<Omit<IFindDetailedResponse, "location" | "promotion">>;
16
- export interface ICreateRequest {
17
- client_id: string;
18
- location_id: string;
19
- product_id: string;
20
- promotion_id: string;
21
- }
22
- export interface IUpdateRequest {
23
- client_id?: string;
24
- location_id?: string;
25
- product_id?: string;
26
- promotion_id?: string;
27
- }
28
- export interface IRepository {
29
- findById(selector: IShared.IFindByIdRequest): Promise<IFindByIdResponse | null>;
30
- findByOwnerId(params: IShared.IFindByOwnerIdRequest): Promise<IFindByOwnerIdResponse[]>;
31
- find(selector: IFindRequest): Promise<IFindResponse[]>;
32
- findPaginated(selector: IFindPaginatedRequest): Promise<IFindWithPaginationResponse>;
33
- create(data: ICreateRequest): Promise<IFindByOwnerIdResponse>;
34
- update(selector: IShared.IFindByIdRequest, data: IUpdateRequest): Promise<IFindByOwnerIdResponse | null>;
35
- deleteOne(selector: IShared.IFindByIdRequest): Promise<IFindByOwnerIdResponse | null>;
36
- }
37
- export type IController = IShared.IEntityWithUserToken<IRepository>;
38
- export {};
@@ -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>;
@@ -1,5 +0,0 @@
1
- import joi from "joi";
2
- export declare const findQuery: joi.ObjectSchema<any>;
3
- export declare const findWithPaginationQuery: joi.ObjectSchema<any>;
4
- export declare const findSettledMaterialEntranceQuery: joi.ObjectSchema<any>;
5
- export declare const findSettledMaterialEntranceBuDateParams: joi.ObjectSchema<any>;
@@ -1,4 +0,0 @@
1
- import joi from "joi";
2
- import { IPaymentsNotExportedRequest } from "./interface";
3
- export declare const exportPaymentsBody: joi.ArraySchema<any[]>;
4
- export declare const findPaymentsNotExportedQuery: joi.ObjectSchema<IPaymentsNotExportedRequest>;
@@ -1,8 +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 updatePreSaleQuantityBody: joi.ObjectSchema<any>;
5
- export declare const removeProductBody: joi.ObjectSchema<any>;
6
- export declare const importInToClientProposalBody: joi.ObjectSchema<any>;
7
- export declare const findQuery: joi.ObjectSchema<any>;
8
- export declare const findByUserParams: joi.ObjectSchema<any>;
@@ -1,2 +0,0 @@
1
- import joi from "joi";
2
- export declare const findQuery: joi.ObjectSchema<any>;
@@ -1,2 +0,0 @@
1
- import joi from "joi";
2
- export declare const runImmediately: 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 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,4 +0,0 @@
1
- import joi from "joi";
2
- export declare const publicFindBySubscriberQuery: joi.ObjectSchema<any>;
3
- export declare const createNoteBody: joi.ObjectSchema<any>;
4
- export declare const updateNoteBody: joi.ObjectSchema<any>;
@@ -1,3 +0,0 @@
1
- import joi from "joi";
2
- export declare const findByDocumentLineStateQuery: joi.ObjectSchema<any>;
3
- export declare const findByStateQuery: joi.ObjectSchema<any>;
@@ -1,3 +0,0 @@
1
- import joi from "joi";
2
- export declare const findByStoreOperatorIdParam: joi.ObjectSchema<any>;
3
- export declare const setStoreOperatorHighlightsBody: 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 { type IFindDocumentHeaderSubscribersByLanguageRequest } from "./interfaces";
3
- export declare const createOrUpdateBody: joi.ObjectSchema<any>;
4
- export declare const findDocumentHeaderSubscribersQuery: joi.ObjectSchema<any>;
5
- export declare const findDocumentHeaderSubscribersByLanguageQuery: joi.ObjectSchema<IFindDocumentHeaderSubscribersByLanguageRequest>;
6
- export declare const findSubscribedDocumentHeadersQuery: joi.ObjectSchema<any>;
7
- export declare const emailTokenParam: joi.ObjectSchema<any>;
@@ -1,6 +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>;
6
- export declare const clientTypePostSchema: 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,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,8 +0,0 @@
1
- import joi from "joi";
2
- import * as IShared from "../../../shared/interface";
3
- import { ICreateRequest, IFindOneRequest } from "./interfaces";
4
- export declare const findByUrlQueryKeys: IShared.IRouteRequest<IFindOneRequest>;
5
- export declare const findByUrlQuery: joi.ObjectSchema<any>;
6
- export declare const createBodyKeys: IShared.IRouteRequest<ICreateRequest>;
7
- export declare const createBody: joi.ObjectSchema<any>;
8
- export declare const deleteByUrlQuery: joi.ObjectSchema<any>;