@pitcher/js-api 1.22.0-alpha.0 → 1.22.0-alpha.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.
- package/js-api.esm.d.ts +1 -0
- package/lib/api/apps/apps.queries.d.ts +3 -0
- package/lib/api/canvases/canvases.queries.d.ts +15 -0
- package/lib/api/events/events.helpers.d.ts +29 -0
- package/lib/api/events/events.queries.d.ts +10 -0
- package/lib/api/users/users.queries.d.ts +5 -0
- package/lib/apps/browser/composables/useAppEmit.d.ts +3 -0
- package/lib/apps/browser/stores/api.d.ts +575 -0
- package/lib/apps/browser/stores/api.test.d.ts +1 -0
- package/lib/apps/browser/stores/app.d.ts +117 -0
- package/lib/apps/browser/stores/app.test.d.ts +1 -0
- package/lib/apps/browser/stores/upload.d.ts +101 -0
- package/lib/apps/browser/stores/upload.types.d.ts +18 -0
- package/lib/apps/browser/util/file.d.ts +3 -0
- package/lib/apps/canvas-builder/App.helpers.d.ts +12 -0
- package/lib/apps/canvas-builder/components/ui/Link/Link.util.d.ts +13 -0
- package/lib/apps/canvas-builder/composables/useCanvas.d.ts +12735 -0
- package/lib/apps/canvas-builder/composables/useCanvasHistory.d.ts +1784 -0
- package/lib/apps/canvas-builder/composables/useCanvasHooks.d.ts +25 -0
- package/lib/apps/canvas-builder/composables/useCanvasPages.d.ts +34 -0
- package/lib/apps/canvas-builder/composables/useCanvasPages.spec.d.ts +1 -0
- package/lib/apps/canvas-builder/composables/useCanvasSectionOverrides.d.ts +29 -0
- package/lib/apps/canvas-builder/composables/useCanvasTheme.d.ts +76 -0
- package/lib/apps/canvas-builder/composables/useCanvasVisibility.d.ts +8 -0
- package/lib/apps/canvas-builder/composables/useCollapsibles.d.ts +14 -0
- package/lib/apps/canvas-builder/composables/useComponentPermissions.d.ts +14 -0
- package/lib/apps/canvas-builder/composables/useContentSelector.d.ts +49 -0
- package/lib/apps/canvas-builder/composables/useFetchSectionAnalytics.d.ts +3 -0
- package/lib/apps/canvas-builder/composables/useNavigatorDrawer.d.ts +6 -0
- package/lib/apps/canvas-builder/composables/usePitcherEvents.d.ts +5 -0
- package/lib/apps/canvas-builder/composables/useRecommendations.d.ts +50 -0
- package/lib/apps/canvas-builder/composables/useReorderComponent.d.ts +16 -0
- package/lib/apps/canvas-builder/composables/useSectionNavigation.d.ts +16 -0
- package/lib/apps/canvas-builder/composables/useSectionPopularity.d.ts +34 -0
- package/lib/apps/canvas-builder/constants/canvas.const.d.ts +15 -0
- package/lib/apps/canvas-builder/constants/defaults.const.d.ts +1 -0
- package/lib/apps/canvas-builder/constants/index.d.ts +3 -0
- package/lib/apps/canvas-builder/constants/sizes.d.ts +2 -0
- package/lib/apps/canvas-builder/types/canvas.d.ts +466 -0
- package/lib/apps/canvas-builder/types/font-awesome.types.d.ts +2 -0
- package/lib/apps/canvas-builder/types/recommendations.types.d.ts +28 -0
- package/lib/apps/canvas-builder/util/canvas.util.d.ts +44 -0
- package/lib/apps/canvas-builder/util/canvas.util.test.d.ts +1 -0
- package/lib/apps/canvas-builder/util/clone.d.ts +1 -0
- package/lib/apps/canvas-builder/util/file.util.d.ts +6 -0
- package/lib/apps/canvas-builder/util/tree.d.ts +24 -0
- package/lib/apps/canvas-builder/util/tree.test.d.ts +1 -0
- package/lib/apps/canvas-builder/util/tsUtils.d.ts +3 -0
- package/lib/apps/canvas-builder/util/url.d.ts +5 -0
- package/lib/apps/canvas-builder/util/url.test.d.ts +1 -0
- package/lib/apps/content-selector/appTypes.d.ts +43 -0
- package/lib/apps/content-selector/stores/app.d.ts +82 -0
- package/lib/apps/content-selector/util/file.d.ts +3 -0
- package/lib/apps/content-selector/util/media-type.util.d.ts +1 -0
- package/lib/apps/notes/composables/useFullscreenNotesHeartbeat.d.ts +3 -0
- package/lib/apps/notes/composables/useNotesApp.d.ts +3 -0
- package/lib/components/CCatalogIqSwitcher/CCatalogIqSwitcher.types.d.ts +7 -0
- package/lib/components/CConfigEditor/CConfigEditor.types.d.ts +7 -0
- package/lib/components/CConfigEditor/CConfigEditor.validators.d.ts +4 -0
- package/lib/components/CContactSelector/CContactSelector.types.d.ts +4 -0
- package/lib/components/CDataTable/CDataTableEdit.use.d.ts +22 -0
- package/lib/components/CFileViewer/CFileViewer.types.d.ts +7 -0
- package/lib/components/CFileViewer/CFileViewer.use.d.ts +47 -0
- package/lib/components/CFileViewer/CFileViewerFullScreen.use.d.ts +16 -0
- package/lib/components/CFileViewer/pageThumbnailFavorite.use.d.ts +10 -0
- package/lib/components/CFileViewer/pdfEvents.use.d.ts +4 -0
- package/lib/components/CGlobalSearch/CGlobalSearch.types.d.ts +23 -0
- package/lib/components/CGlobalSearch/GlobalSearch.use.d.ts +24 -0
- package/lib/components/CGlobalSearch/Shortcuts.use.d.ts +11 -0
- package/lib/components/CMultiSelect/CMultiSelect.test.d.ts +1 -0
- package/lib/components/CQuickFilters/CQuickFilters.types.d.ts +4 -0
- package/lib/components/CRichTextEditor/constants.d.ts +1 -0
- package/lib/components/CRichTextEditor/extensions/bulletListExtended.d.ts +16 -0
- package/lib/components/CRichTextEditor/extensions/headingExtended.d.ts +10 -0
- package/lib/components/CRichTextEditor/extensions/mentionSuggestions.d.ts +11 -0
- package/lib/components/CRichTextEditor/extensions/paragraphExtended.d.ts +26 -0
- package/lib/components/CRichTextEditor/extensions/textStyleExtended.d.ts +10 -0
- package/lib/components/CSingleSelect/CSingleSelect.test.d.ts +1 -0
- package/lib/components/CUsersGroupsAccessManage/CUsersGroupsAccessManage.types.d.ts +56 -0
- package/lib/components/CVirtualTable/CVirtualTable.test.d.ts +1 -0
- package/lib/components/CVirtualTable/CVirtualTableRow.test.d.ts +1 -0
- package/lib/components/canvases/CanvasesManagementBulk.use.d.ts +40 -0
- package/lib/components/canvases/CanvasesManagementFilters.use.d.ts +7 -0
- package/lib/components/canvases/CanvasesManagementToolbarFilters.use.d.ts +20 -0
- package/lib/components/filters/CDateRangeFilter.test.d.ts +1 -0
- package/lib/components/filters/CSelectFilter.test.d.ts +1 -0
- package/lib/components/filters/filter.const.d.ts +1 -0
- package/lib/components/filters/filter.util.d.ts +2 -0
- package/lib/components/filters/filter.util.spec.d.ts +1 -0
- package/lib/components/savedCanvases/CSavedCanvasesManagement.use.d.ts +11 -0
- package/lib/components/savedCanvases/CSavedCanvasesManagementShareCanvas.use.d.ts +7 -0
- package/lib/composables/appEmit.use.d.ts +3 -0
- package/lib/composables/bulkActions.use.d.ts +12 -0
- package/lib/composables/fileViewerSettings.use.d.ts +8 -0
- package/lib/composables/recentFiles.use.d.ts +12 -0
- package/lib/composables/useAssetUpload.d.ts +6 -0
- package/lib/composables/useBindValidation.d.ts +206 -0
- package/lib/composables/useConfirmation.d.ts +23 -0
- package/lib/composables/useConnectUpload.d.ts +5 -0
- package/lib/composables/useDetailsView.d.ts +19 -0
- package/lib/composables/useFetchUsers.d.ts +18 -0
- package/lib/composables/useInfiniteScroll.d.ts +13 -0
- package/lib/composables/useInstalledApps.d.ts +3 -0
- package/lib/composables/useLocation.d.ts +26 -0
- package/lib/composables/useLocationAPI.d.ts +39 -0
- package/lib/composables/useLocationListeners.d.ts +8 -0
- package/lib/composables/useLocationManipulation.d.ts +37 -0
- package/lib/composables/usePdfInterpolation.d.ts +9 -0
- package/lib/composables/useTheme.d.ts +9 -0
- package/lib/composables/useThemeVars.d.ts +30 -0
- package/lib/composables/useToast.d.ts +14 -0
- package/lib/composables/useWindowEvents.d.ts +20 -0
- package/lib/constants/cdp.const.d.ts +41 -0
- package/lib/constants/config.const.d.ts +1 -0
- package/lib/constants/conventions.const.d.ts +3 -0
- package/lib/constants/i18n.const.d.ts +13 -0
- package/lib/constants/modal.const.d.ts +9 -0
- package/lib/constants/more.const.d.ts +1 -0
- package/lib/constants/recentFiles.const.d.ts +4 -0
- package/lib/constants/tables.const.d.ts +4 -0
- package/lib/constants/timers.const.d.ts +1 -0
- package/lib/constants/uploads.const.d.ts +8 -0
- package/lib/constants/url.const.d.ts +2 -0
- package/lib/custom-naive-locales/el.d.ts +124 -0
- package/lib/directives/autofocus.d.ts +4 -0
- package/lib/directives/clickOutside.d.ts +8 -0
- package/lib/directives/draggable.d.ts +4 -0
- package/lib/directives/tooltip.d.ts +4 -0
- package/lib/main.lib.d.ts +176 -0
- package/lib/plugins/vueQuery.d.ts +3 -0
- package/lib/sdk/api/HighLevelApi.d.ts +125 -0
- package/lib/sdk/api/HighLevelApi.spec.d.ts +1 -0
- package/lib/sdk/api/LowLevelApi.d.ts +18 -0
- package/lib/sdk/api/LowLevelApi.spec.d.ts +1 -0
- package/lib/sdk/api/modules/admin/canvas.admin.d.ts +69 -0
- package/lib/sdk/api/modules/admin/env.admin.d.ts +10 -0
- package/lib/sdk/api/modules/admin/files.admin.d.ts +10 -0
- package/lib/sdk/api/modules/admin/index.d.ts +6 -0
- package/lib/sdk/api/modules/admin/metadataTemplates.admin.d.ts +11 -0
- package/lib/sdk/api/modules/admin/types.admin.d.ts +46 -0
- package/lib/sdk/api/modules/canvas.d.ts +56 -0
- package/lib/sdk/api/modules/dsr/env.dsr.d.ts +10 -0
- package/lib/sdk/api/modules/dsr/index.d.ts +5 -0
- package/lib/sdk/api/modules/dsr/loading.dsr.d.ts +1 -0
- package/lib/sdk/api/modules/dsr/types.dsr.d.ts +39 -0
- package/lib/sdk/api/modules/env.d.ts +7 -0
- package/lib/sdk/api/modules/events.d.ts +7 -0
- package/lib/sdk/api/modules/favorites.d.ts +8 -0
- package/lib/sdk/api/modules/feedback.d.ts +3 -0
- package/lib/sdk/api/modules/files.d.ts +31 -0
- package/lib/sdk/api/modules/folders.d.ts +21 -0
- package/lib/sdk/api/modules/index.d.ts +19 -0
- package/lib/sdk/api/modules/languages.d.ts +8 -0
- package/lib/sdk/api/modules/metadataTemplates.d.ts +4 -0
- package/lib/sdk/api/modules/notifications.d.ts +3 -0
- package/lib/sdk/api/modules/open.d.ts +4 -0
- package/lib/sdk/api/modules/pspdfkit.d.ts +23 -0
- package/lib/sdk/api/modules/query.d.ts +3 -0
- package/lib/sdk/api/modules/search.d.ts +4 -0
- package/lib/sdk/api/modules/sync.d.ts +9 -0
- package/lib/sdk/api/modules/toast.d.ts +4 -0
- package/lib/sdk/api/modules/track.d.ts +4 -0
- package/lib/sdk/api/modules/ui/app-errors.ui.d.ts +3 -0
- package/lib/sdk/api/modules/ui/canvas.ui.d.ts +4 -0
- package/lib/sdk/api/modules/ui/content.ui.d.ts +7 -0
- package/lib/sdk/api/modules/ui/index.d.ts +8 -0
- package/lib/sdk/api/modules/ui/loading.ui.d.ts +1 -0
- package/lib/sdk/api/modules/ui/location.ui.d.ts +3 -0
- package/lib/sdk/api/modules/ui/types.ui.d.ts +47 -0
- package/lib/sdk/api/modules/users.d.ts +6 -0
- package/lib/sdk/api/modules/webView.d.ts +4 -0
- package/lib/sdk/interfaces.d.ts +230 -0
- package/lib/sdk/main.d.ts +434 -0
- package/lib/sdk/main.spec.d.ts +1 -0
- package/lib/sdk/main.umd-esm.d.ts +1 -0
- package/lib/sdk/payload.types.d.ts +56 -0
- package/lib/sdk/utils/assert.d.ts +3 -0
- package/lib/sdk/utils/assert.spec.d.ts +1 -0
- package/lib/sdk/utils/cleanUrl.d.ts +1 -0
- package/lib/sdk/utils/eventEmitter.d.ts +17 -0
- package/lib/sdk/utils/eventEmitter.spec.d.ts +1 -0
- package/lib/sdk/utils/isodate.d.ts +1 -0
- package/lib/sdk/utils/isodate.spec.d.ts +1 -0
- package/lib/sdk/utils/postrobot.d.ts +1 -0
- package/lib/theme/canvasUiUnoPreset.d.ts +4 -0
- package/lib/theme/daisyUi.d.ts +1 -0
- package/lib/theme/light.const.d.ts +4 -0
- package/lib/theme/light.d.ts +2483 -0
- package/lib/theme/main.d.ts +3 -0
- package/lib/theme/theme-overrides.d.ts +1 -0
- package/lib/theme/theme.types.d.ts +29 -0
- package/lib/theme/theme.utils.d.ts +3 -0
- package/lib/types/app.d.ts +59 -0
- package/lib/types/call.d.ts +42 -0
- package/lib/types/canvasActions.d.ts +12 -0
- package/lib/types/canvases.d.ts +23 -0
- package/lib/types/dataTable.d.ts +6 -0
- package/lib/types/favorites.d.ts +5 -0
- package/lib/types/fileViewerSettings.types.d.ts +3 -0
- package/lib/types/files.d.ts +12 -0
- package/lib/types/i18n.types.d.ts +1 -0
- package/lib/types/iframes.d.ts +24 -0
- package/lib/types/instanceSettings.d.ts +20 -0
- package/lib/types/launchDarkly.types.d.ts +40 -0
- package/lib/types/organization.d.ts +4 -0
- package/lib/types/paginatedData.d.ts +6 -0
- package/lib/types/recentFiles.types.d.ts +4 -0
- package/lib/types/sectionPopularity.d.ts +30 -0
- package/lib/types/sfdc.d.ts +125 -0
- package/lib/types/templateActions.d.ts +10 -0
- package/lib/types/toast.d.ts +4 -0
- package/lib/types/translations.d.ts +5 -0
- package/lib/types/ts.d.ts +10 -0
- package/lib/types/users.d.ts +12 -0
- package/lib/types/vueVirtualScroller.d.ts +4 -0
- package/lib/util/anchor.d.ts +2 -0
- package/lib/util/array.d.ts +5 -0
- package/lib/util/array.spec.d.ts +1 -0
- package/lib/util/canvas-manager.util.d.ts +4 -0
- package/lib/util/casing.d.ts +4 -0
- package/lib/util/casing.spec.d.ts +1 -0
- package/lib/util/color.d.ts +4 -0
- package/lib/util/date.d.ts +12 -0
- package/lib/util/date.spec.d.ts +1 -0
- package/lib/util/dev.util.d.ts +2 -0
- package/lib/util/dom.d.ts +15 -0
- package/lib/util/font.spec.d.ts +1 -0
- package/lib/util/font.util.d.ts +7 -0
- package/lib/util/fullscreen.util.d.ts +16 -0
- package/lib/util/gesture.util.d.ts +6 -0
- package/lib/util/handlebars.d.ts +1 -0
- package/lib/util/image.d.ts +1 -0
- package/lib/util/location.spec.d.ts +1 -0
- package/lib/util/location.util.d.ts +1 -0
- package/lib/util/message-event.d.ts +1 -0
- package/lib/util/message-event.spec.d.ts +1 -0
- package/lib/util/navigation.util.d.ts +7 -0
- package/lib/util/network.d.ts +16 -0
- package/lib/util/network.spec.d.ts +1 -0
- package/lib/util/number.d.ts +4 -0
- package/lib/util/number.spec.d.ts +1 -0
- package/lib/util/object.d.ts +1 -0
- package/lib/util/object.spec.d.ts +1 -0
- package/lib/util/query.d.ts +6 -0
- package/lib/util/reactive.d.ts +4 -0
- package/lib/util/reactive.spec.d.ts +1 -0
- package/lib/util/string.d.ts +4 -0
- package/lib/util/timer.d.ts +2 -0
- package/lib/util/timer.spec.d.ts +1 -0
- package/lib/util/translations.d.ts +8 -0
- package/lib/util/translations.spec.d.ts +1 -0
- package/lib/util/tsHelpers.d.ts +14 -0
- package/lib/util/user.d.ts +4 -0
- package/lib/util/userAgents.d.ts +8 -0
- package/package.json +1 -1
- package/types/openapi/index.d.ts +248 -0
- package/types/openapi/models/AccessTypeEnum.d.ts +8 -0
- package/types/openapi/models/Account.d.ts +4 -0
- package/types/openapi/models/AccountRequest.d.ts +4 -0
- package/types/openapi/models/App.d.ts +20 -0
- package/types/openapi/models/AppInstallationRequest.d.ts +4 -0
- package/types/openapi/models/AppOrganization.d.ts +4 -0
- package/types/openapi/models/AppOrganizationRequest.d.ts +4 -0
- package/types/openapi/models/AppPublish.d.ts +8 -0
- package/types/openapi/models/AppRelease.d.ts +9 -0
- package/types/openapi/models/AppRequest.d.ts +9 -0
- package/types/openapi/models/AppTypeEnum.d.ts +8 -0
- package/types/openapi/models/AppsDBGlobalEntry.d.ts +8 -0
- package/types/openapi/models/AppsDBGlobalEntryRequest.d.ts +3 -0
- package/types/openapi/models/AppsDBUserEntry.d.ts +9 -0
- package/types/openapi/models/AppsDBUserEntryRequest.d.ts +3 -0
- package/types/openapi/models/AuthToken.d.ts +7 -0
- package/types/openapi/models/AuthTokenRequest.d.ts +7 -0
- package/types/openapi/models/BulkDeleteErrorDetail.d.ts +5 -0
- package/types/openapi/models/BulkDeleteRequest.d.ts +6 -0
- package/types/openapi/models/BulkDeleteResponse.d.ts +6 -0
- package/types/openapi/models/BulkUpdateMetadata.d.ts +6 -0
- package/types/openapi/models/BulkUpdateMetadataOperationEnum.d.ts +8 -0
- package/types/openapi/models/BulkUpdateMetadataRequest.d.ts +9 -0
- package/types/openapi/models/BulkUpdateMetadataResult.d.ts +4 -0
- package/types/openapi/models/BulkUpdateTags.d.ts +6 -0
- package/types/openapi/models/BulkUpdateTagsOperationEnum.d.ts +8 -0
- package/types/openapi/models/BulkUpdateTagsRequest.d.ts +9 -0
- package/types/openapi/models/BulkUpdateTagsResult.d.ts +4 -0
- package/types/openapi/models/Canvas.d.ts +35 -0
- package/types/openapi/models/CanvasCreate.d.ts +35 -0
- package/types/openapi/models/CanvasCreateRequest.d.ts +25 -0
- package/types/openapi/models/CanvasList.d.ts +28 -0
- package/types/openapi/models/CanvasRecommendedFile.d.ts +40 -0
- package/types/openapi/models/CanvasRecommendedFiles.d.ts +5 -0
- package/types/openapi/models/CanvasRetrieve.d.ts +35 -0
- package/types/openapi/models/CanvasSection.d.ts +7 -0
- package/types/openapi/models/CanvasSectionRetrieve.d.ts +7 -0
- package/types/openapi/models/CanvasSectionRetrieveRequest.d.ts +5 -0
- package/types/openapi/models/CanvasUpdate.d.ts +35 -0
- package/types/openapi/models/CanvasUpdateRequest.d.ts +22 -0
- package/types/openapi/models/Collaboration.d.ts +16 -0
- package/types/openapi/models/CollaborationCreate.d.ts +16 -0
- package/types/openapi/models/CollaborationCreateRequest.d.ts +10 -0
- package/types/openapi/models/CollaborationRequest.d.ts +5 -0
- package/types/openapi/models/CollaborationRoleEnum.d.ts +8 -0
- package/types/openapi/models/ConnectedService.d.ts +9 -0
- package/types/openapi/models/ContentDistributionGroup.d.ts +12 -0
- package/types/openapi/models/ContentDistributionGroupCreate.d.ts +12 -0
- package/types/openapi/models/ContentDistributionGroupCreateRequest.d.ts +5 -0
- package/types/openapi/models/ContentDistributionGroupMembership.d.ts +8 -0
- package/types/openapi/models/ContentDistributionGroupMembershipCreate.d.ts +8 -0
- package/types/openapi/models/ContentDistributionGroupMembershipCreateRequest.d.ts +4 -0
- package/types/openapi/models/ContentDistributionGroupRequest.d.ts +4 -0
- package/types/openapi/models/DefaultExpiresAtEnum.d.ts +16 -0
- package/types/openapi/models/DeletedApp.d.ts +22 -0
- package/types/openapi/models/DeletedContentDistributionGroup.d.ts +14 -0
- package/types/openapi/models/DeletedEnvironment.d.ts +14 -0
- package/types/openapi/models/DeletedFavorite.d.ts +19 -0
- package/types/openapi/models/DeletedFile.d.ts +42 -0
- package/types/openapi/models/DeletedFolder.d.ts +17 -0
- package/types/openapi/models/DeletedInstance.d.ts +24 -0
- package/types/openapi/models/DeletedInstanceAssignmentGroup.d.ts +14 -0
- package/types/openapi/models/DeletedMetadataTemplate.d.ts +17 -0
- package/types/openapi/models/DeletedRegion.d.ts +12 -0
- package/types/openapi/models/DownloadTypeEnum.d.ts +10 -0
- package/types/openapi/models/Environment.d.ts +12 -0
- package/types/openapi/models/EnvironmentRequest.d.ts +5 -0
- package/types/openapi/models/Event.d.ts +18 -0
- package/types/openapi/models/EventAttendee.d.ts +5 -0
- package/types/openapi/models/EventAttendeeRequest.d.ts +5 -0
- package/types/openapi/models/EventExternalObject.d.ts +10 -0
- package/types/openapi/models/EventExternalObjectContentTypeEnum.d.ts +12 -0
- package/types/openapi/models/EventExternalObjectRequest.d.ts +10 -0
- package/types/openapi/models/EventRequest.d.ts +17 -0
- package/types/openapi/models/EventStatusEnum.d.ts +10 -0
- package/types/openapi/models/Favorite.d.ts +17 -0
- package/types/openapi/models/FavoriteCreate.d.ts +12 -0
- package/types/openapi/models/FavoriteCreateRequest.d.ts +7 -0
- package/types/openapi/models/FavoriteFile.d.ts +6 -0
- package/types/openapi/models/FavoriteFileRequest.d.ts +3 -0
- package/types/openapi/models/FavoriteUpdate.d.ts +12 -0
- package/types/openapi/models/FavoriteUpdateRequest.d.ts +6 -0
- package/types/openapi/models/File.d.ts +40 -0
- package/types/openapi/models/FileAnalytics.d.ts +16 -0
- package/types/openapi/models/FileAnalyticsResult.d.ts +9 -0
- package/types/openapi/models/FileContentTypeEnum.d.ts +16 -0
- package/types/openapi/models/FileCreate.d.ts +43 -0
- package/types/openapi/models/FileCreateRequest.d.ts +24 -0
- package/types/openapi/models/FileRequest.d.ts +13 -0
- package/types/openapi/models/FileRetrieve.d.ts +43 -0
- package/types/openapi/models/FileStatusEnum.d.ts +8 -0
- package/types/openapi/models/FileTypeEnum.d.ts +10 -0
- package/types/openapi/models/FileUpdate.d.ts +43 -0
- package/types/openapi/models/FileUpdateRequest.d.ts +17 -0
- package/types/openapi/models/Folder.d.ts +15 -0
- package/types/openapi/models/FolderCreate.d.ts +31 -0
- package/types/openapi/models/FolderCreateRequest.d.ts +18 -0
- package/types/openapi/models/FolderFile.d.ts +14 -0
- package/types/openapi/models/FolderFolder.d.ts +6 -0
- package/types/openapi/models/FolderRetrieve.d.ts +24 -0
- package/types/openapi/models/FolderUpdate.d.ts +31 -0
- package/types/openapi/models/FolderUpdateRequest.d.ts +15 -0
- package/types/openapi/models/Instance.d.ts +22 -0
- package/types/openapi/models/InstanceAnalytics.d.ts +18 -0
- package/types/openapi/models/InstanceAnalyticsChangePercentages.d.ts +5 -0
- package/types/openapi/models/InstanceAnalyticsCurrentPeriod.d.ts +13 -0
- package/types/openapi/models/InstanceAnalyticsFile.d.ts +5 -0
- package/types/openapi/models/InstanceAnalyticsFileActivity.d.ts +5 -0
- package/types/openapi/models/InstanceAnalyticsFileRequest.d.ts +3 -0
- package/types/openapi/models/InstanceAnalyticsInactiveUsers.d.ts +5 -0
- package/types/openapi/models/InstanceAnalyticsInactiveUsersRequest.d.ts +4 -0
- package/types/openapi/models/InstanceAnalyticsLoginResult.d.ts +5 -0
- package/types/openapi/models/InstanceAssignmentGroup.d.ts +12 -0
- package/types/openapi/models/InstanceAssignmentGroupMembership.d.ts +8 -0
- package/types/openapi/models/InstanceAssignmentGroupMembershipCreate.d.ts +8 -0
- package/types/openapi/models/InstanceAssignmentGroupMembershipCreateRequest.d.ts +4 -0
- package/types/openapi/models/InstanceAssignmentGroupRequest.d.ts +4 -0
- package/types/openapi/models/InstanceMembership.d.ts +12 -0
- package/types/openapi/models/InstanceMembershipCreate.d.ts +12 -0
- package/types/openapi/models/InstanceMembershipCreateRequest.d.ts +8 -0
- package/types/openapi/models/InstanceMembershipGroup.d.ts +11 -0
- package/types/openapi/models/InstanceMembershipGroupRequest.d.ts +3 -0
- package/types/openapi/models/InstanceMembershipRequest.d.ts +5 -0
- package/types/openapi/models/InstanceMembershipRoleEnum.d.ts +8 -0
- package/types/openapi/models/InstanceMembershipUser.d.ts +10 -0
- package/types/openapi/models/InstanceMembershipUserRequest.d.ts +4 -0
- package/types/openapi/models/InstanceMembershipUserStatusEnum.d.ts +6 -0
- package/types/openapi/models/InstanceRequest.d.ts +11 -0
- package/types/openapi/models/InstanceStorageCredentials.d.ts +6 -0
- package/types/openapi/models/InstanceUpdate.d.ts +18 -0
- package/types/openapi/models/InstanceUpdateRequest.d.ts +8 -0
- package/types/openapi/models/Invitation.d.ts +11 -0
- package/types/openapi/models/InvitationRequest.d.ts +3 -0
- package/types/openapi/models/InvitationStatusEnum.d.ts +4 -0
- package/types/openapi/models/LanguageEnum.d.ts +12 -0
- package/types/openapi/models/MetadataTemplate.d.ts +15 -0
- package/types/openapi/models/MetadataTemplateField.d.ts +14 -0
- package/types/openapi/models/MetadataTemplateFieldRequest.d.ts +14 -0
- package/types/openapi/models/MetadataTemplateFieldTypeEnum.d.ts +16 -0
- package/types/openapi/models/MetadataTemplateOption.d.ts +4 -0
- package/types/openapi/models/MetadataTemplateOptionRequest.d.ts +4 -0
- package/types/openapi/models/MetadataTemplateRequest.d.ts +7 -0
- package/types/openapi/models/MetadataTemplateSection.d.ts +6 -0
- package/types/openapi/models/MetadataTemplateSectionRequest.d.ts +6 -0
- package/types/openapi/models/MiniAccount.d.ts +4 -0
- package/types/openapi/models/MiniCanvas.d.ts +4 -0
- package/types/openapi/models/MiniCanvasRequest.d.ts +3 -0
- package/types/openapi/models/MiniContentDistributionGroup.d.ts +5 -0
- package/types/openapi/models/MiniContentDistributionGroupRequest.d.ts +3 -0
- package/types/openapi/models/MiniEnvironment.d.ts +5 -0
- package/types/openapi/models/MiniEnvironmentRequest.d.ts +4 -0
- package/types/openapi/models/MiniEvent.d.ts +5 -0
- package/types/openapi/models/MiniEventRequest.d.ts +4 -0
- package/types/openapi/models/MiniFile.d.ts +4 -0
- package/types/openapi/models/MiniFileRequest.d.ts +3 -0
- package/types/openapi/models/MiniFolder.d.ts +4 -0
- package/types/openapi/models/MiniFolderRequest.d.ts +3 -0
- package/types/openapi/models/MiniInstance.d.ts +4 -0
- package/types/openapi/models/MiniInstanceRequest.d.ts +3 -0
- package/types/openapi/models/MiniPage.d.ts +4 -0
- package/types/openapi/models/MiniPageRequest.d.ts +3 -0
- package/types/openapi/models/MiniRegion.d.ts +4 -0
- package/types/openapi/models/MiniRegionRequest.d.ts +3 -0
- package/types/openapi/models/MiniSharedLink.d.ts +4 -0
- package/types/openapi/models/MiniSharedLinkRequest.d.ts +3 -0
- package/types/openapi/models/MiniUser.d.ts +5 -0
- package/types/openapi/models/MiniUserRequest.d.ts +3 -0
- package/types/openapi/models/MostActiveUser.d.ts +7 -0
- package/types/openapi/models/Organization.d.ts +10 -0
- package/types/openapi/models/OrganizationAnalytics.d.ts +16 -0
- package/types/openapi/models/OrganizationAnalyticsCurrentPeriod.d.ts +13 -0
- package/types/openapi/models/OrganizationAnalyticsInactiveUsers.d.ts +5 -0
- package/types/openapi/models/OrganizationAnalyticsInactiveUsersRequest.d.ts +4 -0
- package/types/openapi/models/OrganizationAnalyticsInstance.d.ts +10 -0
- package/types/openapi/models/OrganizationAnalyticsLoginResult.d.ts +5 -0
- package/types/openapi/models/OrganizationAnalyticsTop3Instances.d.ts +13 -0
- package/types/openapi/models/OrganizationBranding.d.ts +6 -0
- package/types/openapi/models/OrganizationBrandingColors.d.ts +4 -0
- package/types/openapi/models/OrganizationChangePercentages.d.ts +6 -0
- package/types/openapi/models/OrganizationUpdate.d.ts +8 -0
- package/types/openapi/models/OrganizationUpdateRequest.d.ts +8 -0
- package/types/openapi/models/PSPDFKitAuthPayload.d.ts +3 -0
- package/types/openapi/models/PSPDFKitAuthPayloadRequest.d.ts +3 -0
- package/types/openapi/models/PSPDFKitToken.d.ts +7 -0
- package/types/openapi/models/PSPDFKitTokenRequest.d.ts +3 -0
- package/types/openapi/models/PaginatedAppList.d.ts +8 -0
- package/types/openapi/models/PaginatedAppReleaseList.d.ts +8 -0
- package/types/openapi/models/PaginatedAuthTokenList.d.ts +8 -0
- package/types/openapi/models/PaginatedCanvasListList.d.ts +8 -0
- package/types/openapi/models/PaginatedCollaborationList.d.ts +8 -0
- package/types/openapi/models/PaginatedContentDistributionGroupList.d.ts +8 -0
- package/types/openapi/models/PaginatedContentDistributionGroupMembershipList.d.ts +8 -0
- package/types/openapi/models/PaginatedEnvironmentList.d.ts +8 -0
- package/types/openapi/models/PaginatedEventList.d.ts +8 -0
- package/types/openapi/models/PaginatedFavoriteList.d.ts +8 -0
- package/types/openapi/models/PaginatedFileList.d.ts +8 -0
- package/types/openapi/models/PaginatedFolderList.d.ts +8 -0
- package/types/openapi/models/PaginatedInstanceAssignmentGroupList.d.ts +8 -0
- package/types/openapi/models/PaginatedInstanceAssignmentGroupMembershipList.d.ts +8 -0
- package/types/openapi/models/PaginatedInstanceList.d.ts +8 -0
- package/types/openapi/models/PaginatedInstanceMembershipList.d.ts +8 -0
- package/types/openapi/models/PaginatedInvitationList.d.ts +8 -0
- package/types/openapi/models/PaginatedMetadataTemplateList.d.ts +8 -0
- package/types/openapi/models/PaginatedRegionList.d.ts +8 -0
- package/types/openapi/models/PaginatedRevisionList.d.ts +8 -0
- package/types/openapi/models/PaginatedSearchResultList.d.ts +9 -0
- package/types/openapi/models/PaginatedStorageRegionList.d.ts +8 -0
- package/types/openapi/models/PaginatedUserList.d.ts +8 -0
- package/types/openapi/models/PatchedAppRequest.d.ts +9 -0
- package/types/openapi/models/PatchedCanvasUpdateRequest.d.ts +22 -0
- package/types/openapi/models/PatchedCollaborationRequest.d.ts +5 -0
- package/types/openapi/models/PatchedContentDistributionGroupRequest.d.ts +4 -0
- package/types/openapi/models/PatchedEnvironmentRequest.d.ts +5 -0
- package/types/openapi/models/PatchedEventRequest.d.ts +17 -0
- package/types/openapi/models/PatchedFavoriteUpdateRequest.d.ts +6 -0
- package/types/openapi/models/PatchedFileRequest.d.ts +13 -0
- package/types/openapi/models/PatchedFileUpdateRequest.d.ts +17 -0
- package/types/openapi/models/PatchedFolderUpdateRequest.d.ts +15 -0
- package/types/openapi/models/PatchedInstanceAssignmentGroupRequest.d.ts +4 -0
- package/types/openapi/models/PatchedInstanceMembershipRequest.d.ts +5 -0
- package/types/openapi/models/PatchedInstanceUpdateRequest.d.ts +8 -0
- package/types/openapi/models/PatchedMetadataTemplateRequest.d.ts +7 -0
- package/types/openapi/models/PatchedOrganizationUpdateRequest.d.ts +8 -0
- package/types/openapi/models/PatchedRegionRequest.d.ts +3 -0
- package/types/openapi/models/PatchedUserRequest.d.ts +12 -0
- package/types/openapi/models/Region.d.ts +10 -0
- package/types/openapi/models/RegionRequest.d.ts +3 -0
- package/types/openapi/models/Revision.d.ts +8 -0
- package/types/openapi/models/RevisionRequest.d.ts +3 -0
- package/types/openapi/models/SearchApp.d.ts +6 -0
- package/types/openapi/models/SearchCanvas.d.ts +5 -0
- package/types/openapi/models/SearchContentDistributionGroup.d.ts +11 -0
- package/types/openapi/models/SearchFile.d.ts +6 -0
- package/types/openapi/models/SearchInstanceAssignmentGroup.d.ts +11 -0
- package/types/openapi/models/SearchResult.d.ts +8 -0
- package/types/openapi/models/SearchUser.d.ts +5 -0
- package/types/openapi/models/SharedLink.d.ts +15 -0
- package/types/openapi/models/SharedLinkCreate.d.ts +15 -0
- package/types/openapi/models/SharedLinkCreateRequest.d.ts +6 -0
- package/types/openapi/models/SharedLinkInstanceSerialzier.d.ts +6 -0
- package/types/openapi/models/SharedLinkOrganizationSerialzier.d.ts +6 -0
- package/types/openapi/models/StorageRegion.d.ts +5 -0
- package/types/openapi/models/StorageRegionEnum.d.ts +10 -0
- package/types/openapi/models/Tag.d.ts +3 -0
- package/types/openapi/models/UploadCreate.d.ts +8 -0
- package/types/openapi/models/UploadCreateRequest.d.ts +5 -0
- package/types/openapi/models/User.d.ts +23 -0
- package/types/openapi/models/UserRequest.d.ts +12 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { MiniUser } from './MiniUser';
|
|
2
|
+
|
|
3
|
+
export type DeletedRegion = {
|
|
4
|
+
readonly id: number;
|
|
5
|
+
name: string;
|
|
6
|
+
readonly created_at: string;
|
|
7
|
+
readonly created_by: MiniUser;
|
|
8
|
+
readonly modified_at: string;
|
|
9
|
+
readonly modified_by: MiniUser;
|
|
10
|
+
readonly deleted_at: string;
|
|
11
|
+
readonly deleted_by: MiniUser;
|
|
12
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { MiniUser } from './MiniUser';
|
|
2
|
+
|
|
3
|
+
export type Environment = {
|
|
4
|
+
readonly id: number;
|
|
5
|
+
name: string;
|
|
6
|
+
next_environment_ids?: Array<number>;
|
|
7
|
+
color?: string | null;
|
|
8
|
+
readonly created_at: string;
|
|
9
|
+
readonly created_by: MiniUser;
|
|
10
|
+
readonly modified_at: string;
|
|
11
|
+
readonly modified_by: MiniUser;
|
|
12
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { EventAttendee } from './EventAttendee';
|
|
2
|
+
import { EventExternalObject } from './EventExternalObject';
|
|
3
|
+
import { EventStatusEnum } from './EventStatusEnum';
|
|
4
|
+
import { MiniCanvas } from './MiniCanvas';
|
|
5
|
+
|
|
6
|
+
export type Event = {
|
|
7
|
+
id?: string;
|
|
8
|
+
status?: EventStatusEnum;
|
|
9
|
+
start_at: string;
|
|
10
|
+
end_at: string;
|
|
11
|
+
readonly canvas: MiniCanvas;
|
|
12
|
+
external_objects?: Array<EventExternalObject>;
|
|
13
|
+
location?: string;
|
|
14
|
+
subject?: string;
|
|
15
|
+
description?: string;
|
|
16
|
+
metadata?: any;
|
|
17
|
+
attendees?: Array<EventAttendee>;
|
|
18
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { EventExternalObjectContentTypeEnum } from './EventExternalObjectContentTypeEnum';
|
|
2
|
+
|
|
3
|
+
export type EventExternalObject = {
|
|
4
|
+
content_type?: EventExternalObjectContentTypeEnum;
|
|
5
|
+
connection_id: string;
|
|
6
|
+
external_content_type?: string;
|
|
7
|
+
external_object_id: string;
|
|
8
|
+
name?: string;
|
|
9
|
+
description?: string;
|
|
10
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* * `event` - Event
|
|
3
|
+
* * `opportunity` - Opportunity
|
|
4
|
+
* * `account` - Account
|
|
5
|
+
* * `other` - Other
|
|
6
|
+
*/
|
|
7
|
+
export declare enum EventExternalObjectContentTypeEnum {
|
|
8
|
+
EVENT = "event",
|
|
9
|
+
OPPORTUNITY = "opportunity",
|
|
10
|
+
ACCOUNT = "account",
|
|
11
|
+
OTHER = "other"
|
|
12
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { EventExternalObjectContentTypeEnum } from './EventExternalObjectContentTypeEnum';
|
|
2
|
+
|
|
3
|
+
export type EventExternalObjectRequest = {
|
|
4
|
+
content_type?: EventExternalObjectContentTypeEnum;
|
|
5
|
+
connection_id: string;
|
|
6
|
+
external_content_type?: string;
|
|
7
|
+
external_object_id: string;
|
|
8
|
+
name?: string;
|
|
9
|
+
description?: string;
|
|
10
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { EventAttendeeRequest } from './EventAttendeeRequest';
|
|
2
|
+
import { EventExternalObjectRequest } from './EventExternalObjectRequest';
|
|
3
|
+
import { EventStatusEnum } from './EventStatusEnum';
|
|
4
|
+
|
|
5
|
+
export type EventRequest = {
|
|
6
|
+
id?: string;
|
|
7
|
+
status?: EventStatusEnum;
|
|
8
|
+
start_at: string;
|
|
9
|
+
end_at: string;
|
|
10
|
+
canvas_id?: string;
|
|
11
|
+
external_objects?: Array<EventExternalObjectRequest>;
|
|
12
|
+
location?: string;
|
|
13
|
+
subject?: string;
|
|
14
|
+
description?: string;
|
|
15
|
+
metadata?: any;
|
|
16
|
+
attendees?: Array<EventAttendeeRequest>;
|
|
17
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { FavoriteFile } from './FavoriteFile';
|
|
2
|
+
import { MiniFolder } from './MiniFolder';
|
|
3
|
+
import { MiniPage } from './MiniPage';
|
|
4
|
+
import { MiniUser } from './MiniUser';
|
|
5
|
+
|
|
6
|
+
export type Favorite = {
|
|
7
|
+
readonly id: string;
|
|
8
|
+
readonly name: string;
|
|
9
|
+
readonly thumbnail_url: string;
|
|
10
|
+
readonly file: FavoriteFile | null;
|
|
11
|
+
readonly page: MiniPage | null;
|
|
12
|
+
readonly folder: MiniFolder | null;
|
|
13
|
+
readonly created_at: string;
|
|
14
|
+
readonly created_by: MiniUser;
|
|
15
|
+
readonly modified_at: string;
|
|
16
|
+
readonly modified_by: MiniUser;
|
|
17
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { FavoriteFile } from './FavoriteFile';
|
|
2
|
+
import { MiniFolder } from './MiniFolder';
|
|
3
|
+
import { MiniPage } from './MiniPage';
|
|
4
|
+
|
|
5
|
+
export type FavoriteCreate = {
|
|
6
|
+
id?: string;
|
|
7
|
+
name?: string;
|
|
8
|
+
readonly thumbnail_url: string;
|
|
9
|
+
readonly file: FavoriteFile | null;
|
|
10
|
+
readonly page: MiniPage | null;
|
|
11
|
+
readonly folder: MiniFolder | null;
|
|
12
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { FavoriteFile } from './FavoriteFile';
|
|
2
|
+
import { MiniFolder } from './MiniFolder';
|
|
3
|
+
import { MiniPage } from './MiniPage';
|
|
4
|
+
|
|
5
|
+
export type FavoriteUpdate = {
|
|
6
|
+
readonly id: string;
|
|
7
|
+
name?: string;
|
|
8
|
+
readonly thumbnail_url: string;
|
|
9
|
+
readonly file: FavoriteFile | null;
|
|
10
|
+
readonly page: MiniPage | null;
|
|
11
|
+
readonly folder: MiniFolder | null;
|
|
12
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { AccessTypeEnum } from './AccessTypeEnum';
|
|
2
|
+
import { CollaborationRoleEnum } from './CollaborationRoleEnum';
|
|
3
|
+
import { DownloadTypeEnum } from './DownloadTypeEnum';
|
|
4
|
+
import { FileContentTypeEnum } from './FileContentTypeEnum';
|
|
5
|
+
import { FileStatusEnum } from './FileStatusEnum';
|
|
6
|
+
import { FileTypeEnum } from './FileTypeEnum';
|
|
7
|
+
import { MiniSharedLink } from './MiniSharedLink';
|
|
8
|
+
import { MiniUser } from './MiniUser';
|
|
9
|
+
|
|
10
|
+
export type File = {
|
|
11
|
+
readonly id: string;
|
|
12
|
+
readonly global_id: string;
|
|
13
|
+
name?: string;
|
|
14
|
+
readonly type: FileTypeEnum;
|
|
15
|
+
readonly size: number | null;
|
|
16
|
+
readonly status: FileStatusEnum;
|
|
17
|
+
readonly content_type: FileContentTypeEnum;
|
|
18
|
+
readonly content_extension: string | null;
|
|
19
|
+
readonly content_length: number | null;
|
|
20
|
+
readonly content_url: string | null;
|
|
21
|
+
readonly original_extension: string | null;
|
|
22
|
+
readonly thumbnail_url: string | null;
|
|
23
|
+
download_type?: DownloadTypeEnum;
|
|
24
|
+
readonly zip_size: number | null;
|
|
25
|
+
readonly zip_url: string | null;
|
|
26
|
+
access_type?: AccessTypeEnum;
|
|
27
|
+
readonly role: CollaborationRoleEnum;
|
|
28
|
+
metadata?: Record<string, any>;
|
|
29
|
+
app_metadata?: Record<string, any>;
|
|
30
|
+
tags?: Array<string>;
|
|
31
|
+
readonly published_at: string | null;
|
|
32
|
+
expires_at?: string | null;
|
|
33
|
+
readonly instance_id: string;
|
|
34
|
+
folder_id?: string;
|
|
35
|
+
readonly shared_link: MiniSharedLink;
|
|
36
|
+
readonly created_at: string;
|
|
37
|
+
readonly created_by: MiniUser;
|
|
38
|
+
readonly modified_at: string;
|
|
39
|
+
readonly modified_by: MiniUser;
|
|
40
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { FileAnalyticsResult } from './FileAnalyticsResult';
|
|
2
|
+
import { MostActiveUser } from './MostActiveUser';
|
|
3
|
+
|
|
4
|
+
export type FileAnalytics = {
|
|
5
|
+
readonly results: Array<FileAnalyticsResult>;
|
|
6
|
+
readonly total_views_current_period: number;
|
|
7
|
+
readonly views_change_percentage: number;
|
|
8
|
+
readonly total_user_visits_current_period: number;
|
|
9
|
+
readonly user_visits_change_percentage: number;
|
|
10
|
+
readonly total_downloads_current_period: number;
|
|
11
|
+
readonly downloads_change_percentage: number;
|
|
12
|
+
readonly most_popular_page: string;
|
|
13
|
+
readonly average_page_duration: number;
|
|
14
|
+
readonly average_file_duration: number;
|
|
15
|
+
readonly most_active_users: Array<MostActiveUser>;
|
|
16
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export type FileAnalyticsResult = {
|
|
2
|
+
readonly date: string;
|
|
3
|
+
readonly views_previous_period: number;
|
|
4
|
+
readonly views_current_period: number;
|
|
5
|
+
readonly user_visits_previous_period: number;
|
|
6
|
+
readonly user_visits_current_period: number;
|
|
7
|
+
readonly downloads_previous_period: number;
|
|
8
|
+
readonly downloads_current_period: number;
|
|
9
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* * `ar` - AR
|
|
3
|
+
* * `font` - Font
|
|
4
|
+
* * `image` - Image
|
|
5
|
+
* * `pdf` - PDF
|
|
6
|
+
* * `video` - Video
|
|
7
|
+
* * `web` - Web
|
|
8
|
+
*/
|
|
9
|
+
export declare enum FileContentTypeEnum {
|
|
10
|
+
AR = "ar",
|
|
11
|
+
FONT = "font",
|
|
12
|
+
IMAGE = "image",
|
|
13
|
+
PDF = "pdf",
|
|
14
|
+
VIDEO = "video",
|
|
15
|
+
WEB = "web"
|
|
16
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { AccessTypeEnum } from './AccessTypeEnum';
|
|
2
|
+
import { CollaborationRoleEnum } from './CollaborationRoleEnum';
|
|
3
|
+
import { DownloadTypeEnum } from './DownloadTypeEnum';
|
|
4
|
+
import { FileContentTypeEnum } from './FileContentTypeEnum';
|
|
5
|
+
import { FileStatusEnum } from './FileStatusEnum';
|
|
6
|
+
import { FileTypeEnum } from './FileTypeEnum';
|
|
7
|
+
import { MiniSharedLink } from './MiniSharedLink';
|
|
8
|
+
import { MiniUser } from './MiniUser';
|
|
9
|
+
|
|
10
|
+
export type FileCreate = {
|
|
11
|
+
readonly id: string;
|
|
12
|
+
readonly global_id: string;
|
|
13
|
+
name?: string;
|
|
14
|
+
type?: FileTypeEnum;
|
|
15
|
+
readonly size: number | null;
|
|
16
|
+
readonly status: FileStatusEnum;
|
|
17
|
+
readonly content_type: FileContentTypeEnum;
|
|
18
|
+
readonly content_extension: string | null;
|
|
19
|
+
readonly content_length: number | null;
|
|
20
|
+
readonly content_url: string | null;
|
|
21
|
+
readonly content_thumbnails: Array<string>;
|
|
22
|
+
readonly original_extension: string | null;
|
|
23
|
+
readonly thumbnail_url: string | null;
|
|
24
|
+
download_type?: DownloadTypeEnum;
|
|
25
|
+
readonly zip_size: number | null;
|
|
26
|
+
readonly zip_url: string | null;
|
|
27
|
+
access_type?: AccessTypeEnum;
|
|
28
|
+
readonly role: CollaborationRoleEnum;
|
|
29
|
+
readonly pspdfkit_server_url: string | null;
|
|
30
|
+
readonly pspdfkit_auth_payload: Record<string, any> | null;
|
|
31
|
+
metadata?: Record<string, any>;
|
|
32
|
+
app_metadata?: Record<string, any>;
|
|
33
|
+
tags?: Array<string>;
|
|
34
|
+
readonly published_at: string | null;
|
|
35
|
+
expires_at?: string | null;
|
|
36
|
+
instance_id: string;
|
|
37
|
+
folder_id?: string;
|
|
38
|
+
readonly shared_link: MiniSharedLink;
|
|
39
|
+
readonly created_at: string;
|
|
40
|
+
readonly created_by: MiniUser;
|
|
41
|
+
readonly modified_at: string;
|
|
42
|
+
readonly modified_by: MiniUser;
|
|
43
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { AccessTypeEnum } from './AccessTypeEnum';
|
|
2
|
+
import { DownloadTypeEnum } from './DownloadTypeEnum';
|
|
3
|
+
import { FileTypeEnum } from './FileTypeEnum';
|
|
4
|
+
|
|
5
|
+
export type FileCreateRequest = {
|
|
6
|
+
name?: string;
|
|
7
|
+
type?: FileTypeEnum;
|
|
8
|
+
/**
|
|
9
|
+
* Deprecated: Please use the 'type' field instead. This field is maintained for backward compatibility and may be removed in future releases.
|
|
10
|
+
*/
|
|
11
|
+
is_asset?: boolean;
|
|
12
|
+
content?: Blob;
|
|
13
|
+
content_upload_id?: string;
|
|
14
|
+
thumbnail?: Blob;
|
|
15
|
+
thumbnail_upload_id?: string;
|
|
16
|
+
download_type?: DownloadTypeEnum;
|
|
17
|
+
access_type?: AccessTypeEnum;
|
|
18
|
+
metadata?: Record<string, any>;
|
|
19
|
+
app_metadata?: Record<string, any>;
|
|
20
|
+
tags?: Array<string>;
|
|
21
|
+
expires_at?: string | null;
|
|
22
|
+
instance_id: string;
|
|
23
|
+
folder_id?: string;
|
|
24
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { AccessTypeEnum } from './AccessTypeEnum';
|
|
2
|
+
import { DownloadTypeEnum } from './DownloadTypeEnum';
|
|
3
|
+
|
|
4
|
+
export type FileRequest = {
|
|
5
|
+
name?: string;
|
|
6
|
+
download_type?: DownloadTypeEnum;
|
|
7
|
+
access_type?: AccessTypeEnum;
|
|
8
|
+
metadata?: Record<string, any>;
|
|
9
|
+
app_metadata?: Record<string, any>;
|
|
10
|
+
tags?: Array<string>;
|
|
11
|
+
expires_at?: string | null;
|
|
12
|
+
folder_id?: string;
|
|
13
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { AccessTypeEnum } from './AccessTypeEnum';
|
|
2
|
+
import { CollaborationRoleEnum } from './CollaborationRoleEnum';
|
|
3
|
+
import { DownloadTypeEnum } from './DownloadTypeEnum';
|
|
4
|
+
import { FileContentTypeEnum } from './FileContentTypeEnum';
|
|
5
|
+
import { FileStatusEnum } from './FileStatusEnum';
|
|
6
|
+
import { FileTypeEnum } from './FileTypeEnum';
|
|
7
|
+
import { MiniSharedLink } from './MiniSharedLink';
|
|
8
|
+
import { MiniUser } from './MiniUser';
|
|
9
|
+
|
|
10
|
+
export type FileRetrieve = {
|
|
11
|
+
readonly id: string;
|
|
12
|
+
readonly global_id: string;
|
|
13
|
+
name?: string;
|
|
14
|
+
readonly type: FileTypeEnum;
|
|
15
|
+
readonly size: number | null;
|
|
16
|
+
readonly status: FileStatusEnum;
|
|
17
|
+
readonly content_type: FileContentTypeEnum;
|
|
18
|
+
readonly content_extension: string | null;
|
|
19
|
+
readonly content_length: number | null;
|
|
20
|
+
readonly content_url: string | null;
|
|
21
|
+
readonly content_thumbnails: Array<string>;
|
|
22
|
+
readonly original_extension: string | null;
|
|
23
|
+
readonly thumbnail_url: string | null;
|
|
24
|
+
download_type?: DownloadTypeEnum;
|
|
25
|
+
readonly zip_size: number | null;
|
|
26
|
+
readonly zip_url: string | null;
|
|
27
|
+
access_type?: AccessTypeEnum;
|
|
28
|
+
readonly role: CollaborationRoleEnum;
|
|
29
|
+
readonly pspdfkit_server_url: string | null;
|
|
30
|
+
readonly pspdfkit_auth_payload: Record<string, any> | null;
|
|
31
|
+
metadata?: Record<string, any>;
|
|
32
|
+
app_metadata?: Record<string, any>;
|
|
33
|
+
tags?: Array<string>;
|
|
34
|
+
readonly published_at: string | null;
|
|
35
|
+
expires_at?: string | null;
|
|
36
|
+
readonly instance_id: string;
|
|
37
|
+
folder_id?: string;
|
|
38
|
+
readonly shared_link: MiniSharedLink;
|
|
39
|
+
readonly created_at: string;
|
|
40
|
+
readonly created_by: MiniUser;
|
|
41
|
+
readonly modified_at: string;
|
|
42
|
+
readonly modified_by: MiniUser;
|
|
43
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { AccessTypeEnum } from './AccessTypeEnum';
|
|
2
|
+
import { CollaborationRoleEnum } from './CollaborationRoleEnum';
|
|
3
|
+
import { DownloadTypeEnum } from './DownloadTypeEnum';
|
|
4
|
+
import { FileContentTypeEnum } from './FileContentTypeEnum';
|
|
5
|
+
import { FileStatusEnum } from './FileStatusEnum';
|
|
6
|
+
import { FileTypeEnum } from './FileTypeEnum';
|
|
7
|
+
import { MiniSharedLink } from './MiniSharedLink';
|
|
8
|
+
import { MiniUser } from './MiniUser';
|
|
9
|
+
|
|
10
|
+
export type FileUpdate = {
|
|
11
|
+
readonly id: string;
|
|
12
|
+
readonly global_id: string;
|
|
13
|
+
name?: string;
|
|
14
|
+
readonly type: FileTypeEnum;
|
|
15
|
+
readonly size: number | null;
|
|
16
|
+
readonly status: FileStatusEnum;
|
|
17
|
+
readonly content_type: FileContentTypeEnum;
|
|
18
|
+
readonly content_extension: string | null;
|
|
19
|
+
readonly content_length: number | null;
|
|
20
|
+
readonly content_url: string | null;
|
|
21
|
+
readonly content_thumbnails: Array<string>;
|
|
22
|
+
readonly original_extension: string | null;
|
|
23
|
+
readonly thumbnail_url: string | null;
|
|
24
|
+
download_type?: DownloadTypeEnum;
|
|
25
|
+
readonly zip_size: number | null;
|
|
26
|
+
readonly zip_url: string | null;
|
|
27
|
+
access_type?: AccessTypeEnum;
|
|
28
|
+
readonly role: CollaborationRoleEnum;
|
|
29
|
+
readonly pspdfkit_server_url: string | null;
|
|
30
|
+
readonly pspdfkit_auth_payload: Record<string, any> | null;
|
|
31
|
+
metadata?: Record<string, any>;
|
|
32
|
+
app_metadata?: Record<string, any>;
|
|
33
|
+
tags?: Array<string>;
|
|
34
|
+
readonly published_at: string | null;
|
|
35
|
+
expires_at?: string | null;
|
|
36
|
+
readonly instance_id: string;
|
|
37
|
+
folder_id?: string;
|
|
38
|
+
readonly shared_link: MiniSharedLink;
|
|
39
|
+
readonly created_at: string;
|
|
40
|
+
readonly created_by: MiniUser;
|
|
41
|
+
readonly modified_at: string;
|
|
42
|
+
readonly modified_by: MiniUser;
|
|
43
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { AccessTypeEnum } from './AccessTypeEnum';
|
|
2
|
+
import { DownloadTypeEnum } from './DownloadTypeEnum';
|
|
3
|
+
|
|
4
|
+
export type FileUpdateRequest = {
|
|
5
|
+
name?: string;
|
|
6
|
+
content?: Blob;
|
|
7
|
+
content_upload_id?: string;
|
|
8
|
+
thumbnail?: Blob;
|
|
9
|
+
thumbnail_upload_id?: string;
|
|
10
|
+
download_type?: DownloadTypeEnum;
|
|
11
|
+
access_type?: AccessTypeEnum;
|
|
12
|
+
metadata?: Record<string, any>;
|
|
13
|
+
app_metadata?: Record<string, any>;
|
|
14
|
+
tags?: Array<string>;
|
|
15
|
+
expires_at?: string | null;
|
|
16
|
+
folder_id?: string;
|
|
17
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { AccessTypeEnum } from './AccessTypeEnum';
|
|
2
|
+
import { MiniUser } from './MiniUser';
|
|
3
|
+
|
|
4
|
+
export type Folder = {
|
|
5
|
+
readonly id: string;
|
|
6
|
+
name: string;
|
|
7
|
+
readonly instance_id: string;
|
|
8
|
+
access_type?: AccessTypeEnum;
|
|
9
|
+
readonly materialized_path: string;
|
|
10
|
+
readonly depth: number;
|
|
11
|
+
readonly created_at: string;
|
|
12
|
+
readonly created_by: MiniUser;
|
|
13
|
+
readonly modified_at: string;
|
|
14
|
+
readonly modified_by: MiniUser;
|
|
15
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { AccessTypeEnum } from './AccessTypeEnum';
|
|
2
|
+
import { FolderFile } from './FolderFile';
|
|
3
|
+
import { FolderFolder } from './FolderFolder';
|
|
4
|
+
import { MiniUser } from './MiniUser';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Serializer class for creating folder records.
|
|
8
|
+
* Available fields for creating a folder:
|
|
9
|
+
* - id
|
|
10
|
+
* - name
|
|
11
|
+
* - parent_folder_id
|
|
12
|
+
* - instance_id
|
|
13
|
+
*/
|
|
14
|
+
export type FolderCreate = {
|
|
15
|
+
id?: string;
|
|
16
|
+
name: string;
|
|
17
|
+
access_type?: AccessTypeEnum;
|
|
18
|
+
readonly materialized_path: string;
|
|
19
|
+
readonly depth: number;
|
|
20
|
+
readonly files: Array<FolderFile>;
|
|
21
|
+
readonly files_count: number;
|
|
22
|
+
readonly file_thumbnail_urls: Array<string>;
|
|
23
|
+
readonly thumbnail_url: string | null;
|
|
24
|
+
readonly folders: Array<FolderFolder>;
|
|
25
|
+
readonly folders_count: number;
|
|
26
|
+
readonly path: Array<FolderFolder>;
|
|
27
|
+
readonly created_at: string;
|
|
28
|
+
readonly created_by: MiniUser;
|
|
29
|
+
readonly modified_at: string;
|
|
30
|
+
readonly modified_by: MiniUser;
|
|
31
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { AccessTypeEnum } from './AccessTypeEnum';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Serializer class for creating folder records.
|
|
5
|
+
* Available fields for creating a folder:
|
|
6
|
+
* - id
|
|
7
|
+
* - name
|
|
8
|
+
* - parent_folder_id
|
|
9
|
+
* - instance_id
|
|
10
|
+
*/
|
|
11
|
+
export type FolderCreateRequest = {
|
|
12
|
+
id?: string;
|
|
13
|
+
name: string;
|
|
14
|
+
instance_id: string;
|
|
15
|
+
access_type?: AccessTypeEnum;
|
|
16
|
+
parent_folder_id?: string;
|
|
17
|
+
thumbnail_id?: string;
|
|
18
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { FileContentTypeEnum } from './FileContentTypeEnum';
|
|
2
|
+
import { FileStatusEnum } from './FileStatusEnum';
|
|
3
|
+
import { MiniUser } from './MiniUser';
|
|
4
|
+
|
|
5
|
+
export type FolderFile = {
|
|
6
|
+
readonly id: string;
|
|
7
|
+
readonly name: string;
|
|
8
|
+
readonly status: FileStatusEnum;
|
|
9
|
+
readonly content_type: FileContentTypeEnum;
|
|
10
|
+
readonly thumbnail_url: string;
|
|
11
|
+
readonly tags: Array<string>;
|
|
12
|
+
readonly created_by: MiniUser;
|
|
13
|
+
readonly modified_at: string;
|
|
14
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { AccessTypeEnum } from './AccessTypeEnum';
|
|
2
|
+
import { FolderFile } from './FolderFile';
|
|
3
|
+
import { FolderFolder } from './FolderFolder';
|
|
4
|
+
import { MiniUser } from './MiniUser';
|
|
5
|
+
|
|
6
|
+
export type FolderRetrieve = {
|
|
7
|
+
readonly id: string;
|
|
8
|
+
name: string;
|
|
9
|
+
readonly instance_id: string;
|
|
10
|
+
access_type?: AccessTypeEnum;
|
|
11
|
+
readonly materialized_path: string;
|
|
12
|
+
readonly depth: number;
|
|
13
|
+
readonly files: Array<FolderFile>;
|
|
14
|
+
readonly files_count: number;
|
|
15
|
+
readonly file_thumbnail_urls: Array<string>;
|
|
16
|
+
readonly thumbnail_url: string | null;
|
|
17
|
+
readonly folders: Array<FolderFolder>;
|
|
18
|
+
readonly folders_count: number;
|
|
19
|
+
readonly path: Array<FolderFolder>;
|
|
20
|
+
readonly created_at: string;
|
|
21
|
+
readonly created_by: MiniUser;
|
|
22
|
+
readonly modified_at: string;
|
|
23
|
+
readonly modified_by: MiniUser;
|
|
24
|
+
};
|