slackline/api/admin/apps/config_set

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.config.set. Each setter takes the call that apps.config_set returns and sets one argument:

apps.config_set(app_id: "A12345")
|> config_set.workflow_auth_strategy(workflow_auth_strategy)

Values

pub fn domain_restrictions(
  call: slackline.Call(apps.ConfigSet, r),
  domain_restrictions: apps.DomainRestrictions,
) -> slackline.Call(apps.ConfigSet, r)

Domain restrictions for the app. Should be an object with two properties: urls and emails. Each is an array of strings, and each sets the allowed URLs and emails for connector authorization, respectively.

pub fn rich_link_preview_type(
  call: slackline.Call(apps.ConfigSet, r),
  rich_link_preview_type: apps.RichLinkPreviewType,
) -> slackline.Call(apps.ConfigSet, r)

Indicates the app-level override for rich link preview. Unsupported for free teams. Acceptable values: all_details limited_details no_preview default_to_global_setting

pub fn workflow_auth_strategy(
  call: slackline.Call(apps.ConfigSet, r),
  workflow_auth_strategy: apps.WorkflowAuthStrategy,
) -> slackline.Call(apps.ConfigSet, r)

The workflow auth permission. Can be one of builder_choice or end_user_only. Acceptable values: builder_choice end_user_only

✨ Search Document