@open-mercato/core 0.6.5-canary.4424.1.d6055e3fd8 → 0.6.5-develop.4384.1.ce2ec6eaaa

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 (1096) hide show
  1. package/.turbo/turbo-build.log +2 -2
  2. package/AGENTS.md +0 -1
  3. package/dist/generated/entities/customer_interaction/index.js +0 -4
  4. package/dist/generated/entities/customer_interaction/index.js.map +2 -2
  5. package/dist/generated/entities/integration_credentials/index.js +1 -3
  6. package/dist/generated/entities/integration_credentials/index.js.map +2 -2
  7. package/dist/generated/entities/message/index.js +0 -2
  8. package/dist/generated/entities/message/index.js.map +2 -2
  9. package/dist/generated/entities/role/index.js +1 -3
  10. package/dist/generated/entities/role/index.js.map +2 -2
  11. package/dist/generated/entities/user/index.js +1 -3
  12. package/dist/generated/entities/user/index.js.map +2 -2
  13. package/dist/generated/entities.ids.generated.js +0 -11
  14. package/dist/generated/entities.ids.generated.js.map +2 -2
  15. package/dist/generated/entity-fields-registry.js +0 -119
  16. package/dist/generated/entity-fields-registry.js.map +2 -2
  17. package/dist/helpers/integration/authFixtures.js +1 -2
  18. package/dist/helpers/integration/authFixtures.js.map +2 -2
  19. package/dist/helpers/integration/salesFixtures.js +0 -17
  20. package/dist/helpers/integration/salesFixtures.js.map +2 -2
  21. package/dist/modules/api_keys/backend/api-keys/page.js +5 -9
  22. package/dist/modules/api_keys/backend/api-keys/page.js.map +2 -2
  23. package/dist/modules/attachments/components/AttachmentPartitionSettings.js +9 -17
  24. package/dist/modules/attachments/components/AttachmentPartitionSettings.js.map +2 -2
  25. package/dist/modules/auth/api/roles/acl/route.js +13 -32
  26. package/dist/modules/auth/api/roles/acl/route.js.map +2 -2
  27. package/dist/modules/auth/api/roles/route.js +1 -3
  28. package/dist/modules/auth/api/roles/route.js.map +2 -2
  29. package/dist/modules/auth/api/sidebar/preferences/route.js +3 -71
  30. package/dist/modules/auth/api/sidebar/preferences/route.js.map +2 -2
  31. package/dist/modules/auth/api/users/acl/route.js +19 -42
  32. package/dist/modules/auth/api/users/acl/route.js.map +2 -2
  33. package/dist/modules/auth/api/users/route.js +1 -3
  34. package/dist/modules/auth/api/users/route.js.map +2 -2
  35. package/dist/modules/auth/backend/roles/[id]/edit/page.js +4 -24
  36. package/dist/modules/auth/backend/roles/[id]/edit/page.js.map +2 -2
  37. package/dist/modules/auth/backend/roles/page.js +4 -8
  38. package/dist/modules/auth/backend/roles/page.js.map +2 -2
  39. package/dist/modules/auth/backend/users/[id]/edit/page.js +5 -27
  40. package/dist/modules/auth/backend/users/[id]/edit/page.js.map +2 -2
  41. package/dist/modules/auth/backend/users/page.js +2 -6
  42. package/dist/modules/auth/backend/users/page.js.map +2 -2
  43. package/dist/modules/auth/components/AclEditor.js +1 -3
  44. package/dist/modules/auth/components/AclEditor.js.map +2 -2
  45. package/dist/modules/auth/data/entities.js +0 -6
  46. package/dist/modules/auth/data/entities.js.map +2 -2
  47. package/dist/modules/auth/services/sidebarPreferencesService.js +0 -26
  48. package/dist/modules/auth/services/sidebarPreferencesService.js.map +2 -2
  49. package/dist/modules/business_rules/api/rules/route.js +0 -28
  50. package/dist/modules/business_rules/api/rules/route.js.map +2 -2
  51. package/dist/modules/business_rules/api/sets/route.js +0 -28
  52. package/dist/modules/business_rules/api/sets/route.js.map +2 -2
  53. package/dist/modules/business_rules/backend/rules/[id]/page.js +4 -11
  54. package/dist/modules/business_rules/backend/rules/[id]/page.js.map +3 -3
  55. package/dist/modules/business_rules/backend/rules/page.js +11 -20
  56. package/dist/modules/business_rules/backend/rules/page.js.map +2 -2
  57. package/dist/modules/business_rules/backend/sets/[id]/page.js +4 -11
  58. package/dist/modules/business_rules/backend/sets/[id]/page.js.map +2 -2
  59. package/dist/modules/business_rules/backend/sets/page.js +11 -20
  60. package/dist/modules/business_rules/backend/sets/page.js.map +2 -2
  61. package/dist/modules/catalog/api/categories/route.js +0 -2
  62. package/dist/modules/catalog/api/categories/route.js.map +2 -2
  63. package/dist/modules/catalog/api/products/route.js +1 -2
  64. package/dist/modules/catalog/api/products/route.js.map +2 -2
  65. package/dist/modules/catalog/backend/catalog/categories/[id]/edit/page.js +0 -2
  66. package/dist/modules/catalog/backend/catalog/categories/[id]/edit/page.js.map +2 -2
  67. package/dist/modules/catalog/backend/catalog/products/[id]/page.js +40 -94
  68. package/dist/modules/catalog/backend/catalog/products/[id]/page.js.map +2 -2
  69. package/dist/modules/catalog/backend/catalog/products/[productId]/variants/[variantId]/page.js +8 -37
  70. package/dist/modules/catalog/backend/catalog/products/[productId]/variants/[variantId]/page.js.map +2 -2
  71. package/dist/modules/catalog/backend/catalog/products/optionSchemaClient.js.map +2 -2
  72. package/dist/modules/catalog/components/PriceKindSettings.js +5 -12
  73. package/dist/modules/catalog/components/PriceKindSettings.js.map +2 -2
  74. package/dist/modules/catalog/components/categories/CategoriesDataTable.js.map +2 -2
  75. package/dist/modules/catalog/components/products/ProductMediaManager.js.map +2 -2
  76. package/dist/modules/catalog/components/products/ProductsDataTable.js +3 -5
  77. package/dist/modules/catalog/components/products/ProductsDataTable.js.map +2 -2
  78. package/dist/modules/catalog/components/products/productForm.js.map +2 -2
  79. package/dist/modules/catalog/components/products/variantForm.js +1 -2
  80. package/dist/modules/catalog/components/products/variantForm.js.map +2 -2
  81. package/dist/modules/currencies/backend/currencies/[id]/page.js +3 -6
  82. package/dist/modules/currencies/backend/currencies/[id]/page.js.map +2 -2
  83. package/dist/modules/currencies/backend/currencies/page.js +11 -18
  84. package/dist/modules/currencies/backend/currencies/page.js.map +2 -2
  85. package/dist/modules/currencies/backend/exchange-rates/[id]/page.js +0 -1
  86. package/dist/modules/currencies/backend/exchange-rates/[id]/page.js.map +2 -2
  87. package/dist/modules/currencies/backend/exchange-rates/page.js +6 -10
  88. package/dist/modules/currencies/backend/exchange-rates/page.js.map +2 -2
  89. package/dist/modules/currencies/components/CurrencyFetchingConfig.js +19 -26
  90. package/dist/modules/currencies/components/CurrencyFetchingConfig.js.map +2 -2
  91. package/dist/modules/customer_accounts/api/admin/roles/[id].js +5 -28
  92. package/dist/modules/customer_accounts/api/admin/roles/[id].js.map +2 -2
  93. package/dist/modules/customer_accounts/api/admin/roles.js +2 -4
  94. package/dist/modules/customer_accounts/api/admin/roles.js.map +2 -2
  95. package/dist/modules/customer_accounts/api/admin/users/[id].js +5 -28
  96. package/dist/modules/customer_accounts/api/admin/users/[id].js.map +2 -2
  97. package/dist/modules/customer_accounts/api/admin/users.js +0 -2
  98. package/dist/modules/customer_accounts/api/admin/users.js.map +2 -2
  99. package/dist/modules/customer_accounts/backend/customer_accounts/roles/[id]/page.js +8 -16
  100. package/dist/modules/customer_accounts/backend/customer_accounts/roles/[id]/page.js.map +2 -2
  101. package/dist/modules/customer_accounts/backend/customer_accounts/roles/page.js +4 -8
  102. package/dist/modules/customer_accounts/backend/customer_accounts/roles/page.js.map +2 -2
  103. package/dist/modules/customer_accounts/backend/customer_accounts/settings/domain/page.js +4 -8
  104. package/dist/modules/customer_accounts/backend/customer_accounts/settings/domain/page.js.map +2 -2
  105. package/dist/modules/customer_accounts/backend/customer_accounts/users/[id]/page.js +18 -29
  106. package/dist/modules/customer_accounts/backend/customer_accounts/users/[id]/page.js.map +2 -2
  107. package/dist/modules/customer_accounts/backend/customer_accounts/users/page.js +11 -18
  108. package/dist/modules/customer_accounts/backend/customer_accounts/users/page.js.map +2 -2
  109. package/dist/modules/customers/acl.js +0 -18
  110. package/dist/modules/customers/acl.js.map +2 -2
  111. package/dist/modules/customers/api/activities/route.js +0 -9
  112. package/dist/modules/customers/api/activities/route.js.map +2 -2
  113. package/dist/modules/customers/api/companies/[id]/route.js +7 -18
  114. package/dist/modules/customers/api/companies/[id]/route.js.map +2 -2
  115. package/dist/modules/customers/api/companies/route.js +2 -13
  116. package/dist/modules/customers/api/companies/route.js.map +2 -2
  117. package/dist/modules/customers/api/deals/route.js +0 -2
  118. package/dist/modules/customers/api/deals/route.js.map +2 -2
  119. package/dist/modules/customers/api/interactions/counts/route.js +0 -6
  120. package/dist/modules/customers/api/interactions/counts/route.js.map +2 -2
  121. package/dist/modules/customers/api/interactions/route.js +7 -26
  122. package/dist/modules/customers/api/interactions/route.js.map +2 -2
  123. package/dist/modules/customers/api/people/[id]/route.js +4 -12
  124. package/dist/modules/customers/api/people/[id]/route.js.map +2 -2
  125. package/dist/modules/customers/api/people/route.js +2 -11
  126. package/dist/modules/customers/api/people/route.js.map +2 -2
  127. package/dist/modules/customers/api/todos/route.js +0 -1
  128. package/dist/modules/customers/api/todos/route.js.map +2 -2
  129. package/dist/modules/customers/backend/config/customers/deals/page.js.map +2 -2
  130. package/dist/modules/customers/backend/config/customers/pipeline-stages/page.js +21 -34
  131. package/dist/modules/customers/backend/config/customers/pipeline-stages/page.js.map +2 -2
  132. package/dist/modules/customers/backend/customers/companies/[id]/page.js +27 -45
  133. package/dist/modules/customers/backend/customers/companies/[id]/page.js.map +2 -2
  134. package/dist/modules/customers/backend/customers/companies/page.js.map +2 -2
  135. package/dist/modules/customers/backend/customers/companies-v2/[id]/page.js +2 -8
  136. package/dist/modules/customers/backend/customers/companies-v2/[id]/page.js.map +2 -2
  137. package/dist/modules/customers/backend/customers/deals/[id]/hooks/useDealFormHandlers.js +6 -14
  138. package/dist/modules/customers/backend/customers/deals/[id]/hooks/useDealFormHandlers.js.map +2 -2
  139. package/dist/modules/customers/backend/customers/deals/[id]/page.js +0 -1
  140. package/dist/modules/customers/backend/customers/deals/[id]/page.js.map +2 -2
  141. package/dist/modules/customers/backend/customers/deals/page.js +6 -16
  142. package/dist/modules/customers/backend/customers/deals/page.js.map +2 -2
  143. package/dist/modules/customers/backend/customers/deals/pipeline/page.js +39 -62
  144. package/dist/modules/customers/backend/customers/deals/pipeline/page.js.map +2 -2
  145. package/dist/modules/customers/backend/customers/people/[id]/page.js +26 -41
  146. package/dist/modules/customers/backend/customers/people/[id]/page.js.map +2 -2
  147. package/dist/modules/customers/backend/customers/people/page.js.map +2 -2
  148. package/dist/modules/customers/backend/customers/people-v2/[id]/page.js +2 -31
  149. package/dist/modules/customers/backend/customers/people-v2/[id]/page.js.map +2 -2
  150. package/dist/modules/customers/commands/companies.js +1 -1
  151. package/dist/modules/customers/commands/companies.js.map +2 -2
  152. package/dist/modules/customers/commands/deals.js +5 -46
  153. package/dist/modules/customers/commands/deals.js.map +2 -2
  154. package/dist/modules/customers/commands/interactions.js +4 -57
  155. package/dist/modules/customers/commands/interactions.js.map +2 -2
  156. package/dist/modules/customers/commands/people.js +1 -1
  157. package/dist/modules/customers/commands/people.js.map +2 -2
  158. package/dist/modules/customers/components/AddressFormatSettings.js.map +2 -2
  159. package/dist/modules/customers/components/DictionarySettings.js +13 -20
  160. package/dist/modules/customers/components/DictionarySettings.js.map +2 -2
  161. package/dist/modules/customers/components/DictionarySortSettings.js +0 -4
  162. package/dist/modules/customers/components/DictionarySortSettings.js.map +2 -2
  163. package/dist/modules/customers/components/PipelineSettings.js +23 -38
  164. package/dist/modules/customers/components/PipelineSettings.js.map +2 -2
  165. package/dist/modules/customers/components/detail/ActivityCard.js +0 -32
  166. package/dist/modules/customers/components/detail/ActivityCard.js.map +2 -2
  167. package/dist/modules/customers/components/detail/ActivityTimeline.js +1 -1
  168. package/dist/modules/customers/components/detail/ActivityTimeline.js.map +2 -2
  169. package/dist/modules/customers/components/detail/AddressesSection.js +0 -4
  170. package/dist/modules/customers/components/detail/AddressesSection.js.map +2 -2
  171. package/dist/modules/customers/components/detail/CompanyPeopleSection.js +22 -28
  172. package/dist/modules/customers/components/detail/CompanyPeopleSection.js.map +2 -2
  173. package/dist/modules/customers/components/detail/DealForm.js +1 -2
  174. package/dist/modules/customers/components/detail/DealForm.js.map +2 -2
  175. package/dist/modules/customers/components/detail/DealsSection.js +24 -46
  176. package/dist/modules/customers/components/detail/DealsSection.js.map +2 -2
  177. package/dist/modules/customers/components/detail/EntityTagsDialog.js +0 -7
  178. package/dist/modules/customers/components/detail/EntityTagsDialog.js.map +2 -2
  179. package/dist/modules/customers/components/detail/ManageTagsDialog.js +22 -34
  180. package/dist/modules/customers/components/detail/ManageTagsDialog.js.map +2 -2
  181. package/dist/modules/customers/components/detail/PersonCompaniesSection.js +29 -41
  182. package/dist/modules/customers/components/detail/PersonCompaniesSection.js.map +2 -2
  183. package/dist/modules/customers/components/detail/PersonDetailTabs.js +1 -7
  184. package/dist/modules/customers/components/detail/PersonDetailTabs.js.map +2 -2
  185. package/dist/modules/customers/components/detail/RoleAssignmentRow.js +8 -14
  186. package/dist/modules/customers/components/detail/RoleAssignmentRow.js.map +2 -2
  187. package/dist/modules/customers/components/detail/ScheduleActivityDialog.js +6 -14
  188. package/dist/modules/customers/components/detail/ScheduleActivityDialog.js.map +2 -2
  189. package/dist/modules/customers/components/detail/hooks/useInteractionMutations.js +13 -29
  190. package/dist/modules/customers/components/detail/hooks/useInteractionMutations.js.map +2 -2
  191. package/dist/modules/customers/components/detail/hooks/useInteractions.js +35 -77
  192. package/dist/modules/customers/components/detail/hooks/useInteractions.js.map +2 -2
  193. package/dist/modules/customers/components/detail/hooks/usePersonTasks.js +17 -25
  194. package/dist/modules/customers/components/detail/hooks/usePersonTasks.js.map +2 -2
  195. package/dist/modules/customers/components/detail/schedule/useScheduleFormState.js.map +2 -2
  196. package/dist/modules/customers/components/formConfig.js.map +2 -2
  197. package/dist/modules/customers/data/enrichers.js +2 -133
  198. package/dist/modules/customers/data/enrichers.js.map +2 -2
  199. package/dist/modules/customers/data/entities.js +0 -18
  200. package/dist/modules/customers/data/entities.js.map +2 -2
  201. package/dist/modules/customers/di.js +0 -37
  202. package/dist/modules/customers/di.js.map +2 -2
  203. package/dist/modules/customers/encryption.js +0 -11
  204. package/dist/modules/customers/encryption.js.map +2 -2
  205. package/dist/modules/customers/events.js +1 -4
  206. package/dist/modules/customers/events.js.map +2 -2
  207. package/dist/modules/customers/lib/kysely.js.map +2 -2
  208. package/dist/modules/customers/lib/todoCompatibility.js +0 -11
  209. package/dist/modules/customers/lib/todoCompatibility.js.map +2 -2
  210. package/dist/modules/customers/setup.js +1 -2
  211. package/dist/modules/customers/setup.js.map +2 -2
  212. package/dist/modules/dashboards/components/WidgetVisibilityEditor.js.map +2 -2
  213. package/dist/modules/data_sync/api/options.js +4 -4
  214. package/dist/modules/data_sync/api/options.js.map +2 -2
  215. package/dist/modules/data_sync/api/schedules/route.js +1 -9
  216. package/dist/modules/data_sync/api/schedules/route.js.map +2 -2
  217. package/dist/modules/data_sync/backend/data-sync/page.js +8 -17
  218. package/dist/modules/data_sync/backend/data-sync/page.js.map +2 -2
  219. package/dist/modules/data_sync/components/IntegrationScheduleTab.js +22 -43
  220. package/dist/modules/data_sync/components/IntegrationScheduleTab.js.map +2 -2
  221. package/dist/modules/data_sync/lib/sync-schedule-service.js +0 -9
  222. package/dist/modules/data_sync/lib/sync-schedule-service.js.map +2 -2
  223. package/dist/modules/dictionaries/api/[dictionaryId]/entries/[entryId]/route.js +1 -8
  224. package/dist/modules/dictionaries/api/[dictionaryId]/entries/[entryId]/route.js.map +2 -2
  225. package/dist/modules/dictionaries/api/[dictionaryId]/route.js +1 -17
  226. package/dist/modules/dictionaries/api/[dictionaryId]/route.js.map +2 -2
  227. package/dist/modules/dictionaries/components/DictionariesManager.js +10 -31
  228. package/dist/modules/dictionaries/components/DictionariesManager.js.map +2 -2
  229. package/dist/modules/dictionaries/components/DictionaryEntriesEditor.js +15 -28
  230. package/dist/modules/dictionaries/components/DictionaryEntriesEditor.js.map +2 -2
  231. package/dist/modules/directory/api/organizations/route.js +0 -3
  232. package/dist/modules/directory/api/organizations/route.js.map +2 -2
  233. package/dist/modules/directory/backend/directory/organizations/[id]/edit/page.js +0 -2
  234. package/dist/modules/directory/backend/directory/organizations/[id]/edit/page.js.map +2 -2
  235. package/dist/modules/directory/backend/directory/organizations/page.js +5 -9
  236. package/dist/modules/directory/backend/directory/organizations/page.js.map +2 -2
  237. package/dist/modules/directory/backend/directory/tenants/[id]/edit/page.js +3 -7
  238. package/dist/modules/directory/backend/directory/tenants/[id]/edit/page.js.map +2 -2
  239. package/dist/modules/directory/backend/directory/tenants/page.js +4 -8
  240. package/dist/modules/directory/backend/directory/tenants/page.js.map +2 -2
  241. package/dist/modules/entities/backend/entities/user/[entityId]/records/[recordId]/page.js +0 -1
  242. package/dist/modules/entities/backend/entities/user/[entityId]/records/[recordId]/page.js.map +2 -2
  243. package/dist/modules/entities/backend/entities/user/[entityId]/records/page.js +4 -8
  244. package/dist/modules/entities/backend/entities/user/[entityId]/records/page.js.map +2 -2
  245. package/dist/modules/feature_toggles/api/global/[id]/override/route.js +1 -2
  246. package/dist/modules/feature_toggles/api/global/[id]/override/route.js.map +2 -2
  247. package/dist/modules/feature_toggles/api/overrides/route.js +0 -15
  248. package/dist/modules/feature_toggles/api/overrides/route.js.map +2 -2
  249. package/dist/modules/feature_toggles/backend/feature-toggles/global/[id]/edit/page.js +14 -15
  250. package/dist/modules/feature_toggles/backend/feature-toggles/global/[id]/edit/page.js.map +2 -2
  251. package/dist/modules/feature_toggles/components/FeatureToggleOverrideCard.js +12 -20
  252. package/dist/modules/feature_toggles/components/FeatureToggleOverrideCard.js.map +2 -2
  253. package/dist/modules/feature_toggles/components/FeatureTogglesTable.js +2 -6
  254. package/dist/modules/feature_toggles/components/FeatureTogglesTable.js.map +2 -2
  255. package/dist/modules/feature_toggles/components/formConfig.js +1 -2
  256. package/dist/modules/feature_toggles/components/formConfig.js.map +2 -2
  257. package/dist/modules/feature_toggles/components/overrideFormConfig.js +1 -5
  258. package/dist/modules/feature_toggles/components/overrideFormConfig.js.map +2 -2
  259. package/dist/modules/feature_toggles/data/validators.js +4 -7
  260. package/dist/modules/feature_toggles/data/validators.js.map +2 -2
  261. package/dist/modules/inbox_ops/api/settings/route.js +2 -17
  262. package/dist/modules/inbox_ops/api/settings/route.js.map +2 -2
  263. package/dist/modules/inbox_ops/backend/inbox-ops/settings/page.js +8 -13
  264. package/dist/modules/inbox_ops/backend/inbox-ops/settings/page.js.map +2 -2
  265. package/dist/modules/inbox_ops/components/proposals/EditActionDialog.js +4 -9
  266. package/dist/modules/inbox_ops/components/proposals/EditActionDialog.js.map +2 -2
  267. package/dist/modules/integrations/backend/integrations/bundle/[id]/page.js +11 -18
  268. package/dist/modules/integrations/backend/integrations/bundle/[id]/page.js.map +2 -2
  269. package/dist/modules/integrations/backend/integrations/page.js +8 -12
  270. package/dist/modules/integrations/backend/integrations/page.js.map +2 -2
  271. package/dist/modules/integrations/data/entities.js +1 -8
  272. package/dist/modules/integrations/data/entities.js.map +2 -2
  273. package/dist/modules/integrations/lib/credentials-service.js +14 -29
  274. package/dist/modules/integrations/lib/credentials-service.js.map +2 -2
  275. package/dist/modules/messages/commands/messages.js +8 -70
  276. package/dist/modules/messages/commands/messages.js.map +2 -2
  277. package/dist/modules/messages/components/ComposeMessagePageClient.js +13 -24
  278. package/dist/modules/messages/components/ComposeMessagePageClient.js.map +2 -2
  279. package/dist/modules/messages/components/MessageDetailPageClient.js +2 -39
  280. package/dist/modules/messages/components/MessageDetailPageClient.js.map +2 -2
  281. package/dist/modules/messages/components/MessagesInboxPageClient.js +0 -1
  282. package/dist/modules/messages/components/MessagesInboxPageClient.js.map +2 -2
  283. package/dist/modules/messages/data/entities.js +1 -8
  284. package/dist/modules/messages/data/entities.js.map +2 -2
  285. package/dist/modules/perspectives/api/[tableId]/route.js +30 -39
  286. package/dist/modules/perspectives/api/[tableId]/route.js.map +2 -2
  287. package/dist/modules/perspectives/services/perspectiveService.js +0 -7
  288. package/dist/modules/perspectives/services/perspectiveService.js.map +2 -2
  289. package/dist/modules/planner/backend/planner/availability-rulesets/[id]/page.js +14 -6
  290. package/dist/modules/planner/backend/planner/availability-rulesets/[id]/page.js.map +3 -3
  291. package/dist/modules/planner/backend/planner/availability-rulesets/page.js +2 -4
  292. package/dist/modules/planner/backend/planner/availability-rulesets/page.js.map +2 -2
  293. package/dist/modules/planner/components/AvailabilityRuleSetForm.js +0 -2
  294. package/dist/modules/planner/components/AvailabilityRuleSetForm.js.map +2 -2
  295. package/dist/modules/planner/components/AvailabilityRulesEditor.js +11 -36
  296. package/dist/modules/planner/components/AvailabilityRulesEditor.js.map +2 -2
  297. package/dist/modules/planner/components/AvailabilitySchedule.js +5 -9
  298. package/dist/modules/planner/components/AvailabilitySchedule.js.map +2 -2
  299. package/dist/modules/resources/backend/resources/resource-types/[id]/edit/page.js +0 -1
  300. package/dist/modules/resources/backend/resources/resource-types/[id]/edit/page.js.map +2 -2
  301. package/dist/modules/resources/backend/resources/resource-types/page.js +2 -4
  302. package/dist/modules/resources/backend/resources/resource-types/page.js.map +2 -2
  303. package/dist/modules/resources/backend/resources/resources/[id]/page.js +3 -14
  304. package/dist/modules/resources/backend/resources/resources/[id]/page.js.map +2 -2
  305. package/dist/modules/resources/backend/resources/resources/page.js +4 -8
  306. package/dist/modules/resources/backend/resources/resources/page.js.map +2 -2
  307. package/dist/modules/resources/components/ResourceCrudForm.js +0 -2
  308. package/dist/modules/resources/components/ResourceCrudForm.js.map +2 -2
  309. package/dist/modules/resources/components/ResourceTypeCrudForm.js +0 -1
  310. package/dist/modules/resources/components/ResourceTypeCrudForm.js.map +2 -2
  311. package/dist/modules/sales/api/documents/factory.js +2 -7
  312. package/dist/modules/sales/api/documents/factory.js.map +2 -2
  313. package/dist/modules/sales/backend/sales/channels/[channelId]/edit/page.js +1 -3
  314. package/dist/modules/sales/backend/sales/channels/[channelId]/edit/page.js.map +2 -2
  315. package/dist/modules/sales/backend/sales/channels/offers/page.js +4 -13
  316. package/dist/modules/sales/backend/sales/channels/offers/page.js.map +2 -2
  317. package/dist/modules/sales/backend/sales/channels/page.js +4 -16
  318. package/dist/modules/sales/backend/sales/channels/page.js.map +2 -2
  319. package/dist/modules/sales/backend/sales/documents/[id]/page.js +22 -68
  320. package/dist/modules/sales/backend/sales/documents/[id]/page.js.map +2 -2
  321. package/dist/modules/sales/backend/sales/documents/create/page.js.map +2 -2
  322. package/dist/modules/sales/commands/documents.js +1 -14
  323. package/dist/modules/sales/commands/documents.js.map +2 -2
  324. package/dist/modules/sales/commands/returns.js +1 -2
  325. package/dist/modules/sales/commands/returns.js.map +2 -2
  326. package/dist/modules/sales/commands/shared.js +0 -15
  327. package/dist/modules/sales/commands/shared.js.map +2 -2
  328. package/dist/modules/sales/components/AdjustmentKindSettings.js +11 -19
  329. package/dist/modules/sales/components/AdjustmentKindSettings.js.map +2 -2
  330. package/dist/modules/sales/components/DocumentNumberSettings.js.map +2 -2
  331. package/dist/modules/sales/components/OrderEditingSettings.js.map +2 -2
  332. package/dist/modules/sales/components/PaymentMethodsSettings.js +4 -12
  333. package/dist/modules/sales/components/PaymentMethodsSettings.js.map +2 -2
  334. package/dist/modules/sales/components/ShippingMethodsSettings.js +4 -12
  335. package/dist/modules/sales/components/ShippingMethodsSettings.js.map +2 -2
  336. package/dist/modules/sales/components/StatusSettings.js +11 -18
  337. package/dist/modules/sales/components/StatusSettings.js.map +2 -2
  338. package/dist/modules/sales/components/TaxRatesSettings.js +4 -12
  339. package/dist/modules/sales/components/TaxRatesSettings.js.map +2 -2
  340. package/dist/modules/sales/components/channels/ChannelOfferForm.js +16 -47
  341. package/dist/modules/sales/components/channels/ChannelOfferForm.js.map +2 -2
  342. package/dist/modules/sales/components/channels/SalesChannelOffersPanel.js +4 -8
  343. package/dist/modules/sales/components/channels/SalesChannelOffersPanel.js.map +2 -2
  344. package/dist/modules/sales/components/documents/AddressesSection.js +25 -44
  345. package/dist/modules/sales/components/documents/AddressesSection.js.map +2 -2
  346. package/dist/modules/sales/components/documents/AdjustmentsSection.js +23 -43
  347. package/dist/modules/sales/components/documents/AdjustmentsSection.js.map +2 -2
  348. package/dist/modules/sales/components/documents/ItemsSection.js +13 -22
  349. package/dist/modules/sales/components/documents/ItemsSection.js.map +2 -2
  350. package/dist/modules/sales/components/documents/LineItemDialog.js +10 -23
  351. package/dist/modules/sales/components/documents/LineItemDialog.js.map +2 -2
  352. package/dist/modules/sales/components/documents/PaymentDialog.js +14 -29
  353. package/dist/modules/sales/components/documents/PaymentDialog.js.map +2 -2
  354. package/dist/modules/sales/components/documents/PaymentsSection.js +10 -20
  355. package/dist/modules/sales/components/documents/PaymentsSection.js.map +2 -2
  356. package/dist/modules/sales/components/documents/ReturnDialog.js +17 -26
  357. package/dist/modules/sales/components/documents/ReturnDialog.js.map +2 -2
  358. package/dist/modules/sales/components/documents/ReturnsSection.js +1 -3
  359. package/dist/modules/sales/components/documents/ReturnsSection.js.map +2 -2
  360. package/dist/modules/sales/components/documents/SalesDocumentsTable.js +5 -10
  361. package/dist/modules/sales/components/documents/SalesDocumentsTable.js.map +2 -2
  362. package/dist/modules/sales/components/documents/ShipmentDialog.js +7 -21
  363. package/dist/modules/sales/components/documents/ShipmentDialog.js.map +2 -2
  364. package/dist/modules/sales/components/documents/ShipmentsSection.js +10 -19
  365. package/dist/modules/sales/components/documents/ShipmentsSection.js.map +2 -2
  366. package/dist/modules/sales/di.js +0 -18
  367. package/dist/modules/sales/di.js.map +2 -2
  368. package/dist/modules/staff/api/job-histories.js +2 -11
  369. package/dist/modules/staff/api/job-histories.js.map +2 -2
  370. package/dist/modules/staff/api/timesheets/time-entries/route.js +4 -6
  371. package/dist/modules/staff/api/timesheets/time-entries/route.js.map +2 -2
  372. package/dist/modules/staff/backend/staff/leave-requests/[id]/page.js +8 -13
  373. package/dist/modules/staff/backend/staff/leave-requests/[id]/page.js.map +2 -2
  374. package/dist/modules/staff/backend/staff/my-leave-requests/[id]/page.js +1 -2
  375. package/dist/modules/staff/backend/staff/my-leave-requests/[id]/page.js.map +2 -2
  376. package/dist/modules/staff/backend/staff/team-members/[id]/page.js +4 -7
  377. package/dist/modules/staff/backend/staff/team-members/[id]/page.js.map +2 -2
  378. package/dist/modules/staff/backend/staff/team-members/page.js +2 -4
  379. package/dist/modules/staff/backend/staff/team-members/page.js.map +2 -2
  380. package/dist/modules/staff/backend/staff/team-roles/[id]/edit/page.js +0 -1
  381. package/dist/modules/staff/backend/staff/team-roles/[id]/edit/page.js.map +2 -2
  382. package/dist/modules/staff/backend/staff/team-roles/page.js +2 -4
  383. package/dist/modules/staff/backend/staff/team-roles/page.js.map +2 -2
  384. package/dist/modules/staff/backend/staff/teams/[id]/edit/page.js +2 -5
  385. package/dist/modules/staff/backend/staff/teams/[id]/edit/page.js.map +2 -2
  386. package/dist/modules/staff/backend/staff/teams/page.js +3 -12
  387. package/dist/modules/staff/backend/staff/teams/page.js.map +2 -2
  388. package/dist/modules/staff/backend/staff/timesheets/page.js.map +2 -2
  389. package/dist/modules/staff/backend/staff/timesheets/projects/[id]/page.js.map +2 -2
  390. package/dist/modules/staff/backend/staff/timesheets/projects/page.js +3 -12
  391. package/dist/modules/staff/backend/staff/timesheets/projects/page.js.map +2 -2
  392. package/dist/modules/staff/commands/job-histories.js +3 -40
  393. package/dist/modules/staff/commands/job-histories.js.map +2 -2
  394. package/dist/modules/staff/components/LeaveRequestForm.js +0 -1
  395. package/dist/modules/staff/components/LeaveRequestForm.js.map +2 -2
  396. package/dist/modules/staff/components/TeamForm.js +0 -1
  397. package/dist/modules/staff/components/TeamForm.js.map +2 -2
  398. package/dist/modules/staff/components/TeamMemberForm.js +0 -1
  399. package/dist/modules/staff/components/TeamMemberForm.js.map +2 -2
  400. package/dist/modules/staff/components/TeamRoleForm.js +0 -1
  401. package/dist/modules/staff/components/TeamRoleForm.js.map +2 -2
  402. package/dist/modules/staff/components/detail/JobHistorySection.js +7 -19
  403. package/dist/modules/staff/components/detail/JobHistorySection.js.map +2 -2
  404. package/dist/modules/staff/data/validators.js +1 -7
  405. package/dist/modules/staff/data/validators.js.map +2 -2
  406. package/dist/modules/staff/lib/leaveRequestHelpers.js +1 -2
  407. package/dist/modules/staff/lib/leaveRequestHelpers.js.map +2 -2
  408. package/dist/modules/translations/components/TranslationManager.js +8 -12
  409. package/dist/modules/translations/components/TranslationManager.js.map +2 -2
  410. package/dist/modules/workflows/api/definitions/[id]/route.js +0 -106
  411. package/dist/modules/workflows/api/definitions/[id]/route.js.map +2 -2
  412. package/dist/modules/workflows/backend/definitions/[id]/page.js +3 -11
  413. package/dist/modules/workflows/backend/definitions/[id]/page.js.map +2 -2
  414. package/dist/modules/workflows/backend/definitions/page.js +8 -19
  415. package/dist/modules/workflows/backend/definitions/page.js.map +2 -2
  416. package/dist/modules/workflows/backend/definitions/visual-editor/page.js +16 -29
  417. package/dist/modules/workflows/backend/definitions/visual-editor/page.js.map +2 -2
  418. package/dist/modules/workflows/components/formConfig.js +1 -4
  419. package/dist/modules/workflows/components/formConfig.js.map +2 -2
  420. package/dist/modules/workflows/di.js +0 -12
  421. package/dist/modules/workflows/di.js.map +2 -2
  422. package/generated/entities/customer_interaction/index.ts +0 -2
  423. package/generated/entities/integration_credentials/index.ts +0 -1
  424. package/generated/entities/message/index.ts +0 -1
  425. package/generated/entities/role/index.ts +0 -1
  426. package/generated/entities/user/index.ts +0 -1
  427. package/generated/entities.ids.generated.ts +0 -11
  428. package/generated/entity-fields-registry.ts +0 -119
  429. package/package.json +7 -10
  430. package/src/helpers/integration/authFixtures.ts +1 -4
  431. package/src/helpers/integration/salesFixtures.ts +0 -29
  432. package/src/modules/api_keys/backend/api-keys/page.tsx +5 -10
  433. package/src/modules/attachments/components/AttachmentPartitionSettings.tsx +9 -19
  434. package/src/modules/auth/api/roles/acl/route.ts +11 -37
  435. package/src/modules/auth/api/roles/route.ts +0 -2
  436. package/src/modules/auth/api/sidebar/preferences/route.ts +0 -73
  437. package/src/modules/auth/api/users/acl/route.ts +18 -46
  438. package/src/modules/auth/api/users/route.ts +0 -2
  439. package/src/modules/auth/backend/roles/[id]/edit/page.tsx +4 -29
  440. package/src/modules/auth/backend/roles/page.tsx +4 -9
  441. package/src/modules/auth/backend/users/[id]/edit/page.tsx +4 -37
  442. package/src/modules/auth/backend/users/page.tsx +2 -7
  443. package/src/modules/auth/components/AclEditor.tsx +1 -10
  444. package/src/modules/auth/data/entities.ts +1 -7
  445. package/src/modules/auth/services/sidebarPreferencesService.ts +0 -32
  446. package/src/modules/business_rules/api/rules/route.ts +0 -30
  447. package/src/modules/business_rules/api/sets/route.ts +0 -30
  448. package/src/modules/business_rules/backend/rules/[id]/page.tsx +4 -16
  449. package/src/modules/business_rules/backend/rules/page.tsx +11 -20
  450. package/src/modules/business_rules/backend/sets/[id]/page.tsx +4 -16
  451. package/src/modules/business_rules/backend/sets/page.tsx +11 -20
  452. package/src/modules/catalog/api/categories/route.ts +0 -3
  453. package/src/modules/catalog/api/products/route.ts +0 -4
  454. package/src/modules/catalog/backend/catalog/categories/[id]/edit/page.tsx +0 -5
  455. package/src/modules/catalog/backend/catalog/products/[id]/page.tsx +35 -112
  456. package/src/modules/catalog/backend/catalog/products/[productId]/variants/[variantId]/page.tsx +7 -56
  457. package/src/modules/catalog/backend/catalog/products/optionSchemaClient.ts +0 -2
  458. package/src/modules/catalog/components/PriceKindSettings.tsx +7 -20
  459. package/src/modules/catalog/components/categories/CategoriesDataTable.tsx +0 -1
  460. package/src/modules/catalog/components/products/ProductMediaManager.tsx +0 -2
  461. package/src/modules/catalog/components/products/ProductsDataTable.tsx +4 -8
  462. package/src/modules/catalog/components/products/productForm.ts +0 -3
  463. package/src/modules/catalog/components/products/variantForm.ts +0 -9
  464. package/src/modules/currencies/backend/currencies/[id]/page.tsx +6 -13
  465. package/src/modules/currencies/backend/currencies/page.tsx +11 -18
  466. package/src/modules/currencies/backend/exchange-rates/[id]/page.tsx +0 -3
  467. package/src/modules/currencies/backend/exchange-rates/page.tsx +6 -10
  468. package/src/modules/currencies/components/CurrencyFetchingConfig.tsx +21 -31
  469. package/src/modules/customer_accounts/api/admin/roles/[id].ts +5 -35
  470. package/src/modules/customer_accounts/api/admin/roles.ts +0 -2
  471. package/src/modules/customer_accounts/api/admin/users/[id].ts +5 -38
  472. package/src/modules/customer_accounts/api/admin/users.ts +0 -2
  473. package/src/modules/customer_accounts/backend/customer_accounts/roles/[id]/page.tsx +20 -34
  474. package/src/modules/customer_accounts/backend/customer_accounts/roles/page.tsx +4 -9
  475. package/src/modules/customer_accounts/backend/customer_accounts/settings/domain/page.tsx +4 -11
  476. package/src/modules/customer_accounts/backend/customer_accounts/users/[id]/page.tsx +17 -28
  477. package/src/modules/customer_accounts/backend/customer_accounts/users/page.tsx +11 -19
  478. package/src/modules/customers/AGENTS.md +2 -2
  479. package/src/modules/customers/acl.ts +0 -18
  480. package/src/modules/customers/api/activities/route.ts +0 -13
  481. package/src/modules/customers/api/companies/[id]/route.ts +1 -21
  482. package/src/modules/customers/api/companies/route.ts +1 -14
  483. package/src/modules/customers/api/deals/route.ts +0 -3
  484. package/src/modules/customers/api/interactions/counts/route.ts +0 -10
  485. package/src/modules/customers/api/interactions/route.ts +5 -51
  486. package/src/modules/customers/api/people/[id]/route.ts +2 -17
  487. package/src/modules/customers/api/people/route.ts +1 -12
  488. package/src/modules/customers/api/todos/route.ts +0 -1
  489. package/src/modules/customers/backend/config/customers/deals/page.tsx +0 -1
  490. package/src/modules/customers/backend/config/customers/pipeline-stages/page.tsx +21 -36
  491. package/src/modules/customers/backend/customers/companies/[id]/page.tsx +27 -52
  492. package/src/modules/customers/backend/customers/companies/page.tsx +0 -2
  493. package/src/modules/customers/backend/customers/companies-v2/[id]/page.tsx +2 -8
  494. package/src/modules/customers/backend/customers/deals/[id]/hooks/useDealFormHandlers.ts +6 -14
  495. package/src/modules/customers/backend/customers/deals/[id]/page.tsx +0 -1
  496. package/src/modules/customers/backend/customers/deals/page.tsx +6 -18
  497. package/src/modules/customers/backend/customers/deals/pipeline/page.tsx +39 -64
  498. package/src/modules/customers/backend/customers/people/[id]/page.tsx +26 -46
  499. package/src/modules/customers/backend/customers/people/page.tsx +0 -2
  500. package/src/modules/customers/backend/customers/people-v2/[id]/page.tsx +3 -59
  501. package/src/modules/customers/commands/companies.ts +1 -3
  502. package/src/modules/customers/commands/deals.ts +6 -65
  503. package/src/modules/customers/commands/interactions.ts +4 -80
  504. package/src/modules/customers/commands/people.ts +1 -2
  505. package/src/modules/customers/components/AddressFormatSettings.tsx +0 -1
  506. package/src/modules/customers/components/DictionarySettings.tsx +13 -18
  507. package/src/modules/customers/components/DictionarySortSettings.tsx +0 -4
  508. package/src/modules/customers/components/PipelineSettings.tsx +21 -42
  509. package/src/modules/customers/components/detail/ActivityCard.tsx +0 -48
  510. package/src/modules/customers/components/detail/ActivityTimeline.tsx +3 -3
  511. package/src/modules/customers/components/detail/AddressesSection.tsx +0 -4
  512. package/src/modules/customers/components/detail/CompanyPeopleSection.tsx +0 -2
  513. package/src/modules/customers/components/detail/DealForm.tsx +1 -2
  514. package/src/modules/customers/components/detail/DealsSection.tsx +0 -30
  515. package/src/modules/customers/components/detail/EntityTagsDialog.tsx +0 -7
  516. package/src/modules/customers/components/detail/ManageTagsDialog.tsx +0 -4
  517. package/src/modules/customers/components/detail/PersonCompaniesSection.tsx +0 -4
  518. package/src/modules/customers/components/detail/PersonDetailTabs.tsx +1 -8
  519. package/src/modules/customers/components/detail/RoleAssignmentRow.tsx +0 -2
  520. package/src/modules/customers/components/detail/ScheduleActivityDialog.tsx +7 -23
  521. package/src/modules/customers/components/detail/hooks/useInteractionMutations.ts +15 -25
  522. package/src/modules/customers/components/detail/hooks/useInteractions.ts +35 -76
  523. package/src/modules/customers/components/detail/hooks/usePersonTasks.ts +17 -30
  524. package/src/modules/customers/components/detail/schedule/useScheduleFormState.ts +0 -2
  525. package/src/modules/customers/components/detail/types.ts +0 -1
  526. package/src/modules/customers/components/formConfig.tsx +0 -2
  527. package/src/modules/customers/data/enrichers.ts +1 -252
  528. package/src/modules/customers/data/entities.ts +1 -46
  529. package/src/modules/customers/di.ts +0 -66
  530. package/src/modules/customers/encryption.ts +0 -11
  531. package/src/modules/customers/events.ts +0 -4
  532. package/src/modules/customers/i18n/de.json +0 -41
  533. package/src/modules/customers/i18n/en.json +0 -41
  534. package/src/modules/customers/i18n/es.json +0 -41
  535. package/src/modules/customers/i18n/pl.json +0 -41
  536. package/src/modules/customers/lib/kysely.ts +0 -16
  537. package/src/modules/customers/lib/todoCompatibility.ts +0 -14
  538. package/src/modules/customers/migrations/.snapshot-open-mercato.json +0 -61
  539. package/src/modules/customers/setup.ts +0 -1
  540. package/src/modules/dashboards/components/WidgetVisibilityEditor.tsx +0 -2
  541. package/src/modules/data_sync/api/options.ts +4 -7
  542. package/src/modules/data_sync/api/schedules/route.ts +1 -9
  543. package/src/modules/data_sync/backend/data-sync/page.tsx +5 -18
  544. package/src/modules/data_sync/components/IntegrationScheduleTab.tsx +19 -46
  545. package/src/modules/data_sync/lib/sync-schedule-service.ts +0 -11
  546. package/src/modules/dictionaries/api/[dictionaryId]/entries/[entryId]/route.ts +1 -8
  547. package/src/modules/dictionaries/api/[dictionaryId]/route.ts +0 -23
  548. package/src/modules/dictionaries/components/DictionariesManager.tsx +9 -32
  549. package/src/modules/dictionaries/components/DictionaryEntriesEditor.tsx +14 -30
  550. package/src/modules/dictionaries/i18n/de.json +0 -1
  551. package/src/modules/dictionaries/i18n/en.json +0 -1
  552. package/src/modules/dictionaries/i18n/es.json +0 -1
  553. package/src/modules/dictionaries/i18n/pl.json +0 -1
  554. package/src/modules/directory/api/organizations/route.ts +0 -3
  555. package/src/modules/directory/backend/directory/organizations/[id]/edit/page.tsx +0 -8
  556. package/src/modules/directory/backend/directory/organizations/page.tsx +5 -10
  557. package/src/modules/directory/backend/directory/tenants/[id]/edit/page.tsx +5 -16
  558. package/src/modules/directory/backend/directory/tenants/page.tsx +4 -8
  559. package/src/modules/entities/backend/entities/user/[entityId]/records/[recordId]/page.tsx +0 -7
  560. package/src/modules/entities/backend/entities/user/[entityId]/records/page.tsx +4 -8
  561. package/src/modules/feature_toggles/api/global/[id]/override/route.ts +0 -1
  562. package/src/modules/feature_toggles/api/overrides/route.ts +0 -19
  563. package/src/modules/feature_toggles/backend/feature-toggles/global/[id]/edit/page.tsx +13 -19
  564. package/src/modules/feature_toggles/components/FeatureToggleOverrideCard.tsx +12 -22
  565. package/src/modules/feature_toggles/components/FeatureTogglesTable.tsx +2 -7
  566. package/src/modules/feature_toggles/components/formConfig.tsx +1 -2
  567. package/src/modules/feature_toggles/components/overrideFormConfig.tsx +1 -10
  568. package/src/modules/feature_toggles/data/validators.ts +3 -11
  569. package/src/modules/inbox_ops/api/settings/route.ts +0 -18
  570. package/src/modules/inbox_ops/backend/inbox-ops/settings/page.tsx +10 -15
  571. package/src/modules/inbox_ops/components/proposals/EditActionDialog.tsx +4 -9
  572. package/src/modules/integrations/AGENTS.md +0 -9
  573. package/src/modules/integrations/backend/integrations/bundle/[id]/page.tsx +11 -20
  574. package/src/modules/integrations/backend/integrations/page.tsx +8 -13
  575. package/src/modules/integrations/data/entities.ts +1 -21
  576. package/src/modules/integrations/lib/credentials-service.ts +13 -49
  577. package/src/modules/integrations/migrations/.snapshot-open-mercato.json +1 -26
  578. package/src/modules/messages/commands/messages.ts +8 -101
  579. package/src/modules/messages/components/ComposeMessagePageClient.tsx +0 -17
  580. package/src/modules/messages/components/MessageDetailPageClient.tsx +0 -43
  581. package/src/modules/messages/components/MessagesInboxPageClient.tsx +0 -4
  582. package/src/modules/messages/data/entities.ts +0 -11
  583. package/src/modules/messages/migrations/.snapshot-open-mercato.json +0 -18
  584. package/src/modules/perspectives/api/[tableId]/route.ts +2 -11
  585. package/src/modules/perspectives/services/perspectiveService.ts +1 -13
  586. package/src/modules/planner/backend/planner/availability-rulesets/[id]/page.tsx +14 -16
  587. package/src/modules/planner/backend/planner/availability-rulesets/page.tsx +3 -6
  588. package/src/modules/planner/components/AvailabilityRuleSetForm.tsx +0 -3
  589. package/src/modules/planner/components/AvailabilityRulesEditor.tsx +15 -58
  590. package/src/modules/planner/components/AvailabilitySchedule.tsx +7 -22
  591. package/src/modules/resources/backend/resources/resource-types/[id]/edit/page.tsx +1 -7
  592. package/src/modules/resources/backend/resources/resource-types/page.tsx +3 -6
  593. package/src/modules/resources/backend/resources/resources/[id]/page.tsx +3 -23
  594. package/src/modules/resources/backend/resources/resources/page.tsx +4 -15
  595. package/src/modules/resources/components/ResourceCrudForm.tsx +0 -3
  596. package/src/modules/resources/components/ResourceTypeCrudForm.tsx +0 -2
  597. package/src/modules/sales/api/documents/factory.ts +1 -13
  598. package/src/modules/sales/backend/sales/channels/[channelId]/edit/page.tsx +0 -6
  599. package/src/modules/sales/backend/sales/channels/offers/page.tsx +4 -10
  600. package/src/modules/sales/backend/sales/channels/page.tsx +4 -19
  601. package/src/modules/sales/backend/sales/documents/[id]/page.tsx +20 -73
  602. package/src/modules/sales/backend/sales/documents/create/page.tsx +0 -2
  603. package/src/modules/sales/commands/documents.ts +0 -13
  604. package/src/modules/sales/commands/returns.ts +1 -2
  605. package/src/modules/sales/commands/shared.ts +0 -36
  606. package/src/modules/sales/components/AdjustmentKindSettings.tsx +11 -20
  607. package/src/modules/sales/components/DocumentNumberSettings.tsx +0 -1
  608. package/src/modules/sales/components/OrderEditingSettings.tsx +0 -1
  609. package/src/modules/sales/components/PaymentMethodsSettings.tsx +4 -12
  610. package/src/modules/sales/components/ShippingMethodsSettings.tsx +4 -12
  611. package/src/modules/sales/components/StatusSettings.tsx +11 -20
  612. package/src/modules/sales/components/TaxRatesSettings.tsx +5 -12
  613. package/src/modules/sales/components/channels/ChannelOfferForm.tsx +14 -67
  614. package/src/modules/sales/components/channels/SalesChannelOffersPanel.tsx +4 -7
  615. package/src/modules/sales/components/documents/AddressesSection.tsx +25 -35
  616. package/src/modules/sales/components/documents/AdjustmentsSection.tsx +25 -50
  617. package/src/modules/sales/components/documents/ItemsSection.tsx +13 -24
  618. package/src/modules/sales/components/documents/LineItemDialog.tsx +9 -26
  619. package/src/modules/sales/components/documents/PaymentDialog.tsx +14 -33
  620. package/src/modules/sales/components/documents/PaymentsSection.tsx +10 -22
  621. package/src/modules/sales/components/documents/ReturnDialog.tsx +17 -28
  622. package/src/modules/sales/components/documents/ReturnsSection.tsx +1 -4
  623. package/src/modules/sales/components/documents/SalesDocumentsTable.tsx +4 -11
  624. package/src/modules/sales/components/documents/ShipmentDialog.tsx +8 -23
  625. package/src/modules/sales/components/documents/ShipmentsSection.tsx +10 -20
  626. package/src/modules/sales/components/documents/shipmentTypes.ts +0 -1
  627. package/src/modules/sales/di.ts +0 -35
  628. package/src/modules/staff/api/job-histories.ts +2 -12
  629. package/src/modules/staff/api/timesheets/time-entries/route.ts +4 -12
  630. package/src/modules/staff/backend/staff/leave-requests/[id]/page.tsx +7 -12
  631. package/src/modules/staff/backend/staff/my-leave-requests/[id]/page.tsx +0 -2
  632. package/src/modules/staff/backend/staff/team-members/[id]/page.tsx +5 -16
  633. package/src/modules/staff/backend/staff/team-members/page.tsx +2 -6
  634. package/src/modules/staff/backend/staff/team-roles/[id]/edit/page.tsx +0 -8
  635. package/src/modules/staff/backend/staff/team-roles/page.tsx +2 -6
  636. package/src/modules/staff/backend/staff/teams/[id]/edit/page.tsx +3 -13
  637. package/src/modules/staff/backend/staff/teams/page.tsx +3 -9
  638. package/src/modules/staff/backend/staff/timesheets/page.tsx +0 -5
  639. package/src/modules/staff/backend/staff/timesheets/projects/[id]/page.tsx +0 -4
  640. package/src/modules/staff/backend/staff/timesheets/projects/page.tsx +3 -9
  641. package/src/modules/staff/commands/job-histories.ts +3 -42
  642. package/src/modules/staff/components/LeaveRequestForm.tsx +0 -2
  643. package/src/modules/staff/components/TeamForm.tsx +0 -2
  644. package/src/modules/staff/components/TeamMemberForm.tsx +0 -2
  645. package/src/modules/staff/components/TeamRoleForm.tsx +0 -2
  646. package/src/modules/staff/components/detail/JobHistorySection.tsx +6 -27
  647. package/src/modules/staff/data/validators.ts +0 -6
  648. package/src/modules/staff/i18n/de.json +0 -1
  649. package/src/modules/staff/i18n/en.json +0 -1
  650. package/src/modules/staff/i18n/es.json +0 -1
  651. package/src/modules/staff/i18n/pl.json +0 -1
  652. package/src/modules/staff/lib/leaveRequestHelpers.ts +0 -4
  653. package/src/modules/translations/components/TranslationManager.tsx +8 -13
  654. package/src/modules/workflows/api/definitions/[id]/route.ts +0 -112
  655. package/src/modules/workflows/backend/definitions/[id]/page.tsx +4 -20
  656. package/src/modules/workflows/backend/definitions/page.tsx +9 -20
  657. package/src/modules/workflows/backend/definitions/visual-editor/page.tsx +16 -29
  658. package/src/modules/workflows/components/formConfig.tsx +0 -5
  659. package/src/modules/workflows/di.ts +0 -20
  660. package/dist/generated/entities/channel_ingest_dead_letter/index.js +0 -25
  661. package/dist/generated/entities/channel_ingest_dead_letter/index.js.map +0 -7
  662. package/dist/generated/entities/channel_thread_mapping/index.js +0 -25
  663. package/dist/generated/entities/channel_thread_mapping/index.js.map +0 -7
  664. package/dist/generated/entities/channel_thread_token/index.js +0 -17
  665. package/dist/generated/entities/channel_thread_token/index.js.map +0 -7
  666. package/dist/generated/entities/communication_channel/index.js +0 -43
  667. package/dist/generated/entities/communication_channel/index.js.map +0 -7
  668. package/dist/generated/entities/external_conversation/index.js +0 -25
  669. package/dist/generated/entities/external_conversation/index.js.map +0 -7
  670. package/dist/generated/entities/external_message/index.js +0 -25
  671. package/dist/generated/entities/external_message/index.js.map +0 -7
  672. package/dist/generated/entities/message_channel_link/index.js +0 -33
  673. package/dist/generated/entities/message_channel_link/index.js.map +0 -7
  674. package/dist/generated/entities/message_reaction/index.js +0 -25
  675. package/dist/generated/entities/message_reaction/index.js.map +0 -7
  676. package/dist/helpers/integration/communicationChannelsFixtures.js +0 -58
  677. package/dist/helpers/integration/communicationChannelsFixtures.js.map +0 -7
  678. package/dist/helpers/integration/optimisticLockUi.js +0 -97
  679. package/dist/helpers/integration/optimisticLockUi.js.map +0 -7
  680. package/dist/modules/communication_channels/acl.js +0 -47
  681. package/dist/modules/communication_channels/acl.js.map +0 -7
  682. package/dist/modules/communication_channels/api/delete/channels/[id]/route.js +0 -133
  683. package/dist/modules/communication_channels/api/delete/channels/[id]/route.js.map +0 -7
  684. package/dist/modules/communication_channels/api/delete/messages/[messageId]/reactions/[reactionId]/route.js +0 -113
  685. package/dist/modules/communication_channels/api/delete/messages/[messageId]/reactions/[reactionId]/route.js.map +0 -7
  686. package/dist/modules/communication_channels/api/get/channels/[id]/health/route.js +0 -138
  687. package/dist/modules/communication_channels/api/get/channels/[id]/health/route.js.map +0 -7
  688. package/dist/modules/communication_channels/api/get/channels/[id]/route.js +0 -93
  689. package/dist/modules/communication_channels/api/get/channels/[id]/route.js.map +0 -7
  690. package/dist/modules/communication_channels/api/get/channels/route.js +0 -96
  691. package/dist/modules/communication_channels/api/get/channels/route.js.map +0 -7
  692. package/dist/modules/communication_channels/api/get/me/channels/route.js +0 -82
  693. package/dist/modules/communication_channels/api/get/me/channels/route.js.map +0 -7
  694. package/dist/modules/communication_channels/api/get/oauth/[provider]/callback/route.js +0 -274
  695. package/dist/modules/communication_channels/api/get/oauth/[provider]/callback/route.js.map +0 -7
  696. package/dist/modules/communication_channels/api/post/channels/[id]/import-history/route.js +0 -168
  697. package/dist/modules/communication_channels/api/post/channels/[id]/import-history/route.js.map +0 -7
  698. package/dist/modules/communication_channels/api/post/channels/[id]/poll-now/route.js +0 -143
  699. package/dist/modules/communication_channels/api/post/channels/[id]/poll-now/route.js.map +0 -7
  700. package/dist/modules/communication_channels/api/post/channels/[id]/push/register/route.js +0 -127
  701. package/dist/modules/communication_channels/api/post/channels/[id]/push/register/route.js.map +0 -7
  702. package/dist/modules/communication_channels/api/post/channels/[id]/set-primary/route.js +0 -99
  703. package/dist/modules/communication_channels/api/post/channels/[id]/set-primary/route.js.map +0 -7
  704. package/dist/modules/communication_channels/api/post/channels/[id]/test-send/route.js +0 -197
  705. package/dist/modules/communication_channels/api/post/channels/[id]/test-send/route.js.map +0 -7
  706. package/dist/modules/communication_channels/api/post/channels/connect/credentials/route.js +0 -124
  707. package/dist/modules/communication_channels/api/post/channels/connect/credentials/route.js.map +0 -7
  708. package/dist/modules/communication_channels/api/post/messages/[messageId]/reactions/route.js +0 -120
  709. package/dist/modules/communication_channels/api/post/messages/[messageId]/reactions/route.js.map +0 -7
  710. package/dist/modules/communication_channels/api/post/oauth/[provider]/initiate/route.js +0 -157
  711. package/dist/modules/communication_channels/api/post/oauth/[provider]/initiate/route.js.map +0 -7
  712. package/dist/modules/communication_channels/api/post/send-as-user/route.js +0 -115
  713. package/dist/modules/communication_channels/api/post/send-as-user/route.js.map +0 -7
  714. package/dist/modules/communication_channels/api/post/test-seed/route.js +0 -217
  715. package/dist/modules/communication_channels/api/post/test-seed/route.js.map +0 -7
  716. package/dist/modules/communication_channels/api/post/webhook/[provider]/route.js +0 -175
  717. package/dist/modules/communication_channels/api/post/webhook/[provider]/route.js.map +0 -7
  718. package/dist/modules/communication_channels/api/post/webhooks/gmail/route.js +0 -123
  719. package/dist/modules/communication_channels/api/post/webhooks/gmail/route.js.map +0 -7
  720. package/dist/modules/communication_channels/api/put/threads/[threadId]/assign/route.js +0 -117
  721. package/dist/modules/communication_channels/api/put/threads/[threadId]/assign/route.js.map +0 -7
  722. package/dist/modules/communication_channels/backend/communication_channels/channels/[id]/page.js +0 -180
  723. package/dist/modules/communication_channels/backend/communication_channels/channels/[id]/page.js.map +0 -7
  724. package/dist/modules/communication_channels/backend/communication_channels/channels/[id]/page.meta.js +0 -36
  725. package/dist/modules/communication_channels/backend/communication_channels/channels/[id]/page.meta.js.map +0 -7
  726. package/dist/modules/communication_channels/backend/communication_channels/channels/page.js +0 -107
  727. package/dist/modules/communication_channels/backend/communication_channels/channels/page.js.map +0 -7
  728. package/dist/modules/communication_channels/backend/communication_channels/channels/page.meta.js +0 -38
  729. package/dist/modules/communication_channels/backend/communication_channels/channels/page.meta.js.map +0 -7
  730. package/dist/modules/communication_channels/backend/profile/communication-channels/page.js +0 -732
  731. package/dist/modules/communication_channels/backend/profile/communication-channels/page.js.map +0 -7
  732. package/dist/modules/communication_channels/backend/profile/communication-channels/page.meta.js +0 -38
  733. package/dist/modules/communication_channels/backend/profile/communication-channels/page.meta.js.map +0 -7
  734. package/dist/modules/communication_channels/commands/connect-credential-channel.js +0 -154
  735. package/dist/modules/communication_channels/commands/connect-credential-channel.js.map +0 -7
  736. package/dist/modules/communication_channels/commands/delete-channel.js +0 -137
  737. package/dist/modules/communication_channels/commands/delete-channel.js.map +0 -7
  738. package/dist/modules/communication_channels/commands/deliver-outbound-message.js +0 -400
  739. package/dist/modules/communication_channels/commands/deliver-outbound-message.js.map +0 -7
  740. package/dist/modules/communication_channels/commands/disconnect-channel.js +0 -163
  741. package/dist/modules/communication_channels/commands/disconnect-channel.js.map +0 -7
  742. package/dist/modules/communication_channels/commands/ingest-inbound-message.js +0 -413
  743. package/dist/modules/communication_channels/commands/ingest-inbound-message.js.map +0 -7
  744. package/dist/modules/communication_channels/commands/interceptors.js +0 -68
  745. package/dist/modules/communication_channels/commands/interceptors.js.map +0 -7
  746. package/dist/modules/communication_channels/commands/process-inbound-reaction.js +0 -198
  747. package/dist/modules/communication_channels/commands/process-inbound-reaction.js.map +0 -7
  748. package/dist/modules/communication_channels/commands/push-register.js +0 -146
  749. package/dist/modules/communication_channels/commands/push-register.js.map +0 -7
  750. package/dist/modules/communication_channels/commands/push-renew.js +0 -23
  751. package/dist/modules/communication_channels/commands/push-renew.js.map +0 -7
  752. package/dist/modules/communication_channels/commands/push-unregister.js +0 -108
  753. package/dist/modules/communication_channels/commands/push-unregister.js.map +0 -7
  754. package/dist/modules/communication_channels/commands/queue-import-history.js +0 -113
  755. package/dist/modules/communication_channels/commands/queue-import-history.js.map +0 -7
  756. package/dist/modules/communication_channels/commands/reassign-conversation.js +0 -193
  757. package/dist/modules/communication_channels/commands/reassign-conversation.js.map +0 -7
  758. package/dist/modules/communication_channels/commands/set-primary-channel.js +0 -114
  759. package/dist/modules/communication_channels/commands/set-primary-channel.js.map +0 -7
  760. package/dist/modules/communication_channels/commands/toggle-outbound-reaction.js +0 -260
  761. package/dist/modules/communication_channels/commands/toggle-outbound-reaction.js.map +0 -7
  762. package/dist/modules/communication_channels/data/enrichers.js +0 -286
  763. package/dist/modules/communication_channels/data/enrichers.js.map +0 -7
  764. package/dist/modules/communication_channels/data/entities.js +0 -447
  765. package/dist/modules/communication_channels/data/entities.js.map +0 -7
  766. package/dist/modules/communication_channels/data/extensions.js +0 -67
  767. package/dist/modules/communication_channels/data/extensions.js.map +0 -7
  768. package/dist/modules/communication_channels/data/validators.js +0 -123
  769. package/dist/modules/communication_channels/data/validators.js.map +0 -7
  770. package/dist/modules/communication_channels/di.js +0 -35
  771. package/dist/modules/communication_channels/di.js.map +0 -7
  772. package/dist/modules/communication_channels/encryption.js +0 -12
  773. package/dist/modules/communication_channels/encryption.js.map +0 -7
  774. package/dist/modules/communication_channels/events.js +0 -124
  775. package/dist/modules/communication_channels/events.js.map +0 -7
  776. package/dist/modules/communication_channels/index.js +0 -20
  777. package/dist/modules/communication_channels/index.js.map +0 -7
  778. package/dist/modules/communication_channels/lib/access-control.js +0 -43
  779. package/dist/modules/communication_channels/lib/access-control.js.map +0 -7
  780. package/dist/modules/communication_channels/lib/adapter-compat.js +0 -36
  781. package/dist/modules/communication_channels/lib/adapter-compat.js.map +0 -7
  782. package/dist/modules/communication_channels/lib/adapter-registry-singleton.js +0 -22
  783. package/dist/modules/communication_channels/lib/adapter-registry-singleton.js.map +0 -7
  784. package/dist/modules/communication_channels/lib/adapter.js +0 -1
  785. package/dist/modules/communication_channels/lib/adapter.js.map +0 -7
  786. package/dist/modules/communication_channels/lib/connect-channel.js +0 -95
  787. package/dist/modules/communication_channels/lib/connect-channel.js.map +0 -7
  788. package/dist/modules/communication_channels/lib/contact-resolver.js +0 -79
  789. package/dist/modules/communication_channels/lib/contact-resolver.js.map +0 -7
  790. package/dist/modules/communication_channels/lib/credential-refresh.js +0 -97
  791. package/dist/modules/communication_channels/lib/credential-refresh.js.map +0 -7
  792. package/dist/modules/communication_channels/lib/dead-letter.js +0 -62
  793. package/dist/modules/communication_channels/lib/dead-letter.js.map +0 -7
  794. package/dist/modules/communication_channels/lib/email-capabilities.js +0 -47
  795. package/dist/modules/communication_channels/lib/email-capabilities.js.map +0 -7
  796. package/dist/modules/communication_channels/lib/email-contact.js +0 -14
  797. package/dist/modules/communication_channels/lib/email-contact.js.map +0 -7
  798. package/dist/modules/communication_channels/lib/email-mime.js +0 -272
  799. package/dist/modules/communication_channels/lib/email-mime.js.map +0 -7
  800. package/dist/modules/communication_channels/lib/error-classification.js +0 -101
  801. package/dist/modules/communication_channels/lib/error-classification.js.map +0 -7
  802. package/dist/modules/communication_channels/lib/gmail-pubsub-jwt.js +0 -185
  803. package/dist/modules/communication_channels/lib/gmail-pubsub-jwt.js.map +0 -7
  804. package/dist/modules/communication_channels/lib/mutation-guards.js +0 -114
  805. package/dist/modules/communication_channels/lib/mutation-guards.js.map +0 -7
  806. package/dist/modules/communication_channels/lib/oauth-client-config.js +0 -32
  807. package/dist/modules/communication_channels/lib/oauth-client-config.js.map +0 -7
  808. package/dist/modules/communication_channels/lib/oauth-state.js +0 -128
  809. package/dist/modules/communication_channels/lib/oauth-state.js.map +0 -7
  810. package/dist/modules/communication_channels/lib/oauth-token.js +0 -45
  811. package/dist/modules/communication_channels/lib/oauth-token.js.map +0 -7
  812. package/dist/modules/communication_channels/lib/pg-errors.js +0 -11
  813. package/dist/modules/communication_channels/lib/pg-errors.js.map +0 -7
  814. package/dist/modules/communication_channels/lib/provider-health.js +0 -24
  815. package/dist/modules/communication_channels/lib/provider-health.js.map +0 -7
  816. package/dist/modules/communication_channels/lib/push-state.js +0 -19
  817. package/dist/modules/communication_channels/lib/push-state.js.map +0 -7
  818. package/dist/modules/communication_channels/lib/queue.js +0 -54
  819. package/dist/modules/communication_channels/lib/queue.js.map +0 -7
  820. package/dist/modules/communication_channels/lib/reaction-processor-types.js +0 -5
  821. package/dist/modules/communication_channels/lib/reaction-processor-types.js.map +0 -7
  822. package/dist/modules/communication_channels/lib/reaction-semantics.js +0 -11
  823. package/dist/modules/communication_channels/lib/reaction-semantics.js.map +0 -7
  824. package/dist/modules/communication_channels/lib/registry.js +0 -67
  825. package/dist/modules/communication_channels/lib/registry.js.map +0 -7
  826. package/dist/modules/communication_channels/lib/route-mutation-guard.js +0 -43
  827. package/dist/modules/communication_channels/lib/route-mutation-guard.js.map +0 -7
  828. package/dist/modules/communication_channels/lib/sanitize-channel-html.js +0 -96
  829. package/dist/modules/communication_channels/lib/sanitize-channel-html.js.map +0 -7
  830. package/dist/modules/communication_channels/lib/send-as-user.js +0 -194
  831. package/dist/modules/communication_channels/lib/send-as-user.js.map +0 -7
  832. package/dist/modules/communication_channels/lib/system-user.js +0 -22
  833. package/dist/modules/communication_channels/lib/system-user.js.map +0 -7
  834. package/dist/modules/communication_channels/lib/test-seed.js +0 -68
  835. package/dist/modules/communication_channels/lib/test-seed.js.map +0 -7
  836. package/dist/modules/communication_channels/lib/thread-matcher.js +0 -263
  837. package/dist/modules/communication_channels/lib/thread-matcher.js.map +0 -7
  838. package/dist/modules/communication_channels/lib/thread-token.js +0 -219
  839. package/dist/modules/communication_channels/lib/thread-token.js.map +0 -7
  840. package/dist/modules/communication_channels/lib/use-connect-channel.js +0 -61
  841. package/dist/modules/communication_channels/lib/use-connect-channel.js.map +0 -7
  842. package/dist/modules/communication_channels/migrations/Migration20260526134719_communication_channels.js +0 -50
  843. package/dist/modules/communication_channels/migrations/Migration20260526134719_communication_channels.js.map +0 -7
  844. package/dist/modules/communication_channels/migrations/Migration20260527195446_communication_channels.js +0 -19
  845. package/dist/modules/communication_channels/migrations/Migration20260527195446_communication_channels.js.map +0 -7
  846. package/dist/modules/communication_channels/migrations/Migration20260529231848_communication_channels.js +0 -13
  847. package/dist/modules/communication_channels/migrations/Migration20260529231848_communication_channels.js.map +0 -7
  848. package/dist/modules/communication_channels/migrations/Migration20260531120000_communication_channels.js +0 -17
  849. package/dist/modules/communication_channels/migrations/Migration20260531120000_communication_channels.js.map +0 -7
  850. package/dist/modules/communication_channels/notifications.client.js +0 -51
  851. package/dist/modules/communication_channels/notifications.client.js.map +0 -7
  852. package/dist/modules/communication_channels/notifications.handlers.js +0 -53
  853. package/dist/modules/communication_channels/notifications.handlers.js.map +0 -7
  854. package/dist/modules/communication_channels/notifications.js +0 -56
  855. package/dist/modules/communication_channels/notifications.js.map +0 -7
  856. package/dist/modules/communication_channels/setup.js +0 -105
  857. package/dist/modules/communication_channels/setup.js.map +0 -7
  858. package/dist/modules/communication_channels/subscribers/channel-requires-reauth-notification.js +0 -71
  859. package/dist/modules/communication_channels/subscribers/channel-requires-reauth-notification.js.map +0 -7
  860. package/dist/modules/communication_channels/subscribers/outbound-bridge.js +0 -103
  861. package/dist/modules/communication_channels/subscribers/outbound-bridge.js.map +0 -7
  862. package/dist/modules/communication_channels/subscribers/user-deleted-cascade.js +0 -51
  863. package/dist/modules/communication_channels/subscribers/user-deleted-cascade.js.map +0 -7
  864. package/dist/modules/communication_channels/widgets/components.js +0 -7
  865. package/dist/modules/communication_channels/widgets/components.js.map +0 -7
  866. package/dist/modules/communication_channels/widgets/injection/channel-badge/widget.client.js +0 -18
  867. package/dist/modules/communication_channels/widgets/injection/channel-badge/widget.client.js.map +0 -7
  868. package/dist/modules/communication_channels/widgets/injection/channel-badge/widget.js +0 -30
  869. package/dist/modules/communication_channels/widgets/injection/channel-badge/widget.js.map +0 -7
  870. package/dist/modules/communication_channels/widgets/injection/channel-info-panel/widget.client.js +0 -185
  871. package/dist/modules/communication_channels/widgets/injection/channel-info-panel/widget.client.js.map +0 -7
  872. package/dist/modules/communication_channels/widgets/injection/channel-info-panel/widget.js +0 -17
  873. package/dist/modules/communication_channels/widgets/injection/channel-info-panel/widget.js.map +0 -7
  874. package/dist/modules/communication_channels/widgets/injection/channel-payload-renderer/widget.client.js +0 -44
  875. package/dist/modules/communication_channels/widgets/injection/channel-payload-renderer/widget.client.js.map +0 -7
  876. package/dist/modules/communication_channels/widgets/injection/channel-payload-renderer/widget.js +0 -17
  877. package/dist/modules/communication_channels/widgets/injection/channel-payload-renderer/widget.js.map +0 -7
  878. package/dist/modules/communication_channels/widgets/injection/profile-channels-menu/widget.js +0 -23
  879. package/dist/modules/communication_channels/widgets/injection/profile-channels-menu/widget.js.map +0 -7
  880. package/dist/modules/communication_channels/widgets/injection/reaction-bar/widget.client.js +0 -141
  881. package/dist/modules/communication_channels/widgets/injection/reaction-bar/widget.client.js.map +0 -7
  882. package/dist/modules/communication_channels/widgets/injection/reaction-bar/widget.js +0 -17
  883. package/dist/modules/communication_channels/widgets/injection/reaction-bar/widget.js.map +0 -7
  884. package/dist/modules/communication_channels/widgets/injection-table.js +0 -38
  885. package/dist/modules/communication_channels/widgets/injection-table.js.map +0 -7
  886. package/dist/modules/communication_channels/widgets/notifications/ChannelRequiresReauthRenderer.js +0 -25
  887. package/dist/modules/communication_channels/widgets/notifications/ChannelRequiresReauthRenderer.js.map +0 -7
  888. package/dist/modules/communication_channels/widgets/notifications/MessageReceivedRenderer.js +0 -19
  889. package/dist/modules/communication_channels/widgets/notifications/MessageReceivedRenderer.js.map +0 -7
  890. package/dist/modules/communication_channels/widgets/notifications/index.js +0 -7
  891. package/dist/modules/communication_channels/widgets/notifications/index.js.map +0 -7
  892. package/dist/modules/communication_channels/workers/channel-import-history.js +0 -185
  893. package/dist/modules/communication_channels/workers/channel-import-history.js.map +0 -7
  894. package/dist/modules/communication_channels/workers/gmail-history-sync.js +0 -154
  895. package/dist/modules/communication_channels/workers/gmail-history-sync.js.map +0 -7
  896. package/dist/modules/communication_channels/workers/gmail-renew-watch.js +0 -95
  897. package/dist/modules/communication_channels/workers/gmail-renew-watch.js.map +0 -7
  898. package/dist/modules/communication_channels/workers/inbound-processor.js +0 -56
  899. package/dist/modules/communication_channels/workers/inbound-processor.js.map +0 -7
  900. package/dist/modules/communication_channels/workers/outbound-delivery.js +0 -85
  901. package/dist/modules/communication_channels/workers/outbound-delivery.js.map +0 -7
  902. package/dist/modules/communication_channels/workers/poll-channel.js +0 -240
  903. package/dist/modules/communication_channels/workers/poll-channel.js.map +0 -7
  904. package/dist/modules/communication_channels/workers/poll-tick.js +0 -132
  905. package/dist/modules/communication_channels/workers/poll-tick.js.map +0 -7
  906. package/dist/modules/communication_channels/workers/reaction-processor.js +0 -192
  907. package/dist/modules/communication_channels/workers/reaction-processor.js.map +0 -7
  908. package/dist/modules/customers/api/interactions/[id]/visibility/route.js +0 -151
  909. package/dist/modules/customers/api/interactions/[id]/visibility/route.js.map +0 -7
  910. package/dist/modules/customers/api/people/[id]/email-threads/route.js +0 -82
  911. package/dist/modules/customers/api/people/[id]/email-threads/route.js.map +0 -7
  912. package/dist/modules/customers/api/people/[id]/emails/route.js +0 -157
  913. package/dist/modules/customers/api/people/[id]/emails/route.js.map +0 -7
  914. package/dist/modules/customers/components/detail/ComposeEmailDialog.js +0 -242
  915. package/dist/modules/customers/components/detail/ComposeEmailDialog.js.map +0 -7
  916. package/dist/modules/customers/components/detail/EmailCardActions.js +0 -184
  917. package/dist/modules/customers/components/detail/EmailCardActions.js.map +0 -7
  918. package/dist/modules/customers/components/detail/EmailReplyForwardActions.js +0 -52
  919. package/dist/modules/customers/components/detail/EmailReplyForwardActions.js.map +0 -7
  920. package/dist/modules/customers/components/detail/PersonEmailThreadsTab.js +0 -366
  921. package/dist/modules/customers/components/detail/PersonEmailThreadsTab.js.map +0 -7
  922. package/dist/modules/customers/data/extensions.js +0 -16
  923. package/dist/modules/customers/data/extensions.js.map +0 -7
  924. package/dist/modules/customers/data/guards.js +0 -66
  925. package/dist/modules/customers/data/guards.js.map +0 -7
  926. package/dist/modules/customers/lib/findPeopleByAddresses.js +0 -64
  927. package/dist/modules/customers/lib/findPeopleByAddresses.js.map +0 -7
  928. package/dist/modules/customers/lib/link-channel-message-handler.js +0 -303
  929. package/dist/modules/customers/lib/link-channel-message-handler.js.map +0 -7
  930. package/dist/modules/customers/lib/personEmailThreads.js +0 -205
  931. package/dist/modules/customers/lib/personEmailThreads.js.map +0 -7
  932. package/dist/modules/customers/lib/visibilityFilter.js +0 -51
  933. package/dist/modules/customers/lib/visibilityFilter.js.map +0 -7
  934. package/dist/modules/customers/migrations/Migration20260527012240_customers.js +0 -20
  935. package/dist/modules/customers/migrations/Migration20260527012240_customers.js.map +0 -7
  936. package/dist/modules/customers/subscribers/link-channel-message-received.js +0 -12
  937. package/dist/modules/customers/subscribers/link-channel-message-received.js.map +0 -7
  938. package/dist/modules/customers/subscribers/link-channel-message-sent.js +0 -12
  939. package/dist/modules/customers/subscribers/link-channel-message-sent.js.map +0 -7
  940. package/dist/modules/integrations/migrations/Migration20260526154136_integrations.js +0 -15
  941. package/dist/modules/integrations/migrations/Migration20260526154136_integrations.js.map +0 -7
  942. package/dist/modules/messages/migrations/Migration20260531130000.js +0 -15
  943. package/dist/modules/messages/migrations/Migration20260531130000.js.map +0 -7
  944. package/dist/modules/messages/widgets/injection-table.js +0 -7
  945. package/dist/modules/messages/widgets/injection-table.js.map +0 -7
  946. package/dist/modules/sales/components/documents/optimisticLock.js +0 -27
  947. package/dist/modules/sales/components/documents/optimisticLock.js.map +0 -7
  948. package/generated/entities/channel_ingest_dead_letter/index.ts +0 -11
  949. package/generated/entities/channel_thread_mapping/index.ts +0 -11
  950. package/generated/entities/channel_thread_token/index.ts +0 -7
  951. package/generated/entities/communication_channel/index.ts +0 -20
  952. package/generated/entities/external_conversation/index.ts +0 -11
  953. package/generated/entities/external_message/index.ts +0 -11
  954. package/generated/entities/message_channel_link/index.ts +0 -15
  955. package/generated/entities/message_reaction/index.ts +0 -11
  956. package/src/helpers/integration/communicationChannelsFixtures.ts +0 -124
  957. package/src/helpers/integration/optimisticLockUi.ts +0 -147
  958. package/src/modules/communication_channels/acl.ts +0 -43
  959. package/src/modules/communication_channels/api/delete/channels/[id]/route.ts +0 -163
  960. package/src/modules/communication_channels/api/delete/messages/[messageId]/reactions/[reactionId]/route.ts +0 -143
  961. package/src/modules/communication_channels/api/get/channels/[id]/health/route.ts +0 -173
  962. package/src/modules/communication_channels/api/get/channels/[id]/route.ts +0 -111
  963. package/src/modules/communication_channels/api/get/channels/route.ts +0 -109
  964. package/src/modules/communication_channels/api/get/me/channels/route.ts +0 -100
  965. package/src/modules/communication_channels/api/get/oauth/[provider]/callback/route.ts +0 -355
  966. package/src/modules/communication_channels/api/post/channels/[id]/import-history/route.ts +0 -206
  967. package/src/modules/communication_channels/api/post/channels/[id]/poll-now/route.ts +0 -174
  968. package/src/modules/communication_channels/api/post/channels/[id]/push/register/route.ts +0 -158
  969. package/src/modules/communication_channels/api/post/channels/[id]/set-primary/route.ts +0 -114
  970. package/src/modules/communication_channels/api/post/channels/[id]/test-send/route.ts +0 -241
  971. package/src/modules/communication_channels/api/post/channels/connect/credentials/route.ts +0 -134
  972. package/src/modules/communication_channels/api/post/messages/[messageId]/reactions/route.ts +0 -143
  973. package/src/modules/communication_channels/api/post/oauth/[provider]/initiate/route.ts +0 -192
  974. package/src/modules/communication_channels/api/post/send-as-user/route.ts +0 -125
  975. package/src/modules/communication_channels/api/post/test-seed/route.ts +0 -267
  976. package/src/modules/communication_channels/api/post/webhook/[provider]/route.ts +0 -227
  977. package/src/modules/communication_channels/api/post/webhooks/gmail/route.ts +0 -161
  978. package/src/modules/communication_channels/api/put/threads/[threadId]/assign/route.ts +0 -132
  979. package/src/modules/communication_channels/backend/communication_channels/channels/[id]/page.meta.ts +0 -34
  980. package/src/modules/communication_channels/backend/communication_channels/channels/[id]/page.tsx +0 -250
  981. package/src/modules/communication_channels/backend/communication_channels/channels/page.meta.ts +0 -36
  982. package/src/modules/communication_channels/backend/communication_channels/channels/page.tsx +0 -137
  983. package/src/modules/communication_channels/backend/profile/communication-channels/page.meta.ts +0 -36
  984. package/src/modules/communication_channels/backend/profile/communication-channels/page.tsx +0 -912
  985. package/src/modules/communication_channels/commands/connect-credential-channel.ts +0 -243
  986. package/src/modules/communication_channels/commands/delete-channel.ts +0 -193
  987. package/src/modules/communication_channels/commands/deliver-outbound-message.ts +0 -579
  988. package/src/modules/communication_channels/commands/disconnect-channel.ts +0 -241
  989. package/src/modules/communication_channels/commands/ingest-inbound-message.ts +0 -602
  990. package/src/modules/communication_channels/commands/interceptors.ts +0 -104
  991. package/src/modules/communication_channels/commands/process-inbound-reaction.ts +0 -265
  992. package/src/modules/communication_channels/commands/push-register.ts +0 -203
  993. package/src/modules/communication_channels/commands/push-renew.ts +0 -49
  994. package/src/modules/communication_channels/commands/push-unregister.ts +0 -168
  995. package/src/modules/communication_channels/commands/queue-import-history.ts +0 -180
  996. package/src/modules/communication_channels/commands/reassign-conversation.ts +0 -273
  997. package/src/modules/communication_channels/commands/set-primary-channel.ts +0 -154
  998. package/src/modules/communication_channels/commands/toggle-outbound-reaction.ts +0 -347
  999. package/src/modules/communication_channels/data/enrichers.ts +0 -413
  1000. package/src/modules/communication_channels/data/entities.ts +0 -546
  1001. package/src/modules/communication_channels/data/extensions.ts +0 -76
  1002. package/src/modules/communication_channels/data/validators.ts +0 -138
  1003. package/src/modules/communication_channels/di.ts +0 -40
  1004. package/src/modules/communication_channels/encryption.ts +0 -44
  1005. package/src/modules/communication_channels/events.ts +0 -122
  1006. package/src/modules/communication_channels/i18n/de.json +0 -138
  1007. package/src/modules/communication_channels/i18n/en.json +0 -138
  1008. package/src/modules/communication_channels/i18n/es.json +0 -138
  1009. package/src/modules/communication_channels/i18n/pl.json +0 -138
  1010. package/src/modules/communication_channels/index.ts +0 -19
  1011. package/src/modules/communication_channels/lib/access-control.ts +0 -110
  1012. package/src/modules/communication_channels/lib/adapter-compat.ts +0 -57
  1013. package/src/modules/communication_channels/lib/adapter-registry-singleton.ts +0 -35
  1014. package/src/modules/communication_channels/lib/adapter.ts +0 -605
  1015. package/src/modules/communication_channels/lib/connect-channel.ts +0 -163
  1016. package/src/modules/communication_channels/lib/contact-resolver.ts +0 -162
  1017. package/src/modules/communication_channels/lib/credential-refresh.ts +0 -197
  1018. package/src/modules/communication_channels/lib/dead-letter.ts +0 -87
  1019. package/src/modules/communication_channels/lib/email-capabilities.ts +0 -60
  1020. package/src/modules/communication_channels/lib/email-contact.ts +0 -17
  1021. package/src/modules/communication_channels/lib/email-mime.ts +0 -449
  1022. package/src/modules/communication_channels/lib/error-classification.ts +0 -144
  1023. package/src/modules/communication_channels/lib/gmail-pubsub-jwt.ts +0 -278
  1024. package/src/modules/communication_channels/lib/mutation-guards.ts +0 -215
  1025. package/src/modules/communication_channels/lib/oauth-client-config.ts +0 -79
  1026. package/src/modules/communication_channels/lib/oauth-state.ts +0 -228
  1027. package/src/modules/communication_channels/lib/oauth-token.ts +0 -81
  1028. package/src/modules/communication_channels/lib/pg-errors.ts +0 -12
  1029. package/src/modules/communication_channels/lib/provider-health.ts +0 -47
  1030. package/src/modules/communication_channels/lib/push-state.ts +0 -38
  1031. package/src/modules/communication_channels/lib/queue.ts +0 -66
  1032. package/src/modules/communication_channels/lib/reaction-processor-types.ts +0 -51
  1033. package/src/modules/communication_channels/lib/reaction-semantics.ts +0 -48
  1034. package/src/modules/communication_channels/lib/registry.ts +0 -99
  1035. package/src/modules/communication_channels/lib/route-mutation-guard.ts +0 -68
  1036. package/src/modules/communication_channels/lib/sanitize-channel-html.ts +0 -129
  1037. package/src/modules/communication_channels/lib/send-as-user.ts +0 -284
  1038. package/src/modules/communication_channels/lib/system-user.ts +0 -74
  1039. package/src/modules/communication_channels/lib/test-seed.ts +0 -140
  1040. package/src/modules/communication_channels/lib/thread-matcher.ts +0 -430
  1041. package/src/modules/communication_channels/lib/thread-token.ts +0 -355
  1042. package/src/modules/communication_channels/lib/use-connect-channel.ts +0 -73
  1043. package/src/modules/communication_channels/migrations/.snapshot-open-mercato.json +0 -2142
  1044. package/src/modules/communication_channels/migrations/Migration20260526134719_communication_channels.ts +0 -55
  1045. package/src/modules/communication_channels/migrations/Migration20260527195446_communication_channels.ts +0 -20
  1046. package/src/modules/communication_channels/migrations/Migration20260529231848_communication_channels.ts +0 -13
  1047. package/src/modules/communication_channels/migrations/Migration20260531120000_communication_channels.ts +0 -24
  1048. package/src/modules/communication_channels/notifications.client.ts +0 -50
  1049. package/src/modules/communication_channels/notifications.handlers.ts +0 -86
  1050. package/src/modules/communication_channels/notifications.ts +0 -52
  1051. package/src/modules/communication_channels/setup.ts +0 -158
  1052. package/src/modules/communication_channels/subscribers/channel-requires-reauth-notification.ts +0 -118
  1053. package/src/modules/communication_channels/subscribers/outbound-bridge.ts +0 -175
  1054. package/src/modules/communication_channels/subscribers/user-deleted-cascade.ts +0 -100
  1055. package/src/modules/communication_channels/widgets/components.ts +0 -36
  1056. package/src/modules/communication_channels/widgets/injection/channel-badge/widget.client.tsx +0 -38
  1057. package/src/modules/communication_channels/widgets/injection/channel-badge/widget.ts +0 -51
  1058. package/src/modules/communication_channels/widgets/injection/channel-info-panel/widget.client.tsx +0 -278
  1059. package/src/modules/communication_channels/widgets/injection/channel-info-panel/widget.ts +0 -24
  1060. package/src/modules/communication_channels/widgets/injection/channel-payload-renderer/widget.client.tsx +0 -63
  1061. package/src/modules/communication_channels/widgets/injection/channel-payload-renderer/widget.ts +0 -29
  1062. package/src/modules/communication_channels/widgets/injection/profile-channels-menu/widget.ts +0 -34
  1063. package/src/modules/communication_channels/widgets/injection/reaction-bar/widget.client.tsx +0 -177
  1064. package/src/modules/communication_channels/widgets/injection/reaction-bar/widget.ts +0 -26
  1065. package/src/modules/communication_channels/widgets/injection-table.ts +0 -47
  1066. package/src/modules/communication_channels/widgets/notifications/ChannelRequiresReauthRenderer.tsx +0 -48
  1067. package/src/modules/communication_channels/widgets/notifications/MessageReceivedRenderer.tsx +0 -45
  1068. package/src/modules/communication_channels/widgets/notifications/index.ts +0 -2
  1069. package/src/modules/communication_channels/workers/channel-import-history.ts +0 -252
  1070. package/src/modules/communication_channels/workers/gmail-history-sync.ts +0 -223
  1071. package/src/modules/communication_channels/workers/gmail-renew-watch.ts +0 -141
  1072. package/src/modules/communication_channels/workers/inbound-processor.ts +0 -114
  1073. package/src/modules/communication_channels/workers/outbound-delivery.ts +0 -155
  1074. package/src/modules/communication_channels/workers/poll-channel.ts +0 -391
  1075. package/src/modules/communication_channels/workers/poll-tick.ts +0 -210
  1076. package/src/modules/communication_channels/workers/reaction-processor.ts +0 -264
  1077. package/src/modules/customers/api/interactions/[id]/visibility/route.ts +0 -179
  1078. package/src/modules/customers/api/people/[id]/email-threads/route.ts +0 -92
  1079. package/src/modules/customers/api/people/[id]/emails/route.ts +0 -184
  1080. package/src/modules/customers/components/detail/ComposeEmailDialog.tsx +0 -329
  1081. package/src/modules/customers/components/detail/EmailCardActions.tsx +0 -263
  1082. package/src/modules/customers/components/detail/EmailReplyForwardActions.tsx +0 -53
  1083. package/src/modules/customers/components/detail/PersonEmailThreadsTab.tsx +0 -448
  1084. package/src/modules/customers/data/extensions.ts +0 -26
  1085. package/src/modules/customers/data/guards.ts +0 -67
  1086. package/src/modules/customers/lib/findPeopleByAddresses.ts +0 -107
  1087. package/src/modules/customers/lib/link-channel-message-handler.ts +0 -571
  1088. package/src/modules/customers/lib/personEmailThreads.ts +0 -325
  1089. package/src/modules/customers/lib/visibilityFilter.ts +0 -152
  1090. package/src/modules/customers/migrations/Migration20260527012240_customers.ts +0 -23
  1091. package/src/modules/customers/subscribers/link-channel-message-received.ts +0 -21
  1092. package/src/modules/customers/subscribers/link-channel-message-sent.ts +0 -21
  1093. package/src/modules/integrations/migrations/Migration20260526154136_integrations.ts +0 -15
  1094. package/src/modules/messages/migrations/Migration20260531130000.ts +0 -15
  1095. package/src/modules/messages/widgets/injection-table.ts +0 -29
  1096. package/src/modules/sales/components/documents/optimisticLock.ts +0 -34
@@ -1,4 +1,4 @@
1
- [build:core] found 2984 entry points
1
+ [build:core] found 2753 entry points
2
2
  [build:core] built successfully
3
- [build:core:generated] found 184 entry points
3
+ [build:core:generated] found 176 entry points
4
4
  [build:core:generated] built successfully
package/AGENTS.md CHANGED
@@ -567,7 +567,6 @@ await emitCrudSideEffects({ ... })
567
567
  - Tables: plural snake_case; prefer `<module>_` prefixes for module-owned tables (e.g., `catalog_products`, `sales_orders`)
568
568
  - UUID PKs, explicit FKs, junction tables for M2M
569
569
  - Include `deleted_at timestamptz null` for soft delete
570
- - **User-editable entities MUST include an `updated_at` column** so OSS optimistic locking (default ON) can function — without it `CrudForm`'s auto-derive silently no-ops and concurrent edits are lost. Use `@Property({ name: 'updated_at', type: Date, onCreate: () => new Date(), onUpdate: () => new Date(), nullable: true })`, and make the entity's list/detail CRUD responses return `updatedAt`. The `optimistic-lock-editable-entities.test.ts` guard fails if a curated editable entity drops the column. Append-only logs, junction/assignment tables, session/token rows, background-job rows, and sub-resource lines guarded by a parent aggregate are exempt.
571
570
 
572
571
  ## Generated Files
573
572
 
@@ -4,8 +4,6 @@ const tenant_id = "tenant_id";
4
4
  const interaction_type = "interaction_type";
5
5
  const title = "title";
6
6
  const body = "body";
7
- const external_message_id = "external_message_id";
8
- const channel_provider_key = "channel_provider_key";
9
7
  const status = "status";
10
8
  const scheduled_at = "scheduled_at";
11
9
  const occurred_at = "occurred_at";
@@ -37,13 +35,11 @@ export {
37
35
  appearance_icon,
38
36
  author_user_id,
39
37
  body,
40
- channel_provider_key,
41
38
  created_at,
42
39
  deal_id,
43
40
  deleted_at,
44
41
  duration_minutes,
45
42
  entity,
46
- external_message_id,
47
43
  guest_permissions,
48
44
  id,
49
45
  interaction_type,
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../generated/entities/customer_interaction/index.ts"],
4
- "sourcesContent": ["export const id = \"id\";\nexport const organization_id = \"organization_id\";\nexport const tenant_id = \"tenant_id\";\nexport const interaction_type = \"interaction_type\";\nexport const title = \"title\";\nexport const body = \"body\";\nexport const external_message_id = \"external_message_id\";\nexport const channel_provider_key = \"channel_provider_key\";\nexport const status = \"status\";\nexport const scheduled_at = \"scheduled_at\";\nexport const occurred_at = \"occurred_at\";\nexport const priority = \"priority\";\nexport const author_user_id = \"author_user_id\";\nexport const owner_user_id = \"owner_user_id\";\nexport const appearance_icon = \"appearance_icon\";\nexport const appearance_color = \"appearance_color\";\nexport const source = \"source\";\nexport const deal_id = \"deal_id\";\nexport const duration_minutes = \"duration_minutes\";\nexport const location = \"location\";\nexport const all_day = \"all_day\";\nexport const recurrence_rule = \"recurrence_rule\";\nexport const recurrence_end = \"recurrence_end\";\nexport const participants = \"participants\";\nexport const reminder_minutes = \"reminder_minutes\";\nexport const visibility = \"visibility\";\nexport const linked_entities = \"linked_entities\";\nexport const guest_permissions = \"guest_permissions\";\nexport const pinned = \"pinned\";\nexport const created_at = \"created_at\";\nexport const updated_at = \"updated_at\";\nexport const deleted_at = \"deleted_at\";\nexport const entity = \"entity\";\n"],
5
- "mappings": "AAAO,MAAM,KAAK;AACX,MAAM,kBAAkB;AACxB,MAAM,YAAY;AAClB,MAAM,mBAAmB;AACzB,MAAM,QAAQ;AACd,MAAM,OAAO;AACb,MAAM,sBAAsB;AAC5B,MAAM,uBAAuB;AAC7B,MAAM,SAAS;AACf,MAAM,eAAe;AACrB,MAAM,cAAc;AACpB,MAAM,WAAW;AACjB,MAAM,iBAAiB;AACvB,MAAM,gBAAgB;AACtB,MAAM,kBAAkB;AACxB,MAAM,mBAAmB;AACzB,MAAM,SAAS;AACf,MAAM,UAAU;AAChB,MAAM,mBAAmB;AACzB,MAAM,WAAW;AACjB,MAAM,UAAU;AAChB,MAAM,kBAAkB;AACxB,MAAM,iBAAiB;AACvB,MAAM,eAAe;AACrB,MAAM,mBAAmB;AACzB,MAAM,aAAa;AACnB,MAAM,kBAAkB;AACxB,MAAM,oBAAoB;AAC1B,MAAM,SAAS;AACf,MAAM,aAAa;AACnB,MAAM,aAAa;AACnB,MAAM,aAAa;AACnB,MAAM,SAAS;",
4
+ "sourcesContent": ["export const id = \"id\";\nexport const organization_id = \"organization_id\";\nexport const tenant_id = \"tenant_id\";\nexport const interaction_type = \"interaction_type\";\nexport const title = \"title\";\nexport const body = \"body\";\nexport const status = \"status\";\nexport const scheduled_at = \"scheduled_at\";\nexport const occurred_at = \"occurred_at\";\nexport const priority = \"priority\";\nexport const author_user_id = \"author_user_id\";\nexport const owner_user_id = \"owner_user_id\";\nexport const appearance_icon = \"appearance_icon\";\nexport const appearance_color = \"appearance_color\";\nexport const source = \"source\";\nexport const deal_id = \"deal_id\";\nexport const duration_minutes = \"duration_minutes\";\nexport const location = \"location\";\nexport const all_day = \"all_day\";\nexport const recurrence_rule = \"recurrence_rule\";\nexport const recurrence_end = \"recurrence_end\";\nexport const participants = \"participants\";\nexport const reminder_minutes = \"reminder_minutes\";\nexport const visibility = \"visibility\";\nexport const linked_entities = \"linked_entities\";\nexport const guest_permissions = \"guest_permissions\";\nexport const pinned = \"pinned\";\nexport const created_at = \"created_at\";\nexport const updated_at = \"updated_at\";\nexport const deleted_at = \"deleted_at\";\nexport const entity = \"entity\";\n"],
5
+ "mappings": "AAAO,MAAM,KAAK;AACX,MAAM,kBAAkB;AACxB,MAAM,YAAY;AAClB,MAAM,mBAAmB;AACzB,MAAM,QAAQ;AACd,MAAM,OAAO;AACb,MAAM,SAAS;AACf,MAAM,eAAe;AACrB,MAAM,cAAc;AACpB,MAAM,WAAW;AACjB,MAAM,iBAAiB;AACvB,MAAM,gBAAgB;AACtB,MAAM,kBAAkB;AACxB,MAAM,mBAAmB;AACzB,MAAM,SAAS;AACf,MAAM,UAAU;AAChB,MAAM,mBAAmB;AACzB,MAAM,WAAW;AACjB,MAAM,UAAU;AAChB,MAAM,kBAAkB;AACxB,MAAM,iBAAiB;AACvB,MAAM,eAAe;AACrB,MAAM,mBAAmB;AACzB,MAAM,aAAa;AACnB,MAAM,kBAAkB;AACxB,MAAM,oBAAoB;AAC1B,MAAM,SAAS;AACf,MAAM,aAAa;AACnB,MAAM,aAAa;AACnB,MAAM,aAAa;AACnB,MAAM,SAAS;",
6
6
  "names": []
7
7
  }
@@ -3,7 +3,6 @@ const integration_id = "integration_id";
3
3
  const credentials = "credentials";
4
4
  const organization_id = "organization_id";
5
5
  const tenant_id = "tenant_id";
6
- const user_id = "user_id";
7
6
  const created_at = "created_at";
8
7
  const updated_at = "updated_at";
9
8
  const deleted_at = "deleted_at";
@@ -15,7 +14,6 @@ export {
15
14
  integration_id,
16
15
  organization_id,
17
16
  tenant_id,
18
- updated_at,
19
- user_id
17
+ updated_at
20
18
  };
21
19
  //# sourceMappingURL=index.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../generated/entities/integration_credentials/index.ts"],
4
- "sourcesContent": ["export const id = \"id\";\nexport const integration_id = \"integration_id\";\nexport const credentials = \"credentials\";\nexport const organization_id = \"organization_id\";\nexport const tenant_id = \"tenant_id\";\nexport const user_id = \"user_id\";\nexport const created_at = \"created_at\";\nexport const updated_at = \"updated_at\";\nexport const deleted_at = \"deleted_at\";\n"],
5
- "mappings": "AAAO,MAAM,KAAK;AACX,MAAM,iBAAiB;AACvB,MAAM,cAAc;AACpB,MAAM,kBAAkB;AACxB,MAAM,YAAY;AAClB,MAAM,UAAU;AAChB,MAAM,aAAa;AACnB,MAAM,aAAa;AACnB,MAAM,aAAa;",
4
+ "sourcesContent": ["export const id = \"id\";\nexport const integration_id = \"integration_id\";\nexport const credentials = \"credentials\";\nexport const organization_id = \"organization_id\";\nexport const tenant_id = \"tenant_id\";\nexport const created_at = \"created_at\";\nexport const updated_at = \"updated_at\";\nexport const deleted_at = \"deleted_at\";\n"],
5
+ "mappings": "AAAO,MAAM,KAAK;AACX,MAAM,iBAAiB;AACvB,MAAM,cAAc;AACpB,MAAM,kBAAkB;AACxB,MAAM,YAAY;AAClB,MAAM,aAAa;AACnB,MAAM,aAAa;AACnB,MAAM,aAAa;",
6
6
  "names": []
7
7
  }
@@ -26,7 +26,6 @@ const source_entity_type = "source_entity_type";
26
26
  const source_entity_id = "source_entity_id";
27
27
  const external_email = "external_email";
28
28
  const external_email_hash = "external_email_hash";
29
- const idempotency_key = "idempotency_key";
30
29
  const external_name = "external_name";
31
30
  const external_email_sent_at = "external_email_sent_at";
32
31
  const external_email_failed_at = "external_email_failed_at";
@@ -48,7 +47,6 @@ export {
48
47
  external_email_sent_at,
49
48
  external_name,
50
49
  id,
51
- idempotency_key,
52
50
  is_draft,
53
51
  organization_id,
54
52
  parent_message_id,
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../generated/entities/message/index.ts"],
4
- "sourcesContent": ["export const id = \"id\";\nexport const type = \"type\";\nexport const thread_id = \"thread_id\";\nexport const parent_message_id = \"parent_message_id\";\nexport const sender_user_id = \"sender_user_id\";\nexport const subject = \"subject\";\nexport const body = \"body\";\nexport const body_format = \"body_format\";\nexport const priority = \"priority\";\nexport const status = \"status\";\nexport const is_draft = \"is_draft\";\nexport const sent_at = \"sent_at\";\nexport const action_data = \"action_data\";\nexport const action_result = \"action_result\";\nexport const action_taken = \"action_taken\";\nexport const action_taken_by_user_id = \"action_taken_by_user_id\";\nexport const action_taken_at = \"action_taken_at\";\nexport const send_via_email = \"send_via_email\";\nexport const tenant_id = \"tenant_id\";\nexport const organization_id = \"organization_id\";\nexport const created_at = \"created_at\";\nexport const updated_at = \"updated_at\";\nexport const deleted_at = \"deleted_at\";\nexport const visibility = \"visibility\";\nexport const source_entity_type = \"source_entity_type\";\nexport const source_entity_id = \"source_entity_id\";\nexport const external_email = \"external_email\";\nexport const external_email_hash = \"external_email_hash\";\nexport const idempotency_key = \"idempotency_key\";\nexport const external_name = \"external_name\";\nexport const external_email_sent_at = \"external_email_sent_at\";\nexport const external_email_failed_at = \"external_email_failed_at\";\nexport const external_email_error = \"external_email_error\";\n"],
5
- "mappings": "AAAO,MAAM,KAAK;AACX,MAAM,OAAO;AACb,MAAM,YAAY;AAClB,MAAM,oBAAoB;AAC1B,MAAM,iBAAiB;AACvB,MAAM,UAAU;AAChB,MAAM,OAAO;AACb,MAAM,cAAc;AACpB,MAAM,WAAW;AACjB,MAAM,SAAS;AACf,MAAM,WAAW;AACjB,MAAM,UAAU;AAChB,MAAM,cAAc;AACpB,MAAM,gBAAgB;AACtB,MAAM,eAAe;AACrB,MAAM,0BAA0B;AAChC,MAAM,kBAAkB;AACxB,MAAM,iBAAiB;AACvB,MAAM,YAAY;AAClB,MAAM,kBAAkB;AACxB,MAAM,aAAa;AACnB,MAAM,aAAa;AACnB,MAAM,aAAa;AACnB,MAAM,aAAa;AACnB,MAAM,qBAAqB;AAC3B,MAAM,mBAAmB;AACzB,MAAM,iBAAiB;AACvB,MAAM,sBAAsB;AAC5B,MAAM,kBAAkB;AACxB,MAAM,gBAAgB;AACtB,MAAM,yBAAyB;AAC/B,MAAM,2BAA2B;AACjC,MAAM,uBAAuB;",
4
+ "sourcesContent": ["export const id = \"id\";\nexport const type = \"type\";\nexport const thread_id = \"thread_id\";\nexport const parent_message_id = \"parent_message_id\";\nexport const sender_user_id = \"sender_user_id\";\nexport const subject = \"subject\";\nexport const body = \"body\";\nexport const body_format = \"body_format\";\nexport const priority = \"priority\";\nexport const status = \"status\";\nexport const is_draft = \"is_draft\";\nexport const sent_at = \"sent_at\";\nexport const action_data = \"action_data\";\nexport const action_result = \"action_result\";\nexport const action_taken = \"action_taken\";\nexport const action_taken_by_user_id = \"action_taken_by_user_id\";\nexport const action_taken_at = \"action_taken_at\";\nexport const send_via_email = \"send_via_email\";\nexport const tenant_id = \"tenant_id\";\nexport const organization_id = \"organization_id\";\nexport const created_at = \"created_at\";\nexport const updated_at = \"updated_at\";\nexport const deleted_at = \"deleted_at\";\nexport const visibility = \"visibility\";\nexport const source_entity_type = \"source_entity_type\";\nexport const source_entity_id = \"source_entity_id\";\nexport const external_email = \"external_email\";\nexport const external_email_hash = \"external_email_hash\";\nexport const external_name = \"external_name\";\nexport const external_email_sent_at = \"external_email_sent_at\";\nexport const external_email_failed_at = \"external_email_failed_at\";\nexport const external_email_error = \"external_email_error\";\n"],
5
+ "mappings": "AAAO,MAAM,KAAK;AACX,MAAM,OAAO;AACb,MAAM,YAAY;AAClB,MAAM,oBAAoB;AAC1B,MAAM,iBAAiB;AACvB,MAAM,UAAU;AAChB,MAAM,OAAO;AACb,MAAM,cAAc;AACpB,MAAM,WAAW;AACjB,MAAM,SAAS;AACf,MAAM,WAAW;AACjB,MAAM,UAAU;AAChB,MAAM,cAAc;AACpB,MAAM,gBAAgB;AACtB,MAAM,eAAe;AACrB,MAAM,0BAA0B;AAChC,MAAM,kBAAkB;AACxB,MAAM,iBAAiB;AACvB,MAAM,YAAY;AAClB,MAAM,kBAAkB;AACxB,MAAM,aAAa;AACnB,MAAM,aAAa;AACnB,MAAM,aAAa;AACnB,MAAM,aAAa;AACnB,MAAM,qBAAqB;AAC3B,MAAM,mBAAmB;AACzB,MAAM,iBAAiB;AACvB,MAAM,sBAAsB;AAC5B,MAAM,gBAAgB;AACtB,MAAM,yBAAyB;AAC/B,MAAM,2BAA2B;AACjC,MAAM,uBAAuB;",
6
6
  "names": []
7
7
  }
@@ -2,14 +2,12 @@ const id = "id";
2
2
  const name = "name";
3
3
  const tenant_id = "tenant_id";
4
4
  const created_at = "created_at";
5
- const updated_at = "updated_at";
6
5
  const deleted_at = "deleted_at";
7
6
  export {
8
7
  created_at,
9
8
  deleted_at,
10
9
  id,
11
10
  name,
12
- tenant_id,
13
- updated_at
11
+ tenant_id
14
12
  };
15
13
  //# sourceMappingURL=index.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../generated/entities/role/index.ts"],
4
- "sourcesContent": ["export const id = \"id\";\nexport const name = \"name\";\nexport const tenant_id = \"tenant_id\";\nexport const created_at = \"created_at\";\nexport const updated_at = \"updated_at\";\nexport const deleted_at = \"deleted_at\";\n"],
5
- "mappings": "AAAO,MAAM,KAAK;AACX,MAAM,OAAO;AACb,MAAM,YAAY;AAClB,MAAM,aAAa;AACnB,MAAM,aAAa;AACnB,MAAM,aAAa;",
4
+ "sourcesContent": ["export const id = \"id\";\nexport const name = \"name\";\nexport const tenant_id = \"tenant_id\";\nexport const created_at = \"created_at\";\nexport const deleted_at = \"deleted_at\";\n"],
5
+ "mappings": "AAAO,MAAM,KAAK;AACX,MAAM,OAAO;AACb,MAAM,YAAY;AAClB,MAAM,aAAa;AACnB,MAAM,aAAa;",
6
6
  "names": []
7
7
  }
@@ -8,7 +8,6 @@ const password_hash = "password_hash";
8
8
  const is_confirmed = "is_confirmed";
9
9
  const last_login_at = "last_login_at";
10
10
  const created_at = "created_at";
11
- const updated_at = "updated_at";
12
11
  const deleted_at = "deleted_at";
13
12
  export {
14
13
  created_at,
@@ -21,7 +20,6 @@ export {
21
20
  name,
22
21
  organization_id,
23
22
  password_hash,
24
- tenant_id,
25
- updated_at
23
+ tenant_id
26
24
  };
27
25
  //# sourceMappingURL=index.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../generated/entities/user/index.ts"],
4
- "sourcesContent": ["export const id = \"id\";\nexport const tenant_id = \"tenant_id\";\nexport const organization_id = \"organization_id\";\nexport const email = \"email\";\nexport const email_hash = \"email_hash\";\nexport const name = \"name\";\nexport const password_hash = \"password_hash\";\nexport const is_confirmed = \"is_confirmed\";\nexport const last_login_at = \"last_login_at\";\nexport const created_at = \"created_at\";\nexport const updated_at = \"updated_at\";\nexport const deleted_at = \"deleted_at\";\n"],
5
- "mappings": "AAAO,MAAM,KAAK;AACX,MAAM,YAAY;AAClB,MAAM,kBAAkB;AACxB,MAAM,QAAQ;AACd,MAAM,aAAa;AACnB,MAAM,OAAO;AACb,MAAM,gBAAgB;AACtB,MAAM,eAAe;AACrB,MAAM,gBAAgB;AACtB,MAAM,aAAa;AACnB,MAAM,aAAa;AACnB,MAAM,aAAa;",
4
+ "sourcesContent": ["export const id = \"id\";\nexport const tenant_id = \"tenant_id\";\nexport const organization_id = \"organization_id\";\nexport const email = \"email\";\nexport const email_hash = \"email_hash\";\nexport const name = \"name\";\nexport const password_hash = \"password_hash\";\nexport const is_confirmed = \"is_confirmed\";\nexport const last_login_at = \"last_login_at\";\nexport const created_at = \"created_at\";\nexport const deleted_at = \"deleted_at\";\n"],
5
+ "mappings": "AAAO,MAAM,KAAK;AACX,MAAM,YAAY;AAClB,MAAM,kBAAkB;AACxB,MAAM,QAAQ;AACd,MAAM,aAAa;AACnB,MAAM,OAAO;AACb,MAAM,gBAAgB;AACtB,MAAM,eAAe;AACrB,MAAM,gBAAgB;AACtB,MAAM,aAAa;AACnB,MAAM,aAAa;",
6
6
  "names": []
7
7
  }
@@ -27,7 +27,6 @@ const M = {
27
27
  "data_sync": "data_sync",
28
28
  "sync_excel": "sync_excel",
29
29
  "messages": "messages",
30
- "communication_channels": "communication_channels",
31
30
  "translations": "translations",
32
31
  "inbox_ops": "inbox_ops",
33
32
  "payment_gateways": "payment_gateways",
@@ -243,16 +242,6 @@ const M = {
243
242
  "message_access_token": "messages:message_access_token",
244
243
  "message_confirmation": "messages:message_confirmation"
245
244
  },
246
- "communication_channels": {
247
- "communication_channel": "communication_channels:communication_channel",
248
- "external_conversation": "communication_channels:external_conversation",
249
- "external_message": "communication_channels:external_message",
250
- "message_channel_link": "communication_channels:message_channel_link",
251
- "channel_thread_mapping": "communication_channels:channel_thread_mapping",
252
- "message_reaction": "communication_channels:message_reaction",
253
- "channel_thread_token": "communication_channels:channel_thread_token",
254
- "channel_ingest_dead_letter": "communication_channels:channel_ingest_dead_letter"
255
- },
256
245
  "translations": {
257
246
  "entity_translation": "translations:entity_translation"
258
247
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../generated/entities.ids.generated.ts"],
4
- "sourcesContent": ["// AUTO-GENERATED by mercato generate entity-ids\nexport const M = {\n \"dashboards\": \"dashboards\",\n \"auth\": \"auth\",\n \"directory\": \"directory\",\n \"customers\": \"customers\",\n \"perspectives\": \"perspectives\",\n \"entities\": \"entities\",\n \"configs\": \"configs\",\n \"query_index\": \"query_index\",\n \"audit_logs\": \"audit_logs\",\n \"attachments\": \"attachments\",\n \"catalog\": \"catalog\",\n \"sales\": \"sales\",\n \"api_keys\": \"api_keys\",\n \"dictionaries\": \"dictionaries\",\n \"api_docs\": \"api_docs\",\n \"business_rules\": \"business_rules\",\n \"feature_toggles\": \"feature_toggles\",\n \"workflows\": \"workflows\",\n \"currencies\": \"currencies\",\n \"planner\": \"planner\",\n \"resources\": \"resources\",\n \"staff\": \"staff\",\n \"notifications\": \"notifications\",\n \"progress\": \"progress\",\n \"integrations\": \"integrations\",\n \"data_sync\": \"data_sync\",\n \"sync_excel\": \"sync_excel\",\n \"messages\": \"messages\",\n \"communication_channels\": \"communication_channels\",\n \"translations\": \"translations\",\n \"inbox_ops\": \"inbox_ops\",\n \"payment_gateways\": \"payment_gateways\",\n \"shipping_carriers\": \"shipping_carriers\",\n \"customer_accounts\": \"customer_accounts\",\n \"portal\": \"portal\"\n } as const, E = {\n \"dashboards\": {\n \"dashboard_layout\": \"dashboards:dashboard_layout\",\n \"dashboard_role_widgets\": \"dashboards:dashboard_role_widgets\",\n \"dashboard_user_widgets\": \"dashboards:dashboard_user_widgets\"\n },\n \"auth\": {\n \"user\": \"auth:user\",\n \"role\": \"auth:role\",\n \"user_sidebar_preference\": \"auth:user_sidebar_preference\",\n \"role_sidebar_preference\": \"auth:role_sidebar_preference\",\n \"sidebar_variant\": \"auth:sidebar_variant\",\n \"user_role\": \"auth:user_role\",\n \"session\": \"auth:session\",\n \"password_reset\": \"auth:password_reset\",\n \"role_acl\": \"auth:role_acl\",\n \"user_acl\": \"auth:user_acl\",\n \"user_consent\": \"auth:user_consent\"\n },\n \"directory\": {\n \"tenant\": \"directory:tenant\",\n \"organization\": \"directory:organization\"\n },\n \"customers\": {\n \"customer_entity\": \"customers:customer_entity\",\n \"customer_person_profile\": \"customers:customer_person_profile\",\n \"customer_person_company_link\": \"customers:customer_person_company_link\",\n \"customer_company_profile\": \"customers:customer_company_profile\",\n \"customer_deal\": \"customers:customer_deal\",\n \"customer_deal_stage_transition\": \"customers:customer_deal_stage_transition\",\n \"customer_deal_person_link\": \"customers:customer_deal_person_link\",\n \"customer_deal_company_link\": \"customers:customer_deal_company_link\",\n \"customer_activity\": \"customers:customer_activity\",\n \"customer_interaction\": \"customers:customer_interaction\",\n \"customer_comment\": \"customers:customer_comment\",\n \"customer_address\": \"customers:customer_address\",\n \"customer_settings\": \"customers:customer_settings\",\n \"customer_tag\": \"customers:customer_tag\",\n \"customer_tag_assignment\": \"customers:customer_tag_assignment\",\n \"customer_dictionary_entry\": \"customers:customer_dictionary_entry\",\n \"customer_pipeline\": \"customers:customer_pipeline\",\n \"customer_pipeline_stage\": \"customers:customer_pipeline_stage\",\n \"customer_todo_link\": \"customers:customer_todo_link\",\n \"customer_entity_role\": \"customers:customer_entity_role\",\n \"customer_dictionary_kind_setting\": \"customers:customer_dictionary_kind_setting\",\n \"customer_label\": \"customers:customer_label\",\n \"customer_label_assignment\": \"customers:customer_label_assignment\",\n \"customer_company_billing\": \"customers:customer_company_billing\",\n \"customer_person_company_role\": \"customers:customer_person_company_role\"\n },\n \"perspectives\": {\n \"perspective\": \"perspectives:perspective\",\n \"role_perspective\": \"perspectives:role_perspective\"\n },\n \"entities\": {\n \"custom_field_def\": \"entities:custom_field_def\",\n \"custom_field_entity_config\": \"entities:custom_field_entity_config\",\n \"custom_entity\": \"entities:custom_entity\",\n \"custom_entity_storage\": \"entities:custom_entity_storage\",\n \"custom_field_value\": \"entities:custom_field_value\",\n \"encryption_map\": \"entities:encryption_map\"\n },\n \"configs\": {\n \"module_config\": \"configs:module_config\",\n \"upgrade_action_run\": \"configs:upgrade_action_run\"\n },\n \"query_index\": {\n \"entity_index_row\": \"query_index:entity_index_row\",\n \"entity_index_job\": \"query_index:entity_index_job\",\n \"entity_index_coverage\": \"query_index:entity_index_coverage\",\n \"indexer_error_log\": \"query_index:indexer_error_log\",\n \"indexer_status_log\": \"query_index:indexer_status_log\",\n \"search_token\": \"query_index:search_token\"\n },\n \"audit_logs\": {\n \"action_log\": \"audit_logs:action_log\",\n \"access_log\": \"audit_logs:access_log\"\n },\n \"attachments\": {\n \"attachment_partition\": \"attachments:attachment_partition\",\n \"attachment\": \"attachments:attachment\"\n },\n \"catalog\": {\n \"catalog_option_schema_template\": \"catalog:catalog_option_schema_template\",\n \"catalog_product\": \"catalog:catalog_product\",\n \"catalog_product_unit_conversion\": \"catalog:catalog_product_unit_conversion\",\n \"catalog_product_category\": \"catalog:catalog_product_category\",\n \"catalog_product_category_assignment\": \"catalog:catalog_product_category_assignment\",\n \"catalog_product_tag\": \"catalog:catalog_product_tag\",\n \"catalog_product_tag_assignment\": \"catalog:catalog_product_tag_assignment\",\n \"catalog_offer\": \"catalog:catalog_offer\",\n \"catalog_product_variant\": \"catalog:catalog_product_variant\",\n \"catalog_product_variant_relation\": \"catalog:catalog_product_variant_relation\",\n \"catalog_price_kind\": \"catalog:catalog_price_kind\",\n \"catalog_product_price\": \"catalog:catalog_product_price\"\n },\n \"sales\": {\n \"sales_channel\": \"sales:sales_channel\",\n \"sales_shipping_method\": \"sales:sales_shipping_method\",\n \"sales_delivery_window\": \"sales:sales_delivery_window\",\n \"sales_payment_method\": \"sales:sales_payment_method\",\n \"sales_tax_rate\": \"sales:sales_tax_rate\",\n \"sales_order\": \"sales:sales_order\",\n \"sales_order_line\": \"sales:sales_order_line\",\n \"sales_order_adjustment\": \"sales:sales_order_adjustment\",\n \"sales_settings\": \"sales:sales_settings\",\n \"sales_document_sequence\": \"sales:sales_document_sequence\",\n \"sales_quote\": \"sales:sales_quote\",\n \"sales_quote_line\": \"sales:sales_quote_line\",\n \"sales_quote_adjustment\": \"sales:sales_quote_adjustment\",\n \"sales_shipment\": \"sales:sales_shipment\",\n \"sales_shipment_item\": \"sales:sales_shipment_item\",\n \"sales_return\": \"sales:sales_return\",\n \"sales_return_line\": \"sales:sales_return_line\",\n \"sales_invoice\": \"sales:sales_invoice\",\n \"sales_invoice_line\": \"sales:sales_invoice_line\",\n \"sales_credit_memo\": \"sales:sales_credit_memo\",\n \"sales_credit_memo_line\": \"sales:sales_credit_memo_line\",\n \"sales_payment\": \"sales:sales_payment\",\n \"sales_payment_allocation\": \"sales:sales_payment_allocation\",\n \"sales_note\": \"sales:sales_note\",\n \"sales_document_address\": \"sales:sales_document_address\",\n \"sales_document_tag\": \"sales:sales_document_tag\",\n \"sales_document_tag_assignment\": \"sales:sales_document_tag_assignment\"\n },\n \"api_keys\": {\n \"api_key\": \"api_keys:api_key\"\n },\n \"dictionaries\": {\n \"dictionary\": \"dictionaries:dictionary\",\n \"dictionary_entry\": \"dictionaries:dictionary_entry\"\n },\n \"business_rules\": {\n \"business_rule\": \"business_rules:business_rule\",\n \"rule_execution_log\": \"business_rules:rule_execution_log\",\n \"rule_set\": \"business_rules:rule_set\",\n \"rule_set_member\": \"business_rules:rule_set_member\"\n },\n \"feature_toggles\": {\n \"feature_toggle\": \"feature_toggles:feature_toggle\",\n \"feature_toggle_override\": \"feature_toggles:feature_toggle_override\"\n },\n \"workflows\": {\n \"workflow_definition\": \"workflows:workflow_definition\",\n \"workflow_instance\": \"workflows:workflow_instance\",\n \"step_instance\": \"workflows:step_instance\",\n \"user_task\": \"workflows:user_task\",\n \"workflow_event\": \"workflows:workflow_event\",\n \"workflow_event_trigger\": \"workflows:workflow_event_trigger\"\n },\n \"currencies\": {\n \"currency\": \"currencies:currency\",\n \"exchange_rate\": \"currencies:exchange_rate\",\n \"currency_fetch_config\": \"currencies:currency_fetch_config\"\n },\n \"planner\": {\n \"planner_availability_rule_set\": \"planner:planner_availability_rule_set\",\n \"planner_availability_rule\": \"planner:planner_availability_rule\"\n },\n \"resources\": {\n \"resources_resource_type\": \"resources:resources_resource_type\",\n \"resources_resource\": \"resources:resources_resource\",\n \"resources_resource_comment\": \"resources:resources_resource_comment\",\n \"resources_resource_activity\": \"resources:resources_resource_activity\",\n \"resources_resource_tag\": \"resources:resources_resource_tag\",\n \"resources_resource_tag_assignment\": \"resources:resources_resource_tag_assignment\"\n },\n \"staff\": {\n \"staff_team\": \"staff:staff_team\",\n \"staff_team_role\": \"staff:staff_team_role\",\n \"staff_team_member\": \"staff:staff_team_member\",\n \"staff_leave_request\": \"staff:staff_leave_request\",\n \"staff_team_member_comment\": \"staff:staff_team_member_comment\",\n \"staff_team_member_activity\": \"staff:staff_team_member_activity\",\n \"staff_team_member_job_history\": \"staff:staff_team_member_job_history\",\n \"staff_team_member_address\": \"staff:staff_team_member_address\",\n \"staff_time_entry\": \"staff:staff_time_entry\",\n \"staff_time_entry_segment\": \"staff:staff_time_entry_segment\",\n \"staff_time_project\": \"staff:staff_time_project\",\n \"staff_time_project_member\": \"staff:staff_time_project_member\"\n },\n \"notifications\": {\n \"notification\": \"notifications:notification\"\n },\n \"progress\": {\n \"progress_job\": \"progress:progress_job\"\n },\n \"integrations\": {\n \"sync_external_id_mapping\": \"integrations:sync_external_id_mapping\",\n \"integration_credentials\": \"integrations:integration_credentials\",\n \"integration_state\": \"integrations:integration_state\",\n \"integration_log\": \"integrations:integration_log\"\n },\n \"data_sync\": {\n \"sync_run\": \"data_sync:sync_run\",\n \"sync_cursor\": \"data_sync:sync_cursor\",\n \"sync_mapping\": \"data_sync:sync_mapping\",\n \"sync_schedule\": \"data_sync:sync_schedule\"\n },\n \"sync_excel\": {\n \"sync_excel_upload\": \"sync_excel:sync_excel_upload\"\n },\n \"messages\": {\n \"message\": \"messages:message\",\n \"message_recipient\": \"messages:message_recipient\",\n \"message_object\": \"messages:message_object\",\n \"message_access_token\": \"messages:message_access_token\",\n \"message_confirmation\": \"messages:message_confirmation\"\n },\n \"communication_channels\": {\n \"communication_channel\": \"communication_channels:communication_channel\",\n \"external_conversation\": \"communication_channels:external_conversation\",\n \"external_message\": \"communication_channels:external_message\",\n \"message_channel_link\": \"communication_channels:message_channel_link\",\n \"channel_thread_mapping\": \"communication_channels:channel_thread_mapping\",\n \"message_reaction\": \"communication_channels:message_reaction\",\n \"channel_thread_token\": \"communication_channels:channel_thread_token\",\n \"channel_ingest_dead_letter\": \"communication_channels:channel_ingest_dead_letter\"\n },\n \"translations\": {\n \"entity_translation\": \"translations:entity_translation\"\n },\n \"inbox_ops\": {\n \"inbox_settings\": \"inbox_ops:inbox_settings\",\n \"inbox_email\": \"inbox_ops:inbox_email\",\n \"inbox_proposal\": \"inbox_ops:inbox_proposal\",\n \"inbox_proposal_action\": \"inbox_ops:inbox_proposal_action\",\n \"inbox_discrepancy\": \"inbox_ops:inbox_discrepancy\"\n },\n \"payment_gateways\": {\n \"gateway_transaction\": \"payment_gateways:gateway_transaction\",\n \"webhook_processed_event\": \"payment_gateways:webhook_processed_event\"\n },\n \"shipping_carriers\": {\n \"carrier_shipment\": \"shipping_carriers:carrier_shipment\",\n \"carrier_webhook_processed_event\": \"shipping_carriers:carrier_webhook_processed_event\"\n },\n \"customer_accounts\": {\n \"customer_user\": \"customer_accounts:customer_user\",\n \"customer_role\": \"customer_accounts:customer_role\",\n \"customer_role_acl\": \"customer_accounts:customer_role_acl\",\n \"customer_user_role\": \"customer_accounts:customer_user_role\",\n \"customer_user_acl\": \"customer_accounts:customer_user_acl\",\n \"customer_user_session\": \"customer_accounts:customer_user_session\",\n \"customer_user_email_verification\": \"customer_accounts:customer_user_email_verification\",\n \"customer_user_password_reset\": \"customer_accounts:customer_user_password_reset\",\n \"customer_user_invitation\": \"customer_accounts:customer_user_invitation\",\n \"domain_mapping\": \"customer_accounts:domain_mapping\"\n }\n } as const;\n\nexport type KnownModuleId = keyof typeof M;\nexport type KnownEntities = typeof E;\n"],
5
- "mappings": "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",
4
+ "sourcesContent": ["// AUTO-GENERATED by mercato generate entity-ids\nexport const M = {\n \"dashboards\": \"dashboards\",\n \"auth\": \"auth\",\n \"directory\": \"directory\",\n \"customers\": \"customers\",\n \"perspectives\": \"perspectives\",\n \"entities\": \"entities\",\n \"configs\": \"configs\",\n \"query_index\": \"query_index\",\n \"audit_logs\": \"audit_logs\",\n \"attachments\": \"attachments\",\n \"catalog\": \"catalog\",\n \"sales\": \"sales\",\n \"api_keys\": \"api_keys\",\n \"dictionaries\": \"dictionaries\",\n \"api_docs\": \"api_docs\",\n \"business_rules\": \"business_rules\",\n \"feature_toggles\": \"feature_toggles\",\n \"workflows\": \"workflows\",\n \"currencies\": \"currencies\",\n \"planner\": \"planner\",\n \"resources\": \"resources\",\n \"staff\": \"staff\",\n \"notifications\": \"notifications\",\n \"progress\": \"progress\",\n \"integrations\": \"integrations\",\n \"data_sync\": \"data_sync\",\n \"sync_excel\": \"sync_excel\",\n \"messages\": \"messages\",\n \"translations\": \"translations\",\n \"inbox_ops\": \"inbox_ops\",\n \"payment_gateways\": \"payment_gateways\",\n \"shipping_carriers\": \"shipping_carriers\",\n \"customer_accounts\": \"customer_accounts\",\n \"portal\": \"portal\"\n } as const, E = {\n \"dashboards\": {\n \"dashboard_layout\": \"dashboards:dashboard_layout\",\n \"dashboard_role_widgets\": \"dashboards:dashboard_role_widgets\",\n \"dashboard_user_widgets\": \"dashboards:dashboard_user_widgets\"\n },\n \"auth\": {\n \"user\": \"auth:user\",\n \"role\": \"auth:role\",\n \"user_sidebar_preference\": \"auth:user_sidebar_preference\",\n \"role_sidebar_preference\": \"auth:role_sidebar_preference\",\n \"sidebar_variant\": \"auth:sidebar_variant\",\n \"user_role\": \"auth:user_role\",\n \"session\": \"auth:session\",\n \"password_reset\": \"auth:password_reset\",\n \"role_acl\": \"auth:role_acl\",\n \"user_acl\": \"auth:user_acl\",\n \"user_consent\": \"auth:user_consent\"\n },\n \"directory\": {\n \"tenant\": \"directory:tenant\",\n \"organization\": \"directory:organization\"\n },\n \"customers\": {\n \"customer_entity\": \"customers:customer_entity\",\n \"customer_person_profile\": \"customers:customer_person_profile\",\n \"customer_person_company_link\": \"customers:customer_person_company_link\",\n \"customer_company_profile\": \"customers:customer_company_profile\",\n \"customer_deal\": \"customers:customer_deal\",\n \"customer_deal_stage_transition\": \"customers:customer_deal_stage_transition\",\n \"customer_deal_person_link\": \"customers:customer_deal_person_link\",\n \"customer_deal_company_link\": \"customers:customer_deal_company_link\",\n \"customer_activity\": \"customers:customer_activity\",\n \"customer_interaction\": \"customers:customer_interaction\",\n \"customer_comment\": \"customers:customer_comment\",\n \"customer_address\": \"customers:customer_address\",\n \"customer_settings\": \"customers:customer_settings\",\n \"customer_tag\": \"customers:customer_tag\",\n \"customer_tag_assignment\": \"customers:customer_tag_assignment\",\n \"customer_dictionary_entry\": \"customers:customer_dictionary_entry\",\n \"customer_pipeline\": \"customers:customer_pipeline\",\n \"customer_pipeline_stage\": \"customers:customer_pipeline_stage\",\n \"customer_todo_link\": \"customers:customer_todo_link\",\n \"customer_entity_role\": \"customers:customer_entity_role\",\n \"customer_dictionary_kind_setting\": \"customers:customer_dictionary_kind_setting\",\n \"customer_label\": \"customers:customer_label\",\n \"customer_label_assignment\": \"customers:customer_label_assignment\",\n \"customer_company_billing\": \"customers:customer_company_billing\",\n \"customer_person_company_role\": \"customers:customer_person_company_role\"\n },\n \"perspectives\": {\n \"perspective\": \"perspectives:perspective\",\n \"role_perspective\": \"perspectives:role_perspective\"\n },\n \"entities\": {\n \"custom_field_def\": \"entities:custom_field_def\",\n \"custom_field_entity_config\": \"entities:custom_field_entity_config\",\n \"custom_entity\": \"entities:custom_entity\",\n \"custom_entity_storage\": \"entities:custom_entity_storage\",\n \"custom_field_value\": \"entities:custom_field_value\",\n \"encryption_map\": \"entities:encryption_map\"\n },\n \"configs\": {\n \"module_config\": \"configs:module_config\",\n \"upgrade_action_run\": \"configs:upgrade_action_run\"\n },\n \"query_index\": {\n \"entity_index_row\": \"query_index:entity_index_row\",\n \"entity_index_job\": \"query_index:entity_index_job\",\n \"entity_index_coverage\": \"query_index:entity_index_coverage\",\n \"indexer_error_log\": \"query_index:indexer_error_log\",\n \"indexer_status_log\": \"query_index:indexer_status_log\",\n \"search_token\": \"query_index:search_token\"\n },\n \"audit_logs\": {\n \"action_log\": \"audit_logs:action_log\",\n \"access_log\": \"audit_logs:access_log\"\n },\n \"attachments\": {\n \"attachment_partition\": \"attachments:attachment_partition\",\n \"attachment\": \"attachments:attachment\"\n },\n \"catalog\": {\n \"catalog_option_schema_template\": \"catalog:catalog_option_schema_template\",\n \"catalog_product\": \"catalog:catalog_product\",\n \"catalog_product_unit_conversion\": \"catalog:catalog_product_unit_conversion\",\n \"catalog_product_category\": \"catalog:catalog_product_category\",\n \"catalog_product_category_assignment\": \"catalog:catalog_product_category_assignment\",\n \"catalog_product_tag\": \"catalog:catalog_product_tag\",\n \"catalog_product_tag_assignment\": \"catalog:catalog_product_tag_assignment\",\n \"catalog_offer\": \"catalog:catalog_offer\",\n \"catalog_product_variant\": \"catalog:catalog_product_variant\",\n \"catalog_product_variant_relation\": \"catalog:catalog_product_variant_relation\",\n \"catalog_price_kind\": \"catalog:catalog_price_kind\",\n \"catalog_product_price\": \"catalog:catalog_product_price\"\n },\n \"sales\": {\n \"sales_channel\": \"sales:sales_channel\",\n \"sales_shipping_method\": \"sales:sales_shipping_method\",\n \"sales_delivery_window\": \"sales:sales_delivery_window\",\n \"sales_payment_method\": \"sales:sales_payment_method\",\n \"sales_tax_rate\": \"sales:sales_tax_rate\",\n \"sales_order\": \"sales:sales_order\",\n \"sales_order_line\": \"sales:sales_order_line\",\n \"sales_order_adjustment\": \"sales:sales_order_adjustment\",\n \"sales_settings\": \"sales:sales_settings\",\n \"sales_document_sequence\": \"sales:sales_document_sequence\",\n \"sales_quote\": \"sales:sales_quote\",\n \"sales_quote_line\": \"sales:sales_quote_line\",\n \"sales_quote_adjustment\": \"sales:sales_quote_adjustment\",\n \"sales_shipment\": \"sales:sales_shipment\",\n \"sales_shipment_item\": \"sales:sales_shipment_item\",\n \"sales_return\": \"sales:sales_return\",\n \"sales_return_line\": \"sales:sales_return_line\",\n \"sales_invoice\": \"sales:sales_invoice\",\n \"sales_invoice_line\": \"sales:sales_invoice_line\",\n \"sales_credit_memo\": \"sales:sales_credit_memo\",\n \"sales_credit_memo_line\": \"sales:sales_credit_memo_line\",\n \"sales_payment\": \"sales:sales_payment\",\n \"sales_payment_allocation\": \"sales:sales_payment_allocation\",\n \"sales_note\": \"sales:sales_note\",\n \"sales_document_address\": \"sales:sales_document_address\",\n \"sales_document_tag\": \"sales:sales_document_tag\",\n \"sales_document_tag_assignment\": \"sales:sales_document_tag_assignment\"\n },\n \"api_keys\": {\n \"api_key\": \"api_keys:api_key\"\n },\n \"dictionaries\": {\n \"dictionary\": \"dictionaries:dictionary\",\n \"dictionary_entry\": \"dictionaries:dictionary_entry\"\n },\n \"business_rules\": {\n \"business_rule\": \"business_rules:business_rule\",\n \"rule_execution_log\": \"business_rules:rule_execution_log\",\n \"rule_set\": \"business_rules:rule_set\",\n \"rule_set_member\": \"business_rules:rule_set_member\"\n },\n \"feature_toggles\": {\n \"feature_toggle\": \"feature_toggles:feature_toggle\",\n \"feature_toggle_override\": \"feature_toggles:feature_toggle_override\"\n },\n \"workflows\": {\n \"workflow_definition\": \"workflows:workflow_definition\",\n \"workflow_instance\": \"workflows:workflow_instance\",\n \"step_instance\": \"workflows:step_instance\",\n \"user_task\": \"workflows:user_task\",\n \"workflow_event\": \"workflows:workflow_event\",\n \"workflow_event_trigger\": \"workflows:workflow_event_trigger\"\n },\n \"currencies\": {\n \"currency\": \"currencies:currency\",\n \"exchange_rate\": \"currencies:exchange_rate\",\n \"currency_fetch_config\": \"currencies:currency_fetch_config\"\n },\n \"planner\": {\n \"planner_availability_rule_set\": \"planner:planner_availability_rule_set\",\n \"planner_availability_rule\": \"planner:planner_availability_rule\"\n },\n \"resources\": {\n \"resources_resource_type\": \"resources:resources_resource_type\",\n \"resources_resource\": \"resources:resources_resource\",\n \"resources_resource_comment\": \"resources:resources_resource_comment\",\n \"resources_resource_activity\": \"resources:resources_resource_activity\",\n \"resources_resource_tag\": \"resources:resources_resource_tag\",\n \"resources_resource_tag_assignment\": \"resources:resources_resource_tag_assignment\"\n },\n \"staff\": {\n \"staff_team\": \"staff:staff_team\",\n \"staff_team_role\": \"staff:staff_team_role\",\n \"staff_team_member\": \"staff:staff_team_member\",\n \"staff_leave_request\": \"staff:staff_leave_request\",\n \"staff_team_member_comment\": \"staff:staff_team_member_comment\",\n \"staff_team_member_activity\": \"staff:staff_team_member_activity\",\n \"staff_team_member_job_history\": \"staff:staff_team_member_job_history\",\n \"staff_team_member_address\": \"staff:staff_team_member_address\",\n \"staff_time_entry\": \"staff:staff_time_entry\",\n \"staff_time_entry_segment\": \"staff:staff_time_entry_segment\",\n \"staff_time_project\": \"staff:staff_time_project\",\n \"staff_time_project_member\": \"staff:staff_time_project_member\"\n },\n \"notifications\": {\n \"notification\": \"notifications:notification\"\n },\n \"progress\": {\n \"progress_job\": \"progress:progress_job\"\n },\n \"integrations\": {\n \"sync_external_id_mapping\": \"integrations:sync_external_id_mapping\",\n \"integration_credentials\": \"integrations:integration_credentials\",\n \"integration_state\": \"integrations:integration_state\",\n \"integration_log\": \"integrations:integration_log\"\n },\n \"data_sync\": {\n \"sync_run\": \"data_sync:sync_run\",\n \"sync_cursor\": \"data_sync:sync_cursor\",\n \"sync_mapping\": \"data_sync:sync_mapping\",\n \"sync_schedule\": \"data_sync:sync_schedule\"\n },\n \"sync_excel\": {\n \"sync_excel_upload\": \"sync_excel:sync_excel_upload\"\n },\n \"messages\": {\n \"message\": \"messages:message\",\n \"message_recipient\": \"messages:message_recipient\",\n \"message_object\": \"messages:message_object\",\n \"message_access_token\": \"messages:message_access_token\",\n \"message_confirmation\": \"messages:message_confirmation\"\n },\n \"translations\": {\n \"entity_translation\": \"translations:entity_translation\"\n },\n \"inbox_ops\": {\n \"inbox_settings\": \"inbox_ops:inbox_settings\",\n \"inbox_email\": \"inbox_ops:inbox_email\",\n \"inbox_proposal\": \"inbox_ops:inbox_proposal\",\n \"inbox_proposal_action\": \"inbox_ops:inbox_proposal_action\",\n \"inbox_discrepancy\": \"inbox_ops:inbox_discrepancy\"\n },\n \"payment_gateways\": {\n \"gateway_transaction\": \"payment_gateways:gateway_transaction\",\n \"webhook_processed_event\": \"payment_gateways:webhook_processed_event\"\n },\n \"shipping_carriers\": {\n \"carrier_shipment\": \"shipping_carriers:carrier_shipment\",\n \"carrier_webhook_processed_event\": \"shipping_carriers:carrier_webhook_processed_event\"\n },\n \"customer_accounts\": {\n \"customer_user\": \"customer_accounts:customer_user\",\n \"customer_role\": \"customer_accounts:customer_role\",\n \"customer_role_acl\": \"customer_accounts:customer_role_acl\",\n \"customer_user_role\": \"customer_accounts:customer_user_role\",\n \"customer_user_acl\": \"customer_accounts:customer_user_acl\",\n \"customer_user_session\": \"customer_accounts:customer_user_session\",\n \"customer_user_email_verification\": \"customer_accounts:customer_user_email_verification\",\n \"customer_user_password_reset\": \"customer_accounts:customer_user_password_reset\",\n \"customer_user_invitation\": \"customer_accounts:customer_user_invitation\",\n \"domain_mapping\": \"customer_accounts:domain_mapping\"\n }\n } as const;\n\nexport type KnownModuleId = keyof typeof M;\nexport type KnownEntities = typeof E;\n"],
5
+ "mappings": "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",
6
6
  "names": []
7
7
  }
@@ -364,63 +364,6 @@ const entityFieldsRegistry = {
364
364
  "created_at": "created_at",
365
365
  "updated_at": "updated_at"
366
366
  },
367
- "channel_ingest_dead_letter": {
368
- "id": "id",
369
- "tenant_id": "tenant_id",
370
- "organization_id": "organization_id",
371
- "channel_id": "channel_id",
372
- "provider_key": "provider_key",
373
- "external_uid": "external_uid",
374
- "external_message_id": "external_message_id",
375
- "error_class": "error_class",
376
- "error_message": "error_message",
377
- "raw_body": "raw_body",
378
- "created_at": "created_at"
379
- },
380
- "channel_thread_mapping": {
381
- "id": "id",
382
- "external_conversation_id": "external_conversation_id",
383
- "message_thread_id": "message_thread_id",
384
- "channel_id": "channel_id",
385
- "provider_key": "provider_key",
386
- "external_thread_ref": "external_thread_ref",
387
- "assigned_user_id": "assigned_user_id",
388
- "tenant_id": "tenant_id",
389
- "organization_id": "organization_id",
390
- "created_at": "created_at",
391
- "updated_at": "updated_at"
392
- },
393
- "channel_thread_token": {
394
- "id": "id",
395
- "tenant_id": "tenant_id",
396
- "organization_id": "organization_id",
397
- "message_thread_id": "message_thread_id",
398
- "token": "token",
399
- "created_at": "created_at",
400
- "last_seen_at": "last_seen_at"
401
- },
402
- "communication_channel": {
403
- "id": "id",
404
- "provider_key": "provider_key",
405
- "channel_type": "channel_type",
406
- "display_name": "display_name",
407
- "external_identifier": "external_identifier",
408
- "credentials_ref": "credentials_ref",
409
- "capabilities": "capabilities",
410
- "is_active": "is_active",
411
- "user_id": "user_id",
412
- "is_primary": "is_primary",
413
- "poll_interval_seconds": "poll_interval_seconds",
414
- "last_polled_at": "last_polled_at",
415
- "status": "status",
416
- "last_error": "last_error",
417
- "channel_state": "channel_state",
418
- "tenant_id": "tenant_id",
419
- "organization_id": "organization_id",
420
- "created_at": "created_at",
421
- "updated_at": "updated_at",
422
- "deleted_at": "deleted_at"
423
- },
424
367
  "currency": {
425
368
  "id": "id",
426
369
  "organization_id": "organization_id",
@@ -734,8 +677,6 @@ const entityFieldsRegistry = {
734
677
  "interaction_type": "interaction_type",
735
678
  "title": "title",
736
679
  "body": "body",
737
- "external_message_id": "external_message_id",
738
- "channel_provider_key": "channel_provider_key",
739
680
  "status": "status",
740
681
  "scheduled_at": "scheduled_at",
741
682
  "occurred_at": "occurred_at",
@@ -1136,32 +1077,6 @@ const entityFieldsRegistry = {
1136
1077
  "updated_at": "updated_at",
1137
1078
  "deleted_at": "deleted_at"
1138
1079
  },
1139
- "external_conversation": {
1140
- "id": "id",
1141
- "channel_id": "channel_id",
1142
- "external_conversation_id": "external_conversation_id",
1143
- "subject": "subject",
1144
- "contact_person_id": "contact_person_id",
1145
- "assigned_user_id": "assigned_user_id",
1146
- "last_message_at": "last_message_at",
1147
- "tenant_id": "tenant_id",
1148
- "organization_id": "organization_id",
1149
- "created_at": "created_at",
1150
- "updated_at": "updated_at"
1151
- },
1152
- "external_message": {
1153
- "id": "id",
1154
- "channel_id": "channel_id",
1155
- "conversation_id": "conversation_id",
1156
- "external_message_id": "external_message_id",
1157
- "direction": "direction",
1158
- "sender_identifier": "sender_identifier",
1159
- "sender_display_name": "sender_display_name",
1160
- "provider_timestamp": "provider_timestamp",
1161
- "tenant_id": "tenant_id",
1162
- "organization_id": "organization_id",
1163
- "created_at": "created_at"
1164
- },
1165
1080
  "feature_toggle": {
1166
1081
  "id": "id",
1167
1082
  "identifier": "identifier",
@@ -1343,7 +1258,6 @@ const entityFieldsRegistry = {
1343
1258
  "credentials": "credentials",
1344
1259
  "organization_id": "organization_id",
1345
1260
  "tenant_id": "tenant_id",
1346
- "user_id": "user_id",
1347
1261
  "created_at": "created_at",
1348
1262
  "updated_at": "updated_at",
1349
1263
  "deleted_at": "deleted_at"
@@ -1407,7 +1321,6 @@ const entityFieldsRegistry = {
1407
1321
  "source_entity_id": "source_entity_id",
1408
1322
  "external_email": "external_email",
1409
1323
  "external_email_hash": "external_email_hash",
1410
- "idempotency_key": "idempotency_key",
1411
1324
  "external_name": "external_name",
1412
1325
  "external_email_sent_at": "external_email_sent_at",
1413
1326
  "external_email_failed_at": "external_email_failed_at",
@@ -1423,23 +1336,6 @@ const entityFieldsRegistry = {
1423
1336
  "use_count": "use_count",
1424
1337
  "created_at": "created_at"
1425
1338
  },
1426
- "message_channel_link": {
1427
- "id": "id",
1428
- "message_id": "message_id",
1429
- "external_conversation_id": "external_conversation_id",
1430
- "external_message_id": "external_message_id",
1431
- "provider_key": "provider_key",
1432
- "channel_type": "channel_type",
1433
- "direction": "direction",
1434
- "delivery_status": "delivery_status",
1435
- "channel_payload": "channel_payload",
1436
- "channel_content_type": "channel_content_type",
1437
- "interactive_state": "interactive_state",
1438
- "channel_metadata": "channel_metadata",
1439
- "tenant_id": "tenant_id",
1440
- "organization_id": "organization_id",
1441
- "created_at": "created_at"
1442
- },
1443
1339
  "message_confirmation": {
1444
1340
  "id": "id",
1445
1341
  "message_id": "message_id",
@@ -1463,19 +1359,6 @@ const entityFieldsRegistry = {
1463
1359
  "entity_snapshot": "entity_snapshot",
1464
1360
  "created_at": "created_at"
1465
1361
  },
1466
- "message_reaction": {
1467
- "id": "id",
1468
- "message_id": "message_id",
1469
- "emoji": "emoji",
1470
- "reacted_by_user_id": "reacted_by_user_id",
1471
- "reacted_by_external_id": "reacted_by_external_id",
1472
- "reacted_by_display_name": "reacted_by_display_name",
1473
- "provider_key": "provider_key",
1474
- "external_reaction_id": "external_reaction_id",
1475
- "tenant_id": "tenant_id",
1476
- "organization_id": "organization_id",
1477
- "created_at": "created_at"
1478
- },
1479
1362
  "message_recipient": {
1480
1363
  "id": "id",
1481
1364
  "message_id": "message_id",
@@ -1711,7 +1594,6 @@ const entityFieldsRegistry = {
1711
1594
  "name": "name",
1712
1595
  "tenant_id": "tenant_id",
1713
1596
  "created_at": "created_at",
1714
- "updated_at": "updated_at",
1715
1597
  "deleted_at": "deleted_at"
1716
1598
  },
1717
1599
  "role_acl": {
@@ -2804,7 +2686,6 @@ const entityFieldsRegistry = {
2804
2686
  "is_confirmed": "is_confirmed",
2805
2687
  "last_login_at": "last_login_at",
2806
2688
  "created_at": "created_at",
2807
- "updated_at": "updated_at",
2808
2689
  "deleted_at": "deleted_at"
2809
2690
  },
2810
2691
  "user_acl": {