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.
- package/package.json +13 -22
- package/prisma/schema.prisma +4 -5
- package/scripts/sync-schemas.js +1 -5
- package/src/create-prisma-client.js +9 -49
- package/src/prisma/client.d.ts +1 -0
- package/src/prisma/client.js +4 -0
- package/src/prisma/default.d.ts +1 -0
- package/src/prisma/default.js +4 -0
- package/src/prisma/edge.d.ts +1 -0
- package/src/prisma/edge.js +2900 -0
- package/src/{generated/prisma/internal/prismaNamespaceBrowser.ts → prisma/index-browser.js} +980 -739
- package/src/prisma/index.d.ts +286683 -0
- package/src/prisma/index.js +2929 -2
- package/src/prisma/libquery_engine-darwin.dylib.node +0 -0
- package/src/prisma/libquery_engine-debian-openssl-3.0.x.so.node +0 -0
- package/src/prisma/package.json +140 -0
- package/src/prisma/query_engine-windows.dll.node +0 -0
- package/src/prisma/runtime/edge-esm.js +34 -0
- package/src/prisma/runtime/edge.js +34 -0
- package/src/prisma/runtime/index-browser.d.ts +370 -0
- package/src/prisma/runtime/index-browser.js +16 -0
- package/src/prisma/runtime/library.d.ts +3647 -0
- package/src/prisma/runtime/library.js +146 -0
- package/src/prisma/runtime/react-native.js +83 -0
- package/src/prisma/runtime/wasm.js +35 -0
- package/src/prisma/schema.prisma +3820 -0
- package/src/prisma/wasm.d.ts +1 -0
- package/src/prisma/wasm.js +2862 -0
- package/prisma.config.js +0 -19
- package/src/generated/prisma/browser.ts +0 -574
- package/src/generated/prisma/client.bundle.mjs +0 -6733
- package/src/generated/prisma/client.ts +0 -598
- package/src/generated/prisma/commonInputTypes.ts +0 -2911
- package/src/generated/prisma/enums.ts +0 -730
- package/src/generated/prisma/internal/class.ts +0 -1304
- package/src/generated/prisma/internal/prismaNamespace.ts +0 -12506
- package/src/generated/prisma/models/ActivityLog.ts +0 -1590
- package/src/generated/prisma/models/AdminAlert.ts +0 -1547
- package/src/generated/prisma/models/ApprovalCondition.ts +0 -2085
- package/src/generated/prisma/models/ApprovalDelegation.ts +0 -3057
- package/src/generated/prisma/models/ApprovalDelegationDelegate.ts +0 -1784
- package/src/generated/prisma/models/ApprovalHierarchy.ts +0 -3083
- package/src/generated/prisma/models/ApprovalJourney.ts +0 -2867
- package/src/generated/prisma/models/ApprovalLevel.ts +0 -2335
- package/src/generated/prisma/models/ApprovalLevelEscalation.ts +0 -2128
- package/src/generated/prisma/models/ApprovalLevelEscalationUser.ts +0 -1863
- package/src/generated/prisma/models/ApprovalLevelUser.ts +0 -1863
- package/src/generated/prisma/models/ApprovalManagement.ts +0 -1728
- package/src/generated/prisma/models/Attribute.ts +0 -2075
- package/src/generated/prisma/models/AttributeValue.ts +0 -1882
- package/src/generated/prisma/models/Bid.ts +0 -2719
- package/src/generated/prisma/models/BidLog.ts +0 -3560
- package/src/generated/prisma/models/BlanketPurchaseOrder.ts +0 -3527
- package/src/generated/prisma/models/BlanketPurchaseOrderItem.ts +0 -2532
- package/src/generated/prisma/models/BlanketPurchaseOrderRelease.ts +0 -2713
- package/src/generated/prisma/models/BoqEventItem.ts +0 -4056
- package/src/generated/prisma/models/Budget.ts +0 -1954
- package/src/generated/prisma/models/BudgetHold.ts +0 -1904
- package/src/generated/prisma/models/BusinessEntity.ts +0 -3901
- package/src/generated/prisma/models/BusinessEntityDepartment.ts +0 -2032
- package/src/generated/prisma/models/BusinessEntityLocation.ts +0 -1567
- package/src/generated/prisma/models/Catalogue.ts +0 -2081
- package/src/generated/prisma/models/CatalogueCart.ts +0 -2305
- package/src/generated/prisma/models/CatalogueVendor.ts +0 -2252
- package/src/generated/prisma/models/Category.ts +0 -3091
- package/src/generated/prisma/models/CategoryBudget.ts +0 -2690
- package/src/generated/prisma/models/City.ts +0 -2180
- package/src/generated/prisma/models/Cms.ts +0 -1492
- package/src/generated/prisma/models/ContactUs.ts +0 -1654
- package/src/generated/prisma/models/Conversation.ts +0 -2389
- package/src/generated/prisma/models/ConversationParticipant.ts +0 -1833
- package/src/generated/prisma/models/CounterOffer.ts +0 -2156
- package/src/generated/prisma/models/Country.ts +0 -3394
- package/src/generated/prisma/models/Currency.ts +0 -1642
- package/src/generated/prisma/models/CustomerNotification.ts +0 -1653
- package/src/generated/prisma/models/Department.ts +0 -2372
- package/src/generated/prisma/models/DepartmentBudget.ts +0 -2494
- package/src/generated/prisma/models/DynamicForm.ts +0 -2021
- package/src/generated/prisma/models/EmailTemplate.ts +0 -1516
- package/src/generated/prisma/models/Event.ts +0 -6819
- package/src/generated/prisma/models/EventConfigurations.ts +0 -1736
- package/src/generated/prisma/models/EventCriteria.ts +0 -2134
- package/src/generated/prisma/models/EventItems.ts +0 -2821
- package/src/generated/prisma/models/EventRfiForm.ts +0 -2020
- package/src/generated/prisma/models/EventRfiFormLog.ts +0 -2608
- package/src/generated/prisma/models/EventStrategies.ts +0 -1857
- package/src/generated/prisma/models/EventVendorCriteria.ts +0 -2186
- package/src/generated/prisma/models/EventVendors.ts +0 -3446
- package/src/generated/prisma/models/Expense.ts +0 -1625
- package/src/generated/prisma/models/ExportLog.ts +0 -1822
- package/src/generated/prisma/models/Faq.ts +0 -1753
- package/src/generated/prisma/models/FaqCategory.ts +0 -1610
- package/src/generated/prisma/models/FiscalYear.ts +0 -1460
- package/src/generated/prisma/models/FormMaster.ts +0 -1831
- package/src/generated/prisma/models/GRN.ts +0 -3354
- package/src/generated/prisma/models/GRNItem.ts +0 -2119
- package/src/generated/prisma/models/Industry.ts +0 -1642
- package/src/generated/prisma/models/Invoice.ts +0 -2949
- package/src/generated/prisma/models/InvoiceItem.ts +0 -2397
- package/src/generated/prisma/models/Item.ts +0 -10644
- package/src/generated/prisma/models/ItemAttribute.ts +0 -1750
- package/src/generated/prisma/models/ItemAttributeValue.ts +0 -1802
- package/src/generated/prisma/models/ItemDocument.ts +0 -1590
- package/src/generated/prisma/models/Location.ts +0 -2711
- package/src/generated/prisma/models/Message.ts +0 -2744
- package/src/generated/prisma/models/MessageRecipient.ts +0 -1759
- package/src/generated/prisma/models/Module.ts +0 -1630
- package/src/generated/prisma/models/Permission.ts +0 -1640
- package/src/generated/prisma/models/PurchaseIntake.ts +0 -4672
- package/src/generated/prisma/models/PurchaseIntakeItem.ts +0 -2366
- package/src/generated/prisma/models/PurchaseOrder.ts +0 -4012
- package/src/generated/prisma/models/PurchaseOrderActivityLog.ts +0 -1720
- package/src/generated/prisma/models/PurchaseOrderItem.ts +0 -2623
- package/src/generated/prisma/models/Quotation.ts +0 -3207
- package/src/generated/prisma/models/QuotationLog.ts +0 -3239
- package/src/generated/prisma/models/Region.ts +0 -1746
- package/src/generated/prisma/models/RequestedCatalogue.ts +0 -1618
- package/src/generated/prisma/models/RequestedCatalogueDetails.ts +0 -2252
- package/src/generated/prisma/models/Role.ts +0 -1907
- package/src/generated/prisma/models/RolePermission.ts +0 -1737
- package/src/generated/prisma/models/SendBack.ts +0 -1830
- package/src/generated/prisma/models/SerialNumberConfiguration.ts +0 -1254
- package/src/generated/prisma/models/SmtpConfig.ts +0 -1522
- package/src/generated/prisma/models/State.ts +0 -2174
- package/src/generated/prisma/models/Strategies.ts +0 -1791
- package/src/generated/prisma/models/SubModule.ts +0 -1450
- package/src/generated/prisma/models/Subregion.ts +0 -1870
- package/src/generated/prisma/models/SupportCategory.ts +0 -1712
- package/src/generated/prisma/models/SupportTicket.ts +0 -2478
- package/src/generated/prisma/models/SupportingDocument.ts +0 -2283
- package/src/generated/prisma/models/Template.ts +0 -2429
- package/src/generated/prisma/models/TemplateField.ts +0 -1916
- package/src/generated/prisma/models/TemplateStrategies.ts +0 -1614
- package/src/generated/prisma/models/TenantConfiguration.ts +0 -1694
- package/src/generated/prisma/models/TicketAssignment.ts +0 -1742
- package/src/generated/prisma/models/TicketHistory.ts +0 -1789
- package/src/generated/prisma/models/TicketReply.ts +0 -1640
- package/src/generated/prisma/models/Uom.ts +0 -1752
- package/src/generated/prisma/models/UomCategory.ts +0 -1558
- package/src/generated/prisma/models/UploadLog.ts +0 -1731
- package/src/generated/prisma/models/User.ts +0 -19397
- package/src/generated/prisma/models/UserDepartmentEntity.ts +0 -2099
- package/src/generated/prisma/models/UserEventConfiguration.ts +0 -1370
- package/src/generated/prisma/models/UserLoginActivity.ts +0 -1693
- package/src/generated/prisma/models/UserRole.ts +0 -1696
- package/src/generated/prisma/models/UserVendorSocketTokens.ts +0 -1450
- package/src/generated/prisma/models/VendorReference.ts +0 -1707
- package/src/generated/prisma/models.ts +0 -122
|
@@ -0,0 +1,2862 @@
|
|
|
1
|
+
|
|
2
|
+
/* !!! This is code generated by Prisma. Do not edit directly. !!!
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
|
|
7
|
+
const {
|
|
8
|
+
Decimal,
|
|
9
|
+
objectEnumValues,
|
|
10
|
+
makeStrictEnum,
|
|
11
|
+
Public,
|
|
12
|
+
getRuntime,
|
|
13
|
+
skip
|
|
14
|
+
} = require('./runtime/index-browser.js')
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
const Prisma = {}
|
|
18
|
+
|
|
19
|
+
exports.Prisma = Prisma
|
|
20
|
+
exports.$Enums = {}
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Prisma Client JS version: 6.8.2
|
|
24
|
+
* Query Engine version: 2060c79ba17c6bb9f5823312b6f6b7f4a845738e
|
|
25
|
+
*/
|
|
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
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* Re-export of sql-template-tag
|
|
60
|
+
*/
|
|
61
|
+
Prisma.sql = () => {
|
|
62
|
+
const runtimeName = getRuntime().prettyName;
|
|
63
|
+
throw new Error(`sqltag is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
|
|
64
|
+
In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
|
|
65
|
+
)}
|
|
66
|
+
Prisma.empty = () => {
|
|
67
|
+
const runtimeName = getRuntime().prettyName;
|
|
68
|
+
throw new Error(`empty is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
|
|
69
|
+
In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
|
|
70
|
+
)}
|
|
71
|
+
Prisma.join = () => {
|
|
72
|
+
const runtimeName = getRuntime().prettyName;
|
|
73
|
+
throw new Error(`join is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
|
|
74
|
+
In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
|
|
75
|
+
)}
|
|
76
|
+
Prisma.raw = () => {
|
|
77
|
+
const runtimeName = getRuntime().prettyName;
|
|
78
|
+
throw new Error(`raw is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
|
|
79
|
+
In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
|
|
80
|
+
)}
|
|
81
|
+
Prisma.validator = Public.validator
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* Extensions
|
|
85
|
+
*/
|
|
86
|
+
Prisma.getExtensionContext = () => {
|
|
87
|
+
const runtimeName = getRuntime().prettyName;
|
|
88
|
+
throw new Error(`Extensions.getExtensionContext is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
|
|
89
|
+
In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
|
|
90
|
+
)}
|
|
91
|
+
Prisma.defineExtension = () => {
|
|
92
|
+
const runtimeName = getRuntime().prettyName;
|
|
93
|
+
throw new Error(`Extensions.defineExtension is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
|
|
94
|
+
In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
|
|
95
|
+
)}
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* Shorthand utilities for JSON filtering
|
|
99
|
+
*/
|
|
100
|
+
Prisma.DbNull = objectEnumValues.instances.DbNull
|
|
101
|
+
Prisma.JsonNull = objectEnumValues.instances.JsonNull
|
|
102
|
+
Prisma.AnyNull = objectEnumValues.instances.AnyNull
|
|
103
|
+
|
|
104
|
+
Prisma.NullTypes = {
|
|
105
|
+
DbNull: objectEnumValues.classes.DbNull,
|
|
106
|
+
JsonNull: objectEnumValues.classes.JsonNull,
|
|
107
|
+
AnyNull: objectEnumValues.classes.AnyNull
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* Enums
|
|
114
|
+
*/
|
|
115
|
+
|
|
116
|
+
exports.Prisma.TransactionIsolationLevel = makeStrictEnum({
|
|
117
|
+
ReadUncommitted: 'ReadUncommitted',
|
|
118
|
+
ReadCommitted: 'ReadCommitted',
|
|
119
|
+
RepeatableRead: 'RepeatableRead',
|
|
120
|
+
Serializable: 'Serializable'
|
|
121
|
+
});
|
|
122
|
+
|
|
123
|
+
exports.Prisma.SerialNumberConfigurationScalarFieldEnum = {
|
|
124
|
+
id: 'id',
|
|
125
|
+
module: 'module',
|
|
126
|
+
alias: 'alias',
|
|
127
|
+
initial_number: 'initial_number',
|
|
128
|
+
current_number: 'current_number',
|
|
129
|
+
created_at: 'created_at'
|
|
130
|
+
};
|
|
131
|
+
|
|
132
|
+
exports.Prisma.UserScalarFieldEnum = {
|
|
133
|
+
id: 'id',
|
|
134
|
+
uuid: 'uuid',
|
|
135
|
+
unique_id: 'unique_id',
|
|
136
|
+
name: 'name',
|
|
137
|
+
first_name: 'first_name',
|
|
138
|
+
middle_name: 'middle_name',
|
|
139
|
+
last_name: 'last_name',
|
|
140
|
+
email_id: 'email_id',
|
|
141
|
+
password: 'password',
|
|
142
|
+
country_code: 'country_code',
|
|
143
|
+
mobile_number: 'mobile_number',
|
|
144
|
+
status: 'status',
|
|
145
|
+
reject_reason: 'reject_reason',
|
|
146
|
+
is_email_verified: 'is_email_verified',
|
|
147
|
+
is_mobile_verified: 'is_mobile_verified',
|
|
148
|
+
profile_picture: 'profile_picture',
|
|
149
|
+
invitation_status: 'invitation_status',
|
|
150
|
+
reset_token: 'reset_token',
|
|
151
|
+
reset_token_expiry: 'reset_token_expiry',
|
|
152
|
+
access_token_expiry: 'access_token_expiry',
|
|
153
|
+
token_version: 'token_version',
|
|
154
|
+
is_logged_in: 'is_logged_in',
|
|
155
|
+
created_at: 'created_at',
|
|
156
|
+
created_by: 'created_by',
|
|
157
|
+
updated_at: 'updated_at',
|
|
158
|
+
updated_by: 'updated_by',
|
|
159
|
+
is_deleted: 'is_deleted',
|
|
160
|
+
deleted_at: 'deleted_at',
|
|
161
|
+
deleted_by: 'deleted_by',
|
|
162
|
+
user_environment: 'user_environment',
|
|
163
|
+
contract_role: 'contract_role'
|
|
164
|
+
};
|
|
165
|
+
|
|
166
|
+
exports.Prisma.RoleScalarFieldEnum = {
|
|
167
|
+
id: 'id',
|
|
168
|
+
role_name: 'role_name',
|
|
169
|
+
slug: 'slug',
|
|
170
|
+
description: 'description',
|
|
171
|
+
is_active: 'is_active',
|
|
172
|
+
created_at: 'created_at',
|
|
173
|
+
created_by: 'created_by',
|
|
174
|
+
updated_at: 'updated_at',
|
|
175
|
+
updated_by: 'updated_by',
|
|
176
|
+
is_deleted: 'is_deleted',
|
|
177
|
+
deleted_at: 'deleted_at',
|
|
178
|
+
deleted_by: 'deleted_by'
|
|
179
|
+
};
|
|
180
|
+
|
|
181
|
+
exports.Prisma.UserRoleScalarFieldEnum = {
|
|
182
|
+
id: 'id',
|
|
183
|
+
user_id: 'user_id',
|
|
184
|
+
role_id: 'role_id',
|
|
185
|
+
created_at: 'created_at',
|
|
186
|
+
created_by: 'created_by',
|
|
187
|
+
updated_at: 'updated_at',
|
|
188
|
+
updated_by: 'updated_by',
|
|
189
|
+
deleted_at: 'deleted_at',
|
|
190
|
+
deleted_by: 'deleted_by'
|
|
191
|
+
};
|
|
192
|
+
|
|
193
|
+
exports.Prisma.PermissionScalarFieldEnum = {
|
|
194
|
+
id: 'id',
|
|
195
|
+
permissions_name: 'permissions_name',
|
|
196
|
+
slug: 'slug',
|
|
197
|
+
description: 'description',
|
|
198
|
+
model: 'model',
|
|
199
|
+
is_active: 'is_active',
|
|
200
|
+
is_deleted: 'is_deleted',
|
|
201
|
+
created_at: 'created_at',
|
|
202
|
+
created_by: 'created_by',
|
|
203
|
+
updated_at: 'updated_at',
|
|
204
|
+
updated_by: 'updated_by',
|
|
205
|
+
deleted_at: 'deleted_at',
|
|
206
|
+
deleted_by: 'deleted_by'
|
|
207
|
+
};
|
|
208
|
+
|
|
209
|
+
exports.Prisma.RolePermissionScalarFieldEnum = {
|
|
210
|
+
id: 'id',
|
|
211
|
+
permission_id: 'permission_id',
|
|
212
|
+
role_id: 'role_id',
|
|
213
|
+
created_at: 'created_at',
|
|
214
|
+
created_by: 'created_by',
|
|
215
|
+
updated_at: 'updated_at',
|
|
216
|
+
updated_by: 'updated_by',
|
|
217
|
+
is_deleted: 'is_deleted',
|
|
218
|
+
deleted_at: 'deleted_at',
|
|
219
|
+
deleted_by: 'deleted_by'
|
|
220
|
+
};
|
|
221
|
+
|
|
222
|
+
exports.Prisma.DepartmentScalarFieldEnum = {
|
|
223
|
+
id: 'id',
|
|
224
|
+
uuid: 'uuid',
|
|
225
|
+
department_code: 'department_code',
|
|
226
|
+
department_name: 'department_name',
|
|
227
|
+
department_slug: 'department_slug',
|
|
228
|
+
department_head: 'department_head',
|
|
229
|
+
budget_manager: 'budget_manager',
|
|
230
|
+
description: 'description',
|
|
231
|
+
is_active: 'is_active',
|
|
232
|
+
created_at: 'created_at',
|
|
233
|
+
created_by: 'created_by',
|
|
234
|
+
updated_at: 'updated_at',
|
|
235
|
+
updated_by: 'updated_by',
|
|
236
|
+
is_deleted: 'is_deleted',
|
|
237
|
+
deleted_at: 'deleted_at',
|
|
238
|
+
deleted_by: 'deleted_by'
|
|
239
|
+
};
|
|
240
|
+
|
|
241
|
+
exports.Prisma.UserDepartmentEntityScalarFieldEnum = {
|
|
242
|
+
id: 'id',
|
|
243
|
+
uuid: 'uuid',
|
|
244
|
+
user_id: 'user_id',
|
|
245
|
+
bussiness_entity_department_id: 'bussiness_entity_department_id',
|
|
246
|
+
business_entity_id: 'business_entity_id',
|
|
247
|
+
is_primary: 'is_primary',
|
|
248
|
+
is_deleted: 'is_deleted',
|
|
249
|
+
created_at: 'created_at',
|
|
250
|
+
created_by: 'created_by',
|
|
251
|
+
updated_at: 'updated_at',
|
|
252
|
+
updated_by: 'updated_by',
|
|
253
|
+
deleted_at: 'deleted_at',
|
|
254
|
+
deleted_by: 'deleted_by'
|
|
255
|
+
};
|
|
256
|
+
|
|
257
|
+
exports.Prisma.BusinessEntityDepartmentScalarFieldEnum = {
|
|
258
|
+
id: 'id',
|
|
259
|
+
uuid: 'uuid',
|
|
260
|
+
business_entity_id: 'business_entity_id',
|
|
261
|
+
department_id: 'department_id',
|
|
262
|
+
is_active: 'is_active',
|
|
263
|
+
created_at: 'created_at',
|
|
264
|
+
created_by: 'created_by',
|
|
265
|
+
updated_at: 'updated_at',
|
|
266
|
+
updated_by: 'updated_by',
|
|
267
|
+
is_deleted: 'is_deleted',
|
|
268
|
+
deleted_at: 'deleted_at',
|
|
269
|
+
deleted_by: 'deleted_by'
|
|
270
|
+
};
|
|
271
|
+
|
|
272
|
+
exports.Prisma.IndustryScalarFieldEnum = {
|
|
273
|
+
id: 'id',
|
|
274
|
+
uuid: 'uuid',
|
|
275
|
+
name: 'name',
|
|
276
|
+
slug: 'slug',
|
|
277
|
+
is_active: 'is_active',
|
|
278
|
+
description: 'description',
|
|
279
|
+
created_by: 'created_by',
|
|
280
|
+
created_at: 'created_at',
|
|
281
|
+
updated_by: 'updated_by',
|
|
282
|
+
updated_at: 'updated_at',
|
|
283
|
+
is_deleted: 'is_deleted',
|
|
284
|
+
deleted_by: 'deleted_by',
|
|
285
|
+
deleted_at: 'deleted_at'
|
|
286
|
+
};
|
|
287
|
+
|
|
288
|
+
exports.Prisma.CategoryScalarFieldEnum = {
|
|
289
|
+
id: 'id',
|
|
290
|
+
uuid: 'uuid',
|
|
291
|
+
industry_id: 'industry_id',
|
|
292
|
+
name: 'name',
|
|
293
|
+
slug: 'slug',
|
|
294
|
+
is_active: 'is_active',
|
|
295
|
+
parent_id: 'parent_id',
|
|
296
|
+
description: 'description',
|
|
297
|
+
image_url: 'image_url',
|
|
298
|
+
created_by: 'created_by',
|
|
299
|
+
created_at: 'created_at',
|
|
300
|
+
updated_by: 'updated_by',
|
|
301
|
+
updated_at: 'updated_at',
|
|
302
|
+
is_deleted: 'is_deleted',
|
|
303
|
+
deleted_by: 'deleted_by',
|
|
304
|
+
deleted_at: 'deleted_at'
|
|
305
|
+
};
|
|
306
|
+
|
|
307
|
+
exports.Prisma.AttributeScalarFieldEnum = {
|
|
308
|
+
id: 'id',
|
|
309
|
+
uuid: 'uuid',
|
|
310
|
+
category_id: 'category_id',
|
|
311
|
+
attribute_name: 'attribute_name',
|
|
312
|
+
is_required: 'is_required',
|
|
313
|
+
is_active: 'is_active',
|
|
314
|
+
slug: 'slug',
|
|
315
|
+
created_at: 'created_at',
|
|
316
|
+
created_by: 'created_by',
|
|
317
|
+
updated_at: 'updated_at',
|
|
318
|
+
updated_by: 'updated_by',
|
|
319
|
+
is_deleted: 'is_deleted',
|
|
320
|
+
deleted_at: 'deleted_at',
|
|
321
|
+
deleted_by: 'deleted_by'
|
|
322
|
+
};
|
|
323
|
+
|
|
324
|
+
exports.Prisma.AttributeValueScalarFieldEnum = {
|
|
325
|
+
id: 'id',
|
|
326
|
+
uuid: 'uuid',
|
|
327
|
+
attribute_id: 'attribute_id',
|
|
328
|
+
attribute_value_name: 'attribute_value_name',
|
|
329
|
+
is_active: 'is_active',
|
|
330
|
+
slug: 'slug',
|
|
331
|
+
created_at: 'created_at',
|
|
332
|
+
created_by: 'created_by',
|
|
333
|
+
updated_at: 'updated_at',
|
|
334
|
+
updated_by: 'updated_by',
|
|
335
|
+
is_deleted: 'is_deleted',
|
|
336
|
+
deleted_at: 'deleted_at',
|
|
337
|
+
deleted_by: 'deleted_by'
|
|
338
|
+
};
|
|
339
|
+
|
|
340
|
+
exports.Prisma.ItemScalarFieldEnum = {
|
|
341
|
+
id: 'id',
|
|
342
|
+
uuid: 'uuid',
|
|
343
|
+
is_parent: 'is_parent',
|
|
344
|
+
parent_id: 'parent_id',
|
|
345
|
+
category_id: 'category_id',
|
|
346
|
+
sub_category_id: 'sub_category_id',
|
|
347
|
+
uomId: 'uomId',
|
|
348
|
+
item_code: 'item_code',
|
|
349
|
+
item_name: 'item_name',
|
|
350
|
+
item_handler: 'item_handler',
|
|
351
|
+
slug: 'slug',
|
|
352
|
+
description: 'description',
|
|
353
|
+
terms_and_conditions: 'terms_and_conditions',
|
|
354
|
+
keywords: 'keywords',
|
|
355
|
+
tags: 'tags',
|
|
356
|
+
cost_price: 'cost_price',
|
|
357
|
+
selling_price: 'selling_price',
|
|
358
|
+
profit: 'profit',
|
|
359
|
+
margin: 'margin',
|
|
360
|
+
title: 'title',
|
|
361
|
+
continue_selling_when_out_of_stock: 'continue_selling_when_out_of_stock',
|
|
362
|
+
physical_product: 'physical_product',
|
|
363
|
+
variant_attributes: 'variant_attributes',
|
|
364
|
+
variant_display_name: 'variant_display_name',
|
|
365
|
+
available_qty: 'available_qty',
|
|
366
|
+
inventory_reason: 'inventory_reason',
|
|
367
|
+
reserved_quantity: 'reserved_quantity',
|
|
368
|
+
stock_in_hand: 'stock_in_hand',
|
|
369
|
+
reorder_level: 'reorder_level',
|
|
370
|
+
max_stock_level: 'max_stock_level',
|
|
371
|
+
sku: 'sku',
|
|
372
|
+
is_taxable: 'is_taxable',
|
|
373
|
+
bar_code: 'bar_code',
|
|
374
|
+
physical_item: 'physical_item',
|
|
375
|
+
track_quantity: 'track_quantity',
|
|
376
|
+
weight: 'weight',
|
|
377
|
+
dimensions: 'dimensions',
|
|
378
|
+
shipping_weight: 'shipping_weight',
|
|
379
|
+
media: 'media',
|
|
380
|
+
specifications: 'specifications',
|
|
381
|
+
template_suffix: 'template_suffix',
|
|
382
|
+
seo_page_title: 'seo_page_title',
|
|
383
|
+
seo_meta_keyword: 'seo_meta_keyword',
|
|
384
|
+
seo_meta_description: 'seo_meta_description',
|
|
385
|
+
step_completed: 'step_completed',
|
|
386
|
+
is_published: 'is_published',
|
|
387
|
+
published_at: 'published_at',
|
|
388
|
+
published_by: 'published_by',
|
|
389
|
+
is_active: 'is_active',
|
|
390
|
+
is_featured: 'is_featured',
|
|
391
|
+
is_default_variant: 'is_default_variant',
|
|
392
|
+
sort_order: 'sort_order',
|
|
393
|
+
min_order_qty: 'min_order_qty',
|
|
394
|
+
max_order_qty: 'max_order_qty',
|
|
395
|
+
is_bulk_pricing_enabled: 'is_bulk_pricing_enabled',
|
|
396
|
+
bulk_pricing_tiers: 'bulk_pricing_tiers',
|
|
397
|
+
created_by: 'created_by',
|
|
398
|
+
created_at: 'created_at',
|
|
399
|
+
updated_by: 'updated_by',
|
|
400
|
+
updated_at: 'updated_at',
|
|
401
|
+
is_deleted: 'is_deleted',
|
|
402
|
+
deleted_by: 'deleted_by',
|
|
403
|
+
deleted_at: 'deleted_at'
|
|
404
|
+
};
|
|
405
|
+
|
|
406
|
+
exports.Prisma.PurchaseIntakeScalarFieldEnum = {
|
|
407
|
+
id: 'id',
|
|
408
|
+
uuid: 'uuid',
|
|
409
|
+
pi_number: 'pi_number',
|
|
410
|
+
pr_number: 'pr_number',
|
|
411
|
+
requestor_id: 'requestor_id',
|
|
412
|
+
type: 'type',
|
|
413
|
+
department: 'department',
|
|
414
|
+
request_date: 'request_date',
|
|
415
|
+
items_or_services_description: 'items_or_services_description',
|
|
416
|
+
priority: 'priority',
|
|
417
|
+
estimated_budget: 'estimated_budget',
|
|
418
|
+
status: 'status',
|
|
419
|
+
pr_status: 'pr_status',
|
|
420
|
+
reject_reason: 'reject_reason',
|
|
421
|
+
pr_reject_reason: 'pr_reject_reason',
|
|
422
|
+
attachments: 'attachments',
|
|
423
|
+
if_yes_attach_quotations: 'if_yes_attach_quotations',
|
|
424
|
+
others: 'others',
|
|
425
|
+
send_back_count: 'send_back_count',
|
|
426
|
+
is_active: 'is_active',
|
|
427
|
+
created_at: 'created_at',
|
|
428
|
+
created_by: 'created_by',
|
|
429
|
+
updated_by: 'updated_by',
|
|
430
|
+
updated_at: 'updated_at',
|
|
431
|
+
is_deleted: 'is_deleted',
|
|
432
|
+
delete_reason: 'delete_reason',
|
|
433
|
+
deleted_at: 'deleted_at',
|
|
434
|
+
deleted_by: 'deleted_by',
|
|
435
|
+
initiated_by: 'initiated_by',
|
|
436
|
+
business_entity_id: 'business_entity_id'
|
|
437
|
+
};
|
|
438
|
+
|
|
439
|
+
exports.Prisma.PurchaseIntakeItemScalarFieldEnum = {
|
|
440
|
+
id: 'id',
|
|
441
|
+
uuid: 'uuid',
|
|
442
|
+
purchase_intakes_id: 'purchase_intakes_id',
|
|
443
|
+
item_id: 'item_id',
|
|
444
|
+
vendor_id: 'vendor_id',
|
|
445
|
+
quantity: 'quantity',
|
|
446
|
+
initial_quantity: 'initial_quantity',
|
|
447
|
+
open_quantity: 'open_quantity',
|
|
448
|
+
closed_quantity: 'closed_quantity',
|
|
449
|
+
unit_of_measurement: 'unit_of_measurement',
|
|
450
|
+
price: 'price',
|
|
451
|
+
location_id: 'location_id',
|
|
452
|
+
status: 'status',
|
|
453
|
+
send_back_intake_status: 'send_back_intake_status',
|
|
454
|
+
send_back_approver_status: 'send_back_approver_status',
|
|
455
|
+
suggested_quantity: 'suggested_quantity',
|
|
456
|
+
counter_quantity: 'counter_quantity',
|
|
457
|
+
created_at: 'created_at'
|
|
458
|
+
};
|
|
459
|
+
|
|
460
|
+
exports.Prisma.SendBackScalarFieldEnum = {
|
|
461
|
+
id: 'id',
|
|
462
|
+
uuid: 'uuid',
|
|
463
|
+
purchase_intake_id: 'purchase_intake_id',
|
|
464
|
+
item_json: 'item_json',
|
|
465
|
+
send_back_reason: 'send_back_reason',
|
|
466
|
+
send_back_approver_id: 'send_back_approver_id',
|
|
467
|
+
send_back_requestor_id: 'send_back_requestor_id',
|
|
468
|
+
created_at: 'created_at'
|
|
469
|
+
};
|
|
470
|
+
|
|
471
|
+
exports.Prisma.EmailTemplateScalarFieldEnum = {
|
|
472
|
+
id: 'id',
|
|
473
|
+
uuid: 'uuid',
|
|
474
|
+
template_name: 'template_name',
|
|
475
|
+
template_slug: 'template_slug',
|
|
476
|
+
subject: 'subject',
|
|
477
|
+
html_content: 'html_content',
|
|
478
|
+
macro: 'macro',
|
|
479
|
+
module_name: 'module_name',
|
|
480
|
+
is_active: 'is_active',
|
|
481
|
+
is_deleted: 'is_deleted',
|
|
482
|
+
created_at: 'created_at',
|
|
483
|
+
created_by: 'created_by',
|
|
484
|
+
updated_at: 'updated_at',
|
|
485
|
+
updated_by: 'updated_by',
|
|
486
|
+
deleted_at: 'deleted_at',
|
|
487
|
+
deleted_by: 'deleted_by'
|
|
488
|
+
};
|
|
489
|
+
|
|
490
|
+
exports.Prisma.SmtpConfigScalarFieldEnum = {
|
|
491
|
+
id: 'id',
|
|
492
|
+
smtp_server: 'smtp_server',
|
|
493
|
+
port: 'port',
|
|
494
|
+
username: 'username',
|
|
495
|
+
password: 'password',
|
|
496
|
+
from_email: 'from_email',
|
|
497
|
+
encryption: 'encryption',
|
|
498
|
+
test_email: 'test_email',
|
|
499
|
+
is_active: 'is_active',
|
|
500
|
+
is_deleted: 'is_deleted',
|
|
501
|
+
created_at: 'created_at',
|
|
502
|
+
created_by: 'created_by',
|
|
503
|
+
updated_at: 'updated_at',
|
|
504
|
+
updated_by: 'updated_by',
|
|
505
|
+
deleted_at: 'deleted_at',
|
|
506
|
+
deleted_by: 'deleted_by'
|
|
507
|
+
};
|
|
508
|
+
|
|
509
|
+
exports.Prisma.ApprovalHierarchyScalarFieldEnum = {
|
|
510
|
+
id: 'id',
|
|
511
|
+
uuid: 'uuid',
|
|
512
|
+
name: 'name',
|
|
513
|
+
slug: 'slug',
|
|
514
|
+
module: 'module',
|
|
515
|
+
task: 'task',
|
|
516
|
+
initiator_type: 'initiator_type',
|
|
517
|
+
roleId: 'roleId',
|
|
518
|
+
userId: 'userId',
|
|
519
|
+
business_entity_id: 'business_entity_id',
|
|
520
|
+
is_active: 'is_active',
|
|
521
|
+
is_deleted: 'is_deleted',
|
|
522
|
+
created_at: 'created_at',
|
|
523
|
+
created_by: 'created_by',
|
|
524
|
+
updated_at: 'updated_at',
|
|
525
|
+
updated_by: 'updated_by',
|
|
526
|
+
deleted_at: 'deleted_at',
|
|
527
|
+
deleted_by: 'deleted_by'
|
|
528
|
+
};
|
|
529
|
+
|
|
530
|
+
exports.Prisma.ApprovalConditionScalarFieldEnum = {
|
|
531
|
+
id: 'id',
|
|
532
|
+
uuid: 'uuid',
|
|
533
|
+
approval_hierarchy_id: 'approval_hierarchy_id',
|
|
534
|
+
conditions: 'conditions',
|
|
535
|
+
price_from: 'price_from',
|
|
536
|
+
price_to: 'price_to',
|
|
537
|
+
is_active: 'is_active',
|
|
538
|
+
is_deleted: 'is_deleted',
|
|
539
|
+
created_at: 'created_at',
|
|
540
|
+
created_by: 'created_by',
|
|
541
|
+
updated_at: 'updated_at',
|
|
542
|
+
updated_by: 'updated_by',
|
|
543
|
+
deleted_at: 'deleted_at',
|
|
544
|
+
deleted_by: 'deleted_by'
|
|
545
|
+
};
|
|
546
|
+
|
|
547
|
+
exports.Prisma.ApprovalLevelScalarFieldEnum = {
|
|
548
|
+
id: 'id',
|
|
549
|
+
uuid: 'uuid',
|
|
550
|
+
approval_hierarchy_id: 'approval_hierarchy_id',
|
|
551
|
+
approval_condition_id: 'approval_condition_id',
|
|
552
|
+
level: 'level',
|
|
553
|
+
valid_till_hours: 'valid_till_hours',
|
|
554
|
+
valid_till_minutes: 'valid_till_minutes',
|
|
555
|
+
is_active: 'is_active',
|
|
556
|
+
is_deleted: 'is_deleted',
|
|
557
|
+
created_at: 'created_at',
|
|
558
|
+
created_by: 'created_by',
|
|
559
|
+
updated_at: 'updated_at',
|
|
560
|
+
updated_by: 'updated_by',
|
|
561
|
+
deleted_at: 'deleted_at',
|
|
562
|
+
deleted_by: 'deleted_by'
|
|
563
|
+
};
|
|
564
|
+
|
|
565
|
+
exports.Prisma.ApprovalLevelUserScalarFieldEnum = {
|
|
566
|
+
id: 'id',
|
|
567
|
+
uuid: 'uuid',
|
|
568
|
+
approval_level_id: 'approval_level_id',
|
|
569
|
+
approver_id: 'approver_id',
|
|
570
|
+
is_active: 'is_active',
|
|
571
|
+
is_deleted: 'is_deleted',
|
|
572
|
+
created_at: 'created_at',
|
|
573
|
+
created_by: 'created_by',
|
|
574
|
+
updated_at: 'updated_at',
|
|
575
|
+
updated_by: 'updated_by',
|
|
576
|
+
deleted_at: 'deleted_at',
|
|
577
|
+
deleted_by: 'deleted_by'
|
|
578
|
+
};
|
|
579
|
+
|
|
580
|
+
exports.Prisma.ApprovalLevelEscalationScalarFieldEnum = {
|
|
581
|
+
id: 'id',
|
|
582
|
+
uuid: 'uuid',
|
|
583
|
+
approval_level_id: 'approval_level_id',
|
|
584
|
+
escalation_approver_id: 'escalation_approver_id',
|
|
585
|
+
valid_till_hours: 'valid_till_hours',
|
|
586
|
+
valid_till_minutes: 'valid_till_minutes',
|
|
587
|
+
is_active: 'is_active',
|
|
588
|
+
is_deleted: 'is_deleted',
|
|
589
|
+
created_at: 'created_at',
|
|
590
|
+
created_by: 'created_by',
|
|
591
|
+
updated_at: 'updated_at',
|
|
592
|
+
updated_by: 'updated_by',
|
|
593
|
+
deleted_at: 'deleted_at',
|
|
594
|
+
deleted_by: 'deleted_by'
|
|
595
|
+
};
|
|
596
|
+
|
|
597
|
+
exports.Prisma.ApprovalLevelEscalationUserScalarFieldEnum = {
|
|
598
|
+
id: 'id',
|
|
599
|
+
uuid: 'uuid',
|
|
600
|
+
approval_level_escalation_id: 'approval_level_escalation_id',
|
|
601
|
+
approver_id: 'approver_id',
|
|
602
|
+
is_active: 'is_active',
|
|
603
|
+
is_deleted: 'is_deleted',
|
|
604
|
+
created_at: 'created_at',
|
|
605
|
+
created_by: 'created_by',
|
|
606
|
+
updated_at: 'updated_at',
|
|
607
|
+
updated_by: 'updated_by',
|
|
608
|
+
deleted_at: 'deleted_at',
|
|
609
|
+
deleted_by: 'deleted_by'
|
|
610
|
+
};
|
|
611
|
+
|
|
612
|
+
exports.Prisma.UomScalarFieldEnum = {
|
|
613
|
+
id: 'id',
|
|
614
|
+
uuid: 'uuid',
|
|
615
|
+
uom_code: 'uom_code',
|
|
616
|
+
description: 'description',
|
|
617
|
+
is_active: 'is_active',
|
|
618
|
+
created_at: 'created_at',
|
|
619
|
+
created_by: 'created_by',
|
|
620
|
+
updated_at: 'updated_at',
|
|
621
|
+
updated_by: 'updated_by',
|
|
622
|
+
is_deleted: 'is_deleted',
|
|
623
|
+
deleted_at: 'deleted_at',
|
|
624
|
+
deleted_by: 'deleted_by'
|
|
625
|
+
};
|
|
626
|
+
|
|
627
|
+
exports.Prisma.UomCategoryScalarFieldEnum = {
|
|
628
|
+
id: 'id',
|
|
629
|
+
uuid: 'uuid',
|
|
630
|
+
categoryId: 'categoryId',
|
|
631
|
+
uomId: 'uomId',
|
|
632
|
+
created_by: 'created_by'
|
|
633
|
+
};
|
|
634
|
+
|
|
635
|
+
exports.Prisma.ItemAttributeScalarFieldEnum = {
|
|
636
|
+
id: 'id',
|
|
637
|
+
uuid: 'uuid',
|
|
638
|
+
item_id: 'item_id',
|
|
639
|
+
attribute_id: 'attribute_id',
|
|
640
|
+
created_at: 'created_at',
|
|
641
|
+
created_by: 'created_by'
|
|
642
|
+
};
|
|
643
|
+
|
|
644
|
+
exports.Prisma.ItemAttributeValueScalarFieldEnum = {
|
|
645
|
+
id: 'id',
|
|
646
|
+
uuid: 'uuid',
|
|
647
|
+
item_id: 'item_id',
|
|
648
|
+
item_attribute_id: 'item_attribute_id',
|
|
649
|
+
attribute_value_id: 'attribute_value_id',
|
|
650
|
+
created_at: 'created_at',
|
|
651
|
+
created_by: 'created_by'
|
|
652
|
+
};
|
|
653
|
+
|
|
654
|
+
exports.Prisma.ItemDocumentScalarFieldEnum = {
|
|
655
|
+
id: 'id',
|
|
656
|
+
uuid: 'uuid',
|
|
657
|
+
item_id: 'item_id',
|
|
658
|
+
original_document: 'original_document',
|
|
659
|
+
optimized_image: 'optimized_image',
|
|
660
|
+
thumbnail_image: 'thumbnail_image',
|
|
661
|
+
original_name: 'original_name',
|
|
662
|
+
original_extension: 'original_extension',
|
|
663
|
+
created_at: 'created_at',
|
|
664
|
+
created_by: 'created_by'
|
|
665
|
+
};
|
|
666
|
+
|
|
667
|
+
exports.Prisma.ApprovalJourneyScalarFieldEnum = {
|
|
668
|
+
id: 'id',
|
|
669
|
+
uuid: 'uuid',
|
|
670
|
+
parent_id: 'parent_id',
|
|
671
|
+
journy_type: 'journy_type',
|
|
672
|
+
approval_hierarchy_id: 'approval_hierarchy_id',
|
|
673
|
+
approvar_id: 'approvar_id',
|
|
674
|
+
original_approver_id: 'original_approver_id',
|
|
675
|
+
delegation_id: 'delegation_id',
|
|
676
|
+
level: 'level',
|
|
677
|
+
status: 'status',
|
|
678
|
+
reject_reason: 'reject_reason',
|
|
679
|
+
journey_task: 'journey_task',
|
|
680
|
+
is_approver_turn: 'is_approver_turn',
|
|
681
|
+
duration: 'duration',
|
|
682
|
+
valid_to: 'valid_to',
|
|
683
|
+
valid_till: 'valid_till',
|
|
684
|
+
batch_id: 'batch_id',
|
|
685
|
+
is_deleted: 'is_deleted',
|
|
686
|
+
created_at: 'created_at',
|
|
687
|
+
created_by: 'created_by',
|
|
688
|
+
updated_at: 'updated_at',
|
|
689
|
+
updated_by: 'updated_by',
|
|
690
|
+
deleted_at: 'deleted_at',
|
|
691
|
+
deleted_by: 'deleted_by'
|
|
692
|
+
};
|
|
693
|
+
|
|
694
|
+
exports.Prisma.ApprovalDelegationScalarFieldEnum = {
|
|
695
|
+
id: 'id',
|
|
696
|
+
uuid: 'uuid',
|
|
697
|
+
approver_id: 'approver_id',
|
|
698
|
+
delegate_id: 'delegate_id',
|
|
699
|
+
journy_type: 'journy_type',
|
|
700
|
+
journey_task: 'journey_task',
|
|
701
|
+
approval_hierarchy_id: 'approval_hierarchy_id',
|
|
702
|
+
approval_condition_id: 'approval_condition_id',
|
|
703
|
+
start_date: 'start_date',
|
|
704
|
+
end_date: 'end_date',
|
|
705
|
+
status: 'status',
|
|
706
|
+
reason: 'reason',
|
|
707
|
+
is_active: 'is_active',
|
|
708
|
+
is_deleted: 'is_deleted',
|
|
709
|
+
created_at: 'created_at',
|
|
710
|
+
created_by: 'created_by',
|
|
711
|
+
updated_at: 'updated_at',
|
|
712
|
+
updated_by: 'updated_by',
|
|
713
|
+
deleted_at: 'deleted_at',
|
|
714
|
+
deleted_by: 'deleted_by'
|
|
715
|
+
};
|
|
716
|
+
|
|
717
|
+
exports.Prisma.ApprovalDelegationDelegateScalarFieldEnum = {
|
|
718
|
+
id: 'id',
|
|
719
|
+
delegation_id: 'delegation_id',
|
|
720
|
+
delegate_id: 'delegate_id',
|
|
721
|
+
is_deleted: 'is_deleted',
|
|
722
|
+
is_active: 'is_active',
|
|
723
|
+
created_at: 'created_at',
|
|
724
|
+
created_by: 'created_by',
|
|
725
|
+
updated_at: 'updated_at',
|
|
726
|
+
updated_by: 'updated_by',
|
|
727
|
+
deleted_at: 'deleted_at',
|
|
728
|
+
deleted_by: 'deleted_by'
|
|
729
|
+
};
|
|
730
|
+
|
|
731
|
+
exports.Prisma.TemplateScalarFieldEnum = {
|
|
732
|
+
id: 'id',
|
|
733
|
+
uuid: 'uuid',
|
|
734
|
+
template_code: 'template_code',
|
|
735
|
+
template_name: 'template_name',
|
|
736
|
+
template_type: 'template_type',
|
|
737
|
+
currency_id: 'currency_id',
|
|
738
|
+
is_active: 'is_active',
|
|
739
|
+
is_deleted: 'is_deleted',
|
|
740
|
+
created_at: 'created_at',
|
|
741
|
+
created_by: 'created_by',
|
|
742
|
+
updated_at: 'updated_at',
|
|
743
|
+
updated_by: 'updated_by',
|
|
744
|
+
deleted_at: 'deleted_at',
|
|
745
|
+
deleted_by: 'deleted_by'
|
|
746
|
+
};
|
|
747
|
+
|
|
748
|
+
exports.Prisma.TemplateStrategiesScalarFieldEnum = {
|
|
749
|
+
id: 'id',
|
|
750
|
+
template_id: 'template_id',
|
|
751
|
+
strategy_id: 'strategy_id',
|
|
752
|
+
created_at: 'created_at',
|
|
753
|
+
created_by: 'created_by',
|
|
754
|
+
updated_at: 'updated_at',
|
|
755
|
+
updated_by: 'updated_by'
|
|
756
|
+
};
|
|
757
|
+
|
|
758
|
+
exports.Prisma.TemplateFieldScalarFieldEnum = {
|
|
759
|
+
id: 'id',
|
|
760
|
+
uuid: 'uuid',
|
|
761
|
+
template_id: 'template_id',
|
|
762
|
+
field_name: 'field_name',
|
|
763
|
+
field_slug: 'field_slug',
|
|
764
|
+
field_type: 'field_type',
|
|
765
|
+
field_role: 'field_role',
|
|
766
|
+
field_placement: 'field_placement',
|
|
767
|
+
field_formula: 'field_formula',
|
|
768
|
+
is_mandatory: 'is_mandatory',
|
|
769
|
+
buyer_only: 'buyer_only',
|
|
770
|
+
position: 'position',
|
|
771
|
+
is_deleted: 'is_deleted',
|
|
772
|
+
created_at: 'created_at',
|
|
773
|
+
created_by: 'created_by',
|
|
774
|
+
updated_at: 'updated_at',
|
|
775
|
+
updated_by: 'updated_by',
|
|
776
|
+
deleted_at: 'deleted_at',
|
|
777
|
+
deleted_by: 'deleted_by'
|
|
778
|
+
};
|
|
779
|
+
|
|
780
|
+
exports.Prisma.FaqCategoryScalarFieldEnum = {
|
|
781
|
+
id: 'id',
|
|
782
|
+
uuid: 'uuid',
|
|
783
|
+
category_name: 'category_name',
|
|
784
|
+
slug: 'slug',
|
|
785
|
+
is_active: 'is_active',
|
|
786
|
+
created_at: 'created_at',
|
|
787
|
+
created_by: 'created_by',
|
|
788
|
+
updated_at: 'updated_at',
|
|
789
|
+
updated_by: 'updated_by',
|
|
790
|
+
is_deleted: 'is_deleted',
|
|
791
|
+
deleted_at: 'deleted_at',
|
|
792
|
+
deleted_by: 'deleted_by'
|
|
793
|
+
};
|
|
794
|
+
|
|
795
|
+
exports.Prisma.FaqScalarFieldEnum = {
|
|
796
|
+
id: 'id',
|
|
797
|
+
uuid: 'uuid',
|
|
798
|
+
faq_type: 'faq_type',
|
|
799
|
+
faq_category_id: 'faq_category_id',
|
|
800
|
+
question: 'question',
|
|
801
|
+
answer: 'answer',
|
|
802
|
+
is_active: 'is_active',
|
|
803
|
+
created_at: 'created_at',
|
|
804
|
+
created_by: 'created_by',
|
|
805
|
+
updated_at: 'updated_at',
|
|
806
|
+
updated_by: 'updated_by',
|
|
807
|
+
is_deleted: 'is_deleted',
|
|
808
|
+
deleted_at: 'deleted_at',
|
|
809
|
+
deleted_by: 'deleted_by'
|
|
810
|
+
};
|
|
811
|
+
|
|
812
|
+
exports.Prisma.EventScalarFieldEnum = {
|
|
813
|
+
id: 'id',
|
|
814
|
+
uuid: 'uuid',
|
|
815
|
+
code: 'code',
|
|
816
|
+
template_id: 'template_id',
|
|
817
|
+
type: 'type',
|
|
818
|
+
name: 'name',
|
|
819
|
+
start_date: 'start_date',
|
|
820
|
+
end_date: 'end_date',
|
|
821
|
+
duration: 'duration',
|
|
822
|
+
attachments: 'attachments',
|
|
823
|
+
terms_conditions: 'terms_conditions',
|
|
824
|
+
step_completed: 'step_completed',
|
|
825
|
+
status: 'status',
|
|
826
|
+
event_phase: 'event_phase',
|
|
827
|
+
purchase_intake_id: 'purchase_intake_id',
|
|
828
|
+
created_at: 'created_at',
|
|
829
|
+
created_by: 'created_by',
|
|
830
|
+
updated_at: 'updated_at',
|
|
831
|
+
updated_by: 'updated_by',
|
|
832
|
+
is_deleted: 'is_deleted',
|
|
833
|
+
reason: 'reason',
|
|
834
|
+
is_published: 'is_published',
|
|
835
|
+
deleted_at: 'deleted_at',
|
|
836
|
+
business_entity_id: 'business_entity_id',
|
|
837
|
+
deleted_by: 'deleted_by'
|
|
838
|
+
};
|
|
839
|
+
|
|
840
|
+
exports.Prisma.EventItemsScalarFieldEnum = {
|
|
841
|
+
id: 'id',
|
|
842
|
+
uuid: 'uuid',
|
|
843
|
+
event_id: 'event_id',
|
|
844
|
+
item_id: 'item_id',
|
|
845
|
+
purchase_intake_id: 'purchase_intake_id',
|
|
846
|
+
dynamic_fields: 'dynamic_fields',
|
|
847
|
+
is_active: 'is_active',
|
|
848
|
+
created_at: 'created_at',
|
|
849
|
+
created_by: 'created_by',
|
|
850
|
+
updated_at: 'updated_at',
|
|
851
|
+
updated_by: 'updated_by',
|
|
852
|
+
is_deleted: 'is_deleted',
|
|
853
|
+
deleted_at: 'deleted_at',
|
|
854
|
+
deleted_by: 'deleted_by'
|
|
855
|
+
};
|
|
856
|
+
|
|
857
|
+
exports.Prisma.BoqEventItemScalarFieldEnum = {
|
|
858
|
+
id: 'id',
|
|
859
|
+
uuid: 'uuid',
|
|
860
|
+
category_id: 'category_id',
|
|
861
|
+
sub_category_id: 'sub_category_id',
|
|
862
|
+
event_id: 'event_id',
|
|
863
|
+
part_name: 'part_name',
|
|
864
|
+
description: 'description',
|
|
865
|
+
part_no: 'part_no',
|
|
866
|
+
quantity: 'quantity',
|
|
867
|
+
uom: 'uom',
|
|
868
|
+
dynamic_fields: 'dynamic_fields',
|
|
869
|
+
version: 'version',
|
|
870
|
+
parent_version_id: 'parent_version_id',
|
|
871
|
+
sort_order: 'sort_order',
|
|
872
|
+
is_active: 'is_active',
|
|
873
|
+
created_at: 'created_at',
|
|
874
|
+
created_by: 'created_by',
|
|
875
|
+
updated_at: 'updated_at',
|
|
876
|
+
updated_by: 'updated_by',
|
|
877
|
+
is_deleted: 'is_deleted',
|
|
878
|
+
deleted_at: 'deleted_at',
|
|
879
|
+
deleted_by: 'deleted_by'
|
|
880
|
+
};
|
|
881
|
+
|
|
882
|
+
exports.Prisma.EventVendorsScalarFieldEnum = {
|
|
883
|
+
id: 'id',
|
|
884
|
+
uuid: 'uuid',
|
|
885
|
+
vendor_id: 'vendor_id',
|
|
886
|
+
event_id: 'event_id',
|
|
887
|
+
is_active: 'is_active',
|
|
888
|
+
is_email_sent: 'is_email_sent',
|
|
889
|
+
is_restricted: 'is_restricted',
|
|
890
|
+
status: 'status',
|
|
891
|
+
reason: 'reason',
|
|
892
|
+
is_wishlisted: 'is_wishlisted',
|
|
893
|
+
event_vendor_bid_status: 'event_vendor_bid_status',
|
|
894
|
+
created_at: 'created_at',
|
|
895
|
+
created_by: 'created_by',
|
|
896
|
+
updated_at: 'updated_at',
|
|
897
|
+
updated_by: 'updated_by',
|
|
898
|
+
is_deleted: 'is_deleted',
|
|
899
|
+
deleted_at: 'deleted_at',
|
|
900
|
+
deleted_by: 'deleted_by'
|
|
901
|
+
};
|
|
902
|
+
|
|
903
|
+
exports.Prisma.EventConfigurationsScalarFieldEnum = {
|
|
904
|
+
id: 'id',
|
|
905
|
+
uuid: 'uuid',
|
|
906
|
+
event_id: 'event_id',
|
|
907
|
+
rule_name: 'rule_name',
|
|
908
|
+
rule_value: 'rule_value',
|
|
909
|
+
rule_slug: 'rule_slug',
|
|
910
|
+
is_active: 'is_active',
|
|
911
|
+
created_at: 'created_at',
|
|
912
|
+
created_by: 'created_by',
|
|
913
|
+
updated_at: 'updated_at',
|
|
914
|
+
updated_by: 'updated_by',
|
|
915
|
+
is_deleted: 'is_deleted',
|
|
916
|
+
deleted_at: 'deleted_at',
|
|
917
|
+
deleted_by: 'deleted_by'
|
|
918
|
+
};
|
|
919
|
+
|
|
920
|
+
exports.Prisma.EventStrategiesScalarFieldEnum = {
|
|
921
|
+
id: 'id',
|
|
922
|
+
uuid: 'uuid',
|
|
923
|
+
event_id: 'event_id',
|
|
924
|
+
strategy_id: 'strategy_id',
|
|
925
|
+
is_active: 'is_active',
|
|
926
|
+
created_at: 'created_at',
|
|
927
|
+
created_by: 'created_by',
|
|
928
|
+
updated_at: 'updated_at',
|
|
929
|
+
updated_by: 'updated_by',
|
|
930
|
+
is_deleted: 'is_deleted',
|
|
931
|
+
deleted_at: 'deleted_at',
|
|
932
|
+
deleted_by: 'deleted_by'
|
|
933
|
+
};
|
|
934
|
+
|
|
935
|
+
exports.Prisma.StrategiesScalarFieldEnum = {
|
|
936
|
+
id: 'id',
|
|
937
|
+
uuid: 'uuid',
|
|
938
|
+
name: 'name',
|
|
939
|
+
slug: 'slug',
|
|
940
|
+
description: 'description',
|
|
941
|
+
is_active: 'is_active',
|
|
942
|
+
created_at: 'created_at',
|
|
943
|
+
created_by: 'created_by',
|
|
944
|
+
updated_at: 'updated_at',
|
|
945
|
+
updated_by: 'updated_by',
|
|
946
|
+
is_deleted: 'is_deleted',
|
|
947
|
+
deleted_at: 'deleted_at',
|
|
948
|
+
deleted_by: 'deleted_by'
|
|
949
|
+
};
|
|
950
|
+
|
|
951
|
+
exports.Prisma.CmsScalarFieldEnum = {
|
|
952
|
+
id: 'id',
|
|
953
|
+
uuid: 'uuid',
|
|
954
|
+
title: 'title',
|
|
955
|
+
content: 'content',
|
|
956
|
+
type: 'type',
|
|
957
|
+
slug: 'slug',
|
|
958
|
+
images: 'images',
|
|
959
|
+
is_active: 'is_active',
|
|
960
|
+
created_at: 'created_at',
|
|
961
|
+
created_by: 'created_by',
|
|
962
|
+
updated_at: 'updated_at',
|
|
963
|
+
updated_by: 'updated_by',
|
|
964
|
+
is_deleted: 'is_deleted',
|
|
965
|
+
deleted_at: 'deleted_at',
|
|
966
|
+
deleted_by: 'deleted_by'
|
|
967
|
+
};
|
|
968
|
+
|
|
969
|
+
exports.Prisma.CurrencyScalarFieldEnum = {
|
|
970
|
+
id: 'id',
|
|
971
|
+
uuid: 'uuid',
|
|
972
|
+
name: 'name',
|
|
973
|
+
code: 'code',
|
|
974
|
+
symbol: 'symbol',
|
|
975
|
+
is_active: 'is_active',
|
|
976
|
+
is_deleted: 'is_deleted',
|
|
977
|
+
created_at: 'created_at',
|
|
978
|
+
created_by: 'created_by',
|
|
979
|
+
updated_at: 'updated_at',
|
|
980
|
+
updated_by: 'updated_by',
|
|
981
|
+
deleted_at: 'deleted_at',
|
|
982
|
+
deleted_by: 'deleted_by'
|
|
983
|
+
};
|
|
984
|
+
|
|
985
|
+
exports.Prisma.SupportTicketScalarFieldEnum = {
|
|
986
|
+
id: 'id',
|
|
987
|
+
uuid: 'uuid',
|
|
988
|
+
ticket_code: 'ticket_code',
|
|
989
|
+
vendor_id: 'vendor_id',
|
|
990
|
+
subject: 'subject',
|
|
991
|
+
category_id: 'category_id',
|
|
992
|
+
priority: 'priority',
|
|
993
|
+
description: 'description',
|
|
994
|
+
attachments: 'attachments',
|
|
995
|
+
status: 'status',
|
|
996
|
+
prefered_contact_method: 'prefered_contact_method',
|
|
997
|
+
is_active: 'is_active',
|
|
998
|
+
is_deleted: 'is_deleted',
|
|
999
|
+
created_at: 'created_at',
|
|
1000
|
+
created_by: 'created_by',
|
|
1001
|
+
updated_at: 'updated_at',
|
|
1002
|
+
updated_by: 'updated_by',
|
|
1003
|
+
deleted_at: 'deleted_at',
|
|
1004
|
+
deleted_by: 'deleted_by'
|
|
1005
|
+
};
|
|
1006
|
+
|
|
1007
|
+
exports.Prisma.TicketAssignmentScalarFieldEnum = {
|
|
1008
|
+
id: 'id',
|
|
1009
|
+
uuid: 'uuid',
|
|
1010
|
+
ticket_id: 'ticket_id',
|
|
1011
|
+
assigned_by: 'assigned_by',
|
|
1012
|
+
assigned_to: 'assigned_to',
|
|
1013
|
+
assigned_at: 'assigned_at'
|
|
1014
|
+
};
|
|
1015
|
+
|
|
1016
|
+
exports.Prisma.TicketHistoryScalarFieldEnum = {
|
|
1017
|
+
id: 'id',
|
|
1018
|
+
uuid: 'uuid',
|
|
1019
|
+
ticket_id: 'ticket_id',
|
|
1020
|
+
assigned_to: 'assigned_to',
|
|
1021
|
+
assigned_by: 'assigned_by',
|
|
1022
|
+
status: 'status',
|
|
1023
|
+
updated_at: 'updated_at'
|
|
1024
|
+
};
|
|
1025
|
+
|
|
1026
|
+
exports.Prisma.TicketReplyScalarFieldEnum = {
|
|
1027
|
+
id: 'id',
|
|
1028
|
+
uuid: 'uuid',
|
|
1029
|
+
ticket_id: 'ticket_id',
|
|
1030
|
+
user_id: 'user_id',
|
|
1031
|
+
vendor_id: 'vendor_id',
|
|
1032
|
+
message: 'message',
|
|
1033
|
+
created_at: 'created_at'
|
|
1034
|
+
};
|
|
1035
|
+
|
|
1036
|
+
exports.Prisma.SupportCategoryScalarFieldEnum = {
|
|
1037
|
+
id: 'id',
|
|
1038
|
+
uuid: 'uuid',
|
|
1039
|
+
name: 'name',
|
|
1040
|
+
parent_id: 'parent_id',
|
|
1041
|
+
description: 'description',
|
|
1042
|
+
image_url: 'image_url',
|
|
1043
|
+
is_active: 'is_active',
|
|
1044
|
+
slug: 'slug',
|
|
1045
|
+
created_at: 'created_at',
|
|
1046
|
+
created_by: 'created_by',
|
|
1047
|
+
updated_at: 'updated_at',
|
|
1048
|
+
updated_by: 'updated_by',
|
|
1049
|
+
is_deleted: 'is_deleted',
|
|
1050
|
+
deleted_at: 'deleted_at',
|
|
1051
|
+
deleted_by: 'deleted_by'
|
|
1052
|
+
};
|
|
1053
|
+
|
|
1054
|
+
exports.Prisma.AdminAlertScalarFieldEnum = {
|
|
1055
|
+
id: 'id',
|
|
1056
|
+
user_id: 'user_id',
|
|
1057
|
+
alert_type: 'alert_type',
|
|
1058
|
+
title: 'title',
|
|
1059
|
+
message: 'message',
|
|
1060
|
+
redirect_url: 'redirect_url',
|
|
1061
|
+
is_read: 'is_read',
|
|
1062
|
+
created_at: 'created_at',
|
|
1063
|
+
meta_data: 'meta_data'
|
|
1064
|
+
};
|
|
1065
|
+
|
|
1066
|
+
exports.Prisma.CustomerNotificationScalarFieldEnum = {
|
|
1067
|
+
id: 'id',
|
|
1068
|
+
uuid: 'uuid',
|
|
1069
|
+
template_name: 'template_name',
|
|
1070
|
+
remark: 'remark',
|
|
1071
|
+
event: 'event',
|
|
1072
|
+
medium: 'medium',
|
|
1073
|
+
is_recurring: 'is_recurring',
|
|
1074
|
+
title: 'title',
|
|
1075
|
+
trigger_message: 'trigger_message',
|
|
1076
|
+
template_slug: 'template_slug',
|
|
1077
|
+
attachments: 'attachments',
|
|
1078
|
+
files: 'files',
|
|
1079
|
+
is_active: 'is_active',
|
|
1080
|
+
created_at: 'created_at',
|
|
1081
|
+
created_by: 'created_by',
|
|
1082
|
+
updated_at: 'updated_at',
|
|
1083
|
+
updated_by: 'updated_by',
|
|
1084
|
+
is_deleted: 'is_deleted',
|
|
1085
|
+
deleted_at: 'deleted_at',
|
|
1086
|
+
deleted_by: 'deleted_by'
|
|
1087
|
+
};
|
|
1088
|
+
|
|
1089
|
+
exports.Prisma.BidScalarFieldEnum = {
|
|
1090
|
+
id: 'id',
|
|
1091
|
+
uuid: 'uuid',
|
|
1092
|
+
event_id: 'event_id',
|
|
1093
|
+
event_item_id: 'event_item_id',
|
|
1094
|
+
boq_event_item_id: 'boq_event_item_id',
|
|
1095
|
+
event_type: 'event_type',
|
|
1096
|
+
event_vendor_id: 'event_vendor_id',
|
|
1097
|
+
bid_log_id: 'bid_log_id',
|
|
1098
|
+
bid_amount: 'bid_amount',
|
|
1099
|
+
version: 'version',
|
|
1100
|
+
created_at: 'created_at',
|
|
1101
|
+
created_by: 'created_by',
|
|
1102
|
+
updated_at: 'updated_at',
|
|
1103
|
+
updated_by: 'updated_by',
|
|
1104
|
+
is_deleted: 'is_deleted',
|
|
1105
|
+
deleted_at: 'deleted_at',
|
|
1106
|
+
deleted_by: 'deleted_by'
|
|
1107
|
+
};
|
|
1108
|
+
|
|
1109
|
+
exports.Prisma.BidLogScalarFieldEnum = {
|
|
1110
|
+
id: 'id',
|
|
1111
|
+
uuid: 'uuid',
|
|
1112
|
+
event_id: 'event_id',
|
|
1113
|
+
event_item_id: 'event_item_id',
|
|
1114
|
+
boq_event_item_id: 'boq_event_item_id',
|
|
1115
|
+
event_type: 'event_type',
|
|
1116
|
+
event_vendor_id: 'event_vendor_id',
|
|
1117
|
+
bid_amount: 'bid_amount',
|
|
1118
|
+
bid_status: 'bid_status',
|
|
1119
|
+
bidding_rank: 'bidding_rank',
|
|
1120
|
+
weightage_score: 'weightage_score',
|
|
1121
|
+
is_cancelled: 'is_cancelled',
|
|
1122
|
+
auto_cancel: 'auto_cancel',
|
|
1123
|
+
cancel_reason: 'cancel_reason',
|
|
1124
|
+
is_winner: 'is_winner',
|
|
1125
|
+
is_auto_bid: 'is_auto_bid',
|
|
1126
|
+
is_placed_by_admin: 'is_placed_by_admin',
|
|
1127
|
+
placed_by_id: 'placed_by_id',
|
|
1128
|
+
reason: 'reason',
|
|
1129
|
+
bid_json: 'bid_json',
|
|
1130
|
+
created_at: 'created_at',
|
|
1131
|
+
created_by: 'created_by',
|
|
1132
|
+
updated_at: 'updated_at',
|
|
1133
|
+
updated_by: 'updated_by',
|
|
1134
|
+
is_deleted: 'is_deleted',
|
|
1135
|
+
deleted_at: 'deleted_at',
|
|
1136
|
+
deleted_by: 'deleted_by',
|
|
1137
|
+
has_active_counter: 'has_active_counter'
|
|
1138
|
+
};
|
|
1139
|
+
|
|
1140
|
+
exports.Prisma.QuotationScalarFieldEnum = {
|
|
1141
|
+
id: 'id',
|
|
1142
|
+
uuid: 'uuid',
|
|
1143
|
+
event_id: 'event_id',
|
|
1144
|
+
event_item_id: 'event_item_id',
|
|
1145
|
+
boq_event_item_id: 'boq_event_item_id',
|
|
1146
|
+
event_type: 'event_type',
|
|
1147
|
+
event_vendor_id: 'event_vendor_id',
|
|
1148
|
+
quotation_log_id: 'quotation_log_id',
|
|
1149
|
+
quote_amount: 'quote_amount',
|
|
1150
|
+
technical_details: 'technical_details',
|
|
1151
|
+
delivery_timeline: 'delivery_timeline',
|
|
1152
|
+
warranty_terms: 'warranty_terms',
|
|
1153
|
+
payment_terms: 'payment_terms',
|
|
1154
|
+
validity_period: 'validity_period',
|
|
1155
|
+
quotation_status: 'quotation_status',
|
|
1156
|
+
quotation_rank: 'quotation_rank',
|
|
1157
|
+
current_revision: 'current_revision',
|
|
1158
|
+
version: 'version',
|
|
1159
|
+
created_at: 'created_at',
|
|
1160
|
+
created_by: 'created_by',
|
|
1161
|
+
updated_at: 'updated_at',
|
|
1162
|
+
updated_by: 'updated_by',
|
|
1163
|
+
is_deleted: 'is_deleted',
|
|
1164
|
+
deleted_at: 'deleted_at',
|
|
1165
|
+
deleted_by: 'deleted_by'
|
|
1166
|
+
};
|
|
1167
|
+
|
|
1168
|
+
exports.Prisma.QuotationLogScalarFieldEnum = {
|
|
1169
|
+
id: 'id',
|
|
1170
|
+
uuid: 'uuid',
|
|
1171
|
+
event_id: 'event_id',
|
|
1172
|
+
event_item_id: 'event_item_id',
|
|
1173
|
+
boq_event_item_id: 'boq_event_item_id',
|
|
1174
|
+
event_type: 'event_type',
|
|
1175
|
+
event_vendor_id: 'event_vendor_id',
|
|
1176
|
+
quote_amount: 'quote_amount',
|
|
1177
|
+
technical_details: 'technical_details',
|
|
1178
|
+
delivery_timeline: 'delivery_timeline',
|
|
1179
|
+
warranty_terms: 'warranty_terms',
|
|
1180
|
+
payment_terms: 'payment_terms',
|
|
1181
|
+
quotation_status: 'quotation_status',
|
|
1182
|
+
quotation_rank: 'quotation_rank',
|
|
1183
|
+
revision_number: 'revision_number',
|
|
1184
|
+
review_comments: 'review_comments',
|
|
1185
|
+
reviewed_by: 'reviewed_by',
|
|
1186
|
+
quote_json: 'quote_json',
|
|
1187
|
+
created_at: 'created_at',
|
|
1188
|
+
created_by: 'created_by',
|
|
1189
|
+
updated_at: 'updated_at',
|
|
1190
|
+
updated_by: 'updated_by',
|
|
1191
|
+
has_active_counter: 'has_active_counter'
|
|
1192
|
+
};
|
|
1193
|
+
|
|
1194
|
+
exports.Prisma.FormMasterScalarFieldEnum = {
|
|
1195
|
+
id: 'id',
|
|
1196
|
+
uuid: 'uuid',
|
|
1197
|
+
module_name: 'module_name',
|
|
1198
|
+
module_slug: 'module_slug',
|
|
1199
|
+
is_active: 'is_active',
|
|
1200
|
+
is_deleted: 'is_deleted',
|
|
1201
|
+
created_at: 'created_at',
|
|
1202
|
+
created_by: 'created_by',
|
|
1203
|
+
updated_at: 'updated_at',
|
|
1204
|
+
updated_by: 'updated_by',
|
|
1205
|
+
deleted_at: 'deleted_at',
|
|
1206
|
+
deleted_by: 'deleted_by'
|
|
1207
|
+
};
|
|
1208
|
+
|
|
1209
|
+
exports.Prisma.DynamicFormScalarFieldEnum = {
|
|
1210
|
+
id: 'id',
|
|
1211
|
+
uuid: 'uuid',
|
|
1212
|
+
module_id: 'module_id',
|
|
1213
|
+
form_name: 'form_name',
|
|
1214
|
+
form_slug: 'form_slug',
|
|
1215
|
+
description: 'description',
|
|
1216
|
+
fields: 'fields',
|
|
1217
|
+
form_order: 'form_order',
|
|
1218
|
+
is_active: 'is_active',
|
|
1219
|
+
is_deleted: 'is_deleted',
|
|
1220
|
+
created_at: 'created_at',
|
|
1221
|
+
created_by: 'created_by',
|
|
1222
|
+
updated_at: 'updated_at',
|
|
1223
|
+
updated_by: 'updated_by',
|
|
1224
|
+
deleted_at: 'deleted_at',
|
|
1225
|
+
deleted_by: 'deleted_by'
|
|
1226
|
+
};
|
|
1227
|
+
|
|
1228
|
+
exports.Prisma.ModuleScalarFieldEnum = {
|
|
1229
|
+
id: 'id',
|
|
1230
|
+
uuid: 'uuid',
|
|
1231
|
+
tenant_config_id: 'tenant_config_id',
|
|
1232
|
+
name: 'name',
|
|
1233
|
+
slug: 'slug',
|
|
1234
|
+
created_at: 'created_at',
|
|
1235
|
+
created_by: 'created_by'
|
|
1236
|
+
};
|
|
1237
|
+
|
|
1238
|
+
exports.Prisma.TenantConfigurationScalarFieldEnum = {
|
|
1239
|
+
id: 'id',
|
|
1240
|
+
uuid: 'uuid',
|
|
1241
|
+
tenant_id: 'tenant_id',
|
|
1242
|
+
tenant_name: 'tenant_name',
|
|
1243
|
+
database_name: 'database_name',
|
|
1244
|
+
tenant_subdomain: 'tenant_subdomain',
|
|
1245
|
+
currency: 'currency',
|
|
1246
|
+
currency_symbol: 'currency_symbol',
|
|
1247
|
+
industry: 'industry',
|
|
1248
|
+
timezone: 'timezone',
|
|
1249
|
+
status: 'status',
|
|
1250
|
+
email: 'email',
|
|
1251
|
+
logo: 'logo',
|
|
1252
|
+
created_at: 'created_at',
|
|
1253
|
+
updated_at: 'updated_at'
|
|
1254
|
+
};
|
|
1255
|
+
|
|
1256
|
+
exports.Prisma.UserLoginActivityScalarFieldEnum = {
|
|
1257
|
+
id: 'id',
|
|
1258
|
+
user_id: 'user_id',
|
|
1259
|
+
user_type: 'user_type',
|
|
1260
|
+
ip_address: 'ip_address',
|
|
1261
|
+
user_agent: 'user_agent',
|
|
1262
|
+
browser: 'browser',
|
|
1263
|
+
device: 'device',
|
|
1264
|
+
platform: 'platform',
|
|
1265
|
+
login_timestamp: 'login_timestamp',
|
|
1266
|
+
logout_timestamp: 'logout_timestamp',
|
|
1267
|
+
status: 'status',
|
|
1268
|
+
session_id: 'session_id',
|
|
1269
|
+
created_at: 'created_at'
|
|
1270
|
+
};
|
|
1271
|
+
|
|
1272
|
+
exports.Prisma.RegionScalarFieldEnum = {
|
|
1273
|
+
id: 'id',
|
|
1274
|
+
name: 'name',
|
|
1275
|
+
translations: 'translations',
|
|
1276
|
+
wikiDataId: 'wikiDataId',
|
|
1277
|
+
status: 'status',
|
|
1278
|
+
created_at: 'created_at',
|
|
1279
|
+
created_by: 'created_by',
|
|
1280
|
+
updated_at: 'updated_at',
|
|
1281
|
+
updated_by: 'updated_by',
|
|
1282
|
+
is_deleted: 'is_deleted',
|
|
1283
|
+
deleted_by: 'deleted_by',
|
|
1284
|
+
deleted_at: 'deleted_at'
|
|
1285
|
+
};
|
|
1286
|
+
|
|
1287
|
+
exports.Prisma.SubregionScalarFieldEnum = {
|
|
1288
|
+
id: 'id',
|
|
1289
|
+
name: 'name',
|
|
1290
|
+
translations: 'translations',
|
|
1291
|
+
wikiDataId: 'wikiDataId',
|
|
1292
|
+
status: 'status',
|
|
1293
|
+
created_at: 'created_at',
|
|
1294
|
+
created_by: 'created_by',
|
|
1295
|
+
updated_at: 'updated_at',
|
|
1296
|
+
updated_by: 'updated_by',
|
|
1297
|
+
is_deleted: 'is_deleted',
|
|
1298
|
+
deleted_by: 'deleted_by',
|
|
1299
|
+
deleted_at: 'deleted_at',
|
|
1300
|
+
region_id: 'region_id'
|
|
1301
|
+
};
|
|
1302
|
+
|
|
1303
|
+
exports.Prisma.CountryScalarFieldEnum = {
|
|
1304
|
+
id: 'id',
|
|
1305
|
+
name: 'name',
|
|
1306
|
+
iso3: 'iso3',
|
|
1307
|
+
iso2: 'iso2',
|
|
1308
|
+
numeric_code: 'numeric_code',
|
|
1309
|
+
phonecode: 'phonecode',
|
|
1310
|
+
capital: 'capital',
|
|
1311
|
+
currency: 'currency',
|
|
1312
|
+
currency_name: 'currency_name',
|
|
1313
|
+
currency_symbol: 'currency_symbol',
|
|
1314
|
+
tld: 'tld',
|
|
1315
|
+
native: 'native',
|
|
1316
|
+
region: 'region',
|
|
1317
|
+
subregion: 'subregion',
|
|
1318
|
+
nationality: 'nationality',
|
|
1319
|
+
latitude: 'latitude',
|
|
1320
|
+
longitude: 'longitude',
|
|
1321
|
+
emoji: 'emoji',
|
|
1322
|
+
emojiU: 'emojiU',
|
|
1323
|
+
timezones: 'timezones',
|
|
1324
|
+
translations: 'translations',
|
|
1325
|
+
wikiDataId: 'wikiDataId',
|
|
1326
|
+
status: 'status',
|
|
1327
|
+
created_at: 'created_at',
|
|
1328
|
+
created_by: 'created_by',
|
|
1329
|
+
updated_at: 'updated_at',
|
|
1330
|
+
updated_by: 'updated_by',
|
|
1331
|
+
is_deleted: 'is_deleted',
|
|
1332
|
+
deleted_by: 'deleted_by',
|
|
1333
|
+
deleted_at: 'deleted_at',
|
|
1334
|
+
region_id: 'region_id',
|
|
1335
|
+
subregion_id: 'subregion_id'
|
|
1336
|
+
};
|
|
1337
|
+
|
|
1338
|
+
exports.Prisma.StateScalarFieldEnum = {
|
|
1339
|
+
id: 'id',
|
|
1340
|
+
name: 'name',
|
|
1341
|
+
state_code: 'state_code',
|
|
1342
|
+
type: 'type',
|
|
1343
|
+
latitude: 'latitude',
|
|
1344
|
+
longitude: 'longitude',
|
|
1345
|
+
wikiDataId: 'wikiDataId',
|
|
1346
|
+
status: 'status',
|
|
1347
|
+
created_at: 'created_at',
|
|
1348
|
+
created_by: 'created_by',
|
|
1349
|
+
updated_at: 'updated_at',
|
|
1350
|
+
updated_by: 'updated_by',
|
|
1351
|
+
is_deleted: 'is_deleted',
|
|
1352
|
+
deleted_by: 'deleted_by',
|
|
1353
|
+
deleted_at: 'deleted_at',
|
|
1354
|
+
country_id: 'country_id'
|
|
1355
|
+
};
|
|
1356
|
+
|
|
1357
|
+
exports.Prisma.CityScalarFieldEnum = {
|
|
1358
|
+
id: 'id',
|
|
1359
|
+
name: 'name',
|
|
1360
|
+
latitude: 'latitude',
|
|
1361
|
+
longitude: 'longitude',
|
|
1362
|
+
wikiDataId: 'wikiDataId',
|
|
1363
|
+
status: 'status',
|
|
1364
|
+
created_at: 'created_at',
|
|
1365
|
+
created_by: 'created_by',
|
|
1366
|
+
updated_at: 'updated_at',
|
|
1367
|
+
updated_by: 'updated_by',
|
|
1368
|
+
is_deleted: 'is_deleted',
|
|
1369
|
+
deleted_by: 'deleted_by',
|
|
1370
|
+
deleted_at: 'deleted_at',
|
|
1371
|
+
state_id: 'state_id',
|
|
1372
|
+
country_id: 'country_id'
|
|
1373
|
+
};
|
|
1374
|
+
|
|
1375
|
+
exports.Prisma.LocationScalarFieldEnum = {
|
|
1376
|
+
id: 'id',
|
|
1377
|
+
name: 'name',
|
|
1378
|
+
address: 'address',
|
|
1379
|
+
zipcode: 'zipcode',
|
|
1380
|
+
status: 'status',
|
|
1381
|
+
created_at: 'created_at',
|
|
1382
|
+
created_by: 'created_by',
|
|
1383
|
+
updated_at: 'updated_at',
|
|
1384
|
+
updated_by: 'updated_by',
|
|
1385
|
+
is_deleted: 'is_deleted',
|
|
1386
|
+
deleted_by: 'deleted_by',
|
|
1387
|
+
deleted_at: 'deleted_at',
|
|
1388
|
+
country_id: 'country_id',
|
|
1389
|
+
state_id: 'state_id',
|
|
1390
|
+
city_id: 'city_id'
|
|
1391
|
+
};
|
|
1392
|
+
|
|
1393
|
+
exports.Prisma.SubModuleScalarFieldEnum = {
|
|
1394
|
+
id: 'id',
|
|
1395
|
+
name: 'name',
|
|
1396
|
+
slug: 'slug',
|
|
1397
|
+
module_id: 'module_id',
|
|
1398
|
+
created_by: 'created_by',
|
|
1399
|
+
created_at: 'created_at'
|
|
1400
|
+
};
|
|
1401
|
+
|
|
1402
|
+
exports.Prisma.CounterOfferScalarFieldEnum = {
|
|
1403
|
+
id: 'id',
|
|
1404
|
+
uuid: 'uuid',
|
|
1405
|
+
bid_log_id: 'bid_log_id',
|
|
1406
|
+
quotation_log_id: 'quotation_log_id',
|
|
1407
|
+
counter_amount: 'counter_amount',
|
|
1408
|
+
counter_message: 'counter_message',
|
|
1409
|
+
technical_details: 'technical_details',
|
|
1410
|
+
delivery_timeline: 'delivery_timeline',
|
|
1411
|
+
payment_terms: 'payment_terms',
|
|
1412
|
+
warranty_terms: 'warranty_terms',
|
|
1413
|
+
is_viewed: 'is_viewed',
|
|
1414
|
+
status: 'status',
|
|
1415
|
+
created_at: 'created_at',
|
|
1416
|
+
created_by: 'created_by',
|
|
1417
|
+
updated_at: 'updated_at',
|
|
1418
|
+
updated_by: 'updated_by',
|
|
1419
|
+
is_deleted: 'is_deleted',
|
|
1420
|
+
deleted_at: 'deleted_at',
|
|
1421
|
+
deleted_by: 'deleted_by'
|
|
1422
|
+
};
|
|
1423
|
+
|
|
1424
|
+
exports.Prisma.PurchaseOrderScalarFieldEnum = {
|
|
1425
|
+
id: 'id',
|
|
1426
|
+
uuid: 'uuid',
|
|
1427
|
+
event_id: 'event_id',
|
|
1428
|
+
event_vendor_id: 'event_vendor_id',
|
|
1429
|
+
vendor_id: 'vendor_id',
|
|
1430
|
+
purchase_order_no: 'purchase_order_no',
|
|
1431
|
+
purchase_order_date: 'purchase_order_date',
|
|
1432
|
+
total_amount: 'total_amount',
|
|
1433
|
+
po_type: 'po_type',
|
|
1434
|
+
status: 'status',
|
|
1435
|
+
delivery_status: 'delivery_status',
|
|
1436
|
+
attachments: 'attachments',
|
|
1437
|
+
created_at: 'created_at',
|
|
1438
|
+
created_by: 'created_by',
|
|
1439
|
+
updated_at: 'updated_at',
|
|
1440
|
+
updated_by: 'updated_by',
|
|
1441
|
+
is_deleted: 'is_deleted',
|
|
1442
|
+
deleted_at: 'deleted_at',
|
|
1443
|
+
deleted_by: 'deleted_by',
|
|
1444
|
+
business_entity_id: 'business_entity_id',
|
|
1445
|
+
blanket_po_id: 'blanket_po_id'
|
|
1446
|
+
};
|
|
1447
|
+
|
|
1448
|
+
exports.Prisma.PurchaseOrderItemScalarFieldEnum = {
|
|
1449
|
+
id: 'id',
|
|
1450
|
+
uuid: 'uuid',
|
|
1451
|
+
purchase_order_id: 'purchase_order_id',
|
|
1452
|
+
purchase_request_id: 'purchase_request_id',
|
|
1453
|
+
item_id: 'item_id',
|
|
1454
|
+
boq_event_item_id: 'boq_event_item_id',
|
|
1455
|
+
vendor_id: 'vendor_id',
|
|
1456
|
+
amount: 'amount',
|
|
1457
|
+
quantity: 'quantity',
|
|
1458
|
+
created_at: 'created_at',
|
|
1459
|
+
updated_at: 'updated_at',
|
|
1460
|
+
is_deleted: 'is_deleted',
|
|
1461
|
+
deleted_at: 'deleted_at'
|
|
1462
|
+
};
|
|
1463
|
+
|
|
1464
|
+
exports.Prisma.PurchaseOrderActivityLogScalarFieldEnum = {
|
|
1465
|
+
id: 'id',
|
|
1466
|
+
uuid: 'uuid',
|
|
1467
|
+
purchase_order_id: 'purchase_order_id',
|
|
1468
|
+
user_id: 'user_id',
|
|
1469
|
+
vendor_id: 'vendor_id',
|
|
1470
|
+
activity_type: 'activity_type',
|
|
1471
|
+
remarks: 'remarks',
|
|
1472
|
+
metadata: 'metadata',
|
|
1473
|
+
created_at: 'created_at'
|
|
1474
|
+
};
|
|
1475
|
+
|
|
1476
|
+
exports.Prisma.UserVendorSocketTokensScalarFieldEnum = {
|
|
1477
|
+
id: 'id',
|
|
1478
|
+
user_id: 'user_id',
|
|
1479
|
+
vendor_id: 'vendor_id',
|
|
1480
|
+
socket_id: 'socket_id',
|
|
1481
|
+
status: 'status',
|
|
1482
|
+
created_at: 'created_at'
|
|
1483
|
+
};
|
|
1484
|
+
|
|
1485
|
+
exports.Prisma.ActivityLogScalarFieldEnum = {
|
|
1486
|
+
id: 'id',
|
|
1487
|
+
uuid: 'uuid',
|
|
1488
|
+
user_id: 'user_id',
|
|
1489
|
+
vendor_id: 'vendor_id',
|
|
1490
|
+
module_name: 'module_name',
|
|
1491
|
+
module_id: 'module_id',
|
|
1492
|
+
activity_type: 'activity_type',
|
|
1493
|
+
description: 'description',
|
|
1494
|
+
metadata: 'metadata',
|
|
1495
|
+
created_at: 'created_at'
|
|
1496
|
+
};
|
|
1497
|
+
|
|
1498
|
+
exports.Prisma.ContactUsScalarFieldEnum = {
|
|
1499
|
+
id: 'id',
|
|
1500
|
+
uuid: 'uuid',
|
|
1501
|
+
full_name: 'full_name',
|
|
1502
|
+
email: 'email',
|
|
1503
|
+
mobile_code: 'mobile_code',
|
|
1504
|
+
mobile: 'mobile',
|
|
1505
|
+
description: 'description',
|
|
1506
|
+
user_id: 'user_id',
|
|
1507
|
+
is_reply: 'is_reply',
|
|
1508
|
+
reply_at: 'reply_at',
|
|
1509
|
+
created_at: 'created_at',
|
|
1510
|
+
updated_at: 'updated_at'
|
|
1511
|
+
};
|
|
1512
|
+
|
|
1513
|
+
exports.Prisma.UploadLogScalarFieldEnum = {
|
|
1514
|
+
id: 'id',
|
|
1515
|
+
uuid: 'uuid',
|
|
1516
|
+
user_id: 'user_id',
|
|
1517
|
+
module: 'module',
|
|
1518
|
+
file_name: 'file_name',
|
|
1519
|
+
file_size: 'file_size',
|
|
1520
|
+
status: 'status',
|
|
1521
|
+
total_records: 'total_records',
|
|
1522
|
+
success_count: 'success_count',
|
|
1523
|
+
failure_count: 'failure_count',
|
|
1524
|
+
error_file_path: 'error_file_path',
|
|
1525
|
+
started_at: 'started_at',
|
|
1526
|
+
completed_at: 'completed_at',
|
|
1527
|
+
errors: 'errors'
|
|
1528
|
+
};
|
|
1529
|
+
|
|
1530
|
+
exports.Prisma.UserEventConfigurationScalarFieldEnum = {
|
|
1531
|
+
id: 'id',
|
|
1532
|
+
uuid: 'uuid',
|
|
1533
|
+
name: 'name',
|
|
1534
|
+
slug: 'slug',
|
|
1535
|
+
description: 'description',
|
|
1536
|
+
is_active: 'is_active',
|
|
1537
|
+
is_editable: 'is_editable',
|
|
1538
|
+
created_at: 'created_at',
|
|
1539
|
+
created_by: 'created_by',
|
|
1540
|
+
updated_at: 'updated_at',
|
|
1541
|
+
updated_by: 'updated_by'
|
|
1542
|
+
};
|
|
1543
|
+
|
|
1544
|
+
exports.Prisma.ExportLogScalarFieldEnum = {
|
|
1545
|
+
id: 'id',
|
|
1546
|
+
uuid: 'uuid',
|
|
1547
|
+
user_id: 'user_id',
|
|
1548
|
+
module: 'module',
|
|
1549
|
+
file_name: 'file_name',
|
|
1550
|
+
file_size: 'file_size',
|
|
1551
|
+
file_path: 'file_path',
|
|
1552
|
+
download_url: 'download_url',
|
|
1553
|
+
error_message: 'error_message',
|
|
1554
|
+
total_records: 'total_records',
|
|
1555
|
+
processed_records: 'processed_records',
|
|
1556
|
+
filters: 'filters',
|
|
1557
|
+
status: 'status',
|
|
1558
|
+
created_at: 'created_at',
|
|
1559
|
+
started_at: 'started_at',
|
|
1560
|
+
completed_at: 'completed_at',
|
|
1561
|
+
expires_at: 'expires_at'
|
|
1562
|
+
};
|
|
1563
|
+
|
|
1564
|
+
exports.Prisma.FiscalYearScalarFieldEnum = {
|
|
1565
|
+
id: 'id',
|
|
1566
|
+
uuid: 'uuid',
|
|
1567
|
+
name: 'name',
|
|
1568
|
+
start_date: 'start_date',
|
|
1569
|
+
end_date: 'end_date',
|
|
1570
|
+
is_active: 'is_active',
|
|
1571
|
+
is_default: 'is_default',
|
|
1572
|
+
created_at: 'created_at',
|
|
1573
|
+
created_by: 'created_by',
|
|
1574
|
+
updated_at: 'updated_at',
|
|
1575
|
+
updated_by: 'updated_by',
|
|
1576
|
+
is_deleted: 'is_deleted',
|
|
1577
|
+
deleted_at: 'deleted_at',
|
|
1578
|
+
deleted_by: 'deleted_by'
|
|
1579
|
+
};
|
|
1580
|
+
|
|
1581
|
+
exports.Prisma.BudgetScalarFieldEnum = {
|
|
1582
|
+
id: 'id',
|
|
1583
|
+
uuid: 'uuid',
|
|
1584
|
+
code: 'code',
|
|
1585
|
+
company_name: 'company_name',
|
|
1586
|
+
fiscal_year: 'fiscal_year',
|
|
1587
|
+
currency: 'currency',
|
|
1588
|
+
initial_total_annual_budget: 'initial_total_annual_budget',
|
|
1589
|
+
total_annual_budget: 'total_annual_budget',
|
|
1590
|
+
description: 'description',
|
|
1591
|
+
status: 'status',
|
|
1592
|
+
created_by: 'created_by',
|
|
1593
|
+
created_at: 'created_at',
|
|
1594
|
+
updated_by: 'updated_by',
|
|
1595
|
+
updated_at: 'updated_at',
|
|
1596
|
+
is_deleted: 'is_deleted',
|
|
1597
|
+
deleted_at: 'deleted_at',
|
|
1598
|
+
deleted_by: 'deleted_by'
|
|
1599
|
+
};
|
|
1600
|
+
|
|
1601
|
+
exports.Prisma.DepartmentBudgetScalarFieldEnum = {
|
|
1602
|
+
id: 'id',
|
|
1603
|
+
uuid: 'uuid',
|
|
1604
|
+
code: 'code',
|
|
1605
|
+
budget_id: 'budget_id',
|
|
1606
|
+
department_id: 'department_id',
|
|
1607
|
+
initial_allocated_budget: 'initial_allocated_budget',
|
|
1608
|
+
allocated_budget: 'allocated_budget',
|
|
1609
|
+
remaining_budget: 'remaining_budget',
|
|
1610
|
+
fiscal_year: 'fiscal_year',
|
|
1611
|
+
notes: 'notes',
|
|
1612
|
+
description: 'description',
|
|
1613
|
+
created_by: 'created_by',
|
|
1614
|
+
created_at: 'created_at',
|
|
1615
|
+
updated_by: 'updated_by',
|
|
1616
|
+
updated_at: 'updated_at',
|
|
1617
|
+
is_deleted: 'is_deleted',
|
|
1618
|
+
deleted_by: 'deleted_by',
|
|
1619
|
+
deleted_at: 'deleted_at'
|
|
1620
|
+
};
|
|
1621
|
+
|
|
1622
|
+
exports.Prisma.CategoryBudgetScalarFieldEnum = {
|
|
1623
|
+
id: 'id',
|
|
1624
|
+
uuid: 'uuid',
|
|
1625
|
+
department_budget_id: 'department_budget_id',
|
|
1626
|
+
category_id: 'category_id',
|
|
1627
|
+
initial_allocated_budget: 'initial_allocated_budget',
|
|
1628
|
+
allocated_budget: 'allocated_budget',
|
|
1629
|
+
remaining_budget: 'remaining_budget',
|
|
1630
|
+
fiscal_year: 'fiscal_year',
|
|
1631
|
+
notes: 'notes',
|
|
1632
|
+
description: 'description',
|
|
1633
|
+
total_held_amount: 'total_held_amount',
|
|
1634
|
+
crated_by: 'crated_by',
|
|
1635
|
+
created_at: 'created_at',
|
|
1636
|
+
updated_by: 'updated_by',
|
|
1637
|
+
updated_at: 'updated_at',
|
|
1638
|
+
is_deleted: 'is_deleted',
|
|
1639
|
+
deleted_by: 'deleted_by',
|
|
1640
|
+
deleted_at: 'deleted_at'
|
|
1641
|
+
};
|
|
1642
|
+
|
|
1643
|
+
exports.Prisma.BudgetHoldScalarFieldEnum = {
|
|
1644
|
+
id: 'id',
|
|
1645
|
+
uuid: 'uuid',
|
|
1646
|
+
category_budget_id: 'category_budget_id',
|
|
1647
|
+
hold_amount: 'hold_amount',
|
|
1648
|
+
consumed_amount: 'consumed_amount',
|
|
1649
|
+
status: 'status',
|
|
1650
|
+
reference_type: 'reference_type',
|
|
1651
|
+
reference_id: 'reference_id',
|
|
1652
|
+
reason: 'reason',
|
|
1653
|
+
held_at: 'held_at',
|
|
1654
|
+
resolved_at: 'resolved_at',
|
|
1655
|
+
created_by: 'created_by',
|
|
1656
|
+
created_at: 'created_at',
|
|
1657
|
+
updated_by: 'updated_by',
|
|
1658
|
+
updated_at: 'updated_at',
|
|
1659
|
+
is_deleted: 'is_deleted',
|
|
1660
|
+
deleted_by: 'deleted_by',
|
|
1661
|
+
deleted_at: 'deleted_at'
|
|
1662
|
+
};
|
|
1663
|
+
|
|
1664
|
+
exports.Prisma.SupportingDocumentScalarFieldEnum = {
|
|
1665
|
+
id: 'id',
|
|
1666
|
+
uuid: 'uuid',
|
|
1667
|
+
budget_id: 'budget_id',
|
|
1668
|
+
department_budget_id: 'department_budget_id',
|
|
1669
|
+
category_budget_id: 'category_budget_id',
|
|
1670
|
+
file_name: 'file_name',
|
|
1671
|
+
original_name: 'original_name',
|
|
1672
|
+
file_path: 'file_path',
|
|
1673
|
+
file_size: 'file_size',
|
|
1674
|
+
mime_type: 'mime_type',
|
|
1675
|
+
created_by: 'created_by',
|
|
1676
|
+
created_at: 'created_at',
|
|
1677
|
+
updated_by: 'updated_by',
|
|
1678
|
+
updated_at: 'updated_at',
|
|
1679
|
+
is_deleted: 'is_deleted',
|
|
1680
|
+
deleted_by: 'deleted_by',
|
|
1681
|
+
deleted_at: 'deleted_at'
|
|
1682
|
+
};
|
|
1683
|
+
|
|
1684
|
+
exports.Prisma.ExpenseScalarFieldEnum = {
|
|
1685
|
+
id: 'id',
|
|
1686
|
+
uuid: 'uuid',
|
|
1687
|
+
category_budget_id: 'category_budget_id',
|
|
1688
|
+
amount: 'amount',
|
|
1689
|
+
description: 'description',
|
|
1690
|
+
expense_date: 'expense_date',
|
|
1691
|
+
receipt_number: 'receipt_number',
|
|
1692
|
+
vendor_name: 'vendor_name',
|
|
1693
|
+
notes: 'notes',
|
|
1694
|
+
created_at: 'created_at',
|
|
1695
|
+
updated_at: 'updated_at'
|
|
1696
|
+
};
|
|
1697
|
+
|
|
1698
|
+
exports.Prisma.VendorReferenceScalarFieldEnum = {
|
|
1699
|
+
id: 'id',
|
|
1700
|
+
global_vendor_id: 'global_vendor_id',
|
|
1701
|
+
tenant_vendor_code: 'tenant_vendor_code',
|
|
1702
|
+
invited_by: 'invited_by',
|
|
1703
|
+
invited_on: 'invited_on',
|
|
1704
|
+
meta_data: 'meta_data',
|
|
1705
|
+
is_deleted: 'is_deleted',
|
|
1706
|
+
created_at: 'created_at',
|
|
1707
|
+
created_by: 'created_by',
|
|
1708
|
+
updated_at: 'updated_at',
|
|
1709
|
+
updated_by: 'updated_by',
|
|
1710
|
+
deleted_at: 'deleted_at',
|
|
1711
|
+
deleted_by: 'deleted_by'
|
|
1712
|
+
};
|
|
1713
|
+
|
|
1714
|
+
exports.Prisma.RequestedCatalogueScalarFieldEnum = {
|
|
1715
|
+
id: 'id',
|
|
1716
|
+
uuid: 'uuid',
|
|
1717
|
+
code: 'code',
|
|
1718
|
+
request_status: 'request_status',
|
|
1719
|
+
submission_status: 'submission_status',
|
|
1720
|
+
created_at: 'created_at',
|
|
1721
|
+
created_by: 'created_by',
|
|
1722
|
+
updated_at: 'updated_at',
|
|
1723
|
+
updated_by: 'updated_by',
|
|
1724
|
+
is_deleted: 'is_deleted',
|
|
1725
|
+
deleted_at: 'deleted_at',
|
|
1726
|
+
deleted_by: 'deleted_by'
|
|
1727
|
+
};
|
|
1728
|
+
|
|
1729
|
+
exports.Prisma.RequestedCatalogueDetailsScalarFieldEnum = {
|
|
1730
|
+
id: 'id',
|
|
1731
|
+
uuid: 'uuid',
|
|
1732
|
+
req_catalogue_id: 'req_catalogue_id',
|
|
1733
|
+
item_id: 'item_id',
|
|
1734
|
+
variant_id: 'variant_id',
|
|
1735
|
+
vendor_id: 'vendor_id',
|
|
1736
|
+
status: 'status',
|
|
1737
|
+
stock: 'stock',
|
|
1738
|
+
unit_price: 'unit_price',
|
|
1739
|
+
created_at: 'created_at',
|
|
1740
|
+
created_by: 'created_by',
|
|
1741
|
+
updated_at: 'updated_at',
|
|
1742
|
+
updated_by: 'updated_by',
|
|
1743
|
+
is_deleted: 'is_deleted',
|
|
1744
|
+
deleted_at: 'deleted_at',
|
|
1745
|
+
deleted_by: 'deleted_by'
|
|
1746
|
+
};
|
|
1747
|
+
|
|
1748
|
+
exports.Prisma.CatalogueScalarFieldEnum = {
|
|
1749
|
+
id: 'id',
|
|
1750
|
+
uuid: 'uuid',
|
|
1751
|
+
req_catalogue_id: 'req_catalogue_id',
|
|
1752
|
+
item_id: 'item_id',
|
|
1753
|
+
variant_id: 'variant_id',
|
|
1754
|
+
status: 'status',
|
|
1755
|
+
created_at: 'created_at',
|
|
1756
|
+
created_by: 'created_by',
|
|
1757
|
+
updated_at: 'updated_at',
|
|
1758
|
+
updated_by: 'updated_by',
|
|
1759
|
+
is_deleted: 'is_deleted',
|
|
1760
|
+
deleted_at: 'deleted_at',
|
|
1761
|
+
deleted_by: 'deleted_by'
|
|
1762
|
+
};
|
|
1763
|
+
|
|
1764
|
+
exports.Prisma.CatalogueVendorScalarFieldEnum = {
|
|
1765
|
+
id: 'id',
|
|
1766
|
+
uuid: 'uuid',
|
|
1767
|
+
catalogue_id: 'catalogue_id',
|
|
1768
|
+
item_id: 'item_id',
|
|
1769
|
+
variant_id: 'variant_id',
|
|
1770
|
+
vendor_id: 'vendor_id',
|
|
1771
|
+
stock: 'stock',
|
|
1772
|
+
price: 'price',
|
|
1773
|
+
status: 'status',
|
|
1774
|
+
created_at: 'created_at',
|
|
1775
|
+
created_by: 'created_by',
|
|
1776
|
+
updated_at: 'updated_at',
|
|
1777
|
+
updated_by: 'updated_by',
|
|
1778
|
+
is_deleted: 'is_deleted',
|
|
1779
|
+
deleted_at: 'deleted_at',
|
|
1780
|
+
deleted_by: 'deleted_by'
|
|
1781
|
+
};
|
|
1782
|
+
|
|
1783
|
+
exports.Prisma.CatalogueCartScalarFieldEnum = {
|
|
1784
|
+
id: 'id',
|
|
1785
|
+
uuid: 'uuid',
|
|
1786
|
+
user_id: 'user_id',
|
|
1787
|
+
vendor_id: 'vendor_id',
|
|
1788
|
+
item_id: 'item_id',
|
|
1789
|
+
variant_id: 'variant_id',
|
|
1790
|
+
quantity: 'quantity',
|
|
1791
|
+
catalogue_cart_type: 'catalogue_cart_type',
|
|
1792
|
+
price: 'price',
|
|
1793
|
+
total_price: 'total_price',
|
|
1794
|
+
created_at: 'created_at',
|
|
1795
|
+
created_by: 'created_by',
|
|
1796
|
+
updated_at: 'updated_at',
|
|
1797
|
+
updated_by: 'updated_by',
|
|
1798
|
+
is_deleted: 'is_deleted',
|
|
1799
|
+
deleted_at: 'deleted_at',
|
|
1800
|
+
deleted_by: 'deleted_by'
|
|
1801
|
+
};
|
|
1802
|
+
|
|
1803
|
+
exports.Prisma.EventRfiFormScalarFieldEnum = {
|
|
1804
|
+
id: 'id',
|
|
1805
|
+
uuid: 'uuid',
|
|
1806
|
+
event_id: 'event_id',
|
|
1807
|
+
form_data: 'form_data',
|
|
1808
|
+
business_entity_id: 'business_entity_id',
|
|
1809
|
+
is_deleted: 'is_deleted',
|
|
1810
|
+
created_at: 'created_at',
|
|
1811
|
+
created_by: 'created_by',
|
|
1812
|
+
updated_at: 'updated_at',
|
|
1813
|
+
updated_by: 'updated_by',
|
|
1814
|
+
deleted_at: 'deleted_at',
|
|
1815
|
+
deleted_by: 'deleted_by'
|
|
1816
|
+
};
|
|
1817
|
+
|
|
1818
|
+
exports.Prisma.EventRfiFormLogScalarFieldEnum = {
|
|
1819
|
+
id: 'id',
|
|
1820
|
+
uuid: 'uuid',
|
|
1821
|
+
event_id: 'event_id',
|
|
1822
|
+
event_vendor_id: 'event_vendor_id',
|
|
1823
|
+
rfi_form_id: 'rfi_form_id',
|
|
1824
|
+
rfi_form_response: 'rfi_form_response',
|
|
1825
|
+
status: 'status',
|
|
1826
|
+
reviewed_at: 'reviewed_at',
|
|
1827
|
+
reviewed_by: 'reviewed_by',
|
|
1828
|
+
comments: 'comments',
|
|
1829
|
+
rating: 'rating',
|
|
1830
|
+
version: 'version',
|
|
1831
|
+
created_at: 'created_at',
|
|
1832
|
+
created_by: 'created_by',
|
|
1833
|
+
updated_at: 'updated_at',
|
|
1834
|
+
updated_by: 'updated_by',
|
|
1835
|
+
is_deleted: 'is_deleted',
|
|
1836
|
+
deleted_at: 'deleted_at',
|
|
1837
|
+
deleted_by: 'deleted_by'
|
|
1838
|
+
};
|
|
1839
|
+
|
|
1840
|
+
exports.Prisma.EventCriteriaScalarFieldEnum = {
|
|
1841
|
+
id: 'id',
|
|
1842
|
+
uuid: 'uuid',
|
|
1843
|
+
event_id: 'event_id',
|
|
1844
|
+
criteria_name: 'criteria_name',
|
|
1845
|
+
criteria_slug: 'criteria_slug',
|
|
1846
|
+
weightage: 'weightage',
|
|
1847
|
+
is_price_criteria: 'is_price_criteria',
|
|
1848
|
+
min_score: 'min_score',
|
|
1849
|
+
max_score: 'max_score',
|
|
1850
|
+
description: 'description',
|
|
1851
|
+
display_order: 'display_order',
|
|
1852
|
+
is_active: 'is_active',
|
|
1853
|
+
created_at: 'created_at',
|
|
1854
|
+
created_by: 'created_by',
|
|
1855
|
+
updated_at: 'updated_at',
|
|
1856
|
+
updated_by: 'updated_by',
|
|
1857
|
+
is_deleted: 'is_deleted',
|
|
1858
|
+
deleted_at: 'deleted_at',
|
|
1859
|
+
deleted_by: 'deleted_by'
|
|
1860
|
+
};
|
|
1861
|
+
|
|
1862
|
+
exports.Prisma.EventVendorCriteriaScalarFieldEnum = {
|
|
1863
|
+
id: 'id',
|
|
1864
|
+
uuid: 'uuid',
|
|
1865
|
+
event_id: 'event_id',
|
|
1866
|
+
event_vendor_id: 'event_vendor_id',
|
|
1867
|
+
event_criteria_id: 'event_criteria_id',
|
|
1868
|
+
raw_score: 'raw_score',
|
|
1869
|
+
raw_price: 'raw_price',
|
|
1870
|
+
normalized_score: 'normalized_score',
|
|
1871
|
+
weighted_contribution: 'weighted_contribution',
|
|
1872
|
+
notes: 'notes',
|
|
1873
|
+
scored_at: 'scored_at',
|
|
1874
|
+
scored_by: 'scored_by',
|
|
1875
|
+
created_at: 'created_at',
|
|
1876
|
+
created_by: 'created_by',
|
|
1877
|
+
updated_at: 'updated_at',
|
|
1878
|
+
updated_by: 'updated_by',
|
|
1879
|
+
is_deleted: 'is_deleted',
|
|
1880
|
+
deleted_at: 'deleted_at',
|
|
1881
|
+
deleted_by: 'deleted_by'
|
|
1882
|
+
};
|
|
1883
|
+
|
|
1884
|
+
exports.Prisma.ConversationScalarFieldEnum = {
|
|
1885
|
+
id: 'id',
|
|
1886
|
+
uuid: 'uuid',
|
|
1887
|
+
type: 'type',
|
|
1888
|
+
event_id: 'event_id',
|
|
1889
|
+
admin_user_id: 'admin_user_id',
|
|
1890
|
+
vendor_id: 'vendor_id',
|
|
1891
|
+
title: 'title',
|
|
1892
|
+
status: 'status',
|
|
1893
|
+
last_message_at: 'last_message_at',
|
|
1894
|
+
created_at: 'created_at',
|
|
1895
|
+
created_by: 'created_by',
|
|
1896
|
+
updated_at: 'updated_at',
|
|
1897
|
+
updated_by: 'updated_by',
|
|
1898
|
+
is_deleted: 'is_deleted',
|
|
1899
|
+
deleted_at: 'deleted_at',
|
|
1900
|
+
deleted_by: 'deleted_by'
|
|
1901
|
+
};
|
|
1902
|
+
|
|
1903
|
+
exports.Prisma.ConversationParticipantScalarFieldEnum = {
|
|
1904
|
+
id: 'id',
|
|
1905
|
+
uuid: 'uuid',
|
|
1906
|
+
conversation_id: 'conversation_id',
|
|
1907
|
+
user_id: 'user_id',
|
|
1908
|
+
vendor_id: 'vendor_id',
|
|
1909
|
+
is_admin: 'is_admin',
|
|
1910
|
+
joined_at: 'joined_at',
|
|
1911
|
+
left_at: 'left_at',
|
|
1912
|
+
last_read_at: 'last_read_at',
|
|
1913
|
+
is_active: 'is_active',
|
|
1914
|
+
created_at: 'created_at',
|
|
1915
|
+
updated_at: 'updated_at'
|
|
1916
|
+
};
|
|
1917
|
+
|
|
1918
|
+
exports.Prisma.MessageScalarFieldEnum = {
|
|
1919
|
+
id: 'id',
|
|
1920
|
+
uuid: 'uuid',
|
|
1921
|
+
conversation_id: 'conversation_id',
|
|
1922
|
+
sender_type: 'sender_type',
|
|
1923
|
+
sender_user_id: 'sender_user_id',
|
|
1924
|
+
sender_vendor_id: 'sender_vendor_id',
|
|
1925
|
+
broadcast_type: 'broadcast_type',
|
|
1926
|
+
message_type: 'message_type',
|
|
1927
|
+
content: 'content',
|
|
1928
|
+
file: 'file',
|
|
1929
|
+
is_edited: 'is_edited',
|
|
1930
|
+
edited_at: 'edited_at',
|
|
1931
|
+
is_deleted: 'is_deleted',
|
|
1932
|
+
deleted_at: 'deleted_at',
|
|
1933
|
+
created_at: 'created_at',
|
|
1934
|
+
created_by: 'created_by',
|
|
1935
|
+
updated_at: 'updated_at',
|
|
1936
|
+
updated_by: 'updated_by',
|
|
1937
|
+
reply_to_message_id: 'reply_to_message_id'
|
|
1938
|
+
};
|
|
1939
|
+
|
|
1940
|
+
exports.Prisma.MessageRecipientScalarFieldEnum = {
|
|
1941
|
+
id: 'id',
|
|
1942
|
+
uuid: 'uuid',
|
|
1943
|
+
message_id: 'message_id',
|
|
1944
|
+
recipient_type: 'recipient_type',
|
|
1945
|
+
recipient_user_id: 'recipient_user_id',
|
|
1946
|
+
recipient_vendor_id: 'recipient_vendor_id',
|
|
1947
|
+
read_status: 'read_status',
|
|
1948
|
+
read_at: 'read_at',
|
|
1949
|
+
delivered_at: 'delivered_at',
|
|
1950
|
+
created_at: 'created_at'
|
|
1951
|
+
};
|
|
1952
|
+
|
|
1953
|
+
exports.Prisma.BlanketPurchaseOrderScalarFieldEnum = {
|
|
1954
|
+
id: 'id',
|
|
1955
|
+
uuid: 'uuid',
|
|
1956
|
+
bpo_number: 'bpo_number',
|
|
1957
|
+
event_id: 'event_id',
|
|
1958
|
+
event_vendor_id: 'event_vendor_id',
|
|
1959
|
+
vendor_id: 'vendor_id',
|
|
1960
|
+
bpo_date: 'bpo_date',
|
|
1961
|
+
start_date: 'start_date',
|
|
1962
|
+
end_date: 'end_date',
|
|
1963
|
+
total_bpo_value: 'total_bpo_value',
|
|
1964
|
+
fulfilled_quantity: 'fulfilled_quantity',
|
|
1965
|
+
total_quantity: 'total_quantity',
|
|
1966
|
+
status: 'status',
|
|
1967
|
+
attachments: 'attachments',
|
|
1968
|
+
terms_conditions: 'terms_conditions',
|
|
1969
|
+
notes: 'notes',
|
|
1970
|
+
business_entity_id: 'business_entity_id',
|
|
1971
|
+
created_at: 'created_at',
|
|
1972
|
+
created_by: 'created_by',
|
|
1973
|
+
updated_at: 'updated_at',
|
|
1974
|
+
updated_by: 'updated_by',
|
|
1975
|
+
is_deleted: 'is_deleted',
|
|
1976
|
+
deleted_at: 'deleted_at',
|
|
1977
|
+
deleted_by: 'deleted_by'
|
|
1978
|
+
};
|
|
1979
|
+
|
|
1980
|
+
exports.Prisma.BlanketPurchaseOrderItemScalarFieldEnum = {
|
|
1981
|
+
id: 'id',
|
|
1982
|
+
uuid: 'uuid',
|
|
1983
|
+
blanket_po_id: 'blanket_po_id',
|
|
1984
|
+
item_id: 'item_id',
|
|
1985
|
+
total_quantity: 'total_quantity',
|
|
1986
|
+
fulfilled_quantity: 'fulfilled_quantity',
|
|
1987
|
+
unit_price: 'unit_price',
|
|
1988
|
+
total_amount: 'total_amount',
|
|
1989
|
+
release_frequency: 'release_frequency',
|
|
1990
|
+
split_method: 'split_method',
|
|
1991
|
+
purchase_request_id: 'purchase_request_id',
|
|
1992
|
+
created_at: 'created_at',
|
|
1993
|
+
created_by: 'created_by',
|
|
1994
|
+
updated_at: 'updated_at',
|
|
1995
|
+
updated_by: 'updated_by',
|
|
1996
|
+
is_deleted: 'is_deleted',
|
|
1997
|
+
deleted_at: 'deleted_at',
|
|
1998
|
+
deleted_by: 'deleted_by'
|
|
1999
|
+
};
|
|
2000
|
+
|
|
2001
|
+
exports.Prisma.BlanketPurchaseOrderReleaseScalarFieldEnum = {
|
|
2002
|
+
id: 'id',
|
|
2003
|
+
uuid: 'uuid',
|
|
2004
|
+
blanket_po_id: 'blanket_po_id',
|
|
2005
|
+
blanket_po_item_id: 'blanket_po_item_id',
|
|
2006
|
+
release_number: 'release_number',
|
|
2007
|
+
release_date: 'release_date',
|
|
2008
|
+
release_quantity: 'release_quantity',
|
|
2009
|
+
fulfilled_quantity: 'fulfilled_quantity',
|
|
2010
|
+
release_value: 'release_value',
|
|
2011
|
+
delivery_location_id: 'delivery_location_id',
|
|
2012
|
+
purchase_order_id: 'purchase_order_id',
|
|
2013
|
+
delivery_date: 'delivery_date',
|
|
2014
|
+
status: 'status',
|
|
2015
|
+
notes: 'notes',
|
|
2016
|
+
created_at: 'created_at',
|
|
2017
|
+
created_by: 'created_by',
|
|
2018
|
+
updated_at: 'updated_at',
|
|
2019
|
+
updated_by: 'updated_by',
|
|
2020
|
+
is_deleted: 'is_deleted',
|
|
2021
|
+
deleted_at: 'deleted_at',
|
|
2022
|
+
deleted_by: 'deleted_by'
|
|
2023
|
+
};
|
|
2024
|
+
|
|
2025
|
+
exports.Prisma.GRNScalarFieldEnum = {
|
|
2026
|
+
id: 'id',
|
|
2027
|
+
uuid: 'uuid',
|
|
2028
|
+
grn_number: 'grn_number',
|
|
2029
|
+
purchase_order_id: 'purchase_order_id',
|
|
2030
|
+
dispatch_date_time: 'dispatch_date_time',
|
|
2031
|
+
expected_arrival_date: 'expected_arrival_date',
|
|
2032
|
+
received_date_time: 'received_date_time',
|
|
2033
|
+
received_by: 'received_by',
|
|
2034
|
+
remarks: 'remarks',
|
|
2035
|
+
start_point: 'start_point',
|
|
2036
|
+
end_point: 'end_point',
|
|
2037
|
+
transporter_name: 'transporter_name',
|
|
2038
|
+
transport_vehicle_registration_number: 'transport_vehicle_registration_number',
|
|
2039
|
+
transport_vehicle_type: 'transport_vehicle_type',
|
|
2040
|
+
challan_number: 'challan_number',
|
|
2041
|
+
driver_name: 'driver_name',
|
|
2042
|
+
country_code: 'country_code',
|
|
2043
|
+
driver_contact_number: 'driver_contact_number',
|
|
2044
|
+
e_way_bill_number: 'e_way_bill_number',
|
|
2045
|
+
tracking_link: 'tracking_link',
|
|
2046
|
+
delivery_challan_documents: 'delivery_challan_documents',
|
|
2047
|
+
grn_status: 'grn_status',
|
|
2048
|
+
delivery_challan_number: 'delivery_challan_number',
|
|
2049
|
+
inspection_date_time: 'inspection_date_time',
|
|
2050
|
+
inspection_code: 'inspection_code',
|
|
2051
|
+
warehouse: 'warehouse',
|
|
2052
|
+
inspector_name: 'inspector_name',
|
|
2053
|
+
inspection_status: 'inspection_status',
|
|
2054
|
+
business_entity_id: 'business_entity_id',
|
|
2055
|
+
created_at: 'created_at',
|
|
2056
|
+
created_by: 'created_by',
|
|
2057
|
+
updated_at: 'updated_at',
|
|
2058
|
+
updated_by: 'updated_by',
|
|
2059
|
+
is_deleted: 'is_deleted',
|
|
2060
|
+
deleted_at: 'deleted_at',
|
|
2061
|
+
deleted_by: 'deleted_by'
|
|
2062
|
+
};
|
|
2063
|
+
|
|
2064
|
+
exports.Prisma.GRNItemScalarFieldEnum = {
|
|
2065
|
+
id: 'id',
|
|
2066
|
+
uuid: 'uuid',
|
|
2067
|
+
grn_id: 'grn_id',
|
|
2068
|
+
purchase_order_item_id: 'purchase_order_item_id',
|
|
2069
|
+
dispatch_quantity: 'dispatch_quantity',
|
|
2070
|
+
received_quantity: 'received_quantity',
|
|
2071
|
+
accepted_quantity: 'accepted_quantity',
|
|
2072
|
+
remarks: 'remarks',
|
|
2073
|
+
inspection_remarks: 'inspection_remarks',
|
|
2074
|
+
inspection_attachments: 'inspection_attachments',
|
|
2075
|
+
status: 'status',
|
|
2076
|
+
created_at: 'created_at',
|
|
2077
|
+
created_by: 'created_by',
|
|
2078
|
+
updated_at: 'updated_at',
|
|
2079
|
+
updated_by: 'updated_by',
|
|
2080
|
+
is_deleted: 'is_deleted',
|
|
2081
|
+
deleted_at: 'deleted_at',
|
|
2082
|
+
deleted_by: 'deleted_by'
|
|
2083
|
+
};
|
|
2084
|
+
|
|
2085
|
+
exports.Prisma.BusinessEntityScalarFieldEnum = {
|
|
2086
|
+
id: 'id',
|
|
2087
|
+
uuid: 'uuid',
|
|
2088
|
+
business_code: 'business_code',
|
|
2089
|
+
business_name: 'business_name',
|
|
2090
|
+
business_email: 'business_email',
|
|
2091
|
+
business_country_code: 'business_country_code',
|
|
2092
|
+
business_phone: 'business_phone',
|
|
2093
|
+
business_website: 'business_website',
|
|
2094
|
+
business_logo: 'business_logo',
|
|
2095
|
+
business_description: 'business_description',
|
|
2096
|
+
business_type: 'business_type',
|
|
2097
|
+
is_active: 'is_active',
|
|
2098
|
+
created_at: 'created_at',
|
|
2099
|
+
created_by: 'created_by',
|
|
2100
|
+
updated_at: 'updated_at',
|
|
2101
|
+
updated_by: 'updated_by',
|
|
2102
|
+
is_deleted: 'is_deleted',
|
|
2103
|
+
deleted_at: 'deleted_at',
|
|
2104
|
+
deleted_by: 'deleted_by'
|
|
2105
|
+
};
|
|
2106
|
+
|
|
2107
|
+
exports.Prisma.BusinessEntityLocationScalarFieldEnum = {
|
|
2108
|
+
id: 'id',
|
|
2109
|
+
business_entity_id: 'business_entity_id',
|
|
2110
|
+
location_id: 'location_id',
|
|
2111
|
+
is_primary: 'is_primary',
|
|
2112
|
+
created_at: 'created_at',
|
|
2113
|
+
created_by: 'created_by'
|
|
2114
|
+
};
|
|
2115
|
+
|
|
2116
|
+
exports.Prisma.InvoiceScalarFieldEnum = {
|
|
2117
|
+
id: 'id',
|
|
2118
|
+
uuid: 'uuid',
|
|
2119
|
+
invoice_number: 'invoice_number',
|
|
2120
|
+
purchase_order_id: 'purchase_order_id',
|
|
2121
|
+
grn_id: 'grn_id',
|
|
2122
|
+
vendor_id: 'vendor_id',
|
|
2123
|
+
invoice_date: 'invoice_date',
|
|
2124
|
+
invoice_due_date: 'invoice_due_date',
|
|
2125
|
+
delivery_note_number: 'delivery_note_number',
|
|
2126
|
+
quantity_fulfilled: 'quantity_fulfilled',
|
|
2127
|
+
total_po_releases: 'total_po_releases',
|
|
2128
|
+
billing_address: 'billing_address',
|
|
2129
|
+
status: 'status',
|
|
2130
|
+
matching_status: 'matching_status',
|
|
2131
|
+
invoice_documents: 'invoice_documents',
|
|
2132
|
+
notes: 'notes',
|
|
2133
|
+
business_entity_id: 'business_entity_id',
|
|
2134
|
+
terms_and_conditions: 'terms_and_conditions',
|
|
2135
|
+
e_way_bill_number: 'e_way_bill_number',
|
|
2136
|
+
created_at: 'created_at',
|
|
2137
|
+
created_by: 'created_by',
|
|
2138
|
+
updated_at: 'updated_at',
|
|
2139
|
+
updated_by: 'updated_by',
|
|
2140
|
+
is_deleted: 'is_deleted',
|
|
2141
|
+
deleted_at: 'deleted_at',
|
|
2142
|
+
deleted_by: 'deleted_by'
|
|
2143
|
+
};
|
|
2144
|
+
|
|
2145
|
+
exports.Prisma.InvoiceItemScalarFieldEnum = {
|
|
2146
|
+
id: 'id',
|
|
2147
|
+
uuid: 'uuid',
|
|
2148
|
+
invoice_id: 'invoice_id',
|
|
2149
|
+
purchase_order_item_id: 'purchase_order_item_id',
|
|
2150
|
+
ordered_quantity: 'ordered_quantity',
|
|
2151
|
+
invoice_quantity: 'invoice_quantity',
|
|
2152
|
+
uom: 'uom',
|
|
2153
|
+
unit_amount: 'unit_amount',
|
|
2154
|
+
total_amount: 'total_amount',
|
|
2155
|
+
po_quantity: 'po_quantity',
|
|
2156
|
+
grn_quantity: 'grn_quantity',
|
|
2157
|
+
quality_quantity: 'quality_quantity',
|
|
2158
|
+
matching_status: 'matching_status',
|
|
2159
|
+
resolution_action: 'resolution_action',
|
|
2160
|
+
resolution_remarks: 'resolution_remarks',
|
|
2161
|
+
resolved_at: 'resolved_at',
|
|
2162
|
+
resolved_by: 'resolved_by',
|
|
2163
|
+
created_at: 'created_at',
|
|
2164
|
+
created_by: 'created_by',
|
|
2165
|
+
updated_at: 'updated_at',
|
|
2166
|
+
updated_by: 'updated_by',
|
|
2167
|
+
is_deleted: 'is_deleted',
|
|
2168
|
+
deleted_at: 'deleted_at',
|
|
2169
|
+
deleted_by: 'deleted_by'
|
|
2170
|
+
};
|
|
2171
|
+
|
|
2172
|
+
exports.Prisma.ApprovalManagementScalarFieldEnum = {
|
|
2173
|
+
id: 'id',
|
|
2174
|
+
uuid: 'uuid',
|
|
2175
|
+
journy_type: 'journy_type',
|
|
2176
|
+
journey_task: 'journey_task',
|
|
2177
|
+
parent_id: 'parent_id',
|
|
2178
|
+
user_id: 'user_id',
|
|
2179
|
+
proposed_payload: 'proposed_payload',
|
|
2180
|
+
previous_snapshot: 'previous_snapshot',
|
|
2181
|
+
estimated_budget: 'estimated_budget',
|
|
2182
|
+
batch_id: 'batch_id',
|
|
2183
|
+
request_status: 'request_status',
|
|
2184
|
+
reject_reason: 'reject_reason',
|
|
2185
|
+
created_at: 'created_at',
|
|
2186
|
+
created_by: 'created_by'
|
|
2187
|
+
};
|
|
2188
|
+
|
|
2189
|
+
exports.Prisma.SortOrder = {
|
|
2190
|
+
asc: 'asc',
|
|
2191
|
+
desc: 'desc'
|
|
2192
|
+
};
|
|
2193
|
+
|
|
2194
|
+
exports.Prisma.NullableJsonNullValueInput = {
|
|
2195
|
+
DbNull: Prisma.DbNull,
|
|
2196
|
+
JsonNull: Prisma.JsonNull
|
|
2197
|
+
};
|
|
2198
|
+
|
|
2199
|
+
exports.Prisma.QueryMode = {
|
|
2200
|
+
default: 'default',
|
|
2201
|
+
insensitive: 'insensitive'
|
|
2202
|
+
};
|
|
2203
|
+
|
|
2204
|
+
exports.Prisma.NullsOrder = {
|
|
2205
|
+
first: 'first',
|
|
2206
|
+
last: 'last'
|
|
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
|
+
};
|
|
2832
|
+
|
|
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
|
+
}
|
|
2859
|
+
|
|
2860
|
+
exports.PrismaClient = PrismaClient
|
|
2861
|
+
|
|
2862
|
+
Object.assign(exports, Prisma)
|