@@ -162,7 +162,11 @@ export declare enum AppEvent {
162162 /**
163163 * triggered when the document title is changed in the application.
164164 */
165- documentTitleChange = "documentTitleChange"
165+ documentTitleChange = "documentTitleChange" ,
166+ /**
167+ * triggered when the document's export permission status changes in review and approval workflow.
168+ */
169+ documentExportAllowedChange = "documentExportAllowedChange"
166170}
167171
168172export declare type AppEventHandlerType < Event extends AppEventType > = ( data : AppEventsTypeMap [ Event ] ) => void ;
@@ -182,6 +186,7 @@ declare interface AppEventsTypeMap {
182186 [ AppEvent . documentLinkAvailable ] : DocumentLinkAvailableEventData ;
183187 [ AppEvent . documentPublishedLinkAvailable ] : DocumentPublishedLinkAvailableEventData ;
184188 [ AppEvent . documentTitleChange ] : DocumentTitleChangeEventData ;
189+ [ AppEvent . documentExportAllowedChange ] : DocumentExportAllowedChangeEventData ;
185190}
186191
187192export declare type AppEventType = keyof AppEventsTypeMap & string ;
@@ -838,6 +843,10 @@ declare interface Document_2 {
838843 * Get document name/title
839844 */
840845 title ( ) : Promise < string > ;
846+ /**
847+ * Returns whether the document can be exported based on its review status in the review and approval workflow.
848+ */
849+ exportAllowed ( ) : Promise < boolean > ;
841850 /**
842851 * Import a Pdf to the document.
843852 */
@@ -854,6 +863,13 @@ declare interface Document_2 {
854863}
855864export { Document_2 as Document } ;
856865
866+ /**
867+ * The payload data sent when the document's export permission status changes in review and approval workflow.
868+ */
869+ export declare interface DocumentExportAllowedChangeEventData {
870+ documentExportAllowed : boolean ;
871+ }
872+
857873/**
858874 * The payload data sent to the document id available event handler.
859875 */
@@ -909,7 +925,7 @@ export declare interface DragCompletionData {
909925 /**
910926 * Media info
911927 */
912- attributes ?: MediaAttributes ;
928+ attributes ?: MediaAttributes & SourceMimeTypeInfo ;
913929}
914930
915931/**
@@ -1268,6 +1284,22 @@ export declare interface PageMetadata {
12681284 * Whether page contains timelines
12691285 */
12701286 hasTemporalContent : boolean ;
1287+ /**
1288+ * Duration of the temporal content in seconds. Applicable only if hasTemporalContent is true.
1289+ */
1290+ temporalContentDuration ?: number ;
1291+ /**
1292+ * Whether the page contains audio content
1293+ */
1294+ hasAudioContent : boolean ;
1295+ /**
1296+ * Whether the page contains video content
1297+ */
1298+ hasVideoContent : boolean ;
1299+ /**
1300+ * Whether the page contains animated content
1301+ */
1302+ hasAnimatedContent : boolean ;
12711303 /**
12721304 * Whether the page is blank
12731305 */
0 commit comments