exa-js 1.8.19 → 1.8.20
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.mts +38 -16
- package/dist/index.d.ts +38 -16
- package/dist/index.js +8 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -2
package/dist/index.mjs
CHANGED
|
@@ -242,6 +242,7 @@ var MonitorRunStatus = /* @__PURE__ */ ((MonitorRunStatus2) => {
|
|
|
242
242
|
MonitorRunStatus2["running"] = "running";
|
|
243
243
|
MonitorRunStatus2["completed"] = "completed";
|
|
244
244
|
MonitorRunStatus2["canceled"] = "canceled";
|
|
245
|
+
MonitorRunStatus2["failed"] = "failed";
|
|
245
246
|
return MonitorRunStatus2;
|
|
246
247
|
})(MonitorRunStatus || {});
|
|
247
248
|
var MonitorRunType = /* @__PURE__ */ ((MonitorRunType2) => {
|
|
@@ -465,11 +466,14 @@ var WebsetItemsClient = class extends WebsetsBaseClient {
|
|
|
465
466
|
/**
|
|
466
467
|
* List all Items for a Webset
|
|
467
468
|
* @param websetId The ID of the Webset
|
|
468
|
-
* @param params - Optional pagination parameters
|
|
469
|
+
* @param params - Optional pagination and filtering parameters
|
|
469
470
|
* @returns A promise that resolves with the list of Items
|
|
470
471
|
*/
|
|
471
472
|
list(websetId, params) {
|
|
472
|
-
const queryParams =
|
|
473
|
+
const queryParams = {
|
|
474
|
+
...this.buildPaginationParams(params),
|
|
475
|
+
sourceId: params?.sourceId
|
|
476
|
+
};
|
|
473
477
|
return this.request(
|
|
474
478
|
`/v0/websets/${websetId}/items`,
|
|
475
479
|
"GET",
|
|
@@ -757,7 +761,8 @@ var WebsetWebhooksClient = class extends WebsetsBaseClient {
|
|
|
757
761
|
const params = {
|
|
758
762
|
cursor: options?.cursor,
|
|
759
763
|
limit: options?.limit,
|
|
760
|
-
eventType: options?.eventType
|
|
764
|
+
eventType: options?.eventType,
|
|
765
|
+
successful: options?.successful
|
|
761
766
|
};
|
|
762
767
|
return this.request(
|
|
763
768
|
`/v0/webhooks/${id}/attempts`,
|