@nomalism-com/types 1.3.43 → 1.3.46

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 +5918 -0
  2. package/dist/index.d.ts +1 -1
  3. package/dist/index.js +4917 -4903
  4. package/dist/main.d.ts +261 -261
  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 +2 -2
  12. package/dist/modules/document/billOfLading/route.schema.d.ts +3 -2
  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 +21 -0
  75. package/dist/modules/sms/allowedDevice/route.schema.d.ts +3 -0
  76. package/dist/modules/sms/smsSender/interfaces.d.ts +7 -3
  77. package/dist/modules/sms/smsTemplate/interfaces.d.ts +3 -5
  78. package/dist/modules/sms/smsTemplate/route.schema.d.ts +1 -3
  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 +2 -3
  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 +4 -4
  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 +10 -10
  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 +10 -12
  222. package/dist/modules/user/providers/route.schema.d.ts +3 -2
  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/view/errorLog/interfaces.d.ts +6 -6
  256. package/dist/modules/view/errorLog/route.schema.d.ts +1 -1
  257. package/dist/modules/view/webSocket/interfaces.d.ts +23 -23
  258. package/dist/shared/entities/integration.d.ts +1 -1
  259. package/dist/shared/entities/sms.d.ts +17 -1
  260. package/dist/shared/entities/stock.d.ts +25 -25
  261. package/dist/shared/entities/user.d.ts +4 -20
  262. package/dist/shared/interface.d.ts +42 -42
  263. package/dist/shared/messages.d.ts +1 -1
  264. package/package.json +27 -12
  265. package/dist/modules/user/zipCode/interfaces.d.ts +0 -21
  266. package/dist/modules/user/zipCode/route.schema.d.ts +0 -3
@@ -1,7 +1,7 @@
1
- import { IProductState } from './../../stock/productGoogleSheets/interface';
2
- import * as IShared from '../../../shared/interface';
3
- import { PreSale, PreSaleProduct } from '../../../shared/entities/stock';
4
- import * as DocumentLine from '../documentLine/interfaces';
1
+ import { PreSale, PreSaleProduct } from "../../../shared/entities/stock";
2
+ import * as IShared from "../../../shared/interface";
3
+ import * as DocumentLine from "../documentLine/interfaces";
4
+ import { IProductState } from "./../../stock/productGoogleSheets/interface";
5
5
  export type Entity = PreSale;
6
6
  export declare const Route = "pre_sale";
7
7
  export type IFindRequest = Record<string, unknown>;
@@ -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 updatePreSaleQuantityBody: joi.ObjectSchema<any>;
@@ -1,5 +1,5 @@
1
- import * as IShared from '../../../shared/interface';
2
- import { PreSaleProduct } from '../../../shared/entities/stock';
1
+ import { PreSaleProduct } from "../../../shared/entities/stock";
2
+ import * as IShared from "../../../shared/interface";
3
3
  export type Entity = PreSaleProduct;
4
4
  export declare const Route = "pre_sale_product";
5
5
  export type IFindRequest = Record<string, unknown>;
@@ -1,2 +1,2 @@
1
- import joi from 'joi';
1
+ import joi from "joi";
2
2
  export declare const findQuery: joi.ObjectSchema<any>;
@@ -1,13 +1,13 @@
1
- import * as IShared from '../../../shared/interface';
1
+ import * as IShared from "../../../shared/interface";
2
2
  export declare const Route = "schedule";
3
3
  export declare const ScheduleTypeEnum: {
4
- executeEncomendasStock: 'executeEncomendasStock';
5
- executeEncomendasVA: 'executeEncomendasVA';
6
- executeAvisoTotal: 'executeAvisoTotal';
7
- executeAvisoParcial: 'executeAvisoParcial';
8
- executeReAvisoTotal: 'executeReAvisoTotal';
9
- sendErroredEmailsSummary: 'sendErroredEmailsSummary';
10
- retryErroredEmails: 'retryErroredEmails';
4
+ executeEncomendasStock: "executeEncomendasStock";
5
+ executeEncomendasVA: "executeEncomendasVA";
6
+ executeAvisoTotal: "executeAvisoTotal";
7
+ executeAvisoParcial: "executeAvisoParcial";
8
+ executeReAvisoTotal: "executeReAvisoTotal";
9
+ sendErroredEmailsSummary: "sendErroredEmailsSummary";
10
+ retryErroredEmails: "retryErroredEmails";
11
11
  };
12
12
  export type IScheduleType = (typeof ScheduleTypeEnum)[keyof typeof ScheduleTypeEnum];
13
13
  export declare const scheduleTypes: string[];
@@ -1,2 +1,2 @@
1
- import joi from 'joi';
1
+ import joi from "joi";
2
2
  export declare const runImmediately: joi.ObjectSchema<any>;
@@ -1,5 +1,5 @@
1
- import * as IShared from '../../../shared/interface';
2
- import { StartDocumentHeaderLastUpdateVirtuals } from '../../../shared/entities/stock';
1
+ import { StartDocumentHeaderLastUpdateVirtuals } from "../../../shared/entities/stock";
2
+ import * as IShared from "../../../shared/interface";
3
3
  export type Entity = StartDocumentHeaderLastUpdateVirtuals;
4
4
  export declare const Route = "start_document_header_last_update";
5
5
  export interface IRepository {
@@ -1,5 +1,5 @@
1
- import { Channel } from '../../../shared/entities/tickets';
2
- import * as IShared from '../../../shared/interface';
1
+ import { Channel } from "../../../shared/entities/tickets";
2
+ import * as IShared from "../../../shared/interface";
3
3
  export type Entity = Channel;
4
4
  export declare const Route = "channel";
5
5
  export interface IChannel {
@@ -14,7 +14,7 @@ export interface IChannel {
14
14
  export interface IFindMinifiedRequest {
15
15
  value?: string;
16
16
  }
17
- export type ICreateRequest = Omit<Entity, 'id'>;
17
+ export type ICreateRequest = Omit<Entity, "id">;
18
18
  export type IUpdateRequest = ICreateRequest;
19
19
  export interface IRepository {
20
20
  create(data: ICreateRequest): Promise<Entity>;
@@ -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,8 +1,8 @@
1
- import { CLT } from '../../../shared/entities/tickets';
2
- import * as IShared from '../../../shared/interface';
1
+ import { CLT } from "../../../shared/entities/tickets";
2
+ import * as IShared from "../../../shared/interface";
3
3
  export type Entity = CLT;
4
4
  export declare const Route = "clt";
5
- export type ICreateRequest = Omit<Entity, 'id'>;
5
+ export type ICreateRequest = Omit<Entity, "id">;
6
6
  export type IUpdateRequest = ICreateRequest;
7
7
  export interface IFindMinifiedRequest {
8
8
  value?: string;
@@ -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,8 +1,8 @@
1
- import { Language } from '../../../shared/entities/tickets';
2
- import * as IShared from '../../../shared/interface';
1
+ import { Language } from "../../../shared/entities/tickets";
2
+ import * as IShared from "../../../shared/interface";
3
3
  export type Entity = Language;
4
4
  export declare const Route = "tickets_language";
5
- export type ICreateRequest = Omit<Entity, 'id'>;
5
+ export type ICreateRequest = Omit<Entity, "id">;
6
6
  export type IUpdateRequest = ICreateRequest;
7
7
  export interface IFindMinifiedRequest {
8
8
  value?: string;
@@ -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,6 +1,6 @@
1
- import { Tickets, Language } from '../../../shared/entities/tickets';
2
- import { IChannel } from '../channel/interfaces';
3
- import * as IShared from '../../../shared/interface';
1
+ import { Language, Tickets } from "../../../shared/entities/tickets";
2
+ import * as IShared from "../../../shared/interface";
3
+ import { IChannel } from "../channel/interfaces";
4
4
  export type Entity = Tickets;
5
5
  export declare const Route = "tickets";
6
6
  export interface ILastTicketCalledToday {
@@ -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,7 +1,7 @@
1
- import * as IShared from '../../../shared/interface';
2
- import type { IChatBalloon } from '../../stock/chat/interfaces';
3
- import type { IDocumentTypeUserType } from '../../supply/documentType/interfaces';
4
- import type * as ChatSubscriber from '../../user/chatSubscribers/interfaces';
1
+ import * as IShared from "../../../shared/interface";
2
+ import type { IChatBalloon } from "../../stock/chat/interfaces";
3
+ import type { IDocumentTypeUserType } from "../../supply/documentType/interfaces";
4
+ import type * as ChatSubscriber from "../../user/chatSubscribers/interfaces";
5
5
  export declare const Route = "portal";
6
6
  export interface ITags {
7
7
  id: string;
@@ -1,4 +1,4 @@
1
- import joi from 'joi';
1
+ import joi from "joi";
2
2
  export declare const publicFindBySubscriberQuery: joi.ObjectSchema<any>;
3
3
  export declare const createNoteBody: joi.ObjectSchema<any>;
4
4
  export declare const updateNoteBody: joi.ObjectSchema<any>;
@@ -1,5 +1,5 @@
1
- import * as IShared from '../../../shared/interface';
2
- import type { IDocumentTypeUserType } from '../../supply/documentType/interfaces';
1
+ import * as IShared from "../../../shared/interface";
2
+ import type { IDocumentTypeUserType } from "../../supply/documentType/interfaces";
3
3
  export declare const Route = "sidemenu";
4
4
  export interface IFindSideMenuCountersResponse {
5
5
  counts: Record<string, number>;
@@ -1,3 +1,3 @@
1
- import joi from 'joi';
1
+ import joi from "joi";
2
2
  export declare const findByDocumentLineStateQuery: joi.ObjectSchema<any>;
3
3
  export declare const findByStateQuery: joi.ObjectSchema<any>;
@@ -1,6 +1,6 @@
1
- import type { SidemenuHightlight } from '../../../shared/entities/stock';
2
- import * as IShared from '../../../shared/interface';
3
- import type { IDocumentTypeUserType } from '../../supply/documentType/interfaces';
1
+ import type { SidemenuHightlight } from "../../../shared/entities/stock";
2
+ import * as IShared from "../../../shared/interface";
3
+ import type { IDocumentTypeUserType } from "../../supply/documentType/interfaces";
4
4
  export declare const Route = "sidemenu_highlight";
5
5
  export type Entity = SidemenuHightlight;
6
6
  export interface IHighlightItem {
@@ -1,3 +1,3 @@
1
- import joi from 'joi';
1
+ import joi from "joi";
2
2
  export declare const findByStoreOperatorIdParam: joi.ObjectSchema<any>;
3
3
  export declare const setStoreOperatorHighlightsBody: joi.ObjectSchema<any>;
@@ -1,18 +1,18 @@
1
- import * as IShared from '../../../shared/interface';
2
- import { BankData, Country, Swift } from '../../../shared/entities/user';
1
+ import { BankData, Country, Swift } from "../../../shared/entities/user";
2
+ import * as IShared from "../../../shared/interface";
3
3
  export type Entity = BankData;
4
4
  export declare const Route = "bank_data";
5
5
  interface IFindDetailedResponse extends Entity {
6
6
  swift: Swift | null;
7
7
  country: Country;
8
8
  }
9
- export type IFindByIdResponse = Omit<IFindDetailedResponse, 'swift' | 'country'>;
10
- export type IFindByOwnerIdResponse = Omit<IFindDetailedResponse, ''>;
9
+ export type IFindByIdResponse = Omit<IFindDetailedResponse, "swift" | "country">;
10
+ export type IFindByOwnerIdResponse = Omit<IFindDetailedResponse, "">;
11
11
  export type IFindRequest = Record<string, unknown>;
12
- export type IFindResponse = Omit<IFindDetailedResponse, 'swift' | 'country'>;
12
+ export type IFindResponse = Omit<IFindDetailedResponse, "swift" | "country">;
13
13
  export interface IFindPaginatedRequest extends IFindRequest, IShared.IPaginationRequest {
14
14
  }
15
- export type IFindWithPaginationResponse = IShared.IPaginationResponse<Omit<IFindDetailedResponse, 'swift' | 'country'>>;
15
+ export type IFindWithPaginationResponse = IShared.IPaginationResponse<Omit<IFindDetailedResponse, "swift" | "country">>;
16
16
  export interface ICreateRequest {
17
17
  provider_id?: string | null;
18
18
  client_id?: string | null;
@@ -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,5 +1,5 @@
1
- import { ChatSubscriber, Persona } from './../../../shared/entities/user';
2
- import * as IShared from '../../../shared/interface';
1
+ import * as IShared from "../../../shared/interface";
2
+ import { ChatSubscriber, Persona } from "./../../../shared/entities/user";
3
3
  export type Entity = ChatSubscriber;
4
4
  export declare const Route = "chat_subscriber";
5
5
  export interface ICreateOrUpdateRequest {
@@ -23,13 +23,13 @@ export interface IFindByEmailTokenRequest {
23
23
  export interface IPublicAuthenticateByEmailTokenRequest {
24
24
  token: string;
25
25
  }
26
- export type IPersona = Pick<Persona, 'id' | 'external' | 'name' | 'email' | 'telephone' | 'language_id'>;
27
- export type IPersonaWithToken = IPersona & Pick<Persona, 'email_access_token'>;
28
- export interface IEntityWithPersona extends Pick<ChatSubscriber, 'id' | 'chat_document_header_id'> {
26
+ export type IPersona = Pick<Persona, "id" | "external" | "name" | "email" | "telephone" | "language_id">;
27
+ export type IPersonaWithToken = IPersona & Pick<Persona, "email_access_token">;
28
+ export interface IEntityWithPersona extends Pick<ChatSubscriber, "id" | "chat_document_header_id"> {
29
29
  persona: IPersonaWithToken;
30
30
  }
31
31
  export interface IEntityWithPersonaAndSubscriptions extends IPersona {
32
- subscriptions: Pick<Entity, 'id' | 'chat_document_header_id'>[];
32
+ subscriptions: Pick<Entity, "id" | "chat_document_header_id">[];
33
33
  }
34
34
  export interface IRepository {
35
35
  findDocumentHeaderSubscribers(selector: IFindDocumentHeaderSubscribersRequest): Promise<IEntityWithPersona[]>;
@@ -1,5 +1,5 @@
1
- import joi from 'joi';
2
- import { type IFindDocumentHeaderSubscribersByLanguageRequest } from './interfaces';
1
+ import joi from "joi";
2
+ import { type IFindDocumentHeaderSubscribersByLanguageRequest } from "./interfaces";
3
3
  export declare const createOrUpdateBody: joi.ObjectSchema<any>;
4
4
  export declare const findDocumentHeaderSubscribersQuery: joi.ObjectSchema<any>;
5
5
  export declare const findDocumentHeaderSubscribersByLanguageQuery: joi.ObjectSchema<IFindDocumentHeaderSubscribersByLanguageRequest>;
@@ -1,14 +1,14 @@
1
- import * as IShared from '../../../shared/interface';
2
- import { ClientType } from '../../../shared/entities/user';
1
+ import { ClientType } from "../../../shared/entities/user";
2
+ import * as IShared from "../../../shared/interface";
3
3
  export type Entity = ClientType;
4
4
  export declare const Route = "client_type";
5
5
  type IFindDetailedResponse = Entity;
6
- export type IFindByIdResponse = Omit<IFindDetailedResponse, ''>;
6
+ export type IFindByIdResponse = Omit<IFindDetailedResponse, "">;
7
7
  export type IFindRequest = Record<string, unknown>;
8
- export type IFindResponse = Omit<IFindDetailedResponse, ''>;
8
+ export type IFindResponse = Omit<IFindDetailedResponse, "">;
9
9
  export interface IFindPaginatedRequest extends IFindRequest, IShared.IPaginationRequest {
10
10
  }
11
- export type IFindWithPaginationResponse = IShared.IPaginationResponse<Omit<IFindDetailedResponse, ''>>;
11
+ export type IFindWithPaginationResponse = IShared.IPaginationResponse<Omit<IFindDetailedResponse, "">>;
12
12
  export interface ICreateRequest {
13
13
  name: string;
14
14
  }
@@ -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,5 +1,5 @@
1
- import * as IShared from '../../../shared/interface';
2
- import { Clients, Users, Country, ReasonForExemption, ClientType, SegmentsArea, Language, Vehicles, DeliveryMethods, MaturityDates, PaymentMethods, Persona } from '../../../shared/entities/user';
1
+ import { Clients, ClientType, Country, DeliveryMethods, Language, MaturityDates, PaymentMethods, Persona, ReasonForExemption, SegmentsArea, Users, Vehicles } from "../../../shared/entities/user";
2
+ import * as IShared from "../../../shared/interface";
3
3
  export type Entity = Clients;
4
4
  export declare const Route = "client";
5
5
  interface IMainPersona extends Persona {
@@ -18,20 +18,16 @@ interface IFindDetailedResponse extends Entity {
18
18
  default_delivery_method: DeliveryMethods | null;
19
19
  default_vehicle: Vehicles | null;
20
20
  }
21
- export type IFindByIdResponse = Omit<IFindDetailedResponse, ''>;
22
- export type IFindByOwnerIdResponse = Omit<IFindDetailedResponse, 'user' | 'main_persona' | 'client_type' | 'segments_area' | 'country' | 'language' | 'default_payment_method' | 'default_maturity_date' | 'default_delivery_method' | 'default_vehicle'>;
21
+ export type IFindByIdResponse = Omit<IFindDetailedResponse, "">;
22
+ export type IFindByOwnerIdResponse = Omit<IFindDetailedResponse, "user" | "main_persona" | "client_type" | "segments_area" | "country" | "language" | "default_payment_method" | "default_maturity_date" | "default_delivery_method" | "default_vehicle">;
23
23
  export interface IFindByQueryRequest {
24
24
  number?: number[];
25
25
  id?: string[];
26
26
  nif?: string | null;
27
27
  }
28
- export interface IFindRequest {
29
- }
30
- export type IFindResponse = Omit<IFindDetailedResponse, ''>;
31
- export interface IFindPaginatedRequest extends IFindRequest, IShared.IPaginationRequest {
32
- }
33
- export type IFindWithPaginationResponse = IShared.IPaginationResponse<Omit<IFindDetailedResponse, ''>>;
34
- export type ICreateMainPersona = Pick<Persona, 'nif' | 'name' | 'email' | 'telephone'>;
28
+ export type IFindResponse = Omit<IFindDetailedResponse, "">;
29
+ export type IFindWithPaginationResponse = IShared.IPaginationResponse<Omit<IFindDetailedResponse, "">>;
30
+ export type ICreateMainPersona = Pick<Persona, "nif" | "name" | "email" | "telephone">;
35
31
  export interface ICreateRequest {
36
32
  user_id?: string;
37
33
  main_persona: ICreateMainPersona;
@@ -73,8 +69,8 @@ export interface IRepository {
73
69
  findByOwnerId(params: IShared.IFindByOwnerIdRequest): Promise<IFindByOwnerIdResponse[]>;
74
70
  findMinified(params?: IShared.IFindMinifiedRequest): Promise<IShared.IFindMinifiedResponse[]>;
75
71
  findByQuery(params: IFindByQueryRequest): Promise<IFindResponse[]>;
76
- find(selector: IFindRequest): Promise<IFindResponse[]>;
77
- findPaginated(selector: IFindPaginatedRequest): Promise<IFindWithPaginationResponse>;
72
+ find(): Promise<IFindResponse[]>;
73
+ findPaginated(selector: IShared.IPaginationRequest): Promise<IFindWithPaginationResponse>;
78
74
  create(data: ICreateRequest): Promise<IFindResponse>;
79
75
  update(selector: IShared.IFindByIdRequest, data: IUpdateRequest): Promise<IFindResponse | null>;
80
76
  deleteOne(selector: IShared.IFindByIdRequest): Promise<IFindResponse | null>;
@@ -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,5 +1,5 @@
1
- import * as IShared from '../../../shared/interface';
2
- import { type Commissioner, type Users, type Country, type Language, type PaymentMethods, type DeliveryMethods, type MaturityDates, type Vehicles, type Persona, type ReasonForExemption } from '../../../shared/entities/user';
1
+ import { type Commissioner, type Country, type DeliveryMethods, type Language, type MaturityDates, type PaymentMethods, type Persona, type ReasonForExemption, type Users, type Vehicles } from "../../../shared/entities/user";
2
+ import * as IShared from "../../../shared/interface";
3
3
  export type Entity = Commissioner;
4
4
  export declare const Route = "commissioner";
5
5
  interface IMainPersona extends Persona {
@@ -16,14 +16,14 @@ interface IFindDetailedResponse extends Entity {
16
16
  default_delivery_method: DeliveryMethods | null;
17
17
  default_vehicle: Vehicles | null;
18
18
  }
19
- export type IFindByIdResponse = Omit<IFindDetailedResponse, ''>;
20
- export type IFindByOwnerIdResponse = Omit<IFindDetailedResponse, 'user' | 'main_persona' | 'country' | 'language' | 'default_payment_method' | 'default_maturity_date' | 'default_delivery_method' | 'default_vehicle'>;
19
+ export type IFindByIdResponse = Omit<IFindDetailedResponse, "">;
20
+ export type IFindByOwnerIdResponse = Omit<IFindDetailedResponse, "user" | "main_persona" | "country" | "language" | "default_payment_method" | "default_maturity_date" | "default_delivery_method" | "default_vehicle">;
21
21
  export type IFindRequest = Record<string, unknown>;
22
- export type IFindResponse = Omit<IFindDetailedResponse, ''>;
22
+ export type IFindResponse = Omit<IFindDetailedResponse, "">;
23
23
  export interface IFindPaginatedRequest extends IFindRequest, IShared.IPaginationRequest {
24
24
  }
25
- export type IFindWithPaginationResponse = IShared.IPaginationResponse<Omit<IFindDetailedResponse, ''>>;
26
- export type ICreateMainPersona = Pick<Persona, 'nif' | 'name' | 'email' | 'telephone'>;
25
+ export type IFindWithPaginationResponse = IShared.IPaginationResponse<Omit<IFindDetailedResponse, "">>;
26
+ export type ICreateMainPersona = Pick<Persona, "nif" | "name" | "email" | "telephone">;
27
27
  export interface ICreateRequest {
28
28
  user_id: string;
29
29
  default_percentage?: number;
@@ -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,16 +1,16 @@
1
- import * as IShared from '../../../shared/interface';
2
- import { Country } from '../../../shared/entities/user';
1
+ import { Country } from "../../../shared/entities/user";
2
+ import * as IShared from "../../../shared/interface";
3
3
  export type Entity = Country;
4
4
  export declare const Route = "country";
5
5
  type IFindDetailedResponse = Entity;
6
- export type IFindByIdResponse = Omit<IFindDetailedResponse, ''>;
6
+ export type IFindByIdResponse = Omit<IFindDetailedResponse, "">;
7
7
  export type IFindRequest = {
8
8
  name?: string;
9
9
  };
10
- export type IFindResponse = Omit<IFindDetailedResponse, ''>;
10
+ export type IFindResponse = Omit<IFindDetailedResponse, "">;
11
11
  export interface IFindPaginatedRequest extends IFindRequest, IShared.IPaginationRequest {
12
12
  }
13
- export type IFindWithPaginationResponse = IShared.IPaginationResponse<Omit<IFindDetailedResponse, ''>>;
13
+ export type IFindWithPaginationResponse = IShared.IPaginationResponse<Omit<IFindDetailedResponse, "">>;
14
14
  export interface ICreateRequest {
15
15
  name: string;
16
16
  alpha2: 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,5 +1,5 @@
1
- import * as IShared from '../../../shared/interface';
2
- import { DeliveryMethods } from '../../../shared/entities/user';
1
+ import { DeliveryMethods } from "../../../shared/entities/user";
2
+ import * as IShared from "../../../shared/interface";
3
3
  export type Entity = DeliveryMethods;
4
4
  export declare const Route = "delivery_methods";
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,5 +1,5 @@
1
- import * as IShared from '../../../shared/interface';
2
- import { Favorites } from '../../../shared/entities/user';
1
+ import { Favorites } from "../../../shared/entities/user";
2
+ import * as IShared from "../../../shared/interface";
3
3
  export type Entity = Favorites;
4
4
  export declare const Route = "favorites";
5
5
  export interface ICreateRequest {
@@ -1,6 +1,6 @@
1
- import joi from 'joi';
2
- import * as IShared from '../../../shared/interface';
3
- import { IFindOneRequest, ICreateRequest } from './interfaces';
1
+ import joi from "joi";
2
+ import * as IShared from "../../../shared/interface";
3
+ import { ICreateRequest, IFindOneRequest } from "./interfaces";
4
4
  export declare const findByUrlQueryKeys: IShared.IRouteRequest<IFindOneRequest>;
5
5
  export declare const findByUrlQuery: joi.ObjectSchema<any>;
6
6
  export declare const createBodyKeys: IShared.IRouteRequest<ICreateRequest>;
@@ -1,14 +1,14 @@
1
- import * as IShared from '../../../shared/interface';
2
- import { Language } from '../../../shared/entities/user';
1
+ import { Language } from "../../../shared/entities/user";
2
+ import * as IShared from "../../../shared/interface";
3
3
  export type Entity = Language;
4
4
  export declare const Route = "language";
5
5
  type IFindDetailedResponse = Entity;
6
- export type IFindByIdResponse = Omit<IFindDetailedResponse, ''>;
6
+ export type IFindByIdResponse = Omit<IFindDetailedResponse, "">;
7
7
  export type IFindRequest = Record<string, unknown>;
8
- export type IFindResponse = Omit<IFindDetailedResponse, ''>;
8
+ export type IFindResponse = Omit<IFindDetailedResponse, "">;
9
9
  export interface IFindPaginatedRequest extends IFindRequest, IShared.IPaginationRequest {
10
10
  }
11
- export type IFindWithPaginationResponse = IShared.IPaginationResponse<Omit<IFindDetailedResponse, ''>>;
11
+ export type IFindWithPaginationResponse = IShared.IPaginationResponse<Omit<IFindDetailedResponse, "">>;
12
12
  export interface ICreateRequest {
13
13
  name: string;
14
14
  native_name: 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,5 +1,5 @@
1
- import * as IShared from '../../../shared/interface';
2
- import { MaturityDates } from '../../../shared/entities/user';
1
+ import { MaturityDates } from "../../../shared/entities/user";
2
+ import * as IShared from "../../../shared/interface";
3
3
  export type Entity = MaturityDates;
4
4
  export declare const Route = "maturity_dates";
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 * as IShared from '../../../shared/interface';
1
+ import * as IShared from "../../../shared/interface";
2
2
  export declare const Route = "password";
3
3
  export interface IForgotPassword {
4
4
  email: string;
@@ -1,4 +1,4 @@
1
- import joi from 'joi';
1
+ import joi from "joi";
2
2
  export declare const forgotBody: joi.ObjectSchema<any>;
3
3
  export declare const resetBody: joi.ObjectSchema<any>;
4
4
  export declare const forgotWithoutMailBody: joi.ObjectSchema<any>;
@@ -1,22 +1,22 @@
1
- import * as IShared from '../../../shared/interface';
2
- import { PaymentMethods } from '../../../shared/entities/user';
1
+ import { PaymentMethods } from "../../../shared/entities/user";
2
+ import * as IShared from "../../../shared/interface";
3
3
  export type Entity = PaymentMethods;
4
4
  export declare const Route = "payment_methods";
5
5
  export declare const PaymentMethodsSaftCodeEnum: {
6
- CC: 'CC';
7
- CD: 'CD';
8
- CH: 'CH';
9
- CI: 'CI';
10
- CO: 'CO';
11
- CS: 'CS';
12
- DE: 'DE';
13
- LC: 'LC';
14
- MB: 'MB';
15
- NU: 'NU';
16
- OU: 'OU';
17
- PR: 'PR';
18
- TB: 'TB';
19
- TR: 'TR';
6
+ CC: "CC";
7
+ CD: "CD";
8
+ CH: "CH";
9
+ CI: "CI";
10
+ CO: "CO";
11
+ CS: "CS";
12
+ DE: "DE";
13
+ LC: "LC";
14
+ MB: "MB";
15
+ NU: "NU";
16
+ OU: "OU";
17
+ PR: "PR";
18
+ TB: "TB";
19
+ TR: "TR";
20
20
  };
21
21
  export type IPaymentMethodsSaftCodeEnum = (typeof PaymentMethodsSaftCodeEnum)[keyof typeof PaymentMethodsSaftCodeEnum];
22
22
  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,5 +1,5 @@
1
- import type * as IShared from '../../../shared/interface';
2
- import type { Persona, Country, ReasonForExemption } from '../../../shared/entities/user';
1
+ import type { Country, Persona, ReasonForExemption } from "../../../shared/entities/user";
2
+ import type * as IShared from "../../../shared/interface";
3
3
  export type Entity = Persona;
4
4
  export declare const Route = "persona";
5
5
  export interface IEntityExtended extends Entity {
@@ -98,7 +98,7 @@ export interface IFindClientOrProviderRequest {
98
98
  nif?: string | null;
99
99
  email?: string | null;
100
100
  telephone?: string | null;
101
- user_type: 'client' | 'provider';
101
+ user_type: "client" | "provider";
102
102
  }
103
103
  export interface IFindClientOrProviderResponse {
104
104
  client_id: string | null;
@@ -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>;