@nomalism-com/types 0.46.43 → 0.47.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 (266) hide show
  1. package/dist/index.cjs +5030 -5004
  2. package/dist/index.d.ts +1 -1
  3. package/dist/index.js +5030 -5004
  4. package/dist/main.d.ts +263 -263
  5. package/dist/modules/document/CAT/interfaces.d.ts +1 -1
  6. package/dist/modules/document/CAT/route.schema.d.ts +2 -2
  7. package/dist/modules/document/NPF/interface.d.ts +1 -1
  8. package/dist/modules/document/NPF/route.schema.d.ts +1 -1
  9. package/dist/modules/document/NRCL/interface.d.ts +4 -4
  10. package/dist/modules/document/NRCL/route.schema.d.ts +1 -1
  11. package/dist/modules/document/billOfLading/interfaces.d.ts +1 -1
  12. package/dist/modules/document/billOfLading/route.schema.d.ts +1 -1
  13. package/dist/modules/document/inventario/interface.d.ts +1 -1
  14. package/dist/modules/document/inventario/route.schema.d.ts +1 -1
  15. package/dist/modules/document/materialEntrance/interfaces.d.ts +15 -15
  16. package/dist/modules/document/materialEntrance/route.schema.d.ts +2 -2
  17. package/dist/modules/document/order/interfaces.d.ts +3 -3
  18. package/dist/modules/document/order/route.schema.d.ts +2 -2
  19. package/dist/modules/document/productionOrder/interfaces.d.ts +1 -1
  20. package/dist/modules/document/productionOrder/route.schema.d.ts +1 -1
  21. package/dist/modules/document/proforma/interfaces.d.ts +1 -1
  22. package/dist/modules/document/proforma/route.schema.d.ts +2 -2
  23. package/dist/modules/document/propostaFornecedor/interfaces.d.ts +1 -1
  24. package/dist/modules/document/propostaFornecedor/route.schema.d.ts +1 -1
  25. package/dist/modules/document/propostaSheets/interface.d.ts +7 -7
  26. package/dist/modules/document/propostaSheets/route.schema.d.ts +2 -2
  27. package/dist/modules/document/providerCreditNoteFromReturn/interfaces.d.ts +1 -1
  28. package/dist/modules/document/providerCreditNoteFromReturn/route.schema.d.ts +1 -1
  29. package/dist/modules/document/providerFinancialCreditNote/interfaces.d.ts +1 -1
  30. package/dist/modules/document/providerFinancialCreditNote/route.schema.d.ts +1 -1
  31. package/dist/modules/document/providerServiceInvoice/interfaces.d.ts +1 -1
  32. package/dist/modules/document/providerServiceInvoice/route.schema.d.ts +1 -1
  33. package/dist/modules/document/purchase/interfaces.d.ts +3 -3
  34. package/dist/modules/document/purchase/route.schema.d.ts +2 -2
  35. package/dist/modules/document/quebra/interfaces.d.ts +2 -2
  36. package/dist/modules/document/quebra/route.schema.d.ts +1 -1
  37. package/dist/modules/document/returnToProvider/interface.d.ts +2 -2
  38. package/dist/modules/document/returnToProvider/route.schema.d.ts +1 -1
  39. package/dist/modules/document/transformado/interfaces.d.ts +1 -1
  40. package/dist/modules/document/transformado/route.schema.d.ts +1 -1
  41. package/dist/modules/document/upfrontReturn/interfaces.d.ts +1 -1
  42. package/dist/modules/document/upfrontReturn/route.schema.d.ts +1 -1
  43. package/dist/modules/documentManagement/multimedia/interfaces.d.ts +3 -3
  44. package/dist/modules/documentManagement/multimedia/route.schema.d.ts +1 -1
  45. package/dist/modules/integration/emailLog/interfaces.d.ts +9 -9
  46. package/dist/modules/integration/emailLog/route.schema.d.ts +2 -2
  47. package/dist/modules/integration/emailTemplate/interfaces.d.ts +3 -3
  48. package/dist/modules/integration/emailTemplate/route.schema.d.ts +2 -2
  49. package/dist/modules/integration/emailTemplateAttachment/interfaces.d.ts +2 -2
  50. package/dist/modules/integration/emailTemplateAttachment/route.schema.d.ts +1 -1
  51. package/dist/modules/integration/emailVerification/interfaces.d.ts +2 -2
  52. package/dist/modules/integration/emailVerification/route.schema.d.ts +2 -2
  53. package/dist/modules/integration/googleFilePermission/interfaces.d.ts +2 -2
  54. package/dist/modules/integration/googleFilePermission/route.schema.d.ts +3 -3
  55. package/dist/modules/integration/googleSheets/interfaces.d.ts +9 -9
  56. package/dist/modules/integration/googleSheets/route.schema.d.ts +1 -1
  57. package/dist/modules/integration/observation/interfaces.d.ts +3 -3
  58. package/dist/modules/integration/observation/route.schema.d.ts +1 -1
  59. package/dist/modules/integration/observationType/interfaces.d.ts +3 -3
  60. package/dist/modules/integration/observationType/route.schema.d.ts +3 -3
  61. package/dist/modules/integration/patchNotes/interfaces.d.ts +2 -2
  62. package/dist/modules/integration/projectInfo/interfaces.d.ts +7 -7
  63. package/dist/modules/integration/projectInfo/route.schema.d.ts +1 -1
  64. package/dist/modules/integration/settings/interfaces.d.ts +2 -2
  65. package/dist/modules/integration/settings/route.schema.d.ts +1 -1
  66. package/dist/modules/llm/llm/interfaces.d.ts +1 -1
  67. package/dist/modules/llm/llm/route.schema.d.ts +1 -1
  68. package/dist/modules/print/npc/interfaces.d.ts +3 -3
  69. package/dist/modules/print/npc/route.schema.d.ts +1 -1
  70. package/dist/modules/print/printer/interfaces.d.ts +7 -7
  71. package/dist/modules/print/printer/route.schema.d.ts +1 -1
  72. package/dist/modules/print/schedulePrintJob/interfaces.d.ts +3 -3
  73. package/dist/modules/print/schedulePrintJob/route.schema.d.ts +2 -2
  74. package/dist/modules/sms/allowedDevice/interfaces.d.ts +9 -11
  75. package/dist/modules/sms/allowedDevice/route.schema.d.ts +1 -1
  76. package/dist/modules/sms/smsSender/interfaces.d.ts +2 -2
  77. package/dist/modules/sms/smsTemplate/interfaces.d.ts +5 -7
  78. package/dist/modules/sms/smsTemplate/route.schema.d.ts +1 -1
  79. package/dist/modules/stock/accountCode/interface.d.ts +1 -1
  80. package/dist/modules/stock/accountCode/route.schema.d.ts +1 -1
  81. package/dist/modules/stock/chat/interfaces.d.ts +5 -5
  82. package/dist/modules/stock/chat/route.schema.d.ts +2 -2
  83. package/dist/modules/stock/chatRapidMessage/interface.d.ts +2 -2
  84. package/dist/modules/stock/chatRapidMessage/route.schema.d.ts +1 -1
  85. package/dist/modules/stock/conferirEncomenda/interface.d.ts +1 -1
  86. package/dist/modules/stock/dashboard/interface.d.ts +1 -1
  87. package/dist/modules/stock/dashboard/route.schema.d.ts +1 -1
  88. package/dist/modules/stock/file/interface.d.ts +2 -2
  89. package/dist/modules/stock/file/route.schema.d.ts +2 -2
  90. package/dist/modules/stock/gmails/interface.d.ts +2 -2
  91. package/dist/modules/stock/googleCalendar/interface.d.ts +1 -1
  92. package/dist/modules/stock/googleCalendar/route.schema.d.ts +2 -2
  93. package/dist/modules/stock/googleSheetPool/interface.d.ts +2 -2
  94. package/dist/modules/stock/location/interface.d.ts +6 -6
  95. package/dist/modules/stock/location/route.schema.d.ts +1 -1
  96. package/dist/modules/stock/mobilePrint/interface.d.ts +1 -1
  97. package/dist/modules/stock/mobilePrint/route.schema.d.ts +1 -1
  98. package/dist/modules/stock/prison/interface.d.ts +2 -2
  99. package/dist/modules/stock/prison/route.schema.d.ts +2 -2
  100. package/dist/modules/stock/productGoogleSheets/interface.d.ts +18 -18
  101. package/dist/modules/stock/productGoogleSheets/route.schema.d.ts +2 -2
  102. package/dist/modules/stock/productImage/interface.d.ts +8 -8
  103. package/dist/modules/stock/productImage/route.schema.d.ts +1 -1
  104. package/dist/modules/stock/productLocation/interface.d.ts +1 -1
  105. package/dist/modules/stock/promotion/interface.d.ts +6 -6
  106. package/dist/modules/stock/promotion/route.schema.d.ts +1 -1
  107. package/dist/modules/stock/promotionAssoc/interface.d.ts +6 -6
  108. package/dist/modules/stock/promotionAssoc/route.schema.d.ts +1 -1
  109. package/dist/modules/stock/queryList/interfaces.d.ts +3 -3
  110. package/dist/modules/stock/queryList/route.schema.d.ts +3 -3
  111. package/dist/modules/stock/queryParameter/interfaces.d.ts +12 -12
  112. package/dist/modules/stock/queryParameter/route.schema.d.ts +1 -1
  113. package/dist/modules/stock/recurrentTasks/interface.d.ts +1 -1
  114. package/dist/modules/stock/returnReason/interfaces.d.ts +2 -2
  115. package/dist/modules/stock/returnReason/route.schema.d.ts +1 -1
  116. package/dist/modules/stock/savedEmPicking/interfaces.d.ts +4 -4
  117. package/dist/modules/stock/savedEmPicking/route.schema.d.ts +2 -2
  118. package/dist/modules/stock/savedProviderProposal/interfaces.d.ts +2 -2
  119. package/dist/modules/stock/savedProviderProposal/route.schema.d.ts +1 -1
  120. package/dist/modules/stock/stockMovement/interface.d.ts +8 -8
  121. package/dist/modules/stock/stockMovement/route.schema.d.ts +1 -1
  122. package/dist/modules/stock/tag/interface.d.ts +7 -7
  123. package/dist/modules/stock/tag/route.schema.d.ts +1 -1
  124. package/dist/modules/stock/task/interface.d.ts +13 -13
  125. package/dist/modules/stock/task/route.schema.d.ts +1 -1
  126. package/dist/modules/stock/taskMessage/interface.d.ts +4 -4
  127. package/dist/modules/stock/taskMessage/route.schema.d.ts +1 -1
  128. package/dist/modules/stock/taskRead/interface.d.ts +4 -4
  129. package/dist/modules/stock/taskRead/route.schema.d.ts +1 -1
  130. package/dist/modules/stock/typeOfLocation/interface.d.ts +6 -6
  131. package/dist/modules/stock/typeOfLocation/route.schema.d.ts +1 -1
  132. package/dist/modules/stock/unitOfMeasure/interface.d.ts +6 -6
  133. package/dist/modules/stock/unitOfMeasure/route.schema.d.ts +1 -1
  134. package/dist/modules/stock/vatTax/interface.d.ts +6 -6
  135. package/dist/modules/stock/vatTax/route.schema.d.ts +1 -1
  136. package/dist/modules/stock/vatTaxZone/interface.d.ts +6 -6
  137. package/dist/modules/stock/vatTaxZone/route.schema.d.ts +1 -1
  138. package/dist/modules/stock/vatValidation/interfaces.d.ts +1 -1
  139. package/dist/modules/stock/vatValidation/route.schema.d.ts +1 -1
  140. package/dist/modules/stock/workflow/interfaces.d.ts +5 -5
  141. package/dist/modules/stock/workflow/route.schema.d.ts +1 -1
  142. package/dist/modules/supply/currentAccount/interface.d.ts +14 -14
  143. package/dist/modules/supply/currentAccount/route.schema.d.ts +2 -2
  144. package/dist/modules/supply/documentHeader/interfaces.d.ts +11 -11
  145. package/dist/modules/supply/documentHeader/route.schema.d.ts +3 -3
  146. package/dist/modules/supply/documentHeaderHistory/interfaces.d.ts +3 -3
  147. package/dist/modules/supply/documentHeaderSubscriber/interface.d.ts +2 -2
  148. package/dist/modules/supply/documentHeaderSubscriber/route.schema.d.ts +1 -1
  149. package/dist/modules/supply/documentHeaderSurvey/interfaces.d.ts +5 -5
  150. package/dist/modules/supply/documentHeaderSurvey/route.schema.d.ts +2 -2
  151. package/dist/modules/supply/documentLine/interfaces.d.ts +12 -12
  152. package/dist/modules/supply/documentLine/route.schema.d.ts +2 -2
  153. package/dist/modules/supply/documentLineAssoc/interfaces.d.ts +4 -4
  154. package/dist/modules/supply/documentLineMT/interface.d.ts +2 -2
  155. package/dist/modules/supply/documentLineMT/route.schema.d.ts +1 -1
  156. package/dist/modules/supply/documentLineNote/interfaces.d.ts +10 -10
  157. package/dist/modules/supply/documentLineNote/route.schema.d.ts +1 -1
  158. package/dist/modules/supply/documentLineRM/interface.d.ts +2 -2
  159. package/dist/modules/supply/documentLineRM/route.schema.d.ts +1 -1
  160. package/dist/modules/supply/documentSet/interface.d.ts +2 -2
  161. package/dist/modules/supply/documentSet/route.schema.d.ts +1 -1
  162. package/dist/modules/supply/documentType/interfaces.d.ts +66 -66
  163. package/dist/modules/supply/documentType/route.schema.d.ts +1 -1
  164. package/dist/modules/supply/externalDocumentHeader/interface.d.ts +3 -3
  165. package/dist/modules/supply/externalDocumentHeader/route.schema.d.ts +1 -1
  166. package/dist/modules/supply/externalDocumentType/interface.d.ts +2 -2
  167. package/dist/modules/supply/orderManagement/interface.d.ts +1 -1
  168. package/dist/modules/supply/payment/interface.d.ts +11 -11
  169. package/dist/modules/supply/payment/route.schema.d.ts +1 -1
  170. package/dist/modules/supply/paymentBatch/interface.d.ts +3 -3
  171. package/dist/modules/supply/paymentBatch/route.schema.d.ts +2 -2
  172. package/dist/modules/supply/preSale/interface.d.ts +4 -4
  173. package/dist/modules/supply/preSale/route.schema.d.ts +1 -1
  174. package/dist/modules/supply/preSaleProduct/interface.d.ts +2 -2
  175. package/dist/modules/supply/preSaleProduct/route.schema.d.ts +1 -1
  176. package/dist/modules/supply/schedule/interface.d.ts +8 -8
  177. package/dist/modules/supply/schedule/route.schema.d.ts +1 -1
  178. package/dist/modules/supply/startDocumentHeaderLastUpdate/interface.d.ts +2 -2
  179. package/dist/modules/tickets/channel/interfaces.d.ts +3 -3
  180. package/dist/modules/tickets/channel/route.schema.d.ts +1 -1
  181. package/dist/modules/tickets/clt/interfaces.d.ts +3 -3
  182. package/dist/modules/tickets/clt/route.schema.d.ts +1 -1
  183. package/dist/modules/tickets/language/interfaces.d.ts +3 -3
  184. package/dist/modules/tickets/language/route.schema.d.ts +1 -1
  185. package/dist/modules/tickets/tickets/interfaces.d.ts +3 -3
  186. package/dist/modules/tickets/tickets/route.schema.d.ts +1 -1
  187. package/dist/modules/ui/portal/interface.d.ts +4 -4
  188. package/dist/modules/ui/portal/route.schema.d.ts +1 -1
  189. package/dist/modules/ui/sideMenu/interface.d.ts +2 -2
  190. package/dist/modules/ui/sideMenu/route.schema.d.ts +1 -1
  191. package/dist/modules/ui/sidemenuHighlight/interface.d.ts +3 -3
  192. package/dist/modules/ui/sidemenuHighlight/route.schema.d.ts +1 -1
  193. package/dist/modules/user/bankData/interface.d.ts +6 -6
  194. package/dist/modules/user/bankData/route.schema.d.ts +1 -1
  195. package/dist/modules/user/chatSubscribers/interfaces.d.ts +6 -6
  196. package/dist/modules/user/chatSubscribers/route.schema.d.ts +2 -2
  197. package/dist/modules/user/clientType/interface.d.ts +5 -5
  198. package/dist/modules/user/clientType/route.schema.d.ts +1 -1
  199. package/dist/modules/user/clients/interface.d.ts +9 -13
  200. package/dist/modules/user/clients/route.schema.d.ts +1 -1
  201. package/dist/modules/user/commissioner/interface.d.ts +7 -7
  202. package/dist/modules/user/commissioner/route.schema.d.ts +1 -1
  203. package/dist/modules/user/country/interface.d.ts +5 -5
  204. package/dist/modules/user/country/route.schema.d.ts +1 -1
  205. package/dist/modules/user/deliveryMethods/interfaces.d.ts +2 -2
  206. package/dist/modules/user/deliveryMethods/route.schema.d.ts +1 -1
  207. package/dist/modules/user/favorites/interfaces.d.ts +2 -2
  208. package/dist/modules/user/favorites/route.schema.d.ts +3 -3
  209. package/dist/modules/user/language/interface.d.ts +5 -5
  210. package/dist/modules/user/language/route.schema.d.ts +1 -1
  211. package/dist/modules/user/maturityDates/interfaces.d.ts +2 -2
  212. package/dist/modules/user/maturityDates/route.schema.d.ts +1 -1
  213. package/dist/modules/user/password/interfaces.d.ts +1 -1
  214. package/dist/modules/user/password/route.schema.d.ts +1 -1
  215. package/dist/modules/user/paymentMethods/interfaces.d.ts +16 -16
  216. package/dist/modules/user/paymentMethods/route.schema.d.ts +1 -1
  217. package/dist/modules/user/persona/interface.d.ts +3 -3
  218. package/dist/modules/user/persona/route.schema.d.ts +1 -1
  219. package/dist/modules/user/providerType/interface.d.ts +5 -5
  220. package/dist/modules/user/providerType/route.schema.d.ts +1 -1
  221. package/dist/modules/user/providers/interface.d.ts +11 -9
  222. package/dist/modules/user/providers/route.schema.d.ts +1 -1
  223. package/dist/modules/user/purchaseConditions/interface.d.ts +6 -9
  224. package/dist/modules/user/purchaseConditions/route.schema.d.ts +1 -1
  225. package/dist/modules/user/reasonForExemption/interface.d.ts +8 -8
  226. package/dist/modules/user/reasonForExemption/route.schema.d.ts +1 -1
  227. package/dist/modules/user/refreshToken/interface.d.ts +1 -1
  228. package/dist/modules/user/refreshToken/route.schema.d.ts +1 -1
  229. package/dist/modules/user/segmentsArea/interface.d.ts +5 -5
  230. package/dist/modules/user/segmentsArea/route.schema.d.ts +1 -1
  231. package/dist/modules/user/sessions/interface.d.ts +1 -1
  232. package/dist/modules/user/sessions/route.schema.d.ts +1 -1
  233. package/dist/modules/user/shippings/interface.d.ts +6 -6
  234. package/dist/modules/user/shippings/route.schema.d.ts +1 -1
  235. package/dist/modules/user/storeOperator/interface.d.ts +6 -6
  236. package/dist/modules/user/storeOperator/route.schema.d.ts +1 -1
  237. package/dist/modules/user/swift/interface.d.ts +5 -5
  238. package/dist/modules/user/swift/route.schema.d.ts +1 -1
  239. package/dist/modules/user/systemModule/interface.d.ts +2 -2
  240. package/dist/modules/user/systemModule/route.schema.d.ts +1 -1
  241. package/dist/modules/user/tenant/interface.d.ts +2 -2
  242. package/dist/modules/user/tenant/route.schema.d.ts +1 -1
  243. package/dist/modules/user/theme/interfaces.d.ts +2 -2
  244. package/dist/modules/user/theme/route.schema.d.ts +1 -1
  245. package/dist/modules/user/timeSheet/interfaces.d.ts +5 -5
  246. package/dist/modules/user/timeSheet/route.schema.d.ts +1 -1
  247. package/dist/modules/user/userPositions/interface.d.ts +5 -5
  248. package/dist/modules/user/userPositions/route.schema.d.ts +1 -1
  249. package/dist/modules/user/userTokens/interface.d.ts +3 -3
  250. package/dist/modules/user/userTokens/route.schema.d.ts +1 -1
  251. package/dist/modules/user/users/interface.d.ts +10 -10
  252. package/dist/modules/user/users/route.schema.d.ts +1 -1
  253. package/dist/modules/user/vehicles/interfaces.d.ts +3 -3
  254. package/dist/modules/user/vehicles/route.schema.d.ts +1 -1
  255. package/dist/modules/user/zipCode/interfaces.d.ts +1 -1
  256. package/dist/modules/user/zipCode/route.schema.d.ts +1 -1
  257. package/dist/modules/view/errorLog/interfaces.d.ts +7 -7
  258. package/dist/modules/view/errorLog/route.schema.d.ts +1 -1
  259. package/dist/modules/view/webSocket/interfaces.d.ts +23 -23
  260. package/dist/shared/entities/integration.d.ts +1 -1
  261. package/dist/shared/entities/sms.d.ts +1 -2
  262. package/dist/shared/entities/stock.d.ts +25 -25
  263. package/dist/shared/entities/user.d.ts +4 -4
  264. package/dist/shared/interface.d.ts +42 -42
  265. package/dist/shared/messages.d.ts +1 -1
  266. package/package.json +25 -10
@@ -1,5 +1,5 @@
1
- import * as IShared from '../../../shared/interface';
2
- import { ObservationType } from '../../../shared/entities/integration';
1
+ import { ObservationType } from "../../../shared/entities/integration";
2
+ import * as IShared from "../../../shared/interface";
3
3
  export type Entity = ObservationType;
4
4
  export declare const Route = "observation_type";
5
5
  export interface IFindByQueryRequest {
@@ -22,4 +22,4 @@ export interface IRepository {
22
22
  deleteOne(selector: IShared.IFindByIdRequest): Promise<Entity | null>;
23
23
  }
24
24
  export type IController = IShared.IEntityWithUserToken<IRepository>;
25
- export type IApi = Omit<IRepository, 'findById' | 'findByQuery'>;
25
+ export type IApi = Omit<IRepository, "findById" | "findByQuery">;
@@ -1,6 +1,6 @@
1
- import joi from 'joi';
2
- import { ICreateRequest, IUpdateRequest } from './interfaces';
3
- import * as IShared from '../../../shared/interface';
1
+ import joi from "joi";
2
+ import * as IShared from "../../../shared/interface";
3
+ import { ICreateRequest, IUpdateRequest } from "./interfaces";
4
4
  export declare const createBodyKeys: IShared.IRouteRequest<ICreateRequest>;
5
5
  export declare const createBody: joi.ObjectSchema<any>;
6
6
  export declare const updateBodyKeys: IShared.IRouteRequest<IUpdateRequest>;
@@ -1,5 +1,5 @@
1
- import * as IShared from '../../../shared/interface';
2
- import { PatchNotes } from '../../../shared/entities/integration';
1
+ import { PatchNotes } from "../../../shared/entities/integration";
2
+ import * as IShared from "../../../shared/interface";
3
3
  export type Entity = PatchNotes;
4
4
  export declare const Route = "patch_notes";
5
5
  export interface IFindResponse {
@@ -1,10 +1,10 @@
1
- import { ProjectInfo } from '../../../shared/entities/integration';
1
+ import { ProjectInfo } from "../../../shared/entities/integration";
2
2
  export type Entity = ProjectInfo;
3
3
  export declare const Route = "project_info";
4
4
  export declare const IProjectInfoTypeEnum: {
5
- particular: 'particular';
6
- professional: 'professional';
7
- company: 'company';
5
+ particular: "particular";
6
+ professional: "professional";
7
+ company: "company";
8
8
  };
9
9
  export type IMultimedia = {
10
10
  id: string;
@@ -18,7 +18,7 @@ export type IBudgetOptionsType = {
18
18
  };
19
19
  export type IProjectInfoType = (typeof IProjectInfoTypeEnum)[keyof typeof IProjectInfoTypeEnum];
20
20
  export declare const projectInfoTypes: string[];
21
- export interface ICreateRequest extends Omit<Entity, 'created_at' | 'updated_at' | 'document_header_id' | 'id' | 'email_log' | 'persona_id' | 'client_id'> {
21
+ export interface ICreateRequest extends Omit<Entity, "created_at" | "updated_at" | "document_header_id" | "id" | "email_log" | "persona_id" | "client_id"> {
22
22
  persona_id?: string;
23
23
  client_id?: string;
24
24
  }
@@ -27,8 +27,8 @@ export interface ICreateResponse {
27
27
  chat_subscriber_id?: string;
28
28
  }
29
29
  export declare const IProjectInfoOriginTypeEnum: {
30
- website: 'website';
31
- portal: 'portal';
30
+ website: "website";
31
+ portal: "portal";
32
32
  };
33
33
  export type IProjectInfoOriginType = (typeof IProjectInfoOriginTypeEnum)[keyof typeof IProjectInfoOriginTypeEnum];
34
34
  export declare const ProjectInfoOriginTypes: string[];
@@ -1,2 +1,2 @@
1
- import joi from 'joi';
1
+ import joi from "joi";
2
2
  export declare const sendEmailBody: joi.ObjectSchema<any>;
@@ -1,5 +1,5 @@
1
- import * as IShared from '../../../shared/interface';
2
- import { Settings } from '../../../shared/entities/integration';
1
+ import { Settings } from "../../../shared/entities/integration";
2
+ import * as IShared from "../../../shared/interface";
3
3
  export type Entity = Settings;
4
4
  export declare const Route = "settings";
5
5
  export interface IFindByKeyRequest {
@@ -1,4 +1,4 @@
1
- import joi from 'joi';
1
+ import joi from "joi";
2
2
  export declare const createBody: joi.ObjectSchema<any>;
3
3
  export declare const updateBody: joi.ObjectSchema<any>;
4
4
  export declare const findQuery: joi.ObjectSchema<any>;
@@ -1,4 +1,4 @@
1
- import * as IShared from '../../../shared/interface';
1
+ import * as IShared from "../../../shared/interface";
2
2
  export declare const Route = "llm";
3
3
  export interface IPromptRequest {
4
4
  prompt: string;
@@ -1,4 +1,4 @@
1
- import joi from 'joi';
1
+ import joi from "joi";
2
2
  export declare const promptBody: joi.ObjectSchema<any>;
3
3
  export declare const translateSchema: joi.ObjectSchema<any>;
4
4
  export declare const identifyLanguageSchema: joi.ObjectSchema<any>;
@@ -1,5 +1,5 @@
1
- import * as IShared from '../../../shared/interface';
2
- import { Npc } from '../../../shared/entities/print';
1
+ import { Npc } from "../../../shared/entities/print";
2
+ import * as IShared from "../../../shared/interface";
3
3
  export type Entity = Npc;
4
4
  export declare const Route = "npc";
5
5
  export interface IPrintJobs {
@@ -8,7 +8,7 @@ export interface IPrintJobs {
8
8
  buffer?: unknown;
9
9
  external_url?: string | null;
10
10
  printer_id: string;
11
- orientation: 'landscape' | 'portrait';
11
+ orientation: "landscape" | "portrait";
12
12
  }
13
13
  export interface IFindPrintJobsForComputerIdResponse {
14
14
  computer_name?: string | null;
@@ -1,3 +1,3 @@
1
- import joi from 'joi';
1
+ import joi from "joi";
2
2
  export declare const updateBody: joi.ObjectSchema<any>;
3
3
  export declare const findPrintJobsForComputerIdRequestParams: joi.ObjectSchema<any>;
@@ -1,18 +1,18 @@
1
- import * as IShared from '../../../shared/interface';
2
- import { Printer } from '../../../shared/entities/print';
1
+ import { Printer } from "../../../shared/entities/print";
2
+ import * as IShared from "../../../shared/interface";
3
3
  export type Entity = Printer;
4
4
  export declare const Route = "printer";
5
5
  export type IFindDetailedResponse = Entity & {
6
- npc: Pick<Entity, 'name'>;
6
+ npc: Pick<Entity, "name">;
7
7
  };
8
- export type IPrinterData = Omit<Printer, 'id' | 'npc_id' | 'created_at' | 'updated_at'>;
9
- export type IUpdateRequest = Omit<Printer, 'connected' | 'device_os_name' | 'npc_id' | 'id'>;
8
+ export type IPrinterData = Omit<Printer, "id" | "npc_id" | "created_at" | "updated_at">;
9
+ export type IUpdateRequest = Omit<Printer, "connected" | "device_os_name" | "npc_id" | "id">;
10
10
  export interface IGetOrSetPrintersResponse {
11
11
  printers_a4: IPrinterData[];
12
12
  printers_pos: IPrinterData[];
13
13
  }
14
- export type IPrinterA4 = Pick<Printer, 'device_os_name' | 'name'>;
15
- export type IPrinterPos = Pick<Printer, 'device_os_name'>;
14
+ export type IPrinterA4 = Pick<Printer, "device_os_name" | "name">;
15
+ export type IPrinterPos = Pick<Printer, "device_os_name">;
16
16
  export interface IGetOrSetPrintersRequest {
17
17
  computer_id: string;
18
18
  printers_a4: IPrinterA4[];
@@ -1,4 +1,4 @@
1
- import joi from 'joi';
1
+ import joi from "joi";
2
2
  export declare const updateBody: joi.ObjectSchema<any>;
3
3
  export declare const getOrSetPrintersBody: joi.ObjectSchema<any>;
4
4
  export declare const updateManyBody: joi.ArraySchema<any[]>;
@@ -1,5 +1,5 @@
1
- import * as IShared from '../../../shared/interface';
2
- import { ScheduledPrintJob } from '../../../shared/entities/print';
1
+ import { ScheduledPrintJob } from "../../../shared/entities/print";
2
+ import * as IShared from "../../../shared/interface";
3
3
  export type Entity = ScheduledPrintJob;
4
4
  export declare const Route = "schedule_print_job";
5
5
  export interface ICreateSchedulePrintJobRequest {
@@ -25,7 +25,7 @@ export interface IDispatchSchedulePrintJobResponse {
25
25
  buffer?: string | null;
26
26
  external_url?: string | null;
27
27
  device_id: string;
28
- orientation: 'landscape' | 'portrait';
28
+ orientation: "landscape" | "portrait";
29
29
  }[];
30
30
  }
31
31
  export interface IRepository {
@@ -1,5 +1,5 @@
1
- import joi from 'joi';
2
- import { ICreateManySchedulePrintJobRequest } from './interfaces';
1
+ import joi from "joi";
2
+ import { ICreateManySchedulePrintJobRequest } from "./interfaces";
3
3
  export declare const dispatchSchedulePrintJobBody: joi.ObjectSchema<any>;
4
4
  export declare const createSchedulePrintJobBody: joi.ObjectSchema<any>;
5
5
  export declare const createManySchedulePrintJobBody: joi.ObjectSchema<ICreateManySchedulePrintJobRequest>;
@@ -1,20 +1,18 @@
1
- import { AllowedDevice } from '../../../shared/entities/sms';
2
- import * as IShared from '../../../shared/interface';
1
+ import { AllowedDevice } from "../../../shared/entities/sms";
2
+ import * as IShared from "../../../shared/interface";
3
3
  export type Entity = AllowedDevice;
4
4
  export declare const Route = "allowed_device";
5
- export interface IEntity extends Entity {
6
- }
7
- export type ICreateRequest = Pick<Entity, 'key' | 'apk_name'>;
8
- export type apkType = 'sms' | 'ticket' | 'app';
9
- export type IUpdateRequest = Pick<Entity, 'name' | 'allow_app' | 'allow_sms' | 'allow_ticket'>;
5
+ export type ICreateRequest = Pick<Entity, "key">;
6
+ export type apkType = "sms" | "ticket" | "app";
7
+ export type IUpdateRequest = Pick<Entity, "name" | "allow_app" | "allow_sms" | "allow_ticket">;
10
8
  export interface ICreateResponse {
11
9
  name: string;
12
- allowed: boolean;
10
+ allowed: apkType[];
13
11
  }
14
12
  export interface IRepository {
15
- find(): Promise<IEntity[]>;
16
- findById(id: string): Promise<IEntity>;
17
- findByKey(key: string): Promise<IEntity>;
13
+ find(): Promise<Entity[]>;
14
+ findById(id: string): Promise<Entity>;
15
+ findByKey(key: string): Promise<Entity>;
18
16
  create(data: ICreateRequest): Promise<ICreateResponse>;
19
17
  update(selector: IShared.IFindByIdRequest, data: IUpdateRequest): Promise<void>;
20
18
  deleteOne(selector: IShared.IFindByIdRequest): Promise<void>;
@@ -1,3 +1,3 @@
1
- import joi from 'joi';
1
+ import joi from "joi";
2
2
  export declare const createBody: joi.ObjectSchema<any>;
3
3
  export declare const updateBody: joi.ObjectSchema<any>;
@@ -1,5 +1,5 @@
1
- import { SmsSender } from '../../../shared/entities/sms';
2
- import * as IShared from '../../../shared/interface';
1
+ import { SmsSender } from "../../../shared/entities/sms";
2
+ import * as IShared from "../../../shared/interface";
3
3
  export type Entity = SmsSender;
4
4
  export declare const Route = "sms_sender";
5
5
  export declare const ISmsSenderStatsEnum: {
@@ -1,9 +1,7 @@
1
- import { SmsTemplate } from '../../../shared/entities/sms';
2
- import * as IShared from '../../../shared/interface';
1
+ import { SmsTemplate } from "../../../shared/entities/sms";
2
+ import * as IShared from "../../../shared/interface";
3
3
  export type Entity = SmsTemplate;
4
4
  export declare const Route = "sms_template";
5
- export interface IEntity extends Entity {
6
- }
7
5
  export type SmsTemplateVariables = Record<string, string | number | boolean>;
8
6
  export interface ICreateRequest {
9
7
  key: string;
@@ -18,9 +16,9 @@ export interface IUpdateRequest {
18
16
  variables?: SmsTemplateVariables;
19
17
  }
20
18
  export interface IRepository {
21
- find(): Promise<IEntity[]>;
22
- findById(id: string): Promise<IEntity>;
23
- findByKey(key: string): Promise<IEntity>;
19
+ find(): Promise<Entity[]>;
20
+ findById(id: string): Promise<Entity>;
21
+ findByKey(key: string): Promise<Entity>;
24
22
  create(data: ICreateRequest): Promise<string>;
25
23
  update(selector: IShared.IFindByIdRequest, data: IUpdateRequest): Promise<void>;
26
24
  deleteOne(selector: IShared.IFindByIdRequest): Promise<void>;
@@ -1,3 +1,3 @@
1
- import joi from 'joi';
1
+ import joi from "joi";
2
2
  export declare const createBody: joi.ObjectSchema<any>;
3
3
  export declare const updateBody: joi.ObjectSchema<any>;
@@ -1,4 +1,4 @@
1
- import { AccountCode } from '../../../shared/entities/stock';
1
+ import { AccountCode } from "../../../shared/entities/stock";
2
2
  export type Entity = AccountCode;
3
3
  export declare const Route = "account_code";
4
4
  export interface IFindByCode {
@@ -1,2 +1,2 @@
1
- import joi from 'joi';
1
+ import joi from "joi";
2
2
  export declare const findByCode: joi.ObjectSchema<any>;
@@ -1,16 +1,16 @@
1
- import type * as IShared from '../../../shared/interface';
2
- import { Chat, File } from '../../../shared/entities/stock';
1
+ import { Chat, File } from "../../../shared/entities/stock";
2
+ import type * as IShared from "../../../shared/interface";
3
3
  export type Entity = Chat;
4
4
  export declare const Route = "chat";
5
5
  export interface IChatBalloon {
6
- chat?: Pick<Entity, 'message'> & {
6
+ chat?: Pick<Entity, "message"> & {
7
7
  id?: string;
8
8
  read?: boolean;
9
9
  client_read?: boolean;
10
10
  translation?: string;
11
11
  lang?: string;
12
12
  };
13
- file?: Pick<File, 'multimedia_id' | 'filename'> & {
13
+ file?: Pick<File, "multimedia_id" | "filename"> & {
14
14
  id?: string;
15
15
  read?: boolean;
16
16
  client_read?: boolean;
@@ -20,7 +20,7 @@ export interface IChatBalloon {
20
20
  is_customer: boolean;
21
21
  ghost?: boolean;
22
22
  }
23
- export type IReport = Pick<Entity, 'email_processed' | 'email_delivered' | 'email_opened' | 'email_clicked'>;
23
+ export type IReport = Pick<Entity, "email_processed" | "email_delivered" | "email_opened" | "email_clicked">;
24
24
  export interface IFindActiveByOwnerIdResponse {
25
25
  chat: IChatBalloon[];
26
26
  last_group_report?: IReport;
@@ -1,5 +1,5 @@
1
- import joi from 'joi';
2
- import { ITranslateRequest } from './interfaces';
1
+ import joi from "joi";
2
+ import { ITranslateRequest } from "./interfaces";
3
3
  export declare const createBody: joi.ObjectSchema<any>;
4
4
  export declare const updateBody: joi.ObjectSchema<any>;
5
5
  export declare const markAllClientReadUnreadParams: joi.ObjectSchema<any>;
@@ -1,5 +1,5 @@
1
- import { ChatRapidMessage } from '../../../shared/entities/stock';
2
- import * as IShared from '../../../shared/interface';
1
+ import { ChatRapidMessage } from "../../../shared/entities/stock";
2
+ import * as IShared from "../../../shared/interface";
3
3
  export declare const Route = "chat_rapid_message";
4
4
  export type Entity = ChatRapidMessage;
5
5
  export interface ICreateRequest {
@@ -1,3 +1,3 @@
1
- import joi from 'joi';
1
+ import joi from "joi";
2
2
  export declare const createBody: joi.ObjectSchema<any>;
3
3
  export declare const updateBody: joi.ObjectSchema<any>;
@@ -1,4 +1,4 @@
1
- import { ConferirEncomenda } from '../../../shared/entities/stock';
1
+ import { ConferirEncomenda } from "../../../shared/entities/stock";
2
2
  export declare const Route = "conferir_encomenda";
3
3
  export type Entity = ConferirEncomenda;
4
4
  export declare const EstadoEncomendaEnum: {
@@ -1,5 +1,5 @@
1
1
  export declare const Route = "dashboard";
2
- export type IDashboardSalesNames = 'dia' | 'mes' | 'ano';
2
+ export type IDashboardSalesNames = "dia" | "mes" | "ano";
3
3
  export interface IDashboardSalesRowValue {
4
4
  sheets: number;
5
5
  stock: number;
@@ -1,3 +1,3 @@
1
- import joi from 'joi';
1
+ import joi from "joi";
2
2
  export declare const findByDateParams: joi.ObjectSchema<any>;
3
3
  export declare const findTodoCountsParams: joi.ObjectSchema<any>;
@@ -1,5 +1,5 @@
1
- import * as IShared from '../../../shared/interface';
2
- import { File } from '../../../shared/entities/stock';
1
+ import { File } from "../../../shared/entities/stock";
2
+ import * as IShared from "../../../shared/interface";
3
3
  export type Entity = File;
4
4
  export declare const Route = "file";
5
5
  export interface IFindByOwnerRequest {
@@ -1,5 +1,5 @@
1
- import joi from 'joi';
2
- import { IFindByOwnerRequest } from './interface';
1
+ import joi from "joi";
2
+ import { IFindByOwnerRequest } from "./interface";
3
3
  export declare const createBody: joi.ObjectSchema<any>;
4
4
  export declare const updateBody: joi.ObjectSchema<any>;
5
5
  export declare const findByOwnerIdQuery: joi.ObjectSchema<IFindByOwnerRequest>;
@@ -1,5 +1,5 @@
1
- import * as IShared from '../../../shared/interface';
2
- import { Gmails } from '../../../shared/entities/stock';
1
+ import { Gmails } from "../../../shared/entities/stock";
2
+ import * as IShared from "../../../shared/interface";
3
3
  export type Entity = Gmails;
4
4
  export declare const Route = "gmail";
5
5
  export interface IGmailsResponse {
@@ -1,4 +1,4 @@
1
- import { GoogleCalendar } from '../../../shared/entities/stock';
1
+ import { GoogleCalendar } from "../../../shared/entities/stock";
2
2
  export type Entity = GoogleCalendar;
3
3
  export declare const Route = "google_calendar";
4
4
  export interface IListEventsInRangeRequest {
@@ -1,3 +1,3 @@
1
- import joi from 'joi';
2
- import { IListEventsInRangeRequest } from './interface';
1
+ import joi from "joi";
2
+ import { IListEventsInRangeRequest } from "./interface";
3
3
  export declare const listEventsInRangeQuery: joi.ObjectSchema<IListEventsInRangeRequest>;
@@ -1,5 +1,5 @@
1
- import * as IShared from '../../../shared/interface';
2
- import { GoogleSheetPool } from '../../../shared/entities/stock';
1
+ import { GoogleSheetPool } from "../../../shared/entities/stock";
2
+ import * as IShared from "../../../shared/interface";
3
3
  export type Entity = GoogleSheetPool;
4
4
  export declare const Route = "google_sheet_pool";
5
5
  export interface IRepository {
@@ -1,17 +1,17 @@
1
- import * as IShared from '../../../shared/interface';
2
- import { Location, TypeOfLocation } from '../../../shared/entities/stock';
1
+ import { Location, TypeOfLocation } from "../../../shared/entities/stock";
2
+ import * as IShared from "../../../shared/interface";
3
3
  export type Entity = Location;
4
4
  export declare const Route = "location";
5
5
  interface IFindDetailedResponse extends Entity {
6
6
  type_of_location: TypeOfLocation;
7
7
  }
8
- export type IFindByIdResponse = Omit<IFindDetailedResponse, 'type_of_location'>;
9
- export type IFindByOwnerIdResponse = Omit<IFindDetailedResponse, 'type_of_location'>;
8
+ export type IFindByIdResponse = Omit<IFindDetailedResponse, "type_of_location">;
9
+ export type IFindByOwnerIdResponse = Omit<IFindDetailedResponse, "type_of_location">;
10
10
  export type IFindRequest = Record<string, unknown>;
11
- export type IFindResponse = Omit<IFindDetailedResponse, ''>;
11
+ export type IFindResponse = Omit<IFindDetailedResponse, "">;
12
12
  export interface IFindPaginatedRequest extends IFindRequest, IShared.IPaginationRequest {
13
13
  }
14
- export type IFindWithPaginationResponse = IShared.IPaginationResponse<Omit<IFindDetailedResponse, 'type_of_location'>>;
14
+ export type IFindWithPaginationResponse = IShared.IPaginationResponse<Omit<IFindDetailedResponse, "type_of_location">>;
15
15
  export interface ICreateRequest {
16
16
  name: string;
17
17
  street: string;
@@ -1,4 +1,4 @@
1
- import joi from 'joi';
1
+ import joi from "joi";
2
2
  export declare const createBody: joi.ObjectSchema<any>;
3
3
  export declare const updateBody: joi.ObjectSchema<any>;
4
4
  export declare const findQuery: joi.ObjectSchema<any>;
@@ -1,4 +1,4 @@
1
- import * as IShared from '../../../shared/interface';
1
+ import * as IShared from "../../../shared/interface";
2
2
  export declare const Route = "mobile_print";
3
3
  export interface IPrintLocations {
4
4
  locations_ids: string[];
@@ -1,2 +1,2 @@
1
- import joi from 'joi';
1
+ import joi from "joi";
2
2
  export declare const printLocationsQuery: joi.ObjectSchema<any>;
@@ -1,5 +1,5 @@
1
- import { DocumentLineNote } from '../../../shared/entities/stock';
2
- import * as IShared from '../../../shared/interface';
1
+ import { DocumentLineNote } from "../../../shared/entities/stock";
2
+ import * as IShared from "../../../shared/interface";
3
3
  export declare const Route = "prison";
4
4
  export interface IFindLinesInPrisonResponse {
5
5
  id: string;
@@ -1,4 +1,4 @@
1
- import joi from 'joi';
2
- import { ICreateLinesInPrisonRequest } from './interface';
1
+ import joi from "joi";
2
+ import { ICreateLinesInPrisonRequest } from "./interface";
3
3
  export declare const checkLinesInPrisonBody: joi.ObjectSchema<any>;
4
4
  export declare const createLinesInPrisonBody: joi.ObjectSchema<ICreateLinesInPrisonRequest>;
@@ -1,6 +1,6 @@
1
- import { type ProductImage, type ProductVirtuals, type UnitOfMeasure, type VatTax, type VatTaxZone, type ProductPromotionVirtuals, type ProductBaseVirtuals, type ProductSheet } from '../../../shared/entities/stock';
2
- import * as IShared from '../../../shared/interface';
3
- import * as IDocumentLine from '../../supply/documentLine/interfaces';
1
+ import { type ProductBaseVirtuals, type ProductImage, type ProductPromotionVirtuals, type ProductSheet, type ProductVirtuals, type UnitOfMeasure, type VatTax, type VatTaxZone } from "../../../shared/entities/stock";
2
+ import * as IShared from "../../../shared/interface";
3
+ import * as IDocumentLine from "../../supply/documentLine/interfaces";
4
4
  export declare const Route = "product_sheets";
5
5
  export type IProductPromotionVirtuals = ProductPromotionVirtuals;
6
6
  export type IProductVirtuals = ProductVirtuals;
@@ -8,24 +8,24 @@ export type IProductBaseVirtuals = ProductBaseVirtuals;
8
8
  export type Entity = ProductSheet;
9
9
  export type IProductsForSheetsResponse = Record<string, any>;
10
10
  export type IProductFromSheetsValues = Record<string, any>;
11
- export type IProductSheetState = 'Ativa' | 'NaoVemMais' | 'VemTemporariamente' | 'DescontinuadoFabrica';
11
+ export type IProductSheetState = "Ativa" | "NaoVemMais" | "VemTemporariamente" | "DescontinuadoFabrica";
12
12
  export declare const ProductStateEnum: {
13
- Ativa: 'Ativa';
14
- NaoVemMais: 'NaoVemMais';
15
- VemTemporariamente: 'VemTemporariamente';
16
- DescontinuadoFabrica: 'DescontinuadoFabrica';
13
+ Ativa: "Ativa";
14
+ NaoVemMais: "NaoVemMais";
15
+ VemTemporariamente: "VemTemporariamente";
16
+ DescontinuadoFabrica: "DescontinuadoFabrica";
17
17
  };
18
18
  export declare const ProductStateLabels: Record<keyof typeof ProductStateEnum, string>;
19
19
  export type IProductState = (typeof ProductStateEnum)[keyof typeof ProductStateEnum];
20
20
  export declare const productState: string[];
21
21
  export declare const ProductTypeEnum: {
22
- Encomenda: 'Encomenda';
23
- Stock: 'Stock';
24
- Servico: 'Servico';
25
- Producao: 'Producao';
26
- Portes: 'Portes';
27
- RM: 'RM';
28
- Montagem: 'Montagem';
22
+ Encomenda: "Encomenda";
23
+ Stock: "Stock";
24
+ Servico: "Servico";
25
+ Producao: "Producao";
26
+ Portes: "Portes";
27
+ RM: "RM";
28
+ Montagem: "Montagem";
29
29
  };
30
30
  export type IProductType = (typeof ProductTypeEnum)[keyof typeof ProductTypeEnum];
31
31
  export declare const productTypes: string[];
@@ -75,7 +75,7 @@ export interface IUpdateRequest {
75
75
  export interface IFindProductSheetByReference {
76
76
  selector: string;
77
77
  }
78
- interface IProductSheetEntityBase extends Omit<Entity, 'values'> {
78
+ interface IProductSheetEntityBase extends Omit<Entity, "values"> {
79
79
  unit_of_measure_quantity: UnitOfMeasure;
80
80
  vat_tax: VatTax & {
81
81
  vat_tax_zones: VatTaxZone[];
@@ -202,11 +202,11 @@ export interface IFindDataForMobileResponse {
202
202
  thumbnail: string | null;
203
203
  attributes: string;
204
204
  compositions: string;
205
- unit_of_measure_quantity: Pick<UnitOfMeasure, 'notation' | 'integer_only'>;
205
+ unit_of_measure_quantity: Pick<UnitOfMeasure, "notation" | "integer_only">;
206
206
  promotions: IDocumentLine.IPromotions[];
207
207
  }
208
208
  export interface IFindStockForMobileResponse {
209
- virtual: Pick<IProductVirtuals, 'price_sale' | 'available' | 'ordered_quantity' | 'prison' | 'reserved' | 'total' | 'inativa'>;
209
+ virtual: Pick<IProductVirtuals, "price_sale" | "available" | "ordered_quantity" | "prison" | "reserved" | "total" | "inativa">;
210
210
  }
211
211
  export type IFindForMobileRequest = {
212
212
  reference: string;
@@ -1,5 +1,5 @@
1
- import joi from 'joi';
2
- import { IFindForMobileRequest, ICheckStockByIdsRequest, IFindProductSheetByReference, IProductLocation, type IPrintLabelBulkQueryRequest } from './interface';
1
+ import joi from "joi";
2
+ import { ICheckStockByIdsRequest, IFindForMobileRequest, IFindProductSheetByReference, type IPrintLabelBulkQueryRequest, IProductLocation } from "./interface";
3
3
  export declare const printLabelQuery: joi.ObjectSchema<any>;
4
4
  export declare const printLabelBulkQuery: joi.ObjectSchema<IPrintLabelBulkQueryRequest>;
5
5
  export declare const checkStockByIdsBody: joi.ObjectSchema<ICheckStockByIdsRequest>;
@@ -1,21 +1,21 @@
1
- import * as IShared from '../../../shared/interface';
2
- import { ProductImage } from '../../../shared/entities/stock';
1
+ import { ProductImage } from "../../../shared/entities/stock";
2
+ import * as IShared from "../../../shared/interface";
3
3
  export type Entity = ProductImage;
4
4
  export declare const Route = "product_image";
5
5
  type IFindDetailedResponse = Entity;
6
- export type IFindByIdResponse = Omit<IFindDetailedResponse, ''>;
7
- export type IFindByOwnerIdResponse = Omit<IFindDetailedResponse, ''>;
6
+ export type IFindByIdResponse = Omit<IFindDetailedResponse, "">;
7
+ export type IFindByOwnerIdResponse = Omit<IFindDetailedResponse, "">;
8
8
  export type IFindRequest = Record<string, unknown>;
9
- export type IFindResponse = Omit<IFindDetailedResponse, ''>;
9
+ export type IFindResponse = Omit<IFindDetailedResponse, "">;
10
10
  export declare const ImageTypeEnum: {
11
- thumbnail: 'thumbnail';
12
- site: 'site';
11
+ thumbnail: "thumbnail";
12
+ site: "site";
13
13
  };
14
14
  export type IImageType = (typeof ImageTypeEnum)[keyof typeof ImageTypeEnum];
15
15
  export declare const imageTypes: string[];
16
16
  export interface IFindPaginatedRequest extends IFindRequest, IShared.IPaginationRequest {
17
17
  }
18
- export type IFindWithPaginationResponse = IShared.IPaginationResponse<Omit<IFindDetailedResponse, ''>>;
18
+ export type IFindWithPaginationResponse = IShared.IPaginationResponse<Omit<IFindDetailedResponse, "">>;
19
19
  export interface ICreateRequest {
20
20
  product_id: string;
21
21
  product_sheet_id?: string;
@@ -1,4 +1,4 @@
1
- import joi from 'joi';
1
+ import joi from "joi";
2
2
  export declare const createBody: joi.ObjectSchema<any>;
3
3
  export declare const updateBody: joi.ObjectSchema<any>;
4
4
  export declare const findQuery: joi.ObjectSchema<any>;