fix update build
This commit is contained in:
+215
-2
@@ -125,7 +125,9 @@ exports.Prisma.TransactionIsolationLevel = makeStrictEnum({
|
||||
exports.Prisma.CityScalarFieldEnum = {
|
||||
id: 'id',
|
||||
name: 'name',
|
||||
province: 'province'
|
||||
province: 'province',
|
||||
percent: 'percent',
|
||||
percentAux: 'percentAux'
|
||||
};
|
||||
|
||||
exports.Prisma.AdminUserScalarFieldEnum = {
|
||||
@@ -134,6 +136,7 @@ exports.Prisma.AdminUserScalarFieldEnum = {
|
||||
mobile: 'mobile',
|
||||
passwordHash: 'passwordHash',
|
||||
role: 'role',
|
||||
userTypeId: 'userTypeId',
|
||||
branchId: 'branchId',
|
||||
wagePercent: 'wagePercent',
|
||||
isActive: 'isActive',
|
||||
@@ -147,6 +150,13 @@ exports.Prisma.CustomerScalarFieldEnum = {
|
||||
nationalCode: 'nationalCode',
|
||||
passwordHash: 'passwordHash',
|
||||
cityId: 'cityId',
|
||||
kind: 'kind',
|
||||
phone: 'phone',
|
||||
address: 'address',
|
||||
storeName: 'storeName',
|
||||
pasazhName: 'pasazhName',
|
||||
zone: 'zone',
|
||||
memberCode: 'memberCode',
|
||||
referredByAgentId: 'referredByAgentId',
|
||||
goldCreditLimitGrams: 'goldCreditLimitGrams',
|
||||
goldDebtGrams: 'goldDebtGrams',
|
||||
@@ -155,7 +165,10 @@ exports.Prisma.CustomerScalarFieldEnum = {
|
||||
nationalIdImageUrl: 'nationalIdImageUrl',
|
||||
businessLicenseUrl: 'businessLicenseUrl',
|
||||
shopImageUrl: 'shopImageUrl',
|
||||
avatarFileId: 'avatarFileId',
|
||||
canPlaceOrders: 'canPlaceOrders',
|
||||
isActive: 'isActive',
|
||||
isArchived: 'isArchived',
|
||||
createdAt: 'createdAt',
|
||||
updatedAt: 'updatedAt'
|
||||
};
|
||||
@@ -171,18 +184,29 @@ exports.Prisma.CustomerAddressScalarFieldEnum = {
|
||||
exports.Prisma.BranchScalarFieldEnum = {
|
||||
id: 'id',
|
||||
name: 'name',
|
||||
address: 'address',
|
||||
phone: 'phone',
|
||||
isActive: 'isActive',
|
||||
cityId: 'cityId'
|
||||
};
|
||||
|
||||
exports.Prisma.WorkshopScalarFieldEnum = {
|
||||
id: 'id',
|
||||
name: 'name',
|
||||
address: 'address',
|
||||
phone: 'phone',
|
||||
supervisorId: 'supervisorId',
|
||||
isActive: 'isActive'
|
||||
};
|
||||
|
||||
exports.Prisma.CategoryScalarFieldEnum = {
|
||||
id: 'id',
|
||||
title: 'title',
|
||||
type: 'type',
|
||||
imageUrl: 'imageUrl',
|
||||
iconUrl: 'iconUrl',
|
||||
metaTag: 'metaTag',
|
||||
description: 'description',
|
||||
parentId: 'parentId'
|
||||
};
|
||||
|
||||
@@ -209,6 +233,8 @@ exports.Prisma.ProductScalarFieldEnum = {
|
||||
description: 'description',
|
||||
categoryId: 'categoryId',
|
||||
brandId: 'brandId',
|
||||
productCode: 'productCode',
|
||||
showType: 'showType',
|
||||
isActive: 'isActive',
|
||||
createdAt: 'createdAt'
|
||||
};
|
||||
@@ -227,6 +253,8 @@ exports.Prisma.ProductVariantScalarFieldEnum = {
|
||||
sku: 'sku',
|
||||
rashWeightGrams: 'rashWeightGrams',
|
||||
defaultWagePercent: 'defaultWagePercent',
|
||||
qty: 'qty',
|
||||
isPreOrder: 'isPreOrder',
|
||||
isActive: 'isActive'
|
||||
};
|
||||
|
||||
@@ -235,6 +263,7 @@ exports.Prisma.OrderScalarFieldEnum = {
|
||||
orderNumber: 'orderNumber',
|
||||
customerId: 'customerId',
|
||||
branchId: 'branchId',
|
||||
channel: 'channel',
|
||||
status: 'status',
|
||||
totalGoldWeightGrams: 'totalGoldWeightGrams',
|
||||
wageWeightGrams: 'wageWeightGrams',
|
||||
@@ -308,6 +337,14 @@ exports.Prisma.LedgerEntryScalarFieldEnum = {
|
||||
confirmed: 'confirmed',
|
||||
confirmedAt: 'confirmedAt',
|
||||
postedByAdminUserId: 'postedByAdminUserId',
|
||||
labName: 'labName',
|
||||
hallmark: 'hallmark',
|
||||
accountName: 'accountName',
|
||||
bankName: 'bankName',
|
||||
transferTo: 'transferTo',
|
||||
originalValue: 'originalValue',
|
||||
priceRial: 'priceRial',
|
||||
receivedAt: 'receivedAt',
|
||||
note: 'note',
|
||||
createdAt: 'createdAt'
|
||||
};
|
||||
@@ -331,6 +368,128 @@ exports.Prisma.WalletBonusScalarFieldEnum = {
|
||||
isActive: 'isActive'
|
||||
};
|
||||
|
||||
exports.Prisma.UserTypeScalarFieldEnum = {
|
||||
id: 'id',
|
||||
title: 'title',
|
||||
isActive: 'isActive',
|
||||
createdAt: 'createdAt'
|
||||
};
|
||||
|
||||
exports.Prisma.PermissionScalarFieldEnum = {
|
||||
rid: 'rid',
|
||||
userTypeId: 'userTypeId'
|
||||
};
|
||||
|
||||
exports.Prisma.CommentScalarFieldEnum = {
|
||||
id: 'id',
|
||||
productId: 'productId',
|
||||
customerId: 'customerId',
|
||||
body: 'body',
|
||||
status: 'status',
|
||||
replyToId: 'replyToId',
|
||||
createdAt: 'createdAt',
|
||||
updatedAt: 'updatedAt'
|
||||
};
|
||||
|
||||
exports.Prisma.SettingScalarFieldEnum = {
|
||||
key: 'key',
|
||||
value: 'value',
|
||||
updatedAt: 'updatedAt'
|
||||
};
|
||||
|
||||
exports.Prisma.PromotionScalarFieldEnum = {
|
||||
id: 'id',
|
||||
title: 'title',
|
||||
description: 'description',
|
||||
scope: 'scope',
|
||||
usage: 'usage',
|
||||
discountPercent: 'discountPercent',
|
||||
isActive: 'isActive',
|
||||
platform: 'platform',
|
||||
startsAt: 'startsAt',
|
||||
endsAt: 'endsAt',
|
||||
productId: 'productId',
|
||||
categoryId: 'categoryId',
|
||||
customerId: 'customerId',
|
||||
brandId: 'brandId',
|
||||
createdAt: 'createdAt',
|
||||
updatedAt: 'updatedAt'
|
||||
};
|
||||
|
||||
exports.Prisma.PromotionExclusionScalarFieldEnum = {
|
||||
id: 'id',
|
||||
type: 'type',
|
||||
itemId: 'itemId',
|
||||
createdAt: 'createdAt'
|
||||
};
|
||||
|
||||
exports.Prisma.BranchAllocationScalarFieldEnum = {
|
||||
id: 'id',
|
||||
branchId: 'branchId',
|
||||
allocatorAdminUserId: 'allocatorAdminUserId',
|
||||
note: 'note',
|
||||
createdAt: 'createdAt'
|
||||
};
|
||||
|
||||
exports.Prisma.BranchAllocationItemScalarFieldEnum = {
|
||||
id: 'id',
|
||||
allocationId: 'allocationId',
|
||||
productId: 'productId',
|
||||
weightGrams: 'weightGrams'
|
||||
};
|
||||
|
||||
exports.Prisma.SmsMessageScalarFieldEnum = {
|
||||
id: 'id',
|
||||
audience: 'audience',
|
||||
recipients: 'recipients',
|
||||
body: 'body',
|
||||
sentCount: 'sentCount',
|
||||
sentByAdminUserId: 'sentByAdminUserId',
|
||||
createdAt: 'createdAt'
|
||||
};
|
||||
|
||||
exports.Prisma.NotificationScalarFieldEnum = {
|
||||
id: 'id',
|
||||
title: 'title',
|
||||
body: 'body',
|
||||
audience: 'audience',
|
||||
sentByAdminUserId: 'sentByAdminUserId',
|
||||
createdAt: 'createdAt'
|
||||
};
|
||||
|
||||
exports.Prisma.NotificationRecipientScalarFieldEnum = {
|
||||
id: 'id',
|
||||
notificationId: 'notificationId',
|
||||
customerId: 'customerId',
|
||||
readAt: 'readAt'
|
||||
};
|
||||
|
||||
exports.Prisma.NewsletterSubscriberScalarFieldEnum = {
|
||||
id: 'id',
|
||||
email: 'email',
|
||||
mobile: 'mobile',
|
||||
createdAt: 'createdAt'
|
||||
};
|
||||
|
||||
exports.Prisma.CustomerActivityLogScalarFieldEnum = {
|
||||
id: 'id',
|
||||
customerId: 'customerId',
|
||||
action: 'action',
|
||||
detail: 'detail',
|
||||
createdAt: 'createdAt'
|
||||
};
|
||||
|
||||
exports.Prisma.UploadedFileScalarFieldEnum = {
|
||||
id: 'id',
|
||||
url: 'url',
|
||||
originalName: 'originalName',
|
||||
mimeType: 'mimeType',
|
||||
sizeBytes: 'sizeBytes',
|
||||
purpose: 'purpose',
|
||||
uploadedByAdminUserId: 'uploadedByAdminUserId',
|
||||
createdAt: 'createdAt'
|
||||
};
|
||||
|
||||
exports.Prisma.SortOrder = {
|
||||
asc: 'asc',
|
||||
desc: 'desc'
|
||||
@@ -363,6 +522,14 @@ exports.AdminRole = exports.$Enums.AdminRole = {
|
||||
ACCOUNTANT: 'ACCOUNTANT'
|
||||
};
|
||||
|
||||
exports.CustomerKind = exports.$Enums.CustomerKind = {
|
||||
SALES_AGENT: 'SALES_AGENT',
|
||||
APP_SHOPKEEPER: 'APP_SHOPKEEPER',
|
||||
WALK_IN_SHOPKEEPER: 'WALK_IN_SHOPKEEPER',
|
||||
BANKER: 'BANKER',
|
||||
WORKSHOP_SUPERVISOR: 'WORKSHOP_SUPERVISOR'
|
||||
};
|
||||
|
||||
exports.VerificationStep = exports.$Enums.VerificationStep = {
|
||||
UNVERIFIED: 'UNVERIFIED',
|
||||
STEP_ONE_SUBMITTED: 'STEP_ONE_SUBMITTED',
|
||||
@@ -370,6 +537,11 @@ exports.VerificationStep = exports.$Enums.VerificationStep = {
|
||||
VERIFIED: 'VERIFIED'
|
||||
};
|
||||
|
||||
exports.OrderChannel = exports.$Enums.OrderChannel = {
|
||||
RETAIL: 'RETAIL',
|
||||
WHOLESALE: 'WHOLESALE'
|
||||
};
|
||||
|
||||
exports.OrderStatus = exports.$Enums.OrderStatus = {
|
||||
SUSPENDED: 'SUSPENDED',
|
||||
PLACED: 'PLACED',
|
||||
@@ -411,6 +583,33 @@ exports.LedgerSourceType = exports.$Enums.LedgerSourceType = {
|
||||
ADJUSTMENT: 'ADJUSTMENT'
|
||||
};
|
||||
|
||||
exports.CommentStatus = exports.$Enums.CommentStatus = {
|
||||
PENDING: 'PENDING',
|
||||
APPROVED: 'APPROVED',
|
||||
REJECTED: 'REJECTED'
|
||||
};
|
||||
|
||||
exports.PromotionScope = exports.$Enums.PromotionScope = {
|
||||
PRODUCT: 'PRODUCT',
|
||||
CATEGORY: 'CATEGORY',
|
||||
CUSTOMER: 'CUSTOMER',
|
||||
BRAND: 'BRAND'
|
||||
};
|
||||
|
||||
exports.PromotionUsage = exports.$Enums.PromotionUsage = {
|
||||
ONCE: 'ONCE',
|
||||
UNTIL_END_DATE: 'UNTIL_END_DATE'
|
||||
};
|
||||
|
||||
exports.MessageAudience = exports.$Enums.MessageAudience = {
|
||||
SINGLE_NUMBER: 'SINGLE_NUMBER',
|
||||
MULTIPLE_NUMBERS: 'MULTIPLE_NUMBERS',
|
||||
ALL_CUSTOMERS: 'ALL_CUSTOMERS',
|
||||
WHOLESALE_CUSTOMERS: 'WHOLESALE_CUSTOMERS',
|
||||
RETAIL_CUSTOMERS: 'RETAIL_CUSTOMERS',
|
||||
SALES_AGENTS: 'SALES_AGENTS'
|
||||
};
|
||||
|
||||
exports.Prisma.ModelName = {
|
||||
City: 'City',
|
||||
AdminUser: 'AdminUser',
|
||||
@@ -432,7 +631,21 @@ exports.Prisma.ModelName = {
|
||||
PreOrderStatusEvent: 'PreOrderStatusEvent',
|
||||
LedgerEntry: 'LedgerEntry',
|
||||
GoldPriceQuote: 'GoldPriceQuote',
|
||||
WalletBonus: 'WalletBonus'
|
||||
WalletBonus: 'WalletBonus',
|
||||
UserType: 'UserType',
|
||||
Permission: 'Permission',
|
||||
Comment: 'Comment',
|
||||
Setting: 'Setting',
|
||||
Promotion: 'Promotion',
|
||||
PromotionExclusion: 'PromotionExclusion',
|
||||
BranchAllocation: 'BranchAllocation',
|
||||
BranchAllocationItem: 'BranchAllocationItem',
|
||||
SmsMessage: 'SmsMessage',
|
||||
Notification: 'Notification',
|
||||
NotificationRecipient: 'NotificationRecipient',
|
||||
NewsletterSubscriber: 'NewsletterSubscriber',
|
||||
CustomerActivityLog: 'CustomerActivityLog',
|
||||
UploadedFile: 'UploadedFile'
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user