service
Api Code Documentation / Exports / service
Table of contents
References
Functions
- assignWorkflowitem
- closeWorkflowitem
- getWorkflowitemOrdering
- grantGlobalPermission
- init
- revokeGlobalPermission
- updateWorkflowitem
References
ConnToken
Re-exports ConnToken
Event
Re-exports Event
Issuer
Re-exports Issuer
throwUnsupportedEventVersion
Re-exports throwUnsupportedEventVersion
Functions
assignWorkflowitem
▸ assignWorkflowitem(conn
, issuer
, newAssignee
, projectId
, subprojectId
, workflowitemId
): Promise
<void
>
Parameters
Name | Type |
---|---|
conn | ConnToken |
issuer | Issuer |
newAssignee | string |
projectId | string |
subprojectId | string |
workflowitemId | string |
Returns
Promise
<void
>
Defined in
closeWorkflowitem
▸ closeWorkflowitem(conn
, issuer
, projectId
, subprojectId
, workflowitemId
): Promise
<void
>
Parameters
Name | Type |
---|---|
conn | ConnToken |
issuer | Issuer |
projectId | string |
subprojectId | string |
workflowitemId | string |
Returns
Promise
<void
>
Defined in
getWorkflowitemOrdering
▸ getWorkflowitemOrdering(conn
, projectId
, subprojectId
): Promise
<string
[]>
Parameters
Name | Type |
---|---|
conn | ConnToken |
projectId | string |
subprojectId | string |
Returns
Promise
<string
[]>
Defined in
grantGlobalPermission
▸ grantGlobalPermission(conn
, issuer
, grantee
, intent
): Promise
<void
>
Parameters
Name | Type |
---|---|
conn | ConnToken |
issuer | Issuer |
grantee | string |
intent | default |
Returns
Promise
<void
>
Defined in
init
▸ init(rpcSettings
): ConnToken
Parameters
Name | Type |
---|---|
rpcSettings | ConnectionSettings |
Returns
Defined in
revokeGlobalPermission
▸ revokeGlobalPermission(conn
, issuer
, recipient
, intent
): Promise
<void
>
Parameters
Name | Type |
---|---|
conn | ConnToken |
issuer | Issuer |
recipient | string |
intent | default |
Returns
Promise
<void
>
Defined in
updateWorkflowitem
▸ updateWorkflowitem(conn
, issuer
, projectId
, subprojectId
, workflowitemId
, data
): Promise
<void
>
Parameters
Name | Type |
---|---|
conn | ConnToken |
issuer | Issuer |
projectId | string |
subprojectId | string |
workflowitemId | string |
data | Update |
Returns
Promise
<void
>