@webex/plugin-meetings 3.0.0-beta.20 → 3.0.0-beta.21

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.
@@ -36,12 +36,12 @@ var Reactions = {
36
36
  codepoints: '1F44F',
37
37
  shortcodes: ':clap:'
38
38
  },
39
- thumbs_up: {
39
+ thumb_up: {
40
40
  type: 'thumb_up',
41
41
  codepoints: '1F44D',
42
42
  shortcodes: ':thumbsup:'
43
43
  },
44
- thumbs_down: {
44
+ thumb_down: {
45
45
  type: 'thumb_down',
46
46
  codepoints: '1F44E',
47
47
  shortcodes: ':thumbsdown:'
@@ -1 +1 @@
1
- {"version":3,"names":["Reactions","smile","type","codepoints","shortcodes","sad","wow","haha","celebrate","clap","thumbs_up","thumbs_down","heart","fire","prayer","speed_up","slow_down","SkinTones","normal","light","medium_light","medium","medium_dark","dark"],"sources":["reactions.ts"],"sourcesContent":["import {Reaction, ReactionType, SkinTone, SkinToneType} from './reactions.type';\n\nconst Reactions: Record<ReactionType, Reaction> = {\n smile: {\n type: 'smile',\n codepoints: '1F642',\n shortcodes: ':slightly_smiling_face:',\n },\n sad: {\n type: 'sad',\n codepoints: '1F625',\n shortcodes: ':sad_but_relieved_face:',\n },\n wow: {\n type: 'wow',\n codepoints: '1F62E',\n shortcodes: ':open_mouth:',\n },\n haha: {\n type: 'haha',\n codepoints: '1F603',\n shortcodes: ':smiley:',\n },\n celebrate: {\n type: 'celebrate',\n codepoints: '1F389',\n shortcodes: ':party_popper:',\n },\n clap: {\n type: 'clap',\n codepoints: '1F44F',\n shortcodes: ':clap:',\n },\n thumbs_up: {\n type: 'thumb_up',\n codepoints: '1F44D',\n shortcodes: ':thumbsup:',\n },\n thumbs_down: {\n type: 'thumb_down',\n codepoints: '1F44E',\n shortcodes: ':thumbsdown:',\n },\n heart: {\n type: 'heart',\n codepoints: '2764',\n shortcodes: ':heart:',\n },\n fire: {\n type: 'fire',\n codepoints: '1F525',\n shortcodes: ':fire:',\n },\n prayer: {\n type: 'prayer',\n codepoints: '1F64F',\n shortcodes: ':pray:',\n },\n speed_up: {\n type: 'speed_up',\n codepoints: '1F407',\n shortcodes: ':rabbit:',\n },\n slow_down: {\n type: 'slow_down',\n codepoints: '1F422',\n shortcodes: ':turtle:',\n },\n};\n\nconst SkinTones: Record<SkinToneType, SkinTone> = {\n normal: {\n type: 'normal_skin_tone',\n codepoints: '',\n shortcodes: '',\n },\n light: {\n type: 'light_skin_tone',\n codepoints: '1F3FB',\n shortcodes: ':skin-tone-2:',\n },\n medium_light: {\n type: 'medium_light_skin_tone',\n codepoints: '1F3FC',\n shortcodes: ':skin-tone-3:',\n },\n medium: {\n type: 'medium_skin_tone',\n codepoints: '1F3FD',\n shortcodes: ':skin-tone-4:',\n },\n medium_dark: {\n type: 'medium_dark_skin_tone',\n codepoints: '1F3FE',\n shortcodes: ':skin-tone-5:',\n },\n dark: {\n type: 'dark_skin_tone',\n codepoints: '1F3FF',\n shortcodes: ':skin-tone-6:',\n },\n};\n\nexport {Reactions, SkinTones};\n"],"mappings":";;;;;;;AAEA,IAAMA,SAAyC,GAAG;EAChDC,KAAK,EAAE;IACLC,IAAI,EAAE,OAAO;IACbC,UAAU,EAAE,OAAO;IACnBC,UAAU,EAAE;EACd,CAAC;EACDC,GAAG,EAAE;IACHH,IAAI,EAAE,KAAK;IACXC,UAAU,EAAE,OAAO;IACnBC,UAAU,EAAE;EACd,CAAC;EACDE,GAAG,EAAE;IACHJ,IAAI,EAAE,KAAK;IACXC,UAAU,EAAE,OAAO;IACnBC,UAAU,EAAE;EACd,CAAC;EACDG,IAAI,EAAE;IACJL,IAAI,EAAE,MAAM;IACZC,UAAU,EAAE,OAAO;IACnBC,UAAU,EAAE;EACd,CAAC;EACDI,SAAS,EAAE;IACTN,IAAI,EAAE,WAAW;IACjBC,UAAU,EAAE,OAAO;IACnBC,UAAU,EAAE;EACd,CAAC;EACDK,IAAI,EAAE;IACJP,IAAI,EAAE,MAAM;IACZC,UAAU,EAAE,OAAO;IACnBC,UAAU,EAAE;EACd,CAAC;EACDM,SAAS,EAAE;IACTR,IAAI,EAAE,UAAU;IAChBC,UAAU,EAAE,OAAO;IACnBC,UAAU,EAAE;EACd,CAAC;EACDO,WAAW,EAAE;IACXT,IAAI,EAAE,YAAY;IAClBC,UAAU,EAAE,OAAO;IACnBC,UAAU,EAAE;EACd,CAAC;EACDQ,KAAK,EAAE;IACLV,IAAI,EAAE,OAAO;IACbC,UAAU,EAAE,MAAM;IAClBC,UAAU,EAAE;EACd,CAAC;EACDS,IAAI,EAAE;IACJX,IAAI,EAAE,MAAM;IACZC,UAAU,EAAE,OAAO;IACnBC,UAAU,EAAE;EACd,CAAC;EACDU,MAAM,EAAE;IACNZ,IAAI,EAAE,QAAQ;IACdC,UAAU,EAAE,OAAO;IACnBC,UAAU,EAAE;EACd,CAAC;EACDW,QAAQ,EAAE;IACRb,IAAI,EAAE,UAAU;IAChBC,UAAU,EAAE,OAAO;IACnBC,UAAU,EAAE;EACd,CAAC;EACDY,SAAS,EAAE;IACTd,IAAI,EAAE,WAAW;IACjBC,UAAU,EAAE,OAAO;IACnBC,UAAU,EAAE;EACd;AACF,CAAC;AAAC;AAEF,IAAMa,SAAyC,GAAG;EAChDC,MAAM,EAAE;IACNhB,IAAI,EAAE,kBAAkB;IACxBC,UAAU,EAAE,EAAE;IACdC,UAAU,EAAE;EACd,CAAC;EACDe,KAAK,EAAE;IACLjB,IAAI,EAAE,iBAAiB;IACvBC,UAAU,EAAE,OAAO;IACnBC,UAAU,EAAE;EACd,CAAC;EACDgB,YAAY,EAAE;IACZlB,IAAI,EAAE,wBAAwB;IAC9BC,UAAU,EAAE,OAAO;IACnBC,UAAU,EAAE;EACd,CAAC;EACDiB,MAAM,EAAE;IACNnB,IAAI,EAAE,kBAAkB;IACxBC,UAAU,EAAE,OAAO;IACnBC,UAAU,EAAE;EACd,CAAC;EACDkB,WAAW,EAAE;IACXpB,IAAI,EAAE,uBAAuB;IAC7BC,UAAU,EAAE,OAAO;IACnBC,UAAU,EAAE;EACd,CAAC;EACDmB,IAAI,EAAE;IACJrB,IAAI,EAAE,gBAAgB;IACtBC,UAAU,EAAE,OAAO;IACnBC,UAAU,EAAE;EACd;AACF,CAAC;AAAC"}
1
+ {"version":3,"names":["Reactions","smile","type","codepoints","shortcodes","sad","wow","haha","celebrate","clap","thumb_up","thumb_down","heart","fire","prayer","speed_up","slow_down","SkinTones","normal","light","medium_light","medium","medium_dark","dark"],"sources":["reactions.ts"],"sourcesContent":["import {Reaction, ReactionServerType, SkinTone, SkinToneType} from './reactions.type';\n\nconst Reactions: Record<ReactionServerType, Reaction> = {\n smile: {\n type: 'smile',\n codepoints: '1F642',\n shortcodes: ':slightly_smiling_face:',\n },\n sad: {\n type: 'sad',\n codepoints: '1F625',\n shortcodes: ':sad_but_relieved_face:',\n },\n wow: {\n type: 'wow',\n codepoints: '1F62E',\n shortcodes: ':open_mouth:',\n },\n haha: {\n type: 'haha',\n codepoints: '1F603',\n shortcodes: ':smiley:',\n },\n celebrate: {\n type: 'celebrate',\n codepoints: '1F389',\n shortcodes: ':party_popper:',\n },\n clap: {\n type: 'clap',\n codepoints: '1F44F',\n shortcodes: ':clap:',\n },\n thumb_up: {\n type: 'thumb_up',\n codepoints: '1F44D',\n shortcodes: ':thumbsup:',\n },\n thumb_down: {\n type: 'thumb_down',\n codepoints: '1F44E',\n shortcodes: ':thumbsdown:',\n },\n heart: {\n type: 'heart',\n codepoints: '2764',\n shortcodes: ':heart:',\n },\n fire: {\n type: 'fire',\n codepoints: '1F525',\n shortcodes: ':fire:',\n },\n prayer: {\n type: 'prayer',\n codepoints: '1F64F',\n shortcodes: ':pray:',\n },\n speed_up: {\n type: 'speed_up',\n codepoints: '1F407',\n shortcodes: ':rabbit:',\n },\n slow_down: {\n type: 'slow_down',\n codepoints: '1F422',\n shortcodes: ':turtle:',\n },\n};\n\nconst SkinTones: Record<SkinToneType, SkinTone> = {\n normal: {\n type: 'normal_skin_tone',\n codepoints: '',\n shortcodes: '',\n },\n light: {\n type: 'light_skin_tone',\n codepoints: '1F3FB',\n shortcodes: ':skin-tone-2:',\n },\n medium_light: {\n type: 'medium_light_skin_tone',\n codepoints: '1F3FC',\n shortcodes: ':skin-tone-3:',\n },\n medium: {\n type: 'medium_skin_tone',\n codepoints: '1F3FD',\n shortcodes: ':skin-tone-4:',\n },\n medium_dark: {\n type: 'medium_dark_skin_tone',\n codepoints: '1F3FE',\n shortcodes: ':skin-tone-5:',\n },\n dark: {\n type: 'dark_skin_tone',\n codepoints: '1F3FF',\n shortcodes: ':skin-tone-6:',\n },\n};\n\nexport {Reactions, SkinTones};\n"],"mappings":";;;;;;;AAEA,IAAMA,SAA+C,GAAG;EACtDC,KAAK,EAAE;IACLC,IAAI,EAAE,OAAO;IACbC,UAAU,EAAE,OAAO;IACnBC,UAAU,EAAE;EACd,CAAC;EACDC,GAAG,EAAE;IACHH,IAAI,EAAE,KAAK;IACXC,UAAU,EAAE,OAAO;IACnBC,UAAU,EAAE;EACd,CAAC;EACDE,GAAG,EAAE;IACHJ,IAAI,EAAE,KAAK;IACXC,UAAU,EAAE,OAAO;IACnBC,UAAU,EAAE;EACd,CAAC;EACDG,IAAI,EAAE;IACJL,IAAI,EAAE,MAAM;IACZC,UAAU,EAAE,OAAO;IACnBC,UAAU,EAAE;EACd,CAAC;EACDI,SAAS,EAAE;IACTN,IAAI,EAAE,WAAW;IACjBC,UAAU,EAAE,OAAO;IACnBC,UAAU,EAAE;EACd,CAAC;EACDK,IAAI,EAAE;IACJP,IAAI,EAAE,MAAM;IACZC,UAAU,EAAE,OAAO;IACnBC,UAAU,EAAE;EACd,CAAC;EACDM,QAAQ,EAAE;IACRR,IAAI,EAAE,UAAU;IAChBC,UAAU,EAAE,OAAO;IACnBC,UAAU,EAAE;EACd,CAAC;EACDO,UAAU,EAAE;IACVT,IAAI,EAAE,YAAY;IAClBC,UAAU,EAAE,OAAO;IACnBC,UAAU,EAAE;EACd,CAAC;EACDQ,KAAK,EAAE;IACLV,IAAI,EAAE,OAAO;IACbC,UAAU,EAAE,MAAM;IAClBC,UAAU,EAAE;EACd,CAAC;EACDS,IAAI,EAAE;IACJX,IAAI,EAAE,MAAM;IACZC,UAAU,EAAE,OAAO;IACnBC,UAAU,EAAE;EACd,CAAC;EACDU,MAAM,EAAE;IACNZ,IAAI,EAAE,QAAQ;IACdC,UAAU,EAAE,OAAO;IACnBC,UAAU,EAAE;EACd,CAAC;EACDW,QAAQ,EAAE;IACRb,IAAI,EAAE,UAAU;IAChBC,UAAU,EAAE,OAAO;IACnBC,UAAU,EAAE;EACd,CAAC;EACDY,SAAS,EAAE;IACTd,IAAI,EAAE,WAAW;IACjBC,UAAU,EAAE,OAAO;IACnBC,UAAU,EAAE;EACd;AACF,CAAC;AAAC;AAEF,IAAMa,SAAyC,GAAG;EAChDC,MAAM,EAAE;IACNhB,IAAI,EAAE,kBAAkB;IACxBC,UAAU,EAAE,EAAE;IACdC,UAAU,EAAE;EACd,CAAC;EACDe,KAAK,EAAE;IACLjB,IAAI,EAAE,iBAAiB;IACvBC,UAAU,EAAE,OAAO;IACnBC,UAAU,EAAE;EACd,CAAC;EACDgB,YAAY,EAAE;IACZlB,IAAI,EAAE,wBAAwB;IAC9BC,UAAU,EAAE,OAAO;IACnBC,UAAU,EAAE;EACd,CAAC;EACDiB,MAAM,EAAE;IACNnB,IAAI,EAAE,kBAAkB;IACxBC,UAAU,EAAE,OAAO;IACnBC,UAAU,EAAE;EACd,CAAC;EACDkB,WAAW,EAAE;IACXpB,IAAI,EAAE,uBAAuB;IAC7BC,UAAU,EAAE,OAAO;IACnBC,UAAU,EAAE;EACd,CAAC;EACDmB,IAAI,EAAE;IACJrB,IAAI,EAAE,gBAAgB;IACtBC,UAAU,EAAE,OAAO;IACnBC,UAAU,EAAE;EACd;AACF,CAAC;AAAC"}
@@ -4,25 +4,25 @@ var _Object$defineProperty = require("@babel/runtime-corejs2/core-js/object/defi
4
4
  _Object$defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
- exports.SkinToneType = exports.ReactionType = void 0;
7
+ exports.SkinToneType = exports.ReactionServerType = void 0;
8
8
  // eslint-disable-next-line no-shadow
9
- var ReactionType; // eslint-disable-next-line no-shadow
10
- exports.ReactionType = ReactionType;
11
- (function (ReactionType) {
12
- ReactionType["smile"] = "smile";
13
- ReactionType["sad"] = "sad";
14
- ReactionType["wow"] = "wow";
15
- ReactionType["haha"] = "haha";
16
- ReactionType["celebrate"] = "celebrate";
17
- ReactionType["clap"] = "clap";
18
- ReactionType["thumbs_up"] = "thumbs_up";
19
- ReactionType["thumbs_down"] = "thumbs_down";
20
- ReactionType["heart"] = "heart";
21
- ReactionType["fire"] = "fire";
22
- ReactionType["prayer"] = "prayer";
23
- ReactionType["speed_up"] = "speed_up";
24
- ReactionType["slow_down"] = "slow_down";
25
- })(ReactionType || (exports.ReactionType = ReactionType = {}));
9
+ var ReactionServerType; // eslint-disable-next-line no-shadow
10
+ exports.ReactionServerType = ReactionServerType;
11
+ (function (ReactionServerType) {
12
+ ReactionServerType["smile"] = "smile";
13
+ ReactionServerType["sad"] = "sad";
14
+ ReactionServerType["wow"] = "wow";
15
+ ReactionServerType["haha"] = "haha";
16
+ ReactionServerType["celebrate"] = "celebrate";
17
+ ReactionServerType["clap"] = "clap";
18
+ ReactionServerType["thumb_up"] = "thumb_up";
19
+ ReactionServerType["thumb_down"] = "thumb_down";
20
+ ReactionServerType["heart"] = "heart";
21
+ ReactionServerType["fire"] = "fire";
22
+ ReactionServerType["prayer"] = "prayer";
23
+ ReactionServerType["speed_up"] = "speed_up";
24
+ ReactionServerType["slow_down"] = "slow_down";
25
+ })(ReactionServerType || (exports.ReactionServerType = ReactionServerType = {}));
26
26
  var SkinToneType;
27
27
  exports.SkinToneType = SkinToneType;
28
28
  (function (SkinToneType) {
@@ -1 +1 @@
1
- {"version":3,"names":["ReactionType","SkinToneType"],"sources":["reactions.type.ts"],"sourcesContent":["import {REACTION_RELAY_TYPES} from './constants';\n\nexport type EmoticonData = {\n type: string;\n codepoints?: string;\n shortcodes?: string;\n};\n\nexport type SkinTone = EmoticonData;\n\nexport type Reaction = EmoticonData & {\n tone?: SkinTone;\n};\n\n// eslint-disable-next-line no-shadow\nexport enum ReactionType {\n smile = 'smile',\n sad = 'sad',\n wow = 'wow',\n haha = 'haha',\n celebrate = 'celebrate',\n clap = 'clap',\n thumbs_up = 'thumbs_up',\n thumbs_down = 'thumbs_down',\n heart = 'heart',\n fire = 'fire',\n prayer = 'prayer',\n speed_up = 'speed_up',\n slow_down = 'slow_down',\n}\n\n// eslint-disable-next-line no-shadow\nexport enum SkinToneType {\n normal = 'normal',\n light = 'light',\n medium_light = 'medium_light',\n medium = 'medium',\n medium_dark = 'medium_dark',\n dark = 'dark',\n}\n\nexport type Sender = {\n participantId: string;\n};\n\nexport type ProcessedReaction = {\n reaction: Reaction;\n sender: {\n id: Sender['participantId'];\n name: string;\n };\n};\n\ntype RelayEventData = {\n relayType: (typeof REACTION_RELAY_TYPES)['REACTION'];\n reaction: Reaction;\n sender: Sender;\n};\n\nexport type RelayEvent = {\n data: RelayEventData;\n};\n"],"mappings":";;;;;;;AAcA;AAAA,IACYA,YAAY,EAgBxB;AAAA;AAAA,WAhBYA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;AAAA,GAAZA,YAAY,4BAAZA,YAAY;AAAA,IAiBZC,YAAY;AAAA;AAAA,WAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;AAAA,GAAZA,YAAY,4BAAZA,YAAY"}
1
+ {"version":3,"names":["ReactionServerType","SkinToneType"],"sources":["reactions.type.ts"],"sourcesContent":["import {REACTION_RELAY_TYPES} from './constants';\n\nexport type EmoticonData = {\n type: string;\n codepoints?: string;\n shortcodes?: string;\n};\n\nexport type SkinTone = EmoticonData;\n\nexport type Reaction = EmoticonData & {\n tone?: SkinTone;\n};\n\n// eslint-disable-next-line no-shadow\nexport enum ReactionServerType {\n smile = 'smile',\n sad = 'sad',\n wow = 'wow',\n haha = 'haha',\n celebrate = 'celebrate',\n clap = 'clap',\n thumb_up = 'thumb_up',\n thumb_down = 'thumb_down',\n heart = 'heart',\n fire = 'fire',\n prayer = 'prayer',\n speed_up = 'speed_up',\n slow_down = 'slow_down',\n}\n\n// eslint-disable-next-line no-shadow\nexport enum SkinToneType {\n normal = 'normal',\n light = 'light',\n medium_light = 'medium_light',\n medium = 'medium',\n medium_dark = 'medium_dark',\n dark = 'dark',\n}\n\nexport type Sender = {\n participantId: string;\n};\n\nexport type ProcessedReaction = {\n reaction: Reaction;\n sender: {\n id: Sender['participantId'];\n name: string;\n };\n};\n\ntype RelayEventData = {\n relayType: (typeof REACTION_RELAY_TYPES)['REACTION'];\n reaction: Reaction;\n sender: Sender;\n};\n\nexport type RelayEvent = {\n data: RelayEventData;\n};\n"],"mappings":";;;;;;;AAcA;AAAA,IACYA,kBAAkB,EAgB9B;AAAA;AAAA,WAhBYA,kBAAkB;EAAlBA,kBAAkB;EAAlBA,kBAAkB;EAAlBA,kBAAkB;EAAlBA,kBAAkB;EAAlBA,kBAAkB;EAAlBA,kBAAkB;EAAlBA,kBAAkB;EAAlBA,kBAAkB;EAAlBA,kBAAkB;EAAlBA,kBAAkB;EAAlBA,kBAAkB;EAAlBA,kBAAkB;EAAlBA,kBAAkB;AAAA,GAAlBA,kBAAkB,kCAAlBA,kBAAkB;AAAA,IAiBlBC,YAAY;AAAA;AAAA,WAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;AAAA,GAAZA,YAAY,4BAAZA,YAAY"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webex/plugin-meetings",
3
- "version": "3.0.0-beta.20",
3
+ "version": "3.0.0-beta.21",
4
4
  "description": "",
5
5
  "license": "Cisco EULA (https://www.cisco.com/c/en/us/products/end-user-license-agreement.html)",
6
6
  "contributors": [
@@ -12,7 +12,7 @@
12
12
  "Taymoor Khan <taykhan@cisco.com>"
13
13
  ],
14
14
  "main": "dist/index.js",
15
- "types": "types/index.d.ts",
15
+ "types": "dist/types/index.d.ts",
16
16
  "devMain": "src/index.js",
17
17
  "repository": {
18
18
  "type": "git",
@@ -29,15 +29,15 @@
29
29
  ]
30
30
  },
31
31
  "scripts": {
32
- "build": "yarn run -T tsc --declaration true --declarationDir ./types"
32
+ "build": "yarn run -T tsc --declaration true --declarationDir ./dist/types"
33
33
  },
34
34
  "devDependencies": {
35
- "@webex/plugin-meetings": "3.0.0-beta.20",
36
- "@webex/test-helper-chai": "3.0.0-beta.20",
37
- "@webex/test-helper-mocha": "3.0.0-beta.20",
38
- "@webex/test-helper-mock-webex": "3.0.0-beta.20",
39
- "@webex/test-helper-retry": "3.0.0-beta.20",
40
- "@webex/test-helper-test-users": "3.0.0-beta.20",
35
+ "@webex/plugin-meetings": "3.0.0-beta.21",
36
+ "@webex/test-helper-chai": "3.0.0-beta.21",
37
+ "@webex/test-helper-mocha": "3.0.0-beta.21",
38
+ "@webex/test-helper-mock-webex": "3.0.0-beta.21",
39
+ "@webex/test-helper-retry": "3.0.0-beta.21",
40
+ "@webex/test-helper-test-users": "3.0.0-beta.21",
41
41
  "chai": "^4.3.4",
42
42
  "chai-as-promised": "^7.1.1",
43
43
  "jsdom-global": "3.0.2",
@@ -45,18 +45,18 @@
45
45
  "typed-emitter": "^2.1.0"
46
46
  },
47
47
  "dependencies": {
48
- "@webex/common": "3.0.0-beta.20",
48
+ "@webex/common": "3.0.0-beta.21",
49
49
  "@webex/internal-media-core": "1.33.0",
50
- "@webex/internal-plugin-conversation": "3.0.0-beta.20",
51
- "@webex/internal-plugin-device": "3.0.0-beta.20",
52
- "@webex/internal-plugin-llm": "3.0.0-beta.20",
53
- "@webex/internal-plugin-mercury": "3.0.0-beta.20",
54
- "@webex/internal-plugin-metrics": "3.0.0-beta.20",
55
- "@webex/internal-plugin-support": "3.0.0-beta.20",
56
- "@webex/internal-plugin-user": "3.0.0-beta.20",
57
- "@webex/plugin-people": "3.0.0-beta.20",
58
- "@webex/plugin-rooms": "3.0.0-beta.20",
59
- "@webex/webex-core": "3.0.0-beta.20",
50
+ "@webex/internal-plugin-conversation": "3.0.0-beta.21",
51
+ "@webex/internal-plugin-device": "3.0.0-beta.21",
52
+ "@webex/internal-plugin-llm": "3.0.0-beta.21",
53
+ "@webex/internal-plugin-mercury": "3.0.0-beta.21",
54
+ "@webex/internal-plugin-metrics": "3.0.0-beta.21",
55
+ "@webex/internal-plugin-support": "3.0.0-beta.21",
56
+ "@webex/internal-plugin-user": "3.0.0-beta.21",
57
+ "@webex/plugin-people": "3.0.0-beta.21",
58
+ "@webex/plugin-rooms": "3.0.0-beta.21",
59
+ "@webex/webex-core": "3.0.0-beta.21",
60
60
  "ampersand-collection": "^2.0.2",
61
61
  "bowser": "^2.11.0",
62
62
  "btoa": "^1.2.1",
package/src/index.js CHANGED
@@ -11,5 +11,6 @@ registerPlugin('meetings', Meetings, {
11
11
  export default Meetings;
12
12
 
13
13
  export * as CONSTANTS from './constants';
14
+ export * as REACTIONS from './reactions/reactions';
14
15
 
15
16
  export {default as TriggerProxy} from './common/events/trigger-proxy';
@@ -97,7 +97,7 @@ import {
97
97
  import {MultistreamMedia} from '../multistream/multistreamMedia';
98
98
  import {
99
99
  Reaction,
100
- ReactionType,
100
+ ReactionServerType,
101
101
  SkinToneType,
102
102
  ProcessedReaction,
103
103
  RelayEvent,
@@ -7068,13 +7068,13 @@ export default class Meeting extends StatelessWebexPlugin {
7068
7068
  /**
7069
7069
  * Send a reaction inside the meeting.
7070
7070
  *
7071
- * @param {ReactionType} reactionType - type of reaction to be sent. Example: "thumbs_up"
7071
+ * @param {ReactionServerType} reactionType - type of reaction to be sent. Example: "thumbs_up"
7072
7072
  * @param {SkinToneType} skinToneType - skin tone for the reaction. Example: "medium_dark"
7073
7073
  * @returns {Promise}
7074
7074
  * @public
7075
7075
  * @memberof Meeting
7076
7076
  */
7077
- public sendReaction(reactionType: ReactionType, skinToneType?: SkinToneType) {
7077
+ public sendReaction(reactionType: ReactionServerType, skinToneType?: SkinToneType) {
7078
7078
  const reactionChannelUrl = this.locusInfo?.controls?.reactions?.reactionChannelUrl as string;
7079
7079
  const participantId = this.members.selfId;
7080
7080
 
@@ -1,6 +1,6 @@
1
- import {Reaction, ReactionType, SkinTone, SkinToneType} from './reactions.type';
1
+ import {Reaction, ReactionServerType, SkinTone, SkinToneType} from './reactions.type';
2
2
 
3
- const Reactions: Record<ReactionType, Reaction> = {
3
+ const Reactions: Record<ReactionServerType, Reaction> = {
4
4
  smile: {
5
5
  type: 'smile',
6
6
  codepoints: '1F642',
@@ -31,12 +31,12 @@ const Reactions: Record<ReactionType, Reaction> = {
31
31
  codepoints: '1F44F',
32
32
  shortcodes: ':clap:',
33
33
  },
34
- thumbs_up: {
34
+ thumb_up: {
35
35
  type: 'thumb_up',
36
36
  codepoints: '1F44D',
37
37
  shortcodes: ':thumbsup:',
38
38
  },
39
- thumbs_down: {
39
+ thumb_down: {
40
40
  type: 'thumb_down',
41
41
  codepoints: '1F44E',
42
42
  shortcodes: ':thumbsdown:',
@@ -13,15 +13,15 @@ export type Reaction = EmoticonData & {
13
13
  };
14
14
 
15
15
  // eslint-disable-next-line no-shadow
16
- export enum ReactionType {
16
+ export enum ReactionServerType {
17
17
  smile = 'smile',
18
18
  sad = 'sad',
19
19
  wow = 'wow',
20
20
  haha = 'haha',
21
21
  celebrate = 'celebrate',
22
22
  clap = 'clap',
23
- thumbs_up = 'thumbs_up',
24
- thumbs_down = 'thumbs_down',
23
+ thumb_up = 'thumb_up',
24
+ thumb_down = 'thumb_down',
25
25
  heart = 'heart',
26
26
  fire = 'fire',
27
27
  prayer = 'prayer',
@@ -5904,7 +5904,7 @@ describe('plugin-meetings', () => {
5904
5904
  it('should send reaction with the right data and return a promise', async () => {
5905
5905
  meeting.locusInfo.controls = {reactions: {reactionChannelUrl: 'Fake URL'}};
5906
5906
 
5907
- const reactionPromise = meeting.sendReaction('thumbs_down', 'light');
5907
+ const reactionPromise = meeting.sendReaction('thumb_down', 'light');
5908
5908
 
5909
5909
  assert.exists(reactionPromise.then);
5910
5910
  await reactionPromise;
@@ -5928,7 +5928,7 @@ describe('plugin-meetings', () => {
5928
5928
  meeting.locusInfo.controls = {reactions: {reactionChannelUrl: undefined}};
5929
5929
 
5930
5930
  await assert.isRejected(
5931
- meeting.sendReaction('thumbs_down', 'light'),
5931
+ meeting.sendReaction('thumb_down', 'light'),
5932
5932
  Error,
5933
5933
  'Error sending reaction, service url not found.'
5934
5934
  );
@@ -5951,7 +5951,7 @@ describe('plugin-meetings', () => {
5951
5951
  it('should send a reaction with default skin tone if provided skinToneType is invalid ', async () => {
5952
5952
  meeting.locusInfo.controls = {reactions: {reactionChannelUrl: 'Fake URL'}};
5953
5953
 
5954
- const reactionPromise = meeting.sendReaction('thumbs_down', 'invalid_skin_tone');
5954
+ const reactionPromise = meeting.sendReaction('thumb_down', 'invalid_skin_tone');
5955
5955
 
5956
5956
  assert.exists(reactionPromise.then);
5957
5957
  await reactionPromise;
@@ -5970,7 +5970,7 @@ describe('plugin-meetings', () => {
5970
5970
  it('should send a reaction with default skin tone if none provided', async () => {
5971
5971
  meeting.locusInfo.controls = {reactions: {reactionChannelUrl: 'Fake URL'}};
5972
5972
 
5973
- const reactionPromise = meeting.sendReaction('thumbs_down');
5973
+ const reactionPromise = meeting.sendReaction('thumb_down');
5974
5974
 
5975
5975
  assert.exists(reactionPromise.then);
5976
5976
  await reactionPromise;