@makehq/sdk
    Preparing search index...

    Type Alias CreateTemplateBody

    Body for creating a template.

    type CreateTemplateBody = {
        blueprint: Omit<Blueprint, "scheduling" | "interface">;
        controller: TemplateController;
        language: string;
        metadata?: { input_spec?: JSONValue; output_spec?: JSONValue };
        scheduling: Scheduling;
        teamId: number;
    }
    Index

    Properties

    blueprint: Omit<Blueprint, "scheduling" | "interface">

    Blueprint containing the scenario configuration

    controller: TemplateController

    Controller configuration for the template

    language: string

    Language code for the template (e.g. "en")

    metadata?: { input_spec?: JSONValue; output_spec?: JSONValue }

    Additional metadata, e.g. input_spec/output_spec for on-demand templates

    scheduling: Scheduling

    Scheduling configuration for the template

    teamId: number

    ID of the team where the template will be created