procbay-schema 1.0.171 → 1.0.175

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 (150) hide show
  1. package/package.json +13 -22
  2. package/prisma/migrations/20260518124524_added_new_template_builder_changes/migration.sql +26 -0
  3. package/prisma/schema.prisma +17 -7
  4. package/scripts/sync-schemas.js +1 -5
  5. package/src/create-prisma-client.js +9 -49
  6. package/src/prisma/client.d.ts +1 -0
  7. package/src/prisma/client.js +4 -0
  8. package/src/prisma/default.d.ts +1 -0
  9. package/src/prisma/default.js +4 -0
  10. package/src/prisma/edge.d.ts +1 -0
  11. package/src/prisma/edge.js +2911 -0
  12. package/src/{generated/prisma/internal/prismaNamespaceBrowser.ts → prisma/index-browser.js} +991 -739
  13. package/src/prisma/index.d.ts +286785 -0
  14. package/src/prisma/index.js +2940 -2
  15. package/src/prisma/libquery_engine-darwin.dylib.node +0 -0
  16. package/src/prisma/libquery_engine-debian-openssl-3.0.x.so.node +0 -0
  17. package/src/prisma/package.json +140 -0
  18. package/src/prisma/query_engine-windows.dll.node +0 -0
  19. package/src/prisma/runtime/edge-esm.js +34 -0
  20. package/src/prisma/runtime/edge.js +34 -0
  21. package/src/prisma/runtime/index-browser.d.ts +370 -0
  22. package/src/prisma/runtime/index-browser.js +16 -0
  23. package/src/prisma/runtime/library.d.ts +3647 -0
  24. package/src/prisma/runtime/library.js +146 -0
  25. package/src/prisma/runtime/react-native.js +83 -0
  26. package/src/prisma/runtime/wasm.js +35 -0
  27. package/src/prisma/schema.prisma +3831 -0
  28. package/src/prisma/wasm.d.ts +1 -0
  29. package/src/prisma/wasm.js +2873 -0
  30. package/prisma/migrations/20260515130204_updated_user_approval_management_schema/migration.sql +0 -55
  31. package/prisma.config.js +0 -19
  32. package/src/generated/prisma/browser.ts +0 -574
  33. package/src/generated/prisma/client.bundle.mjs +0 -6733
  34. package/src/generated/prisma/client.ts +0 -598
  35. package/src/generated/prisma/commonInputTypes.ts +0 -2911
  36. package/src/generated/prisma/enums.ts +0 -730
  37. package/src/generated/prisma/internal/class.ts +0 -1304
  38. package/src/generated/prisma/internal/prismaNamespace.ts +0 -12506
  39. package/src/generated/prisma/models/ActivityLog.ts +0 -1590
  40. package/src/generated/prisma/models/AdminAlert.ts +0 -1547
  41. package/src/generated/prisma/models/ApprovalCondition.ts +0 -2085
  42. package/src/generated/prisma/models/ApprovalDelegation.ts +0 -3057
  43. package/src/generated/prisma/models/ApprovalDelegationDelegate.ts +0 -1784
  44. package/src/generated/prisma/models/ApprovalHierarchy.ts +0 -3083
  45. package/src/generated/prisma/models/ApprovalJourney.ts +0 -2867
  46. package/src/generated/prisma/models/ApprovalLevel.ts +0 -2335
  47. package/src/generated/prisma/models/ApprovalLevelEscalation.ts +0 -2128
  48. package/src/generated/prisma/models/ApprovalLevelEscalationUser.ts +0 -1863
  49. package/src/generated/prisma/models/ApprovalLevelUser.ts +0 -1863
  50. package/src/generated/prisma/models/ApprovalManagement.ts +0 -1728
  51. package/src/generated/prisma/models/Attribute.ts +0 -2075
  52. package/src/generated/prisma/models/AttributeValue.ts +0 -1882
  53. package/src/generated/prisma/models/Bid.ts +0 -2719
  54. package/src/generated/prisma/models/BidLog.ts +0 -3560
  55. package/src/generated/prisma/models/BlanketPurchaseOrder.ts +0 -3527
  56. package/src/generated/prisma/models/BlanketPurchaseOrderItem.ts +0 -2532
  57. package/src/generated/prisma/models/BlanketPurchaseOrderRelease.ts +0 -2713
  58. package/src/generated/prisma/models/BoqEventItem.ts +0 -4056
  59. package/src/generated/prisma/models/Budget.ts +0 -1954
  60. package/src/generated/prisma/models/BudgetHold.ts +0 -1904
  61. package/src/generated/prisma/models/BusinessEntity.ts +0 -3901
  62. package/src/generated/prisma/models/BusinessEntityDepartment.ts +0 -2032
  63. package/src/generated/prisma/models/BusinessEntityLocation.ts +0 -1567
  64. package/src/generated/prisma/models/Catalogue.ts +0 -2081
  65. package/src/generated/prisma/models/CatalogueCart.ts +0 -2305
  66. package/src/generated/prisma/models/CatalogueVendor.ts +0 -2252
  67. package/src/generated/prisma/models/Category.ts +0 -3091
  68. package/src/generated/prisma/models/CategoryBudget.ts +0 -2690
  69. package/src/generated/prisma/models/City.ts +0 -2180
  70. package/src/generated/prisma/models/Cms.ts +0 -1492
  71. package/src/generated/prisma/models/ContactUs.ts +0 -1654
  72. package/src/generated/prisma/models/Conversation.ts +0 -2389
  73. package/src/generated/prisma/models/ConversationParticipant.ts +0 -1833
  74. package/src/generated/prisma/models/CounterOffer.ts +0 -2156
  75. package/src/generated/prisma/models/Country.ts +0 -3394
  76. package/src/generated/prisma/models/Currency.ts +0 -1642
  77. package/src/generated/prisma/models/CustomerNotification.ts +0 -1653
  78. package/src/generated/prisma/models/Department.ts +0 -2372
  79. package/src/generated/prisma/models/DepartmentBudget.ts +0 -2494
  80. package/src/generated/prisma/models/DynamicForm.ts +0 -2021
  81. package/src/generated/prisma/models/EmailTemplate.ts +0 -1516
  82. package/src/generated/prisma/models/Event.ts +0 -6819
  83. package/src/generated/prisma/models/EventConfigurations.ts +0 -1736
  84. package/src/generated/prisma/models/EventCriteria.ts +0 -2134
  85. package/src/generated/prisma/models/EventItems.ts +0 -2821
  86. package/src/generated/prisma/models/EventRfiForm.ts +0 -2020
  87. package/src/generated/prisma/models/EventRfiFormLog.ts +0 -2608
  88. package/src/generated/prisma/models/EventStrategies.ts +0 -1857
  89. package/src/generated/prisma/models/EventVendorCriteria.ts +0 -2186
  90. package/src/generated/prisma/models/EventVendors.ts +0 -3446
  91. package/src/generated/prisma/models/Expense.ts +0 -1625
  92. package/src/generated/prisma/models/ExportLog.ts +0 -1822
  93. package/src/generated/prisma/models/Faq.ts +0 -1753
  94. package/src/generated/prisma/models/FaqCategory.ts +0 -1610
  95. package/src/generated/prisma/models/FiscalYear.ts +0 -1460
  96. package/src/generated/prisma/models/FormMaster.ts +0 -1831
  97. package/src/generated/prisma/models/GRN.ts +0 -3354
  98. package/src/generated/prisma/models/GRNItem.ts +0 -2119
  99. package/src/generated/prisma/models/Industry.ts +0 -1642
  100. package/src/generated/prisma/models/Invoice.ts +0 -2949
  101. package/src/generated/prisma/models/InvoiceItem.ts +0 -2397
  102. package/src/generated/prisma/models/Item.ts +0 -10644
  103. package/src/generated/prisma/models/ItemAttribute.ts +0 -1750
  104. package/src/generated/prisma/models/ItemAttributeValue.ts +0 -1802
  105. package/src/generated/prisma/models/ItemDocument.ts +0 -1590
  106. package/src/generated/prisma/models/Location.ts +0 -2711
  107. package/src/generated/prisma/models/Message.ts +0 -2744
  108. package/src/generated/prisma/models/MessageRecipient.ts +0 -1759
  109. package/src/generated/prisma/models/Module.ts +0 -1630
  110. package/src/generated/prisma/models/Permission.ts +0 -1640
  111. package/src/generated/prisma/models/PurchaseIntake.ts +0 -4672
  112. package/src/generated/prisma/models/PurchaseIntakeItem.ts +0 -2366
  113. package/src/generated/prisma/models/PurchaseOrder.ts +0 -4012
  114. package/src/generated/prisma/models/PurchaseOrderActivityLog.ts +0 -1720
  115. package/src/generated/prisma/models/PurchaseOrderItem.ts +0 -2623
  116. package/src/generated/prisma/models/Quotation.ts +0 -3207
  117. package/src/generated/prisma/models/QuotationLog.ts +0 -3239
  118. package/src/generated/prisma/models/Region.ts +0 -1746
  119. package/src/generated/prisma/models/RequestedCatalogue.ts +0 -1618
  120. package/src/generated/prisma/models/RequestedCatalogueDetails.ts +0 -2252
  121. package/src/generated/prisma/models/Role.ts +0 -1907
  122. package/src/generated/prisma/models/RolePermission.ts +0 -1737
  123. package/src/generated/prisma/models/SendBack.ts +0 -1830
  124. package/src/generated/prisma/models/SerialNumberConfiguration.ts +0 -1254
  125. package/src/generated/prisma/models/SmtpConfig.ts +0 -1522
  126. package/src/generated/prisma/models/State.ts +0 -2174
  127. package/src/generated/prisma/models/Strategies.ts +0 -1791
  128. package/src/generated/prisma/models/SubModule.ts +0 -1450
  129. package/src/generated/prisma/models/Subregion.ts +0 -1870
  130. package/src/generated/prisma/models/SupportCategory.ts +0 -1712
  131. package/src/generated/prisma/models/SupportTicket.ts +0 -2478
  132. package/src/generated/prisma/models/SupportingDocument.ts +0 -2283
  133. package/src/generated/prisma/models/Template.ts +0 -2429
  134. package/src/generated/prisma/models/TemplateField.ts +0 -1916
  135. package/src/generated/prisma/models/TemplateStrategies.ts +0 -1614
  136. package/src/generated/prisma/models/TenantConfiguration.ts +0 -1694
  137. package/src/generated/prisma/models/TicketAssignment.ts +0 -1742
  138. package/src/generated/prisma/models/TicketHistory.ts +0 -1789
  139. package/src/generated/prisma/models/TicketReply.ts +0 -1640
  140. package/src/generated/prisma/models/Uom.ts +0 -1752
  141. package/src/generated/prisma/models/UomCategory.ts +0 -1558
  142. package/src/generated/prisma/models/UploadLog.ts +0 -1731
  143. package/src/generated/prisma/models/User.ts +0 -19397
  144. package/src/generated/prisma/models/UserDepartmentEntity.ts +0 -2099
  145. package/src/generated/prisma/models/UserEventConfiguration.ts +0 -1370
  146. package/src/generated/prisma/models/UserLoginActivity.ts +0 -1693
  147. package/src/generated/prisma/models/UserRole.ts +0 -1696
  148. package/src/generated/prisma/models/UserVendorSocketTokens.ts +0 -1450
  149. package/src/generated/prisma/models/VendorReference.ts +0 -1707
  150. package/src/generated/prisma/models.ts +0 -122
@@ -1,198 +1,135 @@
1
1
 
2
- /* !!! This is code generated by Prisma. Do not edit directly. !!! */
2
+ /* !!! This is code generated by Prisma. Do not edit directly. !!!
3
3
  /* eslint-disable */
4
- // biome-ignore-all lint: generated file
5
- // @ts-nocheck
6
- /*
7
- * WARNING: This is an internal file that is subject to change!
8
- *
9
- * 🛑 Under no circumstances should you import this file directly! 🛑
10
- *
11
- * All exports from this file are wrapped under a `Prisma` namespace object in the browser.ts file.
12
- * While this enables partial backward compatibility, it is not part of the stable public API.
13
- *
14
- * If you are looking for your Models, Enums, and Input Types, please import them from the respective
15
- * model files in the `model` directory!
16
- */
17
4
 
18
- import * as runtime from "@prisma/client/runtime/index-browser"
5
+ Object.defineProperty(exports, "__esModule", { value: true });
19
6
 
20
- export type * from '../models.ts'
21
- export type * from './prismaNamespace.ts'
7
+ const {
8
+ Decimal,
9
+ objectEnumValues,
10
+ makeStrictEnum,
11
+ Public,
12
+ getRuntime,
13
+ skip
14
+ } = require('./runtime/index-browser.js')
22
15
 
23
- export const Decimal = runtime.Decimal
24
16
 
17
+ const Prisma = {}
18
+
19
+ exports.Prisma = Prisma
20
+ exports.$Enums = {}
25
21
 
26
- export const NullTypes = {
27
- DbNull: runtime.NullTypes.DbNull as (new (secret: never) => typeof runtime.DbNull),
28
- JsonNull: runtime.NullTypes.JsonNull as (new (secret: never) => typeof runtime.JsonNull),
29
- AnyNull: runtime.NullTypes.AnyNull as (new (secret: never) => typeof runtime.AnyNull),
30
- }
31
22
  /**
32
- * Helper for filtering JSON entries that have `null` on the database (empty on the db)
33
- *
34
- * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
23
+ * Prisma Client JS version: 6.8.2
24
+ * Query Engine version: 2060c79ba17c6bb9f5823312b6f6b7f4a845738e
35
25
  */
36
- export const DbNull = runtime.DbNull
26
+ Prisma.prismaVersion = {
27
+ client: "6.8.2",
28
+ engine: "2060c79ba17c6bb9f5823312b6f6b7f4a845738e"
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
37
57
 
38
58
  /**
39
- * Helper for filtering JSON entries that have JSON `null` values (not empty on the db)
40
- *
41
- * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
59
+ * Re-export of sql-template-tag
42
60
  */
43
- export const JsonNull = runtime.JsonNull
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
+ )}
44
96
 
45
97
  /**
46
- * Helper for filtering JSON entries that are `Prisma.DbNull` or `Prisma.JsonNull`
47
- *
48
- * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
98
+ * Shorthand utilities for JSON filtering
49
99
  */
50
- export const AnyNull = runtime.AnyNull
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
+ }
51
109
 
52
110
 
53
- export const ModelName = {
54
- SerialNumberConfiguration: 'SerialNumberConfiguration',
55
- User: 'User',
56
- Role: 'Role',
57
- UserRole: 'UserRole',
58
- Permission: 'Permission',
59
- RolePermission: 'RolePermission',
60
- Department: 'Department',
61
- UserDepartmentEntity: 'UserDepartmentEntity',
62
- BusinessEntityDepartment: 'BusinessEntityDepartment',
63
- Industry: 'Industry',
64
- Category: 'Category',
65
- Attribute: 'Attribute',
66
- AttributeValue: 'AttributeValue',
67
- Item: 'Item',
68
- PurchaseIntake: 'PurchaseIntake',
69
- PurchaseIntakeItem: 'PurchaseIntakeItem',
70
- SendBack: 'SendBack',
71
- EmailTemplate: 'EmailTemplate',
72
- SmtpConfig: 'SmtpConfig',
73
- ApprovalHierarchy: 'ApprovalHierarchy',
74
- ApprovalCondition: 'ApprovalCondition',
75
- ApprovalLevel: 'ApprovalLevel',
76
- ApprovalLevelUser: 'ApprovalLevelUser',
77
- ApprovalLevelEscalation: 'ApprovalLevelEscalation',
78
- ApprovalLevelEscalationUser: 'ApprovalLevelEscalationUser',
79
- Uom: 'Uom',
80
- UomCategory: 'UomCategory',
81
- ItemAttribute: 'ItemAttribute',
82
- ItemAttributeValue: 'ItemAttributeValue',
83
- ItemDocument: 'ItemDocument',
84
- ApprovalJourney: 'ApprovalJourney',
85
- ApprovalDelegation: 'ApprovalDelegation',
86
- ApprovalDelegationDelegate: 'ApprovalDelegationDelegate',
87
- Template: 'Template',
88
- TemplateStrategies: 'TemplateStrategies',
89
- TemplateField: 'TemplateField',
90
- FaqCategory: 'FaqCategory',
91
- Faq: 'Faq',
92
- Event: 'Event',
93
- EventItems: 'EventItems',
94
- BoqEventItem: 'BoqEventItem',
95
- EventVendors: 'EventVendors',
96
- EventConfigurations: 'EventConfigurations',
97
- EventStrategies: 'EventStrategies',
98
- Strategies: 'Strategies',
99
- Cms: 'Cms',
100
- Currency: 'Currency',
101
- SupportTicket: 'SupportTicket',
102
- TicketAssignment: 'TicketAssignment',
103
- TicketHistory: 'TicketHistory',
104
- TicketReply: 'TicketReply',
105
- SupportCategory: 'SupportCategory',
106
- AdminAlert: 'AdminAlert',
107
- CustomerNotification: 'CustomerNotification',
108
- Bid: 'Bid',
109
- BidLog: 'BidLog',
110
- Quotation: 'Quotation',
111
- QuotationLog: 'QuotationLog',
112
- FormMaster: 'FormMaster',
113
- DynamicForm: 'DynamicForm',
114
- Module: 'Module',
115
- TenantConfiguration: 'TenantConfiguration',
116
- UserLoginActivity: 'UserLoginActivity',
117
- Region: 'Region',
118
- Subregion: 'Subregion',
119
- Country: 'Country',
120
- State: 'State',
121
- City: 'City',
122
- Location: 'Location',
123
- SubModule: 'SubModule',
124
- CounterOffer: 'CounterOffer',
125
- PurchaseOrder: 'PurchaseOrder',
126
- PurchaseOrderItem: 'PurchaseOrderItem',
127
- PurchaseOrderActivityLog: 'PurchaseOrderActivityLog',
128
- UserVendorSocketTokens: 'UserVendorSocketTokens',
129
- ActivityLog: 'ActivityLog',
130
- ContactUs: 'ContactUs',
131
- UploadLog: 'UploadLog',
132
- UserEventConfiguration: 'UserEventConfiguration',
133
- ExportLog: 'ExportLog',
134
- FiscalYear: 'FiscalYear',
135
- Budget: 'Budget',
136
- DepartmentBudget: 'DepartmentBudget',
137
- CategoryBudget: 'CategoryBudget',
138
- BudgetHold: 'BudgetHold',
139
- SupportingDocument: 'SupportingDocument',
140
- Expense: 'Expense',
141
- VendorReference: 'VendorReference',
142
- RequestedCatalogue: 'RequestedCatalogue',
143
- RequestedCatalogueDetails: 'RequestedCatalogueDetails',
144
- Catalogue: 'Catalogue',
145
- CatalogueVendor: 'CatalogueVendor',
146
- CatalogueCart: 'CatalogueCart',
147
- EventRfiForm: 'EventRfiForm',
148
- EventRfiFormLog: 'EventRfiFormLog',
149
- EventCriteria: 'EventCriteria',
150
- EventVendorCriteria: 'EventVendorCriteria',
151
- Conversation: 'Conversation',
152
- ConversationParticipant: 'ConversationParticipant',
153
- Message: 'Message',
154
- MessageRecipient: 'MessageRecipient',
155
- BlanketPurchaseOrder: 'BlanketPurchaseOrder',
156
- BlanketPurchaseOrderItem: 'BlanketPurchaseOrderItem',
157
- BlanketPurchaseOrderRelease: 'BlanketPurchaseOrderRelease',
158
- GRN: 'GRN',
159
- GRNItem: 'GRNItem',
160
- BusinessEntity: 'BusinessEntity',
161
- BusinessEntityLocation: 'BusinessEntityLocation',
162
- Invoice: 'Invoice',
163
- InvoiceItem: 'InvoiceItem',
164
- ApprovalManagement: 'ApprovalManagement'
165
- } as const
166
-
167
- export type ModelName = (typeof ModelName)[keyof typeof ModelName]
168
111
 
169
- /*
112
+ /**
170
113
  * Enums
171
114
  */
172
115
 
173
- export const TransactionIsolationLevel = runtime.makeStrictEnum({
116
+ exports.Prisma.TransactionIsolationLevel = makeStrictEnum({
174
117
  ReadUncommitted: 'ReadUncommitted',
175
118
  ReadCommitted: 'ReadCommitted',
176
119
  RepeatableRead: 'RepeatableRead',
177
120
  Serializable: 'Serializable'
178
- } as const)
179
-
180
- export type TransactionIsolationLevel = (typeof TransactionIsolationLevel)[keyof typeof TransactionIsolationLevel]
121
+ });
181
122
 
182
-
183
- export const SerialNumberConfigurationScalarFieldEnum = {
123
+ exports.Prisma.SerialNumberConfigurationScalarFieldEnum = {
184
124
  id: 'id',
185
125
  module: 'module',
186
126
  alias: 'alias',
187
127
  initial_number: 'initial_number',
188
128
  current_number: 'current_number',
189
129
  created_at: 'created_at'
190
- } as const
191
-
192
- export type SerialNumberConfigurationScalarFieldEnum = (typeof SerialNumberConfigurationScalarFieldEnum)[keyof typeof SerialNumberConfigurationScalarFieldEnum]
130
+ };
193
131
 
194
-
195
- export const UserScalarFieldEnum = {
132
+ exports.Prisma.UserScalarFieldEnum = {
196
133
  id: 'id',
197
134
  uuid: 'uuid',
198
135
  unique_id: 'unique_id',
@@ -224,12 +161,9 @@ export const UserScalarFieldEnum = {
224
161
  deleted_by: 'deleted_by',
225
162
  user_environment: 'user_environment',
226
163
  contract_role: 'contract_role'
227
- } as const
228
-
229
- export type UserScalarFieldEnum = (typeof UserScalarFieldEnum)[keyof typeof UserScalarFieldEnum]
164
+ };
230
165
 
231
-
232
- export const RoleScalarFieldEnum = {
166
+ exports.Prisma.RoleScalarFieldEnum = {
233
167
  id: 'id',
234
168
  role_name: 'role_name',
235
169
  slug: 'slug',
@@ -242,12 +176,9 @@ export const RoleScalarFieldEnum = {
242
176
  is_deleted: 'is_deleted',
243
177
  deleted_at: 'deleted_at',
244
178
  deleted_by: 'deleted_by'
245
- } as const
246
-
247
- export type RoleScalarFieldEnum = (typeof RoleScalarFieldEnum)[keyof typeof RoleScalarFieldEnum]
179
+ };
248
180
 
249
-
250
- export const UserRoleScalarFieldEnum = {
181
+ exports.Prisma.UserRoleScalarFieldEnum = {
251
182
  id: 'id',
252
183
  user_id: 'user_id',
253
184
  role_id: 'role_id',
@@ -257,12 +188,9 @@ export const UserRoleScalarFieldEnum = {
257
188
  updated_by: 'updated_by',
258
189
  deleted_at: 'deleted_at',
259
190
  deleted_by: 'deleted_by'
260
- } as const
261
-
262
- export type UserRoleScalarFieldEnum = (typeof UserRoleScalarFieldEnum)[keyof typeof UserRoleScalarFieldEnum]
191
+ };
263
192
 
264
-
265
- export const PermissionScalarFieldEnum = {
193
+ exports.Prisma.PermissionScalarFieldEnum = {
266
194
  id: 'id',
267
195
  permissions_name: 'permissions_name',
268
196
  slug: 'slug',
@@ -276,12 +204,9 @@ export const PermissionScalarFieldEnum = {
276
204
  updated_by: 'updated_by',
277
205
  deleted_at: 'deleted_at',
278
206
  deleted_by: 'deleted_by'
279
- } as const
280
-
281
- export type PermissionScalarFieldEnum = (typeof PermissionScalarFieldEnum)[keyof typeof PermissionScalarFieldEnum]
282
-
207
+ };
283
208
 
284
- export const RolePermissionScalarFieldEnum = {
209
+ exports.Prisma.RolePermissionScalarFieldEnum = {
285
210
  id: 'id',
286
211
  permission_id: 'permission_id',
287
212
  role_id: 'role_id',
@@ -292,12 +217,9 @@ export const RolePermissionScalarFieldEnum = {
292
217
  is_deleted: 'is_deleted',
293
218
  deleted_at: 'deleted_at',
294
219
  deleted_by: 'deleted_by'
295
- } as const
220
+ };
296
221
 
297
- export type RolePermissionScalarFieldEnum = (typeof RolePermissionScalarFieldEnum)[keyof typeof RolePermissionScalarFieldEnum]
298
-
299
-
300
- export const DepartmentScalarFieldEnum = {
222
+ exports.Prisma.DepartmentScalarFieldEnum = {
301
223
  id: 'id',
302
224
  uuid: 'uuid',
303
225
  department_code: 'department_code',
@@ -314,12 +236,9 @@ export const DepartmentScalarFieldEnum = {
314
236
  is_deleted: 'is_deleted',
315
237
  deleted_at: 'deleted_at',
316
238
  deleted_by: 'deleted_by'
317
- } as const
318
-
319
- export type DepartmentScalarFieldEnum = (typeof DepartmentScalarFieldEnum)[keyof typeof DepartmentScalarFieldEnum]
320
-
239
+ };
321
240
 
322
- export const UserDepartmentEntityScalarFieldEnum = {
241
+ exports.Prisma.UserDepartmentEntityScalarFieldEnum = {
323
242
  id: 'id',
324
243
  uuid: 'uuid',
325
244
  user_id: 'user_id',
@@ -333,12 +252,9 @@ export const UserDepartmentEntityScalarFieldEnum = {
333
252
  updated_by: 'updated_by',
334
253
  deleted_at: 'deleted_at',
335
254
  deleted_by: 'deleted_by'
336
- } as const
255
+ };
337
256
 
338
- export type UserDepartmentEntityScalarFieldEnum = (typeof UserDepartmentEntityScalarFieldEnum)[keyof typeof UserDepartmentEntityScalarFieldEnum]
339
-
340
-
341
- export const BusinessEntityDepartmentScalarFieldEnum = {
257
+ exports.Prisma.BusinessEntityDepartmentScalarFieldEnum = {
342
258
  id: 'id',
343
259
  uuid: 'uuid',
344
260
  business_entity_id: 'business_entity_id',
@@ -351,12 +267,9 @@ export const BusinessEntityDepartmentScalarFieldEnum = {
351
267
  is_deleted: 'is_deleted',
352
268
  deleted_at: 'deleted_at',
353
269
  deleted_by: 'deleted_by'
354
- } as const
355
-
356
- export type BusinessEntityDepartmentScalarFieldEnum = (typeof BusinessEntityDepartmentScalarFieldEnum)[keyof typeof BusinessEntityDepartmentScalarFieldEnum]
357
-
270
+ };
358
271
 
359
- export const IndustryScalarFieldEnum = {
272
+ exports.Prisma.IndustryScalarFieldEnum = {
360
273
  id: 'id',
361
274
  uuid: 'uuid',
362
275
  name: 'name',
@@ -370,12 +283,9 @@ export const IndustryScalarFieldEnum = {
370
283
  is_deleted: 'is_deleted',
371
284
  deleted_by: 'deleted_by',
372
285
  deleted_at: 'deleted_at'
373
- } as const
286
+ };
374
287
 
375
- export type IndustryScalarFieldEnum = (typeof IndustryScalarFieldEnum)[keyof typeof IndustryScalarFieldEnum]
376
-
377
-
378
- export const CategoryScalarFieldEnum = {
288
+ exports.Prisma.CategoryScalarFieldEnum = {
379
289
  id: 'id',
380
290
  uuid: 'uuid',
381
291
  industry_id: 'industry_id',
@@ -392,12 +302,9 @@ export const CategoryScalarFieldEnum = {
392
302
  is_deleted: 'is_deleted',
393
303
  deleted_by: 'deleted_by',
394
304
  deleted_at: 'deleted_at'
395
- } as const
396
-
397
- export type CategoryScalarFieldEnum = (typeof CategoryScalarFieldEnum)[keyof typeof CategoryScalarFieldEnum]
398
-
305
+ };
399
306
 
400
- export const AttributeScalarFieldEnum = {
307
+ exports.Prisma.AttributeScalarFieldEnum = {
401
308
  id: 'id',
402
309
  uuid: 'uuid',
403
310
  category_id: 'category_id',
@@ -412,12 +319,9 @@ export const AttributeScalarFieldEnum = {
412
319
  is_deleted: 'is_deleted',
413
320
  deleted_at: 'deleted_at',
414
321
  deleted_by: 'deleted_by'
415
- } as const
322
+ };
416
323
 
417
- export type AttributeScalarFieldEnum = (typeof AttributeScalarFieldEnum)[keyof typeof AttributeScalarFieldEnum]
418
-
419
-
420
- export const AttributeValueScalarFieldEnum = {
324
+ exports.Prisma.AttributeValueScalarFieldEnum = {
421
325
  id: 'id',
422
326
  uuid: 'uuid',
423
327
  attribute_id: 'attribute_id',
@@ -431,12 +335,9 @@ export const AttributeValueScalarFieldEnum = {
431
335
  is_deleted: 'is_deleted',
432
336
  deleted_at: 'deleted_at',
433
337
  deleted_by: 'deleted_by'
434
- } as const
435
-
436
- export type AttributeValueScalarFieldEnum = (typeof AttributeValueScalarFieldEnum)[keyof typeof AttributeValueScalarFieldEnum]
338
+ };
437
339
 
438
-
439
- export const ItemScalarFieldEnum = {
340
+ exports.Prisma.ItemScalarFieldEnum = {
440
341
  id: 'id',
441
342
  uuid: 'uuid',
442
343
  is_parent: 'is_parent',
@@ -500,12 +401,9 @@ export const ItemScalarFieldEnum = {
500
401
  is_deleted: 'is_deleted',
501
402
  deleted_by: 'deleted_by',
502
403
  deleted_at: 'deleted_at'
503
- } as const
504
-
505
- export type ItemScalarFieldEnum = (typeof ItemScalarFieldEnum)[keyof typeof ItemScalarFieldEnum]
404
+ };
506
405
 
507
-
508
- export const PurchaseIntakeScalarFieldEnum = {
406
+ exports.Prisma.PurchaseIntakeScalarFieldEnum = {
509
407
  id: 'id',
510
408
  uuid: 'uuid',
511
409
  pi_number: 'pi_number',
@@ -536,12 +434,9 @@ export const PurchaseIntakeScalarFieldEnum = {
536
434
  deleted_by: 'deleted_by',
537
435
  initiated_by: 'initiated_by',
538
436
  business_entity_id: 'business_entity_id'
539
- } as const
540
-
541
- export type PurchaseIntakeScalarFieldEnum = (typeof PurchaseIntakeScalarFieldEnum)[keyof typeof PurchaseIntakeScalarFieldEnum]
437
+ };
542
438
 
543
-
544
- export const PurchaseIntakeItemScalarFieldEnum = {
439
+ exports.Prisma.PurchaseIntakeItemScalarFieldEnum = {
545
440
  id: 'id',
546
441
  uuid: 'uuid',
547
442
  purchase_intakes_id: 'purchase_intakes_id',
@@ -560,12 +455,9 @@ export const PurchaseIntakeItemScalarFieldEnum = {
560
455
  suggested_quantity: 'suggested_quantity',
561
456
  counter_quantity: 'counter_quantity',
562
457
  created_at: 'created_at'
563
- } as const
564
-
565
- export type PurchaseIntakeItemScalarFieldEnum = (typeof PurchaseIntakeItemScalarFieldEnum)[keyof typeof PurchaseIntakeItemScalarFieldEnum]
458
+ };
566
459
 
567
-
568
- export const SendBackScalarFieldEnum = {
460
+ exports.Prisma.SendBackScalarFieldEnum = {
569
461
  id: 'id',
570
462
  uuid: 'uuid',
571
463
  purchase_intake_id: 'purchase_intake_id',
@@ -574,12 +466,9 @@ export const SendBackScalarFieldEnum = {
574
466
  send_back_approver_id: 'send_back_approver_id',
575
467
  send_back_requestor_id: 'send_back_requestor_id',
576
468
  created_at: 'created_at'
577
- } as const
578
-
579
- export type SendBackScalarFieldEnum = (typeof SendBackScalarFieldEnum)[keyof typeof SendBackScalarFieldEnum]
469
+ };
580
470
 
581
-
582
- export const EmailTemplateScalarFieldEnum = {
471
+ exports.Prisma.EmailTemplateScalarFieldEnum = {
583
472
  id: 'id',
584
473
  uuid: 'uuid',
585
474
  template_name: 'template_name',
@@ -596,12 +485,9 @@ export const EmailTemplateScalarFieldEnum = {
596
485
  updated_by: 'updated_by',
597
486
  deleted_at: 'deleted_at',
598
487
  deleted_by: 'deleted_by'
599
- } as const
600
-
601
- export type EmailTemplateScalarFieldEnum = (typeof EmailTemplateScalarFieldEnum)[keyof typeof EmailTemplateScalarFieldEnum]
488
+ };
602
489
 
603
-
604
- export const SmtpConfigScalarFieldEnum = {
490
+ exports.Prisma.SmtpConfigScalarFieldEnum = {
605
491
  id: 'id',
606
492
  smtp_server: 'smtp_server',
607
493
  port: 'port',
@@ -618,12 +504,9 @@ export const SmtpConfigScalarFieldEnum = {
618
504
  updated_by: 'updated_by',
619
505
  deleted_at: 'deleted_at',
620
506
  deleted_by: 'deleted_by'
621
- } as const
622
-
623
- export type SmtpConfigScalarFieldEnum = (typeof SmtpConfigScalarFieldEnum)[keyof typeof SmtpConfigScalarFieldEnum]
507
+ };
624
508
 
625
-
626
- export const ApprovalHierarchyScalarFieldEnum = {
509
+ exports.Prisma.ApprovalHierarchyScalarFieldEnum = {
627
510
  id: 'id',
628
511
  uuid: 'uuid',
629
512
  name: 'name',
@@ -642,12 +525,9 @@ export const ApprovalHierarchyScalarFieldEnum = {
642
525
  updated_by: 'updated_by',
643
526
  deleted_at: 'deleted_at',
644
527
  deleted_by: 'deleted_by'
645
- } as const
646
-
647
- export type ApprovalHierarchyScalarFieldEnum = (typeof ApprovalHierarchyScalarFieldEnum)[keyof typeof ApprovalHierarchyScalarFieldEnum]
648
-
528
+ };
649
529
 
650
- export const ApprovalConditionScalarFieldEnum = {
530
+ exports.Prisma.ApprovalConditionScalarFieldEnum = {
651
531
  id: 'id',
652
532
  uuid: 'uuid',
653
533
  approval_hierarchy_id: 'approval_hierarchy_id',
@@ -662,12 +542,9 @@ export const ApprovalConditionScalarFieldEnum = {
662
542
  updated_by: 'updated_by',
663
543
  deleted_at: 'deleted_at',
664
544
  deleted_by: 'deleted_by'
665
- } as const
545
+ };
666
546
 
667
- export type ApprovalConditionScalarFieldEnum = (typeof ApprovalConditionScalarFieldEnum)[keyof typeof ApprovalConditionScalarFieldEnum]
668
-
669
-
670
- export const ApprovalLevelScalarFieldEnum = {
547
+ exports.Prisma.ApprovalLevelScalarFieldEnum = {
671
548
  id: 'id',
672
549
  uuid: 'uuid',
673
550
  approval_hierarchy_id: 'approval_hierarchy_id',
@@ -683,12 +560,9 @@ export const ApprovalLevelScalarFieldEnum = {
683
560
  updated_by: 'updated_by',
684
561
  deleted_at: 'deleted_at',
685
562
  deleted_by: 'deleted_by'
686
- } as const
687
-
688
- export type ApprovalLevelScalarFieldEnum = (typeof ApprovalLevelScalarFieldEnum)[keyof typeof ApprovalLevelScalarFieldEnum]
689
-
563
+ };
690
564
 
691
- export const ApprovalLevelUserScalarFieldEnum = {
565
+ exports.Prisma.ApprovalLevelUserScalarFieldEnum = {
692
566
  id: 'id',
693
567
  uuid: 'uuid',
694
568
  approval_level_id: 'approval_level_id',
@@ -701,12 +575,9 @@ export const ApprovalLevelUserScalarFieldEnum = {
701
575
  updated_by: 'updated_by',
702
576
  deleted_at: 'deleted_at',
703
577
  deleted_by: 'deleted_by'
704
- } as const
578
+ };
705
579
 
706
- export type ApprovalLevelUserScalarFieldEnum = (typeof ApprovalLevelUserScalarFieldEnum)[keyof typeof ApprovalLevelUserScalarFieldEnum]
707
-
708
-
709
- export const ApprovalLevelEscalationScalarFieldEnum = {
580
+ exports.Prisma.ApprovalLevelEscalationScalarFieldEnum = {
710
581
  id: 'id',
711
582
  uuid: 'uuid',
712
583
  approval_level_id: 'approval_level_id',
@@ -721,12 +592,9 @@ export const ApprovalLevelEscalationScalarFieldEnum = {
721
592
  updated_by: 'updated_by',
722
593
  deleted_at: 'deleted_at',
723
594
  deleted_by: 'deleted_by'
724
- } as const
725
-
726
- export type ApprovalLevelEscalationScalarFieldEnum = (typeof ApprovalLevelEscalationScalarFieldEnum)[keyof typeof ApprovalLevelEscalationScalarFieldEnum]
595
+ };
727
596
 
728
-
729
- export const ApprovalLevelEscalationUserScalarFieldEnum = {
597
+ exports.Prisma.ApprovalLevelEscalationUserScalarFieldEnum = {
730
598
  id: 'id',
731
599
  uuid: 'uuid',
732
600
  approval_level_escalation_id: 'approval_level_escalation_id',
@@ -739,12 +607,9 @@ export const ApprovalLevelEscalationUserScalarFieldEnum = {
739
607
  updated_by: 'updated_by',
740
608
  deleted_at: 'deleted_at',
741
609
  deleted_by: 'deleted_by'
742
- } as const
743
-
744
- export type ApprovalLevelEscalationUserScalarFieldEnum = (typeof ApprovalLevelEscalationUserScalarFieldEnum)[keyof typeof ApprovalLevelEscalationUserScalarFieldEnum]
610
+ };
745
611
 
746
-
747
- export const UomScalarFieldEnum = {
612
+ exports.Prisma.UomScalarFieldEnum = {
748
613
  id: 'id',
749
614
  uuid: 'uuid',
750
615
  uom_code: 'uom_code',
@@ -757,35 +622,26 @@ export const UomScalarFieldEnum = {
757
622
  is_deleted: 'is_deleted',
758
623
  deleted_at: 'deleted_at',
759
624
  deleted_by: 'deleted_by'
760
- } as const
761
-
762
- export type UomScalarFieldEnum = (typeof UomScalarFieldEnum)[keyof typeof UomScalarFieldEnum]
625
+ };
763
626
 
764
-
765
- export const UomCategoryScalarFieldEnum = {
627
+ exports.Prisma.UomCategoryScalarFieldEnum = {
766
628
  id: 'id',
767
629
  uuid: 'uuid',
768
630
  categoryId: 'categoryId',
769
631
  uomId: 'uomId',
770
632
  created_by: 'created_by'
771
- } as const
772
-
773
- export type UomCategoryScalarFieldEnum = (typeof UomCategoryScalarFieldEnum)[keyof typeof UomCategoryScalarFieldEnum]
774
-
633
+ };
775
634
 
776
- export const ItemAttributeScalarFieldEnum = {
635
+ exports.Prisma.ItemAttributeScalarFieldEnum = {
777
636
  id: 'id',
778
637
  uuid: 'uuid',
779
638
  item_id: 'item_id',
780
639
  attribute_id: 'attribute_id',
781
640
  created_at: 'created_at',
782
641
  created_by: 'created_by'
783
- } as const
642
+ };
784
643
 
785
- export type ItemAttributeScalarFieldEnum = (typeof ItemAttributeScalarFieldEnum)[keyof typeof ItemAttributeScalarFieldEnum]
786
-
787
-
788
- export const ItemAttributeValueScalarFieldEnum = {
644
+ exports.Prisma.ItemAttributeValueScalarFieldEnum = {
789
645
  id: 'id',
790
646
  uuid: 'uuid',
791
647
  item_id: 'item_id',
@@ -793,12 +649,9 @@ export const ItemAttributeValueScalarFieldEnum = {
793
649
  attribute_value_id: 'attribute_value_id',
794
650
  created_at: 'created_at',
795
651
  created_by: 'created_by'
796
- } as const
797
-
798
- export type ItemAttributeValueScalarFieldEnum = (typeof ItemAttributeValueScalarFieldEnum)[keyof typeof ItemAttributeValueScalarFieldEnum]
799
-
652
+ };
800
653
 
801
- export const ItemDocumentScalarFieldEnum = {
654
+ exports.Prisma.ItemDocumentScalarFieldEnum = {
802
655
  id: 'id',
803
656
  uuid: 'uuid',
804
657
  item_id: 'item_id',
@@ -809,12 +662,9 @@ export const ItemDocumentScalarFieldEnum = {
809
662
  original_extension: 'original_extension',
810
663
  created_at: 'created_at',
811
664
  created_by: 'created_by'
812
- } as const
665
+ };
813
666
 
814
- export type ItemDocumentScalarFieldEnum = (typeof ItemDocumentScalarFieldEnum)[keyof typeof ItemDocumentScalarFieldEnum]
815
-
816
-
817
- export const ApprovalJourneyScalarFieldEnum = {
667
+ exports.Prisma.ApprovalJourneyScalarFieldEnum = {
818
668
  id: 'id',
819
669
  uuid: 'uuid',
820
670
  parent_id: 'parent_id',
@@ -839,12 +689,9 @@ export const ApprovalJourneyScalarFieldEnum = {
839
689
  updated_by: 'updated_by',
840
690
  deleted_at: 'deleted_at',
841
691
  deleted_by: 'deleted_by'
842
- } as const
843
-
844
- export type ApprovalJourneyScalarFieldEnum = (typeof ApprovalJourneyScalarFieldEnum)[keyof typeof ApprovalJourneyScalarFieldEnum]
845
-
692
+ };
846
693
 
847
- export const ApprovalDelegationScalarFieldEnum = {
694
+ exports.Prisma.ApprovalDelegationScalarFieldEnum = {
848
695
  id: 'id',
849
696
  uuid: 'uuid',
850
697
  approver_id: 'approver_id',
@@ -865,12 +712,9 @@ export const ApprovalDelegationScalarFieldEnum = {
865
712
  updated_by: 'updated_by',
866
713
  deleted_at: 'deleted_at',
867
714
  deleted_by: 'deleted_by'
868
- } as const
715
+ };
869
716
 
870
- export type ApprovalDelegationScalarFieldEnum = (typeof ApprovalDelegationScalarFieldEnum)[keyof typeof ApprovalDelegationScalarFieldEnum]
871
-
872
-
873
- export const ApprovalDelegationDelegateScalarFieldEnum = {
717
+ exports.Prisma.ApprovalDelegationDelegateScalarFieldEnum = {
874
718
  id: 'id',
875
719
  delegation_id: 'delegation_id',
876
720
  delegate_id: 'delegate_id',
@@ -882,17 +726,15 @@ export const ApprovalDelegationDelegateScalarFieldEnum = {
882
726
  updated_by: 'updated_by',
883
727
  deleted_at: 'deleted_at',
884
728
  deleted_by: 'deleted_by'
885
- } as const
886
-
887
- export type ApprovalDelegationDelegateScalarFieldEnum = (typeof ApprovalDelegationDelegateScalarFieldEnum)[keyof typeof ApprovalDelegationDelegateScalarFieldEnum]
888
-
729
+ };
889
730
 
890
- export const TemplateScalarFieldEnum = {
731
+ exports.Prisma.TemplateScalarFieldEnum = {
891
732
  id: 'id',
892
733
  uuid: 'uuid',
893
734
  template_code: 'template_code',
894
735
  template_name: 'template_name',
895
736
  template_type: 'template_type',
737
+ is_default: 'is_default',
896
738
  currency_id: 'currency_id',
897
739
  is_active: 'is_active',
898
740
  is_deleted: 'is_deleted',
@@ -902,12 +744,9 @@ export const TemplateScalarFieldEnum = {
902
744
  updated_by: 'updated_by',
903
745
  deleted_at: 'deleted_at',
904
746
  deleted_by: 'deleted_by'
905
- } as const
906
-
907
- export type TemplateScalarFieldEnum = (typeof TemplateScalarFieldEnum)[keyof typeof TemplateScalarFieldEnum]
908
-
747
+ };
909
748
 
910
- export const TemplateStrategiesScalarFieldEnum = {
749
+ exports.Prisma.TemplateStrategiesScalarFieldEnum = {
911
750
  id: 'id',
912
751
  template_id: 'template_id',
913
752
  strategy_id: 'strategy_id',
@@ -915,12 +754,9 @@ export const TemplateStrategiesScalarFieldEnum = {
915
754
  created_by: 'created_by',
916
755
  updated_at: 'updated_at',
917
756
  updated_by: 'updated_by'
918
- } as const
757
+ };
919
758
 
920
- export type TemplateStrategiesScalarFieldEnum = (typeof TemplateStrategiesScalarFieldEnum)[keyof typeof TemplateStrategiesScalarFieldEnum]
921
-
922
-
923
- export const TemplateFieldScalarFieldEnum = {
759
+ exports.Prisma.TemplateFieldScalarFieldEnum = {
924
760
  id: 'id',
925
761
  uuid: 'uuid',
926
762
  template_id: 'template_id',
@@ -940,12 +776,9 @@ export const TemplateFieldScalarFieldEnum = {
940
776
  updated_by: 'updated_by',
941
777
  deleted_at: 'deleted_at',
942
778
  deleted_by: 'deleted_by'
943
- } as const
944
-
945
- export type TemplateFieldScalarFieldEnum = (typeof TemplateFieldScalarFieldEnum)[keyof typeof TemplateFieldScalarFieldEnum]
946
-
779
+ };
947
780
 
948
- export const FaqCategoryScalarFieldEnum = {
781
+ exports.Prisma.FaqCategoryScalarFieldEnum = {
949
782
  id: 'id',
950
783
  uuid: 'uuid',
951
784
  category_name: 'category_name',
@@ -958,12 +791,9 @@ export const FaqCategoryScalarFieldEnum = {
958
791
  is_deleted: 'is_deleted',
959
792
  deleted_at: 'deleted_at',
960
793
  deleted_by: 'deleted_by'
961
- } as const
794
+ };
962
795
 
963
- export type FaqCategoryScalarFieldEnum = (typeof FaqCategoryScalarFieldEnum)[keyof typeof FaqCategoryScalarFieldEnum]
964
-
965
-
966
- export const FaqScalarFieldEnum = {
796
+ exports.Prisma.FaqScalarFieldEnum = {
967
797
  id: 'id',
968
798
  uuid: 'uuid',
969
799
  faq_type: 'faq_type',
@@ -978,12 +808,9 @@ export const FaqScalarFieldEnum = {
978
808
  is_deleted: 'is_deleted',
979
809
  deleted_at: 'deleted_at',
980
810
  deleted_by: 'deleted_by'
981
- } as const
982
-
983
- export type FaqScalarFieldEnum = (typeof FaqScalarFieldEnum)[keyof typeof FaqScalarFieldEnum]
811
+ };
984
812
 
985
-
986
- export const EventScalarFieldEnum = {
813
+ exports.Prisma.EventScalarFieldEnum = {
987
814
  id: 'id',
988
815
  uuid: 'uuid',
989
816
  code: 'code',
@@ -1009,12 +836,9 @@ export const EventScalarFieldEnum = {
1009
836
  deleted_at: 'deleted_at',
1010
837
  business_entity_id: 'business_entity_id',
1011
838
  deleted_by: 'deleted_by'
1012
- } as const
1013
-
1014
- export type EventScalarFieldEnum = (typeof EventScalarFieldEnum)[keyof typeof EventScalarFieldEnum]
839
+ };
1015
840
 
1016
-
1017
- export const EventItemsScalarFieldEnum = {
841
+ exports.Prisma.EventItemsScalarFieldEnum = {
1018
842
  id: 'id',
1019
843
  uuid: 'uuid',
1020
844
  event_id: 'event_id',
@@ -1029,12 +853,9 @@ export const EventItemsScalarFieldEnum = {
1029
853
  is_deleted: 'is_deleted',
1030
854
  deleted_at: 'deleted_at',
1031
855
  deleted_by: 'deleted_by'
1032
- } as const
1033
-
1034
- export type EventItemsScalarFieldEnum = (typeof EventItemsScalarFieldEnum)[keyof typeof EventItemsScalarFieldEnum]
856
+ };
1035
857
 
1036
-
1037
- export const BoqEventItemScalarFieldEnum = {
858
+ exports.Prisma.BoqEventItemScalarFieldEnum = {
1038
859
  id: 'id',
1039
860
  uuid: 'uuid',
1040
861
  category_id: 'category_id',
@@ -1057,12 +878,9 @@ export const BoqEventItemScalarFieldEnum = {
1057
878
  is_deleted: 'is_deleted',
1058
879
  deleted_at: 'deleted_at',
1059
880
  deleted_by: 'deleted_by'
1060
- } as const
1061
-
1062
- export type BoqEventItemScalarFieldEnum = (typeof BoqEventItemScalarFieldEnum)[keyof typeof BoqEventItemScalarFieldEnum]
1063
-
881
+ };
1064
882
 
1065
- export const EventVendorsScalarFieldEnum = {
883
+ exports.Prisma.EventVendorsScalarFieldEnum = {
1066
884
  id: 'id',
1067
885
  uuid: 'uuid',
1068
886
  vendor_id: 'vendor_id',
@@ -1081,12 +899,9 @@ export const EventVendorsScalarFieldEnum = {
1081
899
  is_deleted: 'is_deleted',
1082
900
  deleted_at: 'deleted_at',
1083
901
  deleted_by: 'deleted_by'
1084
- } as const
902
+ };
1085
903
 
1086
- export type EventVendorsScalarFieldEnum = (typeof EventVendorsScalarFieldEnum)[keyof typeof EventVendorsScalarFieldEnum]
1087
-
1088
-
1089
- export const EventConfigurationsScalarFieldEnum = {
904
+ exports.Prisma.EventConfigurationsScalarFieldEnum = {
1090
905
  id: 'id',
1091
906
  uuid: 'uuid',
1092
907
  event_id: 'event_id',
@@ -1101,12 +916,9 @@ export const EventConfigurationsScalarFieldEnum = {
1101
916
  is_deleted: 'is_deleted',
1102
917
  deleted_at: 'deleted_at',
1103
918
  deleted_by: 'deleted_by'
1104
- } as const
1105
-
1106
- export type EventConfigurationsScalarFieldEnum = (typeof EventConfigurationsScalarFieldEnum)[keyof typeof EventConfigurationsScalarFieldEnum]
1107
-
919
+ };
1108
920
 
1109
- export const EventStrategiesScalarFieldEnum = {
921
+ exports.Prisma.EventStrategiesScalarFieldEnum = {
1110
922
  id: 'id',
1111
923
  uuid: 'uuid',
1112
924
  event_id: 'event_id',
@@ -1119,12 +931,9 @@ export const EventStrategiesScalarFieldEnum = {
1119
931
  is_deleted: 'is_deleted',
1120
932
  deleted_at: 'deleted_at',
1121
933
  deleted_by: 'deleted_by'
1122
- } as const
934
+ };
1123
935
 
1124
- export type EventStrategiesScalarFieldEnum = (typeof EventStrategiesScalarFieldEnum)[keyof typeof EventStrategiesScalarFieldEnum]
1125
-
1126
-
1127
- export const StrategiesScalarFieldEnum = {
936
+ exports.Prisma.StrategiesScalarFieldEnum = {
1128
937
  id: 'id',
1129
938
  uuid: 'uuid',
1130
939
  name: 'name',
@@ -1138,12 +947,9 @@ export const StrategiesScalarFieldEnum = {
1138
947
  is_deleted: 'is_deleted',
1139
948
  deleted_at: 'deleted_at',
1140
949
  deleted_by: 'deleted_by'
1141
- } as const
1142
-
1143
- export type StrategiesScalarFieldEnum = (typeof StrategiesScalarFieldEnum)[keyof typeof StrategiesScalarFieldEnum]
1144
-
950
+ };
1145
951
 
1146
- export const CmsScalarFieldEnum = {
952
+ exports.Prisma.CmsScalarFieldEnum = {
1147
953
  id: 'id',
1148
954
  uuid: 'uuid',
1149
955
  title: 'title',
@@ -1159,12 +965,9 @@ export const CmsScalarFieldEnum = {
1159
965
  is_deleted: 'is_deleted',
1160
966
  deleted_at: 'deleted_at',
1161
967
  deleted_by: 'deleted_by'
1162
- } as const
968
+ };
1163
969
 
1164
- export type CmsScalarFieldEnum = (typeof CmsScalarFieldEnum)[keyof typeof CmsScalarFieldEnum]
1165
-
1166
-
1167
- export const CurrencyScalarFieldEnum = {
970
+ exports.Prisma.CurrencyScalarFieldEnum = {
1168
971
  id: 'id',
1169
972
  uuid: 'uuid',
1170
973
  name: 'name',
@@ -1178,12 +981,9 @@ export const CurrencyScalarFieldEnum = {
1178
981
  updated_by: 'updated_by',
1179
982
  deleted_at: 'deleted_at',
1180
983
  deleted_by: 'deleted_by'
1181
- } as const
1182
-
1183
- export type CurrencyScalarFieldEnum = (typeof CurrencyScalarFieldEnum)[keyof typeof CurrencyScalarFieldEnum]
1184
-
984
+ };
1185
985
 
1186
- export const SupportTicketScalarFieldEnum = {
986
+ exports.Prisma.SupportTicketScalarFieldEnum = {
1187
987
  id: 'id',
1188
988
  uuid: 'uuid',
1189
989
  ticket_code: 'ticket_code',
@@ -1203,24 +1003,18 @@ export const SupportTicketScalarFieldEnum = {
1203
1003
  updated_by: 'updated_by',
1204
1004
  deleted_at: 'deleted_at',
1205
1005
  deleted_by: 'deleted_by'
1206
- } as const
1006
+ };
1207
1007
 
1208
- export type SupportTicketScalarFieldEnum = (typeof SupportTicketScalarFieldEnum)[keyof typeof SupportTicketScalarFieldEnum]
1209
-
1210
-
1211
- export const TicketAssignmentScalarFieldEnum = {
1008
+ exports.Prisma.TicketAssignmentScalarFieldEnum = {
1212
1009
  id: 'id',
1213
1010
  uuid: 'uuid',
1214
1011
  ticket_id: 'ticket_id',
1215
1012
  assigned_by: 'assigned_by',
1216
1013
  assigned_to: 'assigned_to',
1217
1014
  assigned_at: 'assigned_at'
1218
- } as const
1219
-
1220
- export type TicketAssignmentScalarFieldEnum = (typeof TicketAssignmentScalarFieldEnum)[keyof typeof TicketAssignmentScalarFieldEnum]
1015
+ };
1221
1016
 
1222
-
1223
- export const TicketHistoryScalarFieldEnum = {
1017
+ exports.Prisma.TicketHistoryScalarFieldEnum = {
1224
1018
  id: 'id',
1225
1019
  uuid: 'uuid',
1226
1020
  ticket_id: 'ticket_id',
@@ -1228,12 +1022,9 @@ export const TicketHistoryScalarFieldEnum = {
1228
1022
  assigned_by: 'assigned_by',
1229
1023
  status: 'status',
1230
1024
  updated_at: 'updated_at'
1231
- } as const
1232
-
1233
- export type TicketHistoryScalarFieldEnum = (typeof TicketHistoryScalarFieldEnum)[keyof typeof TicketHistoryScalarFieldEnum]
1025
+ };
1234
1026
 
1235
-
1236
- export const TicketReplyScalarFieldEnum = {
1027
+ exports.Prisma.TicketReplyScalarFieldEnum = {
1237
1028
  id: 'id',
1238
1029
  uuid: 'uuid',
1239
1030
  ticket_id: 'ticket_id',
@@ -1241,12 +1032,9 @@ export const TicketReplyScalarFieldEnum = {
1241
1032
  vendor_id: 'vendor_id',
1242
1033
  message: 'message',
1243
1034
  created_at: 'created_at'
1244
- } as const
1245
-
1246
- export type TicketReplyScalarFieldEnum = (typeof TicketReplyScalarFieldEnum)[keyof typeof TicketReplyScalarFieldEnum]
1035
+ };
1247
1036
 
1248
-
1249
- export const SupportCategoryScalarFieldEnum = {
1037
+ exports.Prisma.SupportCategoryScalarFieldEnum = {
1250
1038
  id: 'id',
1251
1039
  uuid: 'uuid',
1252
1040
  name: 'name',
@@ -1262,12 +1050,9 @@ export const SupportCategoryScalarFieldEnum = {
1262
1050
  is_deleted: 'is_deleted',
1263
1051
  deleted_at: 'deleted_at',
1264
1052
  deleted_by: 'deleted_by'
1265
- } as const
1266
-
1267
- export type SupportCategoryScalarFieldEnum = (typeof SupportCategoryScalarFieldEnum)[keyof typeof SupportCategoryScalarFieldEnum]
1268
-
1053
+ };
1269
1054
 
1270
- export const AdminAlertScalarFieldEnum = {
1055
+ exports.Prisma.AdminAlertScalarFieldEnum = {
1271
1056
  id: 'id',
1272
1057
  user_id: 'user_id',
1273
1058
  alert_type: 'alert_type',
@@ -1277,12 +1062,9 @@ export const AdminAlertScalarFieldEnum = {
1277
1062
  is_read: 'is_read',
1278
1063
  created_at: 'created_at',
1279
1064
  meta_data: 'meta_data'
1280
- } as const
1065
+ };
1281
1066
 
1282
- export type AdminAlertScalarFieldEnum = (typeof AdminAlertScalarFieldEnum)[keyof typeof AdminAlertScalarFieldEnum]
1283
-
1284
-
1285
- export const CustomerNotificationScalarFieldEnum = {
1067
+ exports.Prisma.CustomerNotificationScalarFieldEnum = {
1286
1068
  id: 'id',
1287
1069
  uuid: 'uuid',
1288
1070
  template_name: 'template_name',
@@ -1303,12 +1085,9 @@ export const CustomerNotificationScalarFieldEnum = {
1303
1085
  is_deleted: 'is_deleted',
1304
1086
  deleted_at: 'deleted_at',
1305
1087
  deleted_by: 'deleted_by'
1306
- } as const
1307
-
1308
- export type CustomerNotificationScalarFieldEnum = (typeof CustomerNotificationScalarFieldEnum)[keyof typeof CustomerNotificationScalarFieldEnum]
1309
-
1088
+ };
1310
1089
 
1311
- export const BidScalarFieldEnum = {
1090
+ exports.Prisma.BidScalarFieldEnum = {
1312
1091
  id: 'id',
1313
1092
  uuid: 'uuid',
1314
1093
  event_id: 'event_id',
@@ -1326,12 +1105,9 @@ export const BidScalarFieldEnum = {
1326
1105
  is_deleted: 'is_deleted',
1327
1106
  deleted_at: 'deleted_at',
1328
1107
  deleted_by: 'deleted_by'
1329
- } as const
1108
+ };
1330
1109
 
1331
- export type BidScalarFieldEnum = (typeof BidScalarFieldEnum)[keyof typeof BidScalarFieldEnum]
1332
-
1333
-
1334
- export const BidLogScalarFieldEnum = {
1110
+ exports.Prisma.BidLogScalarFieldEnum = {
1335
1111
  id: 'id',
1336
1112
  uuid: 'uuid',
1337
1113
  event_id: 'event_id',
@@ -1360,12 +1136,9 @@ export const BidLogScalarFieldEnum = {
1360
1136
  deleted_at: 'deleted_at',
1361
1137
  deleted_by: 'deleted_by',
1362
1138
  has_active_counter: 'has_active_counter'
1363
- } as const
1364
-
1365
- export type BidLogScalarFieldEnum = (typeof BidLogScalarFieldEnum)[keyof typeof BidLogScalarFieldEnum]
1139
+ };
1366
1140
 
1367
-
1368
- export const QuotationScalarFieldEnum = {
1141
+ exports.Prisma.QuotationScalarFieldEnum = {
1369
1142
  id: 'id',
1370
1143
  uuid: 'uuid',
1371
1144
  event_id: 'event_id',
@@ -1391,12 +1164,9 @@ export const QuotationScalarFieldEnum = {
1391
1164
  is_deleted: 'is_deleted',
1392
1165
  deleted_at: 'deleted_at',
1393
1166
  deleted_by: 'deleted_by'
1394
- } as const
1395
-
1396
- export type QuotationScalarFieldEnum = (typeof QuotationScalarFieldEnum)[keyof typeof QuotationScalarFieldEnum]
1167
+ };
1397
1168
 
1398
-
1399
- export const QuotationLogScalarFieldEnum = {
1169
+ exports.Prisma.QuotationLogScalarFieldEnum = {
1400
1170
  id: 'id',
1401
1171
  uuid: 'uuid',
1402
1172
  event_id: 'event_id',
@@ -1420,12 +1190,9 @@ export const QuotationLogScalarFieldEnum = {
1420
1190
  updated_at: 'updated_at',
1421
1191
  updated_by: 'updated_by',
1422
1192
  has_active_counter: 'has_active_counter'
1423
- } as const
1424
-
1425
- export type QuotationLogScalarFieldEnum = (typeof QuotationLogScalarFieldEnum)[keyof typeof QuotationLogScalarFieldEnum]
1193
+ };
1426
1194
 
1427
-
1428
- export const FormMasterScalarFieldEnum = {
1195
+ exports.Prisma.FormMasterScalarFieldEnum = {
1429
1196
  id: 'id',
1430
1197
  uuid: 'uuid',
1431
1198
  module_name: 'module_name',
@@ -1438,12 +1205,9 @@ export const FormMasterScalarFieldEnum = {
1438
1205
  updated_by: 'updated_by',
1439
1206
  deleted_at: 'deleted_at',
1440
1207
  deleted_by: 'deleted_by'
1441
- } as const
1442
-
1443
- export type FormMasterScalarFieldEnum = (typeof FormMasterScalarFieldEnum)[keyof typeof FormMasterScalarFieldEnum]
1208
+ };
1444
1209
 
1445
-
1446
- export const DynamicFormScalarFieldEnum = {
1210
+ exports.Prisma.DynamicFormScalarFieldEnum = {
1447
1211
  id: 'id',
1448
1212
  uuid: 'uuid',
1449
1213
  module_id: 'module_id',
@@ -1460,12 +1224,9 @@ export const DynamicFormScalarFieldEnum = {
1460
1224
  updated_by: 'updated_by',
1461
1225
  deleted_at: 'deleted_at',
1462
1226
  deleted_by: 'deleted_by'
1463
- } as const
1464
-
1465
- export type DynamicFormScalarFieldEnum = (typeof DynamicFormScalarFieldEnum)[keyof typeof DynamicFormScalarFieldEnum]
1227
+ };
1466
1228
 
1467
-
1468
- export const ModuleScalarFieldEnum = {
1229
+ exports.Prisma.ModuleScalarFieldEnum = {
1469
1230
  id: 'id',
1470
1231
  uuid: 'uuid',
1471
1232
  tenant_config_id: 'tenant_config_id',
@@ -1473,12 +1234,9 @@ export const ModuleScalarFieldEnum = {
1473
1234
  slug: 'slug',
1474
1235
  created_at: 'created_at',
1475
1236
  created_by: 'created_by'
1476
- } as const
1477
-
1478
- export type ModuleScalarFieldEnum = (typeof ModuleScalarFieldEnum)[keyof typeof ModuleScalarFieldEnum]
1237
+ };
1479
1238
 
1480
-
1481
- export const TenantConfigurationScalarFieldEnum = {
1239
+ exports.Prisma.TenantConfigurationScalarFieldEnum = {
1482
1240
  id: 'id',
1483
1241
  uuid: 'uuid',
1484
1242
  tenant_id: 'tenant_id',
@@ -1494,12 +1252,9 @@ export const TenantConfigurationScalarFieldEnum = {
1494
1252
  logo: 'logo',
1495
1253
  created_at: 'created_at',
1496
1254
  updated_at: 'updated_at'
1497
- } as const
1498
-
1499
- export type TenantConfigurationScalarFieldEnum = (typeof TenantConfigurationScalarFieldEnum)[keyof typeof TenantConfigurationScalarFieldEnum]
1255
+ };
1500
1256
 
1501
-
1502
- export const UserLoginActivityScalarFieldEnum = {
1257
+ exports.Prisma.UserLoginActivityScalarFieldEnum = {
1503
1258
  id: 'id',
1504
1259
  user_id: 'user_id',
1505
1260
  user_type: 'user_type',
@@ -1513,12 +1268,9 @@ export const UserLoginActivityScalarFieldEnum = {
1513
1268
  status: 'status',
1514
1269
  session_id: 'session_id',
1515
1270
  created_at: 'created_at'
1516
- } as const
1517
-
1518
- export type UserLoginActivityScalarFieldEnum = (typeof UserLoginActivityScalarFieldEnum)[keyof typeof UserLoginActivityScalarFieldEnum]
1519
-
1271
+ };
1520
1272
 
1521
- export const RegionScalarFieldEnum = {
1273
+ exports.Prisma.RegionScalarFieldEnum = {
1522
1274
  id: 'id',
1523
1275
  name: 'name',
1524
1276
  translations: 'translations',
@@ -1531,12 +1283,9 @@ export const RegionScalarFieldEnum = {
1531
1283
  is_deleted: 'is_deleted',
1532
1284
  deleted_by: 'deleted_by',
1533
1285
  deleted_at: 'deleted_at'
1534
- } as const
1286
+ };
1535
1287
 
1536
- export type RegionScalarFieldEnum = (typeof RegionScalarFieldEnum)[keyof typeof RegionScalarFieldEnum]
1537
-
1538
-
1539
- export const SubregionScalarFieldEnum = {
1288
+ exports.Prisma.SubregionScalarFieldEnum = {
1540
1289
  id: 'id',
1541
1290
  name: 'name',
1542
1291
  translations: 'translations',
@@ -1550,12 +1299,9 @@ export const SubregionScalarFieldEnum = {
1550
1299
  deleted_by: 'deleted_by',
1551
1300
  deleted_at: 'deleted_at',
1552
1301
  region_id: 'region_id'
1553
- } as const
1554
-
1555
- export type SubregionScalarFieldEnum = (typeof SubregionScalarFieldEnum)[keyof typeof SubregionScalarFieldEnum]
1556
-
1302
+ };
1557
1303
 
1558
- export const CountryScalarFieldEnum = {
1304
+ exports.Prisma.CountryScalarFieldEnum = {
1559
1305
  id: 'id',
1560
1306
  name: 'name',
1561
1307
  iso3: 'iso3',
@@ -1588,12 +1334,9 @@ export const CountryScalarFieldEnum = {
1588
1334
  deleted_at: 'deleted_at',
1589
1335
  region_id: 'region_id',
1590
1336
  subregion_id: 'subregion_id'
1591
- } as const
1337
+ };
1592
1338
 
1593
- export type CountryScalarFieldEnum = (typeof CountryScalarFieldEnum)[keyof typeof CountryScalarFieldEnum]
1594
-
1595
-
1596
- export const StateScalarFieldEnum = {
1339
+ exports.Prisma.StateScalarFieldEnum = {
1597
1340
  id: 'id',
1598
1341
  name: 'name',
1599
1342
  state_code: 'state_code',
@@ -1610,12 +1353,9 @@ export const StateScalarFieldEnum = {
1610
1353
  deleted_by: 'deleted_by',
1611
1354
  deleted_at: 'deleted_at',
1612
1355
  country_id: 'country_id'
1613
- } as const
1614
-
1615
- export type StateScalarFieldEnum = (typeof StateScalarFieldEnum)[keyof typeof StateScalarFieldEnum]
1616
-
1356
+ };
1617
1357
 
1618
- export const CityScalarFieldEnum = {
1358
+ exports.Prisma.CityScalarFieldEnum = {
1619
1359
  id: 'id',
1620
1360
  name: 'name',
1621
1361
  latitude: 'latitude',
@@ -1631,12 +1371,9 @@ export const CityScalarFieldEnum = {
1631
1371
  deleted_at: 'deleted_at',
1632
1372
  state_id: 'state_id',
1633
1373
  country_id: 'country_id'
1634
- } as const
1374
+ };
1635
1375
 
1636
- export type CityScalarFieldEnum = (typeof CityScalarFieldEnum)[keyof typeof CityScalarFieldEnum]
1637
-
1638
-
1639
- export const LocationScalarFieldEnum = {
1376
+ exports.Prisma.LocationScalarFieldEnum = {
1640
1377
  id: 'id',
1641
1378
  name: 'name',
1642
1379
  address: 'address',
@@ -1652,24 +1389,18 @@ export const LocationScalarFieldEnum = {
1652
1389
  country_id: 'country_id',
1653
1390
  state_id: 'state_id',
1654
1391
  city_id: 'city_id'
1655
- } as const
1656
-
1657
- export type LocationScalarFieldEnum = (typeof LocationScalarFieldEnum)[keyof typeof LocationScalarFieldEnum]
1658
-
1392
+ };
1659
1393
 
1660
- export const SubModuleScalarFieldEnum = {
1394
+ exports.Prisma.SubModuleScalarFieldEnum = {
1661
1395
  id: 'id',
1662
1396
  name: 'name',
1663
1397
  slug: 'slug',
1664
1398
  module_id: 'module_id',
1665
1399
  created_by: 'created_by',
1666
1400
  created_at: 'created_at'
1667
- } as const
1401
+ };
1668
1402
 
1669
- export type SubModuleScalarFieldEnum = (typeof SubModuleScalarFieldEnum)[keyof typeof SubModuleScalarFieldEnum]
1670
-
1671
-
1672
- export const CounterOfferScalarFieldEnum = {
1403
+ exports.Prisma.CounterOfferScalarFieldEnum = {
1673
1404
  id: 'id',
1674
1405
  uuid: 'uuid',
1675
1406
  bid_log_id: 'bid_log_id',
@@ -1689,12 +1420,9 @@ export const CounterOfferScalarFieldEnum = {
1689
1420
  is_deleted: 'is_deleted',
1690
1421
  deleted_at: 'deleted_at',
1691
1422
  deleted_by: 'deleted_by'
1692
- } as const
1693
-
1694
- export type CounterOfferScalarFieldEnum = (typeof CounterOfferScalarFieldEnum)[keyof typeof CounterOfferScalarFieldEnum]
1423
+ };
1695
1424
 
1696
-
1697
- export const PurchaseOrderScalarFieldEnum = {
1425
+ exports.Prisma.PurchaseOrderScalarFieldEnum = {
1698
1426
  id: 'id',
1699
1427
  uuid: 'uuid',
1700
1428
  event_id: 'event_id',
@@ -1716,12 +1444,9 @@ export const PurchaseOrderScalarFieldEnum = {
1716
1444
  deleted_by: 'deleted_by',
1717
1445
  business_entity_id: 'business_entity_id',
1718
1446
  blanket_po_id: 'blanket_po_id'
1719
- } as const
1720
-
1721
- export type PurchaseOrderScalarFieldEnum = (typeof PurchaseOrderScalarFieldEnum)[keyof typeof PurchaseOrderScalarFieldEnum]
1447
+ };
1722
1448
 
1723
-
1724
- export const PurchaseOrderItemScalarFieldEnum = {
1449
+ exports.Prisma.PurchaseOrderItemScalarFieldEnum = {
1725
1450
  id: 'id',
1726
1451
  uuid: 'uuid',
1727
1452
  purchase_order_id: 'purchase_order_id',
@@ -1735,12 +1460,9 @@ export const PurchaseOrderItemScalarFieldEnum = {
1735
1460
  updated_at: 'updated_at',
1736
1461
  is_deleted: 'is_deleted',
1737
1462
  deleted_at: 'deleted_at'
1738
- } as const
1739
-
1740
- export type PurchaseOrderItemScalarFieldEnum = (typeof PurchaseOrderItemScalarFieldEnum)[keyof typeof PurchaseOrderItemScalarFieldEnum]
1463
+ };
1741
1464
 
1742
-
1743
- export const PurchaseOrderActivityLogScalarFieldEnum = {
1465
+ exports.Prisma.PurchaseOrderActivityLogScalarFieldEnum = {
1744
1466
  id: 'id',
1745
1467
  uuid: 'uuid',
1746
1468
  purchase_order_id: 'purchase_order_id',
@@ -1750,24 +1472,18 @@ export const PurchaseOrderActivityLogScalarFieldEnum = {
1750
1472
  remarks: 'remarks',
1751
1473
  metadata: 'metadata',
1752
1474
  created_at: 'created_at'
1753
- } as const
1754
-
1755
- export type PurchaseOrderActivityLogScalarFieldEnum = (typeof PurchaseOrderActivityLogScalarFieldEnum)[keyof typeof PurchaseOrderActivityLogScalarFieldEnum]
1475
+ };
1756
1476
 
1757
-
1758
- export const UserVendorSocketTokensScalarFieldEnum = {
1477
+ exports.Prisma.UserVendorSocketTokensScalarFieldEnum = {
1759
1478
  id: 'id',
1760
1479
  user_id: 'user_id',
1761
1480
  vendor_id: 'vendor_id',
1762
1481
  socket_id: 'socket_id',
1763
1482
  status: 'status',
1764
1483
  created_at: 'created_at'
1765
- } as const
1766
-
1767
- export type UserVendorSocketTokensScalarFieldEnum = (typeof UserVendorSocketTokensScalarFieldEnum)[keyof typeof UserVendorSocketTokensScalarFieldEnum]
1484
+ };
1768
1485
 
1769
-
1770
- export const ActivityLogScalarFieldEnum = {
1486
+ exports.Prisma.ActivityLogScalarFieldEnum = {
1771
1487
  id: 'id',
1772
1488
  uuid: 'uuid',
1773
1489
  user_id: 'user_id',
@@ -1778,12 +1494,9 @@ export const ActivityLogScalarFieldEnum = {
1778
1494
  description: 'description',
1779
1495
  metadata: 'metadata',
1780
1496
  created_at: 'created_at'
1781
- } as const
1782
-
1783
- export type ActivityLogScalarFieldEnum = (typeof ActivityLogScalarFieldEnum)[keyof typeof ActivityLogScalarFieldEnum]
1497
+ };
1784
1498
 
1785
-
1786
- export const ContactUsScalarFieldEnum = {
1499
+ exports.Prisma.ContactUsScalarFieldEnum = {
1787
1500
  id: 'id',
1788
1501
  uuid: 'uuid',
1789
1502
  full_name: 'full_name',
@@ -1796,12 +1509,9 @@ export const ContactUsScalarFieldEnum = {
1796
1509
  reply_at: 'reply_at',
1797
1510
  created_at: 'created_at',
1798
1511
  updated_at: 'updated_at'
1799
- } as const
1800
-
1801
- export type ContactUsScalarFieldEnum = (typeof ContactUsScalarFieldEnum)[keyof typeof ContactUsScalarFieldEnum]
1512
+ };
1802
1513
 
1803
-
1804
- export const UploadLogScalarFieldEnum = {
1514
+ exports.Prisma.UploadLogScalarFieldEnum = {
1805
1515
  id: 'id',
1806
1516
  uuid: 'uuid',
1807
1517
  user_id: 'user_id',
@@ -1816,12 +1526,9 @@ export const UploadLogScalarFieldEnum = {
1816
1526
  started_at: 'started_at',
1817
1527
  completed_at: 'completed_at',
1818
1528
  errors: 'errors'
1819
- } as const
1820
-
1821
- export type UploadLogScalarFieldEnum = (typeof UploadLogScalarFieldEnum)[keyof typeof UploadLogScalarFieldEnum]
1822
-
1529
+ };
1823
1530
 
1824
- export const UserEventConfigurationScalarFieldEnum = {
1531
+ exports.Prisma.UserEventConfigurationScalarFieldEnum = {
1825
1532
  id: 'id',
1826
1533
  uuid: 'uuid',
1827
1534
  name: 'name',
@@ -1833,12 +1540,9 @@ export const UserEventConfigurationScalarFieldEnum = {
1833
1540
  created_by: 'created_by',
1834
1541
  updated_at: 'updated_at',
1835
1542
  updated_by: 'updated_by'
1836
- } as const
1543
+ };
1837
1544
 
1838
- export type UserEventConfigurationScalarFieldEnum = (typeof UserEventConfigurationScalarFieldEnum)[keyof typeof UserEventConfigurationScalarFieldEnum]
1839
-
1840
-
1841
- export const ExportLogScalarFieldEnum = {
1545
+ exports.Prisma.ExportLogScalarFieldEnum = {
1842
1546
  id: 'id',
1843
1547
  uuid: 'uuid',
1844
1548
  user_id: 'user_id',
@@ -1856,12 +1560,9 @@ export const ExportLogScalarFieldEnum = {
1856
1560
  started_at: 'started_at',
1857
1561
  completed_at: 'completed_at',
1858
1562
  expires_at: 'expires_at'
1859
- } as const
1860
-
1861
- export type ExportLogScalarFieldEnum = (typeof ExportLogScalarFieldEnum)[keyof typeof ExportLogScalarFieldEnum]
1862
-
1563
+ };
1863
1564
 
1864
- export const FiscalYearScalarFieldEnum = {
1565
+ exports.Prisma.FiscalYearScalarFieldEnum = {
1865
1566
  id: 'id',
1866
1567
  uuid: 'uuid',
1867
1568
  name: 'name',
@@ -1876,12 +1577,9 @@ export const FiscalYearScalarFieldEnum = {
1876
1577
  is_deleted: 'is_deleted',
1877
1578
  deleted_at: 'deleted_at',
1878
1579
  deleted_by: 'deleted_by'
1879
- } as const
1580
+ };
1880
1581
 
1881
- export type FiscalYearScalarFieldEnum = (typeof FiscalYearScalarFieldEnum)[keyof typeof FiscalYearScalarFieldEnum]
1882
-
1883
-
1884
- export const BudgetScalarFieldEnum = {
1582
+ exports.Prisma.BudgetScalarFieldEnum = {
1885
1583
  id: 'id',
1886
1584
  uuid: 'uuid',
1887
1585
  code: 'code',
@@ -1899,12 +1597,9 @@ export const BudgetScalarFieldEnum = {
1899
1597
  is_deleted: 'is_deleted',
1900
1598
  deleted_at: 'deleted_at',
1901
1599
  deleted_by: 'deleted_by'
1902
- } as const
1903
-
1904
- export type BudgetScalarFieldEnum = (typeof BudgetScalarFieldEnum)[keyof typeof BudgetScalarFieldEnum]
1600
+ };
1905
1601
 
1906
-
1907
- export const DepartmentBudgetScalarFieldEnum = {
1602
+ exports.Prisma.DepartmentBudgetScalarFieldEnum = {
1908
1603
  id: 'id',
1909
1604
  uuid: 'uuid',
1910
1605
  code: 'code',
@@ -1923,12 +1618,9 @@ export const DepartmentBudgetScalarFieldEnum = {
1923
1618
  is_deleted: 'is_deleted',
1924
1619
  deleted_by: 'deleted_by',
1925
1620
  deleted_at: 'deleted_at'
1926
- } as const
1927
-
1928
- export type DepartmentBudgetScalarFieldEnum = (typeof DepartmentBudgetScalarFieldEnum)[keyof typeof DepartmentBudgetScalarFieldEnum]
1621
+ };
1929
1622
 
1930
-
1931
- export const CategoryBudgetScalarFieldEnum = {
1623
+ exports.Prisma.CategoryBudgetScalarFieldEnum = {
1932
1624
  id: 'id',
1933
1625
  uuid: 'uuid',
1934
1626
  department_budget_id: 'department_budget_id',
@@ -1947,12 +1639,9 @@ export const CategoryBudgetScalarFieldEnum = {
1947
1639
  is_deleted: 'is_deleted',
1948
1640
  deleted_by: 'deleted_by',
1949
1641
  deleted_at: 'deleted_at'
1950
- } as const
1951
-
1952
- export type CategoryBudgetScalarFieldEnum = (typeof CategoryBudgetScalarFieldEnum)[keyof typeof CategoryBudgetScalarFieldEnum]
1642
+ };
1953
1643
 
1954
-
1955
- export const BudgetHoldScalarFieldEnum = {
1644
+ exports.Prisma.BudgetHoldScalarFieldEnum = {
1956
1645
  id: 'id',
1957
1646
  uuid: 'uuid',
1958
1647
  category_budget_id: 'category_budget_id',
@@ -1971,12 +1660,9 @@ export const BudgetHoldScalarFieldEnum = {
1971
1660
  is_deleted: 'is_deleted',
1972
1661
  deleted_by: 'deleted_by',
1973
1662
  deleted_at: 'deleted_at'
1974
- } as const
1975
-
1976
- export type BudgetHoldScalarFieldEnum = (typeof BudgetHoldScalarFieldEnum)[keyof typeof BudgetHoldScalarFieldEnum]
1977
-
1663
+ };
1978
1664
 
1979
- export const SupportingDocumentScalarFieldEnum = {
1665
+ exports.Prisma.SupportingDocumentScalarFieldEnum = {
1980
1666
  id: 'id',
1981
1667
  uuid: 'uuid',
1982
1668
  budget_id: 'budget_id',
@@ -1994,12 +1680,9 @@ export const SupportingDocumentScalarFieldEnum = {
1994
1680
  is_deleted: 'is_deleted',
1995
1681
  deleted_by: 'deleted_by',
1996
1682
  deleted_at: 'deleted_at'
1997
- } as const
1683
+ };
1998
1684
 
1999
- export type SupportingDocumentScalarFieldEnum = (typeof SupportingDocumentScalarFieldEnum)[keyof typeof SupportingDocumentScalarFieldEnum]
2000
-
2001
-
2002
- export const ExpenseScalarFieldEnum = {
1685
+ exports.Prisma.ExpenseScalarFieldEnum = {
2003
1686
  id: 'id',
2004
1687
  uuid: 'uuid',
2005
1688
  category_budget_id: 'category_budget_id',
@@ -2011,12 +1694,9 @@ export const ExpenseScalarFieldEnum = {
2011
1694
  notes: 'notes',
2012
1695
  created_at: 'created_at',
2013
1696
  updated_at: 'updated_at'
2014
- } as const
2015
-
2016
- export type ExpenseScalarFieldEnum = (typeof ExpenseScalarFieldEnum)[keyof typeof ExpenseScalarFieldEnum]
2017
-
1697
+ };
2018
1698
 
2019
- export const VendorReferenceScalarFieldEnum = {
1699
+ exports.Prisma.VendorReferenceScalarFieldEnum = {
2020
1700
  id: 'id',
2021
1701
  global_vendor_id: 'global_vendor_id',
2022
1702
  tenant_vendor_code: 'tenant_vendor_code',
@@ -2030,12 +1710,9 @@ export const VendorReferenceScalarFieldEnum = {
2030
1710
  updated_by: 'updated_by',
2031
1711
  deleted_at: 'deleted_at',
2032
1712
  deleted_by: 'deleted_by'
2033
- } as const
1713
+ };
2034
1714
 
2035
- export type VendorReferenceScalarFieldEnum = (typeof VendorReferenceScalarFieldEnum)[keyof typeof VendorReferenceScalarFieldEnum]
2036
-
2037
-
2038
- export const RequestedCatalogueScalarFieldEnum = {
1715
+ exports.Prisma.RequestedCatalogueScalarFieldEnum = {
2039
1716
  id: 'id',
2040
1717
  uuid: 'uuid',
2041
1718
  code: 'code',
@@ -2048,12 +1725,9 @@ export const RequestedCatalogueScalarFieldEnum = {
2048
1725
  is_deleted: 'is_deleted',
2049
1726
  deleted_at: 'deleted_at',
2050
1727
  deleted_by: 'deleted_by'
2051
- } as const
2052
-
2053
- export type RequestedCatalogueScalarFieldEnum = (typeof RequestedCatalogueScalarFieldEnum)[keyof typeof RequestedCatalogueScalarFieldEnum]
2054
-
1728
+ };
2055
1729
 
2056
- export const RequestedCatalogueDetailsScalarFieldEnum = {
1730
+ exports.Prisma.RequestedCatalogueDetailsScalarFieldEnum = {
2057
1731
  id: 'id',
2058
1732
  uuid: 'uuid',
2059
1733
  req_catalogue_id: 'req_catalogue_id',
@@ -2070,12 +1744,9 @@ export const RequestedCatalogueDetailsScalarFieldEnum = {
2070
1744
  is_deleted: 'is_deleted',
2071
1745
  deleted_at: 'deleted_at',
2072
1746
  deleted_by: 'deleted_by'
2073
- } as const
1747
+ };
2074
1748
 
2075
- export type RequestedCatalogueDetailsScalarFieldEnum = (typeof RequestedCatalogueDetailsScalarFieldEnum)[keyof typeof RequestedCatalogueDetailsScalarFieldEnum]
2076
-
2077
-
2078
- export const CatalogueScalarFieldEnum = {
1749
+ exports.Prisma.CatalogueScalarFieldEnum = {
2079
1750
  id: 'id',
2080
1751
  uuid: 'uuid',
2081
1752
  req_catalogue_id: 'req_catalogue_id',
@@ -2089,12 +1760,9 @@ export const CatalogueScalarFieldEnum = {
2089
1760
  is_deleted: 'is_deleted',
2090
1761
  deleted_at: 'deleted_at',
2091
1762
  deleted_by: 'deleted_by'
2092
- } as const
2093
-
2094
- export type CatalogueScalarFieldEnum = (typeof CatalogueScalarFieldEnum)[keyof typeof CatalogueScalarFieldEnum]
2095
-
1763
+ };
2096
1764
 
2097
- export const CatalogueVendorScalarFieldEnum = {
1765
+ exports.Prisma.CatalogueVendorScalarFieldEnum = {
2098
1766
  id: 'id',
2099
1767
  uuid: 'uuid',
2100
1768
  catalogue_id: 'catalogue_id',
@@ -2111,12 +1779,9 @@ export const CatalogueVendorScalarFieldEnum = {
2111
1779
  is_deleted: 'is_deleted',
2112
1780
  deleted_at: 'deleted_at',
2113
1781
  deleted_by: 'deleted_by'
2114
- } as const
1782
+ };
2115
1783
 
2116
- export type CatalogueVendorScalarFieldEnum = (typeof CatalogueVendorScalarFieldEnum)[keyof typeof CatalogueVendorScalarFieldEnum]
2117
-
2118
-
2119
- export const CatalogueCartScalarFieldEnum = {
1784
+ exports.Prisma.CatalogueCartScalarFieldEnum = {
2120
1785
  id: 'id',
2121
1786
  uuid: 'uuid',
2122
1787
  user_id: 'user_id',
@@ -2134,12 +1799,9 @@ export const CatalogueCartScalarFieldEnum = {
2134
1799
  is_deleted: 'is_deleted',
2135
1800
  deleted_at: 'deleted_at',
2136
1801
  deleted_by: 'deleted_by'
2137
- } as const
2138
-
2139
- export type CatalogueCartScalarFieldEnum = (typeof CatalogueCartScalarFieldEnum)[keyof typeof CatalogueCartScalarFieldEnum]
1802
+ };
2140
1803
 
2141
-
2142
- export const EventRfiFormScalarFieldEnum = {
1804
+ exports.Prisma.EventRfiFormScalarFieldEnum = {
2143
1805
  id: 'id',
2144
1806
  uuid: 'uuid',
2145
1807
  event_id: 'event_id',
@@ -2152,12 +1814,9 @@ export const EventRfiFormScalarFieldEnum = {
2152
1814
  updated_by: 'updated_by',
2153
1815
  deleted_at: 'deleted_at',
2154
1816
  deleted_by: 'deleted_by'
2155
- } as const
2156
-
2157
- export type EventRfiFormScalarFieldEnum = (typeof EventRfiFormScalarFieldEnum)[keyof typeof EventRfiFormScalarFieldEnum]
1817
+ };
2158
1818
 
2159
-
2160
- export const EventRfiFormLogScalarFieldEnum = {
1819
+ exports.Prisma.EventRfiFormLogScalarFieldEnum = {
2161
1820
  id: 'id',
2162
1821
  uuid: 'uuid',
2163
1822
  event_id: 'event_id',
@@ -2177,12 +1836,9 @@ export const EventRfiFormLogScalarFieldEnum = {
2177
1836
  is_deleted: 'is_deleted',
2178
1837
  deleted_at: 'deleted_at',
2179
1838
  deleted_by: 'deleted_by'
2180
- } as const
2181
-
2182
- export type EventRfiFormLogScalarFieldEnum = (typeof EventRfiFormLogScalarFieldEnum)[keyof typeof EventRfiFormLogScalarFieldEnum]
1839
+ };
2183
1840
 
2184
-
2185
- export const EventCriteriaScalarFieldEnum = {
1841
+ exports.Prisma.EventCriteriaScalarFieldEnum = {
2186
1842
  id: 'id',
2187
1843
  uuid: 'uuid',
2188
1844
  event_id: 'event_id',
@@ -2202,12 +1858,9 @@ export const EventCriteriaScalarFieldEnum = {
2202
1858
  is_deleted: 'is_deleted',
2203
1859
  deleted_at: 'deleted_at',
2204
1860
  deleted_by: 'deleted_by'
2205
- } as const
2206
-
2207
- export type EventCriteriaScalarFieldEnum = (typeof EventCriteriaScalarFieldEnum)[keyof typeof EventCriteriaScalarFieldEnum]
2208
-
1861
+ };
2209
1862
 
2210
- export const EventVendorCriteriaScalarFieldEnum = {
1863
+ exports.Prisma.EventVendorCriteriaScalarFieldEnum = {
2211
1864
  id: 'id',
2212
1865
  uuid: 'uuid',
2213
1866
  event_id: 'event_id',
@@ -2227,12 +1880,9 @@ export const EventVendorCriteriaScalarFieldEnum = {
2227
1880
  is_deleted: 'is_deleted',
2228
1881
  deleted_at: 'deleted_at',
2229
1882
  deleted_by: 'deleted_by'
2230
- } as const
1883
+ };
2231
1884
 
2232
- export type EventVendorCriteriaScalarFieldEnum = (typeof EventVendorCriteriaScalarFieldEnum)[keyof typeof EventVendorCriteriaScalarFieldEnum]
2233
-
2234
-
2235
- export const ConversationScalarFieldEnum = {
1885
+ exports.Prisma.ConversationScalarFieldEnum = {
2236
1886
  id: 'id',
2237
1887
  uuid: 'uuid',
2238
1888
  type: 'type',
@@ -2249,12 +1899,9 @@ export const ConversationScalarFieldEnum = {
2249
1899
  is_deleted: 'is_deleted',
2250
1900
  deleted_at: 'deleted_at',
2251
1901
  deleted_by: 'deleted_by'
2252
- } as const
2253
-
2254
- export type ConversationScalarFieldEnum = (typeof ConversationScalarFieldEnum)[keyof typeof ConversationScalarFieldEnum]
2255
-
1902
+ };
2256
1903
 
2257
- export const ConversationParticipantScalarFieldEnum = {
1904
+ exports.Prisma.ConversationParticipantScalarFieldEnum = {
2258
1905
  id: 'id',
2259
1906
  uuid: 'uuid',
2260
1907
  conversation_id: 'conversation_id',
@@ -2267,12 +1914,9 @@ export const ConversationParticipantScalarFieldEnum = {
2267
1914
  is_active: 'is_active',
2268
1915
  created_at: 'created_at',
2269
1916
  updated_at: 'updated_at'
2270
- } as const
1917
+ };
2271
1918
 
2272
- export type ConversationParticipantScalarFieldEnum = (typeof ConversationParticipantScalarFieldEnum)[keyof typeof ConversationParticipantScalarFieldEnum]
2273
-
2274
-
2275
- export const MessageScalarFieldEnum = {
1919
+ exports.Prisma.MessageScalarFieldEnum = {
2276
1920
  id: 'id',
2277
1921
  uuid: 'uuid',
2278
1922
  conversation_id: 'conversation_id',
@@ -2292,12 +1936,9 @@ export const MessageScalarFieldEnum = {
2292
1936
  updated_at: 'updated_at',
2293
1937
  updated_by: 'updated_by',
2294
1938
  reply_to_message_id: 'reply_to_message_id'
2295
- } as const
2296
-
2297
- export type MessageScalarFieldEnum = (typeof MessageScalarFieldEnum)[keyof typeof MessageScalarFieldEnum]
1939
+ };
2298
1940
 
2299
-
2300
- export const MessageRecipientScalarFieldEnum = {
1941
+ exports.Prisma.MessageRecipientScalarFieldEnum = {
2301
1942
  id: 'id',
2302
1943
  uuid: 'uuid',
2303
1944
  message_id: 'message_id',
@@ -2308,12 +1949,9 @@ export const MessageRecipientScalarFieldEnum = {
2308
1949
  read_at: 'read_at',
2309
1950
  delivered_at: 'delivered_at',
2310
1951
  created_at: 'created_at'
2311
- } as const
2312
-
2313
- export type MessageRecipientScalarFieldEnum = (typeof MessageRecipientScalarFieldEnum)[keyof typeof MessageRecipientScalarFieldEnum]
1952
+ };
2314
1953
 
2315
-
2316
- export const BlanketPurchaseOrderScalarFieldEnum = {
1954
+ exports.Prisma.BlanketPurchaseOrderScalarFieldEnum = {
2317
1955
  id: 'id',
2318
1956
  uuid: 'uuid',
2319
1957
  bpo_number: 'bpo_number',
@@ -2338,12 +1976,9 @@ export const BlanketPurchaseOrderScalarFieldEnum = {
2338
1976
  is_deleted: 'is_deleted',
2339
1977
  deleted_at: 'deleted_at',
2340
1978
  deleted_by: 'deleted_by'
2341
- } as const
2342
-
2343
- export type BlanketPurchaseOrderScalarFieldEnum = (typeof BlanketPurchaseOrderScalarFieldEnum)[keyof typeof BlanketPurchaseOrderScalarFieldEnum]
1979
+ };
2344
1980
 
2345
-
2346
- export const BlanketPurchaseOrderItemScalarFieldEnum = {
1981
+ exports.Prisma.BlanketPurchaseOrderItemScalarFieldEnum = {
2347
1982
  id: 'id',
2348
1983
  uuid: 'uuid',
2349
1984
  blanket_po_id: 'blanket_po_id',
@@ -2362,12 +1997,9 @@ export const BlanketPurchaseOrderItemScalarFieldEnum = {
2362
1997
  is_deleted: 'is_deleted',
2363
1998
  deleted_at: 'deleted_at',
2364
1999
  deleted_by: 'deleted_by'
2365
- } as const
2366
-
2367
- export type BlanketPurchaseOrderItemScalarFieldEnum = (typeof BlanketPurchaseOrderItemScalarFieldEnum)[keyof typeof BlanketPurchaseOrderItemScalarFieldEnum]
2000
+ };
2368
2001
 
2369
-
2370
- export const BlanketPurchaseOrderReleaseScalarFieldEnum = {
2002
+ exports.Prisma.BlanketPurchaseOrderReleaseScalarFieldEnum = {
2371
2003
  id: 'id',
2372
2004
  uuid: 'uuid',
2373
2005
  blanket_po_id: 'blanket_po_id',
@@ -2389,12 +2021,9 @@ export const BlanketPurchaseOrderReleaseScalarFieldEnum = {
2389
2021
  is_deleted: 'is_deleted',
2390
2022
  deleted_at: 'deleted_at',
2391
2023
  deleted_by: 'deleted_by'
2392
- } as const
2393
-
2394
- export type BlanketPurchaseOrderReleaseScalarFieldEnum = (typeof BlanketPurchaseOrderReleaseScalarFieldEnum)[keyof typeof BlanketPurchaseOrderReleaseScalarFieldEnum]
2024
+ };
2395
2025
 
2396
-
2397
- export const GRNScalarFieldEnum = {
2026
+ exports.Prisma.GRNScalarFieldEnum = {
2398
2027
  id: 'id',
2399
2028
  uuid: 'uuid',
2400
2029
  grn_number: 'grn_number',
@@ -2431,12 +2060,9 @@ export const GRNScalarFieldEnum = {
2431
2060
  is_deleted: 'is_deleted',
2432
2061
  deleted_at: 'deleted_at',
2433
2062
  deleted_by: 'deleted_by'
2434
- } as const
2435
-
2436
- export type GRNScalarFieldEnum = (typeof GRNScalarFieldEnum)[keyof typeof GRNScalarFieldEnum]
2063
+ };
2437
2064
 
2438
-
2439
- export const GRNItemScalarFieldEnum = {
2065
+ exports.Prisma.GRNItemScalarFieldEnum = {
2440
2066
  id: 'id',
2441
2067
  uuid: 'uuid',
2442
2068
  grn_id: 'grn_id',
@@ -2455,12 +2081,9 @@ export const GRNItemScalarFieldEnum = {
2455
2081
  is_deleted: 'is_deleted',
2456
2082
  deleted_at: 'deleted_at',
2457
2083
  deleted_by: 'deleted_by'
2458
- } as const
2459
-
2460
- export type GRNItemScalarFieldEnum = (typeof GRNItemScalarFieldEnum)[keyof typeof GRNItemScalarFieldEnum]
2084
+ };
2461
2085
 
2462
-
2463
- export const BusinessEntityScalarFieldEnum = {
2086
+ exports.Prisma.BusinessEntityScalarFieldEnum = {
2464
2087
  id: 'id',
2465
2088
  uuid: 'uuid',
2466
2089
  business_code: 'business_code',
@@ -2480,24 +2103,18 @@ export const BusinessEntityScalarFieldEnum = {
2480
2103
  is_deleted: 'is_deleted',
2481
2104
  deleted_at: 'deleted_at',
2482
2105
  deleted_by: 'deleted_by'
2483
- } as const
2484
-
2485
- export type BusinessEntityScalarFieldEnum = (typeof BusinessEntityScalarFieldEnum)[keyof typeof BusinessEntityScalarFieldEnum]
2486
-
2106
+ };
2487
2107
 
2488
- export const BusinessEntityLocationScalarFieldEnum = {
2108
+ exports.Prisma.BusinessEntityLocationScalarFieldEnum = {
2489
2109
  id: 'id',
2490
2110
  business_entity_id: 'business_entity_id',
2491
2111
  location_id: 'location_id',
2492
2112
  is_primary: 'is_primary',
2493
2113
  created_at: 'created_at',
2494
2114
  created_by: 'created_by'
2495
- } as const
2115
+ };
2496
2116
 
2497
- export type BusinessEntityLocationScalarFieldEnum = (typeof BusinessEntityLocationScalarFieldEnum)[keyof typeof BusinessEntityLocationScalarFieldEnum]
2498
-
2499
-
2500
- export const InvoiceScalarFieldEnum = {
2117
+ exports.Prisma.InvoiceScalarFieldEnum = {
2501
2118
  id: 'id',
2502
2119
  uuid: 'uuid',
2503
2120
  invoice_number: 'invoice_number',
@@ -2524,12 +2141,9 @@ export const InvoiceScalarFieldEnum = {
2524
2141
  is_deleted: 'is_deleted',
2525
2142
  deleted_at: 'deleted_at',
2526
2143
  deleted_by: 'deleted_by'
2527
- } as const
2528
-
2529
- export type InvoiceScalarFieldEnum = (typeof InvoiceScalarFieldEnum)[keyof typeof InvoiceScalarFieldEnum]
2530
-
2144
+ };
2531
2145
 
2532
- export const InvoiceItemScalarFieldEnum = {
2146
+ exports.Prisma.InvoiceItemScalarFieldEnum = {
2533
2147
  id: 'id',
2534
2148
  uuid: 'uuid',
2535
2149
  invoice_id: 'invoice_id',
@@ -2554,12 +2168,9 @@ export const InvoiceItemScalarFieldEnum = {
2554
2168
  is_deleted: 'is_deleted',
2555
2169
  deleted_at: 'deleted_at',
2556
2170
  deleted_by: 'deleted_by'
2557
- } as const
2171
+ };
2558
2172
 
2559
- export type InvoiceItemScalarFieldEnum = (typeof InvoiceItemScalarFieldEnum)[keyof typeof InvoiceItemScalarFieldEnum]
2560
-
2561
-
2562
- export const ApprovalManagementScalarFieldEnum = {
2173
+ exports.Prisma.ApprovalManagementScalarFieldEnum = {
2563
2174
  id: 'id',
2564
2175
  uuid: 'uuid',
2565
2176
  journy_type: 'journy_type',
@@ -2574,48 +2185,689 @@ export const ApprovalManagementScalarFieldEnum = {
2574
2185
  reject_reason: 'reject_reason',
2575
2186
  created_at: 'created_at',
2576
2187
  created_by: 'created_by'
2577
- } as const
2578
-
2579
- export type ApprovalManagementScalarFieldEnum = (typeof ApprovalManagementScalarFieldEnum)[keyof typeof ApprovalManagementScalarFieldEnum]
2188
+ };
2580
2189
 
2581
-
2582
- export const SortOrder = {
2190
+ exports.Prisma.SortOrder = {
2583
2191
  asc: 'asc',
2584
2192
  desc: 'desc'
2585
- } as const
2586
-
2587
- export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder]
2588
-
2589
-
2590
- export const NullableJsonNullValueInput = {
2591
- DbNull: DbNull,
2592
- JsonNull: JsonNull
2593
- } as const
2193
+ };
2594
2194
 
2595
- export type NullableJsonNullValueInput = (typeof NullableJsonNullValueInput)[keyof typeof NullableJsonNullValueInput]
2195
+ exports.Prisma.NullableJsonNullValueInput = {
2196
+ DbNull: Prisma.DbNull,
2197
+ JsonNull: Prisma.JsonNull
2198
+ };
2596
2199
 
2597
-
2598
- export const QueryMode = {
2200
+ exports.Prisma.QueryMode = {
2599
2201
  default: 'default',
2600
2202
  insensitive: 'insensitive'
2601
- } as const
2602
-
2603
- export type QueryMode = (typeof QueryMode)[keyof typeof QueryMode]
2604
-
2203
+ };
2605
2204
 
2606
- export const NullsOrder = {
2205
+ exports.Prisma.NullsOrder = {
2607
2206
  first: 'first',
2608
2207
  last: 'last'
2609
- } as const
2610
-
2611
- export type NullsOrder = (typeof NullsOrder)[keyof typeof NullsOrder]
2612
-
2208
+ };
2209
+
2210
+ exports.Prisma.JsonNullValueFilter = {
2211
+ DbNull: Prisma.DbNull,
2212
+ JsonNull: Prisma.JsonNull,
2213
+ AnyNull: Prisma.AnyNull
2214
+ };
2215
+ exports.StatusEnum = exports.$Enums.StatusEnum = {
2216
+ Active: 'Active',
2217
+ InActive: 'InActive',
2218
+ Blocked: 'Blocked',
2219
+ Suspended: 'Suspended',
2220
+ PENDING_FOR_APPROVAL: 'PENDING_FOR_APPROVAL',
2221
+ REJECTED_FOR_APPROVAL: 'REJECTED_FOR_APPROVAL'
2222
+ };
2223
+
2224
+ exports.EnvironmentEnum = exports.$Enums.EnvironmentEnum = {
2225
+ PRODUCTION: 'PRODUCTION',
2226
+ SANDBOX: 'SANDBOX'
2227
+ };
2228
+
2229
+ exports.PurchaseIntakeTypeEnum = exports.$Enums.PurchaseIntakeTypeEnum = {
2230
+ PURCHASE_INTAKE: 'PURCHASE_INTAKE',
2231
+ FAST_CATALOGUE: 'FAST_CATALOGUE',
2232
+ BLANKET_PURCHASE_ORDER: 'BLANKET_PURCHASE_ORDER'
2233
+ };
2234
+
2235
+ exports.PurchaseIntakePriorityEnum = exports.$Enums.PurchaseIntakePriorityEnum = {
2236
+ Urgent: 'Urgent',
2237
+ High: 'High',
2238
+ Medium: 'Medium',
2239
+ Low: 'Low'
2240
+ };
2241
+
2242
+ exports.PurchaseIntakeStatusEnum = exports.$Enums.PurchaseIntakeStatusEnum = {
2243
+ APPROVED: 'APPROVED',
2244
+ IN_PROGRESS: 'IN_PROGRESS',
2245
+ PENDING: 'PENDING',
2246
+ REJECTED: 'REJECTED',
2247
+ COMPLETED: 'COMPLETED',
2248
+ CANCELLED: 'CANCELLED',
2249
+ AUTO_APPROVED: 'AUTO_APPROVED',
2250
+ AUTO_REJECTED: 'AUTO_REJECTED',
2251
+ SEND_BACK: 'SEND_BACK',
2252
+ EXPIRED: 'EXPIRED'
2253
+ };
2254
+
2255
+ exports.PurchaseRequestStatusEnum = exports.$Enums.PurchaseRequestStatusEnum = {
2256
+ Open: 'Open',
2257
+ InProgress: 'InProgress',
2258
+ OnHold: 'OnHold',
2259
+ Partial: 'Partial',
2260
+ Closed: 'Closed',
2261
+ Cancelled: 'Cancelled',
2262
+ Completed: 'Completed',
2263
+ Rejected: 'Rejected',
2264
+ Expired: 'Expired'
2265
+ };
2266
+
2267
+ exports.PurchaseIntakeItemEnum = exports.$Enums.PurchaseIntakeItemEnum = {
2268
+ Open: 'Open',
2269
+ InProgress: 'InProgress',
2270
+ OnHold: 'OnHold',
2271
+ Partial: 'Partial',
2272
+ Closed: 'Closed',
2273
+ Cancelled: 'Cancelled',
2274
+ Completed: 'Completed',
2275
+ Rejected: 'Rejected',
2276
+ Expired: 'Expired'
2277
+ };
2278
+
2279
+ exports.SendBackIntakeStatusEnum = exports.$Enums.SendBackIntakeStatusEnum = {
2280
+ PENDING: 'PENDING',
2281
+ ACCEPTED: 'ACCEPTED',
2282
+ COUNTERED: 'COUNTERED',
2283
+ REJECTED: 'REJECTED'
2284
+ };
2285
+
2286
+ exports.SendBackApproverStatusEnum = exports.$Enums.SendBackApproverStatusEnum = {
2287
+ PENDING: 'PENDING',
2288
+ ACCEPTED: 'ACCEPTED',
2289
+ COUNTERED: 'COUNTERED',
2290
+ REJECTED: 'REJECTED',
2291
+ SEND_BACK: 'SEND_BACK'
2292
+ };
2293
+
2294
+ exports.InitiatorTypeEnum = exports.$Enums.InitiatorTypeEnum = {
2295
+ Role: 'Role',
2296
+ User: 'User'
2297
+ };
2298
+
2299
+ exports.ConditionTypeEnum = exports.$Enums.ConditionTypeEnum = {
2300
+ Price: 'Price',
2301
+ Escalation: 'Escalation'
2302
+ };
2303
+
2304
+ exports.ApprovalJourneyStatusEnum = exports.$Enums.ApprovalJourneyStatusEnum = {
2305
+ Pending: 'Pending',
2306
+ Approved: 'Approved',
2307
+ AutoApproved: 'AutoApproved',
2308
+ Rejected: 'Rejected',
2309
+ AutoRejected: 'AutoRejected',
2310
+ Escalated: 'Escalated',
2311
+ NA: 'NA',
2312
+ Cancelled: 'Cancelled',
2313
+ SendBack: 'SendBack'
2314
+ };
2315
+
2316
+ exports.ApprovalDelegationStatusEnum = exports.$Enums.ApprovalDelegationStatusEnum = {
2317
+ PENDING: 'PENDING',
2318
+ ACTIVE: 'ACTIVE',
2319
+ COMPLETED: 'COMPLETED',
2320
+ CANCELLED: 'CANCELLED'
2321
+ };
2322
+
2323
+ exports.TemplateType = exports.$Enums.TemplateType = {
2324
+ RFQ: 'RFQ',
2325
+ RFI: 'RFI',
2326
+ RFP: 'RFP',
2327
+ RAUC: 'RAUC',
2328
+ FAUC: 'FAUC',
2329
+ BOQ_WITH_CATEGORY: 'BOQ_WITH_CATEGORY',
2330
+ BOQ_WITHOUT_CATEGORY: 'BOQ_WITHOUT_CATEGORY'
2331
+ };
2332
+
2333
+ exports.FieldType = exports.$Enums.FieldType = {
2334
+ TEXT: 'TEXT',
2335
+ NUMBER: 'NUMBER',
2336
+ FORMULA: 'FORMULA',
2337
+ DATE: 'DATE',
2338
+ TIME: 'TIME',
2339
+ DATETIME: 'DATETIME',
2340
+ PERCENTAGE: 'PERCENTAGE',
2341
+ MEDIA: 'MEDIA',
2342
+ CURRENCY: 'CURRENCY',
2343
+ CURRENCY_FORMULA: 'CURRENCY_FORMULA',
2344
+ VALUE_FORMULA: 'VALUE_FORMULA'
2345
+ };
2346
+
2347
+ exports.FieldRole = exports.$Enums.FieldRole = {
2348
+ BUYER: 'BUYER',
2349
+ VENDOR: 'VENDOR',
2350
+ AUTO_CALCULATED: 'AUTO_CALCULATED'
2351
+ };
2352
+
2353
+ exports.FieldPlacement = exports.$Enums.FieldPlacement = {
2354
+ GLOBAL: 'GLOBAL',
2355
+ LOCAL: 'LOCAL'
2356
+ };
2357
+
2358
+ exports.FaqType = exports.$Enums.FaqType = {
2359
+ ADMIN: 'ADMIN',
2360
+ BUYER: 'BUYER',
2361
+ VENDOR: 'VENDOR'
2362
+ };
2363
+
2364
+ exports.EventType = exports.$Enums.EventType = {
2365
+ RFQ: 'RFQ',
2366
+ RFI: 'RFI',
2367
+ RFP: 'RFP',
2368
+ RAUC: 'RAUC',
2369
+ FAUC: 'FAUC',
2370
+ BOQ: 'BOQ'
2371
+ };
2372
+
2373
+ exports.EventStatus = exports.$Enums.EventStatus = {
2374
+ Draft: 'Draft',
2375
+ Live: 'Live',
2376
+ Closed: 'Closed',
2377
+ Upcoming: 'Upcoming',
2378
+ Cancelled: 'Cancelled'
2379
+ };
2380
+
2381
+ exports.EventPhase = exports.$Enums.EventPhase = {
2382
+ Upcoming: 'Upcoming',
2383
+ Invitation: 'Invitation',
2384
+ PreBids: 'PreBids',
2385
+ Bidding: 'Bidding',
2386
+ Evaluation: 'Evaluation',
2387
+ ClosingSoon: 'ClosingSoon',
2388
+ Closed: 'Closed',
2389
+ PartialClosed: 'PartialClosed',
2390
+ Expired: 'Expired'
2391
+ };
2392
+
2393
+ exports.EventVendorStatus = exports.$Enums.EventVendorStatus = {
2394
+ Pending: 'Pending',
2395
+ Approved: 'Approved',
2396
+ Rejected: 'Rejected'
2397
+ };
2398
+
2399
+ exports.EventVendorBidStatus = exports.$Enums.EventVendorBidStatus = {
2400
+ INVITED: 'INVITED',
2401
+ VIEWED: 'VIEWED',
2402
+ DRAFT: 'DRAFT',
2403
+ BIDSUBMITTED: 'BIDSUBMITTED',
2404
+ SUBMITTED: 'SUBMITTED',
2405
+ ENDED: 'ENDED',
2406
+ NORESPONSE: 'NORESPONSE',
2407
+ EVALUATION: 'EVALUATION',
2408
+ WON: 'WON',
2409
+ NOTAWARDED: 'NOTAWARDED',
2410
+ CANCELLED: 'CANCELLED',
2411
+ EXPIRED: 'EXPIRED',
2412
+ ACCEPTED: 'ACCEPTED',
2413
+ REJECTED: 'REJECTED',
2414
+ LASTBIDREJECTED: 'LASTBIDREJECTED',
2415
+ BLOCKED: 'BLOCKED'
2416
+ };
2417
+
2418
+ exports.userTypeEnum = exports.$Enums.userTypeEnum = {
2419
+ ADMIN: 'ADMIN',
2420
+ VENDOR: 'VENDOR'
2421
+ };
2422
+
2423
+ exports.TicketPriorityEnum = exports.$Enums.TicketPriorityEnum = {
2424
+ LOW: 'LOW',
2425
+ MEDIUM: 'MEDIUM',
2426
+ HIGH: 'HIGH',
2427
+ CRITICAL: 'CRITICAL'
2428
+ };
2429
+
2430
+ exports.TicketStatusEnum = exports.$Enums.TicketStatusEnum = {
2431
+ OPEN: 'OPEN',
2432
+ IN_PROGRESS: 'IN_PROGRESS',
2433
+ RESOLVED: 'RESOLVED',
2434
+ CLOSED: 'CLOSED',
2435
+ REOPEN: 'REOPEN'
2436
+ };
2437
+
2438
+ exports.TicketContactMethodEnum = exports.$Enums.TicketContactMethodEnum = {
2439
+ EMAIL: 'EMAIL',
2440
+ PHONE: 'PHONE',
2441
+ CHAT: 'CHAT'
2442
+ };
2443
+
2444
+ exports.AlertTypeEnum = exports.$Enums.AlertTypeEnum = {
2445
+ PURCHASE_INTAKE: 'PURCHASE_INTAKE',
2446
+ PURCHASE_REQUEST: 'PURCHASE_REQUEST',
2447
+ PURCHASE_ORDER: 'PURCHASE_ORDER',
2448
+ APPROVAL: 'APPROVAL',
2449
+ QUOTATION: 'QUOTATION',
2450
+ RFI: 'RFI',
2451
+ RFP: 'RFP',
2452
+ AUCTION: 'AUCTION',
2453
+ VENDOR_KYC: 'VENDOR_KYC',
2454
+ GENERAL: 'GENERAL',
2455
+ CONTRACT: 'CONTRACT',
2456
+ CONTRACT_CLAUSE: 'CONTRACT_CLAUSE',
2457
+ CONTRACT_TEMPLATE: 'CONTRACT_TEMPLATE',
2458
+ UPLOAD: 'UPLOAD',
2459
+ EXPORT: 'EXPORT'
2460
+ };
2461
+
2462
+ exports.MediumEnum = exports.$Enums.MediumEnum = {
2463
+ EMAIL: 'EMAIL',
2464
+ SMS: 'SMS'
2465
+ };
2466
+
2467
+ exports.BidStatus = exports.$Enums.BidStatus = {
2468
+ NOT_HIGHEST_BIDDER: 'NOT_HIGHEST_BIDDER',
2469
+ HIGHEST_BIDDER: 'HIGHEST_BIDDER',
2470
+ LOWEST_BIDDER: 'LOWEST_BIDDER',
2471
+ NOT_LOWEST_BIDDER: 'NOT_LOWEST_BIDDER',
2472
+ CANCELLED: 'CANCELLED',
2473
+ REJECTED: 'REJECTED',
2474
+ ACCEPTED: 'ACCEPTED',
2475
+ LAST_REJECTED: 'LAST_REJECTED',
2476
+ COMPLETE_REJECTED: 'COMPLETE_REJECTED'
2477
+ };
2478
+
2479
+ exports.QuotationStatus = exports.$Enums.QuotationStatus = {
2480
+ SUBMITTED: 'SUBMITTED',
2481
+ UNDER_REVIEW: 'UNDER_REVIEW',
2482
+ ACCEPTED: 'ACCEPTED',
2483
+ REJECTED: 'REJECTED',
2484
+ REVISED: 'REVISED',
2485
+ LAST_REJECTED: 'LAST_REJECTED',
2486
+ COMPLETE_REJECTED: 'COMPLETE_REJECTED'
2487
+ };
2488
+
2489
+ exports.LoginActivityUserType = exports.$Enums.LoginActivityUserType = {
2490
+ ADMIN: 'ADMIN',
2491
+ VENDOR: 'VENDOR'
2492
+ };
2493
+
2494
+ exports.CounterOfferStatus = exports.$Enums.CounterOfferStatus = {
2495
+ PENDING: 'PENDING',
2496
+ ACCEPTED: 'ACCEPTED',
2497
+ REJECTED: 'REJECTED',
2498
+ COUNTERED: 'COUNTERED',
2499
+ AUTO_REJECTED: 'AUTO_REJECTED'
2500
+ };
2501
+
2502
+ exports.PurchaseOrderTypeEnum = exports.$Enums.PurchaseOrderTypeEnum = {
2503
+ PURCHASE_INTAKE: 'PURCHASE_INTAKE',
2504
+ FAST_CATALOGUE: 'FAST_CATALOGUE',
2505
+ BLANKET_PURCHASE_ORDER: 'BLANKET_PURCHASE_ORDER'
2506
+ };
2507
+
2508
+ exports.PurchaseOrderStatus = exports.$Enums.PurchaseOrderStatus = {
2509
+ PENDING: 'PENDING',
2510
+ REQUESTED: 'REQUESTED',
2511
+ REJECTED: 'REJECTED',
2512
+ COMPLETED: 'COMPLETED',
2513
+ REVOKED: 'REVOKED',
2514
+ EXPIRED: 'EXPIRED',
2515
+ PENDING_DELIVERY: 'PENDING_DELIVERY',
2516
+ PARTIALLY_DELIVERED: 'PARTIALLY_DELIVERED',
2517
+ DELIVERED: 'DELIVERED'
2518
+ };
2519
+
2520
+ exports.DeliveryStatus = exports.$Enums.DeliveryStatus = {
2521
+ PENDING_DELIVERY: 'PENDING_DELIVERY',
2522
+ PARTIALLY_DELIVERED: 'PARTIALLY_DELIVERED',
2523
+ DELIVERED: 'DELIVERED'
2524
+ };
2525
+
2526
+ exports.POActivityType = exports.$Enums.POActivityType = {
2527
+ CREATED: 'CREATED',
2528
+ REQUESTED: 'REQUESTED',
2529
+ UPLOADED: 'UPLOADED',
2530
+ SENT_TO_VENDOR: 'SENT_TO_VENDOR',
2531
+ COMPLETED: 'COMPLETED',
2532
+ CANCELLED: 'CANCELLED',
2533
+ OTHER: 'OTHER'
2534
+ };
2535
+
2536
+ exports.UploadModuleEnum = exports.$Enums.UploadModuleEnum = {
2537
+ ITEM_LIBRARY: 'ITEM_LIBRARY',
2538
+ CATEGORY_MASTER: 'CATEGORY_MASTER',
2539
+ SUB_CATEGORY_MASTER: 'SUB_CATEGORY_MASTER',
2540
+ UOM_MASTER: 'UOM_MASTER',
2541
+ ATTRIBUTE_MASTER: 'ATTRIBUTE_MASTER'
2542
+ };
2543
+
2544
+ exports.UploadStatus = exports.$Enums.UploadStatus = {
2545
+ PENDING: 'PENDING',
2546
+ PROCESSING: 'PROCESSING',
2547
+ COMPLETED: 'COMPLETED',
2548
+ FAILED: 'FAILED'
2549
+ };
2550
+
2551
+ exports.BudgetStatus = exports.$Enums.BudgetStatus = {
2552
+ WARNING: 'WARNING',
2553
+ HEALTHY: 'HEALTHY',
2554
+ CRITICAL: 'CRITICAL'
2555
+ };
2556
+
2557
+ exports.BudgetHoldStatus = exports.$Enums.BudgetHoldStatus = {
2558
+ PENDING: 'PENDING',
2559
+ RELEASED: 'RELEASED',
2560
+ REJECTED: 'REJECTED',
2561
+ PARTIAL: 'PARTIAL'
2562
+ };
2563
+
2564
+ exports.RequestedCatalogueStatusEnum = exports.$Enums.RequestedCatalogueStatusEnum = {
2565
+ ACTIVE: 'ACTIVE',
2566
+ COMPLETED: 'COMPLETED'
2567
+ };
2568
+
2569
+ exports.RequestedCatalogueSubmissionStatusEnum = exports.$Enums.RequestedCatalogueSubmissionStatusEnum = {
2570
+ PENDING: 'PENDING',
2571
+ PARTIAL: 'PARTIAL',
2572
+ COMPLETED: 'COMPLETED',
2573
+ APPROVED: 'APPROVED'
2574
+ };
2575
+
2576
+ exports.RequestedCatalogueDetailsStatusEnum = exports.$Enums.RequestedCatalogueDetailsStatusEnum = {
2577
+ REQUESTED: 'REQUESTED',
2578
+ QUOTED: 'QUOTED',
2579
+ REJECTED: 'REJECTED',
2580
+ AUTO_REJECTED: 'AUTO_REJECTED',
2581
+ MARK_FOR_LATER: 'MARK_FOR_LATER',
2582
+ ACCEPTED: 'ACCEPTED',
2583
+ DECLINED: 'DECLINED'
2584
+ };
2585
+
2586
+ exports.CatalogueStatusEnum = exports.$Enums.CatalogueStatusEnum = {
2587
+ ACTIVE: 'ACTIVE',
2588
+ INACTIVE: 'INACTIVE'
2589
+ };
2590
+
2591
+ exports.CatalogueVendorStatusEnum = exports.$Enums.CatalogueVendorStatusEnum = {
2592
+ ACTIVE: 'ACTIVE',
2593
+ INACTIVE: 'INACTIVE',
2594
+ BLOCKED: 'BLOCKED',
2595
+ SUSPENDED: 'SUSPENDED',
2596
+ PENDING_FOR_APPROVAL: 'PENDING_FOR_APPROVAL',
2597
+ REJECTED_FOR_APPROVAL: 'REJECTED_FOR_APPROVAL'
2598
+ };
2599
+
2600
+ exports.CatalogueCartTypeEnum = exports.$Enums.CatalogueCartTypeEnum = {
2601
+ BLANKET_PURCHASE_ORDER: 'BLANKET_PURCHASE_ORDER',
2602
+ FAST_CATALOGUE: 'FAST_CATALOGUE',
2603
+ OTHER: 'OTHER'
2604
+ };
2605
+
2606
+ exports.EventRfiFormStatus = exports.$Enums.EventRfiFormStatus = {
2607
+ PENDING: 'PENDING',
2608
+ SUBMITTED: 'SUBMITTED',
2609
+ APPROVED: 'APPROVED',
2610
+ REJECTED: 'REJECTED',
2611
+ DRAFT: 'DRAFT'
2612
+ };
2613
+
2614
+ exports.ConversationType = exports.$Enums.ConversationType = {
2615
+ ONE_ON_ONE: 'ONE_ON_ONE',
2616
+ EVENT_GROUP: 'EVENT_GROUP'
2617
+ };
2618
+
2619
+ exports.ConversationStatus = exports.$Enums.ConversationStatus = {
2620
+ ACTIVE: 'ACTIVE',
2621
+ ARCHIVED: 'ARCHIVED',
2622
+ DELETED: 'DELETED'
2623
+ };
2624
+
2625
+ exports.MessageSenderType = exports.$Enums.MessageSenderType = {
2626
+ USER: 'USER',
2627
+ VENDOR: 'VENDOR'
2628
+ };
2629
+
2630
+ exports.MessageBroadcastType = exports.$Enums.MessageBroadcastType = {
2631
+ ALL_PARTICIPANTS: 'ALL_PARTICIPANTS',
2632
+ SPECIFIC_RECIPIENTS: 'SPECIFIC_RECIPIENTS'
2633
+ };
2634
+
2635
+ exports.MessageType = exports.$Enums.MessageType = {
2636
+ TEXT: 'TEXT',
2637
+ FILE: 'FILE',
2638
+ SYSTEM: 'SYSTEM'
2639
+ };
2640
+
2641
+ exports.MessageRecipientType = exports.$Enums.MessageRecipientType = {
2642
+ USER: 'USER',
2643
+ VENDOR: 'VENDOR'
2644
+ };
2645
+
2646
+ exports.MessageReadStatus = exports.$Enums.MessageReadStatus = {
2647
+ SENT: 'SENT',
2648
+ DELIVERED: 'DELIVERED',
2649
+ READ: 'READ'
2650
+ };
2651
+
2652
+ exports.BlanketPurchaseOrderStatus = exports.$Enums.BlanketPurchaseOrderStatus = {
2653
+ PENDING: 'PENDING',
2654
+ ACTIVE: 'ACTIVE',
2655
+ EXPIRED: 'EXPIRED',
2656
+ COMPLETED: 'COMPLETED',
2657
+ REJECTED: 'REJECTED'
2658
+ };
2659
+
2660
+ exports.ReleaseFrequency = exports.$Enums.ReleaseFrequency = {
2661
+ DAILY: 'DAILY',
2662
+ WEEKLY: 'WEEKLY',
2663
+ MONTHLY: 'MONTHLY',
2664
+ QUARTERLY: 'QUARTERLY',
2665
+ CUSTOM: 'CUSTOM'
2666
+ };
2667
+
2668
+ exports.SplitMethod = exports.$Enums.SplitMethod = {
2669
+ EQUAL_SPLIT: 'EQUAL_SPLIT',
2670
+ CUSTOM_SPLIT: 'CUSTOM_SPLIT'
2671
+ };
2672
+
2673
+ exports.BlanketPurchaseOrderReleaseStatus = exports.$Enums.BlanketPurchaseOrderReleaseStatus = {
2674
+ PLANNED: 'PLANNED',
2675
+ COMPLETED: 'COMPLETED',
2676
+ REJECTED: 'REJECTED',
2677
+ PARTIAL: 'PARTIAL',
2678
+ EXPIRED: 'EXPIRED'
2679
+ };
2680
+
2681
+ exports.GRNStatus = exports.$Enums.GRNStatus = {
2682
+ PENDING: 'PENDING',
2683
+ PARTIAL: 'PARTIAL',
2684
+ COMPLETED: 'COMPLETED',
2685
+ REJECTED: 'REJECTED'
2686
+ };
2687
+
2688
+ exports.InspectionStatus = exports.$Enums.InspectionStatus = {
2689
+ PENDING: 'PENDING',
2690
+ PARTIAL: 'PARTIAL',
2691
+ COMPLETED: 'COMPLETED',
2692
+ REJECTED: 'REJECTED'
2693
+ };
2694
+
2695
+ exports.GRNItemStatus = exports.$Enums.GRNItemStatus = {
2696
+ PENDING: 'PENDING',
2697
+ PARTIAL: 'PARTIAL',
2698
+ REJECTED: 'REJECTED',
2699
+ COMPLETED: 'COMPLETED'
2700
+ };
2701
+
2702
+ exports.BusinessEntityType = exports.$Enums.BusinessEntityType = {
2703
+ INDIVIDUAL: 'INDIVIDUAL',
2704
+ COMPANY: 'COMPANY',
2705
+ PARENT_COMPANY: 'PARENT_COMPANY',
2706
+ SUBSIDIARY_COMPANY: 'SUBSIDIARY_COMPANY',
2707
+ BRANCH_COMPANY: 'BRANCH_COMPANY'
2708
+ };
2709
+
2710
+ exports.InvoiceStatus = exports.$Enums.InvoiceStatus = {
2711
+ PENDING: 'PENDING',
2712
+ SEND_BACK: 'SEND_BACK',
2713
+ RESUBMITTED: 'RESUBMITTED',
2714
+ APPROVED: 'APPROVED',
2715
+ PAID: 'PAID',
2716
+ CANCELLED: 'CANCELLED'
2717
+ };
2718
+
2719
+ exports.InvoiceMatchingStatus = exports.$Enums.InvoiceMatchingStatus = {
2720
+ MATCHED: 'MATCHED',
2721
+ MISMATCHED: 'MISMATCHED'
2722
+ };
2723
+
2724
+ exports.ApprovalManagementStatusEnum = exports.$Enums.ApprovalManagementStatusEnum = {
2725
+ PENDING: 'PENDING',
2726
+ APPROVED: 'APPROVED',
2727
+ REJECTED: 'REJECTED'
2728
+ };
2729
+
2730
+ exports.Prisma.ModelName = {
2731
+ SerialNumberConfiguration: 'SerialNumberConfiguration',
2732
+ User: 'User',
2733
+ Role: 'Role',
2734
+ UserRole: 'UserRole',
2735
+ Permission: 'Permission',
2736
+ RolePermission: 'RolePermission',
2737
+ Department: 'Department',
2738
+ UserDepartmentEntity: 'UserDepartmentEntity',
2739
+ BusinessEntityDepartment: 'BusinessEntityDepartment',
2740
+ Industry: 'Industry',
2741
+ Category: 'Category',
2742
+ Attribute: 'Attribute',
2743
+ AttributeValue: 'AttributeValue',
2744
+ Item: 'Item',
2745
+ PurchaseIntake: 'PurchaseIntake',
2746
+ PurchaseIntakeItem: 'PurchaseIntakeItem',
2747
+ SendBack: 'SendBack',
2748
+ EmailTemplate: 'EmailTemplate',
2749
+ SmtpConfig: 'SmtpConfig',
2750
+ ApprovalHierarchy: 'ApprovalHierarchy',
2751
+ ApprovalCondition: 'ApprovalCondition',
2752
+ ApprovalLevel: 'ApprovalLevel',
2753
+ ApprovalLevelUser: 'ApprovalLevelUser',
2754
+ ApprovalLevelEscalation: 'ApprovalLevelEscalation',
2755
+ ApprovalLevelEscalationUser: 'ApprovalLevelEscalationUser',
2756
+ Uom: 'Uom',
2757
+ UomCategory: 'UomCategory',
2758
+ ItemAttribute: 'ItemAttribute',
2759
+ ItemAttributeValue: 'ItemAttributeValue',
2760
+ ItemDocument: 'ItemDocument',
2761
+ ApprovalJourney: 'ApprovalJourney',
2762
+ ApprovalDelegation: 'ApprovalDelegation',
2763
+ ApprovalDelegationDelegate: 'ApprovalDelegationDelegate',
2764
+ Template: 'Template',
2765
+ TemplateStrategies: 'TemplateStrategies',
2766
+ TemplateField: 'TemplateField',
2767
+ FaqCategory: 'FaqCategory',
2768
+ Faq: 'Faq',
2769
+ Event: 'Event',
2770
+ EventItems: 'EventItems',
2771
+ BoqEventItem: 'BoqEventItem',
2772
+ EventVendors: 'EventVendors',
2773
+ EventConfigurations: 'EventConfigurations',
2774
+ EventStrategies: 'EventStrategies',
2775
+ Strategies: 'Strategies',
2776
+ Cms: 'Cms',
2777
+ Currency: 'Currency',
2778
+ SupportTicket: 'SupportTicket',
2779
+ TicketAssignment: 'TicketAssignment',
2780
+ TicketHistory: 'TicketHistory',
2781
+ TicketReply: 'TicketReply',
2782
+ SupportCategory: 'SupportCategory',
2783
+ AdminAlert: 'AdminAlert',
2784
+ CustomerNotification: 'CustomerNotification',
2785
+ Bid: 'Bid',
2786
+ BidLog: 'BidLog',
2787
+ Quotation: 'Quotation',
2788
+ QuotationLog: 'QuotationLog',
2789
+ FormMaster: 'FormMaster',
2790
+ DynamicForm: 'DynamicForm',
2791
+ Module: 'Module',
2792
+ TenantConfiguration: 'TenantConfiguration',
2793
+ UserLoginActivity: 'UserLoginActivity',
2794
+ Region: 'Region',
2795
+ Subregion: 'Subregion',
2796
+ Country: 'Country',
2797
+ State: 'State',
2798
+ City: 'City',
2799
+ Location: 'Location',
2800
+ SubModule: 'SubModule',
2801
+ CounterOffer: 'CounterOffer',
2802
+ PurchaseOrder: 'PurchaseOrder',
2803
+ PurchaseOrderItem: 'PurchaseOrderItem',
2804
+ PurchaseOrderActivityLog: 'PurchaseOrderActivityLog',
2805
+ UserVendorSocketTokens: 'UserVendorSocketTokens',
2806
+ ActivityLog: 'ActivityLog',
2807
+ ContactUs: 'ContactUs',
2808
+ UploadLog: 'UploadLog',
2809
+ UserEventConfiguration: 'UserEventConfiguration',
2810
+ ExportLog: 'ExportLog',
2811
+ FiscalYear: 'FiscalYear',
2812
+ Budget: 'Budget',
2813
+ DepartmentBudget: 'DepartmentBudget',
2814
+ CategoryBudget: 'CategoryBudget',
2815
+ BudgetHold: 'BudgetHold',
2816
+ SupportingDocument: 'SupportingDocument',
2817
+ Expense: 'Expense',
2818
+ VendorReference: 'VendorReference',
2819
+ RequestedCatalogue: 'RequestedCatalogue',
2820
+ RequestedCatalogueDetails: 'RequestedCatalogueDetails',
2821
+ Catalogue: 'Catalogue',
2822
+ CatalogueVendor: 'CatalogueVendor',
2823
+ CatalogueCart: 'CatalogueCart',
2824
+ EventRfiForm: 'EventRfiForm',
2825
+ EventRfiFormLog: 'EventRfiFormLog',
2826
+ EventCriteria: 'EventCriteria',
2827
+ EventVendorCriteria: 'EventVendorCriteria',
2828
+ Conversation: 'Conversation',
2829
+ ConversationParticipant: 'ConversationParticipant',
2830
+ Message: 'Message',
2831
+ MessageRecipient: 'MessageRecipient',
2832
+ BlanketPurchaseOrder: 'BlanketPurchaseOrder',
2833
+ BlanketPurchaseOrderItem: 'BlanketPurchaseOrderItem',
2834
+ BlanketPurchaseOrderRelease: 'BlanketPurchaseOrderRelease',
2835
+ GRN: 'GRN',
2836
+ GRNItem: 'GRNItem',
2837
+ BusinessEntity: 'BusinessEntity',
2838
+ BusinessEntityLocation: 'BusinessEntityLocation',
2839
+ Invoice: 'Invoice',
2840
+ InvoiceItem: 'InvoiceItem',
2841
+ ApprovalManagement: 'ApprovalManagement'
2842
+ };
2613
2843
 
2614
- export const JsonNullValueFilter = {
2615
- DbNull: DbNull,
2616
- JsonNull: JsonNull,
2617
- AnyNull: AnyNull
2618
- } as const
2844
+ /**
2845
+ * This is a stub Prisma Client that will error at runtime if called.
2846
+ */
2847
+ class PrismaClient {
2848
+ constructor() {
2849
+ return new Proxy(this, {
2850
+ get(target, prop) {
2851
+ let message
2852
+ const runtime = getRuntime()
2853
+ if (runtime.isEdge) {
2854
+ message = `PrismaClient is not configured to run in ${runtime.prettyName}. In order to run Prisma Client on edge runtime, either:
2855
+ - Use Prisma Accelerate: https://pris.ly/d/accelerate
2856
+ - Use Driver Adapters: https://pris.ly/d/driver-adapters
2857
+ `;
2858
+ } else {
2859
+ message = 'PrismaClient is unable to run in this browser environment, or has been bundled for the browser (running in `' + runtime.prettyName + '`).'
2860
+ }
2861
+
2862
+ message += `
2863
+ If this is unexpected, please open an issue: https://pris.ly/prisma-prisma-bug-report`
2864
+
2865
+ throw new Error(message)
2866
+ }
2867
+ })
2868
+ }
2869
+ }
2619
2870
 
2620
- export type JsonNullValueFilter = (typeof JsonNullValueFilter)[keyof typeof JsonNullValueFilter]
2871
+ exports.PrismaClient = PrismaClient
2621
2872
 
2873
+ Object.assign(exports, Prisma)