@cfxlabsinc/b2b-services
Preparing search index...
@cfxlabsinc/db
customerTable
Variable customerTable
Const
customerTable
:
Omit
<
PgTableWithColumns
<
{
columns
:
{
attioId
:
PgBuildColumn
<
"customer"
,
SetNotNull
<
PgTextBuilder
<
[
string
,
...
string
[]
]
>
>
,
{
data
:
string
;
dataType
:
"string"
;
driverParam
:
string
;
enumValues
:
undefined
;
generated
:
undefined
;
hasDefault
:
false
;
hasRuntimeDefault
:
false
;
identity
:
undefined
;
isAutoincrement
:
false
;
isPrimaryKey
:
false
;
name
:
string
;
notNull
:
true
;
tableName
:
"customer"
;
}
,
>
;
createdAt
:
PgBuildColumn
<
"customer"
,
SetHasDefault
<
SetNotNull
<
PgTimestampBuilder
>
>
,
{
data
:
Date
;
dataType
:
"object date"
;
driverParam
:
string
;
enumValues
:
undefined
;
generated
:
undefined
;
hasDefault
:
true
;
hasRuntimeDefault
:
false
;
identity
:
undefined
;
isAutoincrement
:
false
;
isPrimaryKey
:
false
;
name
:
string
;
notNull
:
true
;
tableName
:
"customer"
;
}
,
>
;
data
:
PgBuildColumn
<
"customer"
,
Set$Type
<
SetHasDefault
<
SetNotNull
<
PgJsonbBuilder
>
>
,
{
bankPartners
?:
(((...)
|
(...))
&
{
default
?:
...
}
)
[]
;
verificationByo
?:
{
IDENTITY
:
{
notes
?:
(...)
|
(...)
;
status
:
(...)
|
(...)
}
;
ORGANIZATION
:
{
notes
?:
(...)
|
(...)
;
status
:
(...)
|
(...)
}
;
}
;
}
,
>
,
{
data
:
{
bankPartners
?:
(((...)
|
(...))
&
{
default
?:
...
}
)
[]
;
verificationByo
?:
{
IDENTITY
:
{
notes
?:
(...)
|
(...)
;
status
:
(...)
|
(...)
}
;
ORGANIZATION
:
{
notes
?:
(...)
|
(...)
;
status
:
(...)
|
(...)
}
;
}
;
}
;
dataType
:
"object json"
;
driverParam
:
unknown
;
enumValues
:
undefined
;
generated
:
undefined
;
hasDefault
:
true
;
hasRuntimeDefault
:
false
;
identity
:
undefined
;
isAutoincrement
:
false
;
isPrimaryKey
:
false
;
name
:
string
;
notNull
:
true
;
tableName
:
"customer"
;
}
,
>
;
description
:
PgBuildColumn
<
"customer"
,
PgTextBuilder
<
[
string
,
...
string
[]
]
>
,
{
data
:
string
;
dataType
:
"string"
;
driverParam
:
string
;
enumValues
:
undefined
;
generated
:
undefined
;
hasDefault
:
false
;
hasRuntimeDefault
:
false
;
identity
:
undefined
;
isAutoincrement
:
false
;
isPrimaryKey
:
false
;
name
:
string
;
notNull
:
false
;
tableName
:
"customer"
;
}
,
>
;
externalId
:
PgBuildColumn
<
"customer"
,
SetHasRuntimeDefault
<
SetNotNull
<
PgTextBuilder
<
[
string
,
...
string
[]
]
>
>
>
,
{
data
:
string
;
dataType
:
"string"
;
driverParam
:
string
;
enumValues
:
undefined
;
generated
:
undefined
;
hasDefault
:
true
;
hasRuntimeDefault
:
false
;
identity
:
undefined
;
isAutoincrement
:
false
;
isPrimaryKey
:
false
;
name
:
string
;
notNull
:
true
;
tableName
:
"customer"
;
}
,
>
;
id
:
PgBuildColumn
<
"customer"
,
HasIdentity
<
SetIsPrimaryKey
<
PgIntegerBuilder
>
,
"byDefault"
>
,
{
data
:
number
;
dataType
:
"number int32"
;
driverParam
:
string
|
number
;
enumValues
:
undefined
;
generated
:
undefined
;
hasDefault
:
true
;
hasRuntimeDefault
:
false
;
identity
:
"byDefault"
;
isAutoincrement
:
false
;
isPrimaryKey
:
false
;
name
:
string
;
notNull
:
true
;
tableName
:
"customer"
;
}
,
>
;
name
:
PgBuildColumn
<
"customer"
,
SetNotNull
<
PgTextBuilder
<
[
string
,
...
string
[]
]
>
>
,
{
data
:
string
;
dataType
:
"string"
;
driverParam
:
string
;
enumValues
:
undefined
;
generated
:
undefined
;
hasDefault
:
false
;
hasRuntimeDefault
:
false
;
identity
:
undefined
;
isAutoincrement
:
false
;
isPrimaryKey
:
false
;
name
:
string
;
notNull
:
true
;
tableName
:
"customer"
;
}
,
>
;
notifications
:
PgBuildColumn
<
"customer"
,
Set$Type
<
PgJsonbBuilder
,
{
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"
;
}
;
}
,
>
,
{
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
:
"object json"
;
driverParam
:
unknown
;
enumValues
:
undefined
;
generated
:
undefined
;
hasDefault
:
false
;
hasRuntimeDefault
:
false
;
identity
:
undefined
;
isAutoincrement
:
false
;
isPrimaryKey
:
false
;
name
:
string
;
notNull
:
false
;
tableName
:
"customer"
;
}
,
>
;
organizationId
:
PgBuildColumn
<
"customer"
,
PgTextBuilder
<
[
string
,
...
string
[]
]
>
,
{
data
:
string
;
dataType
:
"string"
;
driverParam
:
string
;
enumValues
:
undefined
;
generated
:
undefined
;
hasDefault
:
false
;
hasRuntimeDefault
:
false
;
identity
:
undefined
;
isAutoincrement
:
false
;
isPrimaryKey
:
false
;
name
:
string
;
notNull
:
false
;
tableName
:
"customer"
;
}
,
>
;
propelauthWorkspaceId
:
PgBuildColumn
<
"customer"
,
SetNotNull
<
PgTextBuilder
<
[
string
,
...
string
[]
]
>
>
,
{
data
:
string
;
dataType
:
"string"
;
driverParam
:
string
;
enumValues
:
undefined
;
generated
:
undefined
;
hasDefault
:
false
;
hasRuntimeDefault
:
false
;
identity
:
undefined
;
isAutoincrement
:
false
;
isPrimaryKey
:
false
;
name
:
string
;
notNull
:
true
;
tableName
:
"customer"
;
}
,
>
;
shortName
:
PgBuildColumn
<
"customer"
,
SetNotNull
<
PgTextBuilder
<
[
string
,
...
string
[]
]
>
>
,
{
data
:
string
;
dataType
:
"string"
;
driverParam
:
string
;
enumValues
:
undefined
;
generated
:
undefined
;
hasDefault
:
false
;
hasRuntimeDefault
:
false
;
identity
:
undefined
;
isAutoincrement
:
false
;
isPrimaryKey
:
false
;
name
:
string
;
notNull
:
true
;
tableName
:
"customer"
;
}
,
>
;
status
:
PgBuildColumn
<
"customer"
,
SetHasDefault
<
Set$Type
<
SetNotNull
<
PgTextBuilder
<
[
string
,
...
string
[]
]
>
>
,
"PENDING"
|
"ACTIVE"
|
"FAILED"
,
>
,
>
,
{
data
:
"PENDING"
|
"ACTIVE"
|
"FAILED"
;
dataType
:
"string"
;
driverParam
:
string
;
enumValues
:
undefined
;
generated
:
undefined
;
hasDefault
:
true
;
hasRuntimeDefault
:
false
;
identity
:
undefined
;
isAutoincrement
:
false
;
isPrimaryKey
:
false
;
name
:
string
;
notNull
:
true
;
tableName
:
"customer"
;
}
,
>
;
terms
:
PgBuildColumn
<
"customer"
,
Set$Type
<
PgJsonbBuilder
,
Partial
<
Record
<
|
"MOVEUSD_TERMS_OF_USE"
|
"COOKIES_POLICY"
|
"ESIGN_POLICY"
|
"PRIVACY_POLICY"
,
|
{
acceptedAt
:
string
;
acceptedBy
:
string
;
status
:
"ACCEPTED"
}
|
{
status
:
"BYPASSED"
}
|
{
status
:
"PENDING"
}
,
>
,
>
,
>
,
{
data
:
TData
;
dataType
:
"object json"
;
driverParam
:
unknown
;
enumValues
:
undefined
;
generated
:
undefined
;
hasDefault
:
false
;
hasRuntimeDefault
:
false
;
identity
:
undefined
;
isAutoincrement
:
false
;
isPrimaryKey
:
false
;
name
:
string
;
notNull
:
false
;
tableName
:
"customer"
;
}
,
>
;
updatedAt
:
PgBuildColumn
<
"customer"
,
SetHasDefault
<
SetNotNull
<
SetHasDefault
<
PgTimestampBuilder
>
>
>
,
{
data
:
Date
;
dataType
:
"object date"
;
driverParam
:
string
;
enumValues
:
undefined
;
generated
:
undefined
;
hasDefault
:
true
;
hasRuntimeDefault
:
false
;
identity
:
undefined
;
isAutoincrement
:
false
;
isPrimaryKey
:
false
;
name
:
string
;
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...