procbay-schema 1.0.171 → 1.0.174

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