Variable: LongTaskStatusWithLinksSchema
ts
const LongTaskStatusWithLinksSchema: ZodObject<{
_links: ZodObject<{
base: ZodOptional<ZodString>;
byOperation: ZodOptional<ZodString>;
collection: ZodOptional<ZodString>;
context: ZodOptional<ZodString>;
download: ZodOptional<ZodString>;
editui: ZodOptional<ZodString>;
edituiv2: ZodOptional<ZodString>;
next: ZodOptional<ZodString>;
prev: ZodOptional<ZodString>;
self: ZodOptional<ZodString>;
tinyui: ZodOptional<ZodString>;
webui: ZodOptional<ZodString>;
}, $loose>;
additionalDetails: ZodOptional<ZodObject<{
additionalProperties: ZodOptional<ZodString>;
destinationId: ZodOptional<ZodNullable<ZodString>>;
destinationUrl: ZodOptional<ZodString>;
totalPageNeedToCopy: ZodOptional<ZodNumber>;
}, $loose>>;
ari: ZodOptional<ZodString>;
elapsedTime: ZodNumber;
errors: ZodOptional<ZodArray<ZodObject<{
args: ZodArray<ZodUnion<readonly [ZodString, ZodRecord<ZodString, ZodAny>]>>;
key: ZodOptional<ZodString>;
translation: ZodOptional<ZodString>;
}, $loose>>>;
finished: ZodBoolean;
id: ZodString;
messages: ZodArray<ZodObject<{
args: ZodArray<ZodUnion<readonly [ZodString, ZodRecord<ZodString, ZodAny>]>>;
key: ZodOptional<ZodString>;
translation: ZodOptional<ZodString>;
}, $loose>>;
name: ZodObject<{
args: ZodArray<ZodRecord<ZodString, ZodAny>>;
key: ZodString;
}, $loose>;
percentageComplete: ZodNumber;
status: ZodOptional<ZodString>;
successful: ZodBoolean;
}, $loose>;Defined in: src/v1/models/longTaskStatusWithLinks.ts:30
Same as LongTaskStatus but with _links property.*
Status keys:*
ERROR_UNKNOWN- Generic error*ERROR_LOCK_FAILED- Could not get the lock on destination space*ERROR_RELINK- Error when relink pages/attachments*ERROR_COPY_PAGE- Error while copying 1 page*WARN_RENAME_PAGE- Warning page is rename during copy*WARN_IGNORE_COPY_PERMISSION- Warning could not copy permission*WARN_IGNORE_COPY_ATTACHMENT- Warning could not copy attachment*WARN_IGNORE_DELETE_PAGE- Warning ignoring delete of a non agreed on page*STATUS_COPIED_PAGES- Message total pages are copied*STATUS_COPYING_PAGES- Message copy pages*STATUS_RELINK_PAGES- Message relink pages/attachments*STATUS_DELETING_PAGES- Message delete pages*STATUS_DELETED_PAGES- Message total pages are deleted*STATUS_MOVING_PAGES- Message move pages*WARN_IGNORE_VIEW_RESTRICTED- Permission changed - view restricted*WARN_IGNORE_EDIT_RESTRICTED- Permission changed - edit restricted*INITIALIZING_TASK- Message when initializing task*UNKNOWN_STATUS- Message when status is unknown