@bcrumbs.net/inbox 0.0.75 → 0.0.77

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.
package/index.cjs.js CHANGED
@@ -2580,6 +2580,15 @@ const AgentReportFragmentDoc = Apollo.gql(_t9$1 || (_t9$1 = _$4`
2580
2580
  responseRate
2581
2581
  averageRating
2582
2582
  csat
2583
+ ratedConversationsCount
2584
+ positiveRatingsCount
2585
+ feedbackRequestedCount
2586
+ feedbackAnsweredCount
2587
+ rating1Count
2588
+ rating2Count
2589
+ rating3Count
2590
+ rating4Count
2591
+ rating5Count
2583
2592
  createdAt
2584
2593
  }
2585
2594
  `));
@@ -2637,6 +2646,15 @@ const ConversationReportFragmentDoc = Apollo.gql(_t10$1 || (_t10$1 = _$4`
2637
2646
  responseRate
2638
2647
  averageRating
2639
2648
  csat
2649
+ ratedConversationsCount
2650
+ positiveRatingsCount
2651
+ feedbackRequestedCount
2652
+ feedbackAnsweredCount
2653
+ rating1Count
2654
+ rating2Count
2655
+ rating3Count
2656
+ rating4Count
2657
+ rating5Count
2640
2658
  createdAt
2641
2659
  }
2642
2660
  `));
package/index.esm.js CHANGED
@@ -2562,6 +2562,15 @@ const AgentReportFragmentDoc = gql(_t9$1 || (_t9$1 = _$4`
2562
2562
  responseRate
2563
2563
  averageRating
2564
2564
  csat
2565
+ ratedConversationsCount
2566
+ positiveRatingsCount
2567
+ feedbackRequestedCount
2568
+ feedbackAnsweredCount
2569
+ rating1Count
2570
+ rating2Count
2571
+ rating3Count
2572
+ rating4Count
2573
+ rating5Count
2565
2574
  createdAt
2566
2575
  }
2567
2576
  `));
@@ -2619,6 +2628,15 @@ const ConversationReportFragmentDoc = gql(_t10$1 || (_t10$1 = _$4`
2619
2628
  responseRate
2620
2629
  averageRating
2621
2630
  csat
2631
+ ratedConversationsCount
2632
+ positiveRatingsCount
2633
+ feedbackRequestedCount
2634
+ feedbackAnsweredCount
2635
+ rating1Count
2636
+ rating2Count
2637
+ rating3Count
2638
+ rating4Count
2639
+ rating5Count
2622
2640
  createdAt
2623
2641
  }
2624
2642
  `));
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bcrumbs.net/inbox",
3
3
  "description": "Inbox widget for Bread Crumbs portals",
4
- "version": "0.0.75",
4
+ "version": "0.0.77",
5
5
  "keyword": [
6
6
  "bcrumbs",
7
7
  "bc-ui",
@@ -25,7 +25,7 @@
25
25
  },
26
26
  "dependencies": {
27
27
  "@bcrumbs.net/bc-shared": "^0.0.12",
28
- "@bcrumbs.net/bc-ui": "^0.0.17",
28
+ "@bcrumbs.net/bc-ui": "^0.0.18",
29
29
  "@bcrumbs.net/bc-api": "^0.0.49",
30
30
  "@azure/storage-blob": "^12.25.0"
31
31
  },
@@ -248,6 +248,16 @@ export type AgentReport = {
248
248
  createdAt: Scalars['DateTime']['output'];
249
249
  /** The CSAT percentage (4 and 5 ratings over rated conversations). */
250
250
  csat: Scalars['Float']['output'];
251
+ /**
252
+ * The number of requested conversations where the client gave a rating.
253
+ * Response rate = feedbackAnsweredCount / feedbackRequestedCount.
254
+ */
255
+ feedbackAnsweredCount: Scalars['Int']['output'];
256
+ /**
257
+ * The number of closed conversations where the rating AI asked for feedback.
258
+ * Request rate = feedbackRequestedCount / conversationCount.
259
+ */
260
+ feedbackRequestedCount: Scalars['Int']['output'];
251
261
  /** Conversations included in avgFirstResponseTime (client messaged before the agent replied). */
252
262
  firstResponseConversationCount: Scalars['Int']['output'];
253
263
  id: Scalars['ID']['output'];
@@ -255,6 +265,20 @@ export type AgentReport = {
255
265
  integrationId?: Maybe<Scalars['ID']['output']>;
256
266
  /** The number of new client conversations in the hour. */
257
267
  newClientConvCount?: Maybe<Scalars['Int']['output']>;
268
+ /** The number of ratings of 4 (Great) or 5 (Amazing). */
269
+ positiveRatingsCount: Scalars['Int']['output'];
270
+ /** The number of closed conversations that received a rating. */
271
+ ratedConversationsCount: Scalars['Int']['output'];
272
+ /** The number of ratings with score 1 (Terrible). */
273
+ rating1Count: Scalars['Int']['output'];
274
+ /** The number of ratings with score 2 (Bad). */
275
+ rating2Count: Scalars['Int']['output'];
276
+ /** The number of ratings with score 3 (Ok). */
277
+ rating3Count: Scalars['Int']['output'];
278
+ /** The number of ratings with score 4 (Great). */
279
+ rating4Count: Scalars['Int']['output'];
280
+ /** The number of ratings with score 5 (Amazing). */
281
+ rating5Count: Scalars['Int']['output'];
258
282
  /** The percentage of conversations that received a rating. */
259
283
  responseRate: Scalars['Float']['output'];
260
284
  workspaceId: Scalars['Int']['output'];
@@ -1964,6 +1988,16 @@ export type ConversationReport = {
1964
1988
  createdAt: Scalars['DateTime']['output'];
1965
1989
  /** The CSAT percentage (4 and 5 ratings over rated conversations). */
1966
1990
  csat: Scalars['Float']['output'];
1991
+ /**
1992
+ * The number of requested conversations where the client gave a rating.
1993
+ * Response rate = feedbackAnsweredCount / feedbackRequestedCount.
1994
+ */
1995
+ feedbackAnsweredCount: Scalars['Int']['output'];
1996
+ /**
1997
+ * The number of closed conversations where the rating AI asked for feedback.
1998
+ * Request rate = feedbackRequestedCount / conversationCount.
1999
+ */
2000
+ feedbackRequestedCount: Scalars['Int']['output'];
1967
2001
  /** Conversations included in avgFirstResponseTime (client messaged before the agent replied). */
1968
2002
  firstResponseConversationCount: Scalars['Int']['output'];
1969
2003
  /** The hour of the conversation report. */
@@ -1974,6 +2008,20 @@ export type ConversationReport = {
1974
2008
  integrationId: Scalars['ID']['output'];
1975
2009
  /** The number of new client conversations in the hour. */
1976
2010
  newClientConvCount?: Maybe<Scalars['Int']['output']>;
2011
+ /** The number of ratings of 4 (Great) or 5 (Amazing). */
2012
+ positiveRatingsCount: Scalars['Int']['output'];
2013
+ /** The number of closed conversations that received a rating. */
2014
+ ratedConversationsCount: Scalars['Int']['output'];
2015
+ /** The number of ratings with score 1 (Terrible). */
2016
+ rating1Count: Scalars['Int']['output'];
2017
+ /** The number of ratings with score 2 (Bad). */
2018
+ rating2Count: Scalars['Int']['output'];
2019
+ /** The number of ratings with score 3 (Ok). */
2020
+ rating3Count: Scalars['Int']['output'];
2021
+ /** The number of ratings with score 4 (Great). */
2022
+ rating4Count: Scalars['Int']['output'];
2023
+ /** The number of ratings with score 5 (Amazing). */
2024
+ rating5Count: Scalars['Int']['output'];
1977
2025
  /** The percentage of conversations that received a rating. */
1978
2026
  responseRate: Scalars['Float']['output'];
1979
2027
  workspaceId: Scalars['Int']['output'];
@@ -6156,6 +6204,15 @@ export type AgentReportFragment = {
6156
6204
  responseRate: number;
6157
6205
  averageRating: number;
6158
6206
  csat: number;
6207
+ ratedConversationsCount: number;
6208
+ positiveRatingsCount: number;
6209
+ feedbackRequestedCount: number;
6210
+ feedbackAnsweredCount: number;
6211
+ rating1Count: number;
6212
+ rating2Count: number;
6213
+ rating3Count: number;
6214
+ rating4Count: number;
6215
+ rating5Count: number;
6159
6216
  createdAt: any;
6160
6217
  };
6161
6218
  export type ConvStageReportFragment = {
@@ -6210,6 +6267,15 @@ export type ConversationReportFragment = {
6210
6267
  responseRate: number;
6211
6268
  averageRating: number;
6212
6269
  csat: number;
6270
+ ratedConversationsCount: number;
6271
+ positiveRatingsCount: number;
6272
+ feedbackRequestedCount: number;
6273
+ feedbackAnsweredCount: number;
6274
+ rating1Count: number;
6275
+ rating2Count: number;
6276
+ rating3Count: number;
6277
+ rating4Count: number;
6278
+ rating5Count: number;
6213
6279
  createdAt: any;
6214
6280
  };
6215
6281
  export type AgentsReportQueryVariables = Exact<{
@@ -6234,6 +6300,15 @@ export type AgentsReportQuery = {
6234
6300
  responseRate: number;
6235
6301
  averageRating: number;
6236
6302
  csat: number;
6303
+ ratedConversationsCount: number;
6304
+ positiveRatingsCount: number;
6305
+ feedbackRequestedCount: number;
6306
+ feedbackAnsweredCount: number;
6307
+ rating1Count: number;
6308
+ rating2Count: number;
6309
+ rating3Count: number;
6310
+ rating4Count: number;
6311
+ rating5Count: number;
6237
6312
  createdAt: any;
6238
6313
  }> | null;
6239
6314
  };
@@ -6315,6 +6390,15 @@ export type ConvsReportQuery = {
6315
6390
  responseRate: number;
6316
6391
  averageRating: number;
6317
6392
  csat: number;
6393
+ ratedConversationsCount: number;
6394
+ positiveRatingsCount: number;
6395
+ feedbackRequestedCount: number;
6396
+ feedbackAnsweredCount: number;
6397
+ rating1Count: number;
6398
+ rating2Count: number;
6399
+ rating3Count: number;
6400
+ rating4Count: number;
6401
+ rating5Count: number;
6318
6402
  createdAt: any;
6319
6403
  }> | null;
6320
6404
  };