all the haul

This commit is contained in:
2026-04-07 23:56:31 +00:00
parent 87cce83030
commit 24f303355b
244 changed files with 33743 additions and 11249 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large Load Diff
@@ -51,17 +51,50 @@ 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
@@ -81,6 +114,39 @@ export const TransactionIsolationLevel = runtime.makeStrictEnum({
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',
@@ -98,13 +164,18 @@ export const UserScalarFieldEnum = {
id: 'id',
permissions: 'permissions',
login: 'login',
name: 'name',
firstName: 'firstName',
lastName: 'lastName',
email: 'email',
emailVerified: 'emailVerified',
image: 'image',
title: 'title',
active: 'active',
hidden: 'hidden',
cwIdentifier: 'cwIdentifier',
cwMemberId: 'cwMemberId',
userId: 'userId',
token: 'token',
updatedBy: 'updatedBy',
createdAt: 'createdAt',
updatedAt: 'updatedAt'
} as const
@@ -124,6 +195,40 @@ export const RoleScalarFieldEnum = {
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',
@@ -138,9 +243,17 @@ export type UnifiSiteScalarFieldEnum = (typeof UnifiSiteScalarFieldEnum)[keyof t
export const CompanyScalarFieldEnum = {
id: 'id',
uid: 'uid',
name: 'name',
cw_CompanyId: 'cw_CompanyId',
cw_Identifier: 'cw_Identifier',
phone: 'phone',
website: 'website',
deleteFlag: 'deleteFlag',
dateDeleted: 'dateDeleted',
taxId: 'taxId',
taxExempt: 'taxExempt',
enteredById: 'enteredById',
deletedById: 'deletedById',
deletedAt: 'deletedAt',
createdAt: 'createdAt',
updatedAt: 'updatedAt'
} as const
@@ -148,20 +261,195 @@ export const CompanyScalarFieldEnum = {
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',
cwCatalogId: 'cwCatalogId',
uid: 'uid',
identifier: 'identifier',
name: 'name',
description: 'description',
customerDescription: 'customerDescription',
internalNotes: 'internalNotes',
category: 'category',
categoryCwId: 'categoryCwId',
subcategory: 'subcategory',
subcategoryCwId: 'subcategoryCwId',
manufacturer: 'manufacturer',
manufactureCwId: 'manufactureCwId',
subcategoryId: 'subcategoryId',
manufacturerId: 'manufacturerId',
partNumber: 'partNumber',
vendorName: 'vendorName',
vendorSku: 'vendorSku',
@@ -172,6 +460,7 @@ export const CatalogItemScalarFieldEnum = {
salesTaxable: 'salesTaxable',
onHand: 'onHand',
cwLastUpdated: 'cwLastUpdated',
classId: 'classId',
createdAt: 'createdAt',
updatedAt: 'updatedAt'
} as const
@@ -179,54 +468,338 @@ export const CatalogItemScalarFieldEnum = {
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',
cwOpportunityId: 'cwOpportunityId',
uid: 'uid',
name: 'name',
notes: 'notes',
typeName: 'typeName',
typeCwId: 'typeCwId',
stageName: 'stageName',
stageCwId: 'stageCwId',
statusName: 'statusName',
statusCwId: 'statusCwId',
priorityName: 'priorityName',
priorityCwId: 'priorityCwId',
ratingName: 'ratingName',
ratingCwId: 'ratingCwId',
source: 'source',
campaignName: 'campaignName',
campaignCwId: 'campaignCwId',
primarySalesRepName: 'primarySalesRepName',
primarySalesRepIdentifier: 'primarySalesRepIdentifier',
primarySalesRepCwId: 'primarySalesRepCwId',
secondarySalesRepName: 'secondarySalesRepName',
secondarySalesRepIdentifier: 'secondarySalesRepIdentifier',
secondarySalesRepCwId: 'secondarySalesRepCwId',
companyCwId: 'companyCwId',
companyName: 'companyName',
contactCwId: 'contactCwId',
contactName: 'contactName',
siteCwId: 'siteCwId',
siteName: 'siteName',
customerPO: 'customerPO',
totalSalesTax: 'totalSalesTax',
oppNarrative: 'oppNarrative',
typeId: 'typeId',
stageId: 'stageId',
statusId: 'statusId',
taxCodeId: 'taxCodeId',
interest: 'interest',
probability: 'probability',
locationName: 'locationName',
locationCwId: 'locationCwId',
departmentName: 'departmentName',
departmentCwId: 'departmentCwId',
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',
closedByName: 'closedByName',
closedByCwId: 'closedByCwId',
companyId: 'companyId',
closedById: 'closedById',
productSequence: 'productSequence',
cwLastUpdated: 'cwLastUpdated',
cwDateEntered: 'cwDateEntered',
updatedBy: 'updatedBy',
eneteredBy: 'eneteredBy',
createdAt: 'createdAt',
updatedAt: 'updatedAt'
} as const
@@ -234,6 +807,87 @@ export const OpportunityScalarFieldEnum = {
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',
@@ -292,6 +946,23 @@ export const GeneratedQuotesScalarFieldEnum = {
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',