@avallon-labs/sdk 23.2.0 → 23.3.0-staging.513
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/dist/index.d.ts +135 -40
- package/dist/index.js +102 -52
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import useSwr20 from 'swr';
|
|
2
2
|
import useSWRMutation15 from 'swr/mutation';
|
|
3
3
|
|
|
4
4
|
// src/fetcher.ts
|
|
@@ -121,7 +121,7 @@ var useListApiKeys = (params, options) => {
|
|
|
121
121
|
const isEnabled = swrOptions?.enabled !== false;
|
|
122
122
|
const swrKey = swrOptions?.swrKey ?? (() => isEnabled ? getListApiKeysKey(params) : null);
|
|
123
123
|
const swrFn = () => listApiKeys(params, requestOptions);
|
|
124
|
-
const query =
|
|
124
|
+
const query = useSwr20(
|
|
125
125
|
swrKey,
|
|
126
126
|
swrFn,
|
|
127
127
|
swrOptions
|
|
@@ -238,7 +238,7 @@ var useListArtifacts = (params, options) => {
|
|
|
238
238
|
const isEnabled = swrOptions?.enabled !== false;
|
|
239
239
|
const swrKey = swrOptions?.swrKey ?? (() => isEnabled ? getListArtifactsKey(params) : null);
|
|
240
240
|
const swrFn = () => listArtifacts(params, requestOptions);
|
|
241
|
-
const query =
|
|
241
|
+
const query = useSwr20(
|
|
242
242
|
swrKey,
|
|
243
243
|
swrFn,
|
|
244
244
|
swrOptions
|
|
@@ -263,7 +263,7 @@ var useGetArtifact = (id, options) => {
|
|
|
263
263
|
const isEnabled = swrOptions?.enabled !== false && !!id;
|
|
264
264
|
const swrKey = swrOptions?.swrKey ?? (() => isEnabled ? getGetArtifactKey(id) : null);
|
|
265
265
|
const swrFn = () => getArtifact(id, requestOptions);
|
|
266
|
-
const query =
|
|
266
|
+
const query = useSwr20(
|
|
267
267
|
swrKey,
|
|
268
268
|
swrFn,
|
|
269
269
|
swrOptions
|
|
@@ -304,7 +304,7 @@ var useGetArtifactMetadataKeys = (params, options) => {
|
|
|
304
304
|
const isEnabled = swrOptions?.enabled !== false;
|
|
305
305
|
const swrKey = swrOptions?.swrKey ?? (() => isEnabled ? getGetArtifactMetadataKeysKey(params) : null);
|
|
306
306
|
const swrFn = () => getArtifactMetadataKeys(params, requestOptions);
|
|
307
|
-
const query =
|
|
307
|
+
const query = useSwr20(
|
|
308
308
|
swrKey,
|
|
309
309
|
swrFn,
|
|
310
310
|
swrOptions
|
|
@@ -504,7 +504,7 @@ var useGetOAuthUrl = (params, options) => {
|
|
|
504
504
|
const isEnabled = swrOptions?.enabled !== false;
|
|
505
505
|
const swrKey = swrOptions?.swrKey ?? (() => isEnabled ? getGetOAuthUrlKey(params) : null);
|
|
506
506
|
const swrFn = () => getOAuthUrl(params, requestOptions);
|
|
507
|
-
const query =
|
|
507
|
+
const query = useSwr20(
|
|
508
508
|
swrKey,
|
|
509
509
|
swrFn,
|
|
510
510
|
swrOptions
|
|
@@ -596,7 +596,7 @@ var useListCallFeedback = (id, params, options) => {
|
|
|
596
596
|
const isEnabled = swrOptions?.enabled !== false && !!id;
|
|
597
597
|
const swrKey = swrOptions?.swrKey ?? (() => isEnabled ? getListCallFeedbackKey(id, params) : null);
|
|
598
598
|
const swrFn = () => listCallFeedback(id, params, requestOptions);
|
|
599
|
-
const query =
|
|
599
|
+
const query = useSwr20(
|
|
600
600
|
swrKey,
|
|
601
601
|
swrFn,
|
|
602
602
|
swrOptions
|
|
@@ -663,7 +663,7 @@ var useListCalls = (params, options) => {
|
|
|
663
663
|
const isEnabled = swrOptions?.enabled !== false;
|
|
664
664
|
const swrKey = swrOptions?.swrKey ?? (() => isEnabled ? getListCallsKey(params) : null);
|
|
665
665
|
const swrFn = () => listCalls(params, requestOptions);
|
|
666
|
-
const query =
|
|
666
|
+
const query = useSwr20(
|
|
667
667
|
swrKey,
|
|
668
668
|
swrFn,
|
|
669
669
|
swrOptions
|
|
@@ -701,7 +701,7 @@ var useGetCall = (id, params, options) => {
|
|
|
701
701
|
const isEnabled = swrOptions?.enabled !== false && !!id;
|
|
702
702
|
const swrKey = swrOptions?.swrKey ?? (() => isEnabled ? getGetCallKey(id, params) : null);
|
|
703
703
|
const swrFn = () => getCall(id, params, requestOptions);
|
|
704
|
-
const query =
|
|
704
|
+
const query = useSwr20(
|
|
705
705
|
swrKey,
|
|
706
706
|
swrFn,
|
|
707
707
|
swrOptions
|
|
@@ -726,7 +726,7 @@ var useGetCallEvaluation = (id, options) => {
|
|
|
726
726
|
const isEnabled = swrOptions?.enabled !== false && !!id;
|
|
727
727
|
const swrKey = swrOptions?.swrKey ?? (() => isEnabled ? getGetCallEvaluationKey(id) : null);
|
|
728
728
|
const swrFn = () => getCallEvaluation(id, requestOptions);
|
|
729
|
-
const query =
|
|
729
|
+
const query = useSwr20(
|
|
730
730
|
swrKey,
|
|
731
731
|
swrFn,
|
|
732
732
|
swrOptions
|
|
@@ -764,7 +764,45 @@ var useGetCallAnalytics = (params, options) => {
|
|
|
764
764
|
const isEnabled = swrOptions?.enabled !== false;
|
|
765
765
|
const swrKey = swrOptions?.swrKey ?? (() => isEnabled ? getGetCallAnalyticsKey(params) : null);
|
|
766
766
|
const swrFn = () => getCallAnalytics(params, requestOptions);
|
|
767
|
-
const query =
|
|
767
|
+
const query = useSwr20(
|
|
768
|
+
swrKey,
|
|
769
|
+
swrFn,
|
|
770
|
+
swrOptions
|
|
771
|
+
);
|
|
772
|
+
return {
|
|
773
|
+
swrKey,
|
|
774
|
+
...query
|
|
775
|
+
};
|
|
776
|
+
};
|
|
777
|
+
var getListCasesUrl = (params) => {
|
|
778
|
+
const normalizedParams = new URLSearchParams();
|
|
779
|
+
Object.entries(params || {}).forEach(([key, value]) => {
|
|
780
|
+
if (value !== void 0) {
|
|
781
|
+
if (typeof value === "object" && value !== null && !Array.isArray(value)) {
|
|
782
|
+
for (const [sk, sv] of Object.entries(value)) {
|
|
783
|
+
if (sv !== void 0) normalizedParams.append(`${key}[${sk}]`, String(sv));
|
|
784
|
+
}
|
|
785
|
+
} else {
|
|
786
|
+
normalizedParams.append(key, value === null ? "null" : String(value));
|
|
787
|
+
}
|
|
788
|
+
}
|
|
789
|
+
});
|
|
790
|
+
const stringifiedParams = normalizedParams.toString();
|
|
791
|
+
return stringifiedParams.length > 0 ? `/v1/cases?${stringifiedParams}` : `/v1/cases`;
|
|
792
|
+
};
|
|
793
|
+
var listCases = async (params, options) => {
|
|
794
|
+
return customFetch(getListCasesUrl(params), {
|
|
795
|
+
...options,
|
|
796
|
+
method: "GET"
|
|
797
|
+
});
|
|
798
|
+
};
|
|
799
|
+
var getListCasesKey = (params) => [`/v1/cases`, ...params ? [params] : []];
|
|
800
|
+
var useListCases = (params, options) => {
|
|
801
|
+
const { swr: swrOptions, request: requestOptions } = options ?? {};
|
|
802
|
+
const isEnabled = swrOptions?.enabled !== false;
|
|
803
|
+
const swrKey = swrOptions?.swrKey ?? (() => isEnabled ? getListCasesKey(params) : null);
|
|
804
|
+
const swrFn = () => listCases(params, requestOptions);
|
|
805
|
+
const query = useSwr20(
|
|
768
806
|
swrKey,
|
|
769
807
|
swrFn,
|
|
770
808
|
swrOptions
|
|
@@ -829,7 +867,7 @@ var useListChatAgents = (params, options) => {
|
|
|
829
867
|
const isEnabled = swrOptions?.enabled !== false;
|
|
830
868
|
const swrKey = swrOptions?.swrKey ?? (() => isEnabled ? getListChatAgentsKey(params) : null);
|
|
831
869
|
const swrFn = () => listChatAgents(params, requestOptions);
|
|
832
|
-
const query =
|
|
870
|
+
const query = useSwr20(
|
|
833
871
|
swrKey,
|
|
834
872
|
swrFn,
|
|
835
873
|
swrOptions
|
|
@@ -854,7 +892,7 @@ var useGetChatAgent = (chatAgentId, options) => {
|
|
|
854
892
|
const isEnabled = swrOptions?.enabled !== false && !!chatAgentId;
|
|
855
893
|
const swrKey = swrOptions?.swrKey ?? (() => isEnabled ? getGetChatAgentKey(chatAgentId) : null);
|
|
856
894
|
const swrFn = () => getChatAgent(chatAgentId, requestOptions);
|
|
857
|
-
const query =
|
|
895
|
+
const query = useSwr20(
|
|
858
896
|
swrKey,
|
|
859
897
|
swrFn,
|
|
860
898
|
swrOptions
|
|
@@ -933,7 +971,7 @@ var useGetChat = (chatId, options) => {
|
|
|
933
971
|
const isEnabled = swrOptions?.enabled !== false && !!chatId;
|
|
934
972
|
const swrKey = swrOptions?.swrKey ?? (() => isEnabled ? getGetChatKey(chatId) : null);
|
|
935
973
|
const swrFn = () => getChat(chatId, requestOptions);
|
|
936
|
-
const query =
|
|
974
|
+
const query = useSwr20(
|
|
937
975
|
swrKey,
|
|
938
976
|
swrFn,
|
|
939
977
|
swrOptions
|
|
@@ -998,7 +1036,7 @@ var useListChats = (params, options) => {
|
|
|
998
1036
|
const isEnabled = swrOptions?.enabled !== false;
|
|
999
1037
|
const swrKey = swrOptions?.swrKey ?? (() => isEnabled ? getListChatsKey(params) : null);
|
|
1000
1038
|
const swrFn = () => listChats(params, requestOptions);
|
|
1001
|
-
const query =
|
|
1039
|
+
const query = useSwr20(
|
|
1002
1040
|
swrKey,
|
|
1003
1041
|
swrFn,
|
|
1004
1042
|
swrOptions
|
|
@@ -1036,7 +1074,7 @@ var useListChatMessages = (chatId, params, options) => {
|
|
|
1036
1074
|
const isEnabled = swrOptions?.enabled !== false && !!chatId;
|
|
1037
1075
|
const swrKey = swrOptions?.swrKey ?? (() => isEnabled ? getListChatMessagesKey(chatId, params) : null);
|
|
1038
1076
|
const swrFn = () => listChatMessages(chatId, params, requestOptions);
|
|
1039
|
-
const query =
|
|
1077
|
+
const query = useSwr20(
|
|
1040
1078
|
swrKey,
|
|
1041
1079
|
swrFn,
|
|
1042
1080
|
swrOptions
|
|
@@ -1099,7 +1137,7 @@ var useListClaims = (params, options) => {
|
|
|
1099
1137
|
const isEnabled = swrOptions?.enabled !== false;
|
|
1100
1138
|
const swrKey = swrOptions?.swrKey ?? (() => isEnabled ? getListClaimsKey(params) : null);
|
|
1101
1139
|
const swrFn = () => listClaims(params, requestOptions);
|
|
1102
|
-
const query =
|
|
1140
|
+
const query = useSwr20(
|
|
1103
1141
|
swrKey,
|
|
1104
1142
|
swrFn,
|
|
1105
1143
|
swrOptions
|
|
@@ -1124,7 +1162,7 @@ var useGetClaimDetail = (id, options) => {
|
|
|
1124
1162
|
const isEnabled = swrOptions?.enabled !== false && !!id;
|
|
1125
1163
|
const swrKey = swrOptions?.swrKey ?? (() => isEnabled ? getGetClaimDetailKey(id) : null);
|
|
1126
1164
|
const swrFn = () => getClaimDetail(id, requestOptions);
|
|
1127
|
-
const query =
|
|
1165
|
+
const query = useSwr20(
|
|
1128
1166
|
swrKey,
|
|
1129
1167
|
swrFn,
|
|
1130
1168
|
swrOptions
|
|
@@ -1189,7 +1227,7 @@ var useListEmails = (params, options) => {
|
|
|
1189
1227
|
const isEnabled = swrOptions?.enabled !== false;
|
|
1190
1228
|
const swrKey = swrOptions?.swrKey ?? (() => isEnabled ? getListEmailsKey(params) : null);
|
|
1191
1229
|
const swrFn = () => listEmails(params, requestOptions);
|
|
1192
|
-
const query =
|
|
1230
|
+
const query = useSwr20(
|
|
1193
1231
|
swrKey,
|
|
1194
1232
|
swrFn,
|
|
1195
1233
|
swrOptions
|
|
@@ -1214,7 +1252,7 @@ var useGetEmail = (emailId, options) => {
|
|
|
1214
1252
|
const isEnabled = swrOptions?.enabled !== false && !!emailId;
|
|
1215
1253
|
const swrKey = swrOptions?.swrKey ?? (() => isEnabled ? getGetEmailKey(emailId) : null);
|
|
1216
1254
|
const swrFn = () => getEmail(emailId, requestOptions);
|
|
1217
|
-
const query =
|
|
1255
|
+
const query = useSwr20(
|
|
1218
1256
|
swrKey,
|
|
1219
1257
|
swrFn,
|
|
1220
1258
|
swrOptions
|
|
@@ -1252,7 +1290,7 @@ var useListEmailThreads = (params, options) => {
|
|
|
1252
1290
|
const isEnabled = swrOptions?.enabled !== false;
|
|
1253
1291
|
const swrKey = swrOptions?.swrKey ?? (() => isEnabled ? getListEmailThreadsKey(params) : null);
|
|
1254
1292
|
const swrFn = () => listEmailThreads(params, requestOptions);
|
|
1255
|
-
const query =
|
|
1293
|
+
const query = useSwr20(
|
|
1256
1294
|
swrKey,
|
|
1257
1295
|
swrFn,
|
|
1258
1296
|
swrOptions
|
|
@@ -1344,7 +1382,7 @@ var useListExtractorJobs = (params, options) => {
|
|
|
1344
1382
|
const isEnabled = swrOptions?.enabled !== false;
|
|
1345
1383
|
const swrKey = swrOptions?.swrKey ?? (() => isEnabled ? getListExtractorJobsKey(params) : null);
|
|
1346
1384
|
const swrFn = () => listExtractorJobs(params, requestOptions);
|
|
1347
|
-
const query =
|
|
1385
|
+
const query = useSwr20(
|
|
1348
1386
|
swrKey,
|
|
1349
1387
|
swrFn,
|
|
1350
1388
|
swrOptions
|
|
@@ -1396,7 +1434,7 @@ var useGetExtractorJob = (id, options) => {
|
|
|
1396
1434
|
const isEnabled = swrOptions?.enabled !== false && !!id;
|
|
1397
1435
|
const swrKey = swrOptions?.swrKey ?? (() => isEnabled ? getGetExtractorJobKey(id) : null);
|
|
1398
1436
|
const swrFn = () => getExtractorJob(id, requestOptions);
|
|
1399
|
-
const query =
|
|
1437
|
+
const query = useSwr20(
|
|
1400
1438
|
swrKey,
|
|
1401
1439
|
swrFn,
|
|
1402
1440
|
swrOptions
|
|
@@ -1461,7 +1499,7 @@ var useListExtractors = (params, options) => {
|
|
|
1461
1499
|
const isEnabled = swrOptions?.enabled !== false;
|
|
1462
1500
|
const swrKey = swrOptions?.swrKey ?? (() => isEnabled ? getListExtractorsKey(params) : null);
|
|
1463
1501
|
const swrFn = () => listExtractors(params, requestOptions);
|
|
1464
|
-
const query =
|
|
1502
|
+
const query = useSwr20(
|
|
1465
1503
|
swrKey,
|
|
1466
1504
|
swrFn,
|
|
1467
1505
|
swrOptions
|
|
@@ -1486,7 +1524,7 @@ var useGetExtractor = (id, options) => {
|
|
|
1486
1524
|
const isEnabled = swrOptions?.enabled !== false && !!id;
|
|
1487
1525
|
const swrKey = swrOptions?.swrKey ?? (() => isEnabled ? getGetExtractorKey(id) : null);
|
|
1488
1526
|
const swrFn = () => getExtractor(id, requestOptions);
|
|
1489
|
-
const query =
|
|
1527
|
+
const query = useSwr20(
|
|
1490
1528
|
swrKey,
|
|
1491
1529
|
swrFn,
|
|
1492
1530
|
swrOptions
|
|
@@ -1538,7 +1576,7 @@ var useGetExtract = (id, options) => {
|
|
|
1538
1576
|
const isEnabled = swrOptions?.enabled !== false && !!id;
|
|
1539
1577
|
const swrKey = swrOptions?.swrKey ?? (() => isEnabled ? getGetExtractKey(id) : null);
|
|
1540
1578
|
const swrFn = () => getExtract(id, requestOptions);
|
|
1541
|
-
const query =
|
|
1579
|
+
const query = useSwr20(
|
|
1542
1580
|
swrKey,
|
|
1543
1581
|
swrFn,
|
|
1544
1582
|
swrOptions
|
|
@@ -1563,7 +1601,7 @@ var useGetExtractCitations = (id, options) => {
|
|
|
1563
1601
|
const isEnabled = swrOptions?.enabled !== false && !!id;
|
|
1564
1602
|
const swrKey = swrOptions?.swrKey ?? (() => isEnabled ? getGetExtractCitationsKey(id) : null);
|
|
1565
1603
|
const swrFn = () => getExtractCitations(id, requestOptions);
|
|
1566
|
-
const query =
|
|
1604
|
+
const query = useSwr20(
|
|
1567
1605
|
swrKey,
|
|
1568
1606
|
swrFn,
|
|
1569
1607
|
swrOptions
|
|
@@ -1601,7 +1639,7 @@ var useListExtracts = (params, options) => {
|
|
|
1601
1639
|
const isEnabled = swrOptions?.enabled !== false;
|
|
1602
1640
|
const swrKey = swrOptions?.swrKey ?? (() => isEnabled ? getListExtractsKey(params) : null);
|
|
1603
1641
|
const swrFn = () => listExtracts(params, requestOptions);
|
|
1604
|
-
const query =
|
|
1642
|
+
const query = useSwr20(
|
|
1605
1643
|
swrKey,
|
|
1606
1644
|
swrFn,
|
|
1607
1645
|
swrOptions
|
|
@@ -1639,7 +1677,7 @@ var useCheckInboxAvailability = (params, options) => {
|
|
|
1639
1677
|
const isEnabled = swrOptions?.enabled !== false;
|
|
1640
1678
|
const swrKey = swrOptions?.swrKey ?? (() => isEnabled ? getCheckInboxAvailabilityKey(params) : null);
|
|
1641
1679
|
const swrFn = () => checkInboxAvailability(params, requestOptions);
|
|
1642
|
-
const query =
|
|
1680
|
+
const query = useSwr20(
|
|
1643
1681
|
swrKey,
|
|
1644
1682
|
swrFn,
|
|
1645
1683
|
swrOptions
|
|
@@ -1704,7 +1742,7 @@ var useListInboxes = (params, options) => {
|
|
|
1704
1742
|
const isEnabled = swrOptions?.enabled !== false;
|
|
1705
1743
|
const swrKey = swrOptions?.swrKey ?? (() => isEnabled ? getListInboxesKey(params) : null);
|
|
1706
1744
|
const swrFn = () => listInboxes(params, requestOptions);
|
|
1707
|
-
const query =
|
|
1745
|
+
const query = useSwr20(
|
|
1708
1746
|
swrKey,
|
|
1709
1747
|
swrFn,
|
|
1710
1748
|
swrOptions
|
|
@@ -1796,7 +1834,7 @@ var useListJobs = (params, options) => {
|
|
|
1796
1834
|
const isEnabled = swrOptions?.enabled !== false;
|
|
1797
1835
|
const swrKey = swrOptions?.swrKey ?? (() => isEnabled ? getListJobsKey(params) : null);
|
|
1798
1836
|
const swrFn = () => listJobs(params, requestOptions);
|
|
1799
|
-
const query =
|
|
1837
|
+
const query = useSwr20(
|
|
1800
1838
|
swrKey,
|
|
1801
1839
|
swrFn,
|
|
1802
1840
|
swrOptions
|
|
@@ -1846,7 +1884,7 @@ var useGetProfile = (options) => {
|
|
|
1846
1884
|
const isEnabled = swrOptions?.enabled !== false;
|
|
1847
1885
|
const swrKey = swrOptions?.swrKey ?? (() => isEnabled ? getGetProfileKey() : null);
|
|
1848
1886
|
const swrFn = () => getProfile(requestOptions);
|
|
1849
|
-
const query =
|
|
1887
|
+
const query = useSwr20(
|
|
1850
1888
|
swrKey,
|
|
1851
1889
|
swrFn,
|
|
1852
1890
|
swrOptions
|
|
@@ -1871,7 +1909,7 @@ var useListTeamMembers = (options) => {
|
|
|
1871
1909
|
const isEnabled = swrOptions?.enabled !== false;
|
|
1872
1910
|
const swrKey = swrOptions?.swrKey ?? (() => isEnabled ? getListTeamMembersKey() : null);
|
|
1873
1911
|
const swrFn = () => listTeamMembers(requestOptions);
|
|
1874
|
-
const query =
|
|
1912
|
+
const query = useSwr20(
|
|
1875
1913
|
swrKey,
|
|
1876
1914
|
swrFn,
|
|
1877
1915
|
swrOptions
|
|
@@ -1988,7 +2026,7 @@ var useListTools = (params, options) => {
|
|
|
1988
2026
|
const isEnabled = swrOptions?.enabled !== false;
|
|
1989
2027
|
const swrKey = swrOptions?.swrKey ?? (() => isEnabled ? getListToolsKey(params) : null);
|
|
1990
2028
|
const swrFn = () => listTools(params, requestOptions);
|
|
1991
|
-
const query =
|
|
2029
|
+
const query = useSwr20(
|
|
1992
2030
|
swrKey,
|
|
1993
2031
|
swrFn,
|
|
1994
2032
|
swrOptions
|
|
@@ -2040,7 +2078,7 @@ var useGetTool = (id, options) => {
|
|
|
2040
2078
|
const isEnabled = swrOptions?.enabled !== false && !!id;
|
|
2041
2079
|
const swrKey = swrOptions?.swrKey ?? (() => isEnabled ? getGetToolKey(id) : null);
|
|
2042
2080
|
const swrFn = () => getTool(id, requestOptions);
|
|
2043
|
-
const query =
|
|
2081
|
+
const query = useSwr20(
|
|
2044
2082
|
swrKey,
|
|
2045
2083
|
swrFn,
|
|
2046
2084
|
swrOptions
|
|
@@ -2105,7 +2143,7 @@ var useListVoiceAgents = (params, options) => {
|
|
|
2105
2143
|
const isEnabled = swrOptions?.enabled !== false;
|
|
2106
2144
|
const swrKey = swrOptions?.swrKey ?? (() => isEnabled ? getListVoiceAgentsKey(params) : null);
|
|
2107
2145
|
const swrFn = () => listVoiceAgents(params, requestOptions);
|
|
2108
|
-
const query =
|
|
2146
|
+
const query = useSwr20(
|
|
2109
2147
|
swrKey,
|
|
2110
2148
|
swrFn,
|
|
2111
2149
|
swrOptions
|
|
@@ -2157,7 +2195,7 @@ var useGetVoiceAgent = (voiceAgentId, options) => {
|
|
|
2157
2195
|
const isEnabled = swrOptions?.enabled !== false && !!voiceAgentId;
|
|
2158
2196
|
const swrKey = swrOptions?.swrKey ?? (() => isEnabled ? getGetVoiceAgentKey(voiceAgentId) : null);
|
|
2159
2197
|
const swrFn = () => getVoiceAgent(voiceAgentId, requestOptions);
|
|
2160
|
-
const query =
|
|
2198
|
+
const query = useSwr20(
|
|
2161
2199
|
swrKey,
|
|
2162
2200
|
swrFn,
|
|
2163
2201
|
swrOptions
|
|
@@ -2284,7 +2322,7 @@ var useGetVoiceAgentPlaceholders = (voiceAgentId, options) => {
|
|
|
2284
2322
|
const isEnabled = swrOptions?.enabled !== false && !!voiceAgentId;
|
|
2285
2323
|
const swrKey = swrOptions?.swrKey ?? (() => isEnabled ? getGetVoiceAgentPlaceholdersKey(voiceAgentId) : null);
|
|
2286
2324
|
const swrFn = () => getVoiceAgentPlaceholders(voiceAgentId, requestOptions);
|
|
2287
|
-
const query =
|
|
2325
|
+
const query = useSwr20(
|
|
2288
2326
|
swrKey,
|
|
2289
2327
|
swrFn,
|
|
2290
2328
|
swrOptions
|
|
@@ -2312,7 +2350,7 @@ var useGetVoiceAgentPrompt = (voiceAgentId, options) => {
|
|
|
2312
2350
|
const isEnabled = swrOptions?.enabled !== false && !!voiceAgentId;
|
|
2313
2351
|
const swrKey = swrOptions?.swrKey ?? (() => isEnabled ? getGetVoiceAgentPromptKey(voiceAgentId) : null);
|
|
2314
2352
|
const swrFn = () => getVoiceAgentPrompt(voiceAgentId, requestOptions);
|
|
2315
|
-
const query =
|
|
2353
|
+
const query = useSwr20(
|
|
2316
2354
|
swrKey,
|
|
2317
2355
|
swrFn,
|
|
2318
2356
|
swrOptions
|
|
@@ -2463,7 +2501,7 @@ var useListWorkerWebhooks = (workerId, options) => {
|
|
|
2463
2501
|
const isEnabled = swrOptions?.enabled !== false && !!workerId;
|
|
2464
2502
|
const swrKey = swrOptions?.swrKey ?? (() => isEnabled ? getListWorkerWebhooksKey(workerId) : null);
|
|
2465
2503
|
const swrFn = () => listWorkerWebhooks(workerId, requestOptions);
|
|
2466
|
-
const query =
|
|
2504
|
+
const query = useSwr20(
|
|
2467
2505
|
swrKey,
|
|
2468
2506
|
swrFn,
|
|
2469
2507
|
swrOptions
|
|
@@ -2521,7 +2559,7 @@ var useListAgentWebhooks = (voiceAgentId, options) => {
|
|
|
2521
2559
|
const isEnabled = swrOptions?.enabled !== false && !!voiceAgentId;
|
|
2522
2560
|
const swrKey = swrOptions?.swrKey ?? (() => isEnabled ? getListAgentWebhooksKey(voiceAgentId) : null);
|
|
2523
2561
|
const swrFn = () => listAgentWebhooks(voiceAgentId, requestOptions);
|
|
2524
|
-
const query =
|
|
2562
|
+
const query = useSwr20(
|
|
2525
2563
|
swrKey,
|
|
2526
2564
|
swrFn,
|
|
2527
2565
|
swrOptions
|
|
@@ -2573,7 +2611,7 @@ var useListInboxWebhooks = (inboxId, options) => {
|
|
|
2573
2611
|
const isEnabled = swrOptions?.enabled !== false && !!inboxId;
|
|
2574
2612
|
const swrKey = swrOptions?.swrKey ?? (() => isEnabled ? getListInboxWebhooksKey(inboxId) : null);
|
|
2575
2613
|
const swrFn = () => listInboxWebhooks(inboxId, requestOptions);
|
|
2576
|
-
const query =
|
|
2614
|
+
const query = useSwr20(
|
|
2577
2615
|
swrKey,
|
|
2578
2616
|
swrFn,
|
|
2579
2617
|
swrOptions
|
|
@@ -2625,7 +2663,7 @@ var useListWebhooks = (id, options) => {
|
|
|
2625
2663
|
const isEnabled = swrOptions?.enabled !== false && !!id;
|
|
2626
2664
|
const swrKey = swrOptions?.swrKey ?? (() => isEnabled ? getListWebhooksKey(id) : null);
|
|
2627
2665
|
const swrFn = () => listWebhooks(id, requestOptions);
|
|
2628
|
-
const query =
|
|
2666
|
+
const query = useSwr20(
|
|
2629
2667
|
swrKey,
|
|
2630
2668
|
swrFn,
|
|
2631
2669
|
swrOptions
|
|
@@ -2675,7 +2713,7 @@ var useGetWebhook = (id, options) => {
|
|
|
2675
2713
|
const isEnabled = swrOptions?.enabled !== false && !!id;
|
|
2676
2714
|
const swrKey = swrOptions?.swrKey ?? (() => isEnabled ? getGetWebhookKey(id) : null);
|
|
2677
2715
|
const swrFn = () => getWebhook(id, requestOptions);
|
|
2678
|
-
const query =
|
|
2716
|
+
const query = useSwr20(
|
|
2679
2717
|
swrKey,
|
|
2680
2718
|
swrFn,
|
|
2681
2719
|
swrOptions
|
|
@@ -2716,7 +2754,7 @@ var useListWebhookDeliveries = (id, params, options) => {
|
|
|
2716
2754
|
const isEnabled = swrOptions?.enabled !== false && !!id;
|
|
2717
2755
|
const swrKey = swrOptions?.swrKey ?? (() => isEnabled ? getListWebhookDeliveriesKey(id, params) : null);
|
|
2718
2756
|
const swrFn = () => listWebhookDeliveries(id, params, requestOptions);
|
|
2719
|
-
const query =
|
|
2757
|
+
const query = useSwr20(
|
|
2720
2758
|
swrKey,
|
|
2721
2759
|
swrFn,
|
|
2722
2760
|
swrOptions
|
|
@@ -2779,7 +2817,7 @@ var useListWorkerRuns = (params, options) => {
|
|
|
2779
2817
|
const isEnabled = swrOptions?.enabled !== false;
|
|
2780
2818
|
const swrKey = swrOptions?.swrKey ?? (() => isEnabled ? getListWorkerRunsKey(params) : null);
|
|
2781
2819
|
const swrFn = () => listWorkerRuns(params, requestOptions);
|
|
2782
|
-
const query =
|
|
2820
|
+
const query = useSwr20(
|
|
2783
2821
|
swrKey,
|
|
2784
2822
|
swrFn,
|
|
2785
2823
|
swrOptions
|
|
@@ -2831,7 +2869,7 @@ var useGetWorkerRun = (workerRunId, options) => {
|
|
|
2831
2869
|
const isEnabled = swrOptions?.enabled !== false && !!workerRunId;
|
|
2832
2870
|
const swrKey = swrOptions?.swrKey ?? (() => isEnabled ? getGetWorkerRunKey(workerRunId) : null);
|
|
2833
2871
|
const swrFn = () => getWorkerRun(workerRunId, requestOptions);
|
|
2834
|
-
const query =
|
|
2872
|
+
const query = useSwr20(
|
|
2835
2873
|
swrKey,
|
|
2836
2874
|
swrFn,
|
|
2837
2875
|
swrOptions
|
|
@@ -2875,7 +2913,7 @@ var useListWorkerRunMessages = (workerRunId, params, options) => {
|
|
|
2875
2913
|
const isEnabled = swrOptions?.enabled !== false && !!workerRunId;
|
|
2876
2914
|
const swrKey = swrOptions?.swrKey ?? (() => isEnabled ? getListWorkerRunMessagesKey(workerRunId, params) : null);
|
|
2877
2915
|
const swrFn = () => listWorkerRunMessages(workerRunId, params, requestOptions);
|
|
2878
|
-
const query =
|
|
2916
|
+
const query = useSwr20(
|
|
2879
2917
|
swrKey,
|
|
2880
2918
|
swrFn,
|
|
2881
2919
|
swrOptions
|
|
@@ -2970,7 +3008,7 @@ var useListWorkers = (params, options) => {
|
|
|
2970
3008
|
const isEnabled = swrOptions?.enabled !== false;
|
|
2971
3009
|
const swrKey = swrOptions?.swrKey ?? (() => isEnabled ? getListWorkersKey(params) : null);
|
|
2972
3010
|
const swrFn = () => listWorkers(params, requestOptions);
|
|
2973
|
-
const query =
|
|
3011
|
+
const query = useSwr20(
|
|
2974
3012
|
swrKey,
|
|
2975
3013
|
swrFn,
|
|
2976
3014
|
swrOptions
|
|
@@ -2995,7 +3033,7 @@ var useGetWorker = (workerId, options) => {
|
|
|
2995
3033
|
const isEnabled = swrOptions?.enabled !== false && !!workerId;
|
|
2996
3034
|
const swrKey = swrOptions?.swrKey ?? (() => isEnabled ? getGetWorkerKey(workerId) : null);
|
|
2997
3035
|
const swrFn = () => getWorker(workerId, requestOptions);
|
|
2998
|
-
const query =
|
|
3036
|
+
const query = useSwr20(
|
|
2999
3037
|
swrKey,
|
|
3000
3038
|
swrFn,
|
|
3001
3039
|
swrOptions
|
|
@@ -3047,7 +3085,7 @@ var useGetWorkerPrompt = (workerId, options) => {
|
|
|
3047
3085
|
const isEnabled = swrOptions?.enabled !== false && !!workerId;
|
|
3048
3086
|
const swrKey = swrOptions?.swrKey ?? (() => isEnabled ? getGetWorkerPromptKey(workerId) : null);
|
|
3049
3087
|
const swrFn = () => getWorkerPrompt(workerId, requestOptions);
|
|
3050
|
-
const query =
|
|
3088
|
+
const query = useSwr20(
|
|
3051
3089
|
swrKey,
|
|
3052
3090
|
swrFn,
|
|
3053
3091
|
swrOptions
|
|
@@ -3289,6 +3327,18 @@ var ListCallsStatus = {
|
|
|
3289
3327
|
UNEXPECTED_SHUTDOWN: "UNEXPECTED_SHUTDOWN"
|
|
3290
3328
|
};
|
|
3291
3329
|
|
|
3330
|
+
// generated/models/listCasesSortBy.ts
|
|
3331
|
+
var ListCasesSortBy = {
|
|
3332
|
+
created_at: "created_at",
|
|
3333
|
+
updated_at: "updated_at"
|
|
3334
|
+
};
|
|
3335
|
+
|
|
3336
|
+
// generated/models/listCasesSortOrder.ts
|
|
3337
|
+
var ListCasesSortOrder = {
|
|
3338
|
+
asc: "asc",
|
|
3339
|
+
desc: "desc"
|
|
3340
|
+
};
|
|
3341
|
+
|
|
3292
3342
|
// generated/models/listChatAgentsSortBy.ts
|
|
3293
3343
|
var ListChatAgentsSortBy = {
|
|
3294
3344
|
created_at: "created_at",
|
|
@@ -3650,6 +3700,6 @@ var VoiceAgentTtsProvider = {
|
|
|
3650
3700
|
"aws-polly": "aws-polly"
|
|
3651
3701
|
};
|
|
3652
3702
|
|
|
3653
|
-
export { AvallonError, CallDetailDirection, CallDirection, ChatHistoryMessagesItemRole, ChatMessageRole, CreateApiKeyBodyEnvironment, CreateEmailBodyDirection, CreateInboxBodyProcessorType, CreateVoiceAgentBodyCallProcessorType, CreateVoiceAgentBodyDirection, CreateVoiceAgentBodyLanguage, CreateVoiceAgentBodyLlmModel, CreateVoiceAgentBodySttModel, CreateVoiceAgentBodyTtsModel, CreateVoiceAgentBodyTtsProvider, EmailCreatedDirection, EmailDetailDirection, EmailDirection, EmailReplyResultValue, GetOAuthUrlCodeChallengeMethod, GetOAuthUrlProvider, InboxProcessorType, ListApiKeysIncludeRevoked, ListArtifactsSortBy, ListArtifactsSortOrder, ListCallFeedbackSortBy, ListCallFeedbackSortOrder, ListCallsDirection, ListCallsSortBy, ListCallsSortOrder, ListCallsStatus, ListChatAgentsSortBy, ListChatAgentsSortOrder, ListChatMessagesSortBy, ListChatMessagesSortOrder, ListChatsSortBy, ListChatsSortOrder, ListClaimsSortBy, ListClaimsSortOrder, ListEmailThreadsSortBy, ListEmailThreadsSortOrder, ListEmailsSortBy, ListEmailsSortOrder, ListExtractorJobsSortBy, ListExtractorJobsSortOrder, ListExtractorJobsStatus, ListExtractorsSortBy, ListExtractorsSortOrder, ListExtractsSortBy, ListExtractsSortOrder, ListInboxesSortBy, ListInboxesSortOrder, ListJobsStatusItem, ListToolsSortBy, ListToolsSortOrder, ListWebhookDeliveriesSortOrder, ListWorkerRunsSortBy, ListWorkerRunsSortOrder, ListWorkerRunsStatus, ListWorkersSortBy, ListWorkersSortOrder, OutboundJobStatus, ProfilePermissionsItem, ProfileRole, TeamMemberRole, UpdateInboxBodyProcessorType, UpdateMemberRoleBodyRole, UpdateVoiceAgentBodyCallProcessorType, UpdateVoiceAgentModelsBodyLanguage, UpdateVoiceAgentModelsBodyLlmModel, UpdateVoiceAgentModelsBodySttModel, UpdateVoiceAgentModelsBodyTtsModel, UpdateVoiceAgentModelsBodyTtsProvider, VoiceAgentBackgroundSounds, VoiceAgentDirection, VoiceAgentLanguage, VoiceAgentLlmModel, VoiceAgentSttModel, VoiceAgentTtsModel, VoiceAgentTtsProvider, addToolsToVoiceAgent, cancelJob, checkInboxAvailability, configure, createAgentWebhook, createApiKey, createArtifact, createCallFeedback, createChat, createChatAgent, createClaim, createEmail, createExtractor, createExtractorJob, createExtractorWebhook, createInbox, createInboxWebhook, createTool, createVoiceAgent, createWorker, createWorkerRun, createWorkerWebhook, deleteCallFeedback, deleteToolsFromVoiceAgent, deleteWebhook, executeCode, generateCodeChallenge, generateCodeVerifier, getAddToolsToVoiceAgentMutationFetcher, getAddToolsToVoiceAgentMutationKey, getAddToolsToVoiceAgentUrl, getArtifact, getArtifactMetadataKeys, getArtifactUploadUrl, getCall, getCallAnalytics, getCallEvaluation, getCancelJobMutationFetcher, getCancelJobMutationKey, getCancelJobUrl, getChat, getChatAgent, getCheckInboxAvailabilityKey, getCheckInboxAvailabilityUrl, getClaimDetail, getConfig, getCreateAgentWebhookMutationFetcher, getCreateAgentWebhookMutationKey, getCreateAgentWebhookUrl, getCreateApiKeyMutationFetcher, getCreateApiKeyMutationKey, getCreateApiKeyUrl, getCreateArtifactMutationFetcher, getCreateArtifactMutationKey, getCreateArtifactUrl, getCreateCallFeedbackMutationFetcher, getCreateCallFeedbackMutationKey, getCreateCallFeedbackUrl, getCreateChatAgentMutationFetcher, getCreateChatAgentMutationKey, getCreateChatAgentUrl, getCreateChatMutationFetcher, getCreateChatMutationKey, getCreateChatUrl, getCreateClaimMutationFetcher, getCreateClaimMutationKey, getCreateClaimUrl, getCreateEmailMutationFetcher, getCreateEmailMutationKey, getCreateEmailUrl, getCreateExtractorJobMutationFetcher, getCreateExtractorJobMutationKey, getCreateExtractorJobUrl, getCreateExtractorMutationFetcher, getCreateExtractorMutationKey, getCreateExtractorUrl, getCreateExtractorWebhookMutationFetcher, getCreateExtractorWebhookMutationKey, getCreateExtractorWebhookUrl, getCreateInboxMutationFetcher, getCreateInboxMutationKey, getCreateInboxUrl, getCreateInboxWebhookMutationFetcher, getCreateInboxWebhookMutationKey, getCreateInboxWebhookUrl, getCreateToolMutationFetcher, getCreateToolMutationKey, getCreateToolUrl, getCreateVoiceAgentMutationFetcher, getCreateVoiceAgentMutationKey, getCreateVoiceAgentUrl, getCreateWorkerMutationFetcher, getCreateWorkerMutationKey, getCreateWorkerRunMutationFetcher, getCreateWorkerRunMutationKey, getCreateWorkerRunUrl, getCreateWorkerUrl, getCreateWorkerWebhookMutationFetcher, getCreateWorkerWebhookMutationKey, getCreateWorkerWebhookUrl, getDeleteCallFeedbackMutationFetcher, getDeleteCallFeedbackMutationKey, getDeleteCallFeedbackUrl, getDeleteToolsFromVoiceAgentMutationFetcher, getDeleteToolsFromVoiceAgentMutationKey, getDeleteToolsFromVoiceAgentUrl, getDeleteWebhookMutationFetcher, getDeleteWebhookMutationKey, getDeleteWebhookUrl, getEmail, getExecuteCodeMutationFetcher, getExecuteCodeMutationKey, getExecuteCodeUrl, getExtract, getExtractCitations, getExtractor, getExtractorJob, getGetArtifactKey, getGetArtifactMetadataKeysKey, getGetArtifactMetadataKeysUrl, getGetArtifactUploadUrlMutationFetcher, getGetArtifactUploadUrlMutationKey, getGetArtifactUploadUrlUrl, getGetArtifactUrl, getGetCallAnalyticsKey, getGetCallAnalyticsUrl, getGetCallEvaluationKey, getGetCallEvaluationUrl, getGetCallKey, getGetCallUrl, getGetChatAgentKey, getGetChatAgentUrl, getGetChatKey, getGetChatUrl, getGetClaimDetailKey, getGetClaimDetailUrl, getGetEmailKey, getGetEmailUrl, getGetExtractCitationsKey, getGetExtractCitationsUrl, getGetExtractKey, getGetExtractUrl, getGetExtractorJobKey, getGetExtractorJobUrl, getGetExtractorKey, getGetExtractorUrl, getGetOAuthUrlKey, getGetOAuthUrlUrl, getGetProfileKey, getGetProfileUrl, getGetSessionTokenMutationFetcher, getGetSessionTokenMutationKey, getGetSessionTokenUrl, getGetToolKey, getGetToolUrl, getGetVoiceAgentKey, getGetVoiceAgentPlaceholdersKey, getGetVoiceAgentPlaceholdersUrl, getGetVoiceAgentPromptKey, getGetVoiceAgentPromptUrl, getGetVoiceAgentUrl, getGetWebhookKey, getGetWebhookUrl, getGetWorkerKey, getGetWorkerPromptKey, getGetWorkerPromptUrl, getGetWorkerRunKey, getGetWorkerRunUrl, getGetWorkerUrl, getListAgentWebhooksKey, getListAgentWebhooksUrl, getListApiKeysKey, getListApiKeysUrl, getListArtifactsKey, getListArtifactsUrl, getListCallFeedbackKey, getListCallFeedbackUrl, getListCallsKey, getListCallsUrl, getListChatAgentsKey, getListChatAgentsUrl, getListChatMessagesKey, getListChatMessagesUrl, getListChatsKey, getListChatsUrl, getListClaimsKey, getListClaimsUrl, getListEmailThreadsKey, getListEmailThreadsUrl, getListEmailsKey, getListEmailsUrl, getListExtractorJobsKey, getListExtractorJobsUrl, getListExtractorsKey, getListExtractorsUrl, getListExtractsKey, getListExtractsUrl, getListInboxWebhooksKey, getListInboxWebhooksUrl, getListInboxesKey, getListInboxesUrl, getListJobsKey, getListJobsUrl, getListTeamMembersKey, getListTeamMembersUrl, getListToolsKey, getListToolsUrl, getListVoiceAgentsKey, getListVoiceAgentsUrl, getListWebhookDeliveriesKey, getListWebhookDeliveriesUrl, getListWebhooksKey, getListWebhooksUrl, getListWorkerRunMessagesKey, getListWorkerRunMessagesUrl, getListWorkerRunsKey, getListWorkerRunsUrl, getListWorkerWebhooksKey, getListWorkerWebhooksUrl, getListWorkersKey, getListWorkersUrl, getOAuthUrl, getPostChatMessageMutationFetcher, getPostChatMessageMutationKey, getPostChatMessageUrl, getProfile, getRefreshTokenMutationFetcher, getRefreshTokenMutationKey, getRefreshTokenUrl, getRemoveMemberMutationFetcher, getRemoveMemberMutationKey, getRemoveMemberUrl, getReplyToEmailMutationFetcher, getReplyToEmailMutationKey, getReplyToEmailUrl, getRevokeApiKeyMutationFetcher, getRevokeApiKeyMutationKey, getRevokeApiKeyUrl, getScheduleJobMutationFetcher, getScheduleJobMutationKey, getScheduleJobUrl, getSendEmailMutationFetcher, getSendEmailMutationKey, getSendEmailUrl, getSessionToken, getSignInMutationFetcher, getSignInMutationKey, getSignInUrl, getSignUpMutationFetcher, getSignUpMutationKey, getSignUpUrl, getTestWebhookMutationFetcher, getTestWebhookMutationKey, getTestWebhookUrl, getTool, getUpdateArtifactMetadataMutationFetcher, getUpdateArtifactMetadataMutationKey, getUpdateArtifactMetadataUrl, getUpdateCallControlsMutationFetcher, getUpdateCallControlsMutationKey, getUpdateCallControlsUrl, getUpdateChatAgentMutationFetcher, getUpdateChatAgentMutationKey, getUpdateChatAgentUrl, getUpdateExtractorMutationFetcher, getUpdateExtractorMutationKey, getUpdateExtractorUrl, getUpdateInboxMutationFetcher, getUpdateInboxMutationKey, getUpdateInboxUrl, getUpdateMemberRoleMutationFetcher, getUpdateMemberRoleMutationKey, getUpdateMemberRoleUrl, getUpdateToolMutationFetcher, getUpdateToolMutationKey, getUpdateToolUrl, getUpdateVoiceAgentModelsMutationFetcher, getUpdateVoiceAgentModelsMutationKey, getUpdateVoiceAgentModelsUrl, getUpdateVoiceAgentMutationFetcher, getUpdateVoiceAgentMutationKey, getUpdateVoiceAgentPromptMutationFetcher, getUpdateVoiceAgentPromptMutationKey, getUpdateVoiceAgentPromptUrl, getUpdateVoiceAgentUrl, getUpdateWorkerMutationFetcher, getUpdateWorkerMutationKey, getUpdateWorkerPromptMutationFetcher, getUpdateWorkerPromptMutationKey, getUpdateWorkerPromptUrl, getUpdateWorkerRunScopeMutationFetcher, getUpdateWorkerRunScopeMutationKey, getUpdateWorkerRunScopeUrl, getUpdateWorkerUrl, getUploadFileMutationFetcher, getUploadFileMutationKey, getUploadFileUrl, getVoiceAgent, getVoiceAgentPlaceholders, getVoiceAgentPrompt, getWebhook, getWorker, getWorkerPrompt, getWorkerRun, listAgentWebhooks, listApiKeys, listArtifacts, listCallFeedback, listCalls, listChatAgents, listChatMessages, listChats, listClaims, listEmailThreads, listEmails, listExtractorJobs, listExtractors, listExtracts, listInboxWebhooks, listInboxes, listJobs, listTeamMembers, listTools, listVoiceAgents, listWebhookDeliveries, listWebhooks, listWorkerRunMessages, listWorkerRuns, listWorkerWebhooks, listWorkers, postChatMessage, refreshToken, removeMember, replyToEmail, revokeApiKey, scheduleJob, sendEmail, signIn, signUp, testWebhook, updateArtifactMetadata, updateCallControls, updateChatAgent, updateExtractor, updateInbox, updateMemberRole, updateTool, updateVoiceAgent, updateVoiceAgentModels, updateVoiceAgentPrompt, updateWorker, updateWorkerPrompt, updateWorkerRunScope, uploadFile, useAddToolsToVoiceAgent, useCancelJob, useCheckInboxAvailability, useCreateAgentWebhook, useCreateApiKey, useCreateArtifact, useCreateCallFeedback, useCreateChat, useCreateChatAgent, useCreateClaim, useCreateEmail, useCreateExtractor, useCreateExtractorJob, useCreateExtractorWebhook, useCreateInbox, useCreateInboxWebhook, useCreateTool, useCreateVoiceAgent, useCreateWorker, useCreateWorkerRun, useCreateWorkerWebhook, useDeleteCallFeedback, useDeleteToolsFromVoiceAgent, useDeleteWebhook, useExecuteCode, useGetArtifact, useGetArtifactMetadataKeys, useGetArtifactUploadUrl, useGetCall, useGetCallAnalytics, useGetCallEvaluation, useGetChat, useGetChatAgent, useGetClaimDetail, useGetEmail, useGetExtract, useGetExtractCitations, useGetExtractor, useGetExtractorJob, useGetOAuthUrl, useGetProfile, useGetSessionToken, useGetTool, useGetVoiceAgent, useGetVoiceAgentPlaceholders, useGetVoiceAgentPrompt, useGetWebhook, useGetWorker, useGetWorkerPrompt, useGetWorkerRun, useListAgentWebhooks, useListApiKeys, useListArtifacts, useListCallFeedback, useListCalls, useListChatAgents, useListChatMessages, useListChats, useListClaims, useListEmailThreads, useListEmails, useListExtractorJobs, useListExtractors, useListExtracts, useListInboxWebhooks, useListInboxes, useListJobs, useListTeamMembers, useListTools, useListVoiceAgents, useListWebhookDeliveries, useListWebhooks, useListWorkerRunMessages, useListWorkerRuns, useListWorkerWebhooks, useListWorkers, usePostChatMessage, useRefreshToken, useRemoveMember, useReplyToEmail, useRevokeApiKey, useScheduleJob, useSendEmail, useSignIn, useSignUp, useTestWebhook, useUpdateArtifactMetadata, useUpdateCallControls, useUpdateChatAgent, useUpdateExtractor, useUpdateInbox, useUpdateMemberRole, useUpdateTool, useUpdateVoiceAgent, useUpdateVoiceAgentModels, useUpdateVoiceAgentPrompt, useUpdateWorker, useUpdateWorkerPrompt, useUpdateWorkerRunScope, useUploadFile };
|
|
3703
|
+
export { AvallonError, CallDetailDirection, CallDirection, ChatHistoryMessagesItemRole, ChatMessageRole, CreateApiKeyBodyEnvironment, CreateEmailBodyDirection, CreateInboxBodyProcessorType, CreateVoiceAgentBodyCallProcessorType, CreateVoiceAgentBodyDirection, CreateVoiceAgentBodyLanguage, CreateVoiceAgentBodyLlmModel, CreateVoiceAgentBodySttModel, CreateVoiceAgentBodyTtsModel, CreateVoiceAgentBodyTtsProvider, EmailCreatedDirection, EmailDetailDirection, EmailDirection, EmailReplyResultValue, GetOAuthUrlCodeChallengeMethod, GetOAuthUrlProvider, InboxProcessorType, ListApiKeysIncludeRevoked, ListArtifactsSortBy, ListArtifactsSortOrder, ListCallFeedbackSortBy, ListCallFeedbackSortOrder, ListCallsDirection, ListCallsSortBy, ListCallsSortOrder, ListCallsStatus, ListCasesSortBy, ListCasesSortOrder, ListChatAgentsSortBy, ListChatAgentsSortOrder, ListChatMessagesSortBy, ListChatMessagesSortOrder, ListChatsSortBy, ListChatsSortOrder, ListClaimsSortBy, ListClaimsSortOrder, ListEmailThreadsSortBy, ListEmailThreadsSortOrder, ListEmailsSortBy, ListEmailsSortOrder, ListExtractorJobsSortBy, ListExtractorJobsSortOrder, ListExtractorJobsStatus, ListExtractorsSortBy, ListExtractorsSortOrder, ListExtractsSortBy, ListExtractsSortOrder, ListInboxesSortBy, ListInboxesSortOrder, ListJobsStatusItem, ListToolsSortBy, ListToolsSortOrder, ListWebhookDeliveriesSortOrder, ListWorkerRunsSortBy, ListWorkerRunsSortOrder, ListWorkerRunsStatus, ListWorkersSortBy, ListWorkersSortOrder, OutboundJobStatus, ProfilePermissionsItem, ProfileRole, TeamMemberRole, UpdateInboxBodyProcessorType, UpdateMemberRoleBodyRole, UpdateVoiceAgentBodyCallProcessorType, UpdateVoiceAgentModelsBodyLanguage, UpdateVoiceAgentModelsBodyLlmModel, UpdateVoiceAgentModelsBodySttModel, UpdateVoiceAgentModelsBodyTtsModel, UpdateVoiceAgentModelsBodyTtsProvider, VoiceAgentBackgroundSounds, VoiceAgentDirection, VoiceAgentLanguage, VoiceAgentLlmModel, VoiceAgentSttModel, VoiceAgentTtsModel, VoiceAgentTtsProvider, addToolsToVoiceAgent, cancelJob, checkInboxAvailability, configure, createAgentWebhook, createApiKey, createArtifact, createCallFeedback, createChat, createChatAgent, createClaim, createEmail, createExtractor, createExtractorJob, createExtractorWebhook, createInbox, createInboxWebhook, createTool, createVoiceAgent, createWorker, createWorkerRun, createWorkerWebhook, deleteCallFeedback, deleteToolsFromVoiceAgent, deleteWebhook, executeCode, generateCodeChallenge, generateCodeVerifier, getAddToolsToVoiceAgentMutationFetcher, getAddToolsToVoiceAgentMutationKey, getAddToolsToVoiceAgentUrl, getArtifact, getArtifactMetadataKeys, getArtifactUploadUrl, getCall, getCallAnalytics, getCallEvaluation, getCancelJobMutationFetcher, getCancelJobMutationKey, getCancelJobUrl, getChat, getChatAgent, getCheckInboxAvailabilityKey, getCheckInboxAvailabilityUrl, getClaimDetail, getConfig, getCreateAgentWebhookMutationFetcher, getCreateAgentWebhookMutationKey, getCreateAgentWebhookUrl, getCreateApiKeyMutationFetcher, getCreateApiKeyMutationKey, getCreateApiKeyUrl, getCreateArtifactMutationFetcher, getCreateArtifactMutationKey, getCreateArtifactUrl, getCreateCallFeedbackMutationFetcher, getCreateCallFeedbackMutationKey, getCreateCallFeedbackUrl, getCreateChatAgentMutationFetcher, getCreateChatAgentMutationKey, getCreateChatAgentUrl, getCreateChatMutationFetcher, getCreateChatMutationKey, getCreateChatUrl, getCreateClaimMutationFetcher, getCreateClaimMutationKey, getCreateClaimUrl, getCreateEmailMutationFetcher, getCreateEmailMutationKey, getCreateEmailUrl, getCreateExtractorJobMutationFetcher, getCreateExtractorJobMutationKey, getCreateExtractorJobUrl, getCreateExtractorMutationFetcher, getCreateExtractorMutationKey, getCreateExtractorUrl, getCreateExtractorWebhookMutationFetcher, getCreateExtractorWebhookMutationKey, getCreateExtractorWebhookUrl, getCreateInboxMutationFetcher, getCreateInboxMutationKey, getCreateInboxUrl, getCreateInboxWebhookMutationFetcher, getCreateInboxWebhookMutationKey, getCreateInboxWebhookUrl, getCreateToolMutationFetcher, getCreateToolMutationKey, getCreateToolUrl, getCreateVoiceAgentMutationFetcher, getCreateVoiceAgentMutationKey, getCreateVoiceAgentUrl, getCreateWorkerMutationFetcher, getCreateWorkerMutationKey, getCreateWorkerRunMutationFetcher, getCreateWorkerRunMutationKey, getCreateWorkerRunUrl, getCreateWorkerUrl, getCreateWorkerWebhookMutationFetcher, getCreateWorkerWebhookMutationKey, getCreateWorkerWebhookUrl, getDeleteCallFeedbackMutationFetcher, getDeleteCallFeedbackMutationKey, getDeleteCallFeedbackUrl, getDeleteToolsFromVoiceAgentMutationFetcher, getDeleteToolsFromVoiceAgentMutationKey, getDeleteToolsFromVoiceAgentUrl, getDeleteWebhookMutationFetcher, getDeleteWebhookMutationKey, getDeleteWebhookUrl, getEmail, getExecuteCodeMutationFetcher, getExecuteCodeMutationKey, getExecuteCodeUrl, getExtract, getExtractCitations, getExtractor, getExtractorJob, getGetArtifactKey, getGetArtifactMetadataKeysKey, getGetArtifactMetadataKeysUrl, getGetArtifactUploadUrlMutationFetcher, getGetArtifactUploadUrlMutationKey, getGetArtifactUploadUrlUrl, getGetArtifactUrl, getGetCallAnalyticsKey, getGetCallAnalyticsUrl, getGetCallEvaluationKey, getGetCallEvaluationUrl, getGetCallKey, getGetCallUrl, getGetChatAgentKey, getGetChatAgentUrl, getGetChatKey, getGetChatUrl, getGetClaimDetailKey, getGetClaimDetailUrl, getGetEmailKey, getGetEmailUrl, getGetExtractCitationsKey, getGetExtractCitationsUrl, getGetExtractKey, getGetExtractUrl, getGetExtractorJobKey, getGetExtractorJobUrl, getGetExtractorKey, getGetExtractorUrl, getGetOAuthUrlKey, getGetOAuthUrlUrl, getGetProfileKey, getGetProfileUrl, getGetSessionTokenMutationFetcher, getGetSessionTokenMutationKey, getGetSessionTokenUrl, getGetToolKey, getGetToolUrl, getGetVoiceAgentKey, getGetVoiceAgentPlaceholdersKey, getGetVoiceAgentPlaceholdersUrl, getGetVoiceAgentPromptKey, getGetVoiceAgentPromptUrl, getGetVoiceAgentUrl, getGetWebhookKey, getGetWebhookUrl, getGetWorkerKey, getGetWorkerPromptKey, getGetWorkerPromptUrl, getGetWorkerRunKey, getGetWorkerRunUrl, getGetWorkerUrl, getListAgentWebhooksKey, getListAgentWebhooksUrl, getListApiKeysKey, getListApiKeysUrl, getListArtifactsKey, getListArtifactsUrl, getListCallFeedbackKey, getListCallFeedbackUrl, getListCallsKey, getListCallsUrl, getListCasesKey, getListCasesUrl, getListChatAgentsKey, getListChatAgentsUrl, getListChatMessagesKey, getListChatMessagesUrl, getListChatsKey, getListChatsUrl, getListClaimsKey, getListClaimsUrl, getListEmailThreadsKey, getListEmailThreadsUrl, getListEmailsKey, getListEmailsUrl, getListExtractorJobsKey, getListExtractorJobsUrl, getListExtractorsKey, getListExtractorsUrl, getListExtractsKey, getListExtractsUrl, getListInboxWebhooksKey, getListInboxWebhooksUrl, getListInboxesKey, getListInboxesUrl, getListJobsKey, getListJobsUrl, getListTeamMembersKey, getListTeamMembersUrl, getListToolsKey, getListToolsUrl, getListVoiceAgentsKey, getListVoiceAgentsUrl, getListWebhookDeliveriesKey, getListWebhookDeliveriesUrl, getListWebhooksKey, getListWebhooksUrl, getListWorkerRunMessagesKey, getListWorkerRunMessagesUrl, getListWorkerRunsKey, getListWorkerRunsUrl, getListWorkerWebhooksKey, getListWorkerWebhooksUrl, getListWorkersKey, getListWorkersUrl, getOAuthUrl, getPostChatMessageMutationFetcher, getPostChatMessageMutationKey, getPostChatMessageUrl, getProfile, getRefreshTokenMutationFetcher, getRefreshTokenMutationKey, getRefreshTokenUrl, getRemoveMemberMutationFetcher, getRemoveMemberMutationKey, getRemoveMemberUrl, getReplyToEmailMutationFetcher, getReplyToEmailMutationKey, getReplyToEmailUrl, getRevokeApiKeyMutationFetcher, getRevokeApiKeyMutationKey, getRevokeApiKeyUrl, getScheduleJobMutationFetcher, getScheduleJobMutationKey, getScheduleJobUrl, getSendEmailMutationFetcher, getSendEmailMutationKey, getSendEmailUrl, getSessionToken, getSignInMutationFetcher, getSignInMutationKey, getSignInUrl, getSignUpMutationFetcher, getSignUpMutationKey, getSignUpUrl, getTestWebhookMutationFetcher, getTestWebhookMutationKey, getTestWebhookUrl, getTool, getUpdateArtifactMetadataMutationFetcher, getUpdateArtifactMetadataMutationKey, getUpdateArtifactMetadataUrl, getUpdateCallControlsMutationFetcher, getUpdateCallControlsMutationKey, getUpdateCallControlsUrl, getUpdateChatAgentMutationFetcher, getUpdateChatAgentMutationKey, getUpdateChatAgentUrl, getUpdateExtractorMutationFetcher, getUpdateExtractorMutationKey, getUpdateExtractorUrl, getUpdateInboxMutationFetcher, getUpdateInboxMutationKey, getUpdateInboxUrl, getUpdateMemberRoleMutationFetcher, getUpdateMemberRoleMutationKey, getUpdateMemberRoleUrl, getUpdateToolMutationFetcher, getUpdateToolMutationKey, getUpdateToolUrl, getUpdateVoiceAgentModelsMutationFetcher, getUpdateVoiceAgentModelsMutationKey, getUpdateVoiceAgentModelsUrl, getUpdateVoiceAgentMutationFetcher, getUpdateVoiceAgentMutationKey, getUpdateVoiceAgentPromptMutationFetcher, getUpdateVoiceAgentPromptMutationKey, getUpdateVoiceAgentPromptUrl, getUpdateVoiceAgentUrl, getUpdateWorkerMutationFetcher, getUpdateWorkerMutationKey, getUpdateWorkerPromptMutationFetcher, getUpdateWorkerPromptMutationKey, getUpdateWorkerPromptUrl, getUpdateWorkerRunScopeMutationFetcher, getUpdateWorkerRunScopeMutationKey, getUpdateWorkerRunScopeUrl, getUpdateWorkerUrl, getUploadFileMutationFetcher, getUploadFileMutationKey, getUploadFileUrl, getVoiceAgent, getVoiceAgentPlaceholders, getVoiceAgentPrompt, getWebhook, getWorker, getWorkerPrompt, getWorkerRun, listAgentWebhooks, listApiKeys, listArtifacts, listCallFeedback, listCalls, listCases, listChatAgents, listChatMessages, listChats, listClaims, listEmailThreads, listEmails, listExtractorJobs, listExtractors, listExtracts, listInboxWebhooks, listInboxes, listJobs, listTeamMembers, listTools, listVoiceAgents, listWebhookDeliveries, listWebhooks, listWorkerRunMessages, listWorkerRuns, listWorkerWebhooks, listWorkers, postChatMessage, refreshToken, removeMember, replyToEmail, revokeApiKey, scheduleJob, sendEmail, signIn, signUp, testWebhook, updateArtifactMetadata, updateCallControls, updateChatAgent, updateExtractor, updateInbox, updateMemberRole, updateTool, updateVoiceAgent, updateVoiceAgentModels, updateVoiceAgentPrompt, updateWorker, updateWorkerPrompt, updateWorkerRunScope, uploadFile, useAddToolsToVoiceAgent, useCancelJob, useCheckInboxAvailability, useCreateAgentWebhook, useCreateApiKey, useCreateArtifact, useCreateCallFeedback, useCreateChat, useCreateChatAgent, useCreateClaim, useCreateEmail, useCreateExtractor, useCreateExtractorJob, useCreateExtractorWebhook, useCreateInbox, useCreateInboxWebhook, useCreateTool, useCreateVoiceAgent, useCreateWorker, useCreateWorkerRun, useCreateWorkerWebhook, useDeleteCallFeedback, useDeleteToolsFromVoiceAgent, useDeleteWebhook, useExecuteCode, useGetArtifact, useGetArtifactMetadataKeys, useGetArtifactUploadUrl, useGetCall, useGetCallAnalytics, useGetCallEvaluation, useGetChat, useGetChatAgent, useGetClaimDetail, useGetEmail, useGetExtract, useGetExtractCitations, useGetExtractor, useGetExtractorJob, useGetOAuthUrl, useGetProfile, useGetSessionToken, useGetTool, useGetVoiceAgent, useGetVoiceAgentPlaceholders, useGetVoiceAgentPrompt, useGetWebhook, useGetWorker, useGetWorkerPrompt, useGetWorkerRun, useListAgentWebhooks, useListApiKeys, useListArtifacts, useListCallFeedback, useListCalls, useListCases, useListChatAgents, useListChatMessages, useListChats, useListClaims, useListEmailThreads, useListEmails, useListExtractorJobs, useListExtractors, useListExtracts, useListInboxWebhooks, useListInboxes, useListJobs, useListTeamMembers, useListTools, useListVoiceAgents, useListWebhookDeliveries, useListWebhooks, useListWorkerRunMessages, useListWorkerRuns, useListWorkerWebhooks, useListWorkers, usePostChatMessage, useRefreshToken, useRemoveMember, useReplyToEmail, useRevokeApiKey, useScheduleJob, useSendEmail, useSignIn, useSignUp, useTestWebhook, useUpdateArtifactMetadata, useUpdateCallControls, useUpdateChatAgent, useUpdateExtractor, useUpdateInbox, useUpdateMemberRole, useUpdateTool, useUpdateVoiceAgent, useUpdateVoiceAgentModels, useUpdateVoiceAgentPrompt, useUpdateWorker, useUpdateWorkerPrompt, useUpdateWorkerRunScope, useUploadFile };
|
|
3654
3704
|
//# sourceMappingURL=index.js.map
|
|
3655
3705
|
//# sourceMappingURL=index.js.map
|