Files
optima/api/generated/prisma/internal/prismaNamespaceBrowser.ts
2026-04-07 23:56:31 +00:00

1022 lines
28 KiB
TypeScript

/* !!! This is code generated by Prisma. Do not edit directly. !!! */
/* eslint-disable */
// biome-ignore-all lint: generated file
// @ts-nocheck
/*
* WARNING: This is an internal file that is subject to change!
*
* 🛑 Under no circumstances should you import this file directly! 🛑
*
* All exports from this file are wrapped under a `Prisma` namespace object in the browser.ts file.
* While this enables partial backward compatibility, it is not part of the stable public API.
*
* If you are looking for your Models, Enums, and Input Types, please import them from the respective
* model files in the `model` directory!
*/
import * as runtime from "@prisma/client/runtime/index-browser"
export type * from '../models.ts'
export type * from './prismaNamespace.ts'
export const Decimal = runtime.Decimal
export const NullTypes = {
DbNull: runtime.NullTypes.DbNull as (new (secret: never) => typeof runtime.DbNull),
JsonNull: runtime.NullTypes.JsonNull as (new (secret: never) => typeof runtime.JsonNull),
AnyNull: runtime.NullTypes.AnyNull as (new (secret: never) => typeof runtime.AnyNull),
}
/**
* Helper for filtering JSON entries that have `null` on the database (empty on the db)
*
* @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
*/
export const DbNull = runtime.DbNull
/**
* Helper for filtering JSON entries that have JSON `null` values (not empty on the db)
*
* @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
*/
export const JsonNull = runtime.JsonNull
/**
* Helper for filtering JSON entries that are `Prisma.DbNull` or `Prisma.JsonNull`
*
* @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
*/
export const AnyNull = runtime.AnyNull
export const ModelName = {
SyncJobRun: 'SyncJobRun',
SyncStepLog: 'SyncStepLog',
Session: 'Session',
User: 'User',
Role: 'Role',
CorporateLocation: 'CorporateLocation',
InternalDepartment: 'InternalDepartment',
UnifiSite: 'UnifiSite',
Company: 'Company',
CompanyAddress: 'CompanyAddress',
Contact: 'Contact',
CatalogItemType: 'CatalogItemType',
CatalogCategory: 'CatalogCategory',
CatalogSubcategory: 'CatalogSubcategory',
CatalogManufacturer: 'CatalogManufacturer',
WarehouseBin: 'WarehouseBin',
ProductInventory: 'ProductInventory',
Warehouse: 'Warehouse',
MinimumStockByWarehouse: 'MinimumStockByWarehouse',
CatalogItem: 'CatalogItem',
ProductData: 'ProductData',
ServiceTicket: 'ServiceTicket',
ServiceTicketNote: 'ServiceTicketNote',
ServiceTicketType: 'ServiceTicketType',
ServiceTicketBoard: 'ServiceTicketBoard',
ServiceTicketLocation: 'ServiceTicketLocation',
ServiceTicketSource: 'ServiceTicketSource',
ServiceTicketImpact: 'ServiceTicketImpact',
ServiceTicketPriority: 'ServiceTicketPriority',
ServiceTicketSeverity: 'ServiceTicketSeverity',
ServiceTicketFinalData: 'ServiceTicketFinalData',
OpportunityStage: 'OpportunityStage',
OpportunityType: 'OpportunityType',
OpportunityStatus: 'OpportunityStatus',
Opportunity: 'Opportunity',
ScheduleStatus: 'ScheduleStatus',
ScheduleType: 'ScheduleType',
ScheduleSpan: 'ScheduleSpan',
Schedule: 'Schedule',
CredentialType: 'CredentialType',
SecureValue: 'SecureValue',
Credential: 'Credential',
GeneratedQuotes: 'GeneratedQuotes',
TaxCode: 'TaxCode',
CwMember: 'CwMember'
} as const
export type ModelName = (typeof ModelName)[keyof typeof ModelName]
/*
* Enums
*/
export const TransactionIsolationLevel = runtime.makeStrictEnum({
ReadUncommitted: 'ReadUncommitted',
ReadCommitted: 'ReadCommitted',
RepeatableRead: 'RepeatableRead',
Serializable: 'Serializable'
} as const)
export type TransactionIsolationLevel = (typeof TransactionIsolationLevel)[keyof typeof TransactionIsolationLevel]
export const SyncJobRunScalarFieldEnum = {
id: 'id',
jobType: 'jobType',
status: 'status',
triggeredBy: 'triggeredBy',
startedAt: 'startedAt',
completedAt: 'completedAt',
errorSummary: 'errorSummary',
createdAt: 'createdAt',
updatedAt: 'updatedAt'
} as const
export type SyncJobRunScalarFieldEnum = (typeof SyncJobRunScalarFieldEnum)[keyof typeof SyncJobRunScalarFieldEnum]
export const SyncStepLogScalarFieldEnum = {
id: 'id',
syncJobRunId: 'syncJobRunId',
tableName: 'tableName',
syncMode: 'syncMode',
recordsProcessed: 'recordsProcessed',
recordsInserted: 'recordsInserted',
recordsSkipped: 'recordsSkipped',
recordsFailed: 'recordsFailed',
recordsDeleted: 'recordsDeleted',
sampleErrors: 'sampleErrors',
durationMs: 'durationMs',
createdAt: 'createdAt'
} as const
export type SyncStepLogScalarFieldEnum = (typeof SyncStepLogScalarFieldEnum)[keyof typeof SyncStepLogScalarFieldEnum]
export const SessionScalarFieldEnum = {
id: 'id',
sessionKey: 'sessionKey',
userId: 'userId',
expires: 'expires',
refreshTokenGenerated: 'refreshTokenGenerated',
refreshedAt: 'refreshedAt',
invalidatedAt: 'invalidatedAt'
} as const
export type SessionScalarFieldEnum = (typeof SessionScalarFieldEnum)[keyof typeof SessionScalarFieldEnum]
export const UserScalarFieldEnum = {
id: 'id',
permissions: 'permissions',
login: 'login',
firstName: 'firstName',
lastName: 'lastName',
email: 'email',
image: 'image',
title: 'title',
active: 'active',
hidden: 'hidden',
cwIdentifier: 'cwIdentifier',
cwMemberId: 'cwMemberId',
userId: 'userId',
token: 'token',
updatedBy: 'updatedBy',
createdAt: 'createdAt',
updatedAt: 'updatedAt'
} as const
export type UserScalarFieldEnum = (typeof UserScalarFieldEnum)[keyof typeof UserScalarFieldEnum]
export const RoleScalarFieldEnum = {
id: 'id',
title: 'title',
moniker: 'moniker',
permissions: 'permissions',
createdAt: 'createdAt',
updatedAt: 'updatedAt'
} as const
export type RoleScalarFieldEnum = (typeof RoleScalarFieldEnum)[keyof typeof RoleScalarFieldEnum]
export const CorporateLocationScalarFieldEnum = {
id: 'id',
uid: 'uid',
name: 'name',
description: 'description',
updatedById: 'updatedById',
addressLine1: 'addressLine1',
addressLine2: 'addressLine2',
city: 'city',
state: 'state',
zipCode: 'zipCode',
country: 'country',
inactiveFlag: 'inactiveFlag',
createdAt: 'createdAt',
updatedAt: 'updatedAt'
} as const
export type CorporateLocationScalarFieldEnum = (typeof CorporateLocationScalarFieldEnum)[keyof typeof CorporateLocationScalarFieldEnum]
export const InternalDepartmentScalarFieldEnum = {
id: 'id',
uid: 'uid',
name: 'name',
description: 'description',
createdById: 'createdById',
updatedById: 'updatedById',
createdAt: 'createdAt',
updatedAt: 'updatedAt'
} as const
export type InternalDepartmentScalarFieldEnum = (typeof InternalDepartmentScalarFieldEnum)[keyof typeof InternalDepartmentScalarFieldEnum]
export const UnifiSiteScalarFieldEnum = {
id: 'id',
name: 'name',
siteId: 'siteId',
companyId: 'companyId',
createdAt: 'createdAt',
updatedAt: 'updatedAt'
} as const
export type UnifiSiteScalarFieldEnum = (typeof UnifiSiteScalarFieldEnum)[keyof typeof UnifiSiteScalarFieldEnum]
export const CompanyScalarFieldEnum = {
id: 'id',
uid: 'uid',
name: 'name',
phone: 'phone',
website: 'website',
deleteFlag: 'deleteFlag',
dateDeleted: 'dateDeleted',
taxId: 'taxId',
taxExempt: 'taxExempt',
enteredById: 'enteredById',
deletedById: 'deletedById',
deletedAt: 'deletedAt',
createdAt: 'createdAt',
updatedAt: 'updatedAt'
} as const
export type CompanyScalarFieldEnum = (typeof CompanyScalarFieldEnum)[keyof typeof CompanyScalarFieldEnum]
export const CompanyAddressScalarFieldEnum = {
id: 'id',
uid: 'uid',
name: 'name',
description: 'description',
addressLine1: 'addressLine1',
addressLine2: 'addressLine2',
city: 'city',
state: 'state',
zipCode: 'zipCode',
country: 'country',
phone: 'phone',
fax: 'fax',
inactiveFlag: 'inactiveFlag',
defaultFlag: 'defaultFlag',
defaultMailFlag: 'defaultMailFlag',
defaultBillFlag: 'defaultBillFlag',
defaultShipFlag: 'defaultShipFlag',
updatedById: 'updatedById',
companyId: 'companyId',
createdAt: 'createdAt',
updatedAt: 'updatedAt'
} as const
export type CompanyAddressScalarFieldEnum = (typeof CompanyAddressScalarFieldEnum)[keyof typeof CompanyAddressScalarFieldEnum]
export const ContactScalarFieldEnum = {
id: 'id',
uid: 'uid',
active: 'active',
default: 'default',
firstName: 'firstName',
lastName: 'lastName',
nickname: 'nickname',
title: 'title',
gender: 'gender',
birthday: 'birthday',
email: 'email',
phone: 'phone',
phoneExtension: 'phoneExtension',
phoneType: 'phoneType',
companyAddressId: 'companyAddressId',
memberId: 'memberId',
companyId: 'companyId',
createdAt: 'createdAt',
updatedAt: 'updatedAt'
} as const
export type ContactScalarFieldEnum = (typeof ContactScalarFieldEnum)[keyof typeof ContactScalarFieldEnum]
export const CatalogItemTypeScalarFieldEnum = {
id: 'id',
uid: 'uid',
name: 'name',
description: 'description',
inactiveFlag: 'inactiveFlag',
defaultFlag: 'defaultFlag',
updatedById: 'updatedById',
createdById: 'createdById',
createdAt: 'createdAt',
updatedAt: 'updatedAt'
} as const
export type CatalogItemTypeScalarFieldEnum = (typeof CatalogItemTypeScalarFieldEnum)[keyof typeof CatalogItemTypeScalarFieldEnum]
export const CatalogCategoryScalarFieldEnum = {
id: 'id',
uid: 'uid',
name: 'name',
description: 'description',
inactiveFlag: 'inactiveFlag',
updatedById: 'updatedById',
createdById: 'createdById',
createdAt: 'createdAt',
updatedAt: 'updatedAt'
} as const
export type CatalogCategoryScalarFieldEnum = (typeof CatalogCategoryScalarFieldEnum)[keyof typeof CatalogCategoryScalarFieldEnum]
export const CatalogSubcategoryScalarFieldEnum = {
id: 'id',
uid: 'uid',
name: 'name',
description: 'description',
categoryId: 'categoryId',
inactiveFlag: 'inactiveFlag',
updatedById: 'updatedById',
createdById: 'createdById',
createdAt: 'createdAt',
updatedAt: 'updatedAt'
} as const
export type CatalogSubcategoryScalarFieldEnum = (typeof CatalogSubcategoryScalarFieldEnum)[keyof typeof CatalogSubcategoryScalarFieldEnum]
export const CatalogManufacturerScalarFieldEnum = {
id: 'id',
uid: 'uid',
name: 'name',
description: 'description',
inactiveFlag: 'inactiveFlag',
updatedById: 'updatedById',
createdById: 'createdById',
createdAt: 'createdAt',
updatedAt: 'updatedAt'
} as const
export type CatalogManufacturerScalarFieldEnum = (typeof CatalogManufacturerScalarFieldEnum)[keyof typeof CatalogManufacturerScalarFieldEnum]
export const WarehouseBinScalarFieldEnum = {
id: 'id',
uid: 'uid',
name: 'name',
description: 'description',
minQuantity: 'minQuantity',
maxQuantity: 'maxQuantity',
inactiveFlag: 'inactiveFlag',
defaultFlag: 'defaultFlag',
warehouseId: 'warehouseId',
updatedById: 'updatedById',
createdById: 'createdById',
createdAt: 'createdAt',
updatedAt: 'updatedAt'
} as const
export type WarehouseBinScalarFieldEnum = (typeof WarehouseBinScalarFieldEnum)[keyof typeof WarehouseBinScalarFieldEnum]
export const ProductInventoryScalarFieldEnum = {
id: 'id',
uid: 'uid',
qtyOnHand: 'qtyOnHand',
warehouseBinId: 'warehouseBinId',
itemId: 'itemId',
warehouseId: 'warehouseId',
updatedById: 'updatedById',
createdAt: 'createdAt',
updatedAt: 'updatedAt'
} as const
export type ProductInventoryScalarFieldEnum = (typeof ProductInventoryScalarFieldEnum)[keyof typeof ProductInventoryScalarFieldEnum]
export const WarehouseScalarFieldEnum = {
id: 'id',
uid: 'uid',
name: 'name',
description: 'description',
inactiveFlag: 'inactiveFlag',
lockedFlag: 'lockedFlag',
updatedById: 'updatedById',
createdById: 'createdById',
createdAt: 'createdAt',
updatedAt: 'updatedAt'
} as const
export type WarehouseScalarFieldEnum = (typeof WarehouseScalarFieldEnum)[keyof typeof WarehouseScalarFieldEnum]
export const MinimumStockByWarehouseScalarFieldEnum = {
id: 'id',
uid: 'uid',
minQty: 'minQty',
warehouseId: 'warehouseId',
itemId: 'itemId',
updatedById: 'updatedById',
enteredById: 'enteredById',
createdAt: 'createdAt',
updatedAt: 'updatedAt'
} as const
export type MinimumStockByWarehouseScalarFieldEnum = (typeof MinimumStockByWarehouseScalarFieldEnum)[keyof typeof MinimumStockByWarehouseScalarFieldEnum]
export const CatalogItemScalarFieldEnum = {
id: 'id',
uid: 'uid',
identifier: 'identifier',
name: 'name',
description: 'description',
customerDescription: 'customerDescription',
internalNotes: 'internalNotes',
subcategoryId: 'subcategoryId',
manufacturerId: 'manufacturerId',
partNumber: 'partNumber',
vendorName: 'vendorName',
vendorSku: 'vendorSku',
vendorCwId: 'vendorCwId',
price: 'price',
cost: 'cost',
inactive: 'inactive',
salesTaxable: 'salesTaxable',
onHand: 'onHand',
cwLastUpdated: 'cwLastUpdated',
classId: 'classId',
createdAt: 'createdAt',
updatedAt: 'updatedAt'
} as const
export type CatalogItemScalarFieldEnum = (typeof CatalogItemScalarFieldEnum)[keyof typeof CatalogItemScalarFieldEnum]
export const ProductDataScalarFieldEnum = {
id: 'id',
uid: 'uid',
qty: 'qty',
internalNote: 'internalNote',
shortDescription: 'shortDescription',
description: 'description',
sequenceNumber: 'sequenceNumber',
procurementNotes: 'procurementNotes',
productNarrative: 'productNarrative',
unitPrice: 'unitPrice',
unitCost: 'unitCost',
listPrice: 'listPrice',
discount: 'discount',
recurringRevenue: 'recurringRevenue',
recurringCost: 'recurringCost',
qtyPicked: 'qtyPicked',
qtyShipped: 'qtyShipped',
cancelReason: 'cancelReason',
cancelQty: 'cancelQty',
billableFlag: 'billableFlag',
taxableFlag: 'taxableFlag',
invoiceFlag: 'invoiceFlag',
recurringFlag: 'recurringFlag',
poApprovedFlag: 'poApprovedFlag',
calcPriceFlag: 'calcPriceFlag',
calcCostFlag: 'calcCostFlag',
cancelFlag: 'cancelFlag',
catalogItemId: 'catalogItemId',
corporateLocationId: 'corporateLocationId',
serviceTicketId: 'serviceTicketId',
opportunityId: 'opportunityId',
updatedById: 'updatedById',
createdById: 'createdById',
closedById: 'closedById',
cancelById: 'cancelById',
closedAt: 'closedAt',
cancelledAt: 'cancelledAt',
createdAt: 'createdAt',
updatedAt: 'updatedAt'
} as const
export type ProductDataScalarFieldEnum = (typeof ProductDataScalarFieldEnum)[keyof typeof ProductDataScalarFieldEnum]
export const ServiceTicketScalarFieldEnum = {
id: 'id',
uid: 'uid',
summary: 'summary',
addressLine1: 'addressLine1',
addressLine2: 'addressLine2',
city: 'city',
state: 'state',
zipCode: 'zipCode',
country: 'country',
contactName: 'contactName',
phone: 'phone',
phoneExtension: 'phoneExtension',
phoneType: 'phoneType',
email: 'email',
poNumber: 'poNumber',
billCompleteFlag: 'billCompleteFlag',
billUnapprovedFlag: 'billUnapprovedFlag',
billingAmount: 'billingAmount',
billingMethod: 'billingMethod',
timeBillableFlag: 'timeBillableFlag',
expenseBillableFlag: 'expenseBillableFlag',
productBillableFlag: 'productBillableFlag',
timeInvoiceableFlag: 'timeInvoiceableFlag',
expenseInvoiceableFlag: 'expenseInvoiceableFlag',
productInvoiceableFlag: 'productInvoiceableFlag',
dateRequested: 'dateRequested',
billingType: 'billingType',
billingInstructions: 'billingInstructions',
rejectedFlag: 'rejectedFlag',
closedFlag: 'closedFlag',
redFlag: 'redFlag',
publishFlag: 'publishFlag',
ticketOwnerId: 'ticketOwnerId',
serviceTicketBoardId: 'serviceTicketBoardId',
severityId: 'severityId',
impactId: 'impactId',
priorityId: 'priorityId',
sourceId: 'sourceId',
locationId: 'locationId',
parentId: 'parentId',
companyId: 'companyId',
contactId: 'contactId',
companyAddressId: 'companyAddressId',
billingCompanyId: 'billingCompanyId',
billingAddressId: 'billingAddressId',
createdById: 'createdById',
updatedById: 'updatedById',
closedById: 'closedById',
rejectedAt: 'rejectedAt',
closedAt: 'closedAt',
createdAt: 'createdAt',
updatedAt: 'updatedAt'
} as const
export type ServiceTicketScalarFieldEnum = (typeof ServiceTicketScalarFieldEnum)[keyof typeof ServiceTicketScalarFieldEnum]
export const ServiceTicketNoteScalarFieldEnum = {
id: 'id',
uid: 'uid',
notes: 'notes',
notesMd: 'notesMd',
authorId: 'authorId',
problemFlag: 'problemFlag',
resolutionFlag: 'resolutionFlag',
internalAnalysisFlag: 'internalAnalysisFlag',
internalMemberFlag: 'internalMemberFlag',
createdByParentFlag: 'createdByParentFlag',
mergedFlag: 'mergedFlag',
bundledFlag: 'bundledFlag',
serviceTicketId: 'serviceTicketId',
createdById: 'createdById',
updatedById: 'updatedById',
createdAt: 'createdAt',
updatedAt: 'updatedAt'
} as const
export type ServiceTicketNoteScalarFieldEnum = (typeof ServiceTicketNoteScalarFieldEnum)[keyof typeof ServiceTicketNoteScalarFieldEnum]
export const ServiceTicketTypeScalarFieldEnum = {
id: 'id',
uid: 'uid',
name: 'name',
description: 'description',
inactiveFlag: 'inactiveFlag',
updatedById: 'updatedById',
createdById: 'createdById',
createdAt: 'createdAt',
updatedAt: 'updatedAt'
} as const
export type ServiceTicketTypeScalarFieldEnum = (typeof ServiceTicketTypeScalarFieldEnum)[keyof typeof ServiceTicketTypeScalarFieldEnum]
export const ServiceTicketBoardScalarFieldEnum = {
id: 'id',
uid: 'uid',
name: 'name',
timeBillableFlag: 'timeBillableFlag',
expenseBillableFlag: 'expenseBillableFlag',
productBillableFlag: 'productBillableFlag',
timeInvoiceableFlag: 'timeInvoiceableFlag',
expenseInvoiceableFlag: 'expenseInvoiceableFlag',
productInvoiceableFlag: 'productInvoiceableFlag',
autoAssignNewFlag: 'autoAssignNewFlag',
autoAssignEmailCreatedFlag: 'autoAssignEmailCreatedFlag',
autoAssignPortalCreatedFlag: 'autoAssignPortalCreatedFlag',
projectFlag: 'projectFlag',
lockDescriptionFlag: 'lockDescriptionFlag',
emailContactFlag: 'emailContactFlag',
emailResourceFlag: 'emailResourceFlag',
resolutionSortOrder: 'resolutionSortOrder',
internalAnalysisSortOrder: 'internalAnalysisSortOrder',
locationId: 'locationId',
createdById: 'createdById',
updatedById: 'updatedById',
createdAt: 'createdAt',
updatedAt: 'updatedAt'
} as const
export type ServiceTicketBoardScalarFieldEnum = (typeof ServiceTicketBoardScalarFieldEnum)[keyof typeof ServiceTicketBoardScalarFieldEnum]
export const ServiceTicketLocationScalarFieldEnum = {
id: 'id',
uid: 'uid',
name: 'name',
description: 'description',
defaultFlag: 'defaultFlag',
updatedById: 'updatedById',
createdById: 'createdById',
createdAt: 'createdAt',
updatedAt: 'updatedAt'
} as const
export type ServiceTicketLocationScalarFieldEnum = (typeof ServiceTicketLocationScalarFieldEnum)[keyof typeof ServiceTicketLocationScalarFieldEnum]
export const ServiceTicketSourceScalarFieldEnum = {
id: 'id',
uid: 'uid',
name: 'name',
description: 'description',
inactiveFlag: 'inactiveFlag',
defaultFlag: 'defaultFlag',
updatedById: 'updatedById',
createdById: 'createdById',
createdAt: 'createdAt',
updatedAt: 'updatedAt'
} as const
export type ServiceTicketSourceScalarFieldEnum = (typeof ServiceTicketSourceScalarFieldEnum)[keyof typeof ServiceTicketSourceScalarFieldEnum]
export const ServiceTicketImpactScalarFieldEnum = {
id: 'id',
uid: 'uid',
name: 'name',
description: 'description',
defaultFlag: 'defaultFlag',
updatedById: 'updatedById',
createdById: 'createdById',
createdAt: 'createdAt',
updatedAt: 'updatedAt'
} as const
export type ServiceTicketImpactScalarFieldEnum = (typeof ServiceTicketImpactScalarFieldEnum)[keyof typeof ServiceTicketImpactScalarFieldEnum]
export const ServiceTicketPriorityScalarFieldEnum = {
id: 'id',
uid: 'uid',
name: 'name',
color: 'color',
description: 'description',
defaultFlag: 'defaultFlag',
updatedById: 'updatedById',
createdById: 'createdById',
createdAt: 'createdAt',
updatedAt: 'updatedAt'
} as const
export type ServiceTicketPriorityScalarFieldEnum = (typeof ServiceTicketPriorityScalarFieldEnum)[keyof typeof ServiceTicketPriorityScalarFieldEnum]
export const ServiceTicketSeverityScalarFieldEnum = {
id: 'id',
uid: 'uid',
name: 'name',
description: 'description',
defaultFlag: 'defaultFlag',
updatedById: 'updatedById',
createdById: 'createdById',
createdAt: 'createdAt',
updatedAt: 'updatedAt'
} as const
export type ServiceTicketSeverityScalarFieldEnum = (typeof ServiceTicketSeverityScalarFieldEnum)[keyof typeof ServiceTicketSeverityScalarFieldEnum]
export const ServiceTicketFinalDataScalarFieldEnum = {
id: 'id'
} as const
export type ServiceTicketFinalDataScalarFieldEnum = (typeof ServiceTicketFinalDataScalarFieldEnum)[keyof typeof ServiceTicketFinalDataScalarFieldEnum]
export const OpportunityStageScalarFieldEnum = {
id: 'id',
uid: 'uid',
name: 'name',
seqNbr: 'seqNbr',
funnelColor: 'funnelColor',
updatedById: 'updatedById',
createdAt: 'createdAt',
updatedAt: 'updatedAt'
} as const
export type OpportunityStageScalarFieldEnum = (typeof OpportunityStageScalarFieldEnum)[keyof typeof OpportunityStageScalarFieldEnum]
export const OpportunityTypeScalarFieldEnum = {
id: 'id',
uid: 'uid',
name: 'name',
description: 'description',
inactiveFlag: 'inactiveFlag',
updatedById: 'updatedById',
createdById: 'createdById',
createdAt: 'createdAt',
updatedAt: 'updatedAt'
} as const
export type OpportunityTypeScalarFieldEnum = (typeof OpportunityTypeScalarFieldEnum)[keyof typeof OpportunityTypeScalarFieldEnum]
export const OpportunityStatusScalarFieldEnum = {
id: 'id',
uid: 'uid',
name: 'name',
description: 'description',
inactiveFlag: 'inactiveFlag',
defaultFlag: 'defaultFlag',
wonFlag: 'wonFlag',
lostFlag: 'lostFlag',
closeFlag: 'closeFlag',
updatedById: 'updatedById',
createdById: 'createdById',
createdAt: 'createdAt',
updatedAt: 'updatedAt'
} as const
export type OpportunityStatusScalarFieldEnum = (typeof OpportunityStatusScalarFieldEnum)[keyof typeof OpportunityStatusScalarFieldEnum]
export const OpportunityScalarFieldEnum = {
id: 'id',
uid: 'uid',
name: 'name',
notes: 'notes',
oppNarrative: 'oppNarrative',
typeId: 'typeId',
stageId: 'stageId',
statusId: 'statusId',
taxCodeId: 'taxCodeId',
interest: 'interest',
probability: 'probability',
source: 'source',
primarySalesRepId: 'primarySalesRepId',
secondarySalesRepId: 'secondarySalesRepId',
companyId: 'companyId',
contactId: 'contactId',
siteId: 'siteId',
customerPO: 'customerPO',
locationId: 'locationId',
departmentId: 'departmentId',
expectedCloseDate: 'expectedCloseDate',
pipelineChangeDate: 'pipelineChangeDate',
dateBecameLead: 'dateBecameLead',
closedDate: 'closedDate',
closedFlag: 'closedFlag',
closedById: 'closedById',
productSequence: 'productSequence',
updatedBy: 'updatedBy',
eneteredBy: 'eneteredBy',
createdAt: 'createdAt',
updatedAt: 'updatedAt'
} as const
export type OpportunityScalarFieldEnum = (typeof OpportunityScalarFieldEnum)[keyof typeof OpportunityScalarFieldEnum]
export const ScheduleStatusScalarFieldEnum = {
id: 'id',
uid: 'uid',
name: 'name',
description: 'description',
color: 'color',
softFlag: 'softFlag',
defaultFlag: 'defaultFlag',
updatedById: 'updatedById',
createdById: 'createdById',
createdAt: 'createdAt',
updatedAt: 'updatedAt'
} as const
export type ScheduleStatusScalarFieldEnum = (typeof ScheduleStatusScalarFieldEnum)[keyof typeof ScheduleStatusScalarFieldEnum]
export const ScheduleTypeScalarFieldEnum = {
id: 'id',
uid: 'uid',
name: 'name',
description: 'description',
displayColor: 'displayColor',
tableReference: 'tableReference',
moduleId: 'moduleId',
scheduleTypeId: 'scheduleTypeId',
systemFlag: 'systemFlag',
displayFlag: 'displayFlag',
updatedById: 'updatedById',
createdById: 'createdById',
createdAt: 'createdAt',
updatedAt: 'updatedAt'
} as const
export type ScheduleTypeScalarFieldEnum = (typeof ScheduleTypeScalarFieldEnum)[keyof typeof ScheduleTypeScalarFieldEnum]
export const ScheduleSpanScalarFieldEnum = {
id: 'id',
scheduleSpanId: 'scheduleSpanId',
spanDesc: 'spanDesc'
} as const
export type ScheduleSpanScalarFieldEnum = (typeof ScheduleSpanScalarFieldEnum)[keyof typeof ScheduleSpanScalarFieldEnum]
export const ScheduleScalarFieldEnum = {
id: 'id',
uid: 'uid',
name: 'name',
description: 'description',
memberId: 'memberId',
closedFlag: 'closedFlag',
reminderFlag: 'reminderFlag',
allDayFlag: 'allDayFlag',
acknowledgementFlag: 'acknowledgementFlag',
meetingFlag: 'meetingFlag',
recurringFlag: 'recurringFlag',
billableFlag: 'billableFlag',
acknowledgedById: 'acknowledgedById',
acknowledgedAt: 'acknowledgedAt',
startDate: 'startDate',
endDate: 'endDate',
hoursScheduled: 'hoursScheduled',
duration: 'duration',
hoursPerDay: 'hoursPerDay',
reminderMinutes: 'reminderMinutes',
statusId: 'statusId',
typeId: 'typeId',
scheduleSpanId: 'scheduleSpanId',
updatedById: 'updatedById',
createdById: 'createdById',
closedById: 'closedById',
closedAt: 'closedAt',
createdAt: 'createdAt',
updatedAt: 'updatedAt'
} as const
export type ScheduleScalarFieldEnum = (typeof ScheduleScalarFieldEnum)[keyof typeof ScheduleScalarFieldEnum]
export const CredentialTypeScalarFieldEnum = {
id: 'id',
name: 'name',
permissionScope: 'permissionScope',
icon: 'icon',
fields: 'fields',
createdAt: 'createdAt',
updatedAt: 'updatedAt'
} as const
export type CredentialTypeScalarFieldEnum = (typeof CredentialTypeScalarFieldEnum)[keyof typeof CredentialTypeScalarFieldEnum]
export const SecureValueScalarFieldEnum = {
id: 'id',
name: 'name',
content: 'content',
hash: 'hash',
credentialId: 'credentialId',
createdAt: 'createdAt',
updatedAt: 'updatedAt'
} as const
export type SecureValueScalarFieldEnum = (typeof SecureValueScalarFieldEnum)[keyof typeof SecureValueScalarFieldEnum]
export const CredentialScalarFieldEnum = {
id: 'id',
name: 'name',
notes: 'notes',
subCredentialOfId: 'subCredentialOfId',
typeId: 'typeId',
fields: 'fields',
companyId: 'companyId',
createdAt: 'createdAt',
updatedAt: 'updatedAt'
} as const
export type CredentialScalarFieldEnum = (typeof CredentialScalarFieldEnum)[keyof typeof CredentialScalarFieldEnum]
export const GeneratedQuotesScalarFieldEnum = {
id: 'id',
quoteRegenData: 'quoteRegenData',
quoteRegenParams: 'quoteRegenParams',
quoteRegenHash: 'quoteRegenHash',
downloads: 'downloads',
quoteFile: 'quoteFile',
quoteFileName: 'quoteFileName',
opportunityId: 'opportunityId',
createdById: 'createdById',
createdAt: 'createdAt',
updatedAt: 'updatedAt'
} as const
export type GeneratedQuotesScalarFieldEnum = (typeof GeneratedQuotesScalarFieldEnum)[keyof typeof GeneratedQuotesScalarFieldEnum]
export const TaxCodeScalarFieldEnum = {
id: 'id',
uid: 'uid',
code: 'code',
codeCaption: 'codeCaption',
description: 'description',
rate: 'rate',
defaultFlag: 'defaultFlag',
createdBy: 'createdBy',
updatedBy: 'updatedBy',
createdAt: 'createdAt',
updatedAt: 'updatedAt'
} as const
export type TaxCodeScalarFieldEnum = (typeof TaxCodeScalarFieldEnum)[keyof typeof TaxCodeScalarFieldEnum]
export const CwMemberScalarFieldEnum = {
id: 'id',
cwMemberId: 'cwMemberId',
identifier: 'identifier',
firstName: 'firstName',
lastName: 'lastName',
officeEmail: 'officeEmail',
inactiveFlag: 'inactiveFlag',
apiKey: 'apiKey',
cwLastUpdated: 'cwLastUpdated',
createdAt: 'createdAt',
updatedAt: 'updatedAt'
} as const
export type CwMemberScalarFieldEnum = (typeof CwMemberScalarFieldEnum)[keyof typeof CwMemberScalarFieldEnum]
export const SortOrder = {
asc: 'asc',
desc: 'desc'
} as const
export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder]
export const JsonNullValueInput = {
JsonNull: JsonNull
} as const
export type JsonNullValueInput = (typeof JsonNullValueInput)[keyof typeof JsonNullValueInput]
export const QueryMode = {
default: 'default',
insensitive: 'insensitive'
} as const
export type QueryMode = (typeof QueryMode)[keyof typeof QueryMode]
export const NullsOrder = {
first: 'first',
last: 'last'
} as const
export type NullsOrder = (typeof NullsOrder)[keyof typeof NullsOrder]
export const JsonNullValueFilter = {
DbNull: DbNull,
JsonNull: JsonNull,
AnyNull: AnyNull
} as const
export type JsonNullValueFilter = (typeof JsonNullValueFilter)[keyof typeof JsonNullValueFilter]