Type alias GetEmailTemplatesArg

GetEmailTemplatesArg: {
    bustCache?: boolean;
    createdBy?: string;
    createdDate?: string;
    created_date.gte?: string;
    created_date.lte?: string;
    desc?: boolean;
    forAccountRecovery?: boolean;
    forNewUsers?: boolean;
    fromAddress?: string;
    from_address.regex?: string;
    isActive?: boolean;
    isDeleteProtected?: boolean;
    lastUpdatedBy?: string;
    lastUpdatedDate?: string;
    last_updated_date.gte?: string;
    last_updated_date.lte?: string;
    limit?: number;
    locale?: string;
    locale.regex?: string;
    name?: string;
    name.regex?: string;
    objectCount?: boolean;
    orderBy?: string;
    page?: number;
    pageCount?: boolean;
    projectId?: string;
    search?: string;
    searchFields?: string;
    subject?: string;
    subject.regex?: string;
    tags?: string;
    tags.contains?: string;
    tags.contains_any?: string;
}

Type declaration

  • Optional bustCache?: boolean

    Whether to bypass the cache and get the latest data

  • Optional createdBy?: string

    ID of the user who created the account

  • Optional createdDate?: string

    Created date of items to return

  • Optional created_date.gte?: string
  • Optional created_date.lte?: string
  • Optional desc?: boolean

    Whether to order results in descending order

  • Optional forAccountRecovery?: boolean

    If true, the template is used for forgot password emails

  • Optional forNewUsers?: boolean

    If true, the template is used for new user emails

  • Optional fromAddress?: string

    From email address to use with this template

  • Optional from_address.regex?: string
  • Optional isActive?: boolean

    (Admin only) Whether to only return active accounts

  • Optional isDeleteProtected?: boolean

    Whether to only return delete-protected accounts

  • Optional lastUpdatedBy?: string

    ID of the user who last updated the account

  • Optional lastUpdatedDate?: string

    Last edited date of items to return

  • Optional last_updated_date.gte?: string
  • Optional last_updated_date.lte?: string
  • Optional limit?: number

    Maximum number of objects to return

  • Optional locale?: string

    Locale for the template

  • Optional locale.regex?: string
  • Optional name?: string

    Name of the template

  • Optional name.regex?: string
  • Optional objectCount?: boolean

    Whether to only return the number of matching entries

  • Optional orderBy?: string

    Field to order results by

  • Optional page?: number

    Page number to return

  • Optional pageCount?: boolean

    Whether to only return the number of pages

  • Optional projectId?: string

    ID of the project this template belongs to, if any

  • Optional search?: string

    Search term to filter accounts by

  • Optional searchFields?: string

    Comma-delimited list of fields to search in

  • Optional subject?: string

    Subject of the template

  • Optional subject.regex?: string
  • Optional tags?: string

    Comma delimited list of tags on this account

  • Optional tags.contains?: string
  • Optional tags.contains_any?: string