@mastra/client-js 1.44.1-alpha.1 → 1.44.1-alpha.2

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.js CHANGED
@@ -4435,6 +4435,17 @@ var Observability = class extends BaseResource {
4435
4435
  });
4436
4436
  }
4437
4437
  /**
4438
+ * Deletes score records by scoreId, optionally scoped to a tenant.
4439
+ * Idempotent: deleting missing ids succeeds. Depending on the storage
4440
+ * backend (e.g. ClickHouse), deletion may be eventually consistent.
4441
+ */
4442
+ deleteScores(params) {
4443
+ return this.request(`/observability/scores`, {
4444
+ method: "DELETE",
4445
+ body: params
4446
+ });
4447
+ }
4448
+ /**
4438
4449
  * Returns an aggregated score value with optional period-over-period comparison.
4439
4450
  */
4440
4451
  getScoreAggregate(params) {
@@ -4499,6 +4510,17 @@ var Observability = class extends BaseResource {
4499
4510
  });
4500
4511
  }
4501
4512
  /**
4513
+ * Deletes feedback records by feedbackId, optionally scoped to a tenant.
4514
+ * Idempotent: deleting missing ids succeeds. Depending on the storage
4515
+ * backend (e.g. ClickHouse), deletion may be eventually consistent.
4516
+ */
4517
+ deleteFeedback(params) {
4518
+ return this.request(`/observability/feedback`, {
4519
+ method: "DELETE",
4520
+ body: params
4521
+ });
4522
+ }
4523
+ /**
4502
4524
  * Returns an aggregated feedback value with optional period-over-period comparison.
4503
4525
  */
4504
4526
  getFeedbackAggregate(params) {
@@ -6871,6 +6893,10 @@ var MastraClient = class extends BaseResource {
6871
6893
  createScore(params) {
6872
6894
  return this.observability.createScore(params);
6873
6895
  }
6896
+ /** Deletes score records by scoreId, optionally scoped to a tenant. */
6897
+ deleteScores(params) {
6898
+ return this.observability.deleteScores(params);
6899
+ }
6874
6900
  /** Returns an aggregated score value with optional period-over-period comparison. */
6875
6901
  getScoreAggregate(params) {
6876
6902
  return this.observability.getScoreAggregate(params);
@@ -6895,6 +6921,10 @@ var MastraClient = class extends BaseResource {
6895
6921
  createFeedback(params) {
6896
6922
  return this.observability.createFeedback(params);
6897
6923
  }
6924
+ /** Deletes feedback records by feedbackId, optionally scoped to a tenant. */
6925
+ deleteFeedback(params) {
6926
+ return this.observability.deleteFeedback(params);
6927
+ }
6898
6928
  /** Updates a feedback record's review workflow status. */
6899
6929
  updateFeedbackReviewStatus(params) {
6900
6930
  return this.observability.updateFeedbackReviewStatus(params);