Functions

edit-server-configuration

fn (request: EditCurrentServerConfigurationRequest): EditCurrentServerConfigurationResponse
fn (request: EditCurrentServerConfigurationRequest, opts: Map): EditCurrentServerConfigurationResponse

Update the current server configuration including name, color, webhook URLs, and tracking settings.

Example

config ::postmark::edit/edit-server-configuration(::postmark::edit/EditCurrentServerConfigurationRequest({
    Name: "Production",
    TrackOpens: true,
    TrackLinks: "HtmlOnly"
}))
config.TrackLinks

Types

EditCurrentServerConfigurationRequest

EditCurrentServerConfigurationRequest type {
    Name: Str?,
    Color: "purple" | "blue" | "turquoise" | "green" | "red" | "yellow" | "grey" | "orange"?,
    RawEmailEnabled: Bool?,
    DeliveryHookUrl: Str?,
    SmtpApiActivated: Bool?,
    InboundHookUrl: Str?,
    BounceHookUrl: Str?,
    OpenHookUrl: Str?,
    PostFirstOpenOnly: Bool?,
    TrackOpens: Bool?,
    TrackLinks: "None" | "HtmlAndText" | "HtmlOnly" | "TextOnly"?,
    ClickHookUrl: Str?,
    InboundDomain: Str?,
    InboundSpamThreshold: Int?
}

EditCurrentServerConfigurationResponse

EditCurrentServerConfigurationResponse type {
    ID: Int?,
    Name: Str?,
    ApiTokens: Vec<Str>?,
    ServerLink: Str?,
    Color: ServerColor?,
    InboundAddress: Str?,
    RawEmailEnabled: Bool?,
    DeliveryHookUrl: Str?,
    SmtpApiActivated: Bool?,
    InboundHookUrl: Str?,
    BounceHookUrl: Str?,
    OpenHookUrl: Str?,
    PostFirstOpenOnly: Bool?,
    TrackOpens: Bool?,
    TrackLinks: LinkTracking?,
    ClickHookUrl: Str?,
    InboundDomain: Str?,
    InboundHash: Str?,
    InboundSpamThreshold: Int?
}

EditServerConfigurationRequest

EditServerConfigurationRequest type {
    Name: Str?,
    Color: "purple" | "blue" | "turquoise" | "green" | "red" | "yellow" | "grey" | "orange"?,
    RawEmailEnabled: Bool?,
    DeliveryHookUrl: Str?,
    SmtpApiActivated: Bool?,
    InboundHookUrl: Str?,
    BounceHookUrl: Str?,
    OpenHookUrl: Str?,
    PostFirstOpenOnly: Bool?,
    TrackOpens: Bool?,
    TrackLinks: "None" | "HtmlAndText" | "HtmlOnly" | "TextOnly"?,
    ClickHookUrl: Str?,
    InboundDomain: Str?,
    InboundSpamThreshold: Int?
}

LinkTracking

LinkTracking type "None" | "HtmlAndText" | "HtmlOnly" | "TextOnly"

ServerColor

ServerColor type "purple" | "blue" | "turquoise" | "green" | "red" | "yellow" | "grey" | "orange"

ServerConfigurationResponse

ServerConfigurationResponse type {
    ID: Int?,
    Name: Str?,
    ApiTokens: Vec<Str>?,
    ServerLink: Str?,
    Color: ServerColor?,
    InboundAddress: Str?,
    RawEmailEnabled: Bool?,
    DeliveryHookUrl: Str?,
    SmtpApiActivated: Bool?,
    InboundHookUrl: Str?,
    BounceHookUrl: Str?,
    OpenHookUrl: Str?,
    PostFirstOpenOnly: Bool?,
    TrackOpens: Bool?,
    TrackLinks: LinkTracking?,
    ClickHookUrl: Str?,
    InboundDomain: Str?,
    InboundHash: Str?,
    InboundSpamThreshold: Int?
}