@mastra/client-js 1.43.0-alpha.8 → 1.43.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/client.d.ts +3 -1
- package/dist/client.d.ts.map +1 -1
- package/dist/docs/SKILL.md +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +1 -1
- package/dist/index.cjs +11 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +11 -0
- package/dist/index.js.map +1 -1
- package/dist/resources/observability.d.ts +3 -1
- package/dist/resources/observability.d.ts.map +1 -1
- package/dist/route-types.generated.d.ts +310 -273
- package/dist/route-types.generated.d.ts.map +1 -1
- package/package.json +7 -7
package/dist/index.js
CHANGED
|
@@ -4464,6 +4464,13 @@ var Observability = class extends BaseResource {
|
|
|
4464
4464
|
body: params
|
|
4465
4465
|
});
|
|
4466
4466
|
}
|
|
4467
|
+
/** Updates a feedback record's review workflow status. */
|
|
4468
|
+
updateFeedbackReviewStatus(params) {
|
|
4469
|
+
return this.request(`/observability/feedback/${encodeURIComponent(params.feedbackId)}/review-status`, {
|
|
4470
|
+
method: "PATCH",
|
|
4471
|
+
body: { reviewStatus: params.reviewStatus }
|
|
4472
|
+
});
|
|
4473
|
+
}
|
|
4467
4474
|
/**
|
|
4468
4475
|
* Returns an aggregated feedback value with optional period-over-period comparison.
|
|
4469
4476
|
*/
|
|
@@ -6848,6 +6855,10 @@ var MastraClient = class extends BaseResource {
|
|
|
6848
6855
|
createFeedback(params) {
|
|
6849
6856
|
return this.observability.createFeedback(params);
|
|
6850
6857
|
}
|
|
6858
|
+
/** Updates a feedback record's review workflow status. */
|
|
6859
|
+
updateFeedbackReviewStatus(params) {
|
|
6860
|
+
return this.observability.updateFeedbackReviewStatus(params);
|
|
6861
|
+
}
|
|
6851
6862
|
/** Returns an aggregated feedback value with optional period-over-period comparison. */
|
|
6852
6863
|
getFeedbackAggregate(params) {
|
|
6853
6864
|
return this.observability.getFeedbackAggregate(params);
|