@inkeep/cxkit-types 0.5.74 → 0.5.76

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +9 -2
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -292,6 +292,7 @@ export declare interface ConversationBody {
292
292
  visibility?: 'public' | 'private';
293
293
  messages: Message[];
294
294
  tags: string[];
295
+ properties?: Record<string, unknown>;
295
296
  userProperties: UserProperties;
296
297
  }
297
298
 
@@ -382,6 +383,7 @@ export declare interface FeedbackBody {
382
383
  details: string;
383
384
  }[] | null;
384
385
  userProperties: UserProperties;
386
+ properties?: Record<string, unknown>;
385
387
  }
386
388
 
387
389
  export declare type FeedbackItemType = keyof MessageFeedback;
@@ -632,6 +634,11 @@ export declare interface InkeepBaseSettings {
632
634
  * Used for authenticated API requests if required.
633
635
  */
634
636
  userAuthToken?: string;
637
+ /**
638
+ * Additional properties to be sent with analytics events.
639
+ * These properties will be merged with the event properties.
640
+ */
641
+ analyticsProperties?: Record<string, unknown>;
635
642
  /**
636
643
  * Handler for analytics events from the widget.
637
644
  * @param event The analytics event object
@@ -1651,7 +1658,7 @@ export declare interface UserMessageSubmittedEvent {
1651
1658
  };
1652
1659
  }
1653
1660
 
1654
- export declare interface UserProperties {
1661
+ export declare type UserProperties = {
1655
1662
  /**
1656
1663
  * The user ID.
1657
1664
  */
@@ -1668,7 +1675,7 @@ export declare interface UserProperties {
1668
1675
  * The user cohorts.
1669
1676
  */
1670
1677
  cohorts?: string[];
1671
- }
1678
+ } & Record<string, unknown>;
1672
1679
 
1673
1680
  export declare interface UserProvidedColorScheme {
1674
1681
  textBold?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inkeep/cxkit-types",
3
- "version": "0.5.74",
3
+ "version": "0.5.76",
4
4
  "description": "",
5
5
  "license": "Inkeep, Inc. Customer License (IICL) v1.1",
6
6
  "homepage": "",