@contenthero/sdk 0.3.1 → 0.3.3

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, 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, 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,31 @@ 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[]>;
94
136
  /** Get one brand kit, fully assembled (the get half). Throws NotFoundError if absent. */
95
137
  getBrandKit(brandKitId: string): Promise<BrandKit>;
96
138
  /**
@@ -99,14 +141,10 @@ export declare class ContentHero {
99
141
  * updated kit.
100
142
  */
101
143
  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
144
  /** Add a curated section to a brand kit. Requires the `brandkit:write` scope. */
105
145
  addBrandKitSection(brandKitId: string, input: AddBrandKitSectionInput): Promise<BrandKitSectionRecord>;
106
146
  /** Update a brand-kit section. Requires the `brandkit:write` scope. */
107
147
  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
148
  /** The complete, paginated index of a brand kit's knowledge items. Requires `brandkit:read`. */
111
149
  listBrandKnowledge(brandKitId: string, options?: {
112
150
  limit?: number;
@@ -122,14 +160,56 @@ export declare class ContentHero {
122
160
  removeBrandKnowledge(brandKitId: string, knowledgeId: string): Promise<{
123
161
  id: string;
124
162
  }>;
125
- /** List the account's recent studio outputs (the list half of the list+get pair). */
163
+ /**
164
+ * List the account's recent media (the list half of the list+get pair). `source`
165
+ * selects the library: 'creations' (default, studio outputs) or 'uploads' (the
166
+ * editor Uploads tab).
167
+ */
126
168
  listMedia(options?: ListMediaOptions): Promise<MediaSummary[]>;
127
169
  /**
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.
170
+ * Get one media item by id token (the get half). `source` selects the library the
171
+ * id belongs to: 'creations' (default, a studio output; token may be the full id,
172
+ * its first 8 characters, or either with a `-N` variation suffix), 'uploads' (an
173
+ * editor Uploads-tab file; full id or short id, no variations), or 'stock' (a used
174
+ * stock item; full id or short id, no variations). Pass the same source the item
175
+ * reported in listMedia. Throws NotFoundError if absent.
131
176
  */
132
- getMedia(idToken: string): Promise<MediaItem>;
177
+ getMedia(idToken: string, options?: {
178
+ source?: MediaSource;
179
+ }): Promise<MediaItem>;
180
+ /**
181
+ * Semantically search the account's editable media library (creations, uploads, licensed stock, brand assets)
182
+ * by describing the content in natural language. Returns matching assets ranked by relevance, each with a
183
+ * description, tags, and, for videos, the timestamps of the scenes that matched, so a precise moment can be
184
+ * located. Searches only the account's own usable library, never inspiration, published posts, or knowledge.
185
+ */
186
+ searchMedia(query: string, options?: SearchMediaOptions): Promise<SearchMediaResult[]>;
187
+ /** List the account's folders (manual + smart, with parent links) plus the built-in derived folders. */
188
+ listFolders(): Promise<{
189
+ folders: Folder[];
190
+ derived: DerivedFolder[];
191
+ }>;
192
+ /** A folder's contents. `folderId` is a folder id or a derived key (recents|favorites|edits|canvas|posts). */
193
+ getFolder(folderId: string): Promise<{
194
+ folder: Folder | null;
195
+ items: FolderItem[];
196
+ }>;
197
+ createFolder(input: CreateFolderInput): Promise<Folder>;
198
+ updateFolder(folderId: string, patch: UpdateFolderInput): Promise<Folder>;
199
+ deleteFolder(folderId: string): Promise<void>;
200
+ /** File an item into a manual folder (a pointer; no bytes move). */
201
+ addToFolder(folderId: string, ref: FolderItemRef): Promise<void>;
202
+ removeFromFolder(folderId: string, ref: FolderItemRef): Promise<void>;
203
+ /**
204
+ * Resolve a batch of media references to vision-ready URLs + light metadata (the
205
+ * micro drill-in behind get_context's macro screenshot). Each item is a raw
206
+ * `{ url }` or an `{ mediaId, variation? }`; a mediaId with no variation resolves
207
+ * to only the primary variation (siblings listed in `otherVariations`), never a
208
+ * whole generation. Returns one entry per item, in order; a bad item comes back
209
+ * with `ok: false` rather than failing the batch. Max 10 items per call (the SDK
210
+ * returns URLs; the MCP layer is what turns them into image blocks for a model).
211
+ */
212
+ getMediaBatch(items: MediaBatchItem[]): Promise<MediaBatchResult>;
133
213
  /**
134
214
  * Start a presigned upload (phase 1): pre-creates the media row and returns a
135
215
  * signed uploadUrl. PUT the bytes to uploadUrl (with the file's Content-Type),
@@ -217,8 +297,6 @@ export declare class ContentHero {
217
297
  createPost(input: CreatePostInput): Promise<PostSummary>;
218
298
  /** Update a post's fields. `stage` accepts a stage id, slug, or name. */
219
299
  updatePost(postId: string, input: UpdatePostInput): Promise<PostSummary>;
220
- /** Archive a post (status -> 'archived'). No hard delete. */
221
- archivePost(postId: string): Promise<PostSummary>;
222
300
  /**
223
301
  * List the account's pipeline stages (sorted), seeding the defaults on first
224
302
  * access. Use this to resolve a stage before placing a post; stages are
@@ -244,6 +322,16 @@ export declare class ContentHero {
244
322
  removePostDestination(postId: string, destinationId: string): Promise<{
245
323
  id: string;
246
324
  }>;
325
+ /** List the account's tags. */
326
+ listTags(): Promise<Tag[]>;
327
+ /** Create a tag (the name is lowercased). Throws if it already exists. */
328
+ createTag(name: string): Promise<Tag>;
329
+ /** Rename a tag (preserves its post assignments). */
330
+ updateTag(id: string, name: string): Promise<Tag>;
331
+ /** Delete a tag from the account (cascades off every post). */
332
+ deleteTag(id: string): Promise<{
333
+ id: string;
334
+ }>;
247
335
  /**
248
336
  * Schedule a post: set (or clear, with null) the publish time on the post and
249
337
  * all its destinations. This queues; publishing now is `publishPost`.
@@ -273,6 +361,164 @@ export declare class ContentHero {
273
361
  listConnectedAccounts(): Promise<ConnectedAccount[]>;
274
362
  /** Get one connected account by id. Throws NotFoundError if absent. */
275
363
  getConnectedAccount(accountId: string): Promise<ConnectedAccount>;
364
+ /**
365
+ * Mark an asset as favorited. Requires the `favorites:write` scope.
366
+ *
367
+ * Pass `{ assetType, id }` for a top-level asset (post, voice, brand_kit,
368
+ * project, inspiration_content, gallery), or `{ id, variationIndex }` to
369
+ * favorite a single studio output variation slot (id is a studio output id).
370
+ * Idempotent.
371
+ */
372
+ favorite(input: FavoriteInput): Promise<void>;
373
+ /**
374
+ * Clear the favorite flag on an asset. Requires the `favorites:write` scope.
375
+ * Same target shape as `favorite`. Idempotent.
376
+ */
377
+ unfavorite(input: FavoriteInput): Promise<void>;
378
+ /**
379
+ * Archive an asset. Requires the `favorites:write` scope.
380
+ *
381
+ * Pass `{ assetType, id }` for a top-level asset (post, brand_kit,
382
+ * brand_kit_section, project), or `{ id, variationIndex }` to archive a single
383
+ * studio output variation slot. Archiving a post sets its status to 'archived'.
384
+ * Idempotent.
385
+ */
386
+ archive(input: ArchiveInput): Promise<void>;
387
+ /**
388
+ * Unarchive an asset. Requires the `favorites:write` scope. Same target shape
389
+ * as `archive`. Unarchiving a post restores it to 'draft'. Idempotent.
390
+ */
391
+ unarchive(input: ArchiveInput): Promise<void>;
392
+ /**
393
+ * List the caller's projects (both editor + canvas) as lightweight summaries. Filter by archived /
394
+ * favorited state, by `kind`, or by a title search. Requires the `editor:read` scope.
395
+ */
396
+ listProjects(input?: ListProjectsInput): Promise<ProjectSummary[]>;
397
+ /**
398
+ * Read a single project (metadata + composition `state` + `revision`), to read-before-write. Pass the returned
399
+ * `revision` back as `applyEditorOps`'s `expectedRevision`. By DEFAULT `state` is a lightweight SUMMARY (per-clip
400
+ * / per-layer structure, heavy payloads dropped); pass `detail:'full'` for the complete composition. For a
401
+ * timeline, `fromFrame`/`toFrame` (+ `trackId`) scope the read to the clips overlapping that frame window; for a
402
+ * canvas, `slideId` scopes it to a single slide, and applies to `detail:'full'` too so asking for one slide's
403
+ * detail does not pay for the whole deck. A canvas summary echoes each text layer's `text` (truncated), which is
404
+ * what identifies it. Requires the `editor:read` scope.
405
+ */
406
+ getProject(projectId: string, options?: {
407
+ includeRenderUrl?: boolean;
408
+ detail?: 'summary' | 'full';
409
+ fromFrame?: number;
410
+ toFrame?: number;
411
+ trackId?: string;
412
+ slideId?: string;
413
+ }): Promise<ProjectDetail>;
414
+ /**
415
+ * Read the LIVE context of what the user is currently viewing in the open app: the active surface + focus +
416
+ * selection, so an agent can operate on "what the user is looking at" like the internal assistant does. Fast
417
+ * and structured by default. Pass `capture: true` to also ping the live tab for a fresh viewport screenshot
418
+ * (returned as a short-lived `snapshotUrl`) when you need the user's screen as shown. To see the COMPOSED
419
+ * OUTPUT itself (the rendered editor frame or canvas slide), pass `render: true` (optionally `frame` for an
420
+ * editor project, or `slideId` / `slideIndex` for canvas); the render returns inline as a data URL, is
421
+ * ephemeral, and does not need a live tab. Returns the most-recent-active session's context plus the full live
422
+ * participant set. Optionally scope to one project. Requires the `context:read` scope.
423
+ */
424
+ getContext(input?: GetContextInput): Promise<LiveContextResult>;
425
+ /**
426
+ * Create an async PREVIEW render (ephemeral, never stored). Currently a short low-res COMPOSED VIDEO of an
427
+ * editor range, so you can assess motion, cuts, transitions, and pacing a still cannot show. Returns a job
428
+ * handle; poll it with `getPreview`. Requires the `context:read` scope.
429
+ */
430
+ createPreview(input: PreviewInput): Promise<PreviewJob>;
431
+ /**
432
+ * Poll a preview started with `createPreview`. While rendering, returns `progress`; on completion, returns a
433
+ * short-lived signed `url` to the ephemeral output plus the estimated cost.
434
+ */
435
+ getPreview(job: {
436
+ renderId: string;
437
+ bucketName: string;
438
+ }): Promise<PreviewStatus>;
439
+ /**
440
+ * Create a project. All fields optional; the server applies the same defaults as the in-app new-project
441
+ * flow (16:9 landscape, `editor` kind). A new canvas starts with one empty slide; a new editor starts with
442
+ * an empty timeline. Returns the full detail (with its id + starting revision) so you can immediately apply
443
+ * ops. Requires the `editor:write` scope.
444
+ */
445
+ createProject(input?: CreateProjectInput): Promise<ProjectDetail>;
446
+ /**
447
+ * Import a PowerPoint / Google Slides file (by URL) or a Canva design (by id) into a NEW canvas project
448
+ * with editable layers, returning the created project's full detail. The Canva source uses the caller's
449
+ * Canva connection (a ConflictError-like 400 with code 'canva_not_connected' if not connected). Structured
450
+ * import can take a while (export + convert + parse). Requires the `editor:write` scope.
451
+ */
452
+ importProject(input: ImportProjectInput): Promise<ProjectDetail>;
453
+ /**
454
+ * PERMANENTLY delete a project (irreversible hard delete, distinct from the reversible archive). The
455
+ * `?confirm=true` opt-in is sent for you. To reversibly hide a project instead, use `archive`. Requires
456
+ * the `editor:write` scope.
457
+ */
458
+ deleteProject(projectId: string): Promise<void>;
459
+ /**
460
+ * Apply a batch of ops to a project's composition (canvas slides or editor timeline) and persist
461
+ * atomically. The project's `surface` selects the op vocabulary; the ops run through the same reducers the manual
462
+ * UI and in-app agent use. Requires the `editor:write` scope.
463
+ *
464
+ * Optimistic concurrency: pass `expectedRevision` (from `getProject`) to fail with a 409 ConflictError if
465
+ * a concurrent edit landed, instead of clobbering it. Returns the new revision and the per-op results (a
466
+ * bad op is reported, never throws).
467
+ *
468
+ * Each op is given a client-generated `op_id` (uuid) here if it does not already have one, so the op has a
469
+ * stable identity from the point of intent: resending the same batch is idempotent (the server dedupes by
470
+ * op_id), and a live editor sees the edit as an attributed collaborator change keyed by that id. The
471
+ * assigned id is echoed back on each result's `opId`.
472
+ */
473
+ applyEditorOps(input: ApplyEditorOpsInput): Promise<ApplyEditorOpsResult>;
474
+ /**
475
+ * Start an export (render) of a project's saved composition. `mp4` returns a job with status 'rendering'
476
+ * (poll with getExport or use exportProjectAndWait); canvas still/document formats (png/jpg/pdf/pptx) run
477
+ * synchronously and return 'completed' with the outputUrl. Requires the `editor:write` scope.
478
+ */
479
+ startExport(projectId: string, input?: StartExportInput): Promise<ExportJob>;
480
+ /** Poll an export job by id. Requires the `editor:read` scope. */
481
+ getExport(exportId: string): Promise<ExportJob>;
482
+ /** The kind-aware catalog of export formats + their options. Requires the `editor:read` scope. */
483
+ getExportFormats(): Promise<ExportFormatCatalog>;
484
+ /**
485
+ * Start an export and poll until it completes. Resolves with the completed job (outputUrl set), throws
486
+ * `GenerationFailedError` on failure, or `GenerationTimeoutError` if it does not finish within `timeoutMs`
487
+ * (the server job may still complete; re-poll with getExport).
488
+ */
489
+ exportProjectAndWait(projectId: string, input?: StartExportInput, options?: WaitOptions): Promise<ExportJob>;
490
+ /** Poll an export job to a terminal state. */
491
+ waitForExport(exportId: string, options?: WaitOptions): Promise<ExportJob>;
492
+ /**
493
+ * The canvas layer-type catalog (types + editable props), so you know what `update_canvas` ops can
494
+ * create/edit. Requires the `editor:read` scope.
495
+ */
496
+ getLayerTypes(): Promise<LayerTypeCatalog>;
497
+ /**
498
+ * The editor timeline clip + track-type catalog (types + editable props), so you know what
499
+ * `update_timeline` ops can create/edit. Requires the `editor:read` scope.
500
+ */
501
+ getTimelineTypes(): Promise<TimelineTypeCatalog>;
502
+ /**
503
+ * Read an editor project's transcript mapped to its timeline clips. Returns one segment per transcribable
504
+ * primary-track clip, in timeline order, carrying the words spoken within it plus its current enabled/disabled
505
+ * state, so you can read what is said, see which parts are already cut, and target exact clipIds with
506
+ * update_timeline (disable_ranges / set_disabled / delete_ranges). Scope with `search` (substring) or
507
+ * `startMs`/`endMs` (source-media time) to fetch only the part you need. Pass `granularity: 'word'` for
508
+ * word-level timing (with absolute timeline frames), per-word confidence + speaker, derived silence gaps, and
509
+ * non-speech audio events. `paceThresholdMs` (minimum pause to report as silence) and `paddingStartMs` /
510
+ * `paddingEndMs` (breathing room kept around speech; negative tightens) tune the silence detection and default
511
+ * to the project's saved pace/padding. Requires the `editor:read` scope.
512
+ */
513
+ getTranscript(projectId: string, options?: {
514
+ search?: string;
515
+ startMs?: number;
516
+ endMs?: number;
517
+ granularity?: 'clip' | 'word';
518
+ paceThresholdMs?: number;
519
+ paddingStartMs?: number;
520
+ paddingEndMs?: number;
521
+ }): Promise<TranscriptResult>;
276
522
  /** Issue an authenticated request and map non-2xx responses to typed errors. */
277
523
  private request;
278
524
  }
@@ -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,UAAU,EACV,cAAc,EACd,YAAY,EACZ,WAAW,EACX,iBAAiB,EACjB,iBAAiB,EACjB,aAAa,EACb,sBAAsB,EACtB,eAAe,EACf,KAAK,EACL,YAAY,EACZ,WAAW,EACZ,MAAM,YAAY,CAAA;AAEnB,2EAA2E;AAC3E,MAAM,MAAM,SAAS,GAAG,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,WAAW,KAAK,OAAO,CAAC,QAAQ,CAAC,CAAA;AAEhF,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