@microsoft/teams-js 2.10.0-beta.2 → 2.10.0-beta.3

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.
@@ -3738,11 +3738,11 @@ export namespace app {
3738
3738
  */
3739
3739
  interface AppHostInfo {
3740
3740
  /**
3741
- * The name of the host client. Possible values are: Office, Orange, Outlook, Teams
3741
+ * Identifies which host is running your app
3742
3742
  */
3743
3743
  name: HostName;
3744
3744
  /**
3745
- * The type of the host client. Possible values are : android, ios, web, desktop, rigel
3745
+ * The client type on which the host is running
3746
3746
  */
3747
3747
  clientType: HostClientType;
3748
3748
  /**
@@ -3898,7 +3898,7 @@ export namespace app {
3898
3898
  isPSTNCallingAllowed?: boolean;
3899
3899
  /**
3900
3900
  * The license type for the current user. Possible values are:
3901
- * "Unknown", "Teacher", "Student", "Free", "SmbBusinessVoice", "SmbNonVoice", "FrontlineWorker"
3901
+ * "Unknown", "Teacher", "Student", "Free", "SmbBusinessVoice", "SmbNonVoice", "FrontlineWorker", "Anonymous"
3902
3902
  */
3903
3903
  licenseType?: string;
3904
3904
  /**
@@ -6382,24 +6382,54 @@ export namespace mail {
6382
6382
  Forward = "forward"
6383
6383
  }
6384
6384
  /**
6385
- * Base of a discriminated union between compose scenarios.
6385
+ * Foundational interface for all other mail compose interfaces
6386
+ * Used for holding the type of mail item being composed
6387
+ *
6388
+ * @see {@link ComposeMailType}
6386
6389
  */
6387
6390
  interface ComposeMailBase<T extends ComposeMailType> {
6388
6391
  type: T;
6389
6392
  }
6390
6393
  /**
6391
- * Interfaces for each type.
6394
+ * Parameters supplied when composing a new mail item
6392
6395
  */
6393
6396
  export interface ComposeNewParams extends ComposeMailBase<ComposeMailType.New> {
6397
+ /**
6398
+ * The To: recipients for the message
6399
+ */
6394
6400
  toRecipients?: string[];
6401
+ /**
6402
+ * The Cc: recipients for the message
6403
+ */
6395
6404
  ccRecipients?: string[];
6405
+ /**
6406
+ * The Bcc: recipients for the message
6407
+ */
6396
6408
  bccRecipients?: string[];
6409
+ /**
6410
+ * The subject of the message
6411
+ */
6397
6412
  subject?: string;
6413
+ /**
6414
+ * The body of the message
6415
+ */
6398
6416
  message?: string;
6399
6417
  }
6418
+ /**
6419
+ * Parameters supplied when composing a reply to or forward of a message
6420
+ *
6421
+ * @see {@link ComposeMailType}
6422
+ */
6400
6423
  export interface ComposeReplyOrForwardParams<T extends ComposeMailType> extends ComposeMailBase<T> {
6401
6424
  itemid: string;
6402
6425
  }
6426
+ /**
6427
+ * Parameters supplied to {@link composeMail} when composing a new mail item
6428
+ *
6429
+ * @see {@link ComposeNewParams}
6430
+ * @see {@link ComposeReplyOrForwardParams}
6431
+ * @see {@link ComposeMailType}
6432
+ */
6403
6433
  export type ComposeMailParams = ComposeNewParams | ComposeReplyOrForwardParams<ComposeMailType.Reply> | ComposeReplyOrForwardParams<ComposeMailType.ReplyAll> | ComposeReplyOrForwardParams<ComposeMailType.Forward>;
6404
6434
  export {};
6405
6435
  }
@@ -6738,11 +6768,11 @@ export namespace video {
6738
6768
  /**
6739
6769
  * Current video effect changed
6740
6770
  */
6741
- EffectChanged = 0,
6771
+ EffectChanged = "EffectChanged",
6742
6772
  /**
6743
6773
  * Disable the video effect
6744
6774
  */
6745
- EffectDisabled = 1
6775
+ EffectDisabled = "EffectDisabled"
6746
6776
  }
6747
6777
  /**
6748
6778
  * Video frame call back function definition
@@ -2003,7 +2003,7 @@ var _minRuntimeConfigToUninitialize = {
2003
2003
  };
2004
2004
 
2005
2005
  ;// CONCATENATED MODULE: ./src/public/version.ts
2006
- var version = "2.10.0-beta.2";
2006
+ var version = "2.10.0-beta.3";
2007
2007
 
2008
2008
  ;// CONCATENATED MODULE: ./src/internal/internalAPIs.ts
2009
2009
 
@@ -6961,7 +6961,7 @@ var meeting;
6961
6961
  if (!callback) {
6962
6962
  throw new Error('[get Authentication Token For AnonymousUser] Callback cannot be null');
6963
6963
  }
6964
- ensureInitialized(runtime, FrameContexts.sidePanel, FrameContexts.meetingStage);
6964
+ ensureInitialized(runtime, FrameContexts.sidePanel, FrameContexts.meetingStage, FrameContexts.task);
6965
6965
  sendMessageToParent('meeting.getAuthenticationTokenForAnonymousUser', callback);
6966
6966
  }
6967
6967
  meeting.getAuthenticationTokenForAnonymousUser = getAuthenticationTokenForAnonymousUser;
@@ -7713,11 +7713,11 @@ var video;
7713
7713
  /**
7714
7714
  * Current video effect changed
7715
7715
  */
7716
- EffectChangeType[EffectChangeType["EffectChanged"] = 0] = "EffectChanged";
7716
+ EffectChangeType["EffectChanged"] = "EffectChanged";
7717
7717
  /**
7718
7718
  * Disable the video effect
7719
7719
  */
7720
- EffectChangeType[EffectChangeType["EffectDisabled"] = 1] = "EffectDisabled";
7720
+ EffectChangeType["EffectDisabled"] = "EffectDisabled";
7721
7721
  })(EffectChangeType = video.EffectChangeType || (video.EffectChangeType = {}));
7722
7722
  /**
7723
7723
  * Predefined failure reasons for preparing the selected video effect