/opt/canhelp/node_modules/svix/dist/api
Edit: /opt/canhelp/node_modules/svix/dist/api/ingestSource.d.ts (1262B)
import { type IngestSourceIn } from "../models/ingestSourceIn";
import { type IngestSourceOut } from "../models/ingestSourceOut";
import { type ListResponseIngestSourceOut } from "../models/listResponseIngestSourceOut";
import type { Ordering } from "../models/ordering";
import { type RotateTokenOut } from "../models/rotateTokenOut";
import { type SvixRequestContext } from "../request";
export interface IngestSourceListOptions {
limit?: number;
iterator?: string | null;
order?: Ordering;
}
export interface IngestSourceCreateOptions {
idempotencyKey?: string;
}
export interface IngestSourceRotateTokenOptions {
idempotencyKey?: string;
}
export declare class IngestSource {
private readonly requestCtx;
constructor(requestCtx: SvixRequestContext);
list(options?: IngestSourceListOptions): Promise
;
create(ingestSourceIn: IngestSourceIn, options?: IngestSourceCreateOptions): Promise;
get(sourceId: string): Promise;
update(sourceId: string, ingestSourceIn: IngestSourceIn): Promise;
delete(sourceId: string): Promise;
rotateToken(sourceId: string, options?: IngestSourceRotateTokenOptions): Promise;
}