@microsoft/teams.client 0.2.12 → 0.2.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +37 -37
- package/dist/app.d.mts +25 -4
- package/dist/app.d.ts +25 -4
- package/dist/app.js +44 -7
- package/dist/app.js.map +1 -1
- package/dist/app.mjs +44 -7
- package/dist/app.mjs.map +1 -1
- package/dist/graph-utils.d.mts +10 -0
- package/dist/graph-utils.d.ts +10 -0
- package/dist/graph-utils.js +50 -0
- package/dist/graph-utils.js.map +1 -0
- package/dist/graph-utils.mjs +27 -0
- package/dist/graph-utils.mjs.map +1 -0
- package/dist/index.d.mts +3 -53
- package/dist/index.d.ts +3 -53
- package/dist/index.js +3 -34
- package/dist/index.mjs +1 -4
- package/dist/msal-utils.d.mts +11 -1
- package/dist/msal-utils.d.ts +11 -1
- package/dist/msal-utils.js +14 -0
- package/dist/msal-utils.js.map +1 -1
- package/dist/msal-utils.mjs +14 -1
- package/dist/msal-utils.mjs.map +1 -1
- package/package.json +4 -2
- package/dist/context/app-host.d.mts +0 -25
- package/dist/context/app-host.d.ts +0 -25
- package/dist/context/app-host.js +0 -4
- package/dist/context/app-host.js.map +0 -1
- package/dist/context/app-host.mjs +0 -3
- package/dist/context/app-host.mjs.map +0 -1
- package/dist/context/app.d.mts +0 -69
- package/dist/context/app.d.ts +0 -69
- package/dist/context/app.js +0 -4
- package/dist/context/app.js.map +0 -1
- package/dist/context/app.mjs +0 -3
- package/dist/context/app.mjs.map +0 -1
- package/dist/context/channel.d.mts +0 -37
- package/dist/context/channel.d.ts +0 -37
- package/dist/context/channel.js +0 -4
- package/dist/context/channel.js.map +0 -1
- package/dist/context/channel.mjs +0 -3
- package/dist/context/channel.mjs.map +0 -1
- package/dist/context/chat.d.mts +0 -11
- package/dist/context/chat.d.ts +0 -11
- package/dist/context/chat.js +0 -4
- package/dist/context/chat.js.map +0 -1
- package/dist/context/chat.mjs +0 -3
- package/dist/context/chat.mjs.map +0 -1
- package/dist/context/index.d.mts +0 -74
- package/dist/context/index.d.ts +0 -74
- package/dist/context/index.js +0 -108
- package/dist/context/index.js.map +0 -1
- package/dist/context/index.mjs +0 -86
- package/dist/context/index.mjs.map +0 -1
- package/dist/context/meeting.d.mts +0 -11
- package/dist/context/meeting.d.ts +0 -11
- package/dist/context/meeting.js +0 -4
- package/dist/context/meeting.js.map +0 -1
- package/dist/context/meeting.mjs +0 -3
- package/dist/context/meeting.mjs.map +0 -1
- package/dist/context/page.d.mts +0 -40
- package/dist/context/page.d.ts +0 -40
- package/dist/context/page.js +0 -4
- package/dist/context/page.js.map +0 -1
- package/dist/context/page.mjs +0 -3
- package/dist/context/page.mjs.map +0 -1
- package/dist/context/share-point-site.d.mts +0 -31
- package/dist/context/share-point-site.d.ts +0 -31
- package/dist/context/share-point-site.js +0 -4
- package/dist/context/share-point-site.js.map +0 -1
- package/dist/context/share-point-site.mjs +0 -3
- package/dist/context/share-point-site.mjs.map +0 -1
- package/dist/context/team.d.mts +0 -42
- package/dist/context/team.d.ts +0 -42
- package/dist/context/team.js +0 -4
- package/dist/context/team.js.map +0 -1
- package/dist/context/team.mjs +0 -3
- package/dist/context/team.mjs.map +0 -1
- package/dist/context/tenant.d.mts +0 -20
- package/dist/context/tenant.d.ts +0 -20
- package/dist/context/tenant.js +0 -4
- package/dist/context/tenant.js.map +0 -1
- package/dist/context/tenant.mjs +0 -3
- package/dist/context/tenant.mjs.map +0 -1
- package/dist/context/user.d.mts +0 -63
- package/dist/context/user.d.ts +0 -63
- package/dist/context/user.js +0 -4
- package/dist/context/user.js.map +0 -1
- package/dist/context/user.mjs +0 -3
- package/dist/context/user.mjs.map +0 -1
- package/dist/index-5Ok-M8A0.d.ts +0 -13
- package/dist/index-7hUkxLxx.d.mts +0 -17
- package/dist/index-8IcDrPMv.d.ts +0 -70
- package/dist/index-D6kqtGPa.d.mts +0 -13
- package/dist/index-DJal_Cxb.d.mts +0 -70
- package/dist/index-DrTQ_GLN.d.mts +0 -21
- package/dist/index-DtE-Eb9L.d.ts +0 -17
- package/dist/index-_Hc8oq9_.d.ts +0 -21
- package/dist/window/client-error.d.mts +0 -10
- package/dist/window/client-error.d.ts +0 -10
- package/dist/window/client-error.js +0 -4
- package/dist/window/client-error.js.map +0 -1
- package/dist/window/client-error.mjs +0 -3
- package/dist/window/client-error.mjs.map +0 -1
- package/dist/window/clients/app-entity.d.mts +0 -12
- package/dist/window/clients/app-entity.d.ts +0 -12
- package/dist/window/clients/app-entity.js +0 -15
- package/dist/window/clients/app-entity.js.map +0 -1
- package/dist/window/clients/app-entity.mjs +0 -13
- package/dist/window/clients/app-entity.mjs.map +0 -1
- package/dist/window/clients/app-initialization.d.mts +0 -50
- package/dist/window/clients/app-initialization.d.ts +0 -50
- package/dist/window/clients/app-initialization.js +0 -24
- package/dist/window/clients/app-initialization.js.map +0 -1
- package/dist/window/clients/app-initialization.mjs +0 -22
- package/dist/window/clients/app-initialization.mjs.map +0 -1
- package/dist/window/clients/app-install-dialog.d.mts +0 -21
- package/dist/window/clients/app-install-dialog.d.ts +0 -21
- package/dist/window/clients/app-install-dialog.js +0 -22
- package/dist/window/clients/app-install-dialog.js.map +0 -1
- package/dist/window/clients/app-install-dialog.mjs +0 -20
- package/dist/window/clients/app-install-dialog.mjs.map +0 -1
- package/dist/window/clients/authentication.d.mts +0 -66
- package/dist/window/clients/authentication.d.ts +0 -66
- package/dist/window/clients/authentication.js +0 -47
- package/dist/window/clients/authentication.js.map +0 -1
- package/dist/window/clients/authentication.mjs +0 -45
- package/dist/window/clients/authentication.mjs.map +0 -1
- package/dist/window/clients/bar-code.d.mts +0 -13
- package/dist/window/clients/bar-code.d.ts +0 -13
- package/dist/window/clients/bar-code.js +0 -20
- package/dist/window/clients/bar-code.js.map +0 -1
- package/dist/window/clients/bar-code.mjs +0 -18
- package/dist/window/clients/bar-code.mjs.map +0 -1
- package/dist/window/clients/calendar.d.mts +0 -47
- package/dist/window/clients/calendar.d.ts +0 -47
- package/dist/window/clients/calendar.js +0 -18
- package/dist/window/clients/calendar.js.map +0 -1
- package/dist/window/clients/calendar.mjs +0 -16
- package/dist/window/clients/calendar.mjs.map +0 -1
- package/dist/window/clients/call.d.mts +0 -32
- package/dist/window/clients/call.d.ts +0 -32
- package/dist/window/clients/call.js +0 -16
- package/dist/window/clients/call.js.map +0 -1
- package/dist/window/clients/call.mjs +0 -14
- package/dist/window/clients/call.mjs.map +0 -1
- package/dist/window/clients/clipboard.d.mts +0 -26
- package/dist/window/clients/clipboard.d.ts +0 -26
- package/dist/window/clients/clipboard.js +0 -19
- package/dist/window/clients/clipboard.js.map +0 -1
- package/dist/window/clients/clipboard.mjs +0 -17
- package/dist/window/clients/clipboard.mjs.map +0 -1
- package/dist/window/clients/conversation.d.mts +0 -53
- package/dist/window/clients/conversation.d.ts +0 -53
- package/dist/window/clients/conversation.js +0 -25
- package/dist/window/clients/conversation.js.map +0 -1
- package/dist/window/clients/conversation.mjs +0 -23
- package/dist/window/clients/conversation.mjs.map +0 -1
- package/dist/window/clients/dialog.d.mts +0 -81
- package/dist/window/clients/dialog.d.ts +0 -81
- package/dist/window/clients/dialog.js +0 -37
- package/dist/window/clients/dialog.js.map +0 -1
- package/dist/window/clients/dialog.mjs +0 -35
- package/dist/window/clients/dialog.mjs.map +0 -1
- package/dist/window/clients/index.d.mts +0 -84
- package/dist/window/clients/index.d.ts +0 -84
- package/dist/window/clients/index.js +0 -159
- package/dist/window/clients/index.js.map +0 -1
- package/dist/window/clients/index.mjs +0 -87
- package/dist/window/clients/index.mjs.map +0 -1
- package/dist/window/clients/location.d.mts +0 -14
- package/dist/window/clients/location.d.ts +0 -14
- package/dist/window/clients/location.js +0 -22
- package/dist/window/clients/location.js.map +0 -1
- package/dist/window/clients/location.mjs +0 -20
- package/dist/window/clients/location.mjs.map +0 -1
- package/dist/window/clients/media.d.mts +0 -190
- package/dist/window/clients/media.d.ts +0 -190
- package/dist/window/clients/media.js +0 -75
- package/dist/window/clients/media.js.map +0 -1
- package/dist/window/clients/media.mjs +0 -68
- package/dist/window/clients/media.mjs.map +0 -1
- package/dist/window/clients/notification.d.mts +0 -17
- package/dist/window/clients/notification.d.ts +0 -17
- package/dist/window/clients/notification.js +0 -15
- package/dist/window/clients/notification.js.map +0 -1
- package/dist/window/clients/notification.mjs +0 -13
- package/dist/window/clients/notification.mjs.map +0 -1
- package/dist/window/clients/permission.d.mts +0 -14
- package/dist/window/clients/permission.d.ts +0 -14
- package/dist/window/clients/permission.js +0 -20
- package/dist/window/clients/permission.js.map +0 -1
- package/dist/window/clients/permission.mjs +0 -18
- package/dist/window/clients/permission.mjs.map +0 -1
- package/dist/window/index.d.mts +0 -59
- package/dist/window/index.d.ts +0 -59
- package/dist/window/index.js +0 -35
- package/dist/window/index.js.map +0 -1
- package/dist/window/index.mjs +0 -6
- package/dist/window/index.mjs.map +0 -1
- package/dist/window/message.d.mts +0 -24
- package/dist/window/message.d.ts +0 -24
- package/dist/window/message.js +0 -4
- package/dist/window/message.js.map +0 -1
- package/dist/window/message.mjs +0 -3
- package/dist/window/message.mjs.map +0 -1
- package/dist/window/runtime.d.mts +0 -96
- package/dist/window/runtime.d.ts +0 -96
- package/dist/window/runtime.js +0 -4
- package/dist/window/runtime.js.map +0 -1
- package/dist/window/runtime.mjs +0 -3
- package/dist/window/runtime.mjs.map +0 -1
- package/dist/window/types/action-open-url-type.d.mts +0 -15
- package/dist/window/types/action-open-url-type.d.ts +0 -15
- package/dist/window/types/action-open-url-type.js +0 -13
- package/dist/window/types/action-open-url-type.js.map +0 -1
- package/dist/window/types/action-open-url-type.mjs +0 -11
- package/dist/window/types/action-open-url-type.mjs.map +0 -1
- package/dist/window/types/app-eligibility-info.d.mts +0 -48
- package/dist/window/types/app-eligibility-info.d.ts +0 -48
- package/dist/window/types/app-eligibility-info.js +0 -4
- package/dist/window/types/app-eligibility-info.js.map +0 -1
- package/dist/window/types/app-eligibility-info.mjs +0 -3
- package/dist/window/types/app-eligibility-info.mjs.map +0 -1
- package/dist/window/types/bar-code-config.d.mts +0 -13
- package/dist/window/types/bar-code-config.d.ts +0 -13
- package/dist/window/types/bar-code-config.js +0 -4
- package/dist/window/types/bar-code-config.js.map +0 -1
- package/dist/window/types/bar-code-config.mjs +0 -3
- package/dist/window/types/bar-code-config.mjs.map +0 -1
- package/dist/window/types/call-modality.d.mts +0 -21
- package/dist/window/types/call-modality.d.ts +0 -21
- package/dist/window/types/call-modality.js +0 -14
- package/dist/window/types/call-modality.js.map +0 -1
- package/dist/window/types/call-modality.mjs +0 -12
- package/dist/window/types/call-modality.mjs.map +0 -1
- package/dist/window/types/channel-type.d.mts +0 -17
- package/dist/window/types/channel-type.d.ts +0 -17
- package/dist/window/types/channel-type.js +0 -12
- package/dist/window/types/channel-type.js.map +0 -1
- package/dist/window/types/channel-type.mjs +0 -10
- package/dist/window/types/channel-type.mjs.map +0 -1
- package/dist/window/types/context.d.mts +0 -275
- package/dist/window/types/context.d.ts +0 -275
- package/dist/window/types/context.js +0 -4
- package/dist/window/types/context.js.map +0 -1
- package/dist/window/types/context.mjs +0 -3
- package/dist/window/types/context.mjs.map +0 -1
- package/dist/window/types/data-residency.d.mts +0 -6
- package/dist/window/types/data-residency.d.ts +0 -6
- package/dist/window/types/data-residency.js +0 -4
- package/dist/window/types/data-residency.js.map +0 -1
- package/dist/window/types/data-residency.mjs +0 -3
- package/dist/window/types/data-residency.mjs.map +0 -1
- package/dist/window/types/dialog/dialog-dimension.d.mts +0 -17
- package/dist/window/types/dialog/dialog-dimension.d.ts +0 -17
- package/dist/window/types/dialog/dialog-dimension.js +0 -12
- package/dist/window/types/dialog/dialog-dimension.js.map +0 -1
- package/dist/window/types/dialog/dialog-dimension.mjs +0 -10
- package/dist/window/types/dialog/dialog-dimension.mjs.map +0 -1
- package/dist/window/types/dialog/dialog-info.d.mts +0 -43
- package/dist/window/types/dialog/dialog-info.d.ts +0 -43
- package/dist/window/types/dialog/dialog-info.js +0 -4
- package/dist/window/types/dialog/dialog-info.js.map +0 -1
- package/dist/window/types/dialog/dialog-info.mjs +0 -3
- package/dist/window/types/dialog/dialog-info.mjs.map +0 -1
- package/dist/window/types/dialog/dialog-size.d.mts +0 -14
- package/dist/window/types/dialog/dialog-size.d.ts +0 -14
- package/dist/window/types/dialog/dialog-size.js +0 -4
- package/dist/window/types/dialog/dialog-size.js.map +0 -1
- package/dist/window/types/dialog/dialog-size.mjs +0 -3
- package/dist/window/types/dialog/dialog-size.mjs.map +0 -1
- package/dist/window/types/dialog/index.d.mts +0 -3
- package/dist/window/types/dialog/index.d.ts +0 -3
- package/dist/window/types/dialog/index.js +0 -28
- package/dist/window/types/dialog/index.js.map +0 -1
- package/dist/window/types/dialog/index.mjs +0 -5
- package/dist/window/types/dialog/index.mjs.map +0 -1
- package/dist/window/types/file-open-preference.d.mts +0 -17
- package/dist/window/types/file-open-preference.d.ts +0 -17
- package/dist/window/types/file-open-preference.js +0 -12
- package/dist/window/types/file-open-preference.js.map +0 -1
- package/dist/window/types/file-open-preference.mjs +0 -10
- package/dist/window/types/file-open-preference.mjs.map +0 -1
- package/dist/window/types/file.d.mts +0 -42
- package/dist/window/types/file.d.ts +0 -42
- package/dist/window/types/file.js +0 -11
- package/dist/window/types/file.js.map +0 -1
- package/dist/window/types/file.mjs +0 -9
- package/dist/window/types/file.mjs.map +0 -1
- package/dist/window/types/frame-context.d.mts +0 -44
- package/dist/window/types/frame-context.d.ts +0 -44
- package/dist/window/types/frame-context.js +0 -17
- package/dist/window/types/frame-context.js.map +0 -1
- package/dist/window/types/frame-context.mjs +0 -15
- package/dist/window/types/frame-context.mjs.map +0 -1
- package/dist/window/types/host.d.mts +0 -73
- package/dist/window/types/host.d.ts +0 -73
- package/dist/window/types/host.js +0 -32
- package/dist/window/types/host.js.map +0 -1
- package/dist/window/types/host.mjs +0 -29
- package/dist/window/types/host.mjs.map +0 -1
- package/dist/window/types/index.d.mts +0 -39
- package/dist/window/types/index.d.ts +0 -39
- package/dist/window/types/index.js +0 -189
- package/dist/window/types/index.js.map +0 -1
- package/dist/window/types/index.mjs +0 -30
- package/dist/window/types/index.mjs.map +0 -1
- package/dist/window/types/legal-age-group-classification.d.mts +0 -34
- package/dist/window/types/legal-age-group-classification.d.ts +0 -34
- package/dist/window/types/legal-age-group-classification.js +0 -14
- package/dist/window/types/legal-age-group-classification.js.map +0 -1
- package/dist/window/types/legal-age-group-classification.mjs +0 -12
- package/dist/window/types/legal-age-group-classification.mjs.map +0 -1
- package/dist/window/types/liveshare/client.d.mts +0 -23
- package/dist/window/types/liveshare/client.d.ts +0 -23
- package/dist/window/types/liveshare/client.js +0 -4
- package/dist/window/types/liveshare/client.js.map +0 -1
- package/dist/window/types/liveshare/client.mjs +0 -3
- package/dist/window/types/liveshare/client.mjs.map +0 -1
- package/dist/window/types/liveshare/container-state.d.mts +0 -33
- package/dist/window/types/liveshare/container-state.d.ts +0 -33
- package/dist/window/types/liveshare/container-state.js +0 -13
- package/dist/window/types/liveshare/container-state.js.map +0 -1
- package/dist/window/types/liveshare/container-state.mjs +0 -11
- package/dist/window/types/liveshare/container-state.mjs.map +0 -1
- package/dist/window/types/liveshare/fluid-container.d.mts +0 -28
- package/dist/window/types/liveshare/fluid-container.d.ts +0 -28
- package/dist/window/types/liveshare/fluid-container.js +0 -4
- package/dist/window/types/liveshare/fluid-container.js.map +0 -1
- package/dist/window/types/liveshare/fluid-container.mjs +0 -3
- package/dist/window/types/liveshare/fluid-container.mjs.map +0 -1
- package/dist/window/types/liveshare/fluid-tenant.d.mts +0 -16
- package/dist/window/types/liveshare/fluid-tenant.d.ts +0 -16
- package/dist/window/types/liveshare/fluid-tenant.js +0 -4
- package/dist/window/types/liveshare/fluid-tenant.js.map +0 -1
- package/dist/window/types/liveshare/fluid-tenant.mjs +0 -3
- package/dist/window/types/liveshare/fluid-tenant.mjs.map +0 -1
- package/dist/window/types/liveshare/index.d.mts +0 -6
- package/dist/window/types/liveshare/index.d.ts +0 -6
- package/dist/window/types/liveshare/index.js +0 -42
- package/dist/window/types/liveshare/index.js.map +0 -1
- package/dist/window/types/liveshare/index.mjs +0 -7
- package/dist/window/types/liveshare/index.mjs.map +0 -1
- package/dist/window/types/liveshare/ntp-time.d.mts +0 -16
- package/dist/window/types/liveshare/ntp-time.d.ts +0 -16
- package/dist/window/types/liveshare/ntp-time.js +0 -4
- package/dist/window/types/liveshare/ntp-time.js.map +0 -1
- package/dist/window/types/liveshare/ntp-time.mjs +0 -3
- package/dist/window/types/liveshare/ntp-time.mjs.map +0 -1
- package/dist/window/types/locale.d.mts +0 -38
- package/dist/window/types/locale.d.ts +0 -38
- package/dist/window/types/locale.js +0 -4
- package/dist/window/types/locale.js.map +0 -1
- package/dist/window/types/locale.mjs +0 -3
- package/dist/window/types/locale.mjs.map +0 -1
- package/dist/window/types/location.d.mts +0 -25
- package/dist/window/types/location.d.ts +0 -25
- package/dist/window/types/location.js +0 -4
- package/dist/window/types/location.js.map +0 -1
- package/dist/window/types/location.mjs +0 -3
- package/dist/window/types/location.mjs.map +0 -1
- package/dist/window/types/marketplace/cart-info.d.mts +0 -47
- package/dist/window/types/marketplace/cart-info.d.ts +0 -47
- package/dist/window/types/marketplace/cart-info.js +0 -4
- package/dist/window/types/marketplace/cart-info.js.map +0 -1
- package/dist/window/types/marketplace/cart-info.mjs +0 -3
- package/dist/window/types/marketplace/cart-info.mjs.map +0 -1
- package/dist/window/types/marketplace/cart-item.d.mts +0 -40
- package/dist/window/types/marketplace/cart-item.d.ts +0 -40
- package/dist/window/types/marketplace/cart-item.js +0 -4
- package/dist/window/types/marketplace/cart-item.js.map +0 -1
- package/dist/window/types/marketplace/cart-item.mjs +0 -3
- package/dist/window/types/marketplace/cart-item.mjs.map +0 -1
- package/dist/window/types/marketplace/cart-status.d.mts +0 -33
- package/dist/window/types/marketplace/cart-status.d.ts +0 -33
- package/dist/window/types/marketplace/cart-status.js +0 -14
- package/dist/window/types/marketplace/cart-status.js.map +0 -1
- package/dist/window/types/marketplace/cart-status.mjs +0 -12
- package/dist/window/types/marketplace/cart-status.mjs.map +0 -1
- package/dist/window/types/marketplace/cart-version.d.mts +0 -17
- package/dist/window/types/marketplace/cart-version.d.ts +0 -17
- package/dist/window/types/marketplace/cart-version.js +0 -4
- package/dist/window/types/marketplace/cart-version.js.map +0 -1
- package/dist/window/types/marketplace/cart-version.mjs +0 -3
- package/dist/window/types/marketplace/cart-version.mjs.map +0 -1
- package/dist/window/types/marketplace/cart.d.mts +0 -29
- package/dist/window/types/marketplace/cart.d.ts +0 -29
- package/dist/window/types/marketplace/cart.js +0 -4
- package/dist/window/types/marketplace/cart.js.map +0 -1
- package/dist/window/types/marketplace/cart.mjs +0 -3
- package/dist/window/types/marketplace/cart.mjs.map +0 -1
- package/dist/window/types/marketplace/index.d.mts +0 -6
- package/dist/window/types/marketplace/index.d.ts +0 -6
- package/dist/window/types/marketplace/index.js +0 -49
- package/dist/window/types/marketplace/index.js.map +0 -1
- package/dist/window/types/marketplace/index.mjs +0 -8
- package/dist/window/types/marketplace/index.mjs.map +0 -1
- package/dist/window/types/marketplace/intent.d.mts +0 -23
- package/dist/window/types/marketplace/intent.d.ts +0 -23
- package/dist/window/types/marketplace/intent.js +0 -12
- package/dist/window/types/marketplace/intent.js.map +0 -1
- package/dist/window/types/marketplace/intent.mjs +0 -10
- package/dist/window/types/marketplace/intent.mjs.map +0 -1
- package/dist/window/types/notification-type.d.mts +0 -3
- package/dist/window/types/notification-type.d.ts +0 -3
- package/dist/window/types/notification-type.js +0 -4
- package/dist/window/types/notification-type.js.map +0 -1
- package/dist/window/types/notification-type.mjs +0 -3
- package/dist/window/types/notification-type.mjs.map +0 -1
- package/dist/window/types/permission.d.mts +0 -3
- package/dist/window/types/permission.d.ts +0 -3
- package/dist/window/types/permission.js +0 -4
- package/dist/window/types/permission.js.map +0 -1
- package/dist/window/types/permission.mjs +0 -3
- package/dist/window/types/permission.mjs.map +0 -1
- package/dist/window/types/team-type.d.mts +0 -24
- package/dist/window/types/team-type.d.ts +0 -24
- package/dist/window/types/team-type.js +0 -18
- package/dist/window/types/team-type.js.map +0 -1
- package/dist/window/types/team-type.mjs +0 -15
- package/dist/window/types/team-type.mjs.map +0 -1
- package/dist/window/types/theme.d.mts +0 -6
- package/dist/window/types/theme.d.ts +0 -6
- package/dist/window/types/theme.js +0 -4
- package/dist/window/types/theme.js.map +0 -1
- package/dist/window/types/theme.mjs +0 -3
- package/dist/window/types/theme.mjs.map +0 -1
- package/dist/window/types/thread-member.d.mts +0 -11
- package/dist/window/types/thread-member.d.ts +0 -11
- package/dist/window/types/thread-member.js +0 -4
- package/dist/window/types/thread-member.js.map +0 -1
- package/dist/window/types/thread-member.mjs +0 -3
- package/dist/window/types/thread-member.mjs.map +0 -1
- package/dist/window/types/user-meeting-role.d.mts +0 -31
- package/dist/window/types/user-meeting-role.d.ts +0 -31
- package/dist/window/types/user-meeting-role.js +0 -13
- package/dist/window/types/user-meeting-role.js.map +0 -1
- package/dist/window/types/user-meeting-role.mjs +0 -11
- package/dist/window/types/user-meeting-role.mjs.map +0 -1
- package/dist/window/types/user-profile.d.mts +0 -82
- package/dist/window/types/user-profile.d.ts +0 -82
- package/dist/window/types/user-profile.js +0 -4
- package/dist/window/types/user-profile.js.map +0 -1
- package/dist/window/types/user-profile.mjs +0 -3
- package/dist/window/types/user-profile.mjs.map +0 -1
- package/dist/window/types/user-team-role.d.mts +0 -18
- package/dist/window/types/user-team-role.d.ts +0 -18
- package/dist/window/types/user-team-role.js +0 -16
- package/dist/window/types/user-team-role.js.map +0 -1
- package/dist/window/types/user-team-role.mjs +0 -13
- package/dist/window/types/user-team-role.mjs.map +0 -1
- package/dist/window/window-client.d.mts +0 -28
- package/dist/window/window-client.d.ts +0 -28
- package/dist/window/window-client.js +0 -92
- package/dist/window/window-client.js.map +0 -1
- package/dist/window/window-client.mjs +0 -70
- package/dist/window/window-client.mjs.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/window/clients/bar-code.ts"],"names":[],"mappings":";;AAIO,MAAM,aAAc,CAAA;AAAA,EAChB,MAAA;AAAA,EAET,YAAY,MAAsB,EAAA;AAChC,IAAA,IAAA,CAAK,MAAS,GAAA,MAAA;AAAA;AAChB,EAEA,MAAM,KAAK,MAAuB,EAAA;AAChC,IAAA,MAAM,CAAC,GAAK,EAAA,GAAG,CAAI,GAAA,MAAM,KAAK,MAAO,CAAA,IAAA;AAAA,MACnC,mBAAA;AAAA,MACA;AAAA,KACF;AAEA,IAAA,IAAI,KAAW,MAAA,GAAA;AACf,IAAO,OAAA,GAAA;AAAA;AAEX","file":"bar-code.js","sourcesContent":["import { ClientError } from '../client-error';\nimport { BarCodeConfig } from '../types';\nimport { WindowClient } from '../window-client';\n\nexport class BarCodeClient {\n readonly window: WindowClient;\n\n constructor(client: WindowClient) {\n this.window = client;\n }\n\n async scan(config: BarCodeConfig) {\n const [err, res] = await this.window.send<[ClientError | undefined, string]>(\n 'media.scanBarCode',\n config\n );\n\n if (err) throw err;\n return res;\n }\n}\n"]}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
class BarCodeClient {
|
|
2
|
-
window;
|
|
3
|
-
constructor(client) {
|
|
4
|
-
this.window = client;
|
|
5
|
-
}
|
|
6
|
-
async scan(config) {
|
|
7
|
-
const [err, res] = await this.window.send(
|
|
8
|
-
"media.scanBarCode",
|
|
9
|
-
config
|
|
10
|
-
);
|
|
11
|
-
if (err) throw err;
|
|
12
|
-
return res;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
export { BarCodeClient };
|
|
17
|
-
//# sourceMappingURL=bar-code.mjs.map
|
|
18
|
-
//# sourceMappingURL=bar-code.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/window/clients/bar-code.ts"],"names":[],"mappings":"AAIO,MAAM,aAAc,CAAA;AAAA,EAChB,MAAA;AAAA,EAET,YAAY,MAAsB,EAAA;AAChC,IAAA,IAAA,CAAK,MAAS,GAAA,MAAA;AAAA;AAChB,EAEA,MAAM,KAAK,MAAuB,EAAA;AAChC,IAAA,MAAM,CAAC,GAAK,EAAA,GAAG,CAAI,GAAA,MAAM,KAAK,MAAO,CAAA,IAAA;AAAA,MACnC,mBAAA;AAAA,MACA;AAAA,KACF;AAEA,IAAA,IAAI,KAAW,MAAA,GAAA;AACf,IAAO,OAAA,GAAA;AAAA;AAEX","file":"bar-code.mjs","sourcesContent":["import { ClientError } from '../client-error';\nimport { BarCodeConfig } from '../types';\nimport { WindowClient } from '../window-client';\n\nexport class BarCodeClient {\n readonly window: WindowClient;\n\n constructor(client: WindowClient) {\n this.window = client;\n }\n\n async scan(config: BarCodeConfig) {\n const [err, res] = await this.window.send<[ClientError | undefined, string]>(\n 'media.scanBarCode',\n config\n );\n\n if (err) throw err;\n return res;\n }\n}\n"]}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { WindowClient } from '../window-client.mjs';
|
|
2
|
-
import '@microsoft/teams.common';
|
|
3
|
-
import '../message.mjs';
|
|
4
|
-
import '../client-error.mjs';
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* Compose meeting parameters
|
|
8
|
-
*/
|
|
9
|
-
type ComposeCalendarMeetingParams = {
|
|
10
|
-
/**
|
|
11
|
-
* An array of email addresses, user name, or user id of the attendees to invite to the meeting.
|
|
12
|
-
*/
|
|
13
|
-
attendees?: string[];
|
|
14
|
-
/**
|
|
15
|
-
* The start time of the meeting in MM/DD/YYYY HH:MM:SS format.
|
|
16
|
-
*/
|
|
17
|
-
startTime?: string;
|
|
18
|
-
/**
|
|
19
|
-
* The end time of the meeting in MM/DD/YYYY HH:MM:SS format.
|
|
20
|
-
*/
|
|
21
|
-
endTime?: string;
|
|
22
|
-
/**
|
|
23
|
-
* The subject line of the meeting.
|
|
24
|
-
*/
|
|
25
|
-
subject?: string;
|
|
26
|
-
/**
|
|
27
|
-
* The body content of the meeting.
|
|
28
|
-
*/
|
|
29
|
-
content?: string;
|
|
30
|
-
};
|
|
31
|
-
/**
|
|
32
|
-
* Open calendar item parameters.
|
|
33
|
-
*/
|
|
34
|
-
type OpenCalendarItemParams = {
|
|
35
|
-
/**
|
|
36
|
-
* An unique base64-encoded string id that represents the event's unique identifier of the calendar item to be opened.
|
|
37
|
-
*/
|
|
38
|
-
itemId: string;
|
|
39
|
-
};
|
|
40
|
-
declare class CalendarClient {
|
|
41
|
-
readonly window: WindowClient;
|
|
42
|
-
constructor(client: WindowClient);
|
|
43
|
-
composeMeeting(params: ComposeCalendarMeetingParams): Promise<void>;
|
|
44
|
-
openItem(params: OpenCalendarItemParams): Promise<void>;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
export { CalendarClient, type ComposeCalendarMeetingParams, type OpenCalendarItemParams };
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { WindowClient } from '../window-client.js';
|
|
2
|
-
import '@microsoft/teams.common';
|
|
3
|
-
import '../message.js';
|
|
4
|
-
import '../client-error.js';
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* Compose meeting parameters
|
|
8
|
-
*/
|
|
9
|
-
type ComposeCalendarMeetingParams = {
|
|
10
|
-
/**
|
|
11
|
-
* An array of email addresses, user name, or user id of the attendees to invite to the meeting.
|
|
12
|
-
*/
|
|
13
|
-
attendees?: string[];
|
|
14
|
-
/**
|
|
15
|
-
* The start time of the meeting in MM/DD/YYYY HH:MM:SS format.
|
|
16
|
-
*/
|
|
17
|
-
startTime?: string;
|
|
18
|
-
/**
|
|
19
|
-
* The end time of the meeting in MM/DD/YYYY HH:MM:SS format.
|
|
20
|
-
*/
|
|
21
|
-
endTime?: string;
|
|
22
|
-
/**
|
|
23
|
-
* The subject line of the meeting.
|
|
24
|
-
*/
|
|
25
|
-
subject?: string;
|
|
26
|
-
/**
|
|
27
|
-
* The body content of the meeting.
|
|
28
|
-
*/
|
|
29
|
-
content?: string;
|
|
30
|
-
};
|
|
31
|
-
/**
|
|
32
|
-
* Open calendar item parameters.
|
|
33
|
-
*/
|
|
34
|
-
type OpenCalendarItemParams = {
|
|
35
|
-
/**
|
|
36
|
-
* An unique base64-encoded string id that represents the event's unique identifier of the calendar item to be opened.
|
|
37
|
-
*/
|
|
38
|
-
itemId: string;
|
|
39
|
-
};
|
|
40
|
-
declare class CalendarClient {
|
|
41
|
-
readonly window: WindowClient;
|
|
42
|
-
constructor(client: WindowClient);
|
|
43
|
-
composeMeeting(params: ComposeCalendarMeetingParams): Promise<void>;
|
|
44
|
-
openItem(params: OpenCalendarItemParams): Promise<void>;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
export { CalendarClient, type ComposeCalendarMeetingParams, type OpenCalendarItemParams };
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
class CalendarClient {
|
|
4
|
-
window;
|
|
5
|
-
constructor(client) {
|
|
6
|
-
this.window = client;
|
|
7
|
-
}
|
|
8
|
-
async composeMeeting(params) {
|
|
9
|
-
await this.window.send("calendar.composeMeeting", params);
|
|
10
|
-
}
|
|
11
|
-
async openItem(params) {
|
|
12
|
-
await this.window.send("calendar.openCalendarItem", params);
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
exports.CalendarClient = CalendarClient;
|
|
17
|
-
//# sourceMappingURL=calendar.js.map
|
|
18
|
-
//# sourceMappingURL=calendar.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/window/clients/calendar.ts"],"names":[],"mappings":";;AA0CO,MAAM,cAAe,CAAA;AAAA,EACjB,MAAA;AAAA,EAET,YAAY,MAAsB,EAAA;AAChC,IAAA,IAAA,CAAK,MAAS,GAAA,MAAA;AAAA;AAChB,EAEA,MAAM,eAAe,MAAsC,EAAA;AACzD,IAAA,MAAM,IAAK,CAAA,MAAA,CAAO,IAAK,CAAA,yBAAA,EAA2B,MAAM,CAAA;AAAA;AAC1D,EAEA,MAAM,SAAS,MAAgC,EAAA;AAC7C,IAAA,MAAM,IAAK,CAAA,MAAA,CAAO,IAAK,CAAA,2BAAA,EAA6B,MAAM,CAAA;AAAA;AAE9D","file":"calendar.js","sourcesContent":["import { WindowClient } from '../window-client';\n\n/**\n * Compose meeting parameters\n */\nexport type ComposeCalendarMeetingParams = {\n /**\n * An array of email addresses, user name, or user id of the attendees to invite to the meeting.\n */\n attendees?: string[];\n\n /**\n * The start time of the meeting in MM/DD/YYYY HH:MM:SS format.\n */\n startTime?: string;\n\n /**\n * The end time of the meeting in MM/DD/YYYY HH:MM:SS format.\n */\n endTime?: string;\n\n /**\n * The subject line of the meeting.\n */\n subject?: string;\n\n /**\n * The body content of the meeting.\n */\n content?: string;\n};\n\n/**\n * Open calendar item parameters.\n */\nexport type OpenCalendarItemParams = {\n /**\n * An unique base64-encoded string id that represents the event's unique identifier of the calendar item to be opened.\n */\n itemId: string;\n};\n\nexport class CalendarClient {\n readonly window: WindowClient;\n\n constructor(client: WindowClient) {\n this.window = client;\n }\n\n async composeMeeting(params: ComposeCalendarMeetingParams) {\n await this.window.send('calendar.composeMeeting', params);\n }\n\n async openItem(params: OpenCalendarItemParams) {\n await this.window.send('calendar.openCalendarItem', params);\n }\n}\n"]}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
class CalendarClient {
|
|
2
|
-
window;
|
|
3
|
-
constructor(client) {
|
|
4
|
-
this.window = client;
|
|
5
|
-
}
|
|
6
|
-
async composeMeeting(params) {
|
|
7
|
-
await this.window.send("calendar.composeMeeting", params);
|
|
8
|
-
}
|
|
9
|
-
async openItem(params) {
|
|
10
|
-
await this.window.send("calendar.openCalendarItem", params);
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export { CalendarClient };
|
|
15
|
-
//# sourceMappingURL=calendar.mjs.map
|
|
16
|
-
//# sourceMappingURL=calendar.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/window/clients/calendar.ts"],"names":[],"mappings":"AA0CO,MAAM,cAAe,CAAA;AAAA,EACjB,MAAA;AAAA,EAET,YAAY,MAAsB,EAAA;AAChC,IAAA,IAAA,CAAK,MAAS,GAAA,MAAA;AAAA;AAChB,EAEA,MAAM,eAAe,MAAsC,EAAA;AACzD,IAAA,MAAM,IAAK,CAAA,MAAA,CAAO,IAAK,CAAA,yBAAA,EAA2B,MAAM,CAAA;AAAA;AAC1D,EAEA,MAAM,SAAS,MAAgC,EAAA;AAC7C,IAAA,MAAM,IAAK,CAAA,MAAA,CAAO,IAAK,CAAA,2BAAA,EAA6B,MAAM,CAAA;AAAA;AAE9D","file":"calendar.mjs","sourcesContent":["import { WindowClient } from '../window-client';\n\n/**\n * Compose meeting parameters\n */\nexport type ComposeCalendarMeetingParams = {\n /**\n * An array of email addresses, user name, or user id of the attendees to invite to the meeting.\n */\n attendees?: string[];\n\n /**\n * The start time of the meeting in MM/DD/YYYY HH:MM:SS format.\n */\n startTime?: string;\n\n /**\n * The end time of the meeting in MM/DD/YYYY HH:MM:SS format.\n */\n endTime?: string;\n\n /**\n * The subject line of the meeting.\n */\n subject?: string;\n\n /**\n * The body content of the meeting.\n */\n content?: string;\n};\n\n/**\n * Open calendar item parameters.\n */\nexport type OpenCalendarItemParams = {\n /**\n * An unique base64-encoded string id that represents the event's unique identifier of the calendar item to be opened.\n */\n itemId: string;\n};\n\nexport class CalendarClient {\n readonly window: WindowClient;\n\n constructor(client: WindowClient) {\n this.window = client;\n }\n\n async composeMeeting(params: ComposeCalendarMeetingParams) {\n await this.window.send('calendar.composeMeeting', params);\n }\n\n async openItem(params: OpenCalendarItemParams) {\n await this.window.send('calendar.openCalendarItem', params);\n }\n}\n"]}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { WindowClient } from '../window-client.mjs';
|
|
2
|
-
import { CallModality } from '../types/call-modality.mjs';
|
|
3
|
-
import '@microsoft/teams.common';
|
|
4
|
-
import '../message.mjs';
|
|
5
|
-
import '../client-error.mjs';
|
|
6
|
-
|
|
7
|
-
type StartCallParams = {
|
|
8
|
-
/**
|
|
9
|
-
* Comma-separated list of user IDs representing the participants of the call.
|
|
10
|
-
*
|
|
11
|
-
* @remarks
|
|
12
|
-
* Currently the User ID field supports the Microsoft Entra UserPrincipalName,
|
|
13
|
-
* typically an email address, or in case of a PSTN call, it supports a pstn
|
|
14
|
-
* mri 4:\<phonenumber>.
|
|
15
|
-
*/
|
|
16
|
-
targets: string[];
|
|
17
|
-
/**
|
|
18
|
-
* List of modalities for the call. Defaults to [“audio”].
|
|
19
|
-
*/
|
|
20
|
-
requestedModalities?: CallModality[];
|
|
21
|
-
/**
|
|
22
|
-
* An optional parameter that informs about the source of the deep link
|
|
23
|
-
*/
|
|
24
|
-
source?: string;
|
|
25
|
-
};
|
|
26
|
-
declare class CallClient {
|
|
27
|
-
readonly window: WindowClient;
|
|
28
|
-
constructor(client: WindowClient);
|
|
29
|
-
start(params: StartCallParams): Promise<boolean>;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
export { CallClient, type StartCallParams };
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { WindowClient } from '../window-client.js';
|
|
2
|
-
import { CallModality } from '../types/call-modality.js';
|
|
3
|
-
import '@microsoft/teams.common';
|
|
4
|
-
import '../message.js';
|
|
5
|
-
import '../client-error.js';
|
|
6
|
-
|
|
7
|
-
type StartCallParams = {
|
|
8
|
-
/**
|
|
9
|
-
* Comma-separated list of user IDs representing the participants of the call.
|
|
10
|
-
*
|
|
11
|
-
* @remarks
|
|
12
|
-
* Currently the User ID field supports the Microsoft Entra UserPrincipalName,
|
|
13
|
-
* typically an email address, or in case of a PSTN call, it supports a pstn
|
|
14
|
-
* mri 4:\<phonenumber>.
|
|
15
|
-
*/
|
|
16
|
-
targets: string[];
|
|
17
|
-
/**
|
|
18
|
-
* List of modalities for the call. Defaults to [“audio”].
|
|
19
|
-
*/
|
|
20
|
-
requestedModalities?: CallModality[];
|
|
21
|
-
/**
|
|
22
|
-
* An optional parameter that informs about the source of the deep link
|
|
23
|
-
*/
|
|
24
|
-
source?: string;
|
|
25
|
-
};
|
|
26
|
-
declare class CallClient {
|
|
27
|
-
readonly window: WindowClient;
|
|
28
|
-
constructor(client: WindowClient);
|
|
29
|
-
start(params: StartCallParams): Promise<boolean>;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
export { CallClient, type StartCallParams };
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
class CallClient {
|
|
4
|
-
window;
|
|
5
|
-
constructor(client) {
|
|
6
|
-
this.window = client;
|
|
7
|
-
}
|
|
8
|
-
async start(params) {
|
|
9
|
-
const [ok] = await this.window.send("call.startCall", params);
|
|
10
|
-
return ok;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
exports.CallClient = CallClient;
|
|
15
|
-
//# sourceMappingURL=call.js.map
|
|
16
|
-
//# sourceMappingURL=call.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/window/clients/call.ts"],"names":[],"mappings":";;AAyBO,MAAM,UAAW,CAAA;AAAA,EACb,MAAA;AAAA,EAET,YAAY,MAAsB,EAAA;AAChC,IAAA,IAAA,CAAK,MAAS,GAAA,MAAA;AAAA;AAChB,EAEA,MAAM,MAAM,MAAyB,EAAA;AACnC,IAAM,MAAA,CAAC,EAAE,CAAI,GAAA,MAAM,KAAK,MAAO,CAAA,IAAA,CAAgB,kBAAkB,MAAM,CAAA;AAEvE,IAAO,OAAA,EAAA;AAAA;AAEX","file":"call.js","sourcesContent":["import { WindowClient } from '../window-client';\nimport { CallModality } from '../types';\n\nexport type StartCallParams = {\n /**\n * Comma-separated list of user IDs representing the participants of the call.\n *\n * @remarks\n * Currently the User ID field supports the Microsoft Entra UserPrincipalName,\n * typically an email address, or in case of a PSTN call, it supports a pstn\n * mri 4:\\<phonenumber>.\n */\n targets: string[];\n\n /**\n * List of modalities for the call. Defaults to [“audio”].\n */\n requestedModalities?: CallModality[];\n\n /**\n * An optional parameter that informs about the source of the deep link\n */\n source?: string;\n};\n\nexport class CallClient {\n readonly window: WindowClient;\n\n constructor(client: WindowClient) {\n this.window = client;\n }\n\n async start(params: StartCallParams) {\n const [ok] = await this.window.send<[boolean]>('call.startCall', params);\n\n return ok;\n }\n}\n"]}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
class CallClient {
|
|
2
|
-
window;
|
|
3
|
-
constructor(client) {
|
|
4
|
-
this.window = client;
|
|
5
|
-
}
|
|
6
|
-
async start(params) {
|
|
7
|
-
const [ok] = await this.window.send("call.startCall", params);
|
|
8
|
-
return ok;
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
export { CallClient };
|
|
13
|
-
//# sourceMappingURL=call.mjs.map
|
|
14
|
-
//# sourceMappingURL=call.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/window/clients/call.ts"],"names":[],"mappings":"AAyBO,MAAM,UAAW,CAAA;AAAA,EACb,MAAA;AAAA,EAET,YAAY,MAAsB,EAAA;AAChC,IAAA,IAAA,CAAK,MAAS,GAAA,MAAA;AAAA;AAChB,EAEA,MAAM,MAAM,MAAyB,EAAA;AACnC,IAAM,MAAA,CAAC,EAAE,CAAI,GAAA,MAAM,KAAK,MAAO,CAAA,IAAA,CAAgB,kBAAkB,MAAM,CAAA;AAEvE,IAAO,OAAA,EAAA;AAAA;AAEX","file":"call.mjs","sourcesContent":["import { WindowClient } from '../window-client';\nimport { CallModality } from '../types';\n\nexport type StartCallParams = {\n /**\n * Comma-separated list of user IDs representing the participants of the call.\n *\n * @remarks\n * Currently the User ID field supports the Microsoft Entra UserPrincipalName,\n * typically an email address, or in case of a PSTN call, it supports a pstn\n * mri 4:\\<phonenumber>.\n */\n targets: string[];\n\n /**\n * List of modalities for the call. Defaults to [“audio”].\n */\n requestedModalities?: CallModality[];\n\n /**\n * An optional parameter that informs about the source of the deep link\n */\n source?: string;\n};\n\nexport class CallClient {\n readonly window: WindowClient;\n\n constructor(client: WindowClient) {\n this.window = client;\n }\n\n async start(params: StartCallParams) {\n const [ok] = await this.window.send<[boolean]>('call.startCall', params);\n\n return ok;\n }\n}\n"]}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { WindowClient } from '../window-client.mjs';
|
|
2
|
-
import '@microsoft/teams.common';
|
|
3
|
-
import '../message.mjs';
|
|
4
|
-
import '../client-error.mjs';
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* Currently supported Mime type
|
|
8
|
-
*/
|
|
9
|
-
type ClipboardMimeType = 'text/plain' | 'text/html' | 'image/png' | 'image/jpeg';
|
|
10
|
-
/**
|
|
11
|
-
* Clipboard write parameters
|
|
12
|
-
*/
|
|
13
|
-
type ClipboardWriteParams = {
|
|
14
|
-
/** Mime Type of data to be copied to Clipboard */
|
|
15
|
-
mimeType: ClipboardMimeType;
|
|
16
|
-
/** Blob content in Base64 string format */
|
|
17
|
-
content: string;
|
|
18
|
-
};
|
|
19
|
-
declare class ClipboardClient {
|
|
20
|
-
readonly window: WindowClient;
|
|
21
|
-
constructor(client: WindowClient);
|
|
22
|
-
read(): Promise<string | Blob>;
|
|
23
|
-
write(params: ClipboardWriteParams): Promise<void>;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
export { ClipboardClient, type ClipboardMimeType, type ClipboardWriteParams };
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { WindowClient } from '../window-client.js';
|
|
2
|
-
import '@microsoft/teams.common';
|
|
3
|
-
import '../message.js';
|
|
4
|
-
import '../client-error.js';
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* Currently supported Mime type
|
|
8
|
-
*/
|
|
9
|
-
type ClipboardMimeType = 'text/plain' | 'text/html' | 'image/png' | 'image/jpeg';
|
|
10
|
-
/**
|
|
11
|
-
* Clipboard write parameters
|
|
12
|
-
*/
|
|
13
|
-
type ClipboardWriteParams = {
|
|
14
|
-
/** Mime Type of data to be copied to Clipboard */
|
|
15
|
-
mimeType: ClipboardMimeType;
|
|
16
|
-
/** Blob content in Base64 string format */
|
|
17
|
-
content: string;
|
|
18
|
-
};
|
|
19
|
-
declare class ClipboardClient {
|
|
20
|
-
readonly window: WindowClient;
|
|
21
|
-
constructor(client: WindowClient);
|
|
22
|
-
read(): Promise<string | Blob>;
|
|
23
|
-
write(params: ClipboardWriteParams): Promise<void>;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
export { ClipboardClient, type ClipboardMimeType, type ClipboardWriteParams };
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
class ClipboardClient {
|
|
4
|
-
window;
|
|
5
|
-
constructor(client) {
|
|
6
|
-
this.window = client;
|
|
7
|
-
}
|
|
8
|
-
async read() {
|
|
9
|
-
const [res] = await this.window.send("clipboard.readFromClipboard");
|
|
10
|
-
return res;
|
|
11
|
-
}
|
|
12
|
-
async write(params) {
|
|
13
|
-
await this.window.send("clipboard.writeToClipboard", params);
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
exports.ClipboardClient = ClipboardClient;
|
|
18
|
-
//# sourceMappingURL=clipboard.js.map
|
|
19
|
-
//# sourceMappingURL=clipboard.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/window/clients/clipboard.ts"],"names":[],"mappings":";;AAkBO,MAAM,eAAgB,CAAA;AAAA,EAClB,MAAA;AAAA,EAET,YAAY,MAAsB,EAAA;AAChC,IAAA,IAAA,CAAK,MAAS,GAAA,MAAA;AAAA;AAChB,EAEA,MAAM,IAAO,GAAA;AACX,IAAA,MAAM,CAAC,GAAG,CAAA,GAAI,MAAM,IAAK,CAAA,MAAA,CAAO,KAAsB,6BAA6B,CAAA;AACnF,IAAO,OAAA,GAAA;AAAA;AACT,EAEA,MAAM,MAAM,MAA8B,EAAA;AACxC,IAAA,MAAM,IAAK,CAAA,MAAA,CAAO,IAAK,CAAA,4BAAA,EAA8B,MAAM,CAAA;AAAA;AAE/D","file":"clipboard.js","sourcesContent":["import { WindowClient } from '../window-client';\n\n/**\n * Currently supported Mime type\n */\nexport type ClipboardMimeType = 'text/plain' | 'text/html' | 'image/png' | 'image/jpeg';\n\n/**\n * Clipboard write parameters\n */\nexport type ClipboardWriteParams = {\n /** Mime Type of data to be copied to Clipboard */\n mimeType: ClipboardMimeType;\n\n /** Blob content in Base64 string format */\n content: string;\n};\n\nexport class ClipboardClient {\n readonly window: WindowClient;\n\n constructor(client: WindowClient) {\n this.window = client;\n }\n\n async read() {\n const [res] = await this.window.send<[string | Blob]>('clipboard.readFromClipboard');\n return res;\n }\n\n async write(params: ClipboardWriteParams) {\n await this.window.send('clipboard.writeToClipboard', params);\n }\n}\n"]}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
class ClipboardClient {
|
|
2
|
-
window;
|
|
3
|
-
constructor(client) {
|
|
4
|
-
this.window = client;
|
|
5
|
-
}
|
|
6
|
-
async read() {
|
|
7
|
-
const [res] = await this.window.send("clipboard.readFromClipboard");
|
|
8
|
-
return res;
|
|
9
|
-
}
|
|
10
|
-
async write(params) {
|
|
11
|
-
await this.window.send("clipboard.writeToClipboard", params);
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export { ClipboardClient };
|
|
16
|
-
//# sourceMappingURL=clipboard.mjs.map
|
|
17
|
-
//# sourceMappingURL=clipboard.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/window/clients/clipboard.ts"],"names":[],"mappings":"AAkBO,MAAM,eAAgB,CAAA;AAAA,EAClB,MAAA;AAAA,EAET,YAAY,MAAsB,EAAA;AAChC,IAAA,IAAA,CAAK,MAAS,GAAA,MAAA;AAAA;AAChB,EAEA,MAAM,IAAO,GAAA;AACX,IAAA,MAAM,CAAC,GAAG,CAAA,GAAI,MAAM,IAAK,CAAA,MAAA,CAAO,KAAsB,6BAA6B,CAAA;AACnF,IAAO,OAAA,GAAA;AAAA;AACT,EAEA,MAAM,MAAM,MAA8B,EAAA;AACxC,IAAA,MAAM,IAAK,CAAA,MAAA,CAAO,IAAK,CAAA,4BAAA,EAA8B,MAAM,CAAA;AAAA;AAE/D","file":"clipboard.mjs","sourcesContent":["import { WindowClient } from '../window-client';\n\n/**\n * Currently supported Mime type\n */\nexport type ClipboardMimeType = 'text/plain' | 'text/html' | 'image/png' | 'image/jpeg';\n\n/**\n * Clipboard write parameters\n */\nexport type ClipboardWriteParams = {\n /** Mime Type of data to be copied to Clipboard */\n mimeType: ClipboardMimeType;\n\n /** Blob content in Base64 string format */\n content: string;\n};\n\nexport class ClipboardClient {\n readonly window: WindowClient;\n\n constructor(client: WindowClient) {\n this.window = client;\n }\n\n async read() {\n const [res] = await this.window.send<[string | Blob]>('clipboard.readFromClipboard');\n return res;\n }\n\n async write(params: ClipboardWriteParams) {\n await this.window.send('clipboard.writeToClipboard', params);\n }\n}\n"]}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { ThreadMember } from '../types/thread-member.mjs';
|
|
2
|
-
import { WindowClient } from '../window-client.mjs';
|
|
3
|
-
import '@microsoft/teams.common';
|
|
4
|
-
import '../message.mjs';
|
|
5
|
-
import '../client-error.mjs';
|
|
6
|
-
|
|
7
|
-
type OpenConversationParams = {
|
|
8
|
-
/**
|
|
9
|
-
* The Id of the subEntity where the conversation is taking place
|
|
10
|
-
*/
|
|
11
|
-
subEntityId: string;
|
|
12
|
-
/**
|
|
13
|
-
* The title of the conversation
|
|
14
|
-
*/
|
|
15
|
-
title: string;
|
|
16
|
-
/**
|
|
17
|
-
* The Id of the conversation. This is optional and should be specified whenever a previous conversation about a specific sub-entity has already been started before
|
|
18
|
-
*/
|
|
19
|
-
conversationId?: string;
|
|
20
|
-
/**
|
|
21
|
-
* The Id of the channel. This is optional and should be specified whenever a conversation is started or opened in a personal app scope
|
|
22
|
-
*/
|
|
23
|
-
channelId?: string;
|
|
24
|
-
/**
|
|
25
|
-
* The entity Id of the tab
|
|
26
|
-
*/
|
|
27
|
-
entityId: string;
|
|
28
|
-
};
|
|
29
|
-
type CreateConversationParams = {
|
|
30
|
-
/**
|
|
31
|
-
* Array containing [Microsoft Entra UPNs](https://learn.microsoft.com/entra/identity/hybrid/connect/plan-connect-userprincipalname) (usually but not always an e-mail address)
|
|
32
|
-
* of users with whom to begin a chat
|
|
33
|
-
*/
|
|
34
|
-
members: string[];
|
|
35
|
-
/**
|
|
36
|
-
* An optional message used when initiating chat
|
|
37
|
-
*/
|
|
38
|
-
message?: string;
|
|
39
|
-
/**
|
|
40
|
-
* The display name of a conversation for 3 or more users (chats with fewer than three users will ignore this field)
|
|
41
|
-
*/
|
|
42
|
-
topic?: string;
|
|
43
|
-
};
|
|
44
|
-
declare class ConversationsClient {
|
|
45
|
-
readonly window: WindowClient;
|
|
46
|
-
constructor(client: WindowClient);
|
|
47
|
-
open(params: OpenConversationParams): Promise<void>;
|
|
48
|
-
close(): Promise<void>;
|
|
49
|
-
create(params: CreateConversationParams): Promise<void>;
|
|
50
|
-
getMembers(): Promise<ThreadMember[]>;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
export { ConversationsClient, type CreateConversationParams, type OpenConversationParams };
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { ThreadMember } from '../types/thread-member.js';
|
|
2
|
-
import { WindowClient } from '../window-client.js';
|
|
3
|
-
import '@microsoft/teams.common';
|
|
4
|
-
import '../message.js';
|
|
5
|
-
import '../client-error.js';
|
|
6
|
-
|
|
7
|
-
type OpenConversationParams = {
|
|
8
|
-
/**
|
|
9
|
-
* The Id of the subEntity where the conversation is taking place
|
|
10
|
-
*/
|
|
11
|
-
subEntityId: string;
|
|
12
|
-
/**
|
|
13
|
-
* The title of the conversation
|
|
14
|
-
*/
|
|
15
|
-
title: string;
|
|
16
|
-
/**
|
|
17
|
-
* The Id of the conversation. This is optional and should be specified whenever a previous conversation about a specific sub-entity has already been started before
|
|
18
|
-
*/
|
|
19
|
-
conversationId?: string;
|
|
20
|
-
/**
|
|
21
|
-
* The Id of the channel. This is optional and should be specified whenever a conversation is started or opened in a personal app scope
|
|
22
|
-
*/
|
|
23
|
-
channelId?: string;
|
|
24
|
-
/**
|
|
25
|
-
* The entity Id of the tab
|
|
26
|
-
*/
|
|
27
|
-
entityId: string;
|
|
28
|
-
};
|
|
29
|
-
type CreateConversationParams = {
|
|
30
|
-
/**
|
|
31
|
-
* Array containing [Microsoft Entra UPNs](https://learn.microsoft.com/entra/identity/hybrid/connect/plan-connect-userprincipalname) (usually but not always an e-mail address)
|
|
32
|
-
* of users with whom to begin a chat
|
|
33
|
-
*/
|
|
34
|
-
members: string[];
|
|
35
|
-
/**
|
|
36
|
-
* An optional message used when initiating chat
|
|
37
|
-
*/
|
|
38
|
-
message?: string;
|
|
39
|
-
/**
|
|
40
|
-
* The display name of a conversation for 3 or more users (chats with fewer than three users will ignore this field)
|
|
41
|
-
*/
|
|
42
|
-
topic?: string;
|
|
43
|
-
};
|
|
44
|
-
declare class ConversationsClient {
|
|
45
|
-
readonly window: WindowClient;
|
|
46
|
-
constructor(client: WindowClient);
|
|
47
|
-
open(params: OpenConversationParams): Promise<void>;
|
|
48
|
-
close(): Promise<void>;
|
|
49
|
-
create(params: CreateConversationParams): Promise<void>;
|
|
50
|
-
getMembers(): Promise<ThreadMember[]>;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
export { ConversationsClient, type CreateConversationParams, type OpenConversationParams };
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
class ConversationsClient {
|
|
4
|
-
window;
|
|
5
|
-
constructor(client) {
|
|
6
|
-
this.window = client;
|
|
7
|
-
}
|
|
8
|
-
async open(params) {
|
|
9
|
-
await this.window.send("conversations.openConversation", params);
|
|
10
|
-
}
|
|
11
|
-
async close() {
|
|
12
|
-
await this.window.send("conversations.closeConversation");
|
|
13
|
-
}
|
|
14
|
-
async create(params) {
|
|
15
|
-
await this.window.send("chat.openChat", params);
|
|
16
|
-
}
|
|
17
|
-
async getMembers() {
|
|
18
|
-
const [{ members }] = await this.window.send("getChatMembers");
|
|
19
|
-
return members;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
exports.ConversationsClient = ConversationsClient;
|
|
24
|
-
//# sourceMappingURL=conversation.js.map
|
|
25
|
-
//# sourceMappingURL=conversation.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/window/clients/conversation.ts"],"names":[],"mappings":";;AAgDO,MAAM,mBAAoB,CAAA;AAAA,EACtB,MAAA;AAAA,EAET,YAAY,MAAsB,EAAA;AAChC,IAAA,IAAA,CAAK,MAAS,GAAA,MAAA;AAAA;AAChB,EAEA,MAAM,KAAK,MAAgC,EAAA;AACzC,IAAA,MAAM,IAAK,CAAA,MAAA,CAAO,IAAK,CAAA,gCAAA,EAAkC,MAAM,CAAA;AAAA;AACjE,EAEA,MAAM,KAAQ,GAAA;AACZ,IAAM,MAAA,IAAA,CAAK,MAAO,CAAA,IAAA,CAAK,iCAAiC,CAAA;AAAA;AAC1D,EAEA,MAAM,OAAO,MAAkC,EAAA;AAC7C,IAAA,MAAM,IAAK,CAAA,MAAA,CAAO,IAAK,CAAA,eAAA,EAAiB,MAAM,CAAA;AAAA;AAChD,EAEA,MAAM,UAAa,GAAA;AACjB,IAAM,MAAA,CAAC,EAAE,OAAQ,EAAC,IAChB,MAAM,IAAA,CAAK,MAAO,CAAA,IAAA,CAAyC,gBAAgB,CAAA;AAE7E,IAAO,OAAA,OAAA;AAAA;AAEX","file":"conversation.js","sourcesContent":["import { ThreadMember } from '../types';\nimport { WindowClient } from '../window-client';\n\nexport type OpenConversationParams = {\n /**\n * The Id of the subEntity where the conversation is taking place\n */\n subEntityId: string;\n\n /**\n * The title of the conversation\n */\n title: string;\n\n /**\n * The Id of the conversation. This is optional and should be specified whenever a previous conversation about a specific sub-entity has already been started before\n */\n conversationId?: string;\n\n /**\n * The Id of the channel. This is optional and should be specified whenever a conversation is started or opened in a personal app scope\n */\n channelId?: string;\n\n /**\n * The entity Id of the tab\n */\n entityId: string;\n};\n\nexport type CreateConversationParams = {\n /**\n * Array containing [Microsoft Entra UPNs](https://learn.microsoft.com/entra/identity/hybrid/connect/plan-connect-userprincipalname) (usually but not always an e-mail address)\n * of users with whom to begin a chat\n */\n members: string[];\n\n /**\n * An optional message used when initiating chat\n */\n message?: string;\n\n /**\n * The display name of a conversation for 3 or more users (chats with fewer than three users will ignore this field)\n */\n topic?: string;\n};\n\nexport class ConversationsClient {\n readonly window: WindowClient;\n\n constructor(client: WindowClient) {\n this.window = client;\n }\n\n async open(params: OpenConversationParams) {\n await this.window.send('conversations.openConversation', params);\n }\n\n async close() {\n await this.window.send('conversations.closeConversation');\n }\n\n async create(params: CreateConversationParams) {\n await this.window.send('chat.openChat', params);\n }\n\n async getMembers() {\n const [{ members }] =\n await this.window.send<[{ members: Array<ThreadMember> }]>('getChatMembers');\n\n return members;\n }\n}\n"]}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
class ConversationsClient {
|
|
2
|
-
window;
|
|
3
|
-
constructor(client) {
|
|
4
|
-
this.window = client;
|
|
5
|
-
}
|
|
6
|
-
async open(params) {
|
|
7
|
-
await this.window.send("conversations.openConversation", params);
|
|
8
|
-
}
|
|
9
|
-
async close() {
|
|
10
|
-
await this.window.send("conversations.closeConversation");
|
|
11
|
-
}
|
|
12
|
-
async create(params) {
|
|
13
|
-
await this.window.send("chat.openChat", params);
|
|
14
|
-
}
|
|
15
|
-
async getMembers() {
|
|
16
|
-
const [{ members }] = await this.window.send("getChatMembers");
|
|
17
|
-
return members;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
export { ConversationsClient };
|
|
22
|
-
//# sourceMappingURL=conversation.mjs.map
|
|
23
|
-
//# sourceMappingURL=conversation.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/window/clients/conversation.ts"],"names":[],"mappings":"AAgDO,MAAM,mBAAoB,CAAA;AAAA,EACtB,MAAA;AAAA,EAET,YAAY,MAAsB,EAAA;AAChC,IAAA,IAAA,CAAK,MAAS,GAAA,MAAA;AAAA;AAChB,EAEA,MAAM,KAAK,MAAgC,EAAA;AACzC,IAAA,MAAM,IAAK,CAAA,MAAA,CAAO,IAAK,CAAA,gCAAA,EAAkC,MAAM,CAAA;AAAA;AACjE,EAEA,MAAM,KAAQ,GAAA;AACZ,IAAM,MAAA,IAAA,CAAK,MAAO,CAAA,IAAA,CAAK,iCAAiC,CAAA;AAAA;AAC1D,EAEA,MAAM,OAAO,MAAkC,EAAA;AAC7C,IAAA,MAAM,IAAK,CAAA,MAAA,CAAO,IAAK,CAAA,eAAA,EAAiB,MAAM,CAAA;AAAA;AAChD,EAEA,MAAM,UAAa,GAAA;AACjB,IAAM,MAAA,CAAC,EAAE,OAAQ,EAAC,IAChB,MAAM,IAAA,CAAK,MAAO,CAAA,IAAA,CAAyC,gBAAgB,CAAA;AAE7E,IAAO,OAAA,OAAA;AAAA;AAEX","file":"conversation.mjs","sourcesContent":["import { ThreadMember } from '../types';\nimport { WindowClient } from '../window-client';\n\nexport type OpenConversationParams = {\n /**\n * The Id of the subEntity where the conversation is taking place\n */\n subEntityId: string;\n\n /**\n * The title of the conversation\n */\n title: string;\n\n /**\n * The Id of the conversation. This is optional and should be specified whenever a previous conversation about a specific sub-entity has already been started before\n */\n conversationId?: string;\n\n /**\n * The Id of the channel. This is optional and should be specified whenever a conversation is started or opened in a personal app scope\n */\n channelId?: string;\n\n /**\n * The entity Id of the tab\n */\n entityId: string;\n};\n\nexport type CreateConversationParams = {\n /**\n * Array containing [Microsoft Entra UPNs](https://learn.microsoft.com/entra/identity/hybrid/connect/plan-connect-userprincipalname) (usually but not always an e-mail address)\n * of users with whom to begin a chat\n */\n members: string[];\n\n /**\n * An optional message used when initiating chat\n */\n message?: string;\n\n /**\n * The display name of a conversation for 3 or more users (chats with fewer than three users will ignore this field)\n */\n topic?: string;\n};\n\nexport class ConversationsClient {\n readonly window: WindowClient;\n\n constructor(client: WindowClient) {\n this.window = client;\n }\n\n async open(params: OpenConversationParams) {\n await this.window.send('conversations.openConversation', params);\n }\n\n async close() {\n await this.window.send('conversations.closeConversation');\n }\n\n async create(params: CreateConversationParams) {\n await this.window.send('chat.openChat', params);\n }\n\n async getMembers() {\n const [{ members }] =\n await this.window.send<[{ members: Array<ThreadMember> }]>('getChatMembers');\n\n return members;\n }\n}\n"]}
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
import { WindowClient } from '../window-client.mjs';
|
|
2
|
-
import { DialogSize } from '../types/dialog/dialog-size.mjs';
|
|
3
|
-
import '@microsoft/teams.common';
|
|
4
|
-
import '../message.mjs';
|
|
5
|
-
import '../client-error.mjs';
|
|
6
|
-
import '../types/dialog/dialog-dimension.mjs';
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* Shared Dialog Properties
|
|
10
|
-
*/
|
|
11
|
-
type BaseDialogParams = {
|
|
12
|
-
/**
|
|
13
|
-
* Title of the dialog module.
|
|
14
|
-
*/
|
|
15
|
-
title?: string;
|
|
16
|
-
/**
|
|
17
|
-
* The requested size of the dialog
|
|
18
|
-
*/
|
|
19
|
-
size: DialogSize;
|
|
20
|
-
};
|
|
21
|
-
/**
|
|
22
|
-
* Data structure to describe dialog information needed to open an Adaptive Card-based dialog.
|
|
23
|
-
*/
|
|
24
|
-
type AdaptiveCardDialogParams = BaseDialogParams & {
|
|
25
|
-
/**
|
|
26
|
-
* JSON defining an Adaptive Card.
|
|
27
|
-
*/
|
|
28
|
-
card: string;
|
|
29
|
-
};
|
|
30
|
-
/**
|
|
31
|
-
* Data structure to describe dialog information needed to open a bot-based Adaptive Card-based dialog.
|
|
32
|
-
*/
|
|
33
|
-
type BotAdaptiveCardDialogParams = AdaptiveCardDialogParams & {
|
|
34
|
-
/**
|
|
35
|
-
* Specifies a bot ID to send the result of the user's interaction with the dialog module.
|
|
36
|
-
* The bot will receive a task/complete invoke event with a JSON object
|
|
37
|
-
* in the event payload.
|
|
38
|
-
*/
|
|
39
|
-
completionBotId: string;
|
|
40
|
-
};
|
|
41
|
-
/**
|
|
42
|
-
* Data structure to describe dialog information needed to open a url-based dialog.
|
|
43
|
-
*/
|
|
44
|
-
type UrlDialogParams = BaseDialogParams & {
|
|
45
|
-
/**
|
|
46
|
-
* The url to be rendered in the webview/iframe.
|
|
47
|
-
*
|
|
48
|
-
* @remarks
|
|
49
|
-
* The domain of the url must match at least one of the
|
|
50
|
-
* valid domains specified in the [validDomains block](https://learn.microsoft.com/microsoftteams/platform/resources/schema/manifest-schema#validdomains) of the app manifest
|
|
51
|
-
*/
|
|
52
|
-
url: string;
|
|
53
|
-
/**
|
|
54
|
-
* If client doesnt support the URL, the URL that needs to be opened in the browser.
|
|
55
|
-
*/
|
|
56
|
-
fallbackUrl?: string;
|
|
57
|
-
};
|
|
58
|
-
/**
|
|
59
|
-
* Data structure to describe dialog information needed to open a bot based dialog.
|
|
60
|
-
*/
|
|
61
|
-
type BotUrlDialogParams = UrlDialogParams & {
|
|
62
|
-
/**
|
|
63
|
-
* Specifies a bot ID to send the result of the user's interaction with the task module.
|
|
64
|
-
* The bot will receive a task/complete invoke event with a JSON object
|
|
65
|
-
* in the event payload.
|
|
66
|
-
*/
|
|
67
|
-
completionBotId: string;
|
|
68
|
-
};
|
|
69
|
-
type DialogParams = AdaptiveCardDialogParams | BotAdaptiveCardDialogParams | UrlDialogParams | BotUrlDialogParams;
|
|
70
|
-
declare class DialogClient {
|
|
71
|
-
readonly window: WindowClient;
|
|
72
|
-
constructor(client: WindowClient);
|
|
73
|
-
open(params: DialogParams): Promise<{
|
|
74
|
-
err: string | undefined;
|
|
75
|
-
result: string | object;
|
|
76
|
-
}>;
|
|
77
|
-
submit(result?: string | object, appIds?: string | string[]): Promise<void>;
|
|
78
|
-
update(size: DialogSize): Promise<void>;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
export { type AdaptiveCardDialogParams, type BotAdaptiveCardDialogParams, type BotUrlDialogParams, DialogClient, type DialogParams, type UrlDialogParams };
|