@vrplatform/log 2.0.6 → 2.0.8

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.
@@ -117,6 +117,7 @@ type TrackingEventProps = {
117
117
  test_event: TestEventProps;
118
118
  test_error: TestErrorProps;
119
119
  intercom_conversation_created: IntercomConversationCreated;
120
+ intercom_conversation_rated: IntercomConversationRated;
120
121
  };
121
122
  export type TrackingEvent = keyof TrackingEventProps;
122
123
  type OptionalUser<T> = T & ({
@@ -515,8 +516,18 @@ type IntercomConversationCreated = Partial<{
515
516
  tenantId: string;
516
517
  userEmail: string;
517
518
  conversationId: string;
519
+ category: string;
518
520
  type: string;
519
521
  deliveredAs: 'admin_initiated' | 'customer_initiated' | 'operator_initiated';
520
522
  createdAt: string;
521
523
  }>;
524
+ type IntercomConversationRated = Partial<{
525
+ userId: string;
526
+ tenantId: string;
527
+ userEmail: string;
528
+ conversationId: string;
529
+ rating: number;
530
+ remark: string;
531
+ createdAt: string;
532
+ }>;
522
533
  export {};
@@ -117,6 +117,7 @@ type TrackingEventProps = {
117
117
  test_event: TestEventProps;
118
118
  test_error: TestErrorProps;
119
119
  intercom_conversation_created: IntercomConversationCreated;
120
+ intercom_conversation_rated: IntercomConversationRated;
120
121
  };
121
122
  export type TrackingEvent = keyof TrackingEventProps;
122
123
  type OptionalUser<T> = T & ({
@@ -515,8 +516,18 @@ type IntercomConversationCreated = Partial<{
515
516
  tenantId: string;
516
517
  userEmail: string;
517
518
  conversationId: string;
519
+ category: string;
518
520
  type: string;
519
521
  deliveredAs: 'admin_initiated' | 'customer_initiated' | 'operator_initiated';
520
522
  createdAt: string;
521
523
  }>;
524
+ type IntercomConversationRated = Partial<{
525
+ userId: string;
526
+ tenantId: string;
527
+ userEmail: string;
528
+ conversationId: string;
529
+ rating: number;
530
+ remark: string;
531
+ createdAt: string;
532
+ }>;
522
533
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vrplatform/log",
3
- "version": "2.0.6",
3
+ "version": "2.0.8",
4
4
  "main": "build/main/index.js",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -120,6 +120,7 @@ type TrackingEventProps = {
120
120
  test_event: TestEventProps;
121
121
  test_error: TestErrorProps;
122
122
  intercom_conversation_created: IntercomConversationCreated;
123
+ intercom_conversation_rated: IntercomConversationRated;
123
124
  };
124
125
  export type TrackingEvent = keyof TrackingEventProps;
125
126
 
@@ -630,7 +631,18 @@ type IntercomConversationCreated = Partial<{
630
631
  tenantId: string;
631
632
  userEmail: string;
632
633
  conversationId: string;
634
+ category: string;
633
635
  type: string;
634
636
  deliveredAs: 'admin_initiated' | 'customer_initiated' | 'operator_initiated';
635
637
  createdAt: string;
636
638
  }>;
639
+
640
+ type IntercomConversationRated = Partial<{
641
+ userId: string;
642
+ tenantId: string;
643
+ userEmail: string;
644
+ conversationId: string;
645
+ rating: number;
646
+ remark: string;
647
+ createdAt: string;
648
+ }>;