From 6611f1bed53ac9f0eb2881b8219d57cb76b083b7 Mon Sep 17 00:00:00 2001 From: NarmadaRavali Date: Fri, 22 Mar 2024 20:21:31 -0700 Subject: [PATCH] 0.16.19 --- dist/sdk.d.ts | 242 ++++++++++++++++++++++++++++++++------------- dist/sdk.es.js | 12 +-- dist/sdk.module.js | 12 +-- package.json | 2 +- 4 files changed, 184 insertions(+), 84 deletions(-) diff --git a/dist/sdk.d.ts b/dist/sdk.d.ts index 0140845..e831c08 100644 --- a/dist/sdk.d.ts +++ b/dist/sdk.d.ts @@ -2393,24 +2393,53 @@ declare type GetWaitingRoomParticipantsResponse = { * @category Zoom Contact Center */ declare type EngagementContext = { - /** The date when the engagement was first created in ISO 8601 format "yyyy-MM-dd'T'HH:mm:ss'Z'" or yyyy-MM-dd'T'HH:mm:ss’TZD’ */ - startTime: string; - /** The engagement's ID */ - engagementId: string; - /** The time when the engagement was accepted by the current agent */ - acceptTime?: string; - /** The ID of the queue which the engagement is routed to */ - queueId?: string; - /** The name of the queue which the engagement is routed to */ - queueName?: string; - /** If the call has been transferred or not from a previous agent */ - isTransfer?: boolean; - /** type of transfer: direct, warm */ - transferType?: string; - /** The ID of the agent who initiated the transfer */ - transferFromAgentId?: string; - /** The name of the agent who initiated the transfer */ - transferFromAgentName?: string; + engagementContext: { + /** The date when the engagement was first created in ISO 8601 format "yyyy-MM-dd'T'HH:mm:ss'Z'" or yyyy-MM-dd'T'HH:mm:ss’TZD’ */ + startTime: number; + /** The engagement's ID */ + engagementId: string; + /** The time when the engagement was accepted by the current agent */ + acceptTime?: number; + /** The ID of the queue which the engagement is routed to */ + queueId?: string; + /** The name of the queue which the engagement is routed to */ + queueName?: string; + /** If the call has been transferred or not from a previous agent */ + isTransfer?: string; + /** type of transfer: direct, warm */ + transferType?: string; + /** The ID of the agent who initiated the transfer */ + transferFromAgentId?: string; + /** The name of the agent who initiated the transfer */ + transferFromAgentName?: string; + }; +}; +/** + * @beta + * @category Zoom Contact Center + */ +declare type EngagementContextEvent = { + engagementContext: { + /** The date when the engagement was first created in ISO 8601 format "yyyy-MM-dd'T'HH:mm:ss'Z'" or yyyy-MM-dd'T'HH:mm:ss’TZD’ */ + startTime: number; + /** The engagement's ID */ + engagementId: string; + /** The time when the engagement was accepted by the current agent */ + acceptTime?: number; + /** The ID of the queue which the engagement is routed to */ + queueId?: string; + /** The name of the queue which the engagement is routed to */ + queueName?: string; + /** If the call has been transferred or not from a previous agent */ + isTransfer?: string; + /** type of transfer: direct, warm */ + transferType?: string; + /** The ID of the agent who initiated the transfer */ + transferFromAgentId?: string; + /** The name of the agent who initiated the transfer */ + transferFromAgentName?: string; + }; + timestamp: number; }; /** * @beta @@ -2418,31 +2447,68 @@ declare type EngagementContext = { * @category Zoom Contact Center */ declare type EngagementStatus = { - /** The engagement's ID */ - engagementId: string; - /** The data and time when the engagement ended (after wrap up) in timestamp, valid only when state=end */ - endTime?: string; - /** The current status of the engagment */ - state: 'active' | 'inactive' | 'wrap-up' | 'end'; - /** The channel which the engagement is currently in. The engagment channel might change if the engagement is upgraded.*/ - channel: 'voice' | 'video' | 'messaging' | 'email'; - source?: 'video_webVideo' | 'video_inAppVideo' | 'video_kiosk' | 'messaging_webChat' | 'messaging_inAppChat' | 'messaging_facebook' | 'messaging_whatsapp' | 'messaging_sms'; - /** if the call is a conference call or not */ - isConference: boolean; - /** The ID of the agent who is assigned with the engagement */ - assignedAgentId: string; - assignedAgentName: string; - /** information about consumers */ - consumers: { - /** The consumer's ID. Only applied to video and messaging (non-SMS) channels*/ - consumerId?: string; - /** The consumer's name */ - consumerName: string; - /** The consumer's phone number */ - consumerNumber?: string; - /** The consumer's email id */ - consumerEmail?: string; - }[]; + engagementStatus: { + /** The engagement's ID */ + engagementId: string; + /** The data and time when the engagement ended (after wrap up) in timestamp, valid only when state=end */ + endTime?: number; + /** The current status of the engagment */ + state: 'active' | 'inactive' | 'wrap-up' | 'end'; + /** The channel which the engagement is currently in. The engagment channel might change if the engagement is upgraded.*/ + channel: 'voice' | 'video' | 'messaging' | 'email'; + source: 'video_webVideo' | 'video_inAppVideo' | 'video_kiosk' | 'messaging_webChat' | 'messaging_inAppChat' | 'messaging_facebook' | 'messaging_whatsapp' | 'messaging_sms' | ''; + /** if the call is a conference call or not */ + isConference: string; + /** The ID of the agent who is assigned with the engagement */ + assignedAgentId?: string; + assignedAgentName?: string; + /** information about consumers */ + consumers: { + /** The consumer's ID. Only applied to video and messaging (non-SMS) channels*/ + consumerId?: string; + /** The consumer's name */ + consumerDisplayName?: string; + /** The consumer's phone number */ + consumerNumber?: string; + /** The consumer's email id */ + consumerEmail?: string; + }[]; + }; +}; +/** + * @beta + * + * @category Zoom Contact Center + */ +declare type EngagementStatusEvent = { + engagementStatus: { + /** The engagement's ID */ + engagementId: string; + /** The data and time when the engagement ended (after wrap up) in timestamp, valid only when state=end */ + endTime?: number; + /** The current status of the engagment */ + state: 'active' | 'inactive' | 'wrap-up' | 'end'; + /** The channel which the engagement is currently in. The engagment channel might change if the engagement is upgraded.*/ + channel?: 'voice' | 'video' | 'messaging' | 'email'; + source: 'video_webVideo' | 'video_inAppVideo' | 'video_kiosk' | 'messaging_webChat' | 'messaging_inAppChat' | 'messaging_facebook' | 'messaging_whatsapp' | 'messaging_sms' | ''; + /** if the call is a conference call or not */ + isConference?: string; + /** The ID of the agent who is assigned with the engagement */ + assignedAgentId?: string; + assignedAgentName?: string; + /** information about consumers */ + consumers?: { + /** The consumer's ID. Only applied to video and messaging (non-SMS) channels*/ + consumerId?: string; + /** The consumer's name */ + consumerDisplayName?: string; + /** The consumer's phone number */ + consumerNumber?: string; + /** The consumer's email id */ + consumerEmail?: string; + }[]; + }; + timestamp: number; }; /** * @@ -2457,16 +2523,18 @@ declare type GetEngagementSecurableStatusOptions = { * @category Zoom Contact Center */ declare type GetEngagementSecurableStatusResponse = { - /** indicates whether the call is ready for a secure transaction such as PCI*/ - secureTransactionReady: boolean; - /** The media redirection region */ - region: string; - /** The number of the callee */ - calleeNumber: string; - /** The number of the caller */ - callerNumber: string; - /** The reason why secure transaction is not ready. Only appears when `secureTranscationReady` is `false` */ - notReadyReason?: 'phoneNumberNotReady' | 'callNotReady'; + securableStatus: { + /** indicates whether the call is ready for a secure transaction such as PCI*/ + secureTransactionReady: boolean; + /** The media redirection region */ + region: string; + /** The number of the callee */ + calleeNumber: string; + /** The number of the caller */ + callerNumber: string; + /** The reason why secure transaction is not ready. Only appears when `secureTranscationReady` is `false` */ + notReadyReason?: 'phoneNumberNotReady' | 'callNotReady'; + }; }; /** * @@ -2477,23 +2545,41 @@ declare type StartMediaRedirectionOptions = { /** Unique identifier to identify the session */ linkId: string; }; +/** + * + * @category Zoom Contact Center + */ +declare type StartMediaRedirectionResponse = { + MediaRedirectStatus: { + engagementId: string; + accountId: string; + action: string; + failureReason?: string; + linkId?: string; + status: string; + userId: string; + }; +}; /** * * @category Zoom Contact Center */ declare type OnEngagementMediaRedirectEvent = { - /** The account ID of the user */ - accountId: string; - /** Unique Identifier of the Engagement */ - engagementId: string; - /** Unique identifier of the user */ - userId: string; - /** Call media redirection action */ - action: 'start' | 'stop'; - /** Call media redirection status */ - status: 'success' | 'fail'; - /** The reason why the call media redirection failed */ - failureReason?: string; + MediaRedirectStatus: { + /** The account ID of the user */ + accountId: string; + /** Unique Identifier of the Engagement */ + engagementId: string; + /** Unique identifier of the user */ + userId: string; + /** Call media redirection action */ + action: 'start' | 'stop'; + /** Call media redirection status */ + status: 'success' | 'fail'; + /** The reason why the call media redirection failed */ + failureReason?: string; + }; + timestamp: number; }; /** * @category Meeting Actions @@ -2623,6 +2709,20 @@ declare type GetMeetingChatContextResponse = { /** empty string "" is returned if continous meeting chat is not supported */ chatChannelUUID: string; }; +/** + * + * @category Zoom Contact Center + */ +declare type GetEngagementStatusOptions = { + engagementId: string; +}; +/** + * + * @category Zoom Contact Center + */ +declare type GetEngagementContextOptions = { + engagementId: string; +}; /** * # Zoom Apps SDK @@ -5921,7 +6021,7 @@ declare class ZoomSdk { * * @category Zoom Contact Center */ - getEngagementContext(): Promise; + getEngagementContext(options?: GetEngagementContextOptions): Promise; /** * @beta * @@ -5935,7 +6035,7 @@ declare class ZoomSdk { * * @category Zoom Contact Center */ - onEngagementContextChange(handler: GenericEventHandler): void; + onEngagementContextChange(handler: GenericEventHandler): void; /** * @beta * @@ -5949,7 +6049,7 @@ declare class ZoomSdk { * * @category Zoom Contact Center */ - getEngagementStatus(): Promise; + getEngagementStatus(options: GetEngagementStatusOptions): Promise; /** * @beta * @@ -5965,7 +6065,7 @@ declare class ZoomSdk { * * @category Zoom Contact Center */ - onEngagementStatusChange(handler: GenericEventHandler): void; + onEngagementStatusChange(handler: GenericEventHandler): void; /** * @zoomContactCenterVersion 2.9.0 * @@ -6014,7 +6114,7 @@ declare class ZoomSdk { * * @category Zoom Contact Center */ - startMediaRedirection(options: StartMediaRedirectionOptions): Promise; + startMediaRedirection(options: StartMediaRedirectionOptions): Promise; /** * @zoomContactCenterVersion 2.9.0 * @@ -6179,4 +6279,4 @@ declare class ZoomSdk { declare const _default: ZoomSdk; -export { AddBreakoutRoomOptions, AddParticipantSpotlightOptions, AdmitParticipantFromWaitingRoomOptions, AllowParticipantToRecordOptions, Apis, AppInvitationResponse, AppPopoutOptions, AppPopoutResponse, AssignParticipantToBreakoutRoomOptions, AttendeeSpeakingOptions, AudioMedia, AuthObject, AuthorizeOptions, BreakOutRoomParticipant, BreakoutRoomAssignmentMethods, BreakoutRoomsCreated, BreakoutRoomsParticipantsAssigned, BreakoutRoomsParticipantsJoined, BreakoutRoomsParticipantsLeft, BreakoutRoomsResponse, BreakoutRoomsUpdated, BringAppToFrontResponse, BroadcastVoiceToBreakoutRoomsOptions, ChangeBreakoutRoomOptions, ClearImageOptions, ClearParticipantOptions, ClearWebViewOptions, CloudRecordingOptions, ComposeCardOptions, ConfigOptions, ConfigResponse, ConfigSize, ConfigureBreakoutRoomsOptions, ConfigureBreakoutRoomsResponse, CreateBreakoutRoomsOptions, DecryptedAppContextResponse, DrawImageOptions, DrawImageResponse, DrawParticipantOptions, DrawWebViewOptions, EmojiOptions, EngagementContext, EngagementStatus, ExpandAppOptions, FeedbackReactionOptions, FeedbackReactions, GeneralMessage, GeneralMessageResponse, GenericEventHandler, GetAppContextResponse, GetAudioSettingsResponse, GetAudioStateResponse, GetChatContextResponse, GetEmojiConfigurationResponse, GetEngagementSecurableStatusOptions, GetEngagementSecurableStatusResponse, GetGalleryOrderListResponse, GetGalleryPageResponse, GetIncomingParticipantAudioStateOptions, GetIncomingParticipantAudioStateResponse, GetMeetingChatContextResponse, GetMeetingContextResponse, GetMeetingJoinUrlResponse, GetMeetingLanguagesResponse, GetMeetingParticipantsEmailOptions, GetMeetingParticipantsResponse, GetMeetingUUIDResponse, GetMeetingViewResponse, GetParticipantSpotlightsResponse, GetPhoneContextResponse, GetRecordingContextResponse, GetSupportedJsApisResponse, GetUserContextResponse, GetVideoSettingsResponse, GetVideoStateResponse, GetWaitingRoomParticipantsResponse, GetWaitingRoomStateResponse, GetZoomRoomContextResponse, GetZoomRoomControllerCredentialsResponse, JSONObject, JSONValue, JoinMeetingOptions, LaunchAppInMeetingOptions, LeaveMeetingOptions, ListCamerasResponse, MakePhoneCallOptions, MeetingView, NativeApiRequest, NativeApiRequestData, NativeApiResponseData, NativeConfigOptions, NativeMessage, NativeMessageData, NotificationOptions$1 as NotificationOptions, OnActiveSpeakerChangeEvent, OnActiveSpeakerChangeUserType, OnAppPopoutEvent, OnAuthorizedEvent, OnBreakoutRoomChangeEvent, OnCloudRecordingEvent, OnCollaborateChangeEvent, OnConnectEvent, OnEmojiReactionEvent, OnEngagementMediaRedirectEvent, OnExpandAppEvent, OnFeedbackReactionEvent, OnGalleryOrderEvent, OnGalleryPageChangeEvent, OnIncomingParticipantAudioChangeEvent, OnMeetingEvent, OnMeetingLanguagesChangeEvent, OnMeetingViewChangeEvent, OnMessageEvent, OnMyActiveSpeakerChangeEvent, OnMyMediaChangeEvent, OnMyReactionEvent, OnMyUserContextChangeEvent, OnParticipantChangeEvent, OnParticipantChangeParticipantType, OnParticipantEmailEvent, OnPhoneContextEvent, OnReactionEvent, OnRemoveFeedbackReactionEvent, OnRenderedAppOpenedEvent, OnRunningContextChangeEvent, OnSendAppInvitationEvent, OnShareAppEvent, OnShareComputerAudioEvent, OnShareScreenEvent, OnWaitingRoomParticipantJoinEvent, OnWaitingRoomParticipantLeaveEvent, OnWaitingRoomStateChangeEvent, OpenUrlOptions, Participant, ParticipantCutoutShape, ParticipantPinOptions, PhoneEvent, PixelValue, PromptShareScreenOptions, PutParticipantToWaitingRoomOptions, RemoveParticipantSpotlightsOptions, RemoveWebinarAttendeeOptions, RenameBreakoutRoomOptions, RenderingContextView, RunRenderingContextOptions, RunningContext, RunningContextResponse, SdkOptions, SdkVersion, SendAppInvitationOptions, SendAppToBackgroundResponse, SendMessageOptions, SetAudioSettingsOptions, SetAudioStateOptions, SetCameraOptions, SetEmojiReactionOptions, SetGalleryPageOptions, SetIncomingParticipantAudioStateOptions, SetMeetingViewOptions, SetScreenNameOptions, SetVideoFilterOptions, SetVideoMirrorEffectOptions, SetVideoSettingsOptions, SetVideoStateOptions, SetWaitingRoomStateOptions, ShareAppOptions, ShareComputerAudioOptions, ShowAppInvitationDialogOptions, StartCollaborateOptions, StartMediaRedirectionOptions, ToggleParticipantMediaAudioOptions, ToggleParticipantMediaVideoOptions, Uuid, VideoMedia, VirtualBackgroundOptions, VirtualForegroundOptions, WarningReponse, _default as default, onMeetingConfigChangedEvent, setParticipantScreenNameOptions }; +export { AddBreakoutRoomOptions, AddParticipantSpotlightOptions, AdmitParticipantFromWaitingRoomOptions, AllowParticipantToRecordOptions, Apis, AppInvitationResponse, AppPopoutOptions, AppPopoutResponse, AssignParticipantToBreakoutRoomOptions, AttendeeSpeakingOptions, AudioMedia, AuthObject, AuthorizeOptions, BreakOutRoomParticipant, BreakoutRoomAssignmentMethods, BreakoutRoomsCreated, BreakoutRoomsParticipantsAssigned, BreakoutRoomsParticipantsJoined, BreakoutRoomsParticipantsLeft, BreakoutRoomsResponse, BreakoutRoomsUpdated, BringAppToFrontResponse, BroadcastVoiceToBreakoutRoomsOptions, ChangeBreakoutRoomOptions, ClearImageOptions, ClearParticipantOptions, ClearWebViewOptions, CloudRecordingOptions, ComposeCardOptions, ConfigOptions, ConfigResponse, ConfigSize, ConfigureBreakoutRoomsOptions, ConfigureBreakoutRoomsResponse, CreateBreakoutRoomsOptions, DecryptedAppContextResponse, DrawImageOptions, DrawImageResponse, DrawParticipantOptions, DrawWebViewOptions, EmojiOptions, EngagementContext, EngagementContextEvent, EngagementStatus, EngagementStatusEvent, ExpandAppOptions, FeedbackReactionOptions, FeedbackReactions, GeneralMessage, GeneralMessageResponse, GenericEventHandler, GetAppContextResponse, GetAudioSettingsResponse, GetAudioStateResponse, GetChatContextResponse, GetEmojiConfigurationResponse, GetEngagementContextOptions, GetEngagementSecurableStatusOptions, GetEngagementSecurableStatusResponse, GetEngagementStatusOptions, GetGalleryOrderListResponse, GetGalleryPageResponse, GetIncomingParticipantAudioStateOptions, GetIncomingParticipantAudioStateResponse, GetMeetingChatContextResponse, GetMeetingContextResponse, GetMeetingJoinUrlResponse, GetMeetingLanguagesResponse, GetMeetingParticipantsEmailOptions, GetMeetingParticipantsResponse, GetMeetingUUIDResponse, GetMeetingViewResponse, GetParticipantSpotlightsResponse, GetPhoneContextResponse, GetRecordingContextResponse, GetSupportedJsApisResponse, GetUserContextResponse, GetVideoSettingsResponse, GetVideoStateResponse, GetWaitingRoomParticipantsResponse, GetWaitingRoomStateResponse, GetZoomRoomContextResponse, GetZoomRoomControllerCredentialsResponse, JSONObject, JSONValue, JoinMeetingOptions, LaunchAppInMeetingOptions, LeaveMeetingOptions, ListCamerasResponse, MakePhoneCallOptions, MeetingView, NativeApiRequest, NativeApiRequestData, NativeApiResponseData, NativeConfigOptions, NativeMessage, NativeMessageData, NotificationOptions$1 as NotificationOptions, OnActiveSpeakerChangeEvent, OnActiveSpeakerChangeUserType, OnAppPopoutEvent, OnAuthorizedEvent, OnBreakoutRoomChangeEvent, OnCloudRecordingEvent, OnCollaborateChangeEvent, OnConnectEvent, OnEmojiReactionEvent, OnEngagementMediaRedirectEvent, OnExpandAppEvent, OnFeedbackReactionEvent, OnGalleryOrderEvent, OnGalleryPageChangeEvent, OnIncomingParticipantAudioChangeEvent, OnMeetingEvent, OnMeetingLanguagesChangeEvent, OnMeetingViewChangeEvent, OnMessageEvent, OnMyActiveSpeakerChangeEvent, OnMyMediaChangeEvent, OnMyReactionEvent, OnMyUserContextChangeEvent, OnParticipantChangeEvent, OnParticipantChangeParticipantType, OnParticipantEmailEvent, OnPhoneContextEvent, OnReactionEvent, OnRemoveFeedbackReactionEvent, OnRenderedAppOpenedEvent, OnRunningContextChangeEvent, OnSendAppInvitationEvent, OnShareAppEvent, OnShareComputerAudioEvent, OnShareScreenEvent, OnWaitingRoomParticipantJoinEvent, OnWaitingRoomParticipantLeaveEvent, OnWaitingRoomStateChangeEvent, OpenUrlOptions, Participant, ParticipantCutoutShape, ParticipantPinOptions, PhoneEvent, PixelValue, PromptShareScreenOptions, PutParticipantToWaitingRoomOptions, RemoveParticipantSpotlightsOptions, RemoveWebinarAttendeeOptions, RenameBreakoutRoomOptions, RenderingContextView, RunRenderingContextOptions, RunningContext, RunningContextResponse, SdkOptions, SdkVersion, SendAppInvitationOptions, SendAppToBackgroundResponse, SendMessageOptions, SetAudioSettingsOptions, SetAudioStateOptions, SetCameraOptions, SetEmojiReactionOptions, SetGalleryPageOptions, SetIncomingParticipantAudioStateOptions, SetMeetingViewOptions, SetScreenNameOptions, SetVideoFilterOptions, SetVideoMirrorEffectOptions, SetVideoSettingsOptions, SetVideoStateOptions, SetWaitingRoomStateOptions, ShareAppOptions, ShareComputerAudioOptions, ShowAppInvitationDialogOptions, StartCollaborateOptions, StartMediaRedirectionOptions, StartMediaRedirectionResponse, ToggleParticipantMediaAudioOptions, ToggleParticipantMediaVideoOptions, Uuid, VideoMedia, VirtualBackgroundOptions, VirtualForegroundOptions, WarningReponse, _default as default, onMeetingConfigChangedEvent, setParticipantScreenNameOptions }; diff --git a/dist/sdk.es.js b/dist/sdk.es.js index 00503e2..059389f 100644 --- a/dist/sdk.es.js +++ b/dist/sdk.es.js @@ -1,4 +1,4 @@ -/* Zoom Apps SDK v0.16.18 */ +/* Zoom Apps SDK v0.16.19 */ /** * Copyright (c) 2024 Zoom Video Communications, Inc. * @@ -21,7 +21,7 @@ * SOFTWARE. */ -var version = "0.16.18"; +var version = "0.16.19"; var extendStatics = function(d, b) { extendStatics = Object.setPrototypeOf || @@ -2328,20 +2328,20 @@ var ZoomSdk = (function () { }); }); }; - ZoomSdk.prototype.getEngagementContext = function () { + ZoomSdk.prototype.getEngagementContext = function (options) { return __awaiter(this, void 0, void 0, function () { return __generator(this, function (_a) { - return [2 , this.callZoomApi(NativeApis.GET_ENGAGEMENT_CONTEXT)]; + return [2 , this.callZoomApi(NativeApis.GET_ENGAGEMENT_CONTEXT, options)]; }); }); }; ZoomSdk.prototype.onEngagementContextChange = function (handler) { this.addEventListener(NativeEvents.ON_ENGAGEMENT_CONTEXT_CHANGE, handler); }; - ZoomSdk.prototype.getEngagementStatus = function () { + ZoomSdk.prototype.getEngagementStatus = function (options) { return __awaiter(this, void 0, void 0, function () { return __generator(this, function (_a) { - return [2 , this.callZoomApi(NativeApis.GET_ENGAGEMENT_STATUS)]; + return [2 , this.callZoomApi(NativeApis.GET_ENGAGEMENT_STATUS, options)]; }); }); }; diff --git a/dist/sdk.module.js b/dist/sdk.module.js index f988946..8106a3b 100644 --- a/dist/sdk.module.js +++ b/dist/sdk.module.js @@ -1,4 +1,4 @@ -/* Zoom Apps SDK v0.16.18 */ +/* Zoom Apps SDK v0.16.19 */ /** * Copyright (c) 2024 Zoom Video Communications, Inc. * @@ -23,7 +23,7 @@ 'use strict'; -var version = "0.16.18"; +var version = "0.16.19"; var extendStatics = function(d, b) { extendStatics = Object.setPrototypeOf || @@ -2330,20 +2330,20 @@ var ZoomSdk = (function () { }); }); }; - ZoomSdk.prototype.getEngagementContext = function () { + ZoomSdk.prototype.getEngagementContext = function (options) { return __awaiter(this, void 0, void 0, function () { return __generator(this, function (_a) { - return [2 , this.callZoomApi(NativeApis.GET_ENGAGEMENT_CONTEXT)]; + return [2 , this.callZoomApi(NativeApis.GET_ENGAGEMENT_CONTEXT, options)]; }); }); }; ZoomSdk.prototype.onEngagementContextChange = function (handler) { this.addEventListener(NativeEvents.ON_ENGAGEMENT_CONTEXT_CHANGE, handler); }; - ZoomSdk.prototype.getEngagementStatus = function () { + ZoomSdk.prototype.getEngagementStatus = function (options) { return __awaiter(this, void 0, void 0, function () { return __generator(this, function (_a) { - return [2 , this.callZoomApi(NativeApis.GET_ENGAGEMENT_STATUS)]; + return [2 , this.callZoomApi(NativeApis.GET_ENGAGEMENT_STATUS, options)]; }); }); }; diff --git a/package.json b/package.json index 191f098..8428ae7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@zoom/appssdk", - "version": "0.16.18", + "version": "0.16.19", "description": "Zoom Apps SDK", "license": "MIT", "files": [