Skip to content

Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.

generate types

crudmachineea9b22fbb218
diff --git a/packages/database/src/types.ts b/packages/database/src/types.ts
index c1a4c6e4fb..11f10d861b 100644
--- a/packages/database/src/types.ts
+++ b/packages/database/src/types.ts
@@ -40,6 +40,7 @@ export type Database = {
createdAt: string
createdBy: string
curve: Json
+ customFields: Json | null
id: string
name: string
shadowWeeks: number
@@ -51,6 +52,7 @@ export type Database = {
createdAt?: string
createdBy: string
curve?: Json
+ customFields?: Json | null
id?: string
name: string
shadowWeeks?: number
@@ -62,6 +64,7 @@ export type Database = {
createdAt?: string
createdBy?: string
curve?: Json
+ customFields?: Json | null
id?: string
name?: string
shadowWeeks?: number
@@ -124,6 +127,7 @@ export type Database = {
| null
createdAt: string
createdBy: string
+ customFields: Json | null
directPosting: boolean
id: string
incomeBalance: Database["public"]["Enums"]["glIncomeBalance"]
@@ -143,6 +147,7 @@ export type Database = {
| null
createdAt?: string
createdBy: string
+ customFields?: Json | null
directPosting?: boolean
id?: string
incomeBalance: Database["public"]["Enums"]["glIncomeBalance"]
@@ -162,6 +167,7 @@ export type Database = {
| null
createdAt?: string
createdBy?: string
+ customFields?: Json | null
directPosting?: boolean
id?: string
incomeBalance?: Database["public"]["Enums"]["glIncomeBalance"]
@@ -236,6 +242,7 @@ export type Database = {
class: Database["public"]["Enums"]["glAccountClass"]
createdAt: string
createdBy: string
+ customFields: Json | null
id: string
incomeBalance: Database["public"]["Enums"]["glIncomeBalance"]
updatedAt: string | null
@@ -246,6 +253,7 @@ export type Database = {
class: Database["public"]["Enums"]["glAccountClass"]
createdAt?: string
createdBy: string
+ customFields?: Json | null
id?: string
incomeBalance: Database["public"]["Enums"]["glIncomeBalance"]
updatedAt?: string | null
@@ -256,6 +264,7 @@ export type Database = {
class?: Database["public"]["Enums"]["glAccountClass"]
createdAt?: string
createdBy?: string
+ customFields?: Json | null
id?: string
incomeBalance?: Database["public"]["Enums"]["glIncomeBalance"]
updatedAt?: string | null
@@ -1101,6 +1110,7 @@ export type Database = {
active: boolean
createdAt: string
createdBy: string
+ customFields: Json | null
id: string
name: string
updatedAt: string | null
@@ -1111,6 +1121,7 @@ export type Database = {
active?: boolean
createdAt?: string
createdBy: string
+ customFields?: Json | null
id?: string
name: string
updatedAt?: string | null
@@ -1121,6 +1132,7 @@ export type Database = {
active?: boolean
createdAt?: string
createdBy?: string
+ customFields?: Json | null
id?: string
name?: string
updatedAt?: string | null
@@ -1414,6 +1426,7 @@ export type Database = {
active: boolean
createdAt: string
createdBy: string
+ customFields: Json | null
hoursPerWeek: number
id: string
updatedAt: string | null
@@ -1423,6 +1436,7 @@ export type Database = {
active?: boolean
createdAt?: string
createdBy: string
+ customFields?: Json | null
hoursPerWeek?: number
id: string
updatedAt?: string | null
@@ -1432,6 +1446,7 @@ export type Database = {
active?: boolean
createdAt?: string
createdBy?: string
+ customFields?: Json | null
hoursPerWeek?: number
id?: string
updatedAt?: string | null
@@ -1731,6 +1746,7 @@ export type Database = {
Row: {
active: boolean
code: string
+ customFields: Json | null
decimalPlaces: number
exchangeRate: number
id: string
@@ -1743,6 +1759,7 @@ export type Database = {
Insert: {
active?: boolean
code: string
+ customFields?: Json | null
decimalPlaces?: number
exchangeRate?: number
id?: string
@@ -1755,6 +1772,7 @@ export type Database = {
Update: {
active?: boolean
code?: string
+ customFields?: Json | null
decimalPlaces?: number
exchangeRate?: number
id?: string
@@ -1813,6 +1831,7 @@ export type Database = {
createdBy: string | null
customerStatusId: string | null
customerTypeId: string | null
+ customFields: Json | null
id: string
logo: string | null
name: string
@@ -1826,6 +1845,7 @@ export type Database = {
createdBy?: string | null
customerStatusId?: string | null
customerTypeId?: string | null
+ customFields?: Json | null
id?: string
logo?: string | null
name: string
@@ -1839,6 +1859,7 @@ export type Database = {
createdBy?: string | null
customerStatusId?: string | null
customerTypeId?: string | null
+ customFields?: Json | null
id?: string
logo?: string | null
name?: string
@@ -1982,6 +2003,7 @@ export type Database = {
contactId: string
customerId: string
customerLocationId: string | null
+ customFields: Json | null
id: string
userId: string | null
}
@@ -1989,6 +2011,7 @@ export type Database = {
contactId: string
customerId: string
customerLocationId?: string | null
+ customFields?: Json | null
id?: string
userId?: string | null
}
@@ -1996,6 +2019,7 @@ export type Database = {
contactId?: string
customerId?: string
customerLocationId?: string | null
+ customFields?: Json | null
id?: string
userId?: string | null
}
@@ -2055,16 +2079,19 @@ export type Database = {
Row: {
addressId: string
customerId: string
+ customFields: Json | null
id: string
}
Insert: {
addressId: string
customerId: string
+ customFields?: Json | null
id?: string
}
Update: {
addressId?: string
customerId?: string
+ customFields?: Json | null
id?: string
}
Relationships: [
@@ -2310,6 +2337,7 @@ export type Database = {
Row: {
createdAt: string
createdBy: string
+ customFields: Json | null
id: string
name: string
updatedAt: string | null
@@ -2318,6 +2346,7 @@ export type Database = {
Insert: {
createdAt?: string
createdBy: string
+ customFields?: Json | null
id?: string
name: string
updatedAt?: string | null
@@ -2326,6 +2355,7 @@ export type Database = {
Update: {
createdAt?: string
createdBy?: string
+ customFields?: Json | null
id?: string
name?: string
updatedAt?: string | null
@@ -2381,6 +2411,7 @@ export type Database = {
color: string | null
createdAt: string
createdBy: string
+ customFields: Json | null
id: string
name: string
protected: boolean
@@ -2391,6 +2422,7 @@ export type Database = {
color?: string | null
createdAt?: string
createdBy: string
+ customFields?: Json | null
id?: string
name: string
protected?: boolean
@@ -2401,6 +2433,7 @@ export type Database = {
color?: string | null
createdAt?: string
createdBy?: string
+ customFields?: Json | null
id?: string
name?: string
protected?: boolean
@@ -2693,6 +2726,7 @@ export type Database = {
color: string
createdAt: string
createdBy: string
+ customFields: Json | null
id: string
name: string
parentDepartmentId: string | null
@@ -2703,6 +2737,7 @@ export type Database = {
color?: string
createdAt?: string
createdBy: string
+ customFields?: Json | null
id?: string
name: string
parentDepartmentId?: string | null
@@ -2713,6 +2748,7 @@ export type Database = {
color?: string
createdAt?: string
createdBy?: string
+ customFields?: Json | null
id?: string
name?: string
parentDepartmentId?: string | null
@@ -2987,14 +3023,17 @@ export type Database = {
}
employee: {
Row: {
+ customFields: Json | null
employeeTypeId: string
id: string
}
Insert: {
+ customFields?: Json | null
employeeTypeId: string
id: string
}
Update: {
+ customFields?: Json | null
employeeTypeId?: string
id?: string
}
@@ -3033,6 +3072,7 @@ export type Database = {
Row: {
abilityId: string
active: boolean
+ customFields: Json | null
employeeId: string
id: string
lastTrainingDate: string | null
@@ -3042,6 +3082,7 @@ export type Database = {
Insert: {
abilityId: string
active?: boolean
+ customFields?: Json | null
employeeId: string
id?: string
lastTrainingDate?: string | null
@@ -3051,6 +3092,7 @@ export type Database = {
Update: {
abilityId?: string
active?: boolean
+ customFields?: Json | null
employeeId?: string
id?: string
lastTrainingDate?: string | null
@@ -3090,6 +3132,7 @@ export type Database = {
}
employeeJob: {
Row: {
+ customFields: Json | null
departmentId: string | null
id: string
locationId: string | null
@@ -3100,6 +3143,7 @@ export type Database = {
workCellId: string | null
}
Insert: {
+ customFields?: Json | null
departmentId?: string | null
id: string
locationId?: string | null
@@ -3110,6 +3154,7 @@ export type Database = {
workCellId?: string | null
}
Update: {
+ customFields?: Json | null
departmentId?: string | null
id?: string
locationId?: string | null
@@ -3208,16 +3253,19 @@ export type Database = {
}
employeeShift: {
Row: {
+ customFields: Json | null
employeeId: string
id: string
shiftId: string
}
Insert: {
+ customFields?: Json | null
employeeId: string
id?: string
shiftId: string
}
Update: {
+ customFields?: Json | null
employeeId?: string
id?: string
shiftId?: string
@@ -3334,6 +3382,7 @@ export type Database = {
activeDate: string | null
createdAt: string
createdBy: string
+ customFields: Json | null
description: string | null
equipmentTypeId: string
id: string
@@ -3350,6 +3399,7 @@ export type Database = {
activeDate?: string | null
createdAt?: string
createdBy: string
+ customFields?: Json | null
description?: string | null
equipmentTypeId: string
id?: string
@@ -3366,6 +3416,7 @@ export type Database = {
activeDate?: string | null
createdAt?: string
createdBy?: string
+ customFields?: Json | null
description?: string | null
equipmentTypeId?: string
id?: string
@@ -3463,6 +3514,7 @@ export type Database = {
color: string
createdAt: string
createdBy: string
+ customFields: Json | null
description: string | null
id: string
name: string
@@ -3476,6 +3528,7 @@ export type Database = {
color?: string
createdAt?: string
createdBy: string
+ customFields?: Json | null
description?: string | null
id?: string
name: string
@@ -3489,6 +3542,7 @@ export type Database = {
color?: string
createdAt?: string
createdBy?: string
+ customFields?: Json | null
description?: string | null
id?: string
name?: string
@@ -3656,6 +3710,7 @@ export type Database = {
Row: {
createdAt: string
createdBy: string
+ customFields: Json | null
date: string
id: string
name: string
@@ -3666,6 +3721,7 @@ export type Database = {
Insert: {
createdAt?: string
createdBy: string
+ customFields?: Json | null
date: string
id?: string
name: string
@@ -3676,6 +3732,7 @@ export type Database = {
Update: {
createdAt?: string
createdBy?: string
+ customFields?: Json | null
date?: string
id?: string
name?: string
@@ -3793,6 +3850,7 @@ export type Database = {
Row: {
accountingPeriodId: string | null
createdAt: string
+ customFields: Json | null
description: string | null
id: number
postingDate: string
@@ -3800,6 +3858,7 @@ export type Database = {
Insert: {
accountingPeriodId?: string | null
createdAt?: string
+ customFields?: Json | null
description?: string | null
id?: number
postingDate?: string
@@ -3807,6 +3866,7 @@ export type Database = {
Update: {
accountingPeriodId?: string | null
createdAt?: string
+ customFields?: Json | null
description?: string | null
id?: number
postingDate?: string
@@ -3827,6 +3887,7 @@ export type Database = {
accrual: boolean
amount: number
createdAt: string
+ customFields: Json | null
description: string | null
documentId: string | null
documentLineReference: string | null
@@ -3844,6 +3905,7 @@ export type Database = {
accrual?: boolean
amount: number
createdAt?: string
+ customFields?: Json | null
description?: string | null
documentId?: string | null
documentLineReference?: string | null
@@ -3861,6 +3923,7 @@ export type Database = {
accrual?: boolean
amount?: number
createdAt?: string
+ customFields?: Json | null
description?: string | null
documentId?: string | null
documentLineReference?: string | null
@@ -3898,6 +3961,7 @@ export type Database = {
countryCode: string | null
createdAt: string
createdBy: string
+ customFields: Json | null
id: string
latitude: number | null
longitude: number | null
@@ -3915,6 +3979,7 @@ export type Database = {
countryCode?: string | null
createdAt?: string
createdBy: string
+ customFields?: Json | null
id?: string
latitude?: number | null
longitude?: number | null
@@ -3932,6 +3997,7 @@ export type Database = {
countryCode?: string | null
createdAt?: string
createdBy?: string
+ customFields?: Json | null
id?: string
latitude?: number | null
longitude?: number | null
@@ -4064,6 +4130,7 @@ export type Database = {
blocked: boolean
createdAt: string
createdBy: string
+ customFields: Json | null
description: string | null
fromDate: string | null
id: string
@@ -4084,6 +4151,7 @@ export type Database = {
blocked?: boolean
createdAt?: string
createdBy: string
+ customFields?: Json | null
description?: string | null
fromDate?: string | null
id: string
@@ -4104,6 +4172,7 @@ export type Database = {
blocked?: boolean
createdAt?: string
createdBy?: string
+ customFields?: Json | null
description?: string | null
fromDate?: string | null
id?: string
@@ -4210,6 +4279,7 @@ export type Database = {
costIsAdjusted: boolean
createdAt: string
createdBy: string
+ customFields: Json | null
partId: string
standardCost: number
unitCost: number
@@ -4221,6 +4291,7 @@ export type Database = {
costIsAdjusted?: boolean
createdAt?: string
createdBy: string
+ customFields?: Json | null
partId: string
standardCost?: number
unitCost?: number
@@ -4232,6 +4303,7 @@ export type Database = {
costIsAdjusted?: boolean
createdAt?: string
createdBy?: string
+ customFields?: Json | null
partId?: string
standardCost?: number
unitCost?: number
@@ -4309,6 +4381,7 @@ export type Database = {
active: boolean
createdAt: string
createdBy: string
+ customFields: Json | null
description: string | null
id: string
name: string
@@ -4319,6 +4392,7 @@ export type Database = {
active?: boolean
createdAt?: string
createdBy: string
+ customFields?: Json | null
description?: string | null
id?: string
name: string
@@ -4329,6 +4403,7 @@ export type Database = {
active?: boolean
createdAt?: string
createdBy?: string
+ customFields?: Json | null
description?: string | null
id?: string
name?: string
@@ -4384,6 +4459,7 @@ export type Database = {
Row: {
createdAt: string
createdBy: string
+ customFields: Json | null
defaultShelfId: string | null
locationId: string
partId: string
@@ -4393,6 +4469,7 @@ export type Database = {
Insert: {
createdAt?: string
createdBy: string
+ customFields?: Json | null
defaultShelfId?: string | null
locationId: string
partId: string
@@ -4402,6 +4479,7 @@ export type Database = {
Update: {
createdAt?: string
createdBy?: string
+ customFields?: Json | null
defaultShelfId?: string | null
locationId?: string
partId?: string
@@ -4609,6 +4687,7 @@ export type Database = {
active: boolean
createdAt: string
createdBy: string
+ customFields: Json | null
hoursPerWeek: number
id: string
updatedAt: string | null
@@ -4619,6 +4698,7 @@ export type Database = {
active?: boolean
createdAt?: string
createdBy: string
+ customFields?: Json | null
hoursPerWeek?: number
id: string
updatedAt?: string | null
@@ -4629,6 +4709,7 @@ export type Database = {
active?: boolean
createdAt?: string
createdBy?: string
+ customFields?: Json | null
hoursPerWeek?: number
id?: string
updatedAt?: string | null
@@ -4698,6 +4779,7 @@ export type Database = {
createdAt: string
createdBy: string
critical: boolean
+ customFields: Json | null
demandAccumulationIncludesInventory: boolean
demandAccumulationPeriod: number
demandReschedulingPeriod: number
@@ -4719,6 +4801,7 @@ export type Database = {
createdAt?: string
createdBy: string
critical?: boolean
+ customFields?: Json | null
demandAccumulationIncludesInventory?: boolean
demandAccumulationPeriod?: number
demandReschedulingPeriod?: number
@@ -4740,6 +4823,7 @@ export type Database = {
createdAt?: string
createdBy?: string
critical?: boolean
+ customFields?: Json | null
demandAccumulationIncludesInventory?: boolean
demandAccumulationPeriod?: number
demandReschedulingPeriod?: number
@@ -4849,6 +4933,7 @@ export type Database = {
conversionFactor: number
createdAt: string
createdBy: string
+ customFields: Json | null
lotSize: number | null
manufacturingBlocked: boolean
manufacturingLeadTime: number
@@ -4867,6 +4952,7 @@ export type Database = {
conversionFactor?: number
createdAt?: string
createdBy: string
+ customFields?: Json | null
lotSize?: number | null
manufacturingBlocked?: boolean
manufacturingLeadTime?: number
@@ -4885,6 +4971,7 @@ export type Database = {
conversionFactor?: number
createdAt?: string
createdBy?: string
+ customFields?: Json | null
lotSize?: number | null
manufacturingBlocked?: boolean
manufacturingLeadTime?: number
@@ -5013,6 +5100,7 @@ export type Database = {
conversionFactor: number
createdAt: string
createdBy: string
+ customFields: Json | null
id: string
minimumOrderQuantity: number | null
partId: string
@@ -5027,6 +5115,7 @@ export type Database = {
conversionFactor?: number
createdAt?: string
createdBy: string
+ customFields?: Json | null
id?: string
minimumOrderQuantity?: number | null
partId: string
@@ -5041,6 +5130,7 @@ export type Database = {
conversionFactor?: number
createdAt?: string
createdBy?: string
+ customFields?: Json | null
id?: string
minimumOrderQuantity?: number | null
partId?: string
@@ -5157,6 +5247,7 @@ export type Database = {
createdAt: string
createdBy: string
currencyCode: string
+ customFields: Json | null
partId: string
priceIncludesTax: boolean
salesBlocked: boolean
@@ -5170,6 +5261,7 @@ export type Database = {
createdAt?: string
createdBy: string
currencyCode: string
+ customFields?: Json | null
partId: string
priceIncludesTax?: boolean
salesBlocked?: boolean
@@ -5183,6 +5275,7 @@ export type Database = {
createdAt?: string
createdBy?: string
currencyCode?: string
+ customFields?: Json | null
partId?: string
priceIncludesTax?: boolean
salesBlocked?: boolean
@@ -5277,6 +5370,7 @@ export type Database = {
calculationMethod: Database["public"]["Enums"]["paymentTermCalculationMethod"]
createdAt: string
createdBy: string
+ customFields: Json | null
daysDiscount: number
daysDue: number
discountPercentage: number
@@ -5290,6 +5384,7 @@ export type Database = {
calculationMethod?: Database["public"]["Enums"]["paymentTermCalculationMethod"]
createdAt?: string
createdBy: string
+ customFields?: Json | null
daysDiscount?: number
daysDue?: number
discountPercentage?: number
@@ -5303,6 +5398,7 @@ export type Database = {
calculationMethod?: Database["public"]["Enums"]["paymentTermCalculationMethod"]
createdAt?: string
createdBy?: string
+ customFields?: Json | null
daysDiscount?: number
daysDue?: number
discountPercentage?: number
@@ -6010,6 +6106,7 @@ export type Database = {
createdAt: string
createdBy: string
currencyCode: string
+ customFields: Json | null
dateDue: string | null
dateIssued: string | null
datePaid: string | null
@@ -6036,6 +6133,7 @@ export type Database = {
createdAt?: string
createdBy: string
currencyCode: string
+ customFields?: Json | null
dateDue?: string | null
dateIssued?: string | null
datePaid?: string | null
@@ -6062,6 +6160,7 @@ export type Database = {
createdAt?: string
createdBy?: string
currencyCode?: string
+ customFields?: Json | null
dateDue?: string | null
dateIssued?: string | null
datePaid?: string | null
@@ -6233,6 +6332,7 @@ export type Database = {
createdAt: string
createdBy: string
currencyCode: string
+ customFields: Json | null
description: string | null
exchangeRate: number
id: string
@@ -6257,6 +6357,7 @@ export type Database = {
createdAt?: string
createdBy: string
currencyCode: string
+ customFields?: Json | null
description?: string | null
exchangeRate?: number
id?: string
@@ -6281,6 +6382,7 @@ export type Database = {
createdAt?: string
createdBy?: string
currencyCode?: string
+ customFields?: Json | null
description?: string | null
exchangeRate?: number
id?: string
@@ -6642,6 +6744,7 @@ export type Database = {
closedBy: string | null
createdAt: string
createdBy: string
+ customFields: Json | null
id: string
notes: string | null
orderDate: string
@@ -6661,6 +6764,7 @@ export type Database = {
closedBy?: string | null
createdAt?: string
createdBy: string
+ customFields?: Json | null
id?: string
notes?: string | null
orderDate?: string
@@ -6680,6 +6784,7 @@ export type Database = {
closedBy?: string | null
createdAt?: string
createdBy?: string
+ customFields?: Json | null
id?: string
notes?: string | null
orderDate?: string
@@ -6813,6 +6918,7 @@ export type Database = {
Row: {
customerId: string | null
customerLocationId: string | null
+ customFields: Json | null
deliveryDate: string | null
dropShipment: boolean
id: string
@@ -6829,6 +6935,7 @@ export type Database = {
Insert: {
customerId?: string | null
customerLocationId?: string | null
+ customFields?: Json | null
deliveryDate?: string | null
dropShipment?: boolean
id: string
@@ -6845,6 +6952,7 @@ export type Database = {
Update: {
customerId?: string | null
customerLocationId?: string | null
+ customFields?: Json | null
deliveryDate?: string | null
dropShipment?: boolean
id?: string
@@ -7023,6 +7131,7 @@ export type Database = {
assetId: string | null
createdAt: string
createdBy: string
+ customFields: Json | null
description: string | null
id: string
invoicedComplete: boolean
@@ -7050,6 +7159,7 @@ export type Database = {
assetId?: string | null
createdAt?: string
createdBy: string
+ customFields?: Json | null
description?: string | null
id?: string
invoicedComplete?: boolean
@@ -7077,6 +7187,7 @@ export type Database = {
assetId?: string | null
createdAt?: string
createdBy?: string
+ customFields?: Json | null
description?: string | null
id?: string
invoicedComplete?: boolean
@@ -7231,6 +7342,7 @@ export type Database = {
purchaseOrderPayment: {
Row: {
currencyCode: string
+ customFields: Json | null
id: string
invoiceSupplierContactId: string | null
invoiceSupplierId: string | null
@@ -7242,6 +7354,7 @@ export type Database = {
}
Insert: {
currencyCode?: string
+ customFields?: Json | null
id: string
invoiceSupplierContactId?: string | null
invoiceSupplierId?: string | null
@@ -7253,6 +7366,7 @@ export type Database = {
}
Update: {
currencyCode?: string
+ customFields?: Json | null
id?: string
invoiceSupplierContactId?: string | null
invoiceSupplierId?: string | null
@@ -7488,6 +7602,7 @@ export type Database = {
createdAt: string
createdBy: string
currencyCode: string
+ customFields: Json | null
exchangeRate: number
id: string
paymentDate: string | null
@@ -7501,6 +7616,7 @@ export type Database = {
createdAt?: string
createdBy: string
currencyCode: string
+ customFields?: Json | null
exchangeRate?: number
id?: string
paymentDate?: string | null
@@ -7514,6 +7630,7 @@ export type Database = {
createdAt?: string
createdBy?: string
currencyCode?: string
+ customFields?: Json | null
exchangeRate?: number
id?: string
paymentDate?: string | null
@@ -7618,6 +7735,7 @@ export type Database = {
customerId: string
customerLocationId: string | null
customerReference: string | null
+ customFields: Json | null
expirationDate: string | null
id: string
locationId: string | null
@@ -7638,6 +7756,7 @@ export type Database = {
customerId: string
customerLocationId?: string | null
customerReference?: string | null
+ customFields?: Json | null
expirationDate?: string | null
id?: string
locationId?: string | null
@@ -7658,6 +7777,7 @@ export type Database = {
customerId?: string
customerLocationId?: string | null
customerReference?: string | null
+ customFields?: Json | null
expirationDate?: string | null
id?: string
locationId?: string | null
@@ -7790,6 +7910,7 @@ export type Database = {
Row: {
createdAt: string
createdBy: string
+ customFields: Json | null
description: string | null
id: string
parentAssemblyId: string | null
@@ -7804,6 +7925,7 @@ export type Database = {
Insert: {
createdAt?: string
createdBy: string
+ customFields?: Json | null
description?: string | null
id?: string
parentAssemblyId?: string | null
@@ -7818,6 +7940,7 @@ export type Database = {
Update: {
createdAt?: string
createdBy?: string
+ customFields?: Json | null
description?: string | null
id?: string
parentAssemblyId?: string | null
@@ -7958,6 +8081,7 @@ export type Database = {
createdBy: string
customerPartId: string | null
customerPartRevision: string | null
+ customFields: Json | null
description: string
id: string
partId: string
@@ -7973,6 +8097,7 @@ export type Database = {
createdBy: string
customerPartId?: string | null
customerPartRevision?: string | null
+ customFields?: Json | null
description: string
id?: string
partId: string
@@ -7988,6 +8113,7 @@ export type Database = {
createdBy?: string
customerPartId?: string | null
customerPartRevision?: string | null
+ customFields?: Json | null
description?: string
id?: string
partId?: string
@@ -8205,6 +8331,7 @@ export type Database = {
Row: {
createdAt: string
createdBy: string
+ customFields: Json | null
description: string
id: string
partId: string
@@ -8220,6 +8347,7 @@ export type Database = {
Insert: {
createdAt?: string
createdBy: string
+ customFields?: Json | null
description: string
id?: string
partId: string
@@ -8235,6 +8363,7 @@ export type Database = {
Update: {
createdAt?: string
createdBy?: string
+ customFields?: Json | null
description?: string
id?: string
partId?: string
@@ -8345,6 +8474,7 @@ export type Database = {
Row: {
createdAt: string
createdBy: string
+ customFields: Json | null
description: string | null
equipmentTypeId: string | null
id: string
@@ -8364,6 +8494,7 @@ export type Database = {
Insert: {
createdAt?: string
createdBy: string
+ customFields?: Json | null
description?: string | null
equipmentTypeId?: string | null
id?: string
@@ -8383,6 +8514,7 @@ export type Database = {
Update: {
createdAt?: string
createdBy?: string
+ customFields?: Json | null
description?: string | null
equipmentTypeId?: string | null
id?: string
@@ -8490,6 +8622,7 @@ export type Database = {
Row: {
createdAt: string
createdBy: string
+ customFields: Json | null
externalDocumentId: string | null
id: string
invoiced: boolean | null
@@ -8509,6 +8642,7 @@ export type Database = {
Insert: {
createdAt?: string
createdBy: string
+ customFields?: Json | null
externalDocumentId?: string | null
id?: string
invoiced?: boolean | null
@@ -8528,6 +8662,7 @@ export type Database = {
Update: {
createdAt?: string
createdBy?: string
+ customFields?: Json | null
externalDocumentId?: string | null
id?: string
invoiced?: boolean | null
@@ -8809,6 +8944,7 @@ export type Database = {
Row: {
createdAt: string | null
createdBy: string
+ customFields: Json | null
expirationDate: string | null
id: string
locationId: string | null
@@ -8824,6 +8960,7 @@ export type Database = {
Insert: {
createdAt?: string | null
createdBy: string
+ customFields?: Json | null
expirationDate?: string | null
id?: string
locationId?: string | null
@@ -8839,6 +8976,7 @@ export type Database = {
Update: {
createdAt?: string | null
createdBy?: string
+ customFields?: Json | null
expirationDate?: string | null
id?: string
locationId?: string | null
@@ -8972,6 +9110,7 @@ export type Database = {
Row: {
createdAt: string | null
createdBy: string
+ customFields: Json | null
description: string | null
id: string
locationId: string | null
@@ -8987,6 +9126,7 @@ export type Database = {
Insert: {
createdAt?: string | null
createdBy: string
+ customFields?: Json | null
description?: string | null
id?: string
locationId?: string | null
@@ -9002,6 +9142,7 @@ export type Database = {
Update: {
createdAt?: string | null
createdBy?: string
+ customFields?: Json | null
description?: string | null
id?: string
locationId?: string | null
@@ -9134,6 +9275,7 @@ export type Database = {
completedAt: string | null
createdAt: string | null
createdBy: string
+ customFields: Json | null
id: string
password: string | null
requestForQuoteId: string
@@ -9148,6 +9290,7 @@ export type Database = {
completedAt?: string | null
createdAt?: string | null
createdBy: string
+ customFields?: Json | null
id?: string
password?: string | null
requestForQuoteId: string
@@ -9162,6 +9305,7 @@ export type Database = {
completedAt?: string | null
createdAt?: string | null
createdBy?: string
+ customFields?: Json | null
id?: string
password?: string | null
requestForQuoteId?: string
@@ -9483,6 +9627,7 @@ export type Database = {
blocked: boolean
createdAt: string
createdBy: string
+ customFields: Json | null
description: string | null
fromDate: string | null
id: string
@@ -9500,6 +9645,7 @@ export type Database = {
blocked?: boolean
createdAt?: string
createdBy: string
+ customFields?: Json | null
description?: string | null
fromDate?: string | null
id: string
@@ -9517,6 +9663,7 @@ export type Database = {
blocked?: boolean
createdAt?: string
createdBy?: string
+ customFields?: Json | null
description?: string | null
fromDate?: string | null
id?: string
@@ -9612,6 +9759,7 @@ export type Database = {
active: boolean
createdAt: string
createdBy: string
+ customFields: Json | null
id: string
serviceId: string
supplierId: string
@@ -9623,6 +9771,7 @@ export type Database = {
active?: boolean
createdAt?: string
createdBy: string
+ customFields?: Json | null
id?: string
serviceId: string
supplierId: string
@@ -9634,6 +9783,7 @@ export type Database = {
active?: boolean
createdAt?: string
createdBy?: string
+ customFields?: Json | null
id?: string
serviceId?: string
supplierId?: string
@@ -9740,6 +9890,7 @@ export type Database = {
active: boolean
createdAt: string
createdBy: string
+ customFields: Json | null
id: string
locationId: string
updatedAt: string | null
@@ -9750,6 +9901,7 @@ export type Database = {
active?: boolean
createdAt?: string
createdBy: string
+ customFields?: Json | null
id: string
locationId: string
updatedAt?: string | null
@@ -9760,6 +9912,7 @@ export type Database = {
active?: boolean
createdAt?: string
createdBy?: string
+ customFields?: Json | null
id?: string
locationId?: string
updatedAt?: string | null
@@ -9842,6 +9995,7 @@ export type Database = {
shift: {
Row: {
active: boolean
+ customFields: Json | null
endTime: string
friday: boolean
id: string
@@ -9857,6 +10011,7 @@ export type Database = {
}
Insert: {
active?: boolean
+ customFields?: Json | null
endTime: string
friday?: boolean
id?: string
@@ -9872,6 +10027,7 @@ export type Database = {
}
Update: {
active?: boolean
+ customFields?: Json | null
endTime?: string
friday?: boolean
id?: string
@@ -9916,6 +10072,7 @@ export type Database = {
carrierAccountId: string | null
createdAt: string
createdBy: string
+ customFields: Json | null
id: string
name: string
trackingUrl: string | null
@@ -9928,6 +10085,7 @@ export type Database = {
carrierAccountId?: string | null
createdAt?: string
createdBy: string
+ customFields?: Json | null
id?: string
name: string
trackingUrl?: string | null
@@ -9940,6 +10098,7 @@ export type Database = {
carrierAccountId?: string | null
createdAt?: string
createdBy?: string
+ customFields?: Json | null
id?: string
name?: string
trackingUrl?: string | null
@@ -10083,6 +10242,7 @@ export type Database = {
accountManagerId: string | null
createdAt: string
createdBy: string | null
+ customFields: Json | null
id: string
logo: string | null
name: string
@@ -10096,6 +10256,7 @@ export type Database = {
accountManagerId?: string | null
createdAt?: string
createdBy?: string | null
+ customFields?: Json | null
id?: string
logo?: string | null
name: string
@@ -10109,6 +10270,7 @@ export type Database = {
accountManagerId?: string | null
createdAt?: string
createdBy?: string | null
+ customFields?: Json | null
id?: string
logo?: string | null
name?: string
@@ -10273,6 +10435,7 @@ export type Database = {
supplierContact: {
Row: {
contactId: string
+ customFields: Json | null
id: string
supplierId: string
supplierLocationId: string | null
@@ -10280,6 +10443,7 @@ export type Database = {
}
Insert: {
contactId: string
+ customFields?: Json | null
id?: string
supplierId: string
supplierLocationId?: string | null
@@ -10287,6 +10451,7 @@ export type Database = {
}
Update: {
contactId?: string
+ customFields?: Json | null
id?: string
supplierId?: string
supplierLocationId?: string | null
@@ -10446,16 +10611,19 @@ export type Database = {
supplierLocation: {
Row: {
addressId: string
+ customFields: Json | null
id: string
supplierId: string
}
Insert: {
addressId: string
+ customFields?: Json | null
id?: string
supplierId: string
}
Update: {
addressId?: string
+ customFields?: Json | null
id?: string
supplierId?: string
}
@@ -10507,6 +10675,7 @@ export type Database = {
supplierPayment: {
Row: {
currencyCode: string | null
+ customFields: Json | null
invoiceSupplierContactId: string | null
invoiceSupplierId: string | null
invoiceSupplierLocationId: string | null
@@ -10517,6 +10686,7 @@ export type Database = {
}
Insert: {
currencyCode?: string | null
+ customFields?: Json | null
invoiceSupplierContactId?: string | null
invoiceSupplierId?: string | null
invoiceSupplierLocationId?: string | null
@@ -10527,6 +10697,7 @@ export type Database = {
}
Update: {
currencyCode?: string | null
+ customFields?: Json | null
invoiceSupplierContactId?: string | null
invoiceSupplierId?: string | null
invoiceSupplierLocationId?: string | null
@@ -10652,6 +10823,7 @@ export type Database = {
}
supplierShipping: {
Row: {
+ customFields: Json | null
shippingMethodId: string | null
shippingSupplierContactId: string | null
shippingSupplierId: string | null
@@ -10662,6 +10834,7 @@ export type Database = {
updatedBy: string | null
}
Insert: {
+ customFields?: Json | null
shippingMethodId?: string | null
shippingSupplierContactId?: string | null
shippingSupplierId?: string | null
@@ -10672,6 +10845,7 @@ export type Database = {
updatedBy?: string | null
}
Update: {
+ customFields?: Json | null
shippingMethodId?: string | null
shippingSupplierContactId?: string | null
shippingSupplierId?: string | null
@@ -10807,6 +10981,7 @@ export type Database = {
Row: {
createdAt: string
createdBy: string
+ customFields: Json | null
id: string
name: string
updatedAt: string | null
@@ -10815,6 +10990,7 @@ export type Database = {
Insert: {
createdAt?: string
createdBy: string
+ customFields?: Json | null
id?: string
name: string
updatedAt?: string | null
@@ -10823,6 +10999,7 @@ export type Database = {
Update: {
createdAt?: string
createdBy?: string
+ customFields?: Json | null
id?: string
name?: string
updatedAt?: string | null
@@ -10878,6 +11055,7 @@ export type Database = {
color: string | null
createdAt: string
createdBy: string
+ customFields: Json | null
id: string
name: string
protected: boolean
@@ -10888,6 +11066,7 @@ export type Database = {
color?: string | null
createdAt?: string
createdBy: string
+ customFields?: Json | null
id?: string
name: string
protected?: boolean
@@ -10898,6 +11077,7 @@ export type Database = {
color?: string | null
createdAt?: string
createdBy?: string
+ customFields?: Json | null
id?: string
name?: string
protected?: boolean
@@ -10998,6 +11178,7 @@ export type Database = {
code: string
createdAt: string
createdBy: string
+ customFields: Json | null
id: string
name: string
updatedAt: string | null
@@ -11008,6 +11189,7 @@ export type Database = {
code: string
createdAt?: string
createdBy: string
+ customFields?: Json | null
id?: string
name: string
updatedAt?: string | null
@@ -11018,6 +11200,7 @@ export type Database = {
code?: string
createdAt?: string
createdBy?: string
+ customFields?: Json | null
id?: string
name?: string
updatedAt?: string | null
@@ -11546,6 +11729,7 @@ export type Database = {
activeDate: string | null
createdAt: string
createdBy: string
+ customFields: Json | null
defaultStandardFactor: Database["public"]["Enums"]["factor"]
departmentId: string
description: string | null
@@ -11561,6 +11745,7 @@ export type Database = {
activeDate?: string | null
createdAt?: string
createdBy: string
+ customFields?: Json | null
defaultStandardFactor?: Database["public"]["Enums"]["factor"]
departmentId: string
description?: string | null
@@ -11576,6 +11761,7 @@ export type Database = {
activeDate?: string | null
createdAt?: string
createdBy?: string
+ customFields?: Json | null
defaultStandardFactor?: Database["public"]["Enums"]["factor"]
departmentId?: string
description?: string | null
@@ -11630,6 +11816,7 @@ export type Database = {
color: string
createdAt: string
createdBy: string
+ customFields: Json | null
defaultStandardFactor: Database["public"]["Enums"]["factor"]
description: string | null
id: string
@@ -11646,6 +11833,7 @@ export type Database = {
color?: string
createdAt?: string
createdBy: string
+ customFields?: Json | null
defaultStandardFactor?: Database["public"]["Enums"]["factor"]
description?: string | null
id?: string
@@ -11662,6 +11850,7 @@ export type Database = {
color?: string
createdAt?: string
createdBy?: string
+ customFields?: Json | null
defaultStandardFactor?: Database["public"]["Enums"]["factor"]
description?: string | null
id?: string
diff --git a/packages/database/supabase/functions/lib/types.ts b/packages/database/supabase/functions/lib/types.ts
index c1a4c6e4fb..11f10d861b 100644
--- a/packages/database/supabase/functions/lib/types.ts
+++ b/packages/database/supabase/functions/lib/types.ts
@@ -40,6 +40,7 @@ export type Database = {
createdAt: string
createdBy: string
curve: Json
+ customFields: Json | null
id: string
name: string
shadowWeeks: number
@@ -51,6 +52,7 @@ export type Database = {
createdAt?: string
createdBy: string
curve?: Json
+ customFields?: Json | null
id?: string
name: string
shadowWeeks?: number
@@ -62,6 +64,7 @@ export type Database = {
createdAt?: string
createdBy?: string
curve?: Json
+ customFields?: Json | null
id?: string
name?: string
shadowWeeks?: number
@@ -124,6 +127,7 @@ export type Database = {
| null
createdAt: string
createdBy: string
+ customFields: Json | null
directPosting: boolean
id: string
incomeBalance: Database["public"]["Enums"]["glIncomeBalance"]
@@ -143,6 +147,7 @@ export type Database = {
| null
createdAt?: string
createdBy: string
+ customFields?: Json | null
directPosting?: boolean
id?: string
incomeBalance: Database["public"]["Enums"]["glIncomeBalance"]
@@ -162,6 +167,7 @@ export type Database = {
| null
createdAt?: string
createdBy?: string
+ customFields?: Json | null
directPosting?: boolean
id?: string
incomeBalance?: Database["public"]["Enums"]["glIncomeBalance"]
@@ -236,6 +242,7 @@ export type Database = {
class: Database["public"]["Enums"]["glAccountClass"]
createdAt: string
createdBy: string
+ customFields: Json | null
id: string
incomeBalance: Database["public"]["Enums"]["glIncomeBalance"]
updatedAt: string | null
@@ -246,6 +253,7 @@ export type Database = {
class: Database["public"]["Enums"]["glAccountClass"]
createdAt?: string
createdBy: string
+ customFields?: Json | null
id?: string
incomeBalance: Database["public"]["Enums"]["glIncomeBalance"]
updatedAt?: string | null
@@ -256,6 +264,7 @@ export type Database = {
class?: Database["public"]["Enums"]["glAccountClass"]
createdAt?: string
createdBy?: string
+ customFields?: Json | null
id?: string
incomeBalance?: Database["public"]["Enums"]["glIncomeBalance"]
updatedAt?: string | null
@@ -1101,6 +1110,7 @@ export type Database = {
active: boolean
createdAt: string
createdBy: string
+ customFields: Json | null
id: string
name: string
updatedAt: string | null
@@ -1111,6 +1121,7 @@ export type Database = {
active?: boolean
createdAt?: string
createdBy: string
+ customFields?: Json | null
id?: string
name: string
updatedAt?: string | null
@@ -1121,6 +1132,7 @@ export type Database = {
active?: boolean
createdAt?: string
createdBy?: string
+ customFields?: Json | null
id?: string
name?: string
updatedAt?: string | null
@@ -1414,6 +1426,7 @@ export type Database = {
active: boolean
createdAt: string
createdBy: string
+ customFields: Json | null
hoursPerWeek: number
id: string
updatedAt: string | null
@@ -1423,6 +1436,7 @@ export type Database = {
active?: boolean
createdAt?: string
createdBy: string
+ customFields?: Json | null
hoursPerWeek?: number
id: string
updatedAt?: string | null
@@ -1432,6 +1446,7 @@ export type Database = {
active?: boolean
createdAt?: string
createdBy?: string
+ customFields?: Json | null
hoursPerWeek?: number
id?: string
updatedAt?: string | null
@@ -1731,6 +1746,7 @@ export type Database = {
Row: {
active: boolean
code: string
+ customFields: Json | null
decimalPlaces: number
exchangeRate: number
id: string
@@ -1743,6 +1759,7 @@ export type Database = {
Insert: {
active?: boolean
code: string
+ customFields?: Json | null
decimalPlaces?: number
exchangeRate?: number
id?: string
@@ -1755,6 +1772,7 @@ export type Database = {
Update: {
active?: boolean
code?: string
+ customFields?: Json | null
decimalPlaces?: number
exchangeRate?: number
id?: string
@@ -1813,6 +1831,7 @@ export type Database = {
createdBy: string | null
customerStatusId: string | null
customerTypeId: string | null
+ customFields: Json | null
id: string
logo: string | null
name: string
@@ -1826,6 +1845,7 @@ export type Database = {
createdBy?: string | null
customerStatusId?: string | null
customerTypeId?: string | null
+ customFields?: Json | null
id?: string
logo?: string | null
name: string
@@ -1839,6 +1859,7 @@ export type Database = {
createdBy?: string | null
customerStatusId?: string | null
customerTypeId?: string | null
+ customFields?: Json | null
id?: string
logo?: string | null
name?: string
@@ -1982,6 +2003,7 @@ export type Database = {
contactId: string
customerId: string
customerLocationId: string | null
+ customFields: Json | null
id: string
userId: string | null
}
@@ -1989,6 +2011,7 @@ export type Database = {
contactId: string
customerId: string
customerLocationId?: string | null
+ customFields?: Json | null
id?: string
userId?: string | null
}
@@ -1996,6 +2019,7 @@ export type Database = {
contactId?: string
customerId?: string
customerLocationId?: string | null
+ customFields?: Json | null
id?: string
userId?: string | null
}
@@ -2055,16 +2079,19 @@ export type Database = {
Row: {
addressId: string
customerId: string
+ customFields: Json | null
id: string
}
Insert: {
addressId: string
customerId: string
+ customFields?: Json | null
id?: string
}
Update: {
addressId?: string
customerId?: string
+ customFields?: Json | null
id?: string
}
Relationships: [
@@ -2310,6 +2337,7 @@ export type Database = {
Row: {
createdAt: string
createdBy: string
+ customFields: Json | null
id: string
name: string
updatedAt: string | null
@@ -2318,6 +2346,7 @@ export type Database = {
Insert: {
createdAt?: string
createdBy: string
+ customFields?: Json | null
id?: string
name: string
updatedAt?: string | null
@@ -2326,6 +2355,7 @@ export type Database = {
Update: {
createdAt?: string
createdBy?: string
+ customFields?: Json | null
id?: string
name?: string
updatedAt?: string | null
@@ -2381,6 +2411,7 @@ export type Database = {
color: string | null
createdAt: string
createdBy: string
+ customFields: Json | null
id: string
name: string
protected: boolean
@@ -2391,6 +2422,7 @@ export type Database = {
color?: string | null
createdAt?: string
createdBy: string
+ customFields?: Json | null
id?: string
name: string
protected?: boolean
@@ -2401,6 +2433,7 @@ export type Database = {
color?: string | null
createdAt?: string
createdBy?: string
+ customFields?: Json | null
id?: string
name?: string
protected?: boolean
@@ -2693,6 +2726,7 @@ export type Database = {
color: string
createdAt: string
createdBy: string
+ customFields: Json | null
id: string
name: string
parentDepartmentId: string | null
@@ -2703,6 +2737,7 @@ export type Database = {
color?: string
createdAt?: string
createdBy: string
+ customFields?: Json | null
id?: string
name: string
parentDepartmentId?: string | null
@@ -2713,6 +2748,7 @@ export type Database = {
color?: string
createdAt?: string
createdBy?: string
+ customFields?: Json | null
id?: string
name?: string
parentDepartmentId?: string | null
@@ -2987,14 +3023,17 @@ export type Database = {
}
employee: {
Row: {
+ customFields: Json | null
employeeTypeId: string
id: string
}
Insert: {
+ customFields?: Json | null
employeeTypeId: string
id: string
}
Update: {
+ customFields?: Json | null
employeeTypeId?: string
id?: string
}
@@ -3033,6 +3072,7 @@ export type Database = {
Row: {
abilityId: string
active: boolean
+ customFields: Json | null
employeeId: string
id: string
lastTrainingDate: string | null
@@ -3042,6 +3082,7 @@ export type Database = {
Insert: {
abilityId: string
active?: boolean
+ customFields?: Json | null
employeeId: string
id?: string
lastTrainingDate?: string | null
@@ -3051,6 +3092,7 @@ export type Database = {
Update: {
abilityId?: string
active?: boolean
+ customFields?: Json | null
employeeId?: string
id?: string
lastTrainingDate?: string | null
@@ -3090,6 +3132,7 @@ export type Database = {
}
employeeJob: {
Row: {
+ customFields: Json | null
departmentId: string | null
id: string
locationId: string | null
@@ -3100,6 +3143,7 @@ export type Database = {
workCellId: string | null
}
Insert: {
+ customFields?: Json | null
departmentId?: string | null
id: string
locationId?: string | null
@@ -3110,6 +3154,7 @@ export type Database = {
workCellId?: string | null
}
Update: {
+ customFields?: Json | null
departmentId?: string | null
id?: string
locationId?: string | null
@@ -3208,16 +3253,19 @@ export type Database = {
}
employeeShift: {
Row: {
+ customFields: Json | null
employeeId: string
id: string
shiftId: string
}
Insert: {
+ customFields?: Json | null
employeeId: string
id?: string
shiftId: string
}
Update: {
+ customFields?: Json | null
employeeId?: string
id?: string
shiftId?: string
@@ -3334,6 +3382,7 @@ export type Database = {
activeDate: string | null
createdAt: string
createdBy: string
+ customFields: Json | null
description: string | null
equipmentTypeId: string
id: string
@@ -3350,6 +3399,7 @@ export type Database = {
activeDate?: string | null
createdAt?: string
createdBy: string
+ customFields?: Json | null
description?: string | null
equipmentTypeId: string
id?: string
@@ -3366,6 +3416,7 @@ export type Database = {
activeDate?: string | null
createdAt?: string
createdBy?: string
+ customFields?: Json | null
description?: string | null
equipmentTypeId?: string
id?: string
@@ -3463,6 +3514,7 @@ export type Database = {
color: string
createdAt: string
createdBy: string
+ customFields: Json | null
description: string | null
id: string
name: string
@@ -3476,6 +3528,7 @@ export type Database = {
color?: string
createdAt?: string
createdBy: string
+ customFields?: Json | null
description?: string | null
id?: string
name: string
@@ -3489,6 +3542,7 @@ export type Database = {
color?: string
createdAt?: string
createdBy?: string
+ customFields?: Json | null
description?: string | null
id?: string
name?: string
@@ -3656,6 +3710,7 @@ export type Database = {
Row: {
createdAt: string
createdBy: string
+ customFields: Json | null
date: string
id: string
name: string
@@ -3666,6 +3721,7 @@ export type Database = {
Insert: {
createdAt?: string
createdBy: string
+ customFields?: Json | null
date: string
id?: string
name: string
@@ -3676,6 +3732,7 @@ export type Database = {
Update: {
createdAt?: string
createdBy?: string
+ customFields?: Json | null
date?: string
id?: string
name?: string
@@ -3793,6 +3850,7 @@ export type Database = {
Row: {
accountingPeriodId: string | null
createdAt: string
+ customFields: Json | null
description: string | null
id: number
postingDate: string
@@ -3800,6 +3858,7 @@ export type Database = {
Insert: {
accountingPeriodId?: string | null
createdAt?: string
+ customFields?: Json | null
description?: string | null
id?: number
postingDate?: string
@@ -3807,6 +3866,7 @@ export type Database = {
Update: {
accountingPeriodId?: string | null
createdAt?: string
+ customFields?: Json | null
description?: string | null
id?: number
postingDate?: string
@@ -3827,6 +3887,7 @@ export type Database = {
accrual: boolean
amount: number
createdAt: string
+ customFields: Json | null
description: string | null
documentId: string | null
documentLineReference: string | null
@@ -3844,6 +3905,7 @@ export type Database = {
accrual?: boolean
amount: number
createdAt?: string
+ customFields?: Json | null
description?: string | null
documentId?: string | null
documentLineReference?: string | null
@@ -3861,6 +3923,7 @@ export type Database = {
accrual?: boolean
amount?: number
createdAt?: string
+ customFields?: Json | null
description?: string | null
documentId?: string | null
documentLineReference?: string | null
@@ -3898,6 +3961,7 @@ export type Database = {
countryCode: string | null
createdAt: string
createdBy: string
+ customFields: Json | null
id: string
latitude: number | null
longitude: number | null
@@ -3915,6 +3979,7 @@ export type Database = {
countryCode?: string | null
createdAt?: string
createdBy: string
+ customFields?: Json | null
id?: string
latitude?: number | null
longitude?: number | null
@@ -3932,6 +3997,7 @@ export type Database = {
countryCode?: string | null
createdAt?: string
createdBy?: string
+ customFields?: Json | null
id?: string
latitude?: number | null
longitude?: number | null
@@ -4064,6 +4130,7 @@ export type Database = {
blocked: boolean
createdAt: string
createdBy: string
+ customFields: Json | null
description: string | null
fromDate: string | null
id: string
@@ -4084,6 +4151,7 @@ export type Database = {
blocked?: boolean
createdAt?: string
createdBy: string
+ customFields?: Json | null
description?: string | null
fromDate?: string | null
id: string
@@ -4104,6 +4172,7 @@ export type Database = {
blocked?: boolean
createdAt?: string
createdBy?: string
+ customFields?: Json | null
description?: string | null
fromDate?: string | null
id?: string
@@ -4210,6 +4279,7 @@ export type Database = {
costIsAdjusted: boolean
createdAt: string
createdBy: string
+ customFields: Json | null
partId: string
standardCost: number
unitCost: number
@@ -4221,6 +4291,7 @@ export type Database = {
costIsAdjusted?: boolean
createdAt?: string
createdBy: string
+ customFields?: Json | null
partId: string
standardCost?: number
unitCost?: number
@@ -4232,6 +4303,7 @@ export type Database = {
costIsAdjusted?: boolean
createdAt?: string
createdBy?: string
+ customFields?: Json | null
partId?: string
standardCost?: number
unitCost?: number
@@ -4309,6 +4381,7 @@ export type Database = {
active: boolean
createdAt: string
createdBy: string
+ customFields: Json | null
description: string | null
id: string
name: string
@@ -4319,6 +4392,7 @@ export type Database = {
active?: boolean
createdAt?: string
createdBy: string
+ customFields?: Json | null
description?: string | null
id?: string
name: string
@@ -4329,6 +4403,7 @@ export type Database = {
active?: boolean
createdAt?: string
createdBy?: string
+ customFields?: Json | null
description?: string | null
id?: string
name?: string
@@ -4384,6 +4459,7 @@ export type Database = {
Row: {
createdAt: string
createdBy: string
+ customFields: Json | null
defaultShelfId: string | null
locationId: string
partId: string
@@ -4393,6 +4469,7 @@ export type Database = {
Insert: {
createdAt?: string
createdBy: string
+ customFields?: Json | null
defaultShelfId?: string | null
locationId: string
partId: string
@@ -4402,6 +4479,7 @@ export type Database = {
Update: {
createdAt?: string
createdBy?: string
+ customFields?: Json | null
defaultShelfId?: string | null
locationId?: string
partId?: string
@@ -4609,6 +4687,7 @@ export type Database = {
active: boolean
createdAt: string
createdBy: string
+ customFields: Json | null
hoursPerWeek: number
id: string
updatedAt: string | null
@@ -4619,6 +4698,7 @@ export type Database = {
active?: boolean
createdAt?: string
createdBy: string
+ customFields?: Json | null
hoursPerWeek?: number
id: string
updatedAt?: string | null
@@ -4629,6 +4709,7 @@ export type Database = {
active?: boolean
createdAt?: string
createdBy?: string
+ customFields?: Json | null
hoursPerWeek?: number
id?: string
updatedAt?: string | null
@@ -4698,6 +4779,7 @@ export type Database = {
createdAt: string
createdBy: string
critical: boolean
+ customFields: Json | null
demandAccumulationIncludesInventory: boolean
demandAccumulationPeriod: number
demandReschedulingPeriod: number
@@ -4719,6 +4801,7 @@ export type Database = {
createdAt?: string
createdBy: string
critical?: boolean
+ customFields?: Json | null
demandAccumulationIncludesInventory?: boolean
demandAccumulationPeriod?: number
demandReschedulingPeriod?: number
@@ -4740,6 +4823,7 @@ export type Database = {
createdAt?: string
createdBy?: string
critical?: boolean
+ customFields?: Json | null
demandAccumulationIncludesInventory?: boolean
demandAccumulationPeriod?: number
demandReschedulingPeriod?: number
@@ -4849,6 +4933,7 @@ export type Database = {
conversionFactor: number
createdAt: string
createdBy: string
+ customFields: Json | null
lotSize: number | null
manufacturingBlocked: boolean
manufacturingLeadTime: number
@@ -4867,6 +4952,7 @@ export type Database = {
conversionFactor?: number
createdAt?: string
createdBy: string
+ customFields?: Json | null
lotSize?: number | null
manufacturingBlocked?: boolean
manufacturingLeadTime?: number
@@ -4885,6 +4971,7 @@ export type Database = {
conversionFactor?: number
createdAt?: string
createdBy?: string
+ customFields?: Json | null
lotSize?: number | null
manufacturingBlocked?: boolean
manufacturingLeadTime?: number
@@ -5013,6 +5100,7 @@ export type Database = {
conversionFactor: number
createdAt: string
createdBy: string
+ customFields: Json | null
id: string
minimumOrderQuantity: number | null
partId: string
@@ -5027,6 +5115,7 @@ export type Database = {
conversionFactor?: number
createdAt?: string
createdBy: string
+ customFields?: Json | null
id?: string
minimumOrderQuantity?: number | null
partId: string
@@ -5041,6 +5130,7 @@ export type Database = {
conversionFactor?: number
createdAt?: string
createdBy?: string
+ customFields?: Json | null
id?: string
minimumOrderQuantity?: number | null
partId?: string
@@ -5157,6 +5247,7 @@ export type Database = {
createdAt: string
createdBy: string
currencyCode: string
+ customFields: Json | null
partId: string
priceIncludesTax: boolean
salesBlocked: boolean
@@ -5170,6 +5261,7 @@ export type Database = {
createdAt?: string
createdBy: string
currencyCode: string
+ customFields?: Json | null
partId: string
priceIncludesTax?: boolean
salesBlocked?: boolean
@@ -5183,6 +5275,7 @@ export type Database = {
createdAt?: string
createdBy?: string
currencyCode?: string
+ customFields?: Json | null
partId?: string
priceIncludesTax?: boolean
salesBlocked?: boolean
@@ -5277,6 +5370,7 @@ export type Database = {
calculationMethod: Database["public"]["Enums"]["paymentTermCalculationMethod"]
createdAt: string
createdBy: string
+ customFields: Json | null
daysDiscount: number
daysDue: number
discountPercentage: number
@@ -5290,6 +5384,7 @@ export type Database = {
calculationMethod?: Database["public"]["Enums"]["paymentTermCalculationMethod"]
createdAt?: string
createdBy: string
+ customFields?: Json | null
daysDiscount?: number
daysDue?: number
discountPercentage?: number
@@ -5303,6 +5398,7 @@ export type Database = {
calculationMethod?: Database["public"]["Enums"]["paymentTermCalculationMethod"]
createdAt?: string
createdBy?: string
+ customFields?: Json | null
daysDiscount?: number
daysDue?: number
discountPercentage?: number
@@ -6010,6 +6106,7 @@ export type Database = {
createdAt: string
createdBy: string
currencyCode: string
+ customFields: Json | null
dateDue: string | null
dateIssued: string | null
datePaid: string | null
@@ -6036,6 +6133,7 @@ export type Database = {
createdAt?: string
createdBy: string
currencyCode: string
+ customFields?: Json | null
dateDue?: string | null
dateIssued?: string | null
datePaid?: string | null
@@ -6062,6 +6160,7 @@ export type Database = {
createdAt?: string
createdBy?: string
currencyCode?: string
+ customFields?: Json | null
dateDue?: string | null
dateIssued?: string | null
datePaid?: string | null
@@ -6233,6 +6332,7 @@ export type Database = {
createdAt: string
createdBy: string
currencyCode: string
+ customFields: Json | null
description: string | null
exchangeRate: number
id: string
@@ -6257,6 +6357,7 @@ export type Database = {
createdAt?: string
createdBy: string
currencyCode: string
+ customFields?: Json | null
description?: string | null
exchangeRate?: number
id?: string
@@ -6281,6 +6382,7 @@ export type Database = {
createdAt?: string
createdBy?: string
currencyCode?: string
+ customFields?: Json | null
description?: string | null
exchangeRate?: number
id?: string
@@ -6642,6 +6744,7 @@ export type Database = {
closedBy: string | null
createdAt: string
createdBy: string
+ customFields: Json | null
id: string
notes: string | null
orderDate: string
@@ -6661,6 +6764,7 @@ export type Database = {
closedBy?: string | null
createdAt?: string
createdBy: string
+ customFields?: Json | null
id?: string
notes?: string | null
orderDate?: string
@@ -6680,6 +6784,7 @@ export type Database = {
closedBy?: string | null
createdAt?: string
createdBy?: string
+ customFields?: Json | null
id?: string
notes?: string | null
orderDate?: string
@@ -6813,6 +6918,7 @@ export type Database = {
Row: {
customerId: string | null
customerLocationId: string | null
+ customFields: Json | null
deliveryDate: string | null
dropShipment: boolean
id: string
@@ -6829,6 +6935,7 @@ export type Database = {
Insert: {
customerId?: string | null
customerLocationId?: string | null
+ customFields?: Json | null
deliveryDate?: string | null
dropShipment?: boolean
id: string
@@ -6845,6 +6952,7 @@ export type Database = {
Update: {
customerId?: string | null
customerLocationId?: string | null
+ customFields?: Json | null
deliveryDate?: string | null
dropShipment?: boolean
id?: string
@@ -7023,6 +7131,7 @@ export type Database = {
assetId: string | null
createdAt: string
createdBy: string
+ customFields: Json | null
description: string | null
id: string
invoicedComplete: boolean
@@ -7050,6 +7159,7 @@ export type Database = {
assetId?: string | null
createdAt?: string
createdBy: string
+ customFields?: Json | null
description?: string | null
id?: string
invoicedComplete?: boolean
@@ -7077,6 +7187,7 @@ export type Database = {
assetId?: string | null
createdAt?: string
createdBy?: string
+ customFields?: Json | null
description?: string | null
id?: string
invoicedComplete?: boolean
@@ -7231,6 +7342,7 @@ export type Database = {
purchaseOrderPayment: {
Row: {
currencyCode: string
+ customFields: Json | null
id: string
invoiceSupplierContactId: string | null
invoiceSupplierId: string | null
@@ -7242,6 +7354,7 @@ export type Database = {
}
Insert: {
currencyCode?: string
+ customFields?: Json | null
id: string
invoiceSupplierContactId?: string | null
invoiceSupplierId?: string | null
@@ -7253,6 +7366,7 @@ export type Database = {
}
Update: {
currencyCode?: string
+ customFields?: Json | null
id?: string
invoiceSupplierContactId?: string | null
invoiceSupplierId?: string | null
@@ -7488,6 +7602,7 @@ export type Database = {
createdAt: string
createdBy: string
currencyCode: string
+ customFields: Json | null
exchangeRate: number
id: string
paymentDate: string | null
@@ -7501,6 +7616,7 @@ export type Database = {
createdAt?: string
createdBy: string
currencyCode: string
+ customFields?: Json | null
exchangeRate?: number
id?: string
paymentDate?: string | null
@@ -7514,6 +7630,7 @@ export type Database = {
createdAt?: string
createdBy?: string
currencyCode?: string
+ customFields?: Json | null
exchangeRate?: number
id?: string
paymentDate?: string | null
@@ -7618,6 +7735,7 @@ export type Database = {
customerId: string
customerLocationId: string | null
customerReference: string | null
+ customFields: Json | null
expirationDate: string | null
id: string
locationId: string | null
@@ -7638,6 +7756,7 @@ export type Database = {
customerId: string
customerLocationId?: string | null
customerReference?: string | null
+ customFields?: Json | null
expirationDate?: string | null
id?: string
locationId?: string | null
@@ -7658,6 +7777,7 @@ export type Database = {
customerId?: string
customerLocationId?: string | null
customerReference?: string | null
+ customFields?: Json | null
expirationDate?: string | null
id?: string
locationId?: string | null
@@ -7790,6 +7910,7 @@ export type Database = {
Row: {
createdAt: string
createdBy: string
+ customFields: Json | null
description: string | null
id: string
parentAssemblyId: string | null
@@ -7804,6 +7925,7 @@ export type Database = {
Insert: {
createdAt?: string
createdBy: string
+ customFields?: Json | null
description?: string | null
id?: string
parentAssemblyId?: string | null
@@ -7818,6 +7940,7 @@ export type Database = {
Update: {
createdAt?: string
createdBy?: string
+ customFields?: Json | null
description?: string | null
id?: string
parentAssemblyId?: string | null
@@ -7958,6 +8081,7 @@ export type Database = {
createdBy: string
customerPartId: string | null
customerPartRevision: string | null
+ customFields: Json | null
description: string
id: string
partId: string
@@ -7973,6 +8097,7 @@ export type Database = {
createdBy: string
customerPartId?: string | null
customerPartRevision?: string | null
+ customFields?: Json | null
description: string
id?: string
partId: string
@@ -7988,6 +8113,7 @@ export type Database = {
createdBy?: string
customerPartId?: string | null
customerPartRevision?: string | null
+ customFields?: Json | null
description?: string
id?: string
partId?: string
@@ -8205,6 +8331,7 @@ export type Database = {
Row: {
createdAt: string
createdBy: string
+ customFields: Json | null
description: string
id: string
partId: string
@@ -8220,6 +8347,7 @@ export type Database = {
Insert: {
createdAt?: string
createdBy: string
+ customFields?: Json | null
description: string
id?: string
partId: string
@@ -8235,6 +8363,7 @@ export type Database = {
Update: {
createdAt?: string
createdBy?: string
+ customFields?: Json | null
description?: string
id?: string
partId?: string
@@ -8345,6 +8474,7 @@ export type Database = {
Row: {
createdAt: string
createdBy: string
+ customFields: Json | null
description: string | null
equipmentTypeId: string | null
id: string
@@ -8364,6 +8494,7 @@ export type Database = {
Insert: {
createdAt?: string
createdBy: string
+ customFields?: Json | null
description?: string | null
equipmentTypeId?: string | null
id?: string
@@ -8383,6 +8514,7 @@ export type Database = {
Update: {
createdAt?: string
createdBy?: string
+ customFields?: Json | null
description?: string | null
equipmentTypeId?: string | null
id?: string
@@ -8490,6 +8622,7 @@ export type Database = {
Row: {
createdAt: string
createdBy: string
+ customFields: Json | null
externalDocumentId: string | null
id: string
invoiced: boolean | null
@@ -8509,6 +8642,7 @@ export type Database = {
Insert: {
createdAt?: string
createdBy: string
+ customFields?: Json | null
externalDocumentId?: string | null
id?: string
invoiced?: boolean | null
@@ -8528,6 +8662,7 @@ export type Database = {
Update: {
createdAt?: string
createdBy?: string
+ customFields?: Json | null
externalDocumentId?: string | null
id?: string
invoiced?: boolean | null
@@ -8809,6 +8944,7 @@ export type Database = {
Row: {
createdAt: string | null
createdBy: string
+ customFields: Json | null
expirationDate: string | null
id: string
locationId: string | null
@@ -8824,6 +8960,7 @@ export type Database = {
Insert: {
createdAt?: string | null
createdBy: string
+ customFields?: Json | null
expirationDate?: string | null
id?: string
locationId?: string | null
@@ -8839,6 +8976,7 @@ export type Database = {
Update: {
createdAt?: string | null
createdBy?: string
+ customFields?: Json | null
expirationDate?: string | null
id?: string
locationId?: string | null
@@ -8972,6 +9110,7 @@ export type Database = {
Row: {
createdAt: string | null
createdBy: string
+ customFields: Json | null
description: string | null
id: string
locationId: string | null
@@ -8987,6 +9126,7 @@ export type Database = {
Insert: {
createdAt?: string | null
createdBy: string
+ customFields?: Json | null
description?: string | null
id?: string
locationId?: string | null
@@ -9002,6 +9142,7 @@ export type Database = {
Update: {
createdAt?: string | null
createdBy?: string
+ customFields?: Json | null
description?: string | null
id?: string
locationId?: string | null
@@ -9134,6 +9275,7 @@ export type Database = {
completedAt: string | null
createdAt: string | null
createdBy: string
+ customFields: Json | null
id: string
password: string | null
requestForQuoteId: string
@@ -9148,6 +9290,7 @@ export type Database = {
completedAt?: string | null
createdAt?: string | null
createdBy: string
+ customFields?: Json | null
id?: string
password?: string | null
requestForQuoteId: string
@@ -9162,6 +9305,7 @@ export type Database = {
completedAt?: string | null
createdAt?: string | null
createdBy?: string
+ customFields?: Json | null
id?: string
password?: string | null
requestForQuoteId?: string
@@ -9483,6 +9627,7 @@ export type Database = {
blocked: boolean
createdAt: string
createdBy: string
+ customFields: Json | null
description: string | null
fromDate: string | null
id: string
@@ -9500,6 +9645,7 @@ export type Database = {
blocked?: boolean
createdAt?: string
createdBy: string
+ customFields?: Json | null
description?: string | null
fromDate?: string | null
id: string
@@ -9517,6 +9663,7 @@ export type Database = {
blocked?: boolean
createdAt?: string
createdBy?: string
+ customFields?: Json | null
description?: string | null
fromDate?: string | null
id?: string
@@ -9612,6 +9759,7 @@ export type Database = {
active: boolean
createdAt: string
createdBy: string
+ customFields: Json | null
id: string
serviceId: string
supplierId: string
@@ -9623,6 +9771,7 @@ export type Database = {
active?: boolean
createdAt?: string
createdBy: string
+ customFields?: Json | null
id?: string
serviceId: string
supplierId: string
@@ -9634,6 +9783,7 @@ export type Database = {
active?: boolean
createdAt?: string
createdBy?: string
+ customFields?: Json | null
id?: string
serviceId?: string
supplierId?: string
@@ -9740,6 +9890,7 @@ export type Database = {
active: boolean
createdAt: string
createdBy: string
+ customFields: Json | null
id: string
locationId: string
updatedAt: string | null
@@ -9750,6 +9901,7 @@ export type Database = {
active?: boolean
createdAt?: string
createdBy: string
+ customFields?: Json | null
id: string
locationId: string
updatedAt?: string | null
@@ -9760,6 +9912,7 @@ export type Database = {
active?: boolean
createdAt?: string
createdBy?: string
+ customFields?: Json | null
id?: string
locationId?: string
updatedAt?: string | null
@@ -9842,6 +9995,7 @@ export type Database = {
shift: {
Row: {
active: boolean
+ customFields: Json | null
endTime: string
friday: boolean
id: string
@@ -9857,6 +10011,7 @@ export type Database = {
}
Insert: {
active?: boolean
+ customFields?: Json | null
endTime: string
friday?: boolean
id?: string
@@ -9872,6 +10027,7 @@ export type Database = {
}
Update: {
active?: boolean
+ customFields?: Json | null
endTime?: string
friday?: boolean
id?: string
@@ -9916,6 +10072,7 @@ export type Database = {
carrierAccountId: string | null
createdAt: string
createdBy: string
+ customFields: Json | null
id: string
name: string
trackingUrl: string | null
@@ -9928,6 +10085,7 @@ export type Database = {
carrierAccountId?: string | null
createdAt?: string
createdBy: string
+ customFields?: Json | null
id?: string
name: string
trackingUrl?: string | null
@@ -9940,6 +10098,7 @@ export type Database = {
carrierAccountId?: string | null
createdAt?: string
createdBy?: string
+ customFields?: Json | null
id?: string
name?: string
trackingUrl?: string | null
@@ -10083,6 +10242,7 @@ export type Database = {
accountManagerId: string | null
createdAt: string
createdBy: string | null
+ customFields: Json | null
id: string
logo: string | null
name: string
@@ -10096,6 +10256,7 @@ export type Database = {
accountManagerId?: string | null
createdAt?: string
createdBy?: string | null
+ customFields?: Json | null
id?: string
logo?: string | null
name: string
@@ -10109,6 +10270,7 @@ export type Database = {
accountManagerId?: string | null
createdAt?: string
createdBy?: string | null
+ customFields?: Json | null
id?: string
logo?: string | null
name?: string
@@ -10273,6 +10435,7 @@ export type Database = {
supplierContact: {
Row: {
contactId: string
+ customFields: Json | null
id: string
supplierId: string
supplierLocationId: string | null
@@ -10280,6 +10443,7 @@ export type Database = {
}
Insert: {
contactId: string
+ customFields?: Json | null
id?: string
supplierId: string
supplierLocationId?: string | null
@@ -10287,6 +10451,7 @@ export type Database = {
}
Update: {
contactId?: string
+ customFields?: Json | null
id?: string
supplierId?: string
supplierLocationId?: string | null
@@ -10446,16 +10611,19 @@ export type Database = {
supplierLocation: {
Row: {
addressId: string
+ customFields: Json | null
id: string
supplierId: string
}
Insert: {
addressId: string
+ customFields?: Json | null
id?: string
supplierId: string
}
Update: {
addressId?: string
+ customFields?: Json | null
id?: string
supplierId?: string
}
@@ -10507,6 +10675,7 @@ export type Database = {
supplierPayment: {
Row: {
currencyCode: string | null
+ customFields: Json | null
invoiceSupplierContactId: string | null
invoiceSupplierId: string | null
invoiceSupplierLocationId: string | null
@@ -10517,6 +10686,7 @@ export type Database = {
}
Insert: {
currencyCode?: string | null
+ customFields?: Json | null
invoiceSupplierContactId?: string | null
invoiceSupplierId?: string | null
invoiceSupplierLocationId?: string | null
@@ -10527,6 +10697,7 @@ export type Database = {
}
Update: {
currencyCode?: string | null
+ customFields?: Json | null
invoiceSupplierContactId?: string | null
invoiceSupplierId?: string | null
invoiceSupplierLocationId?: string | null
@@ -10652,6 +10823,7 @@ export type Database = {
}
supplierShipping: {
Row: {
+ customFields: Json | null
shippingMethodId: string | null
shippingSupplierContactId: string | null
shippingSupplierId: string | null
@@ -10662,6 +10834,7 @@ export type Database = {
updatedBy: string | null
}
Insert: {
+ customFields?: Json | null
shippingMethodId?: string | null
shippingSupplierContactId?: string | null
shippingSupplierId?: string | null
@@ -10672,6 +10845,7 @@ export type Database = {
updatedBy?: string | null
}
Update: {
+ customFields?: Json | null
shippingMethodId?: string | null
shippingSupplierContactId?: string | null
shippingSupplierId?: string | null
@@ -10807,6 +10981,7 @@ export type Database = {
Row: {
createdAt: string
createdBy: string
+ customFields: Json | null
id: string
name: string
updatedAt: string | null
@@ -10815,6 +10990,7 @@ export type Database = {
Insert: {
createdAt?: string
createdBy: string
+ customFields?: Json | null
id?: string
name: string
updatedAt?: string | null
@@ -10823,6 +10999,7 @@ export type Database = {
Update: {
createdAt?: string
createdBy?: string
+ customFields?: Json | null
id?: string
name?: string
updatedAt?: string | null
@@ -10878,6 +11055,7 @@ export type Database = {
color: string | null
createdAt: string
createdBy: string
+ customFields: Json | null
id: string
name: string
protected: boolean
@@ -10888,6 +11066,7 @@ export type Database = {
color?: string | null
createdAt?: string
createdBy: string
+ customFields?: Json | null
id?: string
name: string
protected?: boolean
@@ -10898,6 +11077,7 @@ export type Database = {
color?: string | null
createdAt?: string
createdBy?: string
+ customFields?: Json | null
id?: string
name?: string
protected?: boolean
@@ -10998,6 +11178,7 @@ export type Database = {
code: string
createdAt: string
createdBy: string
+ customFields: Json | null
id: string
name: string
updatedAt: string | null
@@ -11008,6 +11189,7 @@ export type Database = {
code: string
createdAt?: string
createdBy: string
+ customFields?: Json | null
id?: string
name: string
updatedAt?: string | null
@@ -11018,6 +11200,7 @@ export type Database = {
code?: string
createdAt?: string
createdBy?: string
+ customFields?: Json | null
id?: string
name?: string
updatedAt?: string | null
@@ -11546,6 +11729,7 @@ export type Database = {
activeDate: string | null
createdAt: string
createdBy: string
+ customFields: Json | null
defaultStandardFactor: Database["public"]["Enums"]["factor"]
departmentId: string
description: string | null
@@ -11561,6 +11745,7 @@ export type Database = {
activeDate?: string | null
createdAt?: string
createdBy: string
+ customFields?: Json | null
defaultStandardFactor?: Database["public"]["Enums"]["factor"]
departmentId: string
description?: string | null
@@ -11576,6 +11761,7 @@ export type Database = {
activeDate?: string | null
createdAt?: string
createdBy?: string
+ customFields?: Json | null
defaultStandardFactor?: Database["public"]["Enums"]["factor"]
departmentId?: string
description?: string | null
@@ -11630,6 +11816,7 @@ export type Database = {
color: string
createdAt: string
createdBy: string
+ customFields: Json | null
defaultStandardFactor: Database["public"]["Enums"]["factor"]
description: string | null
id: string
@@ -11646,6 +11833,7 @@ export type Database = {
color?: string
createdAt?: string
createdBy: string
+ customFields?: Json | null
defaultStandardFactor?: Database["public"]["Enums"]["factor"]
description?: string | null
id?: string
@@ -11662,6 +11850,7 @@ export type Database = {
color?: string
createdAt?: string
createdBy?: string
+ customFields?: Json | null
defaultStandardFactor?: Database["public"]["Enums"]["factor"]
description?: string | null
id?: string