@nomalism-com/types 1.1.2 → 1.1.3

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 (237) hide show
  1. package/dist/index.d.ts +2 -0
  2. package/dist/main.d.ts +226 -0
  3. package/dist/modules/document/billOfLading/interfaces.d.ts +22 -0
  4. package/dist/modules/document/billOfLading/route.schema.d.ts +2 -0
  5. package/dist/modules/document/inventario/interface.d.ts +15 -0
  6. package/dist/modules/document/inventario/route.schema.d.ts +2 -0
  7. package/dist/modules/document/materialEntrance/interfaces.d.ts +134 -0
  8. package/dist/modules/document/materialEntrance/route.schema.d.ts +7 -0
  9. package/dist/modules/document/order/interfaces.d.ts +113 -0
  10. package/dist/modules/document/order/route.schema.d.ts +9 -0
  11. package/dist/modules/document/productionOrder/interfaces.d.ts +9 -0
  12. package/dist/modules/document/productionOrder/route.schema.d.ts +2 -0
  13. package/dist/modules/document/proforma/interfaces.d.ts +12 -0
  14. package/dist/modules/document/proforma/route.schema.d.ts +3 -0
  15. package/dist/modules/document/propostaFornecedor/interfaces.d.ts +13 -0
  16. package/dist/modules/document/propostaFornecedor/route.schema.d.ts +2 -0
  17. package/dist/modules/document/propostaSheets/interface.d.ts +74 -0
  18. package/dist/modules/document/propostaSheets/route.schema.d.ts +6 -0
  19. package/dist/modules/document/providerCreditNoteFromReturn/interfaces.d.ts +38 -0
  20. package/dist/modules/document/providerCreditNoteFromReturn/route.schema.d.ts +3 -0
  21. package/dist/modules/document/providerFinancialCreditNote/interfaces.d.ts +27 -0
  22. package/dist/modules/document/providerFinancialCreditNote/route.schema.d.ts +3 -0
  23. package/dist/modules/document/providerServiceInvoice/interfaces.d.ts +16 -0
  24. package/dist/modules/document/providerServiceInvoice/route.schema.d.ts +2 -0
  25. package/dist/modules/document/purchase/interfaces.d.ts +91 -0
  26. package/dist/modules/document/purchase/route.schema.d.ts +4 -0
  27. package/dist/modules/document/quebra/interfaces.d.ts +36 -0
  28. package/dist/modules/document/quebra/route.schema.d.ts +3 -0
  29. package/dist/modules/document/returnToProvider/interface.d.ts +40 -0
  30. package/dist/modules/document/returnToProvider/route.schema.d.ts +2 -0
  31. package/dist/modules/document/transformado/interfaces.d.ts +19 -0
  32. package/dist/modules/document/transformado/route.schema.d.ts +2 -0
  33. package/dist/modules/document/upfrontReturn/interfaces.d.ts +12 -0
  34. package/dist/modules/document/upfrontReturn/route.schema.d.ts +2 -0
  35. package/dist/modules/documentManagement/multimedia/interfaces.d.ts +16 -0
  36. package/dist/modules/documentManagement/multimedia/route.schema.d.ts +2 -0
  37. package/dist/modules/integration/emailLog/interfaces.d.ts +85 -0
  38. package/dist/modules/integration/emailLog/route.schema.d.ts +4 -0
  39. package/dist/modules/integration/emailTemplate/interfaces.d.ts +46 -0
  40. package/dist/modules/integration/emailTemplate/route.schema.d.ts +4 -0
  41. package/dist/modules/integration/emailTemplateAttachment/interfaces.d.ts +17 -0
  42. package/dist/modules/integration/emailTemplateAttachment/route.schema.d.ts +2 -0
  43. package/dist/modules/integration/emailVerification/interfaces.d.ts +23 -0
  44. package/dist/modules/integration/emailVerification/route.schema.d.ts +5 -0
  45. package/dist/modules/integration/googleFilePermission/interfaces.d.ts +26 -0
  46. package/dist/modules/integration/googleFilePermission/route.schema.d.ts +5 -0
  47. package/dist/modules/integration/googleSheets/interfaces.d.ts +54 -0
  48. package/dist/modules/integration/googleSheets/route.schema.d.ts +4 -0
  49. package/dist/modules/integration/observation/interfaces.d.ts +45 -0
  50. package/dist/modules/integration/observation/route.schema.d.ts +5 -0
  51. package/dist/modules/integration/observationType/interfaces.d.ts +27 -0
  52. package/dist/modules/integration/observationType/route.schema.d.ts +7 -0
  53. package/dist/modules/integration/projectInfo/interfaces.d.ts +16 -0
  54. package/dist/modules/integration/projectInfo/route.schema.d.ts +2 -0
  55. package/dist/modules/integration/settings/interfaces.d.ts +25 -0
  56. package/dist/modules/integration/settings/route.schema.d.ts +4 -0
  57. package/dist/modules/print/npc/interfaces.d.ts +30 -0
  58. package/dist/modules/print/npc/route.schema.d.ts +3 -0
  59. package/dist/modules/print/printer/interfaces.d.ts +38 -0
  60. package/dist/modules/print/printer/route.schema.d.ts +4 -0
  61. package/dist/modules/print/schedulePrintJob/interfaces.d.ts +39 -0
  62. package/dist/modules/print/schedulePrintJob/route.schema.d.ts +5 -0
  63. package/dist/modules/stock/chat/interfaces.d.ts +61 -0
  64. package/dist/modules/stock/chat/route.schema.d.ts +3 -0
  65. package/dist/modules/stock/chatRapidMessage/interface.d.ts +26 -0
  66. package/dist/modules/stock/chatRapidMessage/route.schema.d.ts +3 -0
  67. package/dist/modules/stock/dashboard/interface.d.ts +22 -0
  68. package/dist/modules/stock/dashboard/route.schema.d.ts +2 -0
  69. package/dist/modules/stock/file/interface.d.ts +32 -0
  70. package/dist/modules/stock/file/route.schema.d.ts +5 -0
  71. package/dist/modules/stock/location/interface.d.ts +58 -0
  72. package/dist/modules/stock/location/route.schema.d.ts +5 -0
  73. package/dist/modules/stock/prison/interface.d.ts +49 -0
  74. package/dist/modules/stock/prison/route.schema.d.ts +4 -0
  75. package/dist/modules/stock/productGoogleSheets/interface.d.ts +237 -0
  76. package/dist/modules/stock/productGoogleSheets/route.schema.d.ts +13 -0
  77. package/dist/modules/stock/productImage/interface.d.ts +44 -0
  78. package/dist/modules/stock/productImage/route.schema.d.ts +5 -0
  79. package/dist/modules/stock/promotion/interface.d.ts +42 -0
  80. package/dist/modules/stock/promotion/route.schema.d.ts +5 -0
  81. package/dist/modules/stock/promotionAssoc/interface.d.ts +40 -0
  82. package/dist/modules/stock/promotionAssoc/route.schema.d.ts +5 -0
  83. package/dist/modules/stock/queryList/interfaces.d.ts +44 -0
  84. package/dist/modules/stock/queryList/route.schema.d.ts +7 -0
  85. package/dist/modules/stock/queryParameter/interfaces.d.ts +51 -0
  86. package/dist/modules/stock/queryParameter/route.schema.d.ts +3 -0
  87. package/dist/modules/stock/recurrentTasks/interface.d.ts +9 -0
  88. package/dist/modules/stock/returnReason/interfaces.d.ts +19 -0
  89. package/dist/modules/stock/returnReason/route.schema.d.ts +3 -0
  90. package/dist/modules/stock/savedEmPicking/interfaces.d.ts +27 -0
  91. package/dist/modules/stock/savedEmPicking/route.schema.d.ts +5 -0
  92. package/dist/modules/stock/savedProviderProposal/interfaces.d.ts +23 -0
  93. package/dist/modules/stock/savedProviderProposal/route.schema.d.ts +3 -0
  94. package/dist/modules/stock/sideMenu/interface.d.ts +37 -0
  95. package/dist/modules/stock/sideMenu/route.schema.d.ts +3 -0
  96. package/dist/modules/stock/stockMovement/interface.d.ts +49 -0
  97. package/dist/modules/stock/stockMovement/route.schema.d.ts +3 -0
  98. package/dist/modules/stock/task/interface.d.ts +82 -0
  99. package/dist/modules/stock/task/route.schema.d.ts +4 -0
  100. package/dist/modules/stock/taskMessage/interface.d.ts +14 -0
  101. package/dist/modules/stock/taskMessage/route.schema.d.ts +3 -0
  102. package/dist/modules/stock/taskRead/interface.d.ts +13 -0
  103. package/dist/modules/stock/taskRead/route.schema.d.ts +3 -0
  104. package/dist/modules/stock/typeOfLocation/interface.d.ts +32 -0
  105. package/dist/modules/stock/typeOfLocation/route.schema.d.ts +5 -0
  106. package/dist/modules/stock/unitOfMeasure/interface.d.ts +42 -0
  107. package/dist/modules/stock/unitOfMeasure/route.schema.d.ts +5 -0
  108. package/dist/modules/stock/vatTax/interface.d.ts +34 -0
  109. package/dist/modules/stock/vatTax/route.schema.d.ts +5 -0
  110. package/dist/modules/stock/vatTaxZone/interface.d.ts +42 -0
  111. package/dist/modules/stock/vatTaxZone/route.schema.d.ts +5 -0
  112. package/dist/modules/stock/vatValidation/interfaces.d.ts +8 -0
  113. package/dist/modules/stock/vatValidation/route.schema.d.ts +2 -0
  114. package/dist/modules/stock/workflow/interfaces.d.ts +45 -0
  115. package/dist/modules/stock/workflow/route.schema.d.ts +4 -0
  116. package/dist/modules/supply/batch/interface.d.ts +0 -0
  117. package/dist/modules/supply/documentHeader/interfaces.d.ts +364 -0
  118. package/dist/modules/supply/documentHeader/route.schema.d.ts +15 -0
  119. package/dist/modules/supply/documentLine/interfaces.d.ts +145 -0
  120. package/dist/modules/supply/documentLine/route.schema.d.ts +9 -0
  121. package/dist/modules/supply/documentLineAssoc/interfaces.d.ts +34 -0
  122. package/dist/modules/supply/documentLineAssoc/route.schema.d.ts +3 -0
  123. package/dist/modules/supply/documentLineMT/interface.d.ts +19 -0
  124. package/dist/modules/supply/documentLineMT/route.schema.d.ts +2 -0
  125. package/dist/modules/supply/documentLineNote/interfaces.d.ts +33 -0
  126. package/dist/modules/supply/documentLineNote/route.schema.d.ts +6 -0
  127. package/dist/modules/supply/documentLineRM/interface.d.ts +25 -0
  128. package/dist/modules/supply/documentLineRM/route.schema.d.ts +2 -0
  129. package/dist/modules/supply/documentSet/interface.d.ts +27 -0
  130. package/dist/modules/supply/documentSet/route.schema.d.ts +3 -0
  131. package/dist/modules/supply/documentType/interfaces.d.ts +131 -0
  132. package/dist/modules/supply/documentType/route.schema.d.ts +3 -0
  133. package/dist/modules/supply/externalDocumentHeader/interface.d.ts +92 -0
  134. package/dist/modules/supply/externalDocumentHeader/route.schema.d.ts +8 -0
  135. package/dist/modules/supply/externalDocumentType/interface.d.ts +11 -0
  136. package/dist/modules/supply/orderManagement/interface.d.ts +41 -0
  137. package/dist/modules/supply/orderManagement/route.schema.d.ts +0 -0
  138. package/dist/modules/supply/payment/interface.d.ts +164 -0
  139. package/dist/modules/supply/payment/route.schema.d.ts +11 -0
  140. package/dist/modules/supply/preSale/interface.d.ts +71 -0
  141. package/dist/modules/supply/preSale/route.schema.d.ts +8 -0
  142. package/dist/modules/supply/preSaleProduct/interface.d.ts +12 -0
  143. package/dist/modules/supply/preSaleProduct/route.schema.d.ts +2 -0
  144. package/dist/modules/supply/schedule/interface.d.ts +23 -0
  145. package/dist/modules/supply/schedule/route.schema.d.ts +2 -0
  146. package/dist/modules/supply/startDocumentHeaderLastUpdate/interface.d.ts +10 -0
  147. package/dist/modules/tickets/channel/interfaces.d.ts +29 -0
  148. package/dist/modules/tickets/channel/route.schema.d.ts +3 -0
  149. package/dist/modules/tickets/clt/interfaces.d.ts +20 -0
  150. package/dist/modules/tickets/clt/route.schema.d.ts +3 -0
  151. package/dist/modules/tickets/language/interfaces.d.ts +20 -0
  152. package/dist/modules/tickets/language/route.schema.d.ts +3 -0
  153. package/dist/modules/tickets/tickets/interfaces.d.ts +68 -0
  154. package/dist/modules/tickets/tickets/route.schema.d.ts +3 -0
  155. package/dist/modules/user/bankData/interface.d.ts +42 -0
  156. package/dist/modules/user/bankData/route.schema.d.ts +5 -0
  157. package/dist/modules/user/chatSubscribers/interfaces.d.ts +25 -0
  158. package/dist/modules/user/chatSubscribers/route.schema.d.ts +2 -0
  159. package/dist/modules/user/clientType/interface.d.ts +30 -0
  160. package/dist/modules/user/clientType/route.schema.d.ts +6 -0
  161. package/dist/modules/user/clients/interface.d.ts +86 -0
  162. package/dist/modules/user/clients/route.schema.d.ts +5 -0
  163. package/dist/modules/user/commissioner/interface.d.ts +64 -0
  164. package/dist/modules/user/commissioner/route.schema.d.ts +5 -0
  165. package/dist/modules/user/country/interface.d.ts +35 -0
  166. package/dist/modules/user/country/route.schema.d.ts +5 -0
  167. package/dist/modules/user/deliveryMethods/interfaces.d.ts +23 -0
  168. package/dist/modules/user/deliveryMethods/route.schema.d.ts +3 -0
  169. package/dist/modules/user/favorites/interfaces.d.ts +22 -0
  170. package/dist/modules/user/favorites/route.schema.d.ts +8 -0
  171. package/dist/modules/user/groupPermissions/interface.d.ts +25 -0
  172. package/dist/modules/user/groupPermissions/route.schema.d.ts +2 -0
  173. package/dist/modules/user/language/interface.d.ts +30 -0
  174. package/dist/modules/user/language/route.schema.d.ts +5 -0
  175. package/dist/modules/user/maturityDates/interfaces.d.ts +25 -0
  176. package/dist/modules/user/maturityDates/route.schema.d.ts +3 -0
  177. package/dist/modules/user/password/interfaces.d.ts +15 -0
  178. package/dist/modules/user/password/route.schema.d.ts +3 -0
  179. package/dist/modules/user/paymentMethods/interfaces.d.ts +49 -0
  180. package/dist/modules/user/paymentMethods/route.schema.d.ts +3 -0
  181. package/dist/modules/user/permissions/interface.d.ts +25 -0
  182. package/dist/modules/user/permissions/route.schema.d.ts +2 -0
  183. package/dist/modules/user/persona/interface.d.ts +113 -0
  184. package/dist/modules/user/persona/route.schema.d.ts +7 -0
  185. package/dist/modules/user/providerType/interface.d.ts +30 -0
  186. package/dist/modules/user/providerType/route.schema.d.ts +5 -0
  187. package/dist/modules/user/providers/interface.d.ts +82 -0
  188. package/dist/modules/user/providers/route.schema.d.ts +5 -0
  189. package/dist/modules/user/purchaseConditions/interface.d.ts +37 -0
  190. package/dist/modules/user/purchaseConditions/route.schema.d.ts +5 -0
  191. package/dist/modules/user/reasonForExemption/interface.d.ts +34 -0
  192. package/dist/modules/user/reasonForExemption/route.schema.d.ts +5 -0
  193. package/dist/modules/user/refreshToken/interface.d.ts +15 -0
  194. package/dist/modules/user/refreshToken/route.schema.d.ts +2 -0
  195. package/dist/modules/user/segmentsArea/interface.d.ts +32 -0
  196. package/dist/modules/user/segmentsArea/route.schema.d.ts +5 -0
  197. package/dist/modules/user/sessions/interface.d.ts +19 -0
  198. package/dist/modules/user/sessions/route.schema.d.ts +2 -0
  199. package/dist/modules/user/shippings/interface.d.ts +38 -0
  200. package/dist/modules/user/shippings/route.schema.d.ts +5 -0
  201. package/dist/modules/user/storeOperator/interface.d.ts +74 -0
  202. package/dist/modules/user/storeOperator/route.schema.d.ts +7 -0
  203. package/dist/modules/user/swift/interface.d.ts +38 -0
  204. package/dist/modules/user/swift/route.schema.d.ts +5 -0
  205. package/dist/modules/user/tenant/interface.d.ts +49 -0
  206. package/dist/modules/user/tenant/route.schema.d.ts +3 -0
  207. package/dist/modules/user/theme/interfaces.d.ts +18 -0
  208. package/dist/modules/user/theme/route.schema.d.ts +2 -0
  209. package/dist/modules/user/userPermissions/interface.d.ts +23 -0
  210. package/dist/modules/user/userPermissions/route.schema.d.ts +2 -0
  211. package/dist/modules/user/userPositions/interface.d.ts +30 -0
  212. package/dist/modules/user/userPositions/route.schema.d.ts +5 -0
  213. package/dist/modules/user/userTokens/interface.d.ts +30 -0
  214. package/dist/modules/user/userTokens/route.schema.d.ts +3 -0
  215. package/dist/modules/user/users/interface.d.ts +114 -0
  216. package/dist/modules/user/users/route.schema.d.ts +7 -0
  217. package/dist/modules/user/vehicles/interfaces.d.ts +25 -0
  218. package/dist/modules/user/vehicles/route.schema.d.ts +3 -0
  219. package/dist/modules/user/zipCode/interfaces.d.ts +23 -0
  220. package/dist/modules/user/zipCode/route.schema.d.ts +3 -0
  221. package/dist/modules/view/adminPanel/interfaces.d.ts +140 -0
  222. package/dist/modules/view/errorLog/interfaces.d.ts +30 -0
  223. package/dist/modules/view/errorLog/route.schema.d.ts +2 -0
  224. package/dist/shared/entities/documentManagement.d.ts +15 -0
  225. package/dist/shared/entities/integration.d.ts +127 -0
  226. package/dist/shared/entities/print.d.ts +46 -0
  227. package/dist/shared/entities/stock.d.ts +1059 -0
  228. package/dist/shared/entities/tickets.d.ts +78 -0
  229. package/dist/shared/entities/user.d.ts +507 -0
  230. package/dist/shared/errors/documentManagementErrors.d.ts +14 -0
  231. package/dist/shared/errors/integrationErrors.d.ts +45 -0
  232. package/dist/shared/errors/stockErrors.d.ts +267 -0
  233. package/dist/shared/errors/userErrors.d.ts +104 -0
  234. package/dist/shared/errors/viewErrors.d.ts +7 -0
  235. package/dist/shared/interface.d.ts +343 -0
  236. package/dist/shared/messages.d.ts +2 -0
  237. package/package.json +2 -2
@@ -0,0 +1,78 @@
1
+ /**
2
+ * Model Tickets
3
+ *
4
+ */
5
+ export type Tickets = {
6
+ id: string;
7
+ number: number;
8
+ channel_id: number;
9
+ who_attended: string | null;
10
+ attended_at: Date | null;
11
+ language_id: number;
12
+ created_by: string;
13
+ updated_by: string | null;
14
+ created_at: Date;
15
+ updated_at: Date;
16
+ };
17
+ /**
18
+ * Model Channel
19
+ *
20
+ */
21
+ export type Channel = {
22
+ id: number;
23
+ key: string;
24
+ order: number;
25
+ color: string;
26
+ text_color: string;
27
+ disabled_color: string;
28
+ created_by: string;
29
+ updated_by: string | null;
30
+ created_at: Date;
31
+ updated_at: Date;
32
+ };
33
+ /**
34
+ * Model Language
35
+ *
36
+ */
37
+ export type Language = {
38
+ id: number;
39
+ name: string;
40
+ alpha2: string;
41
+ lang: string;
42
+ voice_name: string;
43
+ ssml: string;
44
+ call_text: string;
45
+ created_by: string;
46
+ updated_by: string | null;
47
+ order: number;
48
+ created_at: Date;
49
+ updated_at: Date;
50
+ };
51
+ /**
52
+ * Model Translation
53
+ *
54
+ */
55
+ export type Translation = {
56
+ id: number;
57
+ key: string;
58
+ created_by: string;
59
+ updated_by: string | null;
60
+ created_at: Date;
61
+ updated_at: Date;
62
+ };
63
+ /**
64
+ * Model CLT
65
+ *
66
+ */
67
+ export type CLT = {
68
+ id: number;
69
+ channel_id: number;
70
+ language_id: number;
71
+ translation_id: number;
72
+ name: string;
73
+ text: string;
74
+ created_by: string;
75
+ updated_by: string | null;
76
+ created_at: Date;
77
+ updated_at: Date;
78
+ };
@@ -0,0 +1,507 @@
1
+ import { IPaymentMethodsSaftCodeEnum } from '../../modules/user/paymentMethods/interfaces';
2
+ import type { IChatType } from '../../modules/stock/chat/interfaces';
3
+ /**
4
+ * Model Users
5
+ *
6
+ */
7
+ export type Users = {
8
+ id: string;
9
+ account: string | null;
10
+ password: string | null;
11
+ created_at: Date;
12
+ updated_at: Date;
13
+ created_by: string;
14
+ updated_by: string;
15
+ origin_id: string | null;
16
+ };
17
+ /**
18
+ * Model UserTokens
19
+ *
20
+ */
21
+ export type UserTokens = {
22
+ id: string;
23
+ token: string;
24
+ user_id: string;
25
+ consumed: boolean;
26
+ created_at: Date;
27
+ updated_at: Date;
28
+ created_by: string;
29
+ updated_by: string;
30
+ };
31
+ /**
32
+ * Model Favorites
33
+ *
34
+ */
35
+ export type Favorites = {
36
+ id: string;
37
+ user_id: string;
38
+ url: string;
39
+ created_at: Date;
40
+ updated_at: Date;
41
+ };
42
+ /**
43
+ * Model Permissions
44
+ *
45
+ */
46
+ export type Permissions = {
47
+ id: number;
48
+ code: string;
49
+ description: string;
50
+ enable: boolean;
51
+ created_at: Date;
52
+ updated_at: Date;
53
+ created_by: string;
54
+ updated_by: string;
55
+ };
56
+ /**
57
+ * Model GroupPermissions
58
+ *
59
+ */
60
+ export type GroupPermissions = {
61
+ id: number;
62
+ code: string;
63
+ description: string;
64
+ enable: boolean;
65
+ created_at: Date;
66
+ updated_at: Date;
67
+ created_by: string;
68
+ updated_by: string;
69
+ };
70
+ /**
71
+ * Model UserPermissions
72
+ *
73
+ */
74
+ export type UserPermissions = {
75
+ id: number;
76
+ user_id: string;
77
+ group_id: number;
78
+ permission_id: number;
79
+ created_at: Date;
80
+ updated_at: Date;
81
+ created_by: string;
82
+ updated_by: string;
83
+ };
84
+ /**
85
+ * Model Providers
86
+ *
87
+ */
88
+ export type Providers = {
89
+ id: string;
90
+ chat_type: IChatType;
91
+ user_id: string;
92
+ main_persona_id: string;
93
+ contact_persona_id: string;
94
+ number: number;
95
+ country_id: string | null;
96
+ language_id: string | null;
97
+ support_language_id: string | null;
98
+ provider_type_id: string | null;
99
+ inactive: boolean;
100
+ manufacturer: boolean;
101
+ default_payment_method_id: string | null;
102
+ default_maturity_date_id: string | null;
103
+ default_delivery_method_id: string | null;
104
+ default_vehicle_id: string | null;
105
+ default_discount: number;
106
+ created_at: Date;
107
+ updated_at: Date;
108
+ created_by: string;
109
+ updated_by: string;
110
+ origin_id: string | null;
111
+ };
112
+ /**
113
+ * Model ProviderType
114
+ *
115
+ */
116
+ export type ProviderType = {
117
+ id: string;
118
+ name: string;
119
+ created_at: Date;
120
+ updated_at: Date;
121
+ created_by: string;
122
+ updated_by: string;
123
+ origin_id: string | null;
124
+ };
125
+ /**
126
+ * Model Country
127
+ *
128
+ */
129
+ export type Country = {
130
+ id: string;
131
+ name: string;
132
+ alpha2: string;
133
+ created_at: Date;
134
+ updated_at: Date;
135
+ created_by: string;
136
+ updated_by: string;
137
+ origin_id: string | null;
138
+ };
139
+ /**
140
+ * Model Language
141
+ *
142
+ */
143
+ export type Language = {
144
+ id: string;
145
+ name: string;
146
+ created_at: Date;
147
+ updated_at: Date;
148
+ created_by: string;
149
+ updated_by: string;
150
+ origin_id: string | null;
151
+ };
152
+ /**
153
+ * Model Clients
154
+ *
155
+ */
156
+ export type Clients = {
157
+ id: string;
158
+ user_id: string;
159
+ chat_type: IChatType;
160
+ main_persona_id: string;
161
+ contact_persona_id: string;
162
+ number: number;
163
+ country_id: string | null;
164
+ language_id: string | null;
165
+ client_type_id: string | null;
166
+ newsletter: boolean;
167
+ inactive: boolean;
168
+ segments_area_id: string | null;
169
+ default_discount: number;
170
+ default_payment_method_id: string | null;
171
+ default_maturity_date_id: string | null;
172
+ default_delivery_method_id: string | null;
173
+ default_vehicle_id: string | null;
174
+ deferred_payment: boolean;
175
+ origin_id: string | null;
176
+ created_at: Date;
177
+ updated_at: Date;
178
+ created_by: string;
179
+ updated_by: string;
180
+ };
181
+ /**
182
+ * Model ClientType
183
+ *
184
+ */
185
+ export type ClientType = {
186
+ id: string;
187
+ name: string;
188
+ created_at: Date;
189
+ updated_at: Date;
190
+ created_by: string;
191
+ updated_by: string;
192
+ origin_id: string | null;
193
+ };
194
+ /**
195
+ * Model SegmentsArea
196
+ *
197
+ */
198
+ export type SegmentsArea = {
199
+ id: string;
200
+ type: string;
201
+ name: string;
202
+ created_at: Date;
203
+ updated_at: Date;
204
+ created_by: string;
205
+ updated_by: string;
206
+ origin_id: string | null;
207
+ };
208
+ /**
209
+ * Model PurchaseConditions
210
+ *
211
+ */
212
+ export type PurchaseConditions = {
213
+ id: string;
214
+ provider_id: string;
215
+ discount: string;
216
+ deadline: string;
217
+ minimum_quantity: string;
218
+ created_at: Date;
219
+ updated_at: Date;
220
+ created_by: string;
221
+ updated_by: string;
222
+ origin_id: string | null;
223
+ };
224
+ /**
225
+ * Model Shippings
226
+ *
227
+ */
228
+ export type Shippings = {
229
+ id: string;
230
+ provider_id: string;
231
+ type: string;
232
+ quantity: string;
233
+ value: string;
234
+ unit: string;
235
+ created_at: Date;
236
+ updated_at: Date;
237
+ created_by: string;
238
+ updated_by: string;
239
+ origin_id: string | null;
240
+ };
241
+ /**
242
+ * Model Commissioner
243
+ *
244
+ */
245
+ export type Commissioner = {
246
+ id: string;
247
+ user_id: string;
248
+ chat_type: IChatType;
249
+ main_persona_id: string;
250
+ contact_persona_id: string;
251
+ number: number;
252
+ country_id: string | null;
253
+ language_id: string | null;
254
+ default_percentage: number;
255
+ inactive: boolean;
256
+ default_payment_method_id: string | null;
257
+ default_maturity_date_id: string | null;
258
+ default_delivery_method_id: string | null;
259
+ default_vehicle_id: string | null;
260
+ created_at: Date;
261
+ updated_at: Date;
262
+ created_by: string;
263
+ updated_by: string;
264
+ origin_id: string | null;
265
+ };
266
+ /**
267
+ * Model BankData
268
+ *
269
+ */
270
+ export type BankData = {
271
+ id: string;
272
+ provider_id: string | null;
273
+ client_id: string | null;
274
+ store_operator_id: string | null;
275
+ commissioner_id: string | null;
276
+ iban: string;
277
+ swift_id: string | null;
278
+ country_id: string;
279
+ created_at: Date;
280
+ updated_at: Date;
281
+ created_by: string;
282
+ updated_by: string;
283
+ origin_id: string | null;
284
+ notes: string | null;
285
+ };
286
+ /**
287
+ * Model Swift
288
+ *
289
+ */
290
+ export type Swift = {
291
+ id: string;
292
+ bank: string;
293
+ city: string;
294
+ branch: string | null;
295
+ code: string;
296
+ country_id: string;
297
+ created_at: Date;
298
+ updated_at: Date;
299
+ created_by: string;
300
+ updated_by: string;
301
+ origin_id: string | null;
302
+ };
303
+ /**
304
+ * Model ReasonForExemption
305
+ *
306
+ */
307
+ export type ReasonForExemption = {
308
+ id: string;
309
+ name: string;
310
+ description: string;
311
+ saft_code: string;
312
+ created_at: Date;
313
+ updated_at: Date;
314
+ created_by: string;
315
+ updated_by: string;
316
+ origin_id: string | null;
317
+ };
318
+ /**
319
+ * Model StoreOperator
320
+ *
321
+ */
322
+ export type StoreOperator = {
323
+ id: string;
324
+ user_id: string;
325
+ chat_type: IChatType;
326
+ user_position_id: string | null;
327
+ number: number;
328
+ internal_email: string | null;
329
+ support_language_id: string | null;
330
+ main_persona_id: string;
331
+ contact_persona_id: string;
332
+ pin: string;
333
+ location_id: string;
334
+ inactive: boolean;
335
+ created_at: Date;
336
+ updated_at: Date;
337
+ created_by: string;
338
+ updated_by: string;
339
+ origin_id: string | null;
340
+ };
341
+ /**
342
+ * Model UserPositions
343
+ *
344
+ */
345
+ export type UserPositions = {
346
+ id: string;
347
+ name: string;
348
+ created_at: Date;
349
+ updated_at: Date;
350
+ created_by: string;
351
+ updated_by: string;
352
+ origin_id: string | null;
353
+ };
354
+ /**
355
+ * Model PaymentMethods
356
+ *
357
+ */
358
+ export type PaymentMethods = {
359
+ id: string;
360
+ payment_method_id: number | null;
361
+ name: string;
362
+ hidden: boolean | null;
363
+ is_numerary: boolean;
364
+ is_mb: boolean;
365
+ is_credit: boolean;
366
+ saft_code: IPaymentMethodsSaftCodeEnum;
367
+ created_at: Date;
368
+ updated_at: Date;
369
+ created_by: string;
370
+ updated_by: string;
371
+ };
372
+ /**
373
+ * Model DeliveryMethods
374
+ *
375
+ */
376
+ export type DeliveryMethods = {
377
+ id: string;
378
+ delivery_method_id: number | null;
379
+ name: string;
380
+ created_at: Date;
381
+ updated_at: Date;
382
+ created_by: string;
383
+ updated_by: string;
384
+ };
385
+ /**
386
+ * Model MaturityDates
387
+ *
388
+ */
389
+ export type MaturityDates = {
390
+ id: string;
391
+ maturity_date_id: number | null;
392
+ name: string;
393
+ days: number;
394
+ created_at: Date;
395
+ updated_at: Date;
396
+ created_by: string;
397
+ updated_by: string;
398
+ };
399
+ /**
400
+ * Model Vehicles
401
+ *
402
+ */
403
+ export type Vehicles = {
404
+ id: string;
405
+ vehicle_id: number | null;
406
+ description: string;
407
+ number_plate: string;
408
+ created_at: Date;
409
+ updated_at: Date;
410
+ created_by: string;
411
+ updated_by: string;
412
+ };
413
+ /**
414
+ * Model ZipCode
415
+ *
416
+ */
417
+ export type ZipCode = {
418
+ id: string;
419
+ postal_code: string;
420
+ address: string;
421
+ locality: string;
422
+ parish: string;
423
+ county: string;
424
+ county_code: number;
425
+ district: string;
426
+ latitude: string;
427
+ longitude: string;
428
+ };
429
+ /**
430
+ * Model Tenant
431
+ *
432
+ */
433
+ export type Tenant = {
434
+ id: string;
435
+ customer_id: string;
436
+ name: string;
437
+ taxpayer_number: string;
438
+ commercial_registration_number: number | null;
439
+ share_capital: number | null;
440
+ conservatory: string | null;
441
+ logo: string | null;
442
+ email: string;
443
+ address: string;
444
+ postal_code: string;
445
+ locality: string;
446
+ country: string;
447
+ Timezone: string | null;
448
+ telephone: string | null;
449
+ fax: string | null;
450
+ website: string | null;
451
+ created_at: Date;
452
+ updated_at: Date;
453
+ created_by: string;
454
+ updated_by: string;
455
+ };
456
+ /**
457
+ * Model Persona
458
+ *
459
+ */
460
+ export type Persona = {
461
+ id: string;
462
+ name: string | null;
463
+ nif: string | null;
464
+ telephone: string | null;
465
+ email: string | null;
466
+ observations: string | null;
467
+ street: string | null;
468
+ postal_code: string | null;
469
+ locality: string | null;
470
+ country_id: string | null;
471
+ reason_for_exemption_id: string | null;
472
+ provider_id: string | null;
473
+ client_id: string | null;
474
+ commissioner_id: string | null;
475
+ store_operator_id: string | null;
476
+ created_at: Date;
477
+ updated_at: Date;
478
+ created_by: string;
479
+ updated_by: string;
480
+ };
481
+ /**
482
+ * Model Theme
483
+ *
484
+ */
485
+ export type Theme = {
486
+ id: string;
487
+ colors: unknown;
488
+ store_operator_id: string;
489
+ created_at: Date;
490
+ updated_at: Date;
491
+ created_by: string;
492
+ updated_by: string;
493
+ };
494
+ /**
495
+ * Model ChatSubscriber
496
+ *
497
+ */
498
+ export type ChatSubscriber = {
499
+ id: string;
500
+ persona_id: string;
501
+ owner_id: string;
502
+ document_header_id: string;
503
+ created_at: Date;
504
+ updated_at: Date;
505
+ created_by: string;
506
+ updated_by: string;
507
+ };
@@ -0,0 +1,14 @@
1
+ declare const _default: {
2
+ moduleUser: {
3
+ tokenExpired: string;
4
+ jwtNotFound: string;
5
+ jwtInvalid: string;
6
+ };
7
+ moduleMultimedia: {
8
+ notFound: string;
9
+ noUpload: string;
10
+ notDeleted: string;
11
+ fileNotFound: string;
12
+ };
13
+ };
14
+ export default _default;
@@ -0,0 +1,45 @@
1
+ declare const _default: {
2
+ moduleUser: {
3
+ informAvatar: string;
4
+ userAvatarNotFound: string;
5
+ tokenExpired: string;
6
+ jwtNotExists: string;
7
+ };
8
+ moduleField: {
9
+ NotFound: string;
10
+ NotCreateUpdate: string;
11
+ NotCreateSameName: string;
12
+ NotDelete: string;
13
+ };
14
+ moduleTasks: {
15
+ AlreadyExists: string;
16
+ ErrorOnDelete: string;
17
+ NotFound: string;
18
+ ParentNotFound: string;
19
+ };
20
+ moduleTasksGroup: {
21
+ AlreadyExists: string;
22
+ ErrorOnDelete: string;
23
+ NotFound: string;
24
+ };
25
+ moduleTaskNote: {
26
+ NotFound: string;
27
+ NotCreateUpdate: string;
28
+ };
29
+ moduleObservation: {
30
+ dontExist: string;
31
+ notFound: string;
32
+ alreadyExists: string;
33
+ notDeleted: string;
34
+ notUpdated: string;
35
+ };
36
+ moduleObservationType: {
37
+ dontExist: string;
38
+ notFound: string;
39
+ alreadyExists: string;
40
+ childExists: string;
41
+ notDeleted: string;
42
+ notUpdated: string;
43
+ };
44
+ };
45
+ export default _default;