diff --git a/README.md b/README.md index 6fc4412..826f2a4 100644 --- a/README.md +++ b/README.md @@ -57,10 +57,9 @@ async function configureApp() { } ``` - The cloud SDK is designed to provide on-demand patch updates, and it does not support exact versions. You will always get the latest patch version within the major version specified in the version parameter of `zoomSdk.config`. In other words, if you supplied an exact version like `0.16.1`, you will get the latest patch within the `0.16` major version. -`zoomSdk.config` response object. Read more about [zoomSdk.config](https://marketplace.zoom.us/docs/zoom-apps/js-sdk/reference/) +`zoomSdk.config` response object. Read more about [zoomSdk.config](https://appssdk.zoom.us/classes/ZoomSdk.ZoomSdk.html#config) ``` { @@ -85,6 +84,7 @@ The cloud SDK is designed to provide on-demand patch updates, and it does not su - The SDK module installed via npm includes the `sdk.d.ts` file which provides type definitions for `sdk.es.js` and `sdk.module.js`. The cloud-based SDK does not provide this file. ### How do compatibility patches work? + This is an example of how compatibility patches delivered via cloud-based SDK help your app run on the latest client versions. **Note**: This example is only for illustrating the concept, and does not imply Zoom is planning to change the `sendAppInvitation` API schema. @@ -99,9 +99,9 @@ sendAppInvitation ({ participantUUIDs: [participantUUID1, participantUUID2, ...] ``` Client version 4.0.0 introduces a breaking change to the `sendAppInvitation` API that requires one additional parameter `message` to customize your invitation. The new API schema is - - ``` - sendAppInvitation ({ participantUUIDs: [participantUUID1, participantUUID2, ...], message: "This app is awesome, try it!"}) + +``` +sendAppInvitation ({ participantUUIDs: [participantUUID1, participantUUID2, ...], message: "This app is awesome, try it!"}) ``` Apps based on the client version 3.4.0 will break when used on the 4.0.0 client because the client is expecting the `message` parameter as part of the API call. Whereas, when you use the cloud-based SDK, the compatibility patch can accept your API request and transform it internally to use a default value for the `message` parameter. @@ -120,7 +120,7 @@ sendAppInvitation ({ participantUUIDs: [participantUUID1, participantUUID2, ...] ## Documentation -Refer to Apps SDK documentation [here](https://marketplace.zoom.us/docs/zoom-apps/js-sdk/reference). +Refer to Apps SDK documentation [here](https://appssdk.zoom.us/classes/ZoomSdk.ZoomSdk.html). ## Release notes @@ -128,15 +128,14 @@ Refer to [release notes](https://github.com/zoom/appssdk/releases) to discover c ## Resources to create a Zoom App -- Create your first Zoom App following these [steps](https://marketplace.zoom.us/docs/zoom-apps/getstarted). -- To help you start developing Zoom Apps we also provide sample reference [apps](https://marketplace.zoom.us/docs/zoom-apps/referenceapp#quick-start-reference-apps). +- Create your first Zoom App following these [steps](https://developers.zoom.us/docs/zoom-apps/create/). +- To help you start developing Zoom Apps we also provide sample reference [apps](https://developers.zoom.us/docs/zoom-apps/reference-apps/). - Watch [How To Create a Zoom App](https://www.youtube.com/watch?v=otlyDxnU-RI) and [How To Configure the Basic Zoom App](https://www.youtube.com/watch?v=SS87nqO9ScQ). -- Discover more learning [resources](https://marketplace.zoom.us/docs/zoom-apps/introduction) for Zoom Apps Development. +- Discover more learning [resources](https://developers.zoom.us/docs/zoom-apps/) for Zoom Apps Development. - Zoom Apps SDK on [npm](https://www.npmjs.com/package/@zoom/appssdk). ## Need help? -- If you are looking for help, try [Developer Support](https://devsupport.zoom.us/hc/en-us) or our [Developer Forum](https://devforum.zoom.us/). +- If you are looking for help, try [Developer Support](https://devsupport.zoom.us/hc/en-us) or our [Developer Forum](https://devforum.zoom.us/). - For questions related to Zoom Apps please direct them to [Zoom Apps](https://devforum.zoom.us/c/zoom-apps/39) category in the forum. - Priority support is also available with [Premier Developer Support](https://explore.zoom.us/docs/en-us/developer-support-plans.html) plans. - diff --git a/dist/sdk.d.ts b/dist/sdk.d.ts index e2acc0a..5b19d14 100644 --- a/dist/sdk.d.ts +++ b/dist/sdk.d.ts @@ -937,7 +937,7 @@ declare type GetMeetingContextResponse = { * All the available JS APIs and events * @category Core * */ -declare type Apis = 'addBreakoutRoom' | 'allowParticipantToRecord' | 'assignParticipantsToBreakoutRoom' | 'assignParticipantToBreakoutRoom' | 'authorize' | 'changeBreakoutRoom' | 'clearImage' | 'clearParticipant' | 'clearWebView' | 'closeBreakoutRooms' | 'closeChannel' | 'closeLobby' | 'closeRenderingContext' | 'cloudRecording' | 'configureBreakoutRooms' | 'connect' | 'createBreakoutRooms' | 'deleteBreakoutRoom' | 'drawImage' | 'drawParticipant' | 'drawWebView' | 'endCollaborate' | 'endSyncData' | 'executeOnZoomAction' | 'expandApp' | 'getBreakoutRoomList' | 'getImmersiveViewContext' | 'getMeetingContext' | 'getMeetingJoinUrl' | 'getMeetingParticipants' | 'getMeetingUUID' | 'getOnZoomProperties' | 'getPairingStatus' | 'getRecordingContext' | 'getRunningContext' | 'getScreenshot' | 'getSupportedJsApis' | 'getUserContext' | 'getUserMediaAudio' | 'getUserMediaVideo' | 'joinCollaborate' | 'joinOnZoomEvent' | 'joinZoomRoom' | 'launchAppInMeeting' | 'leaveCollaborate' | 'listCameras' | 'onActiveSpeakerChange' | 'onAppPopout' | 'onAuthenticate' | 'onAuthorized' | 'onShareScreen' | 'onShareComputerAudio' | 'onBreakoutRoomChange' | 'onCloseAppForParticipants' | 'onCloudRecording' | 'onCollaborateChange' | 'onConnect' | 'onExpandApp' | 'onExtendedProcessing' | 'onFeedbackReaction' | 'onImmersiveViewChange' | 'onMeeting' | 'onMeetingConfigChanged' | 'onMessage' | 'onMyActiveSpeakerChange' | 'onMyMediaChange' | 'onMyReaction' | 'onMyUserContextChange' | 'onOnZoomJoinStatusChange' | 'onPairingStatusChange' | 'onParticipantChange' | 'onReaction' | 'onRemoveFeedbackReaction' | 'onRunningContextChange' | 'onSendAppInvitation' | 'onShareApp' | 'openBreakoutRooms' | 'openChannel' | 'openDM' | 'openUrl' | 'postMessage' | 'promptAuthorize' | 'pushState' | 'removeImmersiveView' | 'removeVirtualBackground' | 'removeVirtualForeground' | 'renameBreakoutRoom' | 'runRenderingContext' | 'sendAppInvitation' | 'sendAppInvitationToAllParticipants' | 'sendAppInvitationToMeetingOwner' | 'setCamera' | 'setImmersiveView' | 'setUserMediaAudio' | 'setUserMediaVideo' | 'setVideoMirrorEffect' | 'setVirtualBackground' | 'setVirtualForeground' | 'shareApp' | 'shareComputerAudio' | 'showAppInvitationDialog' | 'showNotification' | 'startCollaborate' | 'toggleParticipantMediaAudio' | 'onInviteCollaboration' | 'getAppContext' | 'getAudioState' | 'setAudioState' | 'getVideoState' | 'setVideoState' | 'addParticipantSpotlight' | 'removeParticipantSpotlights' | 'getParticipantSpotlights' | 'addParticipantPins' | 'removeParticipantPins' | 'setFeedbackReaction' | 'removeFeedbackReaction' | 'removeAllFeedbackReaction' | 'allowAttendeesToSpeak' | 'disallowAttendeesToSpeak' | 'removeWebinarAttendees' | 'setAudioSettings' | 'getAudioSettings' | 'getIncomingParticipantAudioState' | 'setIncomingParticipantAudioState' | 'onIncomingParticipantAudioChange' | 'setVideoSettings' | 'getVideoSettings' | 'promptShareScreen' | 'showMeetingInvitationDialog' | 'onGalleryPageChange' | 'setGalleryPage' | 'getGalleryPage' | 'getChatContext' | 'composeCard'; +declare type Apis = 'addBreakoutRoom' | 'allowParticipantToRecord' | 'assignParticipantsToBreakoutRoom' | 'assignParticipantToBreakoutRoom' | 'authorize' | 'changeBreakoutRoom' | 'clearImage' | 'clearParticipant' | 'clearWebView' | 'closeBreakoutRooms' | 'closeChannel' | 'closeLobby' | 'closeRenderingContext' | 'cloudRecording' | 'configureBreakoutRooms' | 'connect' | 'createBreakoutRooms' | 'deleteBreakoutRoom' | 'drawImage' | 'drawParticipant' | 'drawWebView' | 'endCollaborate' | 'endSyncData' | 'executeOnZoomAction' | 'expandApp' | 'getBreakoutRoomList' | 'getImmersiveViewContext' | 'getMeetingContext' | 'getMeetingJoinUrl' | 'getMeetingParticipants' | 'getMeetingUUID' | 'getOnZoomProperties' | 'getPairingStatus' | 'getRecordingContext' | 'getRunningContext' | 'getScreenshot' | 'getSupportedJsApis' | 'getUserContext' | 'getUserMediaAudio' | 'getUserMediaVideo' | 'joinCollaborate' | 'joinOnZoomEvent' | 'joinZoomRoom' | 'launchAppInMeeting' | 'leaveCollaborate' | 'listCameras' | 'onActiveSpeakerChange' | 'onAppPopout' | 'onAuthenticate' | 'onAuthorized' | 'onShareScreen' | 'onShareComputerAudio' | 'onBreakoutRoomChange' | 'onCloseAppForParticipants' | 'onCloudRecording' | 'onCollaborateChange' | 'onConnect' | 'onExpandApp' | 'onExtendedProcessing' | 'onFeedbackReaction' | 'onImmersiveViewChange' | 'onMeeting' | 'onMeetingConfigChanged' | 'onMessage' | 'onMyActiveSpeakerChange' | 'onMyMediaChange' | 'onMyReaction' | 'onMyUserContextChange' | 'onOnZoomJoinStatusChange' | 'onPairingStatusChange' | 'onParticipantChange' | 'onReaction' | 'onRemoveFeedbackReaction' | 'onRunningContextChange' | 'onSendAppInvitation' | 'onShareApp' | 'openBreakoutRooms' | 'openChannel' | 'openDM' | 'openUrl' | 'postMessage' | 'promptAuthorize' | 'pushState' | 'removeImmersiveView' | 'removeVirtualBackground' | 'removeVirtualForeground' | 'renameBreakoutRoom' | 'runRenderingContext' | 'sendAppInvitation' | 'sendAppInvitationToAllParticipants' | 'sendAppInvitationToMeetingOwner' | 'setCamera' | 'setImmersiveView' | 'setUserMediaAudio' | 'setUserMediaVideo' | 'setVideoMirrorEffect' | 'setVirtualBackground' | 'setVirtualForeground' | 'shareApp' | 'shareComputerAudio' | 'showAppInvitationDialog' | 'showNotification' | 'startCollaborate' | 'toggleParticipantMediaAudio' | 'onInviteCollaboration' | 'getAppContext' | 'getAudioState' | 'setAudioState' | 'getVideoState' | 'setVideoState' | 'addParticipantSpotlight' | 'removeParticipantSpotlights' | 'getParticipantSpotlights' | 'addParticipantPins' | 'removeParticipantPins' | 'setFeedbackReaction' | 'removeFeedbackReaction' | 'removeAllFeedbackReaction' | 'allowAttendeesToSpeak' | 'disallowAttendeesToSpeak' | 'removeWebinarAttendees' | 'setAudioSettings' | 'getAudioSettings' | 'getIncomingParticipantAudioState' | 'setIncomingParticipantAudioState' | 'onIncomingParticipantAudioChange' | 'setVideoSettings' | 'getVideoSettings' | 'promptShareScreen' | 'showMeetingInvitationDialog' | 'onGalleryPageChange' | 'setGalleryPage' | 'getGalleryPage' | 'getChatContext' | 'composeCard' | 'broadcastVoiceToBreakoutRooms' | 'stopShareScreen'; /** * Example: * ``` @@ -1994,6 +1994,12 @@ declare type ComposeCardOptions = { description: string; }; }; +/** + * @category Breakout Rooms + */ +declare type BroadcastVoiceToBreakoutRoomsOptions = { + action: 'start' | 'stop'; +}; /** * # Zoom Apps SDK @@ -2057,7 +2063,7 @@ declare type ComposeCardOptions = { * * The cloud SDK is designed to provide on-demand patch updates, and it does not support exact versions. You will always get the latest patch version within the major version specified in the version parameter of `zoomSdk.config`. In other words, if you supplied an exact version like `0.16.1`, you will get the latest patch within the `0.16` major version. * - * `zoomSdk.config` response object. Read more about [zoomSdk.config](https://marketplace.zoom.us/docs/zoom-apps/js-sdk/reference/) + * `zoomSdk.config` response object. Read more about [zoomSdk.config](https://appssdk.zoom.us/classes/ZoomSdk.ZoomSdk.html#config) * * ``` * { @@ -2123,10 +2129,10 @@ declare type ComposeCardOptions = { * * ## Resources to create a Zoom App * - * - Create your first Zoom App following these [steps](https://marketplace.zoom.us/docs/zoom-apps/getstarted). - * - To help you start developing Zoom Apps we also provide sample reference [apps](https://marketplace.zoom.us/docs/zoom-apps/referenceapp#quick-start-reference-apps). + * - Create your first Zoom App following these [steps](https://developers.zoom.us/docs/zoom-apps/create/). + * - To help you start developing Zoom Apps we also provide sample reference [apps](https://developers.zoom.us/docs/zoom-apps/reference-apps/). * - Watch [How To Create a Zoom App](https://www.youtube.com/watch?v=otlyDxnU-RI) and [How To Configure the Basic Zoom App](https://www.youtube.com/watch?v=SS87nqO9ScQ). - * - Discover more learning [resources](https://marketplace.zoom.us/docs/zoom-apps/introduction) for Zoom Apps Development. + * - Discover more learning [resources](https://developers.zoom.us/docs/zoom-apps/) for Zoom Apps Development. * - Zoom Apps SDK on [npm](https://www.npmjs.com/package/@zoom/appssdk). * * ## Need help? @@ -3044,7 +3050,7 @@ declare class ZoomSdk { onExpandApp(handler: GenericEventHandler): void; /** * @zoomClientVersion 5.6.7 - * In order to maintain state after a meeting, the instance of the app that is running in the meeting must communicate with the instance of the app running in the main client. The following events facilitate that process. For more information, see [an example of this process](https://marketplace.zoom.us/docs/beta-docs/zoom-apps/guides/maintaining-state/). + * In order to maintain state after a meeting, the instance of the app that is running in the meeting must communicate with the instance of the app running in the main client. The following events facilitate that process. * * Notify the event listener when the API call `connect` has finished attempting to connect to the app instance running in the main client. This event can only be received in meeting. * @@ -3057,7 +3063,7 @@ declare class ZoomSdk { onConnect(handler: GenericEventHandler): void; /** * @zoomClientVersion 5.6.7 - * In order to maintain state after a meeting, the instance of the app that is running in the meeting must communicate with the instance of the app running in the main client. The following events facilitate that process. For more information, see [an example of this process](https://marketplace.zoom.us/docs/beta-docs/zoom-apps/guides/maintaining-state/). + * In order to maintain state after a meeting, the instance of the app that is running in the meeting must communicate with the instance of the app running in the main client. The following events facilitate that process. * * Receive a sent message from the mirrored app. The structure of the payload depends on the needs of the app. * @@ -3070,7 +3076,7 @@ declare class ZoomSdk { onMessage(handler: GenericEventHandler): void; /** * @zoomClientVersion 5.6.7 - * In order to maintain state after a meeting, the instance of the app that is running in the meeting must communicate with the instance of the app running in the main client. The following events facilitate that process. For more information, see [an example of this process](https://marketplace.zoom.us/docs/beta-docs/zoom-apps/guides/maintaining-state/). + * In order to maintain state after a meeting, the instance of the app that is running in the meeting must communicate with the instance of the app running in the main client. The following events facilitate that process. * * Meeting is closed, then notify the mirrored app and update state one more time. * @@ -3703,7 +3709,7 @@ declare class ZoomSdk { * @zoomClientVersion 5.11.3 * * This API returns app context token that contains signed app context data for secure backend validation. - * See https://marketplace.zoom.us/docs/zoom-apps/zoomappcontext for more details. + * See https://developers.zoom.us/docs/zoom-apps/zoom-app-context/ for more details. * * *Running context*: all * @@ -3987,7 +3993,6 @@ declare class ZoomSdk { * ``` * @category Chat * - * @experimental */ getChatContext(): Promise; /** @@ -4016,7 +4021,6 @@ declare class ZoomSdk { * * @category Chat * - * @experimental */ composeCard(options: ComposeCardOptions): Promise; /** @@ -4215,8 +4219,40 @@ declare class ZoomSdk { * @category Meeting Views */ getGalleryPage(): Promise; + /** + * @zoomClientVersion 5.14.0 + * + * Starts or stops broadcasting voice to breakout rooms. Voice will be broadcasted to all rooms until it is stopped. + * + * *Running context*: inMeeting, inWebinar + * + * *Supported roles*: Host, Co-Host + * + * *Supports Guest Mode*: Yes + * + * *Product*: desktop + * + * @category Breakout Rooms + */ + broadcastVoiceToBreakoutRooms(options: BroadcastVoiceToBreakoutRoomsOptions): Promise; + /** + * @zoomClientVersion 5.14.0 + * + * Stops an ongoing share screen. + * + * *Running context*: inMeeting, inWebinar, inCamera + * + * *Supported roles*: Host, Co-Host, Participant, Panelist, Attendee + * + * *Supports Guest Mode*: Yes + * + * *Product*: desktop + * + * @category Sharing + */ + stopShareScreen(): Promise; } declare const _default: ZoomSdk; -export { AddBreakoutRoomOptions, AddParticipantSpotlightOptions, AllowParticipantToRecordOptions, Apis, AppInvitationResponse, AssignParticipantToBreakoutRoomOptions, AttendeeSpeakingOptions, AudioMedia, AuthObject, AuthorizeOptions, BreakOutRoomParticipant, BreakoutRoomAssignmentMethods, BreakoutRoomsCreated, BreakoutRoomsParticipantsAssigned, BreakoutRoomsParticipantsJoined, BreakoutRoomsParticipantsLeft, BreakoutRoomsResponse, BreakoutRoomsUpdated, ChangeBreakoutRoomOptions, ClearImageOptions, ClearParticipantOptions, ClearWebViewOptions, CloudRecordingOptions, ComposeCardOptions, ConfigOptions, ConfigResponse, ConfigSize, ConfigureBreakoutRoomsOptions, ConfigureBreakoutRoomsResponse, CreateBreakoutRoomsOptions, DecryptedAppContextResponse, DrawImageOptions, DrawImageResponse, DrawParticipantOptions, DrawWebViewOptions, ExpandAppOptions, FeedbackReactionOptions, FeedbackReactions, GeneralMessage, GeneralMessageResponse, GenericEventHandler, GetAppContextResponse, GetAudioSettingsResponse, GetAudioStateResponse, GetChatContextResponse, GetGalleryPageResponse, GetIncomingParticipantAudioStateOptions, GetIncomingParticipantAudioStateResponse, GetMeetingContextResponse, GetMeetingJoinUrlResponse, GetMeetingParticipantsResponse, GetMeetingUUIDResponse, GetParticipantSpotlightsResponse, GetRecordingContextResponse, GetSupportedJsApisResponse, GetUserContextResponse, GetVideoSettingsResponse, GetVideoStateResponse, JSONObject, JSONValue, LaunchAppInMeetingOptions, ListCamerasResponse, NativeApiRequest, NativeApiRequestData, NativeApiResponseData, NativeConfigOptions, NativeMessage, NativeMessageData, NotificationOptions$1 as NotificationOptions, OnActiveSpeakerChangeEvent, OnActiveSpeakerChangeUserType, OnAppPopoutEvent, OnAuthorizedEvent, OnBreakoutRoomChangeEvent, OnCloudRecordingEvent, OnCollaborateChangeEvent, OnConnectEvent, OnExpandAppEvent, OnFeedbackReactionEvent, OnGalleryPageChangeEvent, OnIncomingParticipantAudioChangeEvent, OnMeetingEvent, OnMessageEvent, OnMyActiveSpeakerChangeEvent, OnMyMediaChangeEvent, OnMyReactionEvent, OnMyUserContextChangeEvent, OnParticipantChangeEvent, OnParticipantChangeParticipantType, OnReactionEvent, OnRemoveFeedbackReactionEvent, OnRenderedAppOpenedEvent, OnRunningContextChangeEvent, OnSendAppInvitationEvent, OnShareAppEvent, OnShareComputerAudioEvent, OnShareScreenEvent, OpenUrlOptions, Participant, ParticipantCutoutShape, ParticipantPinOptions, PixelValue, PromptShareScreenOptions, RemoveParticipantSpotlightsOptions, RemoveWebinarAttendeeOptions, RenameBreakoutRoomOptions, RenderingContextView, RunRenderingContextOptions, RunningContext, RunningContextResponse, SdkOptions, SdkVersion, SendAppInvitationOptions, SetAudioSettingsOptions, SetAudioStateOptions, SetCameraOptions, SetGalleryPageOptions, SetIncomingParticipantAudioStateOptions, SetVideoMirrorEffectOptions, SetVideoSettingsOptions, SetVideoStateOptions, ShareAppOptions, ShareComputerAudioOptions, StartCollaborateOptions, ToggleParticipantMediaAudioOptions, Uuid, VideoMedia, VirtualBackgroundOptions, VirtualForegroundOptions, _default as default, onMeetingConfigChangedEvent }; +export { AddBreakoutRoomOptions, AddParticipantSpotlightOptions, AllowParticipantToRecordOptions, Apis, AppInvitationResponse, AssignParticipantToBreakoutRoomOptions, AttendeeSpeakingOptions, AudioMedia, AuthObject, AuthorizeOptions, BreakOutRoomParticipant, BreakoutRoomAssignmentMethods, BreakoutRoomsCreated, BreakoutRoomsParticipantsAssigned, BreakoutRoomsParticipantsJoined, BreakoutRoomsParticipantsLeft, BreakoutRoomsResponse, BreakoutRoomsUpdated, BroadcastVoiceToBreakoutRoomsOptions, ChangeBreakoutRoomOptions, ClearImageOptions, ClearParticipantOptions, ClearWebViewOptions, CloudRecordingOptions, ComposeCardOptions, ConfigOptions, ConfigResponse, ConfigSize, ConfigureBreakoutRoomsOptions, ConfigureBreakoutRoomsResponse, CreateBreakoutRoomsOptions, DecryptedAppContextResponse, DrawImageOptions, DrawImageResponse, DrawParticipantOptions, DrawWebViewOptions, ExpandAppOptions, FeedbackReactionOptions, FeedbackReactions, GeneralMessage, GeneralMessageResponse, GenericEventHandler, GetAppContextResponse, GetAudioSettingsResponse, GetAudioStateResponse, GetChatContextResponse, GetGalleryPageResponse, GetIncomingParticipantAudioStateOptions, GetIncomingParticipantAudioStateResponse, GetMeetingContextResponse, GetMeetingJoinUrlResponse, GetMeetingParticipantsResponse, GetMeetingUUIDResponse, GetParticipantSpotlightsResponse, GetRecordingContextResponse, GetSupportedJsApisResponse, GetUserContextResponse, GetVideoSettingsResponse, GetVideoStateResponse, JSONObject, JSONValue, LaunchAppInMeetingOptions, ListCamerasResponse, NativeApiRequest, NativeApiRequestData, NativeApiResponseData, NativeConfigOptions, NativeMessage, NativeMessageData, NotificationOptions$1 as NotificationOptions, OnActiveSpeakerChangeEvent, OnActiveSpeakerChangeUserType, OnAppPopoutEvent, OnAuthorizedEvent, OnBreakoutRoomChangeEvent, OnCloudRecordingEvent, OnCollaborateChangeEvent, OnConnectEvent, OnExpandAppEvent, OnFeedbackReactionEvent, OnGalleryPageChangeEvent, OnIncomingParticipantAudioChangeEvent, OnMeetingEvent, OnMessageEvent, OnMyActiveSpeakerChangeEvent, OnMyMediaChangeEvent, OnMyReactionEvent, OnMyUserContextChangeEvent, OnParticipantChangeEvent, OnParticipantChangeParticipantType, OnReactionEvent, OnRemoveFeedbackReactionEvent, OnRenderedAppOpenedEvent, OnRunningContextChangeEvent, OnSendAppInvitationEvent, OnShareAppEvent, OnShareComputerAudioEvent, OnShareScreenEvent, OpenUrlOptions, Participant, ParticipantCutoutShape, ParticipantPinOptions, PixelValue, PromptShareScreenOptions, RemoveParticipantSpotlightsOptions, RemoveWebinarAttendeeOptions, RenameBreakoutRoomOptions, RenderingContextView, RunRenderingContextOptions, RunningContext, RunningContextResponse, SdkOptions, SdkVersion, SendAppInvitationOptions, SetAudioSettingsOptions, SetAudioStateOptions, SetCameraOptions, SetGalleryPageOptions, SetIncomingParticipantAudioStateOptions, SetVideoMirrorEffectOptions, SetVideoSettingsOptions, SetVideoStateOptions, ShareAppOptions, ShareComputerAudioOptions, StartCollaborateOptions, ToggleParticipantMediaAudioOptions, Uuid, VideoMedia, VirtualBackgroundOptions, VirtualForegroundOptions, _default as default, onMeetingConfigChangedEvent }; diff --git a/dist/sdk.es.js b/dist/sdk.es.js index 8aa4ef9..422a25f 100644 --- a/dist/sdk.es.js +++ b/dist/sdk.es.js @@ -1,4 +1,4 @@ -/* Zoom Apps SDK v0.16.10 */ +/* Zoom Apps SDK v0.16.11 */ /** * Copyright (c) 2023 Zoom Video Communications, Inc. * @@ -21,7 +21,7 @@ * SOFTWARE. */ -var version = "0.16.10"; +var version = "0.16.11"; var extendStatics = function(d, b) { extendStatics = Object.setPrototypeOf || @@ -224,6 +224,8 @@ var NativeApis; NativeApis["SHOW_MEETING_INVITATION_DIALOG"] = "showMeetingInvitationDialog"; NativeApis["GET_CHAT_CONTEXT"] = "getChatContext"; NativeApis["COMPOSE_CARD"] = "composeCard"; + NativeApis["BROADCAST_VOICE_TO_BREAKOUT_ROOMS"] = "broadcastVoiceToBreakoutRooms"; + NativeApis["STOP_SHARE_SCREEN"] = "stopShareScreen"; })(NativeApis || (NativeApis = {})); var NativeEvents; (function (NativeEvents) { @@ -445,7 +447,7 @@ function wrapInMessageObject(value) { return value; } -var _a$2, _b$1, _c$1, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27, _28, _29, _30, _31, _32, _33, _34, _35, _36, _37, _38, _39, _40, _41, _42, _43, _44, _45, _46, _47, _48, _49, _50, _51, _52, _53, _54, _55, _56, _57, _58, _59, _60, _61, _62, _63, _64, _65, _66, _67, _68, _69, _70, _71, _72, _73, _74, _75, _76, _77, _78, _79, _80, _81, _82, _83, _84, _85, _86, _87, _88, _89, _90, _91; +var _a$2, _b$1, _c$1, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27, _28, _29, _30, _31, _32, _33, _34, _35, _36, _37, _38, _39, _40, _41, _42, _43, _44, _45, _46, _47, _48, _49, _50, _51, _52, _53, _54, _55, _56, _57, _58, _59, _60, _61, _62, _63, _64, _65, _66, _67, _68, _69, _70, _71, _72, _73, _74, _75, _76, _77, _78, _79, _80, _81, _82, _83, _84, _85, _86, _87, _88, _89, _90, _91, _92, _93, _94, _95; var compatibilityFnsApis = (_a$2 = {}, _a$2[NativeApis.SEND_APP_INVITATION] = (_b$1 = {}, _b$1[ZERO_SIXTEEN] = (_c$1 = {}, @@ -882,6 +884,24 @@ var compatibilityFnsApis = (_a$2 = {}, }, _91), _90), + _a$2[NativeApis.STOP_SHARE_SCREEN] = (_92 = {}, + _92[ZERO_SIXTEEN] = (_93 = {}, + _93[BASE_VERSION] = { + mapOutput: function (value) { + return wrapInObject({ key: 'message', value: value }); + }, + }, + _93), + _92), + _a$2[NativeApis.BROADCAST_VOICE_TO_BREAKOUT_ROOMS] = (_94 = {}, + _94[ZERO_SIXTEEN] = (_95 = {}, + _95[BASE_VERSION] = { + mapOutput: function (value) { + return wrapInObject({ key: 'message', value: value }); + }, + }, + _95), + _94), _a$2); var _a$1, _b, _c; @@ -1835,6 +1855,20 @@ var ZoomSdk = (function () { }); }); }; + ZoomSdk.prototype.broadcastVoiceToBreakoutRooms = function (options) { + return __awaiter(this, void 0, void 0, function () { + return __generator(this, function (_a) { + return [2 , this.callZoomApi(NativeApis.BROADCAST_VOICE_TO_BREAKOUT_ROOMS, options)]; + }); + }); + }; + ZoomSdk.prototype.stopShareScreen = function () { + return __awaiter(this, void 0, void 0, function () { + return __generator(this, function (_a) { + return [2 , this.callZoomApi(NativeApis.STOP_SHARE_SCREEN)]; + }); + }); + }; return ZoomSdk; }()); function getJsCallId() { diff --git a/dist/sdk.module.js b/dist/sdk.module.js index fa812a4..234911f 100644 --- a/dist/sdk.module.js +++ b/dist/sdk.module.js @@ -1,4 +1,4 @@ -/* Zoom Apps SDK v0.16.10 */ +/* Zoom Apps SDK v0.16.11 */ /** * Copyright (c) 2023 Zoom Video Communications, Inc. * @@ -23,7 +23,7 @@ 'use strict'; -var version = "0.16.10"; +var version = "0.16.11"; var extendStatics = function(d, b) { extendStatics = Object.setPrototypeOf || @@ -226,6 +226,8 @@ var NativeApis; NativeApis["SHOW_MEETING_INVITATION_DIALOG"] = "showMeetingInvitationDialog"; NativeApis["GET_CHAT_CONTEXT"] = "getChatContext"; NativeApis["COMPOSE_CARD"] = "composeCard"; + NativeApis["BROADCAST_VOICE_TO_BREAKOUT_ROOMS"] = "broadcastVoiceToBreakoutRooms"; + NativeApis["STOP_SHARE_SCREEN"] = "stopShareScreen"; })(NativeApis || (NativeApis = {})); var NativeEvents; (function (NativeEvents) { @@ -447,7 +449,7 @@ function wrapInMessageObject(value) { return value; } -var _a$2, _b$1, _c$1, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27, _28, _29, _30, _31, _32, _33, _34, _35, _36, _37, _38, _39, _40, _41, _42, _43, _44, _45, _46, _47, _48, _49, _50, _51, _52, _53, _54, _55, _56, _57, _58, _59, _60, _61, _62, _63, _64, _65, _66, _67, _68, _69, _70, _71, _72, _73, _74, _75, _76, _77, _78, _79, _80, _81, _82, _83, _84, _85, _86, _87, _88, _89, _90, _91; +var _a$2, _b$1, _c$1, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27, _28, _29, _30, _31, _32, _33, _34, _35, _36, _37, _38, _39, _40, _41, _42, _43, _44, _45, _46, _47, _48, _49, _50, _51, _52, _53, _54, _55, _56, _57, _58, _59, _60, _61, _62, _63, _64, _65, _66, _67, _68, _69, _70, _71, _72, _73, _74, _75, _76, _77, _78, _79, _80, _81, _82, _83, _84, _85, _86, _87, _88, _89, _90, _91, _92, _93, _94, _95; var compatibilityFnsApis = (_a$2 = {}, _a$2[NativeApis.SEND_APP_INVITATION] = (_b$1 = {}, _b$1[ZERO_SIXTEEN] = (_c$1 = {}, @@ -884,6 +886,24 @@ var compatibilityFnsApis = (_a$2 = {}, }, _91), _90), + _a$2[NativeApis.STOP_SHARE_SCREEN] = (_92 = {}, + _92[ZERO_SIXTEEN] = (_93 = {}, + _93[BASE_VERSION] = { + mapOutput: function (value) { + return wrapInObject({ key: 'message', value: value }); + }, + }, + _93), + _92), + _a$2[NativeApis.BROADCAST_VOICE_TO_BREAKOUT_ROOMS] = (_94 = {}, + _94[ZERO_SIXTEEN] = (_95 = {}, + _95[BASE_VERSION] = { + mapOutput: function (value) { + return wrapInObject({ key: 'message', value: value }); + }, + }, + _95), + _94), _a$2); var _a$1, _b, _c; @@ -1837,6 +1857,20 @@ var ZoomSdk = (function () { }); }); }; + ZoomSdk.prototype.broadcastVoiceToBreakoutRooms = function (options) { + return __awaiter(this, void 0, void 0, function () { + return __generator(this, function (_a) { + return [2 , this.callZoomApi(NativeApis.BROADCAST_VOICE_TO_BREAKOUT_ROOMS, options)]; + }); + }); + }; + ZoomSdk.prototype.stopShareScreen = function () { + return __awaiter(this, void 0, void 0, function () { + return __generator(this, function (_a) { + return [2 , this.callZoomApi(NativeApis.STOP_SHARE_SCREEN)]; + }); + }); + }; return ZoomSdk; }()); function getJsCallId() { diff --git a/package.json b/package.json index fe43681..e9750b0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@zoom/appssdk", - "version": "0.16.10", + "version": "0.16.11", "description": "Zoom Apps SDK", "license": "MIT", "files": [