@vrplatform/log 2.0.8 → 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;
@@ -520,6 +522,15 @@ type IntercomConversationCreated = Partial<{
520
522
  type: string;
521
523
  deliveredAs: 'admin_initiated' | 'customer_initiated' | 'operator_initiated';
522
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;
523
534
  }>;
524
535
  type IntercomConversationRated = Partial<{
525
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;
@@ -520,6 +522,15 @@ type IntercomConversationCreated = Partial<{
520
522
  type: string;
521
523
  deliveredAs: 'admin_initiated' | 'customer_initiated' | 'operator_initiated';
522
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;
523
534
  }>;
524
535
  type IntercomConversationRated = Partial<{
525
536
  userId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vrplatform/log",
3
- "version": "2.0.8",
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;
@@ -635,6 +637,17 @@ type IntercomConversationCreated = Partial<{
635
637
  type: string;
636
638
  deliveredAs: 'admin_initiated' | 'customer_initiated' | 'operator_initiated';
637
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;
638
651
  }>;
639
652
 
640
653
  type IntercomConversationRated = Partial<{