OrbitSpaceDevelopers

TYPESCRIPT / JAVASCRIPT

Agent services

Method reference generated from the public package declarations · v0.3.0

Invoke an authorized service and follow its application-safe projection. Keep your business job mapping; execution_id does not grant access to internal Task identities.

Related HTTP contract
export class InvocationsResource

constructor

constructor(client: OrbitSpaceClient);

cancel

cancel(id: string, body: VersionedRequest<ApplicationServiceCancelInvocationData["body"]>, options?: ResourceCallOptions): Promise<ApplicationServiceCancelInvocationResponses[200]>;

create

create(id: string, body: IdempotentRequest<ApplicationServiceCreateInvocationData["body"]>, options?: ResourceCallOptions): Promise<ApplicationServiceCreateInvocationResponses[200]>;

events

events(id: string, options?: WatchOptions): AsyncGenerator<ServerSentEvent<Record<string, unknown>>, any, any>;

get

get(id: string, options?: ResourceCallOptions): Promise<ApplicationServiceGetInvocationResponses[200]>;

list

list(query?: NonNullable<ApplicationServiceListInvocationsData["query"]>, options?: ResourceCallOptions): Promise<ApplicationServiceListInvocationsResponses[200]>;

observe

observe(id: string, options: ExecutionObserveOptions): AsyncGenerator<ExecutionObservation<Invocation>>;

retry

retry(id: string, body: VersionedRequest<ApplicationServiceRetryInvocationData["body"]>, options?: ResourceCallOptions): Promise<ApplicationServiceRetryInvocationResponses[200]>;

wait

wait(id: string, options: ExecutionObserveOptions): Promise<ExecutionObservation<Invocation>>;

Download method index JSON ↓ · Source digest 5f558e57b94420ef8fc60d9a8274a2ab5b92ac85d23f370a5bac4bc7ad2baae2