mgmt.scopes after new ModusManagement(...).
Properties
ManagementScopesOperations
required
Methods
acceptOwnershipTransfer()
Parameters
string | number
required
Returns
Promise<object>
cancelOwnershipTransfer()
Parameters
string | number
required
Returns
Promise<object>
conversations()
Parameters
string | number
required
Scope id.
Returns
ScopeConversationsResource
A conversations resource scoped to the scope.
create()
Parameters
CreateScopeOptions
required
Returns
Promise<object>
The created scope (draft).
delete()
Parameters
string | number
required
Scope id.
Returns
Promise<void>
Resolves when the scope is deleted.
deploy()
Parameters
string | number
required
Scope id.
Returns
Promise<object>
The published scope.
evaluations()
Parameters
string | number
required
Scope id.
Returns
ScopeEvaluationsResource
An evaluations resource scoped to the scope.
get()
Parameters
string | number
required
Scope id.
{ view: VariationView }
Returns
Promise<object>
The scope.
getVariation()
Parameters
string | number
required
Scope id.
{ variationUid: string }
required
Returns
Promise<object>
The scope variation.
list()
Parameters
Returns
Promise<Page<object>>
A page of scopes.
memories()
Parameters
string | number
required
Scope id.
Returns
ScopeMemoriesResource
A memories resource scoped to the scope.
patchMcpConfig()
Parameters
string | number
required
Scope id.
required
Returns
Promise<void>
requestOwnershipTransfer()
Parameters
string | number
required
Scope id.
{ newOwnerUserId: string }
required
Returns
Promise<object>
The scope with a pending ownership transfer.
restore()
Parameters
string | number
required
Scope id.
Returns
Promise<object>
The restored scope.
supervision()
Parameters
string | number
required
Scope id.
Returns
ScopeSupervisionResource
A supervision resource scoped to the scope.
update()
updateMask (comma-separated field names) and leave its argument unset.
Parameters
string | number
required
Scope id.
UpdateScopeOptions
Returns
Promise<object>
The updated scope.