procbay-schema 1.0.0

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 (280) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +189 -0
  3. package/package.json +77 -0
  4. package/prisma/.env +13 -0
  5. package/prisma/migrations/20250116142512_init_user_table/migration.sql +38 -0
  6. package/prisma/migrations/20250116142709_init_role_table/migration.sql +20 -0
  7. package/prisma/migrations/20250116143847_init_user_role_table/migration.sql +20 -0
  8. package/prisma/migrations/20250116144035_init_permission_table/migration.sql +21 -0
  9. package/prisma/migrations/20250116144140_init_role_permission_table/migration.sql +21 -0
  10. package/prisma/migrations/20250116144233_init_department_table/migration.sql +20 -0
  11. package/prisma/migrations/20250116144345_init_user_department_table/migration.sql +20 -0
  12. package/prisma/migrations/20250116152941_init_serial_number_table/migration.sql +17 -0
  13. package/prisma/migrations/20250116153048_init_category_table/migration.sql +22 -0
  14. package/prisma/migrations/20250116153415_init_attributes_table/migration.sql +28 -0
  15. package/prisma/migrations/20250116153628_init_attribute_values_table/migration.sql +27 -0
  16. package/prisma/migrations/20250116153900_init_purchase_intake_table/migration.sql +32 -0
  17. package/prisma/migrations/20250116154038_init_purchase_intake_item_table/migration.sql +15 -0
  18. package/prisma/migrations/20250120090355_added_reset_token_column_in_user_table/migration.sql +10 -0
  19. package/prisma/migrations/20250120100616_init_item_table/migration.sql +42 -0
  20. package/prisma/migrations/20250120123720_init_vendor_table/migration.sql +39 -0
  21. package/prisma/migrations/20250120124526_init_vendor_categories_table/migration.sql +20 -0
  22. package/prisma/migrations/20250122114935_added_email_template_and_smtp_config_table/migration.sql +41 -0
  23. package/prisma/migrations/20250123095637_chnages_in_vendr_table/migration.sql +3 -0
  24. package/prisma/migrations/20250123103705_added_delated_filed_in_email_template_table/migration.sql +4 -0
  25. package/prisma/migrations/20250123103810_added_delated_filed_in_smtp_config_table/migration.sql +13 -0
  26. package/prisma/migrations/20250127123900_create_approval_heirarchy_table/migration.sql +72 -0
  27. package/prisma/migrations/20250128054523_make_optional_role_and_user_in_approval_hierachy/migration.sql +3 -0
  28. package/prisma/migrations/20250129084223_item_table_chnages/migration.sql +151 -0
  29. package/prisma/migrations/20250130115331_chnages_in_item_table/migration.sql +9 -0
  30. package/prisma/migrations/20250131054132_added_approval_journey_table/migration.sql +22 -0
  31. package/prisma/migrations/20250131064653_added_default_for_product_id_in_item_table/migration.sql +2 -0
  32. package/prisma/migrations/20250204101253_chnages_in_approval_table/migration.sql +39 -0
  33. package/prisma/migrations/20250206091422_added_item_document_table/migration.sql +17 -0
  34. package/prisma/migrations/20250207113110_added_new_column_media/migration.sql +9 -0
  35. package/prisma/migrations/20250207125224_added_chnages_in_pr_table/migration.sql +12 -0
  36. package/prisma/migrations/20250212092048_vendor_contact_table/migration.sql +30 -0
  37. package/prisma/migrations/20250212133620_added_tamplate_master_table/migration.sql +43 -0
  38. package/prisma/migrations/20250213111908_created_faq_catgory_and_faq_table/migration.sql +58 -0
  39. package/prisma/migrations/20250214065142_chnages_in_uom_table/migration.sql +50 -0
  40. package/prisma/migrations/20250217061122_corrected_email_teamplate_table/migration.sql +11 -0
  41. package/prisma/migrations/20250218073530_init_events/migration.sql +120 -0
  42. package/prisma/migrations/20250218092119_corrected_table_name/migration.sql +37 -0
  43. package/prisma/migrations/20250218120935_chnages_in_event_table/migration.sql +5 -0
  44. package/prisma/migrations/20250219083326_added_new_table_for_event_startegy/migration.sql +60 -0
  45. package/prisma/migrations/20250219083416_added_cms_table/migration.sql +29 -0
  46. package/prisma/migrations/20250219092918_alter_event_table/migration.sql +5 -0
  47. package/prisma/migrations/20250219093046_alter_event_to_draft/migration.sql +2 -0
  48. package/prisma/migrations/20250220080337_altered_event_table/migration.sql +9 -0
  49. package/prisma/migrations/20250221105922_added_unique_to_email_in_user_table/migration.sql +8 -0
  50. package/prisma/migrations/20250225063838_created_vendor_kyc_table/migration.sql +23 -0
  51. package/prisma/migrations/20250227060646_template_field_types_added_enum/migration.sql +14 -0
  52. package/prisma/migrations/20250227110306_updated_event_items_and_event_vendor_table/migration.sql +7 -0
  53. package/prisma/migrations/20250228060440_added_country_code_in_vendor_contact_person/migration.sql +2 -0
  54. package/prisma/migrations/20250228095319_init_currencies_table/migration.sql +23 -0
  55. package/prisma/migrations/20250303082614_added_support_ticket_table/migration.sql +89 -0
  56. package/prisma/migrations/20250304050248_alter_support_ticket_relations/migration.sql +35 -0
  57. package/prisma/migrations/20250304050613_alter_support_ticket_realtions/migration.sql +36 -0
  58. package/prisma/migrations/20250304061954_init_support_category_table/migration.sql +261 -0
  59. package/prisma/migrations/20250304092346_alter_event_vendor_table/migration.sql +2 -0
  60. package/prisma/migrations/20250305065430_alter_vendor_kyc_table/migration.sql +2 -0
  61. package/prisma/migrations/20250305111735_alter_vendor_and_user_table/migration.sql +5 -0
  62. package/prisma/migrations/20250307033751_alter_token_version_in_user_and_vendor_token/migration.sql +5 -0
  63. package/prisma/migrations/20250307034907_alter_user_and_vendor_table/migration.sql +14 -0
  64. package/prisma/migrations/20250307064359_chnages_in_approval_herarcy_table/migration.sql +2 -0
  65. package/prisma/migrations/20250307105352_alter_itme_and_vendorkyc_table/migration.sql +21 -0
  66. package/prisma/migrations/20250310103914_init_vendor_status_table/migration.sql +21 -0
  67. package/prisma/migrations/20250310105209_alter_vendor_status_table/migration.sql +18 -0
  68. package/prisma/migrations/20250310105413_init_vendor_kyc_status_table/migration.sql +23 -0
  69. package/prisma/migrations/20250311090552_alter_vendor_kyc_status_table/migration.sql +2 -0
  70. package/prisma/migrations/20250312055258_alter_status_column_in_event_vendors/migration.sql +12 -0
  71. package/prisma/migrations/20250312072145_init_vendor_event_watchlist_table/migration.sql +26 -0
  72. package/prisma/migrations/20250312083842_alter_vendor_event_watchlisst_table/migration.sql +41 -0
  73. package/prisma/migrations/20250312134730_added_chnages_in_kyc_table/migration.sql +19 -0
  74. package/prisma/migrations/20250317040841_init_admin_and_vendor_tables/migration.sql +38 -0
  75. package/prisma/migrations/20250317044110_alter_event_vendor_table/migration.sql +2 -0
  76. package/prisma/migrations/20250317071807_alter_rejected_reason_in_approval_journey_and_purchase_intak_table/migration.sql +5 -0
  77. package/prisma/migrations/20250318085504_init_customer_notification_table/migration.sql +31 -0
  78. package/prisma/migrations/20250318085856_alter_purchase_intake_table/migration.sql +18 -0
  79. package/prisma/migrations/20250319085159_alter_purchase_intake_table/migration.sql +12 -0
  80. package/prisma/migrations/20250320093356_init_bid_and_bidlog_table/migration.sql +75 -0
  81. package/prisma/migrations/20250320095501_alter_email_template_table/migration.sql +2 -0
  82. package/prisma/migrations/20250321053926_alter_approval_journey_table/migration.sql +2 -0
  83. package/prisma/migrations/20250324040851_alter_bidlog_table/migration.sql +2 -0
  84. package/prisma/migrations/20250324091328_init_form_master_and_dynamic_form_table/migration.sql +53 -0
  85. package/prisma/migrations/20250324103742_alter_bidlog_table/migration.sql +5 -0
  86. package/prisma/migrations/20250325052714_alter_form_master_table/migration.sql +27 -0
  87. package/prisma/migrations/20250327011625_init_module_and_tenant_configuration_table/migration.sql +39 -0
  88. package/prisma/migrations/20250403054008_alter_purchase_intake_table/migration.sql +5 -0
  89. package/prisma/migrations/20250404115613_init_approval_level_user/migration.sql +98 -0
  90. package/prisma/migrations/20250410060521_alter_approval_journey_enums/migration.sql +12 -0
  91. package/prisma/migrations/20250410110823_alter_purchase_intake/migration.sql +2 -0
  92. package/prisma/migrations/20250411062955_alter_template_field_table/migration.sql +2 -0
  93. package/prisma/migrations/20250414065640_alter_template/migration.sql +2 -0
  94. package/prisma/migrations/20250414111856_alter_event_vendors/migration.sql +2 -0
  95. package/prisma/migrations/20250414125356_alter_event_vendor/migration.sql +9 -0
  96. package/prisma/migrations/20250415063558_alter_alert_type_enum/migration.sql +2 -0
  97. package/prisma/migrations/20250416062508_alter_purchase_intake_table/migration.sql +15 -0
  98. package/prisma/migrations/20250417090325_alter_purchase_intake_table_updated_enum/migration.sql +13 -0
  99. package/prisma/migrations/20250417111024_alter_purchase_intake_and_purchase_intake_item/migration.sql +16 -0
  100. package/prisma/migrations/20250421061732_init_quotation_and_quotation_log_tables/migration.sql +96 -0
  101. package/prisma/migrations/20250421112331_alter_item_table_added_unique_to_slug/migration.sql +8 -0
  102. package/prisma/migrations/20250422060655_init_user_activity_table/migration.sql +17 -0
  103. package/prisma/migrations/20250423053027_/migration.sql +9 -0
  104. package/prisma/migrations/20250423103233_alter_user_login_activity_table/migration.sql +5 -0
  105. package/prisma/migrations/20250423111141_init_location_tables/migration.sql +141 -0
  106. package/prisma/migrations/20250424120106_alter_event_table_added_user_relation/migration.sql +2 -0
  107. package/prisma/migrations/20250424141637_alter_states_table/migration.sql +11 -0
  108. package/prisma/migrations/20250425105131_alter_user_login_activity_table/migration.sql +9 -0
  109. package/prisma/migrations/20250428092626_alter_location_tables/migration.sql +34 -0
  110. package/prisma/migrations/20250428114301_alter_location_table/migration.sql +14 -0
  111. package/prisma/migrations/20250429103436_alter_event_vendor_table/migration.sql +14 -0
  112. package/prisma/migrations/20250429135621_alter_event_vendor_table/migration.sql +5 -0
  113. package/prisma/migrations/20250430094809_alter_form_master_table_added_user_relation/migration.sql +2 -0
  114. package/prisma/migrations/20250430103440_alter_event_table/migration.sql +3 -0
  115. package/prisma/migrations/20250501125411_alter_strategies_table/migration.sql +2 -0
  116. package/prisma/migrations/20250502065554_init_location_table/migration.sql +41 -0
  117. package/prisma/migrations/20250505104038_alter_bid_quotation_and_dynamic_form/migration.sql +22 -0
  118. package/prisma/migrations/20250505105253_alter_quotation/migration.sql +5 -0
  119. package/prisma/migrations/20250505124851_alter_alert_enum/migration.sql +56 -0
  120. package/prisma/migrations/20250505133250_init_sub_module_table/migration.sql +17 -0
  121. package/prisma/migrations/20250506054325_alter_event_vendor_bid_status/migration.sql +14 -0
  122. package/prisma/migrations/20250506102135_init_counter_offer_table/migration.sql +38 -0
  123. package/prisma/migrations/20250506103355_alter_bid_and_quotaion_table/migration.sql +5 -0
  124. package/prisma/migrations/20250506110309_alter_tenant_configuration_table/migration.sql +3 -0
  125. package/prisma/migrations/20250506123527_alter_vendor_kyu_infor_verification_status/migration.sql +2 -0
  126. package/prisma/migrations/20250507055536_alter_dynamic_form_table/migration.sql +2 -0
  127. package/prisma/migrations/20250507070518_alter_bid_log_and_quotation_log/migration.sql +15 -0
  128. package/prisma/migrations/20250507130834_alter_bid_status/migration.sql +10 -0
  129. package/prisma/migrations/20250508065503_alter_purchase_intake_item_table/migration.sql +16 -0
  130. package/prisma/migrations/20250508130119_alter_purchase_intake_item/migration.sql +13 -0
  131. package/prisma/migrations/20250512082244_altered_template_table_to_add_currency_id/migration.sql +12 -0
  132. package/prisma/migrations/20250512100817_alter_approval_journey_table/migration.sql +3 -0
  133. package/prisma/migrations/20250513083700_alter_item_table/migration.sql +2 -0
  134. package/prisma/migrations/20250514100915_alter_event_table_added_template_realtion/migration.sql +2 -0
  135. package/prisma/migrations/20250514103503_alter_vendor_table_added_is_kyc_approved_column/migration.sql +2 -0
  136. package/prisma/migrations/20250520131556_init_purchase_order_table/migration.sql +52 -0
  137. package/prisma/migrations/20250521113946_alter_purchase_order_status_enum/migration.sql +16 -0
  138. package/prisma/migrations/20250522083917_alter_event_vendor_bid_status_enum/migration.sql +17 -0
  139. package/prisma/migrations/20250522131610_updated_vendor_table/migration.sql +16 -0
  140. package/prisma/migrations/20250523051058_alter_vendor_kyc_verificaiton_status_enum/migration.sql +2 -0
  141. package/prisma/migrations/20250526072120_alter_vendor_table/migration.sql +16 -0
  142. package/prisma/migrations/20250527055351_init_purchase_order_activity_log/migration.sql +41 -0
  143. package/prisma/migrations/20250528060657_alter_item_tale/migration.sql +14 -0
  144. package/prisma/migrations/20250528061946_alter_event_item_table/migration.sql +5 -0
  145. package/prisma/migrations/20250528081337_alter_item_table/migration.sql +2 -0
  146. package/prisma/migrations/20250528081524_removed_item_id_from_item_table/migration.sql +11 -0
  147. package/prisma/migrations/20250528081843_alter_item_table/migration.sql +2 -0
  148. package/prisma/migrations/20250528094057_alter_alert_type_enum/migration.sql +11 -0
  149. package/prisma/migrations/20250529053721_alter_added_quantity_in_purchase_order/migration.sql +2 -0
  150. package/prisma/migrations/20250602055114_alter_approval_journey_parent_id_to_string/migration.sql +2 -0
  151. package/prisma/migrations/20250602055748_alter_event_configuration_added_rule_slug/migration.sql +2 -0
  152. package/prisma/migrations/20250602111042_init_user_vendor_socket_token_table/migration.sql +17 -0
  153. package/prisma/migrations/20250602125833_alter_bidlog_and_quoatationlog_tableto_add_json_field/migration.sql +5 -0
  154. package/prisma/migrations/20250603063501_alter_bid_and_quoatation_table/migration.sql +29 -0
  155. package/prisma/migrations/20250606015045_alter_quotation_log_table/migration.sql +2 -0
  156. package/prisma/migrations/20250606020918_alter_quotation_table/migration.sql +2 -0
  157. package/prisma/migrations/20250606022901_alter_quotation_log_table/migration.sql +3 -0
  158. package/prisma/migrations/20250606054914_init_event_activity_logs_table/migration.sql +35 -0
  159. package/prisma/migrations/20250606100634_alter_added_counter_offer_status/migration.sql +5 -0
  160. package/prisma/migrations/20250606100908_alter_counter_offer_table/migration.sql +2 -0
  161. package/prisma/migrations/20250610055710_alter_enum/migration.sql +16 -0
  162. package/prisma/migrations/20250610060558_alter_event_and_event_vendor_db/migration.sql +14 -0
  163. package/prisma/migrations/20250610091013_alter_purchase_intak_item_table/migration.sql +4 -0
  164. package/prisma/migrations/20250610100156_alter_purchase_intake_item_table/migration.sql +19 -0
  165. package/prisma/migrations/20250610125706_alter_event_table/migration.sql +6 -0
  166. package/prisma/migrations/20250610133613_added_timestamp/migration.sql +319 -0
  167. package/prisma/migrations/20250611090439_init_contact_us_table/migration.sql +23 -0
  168. package/prisma/migrations/20250611121005_alter_event_vendor_table/migration.sql +10 -0
  169. package/prisma/migrations/20250612064335_alter_tenant_configuration/migration.sql +3 -0
  170. package/prisma/migrations/20250612094643_alter_event_vendor_bid_status_enum/migration.sql +2 -0
  171. package/prisma/migrations/20250618074558_alter_updated_bid_status_and_quotation_status/migration.sql +21 -0
  172. package/prisma/migrations/20250618122242_alter_added_event_phase_closed/migration.sql +2 -0
  173. package/prisma/migrations/20250620054518_alter_event_phase/migration.sql +2 -0
  174. package/prisma/migrations/20250620062723_alter_event_phase/migration.sql +2 -0
  175. package/prisma/migrations/20250620063056_alter_event_phase/migration.sql +2 -0
  176. package/prisma/migrations/20250620100507_alter_event_phase/migration.sql +2 -0
  177. package/prisma/migrations/20250627104958_alter_counter_offer_status/migration.sql +2 -0
  178. package/prisma/migrations/20250702095923_alter_item_table/migration.sql +74 -0
  179. package/prisma/migrations/20250702120134_/migration.sql +14 -0
  180. package/prisma/migrations/20250702150717_alter_attribute_table/migration.sql +9 -0
  181. package/prisma/migrations/20250703090321_alter_item_table/migration.sql +2 -0
  182. package/prisma/migrations/20250707054625_alter_purchase_order_table/migration.sql +15 -0
  183. package/prisma/migrations/20250707111354_alter_purchase_order_table_and_init_purchase_order_item_table/migration.sql +39 -0
  184. package/prisma/migrations/20250707111522_alter_purchase_order_item_table/migration.sql +17 -0
  185. package/prisma/migrations/20250710054113_alter_bid_and_quotation_status/migration.sql +31 -0
  186. package/prisma/migrations/20250710070813_alter_event_status/migration.sql +2 -0
  187. package/prisma/migrations/20250710082332_alter_bid_and_quotations_table/migration.sql +36 -0
  188. package/prisma/migrations/20250714102325_init_upload_log_table/migration.sql +27 -0
  189. package/prisma/migrations/20250716061012_alter_event_activity_logs_to_activity_logs/migration.sql +48 -0
  190. package/prisma/migrations/20250716071839_init_chat_thread_chat_message_and_ai_models/migration.sql +56 -0
  191. package/prisma/migrations/20250716135548_alter_admin_alerts_enum/migration.sql +2 -0
  192. package/prisma/migrations/20250717100515_init_user_event_configuration/migration.sql +21 -0
  193. package/prisma/migrations/20250717101037_alter_user_event_configuration_table/migration.sql +19 -0
  194. package/prisma/migrations/20250718071630_alter_added_module_in_upload_logs_table/migration.sql +5 -0
  195. package/prisma/migrations/20250718071732_alter_module_enum/migration.sql +15 -0
  196. package/prisma/migrations/20250721054851_init_export_log_table/migration.sql +34 -0
  197. package/prisma/migrations/20250722054549_init_fiscal_year_table/migration.sql +22 -0
  198. package/prisma/migrations/20250722072051_alter_fiscal_year_table_added_uuid/migration.sql +14 -0
  199. package/prisma/migrations/20250722095259_alter_fiscal_table/migration.sql +9 -0
  200. package/prisma/migrations/20250723071050_alter_department_table/migration.sql +14 -0
  201. package/prisma/migrations/20250724071201_alter_export_upload_log_enum/migration.sql +8 -0
  202. package/prisma/migrations/20250725094759_new_migrate/migration.sql +2 -0
  203. package/prisma/migrations/20250725095012_alter_migration/migration.sql +2 -0
  204. package/prisma/migrations/20250728072402_init_budget_management_tables/migration.sql +80 -0
  205. package/prisma/migrations/migration_lock.toml +3 -0
  206. package/prisma/schema.prisma +2609 -0
  207. package/prisma/seeders/approval-hierarchy.seed.js +340 -0
  208. package/prisma/seeders/attribute-value.seed.js +64 -0
  209. package/prisma/seeders/attribute.seed.js +61 -0
  210. package/prisma/seeders/category.seed.js +133 -0
  211. package/prisma/seeders/city.seed.js +147 -0
  212. package/prisma/seeders/country.seed.js +282 -0
  213. package/prisma/seeders/currency.seed.js +41 -0
  214. package/prisma/seeders/customer-notification.seed.js +83 -0
  215. package/prisma/seeders/department.seed.js +38 -0
  216. package/prisma/seeders/docs/CORE_SEEDER_OPTIMIZATIONS.md +270 -0
  217. package/prisma/seeders/docs/GEOGRAPHIC_PERFORMANCE_OPTIMIZATIONS.md +175 -0
  218. package/prisma/seeders/dynamic-form.seed.js +135 -0
  219. package/prisma/seeders/email-template.seed.js +68 -0
  220. package/prisma/seeders/faq-category.seed.js +56 -0
  221. package/prisma/seeders/faq.seed.js +61 -0
  222. package/prisma/seeders/form-master.seed.js +55 -0
  223. package/prisma/seeders/item.seed.js +133 -0
  224. package/prisma/seeders/permission.seed.js +102 -0
  225. package/prisma/seeders/region.seed.js +78 -0
  226. package/prisma/seeders/role-permission.seed.js +70 -0
  227. package/prisma/seeders/role.seed.js +38 -0
  228. package/prisma/seeders/seed.js +553 -0
  229. package/prisma/seeders/serial-number-config.seed.js +58 -0
  230. package/prisma/seeders/smtp-config.seed.js +61 -0
  231. package/prisma/seeders/state.seed.js +170 -0
  232. package/prisma/seeders/strategies.seed.js +54 -0
  233. package/prisma/seeders/subregion.seed.js +88 -0
  234. package/prisma/seeders/support-category.seed.js +56 -0
  235. package/prisma/seeders/template.seed.js +87 -0
  236. package/prisma/seeders/test-core-seeders.js +276 -0
  237. package/prisma/seeders/user-department.seed.js +66 -0
  238. package/prisma/seeders/user-event-configuration.seed.js +47 -0
  239. package/prisma/seeders/user-role.seed.js +74 -0
  240. package/prisma/seeders/user.seed.js +114 -0
  241. package/prisma/seeders/utils/bulk-seeder.js +300 -0
  242. package/prisma/seeders/utils/config.js +103 -0
  243. package/prisma/seeders/utils/connection-manager.js +380 -0
  244. package/prisma/seeders/utils/content-seeder.js +472 -0
  245. package/prisma/seeders/utils/core-seeder.js +330 -0
  246. package/prisma/seeders/utils/json-loader.js +69 -0
  247. package/prisma/seeders/utils/performance-config.js +341 -0
  248. package/prisma/seeders/utils/performance-helpers.js +206 -0
  249. package/prisma/seeders/utils/progress-tracker.js +364 -0
  250. package/prisma/seeders/utils/seeder-config-mapper.js +316 -0
  251. package/scripts/seed-databases.js +873 -0
  252. package/scripts/sync-schemas.js +865 -0
  253. package/scripts/truncate-tables.js +1048 -0
  254. package/src/prisma/client.d.ts +1 -0
  255. package/src/prisma/client.js +4 -0
  256. package/src/prisma/default.d.ts +1 -0
  257. package/src/prisma/default.js +4 -0
  258. package/src/prisma/edge.d.ts +1 -0
  259. package/src/prisma/edge.js +2084 -0
  260. package/src/prisma/index-browser.js +2043 -0
  261. package/src/prisma/index.d.ts +202051 -0
  262. package/src/prisma/index.js +2113 -0
  263. package/src/prisma/libquery_engine-darwin.dylib.node +0 -0
  264. package/src/prisma/libquery_engine-darwin.dylib.node.tmp24628 +0 -0
  265. package/src/prisma/libquery_engine-darwin.dylib.node.tmp29464 +0 -0
  266. package/src/prisma/libquery_engine-debian-openssl-3.0.x.so.node +0 -0
  267. package/src/prisma/package.json +140 -0
  268. package/src/prisma/query_engine-windows.dll.node +0 -0
  269. package/src/prisma/query_engine-windows.dll.node.tmp4144 +0 -0
  270. package/src/prisma/runtime/edge-esm.js +34 -0
  271. package/src/prisma/runtime/edge.js +34 -0
  272. package/src/prisma/runtime/index-browser.d.ts +370 -0
  273. package/src/prisma/runtime/index-browser.js +16 -0
  274. package/src/prisma/runtime/library.d.ts +3647 -0
  275. package/src/prisma/runtime/library.js +146 -0
  276. package/src/prisma/runtime/react-native.js +83 -0
  277. package/src/prisma/runtime/wasm.js +35 -0
  278. package/src/prisma/schema.prisma +2609 -0
  279. package/src/prisma/wasm.d.ts +1 -0
  280. package/src/prisma/wasm.js +2043 -0
@@ -0,0 +1,2043 @@
1
+
2
+ /* !!! This is code generated by Prisma. Do not edit directly. !!!
3
+ /* eslint-disable */
4
+
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+
7
+ const {
8
+ Decimal,
9
+ objectEnumValues,
10
+ makeStrictEnum,
11
+ Public,
12
+ getRuntime,
13
+ skip
14
+ } = require('./runtime/index-browser.js')
15
+
16
+
17
+ const Prisma = {}
18
+
19
+ exports.Prisma = Prisma
20
+ exports.$Enums = {}
21
+
22
+ /**
23
+ * Prisma Client JS version: 6.7.0
24
+ * Query Engine version: 3cff47a7f5d65c3ea74883f1d736e41d68ce91ed
25
+ */
26
+ Prisma.prismaVersion = {
27
+ client: "6.7.0",
28
+ engine: "3cff47a7f5d65c3ea74883f1d736e41d68ce91ed"
29
+ }
30
+
31
+ Prisma.PrismaClientKnownRequestError = () => {
32
+ const runtimeName = getRuntime().prettyName;
33
+ throw new Error(`PrismaClientKnownRequestError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
34
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
35
+ )};
36
+ Prisma.PrismaClientUnknownRequestError = () => {
37
+ const runtimeName = getRuntime().prettyName;
38
+ throw new Error(`PrismaClientUnknownRequestError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
39
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
40
+ )}
41
+ Prisma.PrismaClientRustPanicError = () => {
42
+ const runtimeName = getRuntime().prettyName;
43
+ throw new Error(`PrismaClientRustPanicError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
44
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
45
+ )}
46
+ Prisma.PrismaClientInitializationError = () => {
47
+ const runtimeName = getRuntime().prettyName;
48
+ throw new Error(`PrismaClientInitializationError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
49
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
50
+ )}
51
+ Prisma.PrismaClientValidationError = () => {
52
+ const runtimeName = getRuntime().prettyName;
53
+ throw new Error(`PrismaClientValidationError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
54
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
55
+ )}
56
+ Prisma.Decimal = Decimal
57
+
58
+ /**
59
+ * Re-export of sql-template-tag
60
+ */
61
+ Prisma.sql = () => {
62
+ const runtimeName = getRuntime().prettyName;
63
+ throw new Error(`sqltag is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
64
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
65
+ )}
66
+ Prisma.empty = () => {
67
+ const runtimeName = getRuntime().prettyName;
68
+ throw new Error(`empty is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
69
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
70
+ )}
71
+ Prisma.join = () => {
72
+ const runtimeName = getRuntime().prettyName;
73
+ throw new Error(`join is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
74
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
75
+ )}
76
+ Prisma.raw = () => {
77
+ const runtimeName = getRuntime().prettyName;
78
+ throw new Error(`raw is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
79
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
80
+ )}
81
+ Prisma.validator = Public.validator
82
+
83
+ /**
84
+ * Extensions
85
+ */
86
+ Prisma.getExtensionContext = () => {
87
+ const runtimeName = getRuntime().prettyName;
88
+ throw new Error(`Extensions.getExtensionContext is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
89
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
90
+ )}
91
+ Prisma.defineExtension = () => {
92
+ const runtimeName = getRuntime().prettyName;
93
+ throw new Error(`Extensions.defineExtension is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
94
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
95
+ )}
96
+
97
+ /**
98
+ * Shorthand utilities for JSON filtering
99
+ */
100
+ Prisma.DbNull = objectEnumValues.instances.DbNull
101
+ Prisma.JsonNull = objectEnumValues.instances.JsonNull
102
+ Prisma.AnyNull = objectEnumValues.instances.AnyNull
103
+
104
+ Prisma.NullTypes = {
105
+ DbNull: objectEnumValues.classes.DbNull,
106
+ JsonNull: objectEnumValues.classes.JsonNull,
107
+ AnyNull: objectEnumValues.classes.AnyNull
108
+ }
109
+
110
+
111
+
112
+ /**
113
+ * Enums
114
+ */
115
+
116
+ exports.Prisma.TransactionIsolationLevel = makeStrictEnum({
117
+ ReadUncommitted: 'ReadUncommitted',
118
+ ReadCommitted: 'ReadCommitted',
119
+ RepeatableRead: 'RepeatableRead',
120
+ Serializable: 'Serializable'
121
+ });
122
+
123
+ exports.Prisma.SerialNumberConfigurationScalarFieldEnum = {
124
+ id: 'id',
125
+ module: 'module',
126
+ alias: 'alias',
127
+ initial_number: 'initial_number',
128
+ current_number: 'current_number',
129
+ created_at: 'created_at'
130
+ };
131
+
132
+ exports.Prisma.UserScalarFieldEnum = {
133
+ id: 'id',
134
+ uuid: 'uuid',
135
+ unique_id: 'unique_id',
136
+ name: 'name',
137
+ first_name: 'first_name',
138
+ middle_name: 'middle_name',
139
+ last_name: 'last_name',
140
+ email_id: 'email_id',
141
+ password: 'password',
142
+ country_code: 'country_code',
143
+ mobile_number: 'mobile_number',
144
+ status: 'status',
145
+ is_email_verified: 'is_email_verified',
146
+ is_mobile_verified: 'is_mobile_verified',
147
+ profile_picture: 'profile_picture',
148
+ invitation_status: 'invitation_status',
149
+ reset_token: 'reset_token',
150
+ reset_token_expiry: 'reset_token_expiry',
151
+ access_token_expiry: 'access_token_expiry',
152
+ token_version: 'token_version',
153
+ is_logged_in: 'is_logged_in',
154
+ created_at: 'created_at',
155
+ created_by: 'created_by',
156
+ updated_at: 'updated_at',
157
+ updated_by: 'updated_by',
158
+ is_deleted: 'is_deleted',
159
+ deleted_at: 'deleted_at',
160
+ deleted_by: 'deleted_by'
161
+ };
162
+
163
+ exports.Prisma.RoleScalarFieldEnum = {
164
+ id: 'id',
165
+ role_name: 'role_name',
166
+ slug: 'slug',
167
+ description: 'description',
168
+ is_active: 'is_active',
169
+ created_at: 'created_at',
170
+ created_by: 'created_by',
171
+ updated_at: 'updated_at',
172
+ updated_by: 'updated_by',
173
+ is_deleted: 'is_deleted',
174
+ deleted_at: 'deleted_at',
175
+ deleted_by: 'deleted_by'
176
+ };
177
+
178
+ exports.Prisma.UserRoleScalarFieldEnum = {
179
+ id: 'id',
180
+ user_id: 'user_id',
181
+ role_id: 'role_id',
182
+ created_at: 'created_at',
183
+ created_by: 'created_by',
184
+ updated_at: 'updated_at',
185
+ updated_by: 'updated_by',
186
+ deleted_at: 'deleted_at',
187
+ deleted_by: 'deleted_by'
188
+ };
189
+
190
+ exports.Prisma.PermissionScalarFieldEnum = {
191
+ id: 'id',
192
+ permissions_name: 'permissions_name',
193
+ slug: 'slug',
194
+ description: 'description',
195
+ model: 'model',
196
+ is_active: 'is_active',
197
+ is_deleted: 'is_deleted',
198
+ created_at: 'created_at',
199
+ created_by: 'created_by',
200
+ updated_at: 'updated_at',
201
+ updated_by: 'updated_by',
202
+ deleted_at: 'deleted_at',
203
+ deleted_by: 'deleted_by'
204
+ };
205
+
206
+ exports.Prisma.RolePermissionScalarFieldEnum = {
207
+ id: 'id',
208
+ permission_id: 'permission_id',
209
+ role_id: 'role_id',
210
+ created_at: 'created_at',
211
+ created_by: 'created_by',
212
+ updated_at: 'updated_at',
213
+ updated_by: 'updated_by',
214
+ is_deleted: 'is_deleted',
215
+ deleted_at: 'deleted_at',
216
+ deleted_by: 'deleted_by'
217
+ };
218
+
219
+ exports.Prisma.DepartmentScalarFieldEnum = {
220
+ id: 'id',
221
+ uuid: 'uuid',
222
+ department_name: 'department_name',
223
+ department_slug: 'department_slug',
224
+ department_head: 'department_head',
225
+ budget_manager: 'budget_manager',
226
+ description: 'description',
227
+ is_active: 'is_active',
228
+ created_at: 'created_at',
229
+ created_by: 'created_by',
230
+ updated_at: 'updated_at',
231
+ updated_by: 'updated_by',
232
+ is_deleted: 'is_deleted',
233
+ deleted_at: 'deleted_at',
234
+ deleted_by: 'deleted_by'
235
+ };
236
+
237
+ exports.Prisma.UserDepartmentScalarFieldEnum = {
238
+ id: 'id',
239
+ uuid: 'uuid',
240
+ user_id: 'user_id',
241
+ department_id: 'department_id',
242
+ created_at: 'created_at',
243
+ created_by: 'created_by',
244
+ updated_at: 'updated_at',
245
+ updated_by: 'updated_by',
246
+ deleted_at: 'deleted_at',
247
+ deleted_by: 'deleted_by'
248
+ };
249
+
250
+ exports.Prisma.CategoryScalarFieldEnum = {
251
+ id: 'id',
252
+ uuid: 'uuid',
253
+ name: 'name',
254
+ slug: 'slug',
255
+ is_active: 'is_active',
256
+ parent_id: 'parent_id',
257
+ description: 'description',
258
+ image_url: 'image_url',
259
+ created_by: 'created_by',
260
+ created_at: 'created_at',
261
+ updated_by: 'updated_by',
262
+ updated_at: 'updated_at',
263
+ is_deleted: 'is_deleted',
264
+ deleted_by: 'deleted_by',
265
+ deleted_at: 'deleted_at'
266
+ };
267
+
268
+ exports.Prisma.AttributeScalarFieldEnum = {
269
+ id: 'id',
270
+ uuid: 'uuid',
271
+ category_id: 'category_id',
272
+ attribute_name: 'attribute_name',
273
+ is_required: 'is_required',
274
+ is_active: 'is_active',
275
+ slug: 'slug',
276
+ created_at: 'created_at',
277
+ created_by: 'created_by',
278
+ updated_at: 'updated_at',
279
+ updated_by: 'updated_by',
280
+ is_deleted: 'is_deleted',
281
+ deleted_at: 'deleted_at',
282
+ deleted_by: 'deleted_by'
283
+ };
284
+
285
+ exports.Prisma.AttributeValueScalarFieldEnum = {
286
+ id: 'id',
287
+ uuid: 'uuid',
288
+ attribute_id: 'attribute_id',
289
+ attribute_value_name: 'attribute_value_name',
290
+ is_active: 'is_active',
291
+ slug: 'slug',
292
+ created_at: 'created_at',
293
+ created_by: 'created_by',
294
+ updated_at: 'updated_at',
295
+ updated_by: 'updated_by',
296
+ is_deleted: 'is_deleted',
297
+ deleted_at: 'deleted_at',
298
+ deleted_by: 'deleted_by'
299
+ };
300
+
301
+ exports.Prisma.ItemScalarFieldEnum = {
302
+ id: 'id',
303
+ uuid: 'uuid',
304
+ is_parent: 'is_parent',
305
+ parent_id: 'parent_id',
306
+ category_id: 'category_id',
307
+ uomId: 'uomId',
308
+ item_code: 'item_code',
309
+ item_name: 'item_name',
310
+ item_handler: 'item_handler',
311
+ slug: 'slug',
312
+ description: 'description',
313
+ terms_and_conditions: 'terms_and_conditions',
314
+ keywords: 'keywords',
315
+ tags: 'tags',
316
+ cost_price: 'cost_price',
317
+ selling_price: 'selling_price',
318
+ profit: 'profit',
319
+ margin: 'margin',
320
+ title: 'title',
321
+ continue_selling_when_out_of_stock: 'continue_selling_when_out_of_stock',
322
+ physical_product: 'physical_product',
323
+ variant_attributes: 'variant_attributes',
324
+ variant_display_name: 'variant_display_name',
325
+ available_qty: 'available_qty',
326
+ inventory_reason: 'inventory_reason',
327
+ reserved_quantity: 'reserved_quantity',
328
+ stock_in_hand: 'stock_in_hand',
329
+ reorder_level: 'reorder_level',
330
+ max_stock_level: 'max_stock_level',
331
+ sku: 'sku',
332
+ is_taxable: 'is_taxable',
333
+ bar_code: 'bar_code',
334
+ physical_item: 'physical_item',
335
+ track_quantity: 'track_quantity',
336
+ weight: 'weight',
337
+ dimensions: 'dimensions',
338
+ shipping_weight: 'shipping_weight',
339
+ media: 'media',
340
+ specifications: 'specifications',
341
+ template_suffix: 'template_suffix',
342
+ seo_page_title: 'seo_page_title',
343
+ seo_meta_keyword: 'seo_meta_keyword',
344
+ seo_meta_description: 'seo_meta_description',
345
+ step_completed: 'step_completed',
346
+ is_published: 'is_published',
347
+ published_at: 'published_at',
348
+ published_by: 'published_by',
349
+ is_active: 'is_active',
350
+ is_featured: 'is_featured',
351
+ is_default_variant: 'is_default_variant',
352
+ sort_order: 'sort_order',
353
+ min_order_qty: 'min_order_qty',
354
+ max_order_qty: 'max_order_qty',
355
+ is_bulk_pricing_enabled: 'is_bulk_pricing_enabled',
356
+ bulk_pricing_tiers: 'bulk_pricing_tiers',
357
+ created_by: 'created_by',
358
+ created_at: 'created_at',
359
+ updated_by: 'updated_by',
360
+ updated_at: 'updated_at',
361
+ is_deleted: 'is_deleted',
362
+ deleted_by: 'deleted_by',
363
+ deleted_at: 'deleted_at'
364
+ };
365
+
366
+ exports.Prisma.PurchaseIntakeScalarFieldEnum = {
367
+ id: 'id',
368
+ uuid: 'uuid',
369
+ pi_number: 'pi_number',
370
+ pr_number: 'pr_number',
371
+ requestor_id: 'requestor_id',
372
+ department: 'department',
373
+ request_date: 'request_date',
374
+ items_or_services_description: 'items_or_services_description',
375
+ priority: 'priority',
376
+ estimated_budget: 'estimated_budget',
377
+ status: 'status',
378
+ pr_status: 'pr_status',
379
+ reject_reason: 'reject_reason',
380
+ pr_reject_reason: 'pr_reject_reason',
381
+ attachments: 'attachments',
382
+ if_yes_attach_quotations: 'if_yes_attach_quotations',
383
+ others: 'others',
384
+ is_active: 'is_active',
385
+ created_at: 'created_at',
386
+ created_by: 'created_by',
387
+ updated_by: 'updated_by',
388
+ updated_at: 'updated_at',
389
+ is_deleted: 'is_deleted',
390
+ delete_reason: 'delete_reason',
391
+ deleted_at: 'deleted_at',
392
+ deleted_by: 'deleted_by'
393
+ };
394
+
395
+ exports.Prisma.PurchaseIntakeItemScalarFieldEnum = {
396
+ id: 'id',
397
+ uuid: 'uuid',
398
+ purchase_intakes_id: 'purchase_intakes_id',
399
+ item_id: 'item_id',
400
+ quantity: 'quantity',
401
+ initial_quantity: 'initial_quantity',
402
+ open_quantity: 'open_quantity',
403
+ closed_quantity: 'closed_quantity',
404
+ unit_of_measurement: 'unit_of_measurement',
405
+ location_id: 'location_id',
406
+ status: 'status',
407
+ created_at: 'created_at'
408
+ };
409
+
410
+ exports.Prisma.VendorScalarFieldEnum = {
411
+ id: 'id',
412
+ uuid: 'uuid',
413
+ vendor_id: 'vendor_id',
414
+ name: 'name',
415
+ legal_name: 'legal_name',
416
+ email_id: 'email_id',
417
+ mobile_number: 'mobile_number',
418
+ password: 'password',
419
+ country_code: 'country_code',
420
+ gst_in: 'gst_in',
421
+ person_in_charge: 'person_in_charge',
422
+ city: 'city',
423
+ industry: 'industry',
424
+ incorporation_date: 'incorporation_date',
425
+ ownership_type: 'ownership_type',
426
+ head_office_location: 'head_office_location',
427
+ operational_region: 'operational_region',
428
+ pan_number: 'pan_number',
429
+ pan_image: 'pan_image',
430
+ is_pan_verified: 'is_pan_verified',
431
+ pan_verification_request: 'pan_verification_request',
432
+ pan_verification_response: 'pan_verification_response',
433
+ gst_number: 'gst_number',
434
+ is_gst_verified: 'is_gst_verified',
435
+ gst_verification_request: 'gst_verification_request',
436
+ gst_verification_response: 'gst_verification_response',
437
+ is_basic_info_registered: 'is_basic_info_registered',
438
+ status: 'status',
439
+ is_email_verified: 'is_email_verified',
440
+ is_mobile_verified: 'is_mobile_verified',
441
+ profile_picture: 'profile_picture',
442
+ invitation_status: 'invitation_status',
443
+ reset_token: 'reset_token',
444
+ reset_token_expiry: 'reset_token_expiry',
445
+ access_token_expiry: 'access_token_expiry',
446
+ token_version: 'token_version',
447
+ is_logged_in: 'is_logged_in',
448
+ onboarded_on: 'onboarded_on',
449
+ created_at: 'created_at',
450
+ created_by: 'created_by',
451
+ updated_at: 'updated_at',
452
+ updated_by: 'updated_by',
453
+ is_deleted: 'is_deleted',
454
+ deleted_at: 'deleted_at',
455
+ deleted_by: 'deleted_by',
456
+ is_kyc_approved: 'is_kyc_approved'
457
+ };
458
+
459
+ exports.Prisma.VendorCategoryScalarFieldEnum = {
460
+ id: 'id',
461
+ uuid: 'uuid',
462
+ vendor_id: 'vendor_id',
463
+ category_id: 'category_id',
464
+ created_at: 'created_at',
465
+ created_by: 'created_by',
466
+ updated_at: 'updated_at',
467
+ updated_by: 'updated_by',
468
+ deleted_at: 'deleted_at',
469
+ deleted_by: 'deleted_by'
470
+ };
471
+
472
+ exports.Prisma.VendorContactPersonScalarFieldEnum = {
473
+ id: 'id',
474
+ uuid: 'uuid',
475
+ vendor_id: 'vendor_id',
476
+ name: 'name',
477
+ email_id: 'email_id',
478
+ country_code: 'country_code',
479
+ mobile_number: 'mobile_number',
480
+ designation: 'designation',
481
+ contact_type: 'contact_type',
482
+ is_active: 'is_active',
483
+ is_deleted: 'is_deleted',
484
+ created_at: 'created_at',
485
+ created_by: 'created_by',
486
+ updated_at: 'updated_at',
487
+ updated_by: 'updated_by',
488
+ deleted_at: 'deleted_at',
489
+ deleted_by: 'deleted_by'
490
+ };
491
+
492
+ exports.Prisma.EmailTemplateScalarFieldEnum = {
493
+ id: 'id',
494
+ uuid: 'uuid',
495
+ template_name: 'template_name',
496
+ template_slug: 'template_slug',
497
+ subject: 'subject',
498
+ html_content: 'html_content',
499
+ macro: 'macro',
500
+ is_active: 'is_active',
501
+ is_deleted: 'is_deleted',
502
+ created_at: 'created_at',
503
+ created_by: 'created_by',
504
+ updated_at: 'updated_at',
505
+ updated_by: 'updated_by',
506
+ deleted_at: 'deleted_at',
507
+ deleted_by: 'deleted_by'
508
+ };
509
+
510
+ exports.Prisma.SmtpConfigScalarFieldEnum = {
511
+ id: 'id',
512
+ smtp_server: 'smtp_server',
513
+ port: 'port',
514
+ username: 'username',
515
+ password: 'password',
516
+ from_email: 'from_email',
517
+ encryption: 'encryption',
518
+ test_email: 'test_email',
519
+ is_active: 'is_active',
520
+ is_deleted: 'is_deleted',
521
+ created_at: 'created_at',
522
+ created_by: 'created_by',
523
+ updated_at: 'updated_at',
524
+ updated_by: 'updated_by',
525
+ deleted_at: 'deleted_at',
526
+ deleted_by: 'deleted_by'
527
+ };
528
+
529
+ exports.Prisma.ApprovalHierarchyScalarFieldEnum = {
530
+ id: 'id',
531
+ uuid: 'uuid',
532
+ name: 'name',
533
+ slug: 'slug',
534
+ module: 'module',
535
+ task: 'task',
536
+ initiator_type: 'initiator_type',
537
+ roleId: 'roleId',
538
+ userId: 'userId',
539
+ is_active: 'is_active',
540
+ is_deleted: 'is_deleted',
541
+ created_at: 'created_at',
542
+ created_by: 'created_by',
543
+ updated_at: 'updated_at',
544
+ updated_by: 'updated_by',
545
+ deleted_at: 'deleted_at',
546
+ deleted_by: 'deleted_by'
547
+ };
548
+
549
+ exports.Prisma.ApprovalConditionScalarFieldEnum = {
550
+ id: 'id',
551
+ uuid: 'uuid',
552
+ approval_hierarchy_id: 'approval_hierarchy_id',
553
+ conditions: 'conditions',
554
+ price_from: 'price_from',
555
+ price_to: 'price_to'
556
+ };
557
+
558
+ exports.Prisma.ApprovalLevelScalarFieldEnum = {
559
+ id: 'id',
560
+ uuid: 'uuid',
561
+ approval_hierarchy_id: 'approval_hierarchy_id',
562
+ approval_condition_id: 'approval_condition_id',
563
+ level: 'level',
564
+ valid_till_hours: 'valid_till_hours',
565
+ valid_till_minutes: 'valid_till_minutes'
566
+ };
567
+
568
+ exports.Prisma.ApprovalLevelUserScalarFieldEnum = {
569
+ id: 'id',
570
+ uuid: 'uuid',
571
+ approval_level_id: 'approval_level_id',
572
+ approver_id: 'approver_id'
573
+ };
574
+
575
+ exports.Prisma.ApprovalLevelEscalationScalarFieldEnum = {
576
+ id: 'id',
577
+ uuid: 'uuid',
578
+ approval_level_id: 'approval_level_id',
579
+ escalation_approver_id: 'escalation_approver_id',
580
+ valid_till_hours: 'valid_till_hours',
581
+ valid_till_minutes: 'valid_till_minutes'
582
+ };
583
+
584
+ exports.Prisma.ApprovalLevelEscalationUserScalarFieldEnum = {
585
+ id: 'id',
586
+ uuid: 'uuid',
587
+ approval_level_escalation_id: 'approval_level_escalation_id',
588
+ approver_id: 'approver_id'
589
+ };
590
+
591
+ exports.Prisma.UomScalarFieldEnum = {
592
+ id: 'id',
593
+ uuid: 'uuid',
594
+ uom_code: 'uom_code',
595
+ description: 'description',
596
+ is_active: 'is_active',
597
+ created_at: 'created_at',
598
+ created_by: 'created_by',
599
+ updated_at: 'updated_at',
600
+ updated_by: 'updated_by',
601
+ is_deleted: 'is_deleted',
602
+ deleted_at: 'deleted_at',
603
+ deleted_by: 'deleted_by'
604
+ };
605
+
606
+ exports.Prisma.UomCategoryScalarFieldEnum = {
607
+ id: 'id',
608
+ uuid: 'uuid',
609
+ categoryId: 'categoryId',
610
+ uomId: 'uomId',
611
+ created_by: 'created_by'
612
+ };
613
+
614
+ exports.Prisma.ItemAttributeScalarFieldEnum = {
615
+ id: 'id',
616
+ uuid: 'uuid',
617
+ item_id: 'item_id',
618
+ attribute_id: 'attribute_id',
619
+ created_at: 'created_at',
620
+ created_by: 'created_by'
621
+ };
622
+
623
+ exports.Prisma.ItemAttributeValueScalarFieldEnum = {
624
+ id: 'id',
625
+ uuid: 'uuid',
626
+ item_id: 'item_id',
627
+ item_attribute_id: 'item_attribute_id',
628
+ attribute_value_id: 'attribute_value_id',
629
+ created_at: 'created_at',
630
+ created_by: 'created_by'
631
+ };
632
+
633
+ exports.Prisma.ItemDocumentScalarFieldEnum = {
634
+ id: 'id',
635
+ uuid: 'uuid',
636
+ item_id: 'item_id',
637
+ original_document: 'original_document',
638
+ optimized_image: 'optimized_image',
639
+ thumbnail_image: 'thumbnail_image',
640
+ original_name: 'original_name',
641
+ original_extension: 'original_extension',
642
+ created_at: 'created_at',
643
+ created_by: 'created_by'
644
+ };
645
+
646
+ exports.Prisma.ApprovalJourneyScalarFieldEnum = {
647
+ id: 'id',
648
+ uuid: 'uuid',
649
+ parent_id: 'parent_id',
650
+ journy_type: 'journy_type',
651
+ approval_hierarchy_id: 'approval_hierarchy_id',
652
+ approvar_id: 'approvar_id',
653
+ level: 'level',
654
+ status: 'status',
655
+ reject_reason: 'reject_reason',
656
+ is_approver_turn: 'is_approver_turn',
657
+ duration: 'duration',
658
+ valid_to: 'valid_to',
659
+ valid_till: 'valid_till',
660
+ is_deleted: 'is_deleted',
661
+ created_at: 'created_at',
662
+ created_by: 'created_by',
663
+ updated_at: 'updated_at',
664
+ updated_by: 'updated_by',
665
+ deleted_at: 'deleted_at',
666
+ deleted_by: 'deleted_by'
667
+ };
668
+
669
+ exports.Prisma.TemplateScalarFieldEnum = {
670
+ id: 'id',
671
+ uuid: 'uuid',
672
+ template_code: 'template_code',
673
+ template_name: 'template_name',
674
+ template_type: 'template_type',
675
+ currency_id: 'currency_id',
676
+ is_active: 'is_active',
677
+ is_deleted: 'is_deleted',
678
+ created_at: 'created_at',
679
+ created_by: 'created_by',
680
+ updated_at: 'updated_at',
681
+ updated_by: 'updated_by',
682
+ deleted_at: 'deleted_at',
683
+ deleted_by: 'deleted_by'
684
+ };
685
+
686
+ exports.Prisma.TemplateFieldScalarFieldEnum = {
687
+ id: 'id',
688
+ uuid: 'uuid',
689
+ template_id: 'template_id',
690
+ field_name: 'field_name',
691
+ field_slug: 'field_slug',
692
+ field_type: 'field_type',
693
+ field_role: 'field_role',
694
+ field_placement: 'field_placement',
695
+ field_formula: 'field_formula',
696
+ is_mandatory: 'is_mandatory',
697
+ position: 'position',
698
+ is_deleted: 'is_deleted',
699
+ created_at: 'created_at',
700
+ created_by: 'created_by',
701
+ updated_at: 'updated_at',
702
+ updated_by: 'updated_by',
703
+ deleted_at: 'deleted_at',
704
+ deleted_by: 'deleted_by'
705
+ };
706
+
707
+ exports.Prisma.FaqCategoryScalarFieldEnum = {
708
+ id: 'id',
709
+ uuid: 'uuid',
710
+ category_name: 'category_name',
711
+ slug: 'slug',
712
+ is_active: 'is_active',
713
+ created_at: 'created_at',
714
+ created_by: 'created_by',
715
+ updated_at: 'updated_at',
716
+ updated_by: 'updated_by',
717
+ is_deleted: 'is_deleted',
718
+ deleted_at: 'deleted_at',
719
+ deleted_by: 'deleted_by'
720
+ };
721
+
722
+ exports.Prisma.FaqScalarFieldEnum = {
723
+ id: 'id',
724
+ uuid: 'uuid',
725
+ faq_type: 'faq_type',
726
+ faq_category_id: 'faq_category_id',
727
+ question: 'question',
728
+ answer: 'answer',
729
+ is_active: 'is_active',
730
+ created_at: 'created_at',
731
+ created_by: 'created_by',
732
+ updated_at: 'updated_at',
733
+ updated_by: 'updated_by',
734
+ is_deleted: 'is_deleted',
735
+ deleted_at: 'deleted_at',
736
+ deleted_by: 'deleted_by'
737
+ };
738
+
739
+ exports.Prisma.EventScalarFieldEnum = {
740
+ id: 'id',
741
+ uuid: 'uuid',
742
+ code: 'code',
743
+ template_id: 'template_id',
744
+ type: 'type',
745
+ name: 'name',
746
+ start_date: 'start_date',
747
+ end_date: 'end_date',
748
+ duration: 'duration',
749
+ attachments: 'attachments',
750
+ terms_conditions: 'terms_conditions',
751
+ step_completed: 'step_completed',
752
+ status: 'status',
753
+ event_phase: 'event_phase',
754
+ purchase_intake_id: 'purchase_intake_id',
755
+ created_at: 'created_at',
756
+ created_by: 'created_by',
757
+ updated_at: 'updated_at',
758
+ updated_by: 'updated_by',
759
+ is_deleted: 'is_deleted',
760
+ reason: 'reason',
761
+ is_published: 'is_published',
762
+ deleted_at: 'deleted_at',
763
+ deleted_by: 'deleted_by'
764
+ };
765
+
766
+ exports.Prisma.EventItemsScalarFieldEnum = {
767
+ id: 'id',
768
+ uuid: 'uuid',
769
+ event_id: 'event_id',
770
+ item_id: 'item_id',
771
+ purchase_intake_id: 'purchase_intake_id',
772
+ dynamic_fields: 'dynamic_fields',
773
+ is_active: 'is_active',
774
+ created_at: 'created_at',
775
+ created_by: 'created_by',
776
+ updated_at: 'updated_at',
777
+ updated_by: 'updated_by',
778
+ is_deleted: 'is_deleted',
779
+ deleted_at: 'deleted_at',
780
+ deleted_by: 'deleted_by'
781
+ };
782
+
783
+ exports.Prisma.EventVendorsScalarFieldEnum = {
784
+ id: 'id',
785
+ uuid: 'uuid',
786
+ vendor_id: 'vendor_id',
787
+ event_id: 'event_id',
788
+ is_active: 'is_active',
789
+ is_email_sent: 'is_email_sent',
790
+ is_restricted: 'is_restricted',
791
+ status: 'status',
792
+ reason: 'reason',
793
+ is_wishlisted: 'is_wishlisted',
794
+ event_vendor_bid_status: 'event_vendor_bid_status',
795
+ created_at: 'created_at',
796
+ created_by: 'created_by',
797
+ updated_at: 'updated_at',
798
+ updated_by: 'updated_by',
799
+ is_deleted: 'is_deleted',
800
+ deleted_at: 'deleted_at',
801
+ deleted_by: 'deleted_by'
802
+ };
803
+
804
+ exports.Prisma.EventConfigurationsScalarFieldEnum = {
805
+ id: 'id',
806
+ uuid: 'uuid',
807
+ event_id: 'event_id',
808
+ rule_name: 'rule_name',
809
+ rule_value: 'rule_value',
810
+ rule_slug: 'rule_slug',
811
+ is_active: 'is_active',
812
+ created_at: 'created_at',
813
+ created_by: 'created_by',
814
+ updated_at: 'updated_at',
815
+ updated_by: 'updated_by',
816
+ is_deleted: 'is_deleted',
817
+ deleted_at: 'deleted_at',
818
+ deleted_by: 'deleted_by'
819
+ };
820
+
821
+ exports.Prisma.EventStrategiesScalarFieldEnum = {
822
+ id: 'id',
823
+ uuid: 'uuid',
824
+ event_id: 'event_id',
825
+ strategy_id: 'strategy_id',
826
+ is_active: 'is_active',
827
+ created_at: 'created_at',
828
+ created_by: 'created_by',
829
+ updated_at: 'updated_at',
830
+ updated_by: 'updated_by',
831
+ is_deleted: 'is_deleted',
832
+ deleted_at: 'deleted_at',
833
+ deleted_by: 'deleted_by'
834
+ };
835
+
836
+ exports.Prisma.VendorEventWatchlistScalarFieldEnum = {
837
+ id: 'id',
838
+ uuid: 'uuid',
839
+ vendor_id: 'vendor_id',
840
+ event_id: 'event_id',
841
+ is_active: 'is_active',
842
+ created_at: 'created_at',
843
+ created_by: 'created_by',
844
+ updated_at: 'updated_at',
845
+ updated_by: 'updated_by',
846
+ is_deleted: 'is_deleted',
847
+ deleted_at: 'deleted_at',
848
+ deleted_by: 'deleted_by'
849
+ };
850
+
851
+ exports.Prisma.StrategiesScalarFieldEnum = {
852
+ id: 'id',
853
+ uuid: 'uuid',
854
+ name: 'name',
855
+ description: 'description',
856
+ is_active: 'is_active',
857
+ created_at: 'created_at',
858
+ created_by: 'created_by',
859
+ updated_at: 'updated_at',
860
+ updated_by: 'updated_by',
861
+ is_deleted: 'is_deleted',
862
+ deleted_at: 'deleted_at',
863
+ deleted_by: 'deleted_by'
864
+ };
865
+
866
+ exports.Prisma.CmsScalarFieldEnum = {
867
+ id: 'id',
868
+ uuid: 'uuid',
869
+ title: 'title',
870
+ content: 'content',
871
+ type: 'type',
872
+ slug: 'slug',
873
+ images: 'images',
874
+ is_active: 'is_active',
875
+ created_at: 'created_at',
876
+ created_by: 'created_by',
877
+ updated_at: 'updated_at',
878
+ updated_by: 'updated_by',
879
+ is_deleted: 'is_deleted',
880
+ deleted_at: 'deleted_at',
881
+ deleted_by: 'deleted_by'
882
+ };
883
+
884
+ exports.Prisma.VendorKycInfoScalarFieldEnum = {
885
+ id: 'id',
886
+ uuid: 'uuid',
887
+ vendor_id: 'vendor_id',
888
+ section_name: 'section_name',
889
+ section_type: 'section_type',
890
+ fields: 'fields',
891
+ status: 'status',
892
+ reject_reason: 'reject_reason',
893
+ is_active: 'is_active',
894
+ is_deleted: 'is_deleted',
895
+ created_at: 'created_at',
896
+ created_by: 'created_by',
897
+ updated_at: 'updated_at',
898
+ updated_by: 'updated_by',
899
+ deleted_at: 'deleted_at',
900
+ deleted_by: 'deleted_by'
901
+ };
902
+
903
+ exports.Prisma.CurrencyScalarFieldEnum = {
904
+ id: 'id',
905
+ uuid: 'uuid',
906
+ name: 'name',
907
+ code: 'code',
908
+ symbol: 'symbol',
909
+ is_active: 'is_active',
910
+ is_deleted: 'is_deleted',
911
+ created_at: 'created_at',
912
+ created_by: 'created_by',
913
+ updated_at: 'updated_at',
914
+ updated_by: 'updated_by',
915
+ deleted_at: 'deleted_at',
916
+ deleted_by: 'deleted_by'
917
+ };
918
+
919
+ exports.Prisma.SupportTicketScalarFieldEnum = {
920
+ id: 'id',
921
+ uuid: 'uuid',
922
+ ticket_code: 'ticket_code',
923
+ vendor_id: 'vendor_id',
924
+ subject: 'subject',
925
+ category_id: 'category_id',
926
+ priority: 'priority',
927
+ description: 'description',
928
+ attachments: 'attachments',
929
+ status: 'status',
930
+ prefered_contact_method: 'prefered_contact_method',
931
+ is_active: 'is_active',
932
+ is_deleted: 'is_deleted',
933
+ created_at: 'created_at',
934
+ created_by: 'created_by',
935
+ updated_at: 'updated_at',
936
+ updated_by: 'updated_by',
937
+ deleted_at: 'deleted_at',
938
+ deleted_by: 'deleted_by'
939
+ };
940
+
941
+ exports.Prisma.TicketAssignmentScalarFieldEnum = {
942
+ id: 'id',
943
+ uuid: 'uuid',
944
+ ticket_id: 'ticket_id',
945
+ assigned_by: 'assigned_by',
946
+ assigned_to: 'assigned_to',
947
+ assigned_at: 'assigned_at'
948
+ };
949
+
950
+ exports.Prisma.TicketHistoryScalarFieldEnum = {
951
+ id: 'id',
952
+ uuid: 'uuid',
953
+ ticket_id: 'ticket_id',
954
+ assigned_to: 'assigned_to',
955
+ assigned_by: 'assigned_by',
956
+ status: 'status',
957
+ updated_at: 'updated_at'
958
+ };
959
+
960
+ exports.Prisma.TicketReplyScalarFieldEnum = {
961
+ id: 'id',
962
+ uuid: 'uuid',
963
+ ticket_id: 'ticket_id',
964
+ user_id: 'user_id',
965
+ vendor_id: 'vendor_id',
966
+ message: 'message',
967
+ created_at: 'created_at'
968
+ };
969
+
970
+ exports.Prisma.SupportCategoryScalarFieldEnum = {
971
+ id: 'id',
972
+ uuid: 'uuid',
973
+ name: 'name',
974
+ parent_id: 'parent_id',
975
+ description: 'description',
976
+ image_url: 'image_url',
977
+ is_active: 'is_active',
978
+ slug: 'slug',
979
+ created_at: 'created_at',
980
+ created_by: 'created_by',
981
+ updated_at: 'updated_at',
982
+ updated_by: 'updated_by',
983
+ is_deleted: 'is_deleted',
984
+ deleted_at: 'deleted_at',
985
+ deleted_by: 'deleted_by'
986
+ };
987
+
988
+ exports.Prisma.VendorStatusScalarFieldEnum = {
989
+ id: 'id',
990
+ vendor_id: 'vendor_id',
991
+ previous_status: 'previous_status',
992
+ current_status: 'current_status',
993
+ comment: 'comment',
994
+ updated_at: 'updated_at',
995
+ updated_by: 'updated_by'
996
+ };
997
+
998
+ exports.Prisma.VendorKycInfoVerificationStatusScalarFieldEnum = {
999
+ id: 'id',
1000
+ uuid: 'uuid',
1001
+ kyc_id: 'kyc_id',
1002
+ status: 'status',
1003
+ reject_reason: 'reject_reason',
1004
+ created_at: 'created_at',
1005
+ updated_at: 'updated_at',
1006
+ raised_by: 'raised_by',
1007
+ approved_by: 'approved_by'
1008
+ };
1009
+
1010
+ exports.Prisma.AdminAlertScalarFieldEnum = {
1011
+ id: 'id',
1012
+ user_id: 'user_id',
1013
+ alert_type: 'alert_type',
1014
+ title: 'title',
1015
+ message: 'message',
1016
+ redirect_url: 'redirect_url',
1017
+ is_read: 'is_read',
1018
+ created_at: 'created_at',
1019
+ meta_data: 'meta_data'
1020
+ };
1021
+
1022
+ exports.Prisma.VendorAlertScalarFieldEnum = {
1023
+ id: 'id',
1024
+ vendor_id: 'vendor_id',
1025
+ alert_type: 'alert_type',
1026
+ title: 'title',
1027
+ message: 'message',
1028
+ redirect_url: 'redirect_url',
1029
+ is_read: 'is_read',
1030
+ created_at: 'created_at',
1031
+ meta_data: 'meta_data'
1032
+ };
1033
+
1034
+ exports.Prisma.CustomerNotificationScalarFieldEnum = {
1035
+ id: 'id',
1036
+ uuid: 'uuid',
1037
+ template_name: 'template_name',
1038
+ remark: 'remark',
1039
+ event: 'event',
1040
+ medium: 'medium',
1041
+ is_recurring: 'is_recurring',
1042
+ title: 'title',
1043
+ trigger_message: 'trigger_message',
1044
+ template_slug: 'template_slug',
1045
+ attachments: 'attachments',
1046
+ files: 'files',
1047
+ is_active: 'is_active',
1048
+ created_at: 'created_at',
1049
+ created_by: 'created_by',
1050
+ updated_at: 'updated_at',
1051
+ updated_by: 'updated_by',
1052
+ is_deleted: 'is_deleted',
1053
+ deleted_at: 'deleted_at',
1054
+ deleted_by: 'deleted_by'
1055
+ };
1056
+
1057
+ exports.Prisma.BidScalarFieldEnum = {
1058
+ id: 'id',
1059
+ uuid: 'uuid',
1060
+ event_id: 'event_id',
1061
+ event_item_id: 'event_item_id',
1062
+ event_type: 'event_type',
1063
+ event_vendor_id: 'event_vendor_id',
1064
+ bid_log_id: 'bid_log_id',
1065
+ bid_amount: 'bid_amount',
1066
+ version: 'version',
1067
+ created_at: 'created_at',
1068
+ created_by: 'created_by',
1069
+ updated_at: 'updated_at',
1070
+ updated_by: 'updated_by',
1071
+ is_deleted: 'is_deleted',
1072
+ deleted_at: 'deleted_at',
1073
+ deleted_by: 'deleted_by'
1074
+ };
1075
+
1076
+ exports.Prisma.BidLogScalarFieldEnum = {
1077
+ id: 'id',
1078
+ uuid: 'uuid',
1079
+ event_id: 'event_id',
1080
+ event_item_id: 'event_item_id',
1081
+ event_type: 'event_type',
1082
+ event_vendor_id: 'event_vendor_id',
1083
+ bid_amount: 'bid_amount',
1084
+ bid_status: 'bid_status',
1085
+ bidding_rank: 'bidding_rank',
1086
+ is_cancelled: 'is_cancelled',
1087
+ auto_cancel: 'auto_cancel',
1088
+ cancel_reason: 'cancel_reason',
1089
+ is_winner: 'is_winner',
1090
+ is_auto_bid: 'is_auto_bid',
1091
+ is_placed_by_admin: 'is_placed_by_admin',
1092
+ placed_by_id: 'placed_by_id',
1093
+ reason: 'reason',
1094
+ bid_json: 'bid_json',
1095
+ created_at: 'created_at',
1096
+ created_by: 'created_by',
1097
+ updated_at: 'updated_at',
1098
+ updated_by: 'updated_by',
1099
+ is_deleted: 'is_deleted',
1100
+ deleted_at: 'deleted_at',
1101
+ deleted_by: 'deleted_by',
1102
+ has_active_counter: 'has_active_counter'
1103
+ };
1104
+
1105
+ exports.Prisma.QuotationScalarFieldEnum = {
1106
+ id: 'id',
1107
+ uuid: 'uuid',
1108
+ event_id: 'event_id',
1109
+ event_item_id: 'event_item_id',
1110
+ event_type: 'event_type',
1111
+ event_vendor_id: 'event_vendor_id',
1112
+ quotation_log_id: 'quotation_log_id',
1113
+ quote_amount: 'quote_amount',
1114
+ technical_details: 'technical_details',
1115
+ delivery_timeline: 'delivery_timeline',
1116
+ warranty_terms: 'warranty_terms',
1117
+ payment_terms: 'payment_terms',
1118
+ validity_period: 'validity_period',
1119
+ quotation_status: 'quotation_status',
1120
+ quotation_rank: 'quotation_rank',
1121
+ current_revision: 'current_revision',
1122
+ version: 'version',
1123
+ created_at: 'created_at',
1124
+ created_by: 'created_by',
1125
+ updated_at: 'updated_at',
1126
+ updated_by: 'updated_by',
1127
+ is_deleted: 'is_deleted',
1128
+ deleted_at: 'deleted_at',
1129
+ deleted_by: 'deleted_by'
1130
+ };
1131
+
1132
+ exports.Prisma.QuotationLogScalarFieldEnum = {
1133
+ id: 'id',
1134
+ uuid: 'uuid',
1135
+ event_id: 'event_id',
1136
+ event_item_id: 'event_item_id',
1137
+ event_type: 'event_type',
1138
+ event_vendor_id: 'event_vendor_id',
1139
+ quote_amount: 'quote_amount',
1140
+ technical_details: 'technical_details',
1141
+ delivery_timeline: 'delivery_timeline',
1142
+ warranty_terms: 'warranty_terms',
1143
+ payment_terms: 'payment_terms',
1144
+ quotation_status: 'quotation_status',
1145
+ quotation_rank: 'quotation_rank',
1146
+ revision_number: 'revision_number',
1147
+ review_comments: 'review_comments',
1148
+ reviewed_by: 'reviewed_by',
1149
+ quote_json: 'quote_json',
1150
+ created_at: 'created_at',
1151
+ created_by: 'created_by',
1152
+ updated_at: 'updated_at',
1153
+ updated_by: 'updated_by',
1154
+ has_active_counter: 'has_active_counter'
1155
+ };
1156
+
1157
+ exports.Prisma.FormMasterScalarFieldEnum = {
1158
+ id: 'id',
1159
+ uuid: 'uuid',
1160
+ module_name: 'module_name',
1161
+ module_slug: 'module_slug',
1162
+ is_active: 'is_active',
1163
+ is_deleted: 'is_deleted',
1164
+ created_at: 'created_at',
1165
+ created_by: 'created_by',
1166
+ updated_at: 'updated_at',
1167
+ updated_by: 'updated_by',
1168
+ deleted_at: 'deleted_at',
1169
+ deleted_by: 'deleted_by'
1170
+ };
1171
+
1172
+ exports.Prisma.DynamicFormScalarFieldEnum = {
1173
+ id: 'id',
1174
+ uuid: 'uuid',
1175
+ module_id: 'module_id',
1176
+ form_name: 'form_name',
1177
+ form_slug: 'form_slug',
1178
+ fields: 'fields',
1179
+ form_order: 'form_order',
1180
+ is_active: 'is_active',
1181
+ is_deleted: 'is_deleted',
1182
+ created_at: 'created_at',
1183
+ created_by: 'created_by',
1184
+ updated_at: 'updated_at',
1185
+ updated_by: 'updated_by',
1186
+ deleted_at: 'deleted_at',
1187
+ deleted_by: 'deleted_by'
1188
+ };
1189
+
1190
+ exports.Prisma.ModuleScalarFieldEnum = {
1191
+ id: 'id',
1192
+ uuid: 'uuid',
1193
+ tenant_config_id: 'tenant_config_id',
1194
+ name: 'name',
1195
+ slug: 'slug',
1196
+ created_at: 'created_at',
1197
+ created_by: 'created_by'
1198
+ };
1199
+
1200
+ exports.Prisma.TenantConfigurationScalarFieldEnum = {
1201
+ id: 'id',
1202
+ uuid: 'uuid',
1203
+ tenant_id: 'tenant_id',
1204
+ tenant_name: 'tenant_name',
1205
+ database_name: 'database_name',
1206
+ tenant_subdomain: 'tenant_subdomain',
1207
+ currency: 'currency',
1208
+ timezone: 'timezone',
1209
+ status: 'status',
1210
+ email: 'email',
1211
+ logo: 'logo',
1212
+ created_at: 'created_at',
1213
+ updated_at: 'updated_at'
1214
+ };
1215
+
1216
+ exports.Prisma.UserLoginActivityScalarFieldEnum = {
1217
+ id: 'id',
1218
+ user_id: 'user_id',
1219
+ user_type: 'user_type',
1220
+ ip_address: 'ip_address',
1221
+ user_agent: 'user_agent',
1222
+ browser: 'browser',
1223
+ device: 'device',
1224
+ platform: 'platform',
1225
+ login_timestamp: 'login_timestamp',
1226
+ logout_timestamp: 'logout_timestamp',
1227
+ status: 'status',
1228
+ session_id: 'session_id',
1229
+ created_at: 'created_at'
1230
+ };
1231
+
1232
+ exports.Prisma.RegionScalarFieldEnum = {
1233
+ id: 'id',
1234
+ name: 'name',
1235
+ translations: 'translations',
1236
+ wikiDataId: 'wikiDataId',
1237
+ status: 'status',
1238
+ created_at: 'created_at',
1239
+ created_by: 'created_by',
1240
+ updated_at: 'updated_at',
1241
+ updated_by: 'updated_by',
1242
+ is_deleted: 'is_deleted',
1243
+ deleted_by: 'deleted_by',
1244
+ deleted_at: 'deleted_at'
1245
+ };
1246
+
1247
+ exports.Prisma.SubregionScalarFieldEnum = {
1248
+ id: 'id',
1249
+ name: 'name',
1250
+ translations: 'translations',
1251
+ wikiDataId: 'wikiDataId',
1252
+ status: 'status',
1253
+ created_at: 'created_at',
1254
+ created_by: 'created_by',
1255
+ updated_at: 'updated_at',
1256
+ updated_by: 'updated_by',
1257
+ is_deleted: 'is_deleted',
1258
+ deleted_by: 'deleted_by',
1259
+ deleted_at: 'deleted_at',
1260
+ region_id: 'region_id'
1261
+ };
1262
+
1263
+ exports.Prisma.CountryScalarFieldEnum = {
1264
+ id: 'id',
1265
+ name: 'name',
1266
+ iso3: 'iso3',
1267
+ iso2: 'iso2',
1268
+ numeric_code: 'numeric_code',
1269
+ phonecode: 'phonecode',
1270
+ capital: 'capital',
1271
+ currency: 'currency',
1272
+ currency_name: 'currency_name',
1273
+ currency_symbol: 'currency_symbol',
1274
+ tld: 'tld',
1275
+ native: 'native',
1276
+ region: 'region',
1277
+ subregion: 'subregion',
1278
+ nationality: 'nationality',
1279
+ latitude: 'latitude',
1280
+ longitude: 'longitude',
1281
+ emoji: 'emoji',
1282
+ emojiU: 'emojiU',
1283
+ timezones: 'timezones',
1284
+ translations: 'translations',
1285
+ wikiDataId: 'wikiDataId',
1286
+ status: 'status',
1287
+ created_at: 'created_at',
1288
+ created_by: 'created_by',
1289
+ updated_at: 'updated_at',
1290
+ updated_by: 'updated_by',
1291
+ is_deleted: 'is_deleted',
1292
+ deleted_by: 'deleted_by',
1293
+ deleted_at: 'deleted_at',
1294
+ region_id: 'region_id',
1295
+ subregion_id: 'subregion_id'
1296
+ };
1297
+
1298
+ exports.Prisma.StateScalarFieldEnum = {
1299
+ id: 'id',
1300
+ name: 'name',
1301
+ state_code: 'state_code',
1302
+ type: 'type',
1303
+ latitude: 'latitude',
1304
+ longitude: 'longitude',
1305
+ wikiDataId: 'wikiDataId',
1306
+ status: 'status',
1307
+ created_at: 'created_at',
1308
+ created_by: 'created_by',
1309
+ updated_at: 'updated_at',
1310
+ updated_by: 'updated_by',
1311
+ is_deleted: 'is_deleted',
1312
+ deleted_by: 'deleted_by',
1313
+ deleted_at: 'deleted_at',
1314
+ country_id: 'country_id'
1315
+ };
1316
+
1317
+ exports.Prisma.CityScalarFieldEnum = {
1318
+ id: 'id',
1319
+ name: 'name',
1320
+ latitude: 'latitude',
1321
+ longitude: 'longitude',
1322
+ wikiDataId: 'wikiDataId',
1323
+ status: 'status',
1324
+ created_at: 'created_at',
1325
+ created_by: 'created_by',
1326
+ updated_at: 'updated_at',
1327
+ updated_by: 'updated_by',
1328
+ is_deleted: 'is_deleted',
1329
+ deleted_by: 'deleted_by',
1330
+ deleted_at: 'deleted_at',
1331
+ state_id: 'state_id',
1332
+ country_id: 'country_id'
1333
+ };
1334
+
1335
+ exports.Prisma.LocationScalarFieldEnum = {
1336
+ id: 'id',
1337
+ name: 'name',
1338
+ address: 'address',
1339
+ zipcode: 'zipcode',
1340
+ status: 'status',
1341
+ created_at: 'created_at',
1342
+ created_by: 'created_by',
1343
+ updated_at: 'updated_at',
1344
+ updated_by: 'updated_by',
1345
+ is_deleted: 'is_deleted',
1346
+ deleted_by: 'deleted_by',
1347
+ deleted_at: 'deleted_at',
1348
+ country_id: 'country_id',
1349
+ state_id: 'state_id',
1350
+ city_id: 'city_id'
1351
+ };
1352
+
1353
+ exports.Prisma.SubModuleScalarFieldEnum = {
1354
+ id: 'id',
1355
+ name: 'name',
1356
+ slug: 'slug',
1357
+ module_id: 'module_id',
1358
+ created_by: 'created_by',
1359
+ created_at: 'created_at'
1360
+ };
1361
+
1362
+ exports.Prisma.CounterOfferScalarFieldEnum = {
1363
+ id: 'id',
1364
+ uuid: 'uuid',
1365
+ bid_log_id: 'bid_log_id',
1366
+ quotation_log_id: 'quotation_log_id',
1367
+ counter_amount: 'counter_amount',
1368
+ counter_message: 'counter_message',
1369
+ technical_details: 'technical_details',
1370
+ delivery_timeline: 'delivery_timeline',
1371
+ payment_terms: 'payment_terms',
1372
+ warranty_terms: 'warranty_terms',
1373
+ is_viewed: 'is_viewed',
1374
+ status: 'status',
1375
+ created_at: 'created_at',
1376
+ created_by: 'created_by',
1377
+ updated_at: 'updated_at',
1378
+ updated_by: 'updated_by',
1379
+ is_deleted: 'is_deleted',
1380
+ deleted_at: 'deleted_at',
1381
+ deleted_by: 'deleted_by'
1382
+ };
1383
+
1384
+ exports.Prisma.PurchaseOrderScalarFieldEnum = {
1385
+ id: 'id',
1386
+ uuid: 'uuid',
1387
+ event_id: 'event_id',
1388
+ event_vendor_id: 'event_vendor_id',
1389
+ purchase_order_no: 'purchase_order_no',
1390
+ purchase_order_date: 'purchase_order_date',
1391
+ total_amount: 'total_amount',
1392
+ status: 'status',
1393
+ attachments: 'attachments',
1394
+ created_at: 'created_at',
1395
+ created_by: 'created_by',
1396
+ updated_at: 'updated_at',
1397
+ updated_by: 'updated_by',
1398
+ is_deleted: 'is_deleted',
1399
+ deleted_at: 'deleted_at',
1400
+ deleted_by: 'deleted_by'
1401
+ };
1402
+
1403
+ exports.Prisma.PurchaseOrderItemScalarFieldEnum = {
1404
+ id: 'id',
1405
+ uuid: 'uuid',
1406
+ purchase_order_id: 'purchase_order_id',
1407
+ purchase_request_id: 'purchase_request_id',
1408
+ item_id: 'item_id',
1409
+ amount: 'amount',
1410
+ quantity: 'quantity',
1411
+ created_at: 'created_at',
1412
+ updated_at: 'updated_at',
1413
+ is_deleted: 'is_deleted',
1414
+ deleted_at: 'deleted_at'
1415
+ };
1416
+
1417
+ exports.Prisma.PurchaseOrderActivityLogScalarFieldEnum = {
1418
+ id: 'id',
1419
+ uuid: 'uuid',
1420
+ purchase_order_id: 'purchase_order_id',
1421
+ user_id: 'user_id',
1422
+ vendor_id: 'vendor_id',
1423
+ activity_type: 'activity_type',
1424
+ remarks: 'remarks',
1425
+ metadata: 'metadata',
1426
+ created_at: 'created_at'
1427
+ };
1428
+
1429
+ exports.Prisma.UserVendorSocketTokensScalarFieldEnum = {
1430
+ id: 'id',
1431
+ user_id: 'user_id',
1432
+ vendor_id: 'vendor_id',
1433
+ socket_id: 'socket_id',
1434
+ status: 'status',
1435
+ created_at: 'created_at'
1436
+ };
1437
+
1438
+ exports.Prisma.ActivityLogScalarFieldEnum = {
1439
+ id: 'id',
1440
+ uuid: 'uuid',
1441
+ user_id: 'user_id',
1442
+ vendor_id: 'vendor_id',
1443
+ module_name: 'module_name',
1444
+ module_id: 'module_id',
1445
+ activity_type: 'activity_type',
1446
+ description: 'description',
1447
+ metadata: 'metadata',
1448
+ created_at: 'created_at'
1449
+ };
1450
+
1451
+ exports.Prisma.ContactUsScalarFieldEnum = {
1452
+ id: 'id',
1453
+ uuid: 'uuid',
1454
+ full_name: 'full_name',
1455
+ email: 'email',
1456
+ mobile_code: 'mobile_code',
1457
+ mobile: 'mobile',
1458
+ description: 'description',
1459
+ user_id: 'user_id',
1460
+ is_reply: 'is_reply',
1461
+ reply_at: 'reply_at',
1462
+ created_at: 'created_at',
1463
+ updated_at: 'updated_at'
1464
+ };
1465
+
1466
+ exports.Prisma.UploadLogScalarFieldEnum = {
1467
+ id: 'id',
1468
+ uuid: 'uuid',
1469
+ user_id: 'user_id',
1470
+ module: 'module',
1471
+ file_name: 'file_name',
1472
+ file_size: 'file_size',
1473
+ status: 'status',
1474
+ total_records: 'total_records',
1475
+ success_count: 'success_count',
1476
+ failure_count: 'failure_count',
1477
+ error_file_path: 'error_file_path',
1478
+ started_at: 'started_at',
1479
+ completed_at: 'completed_at',
1480
+ errors: 'errors'
1481
+ };
1482
+
1483
+ exports.Prisma.ChatThreadScalarFieldEnum = {
1484
+ id: 'id',
1485
+ title: 'title',
1486
+ userId: 'userId',
1487
+ createdAt: 'createdAt',
1488
+ updatedAt: 'updatedAt',
1489
+ isArchived: 'isArchived',
1490
+ metadata: 'metadata'
1491
+ };
1492
+
1493
+ exports.Prisma.ChatMessageScalarFieldEnum = {
1494
+ id: 'id',
1495
+ threadId: 'threadId',
1496
+ role: 'role',
1497
+ content: 'content',
1498
+ createdAt: 'createdAt',
1499
+ metadata: 'metadata',
1500
+ attachments: 'attachments'
1501
+ };
1502
+
1503
+ exports.Prisma.AIModelScalarFieldEnum = {
1504
+ id: 'id',
1505
+ name: 'name',
1506
+ provider: 'provider',
1507
+ modelName: 'modelName',
1508
+ isActive: 'isActive',
1509
+ config: 'config',
1510
+ createdAt: 'createdAt'
1511
+ };
1512
+
1513
+ exports.Prisma.UserEventConfigurationScalarFieldEnum = {
1514
+ id: 'id',
1515
+ uuid: 'uuid',
1516
+ name: 'name',
1517
+ slug: 'slug',
1518
+ is_active: 'is_active',
1519
+ is_editable: 'is_editable',
1520
+ created_at: 'created_at',
1521
+ created_by: 'created_by',
1522
+ updated_at: 'updated_at',
1523
+ updated_by: 'updated_by'
1524
+ };
1525
+
1526
+ exports.Prisma.ExportLogScalarFieldEnum = {
1527
+ id: 'id',
1528
+ uuid: 'uuid',
1529
+ user_id: 'user_id',
1530
+ module: 'module',
1531
+ file_name: 'file_name',
1532
+ file_size: 'file_size',
1533
+ file_path: 'file_path',
1534
+ download_url: 'download_url',
1535
+ error_message: 'error_message',
1536
+ total_records: 'total_records',
1537
+ processed_records: 'processed_records',
1538
+ filters: 'filters',
1539
+ status: 'status',
1540
+ created_at: 'created_at',
1541
+ started_at: 'started_at',
1542
+ completed_at: 'completed_at',
1543
+ expires_at: 'expires_at'
1544
+ };
1545
+
1546
+ exports.Prisma.FiscalYearScalarFieldEnum = {
1547
+ id: 'id',
1548
+ uuid: 'uuid',
1549
+ name: 'name',
1550
+ start_date: 'start_date',
1551
+ end_date: 'end_date',
1552
+ is_active: 'is_active',
1553
+ is_default: 'is_default',
1554
+ created_at: 'created_at',
1555
+ created_by: 'created_by',
1556
+ updated_at: 'updated_at',
1557
+ updated_by: 'updated_by',
1558
+ is_deleted: 'is_deleted',
1559
+ deleted_at: 'deleted_at',
1560
+ deleted_by: 'deleted_by'
1561
+ };
1562
+
1563
+ exports.Prisma.BudgetScalarFieldEnum = {
1564
+ id: 'id',
1565
+ company_name: 'company_name',
1566
+ financial_year: 'financial_year',
1567
+ currency: 'currency',
1568
+ total_annual_budget: 'total_annual_budget',
1569
+ description: 'description',
1570
+ supporting_documents: 'supporting_documents',
1571
+ status: 'status',
1572
+ created_by: 'created_by',
1573
+ created_at: 'created_at',
1574
+ updated_by: 'updated_by',
1575
+ updated_at: 'updated_at',
1576
+ is_deleted: 'is_deleted',
1577
+ deleted_at: 'deleted_at',
1578
+ deleted_by: 'deleted_by'
1579
+ };
1580
+
1581
+ exports.Prisma.DepartmentBudgetScalarFieldEnum = {
1582
+ id: 'id',
1583
+ budget_id: 'budget_id',
1584
+ department_id: 'department_id',
1585
+ allocated_budget: 'allocated_budget',
1586
+ notes: 'notes',
1587
+ created_by: 'created_by',
1588
+ created_at: 'created_at',
1589
+ updated_by: 'updated_by',
1590
+ updated_at: 'updated_at',
1591
+ is_deleted: 'is_deleted',
1592
+ deleted_by: 'deleted_by',
1593
+ deleted_at: 'deleted_at'
1594
+ };
1595
+
1596
+ exports.Prisma.CategoryBudgetScalarFieldEnum = {
1597
+ id: 'id',
1598
+ budget_id: 'budget_id',
1599
+ category_id: 'category_id',
1600
+ allocated_budget: 'allocated_budget',
1601
+ notes: 'notes',
1602
+ crated_by: 'crated_by',
1603
+ created_at: 'created_at',
1604
+ updated_by: 'updated_by',
1605
+ updated_at: 'updated_at',
1606
+ is_deleted: 'is_deleted',
1607
+ deleted_by: 'deleted_by',
1608
+ deleted_at: 'deleted_at'
1609
+ };
1610
+
1611
+ exports.Prisma.SortOrder = {
1612
+ asc: 'asc',
1613
+ desc: 'desc'
1614
+ };
1615
+
1616
+ exports.Prisma.NullableJsonNullValueInput = {
1617
+ DbNull: Prisma.DbNull,
1618
+ JsonNull: Prisma.JsonNull
1619
+ };
1620
+
1621
+ exports.Prisma.QueryMode = {
1622
+ default: 'default',
1623
+ insensitive: 'insensitive'
1624
+ };
1625
+
1626
+ exports.Prisma.NullsOrder = {
1627
+ first: 'first',
1628
+ last: 'last'
1629
+ };
1630
+
1631
+ exports.Prisma.JsonNullValueFilter = {
1632
+ DbNull: Prisma.DbNull,
1633
+ JsonNull: Prisma.JsonNull,
1634
+ AnyNull: Prisma.AnyNull
1635
+ };
1636
+ exports.StatusEnum = exports.$Enums.StatusEnum = {
1637
+ Active: 'Active',
1638
+ InActive: 'InActive',
1639
+ Blocked: 'Blocked',
1640
+ Suspended: 'Suspended'
1641
+ };
1642
+
1643
+ exports.PurchaseIntakePriorityEnum = exports.$Enums.PurchaseIntakePriorityEnum = {
1644
+ Urgent: 'Urgent',
1645
+ High: 'High',
1646
+ Medium: 'Medium',
1647
+ Low: 'Low'
1648
+ };
1649
+
1650
+ exports.PurchaseIntakeStatusEnum = exports.$Enums.PurchaseIntakeStatusEnum = {
1651
+ Approved: 'Approved',
1652
+ InProgress: 'InProgress',
1653
+ Pending: 'Pending',
1654
+ Rejected: 'Rejected',
1655
+ Completed: 'Completed',
1656
+ Cancelled: 'Cancelled'
1657
+ };
1658
+
1659
+ exports.PurchaseRequestStatusEnum = exports.$Enums.PurchaseRequestStatusEnum = {
1660
+ Open: 'Open',
1661
+ InProgress: 'InProgress',
1662
+ OnHold: 'OnHold',
1663
+ Partial: 'Partial',
1664
+ Closed: 'Closed',
1665
+ Cancelled: 'Cancelled',
1666
+ Completed: 'Completed',
1667
+ Rejected: 'Rejected'
1668
+ };
1669
+
1670
+ exports.PurchaseIntakeItemEnum = exports.$Enums.PurchaseIntakeItemEnum = {
1671
+ Open: 'Open',
1672
+ InProgress: 'InProgress',
1673
+ OnHold: 'OnHold',
1674
+ Partial: 'Partial',
1675
+ Closed: 'Closed',
1676
+ Cancelled: 'Cancelled',
1677
+ Completed: 'Completed',
1678
+ Rejected: 'Rejected'
1679
+ };
1680
+
1681
+ exports.VendorKycVerificationStatusEnum = exports.$Enums.VendorKycVerificationStatusEnum = {
1682
+ PENDING: 'PENDING',
1683
+ APPROVED: 'APPROVED',
1684
+ REJECTED: 'REJECTED',
1685
+ IN_PROGRESS: 'IN_PROGRESS'
1686
+ };
1687
+
1688
+ exports.ContactTypeEnum = exports.$Enums.ContactTypeEnum = {
1689
+ Primary: 'Primary',
1690
+ Secondary: 'Secondary'
1691
+ };
1692
+
1693
+ exports.InitiatorTypeEnum = exports.$Enums.InitiatorTypeEnum = {
1694
+ Role: 'Role',
1695
+ User: 'User'
1696
+ };
1697
+
1698
+ exports.ConditionTypeEnum = exports.$Enums.ConditionTypeEnum = {
1699
+ Price: 'Price',
1700
+ Escalation: 'Escalation'
1701
+ };
1702
+
1703
+ exports.ApprovalJourneyStatusEnum = exports.$Enums.ApprovalJourneyStatusEnum = {
1704
+ Pending: 'Pending',
1705
+ Approved: 'Approved',
1706
+ AutoApproved: 'AutoApproved',
1707
+ Rejected: 'Rejected',
1708
+ AutoRejected: 'AutoRejected',
1709
+ Escalated: 'Escalated',
1710
+ NA: 'NA'
1711
+ };
1712
+
1713
+ exports.FieldType = exports.$Enums.FieldType = {
1714
+ TEXT: 'TEXT',
1715
+ NUMBER: 'NUMBER',
1716
+ FORMULA: 'FORMULA',
1717
+ DATE: 'DATE',
1718
+ TIME: 'TIME',
1719
+ DATETIME: 'DATETIME',
1720
+ PERCENTAGE: 'PERCENTAGE',
1721
+ MEDIA: 'MEDIA',
1722
+ CURRENCY: 'CURRENCY'
1723
+ };
1724
+
1725
+ exports.FieldRole = exports.$Enums.FieldRole = {
1726
+ BUYER: 'BUYER',
1727
+ VENDOR: 'VENDOR',
1728
+ AUTO_CALCULATED: 'AUTO_CALCULATED'
1729
+ };
1730
+
1731
+ exports.FieldPlacement = exports.$Enums.FieldPlacement = {
1732
+ GLOBAL: 'GLOBAL',
1733
+ LOCAL: 'LOCAL'
1734
+ };
1735
+
1736
+ exports.FaqType = exports.$Enums.FaqType = {
1737
+ ADMIN: 'ADMIN',
1738
+ BUYER: 'BUYER',
1739
+ VENDOR: 'VENDOR'
1740
+ };
1741
+
1742
+ exports.EventType = exports.$Enums.EventType = {
1743
+ RFQ: 'RFQ',
1744
+ RFI: 'RFI',
1745
+ RFP: 'RFP',
1746
+ RAUC: 'RAUC',
1747
+ FAUC: 'FAUC'
1748
+ };
1749
+
1750
+ exports.EventStatus = exports.$Enums.EventStatus = {
1751
+ Draft: 'Draft',
1752
+ Live: 'Live',
1753
+ Closed: 'Closed',
1754
+ Upcoming: 'Upcoming',
1755
+ Cancelled: 'Cancelled'
1756
+ };
1757
+
1758
+ exports.EventPhase = exports.$Enums.EventPhase = {
1759
+ Upcoming: 'Upcoming',
1760
+ Invitation: 'Invitation',
1761
+ PreBids: 'PreBids',
1762
+ Bidding: 'Bidding',
1763
+ Evaluation: 'Evaluation',
1764
+ ClosingSoon: 'ClosingSoon',
1765
+ Closed: 'Closed',
1766
+ Expired: 'Expired'
1767
+ };
1768
+
1769
+ exports.EventVendorStatus = exports.$Enums.EventVendorStatus = {
1770
+ Pending: 'Pending',
1771
+ Approved: 'Approved',
1772
+ Rejected: 'Rejected'
1773
+ };
1774
+
1775
+ exports.EventVendorBidStatus = exports.$Enums.EventVendorBidStatus = {
1776
+ INVITED: 'INVITED',
1777
+ VIEWED: 'VIEWED',
1778
+ DRAFT: 'DRAFT',
1779
+ BIDSUBMITTED: 'BIDSUBMITTED',
1780
+ SUBMITTED: 'SUBMITTED',
1781
+ ENDED: 'ENDED',
1782
+ NORESPONSE: 'NORESPONSE',
1783
+ EVALUATION: 'EVALUATION',
1784
+ WON: 'WON',
1785
+ NOTAWARDED: 'NOTAWARDED',
1786
+ CANCELLED: 'CANCELLED',
1787
+ EXPIRED: 'EXPIRED',
1788
+ ACCEPTED: 'ACCEPTED',
1789
+ REJECTED: 'REJECTED',
1790
+ LASTBIDREJECTED: 'LASTBIDREJECTED',
1791
+ BLOCKED: 'BLOCKED'
1792
+ };
1793
+
1794
+ exports.userTypeEnum = exports.$Enums.userTypeEnum = {
1795
+ ADMIN: 'ADMIN',
1796
+ VENDOR: 'VENDOR'
1797
+ };
1798
+
1799
+ exports.VendorKycStatusEnum = exports.$Enums.VendorKycStatusEnum = {
1800
+ PENDING: 'PENDING',
1801
+ APPROVED: 'APPROVED',
1802
+ REJECTED: 'REJECTED'
1803
+ };
1804
+
1805
+ exports.TicketPriorityEnum = exports.$Enums.TicketPriorityEnum = {
1806
+ LOW: 'LOW',
1807
+ MEDIUM: 'MEDIUM',
1808
+ HIGH: 'HIGH',
1809
+ CRITICAL: 'CRITICAL'
1810
+ };
1811
+
1812
+ exports.TicketStatusEnum = exports.$Enums.TicketStatusEnum = {
1813
+ OPEN: 'OPEN',
1814
+ IN_PROGRESS: 'IN_PROGRESS',
1815
+ RESOLVED: 'RESOLVED',
1816
+ CLOSED: 'CLOSED',
1817
+ REOPEN: 'REOPEN'
1818
+ };
1819
+
1820
+ exports.TicketContactMethodEnum = exports.$Enums.TicketContactMethodEnum = {
1821
+ EMAIL: 'EMAIL',
1822
+ PHONE: 'PHONE',
1823
+ CHAT: 'CHAT'
1824
+ };
1825
+
1826
+ exports.AlertTypeEnum = exports.$Enums.AlertTypeEnum = {
1827
+ PURCHASE_INTAKE: 'PURCHASE_INTAKE',
1828
+ PURCHASE_REQUEST: 'PURCHASE_REQUEST',
1829
+ PURCHASE_ORDER: 'PURCHASE_ORDER',
1830
+ APPROVAL: 'APPROVAL',
1831
+ QUOTATION: 'QUOTATION',
1832
+ AUCTION: 'AUCTION',
1833
+ VENDOR_KYC: 'VENDOR_KYC',
1834
+ GENERAL: 'GENERAL',
1835
+ CONTRACT: 'CONTRACT',
1836
+ CONTRACT_CLAUSE: 'CONTRACT_CLAUSE',
1837
+ CONTRACT_TEMPLATE: 'CONTRACT_TEMPLATE',
1838
+ UPLOAD: 'UPLOAD'
1839
+ };
1840
+
1841
+ exports.MediumEnum = exports.$Enums.MediumEnum = {
1842
+ EMAIL: 'EMAIL',
1843
+ SMS: 'SMS'
1844
+ };
1845
+
1846
+ exports.BidStatus = exports.$Enums.BidStatus = {
1847
+ NOT_HIGHEST_BIDDER: 'NOT_HIGHEST_BIDDER',
1848
+ HIGHEST_BIDDER: 'HIGHEST_BIDDER',
1849
+ CANCELLED: 'CANCELLED',
1850
+ REJECTED: 'REJECTED',
1851
+ ACCEPTED: 'ACCEPTED',
1852
+ LAST_REJECTED: 'LAST_REJECTED',
1853
+ COMPLETE_REJECTED: 'COMPLETE_REJECTED'
1854
+ };
1855
+
1856
+ exports.QuotationStatus = exports.$Enums.QuotationStatus = {
1857
+ SUBMITTED: 'SUBMITTED',
1858
+ UNDER_REVIEW: 'UNDER_REVIEW',
1859
+ ACCEPTED: 'ACCEPTED',
1860
+ REJECTED: 'REJECTED',
1861
+ REVISED: 'REVISED',
1862
+ LAST_REJECTED: 'LAST_REJECTED',
1863
+ COMPLETE_REJECTED: 'COMPLETE_REJECTED'
1864
+ };
1865
+
1866
+ exports.LoginActivityUserType = exports.$Enums.LoginActivityUserType = {
1867
+ ADMIN: 'ADMIN',
1868
+ VENDOR: 'VENDOR'
1869
+ };
1870
+
1871
+ exports.CounterOfferStatus = exports.$Enums.CounterOfferStatus = {
1872
+ PENDING: 'PENDING',
1873
+ ACCEPTED: 'ACCEPTED',
1874
+ REJECTED: 'REJECTED',
1875
+ COUNTERED: 'COUNTERED',
1876
+ AUTO_REJECTED: 'AUTO_REJECTED'
1877
+ };
1878
+
1879
+ exports.PurchaseOrderStatus = exports.$Enums.PurchaseOrderStatus = {
1880
+ PENDING: 'PENDING',
1881
+ REQUESTED: 'REQUESTED',
1882
+ REJECTED: 'REJECTED',
1883
+ COMPLETED: 'COMPLETED'
1884
+ };
1885
+
1886
+ exports.POActivityType = exports.$Enums.POActivityType = {
1887
+ CREATED: 'CREATED',
1888
+ REQUESTED: 'REQUESTED',
1889
+ UPLOADED: 'UPLOADED',
1890
+ SENT_TO_VENDOR: 'SENT_TO_VENDOR',
1891
+ COMPLETED: 'COMPLETED',
1892
+ CANCELLED: 'CANCELLED',
1893
+ OTHER: 'OTHER'
1894
+ };
1895
+
1896
+ exports.UploadModuleEnum = exports.$Enums.UploadModuleEnum = {
1897
+ ITEM_LIBRARY: 'ITEM_LIBRARY',
1898
+ CATEGORY_MASTER: 'CATEGORY_MASTER',
1899
+ SUB_CATEGORY_MASTER: 'SUB_CATEGORY_MASTER',
1900
+ UOM_MASTER: 'UOM_MASTER',
1901
+ ATTRIBUTE_MASTER: 'ATTRIBUTE_MASTER'
1902
+ };
1903
+
1904
+ exports.UploadStatus = exports.$Enums.UploadStatus = {
1905
+ PENDING: 'PENDING',
1906
+ PROCESSING: 'PROCESSING',
1907
+ COMPLETED: 'COMPLETED',
1908
+ FAILED: 'FAILED'
1909
+ };
1910
+
1911
+ exports.MessageRole = exports.$Enums.MessageRole = {
1912
+ USER: 'USER',
1913
+ ASSISTANT: 'ASSISTANT',
1914
+ SYSTEM: 'SYSTEM'
1915
+ };
1916
+
1917
+ exports.BudgetStatus = exports.$Enums.BudgetStatus = {
1918
+ WARNING: 'WARNING',
1919
+ HEALTHY: 'HEALTHY',
1920
+ CRITICAL: 'CRITICAL'
1921
+ };
1922
+
1923
+ exports.Prisma.ModelName = {
1924
+ SerialNumberConfiguration: 'SerialNumberConfiguration',
1925
+ User: 'User',
1926
+ Role: 'Role',
1927
+ UserRole: 'UserRole',
1928
+ Permission: 'Permission',
1929
+ RolePermission: 'RolePermission',
1930
+ Department: 'Department',
1931
+ UserDepartment: 'UserDepartment',
1932
+ Category: 'Category',
1933
+ Attribute: 'Attribute',
1934
+ AttributeValue: 'AttributeValue',
1935
+ Item: 'Item',
1936
+ PurchaseIntake: 'PurchaseIntake',
1937
+ PurchaseIntakeItem: 'PurchaseIntakeItem',
1938
+ Vendor: 'Vendor',
1939
+ VendorCategory: 'VendorCategory',
1940
+ VendorContactPerson: 'VendorContactPerson',
1941
+ EmailTemplate: 'EmailTemplate',
1942
+ SmtpConfig: 'SmtpConfig',
1943
+ ApprovalHierarchy: 'ApprovalHierarchy',
1944
+ ApprovalCondition: 'ApprovalCondition',
1945
+ ApprovalLevel: 'ApprovalLevel',
1946
+ ApprovalLevelUser: 'ApprovalLevelUser',
1947
+ ApprovalLevelEscalation: 'ApprovalLevelEscalation',
1948
+ ApprovalLevelEscalationUser: 'ApprovalLevelEscalationUser',
1949
+ Uom: 'Uom',
1950
+ UomCategory: 'UomCategory',
1951
+ ItemAttribute: 'ItemAttribute',
1952
+ ItemAttributeValue: 'ItemAttributeValue',
1953
+ ItemDocument: 'ItemDocument',
1954
+ ApprovalJourney: 'ApprovalJourney',
1955
+ Template: 'Template',
1956
+ TemplateField: 'TemplateField',
1957
+ FaqCategory: 'FaqCategory',
1958
+ Faq: 'Faq',
1959
+ Event: 'Event',
1960
+ EventItems: 'EventItems',
1961
+ EventVendors: 'EventVendors',
1962
+ EventConfigurations: 'EventConfigurations',
1963
+ EventStrategies: 'EventStrategies',
1964
+ VendorEventWatchlist: 'VendorEventWatchlist',
1965
+ Strategies: 'Strategies',
1966
+ Cms: 'Cms',
1967
+ VendorKycInfo: 'VendorKycInfo',
1968
+ Currency: 'Currency',
1969
+ SupportTicket: 'SupportTicket',
1970
+ TicketAssignment: 'TicketAssignment',
1971
+ TicketHistory: 'TicketHistory',
1972
+ TicketReply: 'TicketReply',
1973
+ SupportCategory: 'SupportCategory',
1974
+ VendorStatus: 'VendorStatus',
1975
+ VendorKycInfoVerificationStatus: 'VendorKycInfoVerificationStatus',
1976
+ AdminAlert: 'AdminAlert',
1977
+ VendorAlert: 'VendorAlert',
1978
+ CustomerNotification: 'CustomerNotification',
1979
+ Bid: 'Bid',
1980
+ BidLog: 'BidLog',
1981
+ Quotation: 'Quotation',
1982
+ QuotationLog: 'QuotationLog',
1983
+ FormMaster: 'FormMaster',
1984
+ DynamicForm: 'DynamicForm',
1985
+ Module: 'Module',
1986
+ TenantConfiguration: 'TenantConfiguration',
1987
+ UserLoginActivity: 'UserLoginActivity',
1988
+ Region: 'Region',
1989
+ Subregion: 'Subregion',
1990
+ Country: 'Country',
1991
+ State: 'State',
1992
+ City: 'City',
1993
+ Location: 'Location',
1994
+ SubModule: 'SubModule',
1995
+ CounterOffer: 'CounterOffer',
1996
+ PurchaseOrder: 'PurchaseOrder',
1997
+ PurchaseOrderItem: 'PurchaseOrderItem',
1998
+ PurchaseOrderActivityLog: 'PurchaseOrderActivityLog',
1999
+ UserVendorSocketTokens: 'UserVendorSocketTokens',
2000
+ ActivityLog: 'ActivityLog',
2001
+ ContactUs: 'ContactUs',
2002
+ UploadLog: 'UploadLog',
2003
+ ChatThread: 'ChatThread',
2004
+ ChatMessage: 'ChatMessage',
2005
+ AIModel: 'AIModel',
2006
+ UserEventConfiguration: 'UserEventConfiguration',
2007
+ ExportLog: 'ExportLog',
2008
+ FiscalYear: 'FiscalYear',
2009
+ Budget: 'Budget',
2010
+ DepartmentBudget: 'DepartmentBudget',
2011
+ CategoryBudget: 'CategoryBudget'
2012
+ };
2013
+
2014
+ /**
2015
+ * This is a stub Prisma Client that will error at runtime if called.
2016
+ */
2017
+ class PrismaClient {
2018
+ constructor() {
2019
+ return new Proxy(this, {
2020
+ get(target, prop) {
2021
+ let message
2022
+ const runtime = getRuntime()
2023
+ if (runtime.isEdge) {
2024
+ message = `PrismaClient is not configured to run in ${runtime.prettyName}. In order to run Prisma Client on edge runtime, either:
2025
+ - Use Prisma Accelerate: https://pris.ly/d/accelerate
2026
+ - Use Driver Adapters: https://pris.ly/d/driver-adapters
2027
+ `;
2028
+ } else {
2029
+ message = 'PrismaClient is unable to run in this browser environment, or has been bundled for the browser (running in `' + runtime.prettyName + '`).'
2030
+ }
2031
+
2032
+ message += `
2033
+ If this is unexpected, please open an issue: https://pris.ly/prisma-prisma-bug-report`
2034
+
2035
+ throw new Error(message)
2036
+ }
2037
+ })
2038
+ }
2039
+ }
2040
+
2041
+ exports.PrismaClient = PrismaClient
2042
+
2043
+ Object.assign(exports, Prisma)