@contenthero/sdk 0.3.2 → 0.3.4

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 CHANGED
@@ -6,7 +6,7 @@
6
6
  * SDK offers both a fire-and-forget `generate` and a `generateAndWait` that
7
7
  * polls to a terminal state for you.
8
8
  */
9
- import type { AddAssetInput, AddBrandKitSectionInput, AddBrandKnowledgeInput, AddDestinationInput, Avatar, AvatarSummary, Balance, BrandAccountPerformance, BrandKit, BrandKitSectionRecord, BrandKitSummary, BrandKnowledgeDetail, BrandKnowledgeItem, BrandKnowledgeListResult, BrandKnowledgeMatch, ConnectedAccount, ListTrackedAccountsOptions, SearchBrandKnowledgeOptions, CostEstimate, CreatePostInput, UpdateBrandKitInput, UpdateBrandKitSectionInput, InspirationAccountDetail, InspirationContent, ListOutliersOptions, OutliersResult, TrackedAccount, GenerateBoardRequest, GenerateRequest, GenerateResult, Generation, ListMediaOptions, ListPostsOptions, MediaItem, MediaSummary, CreateMediaUploadInput, CreateMediaUploadResult, ImportMediaInput, UploadedMedia, ModelInfo, PlatformSummary, PlatformSchema, Element, CreateElementRequest, PipelineStage, PostAsset, PostDestination, PostDetail, PostListResult, PostPlatform, PostSummary, Tag, PublishPostResult, TranscribeRequest, Transcription, UpdateDestinationInput, UpdatePostInput, Voice, VoiceSummary, WaitOptions } from './types.js';
9
+ import type { Folder, DerivedFolder, FolderItem, FolderItemRef, CreateFolderInput, UpdateFolderInput, AddAssetInput, AddBrandKitSectionInput, AddBrandKnowledgeInput, AddDestinationInput, Avatar, AvatarSummary, Balance, BrandAccountPerformance, BrandKit, BrandKitSectionRecord, BrandKitSummary, BrandKnowledgeDetail, BrandKnowledgeItem, BrandKnowledgeListResult, BrandKnowledgeMatch, ConnectedAccount, ListTrackedAccountsOptions, SearchBrandKnowledgeOptions, CostEstimate, CreatePostInput, UpdateBrandKitInput, CreateBrandKitInput, ExtractionOutcome, UpdateBrandKitSectionInput, InspirationAccountDetail, InspirationContent, ListOutliersOptions, OutliersResult, TrackedAccount, GenerateBoardRequest, GenerateRequest, GenerateResult, Generation, EditAudioRequest, EditAudioResult, ListMediaOptions, ListVoicesOptions, ListBrandKitsOptions, ListPostsOptions, FavoriteInput, ArchiveInput, ApplyEditorOpsInput, ApplyEditorOpsResult, ProjectSummary, ProjectDetail, LiveContextResult, GetContextInput, PreviewInput, PreviewJob, PreviewStatus, ListProjectsInput, CreateProjectInput, ImportProjectInput, StartExportInput, ExportJob, ExportFormatCatalog, LayerTypeCatalog, TimelineTypeCatalog, TranscriptResult, MediaItem, MediaSummary, MediaSource, SearchMediaResult, SearchMediaOptions, MediaBatchItem, MediaBatchResult, CreateMediaUploadInput, CreateMediaUploadResult, ImportMediaInput, UploadedMedia, ModelInfo, PlatformSummary, PlatformSchema, Element, CreateElementRequest, PipelineStage, PostAsset, PostDestination, PostDetail, PostListResult, PostPlatform, PostSummary, Tag, PublishPostResult, TranscribeRequest, Transcription, UpdateDestinationInput, UpdatePostInput, Voice, VoiceSummary, WaitOptions } from './types.js';
10
10
  /** Minimal fetch signature, so a custom implementation can be injected. */
11
11
  export type FetchLike = (input: string, init?: RequestInit) => Promise<Response>;
12
12
  export interface ContentHeroOptions {
@@ -24,10 +24,37 @@ export interface ContentHeroOptions {
24
24
  fetch?: FetchLike;
25
25
  }
26
26
  export declare class ContentHero {
27
+ #private;
27
28
  private readonly apiKey;
28
29
  private readonly baseUrl;
29
30
  private readonly fetchImpl;
31
+ /** Per-project last-touched timestamp (ms). Presence is lit SERVER-SIDE (every project-scoped route broadcasts
32
+ * the badge), so this no longer drives per-call pings; it records which projects this client operated on so
33
+ * releaseProjectActivity / flushRelease can clear their badges promptly on exit, and debounces any explicit
34
+ * touchProjectActivity ping. */
35
+ private readonly activityPingedAt;
36
+ /** Min gap between explicit presence pings for the same project, so a burst does not spam. */
37
+ private static readonly ACTIVITY_DEBOUNCE_MS;
30
38
  constructor(options?: ContentHeroOptions);
39
+ /**
40
+ * Explicitly signal PRESENCE for a project. Presence is normally lit SERVER-SIDE now (every project-scoped API
41
+ * route broadcasts the "Editing via MCP/CLI" badge for the resolved project), so the SDK's own methods no longer
42
+ * each call this. It remains for an external consumer that wants to signal presence ahead of working on a
43
+ * project, and it records the project for prompt release on exit. Debounced + fire-and-forget: never throws,
44
+ * never blocks, no-op without a projectId.
45
+ */
46
+ touchProjectActivity(projectId?: string | null): void;
47
+ /**
48
+ * Explicitly RELEASE presence so the badge clears promptly (no TTL lingering). Use in a `finally` when a
49
+ * short-lived consumer (the CLI) finishes a command. Fire-and-forget.
50
+ */
51
+ releaseProjectActivity(projectId?: string | null): void;
52
+ /**
53
+ * AWAIT a presence release for every project this client pinged. The CLI calls this before the process exits
54
+ * so the badge clears immediately (a short-lived process cannot rely on the sliding TTL). Best-effort:
55
+ * resolves even if the releases fail.
56
+ */
57
+ flushRelease(): Promise<void>;
31
58
  /**
32
59
  * Submit a generation. Returns immediately. For image/video the result is
33
60
  * `status: 'processing'` (poll with `getGeneration` or use `generateAndWait`);
@@ -81,16 +108,56 @@ export declare class ContentHero {
81
108
  * transcript comes back inline. Free (no credit charge).
82
109
  */
83
110
  transcribe(request: TranscribeRequest): Promise<Transcription>;
111
+ /**
112
+ * Transform existing audio with an audio-processing model. Two shapes:
113
+ *
114
+ * FILE mode (`sourceUrl`): process a standalone file into a new library asset. Voice isolation is
115
+ * synchronous and the processed URL comes back inline on `outputUrls`; enhancement is asynchronous and
116
+ * returns an `outputId` to poll.
117
+ *
118
+ * IN-PLACE mode (`projectId` + `clipIds` / `enhanceClips`): enhance the audio OF EXISTING CLIPS on a
119
+ * timeline. Returns one job per SOURCE on `outputs`, because the vendor estimates a noise profile per
120
+ * production, so a source's clips are concatenated and enhanced together while separate recordings stay
121
+ * separate jobs.
122
+ */
123
+ editAudio(request: EditAudioRequest): Promise<EditAudioResult>;
124
+ /** Cost preview for `editAudio` (nothing runs, nothing is charged). */
125
+ estimateEditAudioCost(request: EditAudioRequest): Promise<CostEstimate>;
84
126
  /** List the account's avatars (the list half of the list+get pair). */
85
127
  listAvatars(): Promise<AvatarSummary[]>;
86
128
  /** Get one avatar with its looks (the get half). Throws NotFoundError if absent. */
87
129
  getAvatar(avatarId: string): Promise<Avatar>;
88
130
  /** List the account's saved voices (the list half of the list+get pair). */
89
- listVoices(): Promise<VoiceSummary[]>;
131
+ listVoices(options?: ListVoicesOptions): Promise<VoiceSummary[]>;
90
132
  /** Get one voice's detail (the get half). Throws NotFoundError if absent. */
91
133
  getVoice(voiceId: string): Promise<Voice>;
92
134
  /** List the account's brand kits (the list half of the list+get pair). */
93
- listBrandKits(): Promise<BrandKitSummary[]>;
135
+ listBrandKits(options?: ListBrandKitsOptions): Promise<BrandKitSummary[]>;
136
+ /**
137
+ * Create a brand kit. Requires the `brandkit:write` scope.
138
+ *
139
+ * Three sources, and the input decides which: EMPTY (just a name), FROM A WEBSITE
140
+ * (`websiteUrl` + `extract: true`), or A COPY (`duplicateFrom`).
141
+ *
142
+ * ⚠️ WITH `extract` IT RETURNS IMMEDIATELY, before the kit has any content. That empty kit is the HANDLE:
143
+ * the thing to poll and the row the UI renders at once. Poll `extractionStatus` via `getBrandKit`.
144
+ */
145
+ createBrandKit(input: CreateBrandKitInput & {
146
+ duplicateFrom?: string;
147
+ }): Promise<{
148
+ brandKit: BrandKit;
149
+ extraction?: ExtractionOutcome;
150
+ }>;
151
+ /**
152
+ * Re-run website extraction for an existing kit. Returns at once; poll `extractionStatus`.
153
+ * Requires the kit to already have a `websiteUrl`, and the `brandkit:write` scope.
154
+ */
155
+ extractBrandKit(brandKitId: string): Promise<ExtractionOutcome>;
156
+ /**
157
+ * Reorder the account's brand kits. Collection-level because ordering is a property of the SET: a per-kit
158
+ * position would let two kits claim one slot. Pass every id, in the order you want.
159
+ */
160
+ reorderBrandKits(orderedIds: string[]): Promise<BrandKitSummary[]>;
94
161
  /** Get one brand kit, fully assembled (the get half). Throws NotFoundError if absent. */
95
162
  getBrandKit(brandKitId: string): Promise<BrandKit>;
96
163
  /**
@@ -99,14 +166,10 @@ export declare class ContentHero {
99
166
  * updated kit.
100
167
  */
101
168
  updateBrandKit(brandKitId: string, input: UpdateBrandKitInput): Promise<BrandKit>;
102
- /** Archive a brand kit (reversible). Requires the `brandkit:write` scope. */
103
- archiveBrandKit(brandKitId: string): Promise<BrandKitSummary>;
104
169
  /** Add a curated section to a brand kit. Requires the `brandkit:write` scope. */
105
170
  addBrandKitSection(brandKitId: string, input: AddBrandKitSectionInput): Promise<BrandKitSectionRecord>;
106
171
  /** Update a brand-kit section. Requires the `brandkit:write` scope. */
107
172
  updateBrandKitSection(brandKitId: string, sectionId: string, input: UpdateBrandKitSectionInput): Promise<BrandKitSectionRecord>;
108
- /** Archive a brand-kit section (soft delete, reversible). Requires `brandkit:write`. */
109
- archiveBrandKitSection(brandKitId: string, sectionId: string): Promise<BrandKitSectionRecord>;
110
173
  /** The complete, paginated index of a brand kit's knowledge items. Requires `brandkit:read`. */
111
174
  listBrandKnowledge(brandKitId: string, options?: {
112
175
  limit?: number;
@@ -122,14 +185,56 @@ export declare class ContentHero {
122
185
  removeBrandKnowledge(brandKitId: string, knowledgeId: string): Promise<{
123
186
  id: string;
124
187
  }>;
125
- /** List the account's recent studio outputs (the list half of the list+get pair). */
188
+ /**
189
+ * List the account's recent media (the list half of the list+get pair). `source`
190
+ * selects the library: 'creations' (default, studio outputs) or 'uploads' (the
191
+ * editor Uploads tab).
192
+ */
126
193
  listMedia(options?: ListMediaOptions): Promise<MediaSummary[]>;
127
194
  /**
128
- * Get one studio output by id token (the get half). The token may be the full
129
- * output id, its first 8 characters, or either with a `-N` variation suffix
130
- * (1-based). Throws NotFoundError if absent.
195
+ * Get one media item by id token (the get half). `source` selects the library the
196
+ * id belongs to: 'creations' (default, a studio output; token may be the full id,
197
+ * its first 8 characters, or either with a `-N` variation suffix), 'uploads' (an
198
+ * editor Uploads-tab file; full id or short id, no variations), or 'stock' (a used
199
+ * stock item; full id or short id, no variations). Pass the same source the item
200
+ * reported in listMedia. Throws NotFoundError if absent.
201
+ */
202
+ getMedia(idToken: string, options?: {
203
+ source?: MediaSource;
204
+ }): Promise<MediaItem>;
205
+ /**
206
+ * Semantically search the account's editable media library (creations, uploads, licensed stock, brand assets)
207
+ * by describing the content in natural language. Returns matching assets ranked by relevance, each with a
208
+ * description, tags, and, for videos, the timestamps of the scenes that matched, so a precise moment can be
209
+ * located. Searches only the account's own usable library, never inspiration, published posts, or knowledge.
210
+ */
211
+ searchMedia(query: string, options?: SearchMediaOptions): Promise<SearchMediaResult[]>;
212
+ /** List the account's folders (manual + smart, with parent links) plus the built-in derived folders. */
213
+ listFolders(): Promise<{
214
+ folders: Folder[];
215
+ derived: DerivedFolder[];
216
+ }>;
217
+ /** A folder's contents. `folderId` is a folder id or a derived key (recents|favorites|edits|canvas|posts). */
218
+ getFolder(folderId: string): Promise<{
219
+ folder: Folder | null;
220
+ items: FolderItem[];
221
+ }>;
222
+ createFolder(input: CreateFolderInput): Promise<Folder>;
223
+ updateFolder(folderId: string, patch: UpdateFolderInput): Promise<Folder>;
224
+ deleteFolder(folderId: string): Promise<void>;
225
+ /** File an item into a manual folder (a pointer; no bytes move). */
226
+ addToFolder(folderId: string, ref: FolderItemRef): Promise<void>;
227
+ removeFromFolder(folderId: string, ref: FolderItemRef): Promise<void>;
228
+ /**
229
+ * Resolve a batch of media references to vision-ready URLs + light metadata (the
230
+ * micro drill-in behind get_context's macro screenshot). Each item is a raw
231
+ * `{ url }` or an `{ mediaId, variation? }`; a mediaId with no variation resolves
232
+ * to only the primary variation (siblings listed in `otherVariations`), never a
233
+ * whole generation. Returns one entry per item, in order; a bad item comes back
234
+ * with `ok: false` rather than failing the batch. Max 10 items per call (the SDK
235
+ * returns URLs; the MCP layer is what turns them into image blocks for a model).
131
236
  */
132
- getMedia(idToken: string): Promise<MediaItem>;
237
+ getMediaBatch(items: MediaBatchItem[]): Promise<MediaBatchResult>;
133
238
  /**
134
239
  * Start a presigned upload (phase 1): pre-creates the media row and returns a
135
240
  * signed uploadUrl. PUT the bytes to uploadUrl (with the file's Content-Type),
@@ -217,8 +322,6 @@ export declare class ContentHero {
217
322
  createPost(input: CreatePostInput): Promise<PostSummary>;
218
323
  /** Update a post's fields. `stage` accepts a stage id, slug, or name. */
219
324
  updatePost(postId: string, input: UpdatePostInput): Promise<PostSummary>;
220
- /** Archive a post (status -> 'archived'). No hard delete. */
221
- archivePost(postId: string): Promise<PostSummary>;
222
325
  /**
223
326
  * List the account's pipeline stages (sorted), seeding the defaults on first
224
327
  * access. Use this to resolve a stage before placing a post; stages are
@@ -283,6 +386,164 @@ export declare class ContentHero {
283
386
  listConnectedAccounts(): Promise<ConnectedAccount[]>;
284
387
  /** Get one connected account by id. Throws NotFoundError if absent. */
285
388
  getConnectedAccount(accountId: string): Promise<ConnectedAccount>;
389
+ /**
390
+ * Mark an asset as favorited. Requires the `favorites:write` scope.
391
+ *
392
+ * Pass `{ assetType, id }` for a top-level asset (post, voice, brand_kit,
393
+ * project, inspiration_content, gallery), or `{ id, variationIndex }` to
394
+ * favorite a single studio output variation slot (id is a studio output id).
395
+ * Idempotent.
396
+ */
397
+ favorite(input: FavoriteInput): Promise<void>;
398
+ /**
399
+ * Clear the favorite flag on an asset. Requires the `favorites:write` scope.
400
+ * Same target shape as `favorite`. Idempotent.
401
+ */
402
+ unfavorite(input: FavoriteInput): Promise<void>;
403
+ /**
404
+ * Archive an asset. Requires the `favorites:write` scope.
405
+ *
406
+ * Pass `{ assetType, id }` for a top-level asset (post, brand_kit,
407
+ * brand_kit_section, project), or `{ id, variationIndex }` to archive a single
408
+ * studio output variation slot. Archiving a post sets its status to 'archived'.
409
+ * Idempotent.
410
+ */
411
+ archive(input: ArchiveInput): Promise<void>;
412
+ /**
413
+ * Unarchive an asset. Requires the `favorites:write` scope. Same target shape
414
+ * as `archive`. Unarchiving a post restores it to 'draft'. Idempotent.
415
+ */
416
+ unarchive(input: ArchiveInput): Promise<void>;
417
+ /**
418
+ * List the caller's projects (both editor + canvas) as lightweight summaries. Filter by archived /
419
+ * favorited state, by `kind`, or by a title search. Requires the `editor:read` scope.
420
+ */
421
+ listProjects(input?: ListProjectsInput): Promise<ProjectSummary[]>;
422
+ /**
423
+ * Read a single project (metadata + composition `state` + `revision`), to read-before-write. Pass the returned
424
+ * `revision` back as `applyEditorOps`'s `expectedRevision`. By DEFAULT `state` is a lightweight SUMMARY (per-clip
425
+ * / per-layer structure, heavy payloads dropped); pass `detail:'full'` for the complete composition. For a
426
+ * timeline, `fromFrame`/`toFrame` (+ `trackId`) scope the read to the clips overlapping that frame window; for a
427
+ * canvas, `slideId` scopes it to a single slide, and applies to `detail:'full'` too so asking for one slide's
428
+ * detail does not pay for the whole deck. A canvas summary echoes each text layer's `text` (truncated), which is
429
+ * what identifies it. Requires the `editor:read` scope.
430
+ */
431
+ getProject(projectId: string, options?: {
432
+ includeRenderUrl?: boolean;
433
+ detail?: 'summary' | 'full';
434
+ fromFrame?: number;
435
+ toFrame?: number;
436
+ trackId?: string;
437
+ slideId?: string;
438
+ }): Promise<ProjectDetail>;
439
+ /**
440
+ * Read the LIVE context of what the user is currently viewing in the open app: the active surface + focus +
441
+ * selection, so an agent can operate on "what the user is looking at" like the internal assistant does. Fast
442
+ * and structured by default. Pass `capture: true` to also ping the live tab for a fresh viewport screenshot
443
+ * (returned as a short-lived `snapshotUrl`) when you need the user's screen as shown. To see the COMPOSED
444
+ * OUTPUT itself (the rendered editor frame or canvas slide), pass `render: true` (optionally `frame` for an
445
+ * editor project, or `slideId` / `slideIndex` for canvas); the render returns inline as a data URL, is
446
+ * ephemeral, and does not need a live tab. Returns the most-recent-active session's context plus the full live
447
+ * participant set. Optionally scope to one project. Requires the `context:read` scope.
448
+ */
449
+ getContext(input?: GetContextInput): Promise<LiveContextResult>;
450
+ /**
451
+ * Create an async PREVIEW render (ephemeral, never stored). Currently a short low-res COMPOSED VIDEO of an
452
+ * editor range, so you can assess motion, cuts, transitions, and pacing a still cannot show. Returns a job
453
+ * handle; poll it with `getPreview`. Requires the `context:read` scope.
454
+ */
455
+ createPreview(input: PreviewInput): Promise<PreviewJob>;
456
+ /**
457
+ * Poll a preview started with `createPreview`. While rendering, returns `progress`; on completion, returns a
458
+ * short-lived signed `url` to the ephemeral output plus the estimated cost.
459
+ */
460
+ getPreview(job: {
461
+ renderId: string;
462
+ bucketName: string;
463
+ }): Promise<PreviewStatus>;
464
+ /**
465
+ * Create a project. All fields optional; the server applies the same defaults as the in-app new-project
466
+ * flow (16:9 landscape, `editor` kind). A new canvas starts with one empty slide; a new editor starts with
467
+ * an empty timeline. Returns the full detail (with its id + starting revision) so you can immediately apply
468
+ * ops. Requires the `editor:write` scope.
469
+ */
470
+ createProject(input?: CreateProjectInput): Promise<ProjectDetail>;
471
+ /**
472
+ * Import a PowerPoint / Google Slides file (by URL) or a Canva design (by id) into a NEW canvas project
473
+ * with editable layers, returning the created project's full detail. The Canva source uses the caller's
474
+ * Canva connection (a ConflictError-like 400 with code 'canva_not_connected' if not connected). Structured
475
+ * import can take a while (export + convert + parse). Requires the `editor:write` scope.
476
+ */
477
+ importProject(input: ImportProjectInput): Promise<ProjectDetail>;
478
+ /**
479
+ * PERMANENTLY delete a project (irreversible hard delete, distinct from the reversible archive). The
480
+ * `?confirm=true` opt-in is sent for you. To reversibly hide a project instead, use `archive`. Requires
481
+ * the `editor:write` scope.
482
+ */
483
+ deleteProject(projectId: string): Promise<void>;
484
+ /**
485
+ * Apply a batch of ops to a project's composition (canvas slides or editor timeline) and persist
486
+ * atomically. The project's `surface` selects the op vocabulary; the ops run through the same reducers the manual
487
+ * UI and in-app agent use. Requires the `editor:write` scope.
488
+ *
489
+ * Optimistic concurrency: pass `expectedRevision` (from `getProject`) to fail with a 409 ConflictError if
490
+ * a concurrent edit landed, instead of clobbering it. Returns the new revision and the per-op results (a
491
+ * bad op is reported, never throws).
492
+ *
493
+ * Each op is given a client-generated `op_id` (uuid) here if it does not already have one, so the op has a
494
+ * stable identity from the point of intent: resending the same batch is idempotent (the server dedupes by
495
+ * op_id), and a live editor sees the edit as an attributed collaborator change keyed by that id. The
496
+ * assigned id is echoed back on each result's `opId`.
497
+ */
498
+ applyEditorOps(input: ApplyEditorOpsInput): Promise<ApplyEditorOpsResult>;
499
+ /**
500
+ * Start an export (render) of a project's saved composition. `mp4` returns a job with status 'rendering'
501
+ * (poll with getExport or use exportProjectAndWait); canvas still/document formats (png/jpg/pdf/pptx) run
502
+ * synchronously and return 'completed' with the outputUrl. Requires the `editor:write` scope.
503
+ */
504
+ startExport(projectId: string, input?: StartExportInput): Promise<ExportJob>;
505
+ /** Poll an export job by id. Requires the `editor:read` scope. */
506
+ getExport(exportId: string): Promise<ExportJob>;
507
+ /** The kind-aware catalog of export formats + their options. Requires the `editor:read` scope. */
508
+ getExportFormats(): Promise<ExportFormatCatalog>;
509
+ /**
510
+ * Start an export and poll until it completes. Resolves with the completed job (outputUrl set), throws
511
+ * `GenerationFailedError` on failure, or `GenerationTimeoutError` if it does not finish within `timeoutMs`
512
+ * (the server job may still complete; re-poll with getExport).
513
+ */
514
+ exportProjectAndWait(projectId: string, input?: StartExportInput, options?: WaitOptions): Promise<ExportJob>;
515
+ /** Poll an export job to a terminal state. */
516
+ waitForExport(exportId: string, options?: WaitOptions): Promise<ExportJob>;
517
+ /**
518
+ * The canvas layer-type catalog (types + editable props), so you know what `update_canvas` ops can
519
+ * create/edit. Requires the `editor:read` scope.
520
+ */
521
+ getLayerTypes(): Promise<LayerTypeCatalog>;
522
+ /**
523
+ * The editor timeline clip + track-type catalog (types + editable props), so you know what
524
+ * `update_timeline` ops can create/edit. Requires the `editor:read` scope.
525
+ */
526
+ getTimelineTypes(): Promise<TimelineTypeCatalog>;
527
+ /**
528
+ * Read an editor project's transcript mapped to its timeline clips. Returns one segment per transcribable
529
+ * primary-track clip, in timeline order, carrying the words spoken within it plus its current enabled/disabled
530
+ * state, so you can read what is said, see which parts are already cut, and target exact clipIds with
531
+ * update_timeline (disable_ranges / set_disabled / delete_ranges). Scope with `search` (substring) or
532
+ * `startMs`/`endMs` (source-media time) to fetch only the part you need. Pass `granularity: 'word'` for
533
+ * word-level timing (with absolute timeline frames), per-word confidence + speaker, derived silence gaps, and
534
+ * non-speech audio events. `paceThresholdMs` (minimum pause to report as silence) and `paddingStartMs` /
535
+ * `paddingEndMs` (breathing room kept around speech; negative tightens) tune the silence detection and default
536
+ * to the project's saved pace/padding. Requires the `editor:read` scope.
537
+ */
538
+ getTranscript(projectId: string, options?: {
539
+ search?: string;
540
+ startMs?: number;
541
+ endMs?: number;
542
+ granularity?: 'clip' | 'word';
543
+ paceThresholdMs?: number;
544
+ paddingStartMs?: number;
545
+ paddingEndMs?: number;
546
+ }): Promise<TranscriptResult>;
286
547
  /** Issue an authenticated request and map non-2xx responses to typed errors. */
287
548
  private request;
288
549
  }
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,KAAK,EACV,aAAa,EACb,uBAAuB,EACvB,sBAAsB,EACtB,mBAAmB,EACnB,MAAM,EACN,aAAa,EACb,OAAO,EACP,uBAAuB,EACvB,QAAQ,EACR,qBAAqB,EACrB,eAAe,EACf,oBAAoB,EACpB,kBAAkB,EAClB,wBAAwB,EACxB,mBAAmB,EACnB,gBAAgB,EAChB,0BAA0B,EAC1B,2BAA2B,EAC3B,YAAY,EACZ,eAAe,EACf,mBAAmB,EACnB,0BAA0B,EAC1B,wBAAwB,EACxB,kBAAkB,EAClB,mBAAmB,EAEnB,cAAc,EACd,cAAc,EACd,oBAAoB,EACpB,eAAe,EACf,cAAc,EACd,UAAU,EACV,gBAAgB,EAChB,gBAAgB,EAChB,SAAS,EACT,YAAY,EACZ,sBAAsB,EACtB,uBAAuB,EACvB,gBAAgB,EAChB,aAAa,EACb,SAAS,EACT,eAAe,EACf,cAAc,EACd,OAAO,EACP,oBAAoB,EACpB,aAAa,EACb,SAAS,EACT,eAAe,EACf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E,CAAC;IAK1D,uEAAuE;IACjE,mBAAmB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,CAAC;IAQvE,gFAAgF;YAClE,OAAO;CA4BtB"}
1
+ {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAQH,OAAO,KAAK,EACV,MAAM,EACN,aAAa,EACb,UAAU,EACV,aAAa,EACb,iBAAiB,EACjB,iBAAiB,EACjB,aAAa,EACb,uBAAuB,EACvB,sBAAsB,EACtB,mBAAmB,EACnB,MAAM,EACN,aAAa,EACb,OAAO,EACP,uBAAuB,EACvB,QAAQ,EACR,qBAAqB,EACrB,eAAe,EACf,oBAAoB,EACpB,kBAAkB,EAClB,wBAAwB,EACxB,mBAAmB,EACnB,gBAAgB,EAChB,0BAA0B,EAC1B,2BAA2B,EAC3B,YAAY,EACZ,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,iBAAiB,EACjB,0BAA0B,EAC1B,wBAAwB,EACxB,kBAAkB,EAClB,mBAAmB,EAEnB,cAAc,EACd,cAAc,EACd,oBAAoB,EACpB,eAAe,EACf,cAAc,EACd,UAAU,EACV,gBAAgB,EAChB,eAAe,EACf,gBAAgB,EAChB,iBAAiB,EACjB,oBAAoB,EACpB,gBAAgB,EAChB,aAAa,EACb,YAAY,EACZ,mBAAmB,EACnB,oBAAoB,EACpB,cAAc,EACd,aAAa,EACb,iBAAiB,EACjB,eAAe,EACf,YAAY,EACZ,UAAU,EACV,aAAa,EACb,iBAAiB,EACjB,kBAAkB,EAClB,kBAAkB,EAClB,gBAAgB,EAChB,SAAS,EACT,mBAAmB,EACnB,gBAAgB,EAChB,mBAAmB,EACnB,gBAAgB,EAChB,SAAS,EACT,YAAY,EACZ,WAAW,EACX,iBAAiB,EACjB,kBAAkB,EAClB,cAAc,EACd,gBAAgB,EAChB,sBAAsB,EACtB,uBAAuB,EACvB,gBAAgB,EAChB,aAAa,EACb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