@accurix/centrinfo-widget 5.1.0 → 5.1.1

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.
@@ -562,6 +562,7 @@ interface WidgetStrings {
562
562
  bookingLoadingScheduler: string;
563
563
  bookingMeetingLink: string;
564
564
  bookingManageLink: string;
565
+ bookingUnverifiedLink: string;
565
566
  bookingCheckingDetails: string;
566
567
  bookingDetailsUnavailable: string;
567
568
  bookingRetryDetails: string;
@@ -995,6 +996,11 @@ interface StreamCallbacks {
995
996
  interface ActionResult {
996
997
  ok: boolean;
997
998
  note?: string;
999
+ /** Saved conversation message for this completed action. */
1000
+ receipt?: {
1001
+ id: string;
1002
+ content: string;
1003
+ };
998
1004
  /** Present on book-a-demo when a connected scheduler fulfilled it live —
999
1005
  * a real calendar event was created (event mode) or a Calendly link was
1000
1006
  * resolved (link mode). Absent when it fell back to a staff-follow-up request. */
@@ -1020,6 +1026,11 @@ interface DemoBooking {
1020
1026
  endAt?: string;
1021
1027
  timezone?: string;
1022
1028
  title?: string;
1029
+ /** Returned with hosted booking confirmation for immediate chat display. */
1030
+ receipt?: {
1031
+ id: string;
1032
+ content: string;
1033
+ };
1023
1034
  }
1024
1035
  interface HostedBookingConfirmation {
1025
1036
  sessionId: string;
@@ -1,4 +1,4 @@
1
- import * as preact1 from "preact";
1
+ import * as preact3 from "preact";
2
2
  import { JSX } from "preact";
3
3
 
4
4
  //#region ../centrinfo-results/src/analytics-chart-catalog.d.ts
@@ -529,7 +529,7 @@ declare const WidgetAnalyticsChart: ({
529
529
  expanded?: boolean;
530
530
  /** Class prefix of the surface (`cf` widget, `ca` chat app). */
531
531
  classPrefix?: string;
532
- }) => preact1.JSX.Element;
532
+ }) => preact3.JSX.Element;
533
533
  //#endregion
534
534
  //#region ../centrinfo-results/src/result.d.ts
535
535
  declare const formatResultCell: (value: unknown, locale?: string, column?: ResultColumn, context?: ResultFormatContext) => string;
@@ -556,7 +556,7 @@ declare const ResultTable: ({
556
556
  expanded,
557
557
  classNames,
558
558
  emptyLabel
559
- }: ResultTableProps) => preact1.JSX.Element;
559
+ }: ResultTableProps) => preact3.JSX.Element;
560
560
  //#endregion
561
561
  //#region ../centrinfo-results/src/result-details.d.ts
562
562
  interface AnalyticsResultDetail {
@@ -770,6 +770,7 @@ interface WidgetStrings {
770
770
  bookingLoadingScheduler: string;
771
771
  bookingMeetingLink: string;
772
772
  bookingManageLink: string;
773
+ bookingUnverifiedLink: string;
773
774
  bookingCheckingDetails: string;
774
775
  bookingDetailsUnavailable: string;
775
776
  bookingRetryDetails: string;
@@ -778,7 +779,7 @@ interface WidgetStrings {
778
779
  previewActionNote: string;
779
780
  previewBanner: string;
780
781
  }
781
- declare const StringsProvider: preact1.Provider<WidgetStrings>;
782
+ declare const StringsProvider: preact3.Provider<WidgetStrings>;
782
783
  //#endregion
783
784
  //#region src/api/types.d.ts
784
785
  /** The result metadata that arrives with (or after) an answer. */
@@ -1203,6 +1204,11 @@ interface StreamCallbacks {
1203
1204
  interface ActionResult {
1204
1205
  ok: boolean;
1205
1206
  note?: string;
1207
+ /** Saved conversation message for this completed action. */
1208
+ receipt?: {
1209
+ id: string;
1210
+ content: string;
1211
+ };
1206
1212
  /** Present on book-a-demo when a connected scheduler fulfilled it live —
1207
1213
  * a real calendar event was created (event mode) or a Calendly link was
1208
1214
  * resolved (link mode). Absent when it fell back to a staff-follow-up request. */
@@ -1228,6 +1234,11 @@ interface DemoBooking {
1228
1234
  endAt?: string;
1229
1235
  timezone?: string;
1230
1236
  title?: string;
1237
+ /** Returned with hosted booking confirmation for immediate chat display. */
1238
+ receipt?: {
1239
+ id: string;
1240
+ content: string;
1241
+ };
1231
1242
  }
1232
1243
  interface HostedBookingConfirmation {
1233
1244
  sessionId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@accurix/centrinfo-widget",
3
- "version": "5.1.0",
3
+ "version": "5.1.1",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "sideEffects": [