@pitcher/js-api 1.22.0 → 1.23.0
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.
- package/js-api.esm.js +52 -43
- package/js-api.esm.js.map +1 -1
- package/js-api.umd.min.js +9 -9
- package/js-api.umd.min.js.map +1 -1
- package/lib/apps/browser/stores/api.d.ts +0 -12
- package/lib/apps/canvas-builder/App.vue.d.ts +256 -177
- package/lib/apps/canvas-builder/components/container/EditableComponent/EditableComponentActionToolbar.vue.d.ts +0 -2
- package/lib/apps/canvas-builder/components/ui/Block/Block.vue.d.ts +11 -0
- package/lib/apps/canvas-builder/components/ui/CollectionPlayer/composables/tracking.use.d.ts +4 -0
- package/lib/apps/canvas-builder/components/ui/CollectionPlayer/utils/type.util.d.ts +4 -4
- package/lib/apps/canvas-builder/components/ui/SectionList/Execution/SectionListExecution.vue.d.ts +10 -0
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionSelectorItem.vue.d.ts +3 -0
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionSelectorToolbar.vue.d.ts +2 -2
- package/lib/apps/canvas-builder/composables/useCanvas.d.ts +570 -0
- package/lib/apps/canvas-builder/composables/useCanvasBlocks.d.ts +837 -0
- package/lib/apps/canvas-builder/composables/useCanvasHistory.d.ts +126 -0
- package/lib/apps/canvas-builder/composables/useCanvasTheme.d.ts +9 -5
- package/lib/apps/canvas-builder/composables/useContentSelector.d.ts +23 -4
- package/lib/apps/canvas-builder/types/canvas.d.ts +40 -4
- package/lib/apps/canvas-builder/util/canvas.util.d.ts +6 -2
- package/lib/apps/canvas-selector/stores/app.d.ts +14 -0
- package/lib/apps/content-selector/appTypes.d.ts +2 -0
- package/lib/apps/content-selector/stores/app.d.ts +1 -0
- package/lib/components/CApexChart/CApexChartLine.vue.d.ts +7 -3
- package/lib/components/CConfigEditor/CConfigEditor.validators.d.ts +3 -1
- package/lib/components/CConfigEditor/CConfigEditor.vue.d.ts +3 -0
- package/lib/components/{CCreateTemplateOrSectionModal/CCreateTemplateOrSectionModal.vue.d.ts → CCreateTemplateSectionBlockModal/CCreateTemplateSectionBlockModal.vue.d.ts} +2 -1
- package/lib/components/CEntitySelector/CEntitySelector.vue.d.ts +4 -0
- package/lib/components/CFilePanel/CFilePanel.use.d.ts +12 -0
- package/lib/components/CFilePanel/CFilePanel.vue.d.ts +14 -0
- package/lib/components/CFileViewer/CFileViewer.vue.d.ts +196 -6
- package/lib/components/CFileViewer/CFileViewerTop.vue.d.ts +6 -4
- package/lib/components/CFileViewer/pdf/CFileViewer.pageThumbMetadata.pdf.use.d.ts +8 -0
- package/lib/components/CFileViewer/pdf/CFileViewer.pdf.annotations.use.d.ts +2 -0
- package/lib/components/CFileViewer/pdf/CFileViewer.pdf.use.d.ts +4 -2
- package/lib/components/CFileViewer/pdf/CFileViewerBottom.pdf.vue.d.ts +5 -4
- package/lib/components/CFileViewer/pdf/CFileViewerCopyPagesMetadata.pdf.vue.d.ts +13 -0
- package/lib/components/CFileViewer/pdf/CFileViewerPageDrawer.pdf.vue.d.ts +26 -0
- package/lib/components/CFileViewer/pdf/CFileViewerPageDrawerSelectPage.vue.d.ts +15 -0
- package/lib/components/CInfoBadge/CInfoBadge.vue.d.ts +5 -2
- package/lib/components/CJsonEditor/CJsonEditor.vue.d.ts +5 -1
- package/lib/components/CRichTextEditor/components/CContentLinkToolbar.vue.d.ts +10 -0
- package/lib/components/CRichTextEditor/components/CInsertDropdown.vue.d.ts +2 -0
- package/lib/components/CRichTextEditor/extensions/contentLink.d.ts +22 -0
- package/lib/components/CSearch/CSearch.vue.d.ts +2 -0
- package/lib/components/CSingleFileSelector/CSingleFileSelector.vue.d.ts +28 -0
- package/lib/components/CTableInput/CTableInput.vue.d.ts +2 -0
- package/lib/components/CTags/CTags.vue.d.ts +1 -0
- package/lib/components/CVideo/CVideo.types.d.ts +7 -0
- package/lib/components/CVideo/CVideo.vue.d.ts +3 -7
- package/lib/components/canvas-blocks/CBlockManagement.vue.d.ts +253 -0
- package/lib/components/canvas-blocks/CBlockManagementActionsCell.vue.d.ts +32 -0
- package/lib/components/canvas-blocks/CBlockManagementToolbar.vue.d.ts +60 -0
- package/lib/components/canvas-templates/CTemplateManagement.vue.d.ts +2 -2
- package/lib/components/savedCanvases/CSavedCanvasesManagementIndicatorsCell.vue.d.ts +7 -0
- package/lib/components/savedCanvases/smartFolders/SmartFolders.use.d.ts +9 -12
- package/lib/constants/cdp.const.d.ts +1 -0
- package/lib/main.lib.d.ts +4 -1
- package/lib/sdk/api/HighLevelApi.d.ts +5 -0
- package/lib/sdk/api/modules/canvas.d.ts +26 -1
- package/lib/sdk/api/modules/ui/canvas.ui.d.ts +10 -0
- package/lib/sdk/api/modules/ui/index.d.ts +1 -0
- package/lib/sdk/api/modules/ui/post-call.ui.d.ts +1 -1
- package/lib/sdk/api/modules/ui/types.ui.d.ts +1 -0
- package/lib/sdk/main.d.ts +18 -0
- package/lib/types/app.d.ts +1 -1
- package/lib/types/canvases.d.ts +10 -1
- package/lib/types/file.types.d.ts +15 -0
- package/lib/types/launchDarkly.types.d.ts +3 -1
- package/lib/types/organizationSettings.types.d.ts +8 -0
- package/package.json +1 -1
- package/types/openapi/index.d.ts +1 -0
- package/types/openapi/models/Canvas.d.ts +1 -0
- package/types/openapi/models/CanvasCreate.d.ts +1 -0
- package/types/openapi/models/CanvasCreateRequest.d.ts +1 -0
- package/types/openapi/models/CanvasRetrieve.d.ts +1 -0
- package/types/openapi/models/CanvasUpdate.d.ts +1 -0
- package/types/openapi/models/CanvasUpdateRequest.d.ts +1 -0
- package/types/openapi/models/DeletedCanvas.d.ts +1 -0
- package/types/openapi/models/PatchedCanvasIndicatorsRequest.d.ts +3 -0
- package/types/openapi/models/PatchedCanvasUpdateRequest.d.ts +1 -0
- package/lib/apps/browser/components/Content/Panel/FilePanel/FilePanel.vue.d.ts +0 -2
- /package/lib/apps/canvas-builder/components/ui/CollectionPlayer/components/{PreviewImage.vue.d.ts → MainImage.vue.d.ts} +0 -0
- /package/lib/apps/canvas-builder/components/ui/CollectionPlayer/composables/{cache.use.d.ts → image-cache.use.d.ts} +0 -0
- /package/lib/{apps/browser/components/Content/Panel/FilePanel → components/CFilePanel}/BasicInfo.vue.d.ts +0 -0
- /package/lib/{apps/browser/components/Content/Panel/FilePanel → components/CFilePanel}/Details.vue.d.ts +0 -0
- /package/lib/{apps/browser/components/Content/Panel/FilePanel → components/CFilePanel}/Metadata.vue.d.ts +0 -0
- /package/lib/{apps/browser/components/Content/Panel/FilePanel → components/CFilePanel}/Tags.vue.d.ts +0 -0
- /package/lib/components/CFileViewer/pdf/{CFileViewer.pageFavorite.pdf.use.d.ts → CFileViewer.pageThumbFavorite.pdf.use.d.ts} +0 -0
|
@@ -0,0 +1,837 @@
|
|
|
1
|
+
import { CanvasRetrieve } from '../../../../types/openapi';
|
|
2
|
+
import { ComponentTypes } from '../types/canvas';
|
|
3
|
+
export declare const cleanup: () => void;
|
|
4
|
+
export default function useCanvasBlocks(): {
|
|
5
|
+
activeBlocks: Readonly<import('vue').Ref<{
|
|
6
|
+
readonly [x: string]: {
|
|
7
|
+
readonly id: string;
|
|
8
|
+
readonly name: string;
|
|
9
|
+
readonly content?: {
|
|
10
|
+
readonly [x: string]: any;
|
|
11
|
+
} | undefined;
|
|
12
|
+
readonly context?: {
|
|
13
|
+
readonly [x: string]: any;
|
|
14
|
+
} | undefined;
|
|
15
|
+
readonly indicators?: {
|
|
16
|
+
readonly [x: string]: any;
|
|
17
|
+
} | null | undefined;
|
|
18
|
+
readonly theme?: {
|
|
19
|
+
readonly [x: string]: any;
|
|
20
|
+
} | null | undefined;
|
|
21
|
+
readonly is_draft?: boolean | undefined;
|
|
22
|
+
readonly is_template?: boolean | undefined;
|
|
23
|
+
readonly is_section?: boolean | undefined;
|
|
24
|
+
readonly is_block?: boolean | undefined;
|
|
25
|
+
readonly is_editable?: boolean | undefined;
|
|
26
|
+
readonly is_default?: boolean | undefined;
|
|
27
|
+
readonly metadata?: {
|
|
28
|
+
readonly [x: string]: any;
|
|
29
|
+
} | undefined;
|
|
30
|
+
readonly tags?: readonly string[] | undefined;
|
|
31
|
+
readonly start_at?: (string | null) | undefined;
|
|
32
|
+
readonly expires_at?: (string | null) | undefined;
|
|
33
|
+
readonly access_type?: import('../../../../types/openapi').AccessTypeEnum | undefined;
|
|
34
|
+
readonly thumbnail_url?: (string | null) | undefined;
|
|
35
|
+
readonly template: {
|
|
36
|
+
readonly id: string;
|
|
37
|
+
readonly name: string;
|
|
38
|
+
};
|
|
39
|
+
readonly sections: readonly {
|
|
40
|
+
readonly id: string;
|
|
41
|
+
readonly name: string;
|
|
42
|
+
readonly content: {
|
|
43
|
+
readonly [x: string]: any;
|
|
44
|
+
};
|
|
45
|
+
readonly theme?: {
|
|
46
|
+
readonly [x: string]: any;
|
|
47
|
+
} | null | undefined;
|
|
48
|
+
readonly metadata?: {
|
|
49
|
+
readonly [x: string]: any;
|
|
50
|
+
} | undefined;
|
|
51
|
+
}[];
|
|
52
|
+
readonly shared_link: {
|
|
53
|
+
readonly url: string;
|
|
54
|
+
readonly short_url?: (string | null) | undefined;
|
|
55
|
+
};
|
|
56
|
+
readonly account?: {
|
|
57
|
+
readonly id: string;
|
|
58
|
+
readonly name?: string | undefined;
|
|
59
|
+
} | null | undefined;
|
|
60
|
+
readonly events: readonly {
|
|
61
|
+
readonly id: string;
|
|
62
|
+
readonly start_at: string;
|
|
63
|
+
readonly subject: string;
|
|
64
|
+
}[];
|
|
65
|
+
readonly folder_id?: (string | null) | undefined;
|
|
66
|
+
readonly owned_by: {
|
|
67
|
+
readonly id: number;
|
|
68
|
+
readonly name: string;
|
|
69
|
+
readonly email?: string | undefined;
|
|
70
|
+
};
|
|
71
|
+
readonly created_at: string;
|
|
72
|
+
readonly created_by: {
|
|
73
|
+
readonly id: number;
|
|
74
|
+
readonly name: string;
|
|
75
|
+
readonly email?: string | undefined;
|
|
76
|
+
};
|
|
77
|
+
readonly modified_at: string;
|
|
78
|
+
readonly modified_by: {
|
|
79
|
+
readonly id: number;
|
|
80
|
+
readonly name: string;
|
|
81
|
+
readonly email?: string | undefined;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
}, {
|
|
85
|
+
readonly [x: string]: {
|
|
86
|
+
readonly id: string;
|
|
87
|
+
readonly name: string;
|
|
88
|
+
readonly content?: {
|
|
89
|
+
readonly [x: string]: any;
|
|
90
|
+
} | undefined;
|
|
91
|
+
readonly context?: {
|
|
92
|
+
readonly [x: string]: any;
|
|
93
|
+
} | undefined;
|
|
94
|
+
readonly indicators?: {
|
|
95
|
+
readonly [x: string]: any;
|
|
96
|
+
} | null | undefined;
|
|
97
|
+
readonly theme?: {
|
|
98
|
+
readonly [x: string]: any;
|
|
99
|
+
} | null | undefined;
|
|
100
|
+
readonly is_draft?: boolean | undefined;
|
|
101
|
+
readonly is_template?: boolean | undefined;
|
|
102
|
+
readonly is_section?: boolean | undefined;
|
|
103
|
+
readonly is_block?: boolean | undefined;
|
|
104
|
+
readonly is_editable?: boolean | undefined;
|
|
105
|
+
readonly is_default?: boolean | undefined;
|
|
106
|
+
readonly metadata?: {
|
|
107
|
+
readonly [x: string]: any;
|
|
108
|
+
} | undefined;
|
|
109
|
+
readonly tags?: readonly string[] | undefined;
|
|
110
|
+
readonly start_at?: (string | null) | undefined;
|
|
111
|
+
readonly expires_at?: (string | null) | undefined;
|
|
112
|
+
readonly access_type?: import('../../../../types/openapi').AccessTypeEnum | undefined;
|
|
113
|
+
readonly thumbnail_url?: (string | null) | undefined;
|
|
114
|
+
readonly template: {
|
|
115
|
+
readonly id: string;
|
|
116
|
+
readonly name: string;
|
|
117
|
+
};
|
|
118
|
+
readonly sections: readonly {
|
|
119
|
+
readonly id: string;
|
|
120
|
+
readonly name: string;
|
|
121
|
+
readonly content: {
|
|
122
|
+
readonly [x: string]: any;
|
|
123
|
+
};
|
|
124
|
+
readonly theme?: {
|
|
125
|
+
readonly [x: string]: any;
|
|
126
|
+
} | null | undefined;
|
|
127
|
+
readonly metadata?: {
|
|
128
|
+
readonly [x: string]: any;
|
|
129
|
+
} | undefined;
|
|
130
|
+
}[];
|
|
131
|
+
readonly shared_link: {
|
|
132
|
+
readonly url: string;
|
|
133
|
+
readonly short_url?: (string | null) | undefined;
|
|
134
|
+
};
|
|
135
|
+
readonly account?: {
|
|
136
|
+
readonly id: string;
|
|
137
|
+
readonly name?: string | undefined;
|
|
138
|
+
} | null | undefined;
|
|
139
|
+
readonly events: readonly {
|
|
140
|
+
readonly id: string;
|
|
141
|
+
readonly start_at: string;
|
|
142
|
+
readonly subject: string;
|
|
143
|
+
}[];
|
|
144
|
+
readonly folder_id?: (string | null) | undefined;
|
|
145
|
+
readonly owned_by: {
|
|
146
|
+
readonly id: number;
|
|
147
|
+
readonly name: string;
|
|
148
|
+
readonly email?: string | undefined;
|
|
149
|
+
};
|
|
150
|
+
readonly created_at: string;
|
|
151
|
+
readonly created_by: {
|
|
152
|
+
readonly id: number;
|
|
153
|
+
readonly name: string;
|
|
154
|
+
readonly email?: string | undefined;
|
|
155
|
+
};
|
|
156
|
+
readonly modified_at: string;
|
|
157
|
+
readonly modified_by: {
|
|
158
|
+
readonly id: number;
|
|
159
|
+
readonly name: string;
|
|
160
|
+
readonly email?: string | undefined;
|
|
161
|
+
};
|
|
162
|
+
};
|
|
163
|
+
}>>;
|
|
164
|
+
blockContentById: Readonly<import('vue').Ref<{
|
|
165
|
+
readonly [x: string]: readonly {
|
|
166
|
+
readonly id: string;
|
|
167
|
+
readonly type: ComponentTypes;
|
|
168
|
+
readonly tracking_id: string;
|
|
169
|
+
readonly visible?: {
|
|
170
|
+
readonly edit_mode: boolean;
|
|
171
|
+
readonly presentation_mode: boolean;
|
|
172
|
+
readonly pdf: boolean;
|
|
173
|
+
readonly web: boolean;
|
|
174
|
+
} | undefined;
|
|
175
|
+
readonly allow_admins_to_overwrite?: boolean | undefined;
|
|
176
|
+
readonly autofill?: ("off" | "ai" | "matching_metadata" | "matching_tags" | "matching_metadata_or_tags") | undefined;
|
|
177
|
+
readonly autofill_content_types?: readonly import('../../../../types/openapi').FileContentTypeEnum[] | null | undefined;
|
|
178
|
+
readonly data?: {
|
|
179
|
+
readonly layout_type: import('../types/canvas').GridLayoutTypes;
|
|
180
|
+
readonly columns: number;
|
|
181
|
+
} | {
|
|
182
|
+
readonly span: number;
|
|
183
|
+
readonly tooltips?: readonly {
|
|
184
|
+
readonly content?: string | undefined;
|
|
185
|
+
readonly content_style?: {
|
|
186
|
+
readonly [x: string]: any;
|
|
187
|
+
} | undefined;
|
|
188
|
+
readonly trigger?: string | undefined;
|
|
189
|
+
readonly trigger_style?: {
|
|
190
|
+
readonly [x: string]: any;
|
|
191
|
+
} | undefined;
|
|
192
|
+
}[] | undefined;
|
|
193
|
+
} | {
|
|
194
|
+
readonly content?: string | undefined;
|
|
195
|
+
} | {
|
|
196
|
+
readonly images?: readonly {
|
|
197
|
+
readonly url: string;
|
|
198
|
+
readonly is_uploaded_asset?: boolean | undefined;
|
|
199
|
+
}[] | undefined;
|
|
200
|
+
readonly placeholder_height?: string | undefined;
|
|
201
|
+
readonly include_all_images_in_pdf?: boolean | undefined;
|
|
202
|
+
} | {
|
|
203
|
+
readonly asset_type: "external";
|
|
204
|
+
readonly external_url: string;
|
|
205
|
+
readonly type: "image" | "video";
|
|
206
|
+
readonly horizontal_alignment?: import('../types/canvas').MultimediaHorizontalAlignmentOptions | undefined;
|
|
207
|
+
readonly from?: ("custom" | "pexels" | "unsplash" | "ai") | undefined;
|
|
208
|
+
readonly poster_url?: string | undefined;
|
|
209
|
+
} | {
|
|
210
|
+
readonly asset_type: "pitcher_asset";
|
|
211
|
+
readonly file: {
|
|
212
|
+
readonly id: import('../../../../types/openapi').File["id"];
|
|
213
|
+
readonly name: import('../../../../types/openapi').File["name"];
|
|
214
|
+
readonly content_url?: import('../../../../types/openapi').File["content_url"] | undefined;
|
|
215
|
+
};
|
|
216
|
+
readonly type: "image" | "video";
|
|
217
|
+
readonly horizontal_alignment?: import('../types/canvas').MultimediaHorizontalAlignmentOptions | undefined;
|
|
218
|
+
readonly poster_url?: string | undefined;
|
|
219
|
+
} | {
|
|
220
|
+
readonly type: "app";
|
|
221
|
+
readonly app_name: string;
|
|
222
|
+
readonly src: string | null;
|
|
223
|
+
readonly height?: string | undefined;
|
|
224
|
+
readonly width?: string | undefined;
|
|
225
|
+
readonly embed_locations?: readonly import('../../../main.lib').EmbedLocation[] | undefined;
|
|
226
|
+
readonly headless_locations?: readonly import('../../../main.lib').EmbedLocation[] | undefined;
|
|
227
|
+
readonly properties_by_embed_location?: {
|
|
228
|
+
readonly canvas?: {
|
|
229
|
+
readonly start_in_loading_mode?: boolean | undefined;
|
|
230
|
+
} | undefined;
|
|
231
|
+
readonly ui_app?: {
|
|
232
|
+
readonly start_in_loading_mode?: boolean | undefined;
|
|
233
|
+
} | undefined;
|
|
234
|
+
readonly dsr?: {
|
|
235
|
+
readonly start_in_loading_mode?: boolean | undefined;
|
|
236
|
+
} | undefined;
|
|
237
|
+
readonly admin_instance?: {
|
|
238
|
+
readonly start_in_loading_mode?: boolean | undefined;
|
|
239
|
+
} | undefined;
|
|
240
|
+
readonly overlay_app?: {
|
|
241
|
+
readonly start_in_loading_mode?: boolean | undefined;
|
|
242
|
+
} | undefined;
|
|
243
|
+
readonly canvas_section_execution?: {
|
|
244
|
+
readonly start_in_loading_mode?: boolean | undefined;
|
|
245
|
+
} | undefined;
|
|
246
|
+
} | undefined;
|
|
247
|
+
readonly file: {
|
|
248
|
+
readonly id: import('../../../../types/openapi').FileRetrieve["id"];
|
|
249
|
+
readonly snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"] | undefined;
|
|
250
|
+
readonly name: import('../../../../types/openapi').FileRetrieve["name"];
|
|
251
|
+
readonly is_deleted?: boolean | undefined;
|
|
252
|
+
readonly content_url: import('../../../../types/openapi').FileRetrieve["content_url"];
|
|
253
|
+
readonly content_type: import('../../../../types/openapi').FileContentTypeEnum | null;
|
|
254
|
+
readonly content_extension: import('../../../../types/openapi').FileRetrieve["content_extension"];
|
|
255
|
+
readonly permissions?: {
|
|
256
|
+
readonly can_download?: boolean | undefined;
|
|
257
|
+
readonly can_share?: boolean | undefined;
|
|
258
|
+
} | undefined;
|
|
259
|
+
readonly thumbnail_url?: import('../../../../types/openapi').FileRetrieve["thumbnail_url"] | undefined;
|
|
260
|
+
readonly content_length?: import('../../../../types/openapi').FileRetrieve["content_length"] | undefined;
|
|
261
|
+
readonly content_thumbnails?: readonly string[] | null | undefined;
|
|
262
|
+
readonly pspdfkit_server_url?: import('../../../components/CFileViewer/CFileViewer.types').FileModel["pspdfkit_server_url"] | undefined;
|
|
263
|
+
readonly pspdfkit_auth_payload?: {
|
|
264
|
+
readonly [x: string]: any;
|
|
265
|
+
} | null | undefined;
|
|
266
|
+
} | null;
|
|
267
|
+
readonly settings?: {
|
|
268
|
+
readonly [x: string]: Readonly<unknown>;
|
|
269
|
+
} | undefined;
|
|
270
|
+
} | {
|
|
271
|
+
readonly items: readonly ({
|
|
272
|
+
readonly file: {
|
|
273
|
+
readonly id: import('../../../../types/openapi').FileRetrieve["id"];
|
|
274
|
+
readonly snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"] | undefined;
|
|
275
|
+
readonly name: import('../../../../types/openapi').FileRetrieve["name"];
|
|
276
|
+
readonly is_deleted?: boolean | undefined;
|
|
277
|
+
readonly content_url?: import('../../../../types/openapi').FileRetrieve["content_url"] | undefined;
|
|
278
|
+
readonly content_type?: (import('../../../../types/openapi').FileContentTypeEnum | null) | undefined;
|
|
279
|
+
readonly content_extension?: import('../../../../types/openapi').FileRetrieve["content_extension"] | undefined;
|
|
280
|
+
readonly permissions?: {
|
|
281
|
+
readonly can_download?: boolean | undefined;
|
|
282
|
+
readonly can_share?: boolean | undefined;
|
|
283
|
+
} | undefined;
|
|
284
|
+
};
|
|
285
|
+
readonly slide: {
|
|
286
|
+
readonly index: number;
|
|
287
|
+
readonly url?: import('../../../../types/openapi').FileRetrieve["content_thumbnails"][number] | undefined;
|
|
288
|
+
};
|
|
289
|
+
readonly type: "slide";
|
|
290
|
+
} | {
|
|
291
|
+
readonly file: {
|
|
292
|
+
readonly id: import('../../../../types/openapi').FileRetrieve["id"];
|
|
293
|
+
readonly snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"] | undefined;
|
|
294
|
+
readonly name: import('../../../../types/openapi').FileRetrieve["name"];
|
|
295
|
+
readonly is_deleted?: boolean | undefined;
|
|
296
|
+
readonly content_url: import('../../../../types/openapi').FileRetrieve["content_url"];
|
|
297
|
+
readonly content_type: import('../../../../types/openapi').FileContentTypeEnum | null;
|
|
298
|
+
readonly content_extension: import('../../../../types/openapi').FileRetrieve["content_extension"];
|
|
299
|
+
readonly permissions?: {
|
|
300
|
+
readonly can_download?: boolean | undefined;
|
|
301
|
+
readonly can_share?: boolean | undefined;
|
|
302
|
+
} | undefined;
|
|
303
|
+
readonly thumbnail_url?: import('../../../../types/openapi').FileRetrieve["thumbnail_url"] | undefined;
|
|
304
|
+
readonly content_length?: import('../../../../types/openapi').FileRetrieve["content_length"] | undefined;
|
|
305
|
+
readonly content_thumbnails?: readonly string[] | null | undefined;
|
|
306
|
+
readonly pspdfkit_server_url?: import('../../../components/CFileViewer/CFileViewer.types').FileModel["pspdfkit_server_url"] | undefined;
|
|
307
|
+
readonly pspdfkit_auth_payload?: {
|
|
308
|
+
readonly [x: string]: any;
|
|
309
|
+
} | null | undefined;
|
|
310
|
+
};
|
|
311
|
+
readonly type: "file";
|
|
312
|
+
})[];
|
|
313
|
+
readonly size?: "medium" | undefined;
|
|
314
|
+
readonly layout_type?: import('../types/canvas').ContentGridLayoutTypes | undefined;
|
|
315
|
+
} | {
|
|
316
|
+
readonly sections: readonly {
|
|
317
|
+
readonly id: string;
|
|
318
|
+
readonly style?: {
|
|
319
|
+
readonly [x: string]: any;
|
|
320
|
+
} | undefined;
|
|
321
|
+
readonly aspect_ratio?: ("unlocked" | "16:9" | "16:10" | "4:3" | "1:1") | undefined;
|
|
322
|
+
readonly background_video_url?: string | undefined;
|
|
323
|
+
}[];
|
|
324
|
+
readonly animation_in?: string | undefined;
|
|
325
|
+
} | {
|
|
326
|
+
readonly html: string;
|
|
327
|
+
} | {
|
|
328
|
+
readonly src: string | null;
|
|
329
|
+
readonly height?: string | undefined;
|
|
330
|
+
readonly width?: string | undefined;
|
|
331
|
+
readonly add_session_context?: boolean | undefined;
|
|
332
|
+
} | {
|
|
333
|
+
readonly alignment?: import('../types/canvas').LinkAlignmentTypes | undefined;
|
|
334
|
+
readonly background_color?: string | undefined;
|
|
335
|
+
readonly canvas_anchor?: string | undefined;
|
|
336
|
+
readonly color?: string | undefined;
|
|
337
|
+
readonly display_text?: string | undefined;
|
|
338
|
+
readonly file?: {
|
|
339
|
+
readonly id?: string | undefined;
|
|
340
|
+
readonly global_id?: string | undefined;
|
|
341
|
+
readonly name?: string | undefined;
|
|
342
|
+
readonly type?: import('../../../../types/openapi').FileTypeEnum | undefined;
|
|
343
|
+
readonly size?: number | null | undefined;
|
|
344
|
+
readonly status?: import('../../../../types/openapi').FileStatusEnum | undefined;
|
|
345
|
+
readonly content_type?: import('../../../../types/openapi').FileContentTypeEnum | undefined;
|
|
346
|
+
readonly content_extension?: string | null | undefined;
|
|
347
|
+
readonly content_length?: number | null | undefined;
|
|
348
|
+
readonly content_url?: string | null | undefined;
|
|
349
|
+
readonly original_extension?: string | null | undefined;
|
|
350
|
+
readonly thumbnail_url?: string | null | undefined;
|
|
351
|
+
readonly download_type?: import('../../../../types/openapi').DownloadTypeEnum | undefined;
|
|
352
|
+
readonly zip_size?: number | null | undefined;
|
|
353
|
+
readonly zip_url?: string | null | undefined;
|
|
354
|
+
readonly access_type?: import('../../../../types/openapi').AccessTypeEnum | undefined;
|
|
355
|
+
readonly role?: import('../../../../types/openapi').CollaborationRoleEnum | undefined;
|
|
356
|
+
readonly permissions?: {
|
|
357
|
+
readonly can_download?: boolean | undefined;
|
|
358
|
+
readonly can_share?: boolean | undefined;
|
|
359
|
+
} | undefined;
|
|
360
|
+
readonly metadata?: {
|
|
361
|
+
readonly [x: string]: any;
|
|
362
|
+
} | undefined;
|
|
363
|
+
readonly app_metadata?: {
|
|
364
|
+
readonly [x: string]: any;
|
|
365
|
+
} | undefined;
|
|
366
|
+
readonly tags?: readonly string[] | undefined;
|
|
367
|
+
readonly published_at?: string | null | undefined;
|
|
368
|
+
readonly expires_at?: (string | null) | undefined;
|
|
369
|
+
readonly instance_id?: string | undefined;
|
|
370
|
+
readonly folder_id?: string | undefined;
|
|
371
|
+
readonly shared_link?: {
|
|
372
|
+
readonly url: string;
|
|
373
|
+
readonly short_url?: (string | null) | undefined;
|
|
374
|
+
} | undefined;
|
|
375
|
+
readonly owned_by?: {
|
|
376
|
+
readonly id: number;
|
|
377
|
+
readonly name: string;
|
|
378
|
+
readonly email?: string | undefined;
|
|
379
|
+
} | undefined;
|
|
380
|
+
readonly created_at?: string | undefined;
|
|
381
|
+
readonly created_by?: {
|
|
382
|
+
readonly id: number;
|
|
383
|
+
readonly name: string;
|
|
384
|
+
readonly email?: string | undefined;
|
|
385
|
+
} | undefined;
|
|
386
|
+
readonly modified_at?: string | undefined;
|
|
387
|
+
readonly modified_by?: {
|
|
388
|
+
readonly id: number;
|
|
389
|
+
readonly name: string;
|
|
390
|
+
readonly email?: string | undefined;
|
|
391
|
+
} | undefined;
|
|
392
|
+
readonly page_index?: number | undefined;
|
|
393
|
+
} | null | undefined;
|
|
394
|
+
readonly font_family?: string | undefined;
|
|
395
|
+
readonly font_size?: number | undefined;
|
|
396
|
+
readonly link_type?: import('../types/canvas').LinkAnchorTypes | undefined;
|
|
397
|
+
readonly preview_type?: import('../types/canvas').LinkPreviewTypes | undefined;
|
|
398
|
+
readonly target?: ("_self" | "_blank") | undefined;
|
|
399
|
+
readonly url?: string | undefined;
|
|
400
|
+
} | {} | {
|
|
401
|
+
readonly aspect_ratio?: ("unlocked" | "16:9" | "16:10" | "4:3" | "1:1") | undefined;
|
|
402
|
+
readonly background_video_url?: string | undefined;
|
|
403
|
+
} | {
|
|
404
|
+
readonly events: readonly {
|
|
405
|
+
readonly top_hint?: string | undefined;
|
|
406
|
+
readonly top_hint_style?: {
|
|
407
|
+
readonly [x: string]: any;
|
|
408
|
+
} | undefined;
|
|
409
|
+
readonly title?: string | undefined;
|
|
410
|
+
readonly title_style?: {
|
|
411
|
+
readonly [x: string]: any;
|
|
412
|
+
} | undefined;
|
|
413
|
+
readonly description?: string | undefined;
|
|
414
|
+
readonly description_style?: {
|
|
415
|
+
readonly [x: string]: any;
|
|
416
|
+
} | undefined;
|
|
417
|
+
readonly image_url?: string | undefined;
|
|
418
|
+
readonly image_style?: {
|
|
419
|
+
readonly [x: string]: any;
|
|
420
|
+
} | undefined;
|
|
421
|
+
readonly icon?: string | undefined;
|
|
422
|
+
readonly icon_style?: {
|
|
423
|
+
readonly [x: string]: any;
|
|
424
|
+
} | undefined;
|
|
425
|
+
readonly card_style?: {
|
|
426
|
+
readonly [x: string]: any;
|
|
427
|
+
} | undefined;
|
|
428
|
+
}[];
|
|
429
|
+
readonly layout: "vertical" | "horizontal";
|
|
430
|
+
} | {
|
|
431
|
+
readonly groups: readonly {
|
|
432
|
+
readonly id: string;
|
|
433
|
+
readonly name: string;
|
|
434
|
+
readonly slides: readonly ({
|
|
435
|
+
readonly id: string;
|
|
436
|
+
readonly type: "slide";
|
|
437
|
+
readonly file: {
|
|
438
|
+
readonly metadata?: {
|
|
439
|
+
readonly [x: string]: any;
|
|
440
|
+
} | undefined;
|
|
441
|
+
readonly id: string;
|
|
442
|
+
readonly name?: string | undefined;
|
|
443
|
+
readonly type: import('../../../../types/openapi').FileTypeEnum;
|
|
444
|
+
readonly content_url: string | null;
|
|
445
|
+
readonly content_type: import('../../../../types/openapi').FileContentTypeEnum;
|
|
446
|
+
readonly thumbnail_url: string | null;
|
|
447
|
+
readonly permissions?: {
|
|
448
|
+
readonly can_download?: boolean | undefined;
|
|
449
|
+
readonly can_share?: boolean | undefined;
|
|
450
|
+
} | undefined;
|
|
451
|
+
readonly pspdfkit_server_url: string | null;
|
|
452
|
+
readonly pspdfkit_auth_payload: {
|
|
453
|
+
readonly [x: string]: any;
|
|
454
|
+
} | null;
|
|
455
|
+
readonly pspdfkit_document_id: string | null;
|
|
456
|
+
};
|
|
457
|
+
readonly slide: {
|
|
458
|
+
readonly index: number;
|
|
459
|
+
readonly url: import('../../../../types/openapi').FileRetrieve["thumbnail_url"];
|
|
460
|
+
};
|
|
461
|
+
} | {
|
|
462
|
+
readonly id: string;
|
|
463
|
+
readonly type: "file";
|
|
464
|
+
readonly file: {
|
|
465
|
+
readonly metadata?: {
|
|
466
|
+
readonly [x: string]: any;
|
|
467
|
+
} | undefined;
|
|
468
|
+
readonly id: string;
|
|
469
|
+
readonly name?: string | undefined;
|
|
470
|
+
readonly type: import('../../../../types/openapi').FileTypeEnum;
|
|
471
|
+
readonly content_url: string | null;
|
|
472
|
+
readonly content_type: import('../../../../types/openapi').FileContentTypeEnum;
|
|
473
|
+
readonly thumbnail_url: string | null;
|
|
474
|
+
readonly permissions?: {
|
|
475
|
+
readonly can_download?: boolean | undefined;
|
|
476
|
+
readonly can_share?: boolean | undefined;
|
|
477
|
+
} | undefined;
|
|
478
|
+
readonly pspdfkit_server_url: string | null;
|
|
479
|
+
readonly pspdfkit_auth_payload: {
|
|
480
|
+
readonly [x: string]: any;
|
|
481
|
+
} | null;
|
|
482
|
+
readonly pspdfkit_document_id: string | null;
|
|
483
|
+
};
|
|
484
|
+
})[];
|
|
485
|
+
}[];
|
|
486
|
+
readonly name: string;
|
|
487
|
+
} | undefined;
|
|
488
|
+
readonly children?: readonly any[] | undefined;
|
|
489
|
+
readonly when_used_in_section?: {
|
|
490
|
+
readonly is_editable: boolean;
|
|
491
|
+
readonly is_removable: boolean;
|
|
492
|
+
} | undefined;
|
|
493
|
+
readonly style?: {
|
|
494
|
+
readonly [x: string]: any;
|
|
495
|
+
} | undefined;
|
|
496
|
+
readonly tags?: readonly string[] | undefined;
|
|
497
|
+
}[];
|
|
498
|
+
}, {
|
|
499
|
+
readonly [x: string]: readonly {
|
|
500
|
+
readonly id: string;
|
|
501
|
+
readonly type: ComponentTypes;
|
|
502
|
+
readonly tracking_id: string;
|
|
503
|
+
readonly visible?: {
|
|
504
|
+
readonly edit_mode: boolean;
|
|
505
|
+
readonly presentation_mode: boolean;
|
|
506
|
+
readonly pdf: boolean;
|
|
507
|
+
readonly web: boolean;
|
|
508
|
+
} | undefined;
|
|
509
|
+
readonly allow_admins_to_overwrite?: boolean | undefined;
|
|
510
|
+
readonly autofill?: ("off" | "ai" | "matching_metadata" | "matching_tags" | "matching_metadata_or_tags") | undefined;
|
|
511
|
+
readonly autofill_content_types?: readonly import('../../../../types/openapi').FileContentTypeEnum[] | null | undefined;
|
|
512
|
+
readonly data?: {
|
|
513
|
+
readonly layout_type: import('../types/canvas').GridLayoutTypes;
|
|
514
|
+
readonly columns: number;
|
|
515
|
+
} | {
|
|
516
|
+
readonly span: number;
|
|
517
|
+
readonly tooltips?: readonly {
|
|
518
|
+
readonly content?: string | undefined;
|
|
519
|
+
readonly content_style?: {
|
|
520
|
+
readonly [x: string]: any;
|
|
521
|
+
} | undefined;
|
|
522
|
+
readonly trigger?: string | undefined;
|
|
523
|
+
readonly trigger_style?: {
|
|
524
|
+
readonly [x: string]: any;
|
|
525
|
+
} | undefined;
|
|
526
|
+
}[] | undefined;
|
|
527
|
+
} | {
|
|
528
|
+
readonly content?: string | undefined;
|
|
529
|
+
} | {
|
|
530
|
+
readonly images?: readonly {
|
|
531
|
+
readonly url: string;
|
|
532
|
+
readonly is_uploaded_asset?: boolean | undefined;
|
|
533
|
+
}[] | undefined;
|
|
534
|
+
readonly placeholder_height?: string | undefined;
|
|
535
|
+
readonly include_all_images_in_pdf?: boolean | undefined;
|
|
536
|
+
} | {
|
|
537
|
+
readonly asset_type: "external";
|
|
538
|
+
readonly external_url: string;
|
|
539
|
+
readonly type: "image" | "video";
|
|
540
|
+
readonly horizontal_alignment?: import('../types/canvas').MultimediaHorizontalAlignmentOptions | undefined;
|
|
541
|
+
readonly from?: ("custom" | "pexels" | "unsplash" | "ai") | undefined;
|
|
542
|
+
readonly poster_url?: string | undefined;
|
|
543
|
+
} | {
|
|
544
|
+
readonly asset_type: "pitcher_asset";
|
|
545
|
+
readonly file: {
|
|
546
|
+
readonly id: import('../../../../types/openapi').File["id"];
|
|
547
|
+
readonly name: import('../../../../types/openapi').File["name"];
|
|
548
|
+
readonly content_url?: import('../../../../types/openapi').File["content_url"] | undefined;
|
|
549
|
+
};
|
|
550
|
+
readonly type: "image" | "video";
|
|
551
|
+
readonly horizontal_alignment?: import('../types/canvas').MultimediaHorizontalAlignmentOptions | undefined;
|
|
552
|
+
readonly poster_url?: string | undefined;
|
|
553
|
+
} | {
|
|
554
|
+
readonly type: "app";
|
|
555
|
+
readonly app_name: string;
|
|
556
|
+
readonly src: string | null;
|
|
557
|
+
readonly height?: string | undefined;
|
|
558
|
+
readonly width?: string | undefined;
|
|
559
|
+
readonly embed_locations?: readonly import('../../../main.lib').EmbedLocation[] | undefined;
|
|
560
|
+
readonly headless_locations?: readonly import('../../../main.lib').EmbedLocation[] | undefined;
|
|
561
|
+
readonly properties_by_embed_location?: {
|
|
562
|
+
readonly canvas?: {
|
|
563
|
+
readonly start_in_loading_mode?: boolean | undefined;
|
|
564
|
+
} | undefined;
|
|
565
|
+
readonly ui_app?: {
|
|
566
|
+
readonly start_in_loading_mode?: boolean | undefined;
|
|
567
|
+
} | undefined;
|
|
568
|
+
readonly dsr?: {
|
|
569
|
+
readonly start_in_loading_mode?: boolean | undefined;
|
|
570
|
+
} | undefined;
|
|
571
|
+
readonly admin_instance?: {
|
|
572
|
+
readonly start_in_loading_mode?: boolean | undefined;
|
|
573
|
+
} | undefined;
|
|
574
|
+
readonly overlay_app?: {
|
|
575
|
+
readonly start_in_loading_mode?: boolean | undefined;
|
|
576
|
+
} | undefined;
|
|
577
|
+
readonly canvas_section_execution?: {
|
|
578
|
+
readonly start_in_loading_mode?: boolean | undefined;
|
|
579
|
+
} | undefined;
|
|
580
|
+
} | undefined;
|
|
581
|
+
readonly file: {
|
|
582
|
+
readonly id: import('../../../../types/openapi').FileRetrieve["id"];
|
|
583
|
+
readonly snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"] | undefined;
|
|
584
|
+
readonly name: import('../../../../types/openapi').FileRetrieve["name"];
|
|
585
|
+
readonly is_deleted?: boolean | undefined;
|
|
586
|
+
readonly content_url: import('../../../../types/openapi').FileRetrieve["content_url"];
|
|
587
|
+
readonly content_type: import('../../../../types/openapi').FileContentTypeEnum | null;
|
|
588
|
+
readonly content_extension: import('../../../../types/openapi').FileRetrieve["content_extension"];
|
|
589
|
+
readonly permissions?: {
|
|
590
|
+
readonly can_download?: boolean | undefined;
|
|
591
|
+
readonly can_share?: boolean | undefined;
|
|
592
|
+
} | undefined;
|
|
593
|
+
readonly thumbnail_url?: import('../../../../types/openapi').FileRetrieve["thumbnail_url"] | undefined;
|
|
594
|
+
readonly content_length?: import('../../../../types/openapi').FileRetrieve["content_length"] | undefined;
|
|
595
|
+
readonly content_thumbnails?: readonly string[] | null | undefined;
|
|
596
|
+
readonly pspdfkit_server_url?: import('../../../components/CFileViewer/CFileViewer.types').FileModel["pspdfkit_server_url"] | undefined;
|
|
597
|
+
readonly pspdfkit_auth_payload?: {
|
|
598
|
+
readonly [x: string]: any;
|
|
599
|
+
} | null | undefined;
|
|
600
|
+
} | null;
|
|
601
|
+
readonly settings?: {
|
|
602
|
+
readonly [x: string]: Readonly<unknown>;
|
|
603
|
+
} | undefined;
|
|
604
|
+
} | {
|
|
605
|
+
readonly items: readonly ({
|
|
606
|
+
readonly file: {
|
|
607
|
+
readonly id: import('../../../../types/openapi').FileRetrieve["id"];
|
|
608
|
+
readonly snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"] | undefined;
|
|
609
|
+
readonly name: import('../../../../types/openapi').FileRetrieve["name"];
|
|
610
|
+
readonly is_deleted?: boolean | undefined;
|
|
611
|
+
readonly content_url?: import('../../../../types/openapi').FileRetrieve["content_url"] | undefined;
|
|
612
|
+
readonly content_type?: (import('../../../../types/openapi').FileContentTypeEnum | null) | undefined;
|
|
613
|
+
readonly content_extension?: import('../../../../types/openapi').FileRetrieve["content_extension"] | undefined;
|
|
614
|
+
readonly permissions?: {
|
|
615
|
+
readonly can_download?: boolean | undefined;
|
|
616
|
+
readonly can_share?: boolean | undefined;
|
|
617
|
+
} | undefined;
|
|
618
|
+
};
|
|
619
|
+
readonly slide: {
|
|
620
|
+
readonly index: number;
|
|
621
|
+
readonly url?: import('../../../../types/openapi').FileRetrieve["content_thumbnails"][number] | undefined;
|
|
622
|
+
};
|
|
623
|
+
readonly type: "slide";
|
|
624
|
+
} | {
|
|
625
|
+
readonly file: {
|
|
626
|
+
readonly id: import('../../../../types/openapi').FileRetrieve["id"];
|
|
627
|
+
readonly snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"] | undefined;
|
|
628
|
+
readonly name: import('../../../../types/openapi').FileRetrieve["name"];
|
|
629
|
+
readonly is_deleted?: boolean | undefined;
|
|
630
|
+
readonly content_url: import('../../../../types/openapi').FileRetrieve["content_url"];
|
|
631
|
+
readonly content_type: import('../../../../types/openapi').FileContentTypeEnum | null;
|
|
632
|
+
readonly content_extension: import('../../../../types/openapi').FileRetrieve["content_extension"];
|
|
633
|
+
readonly permissions?: {
|
|
634
|
+
readonly can_download?: boolean | undefined;
|
|
635
|
+
readonly can_share?: boolean | undefined;
|
|
636
|
+
} | undefined;
|
|
637
|
+
readonly thumbnail_url?: import('../../../../types/openapi').FileRetrieve["thumbnail_url"] | undefined;
|
|
638
|
+
readonly content_length?: import('../../../../types/openapi').FileRetrieve["content_length"] | undefined;
|
|
639
|
+
readonly content_thumbnails?: readonly string[] | null | undefined;
|
|
640
|
+
readonly pspdfkit_server_url?: import('../../../components/CFileViewer/CFileViewer.types').FileModel["pspdfkit_server_url"] | undefined;
|
|
641
|
+
readonly pspdfkit_auth_payload?: {
|
|
642
|
+
readonly [x: string]: any;
|
|
643
|
+
} | null | undefined;
|
|
644
|
+
};
|
|
645
|
+
readonly type: "file";
|
|
646
|
+
})[];
|
|
647
|
+
readonly size?: "medium" | undefined;
|
|
648
|
+
readonly layout_type?: import('../types/canvas').ContentGridLayoutTypes | undefined;
|
|
649
|
+
} | {
|
|
650
|
+
readonly sections: readonly {
|
|
651
|
+
readonly id: string;
|
|
652
|
+
readonly style?: {
|
|
653
|
+
readonly [x: string]: any;
|
|
654
|
+
} | undefined;
|
|
655
|
+
readonly aspect_ratio?: ("unlocked" | "16:9" | "16:10" | "4:3" | "1:1") | undefined;
|
|
656
|
+
readonly background_video_url?: string | undefined;
|
|
657
|
+
}[];
|
|
658
|
+
readonly animation_in?: string | undefined;
|
|
659
|
+
} | {
|
|
660
|
+
readonly html: string;
|
|
661
|
+
} | {
|
|
662
|
+
readonly src: string | null;
|
|
663
|
+
readonly height?: string | undefined;
|
|
664
|
+
readonly width?: string | undefined;
|
|
665
|
+
readonly add_session_context?: boolean | undefined;
|
|
666
|
+
} | {
|
|
667
|
+
readonly alignment?: import('../types/canvas').LinkAlignmentTypes | undefined;
|
|
668
|
+
readonly background_color?: string | undefined;
|
|
669
|
+
readonly canvas_anchor?: string | undefined;
|
|
670
|
+
readonly color?: string | undefined;
|
|
671
|
+
readonly display_text?: string | undefined;
|
|
672
|
+
readonly file?: {
|
|
673
|
+
readonly id?: string | undefined;
|
|
674
|
+
readonly global_id?: string | undefined;
|
|
675
|
+
readonly name?: string | undefined;
|
|
676
|
+
readonly type?: import('../../../../types/openapi').FileTypeEnum | undefined;
|
|
677
|
+
readonly size?: number | null | undefined;
|
|
678
|
+
readonly status?: import('../../../../types/openapi').FileStatusEnum | undefined;
|
|
679
|
+
readonly content_type?: import('../../../../types/openapi').FileContentTypeEnum | undefined;
|
|
680
|
+
readonly content_extension?: string | null | undefined;
|
|
681
|
+
readonly content_length?: number | null | undefined;
|
|
682
|
+
readonly content_url?: string | null | undefined;
|
|
683
|
+
readonly original_extension?: string | null | undefined;
|
|
684
|
+
readonly thumbnail_url?: string | null | undefined;
|
|
685
|
+
readonly download_type?: import('../../../../types/openapi').DownloadTypeEnum | undefined;
|
|
686
|
+
readonly zip_size?: number | null | undefined;
|
|
687
|
+
readonly zip_url?: string | null | undefined;
|
|
688
|
+
readonly access_type?: import('../../../../types/openapi').AccessTypeEnum | undefined;
|
|
689
|
+
readonly role?: import('../../../../types/openapi').CollaborationRoleEnum | undefined;
|
|
690
|
+
readonly permissions?: {
|
|
691
|
+
readonly can_download?: boolean | undefined;
|
|
692
|
+
readonly can_share?: boolean | undefined;
|
|
693
|
+
} | undefined;
|
|
694
|
+
readonly metadata?: {
|
|
695
|
+
readonly [x: string]: any;
|
|
696
|
+
} | undefined;
|
|
697
|
+
readonly app_metadata?: {
|
|
698
|
+
readonly [x: string]: any;
|
|
699
|
+
} | undefined;
|
|
700
|
+
readonly tags?: readonly string[] | undefined;
|
|
701
|
+
readonly published_at?: string | null | undefined;
|
|
702
|
+
readonly expires_at?: (string | null) | undefined;
|
|
703
|
+
readonly instance_id?: string | undefined;
|
|
704
|
+
readonly folder_id?: string | undefined;
|
|
705
|
+
readonly shared_link?: {
|
|
706
|
+
readonly url: string;
|
|
707
|
+
readonly short_url?: (string | null) | undefined;
|
|
708
|
+
} | undefined;
|
|
709
|
+
readonly owned_by?: {
|
|
710
|
+
readonly id: number;
|
|
711
|
+
readonly name: string;
|
|
712
|
+
readonly email?: string | undefined;
|
|
713
|
+
} | undefined;
|
|
714
|
+
readonly created_at?: string | undefined;
|
|
715
|
+
readonly created_by?: {
|
|
716
|
+
readonly id: number;
|
|
717
|
+
readonly name: string;
|
|
718
|
+
readonly email?: string | undefined;
|
|
719
|
+
} | undefined;
|
|
720
|
+
readonly modified_at?: string | undefined;
|
|
721
|
+
readonly modified_by?: {
|
|
722
|
+
readonly id: number;
|
|
723
|
+
readonly name: string;
|
|
724
|
+
readonly email?: string | undefined;
|
|
725
|
+
} | undefined;
|
|
726
|
+
readonly page_index?: number | undefined;
|
|
727
|
+
} | null | undefined;
|
|
728
|
+
readonly font_family?: string | undefined;
|
|
729
|
+
readonly font_size?: number | undefined;
|
|
730
|
+
readonly link_type?: import('../types/canvas').LinkAnchorTypes | undefined;
|
|
731
|
+
readonly preview_type?: import('../types/canvas').LinkPreviewTypes | undefined;
|
|
732
|
+
readonly target?: ("_self" | "_blank") | undefined;
|
|
733
|
+
readonly url?: string | undefined;
|
|
734
|
+
} | {} | {
|
|
735
|
+
readonly aspect_ratio?: ("unlocked" | "16:9" | "16:10" | "4:3" | "1:1") | undefined;
|
|
736
|
+
readonly background_video_url?: string | undefined;
|
|
737
|
+
} | {
|
|
738
|
+
readonly events: readonly {
|
|
739
|
+
readonly top_hint?: string | undefined;
|
|
740
|
+
readonly top_hint_style?: {
|
|
741
|
+
readonly [x: string]: any;
|
|
742
|
+
} | undefined;
|
|
743
|
+
readonly title?: string | undefined;
|
|
744
|
+
readonly title_style?: {
|
|
745
|
+
readonly [x: string]: any;
|
|
746
|
+
} | undefined;
|
|
747
|
+
readonly description?: string | undefined;
|
|
748
|
+
readonly description_style?: {
|
|
749
|
+
readonly [x: string]: any;
|
|
750
|
+
} | undefined;
|
|
751
|
+
readonly image_url?: string | undefined;
|
|
752
|
+
readonly image_style?: {
|
|
753
|
+
readonly [x: string]: any;
|
|
754
|
+
} | undefined;
|
|
755
|
+
readonly icon?: string | undefined;
|
|
756
|
+
readonly icon_style?: {
|
|
757
|
+
readonly [x: string]: any;
|
|
758
|
+
} | undefined;
|
|
759
|
+
readonly card_style?: {
|
|
760
|
+
readonly [x: string]: any;
|
|
761
|
+
} | undefined;
|
|
762
|
+
}[];
|
|
763
|
+
readonly layout: "vertical" | "horizontal";
|
|
764
|
+
} | {
|
|
765
|
+
readonly groups: readonly {
|
|
766
|
+
readonly id: string;
|
|
767
|
+
readonly name: string;
|
|
768
|
+
readonly slides: readonly ({
|
|
769
|
+
readonly id: string;
|
|
770
|
+
readonly type: "slide";
|
|
771
|
+
readonly file: {
|
|
772
|
+
readonly metadata?: {
|
|
773
|
+
readonly [x: string]: any;
|
|
774
|
+
} | undefined;
|
|
775
|
+
readonly id: string;
|
|
776
|
+
readonly name?: string | undefined;
|
|
777
|
+
readonly type: import('../../../../types/openapi').FileTypeEnum;
|
|
778
|
+
readonly content_url: string | null;
|
|
779
|
+
readonly content_type: import('../../../../types/openapi').FileContentTypeEnum;
|
|
780
|
+
readonly thumbnail_url: string | null;
|
|
781
|
+
readonly permissions?: {
|
|
782
|
+
readonly can_download?: boolean | undefined;
|
|
783
|
+
readonly can_share?: boolean | undefined;
|
|
784
|
+
} | undefined;
|
|
785
|
+
readonly pspdfkit_server_url: string | null;
|
|
786
|
+
readonly pspdfkit_auth_payload: {
|
|
787
|
+
readonly [x: string]: any;
|
|
788
|
+
} | null;
|
|
789
|
+
readonly pspdfkit_document_id: string | null;
|
|
790
|
+
};
|
|
791
|
+
readonly slide: {
|
|
792
|
+
readonly index: number;
|
|
793
|
+
readonly url: import('../../../../types/openapi').FileRetrieve["thumbnail_url"];
|
|
794
|
+
};
|
|
795
|
+
} | {
|
|
796
|
+
readonly id: string;
|
|
797
|
+
readonly type: "file";
|
|
798
|
+
readonly file: {
|
|
799
|
+
readonly metadata?: {
|
|
800
|
+
readonly [x: string]: any;
|
|
801
|
+
} | undefined;
|
|
802
|
+
readonly id: string;
|
|
803
|
+
readonly name?: string | undefined;
|
|
804
|
+
readonly type: import('../../../../types/openapi').FileTypeEnum;
|
|
805
|
+
readonly content_url: string | null;
|
|
806
|
+
readonly content_type: import('../../../../types/openapi').FileContentTypeEnum;
|
|
807
|
+
readonly thumbnail_url: string | null;
|
|
808
|
+
readonly permissions?: {
|
|
809
|
+
readonly can_download?: boolean | undefined;
|
|
810
|
+
readonly can_share?: boolean | undefined;
|
|
811
|
+
} | undefined;
|
|
812
|
+
readonly pspdfkit_server_url: string | null;
|
|
813
|
+
readonly pspdfkit_auth_payload: {
|
|
814
|
+
readonly [x: string]: any;
|
|
815
|
+
} | null;
|
|
816
|
+
readonly pspdfkit_document_id: string | null;
|
|
817
|
+
};
|
|
818
|
+
})[];
|
|
819
|
+
}[];
|
|
820
|
+
readonly name: string;
|
|
821
|
+
} | undefined;
|
|
822
|
+
readonly children?: readonly any[] | undefined;
|
|
823
|
+
readonly when_used_in_section?: {
|
|
824
|
+
readonly is_editable: boolean;
|
|
825
|
+
readonly is_removable: boolean;
|
|
826
|
+
} | undefined;
|
|
827
|
+
readonly style?: {
|
|
828
|
+
readonly [x: string]: any;
|
|
829
|
+
} | undefined;
|
|
830
|
+
readonly tags?: readonly string[] | undefined;
|
|
831
|
+
}[];
|
|
832
|
+
}>>;
|
|
833
|
+
fetchBlock: (blockId: string) => Promise<CanvasRetrieve>;
|
|
834
|
+
getUserBlockOverrides: (blockId: string, componentId: string) => {};
|
|
835
|
+
saveBlockOverrides: (blockId: string, componentId: string, overrides: Record<string, any>) => Promise<void>;
|
|
836
|
+
cleanup: () => void;
|
|
837
|
+
};
|