@pitcher/js-api 1.22.0-rc.2 → 1.23.0-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (185) hide show
  1. package/js-api.esm.js +52 -43
  2. package/js-api.esm.js.map +1 -1
  3. package/js-api.umd.min.js +9 -9
  4. package/js-api.umd.min.js.map +1 -1
  5. package/lib/apps/browser/App.vue.d.ts +2 -2
  6. package/lib/apps/browser/components/UploadFilesWidget/UploadFilesWidget.vue.d.ts +1 -1
  7. package/lib/apps/browser/stores/api.d.ts +0 -12
  8. package/lib/apps/browser/stores/upload.d.ts +5 -5
  9. package/lib/apps/canvas-builder/App.helpers.d.ts +2 -2
  10. package/lib/apps/canvas-builder/App.vue.d.ts +271 -192
  11. package/lib/apps/canvas-builder/components/container/ComponentDrawer/ComponentDrawer.vue.d.ts +1 -1
  12. package/lib/apps/canvas-builder/components/container/EditableComponent/EditableComponent.vue.d.ts +2 -2
  13. package/lib/apps/canvas-builder/components/container/EditableComponent/EditableComponentActionToolbar.vue.d.ts +2 -4
  14. package/lib/apps/canvas-builder/components/container/EditableComponent/EditableComponentLegacy.vue.d.ts +2 -2
  15. package/lib/apps/canvas-builder/components/container/EditableComponent/EditableComponentRevamp.vue.d.ts +2 -2
  16. package/lib/apps/canvas-builder/components/ui/Block/Block.vue.d.ts +11 -0
  17. package/lib/apps/canvas-builder/components/ui/Carousel/Carousel.raw.vue.d.ts +1 -1
  18. package/lib/apps/canvas-builder/components/ui/Carousel/Carousel.settings.vue.d.ts +1 -1
  19. package/lib/apps/canvas-builder/components/ui/Carousel/Carousel.vue.d.ts +1 -1
  20. package/lib/apps/canvas-builder/components/ui/CollectionPlayer/CollectionGroupSelector.vue.d.ts +1 -1
  21. package/lib/apps/canvas-builder/components/ui/CollectionPlayer/CollectionListItem.vue.d.ts +1 -1
  22. package/lib/apps/canvas-builder/components/ui/CollectionPlayer/CollectionPlayer.edit.vue.d.ts +1 -1
  23. package/lib/apps/canvas-builder/components/ui/CollectionPlayer/CollectionPlayer.raw.vue.d.ts +1 -1
  24. package/lib/apps/canvas-builder/components/ui/CollectionPlayer/CollectionPlayer.vue.d.ts +1 -1
  25. package/lib/apps/canvas-builder/components/ui/CollectionPlayer/CollectionSelector.vue.d.ts +1 -1
  26. package/lib/apps/canvas-builder/components/ui/CollectionPlayer/components/{PreviewImage.vue.d.ts → MainImage.vue.d.ts} +1 -1
  27. package/lib/apps/canvas-builder/components/ui/CollectionPlayer/composables/arrow-keys.use.d.ts +6 -0
  28. package/lib/apps/canvas-builder/components/ui/CollectionPlayer/composables/gestures.use.d.ts +13 -0
  29. package/lib/apps/canvas-builder/components/ui/CollectionPlayer/composables/tracking.use.d.ts +4 -0
  30. package/lib/apps/canvas-builder/components/ui/CollectionPlayer/composables/zoom.use.d.ts +1 -1
  31. package/lib/apps/canvas-builder/components/ui/CollectionPlayer/utils/type.util.d.ts +5 -5
  32. package/lib/apps/canvas-builder/components/ui/ContentGrid/ContentGrid.raw.vue.d.ts +1 -1
  33. package/lib/apps/canvas-builder/components/ui/ContentGrid/ContentGrid.vue.d.ts +1 -1
  34. package/lib/apps/canvas-builder/components/ui/ContentGrid/ContentGridCarousel.vue.d.ts +1 -1
  35. package/lib/apps/canvas-builder/components/ui/ContentGrid/ContentGridFileItem.vue.d.ts +1 -1
  36. package/lib/apps/canvas-builder/components/ui/ContentGrid/ContentGridItem.vue.d.ts +1 -1
  37. package/lib/apps/canvas-builder/components/ui/Embeddable/Embeddable.edit.vue.d.ts +1 -1
  38. package/lib/apps/canvas-builder/components/ui/Embeddable/Embeddable.raw.vue.d.ts +1 -1
  39. package/lib/apps/canvas-builder/components/ui/Embeddable/Embeddable.settings.vue.d.ts +1 -1
  40. package/lib/apps/canvas-builder/components/ui/Embeddable/Embeddable.vue.d.ts +1 -1
  41. package/lib/apps/canvas-builder/components/ui/Grid/Grid.vue.d.ts +1 -1
  42. package/lib/apps/canvas-builder/components/ui/Grid/GridItemTooltip.vue.d.ts +1 -1
  43. package/lib/apps/canvas-builder/components/ui/Html/Html.vue.d.ts +1 -1
  44. package/lib/apps/canvas-builder/components/ui/IFrame/IFrame.edit.vue.d.ts +1 -1
  45. package/lib/apps/canvas-builder/components/ui/IFrame/IFrame.raw.vue.d.ts +1 -1
  46. package/lib/apps/canvas-builder/components/ui/IFrame/IFrame.settings.vue.d.ts +1 -1
  47. package/lib/apps/canvas-builder/components/ui/IFrame/IFrame.vue.d.ts +1 -1
  48. package/lib/apps/canvas-builder/components/ui/Link/Link.raw.vue.d.ts +1 -1
  49. package/lib/apps/canvas-builder/components/ui/Link/Link.settings.vue.d.ts +1 -1
  50. package/lib/apps/canvas-builder/components/ui/Link/Link.util.d.ts +1 -1
  51. package/lib/apps/canvas-builder/components/ui/Link/Link.vue.d.ts +1 -1
  52. package/lib/apps/canvas-builder/components/ui/Multimedia/Multimedia.raw.vue.d.ts +1 -1
  53. package/lib/apps/canvas-builder/components/ui/Multimedia/Multimedia.settings.vue.d.ts +1 -1
  54. package/lib/apps/canvas-builder/components/ui/Multimedia/Multimedia.vue.d.ts +1 -1
  55. package/lib/apps/canvas-builder/components/ui/Page/Page.settings.vue.d.ts +1 -1
  56. package/lib/apps/canvas-builder/components/ui/Page/Page.vue.d.ts +1 -1
  57. package/lib/apps/canvas-builder/components/ui/PageBreak/PageBreak.vue.d.ts +1 -1
  58. package/lib/apps/canvas-builder/components/ui/SectionList/Execution/SectionListExecution.vue.d.ts +10 -0
  59. package/lib/apps/canvas-builder/components/ui/SectionList/SectionList.raw.vue.d.ts +1 -1
  60. package/lib/apps/canvas-builder/components/ui/SectionList/SectionList.vue.d.ts +1 -1
  61. package/lib/apps/canvas-builder/components/ui/SectionList/SectionListCollapsibles.vue.d.ts +1 -1
  62. package/lib/apps/canvas-builder/components/ui/SectionList/SectionSelectorItem.vue.d.ts +3 -0
  63. package/lib/apps/canvas-builder/components/ui/SectionList/SectionSelectorToolbar.vue.d.ts +2 -2
  64. package/lib/apps/canvas-builder/components/ui/Text/Text.vue.d.ts +1 -1
  65. package/lib/apps/canvas-builder/components/ui/Timeline/Timeline.raw.vue.d.ts +1 -1
  66. package/lib/apps/canvas-builder/components/ui/Timeline/Timeline.vue.d.ts +1 -1
  67. package/lib/apps/canvas-builder/composables/useCanvas.d.ts +638 -66
  68. package/lib/apps/canvas-builder/composables/useCanvasBlocks.d.ts +837 -0
  69. package/lib/apps/canvas-builder/composables/useCanvasDnd.d.ts +1 -1
  70. package/lib/apps/canvas-builder/composables/useCanvasHistory.d.ts +143 -17
  71. package/lib/apps/canvas-builder/composables/useCanvasHooks.d.ts +1 -1
  72. package/lib/apps/canvas-builder/composables/useCanvasPages.d.ts +2 -2
  73. package/lib/apps/canvas-builder/composables/useCanvasSectionOverrides.d.ts +2 -2
  74. package/lib/apps/canvas-builder/composables/useCanvasTheme.d.ts +10 -6
  75. package/lib/apps/canvas-builder/composables/useCanvasVisibility.d.ts +2 -2
  76. package/lib/apps/canvas-builder/composables/useCollapsibles.d.ts +1 -1
  77. package/lib/apps/canvas-builder/composables/useCollectionPlayer.d.ts +1 -1
  78. package/lib/apps/canvas-builder/composables/useComponentPermissions.d.ts +1 -1
  79. package/lib/apps/canvas-builder/composables/useContentSelector.d.ts +25 -6
  80. package/lib/apps/canvas-builder/composables/useRecommendations.d.ts +2 -2
  81. package/lib/apps/canvas-builder/composables/useReorderComponent.d.ts +3 -3
  82. package/lib/apps/canvas-builder/constants/canvas.const.d.ts +1 -1
  83. package/lib/apps/canvas-builder/types/canvas.d.ts +42 -6
  84. package/lib/apps/canvas-builder/util/canvas.util.d.ts +13 -9
  85. package/lib/apps/canvas-builder/util/tree.d.ts +1 -1
  86. package/lib/apps/canvas-selector/App.vue.d.ts +1 -1
  87. package/lib/apps/canvas-selector/constants/index.d.ts +1 -1
  88. package/lib/apps/canvas-selector/stores/app.d.ts +43 -15
  89. package/lib/apps/content-selector/App.vue.d.ts +2 -2
  90. package/lib/apps/content-selector/appTypes.d.ts +3 -1
  91. package/lib/apps/content-selector/components/Content/AllContent/List/FoldersFilesListItem.vue.d.ts +1 -1
  92. package/lib/apps/content-selector/stores/app.d.ts +2 -1
  93. package/lib/components/CApexChart/CApexChartLine.vue.d.ts +7 -3
  94. package/lib/components/CComponentListItem/CComponentListItem.vue.d.ts +4 -4
  95. package/lib/components/CConfigEditor/CConfigEditor.validators.d.ts +3 -1
  96. package/lib/components/CConfigEditor/CConfigEditor.vue.d.ts +3 -0
  97. package/lib/components/{CCreateTemplateOrSectionModal/CCreateTemplateOrSectionModal.vue.d.ts → CCreateTemplateSectionBlockModal/CCreateTemplateSectionBlockModal.vue.d.ts} +2 -1
  98. package/lib/components/CError/CErrorFullScreen.vue.d.ts +1 -1
  99. package/lib/components/CFilePanel/CFilePanel.use.d.ts +12 -0
  100. package/lib/components/CFilePanel/CFilePanel.vue.d.ts +14 -0
  101. package/lib/components/CFileViewer/CFileViewer.vue.d.ts +196 -6
  102. package/lib/components/CFileViewer/CFileViewerTop.vue.d.ts +6 -4
  103. package/lib/components/CFileViewer/pdf/CFileViewer.pageThumbMetadata.pdf.use.d.ts +8 -0
  104. package/lib/components/CFileViewer/pdf/CFileViewer.pdf.annotations.use.d.ts +2 -0
  105. package/lib/components/CFileViewer/pdf/CFileViewer.pdf.use.d.ts +5 -3
  106. package/lib/components/CFileViewer/pdf/CFileViewerBottom.pdf.vue.d.ts +5 -4
  107. package/lib/components/CFileViewer/pdf/CFileViewerCopyPagesMetadata.pdf.vue.d.ts +13 -0
  108. package/lib/components/CFileViewer/pdf/CFileViewerPageDrawer.pdf.vue.d.ts +26 -0
  109. package/lib/components/CFileViewer/pdf/CFileViewerPageDrawerSelectPage.vue.d.ts +15 -0
  110. package/lib/components/CFilesAccessManage/CFilesAccessManage.vue.d.ts +1 -1
  111. package/lib/components/CIcon/CIcon.vue.d.ts +1 -1
  112. package/lib/components/CInfoBadge/CInfoBadge.vue.d.ts +6 -3
  113. package/lib/components/CJsonEditor/CJsonEditor.vue.d.ts +5 -1
  114. package/lib/components/CPaddingInput/CPaddingInput.vue.d.ts +1 -1
  115. package/lib/components/CRichTextEditor/components/CContentLinkToolbar.vue.d.ts +10 -0
  116. package/lib/components/CRichTextEditor/components/CInsertDropdown.vue.d.ts +2 -0
  117. package/lib/components/CRichTextEditor/extensions/contentLink.d.ts +22 -0
  118. package/lib/components/CSingleFileSelector/CSingleFileSelector.vue.d.ts +28 -0
  119. package/lib/components/CTableInput/CTableInput.vue.d.ts +2 -0
  120. package/lib/components/CTags/CTags.vue.d.ts +1 -0
  121. package/lib/components/CVideo/CVideo.types.d.ts +7 -0
  122. package/lib/components/CVideo/CVideo.vue.d.ts +3 -7
  123. package/lib/components/canvas-blocks/CBlockManagement.vue.d.ts +253 -0
  124. package/lib/components/canvas-blocks/CBlockManagementActionsCell.vue.d.ts +32 -0
  125. package/lib/components/canvas-blocks/CBlockManagementToolbar.vue.d.ts +60 -0
  126. package/lib/components/canvas-templates/CTemplateManagement.vue.d.ts +2 -2
  127. package/lib/components/canvas-templates/CTemplateManagementActionsCellIconWrapper.vue.d.ts +1 -1
  128. package/lib/components/savedCanvases/CSavedCanvasesManagementIndicatorsCell.vue.d.ts +7 -0
  129. package/lib/components/savedCanvases/smartFolders/SmartFolders.use.d.ts +16 -26
  130. package/lib/composables/useTheme.d.ts +1 -1
  131. package/lib/constants/cdp.const.d.ts +1 -0
  132. package/lib/main.lib.d.ts +19 -15
  133. package/lib/sdk/api/HighLevelApi.d.ts +5 -0
  134. package/lib/sdk/api/modules/admin/types.admin.d.ts +3 -3
  135. package/lib/sdk/api/modules/canvas.d.ts +26 -1
  136. package/lib/sdk/api/modules/dsr/files.dsr.d.ts +1 -1
  137. package/lib/sdk/api/modules/ui/canvas.ui.d.ts +10 -0
  138. package/lib/sdk/api/modules/ui/index.d.ts +1 -0
  139. package/lib/sdk/api/modules/ui/post-call.ui.d.ts +1 -1
  140. package/lib/sdk/api/modules/ui/types.ui.d.ts +5 -4
  141. package/lib/sdk/main.d.ts +18 -0
  142. package/lib/theme/light.const.d.ts +1 -1
  143. package/lib/theme/light.d.ts +1 -1
  144. package/lib/theme/theme-overrides.d.ts +1 -1
  145. package/lib/theme/theme.utils.d.ts +1 -1
  146. package/lib/types/app.d.ts +1 -1
  147. package/lib/types/canvases.d.ts +9 -1
  148. package/lib/types/file.types.d.ts +15 -0
  149. package/lib/types/files.d.ts +1 -1
  150. package/lib/types/launchDarkly.types.d.ts +3 -1
  151. package/lib/types/organizationSettings.types.d.ts +3 -0
  152. package/lib/util/font.util.d.ts +1 -1
  153. package/lib/util/network.d.ts +1 -1
  154. package/lib/util/pitcher-settings.util.d.ts +3 -0
  155. package/package.json +1 -1
  156. package/types/openapi/index.d.ts +2 -1
  157. package/types/openapi/models/Account.d.ts +1 -1
  158. package/types/openapi/models/AccountRequest.d.ts +1 -1
  159. package/types/openapi/models/AppsDBEntry.d.ts +1 -1
  160. package/types/openapi/models/AppsDBEntryRequest.d.ts +1 -1
  161. package/types/openapi/models/Canvas.d.ts +2 -0
  162. package/types/openapi/models/CanvasCreate.d.ts +2 -0
  163. package/types/openapi/models/CanvasCreateRequest.d.ts +2 -0
  164. package/types/openapi/models/CanvasRetrieve.d.ts +2 -0
  165. package/types/openapi/models/CanvasUpdate.d.ts +2 -0
  166. package/types/openapi/models/CanvasUpdateRequest.d.ts +2 -0
  167. package/types/openapi/models/DeletedCanvas.d.ts +2 -0
  168. package/types/openapi/models/FolderCreateRequest.d.ts +1 -1
  169. package/types/openapi/models/FolderUpdateRequest.d.ts +1 -1
  170. package/types/openapi/models/PatchedCanvasIndicatorsRequest.d.ts +3 -0
  171. package/types/openapi/models/PatchedCanvasUpdateRequest.d.ts +2 -0
  172. package/types/openapi/models/PatchedFilePublishRequest.d.ts +3 -0
  173. package/types/openapi/models/PatchedFolderUpdateRequest.d.ts +1 -1
  174. package/types/openapi/models/SharedLinkInstance.d.ts +1 -0
  175. package/types/openapi/models/SharedLinkInstanceRequest.d.ts +1 -0
  176. package/types/openapi/models/SharedLinkOrganization.d.ts +1 -0
  177. package/types/openapi/models/SharedLinkOrganizationRequest.d.ts +1 -0
  178. package/lib/apps/browser/components/Content/Panel/FilePanel/FilePanel.vue.d.ts +0 -2
  179. package/types/openapi/models/PatchedFileRequest.d.ts +0 -15
  180. /package/lib/apps/canvas-builder/components/ui/CollectionPlayer/composables/{cache.use.d.ts → image-cache.use.d.ts} +0 -0
  181. /package/lib/{apps/browser/components/Content/Panel/FilePanel → components/CFilePanel}/BasicInfo.vue.d.ts +0 -0
  182. /package/lib/{apps/browser/components/Content/Panel/FilePanel → components/CFilePanel}/Details.vue.d.ts +0 -0
  183. /package/lib/{apps/browser/components/Content/Panel/FilePanel → components/CFilePanel}/Metadata.vue.d.ts +0 -0
  184. /package/lib/{apps/browser/components/Content/Panel/FilePanel → components/CFilePanel}/Tags.vue.d.ts +0 -0
  185. /package/lib/components/CFileViewer/pdf/{CFileViewer.pageFavorite.pdf.use.d.ts → CFileViewer.pageThumbFavorite.pdf.use.d.ts} +0 -0
@@ -1,5 +1,5 @@
1
1
  import { Ref } from 'vue';
2
- import { CanvasBuilderMode, CanvasBuilderProps, ComponentNode, ComponentTypes, SectionComponentOverrides, SectionListProps } from '@canvas-builder/types/canvas';
2
+ import { CanvasBuilderMode, CanvasBuilderProps, ComponentNode, ComponentTypes, SectionComponentOverrides, SectionListProps } from '../types/canvas';
3
3
  import { CanvasRetrieve } from '../../../../types/openapi';
4
4
  import { EmbedLocation } from '../../../types/app';
5
5
  declare function cleanup(): void;
@@ -19,7 +19,7 @@ declare const componentNodesById: import('vue').ComputedRef<{
19
19
  readonly autofill?: ("off" | "ai" | "matching_metadata" | "matching_tags" | "matching_metadata_or_tags") | undefined;
20
20
  readonly autofill_content_types?: readonly import('../../../../types/openapi').FileContentTypeEnum[] | null | undefined;
21
21
  readonly data?: {
22
- readonly layout_type: import('@canvas-builder/types/canvas').GridLayoutTypes;
22
+ readonly layout_type: import('../types/canvas').GridLayoutTypes;
23
23
  readonly columns: number;
24
24
  } | {
25
25
  readonly span: number;
@@ -46,8 +46,9 @@ declare const componentNodesById: import('vue').ComputedRef<{
46
46
  readonly asset_type: "external";
47
47
  readonly external_url: string;
48
48
  readonly type: "image" | "video";
49
- readonly horizontal_alignment?: import('@canvas-builder/types/canvas').MultimediaHorizontalAlignmentOptions | undefined;
49
+ readonly horizontal_alignment?: import('../types/canvas').MultimediaHorizontalAlignmentOptions | undefined;
50
50
  readonly from?: ("custom" | "pexels" | "unsplash" | "ai") | undefined;
51
+ readonly poster_url?: string | undefined;
51
52
  } | {
52
53
  readonly asset_type: "pitcher_asset";
53
54
  readonly file: {
@@ -56,7 +57,8 @@ declare const componentNodesById: import('vue').ComputedRef<{
56
57
  readonly content_url?: import('../../../../types/openapi').File["content_url"] | undefined;
57
58
  };
58
59
  readonly type: "image" | "video";
59
- readonly horizontal_alignment?: import('@canvas-builder/types/canvas').MultimediaHorizontalAlignmentOptions | undefined;
60
+ readonly horizontal_alignment?: import('../types/canvas').MultimediaHorizontalAlignmentOptions | undefined;
61
+ readonly poster_url?: string | undefined;
60
62
  } | {
61
63
  readonly type: "app";
62
64
  readonly app_name: string;
@@ -81,6 +83,9 @@ declare const componentNodesById: import('vue').ComputedRef<{
81
83
  readonly overlay_app?: {
82
84
  readonly start_in_loading_mode?: boolean | undefined;
83
85
  } | undefined;
86
+ readonly canvas_section_execution?: {
87
+ readonly start_in_loading_mode?: boolean | undefined;
88
+ } | undefined;
84
89
  } | undefined;
85
90
  readonly file: {
86
91
  readonly id: import('../../../../types/openapi').FileRetrieve["id"];
@@ -149,7 +154,7 @@ declare const componentNodesById: import('vue').ComputedRef<{
149
154
  readonly type: "file";
150
155
  })[];
151
156
  readonly size?: "medium" | undefined;
152
- readonly layout_type?: import('@canvas-builder/types/canvas').ContentGridLayoutTypes | undefined;
157
+ readonly layout_type?: import('../types/canvas').ContentGridLayoutTypes | undefined;
153
158
  } | {
154
159
  readonly sections: readonly {
155
160
  readonly id: string;
@@ -168,15 +173,71 @@ declare const componentNodesById: import('vue').ComputedRef<{
168
173
  readonly width?: string | undefined;
169
174
  readonly add_session_context?: boolean | undefined;
170
175
  } | {
171
- readonly alignment?: import('@canvas-builder/types/canvas').LinkAlignmentTypes | undefined;
176
+ readonly alignment?: import('../types/canvas').LinkAlignmentTypes | undefined;
172
177
  readonly background_color?: string | undefined;
173
178
  readonly canvas_anchor?: string | undefined;
174
179
  readonly color?: string | undefined;
175
180
  readonly display_text?: string | undefined;
181
+ readonly file?: {
182
+ readonly id?: string | undefined;
183
+ readonly global_id?: string | undefined;
184
+ readonly name?: string | undefined;
185
+ readonly type?: import('../../../../types/openapi').FileTypeEnum | undefined;
186
+ readonly size?: number | null | undefined;
187
+ readonly status?: import('../../../../types/openapi').FileStatusEnum | undefined;
188
+ readonly content_type?: import('../../../../types/openapi').FileContentTypeEnum | undefined;
189
+ readonly content_extension?: string | null | undefined;
190
+ readonly content_length?: number | null | undefined;
191
+ readonly content_url?: string | null | undefined;
192
+ readonly original_extension?: string | null | undefined;
193
+ readonly thumbnail_url?: string | null | undefined;
194
+ readonly download_type?: import('../../../../types/openapi').DownloadTypeEnum | undefined;
195
+ readonly zip_size?: number | null | undefined;
196
+ readonly zip_url?: string | null | undefined;
197
+ readonly access_type?: import('../../../../types/openapi').AccessTypeEnum | undefined;
198
+ readonly role?: import('../../../../types/openapi').CollaborationRoleEnum | undefined;
199
+ readonly permissions?: {
200
+ readonly can_download?: boolean | undefined;
201
+ readonly can_share?: boolean | undefined;
202
+ } | undefined;
203
+ readonly metadata?: {
204
+ readonly [x: string]: any;
205
+ } | undefined;
206
+ readonly app_metadata?: {
207
+ readonly [x: string]: any;
208
+ } | undefined;
209
+ readonly tags?: readonly string[] | undefined;
210
+ readonly published_at?: string | null | undefined;
211
+ readonly expires_at?: (string | null) | undefined;
212
+ readonly instance_id?: string | undefined;
213
+ readonly folder_id?: string | undefined;
214
+ readonly shared_link?: {
215
+ readonly url: string;
216
+ readonly short_url?: (string | null) | undefined;
217
+ } | undefined;
218
+ readonly owned_by?: {
219
+ readonly id: number;
220
+ readonly name: string;
221
+ readonly email?: string | undefined;
222
+ } | undefined;
223
+ readonly created_at?: string | undefined;
224
+ readonly created_by?: {
225
+ readonly id: number;
226
+ readonly name: string;
227
+ readonly email?: string | undefined;
228
+ } | undefined;
229
+ readonly modified_at?: string | undefined;
230
+ readonly modified_by?: {
231
+ readonly id: number;
232
+ readonly name: string;
233
+ readonly email?: string | undefined;
234
+ } | undefined;
235
+ readonly page_index?: number | undefined;
236
+ } | null | undefined;
176
237
  readonly font_family?: string | undefined;
177
238
  readonly font_size?: number | undefined;
178
- readonly link_type?: import('@canvas-builder/types/canvas').LinkAnchorTypes | undefined;
179
- readonly preview_type?: import('@canvas-builder/types/canvas').LinkPreviewTypes | undefined;
239
+ readonly link_type?: import('../types/canvas').LinkAnchorTypes | undefined;
240
+ readonly preview_type?: import('../types/canvas').LinkPreviewTypes | undefined;
180
241
  readonly target?: ("_self" | "_blank") | undefined;
181
242
  readonly url?: string | undefined;
182
243
  } | {} | {
@@ -217,7 +278,12 @@ declare const componentNodesById: import('vue').ComputedRef<{
217
278
  readonly id: string;
218
279
  readonly type: "slide";
219
280
  readonly file: {
281
+ readonly metadata?: {
282
+ readonly [x: string]: any;
283
+ } | undefined;
220
284
  readonly id: string;
285
+ readonly name?: string | undefined;
286
+ readonly type: import('../../../../types/openapi').FileTypeEnum;
221
287
  readonly content_url: string | null;
222
288
  readonly content_type: import('../../../../types/openapi').FileContentTypeEnum;
223
289
  readonly thumbnail_url: string | null;
@@ -239,7 +305,12 @@ declare const componentNodesById: import('vue').ComputedRef<{
239
305
  readonly id: string;
240
306
  readonly type: "file";
241
307
  readonly file: {
308
+ readonly metadata?: {
309
+ readonly [x: string]: any;
310
+ } | undefined;
242
311
  readonly id: string;
312
+ readonly name?: string | undefined;
313
+ readonly type: import('../../../../types/openapi').FileTypeEnum;
243
314
  readonly content_url: string | null;
244
315
  readonly content_type: import('../../../../types/openapi').FileContentTypeEnum;
245
316
  readonly thumbnail_url: string | null;
@@ -285,7 +356,7 @@ declare const sectionComponentNodesBySectionId: import('vue').ComputedRef<{
285
356
  readonly autofill?: ("off" | "ai" | "matching_metadata" | "matching_tags" | "matching_metadata_or_tags") | undefined;
286
357
  readonly autofill_content_types?: readonly import('../../../../types/openapi').FileContentTypeEnum[] | null | undefined;
287
358
  readonly data?: {
288
- readonly layout_type: import('@canvas-builder/types/canvas').GridLayoutTypes;
359
+ readonly layout_type: import('../types/canvas').GridLayoutTypes;
289
360
  readonly columns: number;
290
361
  } | {
291
362
  readonly span: number;
@@ -312,8 +383,9 @@ declare const sectionComponentNodesBySectionId: import('vue').ComputedRef<{
312
383
  readonly asset_type: "external";
313
384
  readonly external_url: string;
314
385
  readonly type: "image" | "video";
315
- readonly horizontal_alignment?: import('@canvas-builder/types/canvas').MultimediaHorizontalAlignmentOptions | undefined;
386
+ readonly horizontal_alignment?: import('../types/canvas').MultimediaHorizontalAlignmentOptions | undefined;
316
387
  readonly from?: ("custom" | "pexels" | "unsplash" | "ai") | undefined;
388
+ readonly poster_url?: string | undefined;
317
389
  } | {
318
390
  readonly asset_type: "pitcher_asset";
319
391
  readonly file: {
@@ -322,7 +394,8 @@ declare const sectionComponentNodesBySectionId: import('vue').ComputedRef<{
322
394
  readonly content_url?: import('../../../../types/openapi').File["content_url"] | undefined;
323
395
  };
324
396
  readonly type: "image" | "video";
325
- readonly horizontal_alignment?: import('@canvas-builder/types/canvas').MultimediaHorizontalAlignmentOptions | undefined;
397
+ readonly horizontal_alignment?: import('../types/canvas').MultimediaHorizontalAlignmentOptions | undefined;
398
+ readonly poster_url?: string | undefined;
326
399
  } | {
327
400
  readonly type: "app";
328
401
  readonly app_name: string;
@@ -347,6 +420,9 @@ declare const sectionComponentNodesBySectionId: import('vue').ComputedRef<{
347
420
  readonly overlay_app?: {
348
421
  readonly start_in_loading_mode?: boolean | undefined;
349
422
  } | undefined;
423
+ readonly canvas_section_execution?: {
424
+ readonly start_in_loading_mode?: boolean | undefined;
425
+ } | undefined;
350
426
  } | undefined;
351
427
  readonly file: {
352
428
  readonly id: import('../../../../types/openapi').FileRetrieve["id"];
@@ -415,7 +491,7 @@ declare const sectionComponentNodesBySectionId: import('vue').ComputedRef<{
415
491
  readonly type: "file";
416
492
  })[];
417
493
  readonly size?: "medium" | undefined;
418
- readonly layout_type?: import('@canvas-builder/types/canvas').ContentGridLayoutTypes | undefined;
494
+ readonly layout_type?: import('../types/canvas').ContentGridLayoutTypes | undefined;
419
495
  } | {
420
496
  readonly sections: readonly {
421
497
  readonly id: string;
@@ -434,15 +510,71 @@ declare const sectionComponentNodesBySectionId: import('vue').ComputedRef<{
434
510
  readonly width?: string | undefined;
435
511
  readonly add_session_context?: boolean | undefined;
436
512
  } | {
437
- readonly alignment?: import('@canvas-builder/types/canvas').LinkAlignmentTypes | undefined;
513
+ readonly alignment?: import('../types/canvas').LinkAlignmentTypes | undefined;
438
514
  readonly background_color?: string | undefined;
439
515
  readonly canvas_anchor?: string | undefined;
440
516
  readonly color?: string | undefined;
441
517
  readonly display_text?: string | undefined;
518
+ readonly file?: {
519
+ readonly id?: string | undefined;
520
+ readonly global_id?: string | undefined;
521
+ readonly name?: string | undefined;
522
+ readonly type?: import('../../../../types/openapi').FileTypeEnum | undefined;
523
+ readonly size?: number | null | undefined;
524
+ readonly status?: import('../../../../types/openapi').FileStatusEnum | undefined;
525
+ readonly content_type?: import('../../../../types/openapi').FileContentTypeEnum | undefined;
526
+ readonly content_extension?: string | null | undefined;
527
+ readonly content_length?: number | null | undefined;
528
+ readonly content_url?: string | null | undefined;
529
+ readonly original_extension?: string | null | undefined;
530
+ readonly thumbnail_url?: string | null | undefined;
531
+ readonly download_type?: import('../../../../types/openapi').DownloadTypeEnum | undefined;
532
+ readonly zip_size?: number | null | undefined;
533
+ readonly zip_url?: string | null | undefined;
534
+ readonly access_type?: import('../../../../types/openapi').AccessTypeEnum | undefined;
535
+ readonly role?: import('../../../../types/openapi').CollaborationRoleEnum | undefined;
536
+ readonly permissions?: {
537
+ readonly can_download?: boolean | undefined;
538
+ readonly can_share?: boolean | undefined;
539
+ } | undefined;
540
+ readonly metadata?: {
541
+ readonly [x: string]: any;
542
+ } | undefined;
543
+ readonly app_metadata?: {
544
+ readonly [x: string]: any;
545
+ } | undefined;
546
+ readonly tags?: readonly string[] | undefined;
547
+ readonly published_at?: string | null | undefined;
548
+ readonly expires_at?: (string | null) | undefined;
549
+ readonly instance_id?: string | undefined;
550
+ readonly folder_id?: string | undefined;
551
+ readonly shared_link?: {
552
+ readonly url: string;
553
+ readonly short_url?: (string | null) | undefined;
554
+ } | undefined;
555
+ readonly owned_by?: {
556
+ readonly id: number;
557
+ readonly name: string;
558
+ readonly email?: string | undefined;
559
+ } | undefined;
560
+ readonly created_at?: string | undefined;
561
+ readonly created_by?: {
562
+ readonly id: number;
563
+ readonly name: string;
564
+ readonly email?: string | undefined;
565
+ } | undefined;
566
+ readonly modified_at?: string | undefined;
567
+ readonly modified_by?: {
568
+ readonly id: number;
569
+ readonly name: string;
570
+ readonly email?: string | undefined;
571
+ } | undefined;
572
+ readonly page_index?: number | undefined;
573
+ } | null | undefined;
442
574
  readonly font_family?: string | undefined;
443
575
  readonly font_size?: number | undefined;
444
- readonly link_type?: import('@canvas-builder/types/canvas').LinkAnchorTypes | undefined;
445
- readonly preview_type?: import('@canvas-builder/types/canvas').LinkPreviewTypes | undefined;
576
+ readonly link_type?: import('../types/canvas').LinkAnchorTypes | undefined;
577
+ readonly preview_type?: import('../types/canvas').LinkPreviewTypes | undefined;
446
578
  readonly target?: ("_self" | "_blank") | undefined;
447
579
  readonly url?: string | undefined;
448
580
  } | {} | {
@@ -483,7 +615,12 @@ declare const sectionComponentNodesBySectionId: import('vue').ComputedRef<{
483
615
  readonly id: string;
484
616
  readonly type: "slide";
485
617
  readonly file: {
618
+ readonly metadata?: {
619
+ readonly [x: string]: any;
620
+ } | undefined;
486
621
  readonly id: string;
622
+ readonly name?: string | undefined;
623
+ readonly type: import('../../../../types/openapi').FileTypeEnum;
487
624
  readonly content_url: string | null;
488
625
  readonly content_type: import('../../../../types/openapi').FileContentTypeEnum;
489
626
  readonly thumbnail_url: string | null;
@@ -505,7 +642,12 @@ declare const sectionComponentNodesBySectionId: import('vue').ComputedRef<{
505
642
  readonly id: string;
506
643
  readonly type: "file";
507
644
  readonly file: {
645
+ readonly metadata?: {
646
+ readonly [x: string]: any;
647
+ } | undefined;
508
648
  readonly id: string;
649
+ readonly name?: string | undefined;
650
+ readonly type: import('../../../../types/openapi').FileTypeEnum;
509
651
  readonly content_url: string | null;
510
652
  readonly content_type: import('../../../../types/openapi').FileContentTypeEnum;
511
653
  readonly thumbnail_url: string | null;
@@ -546,10 +688,12 @@ export default function useCanvas(): {
546
688
  name: string;
547
689
  content?: Record<string, any> | undefined;
548
690
  context?: Record<string, any> | undefined;
691
+ indicators?: (Record<string, any> | null) | undefined;
549
692
  theme?: (Record<string, any> | null) | undefined;
550
693
  is_draft?: boolean | undefined;
551
694
  is_template?: boolean | undefined;
552
695
  is_section?: boolean | undefined;
696
+ is_block?: boolean | undefined;
553
697
  is_editable?: boolean | undefined;
554
698
  is_default?: boolean | undefined;
555
699
  metadata?: Record<string, any> | undefined;
@@ -575,7 +719,7 @@ export default function useCanvas(): {
575
719
  };
576
720
  account?: {
577
721
  id: string;
578
- name: string;
722
+ name?: string | undefined;
579
723
  } | null | undefined;
580
724
  readonly events: {
581
725
  readonly id: string;
@@ -605,10 +749,12 @@ export default function useCanvas(): {
605
749
  name: string;
606
750
  content?: Record<string, any> | undefined;
607
751
  context?: Record<string, any> | undefined;
752
+ indicators?: (Record<string, any> | null) | undefined;
608
753
  theme?: (Record<string, any> | null) | undefined;
609
754
  is_draft?: boolean | undefined;
610
755
  is_template?: boolean | undefined;
611
756
  is_section?: boolean | undefined;
757
+ is_block?: boolean | undefined;
612
758
  is_editable?: boolean | undefined;
613
759
  is_default?: boolean | undefined;
614
760
  metadata?: Record<string, any> | undefined;
@@ -634,7 +780,7 @@ export default function useCanvas(): {
634
780
  };
635
781
  account?: {
636
782
  id: string;
637
- name: string;
783
+ name?: string | undefined;
638
784
  } | null | undefined;
639
785
  readonly events: {
640
786
  readonly id: string;
@@ -681,7 +827,7 @@ export default function useCanvas(): {
681
827
  readonly autofill?: ("off" | "ai" | "matching_metadata" | "matching_tags" | "matching_metadata_or_tags") | undefined;
682
828
  readonly autofill_content_types?: readonly import('../../../../types/openapi').FileContentTypeEnum[] | null | undefined;
683
829
  readonly data?: {
684
- readonly layout_type: import('@canvas-builder/types/canvas').GridLayoutTypes;
830
+ readonly layout_type: import('../types/canvas').GridLayoutTypes;
685
831
  readonly columns: number;
686
832
  } | {
687
833
  readonly span: number;
@@ -708,8 +854,9 @@ export default function useCanvas(): {
708
854
  readonly asset_type: "external";
709
855
  readonly external_url: string;
710
856
  readonly type: "image" | "video";
711
- readonly horizontal_alignment?: import('@canvas-builder/types/canvas').MultimediaHorizontalAlignmentOptions | undefined;
857
+ readonly horizontal_alignment?: import('../types/canvas').MultimediaHorizontalAlignmentOptions | undefined;
712
858
  readonly from?: ("custom" | "pexels" | "unsplash" | "ai") | undefined;
859
+ readonly poster_url?: string | undefined;
713
860
  } | {
714
861
  readonly asset_type: "pitcher_asset";
715
862
  readonly file: {
@@ -718,7 +865,8 @@ export default function useCanvas(): {
718
865
  readonly content_url?: import('../../../../types/openapi').File["content_url"] | undefined;
719
866
  };
720
867
  readonly type: "image" | "video";
721
- readonly horizontal_alignment?: import('@canvas-builder/types/canvas').MultimediaHorizontalAlignmentOptions | undefined;
868
+ readonly horizontal_alignment?: import('../types/canvas').MultimediaHorizontalAlignmentOptions | undefined;
869
+ readonly poster_url?: string | undefined;
722
870
  } | {
723
871
  readonly type: "app";
724
872
  readonly app_name: string;
@@ -743,6 +891,9 @@ export default function useCanvas(): {
743
891
  readonly overlay_app?: {
744
892
  readonly start_in_loading_mode?: boolean | undefined;
745
893
  } | undefined;
894
+ readonly canvas_section_execution?: {
895
+ readonly start_in_loading_mode?: boolean | undefined;
896
+ } | undefined;
746
897
  } | undefined;
747
898
  readonly file: {
748
899
  readonly id: import('../../../../types/openapi').FileRetrieve["id"];
@@ -811,7 +962,7 @@ export default function useCanvas(): {
811
962
  readonly type: "file";
812
963
  })[];
813
964
  readonly size?: "medium" | undefined;
814
- readonly layout_type?: import('@canvas-builder/types/canvas').ContentGridLayoutTypes | undefined;
965
+ readonly layout_type?: import('../types/canvas').ContentGridLayoutTypes | undefined;
815
966
  } | {
816
967
  readonly sections: readonly {
817
968
  readonly id: string;
@@ -830,15 +981,71 @@ export default function useCanvas(): {
830
981
  readonly width?: string | undefined;
831
982
  readonly add_session_context?: boolean | undefined;
832
983
  } | {
833
- readonly alignment?: import('@canvas-builder/types/canvas').LinkAlignmentTypes | undefined;
984
+ readonly alignment?: import('../types/canvas').LinkAlignmentTypes | undefined;
834
985
  readonly background_color?: string | undefined;
835
986
  readonly canvas_anchor?: string | undefined;
836
987
  readonly color?: string | undefined;
837
988
  readonly display_text?: string | undefined;
989
+ readonly file?: {
990
+ readonly id?: string | undefined;
991
+ readonly global_id?: string | undefined;
992
+ readonly name?: string | undefined;
993
+ readonly type?: import('../../../../types/openapi').FileTypeEnum | undefined;
994
+ readonly size?: number | null | undefined;
995
+ readonly status?: import('../../../../types/openapi').FileStatusEnum | undefined;
996
+ readonly content_type?: import('../../../../types/openapi').FileContentTypeEnum | undefined;
997
+ readonly content_extension?: string | null | undefined;
998
+ readonly content_length?: number | null | undefined;
999
+ readonly content_url?: string | null | undefined;
1000
+ readonly original_extension?: string | null | undefined;
1001
+ readonly thumbnail_url?: string | null | undefined;
1002
+ readonly download_type?: import('../../../../types/openapi').DownloadTypeEnum | undefined;
1003
+ readonly zip_size?: number | null | undefined;
1004
+ readonly zip_url?: string | null | undefined;
1005
+ readonly access_type?: import('../../../../types/openapi').AccessTypeEnum | undefined;
1006
+ readonly role?: import('../../../../types/openapi').CollaborationRoleEnum | undefined;
1007
+ readonly permissions?: {
1008
+ readonly can_download?: boolean | undefined;
1009
+ readonly can_share?: boolean | undefined;
1010
+ } | undefined;
1011
+ readonly metadata?: {
1012
+ readonly [x: string]: any;
1013
+ } | undefined;
1014
+ readonly app_metadata?: {
1015
+ readonly [x: string]: any;
1016
+ } | undefined;
1017
+ readonly tags?: readonly string[] | undefined;
1018
+ readonly published_at?: string | null | undefined;
1019
+ readonly expires_at?: (string | null) | undefined;
1020
+ readonly instance_id?: string | undefined;
1021
+ readonly folder_id?: string | undefined;
1022
+ readonly shared_link?: {
1023
+ readonly url: string;
1024
+ readonly short_url?: (string | null) | undefined;
1025
+ } | undefined;
1026
+ readonly owned_by?: {
1027
+ readonly id: number;
1028
+ readonly name: string;
1029
+ readonly email?: string | undefined;
1030
+ } | undefined;
1031
+ readonly created_at?: string | undefined;
1032
+ readonly created_by?: {
1033
+ readonly id: number;
1034
+ readonly name: string;
1035
+ readonly email?: string | undefined;
1036
+ } | undefined;
1037
+ readonly modified_at?: string | undefined;
1038
+ readonly modified_by?: {
1039
+ readonly id: number;
1040
+ readonly name: string;
1041
+ readonly email?: string | undefined;
1042
+ } | undefined;
1043
+ readonly page_index?: number | undefined;
1044
+ } | null | undefined;
838
1045
  readonly font_family?: string | undefined;
839
1046
  readonly font_size?: number | undefined;
840
- readonly link_type?: import('@canvas-builder/types/canvas').LinkAnchorTypes | undefined;
841
- readonly preview_type?: import('@canvas-builder/types/canvas').LinkPreviewTypes | undefined;
1047
+ readonly link_type?: import('../types/canvas').LinkAnchorTypes | undefined;
1048
+ readonly preview_type?: import('../types/canvas').LinkPreviewTypes | undefined;
842
1049
  readonly target?: ("_self" | "_blank") | undefined;
843
1050
  readonly url?: string | undefined;
844
1051
  } | {} | {
@@ -879,7 +1086,12 @@ export default function useCanvas(): {
879
1086
  readonly id: string;
880
1087
  readonly type: "slide";
881
1088
  readonly file: {
1089
+ readonly metadata?: {
1090
+ readonly [x: string]: any;
1091
+ } | undefined;
882
1092
  readonly id: string;
1093
+ readonly name?: string | undefined;
1094
+ readonly type: import('../../../../types/openapi').FileTypeEnum;
883
1095
  readonly content_url: string | null;
884
1096
  readonly content_type: import('../../../../types/openapi').FileContentTypeEnum;
885
1097
  readonly thumbnail_url: string | null;
@@ -901,7 +1113,12 @@ export default function useCanvas(): {
901
1113
  readonly id: string;
902
1114
  readonly type: "file";
903
1115
  readonly file: {
1116
+ readonly metadata?: {
1117
+ readonly [x: string]: any;
1118
+ } | undefined;
904
1119
  readonly id: string;
1120
+ readonly name?: string | undefined;
1121
+ readonly type: import('../../../../types/openapi').FileTypeEnum;
905
1122
  readonly content_url: string | null;
906
1123
  readonly content_type: import('../../../../types/openapi').FileContentTypeEnum;
907
1124
  readonly thumbnail_url: string | null;
@@ -956,7 +1173,7 @@ export default function useCanvas(): {
956
1173
  readonly autofill?: ("off" | "ai" | "matching_metadata" | "matching_tags" | "matching_metadata_or_tags") | undefined;
957
1174
  readonly autofill_content_types?: readonly import('../../../../types/openapi').FileContentTypeEnum[] | null | undefined;
958
1175
  readonly data?: {
959
- readonly layout_type: import('@canvas-builder/types/canvas').GridLayoutTypes;
1176
+ readonly layout_type: import('../types/canvas').GridLayoutTypes;
960
1177
  readonly columns: number;
961
1178
  } | {
962
1179
  readonly span: number;
@@ -983,8 +1200,9 @@ export default function useCanvas(): {
983
1200
  readonly asset_type: "external";
984
1201
  readonly external_url: string;
985
1202
  readonly type: "image" | "video";
986
- readonly horizontal_alignment?: import('@canvas-builder/types/canvas').MultimediaHorizontalAlignmentOptions | undefined;
1203
+ readonly horizontal_alignment?: import('../types/canvas').MultimediaHorizontalAlignmentOptions | undefined;
987
1204
  readonly from?: ("custom" | "pexels" | "unsplash" | "ai") | undefined;
1205
+ readonly poster_url?: string | undefined;
988
1206
  } | {
989
1207
  readonly asset_type: "pitcher_asset";
990
1208
  readonly file: {
@@ -993,7 +1211,8 @@ export default function useCanvas(): {
993
1211
  readonly content_url?: import('../../../../types/openapi').File["content_url"] | undefined;
994
1212
  };
995
1213
  readonly type: "image" | "video";
996
- readonly horizontal_alignment?: import('@canvas-builder/types/canvas').MultimediaHorizontalAlignmentOptions | undefined;
1214
+ readonly horizontal_alignment?: import('../types/canvas').MultimediaHorizontalAlignmentOptions | undefined;
1215
+ readonly poster_url?: string | undefined;
997
1216
  } | {
998
1217
  readonly type: "app";
999
1218
  readonly app_name: string;
@@ -1018,6 +1237,9 @@ export default function useCanvas(): {
1018
1237
  readonly overlay_app?: {
1019
1238
  readonly start_in_loading_mode?: boolean | undefined;
1020
1239
  } | undefined;
1240
+ readonly canvas_section_execution?: {
1241
+ readonly start_in_loading_mode?: boolean | undefined;
1242
+ } | undefined;
1021
1243
  } | undefined;
1022
1244
  readonly file: {
1023
1245
  readonly id: import('../../../../types/openapi').FileRetrieve["id"];
@@ -1086,7 +1308,7 @@ export default function useCanvas(): {
1086
1308
  readonly type: "file";
1087
1309
  })[];
1088
1310
  readonly size?: "medium" | undefined;
1089
- readonly layout_type?: import('@canvas-builder/types/canvas').ContentGridLayoutTypes | undefined;
1311
+ readonly layout_type?: import('../types/canvas').ContentGridLayoutTypes | undefined;
1090
1312
  } | {
1091
1313
  readonly sections: readonly {
1092
1314
  readonly id: string;
@@ -1105,15 +1327,71 @@ export default function useCanvas(): {
1105
1327
  readonly width?: string | undefined;
1106
1328
  readonly add_session_context?: boolean | undefined;
1107
1329
  } | {
1108
- readonly alignment?: import('@canvas-builder/types/canvas').LinkAlignmentTypes | undefined;
1330
+ readonly alignment?: import('../types/canvas').LinkAlignmentTypes | undefined;
1109
1331
  readonly background_color?: string | undefined;
1110
1332
  readonly canvas_anchor?: string | undefined;
1111
1333
  readonly color?: string | undefined;
1112
1334
  readonly display_text?: string | undefined;
1335
+ readonly file?: {
1336
+ readonly id?: string | undefined;
1337
+ readonly global_id?: string | undefined;
1338
+ readonly name?: string | undefined;
1339
+ readonly type?: import('../../../../types/openapi').FileTypeEnum | undefined;
1340
+ readonly size?: number | null | undefined;
1341
+ readonly status?: import('../../../../types/openapi').FileStatusEnum | undefined;
1342
+ readonly content_type?: import('../../../../types/openapi').FileContentTypeEnum | undefined;
1343
+ readonly content_extension?: string | null | undefined;
1344
+ readonly content_length?: number | null | undefined;
1345
+ readonly content_url?: string | null | undefined;
1346
+ readonly original_extension?: string | null | undefined;
1347
+ readonly thumbnail_url?: string | null | undefined;
1348
+ readonly download_type?: import('../../../../types/openapi').DownloadTypeEnum | undefined;
1349
+ readonly zip_size?: number | null | undefined;
1350
+ readonly zip_url?: string | null | undefined;
1351
+ readonly access_type?: import('../../../../types/openapi').AccessTypeEnum | undefined;
1352
+ readonly role?: import('../../../../types/openapi').CollaborationRoleEnum | undefined;
1353
+ readonly permissions?: {
1354
+ readonly can_download?: boolean | undefined;
1355
+ readonly can_share?: boolean | undefined;
1356
+ } | undefined;
1357
+ readonly metadata?: {
1358
+ readonly [x: string]: any;
1359
+ } | undefined;
1360
+ readonly app_metadata?: {
1361
+ readonly [x: string]: any;
1362
+ } | undefined;
1363
+ readonly tags?: readonly string[] | undefined;
1364
+ readonly published_at?: string | null | undefined;
1365
+ readonly expires_at?: (string | null) | undefined;
1366
+ readonly instance_id?: string | undefined;
1367
+ readonly folder_id?: string | undefined;
1368
+ readonly shared_link?: {
1369
+ readonly url: string;
1370
+ readonly short_url?: (string | null) | undefined;
1371
+ } | undefined;
1372
+ readonly owned_by?: {
1373
+ readonly id: number;
1374
+ readonly name: string;
1375
+ readonly email?: string | undefined;
1376
+ } | undefined;
1377
+ readonly created_at?: string | undefined;
1378
+ readonly created_by?: {
1379
+ readonly id: number;
1380
+ readonly name: string;
1381
+ readonly email?: string | undefined;
1382
+ } | undefined;
1383
+ readonly modified_at?: string | undefined;
1384
+ readonly modified_by?: {
1385
+ readonly id: number;
1386
+ readonly name: string;
1387
+ readonly email?: string | undefined;
1388
+ } | undefined;
1389
+ readonly page_index?: number | undefined;
1390
+ } | null | undefined;
1113
1391
  readonly font_family?: string | undefined;
1114
1392
  readonly font_size?: number | undefined;
1115
- readonly link_type?: import('@canvas-builder/types/canvas').LinkAnchorTypes | undefined;
1116
- readonly preview_type?: import('@canvas-builder/types/canvas').LinkPreviewTypes | undefined;
1393
+ readonly link_type?: import('../types/canvas').LinkAnchorTypes | undefined;
1394
+ readonly preview_type?: import('../types/canvas').LinkPreviewTypes | undefined;
1117
1395
  readonly target?: ("_self" | "_blank") | undefined;
1118
1396
  readonly url?: string | undefined;
1119
1397
  } | {} | {
@@ -1154,7 +1432,12 @@ export default function useCanvas(): {
1154
1432
  readonly id: string;
1155
1433
  readonly type: "slide";
1156
1434
  readonly file: {
1435
+ readonly metadata?: {
1436
+ readonly [x: string]: any;
1437
+ } | undefined;
1157
1438
  readonly id: string;
1439
+ readonly name?: string | undefined;
1440
+ readonly type: import('../../../../types/openapi').FileTypeEnum;
1158
1441
  readonly content_url: string | null;
1159
1442
  readonly content_type: import('../../../../types/openapi').FileContentTypeEnum;
1160
1443
  readonly thumbnail_url: string | null;
@@ -1176,7 +1459,12 @@ export default function useCanvas(): {
1176
1459
  readonly id: string;
1177
1460
  readonly type: "file";
1178
1461
  readonly file: {
1462
+ readonly metadata?: {
1463
+ readonly [x: string]: any;
1464
+ } | undefined;
1179
1465
  readonly id: string;
1466
+ readonly name?: string | undefined;
1467
+ readonly type: import('../../../../types/openapi').FileTypeEnum;
1180
1468
  readonly content_url: string | null;
1181
1469
  readonly content_type: import('../../../../types/openapi').FileContentTypeEnum;
1182
1470
  readonly thumbnail_url: string | null;
@@ -1230,8 +1518,8 @@ export default function useCanvas(): {
1230
1518
  allow_admins_to_overwrite?: boolean | undefined;
1231
1519
  autofill?: ("off" | "ai" | "matching_metadata" | "matching_tags" | "matching_metadata_or_tags") | undefined;
1232
1520
  autofill_content_types?: (import('../../../../types/openapi').FileContentTypeEnum[] | null) | undefined;
1233
- data?: import('@canvas-builder/types/canvas').PageBreakProps | {
1234
- layout_type: import('@canvas-builder/types/canvas').GridLayoutTypes;
1521
+ data?: import('../types/canvas').PageBreakProps | {
1522
+ layout_type: import('../types/canvas').GridLayoutTypes;
1235
1523
  columns: number;
1236
1524
  } | {
1237
1525
  span: number;
@@ -1254,8 +1542,9 @@ export default function useCanvas(): {
1254
1542
  asset_type: "external";
1255
1543
  external_url: string;
1256
1544
  type: "image" | "video";
1257
- horizontal_alignment?: import('@canvas-builder/types/canvas').MultimediaHorizontalAlignmentOptions | undefined;
1545
+ horizontal_alignment?: import('../types/canvas').MultimediaHorizontalAlignmentOptions | undefined;
1258
1546
  from?: ("custom" | "pexels" | "unsplash" | "ai") | undefined;
1547
+ poster_url?: string | undefined;
1259
1548
  } | {
1260
1549
  asset_type: "pitcher_asset";
1261
1550
  file: {
@@ -1264,7 +1553,8 @@ export default function useCanvas(): {
1264
1553
  content_url?: import('../../../../types/openapi').File["content_url"] | undefined;
1265
1554
  };
1266
1555
  type: "image" | "video";
1267
- horizontal_alignment?: import('@canvas-builder/types/canvas').MultimediaHorizontalAlignmentOptions | undefined;
1556
+ horizontal_alignment?: import('../types/canvas').MultimediaHorizontalAlignmentOptions | undefined;
1557
+ poster_url?: string | undefined;
1268
1558
  } | {
1269
1559
  type: "app";
1270
1560
  app_name: string;
@@ -1289,6 +1579,9 @@ export default function useCanvas(): {
1289
1579
  overlay_app?: {
1290
1580
  start_in_loading_mode?: boolean | undefined;
1291
1581
  } | undefined;
1582
+ canvas_section_execution?: {
1583
+ start_in_loading_mode?: boolean | undefined;
1584
+ } | undefined;
1292
1585
  } | undefined;
1293
1586
  file: {
1294
1587
  id: import('../../../../types/openapi').FileRetrieve["id"];
@@ -1351,7 +1644,7 @@ export default function useCanvas(): {
1351
1644
  type: "file";
1352
1645
  })[];
1353
1646
  size?: "medium" | undefined;
1354
- layout_type?: import('@canvas-builder/types/canvas').ContentGridLayoutTypes | undefined;
1647
+ layout_type?: import('../types/canvas').ContentGridLayoutTypes | undefined;
1355
1648
  } | {
1356
1649
  sections: {
1357
1650
  id: string;
@@ -1368,15 +1661,67 @@ export default function useCanvas(): {
1368
1661
  width?: string | undefined;
1369
1662
  add_session_context?: boolean | undefined;
1370
1663
  } | {
1371
- alignment?: import('@canvas-builder/types/canvas').LinkAlignmentTypes | undefined;
1664
+ alignment?: import('../types/canvas').LinkAlignmentTypes | undefined;
1372
1665
  background_color?: string | undefined;
1373
1666
  canvas_anchor?: string | undefined;
1374
1667
  color?: string | undefined;
1375
1668
  display_text?: string | undefined;
1669
+ file?: {
1670
+ readonly id?: string | undefined;
1671
+ readonly global_id?: string | undefined;
1672
+ name?: string | undefined;
1673
+ readonly type?: import('../../../../types/openapi').FileTypeEnum | undefined;
1674
+ readonly size?: number | null | undefined;
1675
+ readonly status?: import('../../../../types/openapi').FileStatusEnum | undefined;
1676
+ readonly content_type?: import('../../../../types/openapi').FileContentTypeEnum | undefined;
1677
+ readonly content_extension?: string | null | undefined;
1678
+ readonly content_length?: number | null | undefined;
1679
+ readonly content_url?: string | null | undefined;
1680
+ readonly original_extension?: string | null | undefined;
1681
+ readonly thumbnail_url?: string | null | undefined;
1682
+ download_type?: import('../../../../types/openapi').DownloadTypeEnum | undefined;
1683
+ readonly zip_size?: number | null | undefined;
1684
+ readonly zip_url?: string | null | undefined;
1685
+ access_type?: import('../../../../types/openapi').AccessTypeEnum | undefined;
1686
+ readonly role?: import('../../../../types/openapi').CollaborationRoleEnum | undefined;
1687
+ permissions?: {
1688
+ can_download?: boolean | undefined;
1689
+ can_share?: boolean | undefined;
1690
+ } | undefined;
1691
+ metadata?: Record<string, any> | undefined;
1692
+ app_metadata?: Record<string, any> | undefined;
1693
+ tags?: Array<string> | undefined;
1694
+ readonly published_at?: string | null | undefined;
1695
+ expires_at?: (string | null) | undefined;
1696
+ readonly instance_id?: string | undefined;
1697
+ folder_id?: string | undefined;
1698
+ readonly shared_link?: {
1699
+ readonly url: string;
1700
+ short_url?: (string | null) | undefined;
1701
+ } | undefined;
1702
+ readonly owned_by?: {
1703
+ readonly id: number;
1704
+ readonly name: string;
1705
+ email?: string | undefined;
1706
+ } | undefined;
1707
+ readonly created_at?: string | undefined;
1708
+ readonly created_by?: {
1709
+ readonly id: number;
1710
+ readonly name: string;
1711
+ email?: string | undefined;
1712
+ } | undefined;
1713
+ readonly modified_at?: string | undefined;
1714
+ readonly modified_by?: {
1715
+ readonly id: number;
1716
+ readonly name: string;
1717
+ email?: string | undefined;
1718
+ } | undefined;
1719
+ page_index?: number | undefined;
1720
+ } | null | undefined;
1376
1721
  font_family?: string | undefined;
1377
1722
  font_size?: number | undefined;
1378
- link_type?: import('@canvas-builder/types/canvas').LinkAnchorTypes | undefined;
1379
- preview_type?: import('@canvas-builder/types/canvas').LinkPreviewTypes | undefined;
1723
+ link_type?: import('../types/canvas').LinkAnchorTypes | undefined;
1724
+ preview_type?: import('../types/canvas').LinkPreviewTypes | undefined;
1380
1725
  target?: ("_self" | "_blank") | undefined;
1381
1726
  url?: string | undefined;
1382
1727
  } | {
@@ -1405,7 +1750,10 @@ export default function useCanvas(): {
1405
1750
  id: string;
1406
1751
  type: "slide";
1407
1752
  file: {
1753
+ metadata?: Record<string, any> | undefined;
1408
1754
  readonly id: string;
1755
+ name?: string | undefined;
1756
+ readonly type: import('../../../../types/openapi').FileTypeEnum;
1409
1757
  readonly content_url: string | null;
1410
1758
  readonly content_type: import('../../../../types/openapi').FileContentTypeEnum;
1411
1759
  readonly thumbnail_url: string | null;
@@ -1425,7 +1773,10 @@ export default function useCanvas(): {
1425
1773
  id: string;
1426
1774
  type: "file";
1427
1775
  file: {
1776
+ metadata?: Record<string, any> | undefined;
1428
1777
  readonly id: string;
1778
+ name?: string | undefined;
1779
+ readonly type: import('../../../../types/openapi').FileTypeEnum;
1429
1780
  readonly content_url: string | null;
1430
1781
  readonly content_type: import('../../../../types/openapi').FileContentTypeEnum;
1431
1782
  readonly thumbnail_url: string | null;
@@ -1448,7 +1799,7 @@ export default function useCanvas(): {
1448
1799
  } | undefined;
1449
1800
  style?: Record<string, any> | undefined;
1450
1801
  tags?: string[] | undefined;
1451
- }[], ComponentNode<import('@canvas-builder/types/canvas').GridProps | import('@canvas-builder/types/canvas').GridItemProps | import('@canvas-builder/types/canvas').TextProps | import('@canvas-builder/types/canvas').CarouselProps | import('@canvas-builder/types/canvas').MultimediaProps | import('@canvas-builder/types/canvas').EmbeddableProps | import('@canvas-builder/types/canvas').ContentGridProps | SectionListProps | import('@canvas-builder/types/canvas').HtmlProps | import('@canvas-builder/types/canvas').IFrameProps | import('@canvas-builder/types/canvas').LinkProps | import('@canvas-builder/types/canvas').PageBreakProps | import('@canvas-builder/types/canvas').PageProps | import('@canvas-builder/types/canvas').TimelineProps | import('@canvas-builder/types/canvas').CollectionPlayerProps>[] | {
1802
+ }[], ComponentNode<import('../types/canvas').GridProps | import('../types/canvas').GridItemProps | import('../types/canvas').TextProps | import('../types/canvas').CarouselProps | import('../types/canvas').MultimediaProps | import('../types/canvas').EmbeddableProps | import('../types/canvas').ContentGridProps | SectionListProps | import('../types/canvas').HtmlProps | import('../types/canvas').IFrameProps | import('../types/canvas').LinkProps | import('../types/canvas').PageBreakProps | import('../types/canvas').PageProps | import('../types/canvas').TimelineProps | import('../types/canvas').CollectionPlayerProps>[] | {
1452
1803
  id: string;
1453
1804
  type: ComponentTypes;
1454
1805
  tracking_id: string;
@@ -1461,8 +1812,8 @@ export default function useCanvas(): {
1461
1812
  allow_admins_to_overwrite?: boolean | undefined;
1462
1813
  autofill?: ("off" | "ai" | "matching_metadata" | "matching_tags" | "matching_metadata_or_tags") | undefined;
1463
1814
  autofill_content_types?: (import('../../../../types/openapi').FileContentTypeEnum[] | null) | undefined;
1464
- data?: import('@canvas-builder/types/canvas').PageBreakProps | {
1465
- layout_type: import('@canvas-builder/types/canvas').GridLayoutTypes;
1815
+ data?: import('../types/canvas').PageBreakProps | {
1816
+ layout_type: import('../types/canvas').GridLayoutTypes;
1466
1817
  columns: number;
1467
1818
  } | {
1468
1819
  span: number;
@@ -1485,8 +1836,9 @@ export default function useCanvas(): {
1485
1836
  asset_type: "external";
1486
1837
  external_url: string;
1487
1838
  type: "image" | "video";
1488
- horizontal_alignment?: import('@canvas-builder/types/canvas').MultimediaHorizontalAlignmentOptions | undefined;
1839
+ horizontal_alignment?: import('../types/canvas').MultimediaHorizontalAlignmentOptions | undefined;
1489
1840
  from?: ("custom" | "pexels" | "unsplash" | "ai") | undefined;
1841
+ poster_url?: string | undefined;
1490
1842
  } | {
1491
1843
  asset_type: "pitcher_asset";
1492
1844
  file: {
@@ -1495,7 +1847,8 @@ export default function useCanvas(): {
1495
1847
  content_url?: import('../../../../types/openapi').File["content_url"] | undefined;
1496
1848
  };
1497
1849
  type: "image" | "video";
1498
- horizontal_alignment?: import('@canvas-builder/types/canvas').MultimediaHorizontalAlignmentOptions | undefined;
1850
+ horizontal_alignment?: import('../types/canvas').MultimediaHorizontalAlignmentOptions | undefined;
1851
+ poster_url?: string | undefined;
1499
1852
  } | {
1500
1853
  type: "app";
1501
1854
  app_name: string;
@@ -1520,6 +1873,9 @@ export default function useCanvas(): {
1520
1873
  overlay_app?: {
1521
1874
  start_in_loading_mode?: boolean | undefined;
1522
1875
  } | undefined;
1876
+ canvas_section_execution?: {
1877
+ start_in_loading_mode?: boolean | undefined;
1878
+ } | undefined;
1523
1879
  } | undefined;
1524
1880
  file: {
1525
1881
  id: import('../../../../types/openapi').FileRetrieve["id"];
@@ -1582,7 +1938,7 @@ export default function useCanvas(): {
1582
1938
  type: "file";
1583
1939
  })[];
1584
1940
  size?: "medium" | undefined;
1585
- layout_type?: import('@canvas-builder/types/canvas').ContentGridLayoutTypes | undefined;
1941
+ layout_type?: import('../types/canvas').ContentGridLayoutTypes | undefined;
1586
1942
  } | {
1587
1943
  sections: {
1588
1944
  id: string;
@@ -1599,15 +1955,67 @@ export default function useCanvas(): {
1599
1955
  width?: string | undefined;
1600
1956
  add_session_context?: boolean | undefined;
1601
1957
  } | {
1602
- alignment?: import('@canvas-builder/types/canvas').LinkAlignmentTypes | undefined;
1958
+ alignment?: import('../types/canvas').LinkAlignmentTypes | undefined;
1603
1959
  background_color?: string | undefined;
1604
1960
  canvas_anchor?: string | undefined;
1605
1961
  color?: string | undefined;
1606
1962
  display_text?: string | undefined;
1963
+ file?: {
1964
+ readonly id?: string | undefined;
1965
+ readonly global_id?: string | undefined;
1966
+ name?: string | undefined;
1967
+ readonly type?: import('../../../../types/openapi').FileTypeEnum | undefined;
1968
+ readonly size?: number | null | undefined;
1969
+ readonly status?: import('../../../../types/openapi').FileStatusEnum | undefined;
1970
+ readonly content_type?: import('../../../../types/openapi').FileContentTypeEnum | undefined;
1971
+ readonly content_extension?: string | null | undefined;
1972
+ readonly content_length?: number | null | undefined;
1973
+ readonly content_url?: string | null | undefined;
1974
+ readonly original_extension?: string | null | undefined;
1975
+ readonly thumbnail_url?: string | null | undefined;
1976
+ download_type?: import('../../../../types/openapi').DownloadTypeEnum | undefined;
1977
+ readonly zip_size?: number | null | undefined;
1978
+ readonly zip_url?: string | null | undefined;
1979
+ access_type?: import('../../../../types/openapi').AccessTypeEnum | undefined;
1980
+ readonly role?: import('../../../../types/openapi').CollaborationRoleEnum | undefined;
1981
+ permissions?: {
1982
+ can_download?: boolean | undefined;
1983
+ can_share?: boolean | undefined;
1984
+ } | undefined;
1985
+ metadata?: Record<string, any> | undefined;
1986
+ app_metadata?: Record<string, any> | undefined;
1987
+ tags?: Array<string> | undefined;
1988
+ readonly published_at?: string | null | undefined;
1989
+ expires_at?: (string | null) | undefined;
1990
+ readonly instance_id?: string | undefined;
1991
+ folder_id?: string | undefined;
1992
+ readonly shared_link?: {
1993
+ readonly url: string;
1994
+ short_url?: (string | null) | undefined;
1995
+ } | undefined;
1996
+ readonly owned_by?: {
1997
+ readonly id: number;
1998
+ readonly name: string;
1999
+ email?: string | undefined;
2000
+ } | undefined;
2001
+ readonly created_at?: string | undefined;
2002
+ readonly created_by?: {
2003
+ readonly id: number;
2004
+ readonly name: string;
2005
+ email?: string | undefined;
2006
+ } | undefined;
2007
+ readonly modified_at?: string | undefined;
2008
+ readonly modified_by?: {
2009
+ readonly id: number;
2010
+ readonly name: string;
2011
+ email?: string | undefined;
2012
+ } | undefined;
2013
+ page_index?: number | undefined;
2014
+ } | null | undefined;
1607
2015
  font_family?: string | undefined;
1608
2016
  font_size?: number | undefined;
1609
- link_type?: import('@canvas-builder/types/canvas').LinkAnchorTypes | undefined;
1610
- preview_type?: import('@canvas-builder/types/canvas').LinkPreviewTypes | undefined;
2017
+ link_type?: import('../types/canvas').LinkAnchorTypes | undefined;
2018
+ preview_type?: import('../types/canvas').LinkPreviewTypes | undefined;
1611
2019
  target?: ("_self" | "_blank") | undefined;
1612
2020
  url?: string | undefined;
1613
2021
  } | {
@@ -1636,7 +2044,10 @@ export default function useCanvas(): {
1636
2044
  id: string;
1637
2045
  type: "slide";
1638
2046
  file: {
2047
+ metadata?: Record<string, any> | undefined;
1639
2048
  readonly id: string;
2049
+ name?: string | undefined;
2050
+ readonly type: import('../../../../types/openapi').FileTypeEnum;
1640
2051
  readonly content_url: string | null;
1641
2052
  readonly content_type: import('../../../../types/openapi').FileContentTypeEnum;
1642
2053
  readonly thumbnail_url: string | null;
@@ -1656,7 +2067,10 @@ export default function useCanvas(): {
1656
2067
  id: string;
1657
2068
  type: "file";
1658
2069
  file: {
2070
+ metadata?: Record<string, any> | undefined;
1659
2071
  readonly id: string;
2072
+ name?: string | undefined;
2073
+ readonly type: import('../../../../types/openapi').FileTypeEnum;
1660
2074
  readonly content_url: string | null;
1661
2075
  readonly content_type: import('../../../../types/openapi').FileContentTypeEnum;
1662
2076
  readonly thumbnail_url: string | null;
@@ -1711,7 +2125,7 @@ export default function useCanvas(): {
1711
2125
  readonly autofill?: ("off" | "ai" | "matching_metadata" | "matching_tags" | "matching_metadata_or_tags") | undefined;
1712
2126
  readonly autofill_content_types?: readonly import('../../../../types/openapi').FileContentTypeEnum[] | null | undefined;
1713
2127
  readonly data?: {
1714
- readonly layout_type: import('@canvas-builder/types/canvas').GridLayoutTypes;
2128
+ readonly layout_type: import('../types/canvas').GridLayoutTypes;
1715
2129
  readonly columns: number;
1716
2130
  } | {
1717
2131
  readonly span: number;
@@ -1738,8 +2152,9 @@ export default function useCanvas(): {
1738
2152
  readonly asset_type: "external";
1739
2153
  readonly external_url: string;
1740
2154
  readonly type: "image" | "video";
1741
- readonly horizontal_alignment?: import('@canvas-builder/types/canvas').MultimediaHorizontalAlignmentOptions | undefined;
2155
+ readonly horizontal_alignment?: import('../types/canvas').MultimediaHorizontalAlignmentOptions | undefined;
1742
2156
  readonly from?: ("custom" | "pexels" | "unsplash" | "ai") | undefined;
2157
+ readonly poster_url?: string | undefined;
1743
2158
  } | {
1744
2159
  readonly asset_type: "pitcher_asset";
1745
2160
  readonly file: {
@@ -1748,7 +2163,8 @@ export default function useCanvas(): {
1748
2163
  readonly content_url?: import('../../../../types/openapi').File["content_url"] | undefined;
1749
2164
  };
1750
2165
  readonly type: "image" | "video";
1751
- readonly horizontal_alignment?: import('@canvas-builder/types/canvas').MultimediaHorizontalAlignmentOptions | undefined;
2166
+ readonly horizontal_alignment?: import('../types/canvas').MultimediaHorizontalAlignmentOptions | undefined;
2167
+ readonly poster_url?: string | undefined;
1752
2168
  } | {
1753
2169
  readonly type: "app";
1754
2170
  readonly app_name: string;
@@ -1773,6 +2189,9 @@ export default function useCanvas(): {
1773
2189
  readonly overlay_app?: {
1774
2190
  readonly start_in_loading_mode?: boolean | undefined;
1775
2191
  } | undefined;
2192
+ readonly canvas_section_execution?: {
2193
+ readonly start_in_loading_mode?: boolean | undefined;
2194
+ } | undefined;
1776
2195
  } | undefined;
1777
2196
  readonly file: {
1778
2197
  readonly id: import('../../../../types/openapi').FileRetrieve["id"];
@@ -1841,7 +2260,7 @@ export default function useCanvas(): {
1841
2260
  readonly type: "file";
1842
2261
  })[];
1843
2262
  readonly size?: "medium" | undefined;
1844
- readonly layout_type?: import('@canvas-builder/types/canvas').ContentGridLayoutTypes | undefined;
2263
+ readonly layout_type?: import('../types/canvas').ContentGridLayoutTypes | undefined;
1845
2264
  } | {
1846
2265
  readonly sections: readonly {
1847
2266
  readonly id: string;
@@ -1860,15 +2279,71 @@ export default function useCanvas(): {
1860
2279
  readonly width?: string | undefined;
1861
2280
  readonly add_session_context?: boolean | undefined;
1862
2281
  } | {
1863
- readonly alignment?: import('@canvas-builder/types/canvas').LinkAlignmentTypes | undefined;
2282
+ readonly alignment?: import('../types/canvas').LinkAlignmentTypes | undefined;
1864
2283
  readonly background_color?: string | undefined;
1865
2284
  readonly canvas_anchor?: string | undefined;
1866
2285
  readonly color?: string | undefined;
1867
2286
  readonly display_text?: string | undefined;
2287
+ readonly file?: {
2288
+ readonly id?: string | undefined;
2289
+ readonly global_id?: string | undefined;
2290
+ readonly name?: string | undefined;
2291
+ readonly type?: import('../../../../types/openapi').FileTypeEnum | undefined;
2292
+ readonly size?: number | null | undefined;
2293
+ readonly status?: import('../../../../types/openapi').FileStatusEnum | undefined;
2294
+ readonly content_type?: import('../../../../types/openapi').FileContentTypeEnum | undefined;
2295
+ readonly content_extension?: string | null | undefined;
2296
+ readonly content_length?: number | null | undefined;
2297
+ readonly content_url?: string | null | undefined;
2298
+ readonly original_extension?: string | null | undefined;
2299
+ readonly thumbnail_url?: string | null | undefined;
2300
+ readonly download_type?: import('../../../../types/openapi').DownloadTypeEnum | undefined;
2301
+ readonly zip_size?: number | null | undefined;
2302
+ readonly zip_url?: string | null | undefined;
2303
+ readonly access_type?: import('../../../../types/openapi').AccessTypeEnum | undefined;
2304
+ readonly role?: import('../../../../types/openapi').CollaborationRoleEnum | undefined;
2305
+ readonly permissions?: {
2306
+ readonly can_download?: boolean | undefined;
2307
+ readonly can_share?: boolean | undefined;
2308
+ } | undefined;
2309
+ readonly metadata?: {
2310
+ readonly [x: string]: any;
2311
+ } | undefined;
2312
+ readonly app_metadata?: {
2313
+ readonly [x: string]: any;
2314
+ } | undefined;
2315
+ readonly tags?: readonly string[] | undefined;
2316
+ readonly published_at?: string | null | undefined;
2317
+ readonly expires_at?: (string | null) | undefined;
2318
+ readonly instance_id?: string | undefined;
2319
+ readonly folder_id?: string | undefined;
2320
+ readonly shared_link?: {
2321
+ readonly url: string;
2322
+ readonly short_url?: (string | null) | undefined;
2323
+ } | undefined;
2324
+ readonly owned_by?: {
2325
+ readonly id: number;
2326
+ readonly name: string;
2327
+ readonly email?: string | undefined;
2328
+ } | undefined;
2329
+ readonly created_at?: string | undefined;
2330
+ readonly created_by?: {
2331
+ readonly id: number;
2332
+ readonly name: string;
2333
+ readonly email?: string | undefined;
2334
+ } | undefined;
2335
+ readonly modified_at?: string | undefined;
2336
+ readonly modified_by?: {
2337
+ readonly id: number;
2338
+ readonly name: string;
2339
+ readonly email?: string | undefined;
2340
+ } | undefined;
2341
+ readonly page_index?: number | undefined;
2342
+ } | null | undefined;
1868
2343
  readonly font_family?: string | undefined;
1869
2344
  readonly font_size?: number | undefined;
1870
- readonly link_type?: import('@canvas-builder/types/canvas').LinkAnchorTypes | undefined;
1871
- readonly preview_type?: import('@canvas-builder/types/canvas').LinkPreviewTypes | undefined;
2345
+ readonly link_type?: import('../types/canvas').LinkAnchorTypes | undefined;
2346
+ readonly preview_type?: import('../types/canvas').LinkPreviewTypes | undefined;
1872
2347
  readonly target?: ("_self" | "_blank") | undefined;
1873
2348
  readonly url?: string | undefined;
1874
2349
  } | {} | {
@@ -1909,7 +2384,12 @@ export default function useCanvas(): {
1909
2384
  readonly id: string;
1910
2385
  readonly type: "slide";
1911
2386
  readonly file: {
2387
+ readonly metadata?: {
2388
+ readonly [x: string]: any;
2389
+ } | undefined;
1912
2390
  readonly id: string;
2391
+ readonly name?: string | undefined;
2392
+ readonly type: import('../../../../types/openapi').FileTypeEnum;
1913
2393
  readonly content_url: string | null;
1914
2394
  readonly content_type: import('../../../../types/openapi').FileContentTypeEnum;
1915
2395
  readonly thumbnail_url: string | null;
@@ -1931,7 +2411,12 @@ export default function useCanvas(): {
1931
2411
  readonly id: string;
1932
2412
  readonly type: "file";
1933
2413
  readonly file: {
2414
+ readonly metadata?: {
2415
+ readonly [x: string]: any;
2416
+ } | undefined;
1934
2417
  readonly id: string;
2418
+ readonly name?: string | undefined;
2419
+ readonly type: import('../../../../types/openapi').FileTypeEnum;
1935
2420
  readonly content_url: string | null;
1936
2421
  readonly content_type: import('../../../../types/openapi').FileContentTypeEnum;
1937
2422
  readonly thumbnail_url: string | null;
@@ -1992,6 +2477,7 @@ export default function useCanvas(): {
1992
2477
  isSameAsSaved: import('vue').ComputedRef<any>;
1993
2478
  isSection: import('vue').ComputedRef<boolean | undefined>;
1994
2479
  isTemplate: import('vue').ComputedRef<boolean | undefined>;
2480
+ isBlock: import('vue').ComputedRef<boolean | undefined>;
1995
2481
  isViewOnlyMode: import('vue').ComputedRef<boolean | undefined>;
1996
2482
  justAddedComponentId: Ref<string | null, string | null>;
1997
2483
  listFiles: Ref<((params?: any) => Promise<import('../../../../types/openapi').File[]>) | ((...data: any[]) => void) | undefined, ((params?: any) => Promise<import('../../../../types/openapi').File[]>) | ((...data: any[]) => void) | undefined>;
@@ -2013,14 +2499,29 @@ export default function useCanvas(): {
2013
2499
  uniqueId: string;
2014
2500
  metadata?: Record<string, any>;
2015
2501
  }[]>;
2016
- onComponentEnter: Ref<((data: ComponentNode | CanvasRetrieve, params: import('@canvas-builder/types/canvas').ComponentTrackingParams) => void) | ((data: ComponentNode | CanvasRetrieve, params: import('@canvas-builder/types/canvas').ComponentTrackingParams) => void) | ((c: ComponentNode | CanvasRetrieve) => void) | undefined, ((data: ComponentNode | CanvasRetrieve, params: import('@canvas-builder/types/canvas').ComponentTrackingParams) => void) | ((data: ComponentNode | CanvasRetrieve, params: import('@canvas-builder/types/canvas').ComponentTrackingParams) => void) | ((c: ComponentNode | CanvasRetrieve) => void) | undefined>;
2017
- onComponentExit: Ref<((data: ComponentNode | CanvasRetrieve, params: import('@canvas-builder/types/canvas').ComponentTrackingParams) => void) | ((data: ComponentNode | CanvasRetrieve, params: import('@canvas-builder/types/canvas').ComponentTrackingParams) => void) | ((c: ComponentNode | CanvasRetrieve) => void) | undefined, ((data: ComponentNode | CanvasRetrieve, params: import('@canvas-builder/types/canvas').ComponentTrackingParams) => void) | ((data: ComponentNode | CanvasRetrieve, params: import('@canvas-builder/types/canvas').ComponentTrackingParams) => void) | ((c: ComponentNode | CanvasRetrieve) => void) | undefined>;
2502
+ onComponentEnter: Ref<((data: ComponentNode | CanvasRetrieve, params: import('../types/canvas').ComponentTrackingParams) => void) | ((data: ComponentNode | CanvasRetrieve, params: import('../types/canvas').ComponentTrackingParams) => void) | ((c: ComponentNode | CanvasRetrieve) => void) | undefined, ((data: ComponentNode | CanvasRetrieve, params: import('../types/canvas').ComponentTrackingParams) => void) | ((data: ComponentNode | CanvasRetrieve, params: import('../types/canvas').ComponentTrackingParams) => void) | ((c: ComponentNode | CanvasRetrieve) => void) | undefined>;
2503
+ onComponentExit: Ref<((data: ComponentNode | CanvasRetrieve, params: import('../types/canvas').ComponentTrackingParams) => void) | ((data: ComponentNode | CanvasRetrieve, params: import('../types/canvas').ComponentTrackingParams) => void) | ((c: ComponentNode | CanvasRetrieve) => void) | undefined, ((data: ComponentNode | CanvasRetrieve, params: import('../types/canvas').ComponentTrackingParams) => void) | ((data: ComponentNode | CanvasRetrieve, params: import('../types/canvas').ComponentTrackingParams) => void) | ((c: ComponentNode | CanvasRetrieve) => void) | undefined>;
2018
2504
  onPageEnter: Ref<((data: ComponentNode[], pageIndex: number) => void) | ((data: ComponentNode[], pageIndex: number) => void) | ((c: ComponentNode[]) => void) | undefined, ((data: ComponentNode[], pageIndex: number) => void) | ((data: ComponentNode[], pageIndex: number) => void) | ((c: ComponentNode[]) => void) | undefined>;
2019
2505
  onPageExit: Ref<((data: ComponentNode[], pageIndex: number) => void) | ((data: ComponentNode[], pageIndex: number) => void) | ((c: ComponentNode[]) => void) | undefined, ((data: ComponentNode[], pageIndex: number) => void) | ((data: ComponentNode[], pageIndex: number) => void) | ((c: ComponentNode[]) => void) | undefined>;
2020
2506
  onDownloadCanvas: Ref<((canvas: CanvasRetrieve) => Promise<void>) | ((canvas: CanvasRetrieve) => Promise<void>) | ((...data: any[]) => void) | undefined, ((canvas: CanvasRetrieve) => Promise<void>) | ((canvas: CanvasRetrieve) => Promise<void>) | ((...data: any[]) => void) | undefined>;
2021
- onDownloadFile: Ref<((file: import('../../../../types/openapi').File | import('@canvas-builder/types/canvas').ContentGridFileProps | import('@canvas-builder/types/canvas').ContentGridCommonFileProps) => Promise<void>) | ((file: import('../../../../types/openapi').File | import('@canvas-builder/types/canvas').ContentGridFileProps | import('@canvas-builder/types/canvas').ContentGridCommonFileProps) => Promise<void>) | ((...data: any[]) => void) | undefined, ((file: import('../../../../types/openapi').File | import('@canvas-builder/types/canvas').ContentGridFileProps | import('@canvas-builder/types/canvas').ContentGridCommonFileProps) => Promise<void>) | ((file: import('../../../../types/openapi').File | import('@canvas-builder/types/canvas').ContentGridFileProps | import('@canvas-builder/types/canvas').ContentGridCommonFileProps) => Promise<void>) | ((...data: any[]) => void) | undefined>;
2507
+ onDownloadFile: Ref<((file: import('../../../../types/openapi').File | import('../types/canvas').ContentGridFileProps | import('../types/canvas').ContentGridCommonFileProps) => Promise<void>) | ((file: import('../../../../types/openapi').File | import('../types/canvas').ContentGridFileProps | import('../types/canvas').ContentGridCommonFileProps) => Promise<void>) | ((...data: any[]) => void) | undefined, ((file: import('../../../../types/openapi').File | import('../types/canvas').ContentGridFileProps | import('../types/canvas').ContentGridCommonFileProps) => Promise<void>) | ((file: import('../../../../types/openapi').File | import('../types/canvas').ContentGridFileProps | import('../types/canvas').ContentGridCommonFileProps) => Promise<void>) | ((...data: any[]) => void) | undefined>;
2022
2508
  onExit: Ref<(() => void) | (() => void), (() => void) | (() => void)>;
2023
- onFileOpen: Ref<((file: import('@canvas-builder/types/canvas').FileOpenParams) => void) | ((file: import('@canvas-builder/types/canvas').FileOpenParams) => void), ((file: import('@canvas-builder/types/canvas').FileOpenParams) => void) | ((file: import('@canvas-builder/types/canvas').FileOpenParams) => void)>;
2509
+ onFileOpen: Ref<((file: import('../types/canvas').FileOpenParams) => void) | ((file: import('../types/canvas').FileOpenParams) => void), ((file: import('../types/canvas').FileOpenParams) => void) | ((file: import('../types/canvas').FileOpenParams) => void)>;
2510
+ onFileEnter: Ref<((node: import('../types/canvas').NodeInfo, file: import('../types/canvas').CollectionFileEntity) => void) | ((node: import('../types/canvas').NodeInfo, file: import('../types/canvas').CollectionFileEntity) => void) | undefined, ((node: import('../types/canvas').NodeInfo, file: import('../types/canvas').CollectionFileEntity) => void) | ((node: import('../types/canvas').NodeInfo, file: import('../types/canvas').CollectionFileEntity) => void) | undefined>;
2511
+ onFileExit: Ref<((node: import('../types/canvas').NodeInfo, file: import('../types/canvas').CollectionFileEntity) => void) | ((node: import('../types/canvas').NodeInfo, file: import('../types/canvas').CollectionFileEntity) => void) | undefined, ((node: import('../types/canvas').NodeInfo, file: import('../types/canvas').CollectionFileEntity) => void) | ((node: import('../types/canvas').NodeInfo, file: import('../types/canvas').CollectionFileEntity) => void) | undefined>;
2512
+ onFilePageEnter: Ref<((node: import('../types/canvas').NodeInfo, file: import('../types/canvas').CollectionFileEntity, pageIndex: number) => void) | ((node: import('../types/canvas').NodeInfo, file: import('../types/canvas').CollectionFileEntity, pageIndex: number) => void) | undefined, ((node: import('../types/canvas').NodeInfo, file: import('../types/canvas').CollectionFileEntity, pageIndex: number) => void) | ((node: import('../types/canvas').NodeInfo, file: import('../types/canvas').CollectionFileEntity, pageIndex: number) => void) | undefined>;
2513
+ onFilePageExit: Ref<((node: import('../types/canvas').NodeInfo, file: import('../types/canvas').CollectionFileEntity, pageIndex: number) => void) | ((node: import('../types/canvas').NodeInfo, file: import('../types/canvas').CollectionFileEntity, pageIndex: number) => void) | undefined, ((node: import('../types/canvas').NodeInfo, file: import('../types/canvas').CollectionFileEntity, pageIndex: number) => void) | ((node: import('../types/canvas').NodeInfo, file: import('../types/canvas').CollectionFileEntity, pageIndex: number) => void) | undefined>;
2514
+ onCollectionPlayerContentChange: Ref<((payload: {
2515
+ componentId: string;
2516
+ uniqueFilesCount: number;
2517
+ groupsCount: number;
2518
+ slidesCount: number;
2519
+ }) => void) | undefined, ((payload: {
2520
+ componentId: string;
2521
+ uniqueFilesCount: number;
2522
+ groupsCount: number;
2523
+ slidesCount: number;
2524
+ }) => void) | undefined>;
2024
2525
  onSave: Ref<((canvasId: CanvasRetrieve["id"], canvas: import('../../../../types/openapi').PatchedCanvasUpdateRequest & {
2025
2526
  fields?: string;
2026
2527
  }, showToast?: boolean) => Promise<CanvasRetrieve>) | ((...data: any[]) => Promise<void>) | undefined, ((canvasId: CanvasRetrieve["id"], canvas: import('../../../../types/openapi').PatchedCanvasUpdateRequest & {
@@ -2093,7 +2594,7 @@ export default function useCanvas(): {
2093
2594
  readonly autofill?: ("off" | "ai" | "matching_metadata" | "matching_tags" | "matching_metadata_or_tags") | undefined;
2094
2595
  readonly autofill_content_types?: readonly import('../../../../types/openapi').FileContentTypeEnum[] | null | undefined;
2095
2596
  readonly data?: {
2096
- readonly layout_type: import('@canvas-builder/types/canvas').GridLayoutTypes;
2597
+ readonly layout_type: import('../types/canvas').GridLayoutTypes;
2097
2598
  readonly columns: number;
2098
2599
  } | {
2099
2600
  readonly span: number;
@@ -2120,8 +2621,9 @@ export default function useCanvas(): {
2120
2621
  readonly asset_type: "external";
2121
2622
  readonly external_url: string;
2122
2623
  readonly type: "image" | "video";
2123
- readonly horizontal_alignment?: import('@canvas-builder/types/canvas').MultimediaHorizontalAlignmentOptions | undefined;
2624
+ readonly horizontal_alignment?: import('../types/canvas').MultimediaHorizontalAlignmentOptions | undefined;
2124
2625
  readonly from?: ("custom" | "pexels" | "unsplash" | "ai") | undefined;
2626
+ readonly poster_url?: string | undefined;
2125
2627
  } | {
2126
2628
  readonly asset_type: "pitcher_asset";
2127
2629
  readonly file: {
@@ -2130,7 +2632,8 @@ export default function useCanvas(): {
2130
2632
  readonly content_url?: import('../../../../types/openapi').File["content_url"] | undefined;
2131
2633
  };
2132
2634
  readonly type: "image" | "video";
2133
- readonly horizontal_alignment?: import('@canvas-builder/types/canvas').MultimediaHorizontalAlignmentOptions | undefined;
2635
+ readonly horizontal_alignment?: import('../types/canvas').MultimediaHorizontalAlignmentOptions | undefined;
2636
+ readonly poster_url?: string | undefined;
2134
2637
  } | {
2135
2638
  readonly type: "app";
2136
2639
  readonly app_name: string;
@@ -2155,6 +2658,9 @@ export default function useCanvas(): {
2155
2658
  readonly overlay_app?: {
2156
2659
  readonly start_in_loading_mode?: boolean | undefined;
2157
2660
  } | undefined;
2661
+ readonly canvas_section_execution?: {
2662
+ readonly start_in_loading_mode?: boolean | undefined;
2663
+ } | undefined;
2158
2664
  } | undefined;
2159
2665
  readonly file: {
2160
2666
  readonly id: import('../../../../types/openapi').FileRetrieve["id"];
@@ -2223,7 +2729,7 @@ export default function useCanvas(): {
2223
2729
  readonly type: "file";
2224
2730
  })[];
2225
2731
  readonly size?: "medium" | undefined;
2226
- readonly layout_type?: import('@canvas-builder/types/canvas').ContentGridLayoutTypes | undefined;
2732
+ readonly layout_type?: import('../types/canvas').ContentGridLayoutTypes | undefined;
2227
2733
  } | {
2228
2734
  readonly sections: readonly {
2229
2735
  readonly id: string;
@@ -2242,15 +2748,71 @@ export default function useCanvas(): {
2242
2748
  readonly width?: string | undefined;
2243
2749
  readonly add_session_context?: boolean | undefined;
2244
2750
  } | {
2245
- readonly alignment?: import('@canvas-builder/types/canvas').LinkAlignmentTypes | undefined;
2751
+ readonly alignment?: import('../types/canvas').LinkAlignmentTypes | undefined;
2246
2752
  readonly background_color?: string | undefined;
2247
2753
  readonly canvas_anchor?: string | undefined;
2248
2754
  readonly color?: string | undefined;
2249
2755
  readonly display_text?: string | undefined;
2756
+ readonly file?: {
2757
+ readonly id?: string | undefined;
2758
+ readonly global_id?: string | undefined;
2759
+ readonly name?: string | undefined;
2760
+ readonly type?: import('../../../../types/openapi').FileTypeEnum | undefined;
2761
+ readonly size?: number | null | undefined;
2762
+ readonly status?: import('../../../../types/openapi').FileStatusEnum | undefined;
2763
+ readonly content_type?: import('../../../../types/openapi').FileContentTypeEnum | undefined;
2764
+ readonly content_extension?: string | null | undefined;
2765
+ readonly content_length?: number | null | undefined;
2766
+ readonly content_url?: string | null | undefined;
2767
+ readonly original_extension?: string | null | undefined;
2768
+ readonly thumbnail_url?: string | null | undefined;
2769
+ readonly download_type?: import('../../../../types/openapi').DownloadTypeEnum | undefined;
2770
+ readonly zip_size?: number | null | undefined;
2771
+ readonly zip_url?: string | null | undefined;
2772
+ readonly access_type?: import('../../../../types/openapi').AccessTypeEnum | undefined;
2773
+ readonly role?: import('../../../../types/openapi').CollaborationRoleEnum | undefined;
2774
+ readonly permissions?: {
2775
+ readonly can_download?: boolean | undefined;
2776
+ readonly can_share?: boolean | undefined;
2777
+ } | undefined;
2778
+ readonly metadata?: {
2779
+ readonly [x: string]: any;
2780
+ } | undefined;
2781
+ readonly app_metadata?: {
2782
+ readonly [x: string]: any;
2783
+ } | undefined;
2784
+ readonly tags?: readonly string[] | undefined;
2785
+ readonly published_at?: string | null | undefined;
2786
+ readonly expires_at?: (string | null) | undefined;
2787
+ readonly instance_id?: string | undefined;
2788
+ readonly folder_id?: string | undefined;
2789
+ readonly shared_link?: {
2790
+ readonly url: string;
2791
+ readonly short_url?: (string | null) | undefined;
2792
+ } | undefined;
2793
+ readonly owned_by?: {
2794
+ readonly id: number;
2795
+ readonly name: string;
2796
+ readonly email?: string | undefined;
2797
+ } | undefined;
2798
+ readonly created_at?: string | undefined;
2799
+ readonly created_by?: {
2800
+ readonly id: number;
2801
+ readonly name: string;
2802
+ readonly email?: string | undefined;
2803
+ } | undefined;
2804
+ readonly modified_at?: string | undefined;
2805
+ readonly modified_by?: {
2806
+ readonly id: number;
2807
+ readonly name: string;
2808
+ readonly email?: string | undefined;
2809
+ } | undefined;
2810
+ readonly page_index?: number | undefined;
2811
+ } | null | undefined;
2250
2812
  readonly font_family?: string | undefined;
2251
2813
  readonly font_size?: number | undefined;
2252
- readonly link_type?: import('@canvas-builder/types/canvas').LinkAnchorTypes | undefined;
2253
- readonly preview_type?: import('@canvas-builder/types/canvas').LinkPreviewTypes | undefined;
2814
+ readonly link_type?: import('../types/canvas').LinkAnchorTypes | undefined;
2815
+ readonly preview_type?: import('../types/canvas').LinkPreviewTypes | undefined;
2254
2816
  readonly target?: ("_self" | "_blank") | undefined;
2255
2817
  readonly url?: string | undefined;
2256
2818
  } | {} | {
@@ -2291,7 +2853,12 @@ export default function useCanvas(): {
2291
2853
  readonly id: string;
2292
2854
  readonly type: "slide";
2293
2855
  readonly file: {
2856
+ readonly metadata?: {
2857
+ readonly [x: string]: any;
2858
+ } | undefined;
2294
2859
  readonly id: string;
2860
+ readonly name?: string | undefined;
2861
+ readonly type: import('../../../../types/openapi').FileTypeEnum;
2295
2862
  readonly content_url: string | null;
2296
2863
  readonly content_type: import('../../../../types/openapi').FileContentTypeEnum;
2297
2864
  readonly thumbnail_url: string | null;
@@ -2313,7 +2880,12 @@ export default function useCanvas(): {
2313
2880
  readonly id: string;
2314
2881
  readonly type: "file";
2315
2882
  readonly file: {
2883
+ readonly metadata?: {
2884
+ readonly [x: string]: any;
2885
+ } | undefined;
2316
2886
  readonly id: string;
2887
+ readonly name?: string | undefined;
2888
+ readonly type: import('../../../../types/openapi').FileTypeEnum;
2317
2889
  readonly content_url: string | null;
2318
2890
  readonly content_type: import('../../../../types/openapi').FileContentTypeEnum;
2319
2891
  readonly thumbnail_url: string | null;