Type Alias SharingTaskRecurringPersist

Type of object stored in the database. Required fields mean that property cannot be null

type SharingTaskRecurringPersist = {
    appId?: string;
    appName?: string;
    byokMigrationId?: string;
    createdBy?: string;
    dataConnectionID?: string;
    dateCreated?: string;
    description?: string;
    distributionListId?: string;
    emailContent?: EmailComposition;
    enabledBySystem?: boolean;
    enabledByUser?: boolean;
    encryptedEmailContent?: SharingTaskRecurringPersistEncryptedEmailContent;
    encryptedState?: EncryptedProperty;
    encryptedTemplates?: EncryptedProperty;
    executeOnCreation?: boolean;
    expiration?: string;
    failedExecutionsCount?: number;
    failedVerificationsCount?: number;
    hasSectionAccess?: boolean;
    id?: string;
    insightDirectURL?: string;
    insightFallbackURL?: string;
    insightID?: string;
    isCandidateForVerification?: boolean;
    lastExecutionDate?: string;
    lastRun?: string;
    lastUpdated?: string;
    lastViewed?: string;
    message?: string;
    multiInsightURLs?: InsightURL[];
    name?: string;
    nextScheduledRun?: string;
    owner?: string;
    ownerName?: string;
    persistentBookmarkIncludeVariables?: boolean;
    recipients?: RecipientsPersist;
    reportProperties?: unknown;
    retentionPolicy?: RetentionPolicy;
    scheduleOptions?: ScheduleOptions;
    selectionErrors?: unknown;
    sharePointFolder?: string;
    spaceId?: string;
    startTime?: string;
    state?: State;
    statusCode?:
        | "CHART_NOT_FOUND"
        | "APP_NOT_FOUND"
        | "STORY_NOT_FOUND"
        | "SHEET_NOT_FOUND"
        | "ENGINE_POD_NOT_AVAILABLE"
        | "APP_FORBIDDEN"
        | "CHART_TYPE_NOT_ALLOWED"
        | "FAILED"
        | "DELETING"
        | "IN_PROGRESS"
        | "VALID"
        | "MAX_FAILURES_REACHED"
        | "BOOKMARK_NOT_FOUND"
        | "CANCELLING"
        | "CANCELLED"
        | "REPORTING_CONSUMPTION_EXCEEDED"
        | "REPORTING_CAPABILITY_NOT_FOUND";
    statusLabel?: string;
    subType?: "pdf"
    | "pptx"
    | "xlsx"
    | "html";
    tags?: string[];
    taskErrors?: TaskError[];
    templateId?: string;
    templates?: TemplateResult[];
    tenant?: string;
    thumbnail?: string;
    transportChannels?: ("email" | "sharepoint")[];
    trigger?: Trigger;
    type?:
        | "chart-monitoring"
        | "chart-sharing"
        | "sheet-sharing"
        | "template-sharing";
    updatedBy?: string;
}
Index

Properties

appId?: string

ID of the app associated (through the templates) with this sharing task

appName?: string

Name of the app associated (through the templates) with this sharing task

byokMigrationId?: string

internal identifier used when migrating keys

createdBy?: string

ID of creator

dataConnectionID?: string

the id of the data connection

dateCreated?: string

Timestamp for the creation of the task

description?: string

A description of this sharing task

distributionListId?: string

the id of the distribution list associated to the app

emailContent?: EmailComposition
enabledBySystem?: boolean

Toggle for enabling sharing task (system level). Example: when task owner gets enabled/ disabled.

enabledByUser?: boolean

Toggle for enabling sharing task (user level). Example: user chooses to enable/ disable task.

the subject and body content for the email to send on report subscriptions

encryptedState?: EncryptedProperty

Encrypted property in DB

encryptedTemplates?: EncryptedProperty

Encrypted property in DB

executeOnCreation?: boolean

making this true will execute the sharing task upon creation regardless of next trigger

expiration?: string

Time for the termination of the task

failedExecutionsCount?: number

the number of consecutive failed executions for all recipeints. This is reset on a successful execution for at least one recipient

failedVerificationsCount?: number

the number of failed verifications. This is reset on a successful verification

hasSectionAccess?: boolean

true if the associated app has section access enabled

id?: string

Gets the sharing task resource identifier.

insightDirectURL?: string

The direct insights URL for the first template of this sharing task. (currently not used in multi-sheet scenarios)

insightFallbackURL?: string

The insights fallback URL for the first template of this sharing task. (currently not used in multi-sheet scenarios)

insightID?: string

The identifier for the insight URLs in this sharing task. Needed to remove the permanent insight upon task deletion. (currently not used in multi-sheet scenarios)

isCandidateForVerification?: boolean

true if the sharing task is a candidate for verification

lastExecutionDate?: string

The last execution end date time timestamp of the task

lastRun?: string

The last execution start date time timestamp of the task

lastUpdated?: string

Timestamp of the most recent update.

lastViewed?: string

Timestamp of the most recent view by the user.

message?: string

Message along with sharing task

multiInsightURLs?: InsightURL[]

Contains one or more insight links. Currently only used in multi sheet scenarios. Sharing will ensure that the persisted sort order is aligned to the order of sheets provided.

name?: string

Name of this sharing task

nextScheduledRun?: string

Time for the next scheduled run

owner?: string

User id of owner of the sharing task

ownerName?: string

User name of owner of the sharing task

persistentBookmarkIncludeVariables?: boolean

flag sent by UI to configure the persistent bookmark to use variables

recipients?: RecipientsPersist

List of persisted recipients.

reportProperties?: unknown
retentionPolicy?: RetentionPolicy
scheduleOptions?: ScheduleOptions
selectionErrors?: unknown

reporting service returns rendering errors for missing selections

sharePointFolder?: string

the SharePoint folder to upload the report to

spaceId?: string

spaceId of the app associated to this task definition

startTime?: string

Time to start capturing the history

state?: State

State of the selections and jsOpts

statusCode?:
    | "CHART_NOT_FOUND"
    | "APP_NOT_FOUND"
    | "STORY_NOT_FOUND"
    | "SHEET_NOT_FOUND"
    | "ENGINE_POD_NOT_AVAILABLE"
    | "APP_FORBIDDEN"
    | "CHART_TYPE_NOT_ALLOWED"
    | "FAILED"
    | "DELETING"
    | "IN_PROGRESS"
    | "VALID"
    | "MAX_FAILURES_REACHED"
    | "BOOKMARK_NOT_FOUND"
    | "CANCELLING"
    | "CANCELLED"
    | "REPORTING_CONSUMPTION_EXCEEDED"
    | "REPORTING_CAPABILITY_NOT_FOUND"

the status of this recurring sharing task

statusLabel?: string

error message indicating the underlying failure

subType?: "pdf" | "pptx" | "xlsx" | "html"

Mashup subType of sharing task

tags?: string[]
taskErrors?: TaskError[]
templateId?: string

ID of unique template

templates?: TemplateResult[]
tenant?: string

Tenant of the sharing task

thumbnail?: string
transportChannels?: ("email" | "sharepoint")[]

the transport type for the report

trigger?: Trigger
type?:
    | "chart-monitoring"
    | "chart-sharing"
    | "sheet-sharing"
    | "template-sharing"

The sharing task resource type

updatedBy?: string

ID of a user that updated this task last