@cfxlabsinc/b2b-services
Preparing search index...
@cfxlabsinc/db
organizationTable
Variable organizationTable
Const
organizationTable
:
Omit
<
PgTableWithColumns
<
{
columns
:
{
achName
:
PgBuildColumn
<
"organization"
,
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
:
"organization"
;
}
,
>
;
countryOfIncorporation
:
PgBuildColumn
<
"organization"
,
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
:
"organization"
;
}
,
>
;
createdAt
:
PgBuildColumn
<
"organization"
,
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
:
"organization"
;
}
,
>
;
customerId
:
PgBuildColumn
<
"organization"
,
SetNotNull
<
PgIntegerBuilder
>
,
{
data
:
number
;
dataType
:
"number int32"
;
driverParam
:
string
|
number
;
enumValues
:
undefined
;
generated
:
undefined
;
hasDefault
:
false
;
hasRuntimeDefault
:
false
;
identity
:
undefined
;
isAutoincrement
:
false
;
isPrimaryKey
:
false
;
name
:
string
;
notNull
:
true
;
tableName
:
"organization"
;
}
,
>
;
data
:
PgBuildColumn
<
"organization"
,
Set$Type
<
PgJsonbBuilder
,
{
address
?:
{
city
:
string
;
countryCode
:
string
;
line1
:
string
;
line2
?:
string
;
postalCode
?:
string
;
regionCode
?:
string
;
}
;
email
?:
string
;
incorporationDate
?:
string
;
phone
?:
E164Phone
;
routeFusionEntity
?:
{
documentsUploadedAt
?:
string
;
entityId
:
string
;
lastFinalizeError
?:
{
at
:
...
;
message
:
...
}
|
null
;
programId
?:
string
;
requiredDocuments
?:
(...)
[]
;
status
:
"PENDING"
|
"VERIFIED"
|
"REJECTED"
;
}
;
verificationData
?:
{
status
:
"REVIEW"
|
"PENDING"
|
"DECLINED"
|
"APPROVED"
;
verificationSessionId
?:
string
;
verificationTemplateId
:
string
;
}
;
verificationProfileId
?:
string
;
websiteUrl
?:
string
;
}
,
>
,
{
data
:
{
address
?:
{
city
:
string
;
countryCode
:
string
;
line1
:
string
;
line2
?:
string
;
postalCode
?:
string
;
regionCode
?:
string
;
}
;
email
?:
string
;
incorporationDate
?:
string
;
phone
?:
E164Phone
;
routeFusionEntity
?:
{
documentsUploadedAt
?:
string
;
entityId
:
string
;
lastFinalizeError
?:
{
at
:
...
;
message
:
...
}
|
null
;
programId
?:
string
;
requiredDocuments
?:
(...)
[]
;
status
:
"PENDING"
|
"VERIFIED"
|
"REJECTED"
;
}
;
verificationData
?:
{
status
:
"REVIEW"
|
"PENDING"
|
"DECLINED"
|
"APPROVED"
;
verificationSessionId
?:
string
;
verificationTemplateId
:
string
;
}
;
verificationProfileId
?:
string
;
websiteUrl
?:
string
;
}
;
dataType
:
"object json"
;
driverParam
:
unknown
;
enumValues
:
undefined
;
generated
:
undefined
;
hasDefault
:
false
;
hasRuntimeDefault
:
false
;
identity
:
undefined
;
isAutoincrement
:
false
;
isPrimaryKey
:
false
;
name
:
string
;
notNull
:
false
;
tableName
:
"organization"
;
}
,
>
;
deletedAt
:
PgBuildColumn
<
"organization"
,
PgTimestampBuilder
,
{
data
:
Date
;
dataType
:
"object date"
;
driverParam
:
string
;
enumValues
:
undefined
;
generated
:
undefined
;
hasDefault
:
false
;
hasRuntimeDefault
:
false
;
identity
:
undefined
;
isAutoincrement
:
false
;
isPrimaryKey
:
false
;
name
:
string
;
notNull
:
false
;
tableName
:
"organization"
;
}
,
>
;
description
:
PgBuildColumn
<
"organization"
,
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
:
"organization"
;
}
,
>
;
entityType
:
PgBuildColumn
<
"organization"
,
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
:
"organization"
;
}
,
>
;
externalId
:
PgBuildColumn
<
"organization"
,
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
:
"organization"
;
}
,
>
;
id
:
PgBuildColumn
<
"organization"
,
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
:
"organization"
;
}
,
>
;
isMainOrg
:
PgBuildColumn
<
"organization"
,
SetHasDefault
<
SetNotNull
<
PgBooleanBuilder
>
>
,
{
data
:
boolean
;
dataType
:
"boolean"
;
driverParam
:
boolean
;
enumValues
:
undefined
;
generated
:
undefined
;
hasDefault
:
true
;
hasRuntimeDefault
:
false
;
identity
:
undefined
;
isAutoincrement
:
false
;
isPrimaryKey
:
false
;
name
:
string
;
notNull
:
true
;
tableName
:
"organization"
;
}
,
>
;
name
:
PgBuildColumn
<
"organization"
,
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
:
"organization"
;
}
,
>
;
referenceId
:
PgBuildColumn
<
"organization"
,
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
:
"organization"
;
}
,
>
;
status
:
PgBuildColumn
<
"organization"
,
Set$Type
<
SetNotNull
<
PgTextBuilder
<
[
string
,
...
string
[]
]
>
>
,
"PENDING_VERIFICATION"
|
"ACTIVE"
|
"DISABLED"
|
"DELETED"
,
>
,
{
data
:
"PENDING_VERIFICATION"
|
"ACTIVE"
|
"DISABLED"
|
"DELETED"
;
dataType
:
"string"
;
driverParam
:
string
;
enumValues
:
undefined
;
generated
:
undefined
;
hasDefault
:
false
;
hasRuntimeDefault
:
false
;
identity
:
undefined
;
isAutoincrement
:
false
;
isPrimaryKey
:
false
;
name
:
string
;
notNull
:
true
;
tableName
:
"organization"
;
}
,
>
;
taxId
:
PgBuildColumn
<
"organization"
,
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
:
"organization"
;
}
,
>
;
updatedAt
:
PgBuildColumn
<
"organization"
,
SetHasDefault
<
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
:
"organization"
;
}
,
>
;
uuid
:
PgBuildColumn
<
"organization"
,
SetHasDefault
<
SetNotNull
<
PgUUIDBuilder
>
>
,
{
data
:
string
;
dataType
:
"string uuid"
;
driverParam
:
string
;
enumValues
:
undefined
;
generated
:
undefined
;
hasDefault
:
true
;
hasRuntimeDefault
:
false
;
identity
:
undefined
;
isAutoincrement
:
false
;
isPrimaryKey
:
false
;
name
:
string
;
notNull
:
true
;
tableName
:
"organization"
;
}
,
>
;
wireName
:
PgBuildColumn
<
"organization"
,
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
:
"organization"
;
}
,
>
;
}
;
dialect
:
"pg"
;
name
:
"organization"
;
schema
:
"b2b"
;
}
,
>
,
"enableRLS"
,
>
= ...
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@cfxlabsinc/b2b-services
Loading...