Regenerate the SDK for the events time window
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XC2jX6Hdj7pxGGKzBTrbqB
This commit is contained in:
@@ -1179,9 +1179,14 @@ export class ObservabilityService {
|
|||||||
/**
|
/**
|
||||||
* Read Events
|
* Read Events
|
||||||
* What went wrong, or who changed what. Newest first.
|
* What went wrong, or who changed what. Newest first.
|
||||||
|
*
|
||||||
|
* ``since`` is inclusive and ``until`` exclusive, the same window ``/runs``
|
||||||
|
* takes, so a list can cover the span the charts beside it are drawn from.
|
||||||
* @param data The data for the request.
|
* @param data The data for the request.
|
||||||
* @param data.kind
|
* @param data.kind
|
||||||
* @param data.flow
|
* @param data.flow
|
||||||
|
* @param data.since
|
||||||
|
* @param data.until
|
||||||
* @param data.limit
|
* @param data.limit
|
||||||
* @returns EventRow Successful Response
|
* @returns EventRow Successful Response
|
||||||
* @throws ApiError
|
* @throws ApiError
|
||||||
@@ -1193,6 +1198,8 @@ export class ObservabilityService {
|
|||||||
query: {
|
query: {
|
||||||
kind: data.kind,
|
kind: data.kind,
|
||||||
flow: data.flow,
|
flow: data.flow,
|
||||||
|
since: data.since,
|
||||||
|
until: data.until,
|
||||||
limit: data.limit
|
limit: data.limit
|
||||||
},
|
},
|
||||||
errors: {
|
errors: {
|
||||||
|
|||||||
@@ -1083,6 +1083,8 @@ export type ObservabilityReadEventsData = {
|
|||||||
flow?: (string | null);
|
flow?: (string | null);
|
||||||
kind?: 'failure' | 'audit';
|
kind?: 'failure' | 'audit';
|
||||||
limit?: number;
|
limit?: number;
|
||||||
|
since?: (string | null);
|
||||||
|
until?: (string | null);
|
||||||
};
|
};
|
||||||
|
|
||||||
export type ObservabilityReadEventsResponse = (Array<EventRow>);
|
export type ObservabilityReadEventsResponse = (Array<EventRow>);
|
||||||
|
|||||||
Reference in New Issue
Block a user