slackline/api/admin/apps/approve
This module is generated by gleam run -m slackline_codegen/generate. Do not edit it by hand.
Setters for the optional arguments of
admin.apps.approve.
Each setter takes the call that apps.approve returns and sets one
argument:
apps.approve()
|> approve.allow_child_auto_install(True)
Values
pub fn allow_child_auto_install(
call: slackline.Call(apps.Approve, r),
allow_child_auto_install: Bool,
) -> slackline.Call(apps.Approve, r)
Auto-create an Admin-Approved App automation rule that pre-approves future
child app installs from this manager app. Defaults to false.
pub fn app_id(
call: slackline.Call(apps.Approve, r),
app_id: String,
) -> slackline.Call(apps.Approve, r)
The id of the app to approve.
pub fn bot_scopes(
call: slackline.Call(apps.Approve, r),
bot_scopes: List(String),
) -> slackline.Call(apps.Approve, r)
Bot scopes to approve for the app
pub fn enterprise_id(
call: slackline.Call(apps.Approve, r),
enterprise_id: String,
) -> slackline.Call(apps.Approve, r)
The ID of the enterprise to approve the app on
pub fn request_id(
call: slackline.Call(apps.Approve, r),
request_id: String,
) -> slackline.Call(apps.Approve, r)
The id of the request to approve.
pub fn team_id(
call: slackline.Call(apps.Approve, r),
team_id: String,
) -> slackline.Call(apps.Approve, r)
The ID of the workspace to approve the app on
pub fn user_scopes(
call: slackline.Call(apps.Approve, r),
user_scopes: List(String),
) -> slackline.Call(apps.Approve, r)
User scopes to approve for the app