getricky 0.1.14 → 0.1.15
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.
|
@@ -132,7 +132,7 @@ export type ContactIdentity = {
|
|
|
132
132
|
/**
|
|
133
133
|
* Channel this identity belongs to.
|
|
134
134
|
*/
|
|
135
|
-
channel_type: 'whatsapp' | 'instagram' | 'messenger';
|
|
135
|
+
channel_type: 'whatsapp' | 'instagram' | 'messenger' | 'webchat';
|
|
136
136
|
/**
|
|
137
137
|
* Address on that channel: phone digits for WhatsApp, account ID otherwise.
|
|
138
138
|
*/
|
|
@@ -287,7 +287,7 @@ export type Channel = {
|
|
|
287
287
|
/**
|
|
288
288
|
* Messaging channel.
|
|
289
289
|
*/
|
|
290
|
-
type: 'whatsapp' | 'instagram' | 'messenger';
|
|
290
|
+
type: 'whatsapp' | 'instagram' | 'messenger' | 'webchat';
|
|
291
291
|
/**
|
|
292
292
|
* Name shown in Ricky.
|
|
293
293
|
*/
|
|
@@ -348,7 +348,7 @@ export type Conversation = {
|
|
|
348
348
|
* Channel ID.
|
|
349
349
|
*/
|
|
350
350
|
id: string;
|
|
351
|
-
type: 'whatsapp' | 'instagram' | 'messenger';
|
|
351
|
+
type: 'whatsapp' | 'instagram' | 'messenger' | 'webchat';
|
|
352
352
|
};
|
|
353
353
|
contact: {
|
|
354
354
|
id: string | null;
|
|
@@ -1213,7 +1213,7 @@ export type ConversationsReport = {
|
|
|
1213
1213
|
/**
|
|
1214
1214
|
* The channel filter the report applied.
|
|
1215
1215
|
*/
|
|
1216
|
-
channel: 'all' | 'whatsapp' | 'instagram' | 'messenger';
|
|
1216
|
+
channel: 'all' | 'whatsapp' | 'instagram' | 'messenger' | 'webchat';
|
|
1217
1217
|
/**
|
|
1218
1218
|
* The period.
|
|
1219
1219
|
*/
|
|
@@ -1263,7 +1263,7 @@ export type ConversationsReport = {
|
|
|
1263
1263
|
/**
|
|
1264
1264
|
* Channel.
|
|
1265
1265
|
*/
|
|
1266
|
-
channel: 'whatsapp' | 'instagram' | 'messenger';
|
|
1266
|
+
channel: 'whatsapp' | 'instagram' | 'messenger' | 'webchat';
|
|
1267
1267
|
/**
|
|
1268
1268
|
* Conversations with at least one customer message in the period.
|
|
1269
1269
|
*/
|
|
@@ -1329,7 +1329,7 @@ export type MessagesReport = {
|
|
|
1329
1329
|
/**
|
|
1330
1330
|
* The channel filter the report applied.
|
|
1331
1331
|
*/
|
|
1332
|
-
channel: 'all' | 'whatsapp' | 'instagram' | 'messenger';
|
|
1332
|
+
channel: 'all' | 'whatsapp' | 'instagram' | 'messenger' | 'webchat';
|
|
1333
1333
|
/**
|
|
1334
1334
|
* The period.
|
|
1335
1335
|
*/
|
|
@@ -1413,7 +1413,7 @@ export type MessagesReport = {
|
|
|
1413
1413
|
/**
|
|
1414
1414
|
* Channel.
|
|
1415
1415
|
*/
|
|
1416
|
-
channel: 'whatsapp' | 'instagram' | 'messenger';
|
|
1416
|
+
channel: 'whatsapp' | 'instagram' | 'messenger' | 'webchat';
|
|
1417
1417
|
/**
|
|
1418
1418
|
* Messages customers sent.
|
|
1419
1419
|
*/
|
|
@@ -1537,7 +1537,7 @@ export type DashboardReport = {
|
|
|
1537
1537
|
/**
|
|
1538
1538
|
* Channel.
|
|
1539
1539
|
*/
|
|
1540
|
-
channel: 'whatsapp' | 'instagram' | 'messenger';
|
|
1540
|
+
channel: 'whatsapp' | 'instagram' | 'messenger' | 'webchat';
|
|
1541
1541
|
/**
|
|
1542
1542
|
* Open conversations.
|
|
1543
1543
|
*/
|
|
@@ -1579,7 +1579,7 @@ export type DashboardReport = {
|
|
|
1579
1579
|
/**
|
|
1580
1580
|
* Channel.
|
|
1581
1581
|
*/
|
|
1582
|
-
channel: 'whatsapp' | 'instagram' | 'messenger';
|
|
1582
|
+
channel: 'whatsapp' | 'instagram' | 'messenger' | 'webchat';
|
|
1583
1583
|
/**
|
|
1584
1584
|
* Name the channel reports for the customer.
|
|
1585
1585
|
*/
|
|
@@ -1610,7 +1610,7 @@ export type TeamReport = {
|
|
|
1610
1610
|
/**
|
|
1611
1611
|
* The channel filter the report applied.
|
|
1612
1612
|
*/
|
|
1613
|
-
channel: 'all' | 'whatsapp' | 'instagram' | 'messenger';
|
|
1613
|
+
channel: 'all' | 'whatsapp' | 'instagram' | 'messenger' | 'webchat';
|
|
1614
1614
|
/**
|
|
1615
1615
|
* Every member and active AI agent, most messages and closes first.
|
|
1616
1616
|
*/
|
|
@@ -1926,7 +1926,7 @@ export type ResponsesReport = {
|
|
|
1926
1926
|
/**
|
|
1927
1927
|
* The channel filter the report applied.
|
|
1928
1928
|
*/
|
|
1929
|
-
channel: 'all' | 'whatsapp' | 'instagram' | 'messenger';
|
|
1929
|
+
channel: 'all' | 'whatsapp' | 'instagram' | 'messenger' | 'webchat';
|
|
1930
1930
|
/**
|
|
1931
1931
|
* The responder filter the report applied: `all`, `humans`, `agents` or an ID.
|
|
1932
1932
|
*/
|
|
@@ -2054,7 +2054,7 @@ export type ResponsesReport = {
|
|
|
2054
2054
|
/**
|
|
2055
2055
|
* Channel.
|
|
2056
2056
|
*/
|
|
2057
|
-
channel: 'whatsapp' | 'instagram' | 'messenger';
|
|
2057
|
+
channel: 'whatsapp' | 'instagram' | 'messenger' | 'webchat';
|
|
2058
2058
|
/**
|
|
2059
2059
|
* Responses in the period.
|
|
2060
2060
|
*/
|
|
@@ -2095,7 +2095,7 @@ export type ResponsesReport = {
|
|
|
2095
2095
|
/**
|
|
2096
2096
|
* The app an `external` responder used; null otherwise.
|
|
2097
2097
|
*/
|
|
2098
|
-
channel: 'whatsapp' | 'instagram' | 'messenger' | null;
|
|
2098
|
+
channel: 'whatsapp' | 'instagram' | 'messenger' | 'webchat' | null;
|
|
2099
2099
|
/**
|
|
2100
2100
|
* Responses in the period.
|
|
2101
2101
|
*/
|
|
@@ -2130,7 +2130,7 @@ export type ResolutionsReport = {
|
|
|
2130
2130
|
/**
|
|
2131
2131
|
* The channel filter the report applied.
|
|
2132
2132
|
*/
|
|
2133
|
-
channel: 'all' | 'whatsapp' | 'instagram' | 'messenger';
|
|
2133
|
+
channel: 'all' | 'whatsapp' | 'instagram' | 'messenger' | 'webchat';
|
|
2134
2134
|
/**
|
|
2135
2135
|
* The period.
|
|
2136
2136
|
*/
|
|
@@ -2205,7 +2205,7 @@ export type ResolutionsReport = {
|
|
|
2205
2205
|
/**
|
|
2206
2206
|
* Channel.
|
|
2207
2207
|
*/
|
|
2208
|
-
channel: 'whatsapp' | 'instagram' | 'messenger';
|
|
2208
|
+
channel: 'whatsapp' | 'instagram' | 'messenger' | 'webchat';
|
|
2209
2209
|
/**
|
|
2210
2210
|
* Closes in the period.
|
|
2211
2211
|
*/
|
|
@@ -4783,7 +4783,7 @@ export type ListContactsData = {
|
|
|
4783
4783
|
/**
|
|
4784
4784
|
* Only contacts reachable on this channel.
|
|
4785
4785
|
*/
|
|
4786
|
-
channel?: 'whatsapp' | 'instagram' | 'messenger';
|
|
4786
|
+
channel?: 'whatsapp' | 'instagram' | 'messenger' | 'webchat';
|
|
4787
4787
|
};
|
|
4788
4788
|
url: '/contacts';
|
|
4789
4789
|
};
|
|
@@ -7058,7 +7058,7 @@ export type GetConversationsReportData = {
|
|
|
7058
7058
|
/**
|
|
7059
7059
|
* Only this channel.
|
|
7060
7060
|
*/
|
|
7061
|
-
channel?: 'all' | 'whatsapp' | 'instagram' | 'messenger';
|
|
7061
|
+
channel?: 'all' | 'whatsapp' | 'instagram' | 'messenger' | 'webchat';
|
|
7062
7062
|
};
|
|
7063
7063
|
url: '/reports/conversations';
|
|
7064
7064
|
};
|
|
@@ -7109,7 +7109,7 @@ export type GetMessagesReportData = {
|
|
|
7109
7109
|
/**
|
|
7110
7110
|
* Only this channel.
|
|
7111
7111
|
*/
|
|
7112
|
-
channel?: 'all' | 'whatsapp' | 'instagram' | 'messenger';
|
|
7112
|
+
channel?: 'all' | 'whatsapp' | 'instagram' | 'messenger' | 'webchat';
|
|
7113
7113
|
};
|
|
7114
7114
|
url: '/reports/messages';
|
|
7115
7115
|
};
|
|
@@ -7160,7 +7160,7 @@ export type GetResponsesReportData = {
|
|
|
7160
7160
|
/**
|
|
7161
7161
|
* Only this channel.
|
|
7162
7162
|
*/
|
|
7163
|
-
channel?: 'all' | 'whatsapp' | 'instagram' | 'messenger';
|
|
7163
|
+
channel?: 'all' | 'whatsapp' | 'instagram' | 'messenger' | 'webchat';
|
|
7164
7164
|
/**
|
|
7165
7165
|
* Only responses from people, in Ricky or in the channel's own app (`humans`), from AI agents (`agents`), or from one member or AI agent by ID.
|
|
7166
7166
|
*/
|
|
@@ -7215,7 +7215,7 @@ export type GetResolutionsReportData = {
|
|
|
7215
7215
|
/**
|
|
7216
7216
|
* Only this channel.
|
|
7217
7217
|
*/
|
|
7218
|
-
channel?: 'all' | 'whatsapp' | 'instagram' | 'messenger';
|
|
7218
|
+
channel?: 'all' | 'whatsapp' | 'instagram' | 'messenger' | 'webchat';
|
|
7219
7219
|
};
|
|
7220
7220
|
url: '/reports/resolutions';
|
|
7221
7221
|
};
|
|
@@ -7266,7 +7266,7 @@ export type GetTeamReportData = {
|
|
|
7266
7266
|
/**
|
|
7267
7267
|
* Only this channel.
|
|
7268
7268
|
*/
|
|
7269
|
-
channel?: 'all' | 'whatsapp' | 'instagram' | 'messenger';
|
|
7269
|
+
channel?: 'all' | 'whatsapp' | 'instagram' | 'messenger' | 'webchat';
|
|
7270
7270
|
};
|
|
7271
7271
|
url: '/reports/team';
|
|
7272
7272
|
};
|
|
@@ -132,7 +132,7 @@ export type ContactIdentity = {
|
|
|
132
132
|
/**
|
|
133
133
|
* Channel this identity belongs to.
|
|
134
134
|
*/
|
|
135
|
-
channel_type: 'whatsapp' | 'instagram' | 'messenger';
|
|
135
|
+
channel_type: 'whatsapp' | 'instagram' | 'messenger' | 'webchat';
|
|
136
136
|
/**
|
|
137
137
|
* Address on that channel: phone digits for WhatsApp, account ID otherwise.
|
|
138
138
|
*/
|
|
@@ -287,7 +287,7 @@ export type Channel = {
|
|
|
287
287
|
/**
|
|
288
288
|
* Messaging channel.
|
|
289
289
|
*/
|
|
290
|
-
type: 'whatsapp' | 'instagram' | 'messenger';
|
|
290
|
+
type: 'whatsapp' | 'instagram' | 'messenger' | 'webchat';
|
|
291
291
|
/**
|
|
292
292
|
* Name shown in Ricky.
|
|
293
293
|
*/
|
|
@@ -348,7 +348,7 @@ export type Conversation = {
|
|
|
348
348
|
* Channel ID.
|
|
349
349
|
*/
|
|
350
350
|
id: string;
|
|
351
|
-
type: 'whatsapp' | 'instagram' | 'messenger';
|
|
351
|
+
type: 'whatsapp' | 'instagram' | 'messenger' | 'webchat';
|
|
352
352
|
};
|
|
353
353
|
contact: {
|
|
354
354
|
id: string | null;
|
|
@@ -1213,7 +1213,7 @@ export type ConversationsReport = {
|
|
|
1213
1213
|
/**
|
|
1214
1214
|
* The channel filter the report applied.
|
|
1215
1215
|
*/
|
|
1216
|
-
channel: 'all' | 'whatsapp' | 'instagram' | 'messenger';
|
|
1216
|
+
channel: 'all' | 'whatsapp' | 'instagram' | 'messenger' | 'webchat';
|
|
1217
1217
|
/**
|
|
1218
1218
|
* The period.
|
|
1219
1219
|
*/
|
|
@@ -1263,7 +1263,7 @@ export type ConversationsReport = {
|
|
|
1263
1263
|
/**
|
|
1264
1264
|
* Channel.
|
|
1265
1265
|
*/
|
|
1266
|
-
channel: 'whatsapp' | 'instagram' | 'messenger';
|
|
1266
|
+
channel: 'whatsapp' | 'instagram' | 'messenger' | 'webchat';
|
|
1267
1267
|
/**
|
|
1268
1268
|
* Conversations with at least one customer message in the period.
|
|
1269
1269
|
*/
|
|
@@ -1329,7 +1329,7 @@ export type MessagesReport = {
|
|
|
1329
1329
|
/**
|
|
1330
1330
|
* The channel filter the report applied.
|
|
1331
1331
|
*/
|
|
1332
|
-
channel: 'all' | 'whatsapp' | 'instagram' | 'messenger';
|
|
1332
|
+
channel: 'all' | 'whatsapp' | 'instagram' | 'messenger' | 'webchat';
|
|
1333
1333
|
/**
|
|
1334
1334
|
* The period.
|
|
1335
1335
|
*/
|
|
@@ -1413,7 +1413,7 @@ export type MessagesReport = {
|
|
|
1413
1413
|
/**
|
|
1414
1414
|
* Channel.
|
|
1415
1415
|
*/
|
|
1416
|
-
channel: 'whatsapp' | 'instagram' | 'messenger';
|
|
1416
|
+
channel: 'whatsapp' | 'instagram' | 'messenger' | 'webchat';
|
|
1417
1417
|
/**
|
|
1418
1418
|
* Messages customers sent.
|
|
1419
1419
|
*/
|
|
@@ -1537,7 +1537,7 @@ export type DashboardReport = {
|
|
|
1537
1537
|
/**
|
|
1538
1538
|
* Channel.
|
|
1539
1539
|
*/
|
|
1540
|
-
channel: 'whatsapp' | 'instagram' | 'messenger';
|
|
1540
|
+
channel: 'whatsapp' | 'instagram' | 'messenger' | 'webchat';
|
|
1541
1541
|
/**
|
|
1542
1542
|
* Open conversations.
|
|
1543
1543
|
*/
|
|
@@ -1579,7 +1579,7 @@ export type DashboardReport = {
|
|
|
1579
1579
|
/**
|
|
1580
1580
|
* Channel.
|
|
1581
1581
|
*/
|
|
1582
|
-
channel: 'whatsapp' | 'instagram' | 'messenger';
|
|
1582
|
+
channel: 'whatsapp' | 'instagram' | 'messenger' | 'webchat';
|
|
1583
1583
|
/**
|
|
1584
1584
|
* Name the channel reports for the customer.
|
|
1585
1585
|
*/
|
|
@@ -1610,7 +1610,7 @@ export type TeamReport = {
|
|
|
1610
1610
|
/**
|
|
1611
1611
|
* The channel filter the report applied.
|
|
1612
1612
|
*/
|
|
1613
|
-
channel: 'all' | 'whatsapp' | 'instagram' | 'messenger';
|
|
1613
|
+
channel: 'all' | 'whatsapp' | 'instagram' | 'messenger' | 'webchat';
|
|
1614
1614
|
/**
|
|
1615
1615
|
* Every member and active AI agent, most messages and closes first.
|
|
1616
1616
|
*/
|
|
@@ -1926,7 +1926,7 @@ export type ResponsesReport = {
|
|
|
1926
1926
|
/**
|
|
1927
1927
|
* The channel filter the report applied.
|
|
1928
1928
|
*/
|
|
1929
|
-
channel: 'all' | 'whatsapp' | 'instagram' | 'messenger';
|
|
1929
|
+
channel: 'all' | 'whatsapp' | 'instagram' | 'messenger' | 'webchat';
|
|
1930
1930
|
/**
|
|
1931
1931
|
* The responder filter the report applied: `all`, `humans`, `agents` or an ID.
|
|
1932
1932
|
*/
|
|
@@ -2054,7 +2054,7 @@ export type ResponsesReport = {
|
|
|
2054
2054
|
/**
|
|
2055
2055
|
* Channel.
|
|
2056
2056
|
*/
|
|
2057
|
-
channel: 'whatsapp' | 'instagram' | 'messenger';
|
|
2057
|
+
channel: 'whatsapp' | 'instagram' | 'messenger' | 'webchat';
|
|
2058
2058
|
/**
|
|
2059
2059
|
* Responses in the period.
|
|
2060
2060
|
*/
|
|
@@ -2095,7 +2095,7 @@ export type ResponsesReport = {
|
|
|
2095
2095
|
/**
|
|
2096
2096
|
* The app an `external` responder used; null otherwise.
|
|
2097
2097
|
*/
|
|
2098
|
-
channel: 'whatsapp' | 'instagram' | 'messenger' | null;
|
|
2098
|
+
channel: 'whatsapp' | 'instagram' | 'messenger' | 'webchat' | null;
|
|
2099
2099
|
/**
|
|
2100
2100
|
* Responses in the period.
|
|
2101
2101
|
*/
|
|
@@ -2130,7 +2130,7 @@ export type ResolutionsReport = {
|
|
|
2130
2130
|
/**
|
|
2131
2131
|
* The channel filter the report applied.
|
|
2132
2132
|
*/
|
|
2133
|
-
channel: 'all' | 'whatsapp' | 'instagram' | 'messenger';
|
|
2133
|
+
channel: 'all' | 'whatsapp' | 'instagram' | 'messenger' | 'webchat';
|
|
2134
2134
|
/**
|
|
2135
2135
|
* The period.
|
|
2136
2136
|
*/
|
|
@@ -2205,7 +2205,7 @@ export type ResolutionsReport = {
|
|
|
2205
2205
|
/**
|
|
2206
2206
|
* Channel.
|
|
2207
2207
|
*/
|
|
2208
|
-
channel: 'whatsapp' | 'instagram' | 'messenger';
|
|
2208
|
+
channel: 'whatsapp' | 'instagram' | 'messenger' | 'webchat';
|
|
2209
2209
|
/**
|
|
2210
2210
|
* Closes in the period.
|
|
2211
2211
|
*/
|
|
@@ -4783,7 +4783,7 @@ export type ListContactsData = {
|
|
|
4783
4783
|
/**
|
|
4784
4784
|
* Only contacts reachable on this channel.
|
|
4785
4785
|
*/
|
|
4786
|
-
channel?: 'whatsapp' | 'instagram' | 'messenger';
|
|
4786
|
+
channel?: 'whatsapp' | 'instagram' | 'messenger' | 'webchat';
|
|
4787
4787
|
};
|
|
4788
4788
|
url: '/contacts';
|
|
4789
4789
|
};
|
|
@@ -7058,7 +7058,7 @@ export type GetConversationsReportData = {
|
|
|
7058
7058
|
/**
|
|
7059
7059
|
* Only this channel.
|
|
7060
7060
|
*/
|
|
7061
|
-
channel?: 'all' | 'whatsapp' | 'instagram' | 'messenger';
|
|
7061
|
+
channel?: 'all' | 'whatsapp' | 'instagram' | 'messenger' | 'webchat';
|
|
7062
7062
|
};
|
|
7063
7063
|
url: '/reports/conversations';
|
|
7064
7064
|
};
|
|
@@ -7109,7 +7109,7 @@ export type GetMessagesReportData = {
|
|
|
7109
7109
|
/**
|
|
7110
7110
|
* Only this channel.
|
|
7111
7111
|
*/
|
|
7112
|
-
channel?: 'all' | 'whatsapp' | 'instagram' | 'messenger';
|
|
7112
|
+
channel?: 'all' | 'whatsapp' | 'instagram' | 'messenger' | 'webchat';
|
|
7113
7113
|
};
|
|
7114
7114
|
url: '/reports/messages';
|
|
7115
7115
|
};
|
|
@@ -7160,7 +7160,7 @@ export type GetResponsesReportData = {
|
|
|
7160
7160
|
/**
|
|
7161
7161
|
* Only this channel.
|
|
7162
7162
|
*/
|
|
7163
|
-
channel?: 'all' | 'whatsapp' | 'instagram' | 'messenger';
|
|
7163
|
+
channel?: 'all' | 'whatsapp' | 'instagram' | 'messenger' | 'webchat';
|
|
7164
7164
|
/**
|
|
7165
7165
|
* Only responses from people, in Ricky or in the channel's own app (`humans`), from AI agents (`agents`), or from one member or AI agent by ID.
|
|
7166
7166
|
*/
|
|
@@ -7215,7 +7215,7 @@ export type GetResolutionsReportData = {
|
|
|
7215
7215
|
/**
|
|
7216
7216
|
* Only this channel.
|
|
7217
7217
|
*/
|
|
7218
|
-
channel?: 'all' | 'whatsapp' | 'instagram' | 'messenger';
|
|
7218
|
+
channel?: 'all' | 'whatsapp' | 'instagram' | 'messenger' | 'webchat';
|
|
7219
7219
|
};
|
|
7220
7220
|
url: '/reports/resolutions';
|
|
7221
7221
|
};
|
|
@@ -7266,7 +7266,7 @@ export type GetTeamReportData = {
|
|
|
7266
7266
|
/**
|
|
7267
7267
|
* Only this channel.
|
|
7268
7268
|
*/
|
|
7269
|
-
channel?: 'all' | 'whatsapp' | 'instagram' | 'messenger';
|
|
7269
|
+
channel?: 'all' | 'whatsapp' | 'instagram' | 'messenger' | 'webchat';
|
|
7270
7270
|
};
|
|
7271
7271
|
url: '/reports/team';
|
|
7272
7272
|
};
|