Skip to main content

FuseMacroSecurity

@appfire/fuse-utilsDocs


@appfire/fuse-utils / FuseMacroSecurity

Class: FuseMacroSecurity

Constructors

new FuseMacroSecurity()

new FuseMacroSecurity(productType, appKey): FuseMacroSecurity

Parameters

productType: ProductType

appKey: string

Returns

FuseMacroSecurity

Defined in

repository/macro-security.ts:28

Properties

appKey

appKey: string

Defined in

repository/macro-security.ts:26


fuseConfluenceSDK

fuseConfluenceSDK: FuseConfluenceSDK

Defined in

repository/macro-security.ts:27


fuseHttpClient

fuseHttpClient: ConfluenceHttpClient | JiraHttpClient | MondayHttpClient

Defined in

repository/macro-security.ts:24


productType

productType: ProductType

Defined in

repository/macro-security.ts:25

Methods

create()

create(macroSecurity): Promise\<MSResponse>

Parameters

macroSecurity: MacroSecurity

Returns

Promise\<MSResponse>

Defined in

repository/macro-security.ts:43


delete()

delete(macroKey, paramKey): Promise\<void>

Parameters

macroKey: string

paramKey: string

Returns

Promise\<void>

Defined in

repository/macro-security.ts:57


getGroups()

getGroups(): Promise\<ConfluenceResponse>

Returns

Promise\<ConfluenceResponse>

Defined in

repository/macro-security.ts:69


getRestrictions()

getRestrictions(query): Promise\<RestrictionsResponse>

Parameters

query: RestrictionQuery

Returns

Promise\<RestrictionsResponse>

Defined in

repository/macro-security.ts:89


getSpaces()

getSpaces(): Promise\<ConfluenceResponse>

Returns

Promise\<ConfluenceResponse>

Defined in

repository/macro-security.ts:65


getUserByID()

getUserByID(id): Promise\<ConfluenceResponse>

Parameters

id: string

Returns

Promise\<ConfluenceResponse>

Defined in

repository/macro-security.ts:73


getUsers()

getUsers(searchKey): Promise\<ConfluenceResponse>

Parameters

searchKey: string

Returns

Promise\<ConfluenceResponse>

Defined in

repository/macro-security.ts:61


list()

list(): Promise\<ListMacroSecurityResponse>

Returns

Promise\<ListMacroSecurityResponse>

Defined in

repository/macro-security.ts:37


register()

register(macroRegister): Promise\<MSResponse>

Parameters

macroRegister: RegisterMacro

Returns

Promise\<MSResponse>

Defined in

repository/macro-security.ts:77


update()

update(macroSecurity): Promise\<MSResponse>

Parameters

macroSecurity: MacroSecurity

Returns

Promise\<MSResponse>

Defined in

repository/macro-security.ts:50