@cfxlabsinc/b2b-services
Preparing search index...
@cfxlabsinc/slack-services
CustomerSlackBotInstallationAdminService
Class CustomerSlackBotInstallationAdminService
Index
Constructors
constructor
Properties
db
db
Helper
Methods
create
delete
get
search
Constructors
constructor
new
CustomerSlackBotInstallationAdminService
(
args
:
{
adminEventPublisher
:
AdminEventPublisher
;
sqlClient
:
Sql
}
,
)
:
CustomerSlackBotInstallationAdminService
Parameters
args
:
{
adminEventPublisher
:
AdminEventPublisher
;
sqlClient
:
Sql
}
Returns
CustomerSlackBotInstallationAdminService
Properties
Protected
Readonly
db
db
:
B2bDatabase
Protected
Readonly
db
Helper
dbHelper
:
DbHelper
Methods
create
create
(
args
:
{
customerId
:
string
;
hidden
?:
boolean
;
slackBotInstallationId
:
string
;
tx
?:
B2bPgTransaction
;
}
,
)
:
Promise
<
{
ok
:
true
;
value
:
CustomerSlackBotInstallation
|
null
}
>
Get a slack installation by ID
Parameters
args
:
{
customerId
:
string
;
hidden
?:
boolean
;
slackBotInstallationId
:
string
;
tx
?:
B2bPgTransaction
;
}
Returns
Promise
<
{
ok
:
true
;
value
:
CustomerSlackBotInstallation
|
null
}
>
delete
delete
(
args
:
{
id
:
string
[]
;
tx
?:
B2bPgTransaction
}
)
:
Promise
<
void
>
Get a slack installation by ID
Parameters
args
:
{
id
:
string
[]
;
tx
?:
B2bPgTransaction
}
Returns
Promise
<
void
>
get
get
(
args
:
{
id
:
string
;
tx
?:
B2bPgTransaction
}
,
)
:
Promise
<
{
ok
:
true
;
value
:
CustomerSlackBotInstallation
|
null
}
>
Get a slack installation by ID
Parameters
args
:
{
id
:
string
;
tx
?:
B2bPgTransaction
}
Returns
Promise
<
{
ok
:
true
;
value
:
CustomerSlackBotInstallation
|
null
}
>
search
search
(
__namedParameters
:
{
createdAt
?:
DbTimestampCriteria
;
customerId
?:
string
;
id
?:
string
[]
;
includeHidden
?:
boolean
;
page
?:
number
;
pageSize
?:
number
;
slackBotInstallationId
?:
string
;
tx
?:
B2bPgTransaction
;
updatedAt
?:
DbTimestampCriteria
;
}
,
)
:
Promise
<
{
ok
:
true
;
value
:
CustomerSlackBotInstallation
[]
}
>
Search a slack installations
Parameters
__namedParameters
:
{
createdAt
?:
DbTimestampCriteria
;
customerId
?:
string
;
id
?:
string
[]
;
includeHidden
?:
boolean
;
page
?:
number
;
pageSize
?:
number
;
slackBotInstallationId
?:
string
;
tx
?:
B2bPgTransaction
;
updatedAt
?:
DbTimestampCriteria
;
}
Returns
Promise
<
{
ok
:
true
;
value
:
CustomerSlackBotInstallation
[]
}
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
db
db
Helper
Methods
create
delete
get
search
@cfxlabsinc/b2b-services
Loading...
Get a slack installation by ID