@meltingspot/core 1.12.0 → 1.14.0

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/CHANGELOG.md CHANGED
@@ -15,6 +15,37 @@ Date: YYYY-MM-DD
15
15
 
16
16
  -->
17
17
 
18
+ ## v1.14.0
19
+
20
+ Date: 2026-10-01
21
+
22
+ ### Minor Changes
23
+
24
+ - `Api.Spot.listSpotsForMe` can now reach every spot of the current member. It
25
+ used to return only the first 50; it now accepts `page` (default `1`) and
26
+ `limit` (default `LIST_SPOTS_LIMIT`), and can narrow the list to one spot
27
+ (`id`) or to the spots whose name contains a given text (`name`,
28
+ case-insensitive, matched literally). Combined filters must all match.
29
+ - New `LIST_SPOTS_LIMIT` export (`50`): the default page size of
30
+ `Api.Spot.listSpotsForMe`.
31
+
32
+ ## v1.13.0
33
+
34
+ Date: 2026-09-29
35
+
36
+ ### Minor Changes
37
+
38
+ - New `PlaybookIntentActionType` enum and `PlaybookIntentActionSummary` type,
39
+ carried as `action` by the accessible hotspots candidates.
40
+ - New `MessageIntentAction` type, carried as `intentAction` by conversation
41
+ messages and by the history payload (`metadata.intentAction`).
42
+ - `GetConversationMessagesResponse` carries an optional `intentId`: the intent
43
+ the conversation was opened from, `null` for any other trigger.
44
+
45
+ ### Patch Changes
46
+
47
+ - A `204 No Content` response now resolves to `undefined` instead of an error.
48
+
18
49
  ## v1.12.0
19
50
 
20
51
  Date: 2026-09-22
package/index.d.ts CHANGED
@@ -15,6 +15,7 @@ export { MeltingSpotApi, type AuthenticatedRequest, } from './api/meltingSpotApi
15
15
  export * from './services/api/playbook/playbook.api.input';
16
16
  export * from './services/api/playbook/playbook.api.output';
17
17
  export * from './services/api/spot/spot.api.output';
18
+ export { LIST_SPOTS_LIMIT } from './services/api/spot/spot.api.service';
18
19
  export * from './services/api/spotMember/spotMember.api.output';
19
20
  export * from './services/api/spotMemberAuth/spotMemberAuth.api.output';
20
21
  export { AnalyticsApiService } from './services/api/analytics/analytics.api.service';
package/index.mjs CHANGED
@@ -4671,7 +4671,7 @@ var ot = () => typeof document < "u" && typeof document.dispatchEvent == "functi
4671
4671
  unbind() {
4672
4672
  this.listener !== null && typeof document < "u" && document.removeEventListener(at, this.listener), this.listener = null, this.lastOptions = null;
4673
4673
  }
4674
- }, ut = "1.12.0", dt = class {
4674
+ }, ut = "1.14.0", dt = class {
4675
4675
  constructor(e) {
4676
4676
  this.debug = !1, this.debug = e?.debug ?? !1, this.appName = e?.appName, this.appVersion = e?.appVersion;
4677
4677
  }
@@ -5061,82 +5061,85 @@ var M = Dt, N = class e extends Error {
5061
5061
  }
5062
5062
  }, P = /* @__PURE__ */ function(e) {
5063
5063
  return e.DELETE = "DELETE", e.GET = "GET", e.PATCH = "PATCH", e.POST = "POST", e;
5064
- }({}), F = class {
5064
+ }({}), F = class e {
5065
5065
  constructor() {
5066
5066
  this.headers = {};
5067
5067
  }
5068
5068
  setHeaders(e) {
5069
5069
  this.headers = e;
5070
5070
  }
5071
- async get(e) {
5071
+ async get(t) {
5072
5072
  try {
5073
- let t = e.query ? `${e.url}?${this.serializeQuery(e.query)}` : e.url, n = await fetch(t, {
5073
+ let n = t.query ? `${t.url}?${this.serializeQuery(t.query)}` : t.url, r = await fetch(n, {
5074
5074
  headers: {
5075
5075
  ...this.headers,
5076
- ...e.headers,
5076
+ ...t.headers,
5077
5077
  "Content-Type": "application/json"
5078
5078
  },
5079
- ...e.signal ? { signal: e.signal } : {}
5079
+ ...t.signal ? { signal: t.signal } : {}
5080
5080
  });
5081
- return n.ok ? w(await n.json()) : T(new N(n.status, await n.text()));
5081
+ return r.ok ? w(await e.parseBody(r)) : T(new N(r.status, await r.text()));
5082
5082
  } catch (e) {
5083
5083
  let t = e instanceof Error ? e.message : "Unknown error";
5084
5084
  return T(new N(E.INTERNAL_SERVER_ERROR, t));
5085
5085
  }
5086
5086
  }
5087
- async post(e) {
5087
+ async post(t) {
5088
5088
  try {
5089
- let t = await fetch(e.url, {
5089
+ let n = await fetch(t.url, {
5090
5090
  method: "POST",
5091
5091
  headers: {
5092
5092
  ...this.headers,
5093
- ...e.headers,
5093
+ ...t.headers,
5094
5094
  "Content-Type": "application/json"
5095
5095
  },
5096
- body: JSON.stringify(e.payload),
5097
- ...e.signal ? { signal: e.signal } : {}
5096
+ body: JSON.stringify(t.payload),
5097
+ ...t.signal ? { signal: t.signal } : {}
5098
5098
  });
5099
- return t.ok ? w(await t.json()) : T(new N(t.status, await t.text()));
5099
+ return n.ok ? w(await e.parseBody(n)) : T(new N(n.status, await n.text()));
5100
5100
  } catch (e) {
5101
5101
  let t = e instanceof Error ? e.message : "Unknown error";
5102
5102
  return T(new N(E.INTERNAL_SERVER_ERROR, t));
5103
5103
  }
5104
5104
  }
5105
- async delete(e) {
5105
+ async delete(t) {
5106
5106
  try {
5107
- let t = await fetch(e.url, {
5107
+ let n = await fetch(t.url, {
5108
5108
  method: "DELETE",
5109
5109
  headers: {
5110
5110
  ...this.headers,
5111
- ...e.headers,
5111
+ ...t.headers,
5112
5112
  Accept: "application/json"
5113
5113
  },
5114
- ...e.signal ? { signal: e.signal } : {}
5114
+ ...t.signal ? { signal: t.signal } : {}
5115
5115
  });
5116
- return t.ok ? w(await t.json()) : T(new N(t.status, await t.text()));
5116
+ return n.ok ? w(await e.parseBody(n)) : T(new N(n.status, await n.text()));
5117
5117
  } catch (e) {
5118
5118
  let t = e instanceof Error ? e.message : "Unknown error";
5119
5119
  return T(new N(E.INTERNAL_SERVER_ERROR, t));
5120
5120
  }
5121
5121
  }
5122
- async patch(e) {
5122
+ async patch(t) {
5123
5123
  try {
5124
- let t = await fetch(e.url, {
5124
+ let n = await fetch(t.url, {
5125
5125
  method: "PATCH",
5126
5126
  headers: {
5127
5127
  ...this.headers,
5128
- ...e.headers,
5128
+ ...t.headers,
5129
5129
  "Content-Type": "application/json"
5130
5130
  },
5131
- body: JSON.stringify(e.payload),
5132
- ...e.signal ? { signal: e.signal } : {}
5131
+ body: JSON.stringify(t.payload),
5132
+ ...t.signal ? { signal: t.signal } : {}
5133
5133
  });
5134
- return t.ok ? w(await t.json()) : T(new N(t.status, await t.text()));
5134
+ return n.ok ? w(await e.parseBody(n)) : T(new N(n.status, await n.text()));
5135
5135
  } catch (e) {
5136
5136
  let t = e instanceof Error ? e.message : "Unknown error";
5137
5137
  return T(new N(E.INTERNAL_SERVER_ERROR, t));
5138
5138
  }
5139
5139
  }
5140
+ static async parseBody(e) {
5141
+ if (e.status !== E.NO_CONTENT) return await e.json();
5142
+ }
5140
5143
  serializeQuery(e) {
5141
5144
  if (typeof e == "string") return e;
5142
5145
  if (typeof e == "object") for (let t in e) e[t] === void 0 && delete e[t];
@@ -5488,7 +5491,7 @@ var M = Dt, N = class e extends Error {
5488
5491
  });
5489
5492
  return n.isErr() ? T(n.error) : w(n.value);
5490
5493
  }
5491
- }, Qt = { me: "/v1/spots/me" }, R = 50, $t = class e {
5494
+ }, Qt = { me: "/v1/spots/me" }, R = 1, $t = 50, en = class e {
5492
5495
  static getInstance() {
5493
5496
  return e.instance ||= new e(), e.instance;
5494
5497
  }
@@ -5500,18 +5503,20 @@ var M = Dt, N = class e extends Error {
5500
5503
  method: P.GET,
5501
5504
  endpoint: Qt.me,
5502
5505
  options: { query: {
5503
- page: 1,
5504
- limit: R,
5505
- ...e?.spotMemberRole ? { "spotMemberRole[eq]": e.spotMemberRole } : {}
5506
+ page: e?.page ?? R,
5507
+ limit: e?.limit ?? 50,
5508
+ ...e?.spotMemberRole ? { "spotMemberRole[eq]": e.spotMemberRole } : {},
5509
+ ...e?.id ? { "id[eq]": e.id } : {},
5510
+ ...e?.name ? { "name[contains]": e.name } : {}
5506
5511
  } }
5507
5512
  });
5508
5513
  return t.isErr() ? T(t.error) : w(t.value);
5509
5514
  }
5510
- }, en = { spotMember: {
5515
+ }, tn = { spotMember: {
5511
5516
  me: "/v1/spotMembers/me",
5512
5517
  joinFromSso: "/v1/spotMembers~joinFromSso",
5513
5518
  search: "/v1/spotMembers~search"
5514
- } }, tn = class e {
5519
+ } }, nn = class e {
5515
5520
  static getInstance() {
5516
5521
  return e.instance ||= new e(), e.instance;
5517
5522
  }
@@ -5521,7 +5526,7 @@ var M = Dt, N = class e extends Error {
5521
5526
  async getSpotMemberForMe() {
5522
5527
  let e = await this.meltingSpotApi.call({
5523
5528
  method: P.GET,
5524
- endpoint: en.spotMember.me
5529
+ endpoint: tn.spotMember.me
5525
5530
  });
5526
5531
  return e.isErr() ? T(e.error) : w(e.value);
5527
5532
  }
@@ -5533,7 +5538,7 @@ var M = Dt, N = class e extends Error {
5533
5538
  e.search && (t.search = e.search);
5534
5539
  let n = await this.meltingSpotApi.call({
5535
5540
  method: P.GET,
5536
- endpoint: en.spotMember.search,
5541
+ endpoint: tn.spotMember.search,
5537
5542
  options: { query: t }
5538
5543
  });
5539
5544
  return n.isErr() ? T(n.error) : w(n.value);
@@ -5541,15 +5546,15 @@ var M = Dt, N = class e extends Error {
5541
5546
  async joinFromSso(e) {
5542
5547
  let t = await this.meltingSpotApi.call({
5543
5548
  method: P.POST,
5544
- endpoint: en.spotMember.joinFromSso,
5549
+ endpoint: tn.spotMember.joinFromSso,
5545
5550
  options: { payload: { token: e } }
5546
5551
  });
5547
5552
  return t.isErr() ? T(t.error) : w(t.value);
5548
5553
  }
5549
- }, nn = {
5554
+ }, z = {
5550
5555
  spotMemberSsoToken: "/v1/spotMembers/auth/sso/jwt",
5551
5556
  previewAccessKey: "/v1/spotMembers/auth/preview/accessKey"
5552
- }, z = class e {
5557
+ }, rn = class e {
5553
5558
  static getInstance() {
5554
5559
  return e.instance ||= new e(), e.instance;
5555
5560
  }
@@ -5559,7 +5564,7 @@ var M = Dt, N = class e extends Error {
5559
5564
  async generateSsoToken() {
5560
5565
  let e = await this.meltingSpotApi.call({
5561
5566
  method: P.POST,
5562
- endpoint: nn.spotMemberSsoToken,
5567
+ endpoint: z.spotMemberSsoToken,
5563
5568
  options: { payload: {} }
5564
5569
  });
5565
5570
  return e.isErr() ? T(e.error) : w(e.value.token);
@@ -5567,22 +5572,22 @@ var M = Dt, N = class e extends Error {
5567
5572
  async generatePreviewAccessKey(e) {
5568
5573
  let t = await this.meltingSpotApi.call({
5569
5574
  method: P.POST,
5570
- endpoint: nn.previewAccessKey,
5575
+ endpoint: z.previewAccessKey,
5571
5576
  options: { payload: { targetSpotMemberId: e.targetSpotMemberId } }
5572
5577
  });
5573
5578
  return t.isErr() ? T(t.error) : w(t.value);
5574
5579
  }
5575
- }, rn = class e {
5580
+ }, an = class e {
5576
5581
  static getInstance() {
5577
5582
  return e.instance ||= new e(), e.instance;
5578
5583
  }
5579
5584
  constructor() {
5580
- this.spotMemberAuthApiService = z.getInstance();
5585
+ this.spotMemberAuthApiService = rn.getInstance();
5581
5586
  }
5582
5587
  async generateSsoToken() {
5583
5588
  return this.spotMemberAuthApiService.generateSsoToken();
5584
5589
  }
5585
- }, an = class {
5590
+ }, on = class {
5586
5591
  constructor(e) {
5587
5592
  this.active = !1, this.lastObservedUrl = null, this.options = {
5588
5593
  onRouteChange: e.onRouteChange,
@@ -5626,7 +5631,7 @@ var M = Dt, N = class e extends Error {
5626
5631
  restoreHistoryListeners() {
5627
5632
  this.originalPushState &&= (window.history.pushState = this.originalPushState, void 0), this.originalReplaceState &&= (window.history.replaceState = this.originalReplaceState, void 0);
5628
5633
  }
5629
- }, on = { events: "/v1/analytics/events" }, sn = class e {
5634
+ }, sn = { events: "/v1/analytics/events" }, cn = class e {
5630
5635
  static getInstance() {
5631
5636
  return e.instance ||= new e(), e.instance;
5632
5637
  }
@@ -5636,12 +5641,12 @@ var M = Dt, N = class e extends Error {
5636
5641
  async appendEvent(e) {
5637
5642
  let t = await this.meltingSpotApi.call({
5638
5643
  method: P.POST,
5639
- endpoint: on.events,
5644
+ endpoint: sn.events,
5640
5645
  options: { payload: e }
5641
5646
  });
5642
5647
  return t.isErr() ? T(t.error) : w(t.value);
5643
5648
  }
5644
- }, cn = (e) => {
5649
+ }, ln = (e) => {
5645
5650
  let t = e.get("utm_source");
5646
5651
  if (t) return {
5647
5652
  source: t,
@@ -5650,86 +5655,88 @@ var M = Dt, N = class e extends Error {
5650
5655
  term: e.get("utm_term") ?? void 0,
5651
5656
  content: e.get("utm_content") ?? void 0
5652
5657
  };
5653
- }, ln = (e) => e ? Object.entries(e).reduce((e, [t, n]) => (n != null && (e[`utm_${t}`] = n), e), {}) : {}, un = /* @__PURE__ */ function(e) {
5658
+ }, un = (e) => e ? Object.entries(e).reduce((e, [t, n]) => (n != null && (e[`utm_${t}`] = n), e), {}) : {}, dn = /* @__PURE__ */ function(e) {
5654
5659
  return e.Mute30Min = "Mute30Min", e.Mute1Hour = "Mute1Hour", e.Mute2Hours = "Mute2Hours", e.UntilTomorrow = "UntilTomorrow", e.UntilNextWeek = "UntilNextWeek", e.Always = "Always", e;
5655
- }({}), dn = /* @__PURE__ */ function(e) {
5656
- return e.Active = "Active", e.Closed = "Closed", e.Expired = "Expired", e;
5657
5660
  }({}), fn = /* @__PURE__ */ function(e) {
5658
- return e.User = "User", e.Assistant = "Assistant", e;
5661
+ return e.Active = "Active", e.Closed = "Closed", e.Expired = "Expired", e;
5659
5662
  }({}), pn = /* @__PURE__ */ function(e) {
5660
- return e.Metadata = "metadata", e.Token = "token", e.StatusLabel = "status_label", e.ActionsPending = "actions_pending", e.Action = "action", e.Bubble = "bubble", e.Handoff = "handoff", e.Done = "done", e.Error = "error", e;
5663
+ return e.User = "User", e.Assistant = "Assistant", e;
5661
5664
  }({}), mn = /* @__PURE__ */ function(e) {
5662
- return e.NoSource = "NoSource", e.LowConfidence = "LowConfidence", e.HumanRequest = "HumanRequest", e.OutOfScope = "OutOfScope", e;
5665
+ return e.Metadata = "metadata", e.Token = "token", e.StatusLabel = "status_label", e.ActionsPending = "actions_pending", e.Action = "action", e.Bubble = "bubble", e.Handoff = "handoff", e.Done = "done", e.Error = "error", e;
5663
5666
  }({}), hn = /* @__PURE__ */ function(e) {
5664
- return e.PoorExplanation = "poor_explanation", e.FalseInformation = "false_information", e.NotFollowingRequest = "not_following_request", e.IncompleteResponse = "incomplete_response", e.ChatHistoryIssue = "chat_history_issue", e.PersonalizationIssue = "personalization_issue", e.Other = "other", e;
5667
+ return e.NoSource = "NoSource", e.LowConfidence = "LowConfidence", e.HumanRequest = "HumanRequest", e.OutOfScope = "OutOfScope", e;
5665
5668
  }({}), gn = /* @__PURE__ */ function(e) {
5666
- return e.Up = "up", e.Down = "down", e;
5669
+ return e.PoorExplanation = "poor_explanation", e.FalseInformation = "false_information", e.NotFollowingRequest = "not_following_request", e.IncompleteResponse = "incomplete_response", e.ChatHistoryIssue = "chat_history_issue", e.PersonalizationIssue = "personalization_issue", e.Other = "other", e;
5667
5670
  }({}), _n = /* @__PURE__ */ function(e) {
5668
- return e.PlaybookIntent = "PlaybookIntent", e.UserInitiated = "UserInitiated", e.Welcome = "Welcome", e.Resume = "Resume", e.Discover = "Discover", e.Recommend = "Recommend", e;
5671
+ return e.Up = "up", e.Down = "down", e;
5669
5672
  }({}), B = /* @__PURE__ */ function(e) {
5670
- return e.ExtraExtraSmall = "ExtraExtraSmall", e.ExtraSmall = "ExtraSmall", e.Small = "Small", e.Medium = "Medium", e.Large = "Large", e;
5673
+ return e.PlaybookIntent = "PlaybookIntent", e.UserInitiated = "UserInitiated", e.Welcome = "Welcome", e.Resume = "Resume", e.Discover = "Discover", e.Recommend = "Recommend", e;
5671
5674
  }({}), vn = /* @__PURE__ */ function(e) {
5672
- return e.Dropdown = "Dropdown", e.Inline = "Inline", e.Overlay = "Overlay", e;
5675
+ return e.ExtraExtraSmall = "ExtraExtraSmall", e.ExtraSmall = "ExtraSmall", e.Small = "Small", e.Medium = "Medium", e.Large = "Large", e;
5673
5676
  }({}), yn = /* @__PURE__ */ function(e) {
5674
- return e.Left = "Left", e.Right = "Right", e;
5677
+ return e.Dropdown = "Dropdown", e.Inline = "Inline", e.Overlay = "Overlay", e;
5675
5678
  }({}), bn = /* @__PURE__ */ function(e) {
5676
- return e.Top = "Top", e.Bottom = "Bottom", e;
5679
+ return e.Left = "Left", e.Right = "Right", e;
5677
5680
  }({}), xn = /* @__PURE__ */ function(e) {
5678
- return e.TopLeft = "TopLeft", e.TopRight = "TopRight", e.BottomLeft = "BottomLeft", e.BottomRight = "BottomRight", e;
5681
+ return e.Top = "Top", e.Bottom = "Bottom", e;
5679
5682
  }({}), Sn = /* @__PURE__ */ function(e) {
5680
- return e.Button = "Button", e.Card = "Card", e.CardInline = "CardInline", e.Carousel = "Carousel", e.Helper = "Helper", e.ListOfContent = "ListOfContent", e.ListOfContentInline = "ListOfContentInline", e;
5683
+ return e.TopLeft = "TopLeft", e.TopRight = "TopRight", e.BottomLeft = "BottomLeft", e.BottomRight = "BottomRight", e;
5681
5684
  }({}), Cn = /* @__PURE__ */ function(e) {
5682
- return e.Inline = "Inline", e.Modal = "Modal", e.Drawer = "Drawer", e;
5685
+ return e.Button = "Button", e.Card = "Card", e.CardInline = "CardInline", e.Carousel = "Carousel", e.Helper = "Helper", e.ListOfContent = "ListOfContent", e.ListOfContentInline = "ListOfContentInline", e;
5683
5686
  }({}), wn = /* @__PURE__ */ function(e) {
5684
- return e.Self = "Self", e.Parent = "Parent", e.Top = "Top", e;
5687
+ return e.Inline = "Inline", e.Modal = "Modal", e.Drawer = "Drawer", e;
5685
5688
  }({}), Tn = /* @__PURE__ */ function(e) {
5686
- return e.Left = "Left", e.Right = "Right", e;
5689
+ return e.Self = "Self", e.Parent = "Parent", e.Top = "Top", e;
5687
5690
  }({}), En = /* @__PURE__ */ function(e) {
5688
- return e.Body = "Body", e.DOMSelector = "DOMSelector", e;
5691
+ return e.Left = "Left", e.Right = "Right", e;
5689
5692
  }({}), Dn = /* @__PURE__ */ function(e) {
5690
- return e.After = "After", e.AppendChild = "AppendChild", e.Before = "Before", e.PrependChild = "PrependChild", e;
5693
+ return e.Body = "Body", e.DOMSelector = "DOMSelector", e;
5691
5694
  }({}), On = /* @__PURE__ */ function(e) {
5692
- return e.CSSSelector = "CSSSelector", e.Slot = "Slot", e;
5695
+ return e.After = "After", e.AppendChild = "AppendChild", e.Before = "Before", e.PrependChild = "PrependChild", e;
5693
5696
  }({}), kn = /* @__PURE__ */ function(e) {
5694
- return e.Element = "Element", e.WebComponent = "WebComponent", e;
5697
+ return e.CSSSelector = "CSSSelector", e.Slot = "Slot", e;
5695
5698
  }({}), An = /* @__PURE__ */ function(e) {
5696
- return e.Inline = "Inline", e.Flex = "Flex", e;
5699
+ return e.Element = "Element", e.WebComponent = "WebComponent", e;
5697
5700
  }({}), jn = /* @__PURE__ */ function(e) {
5698
- return e.Horizontal = "Horizontal", e.Vertical = "Vertical", e;
5701
+ return e.Inline = "Inline", e.Flex = "Flex", e;
5699
5702
  }({}), Mn = /* @__PURE__ */ function(e) {
5700
- return e.Start = "Start", e.Center = "Center", e.End = "End", e.Stretch = "Stretch", e.Baseline = "Baseline", e;
5703
+ return e.Horizontal = "Horizontal", e.Vertical = "Vertical", e;
5701
5704
  }({}), Nn = /* @__PURE__ */ function(e) {
5702
- return e.Course = "Course", e.Live = "Live", e.Link = "Link", e.Page = "Page", e;
5705
+ return e.Start = "Start", e.Center = "Center", e.End = "End", e.Stretch = "Stretch", e.Baseline = "Baseline", e;
5703
5706
  }({}), Pn = /* @__PURE__ */ function(e) {
5704
- return e.Workshop = "Workshop", e.Conference = "Conference", e;
5707
+ return e.Course = "Course", e.Live = "Live", e.Link = "Link", e.Page = "Page", e;
5705
5708
  }({}), Fn = /* @__PURE__ */ function(e) {
5706
- return e.Ended = "Ended", e.Planned = "Planned", e.Live = "Live", e;
5709
+ return e.Workshop = "Workshop", e.Conference = "Conference", e;
5707
5710
  }({}), In = /* @__PURE__ */ function(e) {
5708
- return e.Hours = "Hours", e.Days = "Days", e.Never = "Never", e;
5711
+ return e.Ended = "Ended", e.Planned = "Planned", e.Live = "Live", e;
5709
5712
  }({}), Ln = /* @__PURE__ */ function(e) {
5710
- return e.CloseA = "CloseA", e.CloseB = "CloseB", e.Later = "Later", e;
5713
+ return e.Hours = "Hours", e.Days = "Days", e.Never = "Never", e;
5711
5714
  }({}), Rn = /* @__PURE__ */ function(e) {
5715
+ return e.CloseA = "CloseA", e.CloseB = "CloseB", e.Later = "Later", e;
5716
+ }({}), zn = /* @__PURE__ */ function(e) {
5712
5717
  return e.NoLimit = "NoLimit", e.OnlyOnce = "OnlyOnce", e.OncePerDays = "OncePerDays", e.UntilContentCompletion = "UntilContentCompletion", e;
5713
- }({}), zn = "a", Bn = "mention_input", Vn = "mention", Hn = "var", Un = "p", Wn = "h1", Gn = "h2", Kn = "h3", qn = "blockquote", Jn = "layout", Yn = "layout-column", Xn = "ul", Zn = "ol", Qn = "lic", $n = "li", er = "img", tr = "iframely", nr = "code_block", rr = "code_line", ir = /* @__PURE__ */ function(e) {
5718
+ }({}), Bn = "a", Vn = "mention_input", Hn = "mention", Un = "var", Wn = "p", Gn = "h1", Kn = "h2", qn = "h3", Jn = "blockquote", Yn = "layout", Xn = "layout-column", Zn = "ul", Qn = "ol", $n = "lic", er = "li", tr = "img", nr = "iframely", rr = "code_block", ir = "code_line", ar = /* @__PURE__ */ function(e) {
5714
5719
  return e.Element = "Element", e.FullPage = "FullPage", e;
5715
- }({}), ar = /* @__PURE__ */ function(e) {
5716
- return e.Draft = "Draft", e.Pending = "Pending", e.Published = "Published", e;
5717
5720
  }({}), or = /* @__PURE__ */ function(e) {
5718
- return e.Beacon = "Beacon", e.List = "List", e;
5721
+ return e.CustomText = "CustomText", e.Hotspot = "Hotspot", e.Url = "Url", e;
5719
5722
  }({}), sr = /* @__PURE__ */ function(e) {
5723
+ return e.Draft = "Draft", e.Pending = "Pending", e.Published = "Published", e;
5724
+ }({}), cr = /* @__PURE__ */ function(e) {
5725
+ return e.Beacon = "Beacon", e.List = "List", e;
5726
+ }({}), lr = /* @__PURE__ */ function(e) {
5720
5727
  return e.Channel = "Channel", e.Collection = "Collection", e.Course = "Course", e.Discussion = "Discussion", e.Forum = "Forum", e.Link = "Link", e.Live = "Live", e.LearningPath = "LearningPath", e.Page = "Page", e.RichText = "RichText", e.Topic = "Topic", e;
5721
5728
  }({});
5722
- function cr(e) {
5723
- return Object.values(sr).includes(e);
5729
+ function ur(e) {
5730
+ return Object.values(lr).includes(e);
5724
5731
  }
5725
5732
  //#endregion
5726
5733
  //#region src/index.ts
5727
- var lr = vt.getInstance(), ur = Kt.getInstance(), dr = rn.getInstance(), fr = {
5734
+ var dr = vt.getInstance(), fr = Kt.getInstance(), pr = an.getInstance(), mr = {
5728
5735
  Playbook: Zt.getInstance(),
5729
- Spot: $t.getInstance(),
5730
- SpotMember: tn.getInstance()
5731
- }, pr = globalThis;
5732
- pr.MeltingSpot ||= {}, pr.MeltingSpot.Configuration = lr, pr.MeltingSpot.Auth = ur, pr.MeltingSpot.Sso = dr, pr.MeltingSpot.Api = fr;
5736
+ Spot: en.getInstance(),
5737
+ SpotMember: nn.getInstance()
5738
+ }, hr = globalThis;
5739
+ hr.MeltingSpot ||= {}, hr.MeltingSpot.Configuration = dr, hr.MeltingSpot.Auth = fr, hr.MeltingSpot.Sso = pr, hr.MeltingSpot.Api = mr;
5733
5740
  //#endregion
5734
- var mr = Ee.default;
5735
- export { qn as ATTRIBUTE_BLOCKQUOTE, nr as ATTRIBUTE_CODE_BLOCK, rr as ATTRIBUTE_CODE_LINE, Wn as ATTRIBUTE_H1, Gn as ATTRIBUTE_H2, Kn as ATTRIBUTE_H3, tr as ATTRIBUTE_IFRAMELY, er as ATTRIBUTE_IMAGE, Jn as ATTRIBUTE_LAYOUT, Yn as ATTRIBUTE_LAYOUT_COLUMN, $n as ATTRIBUTE_LI, Qn as ATTRIBUTE_LIC, zn as ATTRIBUTE_LINK, Vn as ATTRIBUTE_MENTION, Bn as ATTRIBUTE_MENTION_INPUT, Zn as ATTRIBUTE_OL, Un as ATTRIBUTE_PARAGRAPH, Xn as ATTRIBUTE_UL, Hn as ATTRIBUTE_VARIABLE, sn as AnalyticsApiService, fr as Api, ur as Auth, Kt as AuthService, L as AuthServiceEvents, vn as BeaconIntegrationType, Sn as BeaconRenderType, B as ButtonBeaconSize, un as CoachMutePreset, lr as Configuration, vt as ConfigurationService, fn as ConversationMessageRole, pn as ConversationSseEventType, dn as ConversationStatus, ue as DEFAULT_PERMISSION_POLICIES, D as DateFormat, In as DisplayRuleTimeUnit, Tn as DrawerWidgetPosition, yn as DropdownBeaconHorizontalPosition, bn as DropdownBeaconVerticalPosition, N as HttpError, P as HttpMethods, F as HttpService, Ln as LastActionState, Nn as LearningPathContentType, Pn as LiveBuiltInType, Fn as LiveStatus, dt as Logger, Jt as MeltingSpotApi, mn as MeltyHandoffReason, hn as MeltyMessageFeedbackReason, gn as MeltyMessageFeedbackSignal, xn as OverlayBeaconPosition, at as PLAYBOOK_EDITOR_ACTIVE_EVENT, Zt as PlaybookApiService, O as PlaybookEditorAwareLifecycle, ir as PlaybookHotspotLocation, ar as PlaybookIntentStatus, or as PlaybookIntentWidgetMode, Ke as PlaybookPageMatchingOperator, Rn as RepetitionMode, an as RouteChangeDetector, tn as SpotMemberApiService, z as SpotMemberAuthApiService, sr as SpotWidgetContentType, dr as Sso, rn as SsoService, En as TouchPointAnchorType, Dn as TouchPointDOMInjectionPosition, kn as TouchPointDOMSelectorCssStepMode, On as TouchPointDOMSelectorPathStepType, Mn as TouchPointFlexAlign, jn as TouchPointFlexDirection, An as TouchPointLayoutType, _n as TriggerType, wn as WidgetInjectionTarget, Cn as WidgetInjectionType, le as createDialog, de as createIframe, fe as createIsolatedShadowHost, mr as dayjs, ln as flattenUtmParameters, A as formatBaseUrl, Ge as formatDate, ht as formatDeeplink, pt as formatUUID, ce as getHTMLElement, je as getTimeInfoWithStartAndEndDate, lt as isEditorPauseExempt, st as isPlaybookEditorActive, cr as isSpotWidgetContentType, pe as isTouchDevice, rt as matchesDomain, cn as parseUtmParameters, se as sanitizeUrl, ft as setLoggerDebugMode, tt as testUrlMatching, ie as trimSlashLeft, oe as trimSlashRight };
5741
+ var gr = Ee.default;
5742
+ export { Jn as ATTRIBUTE_BLOCKQUOTE, rr as ATTRIBUTE_CODE_BLOCK, ir as ATTRIBUTE_CODE_LINE, Gn as ATTRIBUTE_H1, Kn as ATTRIBUTE_H2, qn as ATTRIBUTE_H3, nr as ATTRIBUTE_IFRAMELY, tr as ATTRIBUTE_IMAGE, Yn as ATTRIBUTE_LAYOUT, Xn as ATTRIBUTE_LAYOUT_COLUMN, er as ATTRIBUTE_LI, $n as ATTRIBUTE_LIC, Bn as ATTRIBUTE_LINK, Hn as ATTRIBUTE_MENTION, Vn as ATTRIBUTE_MENTION_INPUT, Qn as ATTRIBUTE_OL, Wn as ATTRIBUTE_PARAGRAPH, Zn as ATTRIBUTE_UL, Un as ATTRIBUTE_VARIABLE, cn as AnalyticsApiService, mr as Api, fr as Auth, Kt as AuthService, L as AuthServiceEvents, yn as BeaconIntegrationType, Cn as BeaconRenderType, vn as ButtonBeaconSize, dn as CoachMutePreset, dr as Configuration, vt as ConfigurationService, pn as ConversationMessageRole, mn as ConversationSseEventType, fn as ConversationStatus, ue as DEFAULT_PERMISSION_POLICIES, D as DateFormat, Ln as DisplayRuleTimeUnit, En as DrawerWidgetPosition, bn as DropdownBeaconHorizontalPosition, xn as DropdownBeaconVerticalPosition, N as HttpError, P as HttpMethods, F as HttpService, $t as LIST_SPOTS_LIMIT, Rn as LastActionState, Pn as LearningPathContentType, Fn as LiveBuiltInType, In as LiveStatus, dt as Logger, Jt as MeltingSpotApi, hn as MeltyHandoffReason, gn as MeltyMessageFeedbackReason, _n as MeltyMessageFeedbackSignal, Sn as OverlayBeaconPosition, at as PLAYBOOK_EDITOR_ACTIVE_EVENT, Zt as PlaybookApiService, O as PlaybookEditorAwareLifecycle, ar as PlaybookHotspotLocation, or as PlaybookIntentActionType, sr as PlaybookIntentStatus, cr as PlaybookIntentWidgetMode, Ke as PlaybookPageMatchingOperator, zn as RepetitionMode, on as RouteChangeDetector, nn as SpotMemberApiService, rn as SpotMemberAuthApiService, lr as SpotWidgetContentType, pr as Sso, an as SsoService, Dn as TouchPointAnchorType, On as TouchPointDOMInjectionPosition, An as TouchPointDOMSelectorCssStepMode, kn as TouchPointDOMSelectorPathStepType, Nn as TouchPointFlexAlign, Mn as TouchPointFlexDirection, jn as TouchPointLayoutType, B as TriggerType, Tn as WidgetInjectionTarget, wn as WidgetInjectionType, le as createDialog, de as createIframe, fe as createIsolatedShadowHost, gr as dayjs, un as flattenUtmParameters, A as formatBaseUrl, Ge as formatDate, ht as formatDeeplink, pt as formatUUID, ce as getHTMLElement, je as getTimeInfoWithStartAndEndDate, lt as isEditorPauseExempt, st as isPlaybookEditorActive, ur as isSpotWidgetContentType, pe as isTouchDevice, rt as matchesDomain, ln as parseUtmParameters, se as sanitizeUrl, ft as setLoggerDebugMode, tt as testUrlMatching, ie as trimSlashLeft, oe as trimSlashRight };