/** * Generated by Orval * Do not edit manually. * See `gen:api` script in package.json */ import type { SignalEndpointSignalSchemaPayload } from './signalEndpointSignalSchemaPayload.js'; import type { SignalEndpointSignalSchemaSource } from './signalEndpointSignalSchemaSource.js'; /** * An object describing a signal originated from a signal endpoint. */ export interface SignalEndpointSignalSchema { /** The date and time of when the signal was created. */ createdAt: string; /** * The signal's ID. Signal IDs are incrementing integers. In other words, a more recently created signal will always have a higher ID than an older one. * @minimum 1 */ id?: number; /** The payload of the signal. */ payload?: SignalEndpointSignalSchemaPayload; /** The signal source type. Should be used along with `sourceId` to uniquely identify the resource that created this signal. */ source: SignalEndpointSignalSchemaSource; /** The ID of the source that created this signal. Should be used along with `source` to uniquely identify the resource that created this signal. */ sourceId: number; /** * The name of the token used to register this signal. * @nullable */ tokenName?: string | null; }