@cfxlabsinc/b2b-services
Preparing search index...
@cfxlabsinc/b2b-db-schema
productLimitConfigTable
Variable productLimitConfigTable
Const
productLimitConfigTable
:
Omit
<
PgTableWithColumns
<
{
columns
:
{
config
:
PgColumn
<
{
baseColumn
:
never
;
columnType
:
"PgJsonb"
;
data
:
{
rules
:
{
matcher
:
object
;
status
:
"ACTIVE"
|
"DISABLED"
;
value
:
((...)
&
(...))
[]
;
}
[]
;
}
;
dataType
:
"json"
;
driverParam
:
unknown
;
enumValues
:
undefined
;
generated
:
undefined
;
hasDefault
:
false
;
hasRuntimeDefault
:
false
;
identity
:
undefined
;
isAutoincrement
:
false
;
isPrimaryKey
:
false
;
name
:
"config"
;
notNull
:
true
;
tableName
:
"product_limit_config"
;
}
,
{}
,
{
$type
:
{
rules
:
{
matcher
:
object
;
status
:
"ACTIVE"
|
"DISABLED"
;
value
:
((...)
&
(...))
[]
;
}
[]
;
}
;
}
,
>
;
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
:
"product_limit_config"
;
}
,
{}
,
{}
,
>
;
customerId
:
PgColumn
<
{
baseColumn
:
never
;
columnType
:
"PgInteger"
;
data
:
number
;
dataType
:
"number"
;
driverParam
:
string
|
number
;
enumValues
:
undefined
;
generated
:
undefined
;
hasDefault
:
false
;
hasRuntimeDefault
:
false
;
identity
:
undefined
;
isAutoincrement
:
false
;
isPrimaryKey
:
false
;
name
:
"customerId"
;
notNull
:
false
;
tableName
:
"product_limit_config"
;
}
,
{}
,
{}
,
>
;
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
:
"product_limit_config"
;
}
,
{}
,
{}
,
>
;
productName
:
PgColumn
<
{
baseColumn
:
never
;
columnType
:
"PgText"
;
data
:
|
"organization.v1"
|
"identity.v1"
|
"card.physical_card.v1"
|
"card.virtual_card.v1"
|
"deposit.us_cash.v1"
|
"deposit.rtp.v1"
|
"deposit.us_bank_ach.v1"
|
"deposit.ach_credit.v1"
|
"deposit.us_wire.v1"
|
"deposit.swift_wire.v1"
|
"transfer.redemption.v1"
|
"swap.v1"
|
"withdraw.blockchain.v1"
|
"withdraw.ke_bank.v1"
|
"withdraw.ke_momo.v1"
|
"withdraw.mx_bank_spei.v1"
|
"withdraw.swift_wire.v1"
|
"withdraw.tg_momo.v1"
|
"withdraw.us_bank_ach.v1"
|
"withdraw.us_instant.v1"
|
"withdraw.us_wire.v1"
|
"withdraw.ach_pull.v1"
|
"withdraw.us_wire_drawdown.v1"
|
"account.virtual-account.v1"
|
"deposit.*"
|
"withdraw.*"
;
dataType
:
"string"
;
driverParam
:
string
;
enumValues
:
[
string
,
...
string
[]
]
;
generated
:
undefined
;
hasDefault
:
false
;
hasRuntimeDefault
:
false
;
identity
:
undefined
;
isAutoincrement
:
false
;
isPrimaryKey
:
false
;
name
:
"productName"
;
notNull
:
true
;
tableName
:
"product_limit_config"
;
}
,
{}
,
{
$type
:
|
"organization.v1"
|
"identity.v1"
|
"card.physical_card.v1"
|
"card.virtual_card.v1"
|
"deposit.us_cash.v1"
|
"deposit.rtp.v1"
|
"deposit.us_bank_ach.v1"
|
"deposit.ach_credit.v1"
|
"deposit.us_wire.v1"
|
"deposit.swift_wire.v1"
|
"transfer.redemption.v1"
|
"swap.v1"
|
"withdraw.blockchain.v1"
|
"withdraw.ke_bank.v1"
|
"withdraw.ke_momo.v1"
|
"withdraw.mx_bank_spei.v1"
|
"withdraw.swift_wire.v1"
|
"withdraw.tg_momo.v1"
|
"withdraw.us_bank_ach.v1"
|
"withdraw.us_instant.v1"
|
"withdraw.us_wire.v1"
|
"withdraw.ach_pull.v1"
|
"withdraw.us_wire_drawdown.v1"
|
"account.virtual-account.v1"
|
"deposit.*"
|
"withdraw.*"
;
}
,
>
;
status
:
PgColumn
<
{
baseColumn
:
never
;
columnType
:
"PgText"
;
data
:
"ACTIVE"
|
"DISABLED"
;
dataType
:
"string"
;
driverParam
:
string
;
enumValues
:
[
string
,
...
string
[]
]
;
generated
:
undefined
;
hasDefault
:
false
;
hasRuntimeDefault
:
false
;
identity
:
undefined
;
isAutoincrement
:
false
;
isPrimaryKey
:
false
;
name
:
"status"
;
notNull
:
true
;
tableName
:
"product_limit_config"
;
}
,
{}
,
{
$type
:
"ACTIVE"
|
"DISABLED"
}
,
>
;
type
:
PgColumn
<
{
baseColumn
:
never
;
columnType
:
"PgText"
;
data
:
"ADMIN"
|
"CUSTOMER"
;
dataType
:
"string"
;
driverParam
:
string
;
enumValues
:
[
string
,
...
string
[]
]
;
generated
:
undefined
;
hasDefault
:
false
;
hasRuntimeDefault
:
false
;
identity
:
undefined
;
isAutoincrement
:
false
;
isPrimaryKey
:
false
;
name
:
"type"
;
notNull
:
true
;
tableName
:
"product_limit_config"
;
}
,
{}
,
{
$type
:
"ADMIN"
|
"CUSTOMER"
}
,
>
;
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
:
"product_limit_config"
;
}
,
{}
,
{}
,
>
;
}
;
dialect
:
"pg"
;
name
:
"product_limit_config"
;
schema
:
"b2b"
;
}
,
>
,
"enableRLS"
,
>
= ...
Manages the rules for the limits applied to a product
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@cfxlabsinc/b2b-services
Loading...
Manages the rules for the limits applied to a product