@open-mercato/core 0.4.11-develop.1406.2f08706ed8 → 0.4.11-develop.1413.f6aab77ce7

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 (359) hide show
  1. package/dist/generated/entities/access_log/index.js.map +1 -1
  2. package/dist/generated/entities/action_log/index.js.map +1 -1
  3. package/dist/generated/entities/api_key/index.js.map +1 -1
  4. package/dist/generated/entities/attachment/index.js.map +1 -1
  5. package/dist/generated/entities/attachment_partition/index.js.map +1 -1
  6. package/dist/generated/entities/business_rule/index.js.map +1 -1
  7. package/dist/generated/entities/carrier_shipment/index.js.map +1 -1
  8. package/dist/generated/entities/catalog_offer/index.js.map +1 -1
  9. package/dist/generated/entities/catalog_option_schema_template/index.js.map +1 -1
  10. package/dist/generated/entities/catalog_price_kind/index.js.map +1 -1
  11. package/dist/generated/entities/catalog_product/index.js.map +1 -1
  12. package/dist/generated/entities/catalog_product_category/index.js.map +1 -1
  13. package/dist/generated/entities/catalog_product_category_assignment/index.js.map +1 -1
  14. package/dist/generated/entities/catalog_product_price/index.js.map +1 -1
  15. package/dist/generated/entities/catalog_product_tag/index.js.map +1 -1
  16. package/dist/generated/entities/catalog_product_tag_assignment/index.js.map +1 -1
  17. package/dist/generated/entities/catalog_product_unit_conversion/index.js.map +1 -1
  18. package/dist/generated/entities/catalog_product_variant/index.js.map +1 -1
  19. package/dist/generated/entities/catalog_product_variant_relation/index.js.map +1 -1
  20. package/dist/generated/entities/currency/index.js.map +1 -1
  21. package/dist/generated/entities/currency_fetch_config/index.js.map +1 -1
  22. package/dist/generated/entities/custom_entity/index.js.map +1 -1
  23. package/dist/generated/entities/custom_entity_storage/index.js.map +1 -1
  24. package/dist/generated/entities/custom_field_def/index.js.map +1 -1
  25. package/dist/generated/entities/custom_field_entity_config/index.js.map +1 -1
  26. package/dist/generated/entities/custom_field_value/index.js.map +1 -1
  27. package/dist/generated/entities/customer_activity/index.js.map +1 -1
  28. package/dist/generated/entities/customer_address/index.js.map +1 -1
  29. package/dist/generated/entities/customer_comment/index.js.map +1 -1
  30. package/dist/generated/entities/customer_company_profile/index.js.map +1 -1
  31. package/dist/generated/entities/customer_deal/index.js.map +1 -1
  32. package/dist/generated/entities/customer_deal_company_link/index.js.map +1 -1
  33. package/dist/generated/entities/customer_deal_person_link/index.js.map +1 -1
  34. package/dist/generated/entities/customer_dictionary_entry/index.js.map +1 -1
  35. package/dist/generated/entities/customer_entity/index.js.map +1 -1
  36. package/dist/generated/entities/customer_interaction/index.js.map +1 -1
  37. package/dist/generated/entities/customer_person_profile/index.js.map +1 -1
  38. package/dist/generated/entities/customer_pipeline/index.js.map +1 -1
  39. package/dist/generated/entities/customer_pipeline_stage/index.js.map +1 -1
  40. package/dist/generated/entities/customer_role/index.js.map +1 -1
  41. package/dist/generated/entities/customer_role_acl/index.js.map +1 -1
  42. package/dist/generated/entities/customer_settings/index.js.map +1 -1
  43. package/dist/generated/entities/customer_tag/index.js.map +1 -1
  44. package/dist/generated/entities/customer_tag_assignment/index.js.map +1 -1
  45. package/dist/generated/entities/customer_todo_link/index.js.map +1 -1
  46. package/dist/generated/entities/customer_user/index.js.map +1 -1
  47. package/dist/generated/entities/customer_user_acl/index.js.map +1 -1
  48. package/dist/generated/entities/customer_user_email_verification/index.js.map +1 -1
  49. package/dist/generated/entities/customer_user_invitation/index.js.map +1 -1
  50. package/dist/generated/entities/customer_user_password_reset/index.js.map +1 -1
  51. package/dist/generated/entities/customer_user_role/index.js.map +1 -1
  52. package/dist/generated/entities/customer_user_session/index.js.map +1 -1
  53. package/dist/generated/entities/dashboard_layout/index.js.map +1 -1
  54. package/dist/generated/entities/dashboard_role_widgets/index.js.map +1 -1
  55. package/dist/generated/entities/dashboard_user_widgets/index.js.map +1 -1
  56. package/dist/generated/entities/dictionary/index.js.map +1 -1
  57. package/dist/generated/entities/dictionary_entry/index.js.map +1 -1
  58. package/dist/generated/entities/encryption_map/index.js.map +1 -1
  59. package/dist/generated/entities/entity_index_coverage/index.js.map +1 -1
  60. package/dist/generated/entities/entity_index_job/index.js.map +1 -1
  61. package/dist/generated/entities/entity_index_row/index.js.map +1 -1
  62. package/dist/generated/entities/entity_translation/index.js.map +1 -1
  63. package/dist/generated/entities/exchange_rate/index.js.map +1 -1
  64. package/dist/generated/entities/feature_toggle/index.js.map +1 -1
  65. package/dist/generated/entities/feature_toggle_override/index.js.map +1 -1
  66. package/dist/generated/entities/gateway_transaction/index.js.map +1 -1
  67. package/dist/generated/entities/inbox_discrepancy/index.js.map +1 -1
  68. package/dist/generated/entities/inbox_email/index.js.map +1 -1
  69. package/dist/generated/entities/inbox_proposal/index.js.map +1 -1
  70. package/dist/generated/entities/inbox_proposal_action/index.js.map +1 -1
  71. package/dist/generated/entities/inbox_settings/index.js.map +1 -1
  72. package/dist/generated/entities/indexer_error_log/index.js.map +1 -1
  73. package/dist/generated/entities/indexer_status_log/index.js.map +1 -1
  74. package/dist/generated/entities/integration_credentials/index.js.map +1 -1
  75. package/dist/generated/entities/integration_log/index.js.map +1 -1
  76. package/dist/generated/entities/integration_state/index.js.map +1 -1
  77. package/dist/generated/entities/message/index.js.map +1 -1
  78. package/dist/generated/entities/message_access_token/index.js.map +1 -1
  79. package/dist/generated/entities/message_confirmation/index.js.map +1 -1
  80. package/dist/generated/entities/message_object/index.js.map +1 -1
  81. package/dist/generated/entities/message_recipient/index.js.map +1 -1
  82. package/dist/generated/entities/module_config/index.js.map +1 -1
  83. package/dist/generated/entities/notification/index.js.map +1 -1
  84. package/dist/generated/entities/organization/index.js.map +1 -1
  85. package/dist/generated/entities/password_reset/index.js.map +1 -1
  86. package/dist/generated/entities/perspective/index.js.map +1 -1
  87. package/dist/generated/entities/planner_availability_rule/index.js.map +1 -1
  88. package/dist/generated/entities/planner_availability_rule_set/index.js.map +1 -1
  89. package/dist/generated/entities/progress_job/index.js.map +1 -1
  90. package/dist/generated/entities/resources_resource/index.js.map +1 -1
  91. package/dist/generated/entities/resources_resource_activity/index.js.map +1 -1
  92. package/dist/generated/entities/resources_resource_comment/index.js.map +1 -1
  93. package/dist/generated/entities/resources_resource_tag/index.js.map +1 -1
  94. package/dist/generated/entities/resources_resource_tag_assignment/index.js.map +1 -1
  95. package/dist/generated/entities/resources_resource_type/index.js.map +1 -1
  96. package/dist/generated/entities/role/index.js.map +1 -1
  97. package/dist/generated/entities/role_acl/index.js.map +1 -1
  98. package/dist/generated/entities/role_perspective/index.js.map +1 -1
  99. package/dist/generated/entities/role_sidebar_preference/index.js.map +1 -1
  100. package/dist/generated/entities/rule_execution_log/index.js.map +1 -1
  101. package/dist/generated/entities/rule_set/index.js.map +1 -1
  102. package/dist/generated/entities/rule_set_member/index.js.map +1 -1
  103. package/dist/generated/entities/sales_channel/index.js.map +1 -1
  104. package/dist/generated/entities/sales_credit_memo/index.js.map +1 -1
  105. package/dist/generated/entities/sales_credit_memo_line/index.js.map +1 -1
  106. package/dist/generated/entities/sales_delivery_window/index.js.map +1 -1
  107. package/dist/generated/entities/sales_document_address/index.js.map +1 -1
  108. package/dist/generated/entities/sales_document_sequence/index.js.map +1 -1
  109. package/dist/generated/entities/sales_document_tag/index.js.map +1 -1
  110. package/dist/generated/entities/sales_document_tag_assignment/index.js.map +1 -1
  111. package/dist/generated/entities/sales_invoice/index.js.map +1 -1
  112. package/dist/generated/entities/sales_invoice_line/index.js.map +1 -1
  113. package/dist/generated/entities/sales_note/index.js.map +1 -1
  114. package/dist/generated/entities/sales_order/index.js.map +1 -1
  115. package/dist/generated/entities/sales_order_adjustment/index.js.map +1 -1
  116. package/dist/generated/entities/sales_order_line/index.js.map +1 -1
  117. package/dist/generated/entities/sales_payment/index.js.map +1 -1
  118. package/dist/generated/entities/sales_payment_allocation/index.js.map +1 -1
  119. package/dist/generated/entities/sales_payment_method/index.js.map +1 -1
  120. package/dist/generated/entities/sales_quote/index.js.map +1 -1
  121. package/dist/generated/entities/sales_quote_adjustment/index.js.map +1 -1
  122. package/dist/generated/entities/sales_quote_line/index.js.map +1 -1
  123. package/dist/generated/entities/sales_return/index.js.map +1 -1
  124. package/dist/generated/entities/sales_return_line/index.js.map +1 -1
  125. package/dist/generated/entities/sales_settings/index.js.map +1 -1
  126. package/dist/generated/entities/sales_shipment/index.js.map +1 -1
  127. package/dist/generated/entities/sales_shipment_item/index.js.map +1 -1
  128. package/dist/generated/entities/sales_shipping_method/index.js.map +1 -1
  129. package/dist/generated/entities/sales_tax_rate/index.js.map +1 -1
  130. package/dist/generated/entities/search_token/index.js.map +1 -1
  131. package/dist/generated/entities/session/index.js.map +1 -1
  132. package/dist/generated/entities/staff_leave_request/index.js.map +1 -1
  133. package/dist/generated/entities/staff_team/index.js.map +1 -1
  134. package/dist/generated/entities/staff_team_member/index.js.map +1 -1
  135. package/dist/generated/entities/staff_team_member_activity/index.js.map +1 -1
  136. package/dist/generated/entities/staff_team_member_address/index.js.map +1 -1
  137. package/dist/generated/entities/staff_team_member_comment/index.js.map +1 -1
  138. package/dist/generated/entities/staff_team_member_job_history/index.js.map +1 -1
  139. package/dist/generated/entities/staff_team_role/index.js.map +1 -1
  140. package/dist/generated/entities/step_instance/index.js.map +1 -1
  141. package/dist/generated/entities/sync_cursor/index.js.map +1 -1
  142. package/dist/generated/entities/sync_external_id_mapping/index.js.map +1 -1
  143. package/dist/generated/entities/sync_mapping/index.js.map +1 -1
  144. package/dist/generated/entities/sync_run/index.js.map +1 -1
  145. package/dist/generated/entities/sync_schedule/index.js.map +1 -1
  146. package/dist/generated/entities/tenant/index.js.map +1 -1
  147. package/dist/generated/entities/upgrade_action_run/index.js.map +1 -1
  148. package/dist/generated/entities/user/index.js.map +1 -1
  149. package/dist/generated/entities/user_acl/index.js.map +1 -1
  150. package/dist/generated/entities/user_consent/index.js.map +1 -1
  151. package/dist/generated/entities/user_role/index.js.map +1 -1
  152. package/dist/generated/entities/user_sidebar_preference/index.js.map +1 -1
  153. package/dist/generated/entities/user_task/index.js.map +1 -1
  154. package/dist/generated/entities/webhook_processed_event/index.js.map +1 -1
  155. package/dist/generated/entities/workflow_definition/index.js.map +1 -1
  156. package/dist/generated/entities/workflow_event/index.js.map +1 -1
  157. package/dist/generated/entities/workflow_event_trigger/index.js.map +1 -1
  158. package/dist/generated/entities/workflow_instance/index.js.map +1 -1
  159. package/dist/generated/entities.ids.generated.js +1 -2
  160. package/dist/generated/entities.ids.generated.js.map +2 -2
  161. package/dist/generated/entity-fields-registry.js +2585 -316
  162. package/dist/generated/entity-fields-registry.js.map +2 -2
  163. package/dist/helpers/integration/auth.js +23 -0
  164. package/dist/helpers/integration/auth.js.map +2 -2
  165. package/dist/helpers/integration/salesUi.js +261 -28
  166. package/dist/helpers/integration/salesUi.js.map +3 -3
  167. package/dist/modules/api_docs/frontend/docs/api/page.js +10 -10
  168. package/dist/modules/api_docs/frontend/docs/api/page.js.map +2 -2
  169. package/dist/modules/auth/api/admin/nav.js +5 -3
  170. package/dist/modules/auth/api/admin/nav.js.map +2 -2
  171. package/dist/modules/auth/lib/backendChrome.js +28 -1
  172. package/dist/modules/auth/lib/backendChrome.js.map +2 -2
  173. package/dist/modules/catalog/api/products/route.js +23 -6
  174. package/dist/modules/catalog/api/products/route.js.map +2 -2
  175. package/dist/modules/configs/lib/system-status.js +1 -1
  176. package/dist/modules/configs/lib/system-status.js.map +1 -1
  177. package/dist/modules/customers/backend/customers/deals/[id]/page.js +226 -221
  178. package/dist/modules/customers/backend/customers/deals/[id]/page.js.map +2 -2
  179. package/dist/modules/customers/commands/companies.js +14 -0
  180. package/dist/modules/customers/commands/companies.js.map +2 -2
  181. package/dist/modules/customers/commands/people.js +18 -1
  182. package/dist/modules/customers/commands/people.js.map +2 -2
  183. package/dist/modules/entities/backend/entities/user/[entityId]/records/create/page.js +0 -1
  184. package/dist/modules/entities/backend/entities/user/[entityId]/records/create/page.js.map +2 -2
  185. package/dist/modules/query_index/lib/engine.js +2 -2
  186. package/dist/modules/query_index/lib/engine.js.map +2 -2
  187. package/generated/entities/access_log/index.ts +11 -11
  188. package/generated/entities/action_log/index.ts +20 -20
  189. package/generated/entities/api_key/index.ts +17 -17
  190. package/generated/entities/attachment/index.ts +15 -15
  191. package/generated/entities/attachment_partition/index.ts +11 -11
  192. package/generated/entities/business_rule/index.ts +23 -23
  193. package/generated/entities/carrier_shipment/index.ts +17 -17
  194. package/generated/entities/catalog_offer/index.ts +15 -15
  195. package/generated/entities/catalog_option_schema_template/index.ts +12 -12
  196. package/generated/entities/catalog_price_kind/index.ts +13 -13
  197. package/generated/entities/catalog_product/index.ts +39 -39
  198. package/generated/entities/catalog_product_category/index.ts +19 -19
  199. package/generated/entities/catalog_product_category_assignment/index.ts +8 -8
  200. package/generated/entities/catalog_product_price/index.ts +25 -25
  201. package/generated/entities/catalog_product_tag/index.ts +8 -8
  202. package/generated/entities/catalog_product_tag_assignment/index.ts +7 -7
  203. package/generated/entities/catalog_product_unit_conversion/index.ts +12 -12
  204. package/generated/entities/catalog_product_variant/index.ts +24 -24
  205. package/generated/entities/catalog_product_variant_relation/index.ts +14 -14
  206. package/generated/entities/currency/index.ts +14 -14
  207. package/generated/entities/currency_fetch_config/index.ts +13 -13
  208. package/generated/entities/custom_entity/index.ts +13 -13
  209. package/generated/entities/custom_entity_storage/index.ts +9 -9
  210. package/generated/entities/custom_field_def/index.ts +11 -11
  211. package/generated/entities/custom_field_entity_config/index.ts +9 -9
  212. package/generated/entities/custom_field_value/index.ts +13 -13
  213. package/generated/entities/customer_activity/index.ts +14 -14
  214. package/generated/entities/customer_address/index.ts +20 -20
  215. package/generated/entities/customer_comment/index.ts +12 -12
  216. package/generated/entities/customer_company_profile/index.ts +13 -13
  217. package/generated/entities/customer_deal/index.ts +22 -22
  218. package/generated/entities/customer_deal_company_link/index.ts +4 -4
  219. package/generated/entities/customer_deal_person_link/index.ts +5 -5
  220. package/generated/entities/customer_dictionary_entry/index.ts +11 -11
  221. package/generated/entities/customer_entity/index.ts +32 -32
  222. package/generated/entities/customer_interaction/index.ts +20 -20
  223. package/generated/entities/customer_person_profile/index.ts +16 -16
  224. package/generated/entities/customer_pipeline/index.ts +7 -7
  225. package/generated/entities/customer_pipeline_stage/index.ts +8 -8
  226. package/generated/entities/customer_role/index.ts +12 -12
  227. package/generated/entities/customer_role_acl/index.ts +8 -8
  228. package/generated/entities/customer_settings/index.ts +6 -6
  229. package/generated/entities/customer_tag/index.ts +10 -10
  230. package/generated/entities/customer_tag_assignment/index.ts +6 -6
  231. package/generated/entities/customer_todo_link/index.ts +8 -8
  232. package/generated/entities/customer_user/index.ts +17 -17
  233. package/generated/entities/customer_user_acl/index.ts +8 -8
  234. package/generated/entities/customer_user_email_verification/index.ts +7 -7
  235. package/generated/entities/customer_user_invitation/index.ts +15 -15
  236. package/generated/entities/customer_user_password_reset/index.ts +6 -6
  237. package/generated/entities/customer_user_role/index.ts +5 -5
  238. package/generated/entities/customer_user_session/index.ts +9 -9
  239. package/generated/entities/dashboard_layout/index.ts +8 -8
  240. package/generated/entities/dashboard_role_widgets/index.ts +8 -8
  241. package/generated/entities/dashboard_user_widgets/index.ts +9 -9
  242. package/generated/entities/dictionary/index.ts +12 -12
  243. package/generated/entities/dictionary_entry/index.ts +11 -11
  244. package/generated/entities/encryption_map/index.ts +9 -9
  245. package/generated/entities/entity_index_coverage/index.ts +9 -9
  246. package/generated/entities/entity_index_job/index.ts +12 -12
  247. package/generated/entities/entity_index_row/index.ts +11 -11
  248. package/generated/entities/entity_translation/index.ts +8 -8
  249. package/generated/entities/exchange_rate/index.ts +13 -13
  250. package/generated/entities/feature_toggle/index.ts +10 -10
  251. package/generated/entities/feature_toggle_override/index.ts +6 -6
  252. package/generated/entities/gateway_transaction/index.ts +22 -22
  253. package/generated/entities/inbox_discrepancy/index.ts +15 -15
  254. package/generated/entities/inbox_email/index.ts +26 -26
  255. package/generated/entities/inbox_proposal/index.ts +22 -22
  256. package/generated/entities/inbox_proposal_action/index.ts +23 -23
  257. package/generated/entities/inbox_settings/index.ts +9 -9
  258. package/generated/entities/indexer_error_log/index.ts +11 -11
  259. package/generated/entities/indexer_status_log/index.ts +11 -11
  260. package/generated/entities/integration_credentials/index.ts +8 -8
  261. package/generated/entities/integration_log/index.ts +12 -12
  262. package/generated/entities/integration_state/index.ts +12 -12
  263. package/generated/entities/message/index.ts +31 -31
  264. package/generated/entities/message_access_token/index.ts +8 -8
  265. package/generated/entities/message_confirmation/index.ts +9 -9
  266. package/generated/entities/message_object/index.ts +10 -10
  267. package/generated/entities/message_recipient/index.ts +14 -14
  268. package/generated/entities/module_config/index.ts +6 -6
  269. package/generated/entities/notification/index.ts +27 -27
  270. package/generated/entities/organization/index.ts +15 -15
  271. package/generated/entities/password_reset/index.ts +7 -7
  272. package/generated/entities/perspective/index.ts +11 -11
  273. package/generated/entities/planner_availability_rule/index.ts +15 -15
  274. package/generated/entities/planner_availability_rule_set/index.ts +9 -9
  275. package/generated/entities/progress_job/index.ts +27 -27
  276. package/generated/entities/resources_resource/index.ts +18 -18
  277. package/generated/entities/resources_resource_activity/index.ts +13 -13
  278. package/generated/entities/resources_resource_comment/index.ts +11 -11
  279. package/generated/entities/resources_resource_tag/index.ts +10 -10
  280. package/generated/entities/resources_resource_tag_assignment/index.ts +7 -7
  281. package/generated/entities/resources_resource_type/index.ts +10 -10
  282. package/generated/entities/role/index.ts +5 -5
  283. package/generated/entities/role_acl/index.ts +9 -9
  284. package/generated/entities/role_perspective/index.ts +11 -11
  285. package/generated/entities/role_sidebar_preference/index.ts +8 -8
  286. package/generated/entities/rule_execution_log/index.ts +13 -13
  287. package/generated/entities/rule_set/index.ts +12 -12
  288. package/generated/entities/rule_set_member/index.ts +8 -8
  289. package/generated/entities/sales_channel/index.ts +25 -25
  290. package/generated/entities/sales_credit_memo/index.ts +21 -21
  291. package/generated/entities/sales_credit_memo_line/index.ts +20 -20
  292. package/generated/entities/sales_delivery_window/index.ts +15 -15
  293. package/generated/entities/sales_document_address/index.ts +24 -24
  294. package/generated/entities/sales_document_sequence/index.ts +8 -8
  295. package/generated/entities/sales_document_tag/index.ts +10 -10
  296. package/generated/entities/sales_document_tag_assignment/index.ts +10 -10
  297. package/generated/entities/sales_invoice/index.ts +25 -25
  298. package/generated/entities/sales_invoice_line/index.ts +23 -23
  299. package/generated/entities/sales_note/index.ts +14 -14
  300. package/generated/entities/sales_order/index.ts +71 -71
  301. package/generated/entities/sales_order_adjustment/index.ts +20 -20
  302. package/generated/entities/sales_order_line/index.ts +44 -44
  303. package/generated/entities/sales_payment/index.ts +20 -20
  304. package/generated/entities/sales_payment_allocation/index.ts +9 -9
  305. package/generated/entities/sales_payment_method/index.ts +15 -15
  306. package/generated/entities/sales_quote/index.ts +56 -56
  307. package/generated/entities/sales_quote_adjustment/index.ts +20 -20
  308. package/generated/entities/sales_quote_line/index.ts +37 -37
  309. package/generated/entities/sales_return/index.ts +14 -14
  310. package/generated/entities/sales_return_line/index.ts +13 -13
  311. package/generated/entities/sales_settings/index.ts +10 -10
  312. package/generated/entities/sales_shipment/index.ts +24 -24
  313. package/generated/entities/sales_shipment_item/index.ts +7 -7
  314. package/generated/entities/sales_shipping_method/index.ts +19 -19
  315. package/generated/entities/sales_tax_rate/index.ts +22 -22
  316. package/generated/entities/search_token/index.ts +9 -9
  317. package/generated/entities/session/index.ts +7 -7
  318. package/generated/entities/staff_leave_request/index.ts +18 -18
  319. package/generated/entities/staff_team/index.ts +9 -9
  320. package/generated/entities/staff_team_member/index.ts +14 -14
  321. package/generated/entities/staff_team_member_activity/index.ts +13 -13
  322. package/generated/entities/staff_team_member_address/index.ts +20 -20
  323. package/generated/entities/staff_team_member_comment/index.ts +11 -11
  324. package/generated/entities/staff_team_member_job_history/index.ts +11 -11
  325. package/generated/entities/staff_team_role/index.ts +11 -11
  326. package/generated/entities/step_instance/index.ts +17 -17
  327. package/generated/entities/sync_cursor/index.ts +8 -8
  328. package/generated/entities/sync_external_id_mapping/index.ts +12 -12
  329. package/generated/entities/sync_mapping/index.ts +8 -8
  330. package/generated/entities/sync_run/index.ts +21 -21
  331. package/generated/entities/sync_schedule/index.ts +16 -16
  332. package/generated/entities/tenant/index.ts +7 -7
  333. package/generated/entities/upgrade_action_run/index.ts +7 -7
  334. package/generated/entities/user/index.ts +11 -11
  335. package/generated/entities/user_acl/index.ts +9 -9
  336. package/generated/entities/user_consent/index.ts +14 -14
  337. package/generated/entities/user_role/index.ts +5 -5
  338. package/generated/entities/user_sidebar_preference/index.ts +9 -9
  339. package/generated/entities/user_task/index.ts +22 -22
  340. package/generated/entities/webhook_processed_event/index.ts +7 -7
  341. package/generated/entities/workflow_definition/index.ts +17 -17
  342. package/generated/entities/workflow_event/index.ts +9 -9
  343. package/generated/entities/workflow_event_trigger/index.ts +15 -15
  344. package/generated/entities/workflow_instance/index.ts +22 -22
  345. package/generated/entities.ids.generated.ts +258 -258
  346. package/generated/entity-fields-registry.ts +2587 -319
  347. package/package.json +3 -3
  348. package/src/helpers/integration/auth.ts +22 -0
  349. package/src/helpers/integration/salesUi.ts +397 -29
  350. package/src/modules/api_docs/frontend/docs/api/page.tsx +14 -11
  351. package/src/modules/auth/api/admin/nav.ts +5 -4
  352. package/src/modules/auth/lib/backendChrome.tsx +36 -3
  353. package/src/modules/catalog/api/products/route.ts +25 -6
  354. package/src/modules/configs/lib/system-status.ts +1 -1
  355. package/src/modules/customers/backend/customers/deals/[id]/page.tsx +1 -1
  356. package/src/modules/customers/commands/companies.ts +15 -0
  357. package/src/modules/customers/commands/people.ts +19 -1
  358. package/src/modules/entities/backend/entities/user/[entityId]/records/create/page.tsx +0 -1
  359. package/src/modules/query_index/lib/engine.ts +1 -2
@@ -1,320 +1,2589 @@
1
- import * as access_log from "./entities/access_log/index.js";
2
- import * as action_log from "./entities/action_log/index.js";
3
- import * as api_key from "./entities/api_key/index.js";
4
- import * as attachment from "./entities/attachment/index.js";
5
- import * as attachment_partition from "./entities/attachment_partition/index.js";
6
- import * as business_rule from "./entities/business_rule/index.js";
7
- import * as carrier_shipment from "./entities/carrier_shipment/index.js";
8
- import * as catalog_offer from "./entities/catalog_offer/index.js";
9
- import * as catalog_option_schema_template from "./entities/catalog_option_schema_template/index.js";
10
- import * as catalog_price_kind from "./entities/catalog_price_kind/index.js";
11
- import * as catalog_product from "./entities/catalog_product/index.js";
12
- import * as catalog_product_category from "./entities/catalog_product_category/index.js";
13
- import * as catalog_product_category_assignment from "./entities/catalog_product_category_assignment/index.js";
14
- import * as catalog_product_price from "./entities/catalog_product_price/index.js";
15
- import * as catalog_product_tag from "./entities/catalog_product_tag/index.js";
16
- import * as catalog_product_tag_assignment from "./entities/catalog_product_tag_assignment/index.js";
17
- import * as catalog_product_unit_conversion from "./entities/catalog_product_unit_conversion/index.js";
18
- import * as catalog_product_variant from "./entities/catalog_product_variant/index.js";
19
- import * as catalog_product_variant_relation from "./entities/catalog_product_variant_relation/index.js";
20
- import * as currency from "./entities/currency/index.js";
21
- import * as currency_fetch_config from "./entities/currency_fetch_config/index.js";
22
- import * as custom_entity from "./entities/custom_entity/index.js";
23
- import * as custom_entity_storage from "./entities/custom_entity_storage/index.js";
24
- import * as custom_field_def from "./entities/custom_field_def/index.js";
25
- import * as custom_field_entity_config from "./entities/custom_field_entity_config/index.js";
26
- import * as custom_field_value from "./entities/custom_field_value/index.js";
27
- import * as customer_activity from "./entities/customer_activity/index.js";
28
- import * as customer_address from "./entities/customer_address/index.js";
29
- import * as customer_comment from "./entities/customer_comment/index.js";
30
- import * as customer_company_profile from "./entities/customer_company_profile/index.js";
31
- import * as customer_deal from "./entities/customer_deal/index.js";
32
- import * as customer_deal_company_link from "./entities/customer_deal_company_link/index.js";
33
- import * as customer_deal_person_link from "./entities/customer_deal_person_link/index.js";
34
- import * as customer_dictionary_entry from "./entities/customer_dictionary_entry/index.js";
35
- import * as customer_entity from "./entities/customer_entity/index.js";
36
- import * as customer_interaction from "./entities/customer_interaction/index.js";
37
- import * as customer_person_profile from "./entities/customer_person_profile/index.js";
38
- import * as customer_pipeline from "./entities/customer_pipeline/index.js";
39
- import * as customer_pipeline_stage from "./entities/customer_pipeline_stage/index.js";
40
- import * as customer_role from "./entities/customer_role/index.js";
41
- import * as customer_role_acl from "./entities/customer_role_acl/index.js";
42
- import * as customer_settings from "./entities/customer_settings/index.js";
43
- import * as customer_tag from "./entities/customer_tag/index.js";
44
- import * as customer_tag_assignment from "./entities/customer_tag_assignment/index.js";
45
- import * as customer_todo_link from "./entities/customer_todo_link/index.js";
46
- import * as customer_user from "./entities/customer_user/index.js";
47
- import * as customer_user_acl from "./entities/customer_user_acl/index.js";
48
- import * as customer_user_email_verification from "./entities/customer_user_email_verification/index.js";
49
- import * as customer_user_invitation from "./entities/customer_user_invitation/index.js";
50
- import * as customer_user_password_reset from "./entities/customer_user_password_reset/index.js";
51
- import * as customer_user_role from "./entities/customer_user_role/index.js";
52
- import * as customer_user_session from "./entities/customer_user_session/index.js";
53
- import * as dashboard_layout from "./entities/dashboard_layout/index.js";
54
- import * as dashboard_role_widgets from "./entities/dashboard_role_widgets/index.js";
55
- import * as dashboard_user_widgets from "./entities/dashboard_user_widgets/index.js";
56
- import * as dictionary from "./entities/dictionary/index.js";
57
- import * as dictionary_entry from "./entities/dictionary_entry/index.js";
58
- import * as encryption_map from "./entities/encryption_map/index.js";
59
- import * as entity_index_coverage from "./entities/entity_index_coverage/index.js";
60
- import * as entity_index_job from "./entities/entity_index_job/index.js";
61
- import * as entity_index_row from "./entities/entity_index_row/index.js";
62
- import * as entity_translation from "./entities/entity_translation/index.js";
63
- import * as exchange_rate from "./entities/exchange_rate/index.js";
64
- import * as feature_toggle from "./entities/feature_toggle/index.js";
65
- import * as feature_toggle_override from "./entities/feature_toggle_override/index.js";
66
- import * as gateway_transaction from "./entities/gateway_transaction/index.js";
67
- import * as inbox_discrepancy from "./entities/inbox_discrepancy/index.js";
68
- import * as inbox_email from "./entities/inbox_email/index.js";
69
- import * as inbox_proposal from "./entities/inbox_proposal/index.js";
70
- import * as inbox_proposal_action from "./entities/inbox_proposal_action/index.js";
71
- import * as inbox_settings from "./entities/inbox_settings/index.js";
72
- import * as indexer_error_log from "./entities/indexer_error_log/index.js";
73
- import * as indexer_status_log from "./entities/indexer_status_log/index.js";
74
- import * as integration_credentials from "./entities/integration_credentials/index.js";
75
- import * as integration_log from "./entities/integration_log/index.js";
76
- import * as integration_state from "./entities/integration_state/index.js";
77
- import * as message from "./entities/message/index.js";
78
- import * as message_access_token from "./entities/message_access_token/index.js";
79
- import * as message_confirmation from "./entities/message_confirmation/index.js";
80
- import * as message_object from "./entities/message_object/index.js";
81
- import * as message_recipient from "./entities/message_recipient/index.js";
82
- import * as module_config from "./entities/module_config/index.js";
83
- import * as notification from "./entities/notification/index.js";
84
- import * as organization from "./entities/organization/index.js";
85
- import * as password_reset from "./entities/password_reset/index.js";
86
- import * as perspective from "./entities/perspective/index.js";
87
- import * as planner_availability_rule from "./entities/planner_availability_rule/index.js";
88
- import * as planner_availability_rule_set from "./entities/planner_availability_rule_set/index.js";
89
- import * as progress_job from "./entities/progress_job/index.js";
90
- import * as resources_resource from "./entities/resources_resource/index.js";
91
- import * as resources_resource_activity from "./entities/resources_resource_activity/index.js";
92
- import * as resources_resource_comment from "./entities/resources_resource_comment/index.js";
93
- import * as resources_resource_tag from "./entities/resources_resource_tag/index.js";
94
- import * as resources_resource_tag_assignment from "./entities/resources_resource_tag_assignment/index.js";
95
- import * as resources_resource_type from "./entities/resources_resource_type/index.js";
96
- import * as role from "./entities/role/index.js";
97
- import * as role_acl from "./entities/role_acl/index.js";
98
- import * as role_perspective from "./entities/role_perspective/index.js";
99
- import * as role_sidebar_preference from "./entities/role_sidebar_preference/index.js";
100
- import * as rule_execution_log from "./entities/rule_execution_log/index.js";
101
- import * as rule_set from "./entities/rule_set/index.js";
102
- import * as rule_set_member from "./entities/rule_set_member/index.js";
103
- import * as sales_channel from "./entities/sales_channel/index.js";
104
- import * as sales_credit_memo from "./entities/sales_credit_memo/index.js";
105
- import * as sales_credit_memo_line from "./entities/sales_credit_memo_line/index.js";
106
- import * as sales_delivery_window from "./entities/sales_delivery_window/index.js";
107
- import * as sales_document_address from "./entities/sales_document_address/index.js";
108
- import * as sales_document_sequence from "./entities/sales_document_sequence/index.js";
109
- import * as sales_document_tag from "./entities/sales_document_tag/index.js";
110
- import * as sales_document_tag_assignment from "./entities/sales_document_tag_assignment/index.js";
111
- import * as sales_invoice from "./entities/sales_invoice/index.js";
112
- import * as sales_invoice_line from "./entities/sales_invoice_line/index.js";
113
- import * as sales_note from "./entities/sales_note/index.js";
114
- import * as sales_order from "./entities/sales_order/index.js";
115
- import * as sales_order_adjustment from "./entities/sales_order_adjustment/index.js";
116
- import * as sales_order_line from "./entities/sales_order_line/index.js";
117
- import * as sales_payment from "./entities/sales_payment/index.js";
118
- import * as sales_payment_allocation from "./entities/sales_payment_allocation/index.js";
119
- import * as sales_payment_method from "./entities/sales_payment_method/index.js";
120
- import * as sales_quote from "./entities/sales_quote/index.js";
121
- import * as sales_quote_adjustment from "./entities/sales_quote_adjustment/index.js";
122
- import * as sales_quote_line from "./entities/sales_quote_line/index.js";
123
- import * as sales_return from "./entities/sales_return/index.js";
124
- import * as sales_return_line from "./entities/sales_return_line/index.js";
125
- import * as sales_settings from "./entities/sales_settings/index.js";
126
- import * as sales_shipment from "./entities/sales_shipment/index.js";
127
- import * as sales_shipment_item from "./entities/sales_shipment_item/index.js";
128
- import * as sales_shipping_method from "./entities/sales_shipping_method/index.js";
129
- import * as sales_tax_rate from "./entities/sales_tax_rate/index.js";
130
- import * as search_token from "./entities/search_token/index.js";
131
- import * as session from "./entities/session/index.js";
132
- import * as staff_leave_request from "./entities/staff_leave_request/index.js";
133
- import * as staff_team from "./entities/staff_team/index.js";
134
- import * as staff_team_member from "./entities/staff_team_member/index.js";
135
- import * as staff_team_member_activity from "./entities/staff_team_member_activity/index.js";
136
- import * as staff_team_member_address from "./entities/staff_team_member_address/index.js";
137
- import * as staff_team_member_comment from "./entities/staff_team_member_comment/index.js";
138
- import * as staff_team_member_job_history from "./entities/staff_team_member_job_history/index.js";
139
- import * as staff_team_role from "./entities/staff_team_role/index.js";
140
- import * as step_instance from "./entities/step_instance/index.js";
141
- import * as sync_cursor from "./entities/sync_cursor/index.js";
142
- import * as sync_external_id_mapping from "./entities/sync_external_id_mapping/index.js";
143
- import * as sync_mapping from "./entities/sync_mapping/index.js";
144
- import * as sync_run from "./entities/sync_run/index.js";
145
- import * as sync_schedule from "./entities/sync_schedule/index.js";
146
- import * as tenant from "./entities/tenant/index.js";
147
- import * as upgrade_action_run from "./entities/upgrade_action_run/index.js";
148
- import * as user from "./entities/user/index.js";
149
- import * as user_acl from "./entities/user_acl/index.js";
150
- import * as user_consent from "./entities/user_consent/index.js";
151
- import * as user_role from "./entities/user_role/index.js";
152
- import * as user_sidebar_preference from "./entities/user_sidebar_preference/index.js";
153
- import * as user_task from "./entities/user_task/index.js";
154
- import * as webhook_processed_event from "./entities/webhook_processed_event/index.js";
155
- import * as workflow_definition from "./entities/workflow_definition/index.js";
156
- import * as workflow_event from "./entities/workflow_event/index.js";
157
- import * as workflow_event_trigger from "./entities/workflow_event_trigger/index.js";
158
- import * as workflow_instance from "./entities/workflow_instance/index.js";
159
1
  const entityFieldsRegistry = {
160
- access_log,
161
- action_log,
162
- api_key,
163
- attachment,
164
- attachment_partition,
165
- business_rule,
166
- carrier_shipment,
167
- catalog_offer,
168
- catalog_option_schema_template,
169
- catalog_price_kind,
170
- catalog_product,
171
- catalog_product_category,
172
- catalog_product_category_assignment,
173
- catalog_product_price,
174
- catalog_product_tag,
175
- catalog_product_tag_assignment,
176
- catalog_product_unit_conversion,
177
- catalog_product_variant,
178
- catalog_product_variant_relation,
179
- currency,
180
- currency_fetch_config,
181
- custom_entity,
182
- custom_entity_storage,
183
- custom_field_def,
184
- custom_field_entity_config,
185
- custom_field_value,
186
- customer_activity,
187
- customer_address,
188
- customer_comment,
189
- customer_company_profile,
190
- customer_deal,
191
- customer_deal_company_link,
192
- customer_deal_person_link,
193
- customer_dictionary_entry,
194
- customer_entity,
195
- customer_interaction,
196
- customer_person_profile,
197
- customer_pipeline,
198
- customer_pipeline_stage,
199
- customer_role,
200
- customer_role_acl,
201
- customer_settings,
202
- customer_tag,
203
- customer_tag_assignment,
204
- customer_todo_link,
205
- customer_user,
206
- customer_user_acl,
207
- customer_user_email_verification,
208
- customer_user_invitation,
209
- customer_user_password_reset,
210
- customer_user_role,
211
- customer_user_session,
212
- dashboard_layout,
213
- dashboard_role_widgets,
214
- dashboard_user_widgets,
215
- dictionary,
216
- dictionary_entry,
217
- encryption_map,
218
- entity_index_coverage,
219
- entity_index_job,
220
- entity_index_row,
221
- entity_translation,
222
- exchange_rate,
223
- feature_toggle,
224
- feature_toggle_override,
225
- gateway_transaction,
226
- inbox_discrepancy,
227
- inbox_email,
228
- inbox_proposal,
229
- inbox_proposal_action,
230
- inbox_settings,
231
- indexer_error_log,
232
- indexer_status_log,
233
- integration_credentials,
234
- integration_log,
235
- integration_state,
236
- message,
237
- message_access_token,
238
- message_confirmation,
239
- message_object,
240
- message_recipient,
241
- module_config,
242
- notification,
243
- organization,
244
- password_reset,
245
- perspective,
246
- planner_availability_rule,
247
- planner_availability_rule_set,
248
- progress_job,
249
- resources_resource,
250
- resources_resource_activity,
251
- resources_resource_comment,
252
- resources_resource_tag,
253
- resources_resource_tag_assignment,
254
- resources_resource_type,
255
- role,
256
- role_acl,
257
- role_perspective,
258
- role_sidebar_preference,
259
- rule_execution_log,
260
- rule_set,
261
- rule_set_member,
262
- sales_channel,
263
- sales_credit_memo,
264
- sales_credit_memo_line,
265
- sales_delivery_window,
266
- sales_document_address,
267
- sales_document_sequence,
268
- sales_document_tag,
269
- sales_document_tag_assignment,
270
- sales_invoice,
271
- sales_invoice_line,
272
- sales_note,
273
- sales_order,
274
- sales_order_adjustment,
275
- sales_order_line,
276
- sales_payment,
277
- sales_payment_allocation,
278
- sales_payment_method,
279
- sales_quote,
280
- sales_quote_adjustment,
281
- sales_quote_line,
282
- sales_return,
283
- sales_return_line,
284
- sales_settings,
285
- sales_shipment,
286
- sales_shipment_item,
287
- sales_shipping_method,
288
- sales_tax_rate,
289
- search_token,
290
- session,
291
- staff_leave_request,
292
- staff_team,
293
- staff_team_member,
294
- staff_team_member_activity,
295
- staff_team_member_address,
296
- staff_team_member_comment,
297
- staff_team_member_job_history,
298
- staff_team_role,
299
- step_instance,
300
- sync_cursor,
301
- sync_external_id_mapping,
302
- sync_mapping,
303
- sync_run,
304
- sync_schedule,
305
- tenant,
306
- upgrade_action_run,
307
- user,
308
- user_acl,
309
- user_consent,
310
- user_role,
311
- user_sidebar_preference,
312
- user_task,
313
- webhook_processed_event,
314
- workflow_definition,
315
- workflow_event,
316
- workflow_event_trigger,
317
- workflow_instance
2
+ "access_log": {
3
+ "id": "id",
4
+ "tenant_id": "tenant_id",
5
+ "organization_id": "organization_id",
6
+ "actor_user_id": "actor_user_id",
7
+ "resource_kind": "resource_kind",
8
+ "resource_id": "resource_id",
9
+ "access_type": "access_type",
10
+ "fields_json": "fields_json",
11
+ "context_json": "context_json",
12
+ "created_at": "created_at",
13
+ "deleted_at": "deleted_at"
14
+ },
15
+ "action_log": {
16
+ "id": "id",
17
+ "tenant_id": "tenant_id",
18
+ "organization_id": "organization_id",
19
+ "actor_user_id": "actor_user_id",
20
+ "command_id": "command_id",
21
+ "action_label": "action_label",
22
+ "resource_kind": "resource_kind",
23
+ "resource_id": "resource_id",
24
+ "parent_resource_kind": "parent_resource_kind",
25
+ "parent_resource_id": "parent_resource_id",
26
+ "execution_state": "execution_state",
27
+ "undo_token": "undo_token",
28
+ "command_payload": "command_payload",
29
+ "snapshot_before": "snapshot_before",
30
+ "snapshot_after": "snapshot_after",
31
+ "changes_json": "changes_json",
32
+ "context_json": "context_json",
33
+ "created_at": "created_at",
34
+ "updated_at": "updated_at",
35
+ "deleted_at": "deleted_at"
36
+ },
37
+ "api_key": {
38
+ "id": "id",
39
+ "name": "name",
40
+ "description": "description",
41
+ "tenant_id": "tenant_id",
42
+ "organization_id": "organization_id",
43
+ "key_hash": "key_hash",
44
+ "key_prefix": "key_prefix",
45
+ "roles_json": "roles_json",
46
+ "created_by": "created_by",
47
+ "session_token": "session_token",
48
+ "session_user_id": "session_user_id",
49
+ "session_secret_encrypted": "session_secret_encrypted",
50
+ "last_used_at": "last_used_at",
51
+ "expires_at": "expires_at",
52
+ "created_at": "created_at",
53
+ "updated_at": "updated_at",
54
+ "deleted_at": "deleted_at"
55
+ },
56
+ "attachment": {
57
+ "id": "id",
58
+ "entity_id": "entity_id",
59
+ "record_id": "record_id",
60
+ "organization_id": "organization_id",
61
+ "tenant_id": "tenant_id",
62
+ "partition_code": "partition_code",
63
+ "file_name": "file_name",
64
+ "mime_type": "mime_type",
65
+ "file_size": "file_size",
66
+ "storage_driver": "storage_driver",
67
+ "storage_path": "storage_path",
68
+ "storage_metadata": "storage_metadata",
69
+ "url": "url",
70
+ "content": "content",
71
+ "created_at": "created_at"
72
+ },
73
+ "attachment_partition": {
74
+ "id": "id",
75
+ "code": "code",
76
+ "title": "title",
77
+ "description": "description",
78
+ "storage_driver": "storage_driver",
79
+ "config_json": "config_json",
80
+ "is_public": "is_public",
81
+ "requires_ocr": "requires_ocr",
82
+ "ocr_model": "ocr_model",
83
+ "created_at": "created_at",
84
+ "updated_at": "updated_at"
85
+ },
86
+ "business_rule": {
87
+ "id": "id",
88
+ "rule_id": "rule_id",
89
+ "rule_name": "rule_name",
90
+ "description": "description",
91
+ "rule_type": "rule_type",
92
+ "rule_category": "rule_category",
93
+ "entity_type": "entity_type",
94
+ "event_type": "event_type",
95
+ "condition_expression": "condition_expression",
96
+ "success_actions": "success_actions",
97
+ "failure_actions": "failure_actions",
98
+ "enabled": "enabled",
99
+ "priority": "priority",
100
+ "version": "version",
101
+ "effective_from": "effective_from",
102
+ "effective_to": "effective_to",
103
+ "tenant_id": "tenant_id",
104
+ "organization_id": "organization_id",
105
+ "created_by": "created_by",
106
+ "updated_by": "updated_by",
107
+ "created_at": "created_at",
108
+ "updated_at": "updated_at",
109
+ "deleted_at": "deleted_at"
110
+ },
111
+ "carrier_shipment": {
112
+ "id": "id",
113
+ "order_id": "order_id",
114
+ "provider_key": "provider_key",
115
+ "carrier_shipment_id": "carrier_shipment_id",
116
+ "tracking_number": "tracking_number",
117
+ "unified_status": "unified_status",
118
+ "carrier_status": "carrier_status",
119
+ "label_url": "label_url",
120
+ "label_data": "label_data",
121
+ "tracking_events": "tracking_events",
122
+ "organization_id": "organization_id",
123
+ "tenant_id": "tenant_id",
124
+ "last_webhook_at": "last_webhook_at",
125
+ "last_polled_at": "last_polled_at",
126
+ "created_at": "created_at",
127
+ "updated_at": "updated_at",
128
+ "deleted_at": "deleted_at"
129
+ },
130
+ "catalog_offer": {
131
+ "id": "id",
132
+ "product": "product",
133
+ "organization_id": "organization_id",
134
+ "tenant_id": "tenant_id",
135
+ "channel_id": "channel_id",
136
+ "title": "title",
137
+ "description": "description",
138
+ "default_media_id": "default_media_id",
139
+ "default_media_url": "default_media_url",
140
+ "metadata": "metadata",
141
+ "is_active": "is_active",
142
+ "created_at": "created_at",
143
+ "updated_at": "updated_at",
144
+ "deleted_at": "deleted_at",
145
+ "prices": "prices"
146
+ },
147
+ "catalog_option_schema_template": {
148
+ "id": "id",
149
+ "organization_id": "organization_id",
150
+ "tenant_id": "tenant_id",
151
+ "name": "name",
152
+ "code": "code",
153
+ "description": "description",
154
+ "schema": "schema",
155
+ "metadata": "metadata",
156
+ "is_active": "is_active",
157
+ "created_at": "created_at",
158
+ "updated_at": "updated_at",
159
+ "deleted_at": "deleted_at"
160
+ },
161
+ "catalog_price_kind": {
162
+ "id": "id",
163
+ "organization_id": "organization_id",
164
+ "tenant_id": "tenant_id",
165
+ "code": "code",
166
+ "title": "title",
167
+ "display_mode": "display_mode",
168
+ "currency_code": "currency_code",
169
+ "is_promotion": "is_promotion",
170
+ "is_active": "is_active",
171
+ "created_at": "created_at",
172
+ "updated_at": "updated_at",
173
+ "deleted_at": "deleted_at",
174
+ "prices": "prices"
175
+ },
176
+ "catalog_product": {
177
+ "id": "id",
178
+ "organization_id": "organization_id",
179
+ "tenant_id": "tenant_id",
180
+ "title": "title",
181
+ "subtitle": "subtitle",
182
+ "description": "description",
183
+ "sku": "sku",
184
+ "handle": "handle",
185
+ "tax_rate_id": "tax_rate_id",
186
+ "tax_rate": "tax_rate",
187
+ "product_type": "product_type",
188
+ "status_entry_id": "status_entry_id",
189
+ "primary_currency_code": "primary_currency_code",
190
+ "default_unit": "default_unit",
191
+ "default_sales_unit": "default_sales_unit",
192
+ "default_sales_unit_quantity": "default_sales_unit_quantity",
193
+ "uom_rounding_scale": "uom_rounding_scale",
194
+ "uom_rounding_mode": "uom_rounding_mode",
195
+ "unit_price_enabled": "unit_price_enabled",
196
+ "unit_price_reference_unit": "unit_price_reference_unit",
197
+ "unit_price_base_quantity": "unit_price_base_quantity",
198
+ "default_media_id": "default_media_id",
199
+ "default_media_url": "default_media_url",
200
+ "weight_value": "weight_value",
201
+ "weight_unit": "weight_unit",
202
+ "dimensions": "dimensions",
203
+ "metadata": "metadata",
204
+ "custom_fieldset_code": "custom_fieldset_code",
205
+ "option_schema_template": "option_schema_template",
206
+ "is_configurable": "is_configurable",
207
+ "is_active": "is_active",
208
+ "created_at": "created_at",
209
+ "updated_at": "updated_at",
210
+ "deleted_at": "deleted_at",
211
+ "variants": "variants",
212
+ "offers": "offers",
213
+ "category_assignments": "category_assignments",
214
+ "tag_assignments": "tag_assignments",
215
+ "unit_conversions": "unit_conversions"
216
+ },
217
+ "catalog_product_category": {
218
+ "id": "id",
219
+ "organization_id": "organization_id",
220
+ "tenant_id": "tenant_id",
221
+ "name": "name",
222
+ "slug": "slug",
223
+ "description": "description",
224
+ "parent_id": "parent_id",
225
+ "root_id": "root_id",
226
+ "tree_path": "tree_path",
227
+ "depth": "depth",
228
+ "ancestor_ids": "ancestor_ids",
229
+ "child_ids": "child_ids",
230
+ "descendant_ids": "descendant_ids",
231
+ "metadata": "metadata",
232
+ "is_active": "is_active",
233
+ "created_at": "created_at",
234
+ "updated_at": "updated_at",
235
+ "deleted_at": "deleted_at",
236
+ "assignments": "assignments"
237
+ },
238
+ "catalog_product_category_assignment": {
239
+ "id": "id",
240
+ "product": "product",
241
+ "category": "category",
242
+ "organization_id": "organization_id",
243
+ "tenant_id": "tenant_id",
244
+ "position": "position",
245
+ "created_at": "created_at",
246
+ "updated_at": "updated_at"
247
+ },
248
+ "catalog_product_price": {
249
+ "id": "id",
250
+ "variant": "variant",
251
+ "product": "product",
252
+ "offer": "offer",
253
+ "price_kind": "price_kind",
254
+ "organization_id": "organization_id",
255
+ "tenant_id": "tenant_id",
256
+ "currency_code": "currency_code",
257
+ "kind": "kind",
258
+ "min_quantity": "min_quantity",
259
+ "max_quantity": "max_quantity",
260
+ "unit_price_net": "unit_price_net",
261
+ "unit_price_gross": "unit_price_gross",
262
+ "tax_rate": "tax_rate",
263
+ "tax_amount": "tax_amount",
264
+ "channel_id": "channel_id",
265
+ "user_id": "user_id",
266
+ "user_group_id": "user_group_id",
267
+ "customer_id": "customer_id",
268
+ "customer_group_id": "customer_group_id",
269
+ "metadata": "metadata",
270
+ "starts_at": "starts_at",
271
+ "ends_at": "ends_at",
272
+ "created_at": "created_at",
273
+ "updated_at": "updated_at"
274
+ },
275
+ "catalog_product_tag": {
276
+ "id": "id",
277
+ "organization_id": "organization_id",
278
+ "tenant_id": "tenant_id",
279
+ "label": "label",
280
+ "slug": "slug",
281
+ "created_at": "created_at",
282
+ "updated_at": "updated_at",
283
+ "assignments": "assignments"
284
+ },
285
+ "catalog_product_tag_assignment": {
286
+ "id": "id",
287
+ "product": "product",
288
+ "tag": "tag",
289
+ "organization_id": "organization_id",
290
+ "tenant_id": "tenant_id",
291
+ "created_at": "created_at",
292
+ "updated_at": "updated_at"
293
+ },
294
+ "catalog_product_unit_conversion": {
295
+ "id": "id",
296
+ "product": "product",
297
+ "organization_id": "organization_id",
298
+ "tenant_id": "tenant_id",
299
+ "unit_code": "unit_code",
300
+ "to_base_factor": "to_base_factor",
301
+ "sort_order": "sort_order",
302
+ "is_active": "is_active",
303
+ "metadata": "metadata",
304
+ "created_at": "created_at",
305
+ "updated_at": "updated_at",
306
+ "deleted_at": "deleted_at"
307
+ },
308
+ "catalog_product_variant": {
309
+ "id": "id",
310
+ "product": "product",
311
+ "organization_id": "organization_id",
312
+ "tenant_id": "tenant_id",
313
+ "name": "name",
314
+ "sku": "sku",
315
+ "barcode": "barcode",
316
+ "status_entry_id": "status_entry_id",
317
+ "is_default": "is_default",
318
+ "is_active": "is_active",
319
+ "weight_value": "weight_value",
320
+ "weight_unit": "weight_unit",
321
+ "dimensions": "dimensions",
322
+ "metadata": "metadata",
323
+ "tax_rate_id": "tax_rate_id",
324
+ "tax_rate": "tax_rate",
325
+ "option_values": "option_values",
326
+ "custom_fieldset_code": "custom_fieldset_code",
327
+ "created_at": "created_at",
328
+ "updated_at": "updated_at",
329
+ "deleted_at": "deleted_at",
330
+ "prices": "prices",
331
+ "component_relations": "component_relations",
332
+ "parent_relations": "parent_relations"
333
+ },
334
+ "catalog_product_variant_relation": {
335
+ "id": "id",
336
+ "parent_variant": "parent_variant",
337
+ "child_variant": "child_variant",
338
+ "child_product": "child_product",
339
+ "organization_id": "organization_id",
340
+ "tenant_id": "tenant_id",
341
+ "relation_type": "relation_type",
342
+ "is_required": "is_required",
343
+ "min_quantity": "min_quantity",
344
+ "max_quantity": "max_quantity",
345
+ "position": "position",
346
+ "metadata": "metadata",
347
+ "created_at": "created_at",
348
+ "updated_at": "updated_at"
349
+ },
350
+ "currency": {
351
+ "id": "id",
352
+ "organization_id": "organization_id",
353
+ "tenant_id": "tenant_id",
354
+ "code": "code",
355
+ "name": "name",
356
+ "symbol": "symbol",
357
+ "decimal_places": "decimal_places",
358
+ "thousands_separator": "thousands_separator",
359
+ "decimal_separator": "decimal_separator",
360
+ "is_base": "is_base",
361
+ "is_active": "is_active",
362
+ "created_at": "created_at",
363
+ "updated_at": "updated_at",
364
+ "deleted_at": "deleted_at"
365
+ },
366
+ "currency_fetch_config": {
367
+ "id": "id",
368
+ "organization_id": "organization_id",
369
+ "tenant_id": "tenant_id",
370
+ "provider": "provider",
371
+ "is_enabled": "is_enabled",
372
+ "sync_time": "sync_time",
373
+ "last_sync_at": "last_sync_at",
374
+ "last_sync_status": "last_sync_status",
375
+ "last_sync_message": "last_sync_message",
376
+ "last_sync_count": "last_sync_count",
377
+ "config": "config",
378
+ "created_at": "created_at",
379
+ "updated_at": "updated_at"
380
+ },
381
+ "custom_entity": {
382
+ "id": "id",
383
+ "entity_id": "entity_id",
384
+ "label": "label",
385
+ "description": "description",
386
+ "label_field": "label_field",
387
+ "default_editor": "default_editor",
388
+ "show_in_sidebar": "show_in_sidebar",
389
+ "organization_id": "organization_id",
390
+ "tenant_id": "tenant_id",
391
+ "is_active": "is_active",
392
+ "created_at": "created_at",
393
+ "updated_at": "updated_at",
394
+ "deleted_at": "deleted_at"
395
+ },
396
+ "custom_entity_storage": {
397
+ "id": "id",
398
+ "entity_type": "entity_type",
399
+ "entity_id": "entity_id",
400
+ "organization_id": "organization_id",
401
+ "tenant_id": "tenant_id",
402
+ "doc": "doc",
403
+ "created_at": "created_at",
404
+ "updated_at": "updated_at",
405
+ "deleted_at": "deleted_at"
406
+ },
407
+ "custom_field_def": {
408
+ "id": "id",
409
+ "entity_id": "entity_id",
410
+ "organization_id": "organization_id",
411
+ "tenant_id": "tenant_id",
412
+ "key": "key",
413
+ "kind": "kind",
414
+ "config_json": "config_json",
415
+ "is_active": "is_active",
416
+ "created_at": "created_at",
417
+ "updated_at": "updated_at",
418
+ "deleted_at": "deleted_at"
419
+ },
420
+ "custom_field_entity_config": {
421
+ "id": "id",
422
+ "entity_id": "entity_id",
423
+ "organization_id": "organization_id",
424
+ "tenant_id": "tenant_id",
425
+ "config_json": "config_json",
426
+ "is_active": "is_active",
427
+ "created_at": "created_at",
428
+ "updated_at": "updated_at",
429
+ "deleted_at": "deleted_at"
430
+ },
431
+ "custom_field_value": {
432
+ "id": "id",
433
+ "entity_id": "entity_id",
434
+ "record_id": "record_id",
435
+ "organization_id": "organization_id",
436
+ "tenant_id": "tenant_id",
437
+ "field_key": "field_key",
438
+ "value_text": "value_text",
439
+ "value_multiline": "value_multiline",
440
+ "value_int": "value_int",
441
+ "value_float": "value_float",
442
+ "value_bool": "value_bool",
443
+ "created_at": "created_at",
444
+ "deleted_at": "deleted_at"
445
+ },
446
+ "customer_activity": {
447
+ "id": "id",
448
+ "organization_id": "organization_id",
449
+ "tenant_id": "tenant_id",
450
+ "activity_type": "activity_type",
451
+ "subject": "subject",
452
+ "body": "body",
453
+ "occurred_at": "occurred_at",
454
+ "author_user_id": "author_user_id",
455
+ "appearance_icon": "appearance_icon",
456
+ "appearance_color": "appearance_color",
457
+ "created_at": "created_at",
458
+ "updated_at": "updated_at",
459
+ "entity": "entity",
460
+ "deal": "deal"
461
+ },
462
+ "customer_address": {
463
+ "id": "id",
464
+ "organization_id": "organization_id",
465
+ "tenant_id": "tenant_id",
466
+ "name": "name",
467
+ "purpose": "purpose",
468
+ "company_name": "company_name",
469
+ "address_line1": "address_line1",
470
+ "address_line2": "address_line2",
471
+ "city": "city",
472
+ "region": "region",
473
+ "postal_code": "postal_code",
474
+ "country": "country",
475
+ "building_number": "building_number",
476
+ "flat_number": "flat_number",
477
+ "latitude": "latitude",
478
+ "longitude": "longitude",
479
+ "is_primary": "is_primary",
480
+ "created_at": "created_at",
481
+ "updated_at": "updated_at",
482
+ "entity": "entity"
483
+ },
484
+ "customer_comment": {
485
+ "id": "id",
486
+ "organization_id": "organization_id",
487
+ "tenant_id": "tenant_id",
488
+ "body": "body",
489
+ "author_user_id": "author_user_id",
490
+ "appearance_icon": "appearance_icon",
491
+ "appearance_color": "appearance_color",
492
+ "created_at": "created_at",
493
+ "updated_at": "updated_at",
494
+ "deleted_at": "deleted_at",
495
+ "entity": "entity",
496
+ "deal": "deal"
497
+ },
498
+ "customer_company_profile": {
499
+ "id": "id",
500
+ "organization_id": "organization_id",
501
+ "tenant_id": "tenant_id",
502
+ "legal_name": "legal_name",
503
+ "brand_name": "brand_name",
504
+ "domain": "domain",
505
+ "website_url": "website_url",
506
+ "industry": "industry",
507
+ "size_bucket": "size_bucket",
508
+ "annual_revenue": "annual_revenue",
509
+ "created_at": "created_at",
510
+ "updated_at": "updated_at",
511
+ "entity": "entity"
512
+ },
513
+ "customer_deal": {
514
+ "id": "id",
515
+ "organization_id": "organization_id",
516
+ "tenant_id": "tenant_id",
517
+ "title": "title",
518
+ "description": "description",
519
+ "status": "status",
520
+ "pipeline_stage": "pipeline_stage",
521
+ "pipeline_id": "pipeline_id",
522
+ "pipeline_stage_id": "pipeline_stage_id",
523
+ "value_amount": "value_amount",
524
+ "value_currency": "value_currency",
525
+ "probability": "probability",
526
+ "expected_close_at": "expected_close_at",
527
+ "owner_user_id": "owner_user_id",
528
+ "source": "source",
529
+ "created_at": "created_at",
530
+ "updated_at": "updated_at",
531
+ "deleted_at": "deleted_at",
532
+ "people": "people",
533
+ "companies": "companies",
534
+ "activities": "activities",
535
+ "comments": "comments"
536
+ },
537
+ "customer_deal_company_link": {
538
+ "id": "id",
539
+ "created_at": "created_at",
540
+ "deal": "deal",
541
+ "company": "company"
542
+ },
543
+ "customer_deal_person_link": {
544
+ "id": "id",
545
+ "role": "role",
546
+ "created_at": "created_at",
547
+ "deal": "deal",
548
+ "person": "person"
549
+ },
550
+ "customer_dictionary_entry": {
551
+ "id": "id",
552
+ "organization_id": "organization_id",
553
+ "tenant_id": "tenant_id",
554
+ "kind": "kind",
555
+ "value": "value",
556
+ "normalized_value": "normalized_value",
557
+ "label": "label",
558
+ "color": "color",
559
+ "icon": "icon",
560
+ "created_at": "created_at",
561
+ "updated_at": "updated_at"
562
+ },
563
+ "customer_entity": {
564
+ "id": "id",
565
+ "organization_id": "organization_id",
566
+ "tenant_id": "tenant_id",
567
+ "kind": "kind",
568
+ "display_name": "display_name",
569
+ "description": "description",
570
+ "owner_user_id": "owner_user_id",
571
+ "primary_email": "primary_email",
572
+ "primary_phone": "primary_phone",
573
+ "status": "status",
574
+ "lifecycle_stage": "lifecycle_stage",
575
+ "source": "source",
576
+ "next_interaction_at": "next_interaction_at",
577
+ "next_interaction_name": "next_interaction_name",
578
+ "next_interaction_ref_id": "next_interaction_ref_id",
579
+ "next_interaction_icon": "next_interaction_icon",
580
+ "next_interaction_color": "next_interaction_color",
581
+ "is_active": "is_active",
582
+ "created_at": "created_at",
583
+ "updated_at": "updated_at",
584
+ "deleted_at": "deleted_at",
585
+ "person_profile": "person_profile",
586
+ "company_profile": "company_profile",
587
+ "addresses": "addresses",
588
+ "activities": "activities",
589
+ "comments": "comments",
590
+ "tag_assignments": "tag_assignments",
591
+ "todo_links": "todo_links",
592
+ "interactions": "interactions",
593
+ "deal_person_links": "deal_person_links",
594
+ "deal_company_links": "deal_company_links",
595
+ "company_members": "company_members"
596
+ },
597
+ "customer_interaction": {
598
+ "id": "id",
599
+ "organization_id": "organization_id",
600
+ "tenant_id": "tenant_id",
601
+ "interaction_type": "interaction_type",
602
+ "title": "title",
603
+ "body": "body",
604
+ "status": "status",
605
+ "scheduled_at": "scheduled_at",
606
+ "occurred_at": "occurred_at",
607
+ "priority": "priority",
608
+ "author_user_id": "author_user_id",
609
+ "owner_user_id": "owner_user_id",
610
+ "appearance_icon": "appearance_icon",
611
+ "appearance_color": "appearance_color",
612
+ "source": "source",
613
+ "deal_id": "deal_id",
614
+ "created_at": "created_at",
615
+ "updated_at": "updated_at",
616
+ "deleted_at": "deleted_at",
617
+ "entity": "entity"
618
+ },
619
+ "customer_person_profile": {
620
+ "id": "id",
621
+ "organization_id": "organization_id",
622
+ "tenant_id": "tenant_id",
623
+ "first_name": "first_name",
624
+ "last_name": "last_name",
625
+ "preferred_name": "preferred_name",
626
+ "job_title": "job_title",
627
+ "department": "department",
628
+ "seniority": "seniority",
629
+ "timezone": "timezone",
630
+ "linked_in_url": "linked_in_url",
631
+ "twitter_url": "twitter_url",
632
+ "created_at": "created_at",
633
+ "updated_at": "updated_at",
634
+ "entity": "entity",
635
+ "company": "company"
636
+ },
637
+ "customer_pipeline": {
638
+ "id": "id",
639
+ "organization_id": "organization_id",
640
+ "tenant_id": "tenant_id",
641
+ "name": "name",
642
+ "is_default": "is_default",
643
+ "created_at": "created_at",
644
+ "updated_at": "updated_at"
645
+ },
646
+ "customer_pipeline_stage": {
647
+ "id": "id",
648
+ "organization_id": "organization_id",
649
+ "tenant_id": "tenant_id",
650
+ "pipeline_id": "pipeline_id",
651
+ "name": "name",
652
+ "position": "position",
653
+ "created_at": "created_at",
654
+ "updated_at": "updated_at"
655
+ },
656
+ "customer_role": {
657
+ "id": "id",
658
+ "tenant_id": "tenant_id",
659
+ "organization_id": "organization_id",
660
+ "name": "name",
661
+ "slug": "slug",
662
+ "description": "description",
663
+ "is_default": "is_default",
664
+ "is_system": "is_system",
665
+ "customer_assignable": "customer_assignable",
666
+ "created_at": "created_at",
667
+ "updated_at": "updated_at",
668
+ "deleted_at": "deleted_at"
669
+ },
670
+ "customer_role_acl": {
671
+ "id": "id",
672
+ "role": "role",
673
+ "tenant_id": "tenant_id",
674
+ "features_json": "features_json",
675
+ "is_portal_admin": "is_portal_admin",
676
+ "created_at": "created_at",
677
+ "updated_at": "updated_at",
678
+ "deleted_at": "deleted_at"
679
+ },
680
+ "customer_settings": {
681
+ "id": "id",
682
+ "organization_id": "organization_id",
683
+ "tenant_id": "tenant_id",
684
+ "address_format": "address_format",
685
+ "created_at": "created_at",
686
+ "updated_at": "updated_at"
687
+ },
688
+ "customer_tag": {
689
+ "id": "id",
690
+ "organization_id": "organization_id",
691
+ "tenant_id": "tenant_id",
692
+ "slug": "slug",
693
+ "label": "label",
694
+ "color": "color",
695
+ "description": "description",
696
+ "created_at": "created_at",
697
+ "updated_at": "updated_at",
698
+ "assignments": "assignments"
699
+ },
700
+ "customer_tag_assignment": {
701
+ "id": "id",
702
+ "organization_id": "organization_id",
703
+ "tenant_id": "tenant_id",
704
+ "created_at": "created_at",
705
+ "tag": "tag",
706
+ "entity": "entity"
707
+ },
708
+ "customer_todo_link": {
709
+ "id": "id",
710
+ "organization_id": "organization_id",
711
+ "tenant_id": "tenant_id",
712
+ "todo_id": "todo_id",
713
+ "todo_source": "todo_source",
714
+ "created_at": "created_at",
715
+ "created_by_user_id": "created_by_user_id",
716
+ "entity": "entity"
717
+ },
718
+ "customer_user": {
719
+ "id": "id",
720
+ "tenant_id": "tenant_id",
721
+ "organization_id": "organization_id",
722
+ "email": "email",
723
+ "email_hash": "email_hash",
724
+ "password_hash": "password_hash",
725
+ "display_name": "display_name",
726
+ "email_verified_at": "email_verified_at",
727
+ "failed_login_attempts": "failed_login_attempts",
728
+ "locked_until": "locked_until",
729
+ "last_login_at": "last_login_at",
730
+ "person_entity_id": "person_entity_id",
731
+ "customer_entity_id": "customer_entity_id",
732
+ "is_active": "is_active",
733
+ "created_at": "created_at",
734
+ "updated_at": "updated_at",
735
+ "deleted_at": "deleted_at"
736
+ },
737
+ "customer_user_acl": {
738
+ "id": "id",
739
+ "user": "user",
740
+ "tenant_id": "tenant_id",
741
+ "features_json": "features_json",
742
+ "is_portal_admin": "is_portal_admin",
743
+ "created_at": "created_at",
744
+ "updated_at": "updated_at",
745
+ "deleted_at": "deleted_at"
746
+ },
747
+ "customer_user_email_verification": {
748
+ "id": "id",
749
+ "user": "user",
750
+ "token": "token",
751
+ "purpose": "purpose",
752
+ "expires_at": "expires_at",
753
+ "used_at": "used_at",
754
+ "created_at": "created_at"
755
+ },
756
+ "customer_user_invitation": {
757
+ "id": "id",
758
+ "tenant_id": "tenant_id",
759
+ "organization_id": "organization_id",
760
+ "email": "email",
761
+ "email_hash": "email_hash",
762
+ "token": "token",
763
+ "customer_entity_id": "customer_entity_id",
764
+ "role_ids_json": "role_ids_json",
765
+ "invited_by_user_id": "invited_by_user_id",
766
+ "invited_by_customer_user_id": "invited_by_customer_user_id",
767
+ "display_name": "display_name",
768
+ "expires_at": "expires_at",
769
+ "accepted_at": "accepted_at",
770
+ "cancelled_at": "cancelled_at",
771
+ "created_at": "created_at"
772
+ },
773
+ "customer_user_password_reset": {
774
+ "id": "id",
775
+ "user": "user",
776
+ "token": "token",
777
+ "expires_at": "expires_at",
778
+ "used_at": "used_at",
779
+ "created_at": "created_at"
780
+ },
781
+ "customer_user_role": {
782
+ "id": "id",
783
+ "user": "user",
784
+ "role": "role",
785
+ "created_at": "created_at",
786
+ "deleted_at": "deleted_at"
787
+ },
788
+ "customer_user_session": {
789
+ "id": "id",
790
+ "user": "user",
791
+ "token_hash": "token_hash",
792
+ "ip_address": "ip_address",
793
+ "user_agent": "user_agent",
794
+ "expires_at": "expires_at",
795
+ "last_used_at": "last_used_at",
796
+ "created_at": "created_at",
797
+ "deleted_at": "deleted_at"
798
+ },
799
+ "dashboard_layout": {
800
+ "id": "id",
801
+ "user_id": "user_id",
802
+ "tenant_id": "tenant_id",
803
+ "organization_id": "organization_id",
804
+ "layout_json": "layout_json",
805
+ "created_at": "created_at",
806
+ "updated_at": "updated_at",
807
+ "deleted_at": "deleted_at"
808
+ },
809
+ "dashboard_role_widgets": {
810
+ "id": "id",
811
+ "role_id": "role_id",
812
+ "tenant_id": "tenant_id",
813
+ "organization_id": "organization_id",
814
+ "widget_ids_json": "widget_ids_json",
815
+ "created_at": "created_at",
816
+ "updated_at": "updated_at",
817
+ "deleted_at": "deleted_at"
818
+ },
819
+ "dashboard_user_widgets": {
820
+ "id": "id",
821
+ "user_id": "user_id",
822
+ "tenant_id": "tenant_id",
823
+ "organization_id": "organization_id",
824
+ "mode": "mode",
825
+ "widget_ids_json": "widget_ids_json",
826
+ "created_at": "created_at",
827
+ "updated_at": "updated_at",
828
+ "deleted_at": "deleted_at"
829
+ },
830
+ "dictionary": {
831
+ "id": "id",
832
+ "organization_id": "organization_id",
833
+ "tenant_id": "tenant_id",
834
+ "key": "key",
835
+ "name": "name",
836
+ "description": "description",
837
+ "is_system": "is_system",
838
+ "is_active": "is_active",
839
+ "manager_visibility": "manager_visibility",
840
+ "created_at": "created_at",
841
+ "updated_at": "updated_at",
842
+ "deleted_at": "deleted_at"
843
+ },
844
+ "dictionary_entry": {
845
+ "id": "id",
846
+ "dictionary": "dictionary",
847
+ "organization_id": "organization_id",
848
+ "tenant_id": "tenant_id",
849
+ "value": "value",
850
+ "normalized_value": "normalized_value",
851
+ "label": "label",
852
+ "color": "color",
853
+ "icon": "icon",
854
+ "created_at": "created_at",
855
+ "updated_at": "updated_at"
856
+ },
857
+ "encryption_map": {
858
+ "id": "id",
859
+ "entity_id": "entity_id",
860
+ "tenant_id": "tenant_id",
861
+ "organization_id": "organization_id",
862
+ "fields_json": "fields_json",
863
+ "is_active": "is_active",
864
+ "created_at": "created_at",
865
+ "updated_at": "updated_at",
866
+ "deleted_at": "deleted_at"
867
+ },
868
+ "entity_index_coverage": {
869
+ "id": "id",
870
+ "entity_type": "entity_type",
871
+ "tenant_id": "tenant_id",
872
+ "organization_id": "organization_id",
873
+ "with_deleted": "with_deleted",
874
+ "base_count": "base_count",
875
+ "indexed_count": "indexed_count",
876
+ "vector_indexed_count": "vector_indexed_count",
877
+ "refreshed_at": "refreshed_at"
878
+ },
879
+ "entity_index_job": {
880
+ "id": "id",
881
+ "entity_type": "entity_type",
882
+ "organization_id": "organization_id",
883
+ "tenant_id": "tenant_id",
884
+ "partition_index": "partition_index",
885
+ "partition_count": "partition_count",
886
+ "processed_count": "processed_count",
887
+ "total_count": "total_count",
888
+ "heartbeat_at": "heartbeat_at",
889
+ "status": "status",
890
+ "started_at": "started_at",
891
+ "finished_at": "finished_at"
892
+ },
893
+ "entity_index_row": {
894
+ "id": "id",
895
+ "entity_type": "entity_type",
896
+ "entity_id": "entity_id",
897
+ "organization_id": "organization_id",
898
+ "tenant_id": "tenant_id",
899
+ "doc": "doc",
900
+ "embedding": "embedding",
901
+ "index_version": "index_version",
902
+ "created_at": "created_at",
903
+ "updated_at": "updated_at",
904
+ "deleted_at": "deleted_at"
905
+ },
906
+ "entity_translation": {
907
+ "id": "id",
908
+ "entity_type": "entity_type",
909
+ "entity_id": "entity_id",
910
+ "organization_id": "organization_id",
911
+ "tenant_id": "tenant_id",
912
+ "translations": "translations",
913
+ "created_at": "created_at",
914
+ "updated_at": "updated_at"
915
+ },
916
+ "exchange_rate": {
917
+ "id": "id",
918
+ "organization_id": "organization_id",
919
+ "tenant_id": "tenant_id",
920
+ "from_currency_code": "from_currency_code",
921
+ "to_currency_code": "to_currency_code",
922
+ "rate": "rate",
923
+ "date": "date",
924
+ "source": "source",
925
+ "type": "type",
926
+ "is_active": "is_active",
927
+ "created_at": "created_at",
928
+ "updated_at": "updated_at",
929
+ "deleted_at": "deleted_at"
930
+ },
931
+ "feature_toggle": {
932
+ "id": "id",
933
+ "identifier": "identifier",
934
+ "name": "name",
935
+ "description": "description",
936
+ "category": "category",
937
+ "default_value": "default_value",
938
+ "type": "type",
939
+ "created_at": "created_at",
940
+ "updated_at": "updated_at",
941
+ "deleted_at": "deleted_at"
942
+ },
943
+ "feature_toggle_override": {
944
+ "id": "id",
945
+ "toggle": "toggle",
946
+ "tenant_id": "tenant_id",
947
+ "created_at": "created_at",
948
+ "updated_at": "updated_at",
949
+ "value": "value"
950
+ },
951
+ "gateway_transaction": {
952
+ "id": "id",
953
+ "payment_id": "payment_id",
954
+ "provider_key": "provider_key",
955
+ "provider_session_id": "provider_session_id",
956
+ "gateway_payment_id": "gateway_payment_id",
957
+ "gateway_refund_id": "gateway_refund_id",
958
+ "unified_status": "unified_status",
959
+ "gateway_status": "gateway_status",
960
+ "redirect_url": "redirect_url",
961
+ "client_secret": "client_secret",
962
+ "amount": "amount",
963
+ "currency_code": "currency_code",
964
+ "gateway_metadata": "gateway_metadata",
965
+ "webhook_log": "webhook_log",
966
+ "last_webhook_at": "last_webhook_at",
967
+ "last_polled_at": "last_polled_at",
968
+ "expires_at": "expires_at",
969
+ "organization_id": "organization_id",
970
+ "tenant_id": "tenant_id",
971
+ "created_at": "created_at",
972
+ "updated_at": "updated_at",
973
+ "deleted_at": "deleted_at"
974
+ },
975
+ "inbox_discrepancy": {
976
+ "id": "id",
977
+ "proposal_id": "proposal_id",
978
+ "action_id": "action_id",
979
+ "type": "type",
980
+ "severity": "severity",
981
+ "description": "description",
982
+ "expected_value": "expected_value",
983
+ "found_value": "found_value",
984
+ "resolved": "resolved",
985
+ "metadata": "metadata",
986
+ "organization_id": "organization_id",
987
+ "tenant_id": "tenant_id",
988
+ "created_at": "created_at",
989
+ "updated_at": "updated_at",
990
+ "deleted_at": "deleted_at"
991
+ },
992
+ "inbox_email": {
993
+ "id": "id",
994
+ "message_id": "message_id",
995
+ "content_hash": "content_hash",
996
+ "forwarded_by_address": "forwarded_by_address",
997
+ "forwarded_by_name": "forwarded_by_name",
998
+ "to_address": "to_address",
999
+ "subject": "subject",
1000
+ "reply_to": "reply_to",
1001
+ "in_reply_to": "in_reply_to",
1002
+ "references": "references",
1003
+ "raw_text": "raw_text",
1004
+ "raw_html": "raw_html",
1005
+ "cleaned_text": "cleaned_text",
1006
+ "thread_messages": "thread_messages",
1007
+ "detected_language": "detected_language",
1008
+ "attachment_ids": "attachment_ids",
1009
+ "received_at": "received_at",
1010
+ "status": "status",
1011
+ "processing_error": "processing_error",
1012
+ "is_active": "is_active",
1013
+ "metadata": "metadata",
1014
+ "organization_id": "organization_id",
1015
+ "tenant_id": "tenant_id",
1016
+ "created_at": "created_at",
1017
+ "updated_at": "updated_at",
1018
+ "deleted_at": "deleted_at"
1019
+ },
1020
+ "inbox_proposal": {
1021
+ "id": "id",
1022
+ "inbox_email_id": "inbox_email_id",
1023
+ "summary": "summary",
1024
+ "participants": "participants",
1025
+ "confidence": "confidence",
1026
+ "detected_language": "detected_language",
1027
+ "category": "category",
1028
+ "status": "status",
1029
+ "possibly_incomplete": "possibly_incomplete",
1030
+ "reviewed_by_user_id": "reviewed_by_user_id",
1031
+ "reviewed_at": "reviewed_at",
1032
+ "llm_model": "llm_model",
1033
+ "llm_tokens_used": "llm_tokens_used",
1034
+ "working_language": "working_language",
1035
+ "translations": "translations",
1036
+ "is_active": "is_active",
1037
+ "metadata": "metadata",
1038
+ "organization_id": "organization_id",
1039
+ "tenant_id": "tenant_id",
1040
+ "created_at": "created_at",
1041
+ "updated_at": "updated_at",
1042
+ "deleted_at": "deleted_at"
1043
+ },
1044
+ "inbox_proposal_action": {
1045
+ "id": "id",
1046
+ "proposal_id": "proposal_id",
1047
+ "sort_order": "sort_order",
1048
+ "action_type": "action_type",
1049
+ "description": "description",
1050
+ "payload": "payload",
1051
+ "status": "status",
1052
+ "confidence": "confidence",
1053
+ "required_feature": "required_feature",
1054
+ "matched_entity_id": "matched_entity_id",
1055
+ "matched_entity_type": "matched_entity_type",
1056
+ "created_entity_id": "created_entity_id",
1057
+ "created_entity_type": "created_entity_type",
1058
+ "execution_error": "execution_error",
1059
+ "executed_at": "executed_at",
1060
+ "executed_by_user_id": "executed_by_user_id",
1061
+ "is_active": "is_active",
1062
+ "metadata": "metadata",
1063
+ "organization_id": "organization_id",
1064
+ "tenant_id": "tenant_id",
1065
+ "created_at": "created_at",
1066
+ "updated_at": "updated_at",
1067
+ "deleted_at": "deleted_at"
1068
+ },
1069
+ "inbox_settings": {
1070
+ "id": "id",
1071
+ "inbox_address": "inbox_address",
1072
+ "is_active": "is_active",
1073
+ "working_language": "working_language",
1074
+ "organization_id": "organization_id",
1075
+ "tenant_id": "tenant_id",
1076
+ "created_at": "created_at",
1077
+ "updated_at": "updated_at",
1078
+ "deleted_at": "deleted_at"
1079
+ },
1080
+ "indexer_error_log": {
1081
+ "id": "id",
1082
+ "source": "source",
1083
+ "handler": "handler",
1084
+ "entity_type": "entity_type",
1085
+ "record_id": "record_id",
1086
+ "tenant_id": "tenant_id",
1087
+ "organization_id": "organization_id",
1088
+ "payload": "payload",
1089
+ "message": "message",
1090
+ "stack": "stack",
1091
+ "occurred_at": "occurred_at"
1092
+ },
1093
+ "indexer_status_log": {
1094
+ "id": "id",
1095
+ "source": "source",
1096
+ "handler": "handler",
1097
+ "level": "level",
1098
+ "entity_type": "entity_type",
1099
+ "record_id": "record_id",
1100
+ "tenant_id": "tenant_id",
1101
+ "organization_id": "organization_id",
1102
+ "message": "message",
1103
+ "details": "details",
1104
+ "occurred_at": "occurred_at"
1105
+ },
1106
+ "integration_credentials": {
1107
+ "id": "id",
1108
+ "integration_id": "integration_id",
1109
+ "credentials": "credentials",
1110
+ "organization_id": "organization_id",
1111
+ "tenant_id": "tenant_id",
1112
+ "created_at": "created_at",
1113
+ "updated_at": "updated_at",
1114
+ "deleted_at": "deleted_at"
1115
+ },
1116
+ "integration_log": {
1117
+ "id": "id",
1118
+ "integration_id": "integration_id",
1119
+ "run_id": "run_id",
1120
+ "scope_entity_type": "scope_entity_type",
1121
+ "scope_entity_id": "scope_entity_id",
1122
+ "level": "level",
1123
+ "message": "message",
1124
+ "code": "code",
1125
+ "payload": "payload",
1126
+ "organization_id": "organization_id",
1127
+ "tenant_id": "tenant_id",
1128
+ "created_at": "created_at"
1129
+ },
1130
+ "integration_state": {
1131
+ "id": "id",
1132
+ "integration_id": "integration_id",
1133
+ "is_enabled": "is_enabled",
1134
+ "api_version": "api_version",
1135
+ "reauth_required": "reauth_required",
1136
+ "last_health_status": "last_health_status",
1137
+ "last_health_checked_at": "last_health_checked_at",
1138
+ "organization_id": "organization_id",
1139
+ "tenant_id": "tenant_id",
1140
+ "created_at": "created_at",
1141
+ "updated_at": "updated_at",
1142
+ "deleted_at": "deleted_at"
1143
+ },
1144
+ "message": {
1145
+ "id": "id",
1146
+ "type": "type",
1147
+ "thread_id": "thread_id",
1148
+ "parent_message_id": "parent_message_id",
1149
+ "sender_user_id": "sender_user_id",
1150
+ "subject": "subject",
1151
+ "body": "body",
1152
+ "body_format": "body_format",
1153
+ "priority": "priority",
1154
+ "status": "status",
1155
+ "is_draft": "is_draft",
1156
+ "sent_at": "sent_at",
1157
+ "action_data": "action_data",
1158
+ "action_result": "action_result",
1159
+ "action_taken": "action_taken",
1160
+ "action_taken_by_user_id": "action_taken_by_user_id",
1161
+ "action_taken_at": "action_taken_at",
1162
+ "send_via_email": "send_via_email",
1163
+ "tenant_id": "tenant_id",
1164
+ "organization_id": "organization_id",
1165
+ "created_at": "created_at",
1166
+ "updated_at": "updated_at",
1167
+ "deleted_at": "deleted_at",
1168
+ "visibility": "visibility",
1169
+ "source_entity_type": "source_entity_type",
1170
+ "source_entity_id": "source_entity_id",
1171
+ "external_email": "external_email",
1172
+ "external_name": "external_name",
1173
+ "external_email_sent_at": "external_email_sent_at",
1174
+ "external_email_failed_at": "external_email_failed_at",
1175
+ "external_email_error": "external_email_error"
1176
+ },
1177
+ "message_access_token": {
1178
+ "id": "id",
1179
+ "message_id": "message_id",
1180
+ "recipient_user_id": "recipient_user_id",
1181
+ "token": "token",
1182
+ "expires_at": "expires_at",
1183
+ "used_at": "used_at",
1184
+ "use_count": "use_count",
1185
+ "created_at": "created_at"
1186
+ },
1187
+ "message_confirmation": {
1188
+ "id": "id",
1189
+ "message_id": "message_id",
1190
+ "tenant_id": "tenant_id",
1191
+ "organization_id": "organization_id",
1192
+ "confirmed": "confirmed",
1193
+ "confirmed_by_user_id": "confirmed_by_user_id",
1194
+ "confirmed_at": "confirmed_at",
1195
+ "created_at": "created_at",
1196
+ "updated_at": "updated_at"
1197
+ },
1198
+ "message_object": {
1199
+ "id": "id",
1200
+ "message_id": "message_id",
1201
+ "entity_module": "entity_module",
1202
+ "entity_type": "entity_type",
1203
+ "entity_id": "entity_id",
1204
+ "action_required": "action_required",
1205
+ "action_type": "action_type",
1206
+ "action_label": "action_label",
1207
+ "entity_snapshot": "entity_snapshot",
1208
+ "created_at": "created_at"
1209
+ },
1210
+ "message_recipient": {
1211
+ "id": "id",
1212
+ "message_id": "message_id",
1213
+ "recipient_user_id": "recipient_user_id",
1214
+ "recipient_type": "recipient_type",
1215
+ "status": "status",
1216
+ "read_at": "read_at",
1217
+ "archived_at": "archived_at",
1218
+ "deleted_at": "deleted_at",
1219
+ "email_sent_at": "email_sent_at",
1220
+ "email_delivered_at": "email_delivered_at",
1221
+ "email_opened_at": "email_opened_at",
1222
+ "email_failed_at": "email_failed_at",
1223
+ "email_error": "email_error",
1224
+ "created_at": "created_at"
1225
+ },
1226
+ "module_config": {
1227
+ "id": "id",
1228
+ "module_id": "module_id",
1229
+ "name": "name",
1230
+ "value_json": "value_json",
1231
+ "created_at": "created_at",
1232
+ "updated_at": "updated_at"
1233
+ },
1234
+ "notification": {
1235
+ "id": "id",
1236
+ "recipient_user_id": "recipient_user_id",
1237
+ "type": "type",
1238
+ "title_key": "title_key",
1239
+ "body_key": "body_key",
1240
+ "title_variables": "title_variables",
1241
+ "body_variables": "body_variables",
1242
+ "title": "title",
1243
+ "body": "body",
1244
+ "icon": "icon",
1245
+ "severity": "severity",
1246
+ "status": "status",
1247
+ "action_data": "action_data",
1248
+ "action_result": "action_result",
1249
+ "action_taken": "action_taken",
1250
+ "source_module": "source_module",
1251
+ "source_entity_type": "source_entity_type",
1252
+ "source_entity_id": "source_entity_id",
1253
+ "link_href": "link_href",
1254
+ "group_key": "group_key",
1255
+ "created_at": "created_at",
1256
+ "read_at": "read_at",
1257
+ "actioned_at": "actioned_at",
1258
+ "dismissed_at": "dismissed_at",
1259
+ "expires_at": "expires_at",
1260
+ "tenant_id": "tenant_id",
1261
+ "organization_id": "organization_id"
1262
+ },
1263
+ "organization": {
1264
+ "id": "id",
1265
+ "tenant": "tenant",
1266
+ "name": "name",
1267
+ "slug": "slug",
1268
+ "is_active": "is_active",
1269
+ "parent_id": "parent_id",
1270
+ "root_id": "root_id",
1271
+ "tree_path": "tree_path",
1272
+ "depth": "depth",
1273
+ "ancestor_ids": "ancestor_ids",
1274
+ "child_ids": "child_ids",
1275
+ "descendant_ids": "descendant_ids",
1276
+ "created_at": "created_at",
1277
+ "updated_at": "updated_at",
1278
+ "deleted_at": "deleted_at"
1279
+ },
1280
+ "password_reset": {
1281
+ "id": "id",
1282
+ "user": "user",
1283
+ "token": "token",
1284
+ "expires_at": "expires_at",
1285
+ "used_at": "used_at",
1286
+ "created_at": "created_at",
1287
+ "deleted_at": "deleted_at"
1288
+ },
1289
+ "perspective": {
1290
+ "id": "id",
1291
+ "user_id": "user_id",
1292
+ "tenant_id": "tenant_id",
1293
+ "organization_id": "organization_id",
1294
+ "table_id": "table_id",
1295
+ "name": "name",
1296
+ "settings_json": "settings_json",
1297
+ "is_default": "is_default",
1298
+ "created_at": "created_at",
1299
+ "updated_at": "updated_at",
1300
+ "deleted_at": "deleted_at"
1301
+ },
1302
+ "planner_availability_rule": {
1303
+ "id": "id",
1304
+ "tenant_id": "tenant_id",
1305
+ "organization_id": "organization_id",
1306
+ "subject_type": "subject_type",
1307
+ "subject_id": "subject_id",
1308
+ "timezone": "timezone",
1309
+ "rrule": "rrule",
1310
+ "exdates": "exdates",
1311
+ "kind": "kind",
1312
+ "note": "note",
1313
+ "unavailability_reason_entry_id": "unavailability_reason_entry_id",
1314
+ "unavailability_reason_value": "unavailability_reason_value",
1315
+ "created_at": "created_at",
1316
+ "updated_at": "updated_at",
1317
+ "deleted_at": "deleted_at"
1318
+ },
1319
+ "planner_availability_rule_set": {
1320
+ "id": "id",
1321
+ "tenant_id": "tenant_id",
1322
+ "organization_id": "organization_id",
1323
+ "name": "name",
1324
+ "description": "description",
1325
+ "timezone": "timezone",
1326
+ "created_at": "created_at",
1327
+ "updated_at": "updated_at",
1328
+ "deleted_at": "deleted_at"
1329
+ },
1330
+ "progress_job": {
1331
+ "id": "id",
1332
+ "job_type": "job_type",
1333
+ "name": "name",
1334
+ "description": "description",
1335
+ "status": "status",
1336
+ "progress_percent": "progress_percent",
1337
+ "processed_count": "processed_count",
1338
+ "total_count": "total_count",
1339
+ "eta_seconds": "eta_seconds",
1340
+ "started_by_user_id": "started_by_user_id",
1341
+ "started_at": "started_at",
1342
+ "heartbeat_at": "heartbeat_at",
1343
+ "finished_at": "finished_at",
1344
+ "result_summary": "result_summary",
1345
+ "error_message": "error_message",
1346
+ "error_stack": "error_stack",
1347
+ "meta": "meta",
1348
+ "cancellable": "cancellable",
1349
+ "cancelled_by_user_id": "cancelled_by_user_id",
1350
+ "cancel_requested_at": "cancel_requested_at",
1351
+ "parent_job_id": "parent_job_id",
1352
+ "partition_index": "partition_index",
1353
+ "partition_count": "partition_count",
1354
+ "tenant_id": "tenant_id",
1355
+ "organization_id": "organization_id",
1356
+ "created_at": "created_at",
1357
+ "updated_at": "updated_at"
1358
+ },
1359
+ "resources_resource": {
1360
+ "id": "id",
1361
+ "tenant_id": "tenant_id",
1362
+ "organization_id": "organization_id",
1363
+ "name": "name",
1364
+ "description": "description",
1365
+ "resource_type_id": "resource_type_id",
1366
+ "capacity": "capacity",
1367
+ "capacity_unit_value": "capacity_unit_value",
1368
+ "capacity_unit_name": "capacity_unit_name",
1369
+ "capacity_unit_color": "capacity_unit_color",
1370
+ "capacity_unit_icon": "capacity_unit_icon",
1371
+ "appearance_icon": "appearance_icon",
1372
+ "appearance_color": "appearance_color",
1373
+ "is_active": "is_active",
1374
+ "availability_rule_set_id": "availability_rule_set_id",
1375
+ "created_at": "created_at",
1376
+ "updated_at": "updated_at",
1377
+ "deleted_at": "deleted_at"
1378
+ },
1379
+ "resources_resource_activity": {
1380
+ "id": "id",
1381
+ "tenant_id": "tenant_id",
1382
+ "organization_id": "organization_id",
1383
+ "activity_type": "activity_type",
1384
+ "subject": "subject",
1385
+ "body": "body",
1386
+ "occurred_at": "occurred_at",
1387
+ "author_user_id": "author_user_id",
1388
+ "appearance_icon": "appearance_icon",
1389
+ "appearance_color": "appearance_color",
1390
+ "created_at": "created_at",
1391
+ "updated_at": "updated_at",
1392
+ "resource": "resource"
1393
+ },
1394
+ "resources_resource_comment": {
1395
+ "id": "id",
1396
+ "tenant_id": "tenant_id",
1397
+ "organization_id": "organization_id",
1398
+ "body": "body",
1399
+ "author_user_id": "author_user_id",
1400
+ "appearance_icon": "appearance_icon",
1401
+ "appearance_color": "appearance_color",
1402
+ "created_at": "created_at",
1403
+ "updated_at": "updated_at",
1404
+ "deleted_at": "deleted_at",
1405
+ "resource": "resource"
1406
+ },
1407
+ "resources_resource_tag": {
1408
+ "id": "id",
1409
+ "organization_id": "organization_id",
1410
+ "tenant_id": "tenant_id",
1411
+ "slug": "slug",
1412
+ "label": "label",
1413
+ "color": "color",
1414
+ "description": "description",
1415
+ "created_at": "created_at",
1416
+ "updated_at": "updated_at",
1417
+ "assignments": "assignments"
1418
+ },
1419
+ "resources_resource_tag_assignment": {
1420
+ "id": "id",
1421
+ "organization_id": "organization_id",
1422
+ "tenant_id": "tenant_id",
1423
+ "tag": "tag",
1424
+ "resource": "resource",
1425
+ "created_at": "created_at",
1426
+ "updated_at": "updated_at"
1427
+ },
1428
+ "resources_resource_type": {
1429
+ "id": "id",
1430
+ "tenant_id": "tenant_id",
1431
+ "organization_id": "organization_id",
1432
+ "name": "name",
1433
+ "description": "description",
1434
+ "appearance_icon": "appearance_icon",
1435
+ "appearance_color": "appearance_color",
1436
+ "created_at": "created_at",
1437
+ "updated_at": "updated_at",
1438
+ "deleted_at": "deleted_at"
1439
+ },
1440
+ "role": {
1441
+ "id": "id",
1442
+ "name": "name",
1443
+ "tenant_id": "tenant_id",
1444
+ "created_at": "created_at",
1445
+ "deleted_at": "deleted_at"
1446
+ },
1447
+ "role_acl": {
1448
+ "id": "id",
1449
+ "role": "role",
1450
+ "tenant_id": "tenant_id",
1451
+ "features_json": "features_json",
1452
+ "is_super_admin": "is_super_admin",
1453
+ "organizations_json": "organizations_json",
1454
+ "created_at": "created_at",
1455
+ "updated_at": "updated_at",
1456
+ "deleted_at": "deleted_at"
1457
+ },
1458
+ "role_perspective": {
1459
+ "id": "id",
1460
+ "role_id": "role_id",
1461
+ "tenant_id": "tenant_id",
1462
+ "organization_id": "organization_id",
1463
+ "table_id": "table_id",
1464
+ "name": "name",
1465
+ "settings_json": "settings_json",
1466
+ "is_default": "is_default",
1467
+ "created_at": "created_at",
1468
+ "updated_at": "updated_at",
1469
+ "deleted_at": "deleted_at"
1470
+ },
1471
+ "role_sidebar_preference": {
1472
+ "id": "id",
1473
+ "role": "role",
1474
+ "tenant_id": "tenant_id",
1475
+ "locale": "locale",
1476
+ "settings_json": "settings_json",
1477
+ "created_at": "created_at",
1478
+ "updated_at": "updated_at",
1479
+ "deleted_at": "deleted_at"
1480
+ },
1481
+ "rule_execution_log": {
1482
+ "id": "id",
1483
+ "rule": "rule",
1484
+ "entity_id": "entity_id",
1485
+ "entity_type": "entity_type",
1486
+ "execution_result": "execution_result",
1487
+ "input_context": "input_context",
1488
+ "output_context": "output_context",
1489
+ "error_message": "error_message",
1490
+ "execution_time_ms": "execution_time_ms",
1491
+ "executed_at": "executed_at",
1492
+ "tenant_id": "tenant_id",
1493
+ "organization_id": "organization_id",
1494
+ "executed_by": "executed_by"
1495
+ },
1496
+ "rule_set": {
1497
+ "id": "id",
1498
+ "set_id": "set_id",
1499
+ "set_name": "set_name",
1500
+ "description": "description",
1501
+ "enabled": "enabled",
1502
+ "tenant_id": "tenant_id",
1503
+ "organization_id": "organization_id",
1504
+ "created_by": "created_by",
1505
+ "updated_by": "updated_by",
1506
+ "created_at": "created_at",
1507
+ "updated_at": "updated_at",
1508
+ "deleted_at": "deleted_at"
1509
+ },
1510
+ "rule_set_member": {
1511
+ "id": "id",
1512
+ "rule_set": "rule_set",
1513
+ "rule": "rule",
1514
+ "sequence": "sequence",
1515
+ "enabled": "enabled",
1516
+ "tenant_id": "tenant_id",
1517
+ "organization_id": "organization_id",
1518
+ "created_at": "created_at"
1519
+ },
1520
+ "sales_channel": {
1521
+ "id": "id",
1522
+ "organization_id": "organization_id",
1523
+ "tenant_id": "tenant_id",
1524
+ "name": "name",
1525
+ "code": "code",
1526
+ "description": "description",
1527
+ "status_entry_id": "status_entry_id",
1528
+ "status": "status",
1529
+ "website_url": "website_url",
1530
+ "contact_email": "contact_email",
1531
+ "contact_phone": "contact_phone",
1532
+ "address_line1": "address_line1",
1533
+ "address_line2": "address_line2",
1534
+ "city": "city",
1535
+ "region": "region",
1536
+ "postal_code": "postal_code",
1537
+ "country": "country",
1538
+ "latitude": "latitude",
1539
+ "longitude": "longitude",
1540
+ "is_active": "is_active",
1541
+ "metadata": "metadata",
1542
+ "created_at": "created_at",
1543
+ "updated_at": "updated_at",
1544
+ "deleted_at": "deleted_at",
1545
+ "orders": "orders"
1546
+ },
1547
+ "sales_credit_memo": {
1548
+ "id": "id",
1549
+ "order": "order",
1550
+ "invoice": "invoice",
1551
+ "organization_id": "organization_id",
1552
+ "tenant_id": "tenant_id",
1553
+ "credit_memo_number": "credit_memo_number",
1554
+ "status_entry_id": "status_entry_id",
1555
+ "status": "status",
1556
+ "issue_date": "issue_date",
1557
+ "currency_code": "currency_code",
1558
+ "subtotal_net_amount": "subtotal_net_amount",
1559
+ "subtotal_gross_amount": "subtotal_gross_amount",
1560
+ "tax_total_amount": "tax_total_amount",
1561
+ "grand_total_net_amount": "grand_total_net_amount",
1562
+ "grand_total_gross_amount": "grand_total_gross_amount",
1563
+ "metadata": "metadata",
1564
+ "custom_field_set_id": "custom_field_set_id",
1565
+ "created_at": "created_at",
1566
+ "updated_at": "updated_at",
1567
+ "deleted_at": "deleted_at",
1568
+ "lines": "lines"
1569
+ },
1570
+ "sales_credit_memo_line": {
1571
+ "id": "id",
1572
+ "credit_memo": "credit_memo",
1573
+ "order_line": "order_line",
1574
+ "organization_id": "organization_id",
1575
+ "tenant_id": "tenant_id",
1576
+ "line_number": "line_number",
1577
+ "description": "description",
1578
+ "quantity": "quantity",
1579
+ "quantity_unit": "quantity_unit",
1580
+ "normalized_quantity": "normalized_quantity",
1581
+ "normalized_unit": "normalized_unit",
1582
+ "uom_snapshot": "uom_snapshot",
1583
+ "currency_code": "currency_code",
1584
+ "unit_price_net": "unit_price_net",
1585
+ "unit_price_gross": "unit_price_gross",
1586
+ "tax_rate": "tax_rate",
1587
+ "tax_amount": "tax_amount",
1588
+ "total_net_amount": "total_net_amount",
1589
+ "total_gross_amount": "total_gross_amount",
1590
+ "metadata": "metadata"
1591
+ },
1592
+ "sales_delivery_window": {
1593
+ "id": "id",
1594
+ "organization_id": "organization_id",
1595
+ "tenant_id": "tenant_id",
1596
+ "name": "name",
1597
+ "code": "code",
1598
+ "description": "description",
1599
+ "lead_time_days": "lead_time_days",
1600
+ "cutoff_time": "cutoff_time",
1601
+ "timezone": "timezone",
1602
+ "is_active": "is_active",
1603
+ "metadata": "metadata",
1604
+ "created_at": "created_at",
1605
+ "updated_at": "updated_at",
1606
+ "deleted_at": "deleted_at",
1607
+ "orders": "orders"
1608
+ },
1609
+ "sales_document_address": {
1610
+ "id": "id",
1611
+ "organization_id": "organization_id",
1612
+ "tenant_id": "tenant_id",
1613
+ "document_id": "document_id",
1614
+ "document_kind": "document_kind",
1615
+ "customer_address_id": "customer_address_id",
1616
+ "name": "name",
1617
+ "purpose": "purpose",
1618
+ "company_name": "company_name",
1619
+ "address_line1": "address_line1",
1620
+ "address_line2": "address_line2",
1621
+ "city": "city",
1622
+ "region": "region",
1623
+ "postal_code": "postal_code",
1624
+ "country": "country",
1625
+ "building_number": "building_number",
1626
+ "flat_number": "flat_number",
1627
+ "latitude": "latitude",
1628
+ "longitude": "longitude",
1629
+ "order": "order",
1630
+ "quote": "quote",
1631
+ "created_at": "created_at",
1632
+ "updated_at": "updated_at",
1633
+ "deleted_at": "deleted_at"
1634
+ },
1635
+ "sales_document_sequence": {
1636
+ "id": "id",
1637
+ "organization_id": "organization_id",
1638
+ "tenant_id": "tenant_id",
1639
+ "document_kind": "document_kind",
1640
+ "current_value": "current_value",
1641
+ "created_at": "created_at",
1642
+ "updated_at": "updated_at",
1643
+ "deleted_at": "deleted_at"
1644
+ },
1645
+ "sales_document_tag": {
1646
+ "id": "id",
1647
+ "organization_id": "organization_id",
1648
+ "tenant_id": "tenant_id",
1649
+ "slug": "slug",
1650
+ "label": "label",
1651
+ "color": "color",
1652
+ "description": "description",
1653
+ "created_at": "created_at",
1654
+ "updated_at": "updated_at",
1655
+ "assignments": "assignments"
1656
+ },
1657
+ "sales_document_tag_assignment": {
1658
+ "id": "id",
1659
+ "organization_id": "organization_id",
1660
+ "tenant_id": "tenant_id",
1661
+ "tag": "tag",
1662
+ "document_id": "document_id",
1663
+ "document_kind": "document_kind",
1664
+ "order": "order",
1665
+ "quote": "quote",
1666
+ "created_at": "created_at",
1667
+ "updated_at": "updated_at"
1668
+ },
1669
+ "sales_invoice": {
1670
+ "id": "id",
1671
+ "order": "order",
1672
+ "organization_id": "organization_id",
1673
+ "tenant_id": "tenant_id",
1674
+ "invoice_number": "invoice_number",
1675
+ "status_entry_id": "status_entry_id",
1676
+ "status": "status",
1677
+ "issue_date": "issue_date",
1678
+ "due_date": "due_date",
1679
+ "currency_code": "currency_code",
1680
+ "subtotal_net_amount": "subtotal_net_amount",
1681
+ "subtotal_gross_amount": "subtotal_gross_amount",
1682
+ "discount_total_amount": "discount_total_amount",
1683
+ "tax_total_amount": "tax_total_amount",
1684
+ "grand_total_net_amount": "grand_total_net_amount",
1685
+ "grand_total_gross_amount": "grand_total_gross_amount",
1686
+ "paid_total_amount": "paid_total_amount",
1687
+ "outstanding_amount": "outstanding_amount",
1688
+ "metadata": "metadata",
1689
+ "custom_field_set_id": "custom_field_set_id",
1690
+ "created_at": "created_at",
1691
+ "updated_at": "updated_at",
1692
+ "deleted_at": "deleted_at",
1693
+ "lines": "lines",
1694
+ "payment_allocations": "payment_allocations"
1695
+ },
1696
+ "sales_invoice_line": {
1697
+ "id": "id",
1698
+ "invoice": "invoice",
1699
+ "order_line": "order_line",
1700
+ "organization_id": "organization_id",
1701
+ "tenant_id": "tenant_id",
1702
+ "line_number": "line_number",
1703
+ "kind": "kind",
1704
+ "description": "description",
1705
+ "quantity": "quantity",
1706
+ "quantity_unit": "quantity_unit",
1707
+ "normalized_quantity": "normalized_quantity",
1708
+ "normalized_unit": "normalized_unit",
1709
+ "uom_snapshot": "uom_snapshot",
1710
+ "currency_code": "currency_code",
1711
+ "unit_price_net": "unit_price_net",
1712
+ "unit_price_gross": "unit_price_gross",
1713
+ "discount_amount": "discount_amount",
1714
+ "discount_percent": "discount_percent",
1715
+ "tax_rate": "tax_rate",
1716
+ "tax_amount": "tax_amount",
1717
+ "total_net_amount": "total_net_amount",
1718
+ "total_gross_amount": "total_gross_amount",
1719
+ "metadata": "metadata"
1720
+ },
1721
+ "sales_note": {
1722
+ "id": "id",
1723
+ "organization_id": "organization_id",
1724
+ "tenant_id": "tenant_id",
1725
+ "context_type": "context_type",
1726
+ "context_id": "context_id",
1727
+ "order": "order",
1728
+ "quote": "quote",
1729
+ "author_user_id": "author_user_id",
1730
+ "appearance_icon": "appearance_icon",
1731
+ "appearance_color": "appearance_color",
1732
+ "body": "body",
1733
+ "created_at": "created_at",
1734
+ "updated_at": "updated_at",
1735
+ "deleted_at": "deleted_at"
1736
+ },
1737
+ "sales_order": {
1738
+ "id": "id",
1739
+ "organization_id": "organization_id",
1740
+ "tenant_id": "tenant_id",
1741
+ "order_number": "order_number",
1742
+ "external_reference": "external_reference",
1743
+ "customer_reference": "customer_reference",
1744
+ "customer_entity_id": "customer_entity_id",
1745
+ "customer_contact_id": "customer_contact_id",
1746
+ "customer_snapshot": "customer_snapshot",
1747
+ "billing_address_id": "billing_address_id",
1748
+ "shipping_address_id": "shipping_address_id",
1749
+ "billing_address_snapshot": "billing_address_snapshot",
1750
+ "shipping_address_snapshot": "shipping_address_snapshot",
1751
+ "currency_code": "currency_code",
1752
+ "exchange_rate": "exchange_rate",
1753
+ "status_entry_id": "status_entry_id",
1754
+ "status": "status",
1755
+ "fulfillment_status_entry_id": "fulfillment_status_entry_id",
1756
+ "fulfillment_status": "fulfillment_status",
1757
+ "payment_status_entry_id": "payment_status_entry_id",
1758
+ "payment_status": "payment_status",
1759
+ "tax_strategy_key": "tax_strategy_key",
1760
+ "discount_strategy_key": "discount_strategy_key",
1761
+ "tax_info": "tax_info",
1762
+ "shipping_method_snapshot": "shipping_method_snapshot",
1763
+ "delivery_window_snapshot": "delivery_window_snapshot",
1764
+ "payment_method_snapshot": "payment_method_snapshot",
1765
+ "placed_at": "placed_at",
1766
+ "expected_delivery_at": "expected_delivery_at",
1767
+ "due_at": "due_at",
1768
+ "comments": "comments",
1769
+ "internal_notes": "internal_notes",
1770
+ "subtotal_net_amount": "subtotal_net_amount",
1771
+ "subtotal_gross_amount": "subtotal_gross_amount",
1772
+ "discount_total_amount": "discount_total_amount",
1773
+ "tax_total_amount": "tax_total_amount",
1774
+ "shipping_net_amount": "shipping_net_amount",
1775
+ "shipping_gross_amount": "shipping_gross_amount",
1776
+ "surcharge_total_amount": "surcharge_total_amount",
1777
+ "grand_total_net_amount": "grand_total_net_amount",
1778
+ "grand_total_gross_amount": "grand_total_gross_amount",
1779
+ "totals_snapshot": "totals_snapshot",
1780
+ "paid_total_amount": "paid_total_amount",
1781
+ "refunded_total_amount": "refunded_total_amount",
1782
+ "outstanding_amount": "outstanding_amount",
1783
+ "line_item_count": "line_item_count",
1784
+ "metadata": "metadata",
1785
+ "custom_field_set_id": "custom_field_set_id",
1786
+ "channel_id": "channel_id",
1787
+ "channel": "channel",
1788
+ "shipping_method_id": "shipping_method_id",
1789
+ "shipping_method_code": "shipping_method_code",
1790
+ "shipping_method": "shipping_method",
1791
+ "delivery_window_id": "delivery_window_id",
1792
+ "delivery_window_code": "delivery_window_code",
1793
+ "delivery_window": "delivery_window",
1794
+ "payment_method_id": "payment_method_id",
1795
+ "payment_method_code": "payment_method_code",
1796
+ "payment_method": "payment_method",
1797
+ "created_at": "created_at",
1798
+ "updated_at": "updated_at",
1799
+ "deleted_at": "deleted_at",
1800
+ "lines": "lines",
1801
+ "adjustments": "adjustments",
1802
+ "shipments": "shipments",
1803
+ "invoices": "invoices",
1804
+ "credit_memos": "credit_memos",
1805
+ "payments": "payments",
1806
+ "notes": "notes",
1807
+ "addresses": "addresses",
1808
+ "tag_assignments": "tag_assignments"
1809
+ },
1810
+ "sales_order_adjustment": {
1811
+ "id": "id",
1812
+ "order": "order",
1813
+ "order_line": "order_line",
1814
+ "organization_id": "organization_id",
1815
+ "tenant_id": "tenant_id",
1816
+ "scope": "scope",
1817
+ "kind": "kind",
1818
+ "code": "code",
1819
+ "label": "label",
1820
+ "calculator_key": "calculator_key",
1821
+ "promotion_id": "promotion_id",
1822
+ "rate": "rate",
1823
+ "amount_net": "amount_net",
1824
+ "amount_gross": "amount_gross",
1825
+ "currency_code": "currency_code",
1826
+ "metadata": "metadata",
1827
+ "position": "position",
1828
+ "created_at": "created_at",
1829
+ "updated_at": "updated_at",
1830
+ "deleted_at": "deleted_at"
1831
+ },
1832
+ "sales_order_line": {
1833
+ "id": "id",
1834
+ "order": "order",
1835
+ "organization_id": "organization_id",
1836
+ "tenant_id": "tenant_id",
1837
+ "line_number": "line_number",
1838
+ "kind": "kind",
1839
+ "status_entry_id": "status_entry_id",
1840
+ "status": "status",
1841
+ "product_id": "product_id",
1842
+ "product_variant_id": "product_variant_id",
1843
+ "catalog_snapshot": "catalog_snapshot",
1844
+ "name": "name",
1845
+ "description": "description",
1846
+ "comment": "comment",
1847
+ "quantity": "quantity",
1848
+ "quantity_unit": "quantity_unit",
1849
+ "normalized_quantity": "normalized_quantity",
1850
+ "normalized_unit": "normalized_unit",
1851
+ "uom_snapshot": "uom_snapshot",
1852
+ "reserved_quantity": "reserved_quantity",
1853
+ "fulfilled_quantity": "fulfilled_quantity",
1854
+ "invoiced_quantity": "invoiced_quantity",
1855
+ "returned_quantity": "returned_quantity",
1856
+ "currency_code": "currency_code",
1857
+ "unit_price_net": "unit_price_net",
1858
+ "unit_price_gross": "unit_price_gross",
1859
+ "discount_amount": "discount_amount",
1860
+ "discount_percent": "discount_percent",
1861
+ "tax_rate": "tax_rate",
1862
+ "tax_amount": "tax_amount",
1863
+ "total_net_amount": "total_net_amount",
1864
+ "total_gross_amount": "total_gross_amount",
1865
+ "configuration": "configuration",
1866
+ "promotion_code": "promotion_code",
1867
+ "promotion_snapshot": "promotion_snapshot",
1868
+ "metadata": "metadata",
1869
+ "custom_field_set_id": "custom_field_set_id",
1870
+ "created_at": "created_at",
1871
+ "updated_at": "updated_at",
1872
+ "deleted_at": "deleted_at",
1873
+ "adjustments": "adjustments",
1874
+ "shipment_items": "shipment_items",
1875
+ "invoice_lines": "invoice_lines",
1876
+ "credit_memo_lines": "credit_memo_lines"
1877
+ },
1878
+ "sales_payment": {
1879
+ "id": "id",
1880
+ "order": "order",
1881
+ "payment_method": "payment_method",
1882
+ "organization_id": "organization_id",
1883
+ "tenant_id": "tenant_id",
1884
+ "payment_reference": "payment_reference",
1885
+ "status_entry_id": "status_entry_id",
1886
+ "status": "status",
1887
+ "amount": "amount",
1888
+ "currency_code": "currency_code",
1889
+ "captured_amount": "captured_amount",
1890
+ "refunded_amount": "refunded_amount",
1891
+ "received_at": "received_at",
1892
+ "captured_at": "captured_at",
1893
+ "metadata": "metadata",
1894
+ "custom_field_set_id": "custom_field_set_id",
1895
+ "created_at": "created_at",
1896
+ "updated_at": "updated_at",
1897
+ "deleted_at": "deleted_at",
1898
+ "allocations": "allocations"
1899
+ },
1900
+ "sales_payment_allocation": {
1901
+ "id": "id",
1902
+ "payment": "payment",
1903
+ "order": "order",
1904
+ "invoice": "invoice",
1905
+ "organization_id": "organization_id",
1906
+ "tenant_id": "tenant_id",
1907
+ "amount": "amount",
1908
+ "currency_code": "currency_code",
1909
+ "metadata": "metadata"
1910
+ },
1911
+ "sales_payment_method": {
1912
+ "id": "id",
1913
+ "organization_id": "organization_id",
1914
+ "tenant_id": "tenant_id",
1915
+ "name": "name",
1916
+ "code": "code",
1917
+ "description": "description",
1918
+ "provider_key": "provider_key",
1919
+ "terms": "terms",
1920
+ "is_active": "is_active",
1921
+ "metadata": "metadata",
1922
+ "created_at": "created_at",
1923
+ "updated_at": "updated_at",
1924
+ "deleted_at": "deleted_at",
1925
+ "orders": "orders",
1926
+ "payments": "payments"
1927
+ },
1928
+ "sales_quote": {
1929
+ "id": "id",
1930
+ "organization_id": "organization_id",
1931
+ "tenant_id": "tenant_id",
1932
+ "quote_number": "quote_number",
1933
+ "external_reference": "external_reference",
1934
+ "customer_reference": "customer_reference",
1935
+ "status_entry_id": "status_entry_id",
1936
+ "status": "status",
1937
+ "customer_entity_id": "customer_entity_id",
1938
+ "customer_contact_id": "customer_contact_id",
1939
+ "customer_snapshot": "customer_snapshot",
1940
+ "billing_address_id": "billing_address_id",
1941
+ "shipping_address_id": "shipping_address_id",
1942
+ "billing_address_snapshot": "billing_address_snapshot",
1943
+ "shipping_address_snapshot": "shipping_address_snapshot",
1944
+ "currency_code": "currency_code",
1945
+ "valid_from": "valid_from",
1946
+ "valid_until": "valid_until",
1947
+ "placed_at": "placed_at",
1948
+ "comments": "comments",
1949
+ "tax_info": "tax_info",
1950
+ "shipping_method_id": "shipping_method_id",
1951
+ "shipping_method_code": "shipping_method_code",
1952
+ "shipping_method": "shipping_method",
1953
+ "delivery_window_id": "delivery_window_id",
1954
+ "delivery_window_code": "delivery_window_code",
1955
+ "delivery_window": "delivery_window",
1956
+ "payment_method_id": "payment_method_id",
1957
+ "payment_method_code": "payment_method_code",
1958
+ "payment_method": "payment_method",
1959
+ "channel_id": "channel_id",
1960
+ "channel": "channel",
1961
+ "shipping_method_snapshot": "shipping_method_snapshot",
1962
+ "delivery_window_snapshot": "delivery_window_snapshot",
1963
+ "payment_method_snapshot": "payment_method_snapshot",
1964
+ "subtotal_net_amount": "subtotal_net_amount",
1965
+ "subtotal_gross_amount": "subtotal_gross_amount",
1966
+ "discount_total_amount": "discount_total_amount",
1967
+ "tax_total_amount": "tax_total_amount",
1968
+ "grand_total_net_amount": "grand_total_net_amount",
1969
+ "grand_total_gross_amount": "grand_total_gross_amount",
1970
+ "totals_snapshot": "totals_snapshot",
1971
+ "line_item_count": "line_item_count",
1972
+ "metadata": "metadata",
1973
+ "custom_field_set_id": "custom_field_set_id",
1974
+ "created_at": "created_at",
1975
+ "updated_at": "updated_at",
1976
+ "deleted_at": "deleted_at",
1977
+ "converted_order_id": "converted_order_id",
1978
+ "acceptance_token": "acceptance_token",
1979
+ "sent_at": "sent_at",
1980
+ "lines": "lines",
1981
+ "adjustments": "adjustments",
1982
+ "notes": "notes",
1983
+ "addresses": "addresses",
1984
+ "tag_assignments": "tag_assignments"
1985
+ },
1986
+ "sales_quote_adjustment": {
1987
+ "id": "id",
1988
+ "quote": "quote",
1989
+ "quote_line": "quote_line",
1990
+ "organization_id": "organization_id",
1991
+ "tenant_id": "tenant_id",
1992
+ "scope": "scope",
1993
+ "kind": "kind",
1994
+ "code": "code",
1995
+ "label": "label",
1996
+ "calculator_key": "calculator_key",
1997
+ "promotion_id": "promotion_id",
1998
+ "rate": "rate",
1999
+ "amount_net": "amount_net",
2000
+ "amount_gross": "amount_gross",
2001
+ "currency_code": "currency_code",
2002
+ "metadata": "metadata",
2003
+ "position": "position",
2004
+ "created_at": "created_at",
2005
+ "updated_at": "updated_at",
2006
+ "deleted_at": "deleted_at"
2007
+ },
2008
+ "sales_quote_line": {
2009
+ "id": "id",
2010
+ "quote": "quote",
2011
+ "organization_id": "organization_id",
2012
+ "tenant_id": "tenant_id",
2013
+ "line_number": "line_number",
2014
+ "kind": "kind",
2015
+ "status_entry_id": "status_entry_id",
2016
+ "status": "status",
2017
+ "product_id": "product_id",
2018
+ "product_variant_id": "product_variant_id",
2019
+ "catalog_snapshot": "catalog_snapshot",
2020
+ "name": "name",
2021
+ "description": "description",
2022
+ "comment": "comment",
2023
+ "quantity": "quantity",
2024
+ "quantity_unit": "quantity_unit",
2025
+ "normalized_quantity": "normalized_quantity",
2026
+ "normalized_unit": "normalized_unit",
2027
+ "uom_snapshot": "uom_snapshot",
2028
+ "currency_code": "currency_code",
2029
+ "unit_price_net": "unit_price_net",
2030
+ "unit_price_gross": "unit_price_gross",
2031
+ "discount_amount": "discount_amount",
2032
+ "discount_percent": "discount_percent",
2033
+ "tax_rate": "tax_rate",
2034
+ "tax_amount": "tax_amount",
2035
+ "total_net_amount": "total_net_amount",
2036
+ "total_gross_amount": "total_gross_amount",
2037
+ "configuration": "configuration",
2038
+ "promotion_code": "promotion_code",
2039
+ "promotion_snapshot": "promotion_snapshot",
2040
+ "metadata": "metadata",
2041
+ "custom_field_set_id": "custom_field_set_id",
2042
+ "created_at": "created_at",
2043
+ "updated_at": "updated_at",
2044
+ "deleted_at": "deleted_at",
2045
+ "adjustments": "adjustments"
2046
+ },
2047
+ "sales_return": {
2048
+ "id": "id",
2049
+ "order": "order",
2050
+ "organization_id": "organization_id",
2051
+ "tenant_id": "tenant_id",
2052
+ "return_number": "return_number",
2053
+ "status_entry_id": "status_entry_id",
2054
+ "status": "status",
2055
+ "reason": "reason",
2056
+ "notes": "notes",
2057
+ "returned_at": "returned_at",
2058
+ "created_at": "created_at",
2059
+ "updated_at": "updated_at",
2060
+ "deleted_at": "deleted_at",
2061
+ "lines": "lines"
2062
+ },
2063
+ "sales_return_line": {
2064
+ "id": "id",
2065
+ "sales_return": "sales_return",
2066
+ "order_line": "order_line",
2067
+ "organization_id": "organization_id",
2068
+ "tenant_id": "tenant_id",
2069
+ "quantity_returned": "quantity_returned",
2070
+ "unit_price_net": "unit_price_net",
2071
+ "unit_price_gross": "unit_price_gross",
2072
+ "total_net_amount": "total_net_amount",
2073
+ "total_gross_amount": "total_gross_amount",
2074
+ "created_at": "created_at",
2075
+ "updated_at": "updated_at",
2076
+ "deleted_at": "deleted_at"
2077
+ },
2078
+ "sales_settings": {
2079
+ "id": "id",
2080
+ "organization_id": "organization_id",
2081
+ "tenant_id": "tenant_id",
2082
+ "order_number_format": "order_number_format",
2083
+ "quote_number_format": "quote_number_format",
2084
+ "order_customer_editable_statuses": "order_customer_editable_statuses",
2085
+ "order_address_editable_statuses": "order_address_editable_statuses",
2086
+ "created_at": "created_at",
2087
+ "updated_at": "updated_at",
2088
+ "deleted_at": "deleted_at"
2089
+ },
2090
+ "sales_shipment": {
2091
+ "id": "id",
2092
+ "order": "order",
2093
+ "organization_id": "organization_id",
2094
+ "tenant_id": "tenant_id",
2095
+ "shipment_number": "shipment_number",
2096
+ "shipping_method_id": "shipping_method_id",
2097
+ "status_entry_id": "status_entry_id",
2098
+ "status": "status",
2099
+ "carrier_name": "carrier_name",
2100
+ "tracking_numbers": "tracking_numbers",
2101
+ "shipped_at": "shipped_at",
2102
+ "delivered_at": "delivered_at",
2103
+ "weight_value": "weight_value",
2104
+ "weight_unit": "weight_unit",
2105
+ "declared_value_net": "declared_value_net",
2106
+ "declared_value_gross": "declared_value_gross",
2107
+ "currency_code": "currency_code",
2108
+ "notes": "notes",
2109
+ "metadata": "metadata",
2110
+ "items_snapshot": "items_snapshot",
2111
+ "created_at": "created_at",
2112
+ "updated_at": "updated_at",
2113
+ "deleted_at": "deleted_at",
2114
+ "items": "items"
2115
+ },
2116
+ "sales_shipment_item": {
2117
+ "id": "id",
2118
+ "shipment": "shipment",
2119
+ "order_line": "order_line",
2120
+ "organization_id": "organization_id",
2121
+ "tenant_id": "tenant_id",
2122
+ "quantity": "quantity",
2123
+ "metadata": "metadata"
2124
+ },
2125
+ "sales_shipping_method": {
2126
+ "id": "id",
2127
+ "organization_id": "organization_id",
2128
+ "tenant_id": "tenant_id",
2129
+ "name": "name",
2130
+ "code": "code",
2131
+ "description": "description",
2132
+ "carrier_code": "carrier_code",
2133
+ "provider_key": "provider_key",
2134
+ "service_level": "service_level",
2135
+ "estimated_transit_days": "estimated_transit_days",
2136
+ "base_rate_net": "base_rate_net",
2137
+ "base_rate_gross": "base_rate_gross",
2138
+ "currency_code": "currency_code",
2139
+ "is_active": "is_active",
2140
+ "metadata": "metadata",
2141
+ "created_at": "created_at",
2142
+ "updated_at": "updated_at",
2143
+ "deleted_at": "deleted_at",
2144
+ "orders": "orders"
2145
+ },
2146
+ "sales_tax_rate": {
2147
+ "id": "id",
2148
+ "organization_id": "organization_id",
2149
+ "tenant_id": "tenant_id",
2150
+ "name": "name",
2151
+ "code": "code",
2152
+ "rate": "rate",
2153
+ "country_code": "country_code",
2154
+ "region_code": "region_code",
2155
+ "postal_code": "postal_code",
2156
+ "city": "city",
2157
+ "customer_group_id": "customer_group_id",
2158
+ "product_category_id": "product_category_id",
2159
+ "channel_id": "channel_id",
2160
+ "priority": "priority",
2161
+ "is_compound": "is_compound",
2162
+ "is_default": "is_default",
2163
+ "metadata": "metadata",
2164
+ "starts_at": "starts_at",
2165
+ "ends_at": "ends_at",
2166
+ "created_at": "created_at",
2167
+ "updated_at": "updated_at",
2168
+ "deleted_at": "deleted_at"
2169
+ },
2170
+ "search_token": {
2171
+ "id": "id",
2172
+ "entity_type": "entity_type",
2173
+ "entity_id": "entity_id",
2174
+ "organization_id": "organization_id",
2175
+ "tenant_id": "tenant_id",
2176
+ "field": "field",
2177
+ "token_hash": "token_hash",
2178
+ "token": "token",
2179
+ "created_at": "created_at"
2180
+ },
2181
+ "session": {
2182
+ "id": "id",
2183
+ "user": "user",
2184
+ "token": "token",
2185
+ "expires_at": "expires_at",
2186
+ "created_at": "created_at",
2187
+ "last_used_at": "last_used_at",
2188
+ "deleted_at": "deleted_at"
2189
+ },
2190
+ "staff_leave_request": {
2191
+ "id": "id",
2192
+ "tenant_id": "tenant_id",
2193
+ "organization_id": "organization_id",
2194
+ "member": "member",
2195
+ "start_date": "start_date",
2196
+ "end_date": "end_date",
2197
+ "timezone": "timezone",
2198
+ "status": "status",
2199
+ "unavailability_reason_entry_id": "unavailability_reason_entry_id",
2200
+ "unavailability_reason_value": "unavailability_reason_value",
2201
+ "note": "note",
2202
+ "decision_comment": "decision_comment",
2203
+ "submitted_by_user_id": "submitted_by_user_id",
2204
+ "decided_by_user_id": "decided_by_user_id",
2205
+ "decided_at": "decided_at",
2206
+ "created_at": "created_at",
2207
+ "updated_at": "updated_at",
2208
+ "deleted_at": "deleted_at"
2209
+ },
2210
+ "staff_team": {
2211
+ "id": "id",
2212
+ "tenant_id": "tenant_id",
2213
+ "organization_id": "organization_id",
2214
+ "name": "name",
2215
+ "description": "description",
2216
+ "is_active": "is_active",
2217
+ "created_at": "created_at",
2218
+ "updated_at": "updated_at",
2219
+ "deleted_at": "deleted_at"
2220
+ },
2221
+ "staff_team_member": {
2222
+ "id": "id",
2223
+ "tenant_id": "tenant_id",
2224
+ "organization_id": "organization_id",
2225
+ "team_id": "team_id",
2226
+ "display_name": "display_name",
2227
+ "description": "description",
2228
+ "user_id": "user_id",
2229
+ "role_ids": "role_ids",
2230
+ "tags": "tags",
2231
+ "availability_rule_set_id": "availability_rule_set_id",
2232
+ "is_active": "is_active",
2233
+ "created_at": "created_at",
2234
+ "updated_at": "updated_at",
2235
+ "deleted_at": "deleted_at"
2236
+ },
2237
+ "staff_team_member_activity": {
2238
+ "id": "id",
2239
+ "tenant_id": "tenant_id",
2240
+ "organization_id": "organization_id",
2241
+ "activity_type": "activity_type",
2242
+ "subject": "subject",
2243
+ "body": "body",
2244
+ "occurred_at": "occurred_at",
2245
+ "author_user_id": "author_user_id",
2246
+ "appearance_icon": "appearance_icon",
2247
+ "appearance_color": "appearance_color",
2248
+ "created_at": "created_at",
2249
+ "updated_at": "updated_at",
2250
+ "member": "member"
2251
+ },
2252
+ "staff_team_member_address": {
2253
+ "id": "id",
2254
+ "tenant_id": "tenant_id",
2255
+ "organization_id": "organization_id",
2256
+ "name": "name",
2257
+ "purpose": "purpose",
2258
+ "company_name": "company_name",
2259
+ "address_line1": "address_line1",
2260
+ "address_line2": "address_line2",
2261
+ "city": "city",
2262
+ "region": "region",
2263
+ "postal_code": "postal_code",
2264
+ "country": "country",
2265
+ "building_number": "building_number",
2266
+ "flat_number": "flat_number",
2267
+ "latitude": "latitude",
2268
+ "longitude": "longitude",
2269
+ "is_primary": "is_primary",
2270
+ "created_at": "created_at",
2271
+ "updated_at": "updated_at",
2272
+ "member": "member"
2273
+ },
2274
+ "staff_team_member_comment": {
2275
+ "id": "id",
2276
+ "tenant_id": "tenant_id",
2277
+ "organization_id": "organization_id",
2278
+ "body": "body",
2279
+ "author_user_id": "author_user_id",
2280
+ "appearance_icon": "appearance_icon",
2281
+ "appearance_color": "appearance_color",
2282
+ "created_at": "created_at",
2283
+ "updated_at": "updated_at",
2284
+ "deleted_at": "deleted_at",
2285
+ "member": "member"
2286
+ },
2287
+ "staff_team_member_job_history": {
2288
+ "id": "id",
2289
+ "tenant_id": "tenant_id",
2290
+ "organization_id": "organization_id",
2291
+ "name": "name",
2292
+ "company_name": "company_name",
2293
+ "description": "description",
2294
+ "start_date": "start_date",
2295
+ "end_date": "end_date",
2296
+ "created_at": "created_at",
2297
+ "updated_at": "updated_at",
2298
+ "member": "member"
2299
+ },
2300
+ "staff_team_role": {
2301
+ "id": "id",
2302
+ "tenant_id": "tenant_id",
2303
+ "organization_id": "organization_id",
2304
+ "team_id": "team_id",
2305
+ "name": "name",
2306
+ "description": "description",
2307
+ "appearance_icon": "appearance_icon",
2308
+ "appearance_color": "appearance_color",
2309
+ "created_at": "created_at",
2310
+ "updated_at": "updated_at",
2311
+ "deleted_at": "deleted_at"
2312
+ },
2313
+ "step_instance": {
2314
+ "id": "id",
2315
+ "workflow_instance_id": "workflow_instance_id",
2316
+ "step_id": "step_id",
2317
+ "step_name": "step_name",
2318
+ "step_type": "step_type",
2319
+ "status": "status",
2320
+ "input_data": "input_data",
2321
+ "output_data": "output_data",
2322
+ "error_data": "error_data",
2323
+ "entered_at": "entered_at",
2324
+ "exited_at": "exited_at",
2325
+ "execution_time_ms": "execution_time_ms",
2326
+ "retry_count": "retry_count",
2327
+ "tenant_id": "tenant_id",
2328
+ "organization_id": "organization_id",
2329
+ "created_at": "created_at",
2330
+ "updated_at": "updated_at"
2331
+ },
2332
+ "sync_cursor": {
2333
+ "id": "id",
2334
+ "integration_id": "integration_id",
2335
+ "entity_type": "entity_type",
2336
+ "direction": "direction",
2337
+ "cursor": "cursor",
2338
+ "organization_id": "organization_id",
2339
+ "tenant_id": "tenant_id",
2340
+ "updated_at": "updated_at"
2341
+ },
2342
+ "sync_external_id_mapping": {
2343
+ "id": "id",
2344
+ "integration_id": "integration_id",
2345
+ "internal_entity_type": "internal_entity_type",
2346
+ "internal_entity_id": "internal_entity_id",
2347
+ "external_id": "external_id",
2348
+ "sync_status": "sync_status",
2349
+ "last_synced_at": "last_synced_at",
2350
+ "organization_id": "organization_id",
2351
+ "tenant_id": "tenant_id",
2352
+ "created_at": "created_at",
2353
+ "updated_at": "updated_at",
2354
+ "deleted_at": "deleted_at"
2355
+ },
2356
+ "sync_mapping": {
2357
+ "id": "id",
2358
+ "integration_id": "integration_id",
2359
+ "entity_type": "entity_type",
2360
+ "mapping": "mapping",
2361
+ "organization_id": "organization_id",
2362
+ "tenant_id": "tenant_id",
2363
+ "created_at": "created_at",
2364
+ "updated_at": "updated_at"
2365
+ },
2366
+ "sync_run": {
2367
+ "id": "id",
2368
+ "integration_id": "integration_id",
2369
+ "entity_type": "entity_type",
2370
+ "direction": "direction",
2371
+ "status": "status",
2372
+ "cursor": "cursor",
2373
+ "initial_cursor": "initial_cursor",
2374
+ "created_count": "created_count",
2375
+ "updated_count": "updated_count",
2376
+ "skipped_count": "skipped_count",
2377
+ "failed_count": "failed_count",
2378
+ "batches_completed": "batches_completed",
2379
+ "last_error": "last_error",
2380
+ "progress_job_id": "progress_job_id",
2381
+ "job_id": "job_id",
2382
+ "triggered_by": "triggered_by",
2383
+ "organization_id": "organization_id",
2384
+ "tenant_id": "tenant_id",
2385
+ "created_at": "created_at",
2386
+ "updated_at": "updated_at",
2387
+ "deleted_at": "deleted_at"
2388
+ },
2389
+ "sync_schedule": {
2390
+ "id": "id",
2391
+ "integration_id": "integration_id",
2392
+ "entity_type": "entity_type",
2393
+ "direction": "direction",
2394
+ "schedule_type": "schedule_type",
2395
+ "schedule_value": "schedule_value",
2396
+ "timezone": "timezone",
2397
+ "full_sync": "full_sync",
2398
+ "is_enabled": "is_enabled",
2399
+ "scheduled_job_id": "scheduled_job_id",
2400
+ "last_run_at": "last_run_at",
2401
+ "organization_id": "organization_id",
2402
+ "tenant_id": "tenant_id",
2403
+ "created_at": "created_at",
2404
+ "updated_at": "updated_at",
2405
+ "deleted_at": "deleted_at"
2406
+ },
2407
+ "tenant": {
2408
+ "id": "id",
2409
+ "name": "name",
2410
+ "is_active": "is_active",
2411
+ "created_at": "created_at",
2412
+ "updated_at": "updated_at",
2413
+ "deleted_at": "deleted_at",
2414
+ "organizations": "organizations"
2415
+ },
2416
+ "upgrade_action_run": {
2417
+ "id": "id",
2418
+ "version": "version",
2419
+ "action_id": "action_id",
2420
+ "organization_id": "organization_id",
2421
+ "tenant_id": "tenant_id",
2422
+ "completed_at": "completed_at",
2423
+ "created_at": "created_at"
2424
+ },
2425
+ "user": {
2426
+ "id": "id",
2427
+ "tenant_id": "tenant_id",
2428
+ "organization_id": "organization_id",
2429
+ "email": "email",
2430
+ "email_hash": "email_hash",
2431
+ "name": "name",
2432
+ "password_hash": "password_hash",
2433
+ "is_confirmed": "is_confirmed",
2434
+ "last_login_at": "last_login_at",
2435
+ "created_at": "created_at",
2436
+ "deleted_at": "deleted_at"
2437
+ },
2438
+ "user_acl": {
2439
+ "id": "id",
2440
+ "user": "user",
2441
+ "tenant_id": "tenant_id",
2442
+ "features_json": "features_json",
2443
+ "is_super_admin": "is_super_admin",
2444
+ "organizations_json": "organizations_json",
2445
+ "created_at": "created_at",
2446
+ "updated_at": "updated_at",
2447
+ "deleted_at": "deleted_at"
2448
+ },
2449
+ "user_consent": {
2450
+ "id": "id",
2451
+ "user_id": "user_id",
2452
+ "tenant_id": "tenant_id",
2453
+ "organization_id": "organization_id",
2454
+ "consent_type": "consent_type",
2455
+ "is_granted": "is_granted",
2456
+ "granted_at": "granted_at",
2457
+ "withdrawn_at": "withdrawn_at",
2458
+ "source": "source",
2459
+ "ip_address": "ip_address",
2460
+ "integrity_hash": "integrity_hash",
2461
+ "created_at": "created_at",
2462
+ "updated_at": "updated_at",
2463
+ "deleted_at": "deleted_at"
2464
+ },
2465
+ "user_role": {
2466
+ "id": "id",
2467
+ "user": "user",
2468
+ "role": "role",
2469
+ "created_at": "created_at",
2470
+ "deleted_at": "deleted_at"
2471
+ },
2472
+ "user_sidebar_preference": {
2473
+ "id": "id",
2474
+ "user": "user",
2475
+ "tenant_id": "tenant_id",
2476
+ "organization_id": "organization_id",
2477
+ "locale": "locale",
2478
+ "settings_json": "settings_json",
2479
+ "created_at": "created_at",
2480
+ "updated_at": "updated_at",
2481
+ "deleted_at": "deleted_at"
2482
+ },
2483
+ "user_task": {
2484
+ "id": "id",
2485
+ "workflow_instance_id": "workflow_instance_id",
2486
+ "step_instance_id": "step_instance_id",
2487
+ "task_name": "task_name",
2488
+ "description": "description",
2489
+ "status": "status",
2490
+ "form_schema": "form_schema",
2491
+ "form_data": "form_data",
2492
+ "assigned_to": "assigned_to",
2493
+ "assigned_to_roles": "assigned_to_roles",
2494
+ "claimed_by": "claimed_by",
2495
+ "claimed_at": "claimed_at",
2496
+ "due_date": "due_date",
2497
+ "escalated_at": "escalated_at",
2498
+ "escalated_to": "escalated_to",
2499
+ "completed_by": "completed_by",
2500
+ "completed_at": "completed_at",
2501
+ "comments": "comments",
2502
+ "tenant_id": "tenant_id",
2503
+ "organization_id": "organization_id",
2504
+ "created_at": "created_at",
2505
+ "updated_at": "updated_at"
2506
+ },
2507
+ "webhook_processed_event": {
2508
+ "id": "id",
2509
+ "provider_key": "provider_key",
2510
+ "idempotency_key": "idempotency_key",
2511
+ "event_type": "event_type",
2512
+ "organization_id": "organization_id",
2513
+ "tenant_id": "tenant_id",
2514
+ "processed_at": "processed_at"
2515
+ },
2516
+ "workflow_definition": {
2517
+ "id": "id",
2518
+ "workflow_id": "workflow_id",
2519
+ "workflow_name": "workflow_name",
2520
+ "description": "description",
2521
+ "version": "version",
2522
+ "definition": "definition",
2523
+ "metadata": "metadata",
2524
+ "enabled": "enabled",
2525
+ "effective_from": "effective_from",
2526
+ "effective_to": "effective_to",
2527
+ "tenant_id": "tenant_id",
2528
+ "organization_id": "organization_id",
2529
+ "created_by": "created_by",
2530
+ "updated_by": "updated_by",
2531
+ "created_at": "created_at",
2532
+ "updated_at": "updated_at",
2533
+ "deleted_at": "deleted_at"
2534
+ },
2535
+ "workflow_event": {
2536
+ "id": "id",
2537
+ "workflow_instance_id": "workflow_instance_id",
2538
+ "step_instance_id": "step_instance_id",
2539
+ "event_type": "event_type",
2540
+ "event_data": "event_data",
2541
+ "occurred_at": "occurred_at",
2542
+ "user_id": "user_id",
2543
+ "tenant_id": "tenant_id",
2544
+ "organization_id": "organization_id"
2545
+ },
2546
+ "workflow_event_trigger": {
2547
+ "id": "id",
2548
+ "name": "name",
2549
+ "description": "description",
2550
+ "workflow_definition_id": "workflow_definition_id",
2551
+ "event_pattern": "event_pattern",
2552
+ "config": "config",
2553
+ "enabled": "enabled",
2554
+ "priority": "priority",
2555
+ "tenant_id": "tenant_id",
2556
+ "organization_id": "organization_id",
2557
+ "created_by": "created_by",
2558
+ "updated_by": "updated_by",
2559
+ "created_at": "created_at",
2560
+ "updated_at": "updated_at",
2561
+ "deleted_at": "deleted_at"
2562
+ },
2563
+ "workflow_instance": {
2564
+ "id": "id",
2565
+ "definition_id": "definition_id",
2566
+ "workflow_id": "workflow_id",
2567
+ "version": "version",
2568
+ "status": "status",
2569
+ "current_step_id": "current_step_id",
2570
+ "context": "context",
2571
+ "correlation_key": "correlation_key",
2572
+ "metadata": "metadata",
2573
+ "started_at": "started_at",
2574
+ "completed_at": "completed_at",
2575
+ "paused_at": "paused_at",
2576
+ "cancelled_at": "cancelled_at",
2577
+ "error_message": "error_message",
2578
+ "error_details": "error_details",
2579
+ "pending_transition": "pending_transition",
2580
+ "retry_count": "retry_count",
2581
+ "tenant_id": "tenant_id",
2582
+ "organization_id": "organization_id",
2583
+ "created_at": "created_at",
2584
+ "updated_at": "updated_at",
2585
+ "deleted_at": "deleted_at"
2586
+ }
318
2587
  };
319
2588
  function getEntityFields(slug) {
320
2589
  return entityFieldsRegistry[slug];