@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 { CanvasRetrieve, CanvasCreateRequest, PatchedCanvasUpdateRequest, SharedLink, Instance, CanvasRecommendedFiles } from '../../../../types/openapi';
2
- import { GetCanvasesParams } from '../../../types/canvases';
2
+ import { GetCanvasesParams, CanvasIndicator } from '../../../types/canvases';
3
3
  import { PaginatedData } from '../../../types/paginatedData';
4
4
  /**
5
5
  * Fetches a list of canvases to use in your app.
@@ -44,6 +44,31 @@ export declare function updateCanvas(payload: PatchedCanvasUpdateRequest & {
44
44
  instance_id?: Instance['id'];
45
45
  fields?: string;
46
46
  }): Promise<CanvasRetrieve>;
47
+ /**
48
+ * Updates canvas indicators by canvas ID. It merges the passed object into existing canvas indicators adding new keys if they were empty and overriding pre-existing keys.
49
+ *
50
+ * Indicators can also be updated using updateCanvas API but in this case passed object fully replaces existing indicators.
51
+ *
52
+ * @example
53
+ * // The fields param is appended to the URL as a query param.
54
+ * onMounted(() => {
55
+ * PitcherAPI.updateCanvasIndicators({
56
+ * id: '01J9XT0WVXRTETF4CQZP42CPZP',
57
+ * indicators: {
58
+ * existing: { type: 'info', label: 'new label' }, // will be overriden
59
+ * new: { type: 'info', label: 'INFO' }, // will be added
60
+ * removeExisting: null // will be set to null and ignored, it is the same as removal
61
+ * }
62
+ * }).then((res) => {
63
+ * console.log(res) // entire canvas object, including indicators field
64
+ * })
65
+ * })
66
+ */
67
+ export declare function updateCanvasIndicators(payload: {
68
+ indicators: Record<string, CanvasIndicator>;
69
+ id: CanvasRetrieve['id'];
70
+ instance_id?: Instance['id'];
71
+ }): Promise<CanvasRetrieve>;
47
72
  export declare function getCanvas(payload: {
48
73
  id: CanvasRetrieve['id'];
49
74
  fields?: string;
@@ -10,7 +10,7 @@ export declare function close(): Promise<void>;
10
10
  * Fetches a file by ID.
11
11
  *
12
12
  * @example
13
- * adminApi.getFile({ id: 'my-file-id' })
13
+ * dsrApi.getFile({ id: 'my-file-id' })
14
14
  */
15
15
  export declare function getFile(payload: {
16
16
  id: File['id'];
@@ -25,6 +25,16 @@ export declare function appLoaded(): Promise<void>;
25
25
  * @param payload object containing requested height of the iframe as the number of pixels
26
26
  */
27
27
  export declare function appResize(payload: UiAppResizeRequest): Promise<void>;
28
+ /**
29
+ * Close the Canvas Section Execution modal. Only takes effect for `canvas_section_execution` app modules
30
+ *
31
+ * Note that this method simply closes the modal and will result in the app calling it being unmounted from the DOM and
32
+ * destroyed. Make sure your app has finished updating data before you call this method.
33
+ *
34
+ * @example
35
+ * useUi().closeCanvasSectionExecution()
36
+ */
37
+ export declare function closeCanvasSectionExecution(): Promise<void>;
28
38
  /**
29
39
  * Navigate to the next page in the current canvas. Noop if the current page is the last one.
30
40
  *
@@ -124,6 +124,7 @@ declare const _default: {
124
124
  updateCanvas(payload: import('./types.ui').UiUpdateCanvasRequest): Promise<import('../../../../main.lib').CanvasRetrieve>;
125
125
  appLoaded(): Promise<void>;
126
126
  appResize(payload: import('./types.ui').UiAppResizeRequest): Promise<void>;
127
+ closeCanvasSectionExecution(): Promise<void>;
127
128
  canvasNavigateNextPage(): Promise<void>;
128
129
  canvasNavigatePreviousPage(): Promise<void>;
129
130
  canvasNavigatePage(payload: import('./types.ui').UiCanvasNavigatePageRequest): Promise<void>;
@@ -1,6 +1,6 @@
1
1
  import { UiCompletePostcallRequest, UiSetPostcallStyleRequest } from './types.ui';
2
2
  /**
3
- * Ends current meeting and shows postcall form.
3
+ * Completes the postcall stage (with successful submission or not)
4
4
  *
5
5
  * @example
6
6
  * useUi().completePostcall({ was_successfully_submitted: true })
@@ -1,7 +1,7 @@
1
- import { SelectedPage as ContentSelectorSelectedPage, SelectedFile as ContentSelectorSelectedFile, SelectorType } from '@content-selector/stores/app';
2
- import { Selection } from '@content-selector/appTypes';
3
- import { CanvasSelection } from '@canvas-selector/appTypes';
4
- import { ComponentNode, EmbeddableProps } from '@canvas-builder/types/canvas';
1
+ import { SelectedPage as ContentSelectorSelectedPage, SelectedFile as ContentSelectorSelectedFile, SelectorType } from '../../../../apps/content-selector/stores/app';
2
+ import { Selection } from '../../../../apps/content-selector/appTypes';
3
+ import { CanvasSelection } from '../../../../apps/canvas-selector/appTypes';
4
+ import { ComponentNode, EmbeddableProps } from '../../../../apps/canvas-builder/types/canvas';
5
5
  import { SfEvent } from '../../../../types/sfdc';
6
6
  import { Mutable } from '../../../../types/ts';
7
7
  import { CanvasRetrieve, User, Canvas, CanvasSection, FileContentTypeEnum } from '../../../../../types/openapi';
@@ -33,6 +33,7 @@ export declare const UI_API_METHOD_TYPES: {
33
33
  readonly UI_CANVAS_NAVIGATE_PAGE: "ui_canvas_navigate_page";
34
34
  readonly UI_APP_LOADED: "ui_app_loaded";
35
35
  readonly UI_APP_RESIZE: "ui_app_resize";
36
+ readonly UI_CLOSE_CANVAS_SECTION_EXECUTION: "ui_close_canvas_section_execution";
36
37
  };
37
38
  export declare const UI_MESSAGE_TYPES: {
38
39
  readonly UI_MEETING_CANCELED: "ui_meeting_canceled";
package/lib/sdk/main.d.ts CHANGED
@@ -35,6 +35,7 @@ export declare function useUi(): {
35
35
  updateCanvas(payload: import('./api/modules/ui/types.ui').UiUpdateCanvasRequest): Promise<import('../main.lib').CanvasRetrieve>;
36
36
  appLoaded(): Promise<void>;
37
37
  appResize(payload: import('./api/modules/ui/types.ui').UiAppResizeRequest): Promise<void>;
38
+ closeCanvasSectionExecution(): Promise<void>;
38
39
  canvasNavigateNextPage(): Promise<void>;
39
40
  canvasNavigatePreviousPage(): Promise<void>;
40
41
  canvasNavigatePage(payload: import('./api/modules/ui/types.ui').UiCanvasNavigatePageRequest): Promise<void>;
@@ -189,6 +190,11 @@ export declare function useApi(options?: ApiOptions): {
189
190
  instance_id?: import('../main.lib').Instance["id"];
190
191
  fields?: string;
191
192
  }): Promise<import('../main.lib').CanvasRetrieve>;
193
+ updateCanvasIndicators(payload: {
194
+ indicators: Record<string, import('../main.lib').CanvasIndicator>;
195
+ id: import('../main.lib').CanvasRetrieve["id"];
196
+ instance_id?: import('../main.lib').Instance["id"];
197
+ }): Promise<import('../main.lib').CanvasRetrieve>;
192
198
  getCanvas(payload: {
193
199
  id: import('../main.lib').CanvasRetrieve["id"];
194
200
  fields?: string;
@@ -353,6 +359,7 @@ export declare function useApi(options?: ApiOptions): {
353
359
  updateCanvas(payload: import('./api/modules/ui/types.ui').UiUpdateCanvasRequest): Promise<import('../main.lib').CanvasRetrieve>;
354
360
  appLoaded(): Promise<void>;
355
361
  appResize(payload: import('./api/modules/ui/types.ui').UiAppResizeRequest): Promise<void>;
362
+ closeCanvasSectionExecution(): Promise<void>;
356
363
  canvasNavigateNextPage(): Promise<void>;
357
364
  canvasNavigatePreviousPage(): Promise<void>;
358
365
  canvasNavigatePage(payload: import('./api/modules/ui/types.ui').UiCanvasNavigatePageRequest): Promise<void>;
@@ -417,6 +424,11 @@ export declare function useApi(options?: ApiOptions): {
417
424
  instance_id?: import('../main.lib').Instance["id"];
418
425
  fields?: string;
419
426
  }): Promise<import('../main.lib').CanvasRetrieve>;
427
+ updateCanvasIndicators(payload: {
428
+ indicators: Record<string, import('../main.lib').CanvasIndicator>;
429
+ id: import('../main.lib').CanvasRetrieve["id"];
430
+ instance_id?: import('../main.lib').Instance["id"];
431
+ }): Promise<import('../main.lib').CanvasRetrieve>;
420
432
  getCanvas(payload: {
421
433
  id: import('../main.lib').CanvasRetrieve["id"];
422
434
  fields?: string;
@@ -533,6 +545,7 @@ export declare function useApi(options?: ApiOptions): {
533
545
  updateCanvas(payload: import('./api/modules/ui/types.ui').UiUpdateCanvasRequest): Promise<import('../main.lib').CanvasRetrieve>;
534
546
  appLoaded(): Promise<void>;
535
547
  appResize(payload: import('./api/modules/ui/types.ui').UiAppResizeRequest): Promise<void>;
548
+ closeCanvasSectionExecution(): Promise<void>;
536
549
  canvasNavigateNextPage(): Promise<void>;
537
550
  canvasNavigatePreviousPage(): Promise<void>;
538
551
  canvasNavigatePage(payload: import('./api/modules/ui/types.ui').UiCanvasNavigatePageRequest): Promise<void>;
@@ -588,6 +601,11 @@ export declare function useApi(options?: ApiOptions): {
588
601
  deleteCanvas(payload: {
589
602
  id: import('../main.lib').CanvasRetrieve["id"];
590
603
  }): Promise<import('../main.lib').CanvasRetrieve>;
604
+ updateCanvasIndicators(payload: {
605
+ indicators: Record<string, import('../main.lib').CanvasIndicator>;
606
+ id: import('../main.lib').CanvasRetrieve["id"];
607
+ instance_id?: import('../main.lib').Instance["id"];
608
+ }): Promise<import('../main.lib').CanvasRetrieve>;
591
609
  getCanvas(payload: {
592
610
  id: import('../main.lib').CanvasRetrieve["id"];
593
611
  fields?: string;
@@ -1,3 +1,3 @@
1
- import { BasicPalette } from '@theme/theme.types';
1
+ import { BasicPalette } from './theme.types';
2
2
  export declare const GRAY_PRIMARY_VARIANTS: Partial<BasicPalette>;
3
3
  export declare const DEFAULT_LIGHT_PALETTE: BasicPalette;
@@ -1,5 +1,5 @@
1
1
  import { ThemeCommonVars } from 'naive-ui';
2
- import { BasicPalette } from '@theme/theme.types';
2
+ import { BasicPalette } from './theme.types';
3
3
  export declare const lightPalette: import('vue').Ref<{
4
4
  base: string;
5
5
  primary: string;
@@ -1 +1 @@
1
- export { lightPalette, lightThemeOverrides } from '@theme/light';
1
+ export { lightPalette, lightThemeOverrides } from './light';
@@ -1,4 +1,4 @@
1
- import { BasicPalette } from '@theme/theme.types';
1
+ import { BasicPalette } from './theme.types';
2
2
  import { Paragraphs } from '../components/CRichTextEditor/extensions/paragraphExtended';
3
3
  export declare const fontSizePresets: number[];
4
4
  export declare function exportObjectToGlobalCssProperties(colorPalette: Partial<BasicPalette>): void;
@@ -1,5 +1,5 @@
1
1
  import { File, MetadataTemplateFieldTypeEnum } from '../../types/openapi';
2
- export type EmbedLocation = 'ui_app' | 'canvas' | 'dsr' | 'admin_instance' | 'overlay_app';
2
+ export type EmbedLocation = 'ui_app' | 'canvas' | 'dsr' | 'admin_instance' | 'overlay_app' | 'canvas_section_execution';
3
3
  export type ModuleSettingsOption = {
4
4
  label: string;
5
5
  value: string;
@@ -21,4 +21,12 @@ export declare enum CanvasStatus {
21
21
  READY = "ready",
22
22
  DRAFT = "draft"
23
23
  }
24
- export type CanvasType = 'template' | 'section-template' | 'section' | 'canvas';
24
+ export type CanvasType = 'template' | 'section-template' | 'section' | 'canvas' | 'block';
25
+ export interface CanvasIndicator {
26
+ icon: string;
27
+ key: string;
28
+ text: string;
29
+ type?: 'default' | 'primary' | 'info' | 'success' | 'warning' | 'error';
30
+ background_color?: string;
31
+ color?: string;
32
+ }
@@ -0,0 +1,15 @@
1
+ import { FileRetrieve } from '../../types/openapi';
2
+ export type FilePageInfo = {
3
+ name?: string | null;
4
+ tags?: string[];
5
+ };
6
+ export type FilePageMetadata = Record<string, any>;
7
+ export type FileMetadata = {
8
+ pagesInfo?: Record<string, FilePageInfo>;
9
+ pagesMetadata?: Record<string, Record<string, any>>;
10
+ [key: string]: any;
11
+ };
12
+ export interface PitcherFile extends Omit<FileRetrieve, 'metadata'> {
13
+ isDeleted?: boolean;
14
+ metadata: FileMetadata;
15
+ }
@@ -1,6 +1,6 @@
1
1
  import { Favorite, FileCreateRequest } from '../../types/openapi';
2
2
  import { RecentFile } from './recentFiles.types';
3
- import { CompactFile, CompactFolder } from '@browser/stores/api';
3
+ import { CompactFile, CompactFolder } from '../apps/browser/stores/api';
4
4
  export interface DeviceFileCreateRequest extends Omit<FileCreateRequest, 'content'> {
5
5
  path: string;
6
6
  }
@@ -1,4 +1,4 @@
1
- export type LaunchDarklyBooleanFlagKey = 'allow_ai_prompts_in_canvas_text' | 'allow_bulk_actions_canvases_files' | 'allow_canvas_duplication' | 'allow_canvas_history' | 'allow_canvas_ownership_change' | 'allow_content_grid_autofill' | 'allow_creating_canvas_with_no_template' | 'allow_embeddable_hiding' | 'allow_note_taking' | 'allow_rep_canvas_metadata_edit' | 'allow_rep_file_rating' | 'allow_rep_file_upload' | 'are_sections_system_controlled' | 'copy_context_to_canvas' | 'copy_template_metadata_to_canvas' | 'disable_canvas_edit_for_reps' | 'disable_file_edit_content' | 'disable_fullscreen_canvas_builder' | 'disable_impact_web_browser_fullscreen' | 'display_section_list_name' | 'enable_analytics' | 'enable_bulk_update_file_attributes' | 'enable_canvas_node_debugging' | 'enable_canvas_tokens' | 'enable_experimental_canvas_builder_dnd' | 'enable_knock_notifications' | 'enable_metadata_in_file_uploads_with_default_values' | 'enable_pipe_character_multi_search' | 'enable_section_selector_drag_n_drop' | 'hide_asset_uploader' | 'interpolate_rep_canvases_on_edit_mode' | 'is_fe_sentry_enabled' | 'is_meeting_bar_account_selection_disabled' | 'is_meeting_bar_hidden' | 'is_rep_canvas_creation_disabled' | 'is_shared_link_creation_disabled' | 'is_timeline_component_allowed' | 'launch_in_full_screen_on_present_mode' | 'launch_in_present_mode_on_creation' | 'reorder_component_in_drawer' | 'show_asset_manager_for_multimedia' | 'show_content_selector_list_view' | 'show_popularity_icons' | 'show_system_filters' | 'allow_canvases_tables_columns_settings' | 'prefer_online_handlers' | 'use_short_url_for_shared_link' | 'enable_suggested_tags' | 'enable_folder_details_edit' | 'enable_file_revisions' | 'show_clear_all_annotations_button' | 'allow_saving_annotations_in_personal_layer' | 'enable_embedded_video' | 'enable_embedded_video_autoplay' | 'enable_app_developer_role' | 'enable_instance_editor_role' | 'include_files_content_in_print' | 'enable_multimedia_component_ai_images' | 'enable_smart_folders' | 'enable_revamped_component_toolbar';
1
+ export type LaunchDarklyBooleanFlagKey = 'allow_ai_prompts_in_canvas_text' | 'allow_bulk_actions_canvases_files' | 'allow_canvas_duplication' | 'allow_canvas_history' | 'allow_canvas_ownership_change' | 'allow_content_grid_autofill' | 'allow_creating_canvas_with_no_template' | 'allow_embeddable_hiding' | 'allow_note_taking' | 'allow_rep_canvas_metadata_edit' | 'allow_rep_file_rating' | 'allow_rep_file_upload' | 'are_sections_system_controlled' | 'copy_context_to_canvas' | 'copy_template_metadata_to_canvas' | 'disable_canvas_edit_for_reps' | 'disable_file_edit_content' | 'disable_fullscreen_canvas_builder' | 'disable_impact_web_browser_fullscreen' | 'display_section_list_name' | 'enable_analytics' | 'enable_bulk_update_file_attributes' | 'enable_canvas_node_debugging' | 'enable_canvas_tokens' | 'enable_experimental_canvas_builder_dnd' | 'enable_knock_notifications' | 'enable_metadata_in_file_uploads_with_default_values' | 'enable_pipe_character_multi_search' | 'enable_section_selector_drag_n_drop' | 'hide_asset_uploader' | 'interpolate_rep_canvases_on_edit_mode' | 'is_fe_sentry_enabled' | 'is_meeting_bar_account_selection_disabled' | 'is_meeting_bar_hidden' | 'is_rep_canvas_creation_disabled' | 'is_shared_link_creation_disabled' | 'is_timeline_component_allowed' | 'launch_in_full_screen_on_present_mode' | 'launch_in_present_mode_on_creation' | 'reorder_component_in_drawer' | 'show_asset_manager_for_multimedia' | 'show_content_selector_list_view' | 'show_popularity_icons' | 'show_system_filters' | 'allow_canvases_tables_columns_settings' | 'prefer_online_handlers' | 'use_short_url_for_shared_link' | 'enable_suggested_tags' | 'enable_folder_details_edit' | 'enable_file_revisions' | 'show_clear_all_annotations_button' | 'allow_saving_annotations_in_personal_layer' | 'enable_embedded_video' | 'enable_embedded_video_autoplay' | 'enable_app_developer_role' | 'enable_instance_editor_role' | 'include_files_content_in_print' | 'enable_multimedia_component_ai_images' | 'enable_smart_folders' | 'enable_revamped_component_toolbar' | 'enable_create_section_from_section_template' | 'enable_canvas_blocks' | 'enable_enhanced_indicators' | 'enable_file_pages_metadata';
2
2
  export type LaunchDarklyNumberFlagKey = 'canvas_section_selector_page_size' | 'canvas_section_selector_selected_items_with_thumbnail_size';
3
3
  type LaunchDarklyObjectFlags = {
4
4
  canvas_table_pagination: CanvasTablePagination;
@@ -11,6 +11,8 @@ declare const LaunchDarklyStringFlags: {
11
11
  readonly section_list_mode: readonly ["pagination", "collapsibles"];
12
12
  readonly canvas_component_grouping: readonly ["page", "page_break", "none"];
13
13
  readonly batch_open_content_grid_ar_files: readonly ["off", "simultaneous", "swap"];
14
+ readonly section_selector_drag_n_drop_batch_add_style: readonly ["button", "buttons", "dropdown"];
15
+ readonly pspdfkit_client_version: readonly ["2024.6.0", "2024.7.0"];
14
16
  };
15
17
  type LaunchDarklyStringFlagValue<K extends LaunchDarklyStringFlagKey = LaunchDarklyStringFlagKey> = K extends LaunchDarklyStringFlagKey ? (typeof LaunchDarklyStringFlags)[K][number] : never;
16
18
  type CanvasManagerVisibility = {
@@ -7,6 +7,8 @@ type SmartFolderRuleAttribute = {
7
7
  display_name: string;
8
8
  };
9
9
  type SmartFolderRuleAttributes = {
10
+ max_sync_limit?: number;
11
+ sync_chunk_size?: number;
10
12
  files?: SmartFolderRuleAttribute[];
11
13
  canvas?: SmartFolderRuleAttribute[];
12
14
  canvas_templates?: SmartFolderRuleAttribute[];
@@ -24,6 +26,7 @@ export type OrganizationSettings = {
24
26
  section_thumbnail_url_transformer?: string;
25
27
  pipe_multi_search_separator?: string;
26
28
  enable_crm_privacy_mode?: boolean;
29
+ enable_indicators?: boolean;
27
30
  smart_folder_rule_attributes?: SmartFolderRuleAttributes;
28
31
  ios?: OrganizationSettings;
29
32
  };
@@ -1,4 +1,4 @@
1
- import { FontAwesomeType } from '@canvas-builder/types/font-awesome.types';
1
+ import { FontAwesomeType } from '../apps/canvas-builder/types/font-awesome.types';
2
2
  export declare function applyFont(dataUrl: string | ArrayBuffer | null, fontName: string): void;
3
3
  export declare function getFontAwesomeIconNameAndType(icon?: string): {
4
4
  name: string;
@@ -1,5 +1,5 @@
1
1
  import { PaginatedData } from '../types/paginatedData';
2
- export declare const fetchAll: <T>(reqFunction: (reqParams: any) => Promise<PaginatedData<T>>, reqParams?: any) => Promise<T[]>;
2
+ export declare const fetchAll: <T>(reqFunction: (reqParams: any) => Promise<PaginatedData<T>>, reqParams?: any, maxLimit?: number) => Promise<T[]>;
3
3
  export declare function fetchFirstChunkAndRemainingAsync<T>(reqFunction: (reqParams: any) => Promise<PaginatedData<T>>, reqParams?: any): Promise<[T[], Promise<T[]>]>;
4
4
  export declare function urlSafeFetchInChunks<T>(ids: (string | number)[], fetchFunction: (chunk: (string | number)[]) => Promise<{
5
5
  results: T[];
@@ -0,0 +1,3 @@
1
+ import { OrganizationSettings } from '../types/organizationSettings.types';
2
+ import { InstanceSettings } from '../types/instanceSettings.types';
3
+ export declare const createPitcherSettings: (organizationSettings: OrganizationSettings, instanceSettings: InstanceSettings) => any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pitcher/js-api",
3
- "version": "1.22.0-rc.2",
3
+ "version": "1.23.0-rc.1",
4
4
  "type": "module",
5
5
  "main": "js-api.umd.min.js",
6
6
  "module": "js-api.esm.js",
@@ -203,13 +203,14 @@ export type { PaginatedRevisionList } from './models/PaginatedRevisionList';
203
203
  export type { PaginatedSearchResultList } from './models/PaginatedSearchResultList';
204
204
  export type { PaginatedStorageRegionList } from './models/PaginatedStorageRegionList';
205
205
  export type { PaginatedUserList } from './models/PaginatedUserList';
206
+ export type { PatchedCanvasIndicatorsRequest } from './models/PatchedCanvasIndicatorsRequest';
206
207
  export type { PatchedCanvasUpdateRequest } from './models/PatchedCanvasUpdateRequest';
207
208
  export type { PatchedCollaborationRequest } from './models/PatchedCollaborationRequest';
208
209
  export type { PatchedContentDistributionGroupRequest } from './models/PatchedContentDistributionGroupRequest';
209
210
  export type { PatchedEnvironmentRequest } from './models/PatchedEnvironmentRequest';
210
211
  export type { PatchedEventRequest } from './models/PatchedEventRequest';
211
212
  export type { PatchedFavoriteUpdateRequest } from './models/PatchedFavoriteUpdateRequest';
212
- export type { PatchedFileRequest } from './models/PatchedFileRequest';
213
+ export type { PatchedFilePublishRequest } from './models/PatchedFilePublishRequest';
213
214
  export type { PatchedFileRevisionRequest } from './models/PatchedFileRevisionRequest';
214
215
  export type { PatchedFileUpdateRequest } from './models/PatchedFileUpdateRequest';
215
216
  export type { PatchedFolderUpdateRequest } from './models/PatchedFolderUpdateRequest';
@@ -1,4 +1,4 @@
1
1
  export type Account = {
2
2
  id: string;
3
- name: string;
3
+ name?: string;
4
4
  };
@@ -1,4 +1,4 @@
1
1
  export type AccountRequest = {
2
2
  id: string;
3
- name: string;
3
+ name?: string;
4
4
  };
@@ -1,4 +1,4 @@
1
1
  export type AppsDBEntry = {
2
- value: string | null;
2
+ value: (string | number | Record<string, any>) | null;
3
3
  readonly modified_at: string;
4
4
  };
@@ -1,3 +1,3 @@
1
1
  export type AppsDBEntryRequest = {
2
- value: string | null;
2
+ value: (string | number | Record<string, any>) | null;
3
3
  };
@@ -6,9 +6,11 @@ import { MiniUser } from './MiniUser';
6
6
  export type Canvas = {
7
7
  readonly id: string;
8
8
  name: string;
9
+ indicators?: Record<string, any> | null;
9
10
  is_draft?: boolean;
10
11
  is_template?: boolean;
11
12
  is_section?: boolean;
13
+ is_block?: boolean;
12
14
  is_editable?: boolean;
13
15
  is_default?: boolean;
14
16
  metadata?: Record<string, any>;
@@ -10,10 +10,12 @@ export type CanvasCreate = {
10
10
  name: string;
11
11
  content?: Record<string, any>;
12
12
  context?: Record<string, any>;
13
+ indicators?: Record<string, any> | null;
13
14
  theme?: Record<string, any> | null;
14
15
  is_draft?: boolean;
15
16
  is_template?: boolean;
16
17
  is_section?: boolean;
18
+ is_block?: boolean;
17
19
  is_editable?: boolean;
18
20
  is_default?: boolean;
19
21
  metadata?: Record<string, any>;
@@ -5,10 +5,12 @@ export type CanvasCreateRequest = {
5
5
  name: string;
6
6
  content?: Record<string, any>;
7
7
  context?: Record<string, any>;
8
+ indicators?: Record<string, any> | null;
8
9
  theme?: Record<string, any> | null;
9
10
  is_draft?: boolean;
10
11
  is_template?: boolean;
11
12
  is_section?: boolean;
13
+ is_block?: boolean;
12
14
  is_editable?: boolean;
13
15
  is_default?: boolean;
14
16
  metadata?: Record<string, any>;
@@ -10,10 +10,12 @@ export type CanvasRetrieve = {
10
10
  name: string;
11
11
  content?: Record<string, any>;
12
12
  context?: Record<string, any>;
13
+ indicators?: Record<string, any> | null;
13
14
  theme?: Record<string, any> | null;
14
15
  is_draft?: boolean;
15
16
  is_template?: boolean;
16
17
  is_section?: boolean;
18
+ is_block?: boolean;
17
19
  is_editable?: boolean;
18
20
  is_default?: boolean;
19
21
  metadata?: Record<string, any>;
@@ -10,10 +10,12 @@ export type CanvasUpdate = {
10
10
  name: string;
11
11
  content?: Record<string, any>;
12
12
  context?: Record<string, any>;
13
+ indicators?: Record<string, any> | null;
13
14
  theme?: Record<string, any> | null;
14
15
  is_draft?: boolean;
15
16
  is_template?: boolean;
16
17
  is_section?: boolean;
18
+ is_block?: boolean;
17
19
  is_editable?: boolean;
18
20
  is_default?: boolean;
19
21
  metadata?: Record<string, any>;
@@ -4,10 +4,12 @@ export type CanvasUpdateRequest = {
4
4
  name: string;
5
5
  content?: Record<string, any>;
6
6
  context?: Record<string, any>;
7
+ indicators?: Record<string, any> | null;
7
8
  theme?: Record<string, any> | null;
8
9
  is_draft?: boolean;
9
10
  is_template?: boolean;
10
11
  is_section?: boolean;
12
+ is_block?: boolean;
11
13
  is_editable?: boolean;
12
14
  is_default?: boolean;
13
15
  metadata?: Record<string, any>;
@@ -6,9 +6,11 @@ import { MiniUser } from './MiniUser';
6
6
  export type DeletedCanvas = {
7
7
  readonly id: string;
8
8
  name: string;
9
+ indicators?: Record<string, any> | null;
9
10
  is_draft?: boolean;
10
11
  is_template?: boolean;
11
12
  is_section?: boolean;
13
+ is_block?: boolean;
12
14
  is_editable?: boolean;
13
15
  is_default?: boolean;
14
16
  metadata?: Record<string, any>;
@@ -14,6 +14,6 @@ export type FolderCreateRequest = {
14
14
  access_type?: AccessTypeEnum;
15
15
  rules?: Array<FolderRuleRequest>;
16
16
  parent_folder_id: string;
17
- thumbnail_id?: string;
17
+ thumbnail_id?: string | null;
18
18
  owned_by_id?: number | null;
19
19
  };
@@ -12,6 +12,6 @@ export type FolderUpdateRequest = {
12
12
  access_type?: AccessTypeEnum;
13
13
  rules?: Array<FolderRuleRequest>;
14
14
  parent_folder_id?: string;
15
- thumbnail_id?: string;
15
+ thumbnail_id?: string | null;
16
16
  owned_by_id?: number | null;
17
17
  };
@@ -0,0 +1,3 @@
1
+ export type PatchedCanvasIndicatorsRequest = {
2
+ indicators?: Record<string, any>;
3
+ };
@@ -4,10 +4,12 @@ export type PatchedCanvasUpdateRequest = {
4
4
  name?: string;
5
5
  content?: Record<string, any>;
6
6
  context?: Record<string, any>;
7
+ indicators?: Record<string, any> | null;
7
8
  theme?: Record<string, any> | null;
8
9
  is_draft?: boolean;
9
10
  is_template?: boolean;
10
11
  is_section?: boolean;
12
+ is_block?: boolean;
11
13
  is_editable?: boolean;
12
14
  is_default?: boolean;
13
15
  metadata?: Record<string, any>;
@@ -0,0 +1,3 @@
1
+ export type PatchedFilePublishRequest = {
2
+ instant_json?: Record<string, any>;
3
+ };
@@ -12,6 +12,6 @@ export type PatchedFolderUpdateRequest = {
12
12
  access_type?: AccessTypeEnum;
13
13
  rules?: Array<FolderRuleRequest>;
14
14
  parent_folder_id?: string;
15
- thumbnail_id?: string;
15
+ thumbnail_id?: string | null;
16
16
  owned_by_id?: number | null;
17
17
  };
@@ -3,4 +3,5 @@ export type SharedLinkInstance = {
3
3
  name: string;
4
4
  logo?: string | null;
5
5
  color?: string | null;
6
+ settings?: any;
6
7
  };
@@ -2,4 +2,5 @@ export type SharedLinkInstanceRequest = {
2
2
  name: string;
3
3
  logo?: Blob | null;
4
4
  color?: string | null;
5
+ settings?: any;
5
6
  };
@@ -3,4 +3,5 @@ export type SharedLinkOrganization = {
3
3
  name: string;
4
4
  display_name?: string | null;
5
5
  metadata?: any;
6
+ settings?: any;
6
7
  };
@@ -3,4 +3,5 @@ export type SharedLinkOrganizationRequest = {
3
3
  name: string;
4
4
  display_name?: string | null;
5
5
  metadata?: any;
6
+ settings?: any;
6
7
  };
@@ -1,2 +0,0 @@
1
- declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2
- export default _default;
@@ -1,15 +0,0 @@
1
- import { AccessTypeEnum } from './AccessTypeEnum';
2
- import { DownloadTypeEnum } from './DownloadTypeEnum';
3
- import { FilePermissionRequest } from './FilePermissionRequest';
4
- export type PatchedFileRequest = {
5
- name?: string;
6
- download_type?: DownloadTypeEnum;
7
- access_type?: AccessTypeEnum;
8
- permissions?: FilePermissionRequest;
9
- metadata?: Record<string, any>;
10
- app_metadata?: Record<string, any>;
11
- tags?: Array<string>;
12
- expires_at?: string | null;
13
- folder_id?: string;
14
- owned_by_id?: number | null;
15
- };