@pitcher/js-api 1.19.0 → 1.20.0-beta.14
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/js-api.esm.js +3643 -0
- package/js-api.esm.js.map +1 -0
- package/js-api.umd.min.js +10 -10
- package/js-api.umd.min.js.map +1 -1
- 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 +646 -0
- package/lib/apps/browser/stores/api.test.d.ts +1 -0
- package/lib/apps/browser/stores/app.d.ts +94 -0
- package/lib/apps/browser/stores/app.test.d.ts +1 -0
- package/lib/apps/browser/stores/upload.d.ts +111 -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 +12724 -0
- package/lib/apps/canvas-builder/composables/useCanvasDnd.d.ts +12 -0
- package/lib/apps/canvas-builder/composables/useCanvasExit.d.ts +3 -0
- package/lib/apps/canvas-builder/composables/useCanvasHistory.d.ts +1782 -0
- package/lib/apps/canvas-builder/composables/useCanvasHooks.d.ts +25 -0
- package/lib/apps/canvas-builder/composables/useCanvasPages.d.ts +35 -0
- package/lib/apps/canvas-builder/composables/useCanvasPages.spec.d.ts +1 -0
- package/lib/apps/canvas-builder/composables/useCanvasSectionOverrides.d.ts +30 -0
- package/lib/apps/canvas-builder/composables/useCanvasTheme.d.ts +85 -0
- package/lib/apps/canvas-builder/composables/useCanvasVisibility.d.ts +9 -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 +51 -0
- package/lib/apps/canvas-builder/composables/useFetchSectionAnalytics.d.ts +3 -0
- package/lib/apps/canvas-builder/composables/useInstalledEmbeddables.d.ts +12 -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 +53 -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 +467 -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 +25 -0
- package/lib/apps/canvas-builder/util/tree.test.d.ts +1 -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 +44 -0
- package/lib/apps/content-selector/stores/app.d.ts +83 -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 +9 -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/useCanvasOverlay.d.ts +20 -0
- package/lib/composables/useCanvasTablesPagination.d.ts +13 -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 +182 -0
- package/lib/plugins/vueQuery.d.ts +3 -0
- package/lib/sdk/api/HighLevelApi.d.ts +130 -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 +89 -0
- package/lib/sdk/api/modules/admin/env.admin.d.ts +10 -0
- package/lib/sdk/api/modules/admin/files.admin.d.ts +49 -0
- package/lib/sdk/api/modules/admin/index.d.ts +40 -0
- package/lib/sdk/api/modules/admin/metadataTemplates.admin.d.ts +11 -0
- package/lib/sdk/api/modules/admin/types.admin.d.ts +67 -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 +9 -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 +35 -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 +29 -0
- package/lib/sdk/api/modules/ui/content.ui.d.ts +24 -0
- package/lib/sdk/api/modules/ui/index.d.ts +44 -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/post-call.ui.d.ts +6 -0
- package/lib/sdk/api/modules/ui/types.ui.d.ts +115 -0
- package/lib/sdk/api/modules/users.d.ts +7 -0
- package/lib/sdk/api/modules/webView.d.ts +4 -0
- package/lib/sdk/api/onlineRestApiHandlers.d.ts +4 -0
- package/lib/sdk/interfaces.d.ts +232 -0
- package/lib/sdk/main.d.ts +564 -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/httpFetch.d.ts +15 -0
- package/lib/sdk/utils/isodate.d.ts +1 -0
- package/lib/sdk/utils/isodate.spec.d.ts +1 -0
- package/lib/sdk/utils/object.d.ts +1 -0
- package/lib/sdk/utils/object.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 +2185 -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 +43 -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 +38 -0
- package/lib/types/i18n.types.d.ts +1 -0
- package/lib/types/iframes.d.ts +24 -0
- package/lib/types/instance.types.d.ts +18 -0
- package/lib/types/instanceSettings.types.d.ts +23 -0
- package/lib/types/launchDarkly.types.d.ts +40 -0
- package/lib/types/organization.types.d.ts +14 -0
- package/lib/types/organizationMetadata.types.d.ts +4 -0
- package/lib/types/organizationSettings.types.d.ts +3 -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/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/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 +7 -2
- package/types/openapi/index.d.ts +255 -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 +21 -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 +10 -0
- package/types/openapi/models/AppRequest.d.ts +9 -0
- package/types/openapi/models/AppTypeEnum.d.ts +8 -0
- package/types/openapi/models/AppsDBEntry.d.ts +4 -0
- package/types/openapi/models/AppsDBEntryRequest.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 +29 -0
- package/types/openapi/models/CanvasCreate.d.ts +36 -0
- package/types/openapi/models/CanvasCreateRequest.d.ts +25 -0
- package/types/openapi/models/CanvasRecommendedFile.d.ts +46 -0
- package/types/openapi/models/CanvasRecommendedFiles.d.ts +5 -0
- package/types/openapi/models/CanvasRetrieve.d.ts +36 -0
- package/types/openapi/models/CanvasSection.d.ts +10 -0
- package/types/openapi/models/CanvasUpdate.d.ts +36 -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 +4 -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 +13 -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 +23 -0
- package/types/openapi/models/DeletedCanvas.d.ts +31 -0
- package/types/openapi/models/DeletedContentDistributionGroup.d.ts +15 -0
- package/types/openapi/models/DeletedEnvironment.d.ts +15 -0
- package/types/openapi/models/DeletedFavorite.d.ts +20 -0
- package/types/openapi/models/DeletedFile.d.ts +48 -0
- package/types/openapi/models/DeletedFolder.d.ts +18 -0
- package/types/openapi/models/DeletedInstance.d.ts +25 -0
- package/types/openapi/models/DeletedInstanceAssignmentGroup.d.ts +15 -0
- package/types/openapi/models/DeletedMetadataTemplate.d.ts +18 -0
- package/types/openapi/models/DeletedRegion.d.ts +13 -0
- package/types/openapi/models/DownloadTypeEnum.d.ts +10 -0
- package/types/openapi/models/Environment.d.ts +13 -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 +18 -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 +46 -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 +51 -0
- package/types/openapi/models/FileCreateRequest.d.ts +27 -0
- package/types/openapi/models/FilePermission.d.ts +4 -0
- package/types/openapi/models/FilePermissionRequest.d.ts +4 -0
- package/types/openapi/models/FileRequest.d.ts +16 -0
- package/types/openapi/models/FileRetrieve.d.ts +51 -0
- package/types/openapi/models/FileRevision.d.ts +8 -0
- package/types/openapi/models/FileRevisionRequest.d.ts +3 -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 +51 -0
- package/types/openapi/models/FileUpdateRequest.d.ts +20 -0
- package/types/openapi/models/FileVersion.d.ts +5 -0
- package/types/openapi/models/Folder.d.ts +16 -0
- package/types/openapi/models/FolderCreate.d.ts +32 -0
- package/types/openapi/models/FolderCreateRequest.d.ts +19 -0
- package/types/openapi/models/FolderFile.d.ts +15 -0
- package/types/openapi/models/FolderFolder.d.ts +8 -0
- package/types/openapi/models/FolderRetrieve.d.ts +25 -0
- package/types/openapi/models/FolderUpdate.d.ts +32 -0
- package/types/openapi/models/FolderUpdateRequest.d.ts +16 -0
- package/types/openapi/models/Instance.d.ts +23 -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/InstanceUpdate.d.ts +19 -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 +16 -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/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/OfflineSyncFolder.d.ts +17 -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/PaginatedCanvasList.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/PaginatedFileRevisionList.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/PaginatedOfflineSyncFolderList.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 +16 -0
- package/types/openapi/models/PatchedFileRevisionRequest.d.ts +3 -0
- package/types/openapi/models/PatchedFileUpdateRequest.d.ts +20 -0
- package/types/openapi/models/PatchedFolderUpdateRequest.d.ts +16 -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 +11 -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 +9 -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 +16 -0
- package/types/openapi/models/SharedLinkCanvas.d.ts +11 -0
- package/types/openapi/models/SharedLinkCanvasRequest.d.ts +8 -0
- package/types/openapi/models/SharedLinkCreate.d.ts +16 -0
- package/types/openapi/models/SharedLinkCreateRequest.d.ts +6 -0
- package/types/openapi/models/SharedLinkInstance.d.ts +6 -0
- package/types/openapi/models/SharedLinkInstanceRequest.d.ts +5 -0
- package/types/openapi/models/SharedLinkOrganization.d.ts +6 -0
- package/types/openapi/models/SharedLinkOrganizationRequest.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 @@
|
|
|
1
|
+
export { lightPalette, lightThemeOverrides } from '@theme/light';
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export type BasicPalette = {
|
|
2
|
+
base: string;
|
|
3
|
+
primary: string;
|
|
4
|
+
primary2: string;
|
|
5
|
+
primary3: string;
|
|
6
|
+
primary4: string;
|
|
7
|
+
primary5: string;
|
|
8
|
+
primary6: string;
|
|
9
|
+
primary6_1: string;
|
|
10
|
+
accent: string;
|
|
11
|
+
text: string;
|
|
12
|
+
text2: string;
|
|
13
|
+
text3: string;
|
|
14
|
+
error: string;
|
|
15
|
+
error2: string;
|
|
16
|
+
error3: string;
|
|
17
|
+
warning: string;
|
|
18
|
+
warning2: string;
|
|
19
|
+
warning3: string;
|
|
20
|
+
success: string;
|
|
21
|
+
success2: string;
|
|
22
|
+
success3: string;
|
|
23
|
+
info: string;
|
|
24
|
+
info2: string;
|
|
25
|
+
info3: string;
|
|
26
|
+
boxShadow: string;
|
|
27
|
+
boxShadow2: string;
|
|
28
|
+
boxShadow3: string;
|
|
29
|
+
};
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { File, MetadataTemplateFieldTypeEnum } from '../../types/openapi';
|
|
2
|
+
|
|
3
|
+
export type EmbedLocation = 'ui_app' | 'canvas' | 'dsr' | 'admin_instance';
|
|
4
|
+
export type ModuleSettingsOption = {
|
|
5
|
+
label: string;
|
|
6
|
+
value: string;
|
|
7
|
+
};
|
|
8
|
+
export type ModuleSettingsField = {
|
|
9
|
+
type: MetadataTemplateFieldTypeEnum;
|
|
10
|
+
name: string;
|
|
11
|
+
label: string;
|
|
12
|
+
help_text?: string;
|
|
13
|
+
is_required?: boolean;
|
|
14
|
+
options?: ModuleSettingsOption[];
|
|
15
|
+
};
|
|
16
|
+
export type ModuleSettingsSection = {
|
|
17
|
+
label?: string;
|
|
18
|
+
fields: ModuleSettingsField[];
|
|
19
|
+
};
|
|
20
|
+
export type ModuleSettings = {
|
|
21
|
+
sections: ModuleSettingsSection[];
|
|
22
|
+
};
|
|
23
|
+
export type EmbeddedLocationProperties = {
|
|
24
|
+
start_in_loading_mode?: boolean;
|
|
25
|
+
};
|
|
26
|
+
export type Module = {
|
|
27
|
+
enabled: boolean;
|
|
28
|
+
headless?: boolean;
|
|
29
|
+
auto_install?: boolean;
|
|
30
|
+
entry?: string;
|
|
31
|
+
settings?: ModuleSettings;
|
|
32
|
+
defaults: {
|
|
33
|
+
dimensions?: {
|
|
34
|
+
width?: string;
|
|
35
|
+
height?: string;
|
|
36
|
+
};
|
|
37
|
+
settings?: Record<string, unknown>;
|
|
38
|
+
};
|
|
39
|
+
} & EmbeddedLocationProperties;
|
|
40
|
+
export type AppJson = {
|
|
41
|
+
name: string;
|
|
42
|
+
display_name: string;
|
|
43
|
+
icon?: string;
|
|
44
|
+
type?: 'web';
|
|
45
|
+
provide?: ('ui' | 'account_browser' | 'scheduler' | 'postcall' | 'crm_shape')[];
|
|
46
|
+
require?: 'crm'[];
|
|
47
|
+
version: string;
|
|
48
|
+
description?: string;
|
|
49
|
+
authors?: string[];
|
|
50
|
+
module: Record<EmbedLocation, Module>;
|
|
51
|
+
};
|
|
52
|
+
export type AppFile = File & {
|
|
53
|
+
app_metadata?: AppJson;
|
|
54
|
+
};
|
|
55
|
+
export type PitcherInfo = {
|
|
56
|
+
accessToken: string;
|
|
57
|
+
instanceId: string;
|
|
58
|
+
apiOrigin: string;
|
|
59
|
+
} | undefined;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { RouteLocation } from 'vue-router';
|
|
2
|
+
import { SfEventExtended, SfAccountMini, SfAccount, SfUser, SfContactBasic } from './sfdc';
|
|
3
|
+
import { CanvasRetrieve } from '../../types/openapi';
|
|
4
|
+
|
|
5
|
+
export declare const CALL_STORAGE_KEY = "call";
|
|
6
|
+
export interface EventDate {
|
|
7
|
+
start: number | null;
|
|
8
|
+
end: number | null;
|
|
9
|
+
}
|
|
10
|
+
export declare enum CallState {
|
|
11
|
+
NO_CALL = "NO_CALL",
|
|
12
|
+
IN_CALL = "IN_CALL",
|
|
13
|
+
PAUSED = "PAUSED",
|
|
14
|
+
STOPPED = "STOPPED"
|
|
15
|
+
}
|
|
16
|
+
export declare enum PostAction {
|
|
17
|
+
CLOSE_WINDOW = "close_window",
|
|
18
|
+
REDIRECT = "redirect"
|
|
19
|
+
}
|
|
20
|
+
export type CallPresentationHistory = {
|
|
21
|
+
type: 'canvas' | 'section' | 'file';
|
|
22
|
+
notesContent?: string;
|
|
23
|
+
duration?: number;
|
|
24
|
+
timeStarted?: string;
|
|
25
|
+
name?: string;
|
|
26
|
+
id: string;
|
|
27
|
+
}[];
|
|
28
|
+
export interface Call {
|
|
29
|
+
selectedEvent: SfEventExtended | null;
|
|
30
|
+
selectedAccount: SfAccountMini | null;
|
|
31
|
+
selectedContacts: SfContactBasic[];
|
|
32
|
+
selectedUsers: SfUser[];
|
|
33
|
+
accountPreselected: boolean;
|
|
34
|
+
selectedCanvas: CanvasRetrieve | null;
|
|
35
|
+
callState: CallState;
|
|
36
|
+
callStoppedAt: RouteLocation | null;
|
|
37
|
+
eventDate: EventDate;
|
|
38
|
+
postAction?: string | null;
|
|
39
|
+
postActionPath?: string | null;
|
|
40
|
+
presentationHistory?: CallPresentationHistory;
|
|
41
|
+
recentAccounts?: SfAccount[];
|
|
42
|
+
}
|
|
43
|
+
export declare const INITIAL_CALL_STATE: Call;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare enum CanvasActions {
|
|
2
|
+
Copy = "duplicate",
|
|
3
|
+
Share = "share",
|
|
4
|
+
CreateCanvas = "createCanvas",
|
|
5
|
+
CreateTemplate = "createTemplate",
|
|
6
|
+
Delete = "delete",
|
|
7
|
+
Revisions = "revisions",
|
|
8
|
+
Insights = "insights",
|
|
9
|
+
Preview = "preview",
|
|
10
|
+
Edit = "edit",
|
|
11
|
+
Present = "present"
|
|
12
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export interface GetCanvasesParams {
|
|
2
|
+
search?: string;
|
|
3
|
+
account__id?: string;
|
|
4
|
+
instance_id?: string;
|
|
5
|
+
is_draft?: boolean;
|
|
6
|
+
is_editable?: boolean;
|
|
7
|
+
is_section?: boolean;
|
|
8
|
+
is_template?: boolean;
|
|
9
|
+
is_default?: boolean;
|
|
10
|
+
ordering?: string;
|
|
11
|
+
page?: number;
|
|
12
|
+
page_size?: number;
|
|
13
|
+
section_ids?: string[];
|
|
14
|
+
}
|
|
15
|
+
export declare enum CanvasesViewsTypes {
|
|
16
|
+
SAVED = "saved",
|
|
17
|
+
TEMPLATES = "templates"
|
|
18
|
+
}
|
|
19
|
+
export declare enum CanvasStatus {
|
|
20
|
+
READY = "ready",
|
|
21
|
+
DRAFT = "draft"
|
|
22
|
+
}
|
|
23
|
+
export type CanvasType = 'template' | 'section-template' | 'section' | 'canvas';
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { Favorite, FileCreateRequest } from '../../types/openapi';
|
|
2
|
+
import { RecentFile } from './recentFiles.types';
|
|
3
|
+
import { CompactFile, CompactFolder } from '@browser/stores/api';
|
|
4
|
+
|
|
5
|
+
export interface DeviceFileCreateRequest extends Omit<FileCreateRequest, 'content'> {
|
|
6
|
+
path: string;
|
|
7
|
+
}
|
|
8
|
+
export type AllFileCreateRequest = FileCreateRequest | DeviceFileCreateRequest;
|
|
9
|
+
export declare enum ViewCompactItemType {
|
|
10
|
+
File = "file",
|
|
11
|
+
Folder = "folder"
|
|
12
|
+
}
|
|
13
|
+
export type ViewCompactFile = Omit<CompactFile, 'created_by'> & {
|
|
14
|
+
type: ViewCompactItemType.File;
|
|
15
|
+
favoriteId?: Favorite['id'];
|
|
16
|
+
createdBy: string;
|
|
17
|
+
content_type?: string;
|
|
18
|
+
};
|
|
19
|
+
export type ViewCompactFolder = Omit<CompactFolder, 'created_by'> & {
|
|
20
|
+
type: ViewCompactItemType.Folder;
|
|
21
|
+
favoriteId?: Favorite['id'];
|
|
22
|
+
content_type?: null;
|
|
23
|
+
thubmnail_url?: null;
|
|
24
|
+
file_thumbnail_urls?: string[];
|
|
25
|
+
folders_count?: number;
|
|
26
|
+
files_count?: number;
|
|
27
|
+
};
|
|
28
|
+
export interface DeviceFile {
|
|
29
|
+
name: string;
|
|
30
|
+
type: string;
|
|
31
|
+
path: string;
|
|
32
|
+
size: number;
|
|
33
|
+
}
|
|
34
|
+
export type ViewCompactFileFolder = ViewCompactFolder | ViewCompactFile;
|
|
35
|
+
export type RenderableFile = (Favorite & {
|
|
36
|
+
thumbnail_url?: string;
|
|
37
|
+
file_thumbnail_urls?: string[];
|
|
38
|
+
}) | RecentFile | ViewCompactFileFolder;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type SupportedLocale = 'en' | 'de' | 'pl' | 'tr' | 'el';
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export declare const IFRAME_DATA_MESSAGE: "IFRAME_DATA_MESSAGE";
|
|
2
|
+
export declare const CANVAS_HOOKS: {
|
|
3
|
+
readonly ON_CANVAS_UPDATE: "on_canvas_update";
|
|
4
|
+
readonly ON_SECTION_LIST_UPDATE: "on_section_list_update";
|
|
5
|
+
};
|
|
6
|
+
export declare const IFRAME_ACTION_TYPES: {
|
|
7
|
+
readonly SET_DATA: "set_data";
|
|
8
|
+
readonly UPDATE_DATA: "update_data";
|
|
9
|
+
readonly RESIZE_IFRAME: "resize_iframe";
|
|
10
|
+
readonly IFRAME_LOADED: "iframe_loaded";
|
|
11
|
+
readonly SECTION_LIST_UPDATED: "section_list_updated";
|
|
12
|
+
readonly CANVAS_UPDATED: "canvas_updated";
|
|
13
|
+
readonly NAVIGATE_NEXT_PAGE: "navigate_next_page";
|
|
14
|
+
readonly NAVIGATE_PREVIOUS_PAGE: "navigate_previous_page";
|
|
15
|
+
readonly NAVIGATE_PAGE: "navigate_page";
|
|
16
|
+
};
|
|
17
|
+
export type IFrameMessage<Payload = any> = {
|
|
18
|
+
id: string;
|
|
19
|
+
type: typeof IFRAME_DATA_MESSAGE;
|
|
20
|
+
body: {
|
|
21
|
+
action: (typeof IFRAME_ACTION_TYPES)[keyof typeof IFRAME_ACTION_TYPES];
|
|
22
|
+
data: Payload;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Instance, InstanceUpdate, InstanceUpdateRequest, InstanceRequest, PatchedInstanceUpdateRequest } from '../../types/openapi';
|
|
2
|
+
import { InstanceSettings } from './instanceSettings.types';
|
|
3
|
+
|
|
4
|
+
export interface PitcherInstance extends Omit<Instance, 'settings'> {
|
|
5
|
+
readonly settings?: InstanceSettings;
|
|
6
|
+
}
|
|
7
|
+
export interface PitcherInstanceUpdate extends Omit<InstanceUpdate, 'settings'> {
|
|
8
|
+
settings?: InstanceSettings | null;
|
|
9
|
+
}
|
|
10
|
+
export interface PitcherInstanceUpdateRequest extends Omit<InstanceUpdateRequest, 'settings'> {
|
|
11
|
+
settings?: InstanceSettings | null;
|
|
12
|
+
}
|
|
13
|
+
export interface PitcherPatchedInstanceUpdateRequest extends Omit<PatchedInstanceUpdateRequest, 'settings'> {
|
|
14
|
+
settings?: InstanceSettings | null;
|
|
15
|
+
}
|
|
16
|
+
export interface PitcherInstanceRequest extends Omit<InstanceRequest, 'settings'> {
|
|
17
|
+
settings?: InstanceSettings | null;
|
|
18
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ComponentTypes } from '../apps/canvas-builder/types/canvas';
|
|
2
|
+
|
|
3
|
+
export declare enum CanvasExcludedComponentTypesEnum {
|
|
4
|
+
Root = "Root",
|
|
5
|
+
GridItem = "GridItem",
|
|
6
|
+
File = "File",
|
|
7
|
+
Slide = "Slide"
|
|
8
|
+
}
|
|
9
|
+
export type CanvasExcludedComponentTypes = keyof typeof CanvasExcludedComponentTypesEnum;
|
|
10
|
+
export type CanvasComponentTypes = Exclude<keyof typeof ComponentTypes, CanvasExcludedComponentTypes>;
|
|
11
|
+
export type CanvasComponentAvailability = {
|
|
12
|
+
[component in CanvasComponentTypes]: boolean;
|
|
13
|
+
};
|
|
14
|
+
export type InstanceSettings = {
|
|
15
|
+
impact_show_only_saved_canvases_in_canvas_manager?: boolean;
|
|
16
|
+
canvas?: {
|
|
17
|
+
component_availability?: CanvasComponentAvailability & {
|
|
18
|
+
apps?: Record<string, boolean>;
|
|
19
|
+
};
|
|
20
|
+
content_grid_autofill_files_filter_iteratee?: string;
|
|
21
|
+
section_content_grid_autofill_files_filter_iteratee?: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { TranslationOverrides } from './translations';
|
|
2
|
+
|
|
3
|
+
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_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_canvas_node_debugging' | 'enable_experimental_canvas_builder_dnd' | 'enable_knock_notifications' | '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_popularity_icons' | 'show_system_filters' | 'prefer_online_handlers' | 'use_short_url_for_shared_link';
|
|
4
|
+
type LaunchDarklyObjectFlags = {
|
|
5
|
+
canvas_table_pagination: CanvasTablePagination;
|
|
6
|
+
canvas_manager_table_columns: CanvasManagerTableColumns;
|
|
7
|
+
context_crm_shape: Record<string, any>;
|
|
8
|
+
translation_overrides: TranslationOverrides;
|
|
9
|
+
};
|
|
10
|
+
export type LaunchDarklyObjectFlagKey = keyof LaunchDarklyObjectFlags;
|
|
11
|
+
export type LaunchDarklyStringFlagKey = keyof typeof LaunchDarklyStringFlags;
|
|
12
|
+
declare const LaunchDarklyStringFlags: {
|
|
13
|
+
readonly section_list_mode: readonly ["pagination", "collapsibles"];
|
|
14
|
+
readonly canvas_component_grouping: readonly ["page", "page_break", "none"];
|
|
15
|
+
};
|
|
16
|
+
type LaunchDarklyStringFlagValue<K extends LaunchDarklyStringFlagKey = LaunchDarklyStringFlagKey> = K extends LaunchDarklyStringFlagKey ? (typeof LaunchDarklyStringFlags)[K][number] : never;
|
|
17
|
+
type CanvasManagerVisibility = {
|
|
18
|
+
hide: string[];
|
|
19
|
+
order: string[];
|
|
20
|
+
};
|
|
21
|
+
export type CanvasTablePagination = {
|
|
22
|
+
sizes: number[];
|
|
23
|
+
default: number;
|
|
24
|
+
};
|
|
25
|
+
export type CanvasManagerTableColumns = {
|
|
26
|
+
canvas_templates: CanvasManagerVisibility;
|
|
27
|
+
canvases: CanvasManagerVisibility;
|
|
28
|
+
section_templates: CanvasManagerVisibility;
|
|
29
|
+
sections: CanvasManagerVisibility;
|
|
30
|
+
};
|
|
31
|
+
export type LaunchDarklyEnv = {
|
|
32
|
+
[K in LaunchDarklyBooleanFlagKey]?: boolean;
|
|
33
|
+
} & {
|
|
34
|
+
[K in LaunchDarklyStringFlagKey]?: LaunchDarklyStringFlagValue<K>;
|
|
35
|
+
} & {
|
|
36
|
+
[K in keyof LaunchDarklyObjectFlags]?: LaunchDarklyObjectFlags[K];
|
|
37
|
+
} & {
|
|
38
|
+
[key: string]: any;
|
|
39
|
+
};
|
|
40
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Organization, OrganizationUpdate, OrganizationUpdateRequest } from '../../types/openapi';
|
|
2
|
+
import { OrganizationMetadata } from './organizationMetadata.types';
|
|
3
|
+
import { OrganizationSettings } from './organizationSettings.types';
|
|
4
|
+
|
|
5
|
+
export interface PitcherOrg extends Omit<Organization, 'metadata' | 'settings'> {
|
|
6
|
+
readonly metadata: OrganizationMetadata;
|
|
7
|
+
readonly settings: OrganizationSettings;
|
|
8
|
+
}
|
|
9
|
+
export interface PitcherOrganizationUpdate extends Omit<OrganizationUpdate, 'settings'> {
|
|
10
|
+
settings?: OrganizationSettings | null;
|
|
11
|
+
}
|
|
12
|
+
export interface PitcherOrganizationUpdateRequest extends Omit<OrganizationUpdateRequest, 'settings'> {
|
|
13
|
+
settings?: OrganizationSettings | null;
|
|
14
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export declare enum SystemFilter {
|
|
2
|
+
LATEST = "system:latest",
|
|
3
|
+
POPULAR = "system:popular",
|
|
4
|
+
RECOMMENDED = "system:recommended",
|
|
5
|
+
ENGAGING = "system:engaging"
|
|
6
|
+
}
|
|
7
|
+
export declare enum SectionPopularityCategory {
|
|
8
|
+
NONE = 0,
|
|
9
|
+
POPULAR = 1,
|
|
10
|
+
THE_MOST_POPULAR = 2
|
|
11
|
+
}
|
|
12
|
+
export declare enum SectionTrendlineDirection {
|
|
13
|
+
ASC = 0,
|
|
14
|
+
DESC = 1
|
|
15
|
+
}
|
|
16
|
+
export interface SectionPopularity {
|
|
17
|
+
value: number;
|
|
18
|
+
category: SectionPopularityCategory;
|
|
19
|
+
}
|
|
20
|
+
export interface SectionEngagement {
|
|
21
|
+
data: number[];
|
|
22
|
+
direction: SectionTrendlineDirection;
|
|
23
|
+
trendline: number;
|
|
24
|
+
}
|
|
25
|
+
export interface SectionExtra {
|
|
26
|
+
id?: string;
|
|
27
|
+
popularity: SectionPopularity;
|
|
28
|
+
engagement: SectionEngagement;
|
|
29
|
+
views: number;
|
|
30
|
+
}
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
export type SfAccountMini = {
|
|
2
|
+
Id?: string;
|
|
3
|
+
Name?: string;
|
|
4
|
+
};
|
|
5
|
+
export type SfAccount = SfAccountMini & {
|
|
6
|
+
BillingStreet?: string;
|
|
7
|
+
BillingCity?: string;
|
|
8
|
+
Type: string;
|
|
9
|
+
Parent?: {
|
|
10
|
+
Name: string;
|
|
11
|
+
};
|
|
12
|
+
LastActivityDate?: string;
|
|
13
|
+
BillingAddress?: {
|
|
14
|
+
city: string;
|
|
15
|
+
country: string;
|
|
16
|
+
postalCode: string;
|
|
17
|
+
state: string;
|
|
18
|
+
street: string;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
export declare enum EventAction {
|
|
22
|
+
CREATE = "create",
|
|
23
|
+
PATCH = "patch",
|
|
24
|
+
DELETE = "delete"
|
|
25
|
+
}
|
|
26
|
+
export declare enum SfEventColors {
|
|
27
|
+
PLANNED_NO_PITCHER_EVENT = "#2196F3",
|
|
28
|
+
PAST = "#F44336",
|
|
29
|
+
SUBMITTED = "#4CAF50",
|
|
30
|
+
SUBMITTED_FOR_LATER = "#FFEB3B",
|
|
31
|
+
TIME_OFF_TERRITORY = "#757575",
|
|
32
|
+
PLANNED = "#2196F3"
|
|
33
|
+
}
|
|
34
|
+
export declare enum SfEventColorsLight {
|
|
35
|
+
PLANNED_NO_PITCHER_EVENT = "#E3F2FD",
|
|
36
|
+
PAST = "#FFEBEE",
|
|
37
|
+
SUBMITTED = "#E8F5E9",
|
|
38
|
+
SUBMITTED_FOR_LATER = "#FFFDE7",
|
|
39
|
+
TIME_OFF_TERRITORY = "#E0E0E0",
|
|
40
|
+
PLANNED = "#E3F2FD"
|
|
41
|
+
}
|
|
42
|
+
export type SfEvent = {
|
|
43
|
+
Id?: string;
|
|
44
|
+
Name?: string;
|
|
45
|
+
Account?: {
|
|
46
|
+
Name?: string;
|
|
47
|
+
};
|
|
48
|
+
AccountId?: string;
|
|
49
|
+
Description?: string;
|
|
50
|
+
DurationInMinutes?: string;
|
|
51
|
+
OwnerId?: string;
|
|
52
|
+
Subject?: string;
|
|
53
|
+
StartDateTime?: string;
|
|
54
|
+
EndDateTime?: string;
|
|
55
|
+
WhatId?: string;
|
|
56
|
+
WhatCount?: number;
|
|
57
|
+
WhoCount?: number;
|
|
58
|
+
WhoId?: string;
|
|
59
|
+
Type?: string;
|
|
60
|
+
EventWhoIds?: string[];
|
|
61
|
+
};
|
|
62
|
+
export type SfEventExtended = SfEvent & {
|
|
63
|
+
contactName?: string;
|
|
64
|
+
accountName?: string;
|
|
65
|
+
contacts?: any;
|
|
66
|
+
extraContacts?: number;
|
|
67
|
+
};
|
|
68
|
+
export type SfEventRelation = {
|
|
69
|
+
AccountId?: SfAccount['Id'];
|
|
70
|
+
EventId?: SfEvent['Id'];
|
|
71
|
+
IsDeleted?: boolean;
|
|
72
|
+
IsInvitee?: boolean;
|
|
73
|
+
IsParent?: boolean;
|
|
74
|
+
IsWhat?: boolean;
|
|
75
|
+
RelationId?: string;
|
|
76
|
+
RespondedDate?: string;
|
|
77
|
+
Response?: string;
|
|
78
|
+
Status?: string;
|
|
79
|
+
};
|
|
80
|
+
export type SfUser = {
|
|
81
|
+
Id: string;
|
|
82
|
+
Address?: string;
|
|
83
|
+
Email?: string;
|
|
84
|
+
FirstName?: string;
|
|
85
|
+
LastName?: string;
|
|
86
|
+
Name?: string;
|
|
87
|
+
};
|
|
88
|
+
export type SfContact = {
|
|
89
|
+
Id: string;
|
|
90
|
+
Name?: string;
|
|
91
|
+
AccountId?: SfAccount['Id'];
|
|
92
|
+
Email?: string;
|
|
93
|
+
MailingAddress?: string;
|
|
94
|
+
Phone?: string;
|
|
95
|
+
};
|
|
96
|
+
export interface SfContactBasic {
|
|
97
|
+
AccountId: string;
|
|
98
|
+
Email: string;
|
|
99
|
+
Id: string;
|
|
100
|
+
LastViewedDate: string | null;
|
|
101
|
+
MailingAddress: string | null;
|
|
102
|
+
Name: string;
|
|
103
|
+
Phone: string | null;
|
|
104
|
+
attributes: {
|
|
105
|
+
type: string;
|
|
106
|
+
url: string;
|
|
107
|
+
};
|
|
108
|
+
}
|
|
109
|
+
export type EventsSfList = {
|
|
110
|
+
done?: boolean;
|
|
111
|
+
records?: Array<object>;
|
|
112
|
+
totalSize?: number;
|
|
113
|
+
};
|
|
114
|
+
export type EventsFetchRequest = {
|
|
115
|
+
end_at__lt?: string;
|
|
116
|
+
start_at__gt?: string;
|
|
117
|
+
userId?: string;
|
|
118
|
+
external_objects__external_object_id?: SfEvent['Id'];
|
|
119
|
+
};
|
|
120
|
+
export type CreateSfEventParams = {
|
|
121
|
+
end_at?: string;
|
|
122
|
+
start_at?: string;
|
|
123
|
+
description?: string;
|
|
124
|
+
duration?: string;
|
|
125
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
type DotPrefix<T extends string> = T extends '' ? '' : `.${T}`;
|
|
2
|
+
export type NestedKeyOf<T> = (T extends object ? {
|
|
3
|
+
[K in Exclude<keyof T, symbol>]: `${K}${DotPrefix<NestedKeyOf<T[K]>>}`;
|
|
4
|
+
}[Exclude<keyof T, symbol>] : '') extends infer D ? Extract<D, string> : never;
|
|
5
|
+
export type ArrayElement<ArrayType extends readonly unknown[]> = ArrayType extends readonly (infer ElementType)[] ? ElementType : never;
|
|
6
|
+
export type Mutable<T> = {
|
|
7
|
+
-readonly [P in keyof T]: T[P];
|
|
8
|
+
};
|
|
9
|
+
export type PartialBy<T, K extends keyof T> = Omit<T, K> & Partial<Pick<T, K>>;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
|
|
3
|
+
export interface GetUsersParams {
|
|
4
|
+
search?: Ref<string> | string;
|
|
5
|
+
filters?: Ref<any>;
|
|
6
|
+
}
|
|
7
|
+
export interface RefreshServiceTokenRequest {
|
|
8
|
+
provider?: string;
|
|
9
|
+
}
|
|
10
|
+
export interface RefreshServiceTokenResponse {
|
|
11
|
+
access_token: string;
|
|
12
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { NestedKeyOf } from '../types/ts';
|
|
2
|
+
|
|
3
|
+
export declare const sortCollectionByString: <T>(rowA: T, rowB: T, property: NestedKeyOf<T>) => 1 | -1 | 0;
|
|
4
|
+
export declare function insertItemSorted<T>(array: ReadonlyArray<T>, item: T, compareFn: (a: T, b: T) => number): ReadonlyArray<T>;
|
|
5
|
+
export declare function getExcessItemsIndexes(arrA: any[], arrB: any[]): number[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ColumnDef } from '@tanstack/table-core';
|
|
2
|
+
import { LaunchDarklyEnv, CanvasManagerTableColumns } from '../types/launchDarkly.types';
|
|
3
|
+
|
|
4
|
+
export declare function getVisibleColumns(visibilityAndSortingConfiguration: LaunchDarklyEnv['canvas_manager_table_columns'], columns: ColumnDef<Record<string, any>, any>[], view?: keyof CanvasManagerTableColumns): ColumnDef<Record<string, any>, any>[];
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const camelCaseKeys: <T>(obj: T, skipKeys?: string[], skipObjectKeys?: string[]) => T;
|
|
2
|
+
export declare const snakeCaseKeys: <T>(obj: T, skipKeys?: string[], skipObjectKeys?: string[]) => T;
|
|
3
|
+
export declare const pascalCaseKeys: <T>(obj: T, skipKeys?: string[], skipObjectKeys?: string[]) => T;
|
|
4
|
+
export declare const titleCase: (s?: string) => string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Dayjs, default as dayjsInstance } from 'dayjs';
|
|
2
|
+
|
|
3
|
+
export declare const dayjs: typeof dayjsInstance;
|
|
4
|
+
export declare const formatDayMonthBasedOnBrowserLang: (date: Date) => string;
|
|
5
|
+
export declare const formatDateTimeAgo: (dateStr?: string | null) => string | null | undefined;
|
|
6
|
+
export declare const formatDateTime: (dateStr?: string | null, format?: string) => string | null | undefined;
|
|
7
|
+
export declare const formatDate: (dateStr?: string | null | Dayjs, format?: string) => string | null | undefined;
|
|
8
|
+
export declare const isBefore: (dateStr?: string | null) => boolean;
|
|
9
|
+
export declare const isSameOrBefore: (dateStr?: string | null) => boolean;
|
|
10
|
+
export declare const isAfter: (dateStr?: string | null) => boolean;
|
|
11
|
+
export declare const isSameOrAfter: (dateStr?: string | null) => boolean;
|
|
12
|
+
export declare const msToSeconds: (ms: number) => number;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|