Appearance
@pitcher/canvas-ui
Modules
| Module | Description |
|---|---|
| internal | - |
Enumerations
PitcherBroadcastedEventName
Enumeration Members
PitcherEventName
Enumeration Members
PitcherExternalEventName
Enumeration Members
| Enumeration Member | Value |
|---|---|
CREATE_AND_OPEN_CANVAS | "create_and_open_canvas" |
OPEN_CANVAS | "open_canvas" |
START_CALL | "start_call" |
PitcherMessageType
Enumeration Members
| Enumeration Member | Value |
|---|---|
REQUEST | "PITCHER_REQUEST" |
RESPONSE | "PITCHER_RESPONSE" |
PitcherResponseStatus
Enumeration Members
| Enumeration Member | Value |
|---|---|
ERROR | "error" |
OK | "ok" |
Interfaces
AdminToastRequest
Represents a request to show a toast notification.
Properties
ApiEventMap
Properties
| Property | Type |
|---|---|
event | PitcherEvent |
ApiOptions
Properties
| Property | Type |
|---|---|
casing? | "camel" | "snake" |
errorLogger? | (p: any) => string | void |
fetchMode? | FetchMode |
logLevel? | "off" | "info" | "debug" |
CreateAndOpenCanvasEvent
Properties
| Property | Type |
|---|---|
account_id? | string |
CRMDeleteObject
Represents a single CRM object to be deleted.
Properties
| Property | Type | Description |
|---|---|---|
ids | string[] | Array of IDs of the records to delete. |
table_name | string | The name of the CRM table/object to delete from. |
CRMQueryPayload
Payload for executing a query against CRM.
Properties
| Property | Type | Description |
|---|---|---|
query | string | The query string to execute. |
service? | CRMServiceType | Optional name of the service to be queried. |
CRMSmartDeleteObjectsPayload
Payload for deleting CRM objects (iOS only).
Properties
| Property | Type | Description |
|---|---|---|
objects | CRMDeleteObject[] | Array of CRM objects to be deleted. |
CRMSmartObjectMetadataPayload
Payload for retrieving CRM smart object metadata (iOS only).
Properties
| Property | Type | Description |
|---|---|---|
object | string | The name of the CRM object to retrieve metadata for (e.g., 'Account', 'Contact', 'Opportunity'). |
CRMSmartObjectValidationRulesPayload
Payload for getting CRM smart object validation rules (iOS only).
Properties
| Property | Type | Description |
|---|---|---|
object | string | The name of the CRM object (e.g., 'Account', 'Contact', 'Opportunity'). |
GetInstanceMetadataTemplatesPayload
Payload for getting instance metadata templates.
Properties
LocationRoute
Represents a route in the location.
Properties
| Property | Type | Description |
|---|---|---|
is_inactive | boolean | Indicates when application is still registered but not used right now. |
is_mounted | boolean | Indicates if the route is mounted. |
is_restoring | boolean | Indicates if the route is being restored. |
path | string | The path of the route. |
query | Record<string, any> | The query parameters of the route. |
NotificationPayload
Payload for sending a notification.
Properties
| Property | Type | Description |
|---|---|---|
content | string | Content of the notification. |
type? | "native" | "alert" | Type of the notification. |
OpenCanvasPitcherEvent
Properties
| Property | Type |
|---|---|
account_id? | string |
account_name? | string |
canvas_id? | string |
edit_mode? | "true" | "false" |
OpenExternalUrlRequestPayload
Payload object for opening an external URL.
Properties
| Property | Type | Description |
|---|---|---|
options? | string | Additional options for opening the URL. |
target? | "_self" | "_blank" | The target where the URL should be opened. Defaults to '_blank'. |
url | string | The URL to open. |
OpenRequestPayload
Payload object for opening a file.
Properties
| Property | Type | Description |
|---|---|---|
canvasCorrelationId? | string | Tracking id for the canvas presentation session. |
canvasInView? | boolean | Indicates if the canvas is in view. |
context? | Record<string, any> | Optional, overrides over the context of the current canvas, useful for injecting file annotation data. Default is {}. |
fileId? | string | Id of the file to open. |
files? | object | Ids of the files to open and the strategy to open them with. |
files.ids | string[] | - |
files.strategy | "simultaneous" | "swap" | - |
fromCanvasId? | string | Id of the canvas from which the file is opened. |
isInCall? | boolean | Indicates if the user is in a call. |
isOverlayApp? | boolean | Indicates if the app should be opened as overlay. |
newTab? | boolean | Indicates if the file should be opened in a new tab. |
pageIndex? | number | Optional, page index to open. Default is null. |
search? | string | Search query string within the file. |
startTime? | number | Optional, video start timestamp in seconds. Default is null. |
url? | null | string | URL of the file content. |
usedInSectionId? | string | Id of the canvas section from which the file is opened. |
OpenWebViewAlwaysOnTop
Payload object for opening a web view that is always on top.
Properties
OrgConfigResponse
Properties
PeerConnectivityContext
Indexable
[key: string]: unknown
Properties
| Property | Type |
|---|---|
canvasId? | string |
fileId? | string |
routeName? | string |
routePath? | string |
viewId? | string |
viewType? | string |
PeerConnectivityDispatchOptions
Properties
| Property | Type | Description |
|---|---|---|
isFeatureEnabled? | boolean | Guards if feature flag is enabled for the current organization. |
PeerConnectivityEvent<TData, TContext>
Extends
PeerConnectivityEventPayload<TData,TContext>
Type Parameters
| Type Parameter | Default type |
|---|---|
TData extends Record<string, unknown> | Record<string, unknown> |
TContext extends PeerConnectivityContext | PeerConnectivityContext |
Properties
| Property | Type | Overrides | Inherited from |
|---|---|---|---|
action | string | - | PeerConnectivityEventPayload.action |
context? | TContext | - | PeerConnectivityEventPayload.context |
data? | TData | - | PeerConnectivityEventPayload.data |
metadata | PeerConnectivityMetadata | PeerConnectivityEventPayload.metadata | - |
version | number | PeerConnectivityEventPayload.version | - |
PeerConnectivityEventPayload<TData, TContext>
Extended by
Type Parameters
| Type Parameter | Default type |
|---|---|
TData extends Record<string, unknown> | Record<string, unknown> |
TContext extends PeerConnectivityContext | PeerConnectivityContext |
Properties
| Property | Type |
|---|---|
action | string |
context? | TContext |
data? | TData |
metadata? | Partial<PeerConnectivityMetadata> |
version? | number |
PeerConnectivityMetadata
Properties
| Property | Type |
|---|---|
correlationId | string |
extras? | Record<string, unknown> |
source | string |
timestamp | number |
PitcherAPI
Extends
Methods
emit()
emit<
Key>(eventName,params):void
Type Parameters
| Type Parameter |
|---|
Key extends "event" |
Parameters
| Parameter | Type |
|---|---|
eventName | Key |
params | ApiEventMap[Key] |
Returns
void
Inherited from
off()
off<
Key>(eventName,fn):void
Type Parameters
| Type Parameter |
|---|
Key extends "event" |
Parameters
| Parameter | Type |
|---|---|
eventName | Key |
fn | EventReceiver<ApiEventMap[Key]> |
Returns
void
Inherited from
on()
on<
Key>(eventName,fn):void
Type Parameters
| Type Parameter |
|---|
Key extends "event" |
Parameters
| Parameter | Type |
|---|---|
eventName | Key |
fn | EventReceiver<ApiEventMap[Key]> |
Returns
void
Inherited from
request()
request(
type,body,callback):Promise<PitcherResponse>
Parameters
| Parameter | Type |
|---|---|
type | string |
body | any |
callback | () => any |
Returns
PitcherEnv
Properties
| Property | Type |
|---|---|
client_type? | "admin" | "dsr" | "impact" | "impact-canvas-home" |
crm_shape? | Record<string, any> |
device_locale? | string |
launch_darkly? | LaunchDarklyEnv |
mode | "WEB" | "IOS" | "WINDOWS" | "ANDROID" |
pitcher | object |
pitcher.access_token | string |
pitcher.id_token | string |
pitcher.instance | PitcherInstance |
pitcher.org_config? | OrgConfigResponse |
pitcher.organization | PitcherOrg |
pitcher.token_claims | Record<string, any> |
pitcher.user | User |
state? | object |
state.active_canvas_id? | string |
state.active_file? | object |
state.active_file.id | string |
state.active_section_id? | string |
state.canvas_correlation_id? | string |
sync_badge_value? | number |
PitcherEvent
Properties
| Property | Type |
|---|---|
body | void | PitcherEnv | Record<string, any> | File | UpdateLocationPitcherEvent | OpenCanvasPitcherEvent | CreateAndOpenCanvasEvent | StartCallPitcherEvent | RouteChangedPitcherEvent | { section_id: string; url: string; } | { user_triggered: boolean; } | { progress: number; upload_uid: string; } | { payload: any; type: "File Entered" | "File Exited" | "Web File Entered" | "Web File Exited" | "Page Entered" | "Page Exited" | "Page Viewed" | "App Entered" | "App Exited" | "Canvas Entered" | "Canvas Exited" | "Wizard Entered" | "Wizard Exited" | "Canvas Shared" | "Customer Sentiment Captured" | "Canvas Page Entered" | "Canvas Page Exited" | "Canvas Component Entered" | "Canvas Component Exited" | "Canvas File Downloaded" | "Canvas Downloaded" | "User Feedback Captured" | "User Bug Reported" | "User File Reviewed" | "Hotspot Clicked" | "Collection Player Content Changed" | "Comment Added" | "Comment Replied" | "Comment Assigned" | "Comment Resolved" | "Comment Deleted" | "Algolia Search Performed" | "Algolia Search No Results" | "Algolia Search Result Clicked"; } | Partial<CanvasRetrieve> | { file_id: string; view_id: string; } | { file_id: string; view_id: string; } | { canvas_id: string; current_page_index: number; } | { canvas_id: string; current_page_index: number; } | { canvas_id: string; } | { canvas_id: string; } | { item_id: string; } | { is_in_sharebox: boolean; item_id: string; } | { item_id: string; } | { error: string; is_in_sharebox: boolean; item_id: string; success: boolean; } | { count: number; } | PeerConnectivityEvent<Record<string, unknown>, PeerConnectivityContext> | { body: PaginatedData<Favorite>; } | { body: string; } | { body: { canvas_id: string; current_page_index: number; }; } | { body: { canvas_id: string; current_page_index: number; }; } | { body: { canvas_id: string; }; } | { body: { canvas_id: string; }; } | { body: { route_name: string; route_path: string; }; } |
type | keyof PitcherEventMap |
PitcherEventMap
Properties
| Property | Type | Description |
|---|---|---|
analytics_captured | object | See iOS-only |
analytics_captured.payload | any | - |
analytics_captured.type | "File Entered" | "File Exited" | "Web File Entered" | "Web File Exited" | "Page Entered" | "Page Exited" | "Page Viewed" | "App Entered" | "App Exited" | "Canvas Entered" | "Canvas Exited" | "Wizard Entered" | "Wizard Exited" | "Canvas Shared" | "Customer Sentiment Captured" | "Canvas Page Entered" | "Canvas Page Exited" | "Canvas Component Entered" | "Canvas Component Exited" | "Canvas File Downloaded" | "Canvas Downloaded" | "User Feedback Captured" | "User Bug Reported" | "User File Reviewed" | "Hotspot Clicked" | "Collection Player Content Changed" | "Comment Added" | "Comment Replied" | "Comment Assigned" | "Comment Resolved" | "Comment Deleted" | "Algolia Search Performed" | "Algolia Search No Results" | "Algolia Search Result Clicked" | - |
canvas_close_requested | object | - |
canvas_close_requested.canvas_id? | string | - |
canvas_closed | object | - |
canvas_closed.body | object | - |
canvas_closed.body.canvas_id | string | - |
canvas_next_button_clicked | object | - |
canvas_next_button_clicked.body | object | - |
canvas_next_button_clicked.body.canvas_id? | string | - |
canvas_next_button_clicked.body.current_page_index | number | - |
canvas_open_requested | object | - |
canvas_open_requested.canvas_id? | string | - |
canvas_opened | object | - |
canvas_opened.body | object | - |
canvas_opened.body.canvas_id | string | - |
canvas_page_next_requested | object | - |
canvas_page_next_requested.canvas_id? | string | - |
canvas_page_next_requested.current_page_index? | number | - |
canvas_page_previous_requested | object | - |
canvas_page_previous_requested.canvas_id? | string | - |
canvas_page_previous_requested.current_page_index? | number | - |
canvas_previous_button_clicked | object | - |
canvas_previous_button_clicked.body | object | - |
canvas_previous_button_clicked.body.canvas_id? | string | - |
canvas_previous_button_clicked.body.current_page_index | number | - |
canvas_updated | Record<string, any> | - |
canvas_updated_success | Partial<CanvasRetrieve> | - |
content_list_refresh_requested | void | See iOS-only |
create_and_open_canvas | CreateAndOpenCanvasEvent | - |
entered_fullscreen | void | See WEB-only |
env_changed | PitcherEnv | - |
exited_fullscreen | void | See WEB-only |
favorites:changed | object | - |
favorites:changed.body | PaginatedData<Favorite> | - |
file_closed | object | - |
file_closed.file_id? | string | - |
file_closed.view_id? | string | - |
file_downloaded | File | See iOS-only |
file_opened | object | - |
file_opened.file_id? | string | - |
file_opened.view_id? | string | - |
file_upload_progress | object | See iOS-only |
file_upload_progress.progress | number | - |
file_upload_progress.upload_uid | string | - |
file:download | object | - |
file:download.body | string | - |
global_photo_captured | object | See iOS-only |
global_photo_captured.section_id? | string | - |
global_photo_captured.url | string | - |
item_sharebox_add_completed | object | - |
item_sharebox_add_completed.error? | string | - |
item_sharebox_add_completed.is_in_sharebox | boolean | - |
item_sharebox_add_completed.item_id | string | - |
item_sharebox_add_completed.success | boolean | - |
item_sharebox_add_requested | object | - |
item_sharebox_add_requested.item_id | string | - |
item_sharebox_status_requested | object | - |
item_sharebox_status_requested.item_id | string | - |
item_sharebox_status_updated | object | - |
item_sharebox_status_updated.is_in_sharebox | boolean | - |
item_sharebox_status_updated.item_id | string | - |
network_connection_established | void | See iOS-only |
network_connection_lost | void | See iOS-only |
non_files_sync_finished | object | See iOS-only |
non_files_sync_finished.user_triggered | boolean | - |
open_canvas | OpenCanvasPitcherEvent | - |
peer_connectivity_event | PeerConnectivityEvent | - |
photos_captured | void | See iOS-only |
route_change_requested | RouteChangedPitcherEvent | See iOS-only |
route_changed | object | - |
route_changed.body | object | - |
route_changed.body.route_name | string | - |
route_changed.body.route_path | string | - |
start_call | StartCallPitcherEvent | - |
submit_postcall_clicked | void | - |
sync_badge_value_reported | object | See iOS-only |
sync_badge_value_reported.count | number | - |
ui:hide-modal | void | - |
ui:show-modal | void | - |
update_location | UpdateLocationPitcherEvent | - |
PitcherInterface
Extends
Properties
| Property | Type |
|---|---|
API | PitcherAPI |
Methods
emit()
emit<
Key>(eventName,params):void
Type Parameters
| Type Parameter |
|---|
Key extends EventKey<PitcherEventMap> |
Parameters
| Parameter | Type |
|---|---|
eventName | Key |
params | PitcherEventMap[Key] |
Returns
void
Inherited from
off()
off<
Key>(eventName,fn):void
Type Parameters
| Type Parameter |
|---|
Key extends EventKey<PitcherEventMap> |
Parameters
| Parameter | Type |
|---|---|
eventName | Key |
fn | EventReceiver<PitcherEventMap[Key]> |
Returns
void
Inherited from
on()
on<
Key>(eventName,fn):void
Type Parameters
| Type Parameter |
|---|
Key extends EventKey<PitcherEventMap> |
Parameters
| Parameter | Type |
|---|---|
eventName | Key |
fn | EventReceiver<PitcherEventMap[Key]> |
Returns
void
Inherited from
PitcherMessage
Properties
| Property | Type |
|---|---|
request | object |
request.body? | Record<string, any> |
request.id | string |
request.type | string |
type | "PITCHER_EVENT" |
PitcherResponse
Properties
| Property | Type |
|---|---|
request | object |
request.body? | Record<string, any> |
request.id | string |
request.type | string |
response | object |
response.body? | Record<string, any> |
response.status | PitcherResponseStatus |
type | RESPONSE |
QueryPayload
Payload for executing a query.
Properties
| Property | Type | Description |
|---|---|---|
args? | string[][] | Optional arguments for the query. |
query | string | The query string to execute. |
RouteChangedPitcherEvent
Properties
| Property | Type |
|---|---|
route_name | string |
route_path | string |
SharePayload
Payload for iOS sharing dialog.
Properties
| Property | Type | Description |
|---|---|---|
body? | string | Body |
subject? | string | Subject |
text | string | Text to be shared. |
ShowPeerSessionRequestPayload
Payload for showing peer session dialog.
Properties
| Property | Type | Description |
|---|---|---|
x | number | The x-coordinate of the button that triggered the action. |
y | number | The y-coordinate of the button that triggered the action. |
ShowSyncboxRequestPayload
Payload for showing syncbox dialog.
Properties
| Property | Type | Description |
|---|---|---|
x | number | The x-coordinate of the button that triggered the action. |
y | number | The y-coordinate of the button that triggered the action. |
StartCallPitcherEvent
Properties
| Property | Type |
|---|---|
account? | object |
account.id | string |
account.name | string |
canvas_id? | string |
contact_ids? | string[] |
edit_mode? | "true" | "false" |
post_action? | string |
post_action_path? | string |
SubmitUserFeedbackPayload
Payload for submitting user feedback.
Properties
| Property | Type | Description |
|---|---|---|
data | Record<string, any> | Data associated with the feedback. |
type | "bug" | "feedback" | Type of feedback being submitted. |
UiOpenCollectionPlayerOverlayGroup
Properties
| Property | Type | Description |
|---|---|---|
id | string | File ID |
name | string | File name |
slides? | object[] | Optional: specific slides/pages to show from the file |
UiOpenCollectionPlayerOverlayRequest
Properties
| Property | Type | Description |
|---|---|---|
groups | UiOpenCollectionPlayerOverlayGroup[] | Array of files/slides to be played in the collection |
name | string | The display name for the collection |
UiPreselectSfdcMeetingIdRequest
Properties
| Property | Type | Description |
|---|---|---|
eventId | string | Salesforce Meeting ID |
UiPreselectSfdcMeetingIdResponse
Properties
| Property | Type | Description |
|---|---|---|
event | null | SfEvent | Salesforce Event |
UiToastRequest
Properties
UpdateLocationOnGetRoutesRequest
Interface for the 'get_routes_request' update location action.
Extends
Properties
| Property | Type | Description | Overrides |
|---|---|---|---|
action | "get_routes_request" | The action type. | UpdateLocation.action |
app | string | The application identifier. | - |
UpdateLocationOnGetRoutesResponse
Interface for the 'get_routes_response' update location action.
Extends
Properties
| Property | Type | Description | Overrides |
|---|---|---|---|
action | "get_routes_response" | The action type. | UpdateLocation.action |
app | string | The application identifier. | - |
routes | LocationRoutes | The routes in the response. | - |
UpdateLocationOnMounted
Interface for the 'mounted' update location action.
Extends
Properties
| Property | Type | Description | Overrides |
|---|---|---|---|
action | "mounted" | The action type. | UpdateLocation.action |
app | string | The application identifier. | - |
UpdateLocationOnRegister
Interface for the 'register' update location action.
Extends
Properties
| Property | Type | Description | Overrides |
|---|---|---|---|
action | "register" | The action type. | UpdateLocation.action |
child_app | string | The child application identifier. | - |
parent_app? | string | The parent application identifier (optional). | - |
path? | string | The path of the route (optional). | - |
query? | Record<string, any> | The query parameters of the route (optional). | - |
UpdateLocationOnRestore
Interface for the 'restore' update location action.
Extends
Properties
| Property | Type | Description | Overrides |
|---|---|---|---|
action | "restore" | The action type. | UpdateLocation.action |
routes | Record<string, Omit<LocationRoute, "is_mounted">> | The routes to be restored. | - |
UpdateLocationOnRestoreCompleted
Interface for the 'restore_completed' update location action.
Extends
Properties
| Property | Type | Description | Overrides |
|---|---|---|---|
action | "restore_completed" | The action type. | UpdateLocation.action |
app | string | The application identifier. | - |
path | string | The path of the route. | - |
query | Record<string, any> | The query parameters of the route. | - |
UpdateLocationOnUnregister
Interface for the 'unregister' update location action.
Extends
Properties
| Property | Type | Description | Overrides |
|---|---|---|---|
action | "unregister" | The action type. | UpdateLocation.action |
app | string | The application identifier. | - |
UpdateLocationOnUpdate
Interface for the 'update' update location action.
Extends
Properties
| Property | Type | Description | Overrides |
|---|---|---|---|
action | "update" | The action type. | UpdateLocation.action |
routes | Record<string, Omit<LocationRoute, "is_restoring" | "is_mounted" | "is_inactive">> | The routes to be updated. | - |
UpsertCRMObject
Represents a single CRM object to be upserted.
Properties
| Property | Type | Description |
|---|---|---|
external_id_path? | string | Optional external ID path for identifying records during upsert. Used to determine if a record should be created or updated. Important: Always provide this field when performing updates to ensure records are matched correctly. Without it, the operation may create duplicate records instead of updating existing ones. |
objects | Record<string, any>[] | Array of objects to upsert. Each object is a key-value map of field names to values. Important: When creating new records, each object must include an explicit identifier field (e.g., Id) passed from the frontend. The backend does not auto-generate IDs. |
table_name | string | The name of the CRM table/object to upsert into. |
UpsertCRMObjectsPayload
Payload for upserting CRM objects (iOS only).
Properties
| Property | Type | Description |
|---|---|---|
objects | UpsertCRMObject[] | Array of CRM objects to be upserted. |
Type Aliases
AdminCaptureAppErrorRequest
AdminCaptureAppErrorRequest:
object
Error object to send to Pitcher sentry instance
AdminEnv
AdminEnv:
object
Represents the admin environment.
Type declaration
client_type?
optionalclient_type: typeofCLIENT_TYPE[keyof typeofCLIENT_TYPE]
crm_shape?
optionalcrm_shape:Record<string,any>
launch_darkly?
optionallaunch_darkly:LaunchDarklyEnv
mode?
optionalmode:PitcherEnv["mode"]
Pitcher environment settings.
pitcher
pitcher:
PitcherEnv["pitcher"]
state?
optionalstate:PitcherEnv["state"]
AdminMessage<Payload>
AdminMessage<
Payload>:object
Represents an admin message with a specific payload.
Type Parameters
| Type Parameter | Default type | Description |
|---|---|---|
Payload | any | The type of the message data. |
Type declaration
body
body:
object
Body of the message containing the message type and payload data.
body.data
data:
Payload
Payload data for the message.
body.type
type: typeof
ADMIN_MESSAGE_TYPES[keyof typeofADMIN_MESSAGE_TYPES]
Type of the admin message.
id
id:
string
Unique identifier for the message.
type
type: typeof
ADMIN_MESSAGE
Type of the admin message.
AdminMessagePayloads
AdminMessagePayloads:
object
Type declaration
admin_env_changed
admin_env_changed:
AdminEnv
AdminOpenCollectionPlayerOverlayGroup
AdminOpenCollectionPlayerOverlayGroup:
object
Type declaration
id
id:
string
name
name:
string
slides?
optionalslides:object[]
AdminOpenCollectionPlayerOverlayRequest
AdminOpenCollectionPlayerOverlayRequest:
object
Type declaration
groups
groups:
AdminOpenCollectionPlayerOverlayGroup[]
name
name:
string
AdminRequest<Payload>
AdminRequest<
Payload>:object
Represents an admin request with a specific payload.
Type Parameters
| Type Parameter | Default type | Description |
|---|---|---|
Payload | any | The type of the payload data. |
Type declaration
body
body:
object
Body of the request containing the method type and payload data.
body.data
data:
Payload
Payload data for the request.
body.type
type: typeof
ADMIN_API_METHOD_TYPES[keyof typeofADMIN_API_METHOD_TYPES]
Type of the admin API method.
id
id:
string
Unique identifier for the request.
type
type: typeof
ADMIN_API_TYPES["ADMIN_REQUEST"]
Type of the admin API request.
AdminResponse<Response>
AdminResponse<
Response>:object
Represents an admin response with a specific payload.
Type Parameters
| Type Parameter | Default type | Description |
|---|---|---|
Response | any | The type of the response data. |
Type declaration
body
body:
Response
Body of the response containing the response data.
id
id:
string
Unique identifier for the response.
type
type: typeof
ADMIN_API_TYPES["ADMIN_RESPONSE"]
Type of the admin API response.
AdminSelectAgendaRequest
AdminSelectAgendaRequest:
object
Type declaration
attach_to?
optionalattach_to:AgendaSelectorProps["attachTo"]
initial_agenda?
optionalinitial_agenda:AgendaSelectorProps["initialAgenda"]
AdminSelectAgendaResponse
AdminSelectAgendaResponse:
object
Type declaration
content?
optionalcontent:Agenda
Selected content
user_action
user_action:
"cancelled"|"selected"
User action result
AdminSelectCanvasesRequest
AdminSelectCanvasesRequest:
object
Type declaration
allowed_ids?
optionalallowed_ids:Canvas["id"][]
Array of canvas ids to include in the picker (optional).
allowed_types?
optionalallowed_types: ("canvas"|"canvas-template"|"section"|"section-template")[]
Array of canvas types to include in the picker (optional).
initial_metadata_filters?
optionalinitial_metadata_filters:Record<string,any>
Initial metadata filters to apply to the picker (optional).
selections?
optionalselections:CanvasSelection[]
Array of selections.
sequencing_key?
optionalsequencing_key:string
The sequencing key to use for ordering the canvases (optional).
AdminSelectCanvasesResponse
AdminSelectCanvasesResponse:
object
Type declaration
canvases?
optionalcanvases:Canvas[]
Selected canvases
user_action
user_action:
"cancelled"|"selected"
User action result
AdminSelectCollectionPlayerRequest
AdminSelectCollectionPlayerRequest:
object
Type declaration
attach_to?
optionalattach_to:CollectionSelectorProps["attachTo"]
close_on_settings?
optionalclose_on_settings:CollectionSelectorProps["closeOnSettings"]
hide_close?
optionalhide_close:CollectionSelectorProps["hideClose"]
initial_data?
optionalinitial_data:CollectionSelectorProps["initialData"]
initial_metadata_filters?
optionalinitial_metadata_filters:CollectionSelectorProps["initialMetadataFilters"]
open_settings?
optionalopen_settings:CollectionSelectorProps["openSettings"]
readonly_name?
optionalreadonly_name:CollectionSelectorProps["readonlyName"]
translations?
optionaltranslations:CollectionSelectorProps["translations"]
AdminSelectCollectionPlayerResponse
AdminSelectCollectionPlayerResponse:
object
Type declaration
content?
optionalcontent:CollectionPlayer
Selected content
user_action
user_action:
"cancelled"|"selected"|"settings"
User action result
AdminSelectContentRequest
AdminSelectContentRequest:
object
Represents a request to select content.
Type declaration
allowed_ids?
optionalallowed_ids:File["id"][]
Array of file ids to include in the picker (optional).
allowed_original_extensions?
optionalallowed_original_extensions:string[]
Array of file extensions to scope out list of the results (optional). Only files with these extensions will be shown.
allowed_selector_types?
optionalallowed_selector_types:SelectorType[]
Array of selector types to include in the picker (optional).
content_type?
optionalcontent_type:"file"|"slide"|"content"
Type of content to allow selection for (optional). file: Files only slide: Slides only content: Files and slides
Default
ts
'content'disable_no_pptx_data?
optionaldisable_no_pptx_data:boolean
Disables files from selection which do not have pptx_data in metadata object (optional).
disable_no_sharable?
optionaldisable_no_sharable:boolean
Disables files from selection which are not sharable (optional).
initial_metadata_filters?
optionalinitial_metadata_filters:Record<string,any>
Initial metadata filters to apply to the picker (optional).
max_selections?
optionalmax_selections:number
Maximum number of selections allowed (optional).
min_selections?
optionalmin_selections:number
Minimum number of selections allowed (optional).
only_allow_content_pdf_pages?
optionalonly_allow_content_pdf_pages:boolean
Only allow content pdf pages (optional). User will be forced to select a page from the pdf.
selections?
optionalselections:Selection[]
List of selections to hydrate the picker with.
style?
optionalstyle:Record<string,any>
CSS style to apply to the picker (optional).
AdminSelectContentResponse
AdminSelectContentResponse:
object
Represents a response to a content selection request.
Type declaration
content?
optionalcontent: (SelectedFile|SelectedPage)[]
Selected content, if any.
user_action
user_action:
"cancelled"|"selected"
Action taken by the user.
CRMServiceType
CRMServiceType:
"salesforce"|"dynamics"|"sap"
DsrEnv
DsrEnv:
object
Type declaration
client_type?
optionalclient_type:undefined|"admin"|"dsr"|"impact"|"impact-canvas-home"
launch_darkly?
optionallaunch_darkly:undefined|LaunchDarklyEnv
mode
mode:
"WEB"|"IOS"|"WINDOWS"|"ANDROID"
pitcher?
optionalpitcher:undefined| {access_token:string; }
state?
optionalstate:undefined| {active_canvas_id:string;active_file: {id:string; };active_section_id:string;canvas_correlation_id:string; }
DsrMessage<Payload>
DsrMessage<
Payload>:object
Type Parameters
| Type Parameter | Default type |
|---|---|
Payload | any |
Type declaration
body
body:
object
body.data
data:
Payload
body.type
type: typeof
DSR_MESSAGE_TYPES[keyof typeofDSR_MESSAGE_TYPES]
id
id:
string
type
type: typeof
DSR_MESSAGE
DsrMessagePayloads
DsrMessagePayloads:
object
Type declaration
dsr_env_changed
dsr_env_changed:
DsrEnv
DsrRequest<Payload>
DsrRequest<
Payload>:object
Type Parameters
| Type Parameter | Default type |
|---|---|
Payload | any |
Type declaration
body
body:
object
body.data
data:
Payload
body.type
type: typeof
DSR_API_METHOD_TYPES[keyof typeofDSR_API_METHOD_TYPES]
id
id:
string
type
type: typeof
DSR_API_TYPES["DSR_REQUEST"]
DsrResponse<Response>
DsrResponse<
Response>:object
Type Parameters
| Type Parameter | Default type |
|---|---|
Response | any |
Type declaration
body
body:
Response
id
id:
string
type
type: typeof
DSR_API_TYPES["DSR_RESPONSE"]
FolderListRequest
FolderListRequest:
object
Type declaration
fields?
optionalfields:string
filters?
optionalfilters:Record<string,any>
id__in?
optionalid__in:string[]
name?
optionalname:string
ordering?
optionalordering:string
page?
optionalpage:number
page_size?
optionalpage_size:number
search?
optionalsearch:string
GetRecentFilesPayload
GetRecentFilesPayload:
object
Payload for getting recent files.
Type declaration
size?
optionalsize:number
Number of recent files to retrieve.
JsApiLocation
JsApiLocation:
"ui"|"admin"|"dsr"|"impact"
ListFilesPayload
ListFilesPayload:
object
Payload for listing files with optional filters.
Type declaration
access_type
access_type:
undefined|AccessTypeEnum
app_metadata
app_metadata:
undefined|Record<string,any>
content_extension
content_extension:
undefined|null|string
content_length
content_length:
undefined|null|number
content_type
content_type:
undefined| FileContentTypeEnum & (FileContentTypeEnum | FileContentTypeEnum[])
content_url
content_url:
undefined|null|string
created_at
created_at:
undefined|string
created_at__range?
optionalcreated_at__range:undefined|string
Range filter for creation date.
created_by
created_by:
undefined|MiniUser
download_type
download_type:
undefined|DownloadTypeEnum
expires_at
expires_at:
undefined|null|string
expires_at__range?
optionalexpires_at__range:undefined|string
Range filter for expiration date.
folder
folder:
undefined|MiniFolder
folder_id
folder_id:
undefined|string
global_id
global_id:
undefined|string
id
id:
undefined|string
id__in?
optionalid__in:undefined|string
Filter for file IDs.
instance_id
instance_id:
undefined|string
metadata
metadata:
undefined|Record<string,any>
modified_at
modified_at:
undefined|string
modified_by
modified_by:
undefined|MiniUser
name
name:
undefined|string
original_extension
original_extension:
undefined|null|string
original_url
original_url:
undefined|null|string
owned_by
owned_by:
undefined|MiniUser
permissions
permissions:
undefined|FilePermission
published_at
published_at:
undefined|null|string
role
role:
undefined|CollaborationRoleEnum
shared_link
shared_link:
undefined|MiniSharedLink
size
size:
undefined|null|number
status
status:
undefined|FileStatusEnum
tags
tags:
undefined|string[]
thumbnail_url
thumbnail_url:
undefined|null|string
type?
optionaltype:undefined|FileTypeEnum|FileTypeEnum[]
Filter for file types.
updated_at__range?
optionalupdated_at__range:undefined|string
Range filter for update date.
zip_size
zip_size:
undefined|null|number
zip_url
zip_url:
undefined|null|string
LocationRoutes
LocationRoutes:
object
A record of location routes.
PeerConnectivityAction
PeerConnectivityAction: typeof
PeerConnectivityActions[keyof typeofPeerConnectivityActions] |string
PeerConnectivityEventHandler()<TData, TContext>
PeerConnectivityEventHandler<
TData,TContext>: (event) =>void
Type Parameters
| Type Parameter | Default type |
|---|---|
TData extends Record<string, unknown> | Record<string, unknown> |
TContext extends PeerConnectivityContext | PeerConnectivityContext |
Parameters
| Parameter | Type |
|---|---|
event | PeerConnectivityEvent<TData, TContext> |
Returns
void
ShareResponse
ShareResponse:
object
Represents a response to a iOS sharing dialog.
Type declaration
activity_type?
optionalactivity_type:string
Type of share action.
user_action
user_action:
"cancelled"|"shared"
Action taken by the user.
UiAppResizeRequest
UiAppResizeRequest:
object
Type declaration
height
height:
number
Requested height as the number of pixels
UiAppSetDataPayload
UiAppSetDataPayload:
object
Type declaration
canvas
canvas:
CanvasRetrieve
Canvas data
canvas_correlation_id
canvas_correlation_id:
string|undefined
Canvas correlation ID for tracking
client
client:
string|null
Client name
component_id
component_id:
string
Component ID
display_mode
display_mode:
string|undefined
Display mode
full_screen_mode
full_screen_mode:
boolean|undefined
Full screen mode status
height
height:
string|undefined
Height of the canvas
in_call
in_call:
boolean
Call status
is_edit_mode
is_edit_mode:
boolean
Edit mode status
platform
platform:
string|undefined
Platform name
section_index
section_index:
number|null
Section index in section list
section_list_id
section_list_id:
string|null
Section list ID
settings
settings:
EmbeddableProps["settings"] |null
Embeddable settings
used_in_section
used_in_section:
CanvasSection|null
Section used in canvas
user
user:
User|null
User information
width
width:
string|undefined
Width of the canvas
UiAppUpdateDataPayload
UiAppUpdateDataPayload:
object
Type declaration
in_call
in_call:
boolean
Call status
is_edit_mode
is_edit_mode:
boolean
Edit mode status
UiBroadcastRequest
UiBroadcastRequest:
object
UiCanvasNavigatePageRequest
UiCanvasNavigatePageRequest:
object
Type declaration
page
page:
ComponentNode["id"]
The id of the component we want to navigate to
UiCanvasUpdatedPayload
UiCanvasUpdatedPayload:
object
Type declaration
canvas
canvas:
CanvasRetrieve
Canvas data
UiCaptureAppErrorRequest
UiCaptureAppErrorRequest:
object
Error object to send to Pitcher sentry instance
UiCompletePostcallRequest
UiCompletePostcallRequest:
object
Type declaration
was_successfully_submitted?
optionalwas_successfully_submitted:boolean
Indicates if the postcall was successfully submitted
UiMeetingCanceledPayload
UiMeetingCanceledPayload:
object
Type declaration
accountId?
optionalaccountId:string
Account ID
eventId?
optionaleventId:string
Event ID
UiMessageEnvelope<T>
UiMessageEnvelope<
T>:object
Type Parameters
| Type Parameter | Default type |
|---|---|
T extends typeof UI_MESSAGE_TYPES[keyof typeof UI_MESSAGE_TYPES] | typeof UI_MESSAGE_TYPES[keyof typeof UI_MESSAGE_TYPES] |
Type declaration
body
body:
UiMessagePayloads[T]
Message body
type
type:
T
Message type
UiMessagePayloads
UiMessagePayloads:
object
Type declaration
ui_app_set_data
ui_app_set_data:
UiAppSetDataPayload
ui_app_update_data
ui_app_update_data:
UiAppUpdateDataPayload
ui_canvas_updated
ui_canvas_updated:
UiCanvasUpdatedPayload
ui_meeting_canceled
ui_meeting_canceled:
UiMeetingCanceledPayload
ui_prompt_pia_response_streamed
ui_prompt_pia_response_streamed:
UiPromptPiaResponseStreamedPayload
ui_section_list_updated
ui_section_list_updated:
UiSectionListUpdatedPayload
UiOpenRequest
UiOpenRequest:
object
Type declaration
app_context?
optionalapp_context:undefined|Record<string,any>
Context to pass to the app
app_embed_location?
optionalapp_embed_location:undefined|EmbedLocation
Embed location of the app
app_name?
optionalapp_name:undefined|string
Name of the app to open
canvasCorrelationId?
optionalcanvasCorrelationId:undefined|string
Tracking id for the canvas presentation session.
canvasInView?
optionalcanvasInView:undefined|boolean
Indicates if the canvas is in view.
context?
optionalcontext:undefined|Record<string,any>
Optional, overrides over the context of the current canvas, useful for injecting file annotation data. Default is {}.
fileId?
optionalfileId:undefined|string
Id of the file to open.
files?
optionalfiles:undefined| {ids:string[];strategy:"simultaneous"|"swap"; }
Ids of the files to open and the strategy to open them with.
fromCanvasId?
optionalfromCanvasId:undefined|string
Id of the canvas from which the file is opened.
isInCall?
optionalisInCall:undefined|boolean
Indicates if the user is in a call.
isOverlayApp?
optionalisOverlayApp:undefined|boolean
Indicates if the app should be opened as overlay.
newTab?
optionalnewTab:undefined|boolean
Indicates if the file should be opened in a new tab.
pageIndex?
optionalpageIndex:undefined|number
Optional, page index to open. Default is null.
search?
optionalsearch:undefined|string
Search query string within the file.
startTime?
optionalstartTime:undefined|number
Optional, video start timestamp in seconds. Default is null.
url?
optionalurl:undefined|null|string
URL of the file content.
usedInSectionId?
optionalusedInSectionId:undefined|string
Id of the canvas section from which the file is opened.
UiPrintCanvasRequest
UiPrintCanvasRequest:
object
Type declaration
id
id:
CanvasRetrieve["id"]
Canvas ID to print
notify_url?
optionalnotify_url:string
Optional HTTPS URL for async download notifications
UiPrintCanvasResponse
UiPrintCanvasResponse:
object
Type declaration
job_id?
optionaljob_id:string
Job ID for tracking the async download
success
success:
boolean
Indicates if the request was successful
UiPromptPiaRequest
UiPromptPiaRequest:
object
Type declaration
id
id:
string
Unique identifier of this prompt (needed for streaming event)
prompt
prompt:
string
Prompt to send to PIA
UiPromptPiaResponse
UiPromptPiaResponse:
object
Type declaration
id
id:
string
Unique identifier of this prompt (needed for streaming event)
response
response:
string
PIA response
UiPromptPiaResponseStreamedPayload
UiPromptPiaResponseStreamedPayload:
object
Type declaration
chunk
chunk:
string
Current chunk of the response
id
id:
string
Unique identifier of this prompt
partial_response
partial_response:
string
PIA response so far
UiSectionListUpdatedPayload
UiSectionListUpdatedPayload:
object
Type declaration
canvas
canvas:
CanvasRetrieve|null
Canvas data
section_list_component_id
section_list_component_id:
string
Section list component ID
section_list_ids
section_list_ids:
string[]
List of section IDs
UiSelectAgendaRequest
UiSelectAgendaRequest:
object
Type declaration
attach_to?
optionalattach_to:AgendaSelectorProps["attachTo"]
initial_agenda?
optionalinitial_agenda:AgendaSelectorProps["initialAgenda"]
UiSelectAgendaResponse
UiSelectAgendaResponse:
object
Type declaration
content?
optionalcontent:Agenda
Selected content
user_action
user_action:
"cancelled"|"selected"
User action result
UiSelectCanvasesRequest
UiSelectCanvasesRequest:
object
Type declaration
allowed_ids?
optionalallowed_ids:Canvas["id"][]
allowed_types?
optionalallowed_types: ("canvas"|"canvas-template"|"section"|"section-template")[]
initial_metadata_filters?
optionalinitial_metadata_filters:Record<string,any>
selections?
optionalselections:CanvasSelection[]
Array of selections
UiSelectCanvasesResponse
UiSelectCanvasesResponse:
object
Type declaration
canvases?
optionalcanvases:Canvas[]
Selected canvases
user_action
user_action:
"cancelled"|"selected"
User action result
UiSelectCollectionPlayerRequest
UiSelectCollectionPlayerRequest:
object
Type declaration
attach_to?
optionalattach_to:CollectionSelectorProps["attachTo"]
close_on_settings?
optionalclose_on_settings:CollectionSelectorProps["closeOnSettings"]
hide_close?
optionalhide_close:CollectionSelectorProps["hideClose"]
initial_data?
optionalinitial_data:CollectionSelectorProps["initialData"]
initial_metadata_filters?
optionalinitial_metadata_filters:CollectionSelectorProps["initialMetadataFilters"]
open_settings?
optionalopen_settings:CollectionSelectorProps["openSettings"]
readonly_name?
optionalreadonly_name:CollectionSelectorProps["readonlyName"]
translations?
optionaltranslations:CollectionSelectorProps["translations"]
UiSelectCollectionPlayerResponse
UiSelectCollectionPlayerResponse:
object
Type declaration
content?
optionalcontent:CollectionPlayer
Selected content
user_action
user_action:
"cancelled"|"selected"|"settings"
User action result
UiSelectContentRequest
UiSelectContentRequest:
object
Type declaration
allowed_asset_content_types?
optionalallowed_asset_content_types:FileContentTypeEnum[]
allowed_content_types?
optionalallowed_content_types:FileContentTypeEnum[]
allowed_ids?
optionalallowed_ids:File["id"][]
allowed_original_extensions?
optionalallowed_original_extensions:string[]
Array of file extensions to scope out list of the results (optional). Only files with these extensions will be shown.
allowed_selector_types?
optionalallowed_selector_types:SelectorType[]
content_type?
optionalcontent_type:"file"|"slide"|"content"
disable_no_pptx_data?
optionaldisable_no_pptx_data:boolean
Disables files from selection which do not have pptx_data in metadata object (optional).
disable_no_sharable?
optionaldisable_no_sharable:boolean
Disables files from selection which are not sharable (optional).
initial_metadata_filters?
optionalinitial_metadata_filters:Record<string,any>
max_selections?
optionalmax_selections:number
min_selections?
optionalmin_selections:Range<0,999>
only_allow_content_pdf_pages?
optionalonly_allow_content_pdf_pages:boolean
Only allow content pdf pages (optional). User will be forced to select a page from the pdf.
selections?
optionalselections:Selection[]
Array of selections
UiSelectContentResponse
UiSelectContentResponse:
object
Type declaration
content?
optionalcontent: (SelectedFile|SelectedPage)[]
Selected content
user_action
user_action:
"cancelled"|"selected"
User action result
UiSetPostcallStyleRequest
UiSetPostcallStyleRequest:
object
UiUpdateCanvasRequest
UiUpdateCanvasRequest:
object
Type declaration
access_type
access_type:
undefined|AccessTypeEnum
account
account:
undefined|null|Account
content
content:
undefined|Record<string,any>
context
context:
any
created_at
created_at:
string
created_by
created_by:
MiniUser
events
events:
MiniEvent[]
expires_at
expires_at:
undefined|null|string
fields?
optionalfields:undefined|string
Comma-separated list of field keys to return from the server
folder_id
folder_id:
undefined|null|string
id
id:
string
indicators
indicators:
undefined|null|Record<string,any>
instance_id
instance_id:
string
is_block
is_block:
undefined|boolean
is_default
is_default:
undefined|boolean
is_draft
is_draft:
undefined|boolean
is_editable
is_editable:
undefined|boolean
is_section
is_section:
undefined|boolean
is_template
is_template:
undefined|boolean
metadata
metadata:
any
modified_at
modified_at:
string
modified_by
modified_by:
MiniUser
name
name:
string
owned_by
owned_by:
MiniUser
sections
sections:
CanvasSection[]
shared_link
shared_link:
MiniSharedLink
start_at
start_at:
undefined|null|string
tags
tags:
undefined|string[]
template
template:
MiniCanvas
theme
theme:
undefined|null|Record<string,any>
thumbnail_url
thumbnail_url:
undefined|null|string
UpdateLocationPitcherEvent
UpdateLocationPitcherEvent:
UpdateLocationOnUnregister|UpdateLocationOnRestore|UpdateLocationOnUpdate|UpdateLocationOnRegister|UpdateLocationOnRestoreCompleted|UpdateLocationOnMounted|UpdateLocationOnGetRoutesRequest|UpdateLocationOnGetRoutesResponse
Union type for all update location pitcher events.
Variables
ADMIN_API_METHOD_TYPES
constADMIN_API_METHOD_TYPES:object
Type declaration
CAPTURE_APP_ERROR
readonlyCAPTURE_APP_ERROR:"admin_capture_app_error"='admin_capture_app_error'
CLOSE
readonlyCLOSE:"admin_close_file_overlay"='admin_close_file_overlay'
CREATE_CANVAS
readonlyCREATE_CANVAS:"admin_create_canvas"='admin_create_canvas'
GET_APP_CONFIG
readonlyGET_APP_CONFIG:"admin_get_app_config"='admin_get_app_config'
GET_CANVAS
readonlyGET_CANVAS:"admin_get_canvas"='admin_get_canvas'
GET_CANVASES
readonlyGET_CANVASES:"admin_get_canvases"='admin_get_canvases'
GET_ENV
readonlyGET_ENV:"admin_get_env"='admin_get_env'
GET_FILE
readonlyGET_FILE:"admin_get_file"='admin_get_file'
GET_FILES
readonlyGET_FILES:"admin_get_files"='admin_get_files'
GET_INSTANCE_METADATA_TEMPLATES
readonlyGET_INSTANCE_METADATA_TEMPLATES:"admin_get_instance_metadata_templates"='admin_get_instance_metadata_templates'
GET_USERS
readonlyGET_USERS:"admin_get_users"='admin_get_users'
OPEN
readonlyOPEN:"admin_open_file_overlay"='admin_open_file_overlay'
OPEN_CANVAS_OVERLAY
readonlyOPEN_CANVAS_OVERLAY:"admin_open_canvas_overlay"='admin_open_canvas_overlay'
OPEN_COLLECTION_PLAYER_OVERLAY
readonlyOPEN_COLLECTION_PLAYER_OVERLAY:"admin_open_collection_player_overlay"='admin_open_collection_player_overlay'
SELECT_AGENDA_CONTENT
readonlySELECT_AGENDA_CONTENT:"admin_select_agenda_content"='admin_select_agenda_content'
SELECT_CANVASES
readonlySELECT_CANVASES:"admin_select_canvases"='admin_select_canvases'
SELECT_COLLECTION_PLAYER_CONTENT
readonlySELECT_COLLECTION_PLAYER_CONTENT:"admin_select_collection_player_content"='admin_select_collection_player_content'
SELECT_CONTENT
readonlySELECT_CONTENT:"admin_select_content"='admin_select_content'
TOAST
readonlyTOAST:"admin_toast"='admin_toast'
UPDATE_CANVAS
readonlyUPDATE_CANVAS:"admin_update_canvas"='admin_update_canvas'
ADMIN_API_TYPES
constADMIN_API_TYPES:object
Type declaration
ADMIN_REQUEST
readonlyADMIN_REQUEST:"ADMIN_REQUEST"='ADMIN_REQUEST'
ADMIN_RESPONSE
readonlyADMIN_RESPONSE:"ADMIN_RESPONSE"='ADMIN_RESPONSE'
ADMIN_MESSAGE
constADMIN_MESSAGE:"ADMIN_MESSAGE"
ADMIN_MESSAGE_TYPES
constADMIN_MESSAGE_TYPES:object
Type declaration
ENV_CHANGED
readonlyENV_CHANGED:"admin_env_changed"='admin_env_changed'
DEFAULT_PEER_CONNECTIVITY_VERSION
constDEFAULT_PEER_CONNECTIVITY_VERSION:1=1
DSR_API_METHOD_TYPES
constDSR_API_METHOD_TYPES:object
Type declaration
CLOSE
readonlyCLOSE:"dsr_close"='dsr_close'
DSR_EMBEDDABLE_READY
readonlyDSR_EMBEDDABLE_READY:"dsr_embeddable_ready"='dsr_embeddable_ready'
GET_APP_CONFIG
readonlyGET_APP_CONFIG:"dsr_get_app_config"='dsr_get_app_config'
GET_ENV
readonlyGET_ENV:"dsr_get_env"='dsr_get_env'
GET_FILE
readonlyGET_FILE:"dsr_get_file"='dsr_get_file'
DSR_API_TYPES
constDSR_API_TYPES:object
Type declaration
DSR_REQUEST
readonlyDSR_REQUEST:"DSR_REQUEST"='DSR_REQUEST'
DSR_RESPONSE
readonlyDSR_RESPONSE:"DSR_RESPONSE"='DSR_RESPONSE'
DSR_MESSAGE
constDSR_MESSAGE:"DSR_MESSAGE"
DSR_MESSAGE_TYPES
constDSR_MESSAGE_TYPES:object
Type declaration
ENV_CHANGED
readonlyENV_CHANGED:"dsr_env_changed"='dsr_env_changed'
highLevelApi
highLevelApi:
ReturnType<typeofcreateHighLevelApi>
PEER_CONNECTIVITY_EVENT
constPEER_CONNECTIVITY_EVENT:"peer_connectivity_event"='peer_connectivity_event'
PEER_CONNECTIVITY_HANDLER_MATCH_ALL
constPEER_CONNECTIVITY_HANDLER_MATCH_ALL:"*"='*'
PeerConnectivityActions
constPeerConnectivityActions:object
Type declaration
BROWSER_FOLDER_OPEN
readonlyBROWSER_FOLDER_OPEN:"browser.folder.open"='browser.folder.open'
CANVAS_CLOSE
readonlyCANVAS_CLOSE:"canvas.close"='canvas.close'
CANVAS_OPEN
readonlyCANVAS_OPEN:"canvas.open"='canvas.open'
CANVAS_PAGE_NEXT
readonlyCANVAS_PAGE_NEXT:"canvas.navigate.next"='canvas.navigate.next'
CANVAS_PAGE_PREVIOUS
readonlyCANVAS_PAGE_PREVIOUS:"canvas.navigate.previous"='canvas.navigate.previous'
FILE_CLOSE
readonlyFILE_CLOSE:"file.close"='file.close'
FILE_OPEN
readonlyFILE_OPEN:"file.open"='file.open'
ROUTE_CHANGE
readonlyROUTE_CHANGE:"route.change"='route.change'
PITCHER_EVENT
constPITCHER_EVENT:"PITCHER_EVENT"
UI_API_METHOD_TYPES
constUI_API_METHOD_TYPES:object
Type declaration
UI_APP_LOADED
readonlyUI_APP_LOADED:"ui_app_loaded"='ui_app_loaded'
UI_APP_RESIZE
readonlyUI_APP_RESIZE:"ui_app_resize"='ui_app_resize'
UI_BROADCAST
readonlyUI_BROADCAST:"ui_broadcast"='ui_broadcast'
UI_CANCEL_MEETING
readonlyUI_CANCEL_MEETING:"ui_cancel_meeting"='ui_cancel_meeting'
UI_CANVAS_NAVIGATE_NEXT_PAGE
readonlyUI_CANVAS_NAVIGATE_NEXT_PAGE:"ui_canvas_navigate_next_page"='ui_canvas_navigate_next_page'
UI_CANVAS_NAVIGATE_PAGE
readonlyUI_CANVAS_NAVIGATE_PAGE:"ui_canvas_navigate_page"='ui_canvas_navigate_page'
UI_CANVAS_NAVIGATE_PREVIOUS_PAGE
readonlyUI_CANVAS_NAVIGATE_PREVIOUS_PAGE:"ui_canvas_navigate_previous_page"='ui_canvas_navigate_previous_page'
UI_CAPTURE_APP_ERROR
readonlyUI_CAPTURE_APP_ERROR:"ui_capture_app_error"='ui_capture_app_error'
UI_CLOSE_CANVAS_DRAWER
readonlyUI_CLOSE_CANVAS_DRAWER:"ui_close_canvas_drawer"='ui_close_canvas_drawer'
UI_CLOSE_CANVAS_SECTION_EXECUTION
readonlyUI_CLOSE_CANVAS_SECTION_EXECUTION:"ui_close_canvas_section_execution"='ui_close_canvas_section_execution'
UI_COMPLETE_POSTCALL
readonlyUI_COMPLETE_POSTCALL:"ui_complete_postcall"='ui_complete_postcall'
UI_DISABLE_POSTCALL_SUBMIT
readonlyUI_DISABLE_POSTCALL_SUBMIT:"ui_disable_postcall_submit"='ui_disable_postcall_submit'
UI_EMBEDDABLE_READY
readonlyUI_EMBEDDABLE_READY:"ui_embeddable_ready"='ui_embeddable_ready'
UI_ENABLE_POSTCALL_SUBMIT
readonlyUI_ENABLE_POSTCALL_SUBMIT:"ui_enable_postcall_submit"='ui_enable_postcall_submit'
UI_OPEN
readonlyUI_OPEN:"ui_open"='ui_open'
UI_OPEN_CANVAS_OVERLAY
readonlyUI_OPEN_CANVAS_OVERLAY:"ui_open_canvas_overlay"='ui_open_canvas_overlay'
UI_OPEN_COLLECTION_PLAYER_OVERLAY
readonlyUI_OPEN_COLLECTION_PLAYER_OVERLAY:"ui_open_collection_player_overlay"='ui_open_collection_player_overlay'
UI_PRESELECT_SFDC_MEETING_ID
readonlyUI_PRESELECT_SFDC_MEETING_ID:"ui_preselect_sfdc_meeting_id"='ui_preselect_sfdc_meeting_id'
UI_PRINT_CANVAS
readonlyUI_PRINT_CANVAS:"ui_print_canvas"='ui_print_canvas'
UI_PROMPT_PIA
readonlyUI_PROMPT_PIA:"ui_prompt_pia"='ui_prompt_pia'
UI_RESUME_MEETING
readonlyUI_RESUME_MEETING:"ui_resume_meeting"='ui_resume_meeting'
UI_SELECT_AGENDA_CONTENT
readonlyUI_SELECT_AGENDA_CONTENT:"ui_select_agenda_content"='ui_select_agenda_content'
UI_SELECT_CANVASES
readonlyUI_SELECT_CANVASES:"ui_select_canvases"='ui_select_canvases'
UI_SELECT_COLLECTION_PLAYER_CONTENT
readonlyUI_SELECT_COLLECTION_PLAYER_CONTENT:"ui_select_collection_player_content"='ui_select_collection_player_content'
UI_SELECT_CONTENT
readonlyUI_SELECT_CONTENT:"ui_select_content"='ui_select_content'
UI_SET_POSTCALL_STYLE
readonlyUI_SET_POSTCALL_STYLE:"ui_set_postcall_style"='ui_set_postcall_style'
UI_STOP_MEETING
readonlyUI_STOP_MEETING:"ui_stop_meeting"='ui_stop_meeting'
UI_TOAST
readonlyUI_TOAST:"ui_toast"='ui_toast'
UI_UPDATE_CANVAS
readonlyUI_UPDATE_CANVAS:"ui_update_canvas"='ui_update_canvas'
UI_UPDATE_LOCATION
readonlyUI_UPDATE_LOCATION:"ui_update_location"='ui_update_location'
UI_MESSAGE
constUI_MESSAGE:"UI_MESSAGE"
UI_MESSAGE_TYPES
constUI_MESSAGE_TYPES:object
Type declaration
UI_APP_SET_DATA
readonlyUI_APP_SET_DATA:"ui_app_set_data"='ui_app_set_data'
UI_APP_UPDATE_DATA
readonlyUI_APP_UPDATE_DATA:"ui_app_update_data"='ui_app_update_data'
UI_CANVAS_UPDATED
readonlyUI_CANVAS_UPDATED:"ui_canvas_updated"='ui_canvas_updated'
UI_MEETING_CANCELED
readonlyUI_MEETING_CANCELED:"ui_meeting_canceled"='ui_meeting_canceled'
UI_PROMPT_PIA_RESPONSE_STREAMED
readonlyUI_PROMPT_PIA_RESPONSE_STREAMED:"ui_prompt_pia_response_streamed"='ui_prompt_pia_response_streamed'
UI_SECTION_LIST_UPDATED
readonlyUI_SECTION_LIST_UPDATED:"ui_section_list_updated"='ui_section_list_updated'
UI_NATIVE_MESSAGE_TYPES
constUI_NATIVE_MESSAGE_TYPES: readonly ["ui_app_set_data","ui_app_update_data","ui_canvas_updated"]
Functions
| Function | Description |
|---|---|
| getAvailableApis | - |
| registerPeerConnectivityHandler | - |
| sendPeerConnectivityEvent | - |
| useAdmin | API methods available in the CatalogIQ Admin. |
| useApi | This method returns an object containing the API methods that are available to you in a given environment, whether that be the Canvas, UI, Admin or DSR. |
| useDsr | API methods available in the CatalogIQ default UI. |
| usePitcherApi | Check out the returned object documentation for the list of available methods. |
| useUi | API methods available in the CatalogIQ default UI. |
