@cfxlabsinc/b2b-services
Preparing search index...
@cfxlabsinc/b2b-db-schema
customerTable
Variable customerTable
Const
customerTable
:
Omit
<
PgTableWithColumns
<
{
columns
:
{
attioId
:
PgColumn
<
{
baseColumn
:
never
;
columnType
:
"PgText"
;
data
:
string
;
dataType
:
"string"
;
driverParam
:
string
;
enumValues
:
[
string
,
...
string
[]
]
;
generated
:
undefined
;
hasDefault
:
false
;
hasRuntimeDefault
:
false
;
identity
:
undefined
;
isAutoincrement
:
false
;
isPrimaryKey
:
false
;
name
:
"attioId"
;
notNull
:
true
;
tableName
:
"customer"
;
}
,
{}
,
{}
,
>
;
createdAt
:
PgColumn
<
{
baseColumn
:
never
;
columnType
:
"PgTimestamp"
;
data
:
Date
;
dataType
:
"date"
;
driverParam
:
string
;
enumValues
:
undefined
;
generated
:
undefined
;
hasDefault
:
true
;
hasRuntimeDefault
:
false
;
identity
:
undefined
;
isAutoincrement
:
false
;
isPrimaryKey
:
false
;
name
:
"createdAt"
;
notNull
:
true
;
tableName
:
"customer"
;
}
,
{}
,
{}
,
>
;
data
:
PgColumn
<
{
baseColumn
:
never
;
columnType
:
"PgJsonb"
;
data
:
{
bankPartners
?:
(((...)
|
(...))
&
{
default
?:
...
}
)
[]
;
verificationByo
?:
{
IDENTITY
:
{
notes
?:
(...)
|
(...)
;
status
:
(...)
|
(...)
}
;
ORGANIZATION
:
{
notes
?:
(...)
|
(...)
;
status
:
(...)
|
(...)
}
;
}
;
victorAchCompanyId
?:
string
;
victorAchCompanyName
?:
string
;
victorFboAccountNumber
?:
string
;
victorLedgerProgramId
?:
string
;
}
;
dataType
:
"json"
;
driverParam
:
unknown
;
enumValues
:
undefined
;
generated
:
undefined
;
hasDefault
:
true
;
hasRuntimeDefault
:
false
;
identity
:
undefined
;
isAutoincrement
:
false
;
isPrimaryKey
:
false
;
name
:
"data"
;
notNull
:
true
;
tableName
:
"customer"
;
}
,
{}
,
{
$type
:
{
bankPartners
?:
(((...)
|
(...))
&
{
default
?:
...
}
)
[]
;
verificationByo
?:
{
IDENTITY
:
{
notes
?:
(...)
|
(...)
;
status
:
(...)
|
(...)
}
;
ORGANIZATION
:
{
notes
?:
(...)
|
(...)
;
status
:
(...)
|
(...)
}
;
}
;
victorAchCompanyId
?:
string
;
victorAchCompanyName
?:
string
;
victorFboAccountNumber
?:
string
;
victorLedgerProgramId
?:
string
;
}
;
}
,
>
;
description
:
PgColumn
<
{
baseColumn
:
never
;
columnType
:
"PgText"
;
data
:
string
;
dataType
:
"string"
;
driverParam
:
string
;
enumValues
:
[
string
,
...
string
[]
]
;
generated
:
undefined
;
hasDefault
:
false
;
hasRuntimeDefault
:
false
;
identity
:
undefined
;
isAutoincrement
:
false
;
isPrimaryKey
:
false
;
name
:
"description"
;
notNull
:
false
;
tableName
:
"customer"
;
}
,
{}
,
{}
,
>
;
externalId
:
PgColumn
<
{
baseColumn
:
never
;
columnType
:
"PgText"
;
data
:
string
;
dataType
:
"string"
;
driverParam
:
string
;
enumValues
:
[
string
,
...
string
[]
]
;
generated
:
undefined
;
hasDefault
:
true
;
hasRuntimeDefault
:
true
;
identity
:
undefined
;
isAutoincrement
:
false
;
isPrimaryKey
:
false
;
name
:
"externalId"
;
notNull
:
true
;
tableName
:
"customer"
;
}
,
{}
,
{}
,
>
;
id
:
PgColumn
<
{
baseColumn
:
never
;
columnType
:
"PgInteger"
;
data
:
number
;
dataType
:
"number"
;
driverParam
:
string
|
number
;
enumValues
:
undefined
;
generated
:
undefined
;
hasDefault
:
true
;
hasRuntimeDefault
:
false
;
identity
:
"byDefault"
;
isAutoincrement
:
false
;
isPrimaryKey
:
true
;
name
:
"id"
;
notNull
:
true
;
tableName
:
"customer"
;
}
,
{}
,
{}
,
>
;
name
:
PgColumn
<
{
baseColumn
:
never
;
columnType
:
"PgText"
;
data
:
string
;
dataType
:
"string"
;
driverParam
:
string
;
enumValues
:
[
string
,
...
string
[]
]
;
generated
:
undefined
;
hasDefault
:
false
;
hasRuntimeDefault
:
false
;
identity
:
undefined
;
isAutoincrement
:
false
;
isPrimaryKey
:
false
;
name
:
"name"
;
notNull
:
true
;
tableName
:
"customer"
;
}
,
{}
,
{}
,
>
;
notifications
:
PgColumn
<
{
baseColumn
:
never
;
columnType
:
"PgJsonb"
;
data
:
{
email
?:
{
emailAddresses
:
string
[]
;
events
:
{
cardTransactionCreated
:
(...)
|
(...)
;
cardTransactionFailed
:
(...)
|
(...)
;
identityActive
:
(...)
|
(...)
;
identityBlocked
:
(...)
|
(...)
;
identityDeleted
:
(...)
|
(...)
;
identityDisabled
:
(...)
|
(...)
;
identityPendingVerification
:
(...)
|
(...)
;
identityReview
:
(...)
|
(...)
;
ledgerAccountCreated
:
(...)
|
(...)
;
moneyInCreated
:
(...)
|
(...)
;
moneyInFailed
:
(...)
|
(...)
;
moneyOutCreated
:
(...)
|
(...)
;
moneyOutFailed
:
(...)
|
(...)
;
organizationActive
:
(...)
|
(...)
;
organizationDisabled
:
(...)
|
(...)
;
organizationPendingVerification
:
(...)
|
(...)
;
paymentInstrumentActive
:
(...)
|
(...)
;
paymentInstrumentBlocked
:
(...)
|
(...)
;
paymentInstrumentPendingVerification
:
(...)
|
(...)
;
transferCreated
:
(...)
|
(...)
;
transferFailed
:
(...)
|
(...)
;
}
;
userGroups
:
string
[]
;
userIds
:
string
[]
;
}
;
slack
?:
{
cardTransactionCreated
:
"ACTIVE"
|
"DISABLED"
;
cardTransactionFailed
:
"ACTIVE"
|
"DISABLED"
;
identityActive
:
"ACTIVE"
|
"DISABLED"
;
identityBlocked
:
"ACTIVE"
|
"DISABLED"
;
identityDeleted
:
"ACTIVE"
|
"DISABLED"
;
identityDisabled
:
"ACTIVE"
|
"DISABLED"
;
identityPendingVerification
:
"ACTIVE"
|
"DISABLED"
;
identityReview
:
"ACTIVE"
|
"DISABLED"
;
ledgerAccountCreated
:
"ACTIVE"
|
"DISABLED"
;
moneyInCreated
:
"ACTIVE"
|
"DISABLED"
;
moneyInFailed
:
"ACTIVE"
|
"DISABLED"
;
moneyOutCreated
:
"ACTIVE"
|
"DISABLED"
;
moneyOutFailed
:
"ACTIVE"
|
"DISABLED"
;
organizationActive
:
"ACTIVE"
|
"DISABLED"
;
organizationDisabled
:
"ACTIVE"
|
"DISABLED"
;
organizationPendingVerification
:
"ACTIVE"
|
"DISABLED"
;
paymentInstrumentActive
:
"ACTIVE"
|
"DISABLED"
;
paymentInstrumentBlocked
:
"ACTIVE"
|
"DISABLED"
;
paymentInstrumentPendingVerification
:
"ACTIVE"
|
"DISABLED"
;
transferCreated
:
"ACTIVE"
|
"DISABLED"
;
transferFailed
:
"ACTIVE"
|
"DISABLED"
;
}
;
}
;
dataType
:
"json"
;
driverParam
:
unknown
;
enumValues
:
undefined
;
generated
:
undefined
;
hasDefault
:
false
;
hasRuntimeDefault
:
false
;
identity
:
undefined
;
isAutoincrement
:
false
;
isPrimaryKey
:
false
;
name
:
"notifications"
;
notNull
:
false
;
tableName
:
"customer"
;
}
,
{}
,
{
$type
:
{
email
?:
{
emailAddresses
:
string
[]
;
events
:
{
cardTransactionCreated
:
(...)
|
(...)
;
cardTransactionFailed
:
(...)
|
(...)
;
identityActive
:
(...)
|
(...)
;
identityBlocked
:
(...)
|
(...)
;
identityDeleted
:
(...)
|
(...)
;
identityDisabled
:
(...)
|
(...)
;
identityPendingVerification
:
(...)
|
(...)
;
identityReview
:
(...)
|
(...)
;
ledgerAccountCreated
:
(...)
|
(...)
;
moneyInCreated
:
(...)
|
(...)
;
moneyInFailed
:
(...)
|
(...)
;
moneyOutCreated
:
(...)
|
(...)
;
moneyOutFailed
:
(...)
|
(...)
;
organizationActive
:
(...)
|
(...)
;
organizationDisabled
:
(...)
|
(...)
;
organizationPendingVerification
:
(...)
|
(...)
;
paymentInstrumentActive
:
(...)
|
(...)
;
paymentInstrumentBlocked
:
(...)
|
(...)
;
paymentInstrumentPendingVerification
:
(...)
|
(...)
;
transferCreated
:
(...)
|
(...)
;
transferFailed
:
(...)
|
(...)
;
}
;
userGroups
:
string
[]
;
userIds
:
string
[]
;
}
;
slack
?:
{
cardTransactionCreated
:
"ACTIVE"
|
"DISABLED"
;
cardTransactionFailed
:
"ACTIVE"
|
"DISABLED"
;
identityActive
:
"ACTIVE"
|
"DISABLED"
;
identityBlocked
:
"ACTIVE"
|
"DISABLED"
;
identityDeleted
:
"ACTIVE"
|
"DISABLED"
;
identityDisabled
:
"ACTIVE"
|
"DISABLED"
;
identityPendingVerification
:
"ACTIVE"
|
"DISABLED"
;
identityReview
:
"ACTIVE"
|
"DISABLED"
;
ledgerAccountCreated
:
"ACTIVE"
|
"DISABLED"
;
moneyInCreated
:
"ACTIVE"
|
"DISABLED"
;
moneyInFailed
:
"ACTIVE"
|
"DISABLED"
;
moneyOutCreated
:
"ACTIVE"
|
"DISABLED"
;
moneyOutFailed
:
"ACTIVE"
|
"DISABLED"
;
organizationActive
:
"ACTIVE"
|
"DISABLED"
;
organizationDisabled
:
"ACTIVE"
|
"DISABLED"
;
organizationPendingVerification
:
"ACTIVE"
|
"DISABLED"
;
paymentInstrumentActive
:
"ACTIVE"
|
"DISABLED"
;
paymentInstrumentBlocked
:
"ACTIVE"
|
"DISABLED"
;
paymentInstrumentPendingVerification
:
"ACTIVE"
|
"DISABLED"
;
transferCreated
:
"ACTIVE"
|
"DISABLED"
;
transferFailed
:
"ACTIVE"
|
"DISABLED"
;
}
;
}
;
}
,
>
;
organizationId
:
PgColumn
<
{
baseColumn
:
never
;
columnType
:
"PgText"
;
data
:
string
;
dataType
:
"string"
;
driverParam
:
string
;
enumValues
:
[
string
,
...
string
[]
]
;
generated
:
undefined
;
hasDefault
:
false
;
hasRuntimeDefault
:
false
;
identity
:
undefined
;
isAutoincrement
:
false
;
isPrimaryKey
:
false
;
name
:
"organizationId"
;
notNull
:
false
;
tableName
:
"customer"
;
}
,
{}
,
{}
,
>
;
propelauthWorkspaceId
:
PgColumn
<
{
baseColumn
:
never
;
columnType
:
"PgText"
;
data
:
string
;
dataType
:
"string"
;
driverParam
:
string
;
enumValues
:
[
string
,
...
string
[]
]
;
generated
:
undefined
;
hasDefault
:
false
;
hasRuntimeDefault
:
false
;
identity
:
undefined
;
isAutoincrement
:
false
;
isPrimaryKey
:
false
;
name
:
"propelauthWorkspaceId"
;
notNull
:
true
;
tableName
:
"customer"
;
}
,
{}
,
{}
,
>
;
shortName
:
PgColumn
<
{
baseColumn
:
never
;
columnType
:
"PgText"
;
data
:
string
;
dataType
:
"string"
;
driverParam
:
string
;
enumValues
:
[
string
,
...
string
[]
]
;
generated
:
undefined
;
hasDefault
:
false
;
hasRuntimeDefault
:
false
;
identity
:
undefined
;
isAutoincrement
:
false
;
isPrimaryKey
:
false
;
name
:
"shortName"
;
notNull
:
true
;
tableName
:
"customer"
;
}
,
{}
,
{}
,
>
;
terms
:
PgColumn
<
{
baseColumn
:
never
;
columnType
:
"PgJsonb"
;
data
:
TData
;
dataType
:
"json"
;
driverParam
:
unknown
;
enumValues
:
undefined
;
generated
:
undefined
;
hasDefault
:
false
;
hasRuntimeDefault
:
false
;
identity
:
undefined
;
isAutoincrement
:
false
;
isPrimaryKey
:
false
;
name
:
"terms"
;
notNull
:
false
;
tableName
:
"customer"
;
}
,
{}
,
{
$type
:
TType
}
,
>
;
updatedAt
:
PgColumn
<
{
baseColumn
:
never
;
columnType
:
"PgTimestamp"
;
data
:
Date
;
dataType
:
"date"
;
driverParam
:
string
;
enumValues
:
undefined
;
generated
:
undefined
;
hasDefault
:
true
;
hasRuntimeDefault
:
false
;
identity
:
undefined
;
isAutoincrement
:
false
;
isPrimaryKey
:
false
;
name
:
"updatedAt"
;
notNull
:
true
;
tableName
:
"customer"
;
}
,
{}
,
{}
,
>
;
}
;
dialect
:
"pg"
;
name
:
"customer"
;
schema
:
"b2b"
;
}
,
>
,
"enableRLS"
,
>
= ...
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@cfxlabsinc/b2b-services
Loading...