@cfxlabsinc/b2b-services
Preparing search index...
@cfxlabsinc/transaction-approval-services
transactionApprovalActivities
prepareTransactionApprovalExecution
Variable prepareTransactionApprovalExecution
prepareTransactionApprovalExecution
:
(
deps
:
TransactionApprovalActivityDependencies
,
__namedParameters
:
{
approvalRequestId
:
string
;
expiredAttempt
?:
number
}
,
)
=>
Promise
<
|
{
ok
:
true
;
value
:
{
attempt
:
number
;
kind
:
"READY"
}
|
{
kind
:
"DONE"
}
;
}
|
{
error
:
ServiceError
;
ok
:
false
}
,
>
Type Declaration
(
deps
:
TransactionApprovalActivityDependencies
,
__namedParameters
:
{
approvalRequestId
:
string
;
expiredAttempt
?:
number
}
,
)
:
Promise
<
|
{
ok
:
true
;
value
:
{
attempt
:
number
;
kind
:
"READY"
}
|
{
kind
:
"DONE"
}
;
}
|
{
error
:
ServiceError
;
ok
:
false
}
,
>
Parameters
deps
:
TransactionApprovalActivityDependencies
__namedParameters
:
{
approvalRequestId
:
string
;
expiredAttempt
?:
number
}
Returns
Promise
<
|
{
ok
:
true
;
value
:
{
attempt
:
number
;
kind
:
"READY"
}
|
{
kind
:
"DONE"
}
;
}
|
{
error
:
ServiceError
;
ok
:
false
}
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@cfxlabsinc/b2b-services
Loading...