@vrplatform/log 2.0.7 → 2.0.9

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,8 @@ type TrackingEventProps = {
117
117
  test_event: TestEventProps;
118
118
  test_error: TestErrorProps;
119
119
  intercom_conversation_created: IntercomConversationCreated;
120
+ intercom_conversation_replied: IntercomConversationReplied;
121
+ intercom_conversation_closed: IntercomConversationClosed;
120
122
  intercom_conversation_rated: IntercomConversationRated;
121
123
  };
122
124
  export type TrackingEvent = keyof TrackingEventProps;
@@ -516,9 +518,19 @@ type IntercomConversationCreated = Partial<{
516
518
  tenantId: string;
517
519
  userEmail: string;
518
520
  conversationId: string;
521
+ category: string;
519
522
  type: string;
520
523
  deliveredAs: 'admin_initiated' | 'customer_initiated' | 'operator_initiated';
521
524
  createdAt: string;
525
+ submittedAt: 'user' | 'admin';
526
+ }>;
527
+ type IntercomConversationReplied = IntercomConversationCreated;
528
+ type IntercomConversationClosed = Partial<{
529
+ userId: string;
530
+ tenantId: string;
531
+ userEmail: string;
532
+ conversationId: string;
533
+ createdAt: string;
522
534
  }>;
523
535
  type IntercomConversationRated = Partial<{
524
536
  userId: string;
@@ -117,6 +117,8 @@ type TrackingEventProps = {
117
117
  test_event: TestEventProps;
118
118
  test_error: TestErrorProps;
119
119
  intercom_conversation_created: IntercomConversationCreated;
120
+ intercom_conversation_replied: IntercomConversationReplied;
121
+ intercom_conversation_closed: IntercomConversationClosed;
120
122
  intercom_conversation_rated: IntercomConversationRated;
121
123
  };
122
124
  export type TrackingEvent = keyof TrackingEventProps;
@@ -516,9 +518,19 @@ type IntercomConversationCreated = Partial<{
516
518
  tenantId: string;
517
519
  userEmail: string;
518
520
  conversationId: string;
521
+ category: string;
519
522
  type: string;
520
523
  deliveredAs: 'admin_initiated' | 'customer_initiated' | 'operator_initiated';
521
524
  createdAt: string;
525
+ submittedAt: 'user' | 'admin';
526
+ }>;
527
+ type IntercomConversationReplied = IntercomConversationCreated;
528
+ type IntercomConversationClosed = Partial<{
529
+ userId: string;
530
+ tenantId: string;
531
+ userEmail: string;
532
+ conversationId: string;
533
+ createdAt: string;
522
534
  }>;
523
535
  type IntercomConversationRated = Partial<{
524
536
  userId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vrplatform/log",
3
- "version": "2.0.7",
3
+ "version": "2.0.9",
4
4
  "main": "build/main/index.js",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -120,6 +120,8 @@ type TrackingEventProps = {
120
120
  test_event: TestEventProps;
121
121
  test_error: TestErrorProps;
122
122
  intercom_conversation_created: IntercomConversationCreated;
123
+ intercom_conversation_replied: IntercomConversationReplied;
124
+ intercom_conversation_closed: IntercomConversationClosed;
123
125
  intercom_conversation_rated: IntercomConversationRated;
124
126
  };
125
127
  export type TrackingEvent = keyof TrackingEventProps;
@@ -631,9 +633,21 @@ type IntercomConversationCreated = Partial<{
631
633
  tenantId: string;
632
634
  userEmail: string;
633
635
  conversationId: string;
636
+ category: string;
634
637
  type: string;
635
638
  deliveredAs: 'admin_initiated' | 'customer_initiated' | 'operator_initiated';
636
639
  createdAt: string;
640
+ submittedAt: 'user' | 'admin';
641
+ }>;
642
+
643
+ type IntercomConversationReplied = IntercomConversationCreated;
644
+
645
+ type IntercomConversationClosed = Partial<{
646
+ userId: string;
647
+ tenantId: string;
648
+ userEmail: string;
649
+ conversationId: string;
650
+ createdAt: string;
637
651
  }>;
638
652
 
639
653
  type IntercomConversationRated = Partial<{