@avallon-labs/sdk 14.1.0 → 14.2.0
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 +2 -1
- package/dist/index.js +154 -22
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -2820,7 +2820,7 @@ type ListExtractorJobsParams = {
|
|
|
2820
2820
|
*/
|
|
2821
2821
|
created_before?: string;
|
|
2822
2822
|
/**
|
|
2823
|
-
* Filter by scope keys using bracket notation (e.g. scope[call_id]=abc-123, scope[email_id]=xyz-456). Multiple filters are combined with AND logic.
|
|
2823
|
+
* Filter by scope keys using bracket notation (e.g. scope[call_id]=abc-123, scope[email_id]=xyz-456, scope[case_id]=case-789). Multiple filters are combined with AND logic.
|
|
2824
2824
|
*/
|
|
2825
2825
|
scope?: {
|
|
2826
2826
|
[key: string]: string;
|
|
@@ -4780,6 +4780,7 @@ Filter by `extractor_type` to see only `basic` or `agentic` jobs. Omit to return
|
|
|
4780
4780
|
Use bracket notation to filter by scope keys:
|
|
4781
4781
|
- `scope[call_id]=abc-123`
|
|
4782
4782
|
- `scope[email_id]=xyz-456`
|
|
4783
|
+
- `scope[case_id]=case-789`
|
|
4783
4784
|
|
|
4784
4785
|
Multiple scope filters can be combined (AND logic).
|
|
4785
4786
|
* @summary List extractor jobs
|
package/dist/index.js
CHANGED
|
@@ -97,7 +97,13 @@ var getListApiKeysUrl = (params) => {
|
|
|
97
97
|
const normalizedParams = new URLSearchParams();
|
|
98
98
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
99
99
|
if (value !== void 0) {
|
|
100
|
-
|
|
100
|
+
if (typeof value === "object" && value !== null && !Array.isArray(value)) {
|
|
101
|
+
for (const [sk, sv] of Object.entries(value)) {
|
|
102
|
+
if (sv !== void 0) normalizedParams.append(`${key}[${sk}]`, String(sv));
|
|
103
|
+
}
|
|
104
|
+
} else {
|
|
105
|
+
normalizedParams.append(key, value === null ? "null" : String(value));
|
|
106
|
+
}
|
|
101
107
|
}
|
|
102
108
|
});
|
|
103
109
|
const stringifiedParams = normalizedParams.toString();
|
|
@@ -208,7 +214,13 @@ var getListArtifactsUrl = (params) => {
|
|
|
208
214
|
const normalizedParams = new URLSearchParams();
|
|
209
215
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
210
216
|
if (value !== void 0) {
|
|
211
|
-
|
|
217
|
+
if (typeof value === "object" && value !== null && !Array.isArray(value)) {
|
|
218
|
+
for (const [sk, sv] of Object.entries(value)) {
|
|
219
|
+
if (sv !== void 0) normalizedParams.append(`${key}[${sk}]`, String(sv));
|
|
220
|
+
}
|
|
221
|
+
} else {
|
|
222
|
+
normalizedParams.append(key, value === null ? "null" : String(value));
|
|
223
|
+
}
|
|
212
224
|
}
|
|
213
225
|
});
|
|
214
226
|
const stringifiedParams = normalizedParams.toString();
|
|
@@ -265,7 +277,13 @@ var getGetArtifactMetadataKeysUrl = (params) => {
|
|
|
265
277
|
const normalizedParams = new URLSearchParams();
|
|
266
278
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
267
279
|
if (value !== void 0) {
|
|
268
|
-
|
|
280
|
+
if (typeof value === "object" && value !== null && !Array.isArray(value)) {
|
|
281
|
+
for (const [sk, sv] of Object.entries(value)) {
|
|
282
|
+
if (sv !== void 0) normalizedParams.append(`${key}[${sk}]`, String(sv));
|
|
283
|
+
}
|
|
284
|
+
} else {
|
|
285
|
+
normalizedParams.append(key, value === null ? "null" : String(value));
|
|
286
|
+
}
|
|
269
287
|
}
|
|
270
288
|
});
|
|
271
289
|
const stringifiedParams = normalizedParams.toString();
|
|
@@ -462,7 +480,13 @@ var getGetOAuthUrlUrl = (params) => {
|
|
|
462
480
|
const normalizedParams = new URLSearchParams();
|
|
463
481
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
464
482
|
if (value !== void 0) {
|
|
465
|
-
|
|
483
|
+
if (typeof value === "object" && value !== null && !Array.isArray(value)) {
|
|
484
|
+
for (const [sk, sv] of Object.entries(value)) {
|
|
485
|
+
if (sv !== void 0) normalizedParams.append(`${key}[${sk}]`, String(sv));
|
|
486
|
+
}
|
|
487
|
+
} else {
|
|
488
|
+
normalizedParams.append(key, value === null ? "null" : String(value));
|
|
489
|
+
}
|
|
466
490
|
}
|
|
467
491
|
});
|
|
468
492
|
const stringifiedParams = normalizedParams.toString();
|
|
@@ -548,7 +572,13 @@ var getListCallFeedbackUrl = (id, params) => {
|
|
|
548
572
|
const normalizedParams = new URLSearchParams();
|
|
549
573
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
550
574
|
if (value !== void 0) {
|
|
551
|
-
|
|
575
|
+
if (typeof value === "object" && value !== null && !Array.isArray(value)) {
|
|
576
|
+
for (const [sk, sv] of Object.entries(value)) {
|
|
577
|
+
if (sv !== void 0) normalizedParams.append(`${key}[${sk}]`, String(sv));
|
|
578
|
+
}
|
|
579
|
+
} else {
|
|
580
|
+
normalizedParams.append(key, value === null ? "null" : String(value));
|
|
581
|
+
}
|
|
552
582
|
}
|
|
553
583
|
});
|
|
554
584
|
const stringifiedParams = normalizedParams.toString();
|
|
@@ -609,7 +639,13 @@ var getListCallsUrl = (params) => {
|
|
|
609
639
|
const normalizedParams = new URLSearchParams();
|
|
610
640
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
611
641
|
if (value !== void 0) {
|
|
612
|
-
|
|
642
|
+
if (typeof value === "object" && value !== null && !Array.isArray(value)) {
|
|
643
|
+
for (const [sk, sv] of Object.entries(value)) {
|
|
644
|
+
if (sv !== void 0) normalizedParams.append(`${key}[${sk}]`, String(sv));
|
|
645
|
+
}
|
|
646
|
+
} else {
|
|
647
|
+
normalizedParams.append(key, value === null ? "null" : String(value));
|
|
648
|
+
}
|
|
613
649
|
}
|
|
614
650
|
});
|
|
615
651
|
const stringifiedParams = normalizedParams.toString();
|
|
@@ -641,7 +677,13 @@ var getGetCallUrl = (id, params) => {
|
|
|
641
677
|
const normalizedParams = new URLSearchParams();
|
|
642
678
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
643
679
|
if (value !== void 0) {
|
|
644
|
-
|
|
680
|
+
if (typeof value === "object" && value !== null && !Array.isArray(value)) {
|
|
681
|
+
for (const [sk, sv] of Object.entries(value)) {
|
|
682
|
+
if (sv !== void 0) normalizedParams.append(`${key}[${sk}]`, String(sv));
|
|
683
|
+
}
|
|
684
|
+
} else {
|
|
685
|
+
normalizedParams.append(key, value === null ? "null" : String(value));
|
|
686
|
+
}
|
|
645
687
|
}
|
|
646
688
|
});
|
|
647
689
|
const stringifiedParams = normalizedParams.toString();
|
|
@@ -698,7 +740,13 @@ var getGetCallAnalyticsUrl = (params) => {
|
|
|
698
740
|
const normalizedParams = new URLSearchParams();
|
|
699
741
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
700
742
|
if (value !== void 0) {
|
|
701
|
-
|
|
743
|
+
if (typeof value === "object" && value !== null && !Array.isArray(value)) {
|
|
744
|
+
for (const [sk, sv] of Object.entries(value)) {
|
|
745
|
+
if (sv !== void 0) normalizedParams.append(`${key}[${sk}]`, String(sv));
|
|
746
|
+
}
|
|
747
|
+
} else {
|
|
748
|
+
normalizedParams.append(key, value === null ? "null" : String(value));
|
|
749
|
+
}
|
|
702
750
|
}
|
|
703
751
|
});
|
|
704
752
|
const stringifiedParams = normalizedParams.toString();
|
|
@@ -755,7 +803,13 @@ var getListClaimsUrl = (params) => {
|
|
|
755
803
|
const normalizedParams = new URLSearchParams();
|
|
756
804
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
757
805
|
if (value !== void 0) {
|
|
758
|
-
|
|
806
|
+
if (typeof value === "object" && value !== null && !Array.isArray(value)) {
|
|
807
|
+
for (const [sk, sv] of Object.entries(value)) {
|
|
808
|
+
if (sv !== void 0) normalizedParams.append(`${key}[${sk}]`, String(sv));
|
|
809
|
+
}
|
|
810
|
+
} else {
|
|
811
|
+
normalizedParams.append(key, value === null ? "null" : String(value));
|
|
812
|
+
}
|
|
759
813
|
}
|
|
760
814
|
});
|
|
761
815
|
const stringifiedParams = normalizedParams.toString();
|
|
@@ -839,7 +893,13 @@ var getListEmailsUrl = (params) => {
|
|
|
839
893
|
const normalizedParams = new URLSearchParams();
|
|
840
894
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
841
895
|
if (value !== void 0) {
|
|
842
|
-
|
|
896
|
+
if (typeof value === "object" && value !== null && !Array.isArray(value)) {
|
|
897
|
+
for (const [sk, sv] of Object.entries(value)) {
|
|
898
|
+
if (sv !== void 0) normalizedParams.append(`${key}[${sk}]`, String(sv));
|
|
899
|
+
}
|
|
900
|
+
} else {
|
|
901
|
+
normalizedParams.append(key, value === null ? "null" : String(value));
|
|
902
|
+
}
|
|
843
903
|
}
|
|
844
904
|
});
|
|
845
905
|
const stringifiedParams = normalizedParams.toString();
|
|
@@ -896,7 +956,13 @@ var getListExtractorJobsUrl = (params) => {
|
|
|
896
956
|
const normalizedParams = new URLSearchParams();
|
|
897
957
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
898
958
|
if (value !== void 0) {
|
|
899
|
-
|
|
959
|
+
if (typeof value === "object" && value !== null && !Array.isArray(value)) {
|
|
960
|
+
for (const [sk, sv] of Object.entries(value)) {
|
|
961
|
+
if (sv !== void 0) normalizedParams.append(`${key}[${sk}]`, String(sv));
|
|
962
|
+
}
|
|
963
|
+
} else {
|
|
964
|
+
normalizedParams.append(key, value === null ? "null" : String(value));
|
|
965
|
+
}
|
|
900
966
|
}
|
|
901
967
|
});
|
|
902
968
|
const stringifiedParams = normalizedParams.toString();
|
|
@@ -1059,7 +1125,13 @@ var getListExtractorsUrl = (params) => {
|
|
|
1059
1125
|
const normalizedParams = new URLSearchParams();
|
|
1060
1126
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
1061
1127
|
if (value !== void 0) {
|
|
1062
|
-
|
|
1128
|
+
if (typeof value === "object" && value !== null && !Array.isArray(value)) {
|
|
1129
|
+
for (const [sk, sv] of Object.entries(value)) {
|
|
1130
|
+
if (sv !== void 0) normalizedParams.append(`${key}[${sk}]`, String(sv));
|
|
1131
|
+
}
|
|
1132
|
+
} else {
|
|
1133
|
+
normalizedParams.append(key, value === null ? "null" : String(value));
|
|
1134
|
+
}
|
|
1063
1135
|
}
|
|
1064
1136
|
});
|
|
1065
1137
|
const stringifiedParams = normalizedParams.toString();
|
|
@@ -1193,7 +1265,13 @@ var getListExtractsUrl = (params) => {
|
|
|
1193
1265
|
const normalizedParams = new URLSearchParams();
|
|
1194
1266
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
1195
1267
|
if (value !== void 0) {
|
|
1196
|
-
|
|
1268
|
+
if (typeof value === "object" && value !== null && !Array.isArray(value)) {
|
|
1269
|
+
for (const [sk, sv] of Object.entries(value)) {
|
|
1270
|
+
if (sv !== void 0) normalizedParams.append(`${key}[${sk}]`, String(sv));
|
|
1271
|
+
}
|
|
1272
|
+
} else {
|
|
1273
|
+
normalizedParams.append(key, value === null ? "null" : String(value));
|
|
1274
|
+
}
|
|
1197
1275
|
}
|
|
1198
1276
|
});
|
|
1199
1277
|
const stringifiedParams = normalizedParams.toString();
|
|
@@ -1225,7 +1303,13 @@ var getCheckInboxAvailabilityUrl = (params) => {
|
|
|
1225
1303
|
const normalizedParams = new URLSearchParams();
|
|
1226
1304
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
1227
1305
|
if (value !== void 0) {
|
|
1228
|
-
|
|
1306
|
+
if (typeof value === "object" && value !== null && !Array.isArray(value)) {
|
|
1307
|
+
for (const [sk, sv] of Object.entries(value)) {
|
|
1308
|
+
if (sv !== void 0) normalizedParams.append(`${key}[${sk}]`, String(sv));
|
|
1309
|
+
}
|
|
1310
|
+
} else {
|
|
1311
|
+
normalizedParams.append(key, value === null ? "null" : String(value));
|
|
1312
|
+
}
|
|
1229
1313
|
}
|
|
1230
1314
|
});
|
|
1231
1315
|
const stringifiedParams = normalizedParams.toString();
|
|
@@ -1284,7 +1368,13 @@ var getListInboxesUrl = (params) => {
|
|
|
1284
1368
|
const normalizedParams = new URLSearchParams();
|
|
1285
1369
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
1286
1370
|
if (value !== void 0) {
|
|
1287
|
-
|
|
1371
|
+
if (typeof value === "object" && value !== null && !Array.isArray(value)) {
|
|
1372
|
+
for (const [sk, sv] of Object.entries(value)) {
|
|
1373
|
+
if (sv !== void 0) normalizedParams.append(`${key}[${sk}]`, String(sv));
|
|
1374
|
+
}
|
|
1375
|
+
} else {
|
|
1376
|
+
normalizedParams.append(key, value === null ? "null" : String(value));
|
|
1377
|
+
}
|
|
1288
1378
|
}
|
|
1289
1379
|
});
|
|
1290
1380
|
const stringifiedParams = normalizedParams.toString();
|
|
@@ -1370,7 +1460,13 @@ var getListJobsUrl = (params) => {
|
|
|
1370
1460
|
const normalizedParams = new URLSearchParams();
|
|
1371
1461
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
1372
1462
|
if (value !== void 0) {
|
|
1373
|
-
|
|
1463
|
+
if (typeof value === "object" && value !== null && !Array.isArray(value)) {
|
|
1464
|
+
for (const [sk, sv] of Object.entries(value)) {
|
|
1465
|
+
if (sv !== void 0) normalizedParams.append(`${key}[${sk}]`, String(sv));
|
|
1466
|
+
}
|
|
1467
|
+
} else {
|
|
1468
|
+
normalizedParams.append(key, value === null ? "null" : String(value));
|
|
1469
|
+
}
|
|
1374
1470
|
}
|
|
1375
1471
|
});
|
|
1376
1472
|
const stringifiedParams = normalizedParams.toString();
|
|
@@ -1479,7 +1575,13 @@ var getListToolsUrl = (params) => {
|
|
|
1479
1575
|
const normalizedParams = new URLSearchParams();
|
|
1480
1576
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
1481
1577
|
if (value !== void 0) {
|
|
1482
|
-
|
|
1578
|
+
if (typeof value === "object" && value !== null && !Array.isArray(value)) {
|
|
1579
|
+
for (const [sk, sv] of Object.entries(value)) {
|
|
1580
|
+
if (sv !== void 0) normalizedParams.append(`${key}[${sk}]`, String(sv));
|
|
1581
|
+
}
|
|
1582
|
+
} else {
|
|
1583
|
+
normalizedParams.append(key, value === null ? "null" : String(value));
|
|
1584
|
+
}
|
|
1483
1585
|
}
|
|
1484
1586
|
});
|
|
1485
1587
|
const stringifiedParams = normalizedParams.toString();
|
|
@@ -1590,7 +1692,13 @@ var getListVoiceAgentsUrl = (params) => {
|
|
|
1590
1692
|
const normalizedParams = new URLSearchParams();
|
|
1591
1693
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
1592
1694
|
if (value !== void 0) {
|
|
1593
|
-
|
|
1695
|
+
if (typeof value === "object" && value !== null && !Array.isArray(value)) {
|
|
1696
|
+
for (const [sk, sv] of Object.entries(value)) {
|
|
1697
|
+
if (sv !== void 0) normalizedParams.append(`${key}[${sk}]`, String(sv));
|
|
1698
|
+
}
|
|
1699
|
+
} else {
|
|
1700
|
+
normalizedParams.append(key, value === null ? "null" : String(value));
|
|
1701
|
+
}
|
|
1594
1702
|
}
|
|
1595
1703
|
});
|
|
1596
1704
|
const stringifiedParams = normalizedParams.toString();
|
|
@@ -2098,7 +2206,13 @@ var getListWebhookDeliveriesUrl = (id, params) => {
|
|
|
2098
2206
|
const normalizedParams = new URLSearchParams();
|
|
2099
2207
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
2100
2208
|
if (value !== void 0) {
|
|
2101
|
-
|
|
2209
|
+
if (typeof value === "object" && value !== null && !Array.isArray(value)) {
|
|
2210
|
+
for (const [sk, sv] of Object.entries(value)) {
|
|
2211
|
+
if (sv !== void 0) normalizedParams.append(`${key}[${sk}]`, String(sv));
|
|
2212
|
+
}
|
|
2213
|
+
} else {
|
|
2214
|
+
normalizedParams.append(key, value === null ? "null" : String(value));
|
|
2215
|
+
}
|
|
2102
2216
|
}
|
|
2103
2217
|
});
|
|
2104
2218
|
const stringifiedParams = normalizedParams.toString();
|
|
@@ -2158,7 +2272,13 @@ var getListWorkerRunsUrl = (params) => {
|
|
|
2158
2272
|
const normalizedParams = new URLSearchParams();
|
|
2159
2273
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
2160
2274
|
if (value !== void 0) {
|
|
2161
|
-
|
|
2275
|
+
if (typeof value === "object" && value !== null && !Array.isArray(value)) {
|
|
2276
|
+
for (const [sk, sv] of Object.entries(value)) {
|
|
2277
|
+
if (sv !== void 0) normalizedParams.append(`${key}[${sk}]`, String(sv));
|
|
2278
|
+
}
|
|
2279
|
+
} else {
|
|
2280
|
+
normalizedParams.append(key, value === null ? "null" : String(value));
|
|
2281
|
+
}
|
|
2162
2282
|
}
|
|
2163
2283
|
});
|
|
2164
2284
|
const stringifiedParams = normalizedParams.toString();
|
|
@@ -2242,7 +2362,13 @@ var getListWorkerRunMessagesUrl = (workerRunId, params) => {
|
|
|
2242
2362
|
const normalizedParams = new URLSearchParams();
|
|
2243
2363
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
2244
2364
|
if (value !== void 0) {
|
|
2245
|
-
|
|
2365
|
+
if (typeof value === "object" && value !== null && !Array.isArray(value)) {
|
|
2366
|
+
for (const [sk, sv] of Object.entries(value)) {
|
|
2367
|
+
if (sv !== void 0) normalizedParams.append(`${key}[${sk}]`, String(sv));
|
|
2368
|
+
}
|
|
2369
|
+
} else {
|
|
2370
|
+
normalizedParams.append(key, value === null ? "null" : String(value));
|
|
2371
|
+
}
|
|
2246
2372
|
}
|
|
2247
2373
|
});
|
|
2248
2374
|
const stringifiedParams = normalizedParams.toString();
|
|
@@ -2307,7 +2433,13 @@ var getListWorkersUrl = (params) => {
|
|
|
2307
2433
|
const normalizedParams = new URLSearchParams();
|
|
2308
2434
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
2309
2435
|
if (value !== void 0) {
|
|
2310
|
-
|
|
2436
|
+
if (typeof value === "object" && value !== null && !Array.isArray(value)) {
|
|
2437
|
+
for (const [sk, sv] of Object.entries(value)) {
|
|
2438
|
+
if (sv !== void 0) normalizedParams.append(`${key}[${sk}]`, String(sv));
|
|
2439
|
+
}
|
|
2440
|
+
} else {
|
|
2441
|
+
normalizedParams.append(key, value === null ? "null" : String(value));
|
|
2442
|
+
}
|
|
2311
2443
|
}
|
|
2312
2444
|
});
|
|
2313
2445
|
const stringifiedParams = normalizedParams.toString();
|