@cfxlabsinc/b2b-services
Preparing search index...
@cfxlabsinc/db
organizationTable
Variable organizationTable
Const
organizationTable
:
Omit
<
PgTableWithColumns
<
{
columns
:
{
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
;
phone
?:
E164Phone
;
verificationData
?:
{
status
:
"PENDING"
|
"REVIEW"
|
"APPROVED"
|
"DECLINED"
;
verificationSessionId
:
string
;
verificationTemplateId
:
string
;
}
;
verificationProfileId
?:
string
;
websiteUrl
?:
string
;
}
,
>
,
{
data
:
{
address
?:
{
city
:
string
;
countryCode
:
string
;
line1
:
string
;
line2
?:
string
;
postalCode
:
string
;
regionCode
?:
string
;
}
;
email
?:
string
;
phone
?:
E164Phone
;
verificationData
?:
{
status
:
"PENDING"
|
"REVIEW"
|
"APPROVED"
|
"DECLINED"
;
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"
;
}
,
>
;
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"
;
}
,
>
;
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
[]
]
>
>
,
"ACTIVE"
|
"DISABLED"
|
"DELETED"
|
"PENDING_VERIFICATION"
,
>
,
{
data
:
"ACTIVE"
|
"DISABLED"
|
"DELETED"
|
"PENDING_VERIFICATION"
;
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"
;
}
,
>
;
}
;
dialect
:
"pg"
;
name
:
"organization"
;
schema
:
"b2b"
;
}
,
>
,
"enableRLS"
,
>
= ...
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@cfxlabsinc/b2b-services
Loading...