@chatbotkit/sdk 1.21.8 → 1.21.10

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.
@@ -0,0 +1,272 @@
1
+ /**
2
+ * This file is auto-generated. Do not edit manually.
3
+ * Generated from report registry schemas.
4
+ */
5
+
6
+ export type ReportId = 'clr3m5n8k000008jq7h9e5b1a' | 'clr3m5n8k000108jq3c4d7f2b' | 'clr3m5n8k000208jq8e5f6g3c' | 'clr3m5n8k000308jq1h7i8j4d' | 'clr3m5n8k000408jq9i8j9k5e' | 'clr3m5n8k000508jq2j9k0l6f' | 'clr3m5n8k000608jq3k0l1m7g' | 'clr3m5n8k000708jq4l1m2n8h' | 'clr3m5n8k000808jq5m2n3o9i' | 'clr3m5n8k000908jq6n3o4p0j' | 'clr3m5n8k000a08jq7o4p5q1k' | 'clr3m5n8k000b08jq8p5q6r2l' | 'clr3m5n8k000c08jq9q6r7s3m'
7
+
8
+ export interface ReportMetadata {
9
+ id: string
10
+ name: string
11
+ description: string
12
+ createdAt: string
13
+ updatedAt: string
14
+ }
15
+
16
+ export interface ReportRegistry {
17
+ 'clr3m5n8k000008jq7h9e5b1a': {
18
+ name: string
19
+ description: string
20
+ input: TotalRatingsInput
21
+ output: TotalRatingsOutput
22
+ }
23
+ 'clr3m5n8k000108jq3c4d7f2b': {
24
+ name: string
25
+ description: string
26
+ input: ThumbsUpInput
27
+ output: ThumbsUpOutput
28
+ }
29
+ 'clr3m5n8k000208jq8e5f6g3c': {
30
+ name: string
31
+ description: string
32
+ input: ThumbsDownInput
33
+ output: ThumbsDownOutput
34
+ }
35
+ 'clr3m5n8k000308jq1h7i8j4d': {
36
+ name: string
37
+ description: string
38
+ input: TotalContactsInput
39
+ output: TotalContactsOutput
40
+ }
41
+ 'clr3m5n8k000408jq9i8j9k5e': {
42
+ name: string
43
+ description: string
44
+ input: ActiveContactsInput
45
+ output: ActiveContactsOutput
46
+ }
47
+ 'clr3m5n8k000508jq2j9k0l6f': {
48
+ name: string
49
+ description: string
50
+ input: TotalConversationsInput
51
+ output: TotalConversationsOutput
52
+ }
53
+ 'clr3m5n8k000608jq3k0l1m7g': {
54
+ name: string
55
+ description: string
56
+ input: TotalMessagesInput
57
+ output: TotalMessagesOutput
58
+ }
59
+ 'clr3m5n8k000708jq4l1m2n8h': {
60
+ name: string
61
+ description: string
62
+ input: UserMessagesInput
63
+ output: UserMessagesOutput
64
+ }
65
+ 'clr3m5n8k000808jq5m2n3o9i': {
66
+ name: string
67
+ description: string
68
+ input: BotMessagesInput
69
+ output: BotMessagesOutput
70
+ }
71
+ 'clr3m5n8k000908jq6n3o4p0j': {
72
+ name: string
73
+ description: string
74
+ input: ActivityMessagesInput
75
+ output: ActivityMessagesOutput
76
+ }
77
+ 'clr3m5n8k000a08jq7o4p5q1k': {
78
+ name: string
79
+ description: string
80
+ input: AverageUserMessagesPerConversationInput
81
+ output: AverageUserMessagesPerConversationOutput
82
+ }
83
+ 'clr3m5n8k000b08jq8p5q6r2l': {
84
+ name: string
85
+ description: string
86
+ input: AverageBotMessagesPerConversationInput
87
+ output: AverageBotMessagesPerConversationOutput
88
+ }
89
+ 'clr3m5n8k000c08jq9q6r7s3m': {
90
+ name: string
91
+ description: string
92
+ input: AverageActionsPerConversationInput
93
+ output: AverageActionsPerConversationOutput
94
+ }
95
+ }
96
+
97
+ // Input and Output Types for each report
98
+ export type TotalRatingsInput = {
99
+ periodDays?: number
100
+ }
101
+
102
+ export type ThumbsUpInput = {
103
+ periodDays?: number
104
+ }
105
+
106
+ export type ThumbsDownInput = {
107
+ periodDays?: number
108
+ }
109
+
110
+ export type TotalContactsInput = {
111
+ userId: string
112
+ }
113
+
114
+ export type ActiveContactsInput = {
115
+ periodDays?: number
116
+ }
117
+
118
+ export type TotalConversationsInput = {
119
+ periodDays?: number
120
+ }
121
+
122
+ export type TotalMessagesInput = {
123
+ periodDays?: number
124
+ }
125
+
126
+ export type UserMessagesInput = {
127
+ periodDays?: number
128
+ }
129
+
130
+ export type BotMessagesInput = {
131
+ periodDays?: number
132
+ }
133
+
134
+ export type ActivityMessagesInput = {
135
+ periodDays?: number
136
+ }
137
+
138
+ export type AverageUserMessagesPerConversationInput = {
139
+ periodDays?: number
140
+ }
141
+
142
+ export type AverageBotMessagesPerConversationInput = {
143
+ periodDays?: number
144
+ }
145
+
146
+ export type AverageActionsPerConversationInput = {
147
+ periodDays?: number
148
+ }
149
+
150
+ export type TotalRatingsOutput = {
151
+ value: number
152
+ change?: number
153
+ period: string
154
+ breakdown?: { date: string; total: number }[]
155
+ thumbsUp?: number
156
+ thumbsDown?: number
157
+ }
158
+
159
+ export type ThumbsUpOutput = {
160
+ value: number
161
+ change?: number
162
+ period: string
163
+ breakdown?: { date: string; total: number }[]
164
+ }
165
+
166
+ export type ThumbsDownOutput = {
167
+ value: number
168
+ change?: number
169
+ period: string
170
+ breakdown?: { date: string; total: number }[]
171
+ }
172
+
173
+ export type TotalContactsOutput = {
174
+ value: number
175
+ period: string
176
+ }
177
+
178
+ export type ActiveContactsOutput = {
179
+ value: number
180
+ change?: number
181
+ period: string
182
+ breakdown?: { date: string; total: number }[]
183
+ }
184
+
185
+ export type TotalConversationsOutput = {
186
+ value: number
187
+ change?: number
188
+ period: string
189
+ breakdown?: { date: string; total: number }[]
190
+ }
191
+
192
+ export type TotalMessagesOutput = {
193
+ value: number
194
+ change?: number
195
+ period: string
196
+ breakdown?: { date: string; total: number }[]
197
+ }
198
+
199
+ export type UserMessagesOutput = {
200
+ value: number
201
+ change?: number
202
+ period: string
203
+ breakdown?: { date: string; total: number }[]
204
+ }
205
+
206
+ export type BotMessagesOutput = {
207
+ value: number
208
+ change?: number
209
+ period: string
210
+ breakdown?: { date: string; total: number }[]
211
+ }
212
+
213
+ export type ActivityMessagesOutput = {
214
+ value: number
215
+ change?: number
216
+ period: string
217
+ breakdown?: { date: string; total: number }[]
218
+ }
219
+
220
+ export type AverageUserMessagesPerConversationOutput = {
221
+ value: number
222
+ period: string
223
+ }
224
+
225
+ export type AverageBotMessagesPerConversationOutput = {
226
+ value: number
227
+ period: string
228
+ }
229
+
230
+ export type AverageActionsPerConversationOutput = {
231
+ value: number
232
+ period: string
233
+ }
234
+
235
+ // Mapping report IDs to their input/output types
236
+ export type ReportInputTypes = {
237
+ 'clr3m5n8k000008jq7h9e5b1a': TotalRatingsInput
238
+ 'clr3m5n8k000108jq3c4d7f2b': ThumbsUpInput
239
+ 'clr3m5n8k000208jq8e5f6g3c': ThumbsDownInput
240
+ 'clr3m5n8k000308jq1h7i8j4d': TotalContactsInput
241
+ 'clr3m5n8k000408jq9i8j9k5e': ActiveContactsInput
242
+ 'clr3m5n8k000508jq2j9k0l6f': TotalConversationsInput
243
+ 'clr3m5n8k000608jq3k0l1m7g': TotalMessagesInput
244
+ 'clr3m5n8k000708jq4l1m2n8h': UserMessagesInput
245
+ 'clr3m5n8k000808jq5m2n3o9i': BotMessagesInput
246
+ 'clr3m5n8k000908jq6n3o4p0j': ActivityMessagesInput
247
+ 'clr3m5n8k000a08jq7o4p5q1k': AverageUserMessagesPerConversationInput
248
+ 'clr3m5n8k000b08jq8p5q6r2l': AverageBotMessagesPerConversationInput
249
+ 'clr3m5n8k000c08jq9q6r7s3m': AverageActionsPerConversationInput
250
+ }
251
+
252
+ export type ReportOutputTypes = {
253
+ 'clr3m5n8k000008jq7h9e5b1a': TotalRatingsOutput
254
+ 'clr3m5n8k000108jq3c4d7f2b': ThumbsUpOutput
255
+ 'clr3m5n8k000208jq8e5f6g3c': ThumbsDownOutput
256
+ 'clr3m5n8k000308jq1h7i8j4d': TotalContactsOutput
257
+ 'clr3m5n8k000408jq9i8j9k5e': ActiveContactsOutput
258
+ 'clr3m5n8k000508jq2j9k0l6f': TotalConversationsOutput
259
+ 'clr3m5n8k000608jq3k0l1m7g': TotalMessagesOutput
260
+ 'clr3m5n8k000708jq4l1m2n8h': UserMessagesOutput
261
+ 'clr3m5n8k000808jq5m2n3o9i': BotMessagesOutput
262
+ 'clr3m5n8k000908jq6n3o4p0j': ActivityMessagesOutput
263
+ 'clr3m5n8k000a08jq7o4p5q1k': AverageUserMessagesPerConversationOutput
264
+ 'clr3m5n8k000b08jq8p5q6r2l': AverageBotMessagesPerConversationOutput
265
+ 'clr3m5n8k000c08jq9q6r7s3m': AverageActionsPerConversationOutput
266
+ }
267
+
268
+ // Helper type to get input type by report ID
269
+ export type GetReportInput<T extends ReportId> = ReportInputTypes[T]
270
+
271
+ // Helper type to get output type by report ID
272
+ export type GetReportOutput<T extends ReportId> = ReportOutputTypes[T]