SDK reference · Resources
client.plugins
client.plugins.{ list, set }Each integration has an access level for the application: allow_reads lets reads run on their own while writes wait for approval; ask requires approval for every action; disabled blocks it.
list
list(): Promise<Page>Every integration with its access level and whether it's configured.
Returns Promise<Page>
set
set(id: string, permission: "allow_reads" | "ask" | "disabled"): Promise<Resource>Changes an integration's access level.
Parameters
idstring- gmail, web, github, drive, calendar, slack or figma.
permission"allow_reads" | "ask" | "disabled"- The new access level.
Returns Promise<Resource>