diff --git a/404.html b/404.html index b90a42c76..47fe097e0 100644 --- a/404.html +++ b/404.html @@ -1,3 +1,3 @@ -braze-api

braze-api

+braze-api
diff --git a/classes/Braze.html b/classes/Braze.html index 7d663f77f..aafb17cfb 100644 --- a/classes/Braze.html +++ b/classes/Braze.html @@ -1,4 +1,4 @@ -Braze | braze-api

Class Braze

Constructors

constructor +Braze | braze-api

Class Braze

Constructors

Properties

campaigns canvas catalogs @@ -13,39 +13,39 @@ v2

Constructors

  • Parameters

    • apiUrl: string

      Braze REST endpoint.

    • apiKey: string

      Braze API key.

      -

    Returns Braze

Properties

campaigns: {
    list: ((parameters?: CampaignsListParameters) => Promise<CampaignsListResponse>);
    trigger: {
        schedule: {
            create: ((body: CampaignsTriggerScheduleCreateObject) => Promise<CampaignsTriggerScheduleCreateResponse>);
            delete: ((body: CampaignsTriggerScheduleDeleteObject) => Promise<ServerResponse>);
            update: ((body: CampaignsTriggerScheduleUpdateObject) => Promise<ServerResponse>);
        };
        send: ((body: CampaignsTriggerSendObject) => Promise<{
            dispatch_id: string;
            message: string;
        }>);
    };
} = ...

Type declaration

Returns Braze

Properties

campaigns: {
    list: ((parameters?: CampaignsListParameters) => Promise<CampaignsListResponse>);
    trigger: {
        schedule: {
            create: ((body: CampaignsTriggerScheduleCreateObject) => Promise<CampaignsTriggerScheduleCreateResponse>);
            delete: ((body: CampaignsTriggerScheduleDeleteObject) => Promise<ServerResponse>);
            update: ((body: CampaignsTriggerScheduleUpdateObject) => Promise<ServerResponse>);
        };
        send: ((body: CampaignsTriggerSendObject) => Promise<{
            dispatch_id: string;
            message: string;
        }>);
    };
} = ...

Type declaration

canvas: {
    list: ((parameters?: CanvasListParameters) => Promise<CanvasListResponse>);
    trigger: {
        schedule: {
            create: ((body: CanvasTriggerScheduleCreateObject) => Promise<CanvasTriggerScheduleCreatResponse>);
            delete: ((body: CanvasTriggerScheduleDeleteObject) => Promise<ServerResponse>);
            update: ((body: CanvasTriggerScheduleUpdateObject) => Promise<ServerResponse>);
        };
        send: ((body: CanvasTriggerSendObject) => Promise<{
            dispatch_id: string;
            message: string;
        }>);
    };
} = ...

Type declaration

canvas: {
    list: ((parameters?: CanvasListParameters) => Promise<CanvasListResponse>);
    trigger: {
        schedule: {
            create: ((body: CanvasTriggerScheduleCreateObject) => Promise<CanvasTriggerScheduleCreatResponse>);
            delete: ((body: CanvasTriggerScheduleDeleteObject) => Promise<ServerResponse>);
            update: ((body: CanvasTriggerScheduleUpdateObject) => Promise<ServerResponse>);
        };
        send: ((body: CanvasTriggerSendObject) => Promise<{
            dispatch_id: string;
            message: string;
        }>);
    };
} = ...

Type declaration

catalogs: {
    synchronous: {
        item: (<T>(body: CatalogListItemBody) => Promise<CatalogListItemResponse<T>>);
        items: (<T>(body: CatalogListItemsBody) => AsyncGenerator<T, any, any>);
        list: (() => Promise<CatalogListResponse>);
    };
} = ...
    • (body): Promise<{
          dispatch_id: string;
          message: string;
      }>
    • Parameters

      Returns Promise<{
          dispatch_id: string;
          message: string;
      }>

catalogs: {
    synchronous: {
        item: (<T>(body: CatalogListItemBody) => Promise<CatalogListItemResponse<T>>);
        items: (<T>(body: CatalogListItemsBody) => AsyncGenerator<T, any, any>);
        list: (() => Promise<CatalogListResponse>);
    };
} = ...

Type declaration

email: {
    blacklist: ((body: EmailBlacklistObject) => Promise<ServerResponse>);
    bounce: {
        remove: ((body: EmailBounceRemoveObject) => Promise<ServerResponse>);
    };
    spam: {
        remove: ((body: EmailSpamRemoveObject) => Promise<ServerResponse>);
    };
} = ...
email: {
    blacklist: ((body: EmailBlacklistObject) => Promise<ServerResponse>);
    bounce: {
        remove: ((body: EmailBounceRemoveObject) => Promise<ServerResponse>);
    };
    spam: {
        remove: ((body: EmailSpamRemoveObject) => Promise<ServerResponse>);
    };
} = ...

Type declaration

messages: {
    schedule: {
        create: ((body: MessagesScheduleCreateObject) => Promise<{
            dispatch_id: string;
            message: string;
            schedule_id: string;
        }>);
        delete: ((body: MessagesScheduleDeleteObject) => Promise<ServerResponse>);
        update: ((body: MessagesScheduleUpdateObject) => Promise<ServerResponse>);
    };
    scheduled_broadcasts: ((body: ScheduledBroadcastsObject) => Promise<ScheduledBroadcastsResponse>);
    send: ((body: MessagesSendObject) => Promise<{
        dispatch_id: string;
        message: string;
    }>);
} = ...
messages: {
    schedule: {
        create: ((body: MessagesScheduleCreateObject) => Promise<{
            dispatch_id: string;
            message: string;
            schedule_id: string;
        }>);
        delete: ((body: MessagesScheduleDeleteObject) => Promise<ServerResponse>);
        update: ((body: MessagesScheduleUpdateObject) => Promise<ServerResponse>);
    };
    scheduled_broadcasts: ((body: ScheduledBroadcastsObject) => Promise<ScheduledBroadcastsResponse>);
    send: ((body: MessagesSendObject) => Promise<{
        dispatch_id: string;
        message: string;
    }>);
} = ...

Type declaration

segments: {
    analytics: ((parameters: SegmentsAnalyticsParameters) => Promise<SegmentsAnalyticsResponse>);
    details: ((parameters: SegmentsDetailsParameters) => Promise<SegmentsDetailsResponse>);
    list: ((parameters?: SegmentsListParameters) => Promise<SegmentsListResponse>);
} = ...

Type declaration

  • analytics: ((parameters: SegmentsAnalyticsParameters) => Promise<SegmentsAnalyticsResponse>)

    GET /segments/data_series

    +
      • (body): Promise<{
            dispatch_id: string;
            message: string;
        }>
      • Parameters

        Returns Promise<{
            dispatch_id: string;
            message: string;
        }>

segments: {
    analytics: ((parameters: SegmentsAnalyticsParameters) => Promise<SegmentsAnalyticsResponse>);
    details: ((parameters: SegmentsDetailsParameters) => Promise<SegmentsDetailsResponse>);
    list: ((parameters?: SegmentsListParameters) => Promise<SegmentsListResponse>);
} = ...

Type declaration

  • analytics: ((parameters: SegmentsAnalyticsParameters) => Promise<SegmentsAnalyticsResponse>)

    GET /segments/data_series

      • (parameters): Promise<SegmentsAnalyticsResponse>
      • Parameters

        • parameters: SegmentsAnalyticsParameters

        Returns Promise<SegmentsAnalyticsResponse>

  • details: ((parameters: SegmentsDetailsParameters) => Promise<SegmentsDetailsResponse>)

    GET /segments/details

      • (parameters): Promise<SegmentsDetailsResponse>
      • Parameters

        • parameters: SegmentsDetailsParameters

        Returns Promise<SegmentsDetailsResponse>

  • list: ((parameters?: SegmentsListParameters) => Promise<SegmentsListResponse>)

    GET /segments/list

    -
      • (parameters?): Promise<SegmentsListResponse>
      • Parameters

        • Optionalparameters: SegmentsListParameters

        Returns Promise<SegmentsListResponse>

sends: {
    id: {
        create: ((body: SendsIdCreateObject) => Promise<{
            message: string;
            send_id: string;
        }>);
    };
} = ...

Type declaration

  • id: {
        create: ((body: SendsIdCreateObject) => Promise<{
            message: string;
            send_id: string;
        }>);
    }
    • create: ((body: SendsIdCreateObject) => Promise<{
          message: string;
          send_id: string;
      }>)

      POST /sends/id/create

      -
        • (body): Promise<{
              message: string;
              send_id: string;
          }>
        • Parameters

          Returns Promise<{
              message: string;
              send_id: string;
          }>

subscription: {
    status: {
        get: ((body: SubscriptionStatusGetObject) => Promise<{
            message: string;
            status: Record<string, "Subscribed" | "Unsubscribed" | "Unknown">;
        }>);
        set: ((body: SubscriptionStatusSetObject) => Promise<{
            message: string;
        }>);
    };
    user: {
        status: ((body: SubscriptionUserStatusObject) => Promise<SubscriptionUserStatusResponse>);
    };
} = ...
    • (parameters?): Promise<SegmentsListResponse>
    • Parameters

      • Optionalparameters: SegmentsListParameters

      Returns Promise<SegmentsListResponse>

sends: {
    id: {
        create: ((body: SendsIdCreateObject) => Promise<{
            message: string;
            send_id: string;
        }>);
    };
} = ...

Type declaration

  • id: {
        create: ((body: SendsIdCreateObject) => Promise<{
            message: string;
            send_id: string;
        }>);
    }
    • create: ((body: SendsIdCreateObject) => Promise<{
          message: string;
          send_id: string;
      }>)

      POST /sends/id/create

      +
        • (body): Promise<{
              message: string;
              send_id: string;
          }>
        • Parameters

          Returns Promise<{
              message: string;
              send_id: string;
          }>

subscription: {
    status: {
        get: ((body: SubscriptionStatusGetObject) => Promise<{
            message: string;
            status: Record<string, "Subscribed" | "Unsubscribed" | "Unknown">;
        }>);
        set: ((body: SubscriptionStatusSetObject) => Promise<{
            message: string;
        }>);
    };
    user: {
        status: ((body: SubscriptionUserStatusObject) => Promise<SubscriptionUserStatusResponse>);
    };
} = ...

Type declaration

templates: {
    content_blocks: {
        create: ((body: CreateContentBlockBody) => Promise<PostContentBlockResponse>);
        get: ((body: ContentBlockBody) => Promise<ContentBlockResponse>);
        list: ((body: ContentBlockListBody) => Promise<ContentBlockListResponse>);
        update: ((body: UpdateContentBlockBody) => Promise<PostContentBlockResponse>);
    };
    email_templates: {
        create: ((body: CreateEmailTemplateBody) => Promise<PostEmailTemplateResponse>);
        get: ((body: EmailTemplateBody) => Promise<EmailTemplateResponse>);
        list: ((body: EmailTemplateListBody) => Promise<EmailTemplateListResponse>);
        update: ((body: UpdateEmailTemplateBody) => Promise<PostEmailTemplateResponse>);
    };
} = ...
templates: {
    content_blocks: {
        create: ((body: CreateContentBlockBody) => Promise<PostContentBlockResponse>);
        get: ((body: ContentBlockBody) => Promise<ContentBlockResponse>);
        list: ((body: ContentBlockListBody) => Promise<ContentBlockListResponse>);
        update: ((body: UpdateContentBlockBody) => Promise<PostContentBlockResponse>);
    };
    email_templates: {
        create: ((body: CreateEmailTemplateBody) => Promise<PostEmailTemplateResponse>);
        get: ((body: EmailTemplateBody) => Promise<EmailTemplateResponse>);
        list: ((body: EmailTemplateListBody) => Promise<EmailTemplateListResponse>);
        update: ((body: UpdateEmailTemplateBody) => Promise<PostEmailTemplateResponse>);
    };
} = ...

Type declaration

transactional: {
    v1: {
        campaigns: {
            send: ((campaignId: string, body: TransactionalV1CampaignsSendObject) => Promise<CampaignSendResponse>);
        };
    };
} = ...

Type declaration

users: {
    alias: {
        new: ((body: UsersAliasObject) => Promise<ServerResponse>);
        update: ((body: UserAliasUpdates) => Promise<ServerResponse>);
    };
    delete: ((body: UsersDeleteObject) => Promise<UsersDeleteResponse>);
    export: {
        global_control_group: ((body: UsersExportGlobalControlGroupObject) => Promise<UsersExportGlobalControlGroupResponse>);
        ids: ((body: UsersExportIdsObject) => Promise<UsersExportIdsResponse>);
        segment: ((body: UsersExportSegmentObject) => Promise<UsersExportSegmentResponse>);
    };
    external_ids: {
        remove: ((body: UsersExternalIdsRemoveObject) => Promise<{
            message: string;
            removal_errors: string[];
            removed_ids: string[];
        }>);
        rename: ((body: UsersExternalIdsRenameObject) => Promise<{
            external_ids: string[];
            message: string;
            rename_errors: string[];
        }>);
    };
    identify: ((body: UsersIdentifyObject) => Promise<ServerResponse>);
    merge: ((body: UsersMergeObject) => Promise<ServerResponse>);
    track: ((body: UsersTrackObject, bulk?: boolean) => Promise<{
        attributes_processed?: number;
        errors?: object[];
        events_processed?: number;
        message: string;
        purchases_processed?: number;
    }>);
} = ...
transactional: {
    v1: {
        campaigns: {
            send: ((campaignId: string, body: TransactionalV1CampaignsSendObject) => Promise<CampaignSendResponse>);
        };
    };
} = ...

Type declaration

users: {
    alias: {
        new: ((body: UsersAliasObject) => Promise<ServerResponse>);
        update: ((body: UserAliasUpdates) => Promise<ServerResponse>);
    };
    delete: ((body: UsersDeleteObject) => Promise<UsersDeleteResponse>);
    export: {
        global_control_group: ((body: UsersExportGlobalControlGroupObject) => Promise<UsersExportGlobalControlGroupResponse>);
        ids: ((body: UsersExportIdsObject) => Promise<UsersExportIdsResponse>);
        segment: ((body: UsersExportSegmentObject) => Promise<UsersExportSegmentResponse>);
    };
    external_ids: {
        remove: ((body: UsersExternalIdsRemoveObject) => Promise<{
            message: string;
            removal_errors: string[];
            removed_ids: string[];
        }>);
        rename: ((body: UsersExternalIdsRenameObject) => Promise<{
            external_ids: string[];
            message: string;
            rename_errors: string[];
        }>);
    };
    identify: ((body: UsersIdentifyObject) => Promise<ServerResponse>);
    merge: ((body: UsersMergeObject) => Promise<ServerResponse>);
    track: ((body: UsersTrackObject, bulk?: boolean) => Promise<{
        attributes_processed?: number;
        errors?: object[];
        events_processed?: number;
        message: string;
        purchases_processed?: number;
    }>);
} = ...

Type declaration

  • alias: {
        new: ((body: UsersAliasObject) => Promise<ServerResponse>);
        update: ((body: UserAliasUpdates) => Promise<ServerResponse>);
    }
    • new: ((body: UsersAliasObject) => Promise<ServerResponse>)

      POST /users/alias/new

        • (body): Promise<ServerResponse>
        • Parameters

          Returns Promise<ServerResponse>

    • update: ((body: UserAliasUpdates) => Promise<ServerResponse>)

      POST /users/alias/update

        • (body): Promise<ServerResponse>
        • Parameters

          Returns Promise<ServerResponse>

  • delete: ((body: UsersDeleteObject) => Promise<UsersDeleteResponse>)

    POST /users/delete

    @@ -68,6 +68,6 @@
      • (body): Promise<{
            external_ids: string[];
            message: string;
            rename_errors: string[];
        }>
      • Returns Promise<{
            external_ids: string[];
            message: string;
            rename_errors: string[];
        }>

  • identify: ((body: UsersIdentifyObject) => Promise<ServerResponse>)

    POST /users/identify

      • (body): Promise<ServerResponse>
      • Parameters

        Returns Promise<ServerResponse>

  • merge: ((body: UsersMergeObject) => Promise<ServerResponse>)

    POST /users/merge

      • (body): Promise<ServerResponse>
      • Parameters

        Returns Promise<ServerResponse>

  • track: ((body: UsersTrackObject, bulk?: boolean) => Promise<{
        attributes_processed?: number;
        errors?: object[];
        events_processed?: number;
        message: string;
        purchases_processed?: number;
    }>)

    POST /users/track

    -
      • (body, bulk?): Promise<{
            attributes_processed?: number;
            errors?: object[];
            events_processed?: number;
            message: string;
            purchases_processed?: number;
        }>
      • Parameters

        Returns Promise<{
            attributes_processed?: number;
            errors?: object[];
            events_processed?: number;
            message: string;
            purchases_processed?: number;
        }>

  • v2: {
        subscription: {
            status: {
                set: ((body: V2SubscriptionStatusSetObject) => Promise<{
                    message: string;
                }>);
            };
        };
    } = ...

    Type declaration

    • subscription: {
          status: {
              set: ((body: V2SubscriptionStatusSetObject) => Promise<{
                  message: string;
              }>);
          };
      }
        • (body, bulk?): Promise<{
              attributes_processed?: number;
              errors?: object[];
              events_processed?: number;
              message: string;
              purchases_processed?: number;
          }>
        • Parameters

          Returns Promise<{
              attributes_processed?: number;
              errors?: object[];
              events_processed?: number;
              message: string;
              purchases_processed?: number;
          }>

    v2: {
        subscription: {
            status: {
                set: ((body: V2SubscriptionStatusSetObject) => Promise<{
                    message: string;
                }>);
            };
        };
    } = ...

    Type declaration

    +
    diff --git a/hierarchy.html b/hierarchy.html index de85c92a7..b9149b580 100644 --- a/hierarchy.html +++ b/hierarchy.html @@ -1 +1 @@ -braze-api

    braze-api

    Class Hierarchy

    +braze-api

    braze-api

    Class Hierarchy

    diff --git a/index.html b/index.html index 1d2703418..09e51a0bf 100644 --- a/index.html +++ b/index.html @@ -1,4 +1,4 @@ -braze-api

    braze-api

    +braze-api

    braze-api

    braze-api

    NPM

    NPM version diff --git a/interfaces/AndroidConversationPushMessageObject.html b/interfaces/AndroidConversationPushMessageObject.html index 822bea8e6..f1e1a2f20 100644 --- a/interfaces/AndroidConversationPushMessageObject.html +++ b/interfaces/AndroidConversationPushMessageObject.html @@ -1,6 +1,6 @@ -AndroidConversationPushMessageObject | braze-api

    Interface AndroidConversationPushMessageObject

    Android conversation push message object

    +AndroidConversationPushMessageObject | braze-api

    Interface AndroidConversationPushMessageObject

    interface AndroidConversationPushMessageObject {
        person_id: string;
        text: string;
        timestamp: number;
    }

    Properties

    interface AndroidConversationPushMessageObject {
        person_id: string;
        text: string;
        timestamp: number;
    }

    Properties

    person_id: string
    text: string
    timestamp: number
    +

    Properties

    person_id: string
    text: string
    timestamp: number
    diff --git a/interfaces/AndroidConversationPushObject.html b/interfaces/AndroidConversationPushObject.html index 06c6adec0..8be116d1b 100644 --- a/interfaces/AndroidConversationPushObject.html +++ b/interfaces/AndroidConversationPushObject.html @@ -1,7 +1,7 @@ -AndroidConversationPushObject | braze-api

    Interface AndroidConversationPushObject

    Android conversation push object

    +AndroidConversationPushObject | braze-api

    Interface AndroidConversationPushObject

    interface AndroidConversationPushObject {
        messages: AndroidConversationPushMessageObject[];
        persons: AndroidConversationPushPersonObject[];
        reply_person_id: string;
        shortcut_id: string;
    }

    Properties

    interface AndroidConversationPushObject {
        messages: AndroidConversationPushMessageObject[];
        persons: AndroidConversationPushPersonObject[];
        reply_person_id: string;
        shortcut_id: string;
    }

    Properties

    reply_person_id: string
    shortcut_id: string
    +

    Properties

    reply_person_id: string
    shortcut_id: string
    diff --git a/interfaces/AndroidConversationPushPersonObject.html b/interfaces/AndroidConversationPushPersonObject.html index 22d10d357..f5635bcae 100644 --- a/interfaces/AndroidConversationPushPersonObject.html +++ b/interfaces/AndroidConversationPushPersonObject.html @@ -1,5 +1,5 @@ -AndroidConversationPushPersonObject | braze-api

    Interface AndroidConversationPushPersonObject

    Android conversation push person object

    +AndroidConversationPushPersonObject | braze-api

    Interface AndroidConversationPushPersonObject

    interface AndroidConversationPushPersonObject {
        id: string;
        name: string;
    }

    Properties

    id +
    interface AndroidConversationPushPersonObject {
        id: string;
        name: string;
    }

    Properties

    Properties

    id: string
    name: string
    +

    Properties

    id: string
    name: string
    diff --git a/interfaces/AndroidPushActionButtonObject.html b/interfaces/AndroidPushActionButtonObject.html index 62c6a42de..1a5c53542 100644 --- a/interfaces/AndroidPushActionButtonObject.html +++ b/interfaces/AndroidPushActionButtonObject.html @@ -1,7 +1,7 @@ -AndroidPushActionButtonObject | braze-api

    Interface AndroidPushActionButtonObject

    Android push action button object

    +AndroidPushActionButtonObject | braze-api

    Interface AndroidPushActionButtonObject

    interface AndroidPushActionButtonObject {
        action?:
            | "OPEN_APP"
            | "URI"
            | "DEEP_LINK"
            | "CLOSE";
        text: string;
        uri?: string;
        use_webview?: boolean;
    }

    Properties

    interface AndroidPushActionButtonObject {
        action?:
            | "OPEN_APP"
            | "URI"
            | "DEEP_LINK"
            | "CLOSE";
        text: string;
        uri?: string;
        use_webview?: boolean;
    }

    Properties

    action?:
        | "OPEN_APP"
        | "URI"
        | "DEEP_LINK"
        | "CLOSE"
    text: string
    uri?: string
    use_webview?: boolean
    +

    Properties

    action?:
        | "OPEN_APP"
        | "URI"
        | "DEEP_LINK"
        | "CLOSE"
    text: string
    uri?: string
    use_webview?: boolean
    diff --git a/interfaces/AndroidPushObject.html b/interfaces/AndroidPushObject.html index 15167291e..bb02f30e0 100644 --- a/interfaces/AndroidPushObject.html +++ b/interfaces/AndroidPushObject.html @@ -1,6 +1,6 @@ -AndroidPushObject | braze-api

    Interface AndroidPushObject

    Android push object

    +AndroidPushObject | braze-api

    Interface AndroidPushObject

    interface AndroidPushObject {
        accent_color?: number;
        alert: string;
        buttons?: AndroidPushActionButtonObject[];
        collapse_key?: string;
        conversation_data?: AndroidConversationPushObject;
        custom_uri?: string;
        extra?: Record<string, string>;
        message_variation_id?: string;
        notification_channel_id?: string;
        notification_id?: number;
        priority?: number;
        push_icon_image_url?: string;
        send_to_most_recent_device_only?: boolean;
        send_to_sync?: boolean;
        sound?: string;
        summary_text?: string;
        time_to_live?: number;
        title: string;
    }

    Properties

    interface AndroidPushObject {
        accent_color?: number;
        alert: string;
        buttons?: AndroidPushActionButtonObject[];
        collapse_key?: string;
        conversation_data?: AndroidConversationPushObject;
        custom_uri?: string;
        extra?: Record<string, string>;
        message_variation_id?: string;
        notification_channel_id?: string;
        notification_id?: number;
        priority?: number;
        push_icon_image_url?: string;
        send_to_most_recent_device_only?: boolean;
        send_to_sync?: boolean;
        sound?: string;
        summary_text?: string;
        time_to_live?: number;
        title: string;
    }

    Properties

    accent_color?: number
    alert: string
    collapse_key?: string
    conversation_data?: AndroidConversationPushObject
    custom_uri?: string
    extra?: Record<string, string>
    message_variation_id?: string
    notification_channel_id?: string
    notification_id?: number
    priority?: number
    push_icon_image_url?: string
    send_to_most_recent_device_only?: boolean
    send_to_sync?: boolean
    sound?: string
    summary_text?: string
    time_to_live?: number
    title: string
    +

    Properties

    accent_color?: number
    alert: string
    collapse_key?: string
    conversation_data?: AndroidConversationPushObject
    custom_uri?: string
    extra?: Record<string, string>
    message_variation_id?: string
    notification_channel_id?: string
    notification_id?: number
    priority?: number
    push_icon_image_url?: string
    send_to_most_recent_device_only?: boolean
    send_to_sync?: boolean
    sound?: string
    summary_text?: string
    time_to_live?: number
    title: string
    diff --git a/interfaces/ApplePushActionButtonObject.html b/interfaces/ApplePushActionButtonObject.html index b670fbedc..265a38621 100644 --- a/interfaces/ApplePushActionButtonObject.html +++ b/interfaces/ApplePushActionButtonObject.html @@ -1,7 +1,7 @@ -ApplePushActionButtonObject | braze-api

    Interface ApplePushActionButtonObject

    Apple push action button object

    +ApplePushActionButtonObject | braze-api

    Interface ApplePushActionButtonObject

    interface ApplePushActionButtonObject {
        action?:
            | "OPEN_APP"
            | "URI"
            | "DEEP_LINK"
            | "CLOSE";
        action_id: string;
        uri?: string;
        use_webview?: boolean;
    }

    Properties

    interface ApplePushActionButtonObject {
        action?:
            | "OPEN_APP"
            | "URI"
            | "DEEP_LINK"
            | "CLOSE";
        action_id: string;
        uri?: string;
        use_webview?: boolean;
    }

    Properties

    action?:
        | "OPEN_APP"
        | "URI"
        | "DEEP_LINK"
        | "CLOSE"
    action_id: string
    uri?: string
    use_webview?: boolean
    +

    Properties

    action?:
        | "OPEN_APP"
        | "URI"
        | "DEEP_LINK"
        | "CLOSE"
    action_id: string
    uri?: string
    use_webview?: boolean
    diff --git a/interfaces/ApplePushAlertObject.html b/interfaces/ApplePushAlertObject.html index e4e98e0a4..cc3fd2a41 100644 --- a/interfaces/ApplePushAlertObject.html +++ b/interfaces/ApplePushAlertObject.html @@ -1,6 +1,6 @@ -ApplePushAlertObject | braze-api

    Interface ApplePushAlertObject

    Apple push alert object

    +ApplePushAlertObject | braze-api

    Interface ApplePushAlertObject

    interface ApplePushAlertObject {
        action_loc_key?: string;
        body: string;
        loc_args?: string[];
        loc_key?: string;
        sound?: string;
        title?: string;
        title_loc_args?: string[];
        title_loc_key?: string;
    }

    Properties

    interface ApplePushAlertObject {
        action_loc_key?: string;
        body: string;
        loc_args?: string[];
        loc_key?: string;
        sound?: string;
        title?: string;
        title_loc_args?: string[];
        title_loc_key?: string;
    }

    Properties

    action_loc_key?: string
    body: string
    loc_args?: string[]
    loc_key?: string
    sound?: string
    title?: string
    title_loc_args?: string[]
    title_loc_key?: string
    +

    Properties

    action_loc_key?: string
    body: string
    loc_args?: string[]
    loc_key?: string
    sound?: string
    title?: string
    title_loc_args?: string[]
    title_loc_key?: string
    diff --git a/interfaces/ApplePushObject.html b/interfaces/ApplePushObject.html index a629b11b9..b956ffe2d 100644 --- a/interfaces/ApplePushObject.html +++ b/interfaces/ApplePushObject.html @@ -1,6 +1,6 @@ -ApplePushObject | braze-api

    Interface ApplePushObject

    Apple push object

    +ApplePushObject | braze-api

    Interface ApplePushObject

    interface ApplePushObject {
        alert?: string | ApplePushAlertObject;
        asset_file_type?:
            | "aif"
            | "gif"
            | "jpg"
            | "m4a"
            | "mp3"
            | "mp4"
            | "png"
            | "wav";
        asset_url?: string;
        badge?: number;
        buttons?: ApplePushActionButtonObject[];
        category?: string;
        collapse_id?: string;
        content-available?: boolean;
        custom_uri?: string;
        expiry?: string;
        extra?: Record<string, string>;
        interruption_level?:
            | "passive"
            | "active"
            | "time-sensitive"
            | "critical";
        message_variation_id?: string;
        mutable_content?: boolean;
        notification_group_thread_id?: string;
        relevance_score?: number;
        send_to_most_recent_device_only?: boolean;
        sound?: string;
    }

    Properties

    interface ApplePushObject {
        alert?: string | ApplePushAlertObject;
        asset_file_type?:
            | "aif"
            | "gif"
            | "jpg"
            | "m4a"
            | "mp3"
            | "mp4"
            | "png"
            | "wav";
        asset_url?: string;
        badge?: number;
        buttons?: ApplePushActionButtonObject[];
        category?: string;
        collapse_id?: string;
        content-available?: boolean;
        custom_uri?: string;
        expiry?: string;
        extra?: Record<string, string>;
        interruption_level?:
            | "passive"
            | "active"
            | "time-sensitive"
            | "critical";
        message_variation_id?: string;
        mutable_content?: boolean;
        notification_group_thread_id?: string;
        relevance_score?: number;
        send_to_most_recent_device_only?: boolean;
        sound?: string;
    }

    Properties

    alert?: string | ApplePushAlertObject
    asset_file_type?:
        | "aif"
        | "gif"
        | "jpg"
        | "m4a"
        | "mp3"
        | "mp4"
        | "png"
        | "wav"
    asset_url?: string
    badge?: number
    category?: string
    collapse_id?: string
    content-available?: boolean
    custom_uri?: string
    expiry?: string
    extra?: Record<string, string>
    interruption_level?:
        | "passive"
        | "active"
        | "time-sensitive"
        | "critical"
    message_variation_id?: string
    mutable_content?: boolean
    notification_group_thread_id?: string
    relevance_score?: number
    send_to_most_recent_device_only?: boolean
    sound?: string
    +

    Properties

    alert?: string | ApplePushAlertObject
    asset_file_type?:
        | "aif"
        | "gif"
        | "jpg"
        | "m4a"
        | "mp3"
        | "mp4"
        | "png"
        | "wav"
    asset_url?: string
    badge?: number
    category?: string
    collapse_id?: string
    content-available?: boolean
    custom_uri?: string
    expiry?: string
    extra?: Record<string, string>
    interruption_level?:
        | "passive"
        | "active"
        | "time-sensitive"
        | "critical"
    message_variation_id?: string
    mutable_content?: boolean
    notification_group_thread_id?: string
    relevance_score?: number
    send_to_most_recent_device_only?: boolean
    sound?: string
    diff --git a/interfaces/CampaignSendResponse.html b/interfaces/CampaignSendResponse.html index 300534377..849b7125b 100644 --- a/interfaces/CampaignSendResponse.html +++ b/interfaces/CampaignSendResponse.html @@ -1,8 +1,8 @@ -CampaignSendResponse | braze-api

    Interface CampaignSendResponse

    Postback body for sending transactional email via API-triggered delivery.

    +CampaignSendResponse | braze-api

    Interface CampaignSendResponse

    Postback body for sending transactional email via API-triggered delivery.

    https://www.braze.com/docs/api/endpoints/messaging/send_messages/post_send_transactional_message/#postback-body

    -
    interface CampaignSendResponse {
        dispatch_id: string;
        errors?: string[];
        message: string;
        metadata: {
            aborted_at?: string;
            bounced_at?: string;
            campaign_api_id: string;
            delivered_at?: string;
            enqueued_at?: string;
            executed_at?: string;
            external_send_id: string;
            processed_at?: string;
            reason?: string;
            received_at?: string;
            sent_at?: string;
        };
        status:
            | "aborted"
            | "sent"
            | "processed"
            | "delivered"
            | "bounced";
    }

    Hierarchy

    • ServerResponse
      • CampaignSendResponse

    Properties

    interface CampaignSendResponse {
        dispatch_id: string;
        errors?: string[];
        message: string;
        metadata: {
            aborted_at?: string;
            bounced_at?: string;
            campaign_api_id: string;
            delivered_at?: string;
            enqueued_at?: string;
            executed_at?: string;
            external_send_id: string;
            processed_at?: string;
            reason?: string;
            received_at?: string;
            sent_at?: string;
        };
        status:
            | "aborted"
            | "sent"
            | "processed"
            | "delivered"
            | "bounced";
    }

    Hierarchy

    • ServerResponse
      • CampaignSendResponse

    Properties

    dispatch_id: string
    errors?: string[]
    message: string
    metadata: {
        aborted_at?: string;
        bounced_at?: string;
        campaign_api_id: string;
        delivered_at?: string;
        enqueued_at?: string;
        executed_at?: string;
        external_send_id: string;
        processed_at?: string;
        reason?: string;
        received_at?: string;
        sent_at?: string;
    }
    status:
        | "aborted"
        | "sent"
        | "processed"
        | "delivered"
        | "bounced"
    +

    Properties

    dispatch_id: string
    errors?: string[]
    message: string
    metadata: {
        aborted_at?: string;
        bounced_at?: string;
        campaign_api_id: string;
        delivered_at?: string;
        enqueued_at?: string;
        executed_at?: string;
        external_send_id: string;
        processed_at?: string;
        reason?: string;
        received_at?: string;
        sent_at?: string;
    }
    status:
        | "aborted"
        | "sent"
        | "processed"
        | "delivered"
        | "bounced"
    diff --git a/interfaces/CampaignsListParameters.html b/interfaces/CampaignsListParameters.html index 7efc94907..394d4ec9b 100644 --- a/interfaces/CampaignsListParameters.html +++ b/interfaces/CampaignsListParameters.html @@ -1,7 +1,7 @@ -CampaignsListParameters | braze-api

    Interface CampaignsListParameters

    Request parameters for campaigns list.

    +CampaignsListParameters | braze-api

    Interface CampaignsListParameters

    interface CampaignsListParameters {
        include_archived?: boolean;
        last_edit.time[gt]?: string;
        page?: number;
        sort_direction?: string;
    }

    Properties

    interface CampaignsListParameters {
        include_archived?: boolean;
        last_edit.time[gt]?: string;
        page?: number;
        sort_direction?: string;
    }

    Properties

    include_archived?: boolean
    last_edit.time[gt]?: string
    page?: number
    sort_direction?: string
    +

    Properties

    include_archived?: boolean
    last_edit.time[gt]?: string
    page?: number
    sort_direction?: string
    diff --git a/interfaces/CampaignsListResponse.html b/interfaces/CampaignsListResponse.html index 8b20cdd27..158a9f401 100644 --- a/interfaces/CampaignsListResponse.html +++ b/interfaces/CampaignsListResponse.html @@ -1,6 +1,6 @@ -CampaignsListResponse | braze-api

    Interface CampaignsListResponse

    Response body for campaigns list.

    +CampaignsListResponse | braze-api

    Interface CampaignsListResponse

    interface CampaignsListResponse {
        campaigns: {
            id: string;
            is_api_campaign: boolean;
            last_edited: string;
            name: string;
            tags: string[];
        }[];
        errors?: string[];
        message: string;
    }

    Hierarchy

    • ServerResponse
      • CampaignsListResponse

    Properties

    interface CampaignsListResponse {
        campaigns: {
            id: string;
            is_api_campaign: boolean;
            last_edited: string;
            name: string;
            tags: string[];
        }[];
        errors?: string[];
        message: string;
    }

    Hierarchy

    • ServerResponse
      • CampaignsListResponse

    Properties

    campaigns: {
        id: string;
        is_api_campaign: boolean;
        last_edited: string;
        name: string;
        tags: string[];
    }[]
    errors?: string[]
    message: string
    +

    Properties

    campaigns: {
        id: string;
        is_api_campaign: boolean;
        last_edited: string;
        name: string;
        tags: string[];
    }[]
    errors?: string[]
    message: string
    diff --git a/interfaces/CampaignsTriggerScheduleCreateObject.html b/interfaces/CampaignsTriggerScheduleCreateObject.html index c847aedb9..54d216df8 100644 --- a/interfaces/CampaignsTriggerScheduleCreateObject.html +++ b/interfaces/CampaignsTriggerScheduleCreateObject.html @@ -1,10 +1,10 @@ -CampaignsTriggerScheduleCreateObject | braze-api

    Interface CampaignsTriggerScheduleCreateObject

    Request body for schedule API-triggered campaigns.

    +CampaignsTriggerScheduleCreateObject | braze-api

    Interface CampaignsTriggerScheduleCreateObject

    interface CampaignsTriggerScheduleCreateObject {
        audience?: ConnectedAudienceObject;
        broadcast?: boolean;
        campaign_id: string;
        recipients?: (RecipientWithExternalUserId | RecipientWithUserAlias)[];
        schedule: ScheduleObject;
        send_id?: string;
        trigger_properties?: object;
    }

    Hierarchy (view full)

    Properties

    interface CampaignsTriggerScheduleCreateObject {
        audience?: ConnectedAudienceObject;
        broadcast?: boolean;
        campaign_id: string;
        recipients?: (RecipientWithExternalUserId | RecipientWithUserAlias)[];
        schedule: ScheduleObject;
        send_id?: string;
        trigger_properties?: object;
    }

    Hierarchy (view full)

    Properties

    broadcast?: boolean
    campaign_id: string
    recipients?: (RecipientWithExternalUserId | RecipientWithUserAlias)[]
    schedule: ScheduleObject
    send_id?: string
    trigger_properties?: object
    +

    Properties

    broadcast?: boolean
    campaign_id: string
    recipients?: (RecipientWithExternalUserId | RecipientWithUserAlias)[]
    schedule: ScheduleObject
    send_id?: string
    trigger_properties?: object
    diff --git a/interfaces/CampaignsTriggerScheduleCreateResponse.html b/interfaces/CampaignsTriggerScheduleCreateResponse.html index 12512abd2..491a0c66e 100644 --- a/interfaces/CampaignsTriggerScheduleCreateResponse.html +++ b/interfaces/CampaignsTriggerScheduleCreateResponse.html @@ -1,7 +1,7 @@ -CampaignsTriggerScheduleCreateResponse | braze-api

    Interface CampaignsTriggerScheduleCreateResponse

    Response body for schedule API-triggered campaigns.

    +CampaignsTriggerScheduleCreateResponse | braze-api

    Interface CampaignsTriggerScheduleCreateResponse

    interface CampaignsTriggerScheduleCreateResponse {
        dispatch_id: string;
        errors?: string[];
        message: string;
        schedule_id: string;
    }

    Hierarchy

    • ServerResponse
      • CampaignsTriggerScheduleCreateResponse

    Properties

    interface CampaignsTriggerScheduleCreateResponse {
        dispatch_id: string;
        errors?: string[];
        message: string;
        schedule_id: string;
    }

    Hierarchy

    • ServerResponse
      • CampaignsTriggerScheduleCreateResponse

    Properties

    dispatch_id: string
    errors?: string[]
    message: string
    schedule_id: string
    +

    Properties

    dispatch_id: string
    errors?: string[]
    message: string
    schedule_id: string
    diff --git a/interfaces/CampaignsTriggerScheduleDeleteObject.html b/interfaces/CampaignsTriggerScheduleDeleteObject.html index eca54f0ef..15e9bc94e 100644 --- a/interfaces/CampaignsTriggerScheduleDeleteObject.html +++ b/interfaces/CampaignsTriggerScheduleDeleteObject.html @@ -1,5 +1,5 @@ -CampaignsTriggerScheduleDeleteObject | braze-api

    Interface CampaignsTriggerScheduleDeleteObject

    Request body for delete scheduled API-triggered campaigns.

    +CampaignsTriggerScheduleDeleteObject | braze-api

    Interface CampaignsTriggerScheduleDeleteObject

    interface CampaignsTriggerScheduleDeleteObject {
        campaign_id: string;
        schedule_id: string;
    }

    Properties

    interface CampaignsTriggerScheduleDeleteObject {
        campaign_id: string;
        schedule_id: string;
    }

    Properties

    campaign_id: string
    schedule_id: string
    +

    Properties

    campaign_id: string
    schedule_id: string
    diff --git a/interfaces/CampaignsTriggerScheduleUpdateObject.html b/interfaces/CampaignsTriggerScheduleUpdateObject.html index 268f12c7e..3adde4915 100644 --- a/interfaces/CampaignsTriggerScheduleUpdateObject.html +++ b/interfaces/CampaignsTriggerScheduleUpdateObject.html @@ -1,6 +1,6 @@ -CampaignsTriggerScheduleUpdateObject | braze-api

    Interface CampaignsTriggerScheduleUpdateObject

    Request body for update scheduled API-triggered campaigns.

    +CampaignsTriggerScheduleUpdateObject | braze-api

    Interface CampaignsTriggerScheduleUpdateObject

    interface CampaignsTriggerScheduleUpdateObject {
        campaign_id: string;
        schedule: ScheduleObject;
        schedule_id: string;
    }

    Properties

    interface CampaignsTriggerScheduleUpdateObject {
        campaign_id: string;
        schedule: ScheduleObject;
        schedule_id: string;
    }

    Properties

    campaign_id: string
    schedule: ScheduleObject
    schedule_id: string
    +

    Properties

    campaign_id: string
    schedule: ScheduleObject
    schedule_id: string
    diff --git a/interfaces/CampaignsTriggerSendObject.html b/interfaces/CampaignsTriggerSendObject.html index 757016a58..39779cf20 100644 --- a/interfaces/CampaignsTriggerSendObject.html +++ b/interfaces/CampaignsTriggerSendObject.html @@ -1,9 +1,9 @@ -CampaignsTriggerSendObject | braze-api

    Interface CampaignsTriggerSendObject

    Request body for sending campaign messages via API-triggered delivery.

    +CampaignsTriggerSendObject | braze-api

    Interface CampaignsTriggerSendObject

    Request body for sending campaign messages via API-triggered delivery.

    https://www.braze.com/docs/api/endpoints/messaging/send_messages/post_send_triggered_campaigns/#request-body

    -
    interface CampaignsTriggerSendObject {
        audience?: ConnectedAudienceObject;
        broadcast?: boolean;
        campaign_id: string;
        recipients?: (RecipientWithExternalUserId | RecipientWithUserAlias)[];
        send_id?: string;
        trigger_properties?: object;
    }

    Hierarchy (view full)

    Properties

    interface CampaignsTriggerSendObject {
        audience?: ConnectedAudienceObject;
        broadcast?: boolean;
        campaign_id: string;
        recipients?: (RecipientWithExternalUserId | RecipientWithUserAlias)[];
        send_id?: string;
        trigger_properties?: object;
    }

    Hierarchy (view full)

    Properties

    broadcast?: boolean
    campaign_id: string
    recipients?: (RecipientWithExternalUserId | RecipientWithUserAlias)[]
    send_id?: string
    trigger_properties?: object
    +

    Properties

    broadcast?: boolean
    campaign_id: string
    recipients?: (RecipientWithExternalUserId | RecipientWithUserAlias)[]
    send_id?: string
    trigger_properties?: object
    diff --git a/interfaces/CanvasListParameters.html b/interfaces/CanvasListParameters.html index de01995df..c2265ef2b 100644 --- a/interfaces/CanvasListParameters.html +++ b/interfaces/CanvasListParameters.html @@ -1,7 +1,7 @@ -CanvasListParameters | braze-api

    Interface CanvasListParameters

    Request parameters for canvases list.

    +CanvasListParameters | braze-api

    Interface CanvasListParameters

    interface CanvasListParameters {
        include_archived?: boolean;
        last_edit.time[gt]?: string;
        page?: number;
        sort_direction?: string;
    }

    Properties

    interface CanvasListParameters {
        include_archived?: boolean;
        last_edit.time[gt]?: string;
        page?: number;
        sort_direction?: string;
    }

    Properties

    include_archived?: boolean
    last_edit.time[gt]?: string
    page?: number
    sort_direction?: string
    +

    Properties

    include_archived?: boolean
    last_edit.time[gt]?: string
    page?: number
    sort_direction?: string
    diff --git a/interfaces/CanvasListResponse.html b/interfaces/CanvasListResponse.html index 2b56b81de..24a9de5f1 100644 --- a/interfaces/CanvasListResponse.html +++ b/interfaces/CanvasListResponse.html @@ -1,6 +1,6 @@ -CanvasListResponse | braze-api

    Interface CanvasListResponse

    Response body for canvases list.

    +CanvasListResponse | braze-api

    Interface CanvasListResponse

    interface CanvasListResponse {
        canvases: {
            id: string;
            last_edited: string;
            name: string;
            tags: string[];
        }[];
        errors?: string[];
        message: string;
    }

    Hierarchy

    • ServerResponse
      • CanvasListResponse

    Properties

    interface CanvasListResponse {
        canvases: {
            id: string;
            last_edited: string;
            name: string;
            tags: string[];
        }[];
        errors?: string[];
        message: string;
    }

    Hierarchy

    • ServerResponse
      • CanvasListResponse

    Properties

    canvases: {
        id: string;
        last_edited: string;
        name: string;
        tags: string[];
    }[]
    errors?: string[]
    message: string
    +

    Properties

    canvases: {
        id: string;
        last_edited: string;
        name: string;
        tags: string[];
    }[]
    errors?: string[]
    message: string
    diff --git a/interfaces/CanvasTriggerScheduleCreatResponse.html b/interfaces/CanvasTriggerScheduleCreatResponse.html index 7bb6634f8..4f097ce18 100644 --- a/interfaces/CanvasTriggerScheduleCreatResponse.html +++ b/interfaces/CanvasTriggerScheduleCreatResponse.html @@ -1,7 +1,7 @@ -CanvasTriggerScheduleCreatResponse | braze-api

    Interface CanvasTriggerScheduleCreatResponse

    Response body for schedule API-triggered canvases.

    +CanvasTriggerScheduleCreatResponse | braze-api

    Interface CanvasTriggerScheduleCreatResponse

    interface CanvasTriggerScheduleCreatResponse {
        dispatch_id: string;
        errors?: string[];
        message: string;
        schedule_id: string;
    }

    Hierarchy

    • ServerResponse
      • CanvasTriggerScheduleCreatResponse

    Properties

    interface CanvasTriggerScheduleCreatResponse {
        dispatch_id: string;
        errors?: string[];
        message: string;
        schedule_id: string;
    }

    Hierarchy

    • ServerResponse
      • CanvasTriggerScheduleCreatResponse

    Properties

    dispatch_id: string
    errors?: string[]
    message: string
    schedule_id: string
    +

    Properties

    dispatch_id: string
    errors?: string[]
    message: string
    schedule_id: string
    diff --git a/interfaces/CanvasTriggerScheduleCreateObject.html b/interfaces/CanvasTriggerScheduleCreateObject.html index 84bde186e..0fb414fdb 100644 --- a/interfaces/CanvasTriggerScheduleCreateObject.html +++ b/interfaces/CanvasTriggerScheduleCreateObject.html @@ -1,9 +1,9 @@ -CanvasTriggerScheduleCreateObject | braze-api

    Interface CanvasTriggerScheduleCreateObject

    Request body for schedule API-triggered canvases.

    +CanvasTriggerScheduleCreateObject | braze-api

    Interface CanvasTriggerScheduleCreateObject

    interface CanvasTriggerScheduleCreateObject {
        audience?: ConnectedAudienceObject;
        broadcast?: boolean;
        canvas_entry_properties?: object;
        canvas_id: string;
        recipients?: (RecipientWithExternalUserId | RecipientWithUserAlias)[];
        schedule: ScheduleObject;
    }

    Hierarchy (view full)

    Properties

    interface CanvasTriggerScheduleCreateObject {
        audience?: ConnectedAudienceObject;
        broadcast?: boolean;
        canvas_entry_properties?: object;
        canvas_id: string;
        recipients?: (RecipientWithExternalUserId | RecipientWithUserAlias)[];
        schedule: ScheduleObject;
    }

    Hierarchy (view full)

    Properties

    broadcast?: boolean
    canvas_entry_properties?: object
    canvas_id: string
    recipients?: (RecipientWithExternalUserId | RecipientWithUserAlias)[]
    schedule: ScheduleObject
    +

    Properties

    broadcast?: boolean
    canvas_entry_properties?: object
    canvas_id: string
    recipients?: (RecipientWithExternalUserId | RecipientWithUserAlias)[]
    schedule: ScheduleObject
    diff --git a/interfaces/CanvasTriggerScheduleDeleteObject.html b/interfaces/CanvasTriggerScheduleDeleteObject.html index c3600e26f..07b7b6e9e 100644 --- a/interfaces/CanvasTriggerScheduleDeleteObject.html +++ b/interfaces/CanvasTriggerScheduleDeleteObject.html @@ -1,5 +1,5 @@ -CanvasTriggerScheduleDeleteObject | braze-api

    Interface CanvasTriggerScheduleDeleteObject

    Request body for delete scheduled API-triggered canvases.

    +CanvasTriggerScheduleDeleteObject | braze-api

    Interface CanvasTriggerScheduleDeleteObject

    interface CanvasTriggerScheduleDeleteObject {
        canvas_id: string;
        schedule_id: string;
    }

    Properties

    interface CanvasTriggerScheduleDeleteObject {
        canvas_id: string;
        schedule_id: string;
    }

    Properties

    canvas_id: string
    schedule_id: string
    +

    Properties

    canvas_id: string
    schedule_id: string
    diff --git a/interfaces/CanvasTriggerScheduleUpdateObject.html b/interfaces/CanvasTriggerScheduleUpdateObject.html index dcd636151..d0d015a7d 100644 --- a/interfaces/CanvasTriggerScheduleUpdateObject.html +++ b/interfaces/CanvasTriggerScheduleUpdateObject.html @@ -1,6 +1,6 @@ -CanvasTriggerScheduleUpdateObject | braze-api

    Interface CanvasTriggerScheduleUpdateObject

    Request body for update scheduled API-triggered canvases.

    +CanvasTriggerScheduleUpdateObject | braze-api

    Interface CanvasTriggerScheduleUpdateObject

    interface CanvasTriggerScheduleUpdateObject {
        canvas_id: string;
        schedule: ScheduleObject;
        schedule_id: string;
    }

    Properties

    interface CanvasTriggerScheduleUpdateObject {
        canvas_id: string;
        schedule: ScheduleObject;
        schedule_id: string;
    }

    Properties

    canvas_id: string
    schedule: ScheduleObject
    schedule_id: string
    +

    Properties

    canvas_id: string
    schedule: ScheduleObject
    schedule_id: string
    diff --git a/interfaces/CanvasTriggerSendObject.html b/interfaces/CanvasTriggerSendObject.html index 090a38c46..734a44c4b 100644 --- a/interfaces/CanvasTriggerSendObject.html +++ b/interfaces/CanvasTriggerSendObject.html @@ -1,8 +1,8 @@ -CanvasTriggerSendObject | braze-api

    Interface CanvasTriggerSendObject

    Request body for sending Canvas messages via API-triggered delivery.

    +CanvasTriggerSendObject | braze-api

    Interface CanvasTriggerSendObject

    interface CanvasTriggerSendObject {
        audience?: ConnectedAudienceObject;
        broadcast?: boolean;
        canvas_entry_properties?: object;
        canvas_id: string;
        recipients?: (RecipientWithExternalUserId | RecipientWithUserAlias)[];
    }

    Hierarchy (view full)

    Properties

    interface CanvasTriggerSendObject {
        audience?: ConnectedAudienceObject;
        broadcast?: boolean;
        canvas_entry_properties?: object;
        canvas_id: string;
        recipients?: (RecipientWithExternalUserId | RecipientWithUserAlias)[];
    }

    Hierarchy (view full)

    Properties

    broadcast?: boolean
    canvas_entry_properties?: object
    canvas_id: string
    recipients?: (RecipientWithExternalUserId | RecipientWithUserAlias)[]
    +

    Properties

    broadcast?: boolean
    canvas_entry_properties?: object
    canvas_id: string
    recipients?: (RecipientWithExternalUserId | RecipientWithUserAlias)[]
    diff --git a/interfaces/CatalogListItemBody.html b/interfaces/CatalogListItemBody.html index 676dd5454..266614134 100644 --- a/interfaces/CatalogListItemBody.html +++ b/interfaces/CatalogListItemBody.html @@ -1,5 +1,5 @@ -CatalogListItemBody | braze-api

    Interface CatalogListItemBody

    Request body for catalog list items.

    +CatalogListItemBody | braze-api

    Interface CatalogListItemBody

    interface CatalogListItemBody {
        catalog_name: string;
        item_id: string;
    }

    Properties

    interface CatalogListItemBody {
        catalog_name: string;
        item_id: string;
    }

    Properties

    Properties

    catalog_name: string
    item_id: string
    +

    Properties

    catalog_name: string
    item_id: string
    diff --git a/interfaces/CatalogListItemResponse.html b/interfaces/CatalogListItemResponse.html index 3e70b2416..835ae1557 100644 --- a/interfaces/CatalogListItemResponse.html +++ b/interfaces/CatalogListItemResponse.html @@ -1,6 +1,6 @@ -CatalogListItemResponse | braze-api

    Interface CatalogListItemResponse<T>

    Response body for catalog list items.

    +CatalogListItemResponse | braze-api

    Interface CatalogListItemResponse<T>

    interface CatalogListItemResponse<T> {
        errors?: string[];
        items: [T];
        message: string;
    }

    Type Parameters

    Hierarchy

    • ServerResponse
      • CatalogListItemResponse

    Properties

    interface CatalogListItemResponse<T> {
        errors?: string[];
        items: [T];
        message: string;
    }

    Type Parameters

    Hierarchy

    • ServerResponse
      • CatalogListItemResponse

    Properties

    Properties

    errors?: string[]
    items: [T]
    message: string
    +

    Properties

    errors?: string[]
    items: [T]
    message: string
    diff --git a/interfaces/CatalogListItemsBody.html b/interfaces/CatalogListItemsBody.html index 3a8b75853..e66d0a50a 100644 --- a/interfaces/CatalogListItemsBody.html +++ b/interfaces/CatalogListItemsBody.html @@ -1,5 +1,5 @@ -CatalogListItemsBody | braze-api

    Interface CatalogListItemsBody

    Request body for catalog list items.

    +CatalogListItemsBody | braze-api

    Interface CatalogListItemsBody

    interface CatalogListItemsBody {
        catalog_name: string;
        max_pages?: number;
    }

    Properties

    interface CatalogListItemsBody {
        catalog_name: string;
        max_pages?: number;
    }

    Properties

    catalog_name: string
    max_pages?: number
    +

    Properties

    catalog_name: string
    max_pages?: number
    diff --git a/interfaces/CatalogListItemsResponse.html b/interfaces/CatalogListItemsResponse.html index 8d4bcebcb..ebf7bb6bf 100644 --- a/interfaces/CatalogListItemsResponse.html +++ b/interfaces/CatalogListItemsResponse.html @@ -1,6 +1,6 @@ -CatalogListItemsResponse | braze-api

    Interface CatalogListItemsResponse<T>

    Response body for catalog list items.

    +CatalogListItemsResponse | braze-api

    Interface CatalogListItemsResponse<T>

    interface CatalogListItemsResponse<T> {
        errors?: string[];
        items: T[];
        message: string;
    }

    Type Parameters

    Hierarchy

    • ServerResponse
      • CatalogListItemsResponse

    Properties

    interface CatalogListItemsResponse<T> {
        errors?: string[];
        items: T[];
        message: string;
    }

    Type Parameters

    Hierarchy

    • ServerResponse
      • CatalogListItemsResponse

    Properties

    Properties

    errors?: string[]
    items: T[]
    message: string
    +

    Properties

    errors?: string[]
    items: T[]
    message: string
    diff --git a/interfaces/CatalogListResponse.html b/interfaces/CatalogListResponse.html index b05a418d1..0490567d1 100644 --- a/interfaces/CatalogListResponse.html +++ b/interfaces/CatalogListResponse.html @@ -1,6 +1,6 @@ -CatalogListResponse | braze-api

    Interface CatalogListResponse

    Response body for catalog list.

    +CatalogListResponse | braze-api

    Interface CatalogListResponse

    interface CatalogListResponse {
        catalogs: {
            description: string;
            fields: {
                name: string;
                type: string;
            }[];
        }[];
        errors?: string[];
        message: string;
    }

    Hierarchy

    • ServerResponse
      • CatalogListResponse

    Properties

    interface CatalogListResponse {
        catalogs: {
            description: string;
            fields: {
                name: string;
                type: string;
            }[];
        }[];
        errors?: string[];
        message: string;
    }

    Hierarchy

    • ServerResponse
      • CatalogListResponse

    Properties

    catalogs: {
        description: string;
        fields: {
            name: string;
            type: string;
        }[];
    }[]
    errors?: string[]
    message: string
    +

    Properties

    catalogs: {
        description: string;
        fields: {
            name: string;
            type: string;
        }[];
    }[]
    errors?: string[]
    message: string
    diff --git a/interfaces/ConnectedAudienceObject.html b/interfaces/ConnectedAudienceObject.html index ea0955543..186cdaff3 100644 --- a/interfaces/ConnectedAudienceObject.html +++ b/interfaces/ConnectedAudienceObject.html @@ -1,5 +1,5 @@ -ConnectedAudienceObject | braze-api

    Interface ConnectedAudienceObject

    A Connected Audience Object is a selector that identifies the audience to send the message to. It is composed of either a single Connected Audience Filter or several Connected Audience Filters in a logical expression using either AND or OR operators.

    +ConnectedAudienceObject | braze-api

    Interface ConnectedAudienceObject

    A Connected Audience Object is a selector that identifies the audience to send the message to. It is composed of either a single Connected Audience Filter or several Connected Audience Filters in a logical expression using either AND or OR operators.

    https://www.braze.com/docs/api/objects_filters/connected_audience/

    -
    interface ConnectedAudienceObject {
        AND?: (ConnectedAudienceObject | ConnectedAudienceFilter)[];
        OR?: (ConnectedAudienceObject | ConnectedAudienceFilter)[];
    }

    Properties

    interface ConnectedAudienceObject {
        AND?: (ConnectedAudienceObject | ConnectedAudienceFilter)[];
        OR?: (ConnectedAudienceObject | ConnectedAudienceFilter)[];
    }

    Properties

    Properties

    AND?: (ConnectedAudienceObject | ConnectedAudienceFilter)[]
    OR?: (ConnectedAudienceObject | ConnectedAudienceFilter)[]
    +

    Properties

    AND?: (ConnectedAudienceObject | ConnectedAudienceFilter)[]
    OR?: (ConnectedAudienceObject | ConnectedAudienceFilter)[]
    diff --git a/interfaces/ContentBlockBody.html b/interfaces/ContentBlockBody.html index 3ba7a86b8..91d2caff2 100644 --- a/interfaces/ContentBlockBody.html +++ b/interfaces/ContentBlockBody.html @@ -1,5 +1,5 @@ -ContentBlockBody | braze-api

    Interface ContentBlockBody

    Request body for content block.

    +ContentBlockBody | braze-api

    Interface ContentBlockBody

    interface ContentBlockBody {
        content_block_id: string;
        include_inclusion_data?: boolean;
    }

    Properties

    interface ContentBlockBody {
        content_block_id: string;
        include_inclusion_data?: boolean;
    }

    Properties

    content_block_id: string
    include_inclusion_data?: boolean
    +

    Properties

    content_block_id: string
    include_inclusion_data?: boolean
    diff --git a/interfaces/ContentBlockListBody.html b/interfaces/ContentBlockListBody.html index ec6965fac..a17023098 100644 --- a/interfaces/ContentBlockListBody.html +++ b/interfaces/ContentBlockListBody.html @@ -1,7 +1,7 @@ -ContentBlockListBody | braze-api

    Interface ContentBlockListBody

    Request body for content block list.

    +ContentBlockListBody | braze-api

    Interface ContentBlockListBody

    interface ContentBlockListBody {
        limit?: number;
        modified_after?: string;
        modified_before?: string;
        offset?: number;
    }

    Properties

    interface ContentBlockListBody {
        limit?: number;
        modified_after?: string;
        modified_before?: string;
        offset?: number;
    }

    Properties

    limit?: number
    modified_after?: string
    modified_before?: string
    offset?: number
    +

    Properties

    limit?: number
    modified_after?: string
    modified_before?: string
    offset?: number
    diff --git a/interfaces/ContentBlockListResponse.html b/interfaces/ContentBlockListResponse.html index 067f64aef..d8291b1c5 100644 --- a/interfaces/ContentBlockListResponse.html +++ b/interfaces/ContentBlockListResponse.html @@ -1,7 +1,7 @@ -ContentBlockListResponse | braze-api

    Interface ContentBlockListResponse

    Response body for content block list.

    +ContentBlockListResponse | braze-api

    Interface ContentBlockListResponse

    interface ContentBlockListResponse {
        content_blocks: {
            content_block_id: string;
            content_type: string;
            created_at: string;
            inclusion_count: number;
            last_edited: string;
            liquid_tag: string;
            name: string;
            tags: string[];
        }[];
        count: number;
        errors?: string[];
        message: string;
    }

    Hierarchy

    • ServerResponse
      • ContentBlockListResponse

    Properties

    interface ContentBlockListResponse {
        content_blocks: {
            content_block_id: string;
            content_type: string;
            created_at: string;
            inclusion_count: number;
            last_edited: string;
            liquid_tag: string;
            name: string;
            tags: string[];
        }[];
        count: number;
        errors?: string[];
        message: string;
    }

    Hierarchy

    • ServerResponse
      • ContentBlockListResponse

    Properties

    content_blocks: {
        content_block_id: string;
        content_type: string;
        created_at: string;
        inclusion_count: number;
        last_edited: string;
        liquid_tag: string;
        name: string;
        tags: string[];
    }[]
    count: number
    errors?: string[]
    message: string
    +

    Properties

    content_blocks: {
        content_block_id: string;
        content_type: string;
        created_at: string;
        inclusion_count: number;
        last_edited: string;
        liquid_tag: string;
        name: string;
        tags: string[];
    }[]
    count: number
    errors?: string[]
    message: string
    diff --git a/interfaces/ContentBlockResponse.html b/interfaces/ContentBlockResponse.html index d9aaff0f1..a13d17ea6 100644 --- a/interfaces/ContentBlockResponse.html +++ b/interfaces/ContentBlockResponse.html @@ -1,6 +1,6 @@ -ContentBlockResponse | braze-api

    Interface ContentBlockResponse

    Response body for content block.

    +ContentBlockResponse | braze-api

    Interface ContentBlockResponse

    interface ContentBlockResponse {
        content: string;
        content_block_id: string;
        content_type: string;
        created_at: string;
        description: string;
        errors?: string[];
        inclusion_count: number;
        inclusion_data: string[];
        last_edited: string;
        message: string;
        name: string;
        tags: string[];
    }

    Hierarchy

    • ServerResponse
      • ContentBlockResponse

    Properties

    interface ContentBlockResponse {
        content: string;
        content_block_id: string;
        content_type: string;
        created_at: string;
        description: string;
        errors?: string[];
        inclusion_count: number;
        inclusion_data: string[];
        last_edited: string;
        message: string;
        name: string;
        tags: string[];
    }

    Hierarchy

    • ServerResponse
      • ContentBlockResponse

    Properties

    content: string
    content_block_id: string
    content_type: string
    created_at: string
    description: string
    errors?: string[]
    inclusion_count: number
    inclusion_data: string[]
    last_edited: string
    message: string
    name: string
    tags: string[]
    +

    Properties

    content: string
    content_block_id: string
    content_type: string
    created_at: string
    description: string
    errors?: string[]
    inclusion_count: number
    inclusion_data: string[]
    last_edited: string
    message: string
    name: string
    tags: string[]
    diff --git a/interfaces/CreateContentBlockBody.html b/interfaces/CreateContentBlockBody.html index fd4a7c058..62ce48f4a 100644 --- a/interfaces/CreateContentBlockBody.html +++ b/interfaces/CreateContentBlockBody.html @@ -1,8 +1,8 @@ -CreateContentBlockBody | braze-api

    Interface CreateContentBlockBody

    Request body for create content block.

    +CreateContentBlockBody | braze-api

    Interface CreateContentBlockBody

    interface CreateContentBlockBody {
        content: string;
        description?: string;
        name: string;
        state?: "active" | "draft";
        tags?: string[];
    }

    Properties

    interface CreateContentBlockBody {
        content: string;
        description?: string;
        name: string;
        state?: "active" | "draft";
        tags?: string[];
    }

    Properties

    content: string
    description?: string
    name: string
    state?: "active" | "draft"
    tags?: string[]
    +

    Properties

    content: string
    description?: string
    name: string
    state?: "active" | "draft"
    tags?: string[]
    diff --git a/interfaces/CreateEmailTemplateBody.html b/interfaces/CreateEmailTemplateBody.html index 9666e4670..9c2939ac0 100644 --- a/interfaces/CreateEmailTemplateBody.html +++ b/interfaces/CreateEmailTemplateBody.html @@ -1,10 +1,10 @@ -CreateEmailTemplateBody | braze-api

    Interface CreateEmailTemplateBody

    Request body for create/update email template.

    +CreateEmailTemplateBody | braze-api

    Interface CreateEmailTemplateBody

    interface CreateEmailTemplateBody {
        body: string;
        plaintext_body?: string;
        preheader?: string;
        should_inline_css?: boolean;
        subject: string;
        tags?: string[];
        template_name: string;
    }

    Hierarchy (view full)

    Properties

    interface CreateEmailTemplateBody {
        body: string;
        plaintext_body?: string;
        preheader?: string;
        should_inline_css?: boolean;
        subject: string;
        tags?: string[];
        template_name: string;
    }

    Hierarchy (view full)

    Properties

    body: string
    plaintext_body?: string
    preheader?: string
    should_inline_css?: boolean
    subject: string
    tags?: string[]
    template_name: string
    +

    Properties

    body: string
    plaintext_body?: string
    preheader?: string
    should_inline_css?: boolean
    subject: string
    tags?: string[]
    template_name: string
    diff --git a/interfaces/EmailBlacklistObject.html b/interfaces/EmailBlacklistObject.html index 86468f8b0..10460522f 100644 --- a/interfaces/EmailBlacklistObject.html +++ b/interfaces/EmailBlacklistObject.html @@ -1,4 +1,4 @@ -EmailBlacklistObject | braze-api

    Interface EmailBlacklistObject

    Request body for blacklist emails.

    +EmailBlacklistObject | braze-api

    Interface EmailBlacklistObject

    interface EmailBlacklistObject {
        email: string | string[];
    }

    Properties

    Properties

    email: string | string[]
    +
    interface EmailBlacklistObject {
        email: string | string[];
    }

    Properties

    Properties

    email: string | string[]
    diff --git a/interfaces/EmailBounceRemoveObject.html b/interfaces/EmailBounceRemoveObject.html index 4e975a753..7bb77baf4 100644 --- a/interfaces/EmailBounceRemoveObject.html +++ b/interfaces/EmailBounceRemoveObject.html @@ -1,4 +1,4 @@ -EmailBounceRemoveObject | braze-api

    Interface EmailBounceRemoveObject

    Request body for remove hard bounces.

    +EmailBounceRemoveObject | braze-api

    Interface EmailBounceRemoveObject

    interface EmailBounceRemoveObject {
        email: string | string[];
    }

    Properties

    Properties

    email: string | string[]
    +
    interface EmailBounceRemoveObject {
        email: string | string[];
    }

    Properties

    Properties

    email: string | string[]
    diff --git a/interfaces/EmailSpamRemoveObject.html b/interfaces/EmailSpamRemoveObject.html index f48ec17e6..6d22454ca 100644 --- a/interfaces/EmailSpamRemoveObject.html +++ b/interfaces/EmailSpamRemoveObject.html @@ -1,4 +1,4 @@ -EmailSpamRemoveObject | braze-api

    Interface EmailSpamRemoveObject

    Request body for remove email addresses from spam list.

    +EmailSpamRemoveObject | braze-api

    Interface EmailSpamRemoveObject

    Request body for remove email addresses from spam list.

    https://www.braze.com/docs/api/endpoints/email/post_remove_spam/#request-body

    -
    interface EmailSpamRemoveObject {
        email: string | string[];
    }

    Properties

    Properties

    email: string | string[]
    +
    interface EmailSpamRemoveObject {
        email: string | string[];
    }

    Properties

    Properties

    email: string | string[]
    diff --git a/interfaces/EmailTemplateBody.html b/interfaces/EmailTemplateBody.html index 8b0d712fb..945c5708f 100644 --- a/interfaces/EmailTemplateBody.html +++ b/interfaces/EmailTemplateBody.html @@ -1,4 +1,4 @@ -EmailTemplateBody | braze-api

    Interface EmailTemplateBody

    Request body for email template.

    +EmailTemplateBody | braze-api

    Interface EmailTemplateBody

    interface EmailTemplateBody {
        email_template_id: string;
    }

    Properties

    Properties

    email_template_id: string
    +
    interface EmailTemplateBody {
        email_template_id: string;
    }

    Properties

    Properties

    email_template_id: string
    diff --git a/interfaces/EmailTemplateListBody.html b/interfaces/EmailTemplateListBody.html index b647bb086..e57183a55 100644 --- a/interfaces/EmailTemplateListBody.html +++ b/interfaces/EmailTemplateListBody.html @@ -1,7 +1,7 @@ -EmailTemplateListBody | braze-api

    Interface EmailTemplateListBody

    Request body for email template list.

    +EmailTemplateListBody | braze-api

    Interface EmailTemplateListBody

    interface EmailTemplateListBody {
        limit?: number;
        modified_after?: string;
        modified_before?: string;
        offset?: number;
    }

    Properties

    interface EmailTemplateListBody {
        limit?: number;
        modified_after?: string;
        modified_before?: string;
        offset?: number;
    }

    Properties

    limit?: number
    modified_after?: string
    modified_before?: string
    offset?: number
    +

    Properties

    limit?: number
    modified_after?: string
    modified_before?: string
    offset?: number
    diff --git a/interfaces/EmailTemplateListResponse.html b/interfaces/EmailTemplateListResponse.html index 1ec57fd12..9f72af5e5 100644 --- a/interfaces/EmailTemplateListResponse.html +++ b/interfaces/EmailTemplateListResponse.html @@ -1,7 +1,7 @@ -EmailTemplateListResponse | braze-api

    Interface EmailTemplateListResponse

    Response body for email template list.

    +EmailTemplateListResponse | braze-api

    Interface EmailTemplateListResponse

    interface EmailTemplateListResponse {
        count: number;
        errors?: string[];
        message: string;
        templates: {
            created_at: string;
            email_template_id: string;
            tags: string[];
            template_name: string;
            updated_at: string;
        }[];
    }

    Hierarchy

    • ServerResponse
      • EmailTemplateListResponse

    Properties

    interface EmailTemplateListResponse {
        count: number;
        errors?: string[];
        message: string;
        templates: {
            created_at: string;
            email_template_id: string;
            tags: string[];
            template_name: string;
            updated_at: string;
        }[];
    }

    Hierarchy

    • ServerResponse
      • EmailTemplateListResponse

    Properties

    count: number
    errors?: string[]
    message: string
    templates: {
        created_at: string;
        email_template_id: string;
        tags: string[];
        template_name: string;
        updated_at: string;
    }[]
    +

    Properties

    count: number
    errors?: string[]
    message: string
    templates: {
        created_at: string;
        email_template_id: string;
        tags: string[];
        template_name: string;
        updated_at: string;
    }[]
    diff --git a/interfaces/EmailTemplateResponse.html b/interfaces/EmailTemplateResponse.html index 1dc4d2675..df2b21450 100644 --- a/interfaces/EmailTemplateResponse.html +++ b/interfaces/EmailTemplateResponse.html @@ -1,6 +1,6 @@ -EmailTemplateResponse | braze-api

    Interface EmailTemplateResponse

    Response body for email template.

    +EmailTemplateResponse | braze-api

    Interface EmailTemplateResponse

    interface EmailTemplateResponse {
        body?: string;
        created_at: string;
        description: string;
        email_template_id: string;
        errors?: string[];
        message: string;
        plaintext_body?: string;
        preheader?: string;
        should_inline_css?: boolean;
        subject: string;
        tags: string;
        template_name: string;
        updated_at: string;
    }

    Hierarchy

    • ServerResponse
      • EmailTemplateResponse

    Properties

    interface EmailTemplateResponse {
        body?: string;
        created_at: string;
        description: string;
        email_template_id: string;
        errors?: string[];
        message: string;
        plaintext_body?: string;
        preheader?: string;
        should_inline_css?: boolean;
        subject: string;
        tags: string;
        template_name: string;
        updated_at: string;
    }

    Hierarchy

    • ServerResponse
      • EmailTemplateResponse

    Properties

    body?: string
    created_at: string
    description: string
    email_template_id: string
    errors?: string[]
    message: string
    plaintext_body?: string
    preheader?: string
    should_inline_css?: boolean
    subject: string
    tags: string
    template_name: string
    updated_at: string
    +

    Properties

    body?: string
    created_at: string
    description: string
    email_template_id: string
    errors?: string[]
    message: string
    plaintext_body?: string
    preheader?: string
    should_inline_css?: boolean
    subject: string
    tags: string
    template_name: string
    updated_at: string
    diff --git a/interfaces/MessagesObject.html b/interfaces/MessagesObject.html index 80298fc0f..029d7db4f 100644 --- a/interfaces/MessagesObject.html +++ b/interfaces/MessagesObject.html @@ -1,6 +1,6 @@ -MessagesObject | braze-api

    Interface MessagesObject

    Messaging objects.

    +MessagesObject | braze-api

    Interface MessagesObject

    interface MessagesObject {
        android_push?: AndroidPushObject;
        apple_push?: ApplePushObject;
        content_card?: object;
        email?: EmailObjectWithBody | EmailObjectWithEmailTemplateId;
        kindle_push?: object;
        sms?: object;
        web_push?: object;
        webhook?: object;
        windows_phone8_push?: object;
        windows_universal_push?: object;
    }

    Properties

    interface MessagesObject {
        android_push?: AndroidPushObject;
        apple_push?: ApplePushObject;
        content_card?: object;
        email?: EmailObjectWithBody | EmailObjectWithEmailTemplateId;
        kindle_push?: object;
        sms?: object;
        web_push?: object;
        webhook?: object;
        windows_phone8_push?: object;
        windows_universal_push?: object;
    }

    Properties

    android_push?: AndroidPushObject
    apple_push?: ApplePushObject
    content_card?: object
    email?: EmailObjectWithBody | EmailObjectWithEmailTemplateId
    kindle_push?: object
    sms?: object
    web_push?: object
    webhook?: object
    windows_phone8_push?: object
    windows_universal_push?: object
    +

    Properties

    android_push?: AndroidPushObject
    apple_push?: ApplePushObject
    content_card?: object
    email?: EmailObjectWithBody | EmailObjectWithEmailTemplateId
    kindle_push?: object
    sms?: object
    web_push?: object
    webhook?: object
    windows_phone8_push?: object
    windows_universal_push?: object
    diff --git a/interfaces/MessagesScheduleCreateObject.html b/interfaces/MessagesScheduleCreateObject.html index 07593ad01..c28386e5a 100644 --- a/interfaces/MessagesScheduleCreateObject.html +++ b/interfaces/MessagesScheduleCreateObject.html @@ -1,6 +1,6 @@ -MessagesScheduleCreateObject | braze-api

    Interface MessagesScheduleCreateObject

    Request body for create scheduled messages.

    +MessagesScheduleCreateObject | braze-api

    Interface MessagesScheduleCreateObject

    interface MessagesScheduleCreateObject {
        audience?: ConnectedAudienceObject;
        broadcast?: boolean;
        campaign_id?: string;
        external_user_ids?: string[];
        messages?: MessagesObject;
        override_messaging_limits?: boolean;
        recipient_subscription_state?: string;
        schedule: ScheduleObject;
        segment_id?: string;
        send_id?: string;
        user_aliases?: UserAlias[];
    }

    Hierarchy

    Properties

    interface MessagesScheduleCreateObject {
        audience?: ConnectedAudienceObject;
        broadcast?: boolean;
        campaign_id?: string;
        external_user_ids?: string[];
        messages?: MessagesObject;
        override_messaging_limits?: boolean;
        recipient_subscription_state?: string;
        schedule: ScheduleObject;
        segment_id?: string;
        send_id?: string;
        user_aliases?: UserAlias[];
    }

    Hierarchy

    Properties

    broadcast?: boolean
    campaign_id?: string
    external_user_ids?: string[]
    messages?: MessagesObject
    override_messaging_limits?: boolean
    recipient_subscription_state?: string
    schedule: ScheduleObject
    segment_id?: string
    send_id?: string
    user_aliases?: UserAlias[]
    +

    Properties

    broadcast?: boolean
    campaign_id?: string
    external_user_ids?: string[]
    messages?: MessagesObject
    override_messaging_limits?: boolean
    recipient_subscription_state?: string
    schedule: ScheduleObject
    segment_id?: string
    send_id?: string
    user_aliases?: UserAlias[]
    diff --git a/interfaces/MessagesScheduleDeleteObject.html b/interfaces/MessagesScheduleDeleteObject.html index 16b86dfd3..91ceee09b 100644 --- a/interfaces/MessagesScheduleDeleteObject.html +++ b/interfaces/MessagesScheduleDeleteObject.html @@ -1,4 +1,4 @@ -MessagesScheduleDeleteObject | braze-api

    Interface MessagesScheduleDeleteObject

    Request body for delete scheduled messages.

    +MessagesScheduleDeleteObject | braze-api

    Interface MessagesScheduleDeleteObject

    interface MessagesScheduleDeleteObject {
        schedule_id: string;
    }

    Properties

    Properties

    schedule_id: string
    +
    interface MessagesScheduleDeleteObject {
        schedule_id: string;
    }

    Properties

    Properties

    schedule_id: string
    diff --git a/interfaces/MessagesScheduleUpdateObject.html b/interfaces/MessagesScheduleUpdateObject.html index 1858a98a7..fd5ea0103 100644 --- a/interfaces/MessagesScheduleUpdateObject.html +++ b/interfaces/MessagesScheduleUpdateObject.html @@ -1,6 +1,6 @@ -MessagesScheduleUpdateObject | braze-api

    Interface MessagesScheduleUpdateObject

    Request body for update scheduled messages.

    +MessagesScheduleUpdateObject | braze-api

    Interface MessagesScheduleUpdateObject

    interface MessagesScheduleUpdateObject {
        messages?: MessagesObject;
        schedule?: ScheduleObject;
        schedule_id: string;
    }

    Properties

    interface MessagesScheduleUpdateObject {
        messages?: MessagesObject;
        schedule?: ScheduleObject;
        schedule_id: string;
    }

    Properties

    messages?: MessagesObject
    schedule?: ScheduleObject
    schedule_id: string
    +

    Properties

    messages?: MessagesObject
    schedule?: ScheduleObject
    schedule_id: string
    diff --git a/interfaces/MessagesSendObject.html b/interfaces/MessagesSendObject.html index cf5157c98..d4c2b9868 100644 --- a/interfaces/MessagesSendObject.html +++ b/interfaces/MessagesSendObject.html @@ -1,6 +1,6 @@ -MessagesSendObject | braze-api

    Interface MessagesSendObject

    Request body for sending messages immediately via API only.

    +MessagesSendObject | braze-api

    Interface MessagesSendObject

    interface MessagesSendObject {
        audience?: ConnectedAudienceObject;
        broadcast?: boolean;
        campaign_id?: string;
        external_user_ids?: string[];
        messages?: MessagesObject;
        override_frequency_capping?: boolean;
        recipient_subscription_state?: string;
        segment_id?: string;
        send_id?: string;
        user_aliases?: UserAlias[];
    }

    Properties

    interface MessagesSendObject {
        audience?: ConnectedAudienceObject;
        broadcast?: boolean;
        campaign_id?: string;
        external_user_ids?: string[];
        messages?: MessagesObject;
        override_frequency_capping?: boolean;
        recipient_subscription_state?: string;
        segment_id?: string;
        send_id?: string;
        user_aliases?: UserAlias[];
    }

    Properties

    broadcast?: boolean
    campaign_id?: string
    external_user_ids?: string[]
    messages?: MessagesObject
    override_frequency_capping?: boolean
    recipient_subscription_state?: string
    segment_id?: string
    send_id?: string
    user_aliases?: UserAlias[]
    +

    Properties

    broadcast?: boolean
    campaign_id?: string
    external_user_ids?: string[]
    messages?: MessagesObject
    override_frequency_capping?: boolean
    recipient_subscription_state?: string
    segment_id?: string
    send_id?: string
    user_aliases?: UserAlias[]
    diff --git a/interfaces/PostContentBlockResponse.html b/interfaces/PostContentBlockResponse.html index 7891a21db..dc16aeb68 100644 --- a/interfaces/PostContentBlockResponse.html +++ b/interfaces/PostContentBlockResponse.html @@ -1,9 +1,9 @@ -PostContentBlockResponse | braze-api

    Interface PostContentBlockResponse

    Response body for create/update content block.

    +PostContentBlockResponse | braze-api

    Interface PostContentBlockResponse

    interface PostContentBlockResponse {
        content_block_id: string;
        created_at: string;
        errors?: string[];
        liquid_tag: string;
        message: "success";
    }

    Hierarchy

    • ServerResponse
      • PostContentBlockResponse

    Properties

    interface PostContentBlockResponse {
        content_block_id: string;
        created_at: string;
        errors?: string[];
        liquid_tag: string;
        message: "success";
    }

    Hierarchy

    • ServerResponse
      • PostContentBlockResponse

    Properties

    content_block_id: string
    created_at: string
    errors?: string[]
    liquid_tag: string
    message
    +

    Properties

    content_block_id: string
    created_at: string
    errors?: string[]
    liquid_tag: string
    message
    diff --git a/interfaces/PostEmailTemplateResponse.html b/interfaces/PostEmailTemplateResponse.html index c6700a05f..61ea53b30 100644 --- a/interfaces/PostEmailTemplateResponse.html +++ b/interfaces/PostEmailTemplateResponse.html @@ -1,7 +1,7 @@ -PostEmailTemplateResponse | braze-api

    Interface PostEmailTemplateResponse

    Response body for create/update email template.

    +PostEmailTemplateResponse | braze-api

    Interface PostEmailTemplateResponse

    interface PostEmailTemplateResponse {
        email_template_id: string;
        errors?: string[];
        message: string;
    }

    Hierarchy

    • ServerResponse
      • PostEmailTemplateResponse

    Properties

    interface PostEmailTemplateResponse {
        email_template_id: string;
        errors?: string[];
        message: string;
    }

    Hierarchy

    • ServerResponse
      • PostEmailTemplateResponse

    Properties

    email_template_id: string
    errors?: string[]
    message: string
    +

    Properties

    email_template_id: string
    errors?: string[]
    message: string
    diff --git a/interfaces/ScheduleObject.html b/interfaces/ScheduleObject.html index 0528aedd2..2f5383fb1 100644 --- a/interfaces/ScheduleObject.html +++ b/interfaces/ScheduleObject.html @@ -1,6 +1,6 @@ -ScheduleObject | braze-api

    Interface ScheduleObject

    Schedule object specification.

    +ScheduleObject | braze-api

    Interface ScheduleObject

    interface ScheduleObject {
        at_optimal_time?: boolean;
        in_local_time?: boolean;
        time: string;
    }

    Properties

    interface ScheduleObject {
        at_optimal_time?: boolean;
        in_local_time?: boolean;
        time: string;
    }

    Properties

    at_optimal_time?: boolean
    in_local_time?: boolean
    time: string
    +

    Properties

    at_optimal_time?: boolean
    in_local_time?: boolean
    time: string
    diff --git a/interfaces/ScheduledBroadcastsObject.html b/interfaces/ScheduledBroadcastsObject.html index 23ec65d4f..5de8159e9 100644 --- a/interfaces/ScheduledBroadcastsObject.html +++ b/interfaces/ScheduledBroadcastsObject.html @@ -1,2 +1,2 @@ -ScheduledBroadcastsObject | braze-api

    Interface ScheduledBroadcastsObject

    interface ScheduledBroadcastsObject {
        end_time: string;
    }

    Properties

    Properties

    end_time: string
    +ScheduledBroadcastsObject | braze-api

    Interface ScheduledBroadcastsObject

    interface ScheduledBroadcastsObject {
        end_time: string;
    }

    Properties

    Properties

    end_time: string
    diff --git a/interfaces/ScheduledBroadcastsResponse.html b/interfaces/ScheduledBroadcastsResponse.html index d65667d0f..57c507049 100644 --- a/interfaces/ScheduledBroadcastsResponse.html +++ b/interfaces/ScheduledBroadcastsResponse.html @@ -1,4 +1,4 @@ -ScheduledBroadcastsResponse | braze-api

    Interface ScheduledBroadcastsResponse

    interface ScheduledBroadcastsResponse {
        errors?: string[];
        message: string;
        scheduled_broadcasts: {
            id: string;
            name: string;
            next_send_time: string;
            schedule_type: string;
            tags: string[];
            type: "Canvas" | "Campaign";
        }[];
    }

    Hierarchy

    • ServerResponse
      • ScheduledBroadcastsResponse

    Properties

    errors? +ScheduledBroadcastsResponse | braze-api

    Interface ScheduledBroadcastsResponse

    interface ScheduledBroadcastsResponse {
        errors?: string[];
        message: string;
        scheduled_broadcasts: {
            id: string;
            name: string;
            next_send_time: string;
            schedule_type: string;
            tags: string[];
            type: "Canvas" | "Campaign";
        }[];
    }

    Hierarchy

    • ServerResponse
      • ScheduledBroadcastsResponse

    Properties

    errors?: string[]
    message: string
    scheduled_broadcasts: {
        id: string;
        name: string;
        next_send_time: string;
        schedule_type: string;
        tags: string[];
        type: "Canvas" | "Campaign";
    }[]
    +

    Properties

    errors?: string[]
    message: string
    scheduled_broadcasts: {
        id: string;
        name: string;
        next_send_time: string;
        schedule_type: string;
        tags: string[];
        type: "Canvas" | "Campaign";
    }[]
    diff --git a/interfaces/SendsIdCreateObject.html b/interfaces/SendsIdCreateObject.html index 2c19ee6bf..33d4952a0 100644 --- a/interfaces/SendsIdCreateObject.html +++ b/interfaces/SendsIdCreateObject.html @@ -1,5 +1,5 @@ -SendsIdCreateObject | braze-api

    Interface SendsIdCreateObject

    Request body for create send IDs.

    +SendsIdCreateObject | braze-api

    Interface SendsIdCreateObject

    interface SendsIdCreateObject {
        campaign_id: string;
        send_id?: string;
    }

    Properties

    interface SendsIdCreateObject {
        campaign_id: string;
        send_id?: string;
    }

    Properties

    Properties

    campaign_id: string
    send_id?: string
    +

    Properties

    campaign_id: string
    send_id?: string
    diff --git a/interfaces/SubscriptionStatusGetObject.html b/interfaces/SubscriptionStatusGetObject.html index 4cb3dc21c..0d92569a1 100644 --- a/interfaces/SubscriptionStatusGetObject.html +++ b/interfaces/SubscriptionStatusGetObject.html @@ -1,7 +1,7 @@ -SubscriptionStatusGetObject | braze-api

    Interface SubscriptionStatusGetObject

    Request body for get users’ subscription group status.

    +SubscriptionStatusGetObject | braze-api

    Interface SubscriptionStatusGetObject

    interface SubscriptionStatusGetObject {
        email?: string | string[];
        external_id?: string | string[];
        phone?: string | string[];
        subscription_group_id: string;
    }

    Properties

    interface SubscriptionStatusGetObject {
        email?: string | string[];
        external_id?: string | string[];
        phone?: string | string[];
        subscription_group_id: string;
    }

    Properties

    email?: string | string[]
    external_id?: string | string[]
    phone?: string | string[]
    subscription_group_id: string
    +

    Properties

    email?: string | string[]
    external_id?: string | string[]
    phone?: string | string[]
    subscription_group_id: string
    diff --git a/interfaces/SubscriptionUserStatusObject.html b/interfaces/SubscriptionUserStatusObject.html index a4f47b036..7439341cd 100644 --- a/interfaces/SubscriptionUserStatusObject.html +++ b/interfaces/SubscriptionUserStatusObject.html @@ -1,8 +1,8 @@ -SubscriptionUserStatusObject | braze-api

    Interface SubscriptionUserStatusObject

    Request body for get users’ subscription groups.

    +SubscriptionUserStatusObject | braze-api

    Interface SubscriptionUserStatusObject

    interface SubscriptionUserStatusObject {
        email?: string | string[];
        external_id?: string | string[];
        limit?: number;
        offset?: number;
        phone?: string | string[];
    }

    Properties

    interface SubscriptionUserStatusObject {
        email?: string | string[];
        external_id?: string | string[];
        limit?: number;
        offset?: number;
        phone?: string | string[];
    }

    Properties

    email?: string | string[]
    external_id?: string | string[]
    limit?: number
    offset?: number
    phone?: string | string[]
    +

    Properties

    email?: string | string[]
    external_id?: string | string[]
    limit?: number
    offset?: number
    phone?: string | string[]
    diff --git a/interfaces/SubscriptionUserStatusResponse.html b/interfaces/SubscriptionUserStatusResponse.html index 8dc89851d..e8b0741a1 100644 --- a/interfaces/SubscriptionUserStatusResponse.html +++ b/interfaces/SubscriptionUserStatusResponse.html @@ -1,5 +1,5 @@ -SubscriptionUserStatusResponse | braze-api

    Interface SubscriptionUserStatusResponse

    interface SubscriptionUserStatusResponse {
        errors?: string[];
        message: string;
        total_count: number;
        users: {
            email: null | string;
            external_id: null | string;
            phone: null | string;
            subscription_groups: {
                channel: string;
                id: string;
                name: string;
                status: "Subscribed" | "Unsubscribed";
            }[];
        }[];
    }

    Properties

    errors? +SubscriptionUserStatusResponse | braze-api

    Interface SubscriptionUserStatusResponse

    interface SubscriptionUserStatusResponse {
        errors?: string[];
        message: string;
        total_count: number;
        users: {
            email: null | string;
            external_id: null | string;
            phone: null | string;
            subscription_groups: {
                channel: string;
                id: string;
                name: string;
                status: "Subscribed" | "Unsubscribed";
            }[];
        }[];
    }

    Properties

    errors?: string[]
    message: string
    total_count: number
    users: {
        email: null | string;
        external_id: null | string;
        phone: null | string;
        subscription_groups: {
            channel: string;
            id: string;
            name: string;
            status: "Subscribed" | "Unsubscribed";
        }[];
    }[]
    +

    Properties

    errors?: string[]
    message: string
    total_count: number
    users: {
        email: null | string;
        external_id: null | string;
        phone: null | string;
        subscription_groups: {
            channel: string;
            id: string;
            name: string;
            status: "Subscribed" | "Unsubscribed";
        }[];
    }[]
    diff --git a/interfaces/TransactionalV1CampaignsSendObject.html b/interfaces/TransactionalV1CampaignsSendObject.html index 12e969d29..9d3d4dd1b 100644 --- a/interfaces/TransactionalV1CampaignsSendObject.html +++ b/interfaces/TransactionalV1CampaignsSendObject.html @@ -1,6 +1,6 @@ -TransactionalV1CampaignsSendObject | braze-api

    Interface TransactionalV1CampaignsSendObject

    Request body for sending transactional email via API-triggered delivery.

    +TransactionalV1CampaignsSendObject | braze-api

    Interface TransactionalV1CampaignsSendObject

    Request body for sending transactional email via API-triggered delivery.

    https://www.braze.com/docs/api/endpoints/messaging/send_messages/post_send_transactional_message/#request-body

    -
    interface TransactionalV1CampaignsSendObject {
        external_send_id?: string;
        recipient: (RecipientWithExternalUserId | RecipientWithUserAlias)[];
        trigger_properties?: object;
    }

    Properties

    interface TransactionalV1CampaignsSendObject {
        external_send_id?: string;
        recipient: (RecipientWithExternalUserId | RecipientWithUserAlias)[];
        trigger_properties?: object;
    }

    Properties

    external_send_id?: string
    recipient: (RecipientWithExternalUserId | RecipientWithUserAlias)[]
    trigger_properties?: object
    +

    Properties

    external_send_id?: string
    recipient: (RecipientWithExternalUserId | RecipientWithUserAlias)[]
    trigger_properties?: object
    diff --git a/interfaces/UpdateContentBlockBody.html b/interfaces/UpdateContentBlockBody.html index ff1114f9d..05f7fe0ea 100644 --- a/interfaces/UpdateContentBlockBody.html +++ b/interfaces/UpdateContentBlockBody.html @@ -1,9 +1,9 @@ -UpdateContentBlockBody | braze-api

    Interface UpdateContentBlockBody

    Request body for update content block.

    +UpdateContentBlockBody | braze-api

    Interface UpdateContentBlockBody

    interface UpdateContentBlockBody {
        content?: string;
        content_block_id: string;
        description?: string;
        name?: string;
        state?: "active" | "draft";
        tags?: string[];
    }

    Hierarchy

    Properties

    interface UpdateContentBlockBody {
        content?: string;
        content_block_id: string;
        description?: string;
        name?: string;
        state?: "active" | "draft";
        tags?: string[];
    }

    Hierarchy

    Properties

    content?: string
    content_block_id: string
    description?: string
    name?: string
    state?: "active" | "draft"
    tags?: string[]
    +

    Properties

    content?: string
    content_block_id: string
    description?: string
    name?: string
    state?: "active" | "draft"
    tags?: string[]
    diff --git a/interfaces/UpdateEmailTemplateBody.html b/interfaces/UpdateEmailTemplateBody.html index 7f151e11a..6c6d12260 100644 --- a/interfaces/UpdateEmailTemplateBody.html +++ b/interfaces/UpdateEmailTemplateBody.html @@ -1,6 +1,6 @@ -UpdateEmailTemplateBody | braze-api

    Interface UpdateEmailTemplateBody

    Request body for update email template.

    +UpdateEmailTemplateBody | braze-api

    Interface UpdateEmailTemplateBody

    interface UpdateEmailTemplateBody {
        body: string;
        email_template_id: string;
        plaintext_body?: string;
        preheader?: string;
        should_inline_css?: boolean;
        subject: string;
        tags?: string[];
        template_name: string;
    }

    Hierarchy (view full)

    Properties

    interface UpdateEmailTemplateBody {
        body: string;
        email_template_id: string;
        plaintext_body?: string;
        preheader?: string;
        should_inline_css?: boolean;
        subject: string;
        tags?: string[];
        template_name: string;
    }

    Hierarchy (view full)

    Properties

    body: string
    email_template_id: string
    plaintext_body?: string
    preheader?: string
    should_inline_css?: boolean
    subject: string
    tags?: string[]
    template_name: string
    +

    Properties

    body: string
    email_template_id: string
    plaintext_body?: string
    preheader?: string
    should_inline_css?: boolean
    subject: string
    tags?: string[]
    template_name: string
    diff --git a/interfaces/UserAlias.html b/interfaces/UserAlias.html index 6c0c6b059..6a1500204 100644 --- a/interfaces/UserAlias.html +++ b/interfaces/UserAlias.html @@ -1,3 +1,3 @@ -UserAlias | braze-api

    Interface UserAlias

    interface UserAlias {
        alias_label: string;
        alias_name: string;
    }

    Properties

    alias_label +UserAlias | braze-api

    Interface UserAlias

    interface UserAlias {
        alias_label: string;
        alias_name: string;
    }

    Properties

    alias_label: string
    alias_name: string
    +

    Properties

    alias_label: string
    alias_name: string
    diff --git a/interfaces/UserAliasUpdateObject.html b/interfaces/UserAliasUpdateObject.html index 38b376c45..889c992b4 100644 --- a/interfaces/UserAliasUpdateObject.html +++ b/interfaces/UserAliasUpdateObject.html @@ -1,4 +1,4 @@ -UserAliasUpdateObject | braze-api

    Interface UserAliasUpdateObject

    interface UserAliasUpdateObject {
        alias_label: string;
        new_alias_name: string;
        old_alias_name: string;
    }

    Properties

    alias_label +UserAliasUpdateObject | braze-api

    Interface UserAliasUpdateObject

    interface UserAliasUpdateObject {
        alias_label: string;
        new_alias_name: string;
        old_alias_name: string;
    }

    Properties

    alias_label: string
    new_alias_name: string
    old_alias_name: string
    +

    Properties

    alias_label: string
    new_alias_name: string
    old_alias_name: string
    diff --git a/interfaces/UserAliasUpdates.html b/interfaces/UserAliasUpdates.html index 859a061ce..b57edfb6a 100644 --- a/interfaces/UserAliasUpdates.html +++ b/interfaces/UserAliasUpdates.html @@ -1,3 +1,3 @@ -UserAliasUpdates | braze-api

    Interface UserAliasUpdates

    interface UserAliasUpdates {
        alias_updates: UserAliasUpdateObject[];
    }

    Properties

    Properties

    alias_updates: UserAliasUpdateObject[]
    +UserAliasUpdates | braze-api

    Interface UserAliasUpdates

    interface UserAliasUpdates {
        alias_updates: UserAliasUpdateObject[];
    }

    Properties

    Properties

    alias_updates: UserAliasUpdateObject[]
    diff --git a/interfaces/UsersAliasObject.html b/interfaces/UsersAliasObject.html index 5861b7ef7..c957db8de 100644 --- a/interfaces/UsersAliasObject.html +++ b/interfaces/UsersAliasObject.html @@ -1,3 +1,3 @@ -UsersAliasObject | braze-api

    Interface UsersAliasObject

    interface UsersAliasObject {
        user_aliases: UserAliasObject[];
    }

    Properties

    Properties

    user_aliases: UserAliasObject[]
    +UsersAliasObject | braze-api

    Interface UsersAliasObject

    interface UsersAliasObject {
        user_aliases: UserAliasObject[];
    }

    Properties

    Properties

    user_aliases: UserAliasObject[]
    diff --git a/interfaces/UsersDeleteObject.html b/interfaces/UsersDeleteObject.html index 7f982478c..8e4aa60a7 100644 --- a/interfaces/UsersDeleteObject.html +++ b/interfaces/UsersDeleteObject.html @@ -1,6 +1,6 @@ -UsersDeleteObject | braze-api

    Interface UsersDeleteObject

    Request body for user delete.

    +UsersDeleteObject | braze-api

    Interface UsersDeleteObject

    interface UsersDeleteObject {
        braze_ids?: string[];
        external_ids?: string[];
        user_aliases?: UserAlias[];
    }

    Properties

    interface UsersDeleteObject {
        braze_ids?: string[];
        external_ids?: string[];
        user_aliases?: UserAlias[];
    }

    Properties

    braze_ids?: string[]
    external_ids?: string[]
    user_aliases?: UserAlias[]
    +

    Properties

    braze_ids?: string[]
    external_ids?: string[]
    user_aliases?: UserAlias[]
    diff --git a/interfaces/UsersDeleteResponse.html b/interfaces/UsersDeleteResponse.html index ed8c8818c..96f51f9f4 100644 --- a/interfaces/UsersDeleteResponse.html +++ b/interfaces/UsersDeleteResponse.html @@ -1,6 +1,6 @@ -UsersDeleteResponse | braze-api

    Interface UsersDeleteResponse

    Response body for user delete.

    +UsersDeleteResponse | braze-api

    Interface UsersDeleteResponse

    interface UsersDeleteResponse {
        deleted: number;
        errors?: string[];
        message: string;
    }

    Hierarchy

    • ServerResponse
      • UsersDeleteResponse

    Properties

    interface UsersDeleteResponse {
        deleted: number;
        errors?: string[];
        message: string;
    }

    Hierarchy

    • ServerResponse
      • UsersDeleteResponse

    Properties

    Properties

    deleted: number
    errors?: string[]
    message: string
    +

    Properties

    deleted: number
    errors?: string[]
    message: string
    diff --git a/interfaces/UsersExportGlobalControlGroupObject.html b/interfaces/UsersExportGlobalControlGroupObject.html index 005584d53..5e8fa859b 100644 --- a/interfaces/UsersExportGlobalControlGroupObject.html +++ b/interfaces/UsersExportGlobalControlGroupObject.html @@ -1,6 +1,6 @@ -UsersExportGlobalControlGroupObject | braze-api

    Interface UsersExportGlobalControlGroupObject

    Request body for users by Global Control Group.

    +UsersExportGlobalControlGroupObject | braze-api

    Interface UsersExportGlobalControlGroupObject

    interface UsersExportGlobalControlGroupObject {
        callback_endpoint?: string;
        fields_to_export: FieldsToExport[];
        output_format?: "gzip" | "zip";
    }

    Properties

    interface UsersExportGlobalControlGroupObject {
        callback_endpoint?: string;
        fields_to_export: FieldsToExport[];
        output_format?: "gzip" | "zip";
    }

    Properties

    callback_endpoint?: string
    fields_to_export: FieldsToExport[]
    output_format?: "gzip" | "zip"
    +

    Properties

    callback_endpoint?: string
    fields_to_export: FieldsToExport[]
    output_format?: "gzip" | "zip"
    diff --git a/interfaces/UsersExportGlobalControlGroupResponse.html b/interfaces/UsersExportGlobalControlGroupResponse.html index 9fa0bbec3..840aad01b 100644 --- a/interfaces/UsersExportGlobalControlGroupResponse.html +++ b/interfaces/UsersExportGlobalControlGroupResponse.html @@ -1,6 +1,6 @@ -UsersExportGlobalControlGroupResponse | braze-api

    Interface UsersExportGlobalControlGroupResponse

    Response body for users by Global Control Group.

    +UsersExportGlobalControlGroupResponse | braze-api

    Interface UsersExportGlobalControlGroupResponse

    interface UsersExportGlobalControlGroupResponse {
        message: string;
        object_prefix: string;
        url?: string;
    }

    Properties

    interface UsersExportGlobalControlGroupResponse {
        message: string;
        object_prefix: string;
        url?: string;
    }

    Properties

    message: string
    object_prefix: string
    url?: string
    +

    Properties

    message: string
    object_prefix: string
    url?: string
    diff --git a/interfaces/UsersExportIdsObject.html b/interfaces/UsersExportIdsObject.html index 3de479104..8504e3fc2 100644 --- a/interfaces/UsersExportIdsObject.html +++ b/interfaces/UsersExportIdsObject.html @@ -1,10 +1,10 @@ -UsersExportIdsObject | braze-api

    Interface UsersExportIdsObject

    Request body for users by identifier endpoint.

    +UsersExportIdsObject | braze-api

    Interface UsersExportIdsObject

    interface UsersExportIdsObject {
        braze_id?: string;
        device_id?: string;
        email_address?: string;
        external_ids?: string[];
        fields_to_export?: FieldsToExport[];
        phone?: string;
        user_aliases?: UserAlias[];
    }

    Properties

    interface UsersExportIdsObject {
        braze_id?: string;
        device_id?: string;
        email_address?: string;
        external_ids?: string[];
        fields_to_export?: FieldsToExport[];
        phone?: string;
        user_aliases?: UserAlias[];
    }

    Properties

    braze_id?: string
    device_id?: string
    email_address?: string
    external_ids?: string[]
    fields_to_export?: FieldsToExport[]
    phone?: string
    user_aliases?: UserAlias[]
    +

    Properties

    braze_id?: string
    device_id?: string
    email_address?: string
    external_ids?: string[]
    fields_to_export?: FieldsToExport[]
    phone?: string
    user_aliases?: UserAlias[]
    diff --git a/interfaces/UsersExportIdsResponse.html b/interfaces/UsersExportIdsResponse.html index 31fbcf7f1..bdf261a7f 100644 --- a/interfaces/UsersExportIdsResponse.html +++ b/interfaces/UsersExportIdsResponse.html @@ -1,6 +1,6 @@ -UsersExportIdsResponse | braze-api

    Interface UsersExportIdsResponse

    Response body for users by identifier endpoint.

    +UsersExportIdsResponse | braze-api

    Interface UsersExportIdsResponse

    interface UsersExportIdsResponse {
        invalid_user_ids?: string[];
        message: string;
        users: Partial<UserExportObject>[];
    }

    Properties

    interface UsersExportIdsResponse {
        invalid_user_ids?: string[];
        message: string;
        users: Partial<UserExportObject>[];
    }

    Properties

    invalid_user_ids?: string[]
    message: string
    users: Partial<UserExportObject>[]
    +

    Properties

    invalid_user_ids?: string[]
    message: string
    users: Partial<UserExportObject>[]
    diff --git a/interfaces/UsersExportSegmentObject.html b/interfaces/UsersExportSegmentObject.html index 84d0f2ed2..1fa2b043d 100644 --- a/interfaces/UsersExportSegmentObject.html +++ b/interfaces/UsersExportSegmentObject.html @@ -1,7 +1,7 @@ -UsersExportSegmentObject | braze-api

    Interface UsersExportSegmentObject

    Request body for users by segment endpoint.

    +UsersExportSegmentObject | braze-api

    Interface UsersExportSegmentObject

    interface UsersExportSegmentObject {
        callback_endpoint?: string;
        fields_to_export: FieldsToExport[];
        output_format?: "gzip" | "zip";
        segment_id: string;
    }

    Properties

    interface UsersExportSegmentObject {
        callback_endpoint?: string;
        fields_to_export: FieldsToExport[];
        output_format?: "gzip" | "zip";
        segment_id: string;
    }

    Properties

    callback_endpoint?: string
    fields_to_export: FieldsToExport[]
    output_format?: "gzip" | "zip"
    segment_id: string
    +

    Properties

    callback_endpoint?: string
    fields_to_export: FieldsToExport[]
    output_format?: "gzip" | "zip"
    segment_id: string
    diff --git a/interfaces/UsersExportSegmentResponse.html b/interfaces/UsersExportSegmentResponse.html index 435ea8ea6..1ea003eed 100644 --- a/interfaces/UsersExportSegmentResponse.html +++ b/interfaces/UsersExportSegmentResponse.html @@ -1,6 +1,6 @@ -UsersExportSegmentResponse | braze-api

    Interface UsersExportSegmentResponse

    Response body for users by segment endpoint.

    +UsersExportSegmentResponse | braze-api

    Interface UsersExportSegmentResponse

    interface UsersExportSegmentResponse {
        message: string;
        object_prefix: string;
        url?: string;
    }

    Properties

    interface UsersExportSegmentResponse {
        message: string;
        object_prefix: string;
        url?: string;
    }

    Properties

    message: string
    object_prefix: string
    url?: string
    +

    Properties

    message: string
    object_prefix: string
    url?: string
    diff --git a/interfaces/UsersExternalIdsRemoveObject.html b/interfaces/UsersExternalIdsRemoveObject.html index a141f76a2..48da95570 100644 --- a/interfaces/UsersExternalIdsRemoveObject.html +++ b/interfaces/UsersExternalIdsRemoveObject.html @@ -1,4 +1,4 @@ -UsersExternalIdsRemoveObject | braze-api

    Interface UsersExternalIdsRemoveObject

    Request body for external ID remove.

    +UsersExternalIdsRemoveObject | braze-api

    Interface UsersExternalIdsRemoveObject

    interface UsersExternalIdsRemoveObject {
        external_ids: string[];
    }

    Properties

    Properties

    external_ids: string[]
    +
    interface UsersExternalIdsRemoveObject {
        external_ids: string[];
    }

    Properties

    Properties

    external_ids: string[]
    diff --git a/interfaces/UsersExternalIdsRenameObject.html b/interfaces/UsersExternalIdsRenameObject.html index f3bdd4dec..04e4fb81d 100644 --- a/interfaces/UsersExternalIdsRenameObject.html +++ b/interfaces/UsersExternalIdsRenameObject.html @@ -1,4 +1,4 @@ -UsersExternalIdsRenameObject | braze-api

    Interface UsersExternalIdsRenameObject

    Request body for external ID rename.

    +UsersExternalIdsRenameObject | braze-api

    Interface UsersExternalIdsRenameObject

    interface UsersExternalIdsRenameObject {
        external_id_renames: {
            current_external_id: string;
            new_external_id: string;
        }[];
    }

    Properties

    external_id_renames: {
        current_external_id: string;
        new_external_id: string;
    }[]
    +
    interface UsersExternalIdsRenameObject {
        external_id_renames: {
            current_external_id: string;
            new_external_id: string;
        }[];
    }

    Properties

    external_id_renames: {
        current_external_id: string;
        new_external_id: string;
    }[]
    diff --git a/interfaces/UsersIdentifyObject.html b/interfaces/UsersIdentifyObject.html index 5f66bf33a..f6e41411e 100644 --- a/interfaces/UsersIdentifyObject.html +++ b/interfaces/UsersIdentifyObject.html @@ -1,4 +1,4 @@ -UsersIdentifyObject | braze-api

    Interface UsersIdentifyObject

    Request body for user identify.

    +UsersIdentifyObject | braze-api

    Interface UsersIdentifyObject

    interface UsersIdentifyObject {
        aliases_to_identify: {
            external_id: string;
            user_alias: UserAlias;
        }[];
    }

    Properties

    aliases_to_identify: {
        external_id: string;
        user_alias: UserAlias;
    }[]
    +
    interface UsersIdentifyObject {
        aliases_to_identify: {
            external_id: string;
            user_alias: UserAlias;
        }[];
    }

    Properties

    aliases_to_identify: {
        external_id: string;
        user_alias: UserAlias;
    }[]
    diff --git a/interfaces/UsersMergeObject.html b/interfaces/UsersMergeObject.html index 3b19c72d9..7e8d3f221 100644 --- a/interfaces/UsersMergeObject.html +++ b/interfaces/UsersMergeObject.html @@ -1,4 +1,4 @@ -UsersMergeObject | braze-api

    Interface UsersMergeObject

    Request body for user merge.

    +UsersMergeObject | braze-api

    Interface UsersMergeObject

    interface UsersMergeObject {
        merge_updates: {
            identifier_to_keep: {
                external_id: string;
            } | {
                user_alias: UserAlias;
            };
            identifier_to_merge: {
                external_id: string;
            } | {
                user_alias: UserAlias;
            };
        }[];
    }

    Properties

    Properties

    merge_updates: {
        identifier_to_keep: {
            external_id: string;
        } | {
            user_alias: UserAlias;
        };
        identifier_to_merge: {
            external_id: string;
        } | {
            user_alias: UserAlias;
        };
    }[]
    +
    interface UsersMergeObject {
        merge_updates: {
            identifier_to_keep: {
                external_id: string;
            } | {
                user_alias: UserAlias;
            };
            identifier_to_merge: {
                external_id: string;
            } | {
                user_alias: UserAlias;
            };
        }[];
    }

    Properties

    Properties

    merge_updates: {
        identifier_to_keep: {
            external_id: string;
        } | {
            user_alias: UserAlias;
        };
        identifier_to_merge: {
            external_id: string;
        } | {
            user_alias: UserAlias;
        };
    }[]
    diff --git a/interfaces/UsersTrackObject.html b/interfaces/UsersTrackObject.html index 233f8a52a..ee3231474 100644 --- a/interfaces/UsersTrackObject.html +++ b/interfaces/UsersTrackObject.html @@ -1,6 +1,6 @@ -UsersTrackObject | braze-api

    Interface UsersTrackObject

    Request body for user track.

    +UsersTrackObject | braze-api

    Interface UsersTrackObject

    interface UsersTrackObject {
        attributes?: UserAttributesObject[];
        events?: EventObject[];
        purchases?: PurchaseObject[];
    }

    Properties

    interface UsersTrackObject {
        attributes?: UserAttributesObject[];
        events?: EventObject[];
        purchases?: PurchaseObject[];
    }

    Properties

    attributes?: UserAttributesObject[]
    events?: EventObject[]
    purchases?: PurchaseObject[]
    +

    Properties

    attributes?: UserAttributesObject[]
    events?: EventObject[]
    purchases?: PurchaseObject[]
    diff --git a/interfaces/V2SubscriptionStatusSetObject.html b/interfaces/V2SubscriptionStatusSetObject.html index 4e54d3233..a260bc989 100644 --- a/interfaces/V2SubscriptionStatusSetObject.html +++ b/interfaces/V2SubscriptionStatusSetObject.html @@ -1,4 +1,4 @@ -V2SubscriptionStatusSetObject | braze-api

    Interface V2SubscriptionStatusSetObject

    Request body for update user’s subscription group status.

    +V2SubscriptionStatusSetObject | braze-api

    Interface V2SubscriptionStatusSetObject

    interface V2SubscriptionStatusSetObject {
        subscription_groups: SubscriptionGroupWithExternalIds[] | SubscriptionGroupWithPhones[] | SubscriptionGroupWithEmails[];
    }

    Properties

    subscription_groups: SubscriptionGroupWithExternalIds[] | SubscriptionGroupWithPhones[] | SubscriptionGroupWithEmails[]
    +
    interface V2SubscriptionStatusSetObject {
        subscription_groups: SubscriptionGroupWithExternalIds[] | SubscriptionGroupWithPhones[] | SubscriptionGroupWithEmails[];
    }

    Properties

    subscription_groups: SubscriptionGroupWithExternalIds[] | SubscriptionGroupWithPhones[] | SubscriptionGroupWithEmails[]
    diff --git a/modules.html b/modules.html index c3c5739c5..7cb762beb 100644 --- a/modules.html +++ b/modules.html @@ -1,4 +1,4 @@ -braze-api

    braze-api

    Index

    Classes

    Braze +braze-api

    braze-api

    Index

    Classes

    Interfaces

    AndroidConversationPushMessageObject AndroidConversationPushObject AndroidConversationPushPersonObject diff --git a/types/Attributes.html b/types/Attributes.html index a677f8704..c25427e6a 100644 --- a/types/Attributes.html +++ b/types/Attributes.html @@ -1 +1 @@ -Attributes | braze-api

    Type Alias Attributes

    Attributes: object
    +Attributes | braze-api

    Type Alias Attributes

    Attributes: object
    diff --git a/types/CatalogListItem.html b/types/CatalogListItem.html index 2d9d09dd2..76edd0282 100644 --- a/types/CatalogListItem.html +++ b/types/CatalogListItem.html @@ -1 +1 @@ -CatalogListItem | braze-api

    Type Alias CatalogListItem<T>

    CatalogListItem<T>: {
        id: string;
    } & T

    Type Parameters

    • T extends RequestBody = Record<string, unknown>
    +CatalogListItem | braze-api

    Type Alias CatalogListItem<T>

    CatalogListItem<T>: {
        id: string;
    } & T

    Type Parameters

    • T extends RequestBody = Record<string, unknown>
    diff --git a/types/Properties.html b/types/Properties.html index fabbffb68..3114fbd98 100644 --- a/types/Properties.html +++ b/types/Properties.html @@ -1 +1 @@ -Properties | braze-api

    Type Alias Properties

    Properties: object
    +Properties | braze-api

    Type Alias Properties

    Properties: object
    diff --git a/types/SubscriptionStatusSetObject.html b/types/SubscriptionStatusSetObject.html index 57fc41030..24e9271c0 100644 --- a/types/SubscriptionStatusSetObject.html +++ b/types/SubscriptionStatusSetObject.html @@ -1,3 +1,3 @@ -SubscriptionStatusSetObject | braze-api

    Type Alias SubscriptionStatusSetObject

    SubscriptionStatusSetObject: SubscriptionStatusSetWithPhone | SubscriptionStatusSetWithEmail

    Request body for update user’s subscription group status.

    +SubscriptionStatusSetObject | braze-api

    Type Alias SubscriptionStatusSetObject

    SubscriptionStatusSetObject: SubscriptionStatusSetWithPhone | SubscriptionStatusSetWithEmail
    +
    diff --git a/types/TriggerProperties.html b/types/TriggerProperties.html index 075155e9b..bcc88352d 100644 --- a/types/TriggerProperties.html +++ b/types/TriggerProperties.html @@ -1 +1 @@ -TriggerProperties | braze-api

    Type Alias TriggerProperties

    TriggerProperties: object
    +TriggerProperties | braze-api

    Type Alias TriggerProperties

    TriggerProperties: object