@pitcher/js-api 1.22.0-alpha.1 → 1.22.0-alpha.2
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/package.json +1 -1
- package/types/js-api.esm.d.ts +0 -1
- package/types/lib/api/apps/apps.queries.d.ts +0 -3
- package/types/lib/api/canvases/canvases.queries.d.ts +0 -15
- package/types/lib/api/events/events.helpers.d.ts +0 -29
- package/types/lib/api/events/events.queries.d.ts +0 -10
- package/types/lib/api/users/users.queries.d.ts +0 -5
- package/types/lib/apps/browser/composables/useAppEmit.d.ts +0 -3
- package/types/lib/apps/browser/stores/api.d.ts +0 -575
- package/types/lib/apps/browser/stores/api.test.d.ts +0 -1
- package/types/lib/apps/browser/stores/app.d.ts +0 -117
- package/types/lib/apps/browser/stores/app.test.d.ts +0 -1
- package/types/lib/apps/browser/stores/upload.d.ts +0 -101
- package/types/lib/apps/browser/stores/upload.types.d.ts +0 -18
- package/types/lib/apps/browser/util/file.d.ts +0 -3
- package/types/lib/apps/canvas-builder/App.helpers.d.ts +0 -12
- package/types/lib/apps/canvas-builder/components/ui/Link/Link.util.d.ts +0 -13
- package/types/lib/apps/canvas-builder/composables/useCanvas.d.ts +0 -12735
- package/types/lib/apps/canvas-builder/composables/useCanvasHistory.d.ts +0 -1784
- package/types/lib/apps/canvas-builder/composables/useCanvasHooks.d.ts +0 -25
- package/types/lib/apps/canvas-builder/composables/useCanvasPages.d.ts +0 -34
- package/types/lib/apps/canvas-builder/composables/useCanvasPages.spec.d.ts +0 -1
- package/types/lib/apps/canvas-builder/composables/useCanvasSectionOverrides.d.ts +0 -29
- package/types/lib/apps/canvas-builder/composables/useCanvasTheme.d.ts +0 -76
- package/types/lib/apps/canvas-builder/composables/useCanvasVisibility.d.ts +0 -8
- package/types/lib/apps/canvas-builder/composables/useCollapsibles.d.ts +0 -14
- package/types/lib/apps/canvas-builder/composables/useComponentPermissions.d.ts +0 -14
- package/types/lib/apps/canvas-builder/composables/useContentSelector.d.ts +0 -49
- package/types/lib/apps/canvas-builder/composables/useFetchSectionAnalytics.d.ts +0 -3
- package/types/lib/apps/canvas-builder/composables/useNavigatorDrawer.d.ts +0 -6
- package/types/lib/apps/canvas-builder/composables/usePitcherEvents.d.ts +0 -5
- package/types/lib/apps/canvas-builder/composables/useRecommendations.d.ts +0 -50
- package/types/lib/apps/canvas-builder/composables/useReorderComponent.d.ts +0 -16
- package/types/lib/apps/canvas-builder/composables/useSectionNavigation.d.ts +0 -16
- package/types/lib/apps/canvas-builder/composables/useSectionPopularity.d.ts +0 -34
- package/types/lib/apps/canvas-builder/constants/canvas.const.d.ts +0 -15
- package/types/lib/apps/canvas-builder/constants/defaults.const.d.ts +0 -1
- package/types/lib/apps/canvas-builder/constants/index.d.ts +0 -3
- package/types/lib/apps/canvas-builder/constants/sizes.d.ts +0 -2
- package/types/lib/apps/canvas-builder/types/canvas.d.ts +0 -466
- package/types/lib/apps/canvas-builder/types/font-awesome.types.d.ts +0 -2
- package/types/lib/apps/canvas-builder/types/recommendations.types.d.ts +0 -28
- package/types/lib/apps/canvas-builder/util/canvas.util.d.ts +0 -44
- package/types/lib/apps/canvas-builder/util/canvas.util.test.d.ts +0 -1
- package/types/lib/apps/canvas-builder/util/clone.d.ts +0 -1
- package/types/lib/apps/canvas-builder/util/file.util.d.ts +0 -6
- package/types/lib/apps/canvas-builder/util/tree.d.ts +0 -24
- package/types/lib/apps/canvas-builder/util/tree.test.d.ts +0 -1
- package/types/lib/apps/canvas-builder/util/tsUtils.d.ts +0 -3
- package/types/lib/apps/canvas-builder/util/url.d.ts +0 -5
- package/types/lib/apps/canvas-builder/util/url.test.d.ts +0 -1
- package/types/lib/apps/content-selector/appTypes.d.ts +0 -43
- package/types/lib/apps/content-selector/stores/app.d.ts +0 -82
- package/types/lib/apps/content-selector/util/file.d.ts +0 -3
- package/types/lib/apps/content-selector/util/media-type.util.d.ts +0 -1
- package/types/lib/apps/notes/composables/useFullscreenNotesHeartbeat.d.ts +0 -3
- package/types/lib/apps/notes/composables/useNotesApp.d.ts +0 -3
- package/types/lib/components/CCatalogIqSwitcher/CCatalogIqSwitcher.types.d.ts +0 -7
- package/types/lib/components/CConfigEditor/CConfigEditor.types.d.ts +0 -7
- package/types/lib/components/CConfigEditor/CConfigEditor.validators.d.ts +0 -4
- package/types/lib/components/CContactSelector/CContactSelector.types.d.ts +0 -4
- package/types/lib/components/CDataTable/CDataTableEdit.use.d.ts +0 -22
- package/types/lib/components/CFileViewer/CFileViewer.types.d.ts +0 -7
- package/types/lib/components/CFileViewer/CFileViewer.use.d.ts +0 -47
- package/types/lib/components/CFileViewer/CFileViewerFullScreen.use.d.ts +0 -16
- package/types/lib/components/CFileViewer/pageThumbnailFavorite.use.d.ts +0 -10
- package/types/lib/components/CFileViewer/pdfEvents.use.d.ts +0 -4
- package/types/lib/components/CGlobalSearch/CGlobalSearch.types.d.ts +0 -23
- package/types/lib/components/CGlobalSearch/GlobalSearch.use.d.ts +0 -24
- package/types/lib/components/CGlobalSearch/Shortcuts.use.d.ts +0 -11
- package/types/lib/components/CMultiSelect/CMultiSelect.test.d.ts +0 -1
- package/types/lib/components/CQuickFilters/CQuickFilters.types.d.ts +0 -4
- package/types/lib/components/CRichTextEditor/constants.d.ts +0 -1
- package/types/lib/components/CRichTextEditor/extensions/bulletListExtended.d.ts +0 -16
- package/types/lib/components/CRichTextEditor/extensions/headingExtended.d.ts +0 -10
- package/types/lib/components/CRichTextEditor/extensions/mentionSuggestions.d.ts +0 -11
- package/types/lib/components/CRichTextEditor/extensions/paragraphExtended.d.ts +0 -26
- package/types/lib/components/CRichTextEditor/extensions/textStyleExtended.d.ts +0 -10
- package/types/lib/components/CSingleSelect/CSingleSelect.test.d.ts +0 -1
- package/types/lib/components/CUsersGroupsAccessManage/CUsersGroupsAccessManage.types.d.ts +0 -56
- package/types/lib/components/CVirtualTable/CVirtualTable.test.d.ts +0 -1
- package/types/lib/components/CVirtualTable/CVirtualTableRow.test.d.ts +0 -1
- package/types/lib/components/canvases/CanvasesManagementBulk.use.d.ts +0 -40
- package/types/lib/components/canvases/CanvasesManagementFilters.use.d.ts +0 -7
- package/types/lib/components/canvases/CanvasesManagementToolbarFilters.use.d.ts +0 -20
- package/types/lib/components/filters/CDateRangeFilter.test.d.ts +0 -1
- package/types/lib/components/filters/CSelectFilter.test.d.ts +0 -1
- package/types/lib/components/filters/filter.const.d.ts +0 -1
- package/types/lib/components/filters/filter.util.d.ts +0 -2
- package/types/lib/components/filters/filter.util.spec.d.ts +0 -1
- package/types/lib/components/savedCanvases/CSavedCanvasesManagement.use.d.ts +0 -11
- package/types/lib/components/savedCanvases/CSavedCanvasesManagementShareCanvas.use.d.ts +0 -7
- package/types/lib/composables/appEmit.use.d.ts +0 -3
- package/types/lib/composables/bulkActions.use.d.ts +0 -12
- package/types/lib/composables/fileViewerSettings.use.d.ts +0 -8
- package/types/lib/composables/recentFiles.use.d.ts +0 -12
- package/types/lib/composables/useAssetUpload.d.ts +0 -6
- package/types/lib/composables/useBindValidation.d.ts +0 -206
- package/types/lib/composables/useConfirmation.d.ts +0 -23
- package/types/lib/composables/useConnectUpload.d.ts +0 -5
- package/types/lib/composables/useDetailsView.d.ts +0 -19
- package/types/lib/composables/useFetchUsers.d.ts +0 -18
- package/types/lib/composables/useInfiniteScroll.d.ts +0 -13
- package/types/lib/composables/useInstalledApps.d.ts +0 -3
- package/types/lib/composables/useLocation.d.ts +0 -26
- package/types/lib/composables/useLocationAPI.d.ts +0 -39
- package/types/lib/composables/useLocationListeners.d.ts +0 -8
- package/types/lib/composables/useLocationManipulation.d.ts +0 -37
- package/types/lib/composables/usePdfInterpolation.d.ts +0 -9
- package/types/lib/composables/useTheme.d.ts +0 -9
- package/types/lib/composables/useThemeVars.d.ts +0 -30
- package/types/lib/composables/useToast.d.ts +0 -14
- package/types/lib/composables/useWindowEvents.d.ts +0 -20
- package/types/lib/constants/cdp.const.d.ts +0 -41
- package/types/lib/constants/config.const.d.ts +0 -1
- package/types/lib/constants/conventions.const.d.ts +0 -3
- package/types/lib/constants/i18n.const.d.ts +0 -13
- package/types/lib/constants/modal.const.d.ts +0 -9
- package/types/lib/constants/more.const.d.ts +0 -1
- package/types/lib/constants/recentFiles.const.d.ts +0 -4
- package/types/lib/constants/tables.const.d.ts +0 -4
- package/types/lib/constants/timers.const.d.ts +0 -1
- package/types/lib/constants/uploads.const.d.ts +0 -8
- package/types/lib/constants/url.const.d.ts +0 -2
- package/types/lib/custom-naive-locales/el.d.ts +0 -124
- package/types/lib/directives/autofocus.d.ts +0 -4
- package/types/lib/directives/clickOutside.d.ts +0 -8
- package/types/lib/directives/draggable.d.ts +0 -4
- package/types/lib/directives/tooltip.d.ts +0 -4
- package/types/lib/main.lib.d.ts +0 -176
- package/types/lib/plugins/vueQuery.d.ts +0 -3
- package/types/lib/sdk/api/HighLevelApi.d.ts +0 -125
- package/types/lib/sdk/api/HighLevelApi.spec.d.ts +0 -1
- package/types/lib/sdk/api/LowLevelApi.d.ts +0 -18
- package/types/lib/sdk/api/LowLevelApi.spec.d.ts +0 -1
- package/types/lib/sdk/api/modules/admin/canvas.admin.d.ts +0 -69
- package/types/lib/sdk/api/modules/admin/env.admin.d.ts +0 -10
- package/types/lib/sdk/api/modules/admin/files.admin.d.ts +0 -10
- package/types/lib/sdk/api/modules/admin/index.d.ts +0 -6
- package/types/lib/sdk/api/modules/admin/metadataTemplates.admin.d.ts +0 -11
- package/types/lib/sdk/api/modules/admin/types.admin.d.ts +0 -46
- package/types/lib/sdk/api/modules/canvas.d.ts +0 -56
- package/types/lib/sdk/api/modules/dsr/env.dsr.d.ts +0 -10
- package/types/lib/sdk/api/modules/dsr/index.d.ts +0 -5
- package/types/lib/sdk/api/modules/dsr/loading.dsr.d.ts +0 -1
- package/types/lib/sdk/api/modules/dsr/types.dsr.d.ts +0 -39
- package/types/lib/sdk/api/modules/env.d.ts +0 -7
- package/types/lib/sdk/api/modules/events.d.ts +0 -7
- package/types/lib/sdk/api/modules/favorites.d.ts +0 -8
- package/types/lib/sdk/api/modules/feedback.d.ts +0 -3
- package/types/lib/sdk/api/modules/files.d.ts +0 -31
- package/types/lib/sdk/api/modules/folders.d.ts +0 -21
- package/types/lib/sdk/api/modules/index.d.ts +0 -19
- package/types/lib/sdk/api/modules/languages.d.ts +0 -8
- package/types/lib/sdk/api/modules/metadataTemplates.d.ts +0 -4
- package/types/lib/sdk/api/modules/notifications.d.ts +0 -3
- package/types/lib/sdk/api/modules/open.d.ts +0 -4
- package/types/lib/sdk/api/modules/pspdfkit.d.ts +0 -23
- package/types/lib/sdk/api/modules/query.d.ts +0 -3
- package/types/lib/sdk/api/modules/search.d.ts +0 -4
- package/types/lib/sdk/api/modules/sync.d.ts +0 -9
- package/types/lib/sdk/api/modules/toast.d.ts +0 -4
- package/types/lib/sdk/api/modules/track.d.ts +0 -4
- package/types/lib/sdk/api/modules/ui/app-errors.ui.d.ts +0 -3
- package/types/lib/sdk/api/modules/ui/canvas.ui.d.ts +0 -4
- package/types/lib/sdk/api/modules/ui/content.ui.d.ts +0 -7
- package/types/lib/sdk/api/modules/ui/index.d.ts +0 -8
- package/types/lib/sdk/api/modules/ui/loading.ui.d.ts +0 -1
- package/types/lib/sdk/api/modules/ui/location.ui.d.ts +0 -3
- package/types/lib/sdk/api/modules/ui/types.ui.d.ts +0 -47
- package/types/lib/sdk/api/modules/users.d.ts +0 -6
- package/types/lib/sdk/api/modules/webView.d.ts +0 -4
- package/types/lib/sdk/interfaces.d.ts +0 -230
- package/types/lib/sdk/main.d.ts +0 -434
- package/types/lib/sdk/main.spec.d.ts +0 -1
- package/types/lib/sdk/main.umd-esm.d.ts +0 -1
- package/types/lib/sdk/payload.types.d.ts +0 -56
- package/types/lib/sdk/utils/assert.d.ts +0 -3
- package/types/lib/sdk/utils/assert.spec.d.ts +0 -1
- package/types/lib/sdk/utils/cleanUrl.d.ts +0 -1
- package/types/lib/sdk/utils/eventEmitter.d.ts +0 -17
- package/types/lib/sdk/utils/eventEmitter.spec.d.ts +0 -1
- package/types/lib/sdk/utils/isodate.d.ts +0 -1
- package/types/lib/sdk/utils/isodate.spec.d.ts +0 -1
- package/types/lib/sdk/utils/postrobot.d.ts +0 -1
- package/types/lib/theme/canvasUiUnoPreset.d.ts +0 -4
- package/types/lib/theme/daisyUi.d.ts +0 -1
- package/types/lib/theme/light.const.d.ts +0 -4
- package/types/lib/theme/light.d.ts +0 -2483
- package/types/lib/theme/main.d.ts +0 -3
- package/types/lib/theme/theme-overrides.d.ts +0 -1
- package/types/lib/theme/theme.types.d.ts +0 -29
- package/types/lib/theme/theme.utils.d.ts +0 -3
- package/types/lib/types/app.d.ts +0 -59
- package/types/lib/types/call.d.ts +0 -42
- package/types/lib/types/canvasActions.d.ts +0 -12
- package/types/lib/types/canvases.d.ts +0 -23
- package/types/lib/types/dataTable.d.ts +0 -6
- package/types/lib/types/favorites.d.ts +0 -5
- package/types/lib/types/fileViewerSettings.types.d.ts +0 -3
- package/types/lib/types/files.d.ts +0 -12
- package/types/lib/types/i18n.types.d.ts +0 -1
- package/types/lib/types/iframes.d.ts +0 -24
- package/types/lib/types/instanceSettings.d.ts +0 -20
- package/types/lib/types/launchDarkly.types.d.ts +0 -40
- package/types/lib/types/organization.d.ts +0 -4
- package/types/lib/types/paginatedData.d.ts +0 -6
- package/types/lib/types/recentFiles.types.d.ts +0 -4
- package/types/lib/types/sectionPopularity.d.ts +0 -30
- package/types/lib/types/sfdc.d.ts +0 -125
- package/types/lib/types/templateActions.d.ts +0 -10
- package/types/lib/types/toast.d.ts +0 -4
- package/types/lib/types/translations.d.ts +0 -5
- package/types/lib/types/ts.d.ts +0 -10
- package/types/lib/types/users.d.ts +0 -12
- package/types/lib/types/vueVirtualScroller.d.ts +0 -4
- package/types/lib/util/anchor.d.ts +0 -2
- package/types/lib/util/array.d.ts +0 -5
- package/types/lib/util/array.spec.d.ts +0 -1
- package/types/lib/util/canvas-manager.util.d.ts +0 -4
- package/types/lib/util/casing.d.ts +0 -4
- package/types/lib/util/casing.spec.d.ts +0 -1
- package/types/lib/util/color.d.ts +0 -4
- package/types/lib/util/date.d.ts +0 -12
- package/types/lib/util/date.spec.d.ts +0 -1
- package/types/lib/util/dev.util.d.ts +0 -2
- package/types/lib/util/dom.d.ts +0 -15
- package/types/lib/util/font.spec.d.ts +0 -1
- package/types/lib/util/font.util.d.ts +0 -7
- package/types/lib/util/fullscreen.util.d.ts +0 -16
- package/types/lib/util/gesture.util.d.ts +0 -6
- package/types/lib/util/handlebars.d.ts +0 -1
- package/types/lib/util/image.d.ts +0 -1
- package/types/lib/util/location.spec.d.ts +0 -1
- package/types/lib/util/location.util.d.ts +0 -1
- package/types/lib/util/message-event.d.ts +0 -1
- package/types/lib/util/message-event.spec.d.ts +0 -1
- package/types/lib/util/navigation.util.d.ts +0 -7
- package/types/lib/util/network.d.ts +0 -16
- package/types/lib/util/network.spec.d.ts +0 -1
- package/types/lib/util/number.d.ts +0 -4
- package/types/lib/util/number.spec.d.ts +0 -1
- package/types/lib/util/object.d.ts +0 -1
- package/types/lib/util/object.spec.d.ts +0 -1
- package/types/lib/util/query.d.ts +0 -6
- package/types/lib/util/reactive.d.ts +0 -4
- package/types/lib/util/reactive.spec.d.ts +0 -1
- package/types/lib/util/string.d.ts +0 -4
- package/types/lib/util/timer.d.ts +0 -2
- package/types/lib/util/timer.spec.d.ts +0 -1
- package/types/lib/util/translations.d.ts +0 -8
- package/types/lib/util/translations.spec.d.ts +0 -1
- package/types/lib/util/tsHelpers.d.ts +0 -14
- package/types/lib/util/user.d.ts +0 -4
- package/types/lib/util/userAgents.d.ts +0 -8
- package/types/types/openapi/index.d.ts +0 -248
- package/types/types/openapi/models/AccessTypeEnum.d.ts +0 -8
- package/types/types/openapi/models/Account.d.ts +0 -4
- package/types/types/openapi/models/AccountRequest.d.ts +0 -4
- package/types/types/openapi/models/App.d.ts +0 -20
- package/types/types/openapi/models/AppInstallationRequest.d.ts +0 -4
- package/types/types/openapi/models/AppOrganization.d.ts +0 -4
- package/types/types/openapi/models/AppOrganizationRequest.d.ts +0 -4
- package/types/types/openapi/models/AppPublish.d.ts +0 -8
- package/types/types/openapi/models/AppRelease.d.ts +0 -9
- package/types/types/openapi/models/AppRequest.d.ts +0 -9
- package/types/types/openapi/models/AppTypeEnum.d.ts +0 -8
- package/types/types/openapi/models/AppsDBGlobalEntry.d.ts +0 -8
- package/types/types/openapi/models/AppsDBGlobalEntryRequest.d.ts +0 -3
- package/types/types/openapi/models/AppsDBUserEntry.d.ts +0 -9
- package/types/types/openapi/models/AppsDBUserEntryRequest.d.ts +0 -3
- package/types/types/openapi/models/AuthToken.d.ts +0 -7
- package/types/types/openapi/models/AuthTokenRequest.d.ts +0 -7
- package/types/types/openapi/models/BulkDeleteErrorDetail.d.ts +0 -5
- package/types/types/openapi/models/BulkDeleteRequest.d.ts +0 -6
- package/types/types/openapi/models/BulkDeleteResponse.d.ts +0 -6
- package/types/types/openapi/models/BulkUpdateMetadata.d.ts +0 -6
- package/types/types/openapi/models/BulkUpdateMetadataOperationEnum.d.ts +0 -8
- package/types/types/openapi/models/BulkUpdateMetadataRequest.d.ts +0 -9
- package/types/types/openapi/models/BulkUpdateMetadataResult.d.ts +0 -4
- package/types/types/openapi/models/BulkUpdateTags.d.ts +0 -6
- package/types/types/openapi/models/BulkUpdateTagsOperationEnum.d.ts +0 -8
- package/types/types/openapi/models/BulkUpdateTagsRequest.d.ts +0 -9
- package/types/types/openapi/models/BulkUpdateTagsResult.d.ts +0 -4
- package/types/types/openapi/models/Canvas.d.ts +0 -35
- package/types/types/openapi/models/CanvasCreate.d.ts +0 -35
- package/types/types/openapi/models/CanvasCreateRequest.d.ts +0 -25
- package/types/types/openapi/models/CanvasList.d.ts +0 -28
- package/types/types/openapi/models/CanvasRecommendedFile.d.ts +0 -40
- package/types/types/openapi/models/CanvasRecommendedFiles.d.ts +0 -5
- package/types/types/openapi/models/CanvasRetrieve.d.ts +0 -35
- package/types/types/openapi/models/CanvasSection.d.ts +0 -7
- package/types/types/openapi/models/CanvasSectionRetrieve.d.ts +0 -7
- package/types/types/openapi/models/CanvasSectionRetrieveRequest.d.ts +0 -5
- package/types/types/openapi/models/CanvasUpdate.d.ts +0 -35
- package/types/types/openapi/models/CanvasUpdateRequest.d.ts +0 -22
- package/types/types/openapi/models/Collaboration.d.ts +0 -16
- package/types/types/openapi/models/CollaborationCreate.d.ts +0 -16
- package/types/types/openapi/models/CollaborationCreateRequest.d.ts +0 -10
- package/types/types/openapi/models/CollaborationRequest.d.ts +0 -5
- package/types/types/openapi/models/CollaborationRoleEnum.d.ts +0 -8
- package/types/types/openapi/models/ConnectedService.d.ts +0 -9
- package/types/types/openapi/models/ContentDistributionGroup.d.ts +0 -12
- package/types/types/openapi/models/ContentDistributionGroupCreate.d.ts +0 -12
- package/types/types/openapi/models/ContentDistributionGroupCreateRequest.d.ts +0 -5
- package/types/types/openapi/models/ContentDistributionGroupMembership.d.ts +0 -8
- package/types/types/openapi/models/ContentDistributionGroupMembershipCreate.d.ts +0 -8
- package/types/types/openapi/models/ContentDistributionGroupMembershipCreateRequest.d.ts +0 -4
- package/types/types/openapi/models/ContentDistributionGroupRequest.d.ts +0 -4
- package/types/types/openapi/models/DefaultExpiresAtEnum.d.ts +0 -16
- package/types/types/openapi/models/DeletedApp.d.ts +0 -22
- package/types/types/openapi/models/DeletedContentDistributionGroup.d.ts +0 -14
- package/types/types/openapi/models/DeletedEnvironment.d.ts +0 -14
- package/types/types/openapi/models/DeletedFavorite.d.ts +0 -19
- package/types/types/openapi/models/DeletedFile.d.ts +0 -42
- package/types/types/openapi/models/DeletedFolder.d.ts +0 -17
- package/types/types/openapi/models/DeletedInstance.d.ts +0 -24
- package/types/types/openapi/models/DeletedInstanceAssignmentGroup.d.ts +0 -14
- package/types/types/openapi/models/DeletedMetadataTemplate.d.ts +0 -17
- package/types/types/openapi/models/DeletedRegion.d.ts +0 -12
- package/types/types/openapi/models/DownloadTypeEnum.d.ts +0 -10
- package/types/types/openapi/models/Environment.d.ts +0 -12
- package/types/types/openapi/models/EnvironmentRequest.d.ts +0 -5
- package/types/types/openapi/models/Event.d.ts +0 -18
- package/types/types/openapi/models/EventAttendee.d.ts +0 -5
- package/types/types/openapi/models/EventAttendeeRequest.d.ts +0 -5
- package/types/types/openapi/models/EventExternalObject.d.ts +0 -10
- package/types/types/openapi/models/EventExternalObjectContentTypeEnum.d.ts +0 -12
- package/types/types/openapi/models/EventExternalObjectRequest.d.ts +0 -10
- package/types/types/openapi/models/EventRequest.d.ts +0 -17
- package/types/types/openapi/models/EventStatusEnum.d.ts +0 -10
- package/types/types/openapi/models/Favorite.d.ts +0 -17
- package/types/types/openapi/models/FavoriteCreate.d.ts +0 -12
- package/types/types/openapi/models/FavoriteCreateRequest.d.ts +0 -7
- package/types/types/openapi/models/FavoriteFile.d.ts +0 -6
- package/types/types/openapi/models/FavoriteFileRequest.d.ts +0 -3
- package/types/types/openapi/models/FavoriteUpdate.d.ts +0 -12
- package/types/types/openapi/models/FavoriteUpdateRequest.d.ts +0 -6
- package/types/types/openapi/models/File.d.ts +0 -40
- package/types/types/openapi/models/FileAnalytics.d.ts +0 -16
- package/types/types/openapi/models/FileAnalyticsResult.d.ts +0 -9
- package/types/types/openapi/models/FileContentTypeEnum.d.ts +0 -16
- package/types/types/openapi/models/FileCreate.d.ts +0 -43
- package/types/types/openapi/models/FileCreateRequest.d.ts +0 -24
- package/types/types/openapi/models/FileRequest.d.ts +0 -13
- package/types/types/openapi/models/FileRetrieve.d.ts +0 -43
- package/types/types/openapi/models/FileStatusEnum.d.ts +0 -8
- package/types/types/openapi/models/FileTypeEnum.d.ts +0 -10
- package/types/types/openapi/models/FileUpdate.d.ts +0 -43
- package/types/types/openapi/models/FileUpdateRequest.d.ts +0 -17
- package/types/types/openapi/models/Folder.d.ts +0 -15
- package/types/types/openapi/models/FolderCreate.d.ts +0 -31
- package/types/types/openapi/models/FolderCreateRequest.d.ts +0 -18
- package/types/types/openapi/models/FolderFile.d.ts +0 -14
- package/types/types/openapi/models/FolderFolder.d.ts +0 -6
- package/types/types/openapi/models/FolderRetrieve.d.ts +0 -24
- package/types/types/openapi/models/FolderUpdate.d.ts +0 -31
- package/types/types/openapi/models/FolderUpdateRequest.d.ts +0 -15
- package/types/types/openapi/models/Instance.d.ts +0 -22
- package/types/types/openapi/models/InstanceAnalytics.d.ts +0 -18
- package/types/types/openapi/models/InstanceAnalyticsChangePercentages.d.ts +0 -5
- package/types/types/openapi/models/InstanceAnalyticsCurrentPeriod.d.ts +0 -13
- package/types/types/openapi/models/InstanceAnalyticsFile.d.ts +0 -5
- package/types/types/openapi/models/InstanceAnalyticsFileActivity.d.ts +0 -5
- package/types/types/openapi/models/InstanceAnalyticsFileRequest.d.ts +0 -3
- package/types/types/openapi/models/InstanceAnalyticsInactiveUsers.d.ts +0 -5
- package/types/types/openapi/models/InstanceAnalyticsInactiveUsersRequest.d.ts +0 -4
- package/types/types/openapi/models/InstanceAnalyticsLoginResult.d.ts +0 -5
- package/types/types/openapi/models/InstanceAssignmentGroup.d.ts +0 -12
- package/types/types/openapi/models/InstanceAssignmentGroupMembership.d.ts +0 -8
- package/types/types/openapi/models/InstanceAssignmentGroupMembershipCreate.d.ts +0 -8
- package/types/types/openapi/models/InstanceAssignmentGroupMembershipCreateRequest.d.ts +0 -4
- package/types/types/openapi/models/InstanceAssignmentGroupRequest.d.ts +0 -4
- package/types/types/openapi/models/InstanceMembership.d.ts +0 -12
- package/types/types/openapi/models/InstanceMembershipCreate.d.ts +0 -12
- package/types/types/openapi/models/InstanceMembershipCreateRequest.d.ts +0 -8
- package/types/types/openapi/models/InstanceMembershipGroup.d.ts +0 -11
- package/types/types/openapi/models/InstanceMembershipGroupRequest.d.ts +0 -3
- package/types/types/openapi/models/InstanceMembershipRequest.d.ts +0 -5
- package/types/types/openapi/models/InstanceMembershipRoleEnum.d.ts +0 -8
- package/types/types/openapi/models/InstanceMembershipUser.d.ts +0 -10
- package/types/types/openapi/models/InstanceMembershipUserRequest.d.ts +0 -4
- package/types/types/openapi/models/InstanceMembershipUserStatusEnum.d.ts +0 -6
- package/types/types/openapi/models/InstanceRequest.d.ts +0 -11
- package/types/types/openapi/models/InstanceStorageCredentials.d.ts +0 -6
- package/types/types/openapi/models/InstanceUpdate.d.ts +0 -18
- package/types/types/openapi/models/InstanceUpdateRequest.d.ts +0 -8
- package/types/types/openapi/models/Invitation.d.ts +0 -11
- package/types/types/openapi/models/InvitationRequest.d.ts +0 -3
- package/types/types/openapi/models/InvitationStatusEnum.d.ts +0 -4
- package/types/types/openapi/models/LanguageEnum.d.ts +0 -12
- package/types/types/openapi/models/MetadataTemplate.d.ts +0 -15
- package/types/types/openapi/models/MetadataTemplateField.d.ts +0 -14
- package/types/types/openapi/models/MetadataTemplateFieldRequest.d.ts +0 -14
- package/types/types/openapi/models/MetadataTemplateFieldTypeEnum.d.ts +0 -16
- package/types/types/openapi/models/MetadataTemplateOption.d.ts +0 -4
- package/types/types/openapi/models/MetadataTemplateOptionRequest.d.ts +0 -4
- package/types/types/openapi/models/MetadataTemplateRequest.d.ts +0 -7
- package/types/types/openapi/models/MetadataTemplateSection.d.ts +0 -6
- package/types/types/openapi/models/MetadataTemplateSectionRequest.d.ts +0 -6
- package/types/types/openapi/models/MiniAccount.d.ts +0 -4
- package/types/types/openapi/models/MiniCanvas.d.ts +0 -4
- package/types/types/openapi/models/MiniCanvasRequest.d.ts +0 -3
- package/types/types/openapi/models/MiniContentDistributionGroup.d.ts +0 -5
- package/types/types/openapi/models/MiniContentDistributionGroupRequest.d.ts +0 -3
- package/types/types/openapi/models/MiniEnvironment.d.ts +0 -5
- package/types/types/openapi/models/MiniEnvironmentRequest.d.ts +0 -4
- package/types/types/openapi/models/MiniEvent.d.ts +0 -5
- package/types/types/openapi/models/MiniEventRequest.d.ts +0 -4
- package/types/types/openapi/models/MiniFile.d.ts +0 -4
- package/types/types/openapi/models/MiniFileRequest.d.ts +0 -3
- package/types/types/openapi/models/MiniFolder.d.ts +0 -4
- package/types/types/openapi/models/MiniFolderRequest.d.ts +0 -3
- package/types/types/openapi/models/MiniInstance.d.ts +0 -4
- package/types/types/openapi/models/MiniInstanceRequest.d.ts +0 -3
- package/types/types/openapi/models/MiniPage.d.ts +0 -4
- package/types/types/openapi/models/MiniPageRequest.d.ts +0 -3
- package/types/types/openapi/models/MiniRegion.d.ts +0 -4
- package/types/types/openapi/models/MiniRegionRequest.d.ts +0 -3
- package/types/types/openapi/models/MiniSharedLink.d.ts +0 -4
- package/types/types/openapi/models/MiniSharedLinkRequest.d.ts +0 -3
- package/types/types/openapi/models/MiniUser.d.ts +0 -5
- package/types/types/openapi/models/MiniUserRequest.d.ts +0 -3
- package/types/types/openapi/models/MostActiveUser.d.ts +0 -7
- package/types/types/openapi/models/Organization.d.ts +0 -10
- package/types/types/openapi/models/OrganizationAnalytics.d.ts +0 -16
- package/types/types/openapi/models/OrganizationAnalyticsCurrentPeriod.d.ts +0 -13
- package/types/types/openapi/models/OrganizationAnalyticsInactiveUsers.d.ts +0 -5
- package/types/types/openapi/models/OrganizationAnalyticsInactiveUsersRequest.d.ts +0 -4
- package/types/types/openapi/models/OrganizationAnalyticsInstance.d.ts +0 -10
- package/types/types/openapi/models/OrganizationAnalyticsLoginResult.d.ts +0 -5
- package/types/types/openapi/models/OrganizationAnalyticsTop3Instances.d.ts +0 -13
- package/types/types/openapi/models/OrganizationBranding.d.ts +0 -6
- package/types/types/openapi/models/OrganizationBrandingColors.d.ts +0 -4
- package/types/types/openapi/models/OrganizationChangePercentages.d.ts +0 -6
- package/types/types/openapi/models/OrganizationUpdate.d.ts +0 -8
- package/types/types/openapi/models/OrganizationUpdateRequest.d.ts +0 -8
- package/types/types/openapi/models/PSPDFKitAuthPayload.d.ts +0 -3
- package/types/types/openapi/models/PSPDFKitAuthPayloadRequest.d.ts +0 -3
- package/types/types/openapi/models/PSPDFKitToken.d.ts +0 -7
- package/types/types/openapi/models/PSPDFKitTokenRequest.d.ts +0 -3
- package/types/types/openapi/models/PaginatedAppList.d.ts +0 -8
- package/types/types/openapi/models/PaginatedAppReleaseList.d.ts +0 -8
- package/types/types/openapi/models/PaginatedAuthTokenList.d.ts +0 -8
- package/types/types/openapi/models/PaginatedCanvasListList.d.ts +0 -8
- package/types/types/openapi/models/PaginatedCollaborationList.d.ts +0 -8
- package/types/types/openapi/models/PaginatedContentDistributionGroupList.d.ts +0 -8
- package/types/types/openapi/models/PaginatedContentDistributionGroupMembershipList.d.ts +0 -8
- package/types/types/openapi/models/PaginatedEnvironmentList.d.ts +0 -8
- package/types/types/openapi/models/PaginatedEventList.d.ts +0 -8
- package/types/types/openapi/models/PaginatedFavoriteList.d.ts +0 -8
- package/types/types/openapi/models/PaginatedFileList.d.ts +0 -8
- package/types/types/openapi/models/PaginatedFolderList.d.ts +0 -8
- package/types/types/openapi/models/PaginatedInstanceAssignmentGroupList.d.ts +0 -8
- package/types/types/openapi/models/PaginatedInstanceAssignmentGroupMembershipList.d.ts +0 -8
- package/types/types/openapi/models/PaginatedInstanceList.d.ts +0 -8
- package/types/types/openapi/models/PaginatedInstanceMembershipList.d.ts +0 -8
- package/types/types/openapi/models/PaginatedInvitationList.d.ts +0 -8
- package/types/types/openapi/models/PaginatedMetadataTemplateList.d.ts +0 -8
- package/types/types/openapi/models/PaginatedRegionList.d.ts +0 -8
- package/types/types/openapi/models/PaginatedRevisionList.d.ts +0 -8
- package/types/types/openapi/models/PaginatedSearchResultList.d.ts +0 -9
- package/types/types/openapi/models/PaginatedStorageRegionList.d.ts +0 -8
- package/types/types/openapi/models/PaginatedUserList.d.ts +0 -8
- package/types/types/openapi/models/PatchedAppRequest.d.ts +0 -9
- package/types/types/openapi/models/PatchedCanvasUpdateRequest.d.ts +0 -22
- package/types/types/openapi/models/PatchedCollaborationRequest.d.ts +0 -5
- package/types/types/openapi/models/PatchedContentDistributionGroupRequest.d.ts +0 -4
- package/types/types/openapi/models/PatchedEnvironmentRequest.d.ts +0 -5
- package/types/types/openapi/models/PatchedEventRequest.d.ts +0 -17
- package/types/types/openapi/models/PatchedFavoriteUpdateRequest.d.ts +0 -6
- package/types/types/openapi/models/PatchedFileRequest.d.ts +0 -13
- package/types/types/openapi/models/PatchedFileUpdateRequest.d.ts +0 -17
- package/types/types/openapi/models/PatchedFolderUpdateRequest.d.ts +0 -15
- package/types/types/openapi/models/PatchedInstanceAssignmentGroupRequest.d.ts +0 -4
- package/types/types/openapi/models/PatchedInstanceMembershipRequest.d.ts +0 -5
- package/types/types/openapi/models/PatchedInstanceUpdateRequest.d.ts +0 -8
- package/types/types/openapi/models/PatchedMetadataTemplateRequest.d.ts +0 -7
- package/types/types/openapi/models/PatchedOrganizationUpdateRequest.d.ts +0 -8
- package/types/types/openapi/models/PatchedRegionRequest.d.ts +0 -3
- package/types/types/openapi/models/PatchedUserRequest.d.ts +0 -12
- package/types/types/openapi/models/Region.d.ts +0 -10
- package/types/types/openapi/models/RegionRequest.d.ts +0 -3
- package/types/types/openapi/models/Revision.d.ts +0 -8
- package/types/types/openapi/models/RevisionRequest.d.ts +0 -3
- package/types/types/openapi/models/SearchApp.d.ts +0 -6
- package/types/types/openapi/models/SearchCanvas.d.ts +0 -5
- package/types/types/openapi/models/SearchContentDistributionGroup.d.ts +0 -11
- package/types/types/openapi/models/SearchFile.d.ts +0 -6
- package/types/types/openapi/models/SearchInstanceAssignmentGroup.d.ts +0 -11
- package/types/types/openapi/models/SearchResult.d.ts +0 -8
- package/types/types/openapi/models/SearchUser.d.ts +0 -5
- package/types/types/openapi/models/SharedLink.d.ts +0 -15
- package/types/types/openapi/models/SharedLinkCreate.d.ts +0 -15
- package/types/types/openapi/models/SharedLinkCreateRequest.d.ts +0 -6
- package/types/types/openapi/models/SharedLinkInstanceSerialzier.d.ts +0 -6
- package/types/types/openapi/models/SharedLinkOrganizationSerialzier.d.ts +0 -6
- package/types/types/openapi/models/StorageRegion.d.ts +0 -5
- package/types/types/openapi/models/StorageRegionEnum.d.ts +0 -10
- package/types/types/openapi/models/Tag.d.ts +0 -3
- package/types/types/openapi/models/UploadCreate.d.ts +0 -8
- package/types/types/openapi/models/UploadCreateRequest.d.ts +0 -5
- package/types/types/openapi/models/User.d.ts +0 -23
- package/types/types/openapi/models/UserRequest.d.ts +0 -12
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { Canvas, CanvasCreateRequest, PatchedCanvasUpdateRequest, SharedLink, Instance } from '../../../../types/openapi';
|
|
2
|
-
import { GetCanvasesParams } from '../../../types/canvases';
|
|
3
|
-
import { PaginatedData } from '../../../types/paginatedData';
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Fetches a list of canvases to use in your app.
|
|
7
|
-
*
|
|
8
|
-
* ```
|
|
9
|
-
* // The `filters` object is a reserved payload key to transfer the metadata dict over the wire.
|
|
10
|
-
* api.getCanvases({
|
|
11
|
-
* search: 'my search query',
|
|
12
|
-
* ordering: '-created_at',
|
|
13
|
-
* filters: {
|
|
14
|
-
* metadata__mydaterangefiltername__range: ['2023-12-10', '2023-12-22'],
|
|
15
|
-
* metadata__mymultiselectfiltername: ['optionAValue', 'optionCValue'],
|
|
16
|
-
* },
|
|
17
|
-
* fields: 'id,name,metadata',
|
|
18
|
-
* })
|
|
19
|
-
* ```
|
|
20
|
-
*/
|
|
21
|
-
export declare function getCanvases(payload: GetCanvasesParams & {
|
|
22
|
-
filters?: Record<string, any>;
|
|
23
|
-
fields?: string;
|
|
24
|
-
}): Promise<PaginatedData<Canvas>>;
|
|
25
|
-
export declare function createCanvas(payload: Omit<CanvasCreateRequest, 'instance_id'>): Promise<Canvas>;
|
|
26
|
-
export declare function deleteCanvas(payload: {
|
|
27
|
-
id: Canvas['id'];
|
|
28
|
-
}): Promise<Canvas>;
|
|
29
|
-
/**
|
|
30
|
-
* Updates a canvas by ID
|
|
31
|
-
*
|
|
32
|
-
* ```
|
|
33
|
-
* // The fields param is appended to the URL as a query param.
|
|
34
|
-
* onMounted(() => {
|
|
35
|
-
* PitcherAPI.updateCanvas({
|
|
36
|
-
* id: '01HH4RCBH631K4JDHWAQB0RPR6',
|
|
37
|
-
* fields: 'id,name',
|
|
38
|
-
* name: 'To 3!',
|
|
39
|
-
* }).then((res) => {
|
|
40
|
-
* console.log(res) // logs: { id: '01HH4RCBH631K4JDHWAQB0RPR6', name: 'To 3!' }
|
|
41
|
-
* })
|
|
42
|
-
* })
|
|
43
|
-
* ```
|
|
44
|
-
*/
|
|
45
|
-
export declare function updateCanvas(payload: PatchedCanvasUpdateRequest & {
|
|
46
|
-
id: Canvas['id'];
|
|
47
|
-
instance_id?: Instance['id'];
|
|
48
|
-
fields?: string;
|
|
49
|
-
}): Promise<Canvas>;
|
|
50
|
-
export declare function getCanvas(payload: {
|
|
51
|
-
id: Canvas['id'];
|
|
52
|
-
fields?: string;
|
|
53
|
-
}): Promise<Canvas>;
|
|
54
|
-
export declare function shareCanvas(payload: {
|
|
55
|
-
id: Canvas['id'];
|
|
56
|
-
}): Promise<SharedLink>;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { DsrEnv } from './types.dsr';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Fetches the necessary info for the app to know where it is embedded. LaunchDarkly flags are omitted for now as they are not yet used.
|
|
5
|
-
*
|
|
6
|
-
* ```
|
|
7
|
-
* useDsr().getEnv()
|
|
8
|
-
* ```
|
|
9
|
-
*/
|
|
10
|
-
export declare function getEnv(): Promise<DsrEnv>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { DSR_MESSAGE_TYPES, DsrMessagePayloads } from './types.dsr';
|
|
2
|
-
|
|
3
|
-
export declare function on(type: (typeof DSR_MESSAGE_TYPES)[keyof typeof DSR_MESSAGE_TYPES], handler: (data: DsrMessagePayloads[typeof type]) => Promise<void>): Promise<() => void>;
|
|
4
|
-
export * from './env.dsr';
|
|
5
|
-
export * from './loading.dsr';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function embeddable_ready(): Promise<void>;
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { PitcherEnv } from '../../../interfaces';
|
|
2
|
-
|
|
3
|
-
export declare const DSR_MESSAGE: "DSR_MESSAGE";
|
|
4
|
-
export declare const DSR_MESSAGE_TYPES: {
|
|
5
|
-
readonly ENV_CHANGED: "dsr_env_changed";
|
|
6
|
-
};
|
|
7
|
-
export declare const DSR_API_TYPES: {
|
|
8
|
-
readonly DSR_REQUEST: "DSR_REQUEST";
|
|
9
|
-
readonly DSR_RESPONSE: "DSR_RESPONSE";
|
|
10
|
-
};
|
|
11
|
-
export declare const DSR_API_METHOD_TYPES: {
|
|
12
|
-
readonly GET_ENV: "dsr_get_env";
|
|
13
|
-
readonly DSR_EMBEDDABLE_READY: "dsr_embeddable_ready";
|
|
14
|
-
};
|
|
15
|
-
export type DsrMessagePayloads = {
|
|
16
|
-
[DSR_MESSAGE_TYPES.ENV_CHANGED]: DsrEnv;
|
|
17
|
-
};
|
|
18
|
-
export type DsrRequest<Payload = any> = {
|
|
19
|
-
id: string;
|
|
20
|
-
type: (typeof DSR_API_TYPES)['DSR_REQUEST'];
|
|
21
|
-
body: {
|
|
22
|
-
type: (typeof DSR_API_METHOD_TYPES)[keyof typeof DSR_API_METHOD_TYPES];
|
|
23
|
-
data: Payload;
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
export type DsrResponse<Response = any> = {
|
|
27
|
-
id: string;
|
|
28
|
-
type: (typeof DSR_API_TYPES)['DSR_RESPONSE'];
|
|
29
|
-
body: Response;
|
|
30
|
-
};
|
|
31
|
-
export type DsrMessage<Payload = any> = {
|
|
32
|
-
id: string;
|
|
33
|
-
type: typeof DSR_MESSAGE;
|
|
34
|
-
body: {
|
|
35
|
-
type: (typeof DSR_MESSAGE_TYPES)[keyof typeof DSR_MESSAGE_TYPES];
|
|
36
|
-
data: Payload;
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
export type DsrEnv = Pick<PitcherEnv, 'mode' | 'launch_darkly' | 'client_type'>;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { PitcherEnv } from '../../interfaces';
|
|
2
|
-
import { User } from '../../../../types/openapi';
|
|
3
|
-
|
|
4
|
-
export declare function getEnv(): Promise<PitcherEnv>;
|
|
5
|
-
type UpdateEnvParams = Pick<User, 'language' | 'dark_mode'>;
|
|
6
|
-
export declare function updateMyUser(payload: UpdateEnvParams): Promise<User>;
|
|
7
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { PaginatedData } from '../../../types/paginatedData';
|
|
2
|
-
import { Event, EventRequest, PatchedEventRequest } from '../../../../types/openapi';
|
|
3
|
-
|
|
4
|
-
export declare function getEvents(payload: Partial<EventRequest>): Promise<PaginatedData<Event>>;
|
|
5
|
-
export declare function createEvent(payload: EventRequest): Promise<Event>;
|
|
6
|
-
export declare function updateEvent(payload: PatchedEventRequest): Promise<Event>;
|
|
7
|
-
export declare function deleteEvent(payload: Partial<Event>): Promise<void>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Favorite, FavoriteCreateRequest, PaginatedFavoriteList } from '../../../../types/openapi';
|
|
2
|
-
import { GetFavoritesParams } from '../../../types/favorites';
|
|
3
|
-
|
|
4
|
-
export declare function getFavorites(payload?: GetFavoritesParams): Promise<PaginatedFavoriteList>;
|
|
5
|
-
export declare function createFavorite(payload: FavoriteCreateRequest): Promise<Favorite>;
|
|
6
|
-
export declare function deleteFavorite(payload: {
|
|
7
|
-
favorite_id: Favorite['id'];
|
|
8
|
-
}): Promise<void>;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { File, FileRetrieve, PaginatedFileList, FileUpdateRequest } from '../../../../types/openapi';
|
|
2
|
-
import { GetRecentFilesPayload, ListFilesPayload } from '../../payload.types';
|
|
3
|
-
import { AllFileCreateRequest, DeviceFile } from '../../../types/files';
|
|
4
|
-
|
|
5
|
-
export declare function getFiles(payload: ListFilesPayload): Promise<PaginatedFileList>;
|
|
6
|
-
export declare function getRecentFiles(payload?: GetRecentFilesPayload): Promise<File[]>;
|
|
7
|
-
export declare function downloadFile(payload: {
|
|
8
|
-
file_id: File['id'];
|
|
9
|
-
}): Promise<null>;
|
|
10
|
-
export declare function getAppConfig(payload: {
|
|
11
|
-
app_name: string;
|
|
12
|
-
}): Promise<Record<string, any>>;
|
|
13
|
-
export declare function getFile(payload: {
|
|
14
|
-
file_id: FileRetrieve['id'];
|
|
15
|
-
}): Promise<FileRetrieve>;
|
|
16
|
-
export declare function updateFile(payload: FileUpdateRequest & {
|
|
17
|
-
id: File['id'];
|
|
18
|
-
}): Promise<FileRetrieve>;
|
|
19
|
-
export declare function deleteFile(payload: {
|
|
20
|
-
file_id: File['id'];
|
|
21
|
-
}): Promise<File['id']>;
|
|
22
|
-
export declare function createFile(payload: Omit<AllFileCreateRequest, 'instance_id'>): Promise<FileRetrieve>;
|
|
23
|
-
/**
|
|
24
|
-
* Dispatches iOS native file selector and returns the selected file.
|
|
25
|
-
*
|
|
26
|
-
* ```
|
|
27
|
-
* // iOS only method to select a file from the device.
|
|
28
|
-
* api.selectDeviceFile()
|
|
29
|
-
* ```
|
|
30
|
-
*/
|
|
31
|
-
export declare function selectDeviceFile(): Promise<DeviceFile>;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { File, Folder, FolderRetrieve, FolderCreateRequest, FolderUpdateRequest } from '../../../../types/openapi';
|
|
2
|
-
|
|
3
|
-
export declare function getFolder(payload?: {
|
|
4
|
-
id: FolderRetrieve['id'];
|
|
5
|
-
}): Promise<FolderRetrieve>;
|
|
6
|
-
export declare function createFolder(payload: Omit<FolderCreateRequest, 'instance_id'>): Promise<FolderRetrieve>;
|
|
7
|
-
type UpdateFolderPayload = FolderUpdateRequest & {
|
|
8
|
-
id: Folder['id'];
|
|
9
|
-
};
|
|
10
|
-
export declare function updateFolder(payload: UpdateFolderPayload): Promise<FolderRetrieve>;
|
|
11
|
-
export declare function deleteFolder(payload: {
|
|
12
|
-
folder_id: FolderRetrieve['id'];
|
|
13
|
-
}): Promise<void>;
|
|
14
|
-
export declare function moveFolderItems(payload: {
|
|
15
|
-
target_folder_id: Folder['id'];
|
|
16
|
-
items: {
|
|
17
|
-
id: File['id'] | Folder['id'];
|
|
18
|
-
type: 'folder' | 'file';
|
|
19
|
-
}[];
|
|
20
|
-
}): Promise<FolderRetrieve>;
|
|
21
|
-
export {};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export * from './open';
|
|
2
|
-
export * from './env';
|
|
3
|
-
export * from './languages';
|
|
4
|
-
export * from './events';
|
|
5
|
-
export * from './canvas';
|
|
6
|
-
export * from './files';
|
|
7
|
-
export * from './search';
|
|
8
|
-
export * from './users';
|
|
9
|
-
export * from './pspdfkit';
|
|
10
|
-
export * from './toast';
|
|
11
|
-
export * from './query';
|
|
12
|
-
export * from './folders';
|
|
13
|
-
export * from './favorites';
|
|
14
|
-
export * from './notifications';
|
|
15
|
-
export * from './track';
|
|
16
|
-
export * from './metadataTemplates';
|
|
17
|
-
export * from './sync';
|
|
18
|
-
export * from './feedback';
|
|
19
|
-
export * from './webView';
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { PaginatedMetadataTemplateList } from '../../../../types/openapi';
|
|
2
|
-
import { GetInstanceMetadataTemplatesPayload } from '../../payload.types';
|
|
3
|
-
|
|
4
|
-
export declare function getInstanceMetadataTemplates(payload?: GetInstanceMetadataTemplatesPayload): Promise<PaginatedMetadataTemplateList>;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { File } from '../../../../types/openapi';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* @deprecated - not used anymore
|
|
5
|
-
*/
|
|
6
|
-
export declare function fetchDocumentInfo(payload: {
|
|
7
|
-
fileId: File['id'];
|
|
8
|
-
}): Promise<{
|
|
9
|
-
pageCount: number;
|
|
10
|
-
[key: string]: unknown;
|
|
11
|
-
}>;
|
|
12
|
-
/**
|
|
13
|
-
* @deprecated - use thumbnails instead
|
|
14
|
-
*/
|
|
15
|
-
export declare function renderPageAsImage(payload: {
|
|
16
|
-
fileId: File['id'];
|
|
17
|
-
pageNumber: number;
|
|
18
|
-
params: {
|
|
19
|
-
width: number;
|
|
20
|
-
} | {
|
|
21
|
-
height: number;
|
|
22
|
-
};
|
|
23
|
-
}): Promise<ArrayBuffer>;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { SelectContentRequest, SelectContentResponse, UiOpenRequest, UiToastPayload, UiPreselectSfdcMeetingIdPayload, UiPreselectSfdcMeetingIdResponse } from './types.ui';
|
|
2
|
-
|
|
3
|
-
export declare function ui_select_content(payload?: SelectContentRequest): Promise<SelectContentResponse>;
|
|
4
|
-
export declare function select_content(payload?: SelectContentRequest): Promise<SelectContentResponse>;
|
|
5
|
-
export declare function open(payload: UiOpenRequest): Promise<void>;
|
|
6
|
-
export declare function toast(payload: UiToastPayload): Promise<void>;
|
|
7
|
-
export declare function preselect_sfdc_meeting_id(payload: UiPreselectSfdcMeetingIdPayload): Promise<UiPreselectSfdcMeetingIdResponse>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { UI_MESSAGE_TYPES, UiMessagePayloads } from './types.ui';
|
|
2
|
-
|
|
3
|
-
export declare function on(type: (typeof UI_MESSAGE_TYPES)[keyof typeof UI_MESSAGE_TYPES], handler: (data: UiMessagePayloads[typeof type]) => Promise<void>): Promise<() => void>;
|
|
4
|
-
export * from './content.ui';
|
|
5
|
-
export * from './loading.ui';
|
|
6
|
-
export * from './location.ui';
|
|
7
|
-
export * from './app-errors.ui';
|
|
8
|
-
export * from './canvas.ui';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function embeddable_ready(): Promise<void>;
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { SelectedPage as ContentSelectorSelectedPage, SelectedFile as ContentSelectorSelectedFile } from '@content-selector/stores/app';
|
|
2
|
-
import { SfEvent } from '../../../../main.lib';
|
|
3
|
-
import { Mutable } from '../../../../types/ts';
|
|
4
|
-
import { Canvas } from '../../../../../types/openapi';
|
|
5
|
-
import { OpenRequestPayload } from '../../../payload.types';
|
|
6
|
-
|
|
7
|
-
export declare const UI_MESSAGE: "UI_MESSAGE";
|
|
8
|
-
export declare const UI_API_METHOD_TYPES: {
|
|
9
|
-
readonly UI_SELECT_CONTENT: "ui_select_content";
|
|
10
|
-
readonly UI_OPEN: "ui_open";
|
|
11
|
-
readonly UI_EMBEDDABLE_READY: "ui_embeddable_ready";
|
|
12
|
-
readonly UI_TOAST: "ui_toast";
|
|
13
|
-
readonly UI_CAPTURE_APP_ERROR: "ui_capture_app_error";
|
|
14
|
-
readonly UI_UPDATE_CANVAS: "ui_update_canvas";
|
|
15
|
-
readonly UI_UPDATE_LOCATION: "ui_update_location";
|
|
16
|
-
readonly UI_PRESELECT_SFDC_MEETING_ID: "ui_preselect_sfdc_meeting_id";
|
|
17
|
-
};
|
|
18
|
-
export declare const UI_MESSAGE_TYPES: {
|
|
19
|
-
readonly UI_CONTENT_SELECTED: "ui_content_selected";
|
|
20
|
-
};
|
|
21
|
-
export type SelectContentRequest = Record<string, never>;
|
|
22
|
-
export type SelectContentResponse = {
|
|
23
|
-
user_action: 'cancelled' | 'selected';
|
|
24
|
-
content?: (ContentSelectorSelectedFile | ContentSelectorSelectedPage)[];
|
|
25
|
-
};
|
|
26
|
-
export type UiCaptureAppErrorRequest = Record<string, any>;
|
|
27
|
-
export type UiUpdateCanvasRequest = Mutable<Canvas> & {
|
|
28
|
-
fields?: string;
|
|
29
|
-
};
|
|
30
|
-
export type UiOpenRequest = OpenRequestPayload;
|
|
31
|
-
export interface UiToastPayload {
|
|
32
|
-
type: 'info' | 'error' | 'warning' | 'success' | 'loading';
|
|
33
|
-
message: string;
|
|
34
|
-
duration?: number;
|
|
35
|
-
closable?: boolean;
|
|
36
|
-
keepAliveOnHover?: boolean;
|
|
37
|
-
showIcon?: boolean;
|
|
38
|
-
}
|
|
39
|
-
export type UiMessagePayloads = {
|
|
40
|
-
[UI_MESSAGE_TYPES.UI_CONTENT_SELECTED]: Required<SelectContentResponse['content']>;
|
|
41
|
-
};
|
|
42
|
-
export interface UiPreselectSfdcMeetingIdPayload {
|
|
43
|
-
eventId: string;
|
|
44
|
-
}
|
|
45
|
-
export interface UiPreselectSfdcMeetingIdResponse {
|
|
46
|
-
event: SfEvent | null;
|
|
47
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { GetUsersParams, RefreshServiceTokenResponse, RefreshServiceTokenRequest } from '../../../types/users';
|
|
2
|
-
import { PaginatedData } from '../../../types/paginatedData';
|
|
3
|
-
import { User } from '../../../../types/openapi';
|
|
4
|
-
|
|
5
|
-
export declare function getUsers(payload?: GetUsersParams): Promise<PaginatedData<User>>;
|
|
6
|
-
export declare function refreshServiceToken(payload: RefreshServiceTokenRequest): Promise<RefreshServiceTokenResponse>;
|
|
@@ -1,230 +0,0 @@
|
|
|
1
|
-
import { Emitter } from './utils/eventEmitter';
|
|
2
|
-
import { Favorite, File, Instance, User, Organization, Canvas } from '../../types/openapi';
|
|
3
|
-
import { OrganizationMetadata } from '../types/organization';
|
|
4
|
-
import { PaginatedData } from '../types/paginatedData';
|
|
5
|
-
import { LaunchDarklyEnv } from '../types/launchDarkly.types';
|
|
6
|
-
import { CLIENT_TYPE } from '../constants/cdp.const';
|
|
7
|
-
|
|
8
|
-
export declare const PITCHER_EVENT: "PITCHER_EVENT";
|
|
9
|
-
export declare enum PitcherMessageType {
|
|
10
|
-
REQUEST = "PITCHER_REQUEST",
|
|
11
|
-
RESPONSE = "PITCHER_RESPONSE"
|
|
12
|
-
}
|
|
13
|
-
export declare enum PitcherResponseStatus {
|
|
14
|
-
OK = "ok",
|
|
15
|
-
ERROR = "error"
|
|
16
|
-
}
|
|
17
|
-
export interface PitcherMessage {
|
|
18
|
-
type: typeof PITCHER_EVENT;
|
|
19
|
-
request: {
|
|
20
|
-
id: string;
|
|
21
|
-
type: string;
|
|
22
|
-
body?: Record<string, any>;
|
|
23
|
-
};
|
|
24
|
-
}
|
|
25
|
-
export interface ApiOptions {
|
|
26
|
-
errorLogger?: (p: any) => string | void;
|
|
27
|
-
logLevel?: 'off' | 'info' | 'debug';
|
|
28
|
-
casing?: 'camel' | 'snake';
|
|
29
|
-
}
|
|
30
|
-
export interface PitcherEnv {
|
|
31
|
-
mode: 'WEB' | 'IOS' | 'WINDOWS' | 'ANDROID';
|
|
32
|
-
pitcher: {
|
|
33
|
-
token_claims: Record<string, any>;
|
|
34
|
-
organization: Omit<Organization, 'metadata'> & {
|
|
35
|
-
metadata: OrganizationMetadata;
|
|
36
|
-
};
|
|
37
|
-
instance: Instance;
|
|
38
|
-
user: User;
|
|
39
|
-
access_token: string;
|
|
40
|
-
id_token: string;
|
|
41
|
-
};
|
|
42
|
-
launch_darkly?: LaunchDarklyEnv;
|
|
43
|
-
client_type?: (typeof CLIENT_TYPE)[keyof typeof CLIENT_TYPE];
|
|
44
|
-
}
|
|
45
|
-
export interface PitcherAPI extends Emitter<ApiEventMap> {
|
|
46
|
-
request(type: string, body: any, callback: () => any): Promise<PitcherResponse>;
|
|
47
|
-
}
|
|
48
|
-
export interface PitcherInterface extends Emitter<PitcherEventMap> {
|
|
49
|
-
API: PitcherAPI;
|
|
50
|
-
}
|
|
51
|
-
export interface PitcherResponse {
|
|
52
|
-
type: PitcherMessageType.RESPONSE;
|
|
53
|
-
request: {
|
|
54
|
-
id: string;
|
|
55
|
-
type: string;
|
|
56
|
-
};
|
|
57
|
-
response: {
|
|
58
|
-
status: PitcherResponseStatus;
|
|
59
|
-
body?: Record<string, any>;
|
|
60
|
-
};
|
|
61
|
-
}
|
|
62
|
-
export interface OpenCanvasPitcherEvent {
|
|
63
|
-
account_id?: string;
|
|
64
|
-
account_name?: string;
|
|
65
|
-
canvas_id?: string;
|
|
66
|
-
edit_mode?: 'true' | 'false';
|
|
67
|
-
}
|
|
68
|
-
export interface CreateAndOpenCanvasEvent {
|
|
69
|
-
account_id?: string;
|
|
70
|
-
}
|
|
71
|
-
export interface StartCallPitcherEvent {
|
|
72
|
-
account?: {
|
|
73
|
-
id: string;
|
|
74
|
-
name: string;
|
|
75
|
-
};
|
|
76
|
-
contact_ids?: string[];
|
|
77
|
-
canvas_id?: string;
|
|
78
|
-
edit_mode?: 'true' | 'false';
|
|
79
|
-
post_action?: string;
|
|
80
|
-
post_action_path?: string;
|
|
81
|
-
}
|
|
82
|
-
export declare enum PitcherEventName {
|
|
83
|
-
ENV_CHANGED = "env_changed",
|
|
84
|
-
PHOTOS_CAPTURED = "photos_captured",
|
|
85
|
-
FILE_DOWNLOADED = "file_downloaded",
|
|
86
|
-
FILE_UPLOAD_PROGRESS = "file_upload_progress",
|
|
87
|
-
UPDATE_LOCATION = "update_location",
|
|
88
|
-
CANVAS_UPDATED = "canvas_updated",
|
|
89
|
-
CANVAS_UPDATED_SUCCESS = "canvas_updated_success",
|
|
90
|
-
FILE_CLOSED = "file_closed",
|
|
91
|
-
APP_BACKGROUNDED = "app_backgrounded",
|
|
92
|
-
APP_FOREGROUNDED = "app_foregrounded",
|
|
93
|
-
NON_FILES_SYNC_FINISHED = "non_files_sync_finished",
|
|
94
|
-
CONTENT_LIST_REFRESH_REQUESTED = "content_list_refresh_requested",
|
|
95
|
-
NETWORK_CONNECTION_ESTABLISHED = "network_connection_established",
|
|
96
|
-
NETWORK_CONNECTION_LOST = "network_connection_lost",
|
|
97
|
-
ENTERED_FULLSCREEN = "entered_fullscreen",
|
|
98
|
-
EXITED_FULLSCREEN = "exited_fullscreen",
|
|
99
|
-
SUBMIT_POSTCALL_CLICKED = "submit_postcall_clicked"
|
|
100
|
-
}
|
|
101
|
-
export declare enum PitcherBroadcastedEventName {
|
|
102
|
-
UI_SHOW_MODAL = "ui:show-modal",
|
|
103
|
-
UI_HIDE_MODAL = "ui:hide-modal",
|
|
104
|
-
FAVORITES_CHANGED = "favorites:changed",
|
|
105
|
-
FILE_DOWNLOAD = "file:download"
|
|
106
|
-
}
|
|
107
|
-
export declare enum PitcherExternalEventName {
|
|
108
|
-
CREATE_AND_OPEN_CANVAS = "create_and_open_canvas",
|
|
109
|
-
OPEN_CANVAS = "open_canvas",
|
|
110
|
-
START_CALL = "start_call"
|
|
111
|
-
}
|
|
112
|
-
interface UpdateLocation {
|
|
113
|
-
action: string;
|
|
114
|
-
}
|
|
115
|
-
export interface LocationRoute {
|
|
116
|
-
path: string;
|
|
117
|
-
query: Record<string, any>;
|
|
118
|
-
is_restoring: boolean;
|
|
119
|
-
is_mounted: boolean;
|
|
120
|
-
}
|
|
121
|
-
export type LocationRoutes = Record<string, LocationRoute>;
|
|
122
|
-
export interface UpdateLocationOnRegister extends UpdateLocation {
|
|
123
|
-
action: 'register';
|
|
124
|
-
child_app: string;
|
|
125
|
-
parent_app?: string;
|
|
126
|
-
path?: string;
|
|
127
|
-
query?: Record<string, any>;
|
|
128
|
-
}
|
|
129
|
-
export interface UpdateLocationOnUnregister extends UpdateLocation {
|
|
130
|
-
action: 'unregister';
|
|
131
|
-
app: string;
|
|
132
|
-
}
|
|
133
|
-
export interface UpdateLocationOnUpdate extends UpdateLocation {
|
|
134
|
-
action: 'update';
|
|
135
|
-
routes: Record<string, Omit<LocationRoute, 'is_restoring' | 'is_mounted'>>;
|
|
136
|
-
}
|
|
137
|
-
export interface UpdateLocationOnMounted extends UpdateLocation {
|
|
138
|
-
action: 'mounted';
|
|
139
|
-
app: string;
|
|
140
|
-
}
|
|
141
|
-
export interface UpdateLocationOnRestore extends UpdateLocation {
|
|
142
|
-
action: 'restore';
|
|
143
|
-
routes: Record<string, Omit<LocationRoute, 'is_mounted'>>;
|
|
144
|
-
}
|
|
145
|
-
export interface UpdateLocationOnRestoreCompleted extends UpdateLocation {
|
|
146
|
-
action: 'restore_completed';
|
|
147
|
-
app: string;
|
|
148
|
-
path: string;
|
|
149
|
-
query: Record<string, any>;
|
|
150
|
-
}
|
|
151
|
-
export interface UpdateLocationOnGetRoutesRequest extends UpdateLocation {
|
|
152
|
-
action: 'get_routes_request';
|
|
153
|
-
app: string;
|
|
154
|
-
}
|
|
155
|
-
export interface UpdateLocationOnGetRoutesResponse extends UpdateLocation {
|
|
156
|
-
action: 'get_routes_response';
|
|
157
|
-
app: string;
|
|
158
|
-
routes: LocationRoutes;
|
|
159
|
-
}
|
|
160
|
-
export type UpdateLocationPitcherEvent = UpdateLocationOnUnregister | UpdateLocationOnRestore | UpdateLocationOnUpdate | UpdateLocationOnRegister | UpdateLocationOnRestoreCompleted | UpdateLocationOnMounted | UpdateLocationOnGetRoutesRequest | UpdateLocationOnGetRoutesResponse;
|
|
161
|
-
export interface PitcherEventMap {
|
|
162
|
-
[PitcherEventName.ENV_CHANGED]: PitcherEnv;
|
|
163
|
-
/**
|
|
164
|
-
* @see iOS-only
|
|
165
|
-
*/
|
|
166
|
-
[PitcherEventName.PHOTOS_CAPTURED]: void;
|
|
167
|
-
/**
|
|
168
|
-
* @see iOS-only
|
|
169
|
-
*/
|
|
170
|
-
[PitcherEventName.NON_FILES_SYNC_FINISHED]: {
|
|
171
|
-
user_triggered: boolean;
|
|
172
|
-
};
|
|
173
|
-
/**
|
|
174
|
-
* @see iOS-only
|
|
175
|
-
*/
|
|
176
|
-
[PitcherEventName.CONTENT_LIST_REFRESH_REQUESTED]: void;
|
|
177
|
-
/**
|
|
178
|
-
* @see iOS-only
|
|
179
|
-
*/
|
|
180
|
-
[PitcherEventName.FILE_DOWNLOADED]: File;
|
|
181
|
-
/**
|
|
182
|
-
* @see iOS-only
|
|
183
|
-
*/
|
|
184
|
-
[PitcherEventName.NETWORK_CONNECTION_ESTABLISHED]: void;
|
|
185
|
-
/**
|
|
186
|
-
* @see iOS-only
|
|
187
|
-
*/
|
|
188
|
-
[PitcherEventName.NETWORK_CONNECTION_LOST]: void;
|
|
189
|
-
/**
|
|
190
|
-
* @see iOS-only
|
|
191
|
-
*/
|
|
192
|
-
[PitcherEventName.FILE_UPLOAD_PROGRESS]: {
|
|
193
|
-
upload_uid: string;
|
|
194
|
-
progress: number;
|
|
195
|
-
};
|
|
196
|
-
/**
|
|
197
|
-
* @see WEB-only
|
|
198
|
-
*/
|
|
199
|
-
[PitcherEventName.ENTERED_FULLSCREEN]: void;
|
|
200
|
-
/**
|
|
201
|
-
* @see WEB-only
|
|
202
|
-
*/
|
|
203
|
-
[PitcherEventName.EXITED_FULLSCREEN]: void;
|
|
204
|
-
[PitcherEventName.CANVAS_UPDATED]: Record<string, any>;
|
|
205
|
-
[PitcherEventName.CANVAS_UPDATED_SUCCESS]: Partial<Canvas>;
|
|
206
|
-
[PitcherEventName.UPDATE_LOCATION]: UpdateLocationPitcherEvent;
|
|
207
|
-
[PitcherEventName.FILE_CLOSED]: {
|
|
208
|
-
file_id?: string;
|
|
209
|
-
};
|
|
210
|
-
[PitcherEventName.SUBMIT_POSTCALL_CLICKED]: void;
|
|
211
|
-
[PitcherBroadcastedEventName.UI_SHOW_MODAL]: void;
|
|
212
|
-
[PitcherBroadcastedEventName.UI_HIDE_MODAL]: void;
|
|
213
|
-
[PitcherBroadcastedEventName.FAVORITES_CHANGED]: {
|
|
214
|
-
body: PaginatedData<Favorite>;
|
|
215
|
-
};
|
|
216
|
-
[PitcherBroadcastedEventName.FILE_DOWNLOAD]: {
|
|
217
|
-
body: File['id'];
|
|
218
|
-
};
|
|
219
|
-
[PitcherExternalEventName.OPEN_CANVAS]: OpenCanvasPitcherEvent;
|
|
220
|
-
[PitcherExternalEventName.START_CALL]: StartCallPitcherEvent;
|
|
221
|
-
[PitcherExternalEventName.CREATE_AND_OPEN_CANVAS]: CreateAndOpenCanvasEvent;
|
|
222
|
-
}
|
|
223
|
-
export interface PitcherEvent {
|
|
224
|
-
type: keyof PitcherEventMap;
|
|
225
|
-
body: PitcherEventMap[keyof PitcherEventMap];
|
|
226
|
-
}
|
|
227
|
-
export interface ApiEventMap {
|
|
228
|
-
event: PitcherEvent;
|
|
229
|
-
}
|
|
230
|
-
export {};
|